# v4928.1.5.107 — close button and cockpit alignment

Fixes a UI/action mismatch introduced while moving close decisions to the central
next-action engine.

## Changes

- The primary `Concluir oportunidade` button now performs the real POST action:
  `POST /opportunities/{id}/operations/delivered`.
- The legacy operational cockpit now mirrors the central `get_opportunity_next_action()`
  decision when it is passed by the opportunity detail page.
- Prevents cases where the top card says `Concluir oportunidade` but the lower
  `Fluxo operacional` still shows an old legacy action such as `Enviar fatura ao cliente`.

## Expected behavior

For opportunities with invoice sent + payment confirmed + WH/OUT done:

- top action: `Concluir oportunidade`;
- cockpit action: `Concluir oportunidade`;
- clicking the button closes/registers the opportunity through the existing
  `delivered` operation, subject to workflow guards.
