| المبلغ | {{ number_format((float) $payment->amount, 2) }} {{ $payment->currency_code }} |
| المرجع | {{ $payment->reference ?? '—' }} |
@if($payment->cheque_number)
| رقم الشيك | {{ $payment->cheque_number }} ({{ $payment->cheque_date?->format('Y-m-d') }}) |
@endif
@if($payment->bank_name)| البنك | {{ $payment->bank_name }} |
@endif
@if($payment->notes)
ملاحظات: {!! nl2br(e($payment->notes)) !!}
@endif
@if($payment->invoices->isNotEmpty())
التوزيع على الفواتير
| الفاتورة | التاريخ | الإجمالي | المُطبَّق |
@foreach($payment->invoices as $inv)
| {{ $inv->number }} |
{{ $inv->invoice_date?->format('Y-m-d') }} |
{{ number_format((float) $inv->total, 2) }} |
{{ number_format((float) $inv->pivot->amount_applied, 2) }} |
@endforeach
@endif