APPS · BAR 10 · 2026

Carwash Muara Teweh
Cashier and wage calculation for a motorbike wash, car wash, and cafe.
The Problem
Washes, cafe sales, and wages were kept in a notebook. Each night, the 35% wage per wash was split per worker by hand.
What I built
- Cashier screen for tablet and phone: plate, service, workers, cafe items, save.
- Server calculates wages and drawer cash from every transaction.
- Daily closing: wages per worker, drawer difference, then the date locks.
- Staff cafe purchases can come out of that day's wages.
- 58mm receipts via Bluetooth thermal printer (Web Bluetooth + ESC/POS).
- Owner reports: summary, wages, profit and loss, customers, Excel export.
Technical decisions
- All money math is one tested module of pure functions; wages stored as unrounded 2-decimal numerics.
- Transactions are idempotent (browser-generated ID), nothing is deleted, closed days cannot change.
- Traced Vercel 504s to Supabase's transaction-mode pooler stalling under stacked queries; moved to session pooler.





