{{-- Header --}}
Logo

{{ $shop_infos->shop_name ?? '' }}

{{ $shop_infos->address ?? '' }}


Cash Book
Period: {{ \Carbon\Carbon::parse($startDate)->format('d-m-Y') }}{{ \Carbon\Carbon::parse($endDate)->format('d-m-Y') }}
{{-- Summary Bar --}}
Opening Balance
{{ number_format($OpeningCash ?? 0, 2) }}
Total Receive
{{ number_format($total_debit, 2) }}
Total Payment
{{ number_format($total_credit, 2) }}
Closing Balance
{{ number_format($ClosingCash ?? 0, 2) }}
{{-- Table --}} @forelse($cash_book as $key => $item) @empty @endforelse
# Date Ledger Name Sub-Ledger Project Receive (Dr) Payment (Cr)
{{ $key + 1 }} {{ \Carbon\Carbon::parse($item->date)->format('d-m-Y') }} {{ $item->contra_ledger_name ?? '—' }} {{ $item->contra_subledger_name ?? '—' }} {{ $item->project_name ?? '—' }} {{ $item->dr_amount > 0 ? number_format($item->dr_amount, 2) : '—' }} {{ $item->cr_amount > 0 ? number_format($item->cr_amount, 2) : '—' }}
No transactions found for this period.
Period Total {{ number_format($total_debit, 2) }} {{ number_format($total_credit, 2) }}
Opening Balance : {{ number_format($OpeningCash ?? 0, 2) }}
+ Total Receive : {{ number_format($total_debit, 2) }}
− Total Payment : {{ number_format($total_credit, 2) }}
Closing Balance : {{ number_format($ClosingCash ?? 0, 2) }}