akaunting/resources/views/widgets/total_expenses.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-danger 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">
2020-01-03 19:00:38 +03:00
<div class="icon icon-shape bg-white text-danger rounded-circle shadow">
2019-11-16 10:21:14 +03:00
<i class="fa fa-shopping-cart"></i>
</div>
</div>
</div>
2020-01-02 13:08:50 +03:00
<p class="mt-3 mb-0 text-sm cursor-default">
2019-12-31 11:35:02 +03:00
<span class="text-white">{{ trans('widgets.payables') }}</span>
2020-01-02 13:08:50 +03:00
<el-tooltip
content="{{ trans('widgets.open_bills') }}: {{ $totals['open'] }} / {{ trans('widgets.overdue_bills') }}: {{ $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>