← All work

Case · CBD Plant & Labour · Mining Resources Australia · Hecate Traffic Control · 2026

One portal codebase, three companies: CBD, MRA and Hecate.

Hours are entered once by the worker on their phone. Approval, payroll maths, client PDFs and the accounting export all come from those same hours. Live at portal.cbdpnl.com.au, mra-portal.vercel.app and hecate-portal.vercel.app.

The problem

CBD Plant & Labour, a labour-hire company in Australia that came to me through Bright Lotus Ventures, ran on paper timesheets, text messages and a generic forms tool. There were no rates in the system, no link between a client and its sites, and no audit log. Hours were disputed weeks later, and money fields were visible to anyone who could log in.

What I built

  • Three faces of one app: a phone-first worker app, an admin back-office, and a no-login approval link for client supervisors.
  • Pay rules in one place: overtime, rostered days off, an 8-hour minimum day, meal allowance, casual loading, paid and unpaid training shifts, and four per-client award profiles. The same function runs on the worker's phone (preview) and on the server (truth).
  • Approve = lock. Approved weeks become read-only until an admin resets the workflow, with a logged reason.
  • Documents: hours-only PDFs for clients on approve, weekly bundles, a sent-timesheets ledger.
  • Notices: a real-time bell, SMS and email, with every send logged.
  • Money stays private. Rates, charges and payroll values are readable only by admin and accounts roles, enforced in the database, not just hidden in the interface.
  • Exports ready for Xero and MYOB.
  • Mirrored to Mining Resources Australia (mining services) and Hecate Traffic Control (traffic management), each on its own database and domain, with a one-file brand switch. Every fix ships to all three.

The result

3 deployments34 access-controlled tables each84 server functions44 migrations208 commits2,560 payroll cases, 0 mismatches13/13 hour-rule cases pass

Two real supervisors approved their crews through the link in its first week. Five feedback rounds since then shipped to all three portals the same day.

The screens

portal.cbdpnl.com.au/payroll
Payroll · week ending Sun
58 approved timesheets
Export
WorkerNormalOTRDOMealStatus
Worker 0138.006.500.003Ready
Worker 0240.000.008.002Ready
Worker 0324.000.000.000Training (unpaid)
PendingWith supervisorApprovedPDF sent

Payroll view. Only admin and accounts roles can open it.

New shift Day
ClientClient A (locked)
Project / siteNorth yard (locked)
Role performedOperator
Start06:30
Finish16:00
Total 9.00Normal 7.50OT 1.50Meal ✓
Submit shift
AllocationsTimesheetsTake 5Certificates

Worker app. Client and site are locked to the allocation, times step in 15 minutes, totals preview the server's maths.