{{-- HEADER --}}

{{ $company->nama_company }}

{!! $company->alamat !!}

REKAPAN PEMBAYARAN PELANGGAN

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

Detail {{ $user_group == 5 ? $salesmans->nik : '' }}

@php $total = 0; $no = 1; @endphp @if (!empty($data['data_payment'])) @foreach ($data['data_payment'] as $item) @php $item = (object) $item; $sales_return = !empty($data['data_return']) ? collect($data['data_return'])->where('invoice_id', $item->invoice_id)->first() : []; @endphp @if (!empty($sales_return)) @endif @php if (!empty($sales_return)) { $total += $item->amount_paid - $sales_return->refund_amount; } else { $total += $item->amount_paid; } @endphp @endforeach @endif
No Sales Invoice Pelanggan Kec. TOP Metode Bayar Tgl Inv Jth Tempo Status Total Sisa Dibayar
{{ $no++ }} {{ $item->salesman_name }} {{ $item->invoice_number }} {{ $item->customer_code }} - {{ $item->nama_customer }} {{ $item->kecamatan_name ?? '-' }} {{ $item->top_name }} {{ $item->payment_method }} {{ $item->invoice_date }} {{ $item->due_date }} {{ $item->status }} {{ number_format($item->total_amount, 0, ',', '.') }} {{ number_format($item->total_amount - $item->amount_paid, 0, ',', '.') }} {{ number_format($item->amount_paid, 0, ',', '.') }}
{{ $no++ }} {{ $item->salesman_name }} {{ $sales_return->return_number }} {{ $item->customer_code }} - {{ $item->nama_customer }} {{ $item->kecamatan_name ?? '-' }} {{ $item->top_name }} RETURN {{ $item->invoice_date }} {{ $item->due_date }} {{ $item->status }} {{ $sales_return->refund_amount }} 0 0
Sub Total {{ number_format($total, 0, ',', '.') }}





Dibuat Oleh


(__________________)
 



Disetorkan Oleh


(__________________)
 



Diterima Oleh


(__________________)
Admin AR



Disetujui Oleh


(__________________)
BOD