@csrf @if (session()->get("metadata.{$branch->restaurant->branch_id}.order_type") === 'delivery') @endif
@if ( $branch->restaurant->branch->settings->orders->is_login_active || $branch->settings->orders->show_phone_input || $branch->settings->orders->show_name_input || $branch->settings->orders->show_passport_number_input || $branch->settings->orders->show_passport_country_input || $branch->settings->orders->show_first_name_input || $branch->settings->orders->show_last_name_input || $branch->settings->orders->show_birthdate_input || $branch->settings->orders->show_residence_country_input || $branch->settings->orders->show_email_input || $branch->settings->orders->show_types_input || (!$table && $branch->settings->orders->default_type === 'in_restaurant_dining' && $branch->settings->orders->show_table_input) || ($branch->settings->orders->default_type === 'in_restaurant_dining' && $branch->settings->orders->show_persons_input))

@lang('global.personal_information')

@endif @if ($branch->settings->orders->show_name_input)
@endif @if ($branch->settings->orders->show_first_name_input)
@endif @if ($branch->settings->orders->show_last_name_input)
@endif @if ($branch->settings->orders->show_phone_input || $branch->restaurant->branch->settings->orders->is_login_active)
@if ($user) @else @endif
@endif @if ($branch->settings->orders->show_email_input)
@endif @if ($branch->settings->orders->show_birthdate_input)
@endif @if ($branch->settings->orders->show_passport_number_input)
@endif @if ($branch->settings->orders->show_passport_country_input)
@endif @if ($branch->settings->orders->show_residence_country_input)
@endif
@if (!$table && $branch->settings->orders->show_table_input)
@endif @if ($branch->settings->orders->show_persons_input)
@endif

!$show_payment_methods_input])>@lang('global.payment_information')

!$show_payment_methods_input, ])> @foreach ($allowed_payment_methods as $allowed_payment_method) @switch($allowed_payment_method) @case('e_payment')
$default_payment_method === 'e_payment', ]) data-value="e_payment_card"> @lang('global.payment_methods.e_payment_card')
@if ($isApple)
@lang('global.payment_methods.e_payment_applepay')
@endif @break @case('cash')
$default_payment_method === 'cash', ]) data-value="cash"> @lang('global.payment_methods.cash')
@break @case('card')
$default_payment_method === 'card', ]) data-value="card"> @lang('global.payment_methods.card')
@break @endswitch @endforeach
@if ($branch->settings->orders->tips->is_active && (count($branch->settings->orders->tips->data ?? []) || $branch->settings->orders->tips->show_other_amount_input))

@lang('global.tips')

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

@lang('global.order_details')

@foreach ($cart->products() as $meal) @endforeach
@lang('global.category') @lang('global.quantity') @lang('global.unit_price') @lang('global.total_price')
{{ $meal['title'][$locale] }} {{ $meal['quantity'] }} {{ $meal['total_price'] }} {{ number_format($meal['total_price'] * $meal['quantity'], 2) }}

@lang('global.order_summary')

@if ($branch->settings->orders->tips->is_active && (count($branch->settings->orders->tips->data ?? []) || $branch->settings->orders->tips->show_other_amount_input)) @endif @if (session()->get("metadata.{$branch->restaurant->branch_id}.order_type") === 'delivery' && $branch->restaurant->delivery_fees) @endif
@lang('global.total') {{ $cart->total_price(true) }}
@lang('global.discount') 0.00
@lang('global.tip') 0.00
@lang('global.delivery_fees') {{ number_format($branch->restaurant->delivery_fees, 2) }}
@lang('global.total_amount') {{ $cart->total_price(true, $branch->restaurant->delivery_fees, $branch->restaurant->branch->id) }}

@lang('global.all_prices_include_vat')

@lang('global.accept_terms_note')