akaunting 3.0 (the last dance)

This commit is contained in:
Burak Civan
2022-06-01 10:15:55 +03:00
parent cead09f6d4
commit d9c0764572
3812 changed files with 126831 additions and 102949 deletions

View File

@ -0,0 +1,43 @@
<div id="widget-{{ $class->model->id }}" class="w-full my-8 px-12">
@include($class->views['header'], ['header_class' => ''])
<div class="flex flex-col lg:flex-row mt-3">
<div class="w-full lg:w-11/12">
{!! $chart->container() !!}
</div>
<div class="w-full lg:w-1/12 mt-11 space-y-2">
<div class="flex flex-col items-center justify-between text-center">
<div class="flex justify-end lg:block text-lg">
{{ $totals['incoming'] }}
</div>
<span class="text-green text-xs">{{ trans('general.incoming') }}</span>
<span class="material-icons mt-2">remove</span>
</div>
<div class="flex flex-col items-center justify-between">
<div class="flex justify-end lg:block text-lg">
{{ $totals['outgoing'] }}
</div>
<span class="text-rose text-xs">{{ trans('general.outgoing') }}</span>
<span class="material-icons mt-2">drag_handle</span>
</div>
<div class="flex flex-col items-center justify-between">
<div class="flex justify-end lg:block text-lg">
{{ $totals['profit'] }}
</div>
<span class="text-purple text-xs">{{ trans_choice('general.profits', 1) }}</span>
</div>
</div>
</div>
</div>
@push('body_scripts')
{!! $chart->script() !!}
@endpush