In-store POS — no delivery snapshot.
@elseif ($hasShipping) @php $rft = $resolvedFulfillmentType ?? ''; $ftBadge = match ($rft) { 'pickup' => ['bg' => '#fff7ed', 'color' => '#b45309', 'label' => 'Pickup'], 'delivery' => ['bg' => '#eff6ff', 'color' => '#1d4ed8', 'label' => 'Delivery'], default => ['bg' => '#f8fafc', 'color' => '#475569', 'label' => store_order_delivery_type_label($rft)], }; @endphpNo shipping details on this order.
@endif| Item | Price | Qty | Total Price | Subtotal Excl. Tax | Discount | Tax | Total Payable |
|---|---|---|---|---|---|---|---|
| {{ Str::limit($item->product_name, 30) }} @if ($item->variant_name) {{ Str::limit($item->variant_name, 30) }} @endif | {{ number_format($item->base_unit_price, 2) }} | {{ $item->quantity }} | {{ number_format($item->base_unit_price * $item->quantity, 2) }} | {{ number_format($item->subtotal * $item->quantity, 2) }} | {{ number_format($item->discount_per_unit * $item->quantity, 2) }} | {{ number_format($item->tax_per_unit * $item->quantity, 2) }} | {{ number_format($item->line_total, 2) }} |
| {{ __('Base Price') }} | {{ $fmt($sale->order_base_price) }} |
| {{ __('Subtotal') }} | {{ $fmt($sale->subtotal) }} |
| {{ __('Discount') }} | {{ $fmt($sale->total_discount) }} |
| {{ __('Coupon') }}@if (filled($sale->coupon_code)) ({{ $sale->coupon_code }})@endif | -{{ $couponDiscountAmt > 0.009 ? $fmt($couponDiscountAmt) : $fmt(0) }} |
| {{ __('Tax') }} | {{ $fmt($sale->total_tax) }} |
| {{ __('Shipping') }} @if (($resolvedFulfillmentType ?? '') === 'pickup') — {{ __('Pickup') }} @elseif ($deliveryPackageDisplay !== '') — {{ $deliveryPackageDisplay }} @endif | {{ $fmt($shippingFeeAmt) }} |
| {{ __('Grand Total') }} | {{ $fmt($sale->grand_total) }} |
| {{ __('Paid') }} | {{ $fmt($sale->amount_paid ?? 0) }} |
| {{ __('Due') }} | {{ $fmt($sale->amount_due ?? 0) }} |