openspp-modules icon indicating copy to clipboard operation
openspp-modules copied to clipboard

Display validation error when saving a farmer group without head

Open reichie020212 opened this issue 1 year ago • 0 comments

https://github.com/OpenSPP/openspp-acf/issues/38

Actual: Able to delete all members for a farmer group including head farmer, and save.

Image

Expected:

Must require to have 1 head member per farmer group. else an error should display Transfer head status from farmer created by farmer tab to another member added via "add a line" should be possible Delete any members from farmer group except the head member should be possible. Farmer tab information should always display the information of the current head member of farmer group Any modification on the head member's information should reflect to both farmer tab, members tab. and in Individuals page. deleting the head member of farmer group from INDIVIDUALS module should not be possible. deleting the head member of farmer group from Farmer tab should not be possible

reichie020212 avatar Aug 19 '24 02:08 reichie020212