Add freemium plans, wallet-billed host notifications, and Pro upgrades.
Deploy Ladill Frontdesk / deploy (push) Successful in 44s

Host alerts use email/phone on the host record without requiring a Ladill
account link; SMS and over-quota emails debit the org wallet at platform rates.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
isaacclad
2026-06-28 02:00:26 +00:00
co-authored by Cursor
parent 5a42759886
commit 33b6070207
23 changed files with 912 additions and 20 deletions
+42 -4
View File
@@ -106,11 +106,49 @@ return [
],
'notification_channels' => [
'email' => 'Email',
'email' => 'Email (platform SMTP)',
'sms' => 'SMS',
'push' => 'Push Notification',
'teams' => 'Microsoft Teams',
'slack' => 'Slack',
],
'billing' => [
'email_cost_ghs' => (float) env('FRONTDESK_EMAIL_COST_GHS', 0.0135),
'sms_cost_per_segment_ghs' => (float) env('FRONTDESK_SMS_COST_PER_SEGMENT_GHS', 0.05),
'sms_segment_length' => (int) env('FRONTDESK_SMS_SEGMENT_LENGTH', 160),
],
'plans' => [
'free' => [
'label' => 'Free',
'price_minor' => 0,
'max_branches' => 1,
'max_kiosk_devices' => 1,
'free_emails_per_month' => (int) env('FRONTDESK_FREE_EMAILS_PER_MONTH', 100),
'features' => [
'check_in',
'hosts',
'badges',
'watchlist',
],
],
'pro' => [
'label' => 'Pro',
'price_minor' => (int) env('FRONTDESK_PRO_PRICE_MINOR', 9900),
'max_branches' => null,
'max_kiosk_devices' => null,
'free_emails_per_month' => env('FRONTDESK_PRO_FREE_EMAILS_PER_MONTH') !== null
? (int) env('FRONTDESK_PRO_FREE_EMAILS_PER_MONTH')
: null,
'features' => [
'check_in',
'hosts',
'badges',
'watchlist',
'integrations',
'webhooks',
'scheduled_reports',
'custom_badge_templates',
],
],
],
'notification_events' => [