@extends(getTemplate() .'.panel.layouts.panel_layout')
@section('content')
@if($accountings->count() > 0)
{{ trans('financial.financial_documents') }}
@foreach($accountings as $accounting)
{{ trans('public.title') }}
{{ trans('public.description') }}
{{ trans('panel.amount') }} ({{ $currency }})
{{ trans('public.creator') }}
{{ trans('public.date') }}
@endforeach
{{ $accounting->description }}
@switch($accounting->type)
@case(\App\Models\Accounting::$addiction)
+{{ handlePrice($accounting->amount, false) }}
@break;
@case(\App\Models\Accounting::$deduction)
-{{ handlePrice($accounting->amount, false) }}
@break;
@endswitch
{{ trans('public.'.$accounting->store_type) }}
{{ dateTimeFormat($accounting->created_at, 'j M Y') }}