Payment and request approval system with salary module
A maker and approver workflow for payment, purchase, reimbursement, transfer and salary requests, with receipts, an audit log, a ledger and spend analytics, first as a clickable browser prototype and then as a PHP and MySQL system.
The problem
A business group needed every payment, purchase, reimbursement, transfer and salary request to go through a named requester and approver, with a record of what was paid, to whom and when, and reports they could filter by company, category and supplier.
How I built it
I prototyped the whole workflow first as a browser-only app that needs no server: a maker dashboard, an approver dashboard with notes, salary batches per company, reports and charts. Once the flow worked there, I wrote a PHP and MySQL backend whose schema mirrors the prototype's data structures, added receipt uploads, an appeal step for rejected requests and a ledger, and built Arabic and English screens.
What got hard
- Moving from prototype to a real backend without rebuilding the screens.
The database schema (12 tables) was written to mirror the prototype's browser storage one to one, and the front end switched to API calls (34 actions), so the same screens run against the server.
- A money workflow needs an audit trail.
Every action is logged, each request keeps a timeline, and a rejected request can be appealed before a final rejection, so there is always a record of who decided what.
- One interface in two reading directions.
The sidebar, tables and labels flip between right-to-left Arabic and left-to-right English, and I wrote a manual test checklist that covers both.
The result
The PHP and MySQL version reached a deployment package labelled v26 on 23 January 2026.
The ← and → keys turn the page too.