/en/work/accplus
AccPlus
Point of sale and full accounting for a pharmacy in Haiti, running on the pharmacy's own computer with no internet needed.
Problem
A pharmacy needs a register that sells the lot expiring first and refuses expired products, plus real double-entry accounting, in French, in HTG and USD, on a computer that may have no internet. Existing tools did not fit that setting.
What I built
- A register with barcode scanning, cash in HTG or USD at the day's rate, cheques, sales on account, held sales, pro formas and 80 mm or 58 mm tickets.
- Stock by lot and expiry date, with warnings at 1, 3 and 6 months and a recall search.
- Sales, purchases, a double-entry ledger, bank accounts, month closing and reports (profit, aged balances, income statement, balance sheet, tax), exportable to Excel.
- One package with two installers: Debian or Ubuntu as four systemd services, and Windows as services under C:\AccPlus, both without Docker.
Hard problems
- Shipping PHP 8.4, MariaDB 11.4 and Caddy inside one offline package, with pinned checksums, for several Linux distributions and Windows.
- Updates that switch back by themselves if the new version fails, and backups that restore between Linux and Windows installs.
- Costing every sale from its lots so the profit report is correct.
Security
Roles (admin, accountant, cashier, viewer) with a switch per module, an audit trail of every action, account lock after 10 wrong passwords, a forced password change when someone else chose it, and encrypted daily backups. On a server the port opens to the pharmacy's network only.