{{ session('success') }}
| Date | Project | Client | Amount | Method | Reference | Status | Actions |
|---|---|---|---|---|---|---|---|
| {{ $payment->paid_at->format('M d, Y') }} | {{ $payment->project->name ?? '—' }} | {{ $payment->client->name ?? '—' }} | Rs{{ number_format($payment->amount, 2) }} | {{ ucfirst(str_replace('_', ' ', $payment->payment_method ?? 'N/A')) }} | {{ $payment->reference_number ?? '—' }} | @php $statusColors = [ 'pending' => 'bg-yellow-100 text-yellow-800', 'confirmed' => 'bg-green-100 text-green-800', 'rejected' => 'bg-red-100 text-red-800', ]; $color = $statusColors[$payment->status] ?? 'bg-gray-100 text-gray-800'; @endphp {{ ucfirst($payment->status) }} | @if($payment->slip_path) View Slip @endif @if($payment->status === 'pending') @endif |
Click "Record Payment" to add a payment.