8 [% PROCESS 'accounts.inc' %]
10 [% INCLUDE 'doc-head-open.inc' %]
11 <title>Summary for [% patron.firstname | html %] [% patron.surname | html %] ([% patron.cardnumber | html %])</title>
12 [% INCLUDE 'doc-head-close.inc' %]
15 <body id="pat_moremember-print" class="pat">
17 <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>
20 [% IF Koha.Preference( 'AddressFormat' ) %]
21 [% INCLUDE "member-display-address-style-${ Koha.Preference( 'AddressFormat' ) }.inc" %]
23 [% INCLUDE 'member-display-address-style-us.inc' %]
25 <li>[% IF ( patron.phone ) %][% patron.phone | html %][% ELSE %](no phone number on file)[% END %]</li>
26 <li>[% IF ( patron.email ) %][% patron.email | html %][% ELSE %](no primary email on file)[% END %]</li>
27 [% IF ( patron.emailpro ) %]
28 <li>[% patron.emailpro | html %]</li>
30 <li>Registration date: [% patron.dateenrolled | $KohaDates %]</li>
31 <li>Expiration date: [% patron.dateexpiry | $KohaDates %]</li>
32 <li>Library: [% Branches.GetName( patron.branchcode ) | html %]</li>
33 <li>Category: [% patron.category.description | html %]</li>
38 <caption>Items checked out</caption>
51 [% FOREACH issue IN issues %]
52 [% IF ( issue.overdue ) %]<tr class="overdue">[% ELSE %]<tr>[% END %]
54 [% issue.title | html %]
55 <a href="/cgi-bin/koha/catalogue/detail.pl?item=[% issue.itemnumber | uri %]&biblionumber=[% issue.biblionumber | uri %]&bi=[% issue.biblioitemnumber | uri %]"></a>
57 <td>[% issue.author | html %]</td>
58 <td>[% issue.itemcallnumber | html %]</td>
59 <td>[% ItemTypes.GetDescription( issue.itype ) | html %]</td>
60 <td>[% issue.date_due | $KohaDates as_due_date => 1 %]</td>
61 <td>[% issue.barcode | html %]</td>
62 <td>[% issue.charge | $Price %]</td>
63 <td>[% issue.replacementprice | $Price %]</td>
64 <td>[% IF ( issue.overdue ) %]Overdue![% ELSE %] [% END %]</td>
69 <td colspan="6" style="text-align: right; font-weight:bold;">Totals:</td>
70 <td>[% totaldue | $Price %]</td>
71 <td>[% totalprice | $Price %]</td>
72 <td colspan="3"> </td>
79 <caption>Pending holds</caption>
85 <th>Pick up location</th>
88 [% FOREACH reserve IN reserves %]
90 <td>[% reserve.title | html %]</td>
91 <td>[% reserve.author | html %]</td>
92 <td>[% reserve.reservedate | $KohaDates %]</td>
93 <td>[% reserve.expirationdate | $KohaDates %]</td>
94 <td>[% reserve.waiting_at | html %]</td>
99 [% IF accounts && totaldue != 0 %]
100 <table id="table_account_fines">
101 <caption>Account fines and payments</caption>
105 <th>Description of charges</th>
112 [% FOREACH account IN accounts %]
114 <td>[% account.date | $KohaDates %]</td>
116 [% PROCESS account_type_description account=account %]
117 [%- IF account.payment_type %]
118 , [% AuthorisedValues.GetByCode('PAYMENT_TYPE', account.payment_type) | html %]
120 [%- IF account.description %]
121 , [% account.description | html %]
124 [% IF ( account.itemnumber AND account.debit_type_code != 'OVERDUE' ) %]
125 <a href="/cgi-bin/koha/catalogue/moredetail.pl?biblionumber=[% account.item.biblionumber | uri %]&itemnumber=[% account.itemnumber | uri %]">[% account.item.biblio.title | html %]</a>
129 [% account.note | html_line_break %]
131 [% IF ( account.amount < 0 ) %]
132 <td class="credit" style="text-align: right;">
134 <td class="debit" style="text-align: right;">
135 [% END %][% account.amount | $Price %]
137 [% IF ( account.amountoutstanding < 0 ) %]
138 <td class="credit" style="text-align: right;">
140 <td class="debit" style="text-align: right;">
142 [% account.amountoutstanding | $Price %]
149 <td colspan="4">Total due</td>
150 <td colspan="2" style="text-align:right;">[% totaldue | $Price %]</td>
156 [% MACRO jsinclude BLOCK %]
157 [% INCLUDE 'slip-print.inc' #printThenClose %]
160 [% INCLUDE 'intranet-bottom.inc' %]