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

33 lines
1.4 KiB
PHP
Raw Normal View History

2020-01-03 18:38:53 +03:00
<div id="widget-{{ $model->id }}" class="{{ $model->settings->width }}">
2019-11-16 10:21:14 +03:00
<div class="card bg-gradient-success card-stats">
@include('partials.widgets.stats_header', ['header_class' => 'border-bottom-0'])
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>
2020-01-02 13:08:50 +03:00
<p class="mt-3 mb-0 text-sm cursor-default">
2019-11-16 10:21:14 +03:00
<span class="text-white">{{ trans('general.upcoming') }}</span>
2020-01-02 13:08:50 +03:00
<el-tooltip
content="{{ trans('widgets.open_profit') }}: {{ $totals['open'] }} / {{ trans('widgets.overdue_profit') }}: {{ $totals['overdue'] }}"
2020-01-05 12:43:45 +03:00
effect="dark"
2020-01-05 12:38:46 +03:00
:open-delay="100"
2020-01-02 13:08:50 +03:00
placement="top"
2020-01-05 12:43:45 +03:00
popper-class="text-white">
2020-01-02 13:08:50 +03:00
<span class="text-white font-weight-bold float-right">{{ $totals['open'] }} / {{ $totals['overdue'] }}</span>
</el-tooltip>
2019-11-16 10:21:14 +03:00
</p>
</div>
</div>
</div>