akaunting/resources/views/widgets/total_profit.blade.php

26 lines
1.2 KiB
PHP
Raw Normal View History

2019-12-31 02:20:10 +03:00
<div id="widgets-total-profit" class="{{ $model->settings->width }}">
2019-11-16 10:21:14 +03:00
<div class="card bg-gradient-success card-stats">
2019-12-31 11:27:49 +03:00
@include('partials.widgets.stats_header')
2019-11-16 10:21:14 +03:00
<div class="card-body">
<div class="row">
<div class="col">
2019-12-31 02:20:10 +03:00
<h5 class="text-uppercase text-white mb-0">{{ $model->name }}</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>