{{-- HEADER --}}

{{ $company->nama_company }}

{!! $company->alamat !!}

PEMBAYARAN PELANGGAN

No: {{ $data->payment_code }}
{{-- QR Code (otomatis di-generate) --}}

{{-- INFORMASI PO --}}
Kode Pelanggan: {{ $data->customers->code }} Tanggal Pembayaran: {{ date('d/m/Y', strtotime($data->payment_date)) }}
Pelanggan: {{ $data->customers->nama_customer ?? '-' }} Alamat: {{ $data->customers->address ?? '-' }}
Nomor Pembayaran: {{ $data->payment_code }} Keterangan: {{ $data->remarks }}

Detail

@php $total = 0; @endphp @foreach ($data->items as $i => $item) @php $total += $item->allocated_amount ?? 0; @endphp @endforeach
No No. Invoice Tanggal Invoice Jumlah Belum Dibayar Jumlah Dibayar
{{ $i + 1 }} {{ $item->invoice->invoice_number }} {{ $item->invoice->invoice_date }} {{ $item->outstanding_amount }} {{ $item->allocated_amount }}
Sub Total {{ number_format($total, 0, ',', '.') }}





Disetujui Oleh


(__________________)



Dibuat Oleh


(__________________)