@section('title', __('checkout/review.Review order')) @section('header-style', 'inner_nav') @push('style') @endpush @push('script') @endpush @Lang('checkout/review.Cart') @Lang('checkout/review.Billing Address') @Lang('checkout/review.Review') @Lang('checkout/review.You will') @Lang('checkout/review.earn 1 loyality') @Lang('checkout/review.when completing this ordder') @Lang('checkout/review.Collect 5 loyalty points and receive ' . config('settings.loyalty_discount') . '% discount') @csrf @Lang('checkout/review.Order Summary') @Lang('checkout/review.Items') @Lang('checkout/review.Price') @foreach($cart->items as $item) {{$item->product->title}} {{$item->price}} @Lang('custom.KWD') @if(!empty($item->addon_options)) @Lang('cart/cart.Additional options') @foreach($item->addon_options as $option) {{ $option['addon_name_en'] }} {{ $option['option_id'] > 0 ? $option['addon_option_en'] : $option['other'] }}, {{ $option['price'] ?? 0 }} @Lang('custom.KWD') @endforeach @if($item->addon_price > 0) {{$item->addon_price}} @Lang('custom.KWD') @endif @endif @if($item->location) @Lang('checkout/review.Time and location'):- @if ($item->date_display || $item->time_display) @if ($item->date_display) {{$item->date_display}} @endif @if ($item->time_display) @Lang('checkout/review.at') {{$item->time_display}} @endif @endif @if($item->location) {{$item->location}} @endif @endif @if($item->note) @if(!empty($item->note)) @Lang('cart/cart.Add Notes') {{$item->note}} @endif @endif @endforeach @Lang('checkout/review.Add order notes') @Lang('checkout/review.Order notes') @foreach($cart->items as $item) {{$item->product->title}} {{$item->package_price}} @Lang('custom.KWD') @if($item->addon_price > 0) @Lang('cart/cart.Additional options'){{$item->addon_price}} @Lang('custom.KWD') @endif @endforeach @Lang('checkout/review.Subtotal') {{$cart->sub_total}} @Lang('custom.KWD') @if(auth()->user()->loyaltyOrders->count() >= 5) {{config('settings.loyalty_discount')}}% @Lang('checkout/review.Discount') {{round($cart->sub_total * (float)config('settings.loyalty_discount') / 100)}} @Lang('custom.KWD') @endif @Lang('checkout/review.Grant Total') @if(auth()->user()->loyaltyOrders->count() >= 5) {{$cart->sub_total - round($cart->sub_total * (float)config('settings.loyalty_discount') / 100) + (float) config('settings.handling_charge')}} @Lang('custom.KWD') @else {{$cart->sub_total + (float) config('settings.handling_charge')}} @Lang('custom.KWD') @endif @Lang('checkout/review.PAY NOW') @Lang('checkout/review.EDIT CART')
{{ $option['addon_name_en'] }} {{ $option['option_id'] > 0 ? $option['addon_option_en'] : $option['other'] }}, {{ $option['price'] ?? 0 }} @Lang('custom.KWD')
{{$item->note}}