Files
dtf-system/app
Cauê Faleiros f23b64bebf
All checks were successful
Build and deploy / Validate source (push) Successful in 5s
Build and deploy / Integration suite on a real stack (push) Successful in 9m6s
Build and deploy / Secret scan and release gate (push) Successful in 7s
Build and deploy / Publish images (push) Successful in 1m25s
fix: a Tiny order goes to the customer's live contact, never a deleted one, and takes its seller (Marcus, 2026-12-02, #237)
Tiny lists deleted contacts (situação "E") beside the live one, a newer one
first. The integration took the first contact with the CPF/CNPJ, so #237
(DTF-237) went to a deleted Vaneska without a seller while the active one
had Kedma, and Dropstar added the seller by hand on every such order. The
contact is now chosen among the live ones: active before inactive, one with
a seller before one without, then Tiny's order. Live registrations naming
different sellers send none and reach Sentry, since which is right is
Dropstar's to say. Only deleted ones: a new contact, as for a new customer.

"tiny_probe vendedores [--desde]" (read-only) sorts every order sent to Tiny
since the seller rule (2026-11-27) by why its seller is what it is, so the
other orders can be checked; "vendedor NUMERO" now shows each contact's
situação.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-02 16:23:47 -03:00
..
2026-11-09 15:24:44 -03:00