Merge remote-tracking branch 'kc/new/bug_6521' into kcmaster
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / modules / members / moremember-print.tt
1 [% INCLUDE 'doc-head-open.inc' %]
2 <title>Summary for [% firstname %] [% surname %] ([% cardnumber %])</title>
3 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
4 <link rel="shortcut icon" href="[% IF ( IntranetFavicon ) %][% IntranetFavicon %][% ELSE %][% themelang %]/includes/favicon.ico[% END %]" type="image/x-icon" />
5 <link rel="stylesheet" type="text/css" href="[% themelang %]/css/print.css" />
6 <script language="javascript">
7     function printThenClose() {
8         window.print();
9         window.close();
10     }
11 </script>
12 <body onload="printThenClose();">
13
14 </head>
15 <body>
16
17 <div id="main">
18
19 <h3><a href="/cgi-bin/koha/circ/circulation.pl?findborrower=[% cardnumber %]">Account Summary: [% firstname %] [% surname %] ([% cardnumber %])</a></h3>
20
21 <ul><li>[% address %]<br />[% address2 %]</li><li>[% city %], [% zipcode %]</li>
22 <li>[% IF ( phone ) %][% phone %][% ELSE %](no phone number on file)[% END %]</li>
23 <li>[% IF ( email ) %][% email %][% ELSE %](no primary email on file)[% END %]</li>
24 [% IF ( emailpro ) %]<li>[% emailpro %]</li>[% END %]
25 </ul>
26
27 [% IF ( issueloop ) %]
28 <table>
29         <caption>Items Checked Out</caption>
30         <tr>
31                 <th>Title</th>
32                 <th>Author</th>
33                 <th>Item Type</th>
34                 <th>Date Due</th>
35                 <th>Charge</th>
36                 <th>Price</th>
37                 <th>Status</th>
38         </tr>
39
40         [% FOREACH issueloo IN issueloop %]
41         [% IF ( issueloo.red ) %]<tr class="overdue">[% ELSE %]<tr>[% END %]
42                 <td>
43                 [% issueloo.title |html %]
44                 <a href="/cgi-bin/koha/catalogue/detail.pl?item=[% issueloo.itemnumber %]&amp;biblionumber=[% issueloo.biblionumber %]&amp;bi=[% issueloo.biblioitemnumber %]">
45                 </a>
46                 </td>
47                 <td>[% issueloo.author %]</td>
48                 <td>[% issueloo.itemtype_description %]</td>
49                 <td>[% issueloo.date_due %]</td>
50                 <td>[% issueloo.charge %]</td>
51                 <td>[% issueloo.replacementprice %]</td>
52                 <td>[% IF ( issueloo.red ) %]Overdue![% ELSE %]&nbsp;[% END %]</td>
53         </tr>
54         [% END %]
55         <tr>
56             <td colspan="4" style="text-align: right; font-weight:bold;">Totals:</td>
57             <td>[% totaldue %]</td>
58             <td>[% totalprice %]</td>
59             <td colspan="2">&nbsp;</td>
60         </tr>
61         </table>
62         [% END %]
63         
64 [% IF ( reserveloop ) %]
65 <table>
66         <caption>Items on Reserve</caption>
67         <tr>
68                 <th>Title</th>
69                 <th>Author</th>
70                 <th>Format</th>
71                 <th>Requested</th>
72         </tr>
73
74 [% FOREACH reserveloo IN reserveloop %]
75         <tr>
76                 <td><a href="/cgi-bin/koha/reserve/request.pl?biblionumber=[% reserveloo.biblionumber %]">[% reserveloo.btitle %]</a></td>
77                 <td>[% reserveloo.author %]</td>
78                 <td>[% reserveloo.description %]</td>
79                 <td>[% reserveloo.reservedate2 %]</td>
80         </tr>
81         [% END %]
82 </table>
83 [% END %]
84
85 [% INCLUDE 'intranet-bottom.inc' %]