Bug 14659: (QA followup) show cardnumber for existing borrowers

This would be incorrectly hidden when autoMemberNum is on.

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>

Signed-off-by: Brendan Gallagher brendan@bywatersolutions.com
This commit is contained in:
Jesse Weaver 2016-02-29 16:07:19 -07:00 committed by Brendan Gallagher
parent 14efe709f5
commit ddee7d513c

View file

@ -118,7 +118,7 @@
<legend id="library_legend">Library</legend>
<ol>
[% UNLESS hidden.defined('cardnumber') || Koha.Preference('autoMemberNum') %]
[% UNLESS hidden.defined('cardnumber') || ( !borrower && Koha.Preference('autoMemberNum') ) %]
<li>
[% IF mandatory.defined('cardnumber') %]
<label for="borrower_cardnumber" class="required">