]> git.koha-community.org Git - koha.git/commit
Bug 20781: Set a minimum enrollemnt period 'in months' of 1
authorNick Clemens <nick@bywatersolutions.com>
Fri, 18 May 2018 14:01:09 +0000 (14:01 +0000)
committerFridolin Somers <fridolin.somers@biblibre.com>
Thu, 7 Jun 2018 06:02:29 +0000 (08:02 +0200)
commit3f3ba9caf06ab8ca5dfa32551d9a84e52ba68f5d
tree11e50fe7e6d3eebc068229c5fa3687cde8e887fb
parent4a1db4935500f465eddef9199a31b5ef158fdb89
Bug 20781: Set a minimum enrollemnt period 'in months' of 1

To test:
 1 - Browse to Admin->Patron Categories
 2 - Click '+ New category'
 3 - Enter data as required, however, enter 0 in 'Enrolment period' ->
'in months'
 4 - Save
 5 - View the list of categories, the new category has 'Enrolment period'
= 'until'
 6 - Create a patron in this category, note their dateexipry is
'0000-00-00'
 7 - Search for them
 8 - internal server error
 9 - Delete that patron
10 - Apply patch
11 - Edit the category, note you cannot save with 0 months
12 - Set 1 month and save
13 - Create a patron in this cateogry
14 - Note they have a valid dateexpiry
15 - Search for them
16 - All works
17 - Create a new category and verify you cannot add with 0 months

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
(cherry picked from commit 59989e7be4e4c697b0ef316eab53b6450f5edb58)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
koha-tmpl/intranet-tmpl/prog/en/js/categories.js