Informasi Pembeli & Pengirim
Pembeli
{{ $order->customer_name }}
{{ $order->whatsapp }}
Alamat: {{ $order->address }}, {{ $order->subdistrict }}, {{ $order->district }}, {{ $order->postal_code }}
@if ($order->payment_method != 'COD') Lihat Bukti Transfer @endifPengirim
{{ $order->actor->full_name }}
Kode: #{{ $order->actor->code }}
Alamat: {{ $order->actor->address }}, {{ $order->actor->area->sub_district_name }}, {{ $order->actor->area->district_name }}, {{ $order->actor->area->city_name }}, {{ $order->actor->area->province_name }}
Rincian Pesanan & Pembayaran
@php $boxPrice = 170000; $sachetPrice = 49000; $totalQty = $order->total_quantity ?? 0; $isBox = $totalQty >= 5; $productLabel = $isBox ? 'Box (DRSBOX)' : 'Sachet (DRSSACHET)'; $productIcon = $isBox ? 'https://cdn-icons-png.flaticon.com/128/2826/2826142.png' : 'https://cdn-icons-png.flaticon.com/128/6522/6522522.png'; $productPrice = $isBox ? $boxPrice : $sachetPrice; $subtotal = $isBox ? ($totalQty / 5) * $productPrice : $totalQty * $productPrice; @endphp|
DOORASI Varian: {{ '(' . $order->sku . ')' }} |
{{ $isBox ? $totalQty / 5 . ' x Rp 170.000' : $totalQty . 'x Rp 49.000' }} | Rp {{ number_format($subtotal, 0, '.', '.') }} |
Verifikasi & Pengiriman
@php $selisihShipping = ($order->shipping_cost ?? 0) - ($order->shipping->shipping_cost ?? 0); $selisihTotal = ($order->total_payment ?? 0) - ($order->shipping->total_payment ?? 0); @endphp{{ $selisihShipping != 0 ? 'ONGKIR TIDAK SESUAI' : 'ONGKIR SESUAI' }}
{{ $selisihTotal != 0 ? 'TOTAL TIDAK SESUAI' : 'TOTAL SESUAI' }}
Ekspedisi
{{ $order->shipping->logistic_name ?? '-' }}
Layanan
{{ $order->shipping->rate_name ?? '-' }} ({{ $order->shipping->rate_code ?? '-' }})
Estimasi
{{ $order->shipping->min_duration ?? '-' }} - {{ $order->shipping->max_duration ?? '-' }} hari