From 545504e6041809b2ec5d435f9a8660428ec60e52 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Mon, 10 Jun 2013 11:14:41 -0400 Subject: [PATCH] Bug 10297 - categorycode and branchcode should be required when adding patrons categorycode and branchcode should show as required under all circumstances, not just when they are included in the BorrowerMandatoryField system preference. This patch adds the correct classes and hints to those fields. To test, view the patron entry form for a new or existing patron. Category and Library should show that they are required. Signed-off-by: David Cook Signed-off-by: Galen Charlton (cherry picked from commit 81bfae93649a2f1a93f4722d052fc529c6495d71) Signed-off-by: Tomas Cohen Arazi Logical addition --- .../prog/en/modules/members/memberentrygen.tt | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt index fa9ed0bf5d..a699918530 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt @@ -989,13 +989,8 @@ [% END %] [% UNLESS nobranchcode %]
  • - [%- IF ( mandatorybranchcode ) -%] -
  • [% END %]
  • - + + Required
  • [% UNLESS nosort1 %]
  • -- 2.39.5