Database & Email Setup
Your credentials are saved locally — only you have access
Supabase Project URL
Anon / Public Key
Pharma Plus
Advanced Billing Terminal
0
Bills Today
0
Revenue
Sync
⚠️ Demo inventory active (3 sample items). Click to import your CSV.
⚠️ EDITING 
👤 | 📞
-- --- ----
--:--:-- --
#ProductPack GenericStockPrice
— left
Code: Generic: Company: Pack: Rate:
Qty:
Press Enter to add →
Invoice Lines 0 items
⚡ F9 EDIT MODE
# Product Rate Qty Total
📋 Held Bills
From
To
Device
Invoice
Period Total
0 invoices
Rs.0.00
Invoice ID ↕ Device ↕ Date/Time ↕ Customer ↕ Staff ↕ Net Total ↕ Actions
Quick Actions
Loading inventory…
Movement History
Click to compile the audit trail for this product
⚙️ System Settings
⚙️
System Settings
Branch identity, billing, receipts, printer, staff and security
🏢
Branch Identity
Business name, branch, counter ID and operator name
Business Name
Branch Name
Counter ID
Operator
Timezone
Date/Time Format
🧾
Receipt Customization
Header text, address, phone, footer and print mode
Receipt Header
Address
Phone
Footer
Print Mode
🖨️
Thermal Printer Settings
Paper width, fonts, spacing, dividers and receipt rows
Controls the physical print layout. Changes apply on next print.
Paper Width
Page Margin
Header Font
Body Font
Item Name Font
Total Font
Line Spacing
Divider Style
Item Spacing
Trailing Space
Bold Item Names
UPPERCASE bold on receipt
Show Subtotal Row
Gross subtotal before discount
Show Discount Row
Discount % and amount
Show Operator
Operator name on receipt
Show Terminal ID
Counter/terminal line
Show Unit Price
Qty × Price per line
Show Footer Message
Thank you / policy text
💾
Data & Backup
Export backups, restore from file, auto-backup schedule
Loading…
💳
Billing Settings
Currency, invoice prefix, discount limits and presets
Inv. Prefix
Currency
Max Disc%
Discount Presets
Allow Overstock
Sell beyond recorded stock
🎨
Appearance
Dark mode, theme, and display preferences
Dark Mode
👥
Staff Management
Add or remove staff, manage User IDs and bill-save PIN
Require PIN on Bill Save
Ask for staff PIN on every bill, even if already logged in
🔒
Security
Admin password, access controls and PIN policies
Security — Change Admin Password
🔑 Recovery Code
A recovery code lets you regain access if you forget your password and don't have email recovery set up. A new code is generated automatically each time you change your password. You can also generate one manually here.
⚠️ Danger Zone

Factory Reset wipes all data, settings, and cloud credentials from this device only. Your Supabase cloud data is not affected. The app returns to first-launch state.

👁️
Live Receipt Preview
Real-time preview of your receipt with current printer settings
Reflects your current printer settings.
☁️
Cloud & Connectivity
Multi-device sync, cloud backup, email recovery and credential sharing
☁️ Cloud Sync 📱 Devices 📦 Dropbox 📧 Email Recovery 🔗 Credentials
☁️
Cloud Sync (Supabase)
Your own Supabase project — multi-device sync and cloud backup
Supabase Connection
Not configured — enter your project URL and anon key below.
Project URL
Anon Key
Get your URL and anon key from supabase.com → Project Settings → API. Make sure you have run the schema SQL (available in the Cloud Sync Hub).
App Cache
Force the service worker to re-download all app files fresh from the server. Use this if you deployed a new version and the app still shows old content.
📦
Dropbox Backup
Auto-backup every 10 min to your own Dropbox — no account needed from us
Dropbox Backup
Not connected — save your App Key and authorise below.
Last upload:
Step 1 — Your Dropbox App Key
Get your free key at dropbox.com/developers → Create App → Scoped access → App folder.
Add https://pos.duapharma.com as a Redirect URI.
App Key
Step 2 — Authorise
Step 3 — Auto-Backup
Auto-backup every 10 min
Full export uploaded silently in the background
📱
Device Manager
Registered devices, online status, master/client roles

All devices registered to this workspace. Online (<2 min) Recent (<10 min) Offline — Double-click a card for full details.

Loading devices…
📧
Email Recovery (EmailJS)
Send password-reset emails from your own EmailJS account
EmailJS
Not configured — fill in your EmailJS credentials below.
Service ID
Template ID
Public Key
Recovery Email
Create a free account at emailjs.com. Used to send password-reset OTPs from Settings → Security.
🔗
Credential Share
Share or import all app credentials via URL, QR code, or WhatsApp

Export all your API credentials (Supabase, EmailJS, Dropbox) as a shareable link or QR code. Import on another device by scanning or pasting the link.

⚠️ Credentials include sensitive API keys. Only share via secure channels.
🔬
Sync Diagnostics
Run connectivity, queue & data integrity checks

Check Supabase reachability, inspect the pending sync queue, and run a local data-integrity scan across all indexed records.

🗄️
Generate Supabase SQL
Copy the complete schema SQL to set up your Supabase database

Generates the full Supabase schema SQL — copy it into the Supabase SQL Editor to create all required tables, indexes, and policies in one click.

🔌
Database & Services
Supabase database connection, email recovery and integrations

🔍 Audit Log

Every significant action on this device — 0 events

Time Action Detail Staff Device
Loading audit log…
Page 1 of 1
Invoice:
Discount
%
Quick Discount
F2 Search
F4 Hold
F8 Inventory
F9 Row Edit
Ctrl+M Manual
📦DBX: OFF
📦 Restore from Dropbox
⟳ Loading…
🗄️ Supabase Schema SQL
Paste this into your Supabase project → SQL Editor → Run. Safe to re-run — all statements use IF NOT EXISTS. Creates all 9 tables, indexes, RLS policies, and the deduct_inventory_atomic function.

PHARMA POS

Invoice#
Date
Terminal
Operator
Gross Subtotal
Discount (%)
TOTAL PAID
📋 Label this bill
Give this held bill a name (e.g. patient name or counter number)
✏️ Manual Item
Add an item not in the inventory catalogue
⌨️ Keyboard Shortcuts
Navigation
F5
Billing tab
F6
Held bills tab
F7
History tab
F12
Settings tab
Billing
F2 / /
Focus search box
F3 / Ctrl+M
Manual/quick add item
F4
Hold current bill
F9
F9 row-edit mode
Ctrl+S
Save / finalize bill
F10
Open Cloud tab (Sync Hub, Reports, Audit — shown when sync is configured)
Esc
New invoice / clear form
Discounts
Ctrl+15
Apply discount preset 1–5
Data
Ctrl+B
Export full backup
↩ Refund / Return
Invoice —
Customer
Original Total
Date
Item Unit Price Orig Qty Return Qty Refund Amt
Reason