4 [% INCLUDE 'doc-head-open.inc' %]
5 <title>Summary for [% firstname %] [% surname %] ([% cardnumber %])</title>
6 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
7 <link rel="shortcut icon" href="[% IF ( IntranetFavicon ) %][% IntranetFavicon %][% ELSE %][% interface %]/[% theme %]/img/favicon.ico[% END %]" type="image/x-icon" />
8 <link rel="stylesheet" type="text/css" href="[% themelang %]/css/print.css" />
9 [% INCLUDE 'slip-print.inc' #printThenClose %]
11 <body id="pat_moremember-print" class="pat" onload="printThenClose();">
13 <h3><a href="/cgi-bin/koha/circ/circulation.pl?findborrower=[% cardnumber %]">Account summary: [% firstname %] [% surname %] ([% cardnumber %])</a></h3>
16 <li>[% address %]<br />[% address2 %]</li>
17 <li>[% city %], [% zipcode %]</li>
18 <li>[% IF ( phone ) %][% phone %][% ELSE %](no phone number on file)[% END %]</li>
19 <li>[% IF ( email ) %][% email %][% ELSE %](no primary email on file)[% END %]</li>
21 <li>[% emailpro %]</li>
23 <li>Registration date: [% dateenrolled | $KohaDates %]</li>
24 <li>Expiration date: [% dateexpiry | $KohaDates %]</li>
25 <li>Library: [% Branches.GetName( branchcode ) %]</li>
26 <li>Category: [% description %]</li>
31 <caption>Items checked out</caption>
44 [% FOREACH issue IN issues %]
45 [% IF ( issue.overdue ) %]<tr class="overdue">[% ELSE %]<tr>[% END %]
47 [% issue.title |html %]
48 <a href="/cgi-bin/koha/catalogue/detail.pl?item=[% issue.itemnumber %]&biblionumber=[% issue.biblionumber %]&bi=[% issue.biblioitemnumber %]"></a>
50 <td>[% issue.author %]</td>
51 <td>[% issue.itemcallnumber %]</td>
52 <td>[% issue.itemtype_description %]</td>
53 <td>[% issue.date_due | $KohaDates as_due_date => 1 %]</td>
54 <td>[% issue.barcode %]</td>
55 <td>[% issue.charge %]</td>
56 <td>[% issue.replacementprice %]</td>
57 <td>[% IF ( issue.overdue ) %]Overdue![% ELSE %] [% END %]</td>
62 <td colspan="6" style="text-align: right; font-weight:bold;">Totals:</td>
63 <td>[% totaldue %]</td>
64 <td>[% totalprice %]</td>
65 <td colspan="3"> </td>
70 [% IF ( accounts && ( totaldue != '0.00' ) ) %]
72 <caption>Account fines and payments</caption>
74 <th>Description of charges</th>
80 [% FOREACH account IN accounts %]
81 [% NEXT IF account.amountoutstanding == '0.00' %]
84 [% IF ( account.itemnumber ) %]<a href="/cgi-bin/koha/catalogue/moredetail.pl?biblionumber=[% account.biblionumber %]&itemnumber=[% account.itemnumber %]">[% END %]
85 [% account.description %] [% IF ( account.printtitle ) %] [% account.title |html %][% END %]
86 [% IF ( account.itemnumber ) %]</a>[% END %]
88 <td>[% account.date | $KohaDates %]</td>
89 <td>[% account.amount %]</td>
90 <td>[% account.amountoutstanding %]</td>
96 <td colspan="3">Total due</td>
97 <td colspan="2">[% totaldue %]</td>
103 [% INCLUDE 'intranet-bottom.inc' %]