Add freemium plans, wallet-billed host notifications, and Pro upgrades.
Deploy Ladill Frontdesk / deploy (push) Successful in 44s
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:
+42
-4
@@ -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' => [
|
||||
|
||||
Reference in New Issue
Block a user