@extends('layout.frontend.master') @section('meta-title', 'Checkout - LEREVE') @push('asset-top') @endpush @section('content')
@if(!auth()->check()) {{__('Continue Shopping')}} @else

{{__('Checkout')}}

{{__('Choose pick up or delivery?')}}

{{__('Delivery Address')}}

@csrf @php $cartData = []; @endphp @if(session('cart-address')) @php $cartData = session('cart-address'); @endphp @endif
@error('area') @enderror
{{-- --}}

Select Day

    {{-- @if ($hoursDifference !== null && $hoursDifference > 4 && $isBeforeNoon)
  • @endif --}} @for($i = 0; $i < 4; $i++)
  • @endfor

Select Time

    @foreach($addresses as $key=>$address)
    id)?'checked':(($key==0)?'checked':'')}}>
    @endforeach

    {{__('Billing Address')}}

    {{__('Payment Summary')}}

    • {{__('Total')}} {{$cart['cart'][0]['subtotal']}} {{__('KWD')}}
    • {{__('Discount Code')}} -{{($cart['cart'][0]['discount'])?$cart['cart'][0]['discount']:0}} {{__('KWD')}}
    • {{__('Grand Total')}} {{ $cart['cart'][0]['subtotal'] - $cart['cart'][0]['discount'] }} {{__('KWD')}}
    {{__('View Cart')}}
    @endif
    @endsection @push('asset-bottom') @endpush