feat: Dropflow orders reach Tiny in DTF DROPFLOW, and dinheiro and customer credit name their forma de recebimento
All checks were successful
Build and deploy / Validate source (push) Successful in 13s
Build and deploy / Integration suite on a real stack (push) Successful in 4m40s
Build and deploy / Secret scan and release gate (push) Successful in 7s
Build and deploy / Publish images (push) Successful in 1m27s

Marcus's ids of 2026-10-27: the revenue category DTF DROPFLOW (987032506)
for Dropflow orders, which no longer stay out of Tiny, and the formas de
recebimento Dinheiro (919478944) and CORREÇÃO DTF (977493654) for the
customer's credit, on orders the team registers as paid outside the site.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Cauê Faleiros
2026-10-27 15:38:33 -03:00
parent 5692804c6f
commit 258128de9f
5 changed files with 36 additions and 19 deletions

View File

@@ -482,9 +482,11 @@ Still to do (2026-10-26):
'method', 'note', 'operator'}`; it counts in Números like any paid order and
the customer gets the usual paid e-mail. An Atendimento (or Site) order
goes to Tiny like a Site one, its internal note saying "pago fora do site"
and how, Pix and card naming Tiny's forma de recebimento. A Dropflow order
stays out of Tiny, its status updates and cancelling included
(payments.in_tiny), until Dropstar names that channel's revenue category.
and how, each way named as Tiny's forma de recebimento (Pix, cartão, and
from Marcus on 2026-10-27 Dinheiro 919478944 and, for the customer's credit,
their "CORREÇÃO DTF" 977493654; RECEIPT_METHODS in app/tiny.py). A Dropflow
order goes to Tiny too, in its own revenue category "DTF DROPFLOW"
(987032506, CATEGORIES in app/tiny.py), not DTF SITE (D-21).
- Rework register (Dropstar's rules D-02 to D-04; the user's answers of
2026-10-27), dtf_local.reworks. Gestão opens it from the order panel's menu
("Abrir retrabalho") with its cause, the metres redone (the order's printed
@@ -501,9 +503,7 @@ Still to do (2026-10-26):
with a rework carries a "Retrabalho" badge.
- Still open from the internal rules (docs received 2026-10-26): customer
credit as a payment the system keeps track of (today "crédito do cliente"
is only how a registered order was paid), and the Tiny revenue category
for Dropflow orders (not DTF SITE; its name and the origin value must be
the same word, the document says). Done 2026-10-27: the folders catch up on what passed while the Kanban
is only how a registered order was paid). Done 2026-10-27: the folders catch up on what passed while the Kanban
computer was off, time in "Aguardando contato" no longer counts in Números'
time figures (D-38; each wait is kept in dtf_local.contact_waits, from mark
to clear), and a file's type comes from its first bytes (D-13, see the