We tightened up the Change Order review workflow — decisions are clearer, edge cases are handled, and the UI won't let you do things you shouldn't be able to do anyway.
What's new
Decision actions got a facelift. The toggle is now a dropdown labeled "Edit decision" — clearer intent, same outcome.
Improvements & fixes
Fixed a bug where reviewers could edit decisions on change orders that weren't ready for them yet. Now the UI correctly hides "Edit decision" if you're not on deck.
Prevented a crash when reverting a change order to draft — form state now resets properly instead of holding onto stale data.
Added a safety check so you can't submit a review decision if the change order isn't in the right status. The API was already enforcing this; now the frontend won't let you try.
Cleaned up some unsafe code that assumed a decision always existed when it might not. No user-facing impact, but one less footgun.
Fixed an issue with importing spreadsheets with numeric part hierarchies where the first row wasn't the top level — counters would skip numbers. Now they increment correctly.