Sales Book
Flagship Android · Java · Laravel · 2019–presentThe company's sales backbone, architected and built end-to-end. Order taking, van-stock management, route visits, on-site Bluetooth invoice printing, customer and merchandising data capture, and automated target and incentive calculation. Built offline-first so reps keep selling with no signal and reconcile cleanly on sync, backed by a Laravel API I own down to the schema and wired into the corporate Odoo ERP.
The problem
A rep starts the day with a route, a van full of stock and a phone, and ends it owing the warehouse an exact account of what left the van and what came back. Every order, return and collection has to reconcile — and the places this happens, back streets and loading bays, are exactly where connectivity disappears.
What I built
- Order capture with per-customer pricing, promotions and credit rules
- Van stock treated as a moving warehouse — load out, sell, return, reconcile against the depot
- Route and visit planning with GPS confirmation that a customer was actually visited
- Bluetooth thermal invoice printing at the customer's counter
- Automated target and incentive calculation, so commission stops being a spreadsheet argument
- Merchandising and photo capture from the field
The hard part
Offline-first means the device is the source of truth until it syncs, so the interesting work is all in reconciliation: what happens when two devices touch the same stock, when a sync half-completes, when a rep's phone dies mid-route. A dropped order here is real money that never reached finance.