@vite(['resources/css/app.css', 'resources/js/app.js']) {{-- Tombol aksi (tidak ikut print) --}}
Kembali ke Detail Pesanan
{{-- Halaman Invoice A4 --}}
{{-- Kop Surat --}}
TB

Titipin Ba Be

Platform Jasa Titip Hyperlokal

Desa Budiharja

INVOICE

{{ $order->order_number }}

{{ $order->created_at->translatedFormat('d F Y, H:i') }} WIB

{{-- Info Customer & Status --}}

Ditujukan Kepada

{{ $order->customer_name }}

{{ $order->customer_phone }}

{{ $order->delivery_address_snapshot }}

Status

Status Pesanan: {{ $order->status->label() }}

Metode Bayar: {{ $order->payment_method->label() }}

Status Bayar: {{ $order->payment?->status->label() ?? 'Belum Bayar' }}

{{-- Tabel Produk --}} @foreach ($order->items as $item) @endforeach
Produk Harga Qty Subtotal
{{ $item->product_name }} Rp {{ number_format($item->sell_price, 0, ',', '.') }} {{ $item->quantity }} Rp {{ number_format($item->subtotal, 0, ',', '.') }}
{{-- Ringkasan --}}
Subtotal Rp {{ number_format($order->subtotal, 0, ',', '.') }}
@if ($order->discount_amount > 0)
Diskon {{ $order->voucher ? '(' . $order->voucher->code . ')' : '' }} − Rp {{ number_format($order->discount_amount, 0, ',', '.') }}
@endif
Ongkos Kirim Rp {{ number_format($order->delivery_cost, 0, ',', '.') }}
Grand Total Rp {{ number_format($order->grand_total, 0, ',', '.') }}
@if ($order->customer_notes)

Catatan Customer

{{ $order->customer_notes }}

@endif {{-- Footer --}}

Invoice ini dibuat otomatis oleh sistem {{ config('app.name') }} — Desa Budiharja.

Dicetak pada {{ now()->translatedFormat('d F Y, H:i') }} WIB