Order #{{ $o->order_no }} @if($o->is_important)★★★@endif · {{ $o->order_date->format('d M Y') }} @if($o->delivered_at)Delivered {{ $o->delivered_at->format('d M Y') }} @else{{ $o->stage->name }}@endif
Edit
@if($o->is_important && !$o->delivered_at)
★★★ Very important: must be delivered on {{ $o->due_date->format('d M Y') }}.
@endif
{{ $o->items }}
{{ $o->amount !== null ? '৳'.number_format($o->amount) : '—' }}
{{ $o->discount ? '৳'.number_format($o->discount) : '—' }}
{{ $o->amount !== null ? '৳'.number_format($o->amount - ($o->discount ?? 0)) : '—' }}
{{ $o->due_date->format('d M Y') }}
@if($o->products->isNotEmpty())
@foreach($o->products as $pr) {{ $pr->name }}: ৳{{ number_format($pr->price) }}@if($pr->note) · {{ $pr->note }}@endif @endforeach
@endif @if(!empty($o->garments)) @foreach($o->garments as $g)
{{ $g['type'] }} × {{ $g['qty'] ?? 1 }} @if(!empty($g['options']))
@foreach($g['options'] as $grp => $names) @if(is_array($names))
{{ $grp }} @foreach($names as $opt)✓ {{ $opt }}@endforeach
@else ✓ {{ $names }} @endif @endforeach
@endif @if(!empty($g['measurements']))
@foreach($g['measurements'] as $k => $val) {{ $k }}: {{ $val }} @endforeach
@else
No measurements saved
@endif
@endforeach @endif @if(!empty($o->measurement_data))
@foreach($o->measurement_data as $k => $val) {{ $k }}: {{ $val }} @endforeach
@endif @if($o->measurements)
{{ $o->measurements }}
@endif @if($o->directions)
{{ $o->directions }}
@endif @if($o->private_note)
{{ $o->private_note }}
@endif