Bilingual legal case and billing manager
A web app for a law office to track cases, clients, instalments, invoices and receipts in Arabic and English, with an audit log of every change.
The problem
A law office needed one place to see its cases, what each client has paid and still owes, and to print invoices and receipts, in Arabic as well as English.
How I built it
I built a React and TypeScript app with three roles: admin, accountant and standard user. Each case holds its fee, an instalment schedule and its payments, with invoice and receipt numbers generated in sequence and print-ready layouts for both. A dashboard with charts and a reports page summarise cases and money collected, and every change is written to an audit log. The interface switches between Arabic (right-to-left) and English, and the printed invoice carries both languages.
What got hard
- Money on a case rarely arrives in one go.
Fees can be split into instalments and paid by cash, bank transfer, cheque or a local mobile wallet. The app keeps a running paid and remaining balance for each case and issues the next invoice or receipt number in sequence.
- Two languages and two reading directions in one interface.
Every screen runs from one translation setup covering English and Arabic, and the layout direction flips with the language.
- Getting a client-ready build live on Vercel.
The first deploys needed the base URL, a Vercel config and the logo paths corrected, which I handled in a short run of fixes on 22 March 2026.
The result
I packaged six builds between 27 January and 3 February 2026, and the app is kept live as a public demo on Vercel with sample data.
The ← and → keys turn the page too.
