feat: customers see an order code, not the sequential number
Some checks failed
Build and deploy / Validate source (push) Successful in 5s
Build and deploy / Integration suite on a real stack (push) Failing after 3m2s
Build and deploy / Secret scan and release gate (push) Successful in 6s
Build and deploy / Publish images (push) Has been skipped

"Minha conta" lists and opens orders as "Pedido 1E867B56" (the first 8
characters of the order's id) and searches by that code, so a customer never
sees how many orders the store has. The Kanban shows the code beside the #
number, with a copy button, and its search finds an order by the code a
customer reads out. Tiny keeps its reference (DTF-<number>): it is how a
resent order is found there instead of duplicated, and the WhatsApp notices
the client sends from Tiny use Tiny's own number.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Cauê Faleiros
2026-10-02 16:50:26 -03:00
parent c19941555e
commit d7b1eaae6d
7 changed files with 41 additions and 15 deletions

View File

@@ -353,3 +353,6 @@ a.zap{display:inline-flex;align-items:center;gap:4px;vertical-align:bottom}
.btn.discard:hover{color:var(--bad);border-color:var(--bad-line)}
.callout.bad{background:rgba(244,150,139,.12)}
.callout.bad b{color:var(--bad)}
/* The order code the customer sees, beside the operators' number. */
.ocode{display:inline-flex;align-items:center;gap:6px;font-size:13px;color:var(--muted)}