583 B
583 B
v4928.1.5.118 — delivered guard invoice task text evidence
Fixes a mismatch where the opportunity detail page could show CLOSE_OPPORTUNITY
because a completed invoice-send task was visible to the operator, while the
/operations/delivered workflow guard still blocked the action with
"Concluir oportunidade exige evidência de fatura enviada ao cliente."
The guard now accepts completed legacy task rows that clearly represent invoice
sending by action/note text (for example Enviar fatura FA.FA2026.143 ao cliente),
even when old task metadata/action_code is incomplete.