@lang('modules.order.subTotal')
{{ currency_format($subTotal, restaurant()->currency_id) }}
@if($discount > 0)
@lang('modules.order.discount')
-{{ currency_format($discount, restaurant()->currency_id) }}
@endif
@if(!empty($taxes))
@foreach($taxes as $tax)
@lang('modules.order.tax'): {{ $tax['name'] }} ({{ $tax['percent'] }}%)
+{{ isset($tax['amount']) ? currency_format($tax['amount'], restaurant()->currency_id) : '' }}
@endforeach
@endif
@if(!empty($extraCharges))
@foreach($extraCharges as $charge)
@lang('modules.order.charge'): {{ $charge['name'] }}
+{{ currency_format($charge['amount'], restaurant()->currency_id) }}
@endforeach
@endif
@if($tip > 0)
@lang('modules.order.tip')
+{{ currency_format($tip, restaurant()->currency_id) }}
@endif
@if($deliveryFee > 0)
@lang('modules.order.deliveryFee')
+{{ currency_format($deliveryFee, restaurant()->currency_id) }}
@endif
@lang('modules.order.total')
{{ currency_format($total, restaurant()->currency_id) }}