Minimizing responses for state change endpoints | - Data from submit/authorize/approve/skip/reject endpoint minimized by using a basic dto - this should impact UI calculations after some small changes, so we decide that we can merge these changes.
- This does not change much with the UI, except the offline requisition will no longer be overwritten when changing status
- There is some concern about the UI calculations not beiing sent to the backend for validation (the calculated fields are getting nulled) - but this commit does not really change things with this, currently the user is shown the UI calculations as well.
- We weren't sure if backend validates calculation, bust likely so - if this is the case, the UI should not set calculated values to null before sending. This would make us confident in the UI calculations.
|