@forelse ($OrderItems as $product)
| {{ $loop->iteration }} |
{{ $product->name }}
{{ $product->product_code }}
|
{{ $product->color }} |
{{ $product->size }} |
{{ $product->quantity }} |
{{ number_format($product->base_price, 0) }} |
{{ $product->customisation_price > 0 ? number_format($product->customisation_price, 0) : '-' }}
|
{{ number_format($product->price * $product->quantity, 0) }} |
@empty
@endforelse
{{-- Totals section --}}
| Subtotal |
{{ config('constants.currency_symbol') }} {{ number_format($baseTotal, 0) }}
|
@if(isset($customisationTotal) && $customisationTotal > 0)
| Customisation |
{{ config('constants.currency_symbol') }} {{ number_format($customisationTotal, 0) }}
|
@endif
| Discount |
{{ config('constants.currency_symbol') }} {{ number_format($orderDetail->discount, 0) }}
|
|
@if(($orderDetail->fulfillment_type ?? '') === 'pickup')
Branch Pickup
@else
Delivery
@endif
|
{{ config('constants.currency_symbol') }} {{ number_format($orderDetail->delivery_fee ?? 0, 0) }}
|
@if((float) ($orderDetail->payment_fee ?? 0) > 0)
| Cash Handling Charges |
{{ config('constants.currency_symbol') }} {{ number_format((float) $orderDetail->payment_fee, 0) }}
|
@endif
| {{ !empty($orderDetail->prices_include_vat) ? 'VAT included (15%)' : 'VAT (15%)' }} |
{{ config('constants.currency_symbol') }} {{ number_format($orderDetail->vat, 0) }}
|
| Total |
{{ config('constants.currency_symbol') }} {{ number_format($orderDetail->amount, 0) }}
|
|
Thank you for choosing Uniform Flex.
|