@csrf
@if ( $restaurant->branch->settings->orders->is_login_active || $restaurant->branch->settings->orders->is_otp_active || $restaurant->settings->orders->show_phone_input || $restaurant->settings->orders->show_name_input || $restaurant->settings->orders->show_email_input || $restaurant->settings->orders->show_types_input || (!$table && $restaurant->settings->orders->default_type === 'in_restaurant_dining' && $restaurant->settings->orders->show_table_input ) || ($restaurant->settings->orders->default_type === 'in_restaurant_dining' && $restaurant->settings->orders->show_persons_input) || (!$room && $restaurant->settings->orders->default_type === 'in_room_dining' && $restaurant->settings->orders->show_room_input ) || ($restaurant->settings->orders->default_type === 'in_room_dining' && $restaurant->settings->orders->show_persons_input) )

@lang('global.personal_information')

@endif @if ($restaurant->settings->orders->show_name_input)
@endif @if ($restaurant->settings->orders->show_email_input)
@endif @if ($restaurant->settings->orders->show_phone_input || $restaurant->branch->settings->orders->is_login_active || $restaurant->branch->settings->orders->is_otp_active)
@if ($user) @else @endif
@endif
@if (!$table && $restaurant->settings->orders->show_table_input)
@endif @if (!$room && $restaurant->settings->orders->show_room_input)
@endif @if ($restaurant->settings->orders->show_persons_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'] }} SAR {{ number_format($meal['price'] * $meal['quantity'],2) }} SAR

@lang('global.add_your_notes_here')

@lang('global.payment_information')

@if ($restaurant->settings->orders->tips->is_active && (count($restaurant->settings->orders->tips->data ?? []) || $restaurant->settings->orders->tips->show_other_amount_input))

@lang('global.tips')

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

@lang('global.order_summary')

@if ($restaurant->settings->orders->tips->is_active && (count($restaurant->settings->orders->tips->data ?? []) || $restaurant->settings->orders->tips->show_other_amount_input)) @endif
@lang('global.total') {{ Cart::total_price(true) }} SAR
@lang('global.discount') 0.00 SAR
@lang('global.tip') 0.00 SAR
@lang('global.total_amount') {{ Cart::total_price(true) }} SAR

@lang('global.all_prices_include_vat')