@if ($plan->recommended_status == '1') Recommended @endif

{{ $plan->billing_period_num }} @switch($plan->billing_period) @case('y') Year(s) @break @case('m') Month(s) @break @default @endswitch

Billed as one payment of {{ $currency }} {{ number_format($plan->price, 2) }}

@if (empty($addons)) @else @php $nam = array_column($addons, 'name'); @endphp @endif
{{ $currency }} {{ number_format($plan->price / ($plan->billing_period_num * ($plan->billing_period == 'y' ? 12 : 1)), 2) }} / month
@php $save = round(((end($plans)->price - $plan->price / ($plan->billing_period_num * ($plan->billing_period == 'y' ? 12 : 1))) / end($plans)->price) * 100, 2); @endphp @if ($save > 0 && $save>50 && $save <90) SAVE {{ $save }}% @endif
@auth @endauth @guest $plan->checkout_page]) }} target='_blank'> @endguest