@extends('layouts.app') @section('content')
Date: {{ $invoice->date ?? date('d M Y') }}
Invoice #: {{ $invoice->number ?? 'INV-001' }}
Pemohon: {{ Auth::user()->name }}
Penerima: {{ $data->first()->collector ?? 'Unknown' }}
| No | Cabang | Principal | PIC | Jumlah Kunjungan | Fee Kunjungan | Rek. AO/TO | Rek. Bank | Total |
|---|---|---|---|---|---|---|---|---|
| {{ $i++ }} | {{ $r->cabang }} | {{ $r->principal }} | {{ $r->collector }} | {{ $r->jumlah_kunjungan }} | {{ $feeText }} | {{ $r->rekening }} | {{ $r->bank }} | Rp {{ number_format($fee, 0, ',', '.') }} |
| Subtotal | Rp {{ number_format($subtotal, 0, ',', '.') }} | |||||||
| Tax (10%) | Rp {{ number_format($tax, 0, ',', '.') }} | |||||||
| Estimasi Total | Rp {{ number_format($subtotal - $tax, 0, ',', '.') }} | |||||||
| NO | CABANG/AREA | BANK/PRINCIPAL | NAMA AO/TO | NAMA DEBITUR | TGL KUNJUNGAN | AKSI | PHOTO KUNJUNGAN | KOORDINAT LOKASI AGUNAN | KOORDINAT LOKASI DOMISILI | @php $j = 1; @endphp @foreach($detail as $r)
|---|---|---|---|---|---|---|---|---|---|
| {{ $j }} | {{ $r->cabang }} | {{ $r->principal }} | {{ $r->collector }} | {{ $r->debitur }} | {{ $r->tgl_kunjungan }} | {{ $r->jenis_penagihan }} | {{ "https://dev.noesolution.com/new_cms/public/photo/".$r->asset_id }} | koordinat_agunan" : '#' }}">{{ $r->koordinat_agunan ? "https://www.google.com/maps?q=$r->koordinat_agunan" : '-' }} | koordinat_asset" : '#' }}">{{ $r->koordinat_asset ? "https://www.google.com/maps?q=$r->koordinat_asset" : '-' }} |
{{ Auth::user()->name }}
{{ 'Sherly Yuningsih' }}
Thank you for your business!
@endsection