Workspace settings are everything that applies tenant-wide, before per-branch overrides. Currency, language, branding, business defaults, working calendar, integration credentials. Most clinics set these once and revisit only when something changes.
For owners. the settings tree#
Open Settings ā Workspace. Sections, in the order you'd visit them at go-live:
Business profile#
- Clinic name (legal name + display name).
- Logo + favicon. Affects receipts, payslips, patient portal, emails.
- Address, phone, email, website.
- Business registration number, tax registration number (TRN).
Currency#
- Default currency (AED, USD, SAR, etc.).
- Display format (symbol position, thousand separator).
Language#
- Tenant default language (English, Arabic, Persian, French, Russian).
- Each staff member can override their language in their own profile (
User.preferred_language). The tenant default applies to new users and to outbound documents that have no user context. - Per-branch language override is not currently supported.
Wording: Tenant = your SaaS-level clinic identity (owns subscription, schema, branding). Branch = one physical location. Business is a deprecated intermediate entity still referenced in some screens; treat it as "Tenant" for now. Full glossary in the Tenant vs business vs branch section below.
Calendar + working hours#
- Tenant working hours (default). Branches override.
- Public holidays (per region).
- Week start day.
Booking defaults#
- Default slot duration.
- Reminder cadence (24h before, 2h before).
- Late-cancel window.
- Unpaid balance policy (warn / block).
- Required consents at check-in.
Sales defaults#
- VAT rate (per branch can override).
- Consultation fee + delivery fee defaults.
- Floor-price override authority follows the applicable access checks.
- Review the available sales settings; arbitrary invoice-number formatting is not implied.
- Review supported payment-link actions separately from sales settings.
Inventory defaults#
- Default warehouse policies (allow negative, block expired).
- Low-stock threshold.
- Reorder lead time.
Notifications + Messaging#
Channel connections, messaging defaults, templates, and opt-out handling. Timing and quiet-hours behaviour depend on the specific workflow. See Notifications.
Integrations#
- Stripe (online payments).
- WhatsApp Business Account (WABA).
- Meta Conversions API ā send Lead / Qualified Lead / Purchase back to Meta Ads so Ads Manager shows results and can optimise (Settings ā Conversion Tracking & Ads).
- Google Ads conversion upload ā Data Manager API with Enhanced Conversions for Leads (same page).
- Email provider (MailerSend).
- SMS provider.
- Lab interface (HL7).
- Tatmeen (UAE pharma).
- NABIDH / Riayati / Malaffi (UAE EMR exchange).
Security#
The configurable security knobs on workspace settings today are limited. What is available:
- Passkey / WebAuthn login, the strong-auth path the platform actively supports. Users enrol from their profile, and tenants can require it for elevated roles by writing a tenant-side policy (no UI toggle yet).
- Maintenance kill-switch, the owner can flip
BusinessTenant.maintenance_modefrom DRF admin and the frontend AppGate renders the unavailable screen with custom title and message.
Subscription + billing#
Your subscription tier, payment method on file, usage stats, billing history. Only owner + workspace billing manager see this.
For admins. common changes#
- Onboard a new branch: Settings ā Branches; the branch inherits most workspace defaults.
- Change VAT rate: Settings ā Workspace ā Sales. Affects future invoices only.
- Add a payment method: Settings ā Sales ā Payment methods.
- Configure WhatsApp templates: Settings ā Notifications ā Templates.
- Set up auto-reminders: Settings ā Booking ā Reminders.
- Add a custom role: Settings ā Permissions.
When to override at branch level#
Branches override workspace defaults for these fields specifically:
- VAT (
vat_percent), tax_rule, e-invoicing regime, emirate. - Currency (rare; usually shared).
- Timezone.
- Working hours (
open_timeandclose_timeand the per-weekdayBranchHoursrows). - Regulatory authority (NABIDH for Dubai branches, MALAFFI for Abu Dhabi).
- Geofence radius for staff attendance (
max_distance_meters).
Language, messaging channels, automations, templates, role definitions are all tenant-wide. There is no per-branch override for these.
Where each setting lives, tenant vs branch vs user#
| Setting | Tenant | Branch | User |
|---|---|---|---|
| Default language | Yes (BusinessTenant.default_language) | No | Yes (User.preferred_language) |
| Currency | Yes (BusinessTenant.base_currency) | Yes (BusinessBranch.currency) | No |
| VAT | Yes (BusinessTenant.default_tax_rate) | Yes (BusinessBranch.vat_percent and tax_rule) | No |
| Timezone | Yes | Yes | No |
| Quiet hours (notifications) | Yes | No | No (per-customer opt-out instead) |
| Marketing cooldown | Yes | No | No |
| Working hours | Yes (defaults) | Yes (BranchHours rows) | No (per-staff via shifts) |
| Custom roles, templates, automations | Yes | No | No |
| Branch membership | ā | ā | Yes (User.branches M2M) |
Recovering a setting you changed by mistake#
Every saved change to a workspace setting line writes a history row (django-simple-history's HistoricalSettingLine). There is no "rollback" button in the UI today. Recovery path:
- Note the section slug and what you intended.
- Contact platform support with the timestamp window of the bad change.
- Support pulls the previous row from the historical table and replays the values into the live row.
Owners with DRF admin access can also view the historical entries directly under the Setting Line admin.
Cloning a tenant's settings to bootstrap a new one#
Bootstrap path that does work:
- The platform team seeds the new tenant with locked-role templates, default Settings, and reference data.
- The clinic owner walks Settings ā Workspace to capture tenant-specific knobs (currency, VAT, working hours, branding).
- For multi-tenant brands that want consistent policy across new clinics: maintain a "house standard" document for owners to apply manually.
Tenant, business, branch, which is which#
- Tenant (BusinessTenant), the SaaS-level customer entity. Owns the schema, the subscription, billing, quiet hours, brand. One tenant per clinic group.
- Business, an intermediate entity that earlier versions of the platform used. Deprecated. New work writes to BusinessTenant and BusinessBranch directly. You may still see "Business" in some menus during the transition.
- Branch (BusinessBranch), one physical location: clinic, dispensary, home-visit hub. Has its own VAT, timezone, working hours, stock, calendar.
How workspace settings connect to the rest of the system#
- Every module reads tenant defaults from here.
- Branches inherit and override.
- Roles & permissions: tenant-wide policies that role configurations interact with.
- Integrations: credentials live here; every module that uses an integration reads the connection.
Common situations#
- "Changed VAT rate. past invoices?" Past invoices keep their original rate (frozen snapshot). Future ones use the new rate.
- "Branch should use a different currency." Possible but unusual. Each branch's reports remain in its currency; tenant-wide reports use a converted view.
- "Want to test an integration without going live." Most integrations have a sandbox mode. Enable, test, then switch to production.
- "Subscription expired. features locked." Owner or billing manager renews from Settings ā Subscription.
- "Lost the WhatsApp Business credentials." Re-authenticate from Settings ā Integrations ā WhatsApp.
Related#
- Branches , per-branch overrides.
- Roles & permissions.
- Notifications.
- Security & audit.
