deleteOrder only nulled quotations.order_id and left status "ordered" - a dead end (ordered only transitions to invalidated), so the offer could never be ordered again and the "Vytvorit objednavku" button stayed hidden. The delete transaction now reverts ordered -> active together with the back-reference clear; regression test included. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
13 KiB
13 KiB