Merge remote branch 'kc/new/enh/bug_5431' into kcmaster
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / modules / members / moremember-receipt.tt
1 [% INCLUDE 'doc-head-open.inc' %]
2 <title>Print Receipt for [% 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
7 <script language="javascript">
8         window.print();
9         window.close();
10 </script>
11 </head>
12 <body>
13
14 <div id="receipt">
15
16 <h3>[% LibraryName %]</h3>
17 [% IF ( branchname ) %][% branchname %]<br />[% END %]
18 Checked out to [% firstname %] [% surname %] <br />
19 (<a href="/cgi-bin/koha/circ/circulation.pl?findborrower=[% cardnumber %]">[% cardnumber %]</a>)<br />
20
21 [% todaysdate %]<br />
22
23 [% IF ( quickslip ) %]
24 <h4>Checked Out Today</h4>
25 [% FOREACH issueloo IN issueloop %]
26 [% IF ( issueloo.red ) %][% ELSE %]
27 [% IF ( issueloo.today ) %]
28 <p><a href="/cgi-bin/koha/catalogue/detail.pl?item=[% issueloo.itemnumber %]&amp;biblionumber=[% issueloo.biblionumber %]&amp;bi=[% issueloo.biblioitemnumber %]">[% issueloo.title |html %]</a><br />
29 Barcode: [% issueloo.barcode %]<br />
30 Date due: [% issueloo.date_due %]<br /></p>
31     [% END %]
32     [% END %]
33     [% END %]
34
35 [% ELSE %]
36 <h4>Checked Out</h4>
37 [% FOREACH issueloo IN issueloop %]
38 [% IF ( issueloo.red ) %][% ELSE %]
39 <p><a href="/cgi-bin/koha/catalogue/detail.pl?item=[% issueloo.itemnumber %]&amp;biblionumber=[% issueloo.biblionumber %]&amp;bi=[% issueloo.biblioitemnumber %]">[% issueloo.title |html %]</a><br />
40 Barcode: [% issueloo.barcode %]<br />
41 Date due: [% issueloo.date_due %]<br /></p>
42     [% END %]
43     [% END %]
44
45 [% END %]
46
47 [% IF ( quickslip ) %]
48 [% ELSE %]
49 [% IF ( overdues_exist ) %]
50 <h4>Overdues</h4>
51     [% FOREACH issueloo IN issueloop %]
52     [% IF ( issueloo.red ) %]
53 <p><a href="/cgi-bin/koha/catalogue/detail.pl?item=[% issueloo.itemnumber %]&amp;biblionumber=[% issueloo.biblionumber %]&amp;bi=[% issueloo.biblioitemnumber %]">[% issueloo.title |html %]</a><br />
54 Barcode: [% issueloo.barcode %]<br />
55 Date due: [% issueloo.date_due %]</p>
56 [% END %]
57 [% END %]
58 [% END %]
59 [% END %]
60
61 [% IF ( koha_news_count ) %]
62             <hr><h4 style="text-align: center; font-style:italic;">News</h4>
63                        <!-- [% koha_news_count %] recent news item(s) -->
64             [% FOREACH koha_new IN koha_news %]
65                     <div class="newsitem" id="news[% koha_new.idnew %]"><h5 style="margin-bottom: 1px; margin-top: 1px"><b>[% koha_new.title %]</b></h5>
66                                         <p style="margin-bottom: 1px; margin-top: 1px">[% koha_new.new %]</p>
67                                        <p class="newsfooter" style="font-size: 8pt; font-style:italic; margin-bottom: 1px; margin-top: 1px"> Posted on [% koha_new.newdate %]
68
69 </p><hr /></div>
70             [% END %]
71 [% END %]
72
73
74 [% INCLUDE 'intranet-bottom.inc' %]