X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=koha-tmpl%2Fintranet-tmpl%2Fprog%2Fen%2Fmodules%2Fmembers%2Fmoremember-print.tt;h=66f13d74c4e82c2f9e11bd602eb80e0c684299f6;hb=d5dc05c0d0f3500ff385767e1242b8c1d96b5384;hp=92526e8a9a8de22717cda43a3e2bd3b5ed3041dd;hpb=c0b51eafddb2721de247b2f0dd3b9a33048db13d;p=koha.git
diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember-print.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember-print.tt
index 92526e8a9a..66f13d74c4 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember-print.tt
+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember-print.tt
@@ -1,11 +1,13 @@
[% USE Koha %]
[% USE Branches %]
[% USE KohaDates %]
+[% USE Price %]
[% INCLUDE 'doc-head-open.inc' %]
Summary for [% firstname %] [% surname %] ([% cardnumber %])
+ [% INCLUDE 'doc-head-close.inc' %]
-
+
[% INCLUDE 'slip-print.inc' #printThenClose %]
@@ -13,8 +15,11 @@
- - [% address %]
[% address2 %]
- - [% city %], [% zipcode %]
+ [% IF Koha.Preference( 'AddressFormat' ) %]
+ [% INCLUDE "member-display-address-style-${ Koha.Preference( 'AddressFormat' ) }.inc" %]
+ [% ELSE %]
+ [% INCLUDE 'member-display-address-style-us.inc' %]
+ [% END %]
- [% IF ( phone ) %][% phone %][% ELSE %](no phone number on file)[% END %]
- [% IF ( email ) %][% email %][% ELSE %](no primary email on file)[% END %]
[% IF ( emailpro ) %]
@@ -67,7 +72,29 @@
[% END %]
- [% IF ( accounts && ( totaldue != '0.00' ) ) %]
+ [% IF ( reserves ) %]
+
+ Pending holds
+
+ Title |
+ Author |
+ Placed on |
+ Expires on |
+ Pick up location |
+
+
+ [% FOREACH reserve IN reserves %]
+
+ [% reserve.title %] |
+ [% reserve.author %] |
+ [% reserve.reservedate | $KohaDates %] |
+ [% reserve.expirationdate | $KohaDates %] |
+ [% reserve.waiting_at %] |
+
+ [% END %]
+
+ [% END %]
+ [% IF accounts && totaldue != 0 %]
Account fines and payments
@@ -78,7 +105,7 @@
[% FOREACH account IN accounts %]
- [% NEXT IF account.amountoutstanding == '0.00' %]
+ [% NEXT IF account.amountoutstanding == 0 %]
[% IF ( account.itemnumber ) %][% END %]
@@ -86,15 +113,15 @@
[% IF ( account.itemnumber ) %][% END %]
|
[% account.date | $KohaDates %] |
- [% account.amount %] |
- [% account.amountoutstanding %] |
+ [% account.amount | $Price %] |
+ [% account.amountoutstanding | $Price %] |
[% END %]
Total due |
- [% totaldue %] |
+ [% totaldue | $Price %] |