@extends(getTemplate() . '.layouts.app') @push('styles_top') @endpush @section('content') @php $isMultiCurrency = !empty(getFinancialCurrencySettings('multi_currency')); $userCurrency = currency(); // var_dump($order); @endphp

{{ trans('cart.checkout') }}

@if (!empty($totalCashbackAmount))
{{ trans('update.get_cashback') }}
{{ trans('update.by_purchasing_this_cart_you_will_get_amount_as_cashback', ['amount' => handlePrice($totalCashbackAmount)]) }}
@endif

{{ trans('financial.select_a_payment_gateway') }}

{{ csrf_field() }}
@if (!empty($paymentChannels)) @foreach ($paymentChannels as $paymentChannel) @if (!$isMultiCurrency or !empty($paymentChannel->currencies) and in_array($userCurrency, $paymentChannel->currencies))
{{ $paymentChannel->title }}

{{ $paymentChannel->title }}

@endif @endforeach @endif
Account Charge

{{ trans('financial.account_charge') }}

{{ handlePrice($userCharge) }}

{{ trans('financial.order_summary') }}

@if (!empty($order->webinar_info)) @foreach ($order->webinar_info as $webinar)

{{ $webinar['title'] }}

{{ trans('webinars.teacher_name') }}: {{ $webinar['teacher'] }}

{{ trans('webinars.duration') }}: {{ $webinar['duration'] }} {{ trans('public.minutes') }}

{{ trans('webinars.price') }}: {{ handlePrice($webinar['price']) }}

@endforeach @endif @if (!empty($order->package_title))
{{ trans('update.registration_package') }}
{{ $order->package_title }}
@endif
{{ trans('financial.subtotal') }} {{ handlePrice(round($order->amount, 2)) }}
{{ trans('financial.cc_surcharge') }} {{ handlePrice(round($order->amount * 0.0195, 2)) }}
@php $subtotalWithSurcharge = $order->amount * 1.0195; $gst = $subtotalWithSurcharge * 0.1; $totalAmount = $subtotalWithSurcharge + $gst; @endphp
{{ trans('financial.gst') }} (10%) {{ handlePrice($gst) }}

{{ trans('financial.total_amount') }} {{ handlePrice($totalAmount) }}
@endsection @push('scripts_bottom') @endpush