One product, many pharmacies
Pharmacy POS is the multi-tenant SaaS at saas-pos.wilayats.com, also served on pos.wilayats.com and pharmacy.wilayats.com. A pharmacy counter needs batch and expiry, purchase orders, goods receipt, a cash shift, returns, transfers, and approvals. The platform around that counter is tenant signup, plan billing, and an admin who can impersonate a tenant when support is on the phone.
Billing on the platform side accepts Stripe, JazzCash, and EasyPaisa. Role templates keep a new tenant from starting with a blank permission matrix. `composer test:saas` is part of the deploy check so a billing change does not ship because the POS screen still looked fine.
The counter and the phone
The web POS is Laravel 13 in a Modules layout, Inertia, and React 19. AccountingService writes journals from the shift instead of leaving “today’s cash” as a spreadsheet the owner rebuilds at night. Redux holds the draft cart so a scan in progress is not lost when the page refreshes.
MWS Cloud POS on Google Play is the Android client: barcode scan, Firebase Cloud Messaging, and Play billing. There is also a React Native client and an Electron desktop client for sites that need a local till. Tenant Google Drive, with encrypted OAuth, stores scheduled database backups and product-image folders under one Drive root the pharmacy already controls.
What makes a pharmacy POS different from a retail till
A grocery till can sell a SKU. A pharmacy till has to know which batch is still in date, which receipt brought that batch in, and which approval stands between a price change and the label. Returns and inter-branch transfers have to move the same batch identity, or expiry reports become fiction.
Backups and product images on the tenant’s own Drive are a support decision as much as a feature. When a shop owner asks where the photos and the database copy went, the answer is their Google account, not a bucket only I can open.
In production
Tenant onboarding, Stripe/JazzCash/EasyPaisa billing, Google Drive backups and product images, shift-based POS with batch/expiry inventory, and MWS Cloud POS on Android with barcode scan and FCM.
What shipped
- SaaS platform admin: tenant signup, Stripe/JazzCash/EasyPaisa billing, impersonation, role templates, and `composer test:saas` CI on deploy
- Tenant-scoped Google Drive: encrypted OAuth, scheduled DB backups, and product-image folders under the same Drive root
- MWS Cloud POS (Android) with barcode scan, Firebase FCM, Play billing; Redux draft carts and AccountingService auto-journals