From df8ad96cdc5c5b166d35edfed7a7dbefdce573f4 Mon Sep 17 00:00:00 2001 From: Katrin Fischer Date: Thu, 27 Aug 2020 07:30:54 +0000 Subject: [PATCH] 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 --- .../intranet-tmpl/prog/en/modules/admin/preferences/borrowers.json | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/borrowers.json b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/borrowers.json index fc1482fad7..62b75d2705 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/borrowers.json +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/borrowers.json @@ -30,6 +30,8 @@ "B_email": "B_email", "B_phone": "B_phone", "dateofbirth": "dateofbirth", + "dateenrolled": "dateenrolled", + "dateexpiry": "dateexpiry", "branchcode": "branchcode", "categorycode": "categorycode", "contactname": "contactname", @@ -50,4 +52,4 @@ "altcontactcountry": "altcontactcountry", "altcontactphone": "altcontactphone", "smsalertnumber": "smsalertnumber" -} \ No newline at end of file +} -- 2.11.0