@php $clientName = $client->client_name ?? '—'; $clientUserid = $client->userid ?? '—'; $clientPhone = $client->clientsinfo->contact_no ?? '—'; @endphp
| # | Date & Reference | Description | Handled By | Type | Amount | Actions |
|---|---|---|---|---|---|---|
|
{{ \Carbon\Carbon::parse($p->created_at)->format('d M Y') }}
{{ \Carbon\Carbon::parse($p->created_at)->format('h:i A') }}
{{ $p->money_receipt_number }}
@if ($p->extend_to_date)
{{ $p->extend_from_date ? \Carbon\Carbon::parse($p->extend_from_date)->format('d M Y') : 'N/A' }}
→ {{ \Carbon\Carbon::parse($p->extend_to_date)->format('d M Y') }}
@endif
|
{{ $p->description }}
@if(isset($p->user) && $p->user->name === 'Bkash-Webhook')
{{ $p->customerMsisdn ?? '' }}
@endif
|
E
{{ $p->user->name ?? 'Online' }}
@if($p->employee)
C
{{ $p->employee->name }}
@endif
|
{{ $p->income->name ?? 'Payment' }} |
{{ number_format($p->paid_amount, 2) }}
@if($p->discount_amount > 0)
Disc: {{ number_format($p->discount_amount, 2) }}
@endif
|
||
| No payment records found. | ||||||
| {{ number_format($payments->sum('paid_amount'), 2) }} TK | ||||||