| {{ __('messages.designation') }} | {{ __('messages.quantity') }} | {{ __('messages.unit_price') }} | {{ __('messages.tax') }} | {{ __('messages.amount') }} |
|---|---|---|---|---|
|
{{ $item->product_name }}
@foreach($item->selected_variants ?? [] as $variantName => $variantValue)
{{ __('messages.' . $variantName) }} : {{ __('messages.' . $variantValue) }}
@if($item->delivery_mode)
{{ __('messages.shipping') }} {{ __('messages.' . $item->delivery_mode) }} @endif @if($item->relay_point_name) {{ __('messages.relay_point_invoice') }} {{ $item->relay_point_name }} @endif |
{{ $item->quantity }} | {{ money($item->unit_price) }} | @php $subtotal = is_numeric($item->subtotal) ? (float) $item->subtotal : 0; $taxRate = is_numeric($item->product?->product_tax) ? (float) $item->product?->product_tax : 20; $divider = 1 + ($taxRate / 100); $ht = ($item->unit_price) * ($taxRate / 100); @endphp{{ money($ht) }} ({{ number_format($taxRate, 0) }}%) | {{ money($item->subtotal) }} |
| {{ __('messages.under_total_product') }} | {{ money($order->products_total) }} |
| {{ __('messages.shipping') }} | {{ money($order->shipping_total) }} |
| {{ __('messages.total_ttc') }} | {{ money($order->total) }} |