@extends('frontend.layouts.app') @push('stylepush') @endpush @section('content') @php $shippingConfiguration = json_decode(site_settings('shipping_configuration')); @endphp
@csrf
{{ translate('Checkout') }}
{{ translate('Shipping Information') }}

{{ translate('Please fill all information below') }}

@if (auth()->user())
@if (auth()->user()->billingAddress) @foreach (auth()->user()->billingAddress as $address)
index == 0 ? 'checked' : '' }}>
@endforeach @endif
@else
@endif
@if (!auth()->user())
@endif @if(@$shippingConfiguration->shipping_option == "CARRIER_SPECIFIC") @else @endif
@if(@$shippingConfiguration->shipping_option == "CARRIER_SPECIFIC") {{-- shipping carrier --}}
{{ translate('Shipping Method') }}

{{ translate('Please fill all information below') }}

@include('frontend.partials.shipping_configuration')
@endif {{-- payment carrier --}}
@if(auth_user('web') && site_settings('customer_wallet') == App\Enums\StatusEnum::true->status() )
{{ translate('Payment Type') }}

{{ translate('Please select A Payment Type') }}

@endif
status()) class="d-none mt-4" @endif >
{{ translate('Payment Selection') }}

{{ translate('Please select A Payment Method') }}

@if (site_settings('cash_on_delivery', App\Enums\StatusEnum::false->status()) == App\Enums\StatusEnum::true->status())
@endif @if (site_settings('digital_payment', App\Enums\StatusEnum::false->status()) == App\Enums\StatusEnum::true->status())
{{ translate('Digital Payment') }}
@foreach ($paymentMethods as $paymentMethod)
@endforeach
@endif @if (site_settings('offline_payment', App\Enums\StatusEnum::false->status()) == App\Enums\StatusEnum::true->status())
{{ translate('Manual Payment') }}
@foreach ($manualPaymentMethods as $manualPaymentMethod)
@endforeach
@endif
{{ translate('Order Summary') }}
@include('frontend.partials.order_summary')
@endsection @push('scriptpush') @endpush