shoc-backend/Api.SeaHavenIndustries
Alexandre Brandizzi 7a0856ddf7 feat(vendors): confirm-to-deactivate with open work orders (SH-254)
SH-44 and SH-82 both left "blocks, or requires explicit confirmation" to
be decided with the team, and the implementation took the blocking
branch. SH-254 settles it the other way: the approved design offers
"Deactivate anyway" beside the list of open work orders.

Deactivation with open work orders is now permitted, but only when the
caller says it has shown them: ConfirmOpenWorkOrders on the update DTO
and a confirmOpenWorkOrders query parameter on the delete route. Absent
the flag the existing guard still throws, so nothing deactivates by
accident and no caller loses the check by omission.

confirmOpenWorkOrders is a required parameter on DeleteVendorAsync
rather than an optional one, so every call site states its intent.
2026-08-19 13:31:16 -03:00
..
.config Initial commit 2024-09-28 14:58:36 -04:00
Controllers feat(vendors): confirm-to-deactivate with open work orders (SH-254) 2026-08-19 13:31:16 -03:00
DTOs feat(vendors): confirm-to-deactivate with open work orders (SH-254) 2026-08-19 13:31:16 -03:00
Filters merge: integrate origin/dev into PR #22 flag-color base 2026-07-24 14:20:16 -03:00
Helper refactor: enforce backend boundaries and optimize dispatch (#30) 2026-07-24 17:35:34 -03:00
HostedServices feat(uplifts): complete SH-101 approval lifecycle 2026-08-11 08:58:19 -03:00
Infrastructure fix(work-orders): harden media upload contract for review blockers 2026-08-04 11:08:18 -03:00
Middleware feat(work-orders): add legacy deprecation middleware and Blazor WO sunset guard 2026-07-13 13:22:53 -03:00
Models initial commit for api changes 2025-02-18 13:13:33 -06:00
Options feat(work-orders): add Phase 5 scheduled domain events (WeekRolled) 2026-07-24 10:13:17 -03:00
Properties Initial commit 2024-09-28 14:58:36 -04:00
wwwroot Add zip-to-zip distance calculation for vendor dispatch 2026-04-17 11:56:06 -04:00
Api.SeaHavenIndustries.csproj feat: ingest signed procurement work-order webhooks 2026-07-24 21:03:50 -03:00
Api.SeaHavenIndustries.http Initial commit 2024-09-28 14:58:36 -04:00
appsettings.Development.json fix(security): remove hardcoded secrets from source 2026-06-05 11:56:54 -04:00
appsettings.json fix(work-orders): satisfy producer contract review 2026-07-27 16:33:06 -03:00
appsettings.Production.json fix(vendors): address roadmap review findings 2026-07-24 11:49:57 -03:00
aws-beanstalk-tools-defaults.json fixes for Dev changes 2026-04-24 12:12:16 -05:00
db.txt fixes for Dev changes 2026-04-24 12:12:16 -05:00
Program.cs feat(uplifts): complete SH-101 approval lifecycle 2026-08-11 08:58:19 -03:00