| Nama | {{ $checkout->user->name ?? '-' }} |
|---|---|
| No HP | {{ $checkout->user->phone ?? '-' }} |
| Alamat | {{ $checkout->alamat_pengiriman }} |
| Produk | Jumlah | Harga | Total |
|---|---|---|---|
|
@php
$gambar = $produk['gambar'] ?? null;
if (!$gambar && isset($produk['produk_id'])) {
$p = \App\Models\Produk::find($produk['produk_id']);
$gambar = $p->gambar ?? null;
}
$urlGambar = $gambar
? asset('storage/' . $gambar)
: asset('images/no-image.png');
@endphp
|
{{ $produk['jumlah'] }} | Rp {{ number_format($produk['harga'], 0, ',', '.') }} | Rp {{ number_format($produk['total'], 0, ',', '.') }} |
| Subtotal | Rp {{ number_format($totalHargaAkhir, 0, ',', '.') }} |
|---|---|
| Total Bayar | Rp {{ number_format($totalHargaAkhir, 0, ',', '.') }} |
| Status Pesanan | {{ ucfirst(str_replace('_',' ', $checkout->status)) }} |
|---|---|
| Status Pembayaran | {{ ucfirst(str_replace('_', ' ', $checkout->status_pembayaran)) }} |
| Metode Pembayaran | {{ ucfirst($checkout->metode_pembayaran) }} |
| Metode Pengiriman | @if($checkout->metode_pengiriman == 'ditoko') Ambil di Toko @else Delivery Toko @endif |
Terima kasih atas kepercayaan Anda