{{ __('messages.t_apply') }}
@if ($appliedCoupon)

{{ $appliedCoupon->code }}

@endif

{{ __('messages.t_summary') }} ({{ __('messages.t_subscription') }})

{{ $plan->name }} @if (count($plan?->features))
{{ __('messages.t_show_features') }} {{ __('messages.t_hide_features') }}
@endif
@if ($plan->invoice_interval == 'month') {{ __('messages.t_monthly') }}

{{ __('messages.t_every_30_days') }}

@endif
@if (count($plan?->features))

    {{ __('messages.t_included_in_this_plan') }}

    @foreach ($plan?->features as $key => $feature)
  • {{ $feature->name }} - {{ $feature->value }}
  • @endforeach
@endif
{{ __('messages.t_subtotal') }} {{ formatPriceWithCurrency($subtotal) }}
@if ($appliedCoupon)
{{ $appliedCoupon->code }} {{ formatPriceWithCurrency($this->calculateDiscount($appliedCoupon, $subtotal)) }}
@endif @if ($discountAmount)
{{ __('messages.t_total_discount') }} {{ formatPriceWithCurrency($discountAmount) }}
@endif {{--
{{ __('messages.t_tax') }} {{ config('app.currency_symbol') }}{{ \Number::format(floatval($tax), locale: $paymentSettings->currency_locale) }}
--}}
{{ __('messages.t_total') }} {{ formatPriceWithCurrency($total) }}
{{-- Exchange Rate --}} {{-- @if ($this->defaultCurrency && $this->isDifferentRate)
{{ __('messages.t_total_including_exchange_rate') }} {{ $this->getExchangeCurrencySymbol() }}{{ \Number::format(floatval($this->convertedTotal), locale: $paymentSettings->currency_locale) }}
@endif--}}

{{ __('messages.t_choose_subscription_label') }}

@if(count($this->initializePaymentOptions()) >= 1)
{{ $this->form }}
@else @include('components.empty-payment') @endif
@if ($currentPayment) @endif