@php $fontFamily = "'Inter', 'Helvetica', 'Arial', sans-serif"; @endphp
|
@if ($store['logo_data'])
{{ $store['name'] }}@if ($store['address']){{ $store['address'] }}
@endif
{{ $store['phone'] ? 'Telp: ' . $store['phone'] . ' • ' : '' }}{{ $store['email'] }}
|
INVOICE
{{ $transaction->invoice }}
{{ \Carbon\Carbon::parse($transaction->created_at)->format('d M Y H:i') }}
|
|
Pelanggan
{{ $transaction->customer->name ?? 'Umum' }}
@if ($transaction->customer?->no_telp)
{{ $transaction->customer->no_telp }}
@endif
@if ($transaction->customer)
{{ $transaction->customer->village_name ?? '' }}
@if ($transaction->customer->regency_name)
, {{ $transaction->customer->regency_name }}
@endif
@if ($transaction->customer->province_name)
, {{ $transaction->customer->province_name }}
@endif
@endif
|
Kasir
{{ $transaction->cashier->name ?? '-' }}
Status: {{ $transaction->payment_status }}
Metode: {{ $transaction->payment_method }}
@if ($transaction->receivable && $transaction->receivable->due_date)
Jatuh tempo: {{ $transaction->receivable->due_date }}
@endif
|
| Nama Produk | Qty | Harga | Subtotal |
|---|---|---|---|
| {{ $detail->product->title ?? 'Produk' }} | {{ $detail->qty }} | {{ number_format($detail->price / max(1, $detail->qty), 0, ',', '.') }} | {{ number_format($detail->price, 0, ',', '.') }} |
|