Opening Balance
{{ $openingBalance }}
Business Day Credit(Receivings)
{{ $todayCredits }}
Business Day Debit(Payments)
{{ $todayDebits }}
Closing Balance
{{ $closingBalance }}
| Category | Credit(Receivings) (SAR) | Debit(Payments) (SAR) | Net |
|---|---|---|---|
| {{ $item['category_name'] }} {{-- @if($item['agent_name']) > {{ $item['agent_name'] }} @elseif($item['subcategory_name']) --}} @if($item['subcategory_name']) > {{ $item['subcategory_name'] }} @endif | {{ $item['credit'] > 0 ? 'SAR ' . number_format($item['credit'], 2) : '—' }} | {{ $item['debit'] > 0 ? 'SAR ' . number_format($item['debit'], 2) : '—' }} | {{ $item['net'] != 0 ? 'SAR ' . number_format($item['net'], 2) : '—' }} |
| No transactions for this date. | |||
| Total | {{ 'SAR ' . number_format(array_sum(array_column($categoryData, 'credit')), 2) }} | {{ 'SAR ' . number_format(array_sum(array_column($categoryData, 'debit')), 2) }} | {{ 'SAR ' . number_format(array_sum(array_column($categoryData, 'net')), 2) }} |