← All tasks

v0.2 Slice H — Receipt big sequence number PROD · GATE 2

Shipped 2026-05-16 — the final v0.2 slice. Customer receipts now print the sequence tail (e.g. 0043) as a big/bold/centered block right under the store header, so customers spot their order at a glance when staff calls the number. The full id (POS07-0043) stays on the receipt below.

4/4 prod test · 51/51 regression green — 55/55 total. No regressions. End-to-end render proof: fetched a real paid get-coffee order (POS07-0043, sequenceNo=43) from the live API → handed the response to buildNativeReceipt + renderToString → confirmed the big "ORDER #" block + 0043 in 40px / weight 900 are in the rendered HTML, with the existing small Order: POS07-0043 line preserved below. Back-compat probe: a synthesized historical order without sequenceNo renders the receipt without the new block — old reprints look identical.

What the receipt looks like

Get Coffee ────────── ORDER # 0043 ← 40px, weight 900, centered ────────── Order: POS07-0043 16/05/2026 10:00 Served by / បម្រើដោយ: Sokha ────────── មុខទំនិញ / Items ...

Data flow on prod

4 prod checks

Raw: 01-render-probe.json · 02-back-compat-probe.json · result.json

Regression sweep — 51/51 green

test-phase1-prod.mjs11/11
test-phase2-sso-outdoor-prod.mjs6/6
test-phase2-cafe-multishop-prod.mjs6/6
test-m1-prod.mjs10/10
test-r7-prod.mjs14/14
test-r8-prod.mjs4/4

Files shipped — 3, no migration, no new dep

nix-cafe — commit 8037954
components/receipt/khmer-receipt.tsx · lib/native-receipt.ts · app/api/cafe/orders/[orderId]/route.ts

v0.2 batch closed 🎉

Slice H is the last shippable item in the v0.2 batch. 8 slices shipped over 2026-05-15→16: A (quick wins), B (auth-expiry bug), C (terminal polish), D (cashier↔shop integrity), E1 (Starter Cash In/Out), E2 (close-shift Odoo-style + Daily Sale CSV), F (Payment Methods rework), G (Customer Display cross-device + slideshow), H (receipt big number). Remaining v0.2 items are parked pending Narong's input: H4 (spec being finished), H2.3 / H5.9 / H5.12 (unfinalized), and the H2.1 shop-linking / Pro POS per-register filter pieces (wait on H2.3 banking diagram).