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