@extends('user.layouts.layout') @section('content')
@csrf
@if(Client()) @else
@lang('trans.Customer Details')
@error('name'){{ $message }}@enderror
image {{ 966 }} @error('phone'){{ $message }}@enderror
@error('email'){{ $message }}@enderror
@endif @if ($type_id == 1)
@lang('trans.Delivery Information')
@error('region_id'){{ $message }}@enderror
@error('block'){{ $message }}@enderror
@error('road'){{ $message }}@enderror
@error('building_no'){{ $message }}@enderror
@error('floor_no'){{ $message }}@enderror
@error('apartment'){{ $message }}@enderror
@error('type'){{ $message }}@enderror
@error('additional_directions'){{ $message }}@enderror
@endif
@lang('trans.Payment Method')
@foreach (Payments() as $payment)
id) @else @checked($loop->first) @endif >
@endforeach @error('Payment'){{ $message }}@enderror
@lang('trans.Order Details')
@foreach ($Cart as $key => $item)
{{ $item['quantity'] }} x {{ $item['product'][ lang('en') ? 'sub_category_name' : 'sub_category_name_ar' ] }} {{ number_format($Cart[$key]['total'], Country()->decimals , '.', '') }} {{ Country()->currancy_code }}
@if ( $item['note'] )
@lang('trans.notes'): {{ $item['note'] }}
@endif
@endforeach
@lang('trans.subTotal') {{ number_format($SubTotal, Country()->decimals , '.', '') }} {{ Country()->currancy_code }}
@if ($VAT)
@lang('trans.Vat')({{ setting('vat') }}%) {{ number_format($VAT, Country()->decimals , '.', '') }} {{ Country()->currancy_code }}
@endif @if ($discount && $discount > 0)
@lang('trans.discount')({{ $Discounts->first()->percent_off ? $Discounts->first()->percent_off . '%' : $Discounts->first()->discount . Country()->currancy_code }}) {{ number_format($discount, Country()->decimals , '.', '') }} {{ Country()->currancy_code }}
@endif @if ($type_id == 1)
@lang('trans.delivery_cost') {{ number_format($delivery_cost, Country()->decimals , '.', '') }} {{ Country()->currancy_code }}
@endif
@lang('trans.netTotal') {{ number_format($NetTotal, Country()->decimals , '.', '') }} {{ Country()->currancy_code }}
@if($Cart->where('display',0)->count() == 0)

@lang('trans.min_order_must_be') 0

@else @foreach($Cart->where('display',0) as $item)

-@lang('trans.unavailable',['product'=> $item['product'][ lang('en') ? 'sub_category_name' : 'sub_category_name_ar' ] ])

@endforeach @endif
@endsection @push('js') @endpush