This commit is contained in:
2021-05-12 18:59:40 +00:00
parent 59908a8c40
commit ff62abdc55

View File

@@ -313,6 +313,14 @@ todo: contract in effect at server to set discounts etc
Would need to have a system to indicate a total refresh was necessary to reflect all pricing properly after contract applied
plus other things might need that as well, maybe if a full workorder is returned on save then it uses it otherwise just the
concurrency token is updated??
What if setting contract is only available as a dialog when the record is clean?
Displays as text with a change button, when you click on it, if the record is dirty it prompts to save first before proceeding
otherwise it pops up a dialog to select a new contract then immediately saves it
This avoids the whole issue because nothing else can be saved at the same time
Children don't need to think about changing contract it has one place to do it, maybe as it's own route entirely!!!
On success it will force a navigate to the same record to cleanly update.
Also this way people know it's a big deal to do it and it could also be wrapped in role restrictions easier too!!