{{ __('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') }}
@foreach ($available_payment_methods as $method => $available_method)
@if ($available_method['status'] == 'on')
@endif
@endforeach
@endif
paymentMethod == $method ? 'checked' : '' }} type="radio" id="payment-{{$method}}" name="payment" value={{$method}} >
{{ __('checkout.personal_data') }}
{{ __('checkout.order_summary') }}
-
@foreach ($content as $item)
-
@if (!empty($item['options']['image']) && Storage::disk(getStorageDisk())->exists($item['options']['image']))
@else
@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') }}
@endforeach
- {{ __('checkout.subtotal') }} {!! formatAmount($subTotal, true) !!} @if(isActivePackage('kupondeal') && $discount > 0)
- {{ __('general.discount') }} {!! formatAmount($discount, true) !!} @endif
- {{ __('checkout.grand_total') }} {!! formatAmount($totalAmount, true) !!}
@if($cartHasCoupon)
@endif
{{ __('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'] }} { copied = true; setTimeout(() => copied = false, 2000) }).catch(() => {})"> {{ __('general.copied') }}
@if($item['options']['auto_apply'] != '1') @endif
@endif
@php
if(!empty($item['options']['discount_code'])){
$appliedCoupons[] = $item['options']['discount_code'];
}
@endphp
@endforeach