@csrf
@if ( $branch->settings->show_user_phone_input || $branch->settings->show_user_name_input || $branch->settings->show_user_email_input || $branch->settings->show_order_types_input || ($branch->settings->default_order_type === 'delivery' && $branch->settings->show_address_input) || (!$table && $branch->settings->default_order_type === 'inside' && $branch->settings->show_table_input ) || ($branch->settings->default_order_type === 'inside' && $branch->settings->show_persons_input) )

@lang('global.personal_information')

@endif @if ($branch->settings->show_user_name_input)
@endif @if ($branch->settings->show_user_email_input)
@endif @if ($branch->settings->show_user_phone_input)
@endif
@if (!$table && $branch->settings->show_table_input)
@endif @if ($branch->settings->show_persons_input)
@endif @if ($branch->settings->show_address_input)
@endif

@lang('global.order_details')

@foreach (Cart::get() as $meal) @endforeach
@lang('global.category') @lang('global.quantity') @lang('global.unit_price') @lang('global.total_price')
{{ $meal['title'][$locale] }} {{ $meal['quantity'] }} {{ $meal['price'] }} {{ number_format($meal['price'] * $meal['quantity'],2) }}

@lang('global.add_your_notes_here')

@lang('global.payment_information')

@if ($branch->settings->show_tips && (count($branch->settings->tips ?? []) || $branch->settings->show_other_amount_tips_input))

@lang('global.tips')

@if (count($branch->settings->tips ?? []))
@foreach ($branch->settings->tips ?? [] as $tip)
{{ $tip->amount }}
@endforeach
@endif @if ($branch->settings->show_other_amount_tips_input)
@endif
@endif

@lang('global.order_summary')