2019-11-16 10:21:14 +03:00
|
|
|
<div id="widgets-total-profit" class="{{ $config->width }}">
|
|
|
|
<div class="card bg-gradient-success card-stats">
|
|
|
|
<span>
|
|
|
|
<div class="dropdown card-action-button">
|
|
|
|
<a class="btn btn-sm items-align-center py-2 mr-0 shadow-none--hover" href="#" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
|
|
|
|
<i class="fa fa-ellipsis-v text-white"></i>
|
|
|
|
</a>
|
|
|
|
|
|
|
|
<div class="dropdown-menu dropdown-menu-right dropdown-menu-arrow">
|
|
|
|
{!! Form::button(trans('general.edit'), array(
|
|
|
|
'type' => 'button',
|
|
|
|
'class' => 'dropdown-item',
|
|
|
|
'title' => trans('general.edit'),
|
|
|
|
'@click' => 'onEditWidget(' . $config->widget->id . ')'
|
|
|
|
)) !!}
|
|
|
|
<div class="dropdown-divider"></div>
|
|
|
|
{!! Form::deleteLink($config->widget, 'common/widgets') !!}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</span>
|
|
|
|
|
|
|
|
<div class="card-body">
|
|
|
|
<div class="row">
|
|
|
|
<div class="col">
|
|
|
|
<h5 class="text-uppercase text-white mb-0">{{ trans('dashboard.total_profit') }}</h5>
|
2019-12-29 03:01:19 +03:00
|
|
|
<span class="font-weight-bold text-white mb-0">@money($totals['current'], setting('default.currency'), true)</span>
|
2019-11-16 10:21:14 +03:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="col-auto">
|
|
|
|
<div class="icon icon-shape bg-white text-success rounded-circle shadow">
|
|
|
|
<i class="fa fa-heart"></i>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
2019-12-29 03:01:19 +03:00
|
|
|
<p class="mt-3 mb-0 text-sm" title="{{ trans('dashboard.open_profit') }}: {{ $totals['open'] }}<br>{{ trans('dashboard.overdue_profit') }}: {{ $totals['overdue'] }}" data-toggle="tooltip" data-html="true">
|
2019-11-16 10:21:14 +03:00
|
|
|
<span class="text-white">{{ trans('general.upcoming') }}</span>
|
2019-12-29 03:01:19 +03:00
|
|
|
<span class="text-white font-weight-bold float-right">{{ $totals['open'] }} / {{ $totals['overdue'] }}</span>
|
2019-11-16 10:21:14 +03:00
|
|
|
</p>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|