Logo

{{__("Al Naam Food Marketing Company")}}

{{__("messages.Administrative and general expenses")}}

{{__("For the fiscal year ending December 31")}} {{now()->subYear()->year}}
@php $rowCount = 0; // Track the number of rows @endphp @php $total_this_year = 0; $total_last_year = 0; @endphp @foreach($general_expanse as $item) @php $total_this_year+=$item->balance_this_year; $total_last_year+=$item->balance_last_year; $rowCount++; @endphp {{-- Apply page break every 10 rows --}} @if($rowCount % 20 == 0)
{{__("Statement")}} {{now()->subYear()->year}} {{now()->subYear()->subYear()->year}}
({{__("Clarification")}} 8)
Logo

{{__("Al Naam Food Marketing Company")}}

{{__("messages.Administrative and general expenses")}}

{{__("For the fiscal year ending December 31")}} {{now()->subYear()->year}}
@endif @endforeach @foreach($other_expanses as $item) @php $total_this_year+=$item->balance_this_year; $total_last_year+=$item->balance_last_year; @endphp @endforeach
{{__("Statement")}} {{now()->subYear()->year}} {{now()->subYear()->subYear()->year}}
({{__("Clarification")}} 8)
{{$item->name}} {{number_format(round(abs($item->balance_this_year)))}} {{number_format(round(abs($item->balance_last_year)))}}
{{$item->name}} {{number_format(round(abs($item->balance_this_year))) }} {{number_format(round(abs($item->balance_last_year)) )}}
{{__("Totals")}} {{number_format(round(abs($total_this_year)))}} {{number_format(round(abs($total_last_year)))}}