Bug 34531: Fix template logic to not hide patron restrictions
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / modules / members / printinvoice.tt
1 [% USE raw %]
2 [% USE Asset %]
3 [% USE Koha %]
4 [% PROCESS 'i18n.inc' %]
5 [% SET footerjs = 1 %]
6 [% INCLUDE 'doc-head-open.inc' %]
7 <title>[% FILTER collapse %]
8     [% t("Print receipt for") | html %] [% INCLUDE 'patron-title.inc' no_html = 1 %] &rsaquo;
9     [% t("Patrons") | html %] &rsaquo;
10     [% t("Koha") | html %]
11 [% END %]</title>
12 [% INCLUDE 'doc-head-close.inc' %]
13
14 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
15 <link rel="shortcut icon" href="[% IF ( IntranetFavicon ) %][% IntranetFavicon | url %][% ELSE %][% interface | html %]/[% theme | html %]/img/favicon.ico[% END %]" type="image/x-icon" />
16
17 [% Asset.css("css/printreceiptinvoice.css") | $raw %]
18 [% INCLUDE 'blocking_errors.inc' %]
19 </head>
20
21 <body id="printinvoice" class="pat">
22
23 <div id="receipt">
24   [% IF slip %]
25     [% IF plain %]
26     <pre>
27       [% slip | html %]
28     </pre>
29     [% ELSE %]
30       [% slip | $raw %]
31     [% END %]
32   [% ELSE %]
33     <span>No print template found</span>
34   [% END %]
35 </div>
36
37 [% MACRO jsinclude BLOCK %]
38     [% INCLUDE 'slip-print.inc' #printThenClose %]
39 [% END %]
40
41 [% INCLUDE 'intranet-bottom.inc' %]