mirror of
https://github.com/Sea-Haven-Industries/shoc-frontend-new.git
synced 2026-10-01 03:53:11 +00:00
The dialog's wording, its actions and its behaviour all diverged from the design prototype. It refused deactivation outright when the vendor had open work orders, which SH-44 and SH-82 left as an open question rather than a decided requirement. Deactivation with open work orders now proceeds on explicit confirmation: the design's title and body copy, the affected work orders listed as links, and "Deactivate anyway" in place of a disabled button. The API call carries confirmOpenWorkOrders so the server-side guard is cleared deliberately rather than removed. |
||
|---|---|---|
| .. | ||
| api | ||
| app | ||
| components | ||
| config | ||
| domain | ||
| hooks | ||
| infra/query-key | ||
| lib | ||
| providers | ||
| routing | ||
| styles | ||
| test | ||
| app-root.tsx | ||
| app-routes.tsx | ||
| logo.svg | ||
| main.tsx | ||
| vite-env.d.ts | ||