@php $amount = currency_without_icon($subscription_plan->plan_price); $currencyIcon = Session::get('currency_icon'); $currencyPosition = Session::get('currency_position'); $periodLabel = match ($subscription_plan->expiration_date) { 'monthly' => __('translate.Monthly'), 'yearly' => __('translate.Yearly'), 'lifetime' => __('translate.Lifetime'), default => '', }; @endphp

@if (in_array($currencyPosition, ['before_price', 'before_price_with_space'], true)) {{ $currencyIcon }} @endif {{ $amount }} @if (in_array($currencyPosition, ['after_price', 'after_price_with_space'], true)) {{ $currencyIcon }} @endif @if ($periodLabel !== '') /{{ $periodLabel }} @endif