print notice that member returned all books
[koha_fer] / koha-tmpl / intranet-tmpl / prog / en / modules / members / moremember-print.tt
1 [% USE Koha %]
2 [% USE KohaDates %]
3 [% INCLUDE 'doc-head-open.inc' %]
4 <title>Summary for [% firstname %] [% surname %] ([% cardnumber %])</title>
5 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
6 <link rel="shortcut icon" href="[% IF ( IntranetFavicon ) %][% IntranetFavicon %][% ELSE %][% interface %]/[% theme %]/img/favicon.ico[% END %]" type="image/x-icon" />
7 <link rel="stylesheet" type="text/css" href="[% themelang %]/css/print.css" />
8 [% INCLUDE 'slip-print.inc' #printThenClose %]
9 <body id="pat_moremember-print" class="pat" onload="printThenClose();">
10
11 </head>
12 <body>
13
14 <div id="main">
15 <!--
16 <h3><a href="/cgi-bin/koha/circ/circulation.pl?findborrower=[% cardnumber %]">Account summary: [% firstname %] [% surname %] ([% cardnumber %])</a></h3>
17
18 <ul><li>[% address %]<br />[% address2 %]</li><li>[% city %], [% zipcode %]</li>
19 <li>[% IF ( phone ) %][% phone %][% ELSE %](no phone number on file)[% END %]</li>
20 <li>[% IF ( email ) %][% email %][% ELSE %](no primary email on file)[% END %]</li>
21 [% IF ( emailpro ) %]<li>[% emailpro %]</li>[% END %]
22 <li>Registration date: [% dateenrolled %]</li>
23 <li>Expiration date: [% dateexpiry %]</li>
24 <li>Library: [% branchname %]</li>
25 <li>Category: [% description %]</li>
26 </ul>
27 -->
28 [% IF ( issueloop ) %]
29 <table>
30     <caption>Items checked out</caption>
31         <tr>
32                 <th>Title</th>
33                 <th>Author</th>
34                 <th>Call no</th>
35         <th>Item type</th>
36         <th>Date due</th>
37         <th>Barcode</th>
38                 <th>Charge</th>
39                 <th>Price</th>
40                 <th>Status</th>
41         </tr>
42
43         [% FOREACH issueloo IN issueloop %]
44         [% IF ( issueloo.red ) %]<tr class="overdue">[% ELSE %]<tr>[% END %]
45                 <td>
46                 [% issueloo.title |html %]
47                 <a href="/cgi-bin/koha/catalogue/detail.pl?item=[% issueloo.itemnumber %]&amp;biblionumber=[% issueloo.biblionumber %]&amp;bi=[% issueloo.biblioitemnumber %]">
48                 </a>
49                 </td>
50                 <td>[% issueloo.author %]</td>
51                 <td>[% issueloo.itemcallnumber %]</td>
52                 <td>[% issueloo.itemtype_description %]</td>
53                 <td>[% issueloo.date_due %]</td>
54                 <td>[% issueloo.barcode %]</td>
55                 <td>[% issueloo.charge %]</td>
56                 <td>[% issueloo.replacementprice %]</td>
57                 <td>[% IF ( issueloo.red ) %]Overdue![% ELSE %]&nbsp;[% END %]</td>
58         </tr>
59         [% END %]
60         <tr>
61             <td colspan="6" style="text-align: right; font-weight:bold;">Totals:</td>
62             <td>[% totaldue %]</td>
63             <td>[% totalprice %]</td>
64             <td colspan="3">&nbsp;</td>
65         </tr>
66         </table>
67         [% END %]
68         
69 [% IF ( reserveloop ) %]
70 <table>
71         <caption>Items on Reserve</caption>
72         <tr>
73                 <th>Title</th>
74                 <th>Author</th>
75                 <th>Format</th>
76                 <th>Requested</th>
77         </tr>
78
79 [% FOREACH reserveloo IN reserveloop %]
80         <tr>
81                 <td><a href="/cgi-bin/koha/reserve/request.pl?biblionumber=[% reserveloo.biblionumber %]">[% reserveloo.btitle %]</a></td>
82                 <td>[% reserveloo.author %]</td>
83                 <td>[% reserveloo.description %]</td>
84                 <td>[% reserveloo.reservedate2 %]</td>
85         </tr>
86         [% END %]
87
88 [% ELSE %]
89 <p style="font-size: 110%">FAKULTET ELEKTROTEHNIKE I RAČUNARSTVA<br/>ZAGREB</p>
90 <p>&nbsp;</p>
91 <center><h3>POTVRDA</h3></center>
92 <p>&nbsp;</p>
93 <p>Potvrđuje se da je student/ica <strong><a href="/cgi-bin/koha/circ/circulation.pl?findborrower=[% cardnumber %]">[% firstname %] [% surname %] ([% cardnumber %])</a></strong> vratio/la sve knjige u Središnju knjižnicu fakulteta.</p>
94 <p>&nbsp;</p>
95 <p>U Zagrebu, [% date.format %]</p>
96 <p>&nbsp;</p>
97 <p>&nbsp;</p>
98 <p align="right">Za Knjižnicu:</p>
99
100
101
102 </table>
103 [% END %]
104
105 [% IF ( accounts && ( totaldue != '0.00' ) ) %]
106 <table>
107     <caption>Account fines and payments</caption>
108     <tr>
109         <th>Description of charges</th>
110         <th>Date</th>
111         <th>Amount</th>
112         <th>Outstanding</th>
113     </tr>
114     [% FOREACH account IN accounts %]
115     [% NEXT IF account.amountoutstanding == '0.00' %]
116     <tr>
117         <td>
118             [% IF ( account.itemnumber ) %]<a href="/cgi-bin/koha/catalogue/moredetail.pl?biblionumber=[% account.biblionumber %]&amp;itemnumber=[% account.itemnumber %]">[% END %]
119             [% account.description %]&nbsp;[% IF ( account.printtitle ) %] [% account.title |html %][% END %]
120             [% IF ( account.itemnumber ) %]</a>[% END %]
121         </td>
122         <td>[% account.date | $KohaDates %]</td>
123         <td>[% account.amount %]</td>
124         <td>[% account.amountoutstanding %]</td>
125     </tr>
126     [% END %]
127     <tfoot>
128         <tr>
129             <td colspan="3">Total due</td>
130             <td colspan="2">[% totaldue %]</td>
131         </tr>
132     </tfoot>
133 </table>
134 [% END %]
135
136 [% INCLUDE 'intranet-bottom.inc' %]