@if (auth()->user()->myTeam->hasValidSubscription())
@php $activePlan = auth()->user()->myTeam->getActiveSubscription(); @endphp

تبریک شما تا تاریخ {{ verta($activePlan->end_date)->format('d-m-Y') }} اشتراک فعال دارید

{{ $activePlan->plan->name }} ({{ $activePlan->plan->days }} {{ __('day') }})

{{ __('price') }} : {{ number_format($activePlan->plan->base_price) }}

@else

{{ __('Get a subscription') }}

@csrf
@forelse (\App\Models\Plan::active()->type(auth()->user()->isMyTeamPersonal())->get() as $plan ) @empty @endforelse
@endif