@include('employee.fund.partials.emp_fund_styles', ['wrap' => 'adm-fund'])
@if(\App\Support\BranchWiseFeature::missingBranchAssignment())
{{ __('Your branch is not assigned. Contact HQ admin to assign a warehouse/branch.') }}
@endif

{{ $title }} ({{ $year }})

@if(!empty($subtitle))

{{ $subtitle }}

@endif @if(!empty($filterSummary))

{{ __('Filtered by') }}: {{ $filterSummary }}

@endif
@if(!empty($exportRoute)) {{ __('Export Excel') }} @endif @if(!empty($printRoute)) {{ __('Print') }} @endif
{{ __('Filters') }}
@unless(\App\Support\BranchWiseFeature::appliesToUser())
@endunless
{{ __('Monthly breakdown') }}
@foreach($types as $t) @endforeach @php $displayMonths = $months ?? range(1, 12); @endphp @foreach($displayMonths as $m) @php $rowTotal = 0; foreach ($types as $t) { $rowTotal += (float) ($monthly[$m][$t] ?? 0); } @endphp @foreach($types as $t) @endforeach @endforeach @foreach($types as $t) @endforeach
{{ __('Month') }}{{ $t }}{{ __('Month Total') }}
{{ \Carbon\Carbon::create(2000, $m, 1)->format('F') }}{{ number_format((float) ($monthly[$m][$t] ?? 0), 2) }}{{ number_format($rowTotal, 2) }}
{{ __('Total') }}{{ number_format((float) ($column_totals[$t] ?? 0), 2) }}{{ number_format((float) ($grand_total ?? 0), 2) }}