Case studies

Harith Engineering & Company

An internal system that replaces paper billing for construction material deliveries, from the truck at the port to the invoice and the books.

Time
Phase one
Built
Sep to Nov 2026
Industry
Construction & Material Supply

01The brief

The brief

Harith Engineering supplies construction materials such as sand, gravel and boulders to projects like the Colombo Port City development. Every truck delivery was tracked on paper: weights and bill numbers written by hand, and payments worked out at the end of each billing period.

One handwritten payment certificate could list ten truck deliveries with weighbridge readings, rates and a total. Keeping client invoices, supplier payments and the books in step from paper was slow and easy to get wrong.

Industry
Construction & Material Supply
Built
Sep to Nov 2026
Time
Phase one
Type
Business Systems

02Design guide

Design guide

The look of Harith Engineering & Company, taken from its own code: the colours set in its theme, the fonts it loads and the components every screen is built from.

Colour

  • #2563EBBrand 600Primary buttons, active menu item, links
  • #EFF6FFBrand 50Selected rows and soft highlights
  • #16A34ASuccess 600Confirmed, paid and posted states
  • #1E293BSlate 800Text
  • #F8FAFCSlate 50App background

Type

AaRobotoEverything
LanguageEnglish
Corners12px fields and cards

Components

  • Sidebar
  • Top bar
  • Data table
  • Filter bar
  • Date range filter
  • Combobox
  • Dropdown
  • Tab strip
  • Pagination
  • Payment modal
  • Notification bell
  • Toast
  • Charts
  • Pending price banner

03Components

Components

Each part drawn to its real size from the code: heights, padding, corners and type, so every screen is built from the same pieces.

3216SM, 13 PX4020MD, 14 PX4424LG, 15 PX1FULLY ROUNDED (PILL); PRESS SHRINKS TO 98%; FOCUS RING 2 PX
Buttons
LABEL 12 PX4014CORNER 121TEXT 14 PX; BORDER TURNS BRAND BLUE ON FOCUS
Form field
16ICON 361CORNER 12, ICON TILE 8; NUMBER COUNTS UP ON LOAD
Stat card
2012 + 14 + 121HEAD 12 PX, BODY 14 PX; NUMBERS IN EVEN-WIDTH FIGURES
Table row

04Screens

Screens

10 screens, wireframed from the menu in the code, each shown with the people who can open it.

  1. 01DashboardAdmin, Accountant, Office PRO
  2. 02ClientsAdmin, Office PRO
  3. 03PO TrackingAdmin, Accountant
  4. 04SuppliersAdmin, Office PRO
  5. 05Port OperationsAdmin, Office PRO, Port Entry Confirmer, Port Staff
  6. 06InvoicesAdmin, Accountant, Office PRO
  7. 07Supplier VouchersAdmin, Accountant, Office PRO
  8. 08General LedgerAdmin, Accountant
  9. 09Users & AccessAdmin
  10. 10SettingsAdmin

05Wireframe

Wireframe

The layout every screen shares, measured at 1440 px: the menu on the left, a top bar, and the content set in by the same space on every side.

1440SIDEBAR 248TOP BAR 64PAD 241SIDEBAR 248 OPEN, 68 COLLAPSED, A SLIDE-IN DRAWER ON PHONES2CONTENT 24 PX IN ON EVERY SIDE; STAT TILES, A CHART, THEN THE TABLE

06One record, start to finish

One record, start to finish

We built a web system around one rule: a truck's delivery, once weighed and confirmed, is the single record both the client invoice and the supplier voucher are worked out from. Data becomes more official as it moves from the port to the office to the accounts, and confirmed entries are locked with an edit history.

How one delivery moves5 steps, 4 roles

  1. Port Staff1Truck weighed at the portArrival, departure, gross, tare and net weight
  2. Port Entry ConfirmerEntry confirmed and lockedAssigned to a client and a supplier purchase order
  3. Office PRO3Invoice and voucher worked outWhat the client pays, and what Harith owes the supplier
  4. Accountant4Payment confirmedFor each invoice and each voucher
  5. Automatic5Posted to the booksGeneral ledger, and profit for each purchase order
From the project specification. Step 2 is the lock: after it, the person who entered the data can't change it.

07How it's built

How it's built

Built as a web system with a separate server and database, with sign in and access set for each role.

  • Client and supplier purchase orders, with the material, quantity and price for each project and site
  • Port operations: every truck's arrival, departure and gross, tare and net weight
  • Five roles with their own access: Admin, Accountant, Office PRO, Port Entry Confirmer and Port Staff
  • Confirmed truck entries locked for the person who entered them, with a visible edit history
  • Client invoices and supplier vouchers worked out from confirmed deliveries
  • Paid invoices and vouchers posted automatically to a general ledger
  • Profit and margin for every client purchase order, and a dashboard for each role
roles with their own access
5
screens
10
data tables
24
API modules
17
  1. 1Web appReact, TypeScript, Vite, TailwindThe screens each role signs in to, with printable invoices, vouchers and ledgers and Excel export
  2. 2API serverExpress, TypeScriptRoutes, services and validation for every module, with sign in, role checks and request logging
  3. 3DatabasePostgreSQL, PrismaPurchase orders, truck entries, invoices, vouchers and the general ledger, with an audit log
  4. 4DeliveryGitHub Actions, VPS, PlaywrightEvery merge deploys to the server; end to end tests cover purchase order creation

08Decisions

Decisions

The choices behind the design and the build, and why we made them.

  1. 1The menu follows the role

    Each person sees only the screens their job needs; Port Staff see port operations, the Accountant sees money and the ledger.

  2. 2Confirmed means locked

    Once a truck entry is confirmed, the person who entered it can't change it, and every edit is kept in an audit log.

  3. 3Documents built in

    Invoices, vouchers, ledgers and summary sheets print on the company letterhead, and tables export to Excel.

  4. 4Quiet, dense screens

    One blue for actions, green only for done, and compact tables with filters, so people can work through many records a day.

09In use

In use

Phase one, Sep to Nov 2026. It runs inside the company for the people who use it every day, so it has no public address. Here is one of its screens, rebuilt from the code with sample figures.

Who signs in

  • AAdmin
  • AAccountant
  • OOffice PRO
  • PPort Entry Confirmer
  • PPort Staff

K1 Start a project

Have something to build?

Tell us what you have in mind. We reply within hours, not days.

  1. What happens next
  2. 1Tell us what you needOn WhatsApp, a call or the contact form.
  3. 2We reply within hoursWith questions, ideas and a quote.
  4. 3We plan it togetherScope, timeline and price, agreed first.

Get a quote on WhatsApp

Only the service is needed. Anything else helps us quote better.

What do you need?

Optional details

When do you need it?