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 ed02f796ee..73a06fc874 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt @@ -653,33 +653,39 @@ $(document).ready(function() { Library management
    [% UNLESS nocardnumber %]
  1. - [% IF mandatorycardnumber and not autoMemberNum %] + [% IF mandatorycardnumber %] - [% END %] + Card number: + + [% IF minlength_cardnumber == maxlength_cardnumber %] - [% IF mandatorycardnumber and not autoMemberNum %]Required[% END %]Card number must not be more than [% maxlength_cardnumber %] characters. -
    Card number must be exactly [% minlength_cardnumber %] characters.
    + [% IF mandatorycardnumber %]Required[% END %]Card number must not be more than [% maxlength_cardnumber %] characters. +
    Card number must be exactly [% minlength_cardnumber %] characters. [% ELSIF minlength_cardnumber && maxlength_cardnumber %] - [% IF mandatorycardnumber and not autoMemberNum %]Required[% END %]Card number must not be more than [% maxlength_cardnumber %] characters. -
    Card number must be between [% minlength_cardnumber %] and [% maxlength_cardnumber %] characters.
    + [% IF mandatorycardnumber %]Required[% END %]Card number must not be more than [% maxlength_cardnumber %] characters. +
    Card number must be between [% minlength_cardnumber %] and [% maxlength_cardnumber %] characters. [% ELSIF maxlength_cardnumber %] - [% IF mandatorycardnumber and not autoMemberNum %]Required[% END %]Card number must not be more than [% maxlength_cardnumber %] characters. -
    Card number can be up to [% maxlength_cardnumber %] characters.
    + [% IF mandatorycardnumber %]Required[% END %]Card number must not be more than [% maxlength_cardnumber %] characters. +
    Card number can be up to [% maxlength_cardnumber %] characters. [% ELSE %] - [% IF mandatorycardnumber and not autoMemberNum %]Required[% END %] -
    There is no minimum or maximum character length.
    + [% IF mandatorycardnumber %]Required[% END %] +
    There is no minimum or maximum character length. [% END %] + [% IF autoMemberNum %] + [% IF mandatorycardnumber %] +
    AutoMemberNum is set to enabled, but cardnumber is marked as mandatory in BorrowerMandatoryField: auto calc has been disabled. + [% ELSE %] +
    Leave empty for auto calc during registration + [% END %] + [% END %] +
  2. [% END %] [% UNLESS nobranchcode %]