This commit is contained in:
2021-05-17 19:57:36 +00:00
parent 14f31ce00b
commit bc054ebe90

View File

@@ -341,6 +341,15 @@ todo: many biz objects are not using new PUT methodology
CURRENTLY DOING: labors CURRENTLY DOING: labors
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)
CHANGED PUT ITEMS: expenses, workorder header, loans,outsideservice,parts, scheduledusers
todo: check contract expiry for applying!! todo: check contract expiry for applying!!
todo: Test back end correctly sets contract on new wo and correctly sets response time (complete by date) on NEW workorder todo: Test back end correctly sets contract on new wo and correctly sets response time (complete by date) on NEW workorder
@@ -349,12 +358,7 @@ CURRENTLY DOING: labors
todo: Server new wo auto contract resolution code, 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) if NEW record and contractid already set then use that otherwise find effective one and set (only way it's set automatically)
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 todo: replicate labor save code at front and back to the other contracted objects
- return full object, update accordingly - return full object, update accordingly