All work
Loan system rebuild for a licensed lender
A lender was stuck with a half-finished loan system and bugs nobody fixed. We rebuilt it, moved the loans and payments across, and went live within 6 months.
- Type
- Client project
- Years
- 2026
- Status
- Live
- Client
- A licensed moneylender in Malaysia. Name withheld at their request.
- Users
- Staff and agents record loans and payments. Owners and admins check them.
Before
The lender already had a loan system. It still ran, but its developer had stopped work on it.
Bugs stayed open. A loan that was fully paid could still show as active. Features the staff asked for never came.
Lending could not stop for a new system. The customers, the loans and every payment had to come along.
LOAN L-2041 FLAT RATE 12 MONTHS ---------------------------------------------- NO DUE INSTALMENT BALANCE STATUS 01 05 JAN 458.33 5,041.67 PAID 02 05 FEB 458.33 4,583.34 PAID 03 05 MAR 458.33 4,125.01 PAID 04 05 APR 458.33 3,666.68 DUE 05 05 MAY 458.33 3,208.35 - ---------------------------------------------- PRINCIPAL 5,000.00 RATE 10% TOTAL 5,500.00
After
- One finished system. The faults staff worked around every day are fixed.
- Customers, loans and payment history came across from the old system.
- The lender checked the odd records before go-live, not after.
- Features the staff had asked for are in daily use.
- Rebuilt and live within 6 months.
The screens.
From the demo build. The data is made up, and the client’s name, logo and colours are removed. Select a picture to open it at full size.

The owner’s view: what is due today, what was collected, and the trend for the last 30 days.sample data 
One loan on one page: the terms, what is paid, what is left and the full schedule.sample data 
One customer on one page: their loans, their details and how to reach them.sample data 
Every action carries a name and a time.sample data
What we built
- A complete customer file: personal details, contacts, next of kin, salary dates and documents sorted by category.
- A loan engine with 7 loan types. Top-ups, early settlement and bad debts rework the schedule on their own.
- Collections at the counter: today’s due loans in one list, and one payment spread across all of a customer’s loans.
- Cash under control: fund accounts, petty cash and staff claims, each with approval and a record of who did what.
- An owner dashboard and 14 reports, each ready for Excel.
- A migration tool that recalculates every loan from its old payments through the new rules and lists each record that does not add up.
How it works
THE MOVE SAMPLE NUMBERS ---------------------------------------------- OLD SYSTEM NEW SYSTEM customers 412 -- move --> 412 loans 986 -- recalc -> 986 payments 7,430 -- recalc -> 7,430 ---------------------------------------------- trial run errors 0 nothing saved balance check 983 match 3 to review ---------------------------------------------- odd records sent to the lender 21 confirmed before go-live 21
- Recalculate, do not copy
- The old balances were not copied. Every old payment was run again through the new system, so each schedule and balance comes from the new rules. Then each loan was compared with its old balance, and every difference went on a list.
- A trial run first
- The move runs as one step. A trial run does everything, prints the result and saves nothing. If one record fails, the whole run is cancelled. Run it twice and nothing is doubled.
- The lender checks before go-live
- Old records are never perfect. Before the move, the lender gets a report of the odd ones in 10 groups: a loan paid off but still marked active, a payment that looks entered twice, a due day that does not match the salary day. Each group opens in Excel. Staff confirm or correct them. Then the move runs.
- Old faults stay behind
- In the old system a loan with nothing left to pay could stay active. The move closes those loans. Loan types that were typed in as free text become 7 clear types.
- Interest rules as separate parts
- Each of the 7 loan types is its own small piece of code with the same inputs and outputs. Adding a new type leaves the others untouched.
- See who changed each record
- Each create, edit and delete is logged with the user and the time. Open a loan and read who changed what.
- A document store we added ourselves
- It was not in the brief. We added a place to keep each customer’s files with their record: IC copies, salary slips, contracts. Staff upload a file once and sort it into a category. Later they can view it, download it or use it again, without asking the customer a second time. Every upload and download is logged.
- Built to stay up
- The target was 99.9% uptime. The system reports its own health: database, cache and background jobs. Each release is a numbered image, so going back means starting the one before. During maintenance, staff see a notice and admins can still get in.
- Checks after go-live
- An admin can run a data check with 7 tests on live loans, such as a settled loan with money still owing, or a gap in a schedule. That helps staff catch problems early.
Built with
- Laravel
- PHP
- Angular
- PrimeNG
- Tailwind CSS
- MySQL
- Redis
- Docker
- nginx
- Azure
- Cloudflare
In numbers
- months from start to first go-live
- 6
- uptime target
- 99.9%
- loans moved from the old system
- about 2,000