Bug 13618: Add html filters to all the variables
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / modules / members / moremember-receipt.tt
1 [% USE raw %]
2 [% USE Asset %]
3 [% USE Koha %]
4 [% SET footerjs = 1 %]
5 [% INCLUDE 'doc-head-open.inc' %]
6 <title>Print Receipt for [% cardnumber | html %]</title>
7 [% INCLUDE 'doc-head-close.inc' %]
8 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
9 <link rel="shortcut icon" href="[% IF ( IntranetFavicon ) %][% IntranetFavicon | html %][% ELSE %][% interface | html %]/[% theme | html %]/img/favicon.ico[% END %]" type="image/x-icon" />
10 [% Asset.css("css/print.css") | $raw %]
11 </head>
12
13 <body id="pat_moremember-receipt" class="pat">
14
15 <div id="receipt">
16
17 <h3>[% LibraryName | html %]</h3>
18 [% IF ( branchname ) %][% branchname | html %]<br />[% END %]
19 Checked out to [% firstname | html %] [% surname | html %] <br />
20 (<a href="/cgi-bin/koha/circ/circulation.pl?findborrower=[% cardnumber | html %]">[% cardnumber | html %]</a>)<br />
21
22 [% todaysdate | html %]<br />
23
24 [% IF ( quickslip ) %]
25 <h4>Checked out today</h4>
26 [% FOREACH issueloo IN issueloop %]
27 [% IF ( issueloo.red ) %][% ELSE %]
28 [% IF ( issueloo.today ) %]
29 <p><a href="/cgi-bin/koha/catalogue/detail.pl?item=[% issueloo.itemnumber | html %]&amp;biblionumber=[% issueloo.biblionumber | html %]&amp;bi=[% issueloo.biblioitemnumber | html %]">[% issueloo.title | html %]</a><br />
30 Barcode: [% issueloo.barcode | html %]<br />
31 Date due: [% issueloo.date_due | html %]<br /></p>
32     [% END %]
33     [% END %]
34     [% END %]
35
36 [% ELSE %]
37 <h4>Checked out</h4>
38 [% FOREACH issueloo IN issueloop %]
39 [% IF ( issueloo.red ) %][% ELSE %]
40 <p><a href="/cgi-bin/koha/catalogue/detail.pl?item=[% issueloo.itemnumber | html %]&amp;biblionumber=[% issueloo.biblionumber | html %]&amp;bi=[% issueloo.biblioitemnumber | html %]">[% issueloo.title | html %]</a><br />
41 Barcode: [% issueloo.barcode | html %]<br />
42 Date due: [% issueloo.date_due | html %]<br /></p>
43     [% END %]
44     [% END %]
45
46 [% END %]
47
48 [% IF ( quickslip ) %]
49 [% ELSE %]
50 [% IF ( overdues_exist ) %]
51 <h4>Overdues</h4>
52     [% FOREACH issueloo IN issueloop %]
53     [% IF ( issueloo.red ) %]
54 <p><a href="/cgi-bin/koha/catalogue/detail.pl?item=[% issueloo.itemnumber | html %]&amp;biblionumber=[% issueloo.biblionumber | html %]&amp;bi=[% issueloo.biblioitemnumber | html %]">[% issueloo.title | html %]</a><br />
55 Barcode: [% issueloo.barcode | html %]<br />
56 Date due: [% issueloo.date_due | html %]</p>
57 [% END %]
58 [% END %]
59 [% END %]
60 [% END %]
61
62 [% IF ( koha_news_count ) %]
63             <hr><h4 style="text-align: center; font-style:italic;">News</h4>
64                        <!-- [% koha_news_count | html %] recent news item(s) -->
65             [% FOREACH koha_new IN koha_news %]
66                     <div class="newsitem" id="news[% koha_new.idnew | html %]"><h5 style="margin-bottom: 1px; margin-top: 1px"><b>[% koha_new.title | html %]</b></h5>
67                                         <p style="margin-bottom: 1px; margin-top: 1px">[% koha_new.content | $raw %]</p>
68                                        <p class="newsfooter" style="font-size: 8pt; font-style:italic; margin-bottom: 1px; margin-top: 1px"> Posted on [% koha_new.newdate | html %]
69
70 </p><hr /></div>
71             [% END %]
72 [% END %]
73
74 [% MACRO jsinclude BLOCK %]
75     [% INCLUDE 'slip-print.inc' #printThenClose %]
76 [% END %]
77
78 [% INCLUDE 'intranet-bottom.inc' %]