Setup Required

Supabase Key Missing

Your app file still has the placeholder anon key. Open index.html and replace:

PASTE_YOUR_SUPABASE_ANON_KEY_HERE

Use your Supabase anon public key. Do not use the service role key.

Pharmacy PMS Starter

Login

Use the admin user you created in Supabase Authentication.

This is your first Supabase-connected starter app. Use demo data only.

Pharmacy PMS

Loading...

Dashboard

Live on Cloudflare Pages, connected to Supabase.
0Products
0Suppliers
0Total Stock Qty
0Low Stock Items

System Status

This starter app is working if you can login and see database statistics.

Foundation ready: GitHub + Cloudflare Pages + Supabase.

Products / Medicines

Products from your Supabase database.

Name Generic Unit Reorder Level Current Stock Status

Add Product / Medicine

Quick Add Category / Manufacturer

Stock Movement

Use this to test stock in/out. Later purchase and sales modules will create these movements automatically.

Add Supplier

Supplier List

NamePhoneAddressStatus

Create Purchase Order

This first purchase module supports one item per purchase order. Later we will upgrade it to multiple items, receive workflow, purchase return, and supplier payment.

Tip: If status is RECEIVED, stock will automatically increase using an IN_PURCHASE stock movement.
0Purchase Orders
0Total Purchase Value
0Total Paid
0Total Due

Purchase Order List

PO Number Date Supplier Status Grand Total Paid Due Note

Create Sale / POS Invoice

This first sales module supports one item per invoice. It automatically decreases stock and creates cash collection when paid amount is greater than zero.

If status is COMPLETED, stock will automatically decrease using OUT_SALE.
0Sales Invoices
0Total Sales
0Sales Paid
0Sales Due

Sales List

InvoiceDateCustomerStatusTotalPaidDueMethod

Cash Management

Track manual cash in/out. Sales with paid amount automatically create SALE_COLLECTION transactions.

0Total Cash In
0Total Cash Out
0Cash Balance
0Transactions

Cash Transactions

DateTypeAmountReferenceNote

Customer Management

Customer List

NamePhoneEmailOpening BalanceStatus

Sales Return

Returns one item and automatically increases stock. If refund amount is entered, cash decreases.

Purchase Return

Returns one item to supplier and automatically decreases stock. If refund amount is entered, cash increases.

0Sales Returns
0Sales Refunds
0Purchase Returns
0Purchase Refunds

Sales Returns List

NoDateCustomerRefundNote

Purchase Returns List

NoDateSupplierRefundNote

Customer Payment Collection

Supplier Payment

0Customer Payments
0Collected
0Supplier Payments
0Paid to Suppliers

Customer Payments

DateCustomerAmountMethodNote

Supplier Payments

DateSupplierAmountMethodNote

Salary Payment / Payroll

This creates salary payment record and automatically creates CASH_OUT transaction.

0Salary Payments
0Total Salary Paid
0Total Bonus
0Total Deduction

Salary Payment List

DateMonthEmployeeBasicBonusDeductionNetNote

Add Employee

Attendance Entry

0Employees
0Present Records
0Absent Records
0Attendance Records

Employee List

CodeNamePhoneDepartmentDesignationSalaryStatus

Attendance List

DateEmployeeStatusCheck InCheck OutNote

Low Stock Report

ProductCurrent StockReorder LevelStatus

Expiry Report

Product IDBatchExpiry DateSale PriceStatus

Roadmap

This is only the first Supabase-connected starter version.

  • Current: login, products, suppliers, customers, stock movements, purchase orders, sales/POS, returns, payments, cash, payroll, HRM, attendance, reports.
  • Next: multi-item invoices, print/PDF, advanced reports, strict role permissions, backup/export, better UI.
  • Later: HRM, attendance, payroll, role permissions, audit logs.
Use fake/demo data only until production security, backups, and paid domain/hosting are ready.