diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/modborrowers.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/modborrowers.tt index 476f98b2e4..ed7cd00492 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/modborrowers.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/modborrowers.tt @@ -231,124 +231,122 @@ [% END %] [% IF borrowers %]
| + [% ELSE %] + | + [% END %] + | Card number | +Surname | +First name | +Library | +Patron category | +Street number | +Address | +Address 2 | +City | +State | +ZIP/Postal code | +Country | +Primary email | +Primary phone | +Other phone | +Fax | +Registration date | +Expiry date | + [% IF CanUpdatePasswordExpiration %] +Password expiration date | + [% END %] + [% IF CanUpdateProtectPatron %] +Protected | + [% END %] +Circulation note | +OPAC note | +Message | +Restriction expiration | +Restriction comment | + [% FOREACH attrh IN attributes_header %] +[% attrh.attribute | html %] | + [% END %] +||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| + | [% ELSE %] - | + | [% END %] - | Card number | -Surname | -First name | -Library | -Patron category | -Street number | -Address | -Address 2 | -City | -State | -ZIP/Postal code | -Country | -Primary email | -Primary phone | -Other phone | -Fax | -Registration date | -Expiry date | + + +[% borrower.cardnumber | html %] | +[% borrower.surname | html %] | +[% borrower.firstname | html %] | +[% Branches.GetName( borrower.branchcode ) | html %] | +[% Categories.GetName(borrower.categorycode) | html %] | +[% borrower.streetnumber | html %] | +[% borrower.address | html %] | +[% borrower.address2 | html %] | +[% borrower.city | html %] | +[% borrower.state | html %] | +[% borrower.zipcode | html %] | +[% borrower.country | html %] | +[% borrower.email | html %] | +[% borrower.phone | html %] | +[% borrower.mobile | html %] | +[% borrower.fax | html %] | +[% borrower.dateenrolled | $KohaDates %] | +[% borrower.dateexpiry | $KohaDates %] | [% IF CanUpdatePasswordExpiration %] -Password expiration date | + [% IF borrower.password_expiration_date %] ++ [% borrower.password_expiration_date | $KohaDates %] + | + [% ELSE %] +Never | + [% END %] [% END %] [% IF CanUpdateProtectPatron %] -Protected | ++ [% IF borrower.protected %] + Yes + [% ELSE %] + No + [% END %] + | [% END %] -Circulation note | -OPAC note | -Message | -Restriction expiration | -Restriction comment | - [% FOREACH attrh IN attributes_header %] -[% attrh.attribute | html %] | +[% borrower.borrowernotes | $raw | html_line_break %] | +[% borrower.opacnote | html %] | +
+ [% FOREACH patron_message IN borrower.patron_messages %]
+ [% patron_message.message | html %] + + [% IF (patron_message.message_type == 'B') %] + ( OPAC ) + [% ELSE %] + ( Staff ) + [% END %] + + [% END %] + |
+ [% borrower.debarred | $KohaDates %] | +[% borrower.debarredcomment | html %] | + [% FOREACH pa IN borrower.patron_attributes %] + [% IF ( pa.code ) %] + [%# Replace pa.attribute with pa.description if we prefer to display the description %] +[% pa.code | html %]=[% pa.attribute | html %] | + [% ELSE %] ++ [% END %] [% END %] |
| - [% ELSE %] - | - [% END %] - - | -[% borrower.cardnumber | html %] | -[% borrower.surname | html %] | -[% borrower.firstname | html %] | -[% Branches.GetName( borrower.branchcode ) | html %] | -[% Categories.GetName(borrower.categorycode) | html %] | -[% borrower.streetnumber | html %] | -[% borrower.address | html %] | -[% borrower.address2 | html %] | -[% borrower.city | html %] | -[% borrower.state | html %] | -[% borrower.zipcode | html %] | -[% borrower.country | html %] | -[% borrower.email | html %] | -[% borrower.phone | html %] | -[% borrower.mobile | html %] | -[% borrower.fax | html %] | -[% borrower.dateenrolled | $KohaDates %] | -[% borrower.dateexpiry | $KohaDates %] | - [% IF CanUpdatePasswordExpiration %] - [% IF borrower.password_expiration_date %] -- [% borrower.password_expiration_date | $KohaDates %] - | - [% ELSE %] -Never | - [% END %] - [% END %] - [% IF CanUpdateProtectPatron %] -- [% IF borrower.protected %] - Yes - [% ELSE %] - No - [% END %] - | - [% END %] -[% borrower.borrowernotes | $raw | html_line_break %] | -[% borrower.opacnote | html %] | -
- [% FOREACH patron_message IN borrower.patron_messages %]
- [% patron_message.message | html %] - - [% IF (patron_message.message_type == 'B') %] - ( OPAC ) - [% ELSE %] - ( Staff ) - [% END %] - - [% END %] - |
- [% borrower.debarred | $KohaDates %] | -[% borrower.debarredcomment | html %] | - [% FOREACH pa IN borrower.patron_attributes %] - [% IF ( pa.code ) %] - [%# Replace pa.attribute with pa.description if we prefer to display the description %] -[% pa.code | html %]=[% pa.attribute | html %] | - [% ELSE %] -- [% END %] - [% END %] - |