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

32 lines
1.4 KiB
PHP
Raw Normal View History

2020-01-16 00:42:20 +03:00
<div id="widget-{{ $class->model->id }}" class="{{ $class->model->settings->width }}">
2019-11-16 10:21:14 +03:00
<div class="card bg-gradient-success card-stats">
2020-01-16 00:42:20 +03:00
@include($class->views['header'], ['header_class' => 'border-bottom-0'])
2019-11-16 10:21:14 +03:00
<div class="card-body">
<div class="row">
<div class="col">
2020-01-16 00:42:20 +03:00
<h5 class="text-uppercase text-white mb-0">{{ $class->model->name }}</h5>
2020-02-09 15:23:11 +03:00
<span class="font-weight-bold text-white mb-0">{{ $totals['grand'] }}</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-05 13:40:42 +03:00
placement="top">
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>