@if($currentSubscription && $currentSubscription->plan_id == $plan->id)
₦{{ number_format($plan->price_annually, 0) }}
/year
₦{{ number_format($plan->price_annually / 12, 0) }}/month
or ₦{{ number_format($plan->price_monthly, 0) }}/monthly | ₦{{ number_format($plan->price_termly, 0) }}/termly
{{ $plan->max_staff == 999 ? '∞' : $plan->max_staff }}
Staff
{{ $plan->commission_rate }}%
Commission
{{ $plan->report_days == 9999 ? '∞' : $plan->report_days }}
Report Days
@php
$features = [];
if (is_string($plan->features)) {
$features = json_decode($plan->features, true) ?? [];
} elseif (is_array($plan->features)) {
$features = $plan->features;
}
if (empty($features)) {
if ($plan->name == 'Essential') {
$features = ['Unlimited rooms', 'Up to 5 staff', 'Bookings', 'Invoicing', 'Receipts', 'Basic reports'];
} elseif ($plan->name == 'Professional') {
$features = ['Unlimited rooms', 'Up to 15 staff', 'All Basic features', 'Housekeeping', 'Guest management', 'Advanced reports'];
} elseif ($plan->name == 'Enterprise') {
$features = ['Unlimited rooms', 'Unlimited staff', 'All Standard features', 'Priority support', 'Custom integrations'];
} elseif ($plan->name == 'Custom') {
$features = ['Contact us for custom quote', 'One-time purchase available', 'Custom website + management', 'Tailored to your needs'];
}
}
@endphp
@foreach($features as $feature)
{{ trim($feature) }}
@endforeach
@if($plan->name == 'Custom')
Contact Us
@elseif($currentSubscription && $currentSubscription->plan_id == $plan->id)
Current Plan
@else
@endif