{{-- Compact thermal label — 50mm × 75mm --}} @php $courierRecord = $order->courier_type ? \App\Models\CourierApi::findByCourierRef($order->courier_type) : null; $courierName = $courierRecord?->name ?? ($order->courier_type ? \App\Models\CourierApi::displayName($order->courier_type) : null); $courierLogo = $courierRecord?->logo ? asset($courierRecord->logo) : ($order->courier_type ? \App\Models\CourierApi::logoUrlFor($order->courier_type) : null); $sellerLogo = $setting->logo ?? $setting->dark_logo ?? null; @endphp
@if($sellerLogo) @endif
{{ $setting->name ?? 'Shop' }} {{ $setting->phone ?? '' }}
@if($order->courier_type)
Courier:
@if($courierLogo) @else {{ $courierName }} @endif
@endif
{{ $order->customer_name }}
{{ $order->customer_phone }}
{{ \Illuminate\Support\Str::limit($order->shipping_address, 80) }}
@if($order->district)
{{ $order->district }}
@endif
#{{ $order->invoice_id }} COD ৳{{ number_format($order->total_amount) }}
@if($order->consignment_id)
Tracking: {{ $order->consignment_id }}
@endif
@foreach($order->orderItems as $item)
{{ \Illuminate\Support\Str::limit($item->product_name, 35) }} ×{{ $item->qty }}
@endforeach