APP.md — what's live, and how to walk it
The platform is live at https://trading.tynolabs.com (no browser
password — the app login is the door: fresh@example.com /
supersecret123 — dev owner; or skpawar1305@gmail.com / parag123).
Up-to-date ledger: docs/BUILD-LOG.md.
The home screen (per BOARDS-A)
- YOUR TODOS strip — drafts to confirm · owner approvals · gate pickups due · park-lots to assign · hishob pending. Each is a button.
- Section card grid — 🏢 Company · 🏷️ SO · 🤝 Job work · 📦 Stock & sell · 🧶 B Yarn · 🪵 C Warp — every card opens its component page.
- Quick entry row for every create screen.
Screens (walk in this order)
📥 /capture— paste a forwarded WhatsApp message → parse → draft; or upload a photo → OCR (tesseract) → parsed draft; the PWA share-target manifest routes mobile share/forward here.📚 /masters— six tabs: party · yarn (count+type+ticket) · design (kg/m computed) · loom · flange · defect (4-point).🧾 /orders/new— four kinds (SO/JW/Outsource/Prod); mode prefilled per quality; lot-size memory; computed rolls & lots.🧵 /bookings/new— yarn PO: packaging math, IGST/SGST+CGST breakup.🚧 /gatepasses+🚧 /guard+🚚 /transporter— create → intimated → guard/transporter taps → delivered YARN_IN auto-creates the lot (parked when unmarked) → assign from/lots.📋 /tippans— draft without refs (assign later), krill solver.🪵 /beams— floor/on-loom/repair + repair-out → gatepass.🎫 /samples— rate prefilled from recent order; courier receipt.🔍 /checking— beam → mtrs/kg → grade A/B/C/R + defects → points/100 m → FG roll barcode.🚚 /dispatch— pre-slip from graded rolls by tap → totals → LR.🗂️ /drafts— capture funnel with → Create SO.✅ /approvals— reconciliations + hishob, owner-gated.🧾 /hishob— owner approve → print unlocks (gated route).
Boundaries (deliberately not built — see BUILD-LOG "Remaining")
WhatsApp Business API · mending-IoT & loomgate adapter · native Android companion · real-account role seeding · drag-drop plan board polish.
Demo data
scripts/seed-demo.ts (rerunnable): 13 parties, 5 yarn products, 5 real
constructions, 6 orders, GST booking, gatepasses, beams, lots, samples,
draft, reconciliation, hishob.