{{ $config['label'] }}
@if($order->payment_status === 'paid')
LUNAS
@else
BELUM BAYAR
@endif
@if($order->pickup_status === 'picked_up')
SUDAH DIAMBIL
@else
BELUM DIAMBIL
@endif
{{ $order->invoice_number }}
{{ $order->customer_name }} • {{ $order->created_at->format('d M Y, H:i') }}
Total
Rp {{ number_format($order->total_price, 0, ',', '.') }}
Progress Pesanan
@php
$completedSteps = collect($timeline)->filter(fn($s) => $s['completed'])->count();
$progress = ($completedSteps / count($timeline)) * 100;
@endphp
{{-- Steps Grid --}}
@foreach($timeline as $index => $step)
@php
$stepIcons = [
0 => ' ',
1 => ' ',
2 => ' ',
3 => ' ',
4 => ' ',
];
@endphp
{{-- Step Number/Icon --}}
{{-- Completed Badge (Mobile) --}}
@if($step['completed'])
@endif
@endforeach
@if($step['completed'])
@else
{{ $index + 1 }}
@endif
{{-- Content --}}
{{ $step['label'] }}
{{ $step['description'] }}
@if($step['completed'] && $step['date']){{ $step['date']->format('d M Y, H:i') }}
@endifDetail Pesanan
@foreach($order->items as $item)
@endforeach
{{ $item->file_name }}
{{ $item->product_name }} • {{ $item->material_name ?? '-' }} • {{ $item->size_description }}
{{ $item->qty }} pcs
Rp {{ number_format($item->subtotal, 0, ',', '.') }}