feat: an order can be marked "Aguardando contato" until the customer is reached
All checks were successful
Build and deploy / Validate source (push) Successful in 16s
Build and deploy / Integration suite on a real stack (push) Successful in 4m8s
Build and deploy / Secret scan and release gate (push) Successful in 7s
Build and deploy / Publish images (push) Successful in 1m7s

The 7 October meeting asked for a way to flag orders whose file needs a word
with the customer before printing: rename Arte tratada, or tag the card. A tag
keeps the stage meaning "file checked" and the order where it is in the
queue. In the order panel, "☎ Aguardando contato" asks what has to be agreed;
the card then shows the mark, the board has an "Aguardando contato" filter,
and the panel shows the note, who marked it and when, the customer's WhatsApp
and "Contato feito", which clears it. The customer is not told. Sellers see
the mark but cannot set it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Cauê Faleiros
2026-10-13 14:41:59 -03:00
parent bcce64fff8
commit cf12566e86
6 changed files with 83 additions and 4 deletions

View File

@@ -276,3 +276,9 @@ CREATE TABLE IF NOT EXISTS dtf_local.password_resets (
CREATE INDEX IF NOT EXISTS password_resets_account ON dtf_local.password_resets(account_id);
-- Kanban users who get the team's alerts by e-mail.
ALTER TABLE dtf_local.operators ADD COLUMN IF NOT EXISTS alerts boolean NOT NULL DEFAULT false;
-- "Aguardando contato": an order whose file needs a word with the customer
-- before printing. A mark on the card, not a stage: the order stays where it is.
ALTER TABLE dtf_local.orders ADD COLUMN IF NOT EXISTS contact_since timestamptz;
ALTER TABLE dtf_local.orders ADD COLUMN IF NOT EXISTS contact_by text;
ALTER TABLE dtf_local.orders ADD COLUMN IF NOT EXISTS contact_note text;