{{ $store['name'] }}
@if($store['address'])
{{ $store['address'] }}
@endif
{{ $store['phone'] ? 'Telp: '.$store['phone'].' • ' : '' }}{{ $store['email'] }}
Nota Barang
{{ $receivable->invoice }}
Jatuh tempo: {{ $receivable->due_date ?? '-' }}
Pelanggan
{{ $receivable->customer->name ?? 'Umum' }}
@if($receivable->customer?->phone)
{{ $receivable->customer->phone }}
@endif
Total
{{ number_format($receivable->total,0,',','.') }}
Terbayar
{{ number_format($receivable->paid,0,',','.') }}
Sisa
{{ number_format(max(0, $receivable->total - $receivable->paid),0,',','.') }}
Riwayat Pembayaran
@forelse($receivable->payments as $pay) @empty @endforelse
Tanggal Metode Jumlah
{{ \Carbon\Carbon::parse($pay->paid_at)->format('d M Y') }} {{ strtoupper($pay->method ?? '-') }} {{ number_format($pay->amount,0,',','.') }}
Belum ada pembayaran