Order #{{ $o['uoid'] }}
{{ \Carbon\Carbon::parse($o['created_at'])->timezone('Asia/Jakarta')->format('d M Y, H:i') }}
@if ($isWaitingDelivery)
Klik kartu ini untuk menyelesaikan pembayaran (delivery).
@endif
@if ($method === 'pickup')
Pembayaran dilakukan di lokasi (on the spot).
@endif
{{ ucfirst($method) }}
Status
{{ $status['label'] }}
{{-- Delivery: tampilkan resi + tombol Lacak jika ada --}}
{{-- @if ($method === 'delivery' && $hasResi)
Resi: {{ $o['nomor_resi'] }}
@endif --}}
{{-- Delivery: tampilkan resi + tombol Copy + link Cek Resi (JNE) --}}
@if ($method === 'delivery' && $hasResi)
Resi: {{ $o['nomor_resi'] }}
@endif
{{-- Pickup: info lokasi --}}
@if ($method === 'pickup' && !empty($o['pickup_location']))
Pickup Event
{{ $o['pickup_location'] }}
@endif
Ringkasan
Subtotal
Rp {{ number_format((int) ($o['sub_total'] ?? 0), 0, ',', '.') }}
@if ($o['discount_amount'] > 0)
Diskon
- Rp
{{ number_format((int) ($o['discount_amount'] ?? 0), 0, ',', '.') }}
@endif
Ongkir
Rp {{ number_format((int) ($o['ongkir'] ?? 0), 0, ',', '.') }}
Total ({{ (int) ($o['qty'] ?? 0) }} item)
Rp {{ number_format((int) ($o['total'] ?? 0), 0, ',', '.') }}
{{-- Thumbnail item --}}
@if (!empty($thumbs))
@foreach ($thumbs as $it)
@php
$img = $it['image_path'] ?? '';
$qty = (int) ($it['quantity'] ?? 1);
$name = $it['sku_name'] ?? 'Item';
@endphp
x{{ $qty }}
@endforeach
@if ($moreCount > 0)
+{{ $moreCount }}
@endif