Bug 9763 - Add callnumber column to "print summary" for moremember.pl
[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 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>Charge</th>
37                 <th>Price</th>
38                 <th>Status</th>
39         </tr>
40
41         [% FOREACH issueloo IN issueloop %]
42         [% IF ( issueloo.red ) %]<tr class="overdue">[% ELSE %]<tr>[% END %]
43                 <td>
44                 [% issueloo.title |html %]
45                 <a href="/cgi-bin/koha/catalogue/detail.pl?item=[% issueloo.itemnumber %]&amp;biblionumber=[% issueloo.biblionumber %]&amp;bi=[% issueloo.biblioitemnumber %]">
46                 </a>
47                 </td>
48                 <td>[% issueloo.author %]</td>
49                 <td>[% issueloo.itemcallnumber %]</td>
50                 <td>[% issueloo.itemtype_description %]</td>
51                 <td>[% issueloo.date_due %]</td>
52                 <td>[% issueloo.charge %]</td>
53                 <td>[% issueloo.replacementprice %]</td>
54                 <td>[% IF ( issueloo.red ) %]Overdue![% ELSE %]&nbsp;[% END %]</td>
55         </tr>
56         [% END %]
57         <tr>
58             <td colspan="5" style="text-align: right; font-weight:bold;">Totals:</td>
59             <td>[% totaldue %]</td>
60             <td>[% totalprice %]</td>
61             <td colspan="2">&nbsp;</td>
62         </tr>
63         </table>
64         [% END %]
65         
66 [% IF ( reserveloop ) %]
67 <table>
68         <caption>Items on Reserve</caption>
69         <tr>
70                 <th>Title</th>
71                 <th>Author</th>
72                 <th>Format</th>
73                 <th>Requested</th>
74         </tr>
75
76 [% FOREACH reserveloo IN reserveloop %]
77         <tr>
78                 <td><a href="/cgi-bin/koha/reserve/request.pl?biblionumber=[% reserveloo.biblionumber %]">[% reserveloo.btitle %]</a></td>
79                 <td>[% reserveloo.author %]</td>
80                 <td>[% reserveloo.description %]</td>
81                 <td>[% reserveloo.reservedate2 %]</td>
82         </tr>
83         [% END %]
84 </table>
85 [% END %]
86
87 [% INCLUDE 'intranet-bottom.inc' %]