Org name, branches, and visitors now come from DemoWorld so continuity
matches Care/Queue across the suite, plus Members for DemoWorld staff
with a frontdesk role. Also resolve organization by owner_ref when
metadata.frontdesk.organization_id is missing, and skip reseed-on-login
for DemoWorld staff emails.
Co-authored-by: Cursor <cursoragent@cursor.com>
Demo Free/Pro/Enterprise accounts wipe and reload sample data on
authorization-code SSO callbacks so every sales walkthrough starts clean.
Co-authored-by: Cursor <cursoragent@cursor.com>
Pro includes 5,000 email and 5,000 SMS host alerts per month with hard
monthly caps; Enterprise is unlimited. Custom badge templates are
Enterprise-only, and plan benefit copy matches the new limits.
Enforce billed_branches when adding or reactivating branches, charge
wallet for extra seats mid-cycle, fix Settings for Enterprise, and
cover multi-branch checkout and renewal amounts in tests.
Pro is GHS 990/branch/mo and Enterprise is GHS 1990/branch/mo, with the
Care-style branch selector UI, self-serve Enterprise checkout, and renewal
charges scaled to billed branches.
Pass organization logo/name through ContactMessageMail for daily reports and campaigns, and drop the Ladill product footer.
Co-authored-by: Cursor <cursoragent@cursor.com>
NotificationDispatcher sends via customer relay and skips Frontdesk wallet debit when tenant keys are configured.
Co-authored-by: Cursor <cursoragent@cursor.com>
Show the Pro upsell CTA on the reception dashboard so free orgs can discover plans without opening the sidebar.
Co-authored-by: Cursor <cursoragent@cursor.com>
Monthly auto-renew charges due organizations from the Ladill wallet and downgrades after grace when payment fails.
Co-authored-by: Cursor <cursoragent@cursor.com>
After tapping begin, users pick Visitor or Staff icon cards before entering the respective check-in or sign-in flows.
Co-authored-by: Cursor <cursoragent@cursor.com>
Frontdesk now calls ladill.com/api/afia/chat using IDENTITY_API_KEY_FRONTDESK
so production does not need a separate OpenAI key in the frontdesk .env.
Co-authored-by: Cursor <cursoragent@cursor.com>
Adds a dedicated Pro page with wallet upgrade, gradient Upgrade to Pro
button in the sidebar footer, and view composer for plan status.
Co-authored-by: Cursor <cursoragent@cursor.com>
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>
Add the AI assistant button, chat endpoint, and Frontdesk-specific prompts, and include Frontdesk in the shared launcher config used by the app switcher.
Co-authored-by: Cursor <cursoragent@cursor.com>
Replace the static kiosk/printer token message with dynamic hints per device type so reception computers are not misread as getting unattended access.
Co-authored-by: Cursor <cursoragent@cursor.com>
Show Ladill Frontdesk or uploaded logo top-left on kiosk; allow logo upload in onboarding and organization settings.
Co-authored-by: Cursor <cursoragent@cursor.com>
Show Frontdesk icon, company welcome message, and a prominent Tap to begin step before visitor type selection.
Co-authored-by: Cursor <cursoragent@cursor.com>
Only show the sidebar link when a host record is linked to the signed-in user, and redirect direct visits to the dashboard with a clear message instead of a 403 page.
Co-authored-by: Cursor <cursoragent@cursor.com>
Drop dark-mode toggle, fd-theme storage, and Tailwind dark variant to match sibling Ladill apps. Include boot splash in app-layout instead of regex middleware that truncated the body tag on Alpine x-init.
Co-authored-by: Cursor <cursoragent@cursor.com>