Date-wise Report

@if(Auth::user()->role !== 'branch_admin')
@else

Current business date only

@endif
{{--

Category-wise Summary

@forelse($categorySummaries as $summary) @empty @endforelse
Business > Category > Sub-Category Cash Credit Cash Debit Bank Credit Bank Debit Net
{{ $summary['business_name'] }} > {{ $summary['category_name'] }} SAR {{ number_format($summary['total_cash_credit'], 2) }} SAR {{ number_format($summary['total_cash_debit'], 2) }} SAR {{ number_format($summary['total_bank_credit'], 2) }} SAR {{ number_format($summary['total_bank_debit'], 2) }} SAR {{ number_format($summary['total_net'], 2) }}
No category data available.
Total SAR {{ number_format($totalCashCredit, 2) }} SAR {{ number_format($totalCashDebit, 2) }} SAR {{ number_format($totalBankCredit, 2) }} SAR {{ number_format($totalBankDebit, 2) }} SAR {{ number_format($totalCredit - $totalDebit, 2) }}
--}}
Opening Cash Balance
SAR {{ number_format($openingCashBalance, 2) }}
Opening Bank Balance
SAR {{ number_format($openingBankBalance, 2) }}
Total Cash Credit(Receipts)
SAR {{ number_format($totalCashCredit, 2) }}
Total Bank Credit(Receipts)
SAR {{ number_format($totalBankCredit, 2) }}
Total Cash Debit(Payments)
SAR {{ number_format($totalCashDebit, 2) }}
Total Bank Debit(Payments)
SAR {{ number_format($totalBankDebit, 2) }}
Closing Cash Balance
SAR {{ number_format($closingCashBalance, 2) }}
Closing Bank Balance
SAR {{ number_format($closingBankBalance, 2) }}

Transaction Details

@forelse($groupedData as $item) @empty @endforelse
Date Branch Business > Category > Sub-Category Cash Credit(Receipts) Bank Credit(Receipts) Cash Debit(Payments) Bank Debit(Payments) Cash Net Bank Net Combined Net Action
{{ \Carbon\Carbon::parse($item['date'])->format('d/m/Y') }} {{ $item['branch_name'] }} {{ $item['business_name'] }} > {{ $item['category_name'] }} SAR {{ number_format($item['cash_credit'], 2) }} SAR {{ number_format($item['bank_credit'], 2) }} SAR {{ number_format($item['cash_debit'], 2) }} SAR {{ number_format($item['bank_debit'], 2) }} SAR {{ number_format($item['cash_net'], 2) }} SAR {{ number_format($item['bank_net'], 2) }} SAR {{ number_format($item['combined_net'], 2) }} View
No transactions in the selected range.