@php $backendSetting = get_theme_option(key: 'backend_general') ?? null; $currency = $backendSetting['currency'] ?? 'USD-$'; $currencySymbol = get_currency_symbol($currency); $cartType = session()->has('type') ? session()->get('type') : ''; @endphp @push('css') @endpush
@csrf

{{ translate('Payment Method') }}

@foreach (get_payment_method() as $payment) @php $logo = $payment->logo && fileExists('lms/payments', $payment->logo) == true ? asset('storage/lms/payments/' . $payment->logo) : asset('lms/frontend/assets/images/payment-method/master-card.webp'); @endphp @endforeach
{{ translate('Your Order') }}
@if ($cartType !== 'subscription') @endif @if ($data['discountAmount']) @endif
{{ translate('Cart Total') . ' ' . total_qty() }}
{{ translate('Subtotal') }}
{{ $currencySymbol }}{{ number_format($data['totalPrice'], 2) ?? null }}
{{ translate('Discount') }}
{{ $currencySymbol }}{{ $data['discountAmount'] }}
{{ translate('Total') }}
@php $totalPrice = $data['discountAmount'] ? $data['totalPrice'] - $data['discountAmount'] : $data['totalPrice']; @endphp {{ $currencySymbol }}{{ number_format($totalPrice, 2) }}