@extends('layouts.app') @section('content')
Date: {{ $invoice->date ?? date('d M Y') }}
Invoice #: {{ $query->first()->kode ?? 'INV-001' }}
Pemohon: {{ Auth::user()->name }}
Penerima: {{ $query->first()->collector ?? 'Unknown' }}
| No | Cabang | Principal | Jumlah Kunjungan | Fee Kunjungan | Rek. AO/TO | Rek. Bank | Total |
|---|---|---|---|---|---|---|---|
| {{ $i++ }} | {{ $r->cabang }} | {{ $r->principal }} | {{ $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 | Status | CATATAN | 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 }} | status == 'Done') class="btn btn-success text-white py-1" @elseif($r->status == 'Pending') class="btn btn-warning text-white py-1" @else class="btn btn-danger text-white py-1" @endif data-bs-toggle="modal" data-bs-target="#prosess{{ $r->id }}" onclick="event.stopPropagation();">{{ $r->status }} | {{ $r->notes }} | {{ $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" : '-' }} |
{{ $detail->first()->signed_by ?? 'Finance Dept.' }}
{{ 'Sherly Yuningsih' }}
Thank you for your business!
@endsection