Confirm {{ $title }}

@if (strtolower($akses_roles) == 'superadmin' || strtolower($akses_roles) == 'admin')
@endif
@php $total = 0; $no = 1; @endphp @if (!empty($data_payment)) @foreach ($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) @php $total += $item->allocated_amount ?? 0; @endphp @endif @endforeach @endforeach @endif
No Salesman No. Invoice Pelanggan Kecamatan Metode Bayar Tanggal Invoice Tanggal Jatuh Tempo Status Invoice Jumlah Belum Dibayar Jumlah Dibayar Tanggal Bayar
{{ $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, ',', '.') }} {{ $item_payment->payment_date }}