shoc-backend/Api.SeaHavenIndustries/DTOs
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
..
Account_DTO.cs added new controllers 2026-01-21 15:41:19 -06:00
Asset_DTO.cs fix 2026-03-30 06:49:40 -05:00
Category_DTO.cs Initial commit 2024-09-28 14:58:36 -04:00
Comments_DTO.cs Make Comments_DTO fields nullable for JSON endpoint compatibility 2026-04-16 18:24:04 -04:00
Contact_DTO.cs backend architectural template 2026-05-06 10:49:33 -05:00
Dispatch_DTO.cs feat(vendors): complete operations roadmap backend 2026-07-23 19:18:06 -03:00
DispatchSignoff_DTO.cs Add dispatch sign-offs with signature capture 2026-04-17 15:51:20 -04:00
DropdownOption_DTO.cs refactor: enforce backend boundaries and optimize dispatch (#30) 2026-07-24 17:35:34 -03:00
EditAsset_DTO.cs fix 2026-03-30 06:49:40 -05:00
EditContact_DTO.cs backend architectural template 2026-05-06 10:49:33 -05:00
EditEvent_DTO.cs Add calendar/events backend API (#8) 2026-06-22 18:46:46 -04:00
EditLocation_DTO.cs backend architectural template 2026-05-06 10:49:33 -05:00
EditQuote_DTO.cs Initial commit 2024-09-28 14:58:36 -04:00
Employee_DTO.cs added new controllers 2026-01-21 15:41:19 -06:00
Event_DTO.cs Add calendar/events backend API (#8) 2026-06-22 18:46:46 -04:00
FollowUp_DTO.cs added new controllers 2026-01-21 15:41:19 -06:00
ForgetPassword_Dto.cs Initial commit 2024-09-28 14:58:36 -04:00
LineItem_DTO.cs Initial commit 2024-09-28 14:58:36 -04:00
Location_DTO.cs backend architectural template 2026-05-06 10:49:33 -05:00
Pagination_DTO.cs Initial commit 2024-09-28 14:58:36 -04:00
PMSchedule_DTO.cs added new controllers 2026-01-21 15:41:19 -06:00
Quote_DTO.cs Initial commit 2024-09-28 14:58:36 -04:00
Reporting_DTO.cs Initial commit 2024-09-28 14:58:36 -04:00
Roles_DTO.cs Initial commit 2024-09-28 14:58:36 -04:00
TaskListTemplate_DTO.cs Add Task List Templates with CRUD controller 2026-04-17 14:57:18 -04:00
UpdateDispatch_DTO.cs feat(vendors): complete operations roadmap backend 2026-07-23 19:18:06 -03:00
User_DTO.cs !fix(work-orders): fail-closed media account scope with org_scope claim [SH-221] 2026-08-06 10:26:04 -03:00
Vendor_DTO.cs feat(vendors): confirm-to-deactivate with open work orders (SH-254) 2026-08-19 13:31:16 -03:00
Workorder_DTO.cs fix(work-orders): apply account scope across create and reads [SH-221] 2026-08-11 10:45:37 -03:00