{{-- Shared Label Content Partial --}} {{-- Variables: $order, $setting --}} @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

📤 FROM

@if($sellerLogo) @else

{{ $setting->name }}

@endif
@if($sellerLogo)

{{ $setting->name }}

@endif

{{ $setting->phone ?? '' }}

{{ $setting->address ?? 'Bangladesh' }}

đŸ“Ĩ TO (DELIVER TO)

@if($order->shipping)

{{ $order->shipping->name ?? '' }}

📞 {{ $order->shipping->phone ?? '' }}

📍 {{ $order->shipping->address ?? '' }}

@if($order->district)

{{ $order->district }}, Bangladesh

@endif @endif
@if($order->courier_type)
Courier:
@if($courierLogo) @else {{ $courierName }} @endif
@if($order->consignment_id)
Tracking: {{ $order->consignment_id }}
@endif
@endif
Order No #{{ $order->invoice_id }}
COD Amount ā§ŗ{{ number_format($order->total_amount) }}
Items {{ $order->orderItems->sum('qty') }} pcs
Date {{ $order->created_at->format('d/m/Y') }}
Products:
āϰāĻžāχāĻĄāĻžāϰ āĻāϰ āϏāĻžāĻŽāύ⧇ āĻĒāĻžāĻ°ā§āϏ⧇āϞ āϝāĻžāϚāĻžāχ āĻ•āϰ⧁āύ (ā§ŗ{{ number_format($order->total_amount, 0) }}) āĻĒā§āϰāĻĻāĻžāύ āĻ•āϰ⧁āύāĨ¤