05 / Work · Manufacturing
A quote drawn, priced and turned into an order in one place
A manufacturer prices glass by its shape and finish. The pricing rules now live in software that draws the piece, prices it, prints the quote and raises the order.
01 / Context
A manufacturer makes glass, doors and windows to order. Every job is a different shape, and the price depends on the shape and on what is done to it.
02 / Problem
A price depends on height, width and perimeter, on glass thickness and colour, and on finishing such as polished edges, ceramic bands and holes. A quote then has to become an order without anybody typing it a second time.
03 / Architecture
The pricing rules are code, so the same inputs always give the same price. The drawing is the input: the shape on screen produces the dimensions the rules read.
A quote is one record from first drawing to order. Glass, window and awning lines sit on the same quote, and the customer list comes from the accounting system so it is kept in one place.
Before
After
04 / Implementation
I built a browser application where the piece is drawn as a polygon and its height, width and perimeter are measured from the drawing. Thickness, colour and finishing options feed the price.
It prints the customer quote, converts an accepted quote into an order, and imports customers from the accounting system.
05 / Outcome
The pricing rules are written down in one place and applied the same way on every quote. The manufacturer keeps extending it a few hours at a time.
06 / Technical details
- Stack
- React, TypeScript, Tailwind CSS
- Integration
- Customer import from the accounting system
- Scope
- Drawing and pricing, printed quotes, multi-line quotes, quote-to-order