Task #1208
closedAllow edit another form definition in contract
100%
Description
Please allow edit another form definition in contract detail while is used contract slices. Now this isn't possible because contract is generated by slices and user is not able edit attributes.
Use case: user want edit some contract eav attributes directly trough contract detail, for this purpose will be awesome to use another form definition.
Updated by Vít Švanda over 6 years ago
- Status changed from In Progress to Needs feedback
- Assignee changed from Vít Švanda to Ondřej Kopr
- % Done changed from 0 to 90
Implemented.
- If is contract controlled by slice, then only main EAV definition is read only now.
- Realized on the FE (added new method to contract manager 'canSaveContract'). Realized on the BE (contract controller).
https://github.com/bcvsolutions/CzechIdMng/commit/3a71852c0f5287ca1e9b4787cd20928911cace68
Updated by Ondřej Kopr over 6 years ago
- Status changed from Needs feedback to Resolved
- Assignee changed from Ondřej Kopr to Vít Švanda
- % Done changed from 90 to 100
Thank you this feature, new form definition works as I expect. Only little UX issues is save button is visible for readonly definition, but this is minor thing.
Thank you Vitek.