@extends('layouts.app') @section('title', $receipt->receipt_number) @section('content')
← Back to invoice
UAE

{{ auth()->user()->tenant->company_name }}

Government Services & PRO Operations

Payment receipt

{{ $receipt->receipt_number }}

{{ $receipt->created_at->format('d M Y, H:i') }}

إيصال دفع

Received from

{{ $receipt->payment->invoice->customer?->full_name_en ?? $receipt->payment->invoice->company?->name_en ?? 'Customer' }}

Against invoice

{{ $receipt->payment->invoice->invoice_number }}

Tender breakdown

@foreach($receipt->payment->components as $component)
{{ str_replace('_', ' ', ucfirst($component->payment_method)) }} @if($component->transaction_reference)· {{ $component->transaction_reference }}@endifAED {{ number_format((float) $component->amount, 2) }}
@endforeach

Amount received

المبلغ المستلم

AED {{ number_format((float) $receipt->amount, 2) }}

Payment reference

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

Issued by

{{ $receipt->payment->cashier?->name ?? auth()->user()->name }}

@endsection