{!!$print['head']!!}
| # | {{ __('obs.head') }} | @foreach ($months as $m){{ date($month_format, strtotime($m.'-01')) }} | @endforeach @if(count($months) > 1){{ __('obs.total') }} | @endif
|---|---|---|---|
| {{ ++$sl }} | @if(request()->view_type == 2) {!! str_repeat(' ', (max(strlen($l->auto_code)-$main_auto_code_length, 0))*2) !!} @endif {{ $l->name }} - {{ $l->auto_code }} | @foreach ($months as $m){{ number_format($this_ledger_data->where('date', $m)->sum('amount'), 2) }} | @endforeach @if(count($months) > 1){{ number_format($amount, 2) }} | @endif
| Total | @foreach ($months as $m){{ number_format($transaction_data->where('date', $m)->sum('amount'), 2) }} | @endforeach @if(count($months) > 1){{ number_format($transaction_data->sum('amount'), 2) }} | @endif|