{{ __('frontendmanage.Billing Address') }}
@if(isModuleActive('Invoice') && ($type == 'invoice' || $type == 'certificate' )) {{ __('common.Edit') }} {{ __('common.Show') }} @else {{ __('common.Edit') }} @endif{{ @$checkout->billing->first_name }} {{ @$checkout->billing->last_name }}
{{ @$checkout->billing->address }}
{{ @$checkout->billing->stateDetails->name }},{{ @$checkout->billing->cityDetails->name }} - {{ @$checkout->billing->zip_code }}
{{ @$checkout->billing->countryDetails->name }}
@lang('frontendmanage.Payment Method')
@if (isset($methods))
@php
$withMoule = $methods;
$methods = $methods->where('method', '!=', 'Bank Payment')->where('method', '!=', 'Offline Payment');
$payment_type = isModuleActive('Invoice') && $checkout->invoice ? $checkout->invoice->payment_type : null;
if (isModuleActive('Invoice') && $payment_type == 2) {
$methods = $withMoule->where('method', 'Bank Payment');
}
@endphp
@foreach ($methods as $key => $gateway)
@php
if (!paymentGateWayCredentialsEmptyCheck($gateway->method)) {
continue;
}
@endphp
@endforeach
@endif
@if ($gateway->method == 'Stripe')
@elseif($gateway->method == 'Wallet')
@elseif($gateway->method == 'MercadoPago')
@elseif($gateway->method == 'RazorPay')
@csrf
@elseif($gateway->method == 'PayPal')
@elseif($gateway->method == 'PayTM')
@elseif($gateway->method == 'PayStack')
@elseif($gateway->method == 'Bkash')
@elseif($gateway->method == 'Authorize.Net')
@includeIf('authorizenet::pay_form',['gateway' => $gateway, 'checkout' => $checkout])
@elseif($gateway->method == 'Braintree')
@includeIf('braintree::course_pay',['gateway' => $gateway, 'checkout' => $checkout])
@elseif($gateway->method == 'Flutterwave')
@includeIf('flutterwave::course_pay',['gateway' => $gateway, 'checkout' => $checkout])
@elseif($gateway->method == 'Mollie')
@includeIf('mollie::course_pay',['gateway' => $gateway, 'checkout' => $checkout])
@elseif($gateway->method == 'Jazz Cash')
@includeIf('jazzcash::purchase',['gateway' => $gateway, 'checkout' => $checkout])
@elseif($gateway->method == 'Coinbase')
@include("coinbase::purchase",['gateway' => $gateway, 'checkout' => $checkout])
@elseif($gateway->method == 'Bank Payment' && isModuleActive('Invoice'))
@else
@endif
{{ __('frontend.Your order') }}
@php $totalSum=0; @endphp
@if (isset($carts))
@foreach ($carts as $cart)
@php
$price = 0;
if (isModuleActive('Appointment')) {
$price = $cart->instructor->hour_rate;
} elseif ($cart->course_id != 0) {
if ($cart->course->discount_price != null) {
$price = $cart->course->discount_price;
} else {
$price = $cart->course->price;
}
} else {
$price = $cart->bundle->price;
}
if($type=="certificate") {
$price = $cart->price;
}
$totalSum = $totalSum + @$price;
@endphp
{{ @$cart->course->title }} {{ $type == 'certificate' ? '['.__('certificate.Certificate').']' :'' }}
{{ getPriceFormat($price) }}
@endforeach
@endif
{{ __('frontend.Subtotal') }}
{{ getPriceFormat($checkout->price) }}
@if ($checkout->purchase_price > 0)
{{ __('payment.Discount Amount') }}
{{( $checkout->discount == '' || $checkout->discount == 0) ? 0 : getPriceFormat($checkout->discount) }}
@if (hasTax())
{{ __('tax.TAX') }}
{{ getPriceFormat($checkout->tax) }}
@endif
@if(isModuleActive('UpcomingCourse') && $checkout->pre_booking_amount > 0)
{{__('frontend.Pre Booking Amount')}}
{{getPriceFormat($checkout->pre_booking_amount)}}
@endif
{{ __('frontend.Payable Amount') }}
{{ getPriceFormat($checkout->purchase_price) }}
@endif