Merge branch 'new/bug11216' into 3.14.x
[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 %][% interface %]/[% theme %]/img/favicon.ico[% END %]" type="image/x-icon" />
5 <link rel="stylesheet" type="text/css" href="[% themelang %]/css/print.css" />
6 <script type="text/javascript">
7     function printThenClose() {
8         window.print();
9         window.close();
10     }
11 </script>
12 <body id="pat_moremember-print" class="pat" 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>Call no</th>
34         <th>Item type</th>
35         <th>Date due</th>
36         <th>Barcode</th>
37                 <th>Charge</th>
38                 <th>Price</th>
39                 <th>Status</th>
40         </tr>
41
42         [% FOREACH issueloo IN issueloop %]
43         [% IF ( issueloo.red ) %]<tr class="overdue">[% ELSE %]<tr>[% END %]
44                 <td>
45                 [% issueloo.title |html %]
46                 <a href="/cgi-bin/koha/catalogue/detail.pl?item=[% issueloo.itemnumber %]&amp;biblionumber=[% issueloo.biblionumber %]&amp;bi=[% issueloo.biblioitemnumber %]">
47                 </a>
48                 </td>
49                 <td>[% issueloo.author %]</td>
50                 <td>[% issueloo.itemcallnumber %]</td>
51                 <td>[% issueloo.itemtype_description %]</td>
52                 <td>[% issueloo.date_due %]</td>
53                 <td>[% issueloo.barcode %]</td>
54                 <td>[% issueloo.charge %]</td>
55                 <td>[% issueloo.replacementprice %]</td>
56                 <td>[% IF ( issueloo.red ) %]Overdue![% ELSE %]&nbsp;[% END %]</td>
57         </tr>
58         [% END %]
59         <tr>
60             <td colspan="6" style="text-align: right; font-weight:bold;">Totals:</td>
61             <td>[% totaldue %]</td>
62             <td>[% totalprice %]</td>
63             <td colspan="3">&nbsp;</td>
64         </tr>
65         </table>
66         [% END %]
67         
68 [% IF ( reserveloop ) %]
69 <table>
70         <caption>Items on Reserve</caption>
71         <tr>
72                 <th>Title</th>
73                 <th>Author</th>
74                 <th>Format</th>
75                 <th>Requested</th>
76         </tr>
77
78 [% FOREACH reserveloo IN reserveloop %]
79         <tr>
80                 <td><a href="/cgi-bin/koha/reserve/request.pl?biblionumber=[% reserveloo.biblionumber %]">[% reserveloo.btitle %]</a></td>
81                 <td>[% reserveloo.author %]</td>
82                 <td>[% reserveloo.description %]</td>
83                 <td>[% reserveloo.reservedate2 %]</td>
84         </tr>
85         [% END %]
86 </table>
87 [% END %]
88
89 [% INCLUDE 'intranet-bottom.inc' %]