Moon Traders
Claim Register Report
@if ($dateFrom && $dateTo)
Period: {{ \Carbon\Carbon::parse($dateFrom)->format('d-M-Y') }} to
{{ \Carbon\Carbon::parse($dateTo)->format('d-M-Y') }}
@elseif ($dateTo)
As of: {{ \Carbon\Carbon::parse($dateTo)->format('d-M-Y') }}
@endif
@if ($selectedSupplier)
{{ $selectedSupplier->supplier_name }}
@endif
| Sr# | Txn Date | Supplier | Reference | Description | Claim Month | Type | Debit (Claim) | Credit (Recovery) | Closing Balance | Actions |
|---|---|---|---|---|---|---|---|---|---|---|
| Opening Balance @if ($dateFrom) (Before {{ \Carbon\Carbon::parse($dateFrom)->format('d-M-Y') }}) @endif | - | - | {{ number_format($openingBalance, 2) }} | |||||||
| {{ $claims->firstItem() + $index }} | {{ $claim->transaction_date->format('d.m.Y') }} | {{ $claim->supplier?->short_name ?? $claim->supplier?->supplier_name ?? '-' }} | {{ $claim->reference_number ?? '-' }} | {{ $claim->description ?? '-' }} | {{ $claim->claim_month ?? '-' }} | {{ $claim->transaction_type === 'claim' ? 'DR' : 'CR' }} | {{ $debit > 0 ? number_format($debit, 2) : '-' }} | {{ $credit > 0 ? number_format($credit, 2) : '-' }} | {{ number_format($rowClosingBalance, 2) }} | @canany(['claim-register-edit', 'claim-register-post', 'claim-register-delete'])
@if (!$claim->isPosted())
@can('claim-register-post')
@endcan
@can('claim-register-edit')
@endcan
@can('claim-register-delete')
@endcan
@else
@endif
|
@endcanany
| No claim entries found for the selected filters. | ||||||||||
| Period Totals ({{ $claims->total() }} entries) | {{ number_format($totals['debit'], 2) }} | {{ number_format($totals['credit'], 2) }} | {{ number_format($closingBalance, 2) }} | |||||||
| Claims (DR):- | {{ number_format($totals['debit'], 2) }} |
| Recovery (CR):- | {{ number_format($totals['credit'], 2) }} |
| Balance:- | {{ number_format($closingBalance, 2) }} |
Are you sure you want to post this claim to the General Ledger? This action cannot be reversed.