@php $clientName = optional($item->client)->name ?? ''; $clientCode = strtoupper(substr(preg_replace('/[^A-Za-z]/', '', $clientName), 0, 3)); $startYear = \Carbon\Carbon::parse($item->start_date)->format('y'); $endYear = \Carbon\Carbon::parse($item->end_date)->format('y'); $invoiceNo = $clientCode . '(R) ' . $startYear . '-' . $endYear; @endphp

Zillion IT Solutions

S1, 2nd Floor, Kairali Complex
Thondayad, Calicut -17, Kerala, India

Payment Receipt

Invoice No: {{ $invoiceNo }}

Invoice Date: {{ $item->paid_at ?? 'N/A' }}

To:

Client Name: M/s {{ optional($item->client)->name ?? 'N/A' }}
Address: {{ optional($item->client)->address ?? 'N/A' }}

M/s {{ optional($item->client)->name ?? 'N/A' }},

We hereby acknowledge receipt of an amount of ₹{{ number_format($item->amount, 2) }} towards the payment of the invoice {{ $invoiceNo }} for {{ $item->title }}. The payment was successfully credited to our account on {{ \Carbon\Carbon::parse($item->paid_at)->format('d M Y') }}.

Thank you for your payment.