{{ __('general.loading') }}

@slot('title') {{ __('checkout.checkout') }} @endslot

{{ __('checkout.you_almost_there') }}

{{ __('checkout.fill_details_mentioned_below_purchase_courses') }}

  • {{ __('checkout.select_best_tutor') }}
  • {{ __('checkout.add_checkout_details') }}
  • {{ __('checkout.you_done') }}

{{ __('checkout.payment_methods') }}

{{ __('checkout.secure_and_convenient_payment_purchase') }}

@if($available_payment_methods)
@foreach ($available_payment_methods as $method => $available_method) @if ($available_method['status'] == 'on')
paymentMethod == $method ? 'checked' : '' }} type="radio" id="payment-{{$method}}" name="payment" value={{$method}} >
@endif @endforeach
@endif

{{ __('checkout.personal_data') }}

{{ __('checkout.billing_details') }}
$errors->has('form.firstName')])>
$errors->has('form.lastName')])>
$errors->has('form.company')]) class="">
$errors->has('form.email')]) class="">
$errors->has('form.phone')])>
$errors->has('form.country')])>
$errors->has('form.city')])>
$errors->has('form.state')])>
$errors->has('form.zipcode')])>
{{ __('checkout.additional_information') }}
@if ($walletBalance)
@endif
{{ __('checkout.pay') }} {!! $payAmount > 0 ? formatAmount($payAmount) : '' !!}
@if ($content->count() > 0)

{{ __('checkout.order_summary') }}

    @foreach ($content as $item)
  • @if (!empty($item['options']['image']) && Storage::disk(getStorageDisk())->exists($item['options']['image']))
    {{$item['options']['image']}}
    @else
    default avatar
    @endif
    !isActivePackage('kupondeal')])> @if($item['cartable_type'] == 'App\Models\SlotBooking') {{$item['options']['session_time']}}

    {{ $item['name'] }}

    {{$item['options']['subject_group']}} @elseif($item['cartable_type'] == 'Amentotech\Courses\Models\Course') {{$item['options']['sub_category']}}

    {{ $item['name'] }}

    @endif
    @if(isActivePackage('kupondeal') && !empty($item['discounted_total']))
    {!! formatAmount($item['price'], true) !!} {!! $item['discounted_total'] !!}/{{ __('checkout.session') }}
    @else {!! formatAmount($item['price'], true) !!}/{{ __('checkout.session') }} @endif {{ __('checkout.remove') }}
  • @endforeach
  • {{ __('checkout.subtotal') }} {!! formatAmount($subTotal, true) !!}
  • @if(isActivePackage('kupondeal') && $discount > 0)
  • {{ __('general.discount') }} {!! formatAmount($discount, true) !!}
  • @endif
  • {{ __('checkout.grand_total') }} {!! formatAmount($totalAmount, true) !!}
@if(isActivePackage('kupondeal') && $content->count() > 0) @php $cartHasCoupon = false; $appliedCoupons = []; foreach ($content as $item) { if(!empty($item['options']['discount_code']) && !empty($item['options']['discount_type']) && !empty($item['options']['discount_color']) && !empty($item['options']['discount_value'])){ $cartHasCoupon = true; break; } } @endphp
@if($cartHasCoupon)

{{ __('kupondeal::kupondeal.applied_coupon') }}

    @foreach ($content as $item) @if( !in_array(($item['options']['discount_code'] ?? ''), $appliedCoupons) && !empty($item['discount_amount']) && !empty($item['options']['discount_code']) && !empty($item['options']['discount_type']) && !empty($item['options']['discount_color']) && !empty($item['options']['discount_value']) )
  • @if($item['options']['discount_type'] == 'percentage') {{ $item['options']['discount_value'] }}% @else {!! formatAmount($item['options']['discount_value'], true) !!} @endif {{ __('general.discount') }}

    {{ __('kupondeal::kupondeal.promo_code') }} {{ $item['options']['discount_code'] }}

    @if($item['options']['auto_apply'] != '1') @endif
  • @endif @php if(!empty($item['options']['discount_code'])){ $appliedCoupons[] = $item['options']['discount_code']; } @endphp @endforeach
@endif @error('coupon') {{ $message }} @enderror
@endif
@endif
@if(session()->get('error')) @endif