Koha/members
Radek Šiman e30f09af91
Bug 17492: Add a warning about age being of-limits and a button to update it
This patch adds a warning if a patron's age is out of limits if an assigned category.
It also adds a button allowing to change the category.

Test plan:
1) Apply patch
2) Create a patron and assign him a category having age limits set
3) Change patron's age to be older/younger than category's limits
4) At "Check out" and "Details" tabs you should see a warning with a
button allowing to change the category, eg.:
 - http://prntscr.com/cz7ch3
 - http://prntscr.com/cz7em4
 - http://prntscr.com/cz7dj1
5) Set a valid category according to patron's age
6) Warning should disappear
7) Perform similar test again, but instead of changing the age change
the limits of a category
8) During tests verify "Change category" button everytime opens "Modify
patron" page:
  http://prntscr.com/cz7g5q
9) Ensure that left-side panel is always on its expected place
10) Remove patron's date of birth and test that all categories are
allowed now
11) Run automated tests: prove t/db_dependent/Koha/Patron.t

Signed-off-by: Marc Véron <veron@veron.ch>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Michal Denar <black23@gmail.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
2019-07-01 15:20:00 +01:00
..
accountline-details.pl
apikeys.pl Bug 21993: Display a user-friendly message when the CSRF token is wrong 2019-01-25 20:38:32 +00:00
boraccount.pl Bug 12159: Fix getting extended patron attributes for circ-menu 2019-03-28 13:05:22 +00:00
default_messageprefs.pl
deletemem.pl Bug 21993: Display a user-friendly message when the CSRF token is wrong 2019-01-25 20:38:32 +00:00
discharge.pl Bug 18789: Use Koha::Patron->image from the templates 2018-02-16 13:03:58 -03:00
discharges.pl Bug 18403: Patron discharges 2018-02-12 15:41:41 -03:00
files.pl Bug 12159: Fix getting extended patron attributes for circ-menu 2019-03-28 13:05:22 +00:00
guarantor_search.pl
holdshistory.pl
housebound.pl Bug 12159: Fix getting extended patron attributes for circ-menu 2019-03-28 13:05:22 +00:00
ill-requests.pl Bug 18589: (follow-up) Remove redundant-ness 2019-03-22 20:21:47 +00:00
mancredit.pl Bug 22600: Add 'interface' to accountlines 2019-04-10 19:43:11 +00:00
maninvoice.pl Bug 12159: Fix getting extended patron attributes for circ-menu 2019-03-28 13:05:22 +00:00
member-flags.pl Bug 12159: Fix getting extended patron attributes for circ-menu 2019-03-28 13:05:22 +00:00
member-password.pl Bug 12159: Fix getting extended patron attributes for circ-menu 2019-03-28 13:05:22 +00:00
member.pl Bug 20998: Simplify the conditional statement 2018-06-29 19:05:57 +00:00
memberentry.pl Bug 23082: Fatal error editing a restricted patron 2019-06-25 16:49:16 +01:00
members-home.pl
members-update-do.pl
members-update.pl
merge-patrons.pl Bug 9302: Add error message if keeper patron is invalid 2018-04-20 13:34:41 -03:00
mod_debarment.pl
moremember.pl Bug 17492: Add a warning about age being of-limits and a button to update it 2019-07-01 15:20:00 +01:00
notices.pl Bug 12159: Fix getting extended patron attributes for circ-menu 2019-03-28 13:05:22 +00:00
patronimage.pl
pay.pl Bug 22600: Add 'interface' to accountlines 2019-04-10 19:43:11 +00:00
paycollect.pl Bug 22724: Check permissions in the script before displaying template 2019-05-30 10:09:06 +00:00
print_overdues.pl
printfeercpt.pl Bug 22761: Add ability to use print version of ACCOUNT_CREDIT slip 2019-05-10 14:11:32 +00:00
printinvoice.pl Bug 22809: Move "INVOICE" from template to a slip 2019-05-10 14:39:39 +00:00
printslip.pl
purchase-suggestions.pl Bug 12159: Fix getting extended patron attributes for circ-menu 2019-03-28 13:05:22 +00:00
readingrec.pl Bug 12159: Fix getting extended patron attributes for circ-menu 2019-03-28 13:05:22 +00:00
routing-lists.pl Bug 12159: Fix getting extended patron attributes for circ-menu 2019-03-28 13:05:22 +00:00
setstatus.pl
statistics.pl Bug 12159: Fix getting extended patron attributes for circ-menu 2019-03-28 13:05:22 +00:00
summary-print.pl Bug 21013: Missing itemtype for checkut makes patron summary print explode 2019-04-10 20:09:50 +00:00
update-child.pl