Business Day Report - {{ \Carbon\Carbon::parse($date)->format('d/m/Y') }}

Business Day: {{ \Carbon\Carbon::parse($date)->format('d/m/Y') }}
@if(Auth::user()->role !== 'branch_admin')
@else

Current business date only

@endif
Opening Cash Balance
SAR {{ number_format($openingCashBalance, 2) }}
Opening Bank Balance
SAR {{ number_format($openingBankBalance, 2) }}
Total Cash Credit(Receipts)
SAR {{ number_format($todayCashCredits, 2) }}
Total Bank Credit(Receipts)
SAR {{ number_format($todayBankCredits, 2) }}
Total Cash Debit(Payments)
SAR {{ number_format($todayCashDebits, 2) }}
Total Bank Debit(Payments)
SAR {{ number_format($todayBankDebits, 2) }}
Closing Cash Balance
SAR {{ number_format($closingCashBalance, 2) }}
Closing Bank Balance
SAR {{ number_format($closingBankBalance, 2) }}

Transaction Details

@forelse($categoryData as $item) @empty @endforelse @if(count($categoryData) > 0) @endif
Branch Business > Category > Sub-Category Cash Credit(Receipts) Bank Credit(Receipts) Cash Debit(Payments) Bank Debit(Payments) Cash Net Bank Net Combined Net
{{ $item['branch_name'] }} {{ $item['business_name'] }} > {{ $item['category_name'] }} {{ $item['cash_credit'] > 0 ? 'SAR ' . number_format($item['cash_credit'], 2) : '—' }} {{ $item['bank_credit'] > 0 ? 'SAR ' . number_format($item['bank_credit'], 2) : '—' }} {{ $item['cash_debit'] > 0 ? 'SAR ' . number_format($item['cash_debit'], 2) : '—' }} {{ $item['bank_debit'] > 0 ? 'SAR ' . number_format($item['bank_debit'], 2) : '—' }} {{ $item['cash_net'] != 0 ? 'SAR ' . number_format($item['cash_net'], 2) : '—' }} {{ $item['bank_net'] != 0 ? 'SAR ' . number_format($item['bank_net'], 2) : '—' }} {{ $item['combined_net'] != 0 ? 'SAR ' . number_format($item['combined_net'], 2) : '—' }}
No transactions for this date.
Total {{ 'SAR ' . number_format(array_sum(array_column($categoryData, 'cash_credit')), 2) }} {{ 'SAR ' . number_format(array_sum(array_column($categoryData, 'bank_credit')), 2) }} {{ 'SAR ' . number_format(array_sum(array_column($categoryData, 'cash_debit')), 2) }} {{ 'SAR ' . number_format(array_sum(array_column($categoryData, 'bank_debit')), 2) }} {{ 'SAR ' . number_format(array_sum(array_column($categoryData, 'cash_net')), 2) }} {{ 'SAR ' . number_format(array_sum(array_column($categoryData, 'bank_net')), 2) }} {{ 'SAR ' . number_format(array_sum(array_column($categoryData, 'combined_net')), 2) }}