@extends('layouts.app') @section('title', 'Customer Receipts') @section('content')
Payment receipts from customers
| Customer | Invoice # | Date | Amount | Method | Reference |
|---|---|---|---|---|---|
| {{ $payment->salesInvoice->customer->name ?? '' }} | {{ $payment->salesInvoice->invoice_number ?? '-' }} | {{ $payment->receipt_date ? \Carbon\Carbon::parse($payment->receipt_date)->format('d M Y') : '' }} | {{ number_format($payment->amount, 2) }} | {{ str_replace('_', ' ', $payment->payment_method) }} | {{ $payment->reference_number ?? '-' }} |
| No receipts recorded. | |||||