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.
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.
Product Name
Generic Name
Group
Company
MRP (Tk)
Current Stock
Reminder Stock
Rack
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
Code
Name
Contact Person
Contact Number
Address
Status
Supplier-wise Products
Bangladesh pharmacy workflow: first see supplier/company list, then view products supplied by that supplier.
Supplier Code
Supplier Name
Address
Contact Person
Contact Number
Product Count
Action
Products Under Supplier
Product Name
Generic Name
Group
Company
MRP (Tk)
Last PP
Current Stock
Reminder Stock
Rack
Link Product to Supplier
Use this when a supplier supplies an existing medicine/product.
Purchase Request Workflow
Create internal stock purchase requests, approve/reject them, then convert approved requests into purchase orders. No stock changes happen at request stage.
Add Request Item
Purchase Request Cart
Product
Generic
Current Stock
Reminder Stock
Requested Qty
Estimated Price
Total
Note
Action
Estimated total: 0.00
0Total Requests
0Submitted
0Approved
0Converted to PO
Purchase Request List
Request No
Date
Needed
Supplier
Priority
Status
Items
Estimated Total
Note
Actions
Create Multi-item Purchase Order
v1.0 upgrade: add multiple products to a purchase cart, then save one purchase order with many items. If status is RECEIVED, stock increases for every item.
Add Purchase Item
Purchase Cart
Product
Batch
Qty
Purchase Price
Sale Price
Total
Action
Cart total: 0.00
0Purchase Orders
0Total Purchase Value
0Total Paid
0Total Due
Purchase Order List
PO Number
Date
Supplier
Status
Grand Total
Paid
Due
Note
Action
Receive Purchase Order / GRN
Use this when goods physically arrive. This creates batches, expiry records, purchase receive records, and IN_PURCHASE stock movements.
PO Items to Receive
For converted purchase requests, batch is empty. Enter batch number and expiry date during receive.
Product
Ordered Qty
Receive Qty
Batch No
Expiry Date
Purchase Price
MRP
0Pending/Ordered POs
0Received POs
0GRN Records
0Total Received Qty
Receive History
GRN No
Date
PO
Items
Total Qty
Received By
Note
Pharmacy Alerts Center
Fast management view for low stock, expiry, pending purchase requests, and pending purchase orders.
0Low Stock
0Expired/Expiring
0Pending PR
0Pending PO Receive
Low Stock Alert
Product
Generic
Current Stock
Reminder Stock
Default Supplier
Rack
Expiry Alert
Product
Batch
Expiry
MRP
Status
Pending Purchase Requests
Request No
Needed Date
Supplier
Priority
Status
Items
Purchase Orders Waiting Receive
PO No
Date
Supplier
Total
Status
Create Multi-item Sales / POS Invoice
v1.0 upgrade: add multiple products to a POS cart, then save one invoice with many sale items. Completed invoices automatically decrease stock and create cash collection.