@extends('layouts.admin', ['title' => 'Upgrade Plan - Booklio', 'pageTitle' => 'Upgrade Plan', 'active' => 'subscription']) @include('admin.subscription.partials.data') @php($activeTab = 'upgrade') @section('content')
@include('admin.subscription.partials.nav', ['activeTab' => $activeTab])

Choose the right plan for your staff, appointments, reminders, and invoices.

@foreach ($plans as $plan)

{{ $plan['name'] }}

{{ ($billingCycle ?? 'monthly') === 'yearly' ? $plan['yearly'] : $plan['monthly'] }}

{{ ($billingCycle ?? 'monthly') === 'yearly' ? 'per year' : 'per month' }}

{{ ($billingCycle ?? 'monthly') === 'yearly' ? 'Billed yearly' : 'Billed monthly' }}

{{ $plan['is_current'] ? 'Current' : $plan['badge'] }}

{{ $plan['description'] }}

@foreach ($plan['features'] as $feature)
{{ $feature }}
@endforeach
@csrf {{ $plan['is_current'] ? 'Current plan' : 'Upgrade' }}
@endforeach
@foreach ([['Staff', 'staff'], ['Services', 'services'], ['Appointments / month', 'appointments'], ['Reminders / month', 'reminders'], ['Invoices', 'invoices']] as [$label, $key]) {{ $label }} @foreach ($plans as $plan) {{ $plan['limits'][$key] ?? '-' }} @endforeach @endforeach
@endsection