@if($module === 'store')
|
|
@endif
{!!$item['name']!!}
{!!$item['description']!!}
|
@if($shipping)
1 to max order
|
@else
{{__('payments.quantity')}}
{{$item['qty']}}
|
@endif
{{__('payments.price')}}
{{$currency->symbol}}{{number_format($item['price'],2)}}
|
@if($discounts)
@if($item['discount'] > 0)
{{__('payments.checkout_discount')}}
-{{$currency->symbol.number_format($item['discount'],2)}}
|
@else
{{__('payments.checkout_discount')}}
N/A
|
@endif
@endif
@if($module !== 'store' OR $total_vat > 0)
{{__('payments.vat')}}
{{$currency->symbol}}{{number_format((($item['qty'] * $item['price']) * $item['vat_rate']) / 100,2)}} ({{$item['vat_rate']}}%)
|
@endif
@if($module === 'store')
@if(setting($module.'_product_shipping'))
{{__('payments.shipping')}}
{{$currency->symbol}}{{number_format($item['shipping'],2)}}
|
@endif
@endif
{{__('itemsubtotal')}}
{{$currency->symbol}}{{number_format($item['qty'] * $item['price'],2)}}
|
@php $i++; @endphp
@endforeach
@php
$extended = '';
$summary_shippings = ($module === 'store' && !setting($module.'_product_shipping')) ? TRUE : FALSE;
if($summary_shippings)
$extended = 'shippings-summary-container';
@endphp
{{__('payments.subtotal')}}
{{$currency->symbol}}{{number_format($subtotal,2)}}
@if($discounts)
{{__('payments.discounts')}}
- {{$currency->symbol}}{{number_format($total_discounts,2)}}
@endif
@if($shipping)
{{__('payments.shipping')}}
@if($summary_shippings)
@php $sh = new Shipping(); $sh = $sh->where('active','yes')->get(); @endphp
@if($sh->exists())
@endif
@endif
{{$currency->symbol}}{{number_format($total_shipping,2)}}
@endif
@if($module !== 'store' OR $total_vat > 0)
{{__('payments.vat')}}
{{$currency->symbol}}{{number_format($total_vat,2)}}
@endif
{{__('payments.total')}}
{{$currency->symbol}}{{number_format($total,2)}}
@if($module === 'store' && !$free_of_charge)
@endif
|