{{-- resources/views/invoice/show.blade.php --}} @extends('layouts.app') @section('title', 'Invoice #' . $order->id) @section('content')

๐Ÿงพ INVOICE

Dokumentasi Pemesanan Pelanggan

Invoice #{{ $order->id }}
{{ now()->format('F j, Y') }}

๐Ÿ“‹ Detail Pesanan

Order ID: #{{ $order->id }}
Order Date: {{ $order->order_date->format('F j, Y') }}
Status: {{ ucfirst($order->status) }}
Status Pembayaran: {{ ucfirst($order->payment_status) }}

๐Ÿ‘ค Informasi Pelanggan

Nama: {{ $order->user->name }}
Email: {{ $order->user->email }}

Item Pesanan

@foreach($order->items as $menu) @endforeach
๐Ÿฝ๏ธ Pesanan Jumlah Harga Total
{{ $menu->item->name }}
@if($menu->item->description)
{{ $menu->item->description }}
@endif
{{ $menu->quantity }} Rp {{ number_format($menu->item->price, 0, ',', '.') }} Rp {{ number_format($menu->item->price * $menu->quantity, 0, ',', '.') }}
Subtotal: Rp {{ number_format($subtotal, 0, ',', '.') }}
Pajak (10%): Rp {{ number_format($tax, 0, ',', '.') }}
Tip Layanan: Rp {{ number_format($serviceFee, 0, ',', '.') }}
Total Harga: Rp {{ number_format($grandTotal, 0, ',', '.') }}

Pembayaran Di bawah

1226774415 (BNI) ๐Ÿ’ณ

@if($order->description)

๐Ÿ“ Alamat Pemesanan

{{ $order->description }}

@endif

๐Ÿ™ Terima Kasih Telah Belanja Di Toko Ini!

Kami Harap Anda Menikmati Hidangan Yang Kami Siapkan!

@csrf
๐Ÿ  Back to Home
@endsection @section('styles') @endsection