@if(session('success'))
{{ session('success') }}
@endif
Data Pemesan
- Nama: {{ $order->nama }}
- Email: {{ $order->email }}
- Telepon: {{ $order->telepon }}
- Alamat: {{ $order->alamat }}
Status Pesanan
{{-- Informasi Pembayaran --}}
@if($order->payment_method || $order->payment_proof)
Informasi Pembayaran
-
Metode Pembayaran: {{ $order->payment_method ?? '-' }}
-
Status Pembayaran: {{ $order->payment_status }}
@if($order->payment_proof)
-
Bukti Pembayaran: Lihat Bukti
@endif
@if($order->payment_status == 'Belum Bayar' && $order->payment_proof)
@endif
@endif
@if($order->file_desain)
@endif
Detail Produk
| Nama Produk |
Qty |
Harga |
Subtotal |
@php $total = 0; @endphp
@foreach($order->items as $item)
@php $subtotal = $item->qty * $item->harga; $total += $subtotal; @endphp
| {{ $item->nama_produk }} |
{{ $item->qty }} |
Rp{{ number_format($item->harga,0,',','.') }} |
Rp{{ number_format($subtotal,0,',','.') }} |
@endforeach
| Total |
Rp{{ number_format($total,0,',','.') }} |