@php $studioName = \App\Models\Setting::get('studio_name', 'Lourent Dress'); $studioAddress = \App\Models\Setting::get('studio_address', 'Studio Lourent, Tangerang, Banten'); $studioPhone = \App\Models\Setting::get('studio_phone_wa', '081188099359'); $trackingNumber = $order->shipping_tracking_number ?: $order->order_number; $courierMap = [ 'jne' => 'JNE EXPRESS', 'lion' => 'LION PARCEL', 'sicepat' => 'SICEPAT EKSPRES', 'jnt' => 'J&T EXPRESS', 'grab' => 'GRABEXPRESS', 'gojek' => 'GOSEND (GOJEK)', 'paxel' => 'PAXEL', 'anteraja' => 'ANTERAJA', 'tiki' => 'TIKI', 'pos' => 'POS INDONESIA', ]; $rawCourier = strtolower(trim($order->shipping_courier ?? '')); $courierName = $courierMap[$rawCourier] ?? strtoupper($order->shipping_courier ?: 'KURIR EKSPEDISI'); $serviceName = strtoupper($order->shipping_service ?: 'REGULER'); $totalWeight = max(1.2, count($order->items) * 1.2); @endphp
LOURENT Designer Dress Atelier
{{ $courierName }}
{{ $serviceName }}
{{ $trackingNumber }}
No. Pesanan: {{ $order->order_number }} • Tgl: {{ $order->created_at->format('d/m/Y') }}
PENERIMA (TO):
{{ $order->customer_name }}
{{ $order->customer_phone }}
{{ $order->destination_address }} @if($order->destination_subdistrict || $order->destination_district)
{{ $order->destination_subdistrict ? 'Kel. ' . $order->destination_subdistrict . ', ' : '' }}{{ $order->destination_district ? 'Kec. ' . $order->destination_district : '' }} @endif
@if($order->destination_notes)
Patokan: {{ $order->destination_notes }}
@endif
{{ $order->destination_city ?: 'KOTA TUJUAN' }} {{ $order->destination_postal_code ?: '12730' }}
PENGIRIM (FROM):
{{ $studioName }} ({{ $studioPhone }})
{{ $studioAddress }}
ISI PAKET ({{ count($order->items) }} DRESS) BERAT: ±{{ number_format($totalWeight, 1) }} KG
@foreach($order->items as $item)
• [{{ $item->dress->code }}] {{ $item->dress->name }} Size: {{ $item->dress->size }} (x{{ $item->quantity }})
@endforeach
Sewa: {{ $order->rental_start_date->format('d M') }} - {{ $order->rental_end_date->format('d M Y') }} Wajib Balik: {{ $order->rental_end_date->format('d M Y') }}
FRAGILE • GAUN MEWAH
Jangan dibanting • Jangan dilipat tajam • Hindarkan dari basah / cairan