mirror of
https://github.com/Sea-Haven-Industries/shoc-frontend-new.git
synced 2026-10-05 21:12:07 +00:00
Selecting a work-order type on wizard step 1 only patched type and severity, leaving pm, serviceId, extraServices, and the vendor filtered by that service in the draft. Switching type (e.g. PM -> Reactive) then submitted a serviceId that is not in the new type's registry list, which backend ResolveServiceAsync (SH-187/#131) rejects as ServiceInvalid and the create toast renders as the generic "Unable to create the work order". Clear the service and its vendor whenever the type actually changes; re-selecting the same type leaves the selection untouched. |
||
|---|---|---|
| .. | ||
| accounts | ||
| assets | ||
| calendar | ||
| contacts | ||
| employees | ||
| followups | ||
| locations | ||
| notifications | ||
| pmschedules | ||
| settings | ||
| uplifts | ||
| vendor-pos | ||
| vendors | ||
| workorders | ||
| _layout.tsx | ||
| dashboard.tsx | ||
| index.tsx | ||