SAHABAT BAN
Sistem Manajemen Inventori dan Penjualan
Telp: (021) 1234-5678 | Email: info@sahabatban.com
Website: www.sahabatban.com
INVOICE
Kepada:
{{ $order->customer->name }}
@if($order->customer->phone) Telp: {{ $order->customer->phone }}
@endif @if($order->customer->email) Email: {{ $order->customer->email }}
@endif @if($order->customer->address) {{ $order->customer->address }} @endif
Dari Gudang:
{{ $order->warehouse->name }}
{{ $order->warehouse->address }}
{{ $order->warehouse->city }}, {{ $order->warehouse->province }}
Nomor Invoice:
{{ $invoice->invoice_number }}
Nomor Order:
{{ $order->order_number }}
Tanggal Invoice:
{{ $invoice->invoice_date->format('d F Y') }}
Jatuh Tempo:
{{ $invoice->due_date->format('d F Y') }}
Status:
{{ strtoupper($invoice->status) }}
@foreach($order->items as $index => $item) @endforeach
No Produk Jumlah Harga Satuan Subtotal
{{ $index + 1 }} {{ $item->product->name }}
SKU: {{ $item->product->sku }}
{{ number_format($item->quantity, 0) }} Rp {{ number_format($item->unit_price, 0, ',', '.') }} Rp {{ number_format($item->subtotal, 0, ',', '.') }}
@if(($invoice->tax ?? 0) > 0) @endif @if(($invoice->discount ?? 0) > 0) @endif @if(($invoice->paid_amount ?? 0) > 0) @endif
Subtotal: Rp {{ number_format($invoice->subtotal ?? 0, 0, ',', '.') }}
Pajak: Rp {{ number_format($invoice->tax, 0, ',', '.') }}
Diskon: - Rp {{ number_format($invoice->discount, 0, ',', '.') }}
TOTAL: Rp {{ number_format($invoice->total ?? 0, 0, ',', '.') }}
Terbayar: - Rp {{ number_format($invoice->paid_amount, 0, ',', '.') }}
Sisa: Rp {{ number_format($invoice->remaining_amount ?? 0, 0, ',', '.') }}
Halaman 1 dari 1