@if($type === 'items') {{-- items --}}
@foreach($cart_items as $cart_item)
{{ price($cart_item['price']) }}
@if(!$loop->last)
@endif
@endforeach
@elseif($type === "subscription") {{-- subscription --}}
{{ __('Pricing plan') }}
{{ $subscription->name }}
@if($subscription->description)
{{ $subscription->description }}
@endif
@if(strip_tags($subscription->description))
{!! $subscription->description !!}
@elseif($subscription->specifications)
@foreach($subscription->specifications ?? [] as $specification)
@if($specification->included)
@else
@endif
{{ $specification->text }}
@endforeach
@endif
{{ price($subscription->price) }} / {{ __($subscription->title) }}
@else
{{-- Prepaid credits --}}
{{ __('Prepaid credit') }}
{{ $prepaid_credit->name }}
{{ $prepaid_credit->label }}
@foreach($prepaid_credit->specs as $spec)
@endforeach
@endif
{{ __('Initial amount') }} |
{{ price($total_amount, 0) }} |
{{ __('Purchase fee') }} |
{{ price($fee, 0) }} |
{{ __('Discount') }} |
{{ ($discount ? '- ' : '') . price($discount, 0) }} |
{{ __('Tax') }} |
{{ price($tax, 0) }} |
{{ __('Due amount') }} |
{{ price($due_amount, 0) }} |
@if($type !== "prepaid-credits")
{{ __('Do you have a coupon ?') }}
@endif
@if($due_amount > 0)
{{ __('Payment method') }}
@if(count($payment_processors) >= 2)
@endif
@foreach($payment_processors as $k => $payment_processor)
@isset($payment_processor['enabled'])
@if($type === "prepaid-credits" && $payment_processor['name'] === 'credits')
@continue;
@endif
{{ $payment_processor['name'] }}
{{ limit($payment_processor['description'], 60) }}
@endisset
@endforeach
@endif
@if($payment_gateway || $due_amount <= 0)
@endif