Price
@php
$planMonthly = data_get($plan->price, 'monthly_price');
$planYearly = data_get($plan->price, 'yearly_price');
$oldCycle = old('billing_cycle') ?? ($planMonthly !== null ? 'monthly' : ($planYearly !== null ? 'yearly' : ''));
$oldPriceValue = old('price.monthly_price', $planMonthly) ?? old('price.yearly_price', $planYearly);
@endphp