7 [% PROCESS 'accounts.inc' %]
9 [% INCLUDE 'doc-head-open.inc' %]
10 <title>Summary for [% patron.firstname | html %] [% patron.surname | html %] ([% patron.cardnumber | html %])</title>
11 [% INCLUDE 'doc-head-close.inc' %]
14 <body id="pat_moremember-print" class="pat">
16 <h3><a href="/cgi-bin/koha/circ/circulation.pl?findborrower=[% patron.cardnumber | uri %]">Account summary: [% patron.firstname | html %] [% patron.surname | html %] ([% patron.cardnumber | html %])</a></h3>
19 [% IF Koha.Preference( 'AddressFormat' ) %]
20 [% INCLUDE "member-display-address-style-${ Koha.Preference( 'AddressFormat' ) }.inc" %]
22 [% INCLUDE 'member-display-address-style-us.inc' %]
24 <li>[% IF ( patron.phone ) %][% patron.phone | html %][% ELSE %](no phone number on file)[% END %]</li>
25 <li>[% IF ( patron.email ) %][% patron.email | html %][% ELSE %](no primary email on file)[% END %]</li>
26 [% IF ( patron.emailpro ) %]
27 <li>[% patron.emailpro | html %]</li>
29 <li>Registration date: [% patron.dateenrolled | $KohaDates %]</li>
30 <li>Expiration date: [% patron.dateexpiry | $KohaDates %]</li>
31 <li>Library: [% Branches.GetName( patron.branchcode ) | html %]</li>
32 <li>Category: [% patron.category.description | html %]</li>
37 <caption>Items checked out</caption>
50 [% FOREACH issue IN issues %]
51 [% IF ( issue.overdue ) %]<tr class="overdue">[% ELSE %]<tr>[% END %]
53 [% issue.title | html %]
54 <a href="/cgi-bin/koha/catalogue/detail.pl?item=[% issue.itemnumber | uri %]&biblionumber=[% issue.biblionumber | uri %]&bi=[% issue.biblioitemnumber | uri %]"></a>
56 <td>[% issue.author | html %]</td>
57 <td>[% issue.itemcallnumber | html %]</td>
58 <td>[% issue.itemtype_description | html %]</td>
59 <td>[% issue.date_due | $KohaDates as_due_date => 1 | html %]</td>
60 <td>[% issue.barcode | html %]</td>
61 <td>[% issue.charge | html %]</td>
62 <td>[% issue.replacementprice | html %]</td>
63 <td>[% IF ( issue.overdue ) %]Overdue![% ELSE %] [% END %]</td>
68 <td colspan="6" style="text-align: right; font-weight:bold;">Totals:</td>
69 <td>[% totaldue | html %]</td>
70 <td>[% totalprice | html %]</td>
71 <td colspan="3"> </td>
78 <caption>Pending holds</caption>
84 <th>Pick up location</th>
87 [% FOREACH reserve IN reserves %]
89 <td>[% reserve.title | html %]</td>
90 <td>[% reserve.author | html %]</td>
91 <td>[% reserve.reservedate | $KohaDates %]</td>
92 <td>[% reserve.expirationdate | $KohaDates %]</td>
93 <td>[% reserve.waiting_at | html %]</td>
98 [% IF accounts && totaldue != 0 %]
99 <table id="table_account_fines">
100 <caption>Account fines and payments</caption>
104 <th>Description of charges</th>
111 [% FOREACH account IN accounts %]
113 <td>[% account.date | $KohaDates %]</td>
115 [% PROCESS account_type_description account=account %]
116 [%- IF account.payment_type %]
117 , [% AuthorisedValues.GetByCode('PAYMENT_TYPE', account.payment_type) | html %]
119 [%- IF account.description %]
120 , [% account.description | html %]
123 [% IF ( account.itemnumber AND account.accounttype != 'F' AND account.accounttype != 'FU' ) %]
124 <a href="/cgi-bin/koha/catalogue/moredetail.pl?biblionumber=[% account.item.biblionumber | uri %]&itemnumber=[% account.itemnumber | uri %]">[% account.item.biblio.title | html %]</a>
128 [% account.note | html_line_break %]
130 [% IF ( account.amount < 0 ) %]
131 <td class="credit" style="text-align: right;">
133 <td class="debit" style="text-align: right;">
134 [% END %][% account.amount | $Price %]
136 [% IF ( account.amountoutstanding < 0 ) %]
137 <td class="credit" style="text-align: right;">
139 <td class="debit" style="text-align: right;">
141 [% account.amountoutstanding | $Price %]
148 <td colspan="4">Total due</td>
149 <td colspan="2" style="text-align:right;">[% totaldue | $Price %]</td>
155 [% MACRO jsinclude BLOCK %]
156 [% INCLUDE 'slip-print.inc' #printThenClose %]
159 [% INCLUDE 'intranet-bottom.inc' %]