@if($payments->count())
| # |
Provider |
Item |
Expected (KSh) |
Paid (KSh) |
Balance (KSh) |
Payment Date |
Status |
Actions |
@foreach($payments as $index => $payment)
| {{ $payments->firstItem() + $index }} |
{{ $payment->serviceProvider->name ?? 'N/A' }} |
{{ $payment->item }} |
{{ number_format($payment->expected_amount, 2) }} |
{{ number_format($payment->paid_amount, 2) }} |
{{ number_format($payment->balance, 2) }} |
{{ $payment->payment_date ? $payment->payment_date->format('d M Y') : '-' }} |
{{ $payment->status }} |
|
@endforeach
{{ $payments->links() }}
@else
No provider payments recorded yet.
@endif