@csrf @if (session()->has('metadata')) @endif
@if ( $branch->service->branch->settings->orders->is_login_active || $branch->service->branch->settings->orders->is_otp_active || $branch->settings->orders->show_phone_input || $branch->settings->orders->show_name_input )

@lang('global.personal_information')

@endif @if ($branch->settings->orders->show_name_input)
@endif @if ($branch->settings->orders->show_phone_input || $branch->service->branch->settings->orders->is_login_active)
@if ($user) @else @endif
@endif

@lang('global.order_details')

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

@lang('global.add_your_notes_here')

@lang('global.payment_information')

@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_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()->has('metadata') && cache('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(cache('delivery_fees'),2) }}
@lang('global.total_amount') {{ Cart::total_price(true,true) }}

@lang('global.all_prices_include_vat')