@MariusJulius What exactly the "Tühista" button in "Tehnilised sätted" view should do?
Currently it clears all fields and user cannot edit any field anymore nor click on "Kinnita muudatused".
2 possible options:
If it should cancel editing - then this button should be disabled until user edits any field. After clicking the tühista button, the fields should be as they were before the editing
If it should clear all fields - then it should enter the value "0" into all fields (value must be between 0 and 100, not empty) and the user should be able to click on "Kinnita muudatused"
(3.) or anything else ?
Upd: I think 1st should be correct, because it is also in kasutajate haldus ->user detail view.
Wiki
User has the privilege: "Asutuse hinnakirja vaatamine" (view_institution_price_rate)
No action buttons are shown
Currently the user can click on tühista button that clears all fields.
In all other views (except in edit order view), when user edits something, the save button turns blue. If user changes back to how it was before editing, the save button will turn grey back. This doesn't happen in this view. So, the user can send pointless database queries.
@MariusJulius What exactly the "Tühista" button in "Tehnilised sätted" view should do? Currently it clears all fields and user cannot edit any field anymore nor click on "Kinnita muudatused". 2 possible options:
(3.) or anything else ? Upd: I think 1st should be correct, because it is also in kasutajate haldus ->user detail view.
Currently the user can click on tühista button that clears all fields.