Homepage Settings

Control data loading mode, sync interval, language, and theme for homepage.

Back to Homepage
Appearance & Language
Dark Mode
Applied on homepage and this settings page.
Language
Used by homepage language loader.
Data Loading
Data Mode
`Realtime` reads live database on homepage load. `Cache-first` serves saved IndexedDB cache first, then checks or refreshes database only when cache is missing, stale, or you run sync.
Sync Interval (minutes)
In cache-first mode, homepage starts database check or refresh after this interval. Fresh local cache can still open immediately before that.
Orders Sync Scope
Choose whether order cache sync reads all branches, current user branch, or a specific branch only.
Prices Sync Scope
Choose whether price snapshot sync caches only this device branch or all branches.
Current mode: --
Last sync: --
Next sync: --
Save here, then homepage uses these settings and IndexedDB cache buckets.
Patients in Local Cache
0
Last synced: --
Orders in Local Cache
0
Last synced: --
Cache buckets: --
WhatsApp Welcome Messages Requests
If ON, welcome messages are saved to whatsapp_requests after order save. If OFF, requests are saved to local storage only.
WhatsApp Results Link Requests
If ON, authenticated results-link messages from record_result.html are saved to whatsapp_requests. If OFF, no results-link request is saved.
Email Result Requests
If ON, authenticated result emails from record_result.html are saved to public email_queue with schema and domain names. If OFF, no email request is saved.
WhatsApp Employee Request Actions
If ON, approved/rejected employee requests are saved to whatsapp_requests. If OFF, employee request action messages are not queued.
WhatsApp First Login Notification
If ON, first daily employee login from index.html is queued in whatsapp_requests. If OFF, no first-login WhatsApp request is sent.
Dataset Actions
Orders Data
Local cache + database orders collection.
Patients Data
Local cache + database patients collection.
Sync Today/All Snapshot
Keys created by homepage sync today/all.
Sync Report Styles
Sync report_styles to local IndexedDB cache.
Sync Barcode Settings
Sync barcode global/item styles and single barcode settings.
Sync Device Integrations
Public integrated device profiles for serial reconnect.
Sync Previous Day Orders
Sync only previous-day orders using selected branch scope.
Previous day date: --
Main clear button below removes local cache buckets (patients, orders, marquee, notifications, employee login/codes and related app cache keys) while keeping the registered device ID.
System Quick Shortcuts
In homepage search, select an order row, then use these shortcuts. Click a field and press your preferred key combo.
Print Report
Open order_result_info.html for selected order.
Direct Print
Open direct print action for selected order.
Edit Order
Open order details/edit page for selected order.
Record Result
Open record_result.html for selected order.
WhatsApp
Trigger WhatsApp message action for selected order.
Settings saved.