@extends('layouts.buyer') @section('title', 'Pesanan Berhasil - Toko Online') @section('content')
{{-- Header Sukses --}}

Pesanan Berhasil Dibuat!

Terima kasih, {{ $order->customer_name }}! Pesanan Anda sedang diproses.

Nomor Pesanan
{{ $order->order_number }}
Status: Pending Belum Dibayar
{{-- Detail Pesanan --}}
Detail Pesanan
@foreach($order->orderItems as $item) @endforeach
Produk Harga Qty Subtotal
@if($item->product && $item->product->image) {{ $item->product_name }} @else
@endif
{{ $item->product_name }}
@if(! $item->product) (produk telah dihapus) @endif
Rp {{ number_format($item->price, 0, ',', '.') }} {{ $item->quantity }} Rp {{ number_format($item->subtotal, 0, ',', '.') }}
Total Pembayaran Rp {{ number_format($order->total, 0, ',', '.') }}
{{-- Informasi Tambahan --}}
Informasi Pesanan
Tanggal Pesanan
{{ $order->created_at->format('d F Y, H:i') }} WIB
Email Konfirmasi
{{ $order->customer_email }}
@if($order->shipping_address)
Alamat Pengiriman
{{ $order->shipping_address }}
@endif @if($order->notes)
Catatan Pesanan
{{ $order->notes }}
@endif
{{-- Informasi Pembayaran --}}
Langkah selanjutnya: Pesanan Anda telah dicatat dengan status Pending. Fitur pembayaran akan segera tersedia. Simpan nomor pesanan Anda: {{ $order->order_number }}
{{-- Tombol Navigasi --}}
@endsection