|
{{ $store['name'] }}
@if($store['address']){{ $store['address'] }}
@endif @if($store['phone'])Telp. {{ $store['phone'] }}@endif @if($store['email']) | {{ $store['email'] }}@endif |
Invoice
{{ $order->order_number }}
{{ $order->created_at?->translatedFormat('d F Y') ?? now()->translatedFormat('d F Y') }}
|
|
Pelanggan
{{ $order->customer_name ?? 'Umum' }}
@if($order->customer?->address){{ $order->customer->address }}
@endif @if($order->customer?->phone)Telp. {{ $order->customer->phone }}@endif |
Detail Pesanan
|
| No | Barang | SKU | Qty | Satuan | Harga | Disc | Jumlah |
|---|---|---|---|---|---|---|---|
| {{ $idx + 1 }} |
{{ $item->product_name ?? $item->product?->name ?? '-' }}
@if((int) $item->qty_returned > 0)
(retur: {{ (int) $item->qty_returned }}) @endif |
{{ $item->product?->sku ?? '-' }} | {{ $qtyEffective }} | {{ $item->product?->unit ?? 'Pcs' }} | Rp {{ number_format((float) $item->product_price, 0, ',', '.') }} | {{ (float) $item->discount > 0 ? number_format((float) $item->discount, 0) . '%' : '-' }} | Rp {{ number_format($finalSubtotal, 0, ',', '.') }} |
|
|
{{ $store['name'] }}
|
Pelanggan
|