{{ config('app.name') }}

{{ now()->format('d F Y H:i') }}

@foreach ($order->orderDetails as $detail) @endforeach
# Nama Quantity Harga
{{ $loop->iteration }}. {{ $detail->product->name }} {{ $detail->quantity }} x {{ number_format($detail->price, 0, '.', '.') }} {{ number_format($detail->price * $detail->quantity, 0, '.', '.') }}
Grand Total: Rp {{ number_format($order->total, 0, '.', '.') }}
Discount: Rp {{ number_format($order->discount ?? '0', 0, '.', '.') }}
Total After Discount: Rp {{ number_format($order->total - $order->discount, 0, '.', '.') }}