This commit is contained in:
2021-05-15 00:28:50 +00:00
parent 2076b3d5c3
commit 78320a7dc1

View File

@@ -349,11 +349,12 @@ CURRENTLY DOING: labors (but involves contract change below)
todo: Server new wo auto contract resolution code,
if NEW record and contractid already set then use that otherwise find effective one and set (only way it's set automatically)
todo: work order alert notes isue:
todo: PUT SHOULD UPDATE IF VIZ (work order alert notes isue)
when update header (put) doesn't return populated viz alert notes as it should
I'm guessing this also should return the entire object to resolve this issue
probably every save of every bit should return that object, particularly if it has any populate viz fields
Test by changing customer or contract and save should show new alert notes
(same as done in svc-workorder.vue line 947 with labor, replicate that shit everywhere)
todo: replicate labor save code at front and back to the other contracted objects
- return full object, update accordingly