@lang('modules.menu.basePrice'):
{{ currency_format($taxInclusivePriceDetails['base_raw'] ?? 0,
restaurant()->currency_id) }}
@if(!empty($taxInclusivePriceDetails['tax_breakdown']))
@foreach($taxInclusivePriceDetails['tax_breakdown'] as $tax)
{{ $tax['name'] }} ({{ $tax['rate'] }}%)
{{ currency_format($tax['amount'], restaurant()->currency_id) }}
@endforeach
@endif
@lang('modules.menu.tax') ({{
$taxInclusivePriceDetails['tax_percent'] }}%):
{{ currency_format($taxInclusivePriceDetails['tax_raw'] ?? 0,
restaurant()->currency_id) }}
@lang('modules.menu.total'):
{{
currency_format($taxInclusivePriceDetails['total_raw'] ?? 0,
restaurant()->currency_id) }}
@if($taxInclusivePriceDetails['inclusive'])
@lang('modules.menu.taxInclusiveInfo', [
'percent' => $taxInclusivePriceDetails['tax_percent'],
'tax' => currency_format($taxInclusivePriceDetails['tax_raw'] ?? 0,
restaurant()->currency_id),
'base' => currency_format($taxInclusivePriceDetails['base_raw'] ?? 0,
restaurant()->currency_id)
])
@else
@lang('modules.menu.taxExclusiveInfo', [
'percent' => $taxInclusivePriceDetails['tax_percent'],
'tax' => currency_format($taxInclusivePriceDetails['tax_raw'] ?? 0,
restaurant()->currency_id),
'base' => currency_format($taxInclusivePriceDetails['base_raw'] ?? 0,
restaurant()->currency_id)
])
@endif