Bug 26283: Add dateexpiry and dateenrolled to new borrower fields modal
authorKatrin Fischer <katrin.fischer.83@web.de>
Thu, 27 Aug 2020 07:30:54 +0000 (07:30 +0000)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Fri, 18 Sep 2020 09:49:29 +0000 (11:49 +0200)
commit4f3cb59a97df5fc954e9e807896e14af960237a9
tree4936e3679524c98204331085279a88f3c42f2f86
parent5ece5d7c7f739cbf2d4b81be767ff89a8c1204f5
Bug 26283: Add dateexpiry and dateenrolled to new borrower fields modal

While these may not make sense for all patron field preferences, I think
it's better to have them in general than to have them missing.

To test:
- Check the modal for BorrowerMandatoryField system preference
- Verify dateenrolled and dateexpiry fields are missing
- Apply patch
- Verify the dates are listed now
- Set both to mandatory
- Verify that they are indeed mandatory when adding a new patron now

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Julian Maurice <julian.maurice@biblibre.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/borrowers.json