https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=38373
--- Comment #9 from David Nind <da...@davidnind.com> --- Created attachment 182779 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=182779&action=edit Bug 38373: Check if mandatory relationship is needed for non-patron guarantor This patch makes the non-guarantor relationship field mandatory only if a guarantor surname or first name is entered. Currently, if the relationship field is mandatory, you need to select a value even if there is no guarantor surname or first name. Test plan: 1) Add relationship as mandatory field 2) Add a child patron 3) See that the non-patron guarantor relationship is mandatory (note that it is mandtaory, even if there is no guarantor surname or first name) 4) Apply the patch 5) Add a child patron 6) See that the non-patron guarantor relationship is not mandatory 7) Fill surname or first name for the non-patron guarantor 8) See that the non-patron guarantor relationship turns mandatory Sponsored-by: Koha-Suomi Oy Signed-off-by: David Nind <da...@davidnind.com> -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list Koha-bugs@lists.koha-community.org https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/