PAYMENT RECEIPT

{{ $payment->payment_number }}
{{--

{{ $company['name'] }}

{{ $company['address'] }}

📞 {{ $company['phone'] }} | ✉️ {{ $company['email'] }}

@if($company['gst'])

GST: {{ $company['gst'] }}

@endif
--}}

{{ $company['name'] }}

{{ $company['address'] }}

📞 {{ $company['phone'] }}

✉️ {{ $company['email'] }}

@if($customer)

{{ $customer->name ?? 'N/A' }}

@if($customer->billing_street)

{{ $customer->billing_street }}

@endif @php $billingCity = $customer->billing_city ?? ''; $billingState = $customer->billing_state ?? ''; $billingZip = $customer->billing_zip_code ?? ''; $billingCountry = $customer->billing_country ?? ''; $cityLine = trim("$billingCity, $billingState $billingZip"); @endphp @if($cityLine != ', ')

{{ $cityLine }}

@endif @if($billingCountry)

{{ $billingCountry }}

@endif @if($customer->phone)

📞 {{ $customer->phone }}

@endif @if($customer->email)

✉️ {{ $customer->email }}

@endif @else

Customer Information

No customer details available

@endif
Payment Date: {{ $payment->payment_date->format('d M Y') }}
Payment Mode: {{ ucfirst(str_replace('_', ' ', $payment->payment_method)) }}
@if($payment->transaction_id)
Transaction ID: {{ $payment->transaction_id }}
@endif {{--
Received From: {{ $payment->invoice->customer->name ?? 'N/A' }}
--}}
TOTAL AMOUNT PAID
₹{{ number_format($payment->amount, 2) }}

Payment For Invoice

Invoice Number Invoice Date Invoice Amount Payment Amount Amount Due
{{ $payment->invoice->invoice_number }} {{ $payment->invoice->date->format('d-m-Y') }} ₹{{ number_format($payment->invoice->total, 2) }} ₹{{ number_format($payment->amount, 2) }} ₹{{ number_format($payment->invoice->amount_due, 2) }}
@if($payment->notes)

Payment Notes:

{{ $payment->notes }}

@endif {{-- --}}