From 343423b2b6806f824838a4cdb343cecbf1960f4e 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 (cherry picked from commit 545504e6041809b2ec5d435f9a8660428ec60e52) Solved Conflicts: koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt Signed-off-by: Bernardo Gonzalez Kriegel (cherry picked from commit 545504e6041809b2ec5d435f9a8660428ec60e52) --- .../prog/en/modules/members/memberentrygen.tt | 12 ++++-------- 1 file changed, 4 insertions(+), 8 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 23d4ca2004..6c788dd43e 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt @@ -988,18 +988,13 @@ [% END %] [% UNLESS nobranchcode %]
  • - [% IF ( mandatorybranchcode ) %] -
  • [% END %]
  • - + + Required
  • [% UNLESS nosort1 %]
  • -- 2.39.5