@php use App\Models\ParameterDetail; @endphp RECEIPT #{{ $payment->number }}

{{ Auth::user()->entity->name }}

{{ Auth::user()->entity->address . ' / ' . Common::phoneFormat(Auth::user()->entity->phone) }}
 
KWITANSI
 
Kepada YTH,
{{ @$payment->invoice->customer->name }}

{{ @$payment->invoice->customer->address }}
No. Kwitansi {{ $payment->number }}
Tanggal {{ Common::dateFormat(date('Y-m-d')) }}
Jatuh Tempo {{ Common::dateFormat($payment->duedate) }}
@php $no = 1; $class = ''; $items = json_decode($payment->invoice->items); @endphp @foreach ($items as $i) @php $work = \App\Models\Item::select('name') ->where('id', $i->id) ->first(); @endphp @php $class = empty($class) ? 'gray' : ''; $no++; @endphp @endforeach
No Item Qty Harga Total
{{ $no }} {{ $work->name }} {{ number_format($i->qty, 0, '', '.') }} {{ 'Rp. ' . number_format($i->price, 0, '', '.') }} {{ 'Rp. ' . number_format($i->total, 0, '', '.') }}
@isset($payment?->invoice?->description)

Keterangan:
{{ $payment->invoice->description }}

@endisset
Sub Total Rp. {{ number_format($payment->invoice->subtotal, 0, '', '.') }}
PPN Rp. {{ number_format($payment->invoice->ppn, 0, '', '.') }}
PPH Rp. {{ number_format($payment->invoice->pph, 0, '', '.') }}
Biaya Pengiriman Rp. {{ number_format($payment->invoice->shipping_cost, 0, '', '.') }}
Total Rp. {{ number_format($payment->invoice->total, 0, '', '.') }}
Termin {{ $payment->termin }} Rp. {{ number_format($payment->total, 0, '', '.') }}
{!! $payment->qr_code !!}
{{ Auth::user()->entity->name }},




( ............................................ )