{{-- HEADER --}}

{{ $company->nama_company }}

{!! $company->alamat !!}

REKAPAN PEMBAYARAN PELANGGAN

Tanggal: {{ $data['date'] }}
{{-- QR Code (otomatis di-generate) --}}
{{-- --}}

Detail

@php $total = 0; $no = 1; @endphp @if (!empty($data['data_payment'])) @foreach ($data['data_payment'] as $item_payment) @foreach ($item_payment->items as $i => $item) @php $salesman = $item->invoice->do?->so?->salesmans?->name ?? $item->invoice->so?->salesmans?->name ?? '-'; $show = true; @endphp @if ($salesmans != '') @if ($salesman == $salesmans->name) @php $show = true @endphp @else @php $show = false @endphp @endif @endif @if ($show) @endif @php $total += $item->allocated_amount ?? 0; @endphp @endforeach @endforeach @endif
No Salesman No. Invoice Pelanggan Kecamatan Metode Bayar Tanggal Invoice Tanggal Jatuh Tempo Status Invoice Jumlah Belum Dibayar Jumlah Dibayar
{{ $no++ }} {{ $salesman }} {{ $item->invoice->invoice_number }} {{ $item_payment->customer_code }} - {{ $item_payment->nama_customer }} {{ $item_payment->customers->kecamatans->name ?? '-' }} {{ $item_payment->payment_method }} {{ $item->invoice->invoice_date }} {{ $item->invoice->due_date }} {{ $item->invoice->status }} {{ number_format($item->outstanding_amount, 0, ',', '.') }} {{ number_format($item->allocated_amount, 0, ',', '.') }}
Sub Total {{ number_format($total, 0, ',', '.') }}





Dibuat Oleh


(__________________)



Disetorkan Oleh


(__________________)



Diterima Oleh


(__________________)



Disetujui Oleh


(__________________)