-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
/
cash_flow.blade.php
53 lines (43 loc) · 2.36 KB
/
cash_flow.blade.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
<div id="widget-{{ $class->model->id }}" class="w-full my-8 px-6">
@include($class->views['header'], ['header_class' => ''])
<div class="flex flex-col-reverse lg:flex-row mt-3">
<div class="w-full lg:w-11/12 apex-chart-cash-flow">
{!! $chart->container() !!}
</div>
<div class="w-full lg:w-1/12 flex flex-row lg:flex-col items-center lg:justify-start justify-center lg:mt-11 space-y-0 sm:space-y-2">
<div class="relative w-32 lg:w-auto flex flex-col items-center sm:justify-between text-center">
<div class="flex justify-end lg:block text-lg">
<x-tooltip id="tooltip-cashflow-incoming" placement="top" message="{{ $totals['incoming_exact'] }}">
{{ $totals['incoming_for_humans'] }}
</x-tooltip>
</div>
<span class="text-green text-xs lg:block">
{{ trans('general.incoming') }}
</span>
<span class="absolute lg:relative lg:block material-icons mt-2 -right-4 lg:right-0">remove</span>
</div>
<div class="relative w-32 lg:w-auto flex flex-col items-center sm:justify-between">
<div class="flex justify-end lg:block text-lg">
<x-tooltip id="tooltip-cashflow-outgoing" placement="top" message="{{ $totals['outgoing_exact'] }}">
{{ $totals['outgoing_for_humans'] }}
</x-tooltip>
</div>
<span class="text-rose text-xs lg:block">
{{ trans('general.outgoing') }}
</span>
<span class="absolute lg:relative lg:block material-icons mt-2 -right-4 lg:right-0">drag_handle</span>
</div>
<div class="relative w-32 lg:w-auto flex flex-col items-center sm:justify-between">
<div class="flex justify-end lg:block text-lg">
<x-tooltip id="tooltip-cashflow-profit" placement="top" message="{{ $totals['profit_exact'] }}">
{{ $totals['profit_for_humans'] }}
</x-tooltip>
</div>
<span class="text-purple text-xs lg:block">{{ trans_choice('general.profits', 1) }}</span>
</div>
</div>
</div>
</div>
@push('body_scripts')
{!! $chart->script() !!}
@endpush