Merge remote-tracking branch 'origin/new/bug_2780'
[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     function printThenClose() {
9         window.print();
10         window.close();
11     }
12 </script>
13 </head>
14 <body id="pat_moremember-receipt" class="pat" onload="printThenClose();">
15
16 <div id="receipt">
17
18 <h3>[% LibraryName %]</h3>
19 [% IF ( branchname ) %][% branchname %]<br />[% END %]
20 Checked out to [% firstname %] [% surname %] <br />
21 (<a href="/cgi-bin/koha/circ/circulation.pl?findborrower=[% cardnumber %]">[% cardnumber %]</a>)<br />
22
23 [% todaysdate %]<br />
24
25 [% IF ( quickslip ) %]
26 <h4>Checked uut today</h4>
27 [% FOREACH issueloo IN issueloop %]
28 [% IF ( issueloo.red ) %][% ELSE %]
29 [% IF ( issueloo.today ) %]
30 <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 />
31 Barcode: [% issueloo.barcode %]<br />
32 Date due: [% issueloo.date_due %]<br /></p>
33     [% END %]
34     [% END %]
35     [% END %]
36
37 [% ELSE %]
38 <h4>Checked out</h4>
39 [% FOREACH issueloo IN issueloop %]
40 [% IF ( issueloo.red ) %][% ELSE %]
41 <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 />
42 Barcode: [% issueloo.barcode %]<br />
43 Date due: [% issueloo.date_due %]<br /></p>
44     [% END %]
45     [% END %]
46
47 [% END %]
48
49 [% IF ( quickslip ) %]
50 [% ELSE %]
51 [% IF ( overdues_exist ) %]
52 <h4>Overdues</h4>
53     [% FOREACH issueloo IN issueloop %]
54     [% IF ( issueloo.red ) %]
55 <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 />
56 Barcode: [% issueloo.barcode %]<br />
57 Date due: [% issueloo.date_due %]</p>
58 [% END %]
59 [% END %]
60 [% END %]
61 [% END %]
62
63 [% IF ( koha_news_count ) %]
64             <hr><h4 style="text-align: center; font-style:italic;">News</h4>
65                        <!-- [% koha_news_count %] recent news item(s) -->
66             [% FOREACH koha_new IN koha_news %]
67                     <div class="newsitem" id="news[% koha_new.idnew %]"><h5 style="margin-bottom: 1px; margin-top: 1px"><b>[% koha_new.title %]</b></h5>
68                                         <p style="margin-bottom: 1px; margin-top: 1px">[% koha_new.new %]</p>
69                                        <p class="newsfooter" style="font-size: 8pt; font-style:italic; margin-bottom: 1px; margin-top: 1px"> Posted on [% koha_new.newdate %]
70
71 </p><hr /></div>
72             [% END %]
73 [% END %]
74
75
76 [% INCLUDE 'intranet-bottom.inc' %]