{{ $plan->name }}

{!! Str::limit(strip_tags($plan->description), 150) !!} @if(strlen(strip_tags($plan->description)) > 150) {{ __('messages.read_more') }} @endif

@if($plan->discount == 1)
{{$plan->discount_percentage}} {{ __('messages.lbl_off') }}
@endif

@if($plan->discount == 1) {{ Currency::format($plan->total_price) }} @else {{ Currency::format($plan->price) }} @endif @php $durationValue = intval($plan->duration_value ?? 0); $durationUnitRaw = strtolower(trim((string)($plan->duration ?? ''))); $baseUnit = in_array($durationUnitRaw, ['month', 'months']) ? __('messages.lbl_month') : (in_array($durationUnitRaw, ['year', 'years']) ? __('messages.lbl_year') : ucfirst($durationUnitRaw)); $unitLabel = $durationValue === 1 ? $baseUnit : $baseUnit . __('messages.lbl_s'); @endphp / {{ $durationValue }} {{ $unitLabel }}