Koha/members
Jonathan Druart cc393df50f Bug 11925: Check ages limits when creating/updating patrons
The check on the ages limits is only done when the dateofbirth field is
mandatory, which does not make any sense.
This check should be done when the field is filled.

Test plan:
1/ Remove the dateofbirth field from the BorrowerMandatoryField pref
2/ Create a patron category for teenager (say between 12-17y)
3/ Try to create a patron in this category outside the range of the ages
limits.
You should not be able to do it.

Signed-off-by: Christopher Brannon <cbrannon@cdalibary.org>

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
2015-05-20 11:19:07 -03:00
..
boraccount.pl Bug 4041: (QA followup) fix issues raised by koha-qa.pl 2015-04-29 12:04:07 -03:00
default_messageprefs.pl Bug 9978: Replace license header with the correct license (GPLv3+) 2015-04-20 09:59:38 -03:00
deletemem.pl Bug 13910: Prevent delete of one's own patron account 2015-05-14 11:45:40 -03:00
discharge.pl Bug 8007: (QA followup) Add error handling when generating the pdf 2015-04-30 12:34:21 -03:00
discharges.pl Bug 8007: Discharge management 2015-04-30 12:33:56 -03:00
files.pl Bug 9978: Replace license header with the correct license (GPLv3+) 2015-04-20 09:59:38 -03:00
guarantor_search.pl Bug 13891: DataTables server-side processing - Fix regressions 2015-04-13 10:55:30 -03:00
mancredit.pl Bug 4041: Third step - Display address on patron's pages using the system preference 2015-04-29 11:25:11 -03:00
maninvoice.pl Bug 4041: Third step - Display address on patron's pages using the system preference 2015-04-29 11:25:11 -03:00
member-flags.pl Bug 11944: use CGI( -utf8 ) everywhere 2015-01-13 13:07:21 -03:00
member-password.pl Bug 11944: use CGI( -utf8 ) everywhere 2015-01-13 13:07:21 -03:00
member.pl Bug 7380: Rename filter to avoid confusion 2015-05-19 10:10:31 -03:00
memberentry.pl Bug 11925: Check ages limits when creating/updating patrons 2015-05-20 11:19:07 -03:00
members-home.pl Bug 9978: Replace license header with the correct license (GPLv3+) 2015-04-20 09:59:38 -03:00
members-update-do.pl Bug 9978: Replace license header with the correct license (GPLv3+) 2015-04-20 09:59:38 -03:00
members-update.pl Bug 9978: Replace license header with the correct license (GPLv3+) 2015-04-20 09:59:38 -03:00
mod_debarment.pl Bug 11944: use CGI( -utf8 ) everywhere 2015-01-13 13:07:21 -03:00
moremember.pl Bug 13910: Prevent delete of one's own patron account 2015-05-14 11:45:40 -03:00
nl-search.pl Bug 14038: Make nl-search.pl not using C4::Members::Search 2015-05-15 15:37:09 -03:00
notices.pl Bug 4041: Third step - Display address on patron's pages using the system preference 2015-04-29 11:25:11 -03:00
patronimage.pl Bug 9978: Replace license header with the correct license (GPLv3+) 2015-04-20 09:59:38 -03:00
pay.pl Bug 4041: Third step - Display address on patron's pages using the system preference 2015-04-29 11:25:11 -03:00
paycollect.pl Bug 4041: Third step - Display address on patron's pages using the system preference 2015-04-29 11:25:11 -03:00
printfeercpt.pl Bug 9978: Replace license header with the correct license (GPLv3+) 2015-04-20 09:59:38 -03:00
printinvoice.pl Bug 9978: Replace license header with the correct license (GPLv3+) 2015-04-20 09:59:38 -03:00
printslip.pl Bug 9978: Replace license header with the correct license (GPLv3+) 2015-04-20 09:59:38 -03:00
purchase-suggestions.pl Bug 4041: Third step - Display address on patron's pages using the system preference 2015-04-29 11:25:11 -03:00
readingrec.pl Bug 4041: Third step - Display address on patron's pages using the system preference 2015-04-29 11:25:11 -03:00
routing-lists.pl Bug 4041: Third step - Display address on patron's pages using the system preference 2015-04-29 11:25:11 -03:00
setstatus.pl Bug 9978: Replace license header with the correct license (GPLv3+) 2015-04-20 09:59:38 -03:00
statistics.pl Bug 4041: Third step - Display address on patron's pages using the system preference 2015-04-29 11:25:11 -03:00
summary-print.pl Bug 10423: Show date due with time if it's a hourly loan 2015-04-24 20:15:50 -03:00
update-child.pl Bug 9978: Replace license header with the correct license (GPLv3+) 2015-04-20 09:59:38 -03:00