| Row | Head Account | @foreach($currencies as $currency){{ $currency }} | @endforeach
|---|---|---|
| {{ ++$i }} | input("date_from") . "&date_to=" . request()->input("date_to") . "&show=$default_show" }}"> {{ $category }} | @foreach($currencies as $currency) @php if( !in_array($category, ['Temporary', 'Other'])){ $sum[$currency] = (isset($sum[$currency]) ? $sum[$currency] : 0.00) + (isset($head_accounts[$category][$currency]) ? $head_accounts[$category][$currency] : 0.00); } @endphp{{ isset($head_accounts[$category][$currency]) ? number_format($head_accounts[$category][$currency], 2) : 0.00 }} | @endforeach
| Summation | @foreach($currencies as $currency){{ number_format(isset($sum[$currency]) ? $sum[$currency] : 0.00, 2) }} | @endforeach|
| Row | Account | @foreach($currencies as $currency){{ $currency }} | @endforeach
|---|---|---|
| {{ ++$i }} | {{ $name }} | @foreach($currencies as $currency) @php $sum[$currency] = (isset($sum[$currency]) ? $sum[$currency] : 0.00) + (isset($balance[$currency]) ? $balance[$currency] : 0.00); @endphprequest()->input("head_account"), "account" => $name, "currency" => $currency, "date_from" => request()->input("date_from"), "date_to" => request()->input("date_to"), "show" => $default_show]) }}" target="_blank"> {{ isset($balance[$currency]) ? number_format($balance[$currency], 2) : 0.00 }} | @endforeach
| Summation | @foreach($currencies as $currency){{ number_format(isset($sum[$currency]) ? $sum[$currency] : 0.00 , 2) }} | @endforeach|