Custom Laravel ERP for a Retail & Electronics Business
A single system for point-of-sale, inventory, credit and installment sales, supplier and customer ledgers, HR and payroll, cash handling, and reporting — replacing a stack of spreadsheets with one authenticated, role-based application.

Where they started.
The business sells electronics and household goods across cash, credit, and installment plans. Before the build, stock, credit accounts, and installment schedules were tracked across spreadsheets and paper records, with no single view of what was owed, what was in stock, or what cash the business actually had on a given day.
The problem
- Installment recovery in particular is hard to run from a spreadsheet: each sale needs a schedule, a guarantor, a running balance, and a way to flag who's behind — multiplied across hundreds of live accounts.
- Stock counts drifted from what was on the shelf because purchases, sales, and returns were recorded in different places.
- Payroll and attendance were handled separately from the sales side entirely, so owners couldn't see staff cost against the sales they were driving.
What the system had to do.
- One system covering the full retail loop: buy stock, sell on any payment model, recover installments, pay staff and suppliers, report on profit and cash.
- Role-based access so sales staff, finance, and admin see only what they need.
- Printable, professional paperwork — invoices, receipts, salary slips — generated from the same records instead of retyped.
- Reporting an owner can actually read: cash flow, stock risk, and recovery, not raw exports.
Inside the system.
Real screenshots. Select any one to see it larger.
Choices we made, and why.
We built this as a monolithic Laravel backend with a Vue 3 + Inertia.js front end, so the app feels fast and single-page without maintaining a separate API project for every screen.
Role and permission logic (via Spatie) was designed early, since the same system needed to serve sales staff, finance, and admins with different views of the same data.
We deliberately didn't build a native mobile app or a customer-facing storefront for this phase — the brief was to fix the internal operating system first, not add new customer channels before the core numbers could be trusted.
Vue 3 + Inertia.js, Tailwind CSS, Chart.js for dashboard analytics
Laravel 11 (PHP 8.2+), Eloquent ORM, Spatie roles & permissions
MySQL — products, orders, ledgers, payroll, movements
DomPDF for invoices & slips, Maatwebsite Excel for exports
How it rolled out.
The system replaced spreadsheet tracking module by module rather than in one cutover — sales and inventory first, since that's where daily activity was highest, then credit and installment tracking, then HR and payroll once the core sales data was stable.
Staff were brought onto role-based logins as each module went live, which kept the transition low-risk: nobody had to relearn their whole job on day one.
What changed for the business.
Given the number of report types the business ended up wanting, we'd design the reporting layer as a more generic query builder from the start rather than adding report endpoints one at a time — it would have saved rework once the second and third custom reports came in. We'd also push for barcode scanning at checkout earlier in the build; it was added as a later addition rather than part of the original checkout flow.
- A single source of truth for stock, sales and cash instead of spreadsheets three different people were editing.
- Installment recovery — the part of the business hardest to track on paper — now has a dedicated schedule, guarantor and status per account.
- 15+ owner-facing reports (profit, cash flow, stock aging, recovery) generated from live data instead of manual exports.
- Attendance rolls straight into payroll, removing a second manual pass over the same numbers each month.
Related case studies.

In daily use · 7,000+ addresses geocoded across 5 client accounts
Read the case study
10 modules · production stock, dispatch paperwork & billing in one hub
Read the case studyThe services this drew on.
ERP Development
One system for sales, inventory, finance and staff records, replacing separate tools that never quite agree.
Learn moreCustom Software Development
Business software designed from the data model up, delivered in phases, and handed over with its source code. The starting point for CRM, ERP and operational systems.
Learn moreInventory & Stock Management Systems
Inventory tracked by location and product line, with dispatch, billing and online stock drawing on the same records.
Learn moreStart a project.
Running a retail or wholesale operation on spreadsheets and a POS that doesn't talk to your books?
Or email info@zacoders.com
You’ll speak with Zohaib Munawar, founder of ZACODERS,
with more than ten years across web development and search.