Jonathan Druart
d0d0a940ea
Sponsored-by: BULAC - http://www.bulac.fr/ Signed-off-by: BULAC - http://www.bulac.fr/ Signed-off-by: Heather Hernandez <heather_hernandez@nps.gov> Signed-off-by: Laurence Rault <laurence.rault@biblibre.com> Signed-off-by: Nick Clemens <nick@bywatersolutions.com> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
52 lines
1.9 KiB
Text
52 lines
1.9 KiB
Text
[% USE raw %]
|
|
[% USE Asset %]
|
|
[% USE Koha %]
|
|
[% PROCESS 'i18n.inc' %]
|
|
[% INCLUDE 'doc-head-open.inc' %]
|
|
<title>[% FILTER collapse %]
|
|
[% IF ( caller == 'hold-transfer' ) %]
|
|
[% t("Hold transfer print receipt") | html %] ›
|
|
[% t("Circulation") | html %] ›
|
|
[% ELSIF ( caller == 'transfer' ) %]
|
|
[% t("Transfers print receipt") | html %] ›
|
|
[% t("Circulation") | html %] ›
|
|
[% ELSIF ( caller == 'members' ) %]
|
|
[% tx("Print receipt for {borrowernumber}", { borrowernumber = borrowernumber }) | html %] ›
|
|
[% t("Patrons") | html %] ›
|
|
[% ELSIF ( caller == 'recall' ) %]
|
|
[% t("Recall print receipt") | html %] ›
|
|
[% t("Circulation") | html %] &rsqaquo;
|
|
[% ELSIF ( title ) %][%# FIXME title is never defined %]
|
|
[% title | html %] ›
|
|
[% t("Patrons") | html %] ›
|
|
[% END %]
|
|
[% t("Koha") | html %]
|
|
[% END %]</title>
|
|
[% INCLUDE 'doc-head-close.inc' %]
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
|
<link rel="shortcut icon" href="[% IF ( IntranetFavicon ) %][% IntranetFavicon | url %][% ELSE %][% interface | html %]/[% theme | html %]/img/favicon.ico[% END %]" type="image/x-icon" />
|
|
[% Asset.css("css/print.css") | $raw %]
|
|
[% IF ( Koha.Preference('SlipCSS') ) %]
|
|
<link rel="stylesheet" type="text/css" href="[% Koha.Preference('SlipCSS') | $raw %]" />
|
|
[% END %]
|
|
|
|
[% INCLUDE 'slip-print.inc' #printThenClose %]
|
|
</head>
|
|
<body id="circ_printslip" class="circ">
|
|
<div id="receipt">
|
|
|
|
[% UNLESS slips && slips.size %]
|
|
[% SET slips = [{content => slip, is_html => !plain}] %]
|
|
[% END %]
|
|
[% FOR slip IN slips %]
|
|
[% UNLESS slip.is_html %]
|
|
<pre>
|
|
[% IF ( slip.content ) %][% slip.content | html %][% ELSE %]No slip template found[% END %]
|
|
</pre>
|
|
[% ELSE %]
|
|
[% IF ( slip.content ) %][% slip.content | $raw %][% ELSE %]No slip template found[% END %]
|
|
[% END %]
|
|
[% IF slips.size > 1 && !loop.last%]<div class="pagebreak"></div>[% END %]
|
|
[% END %]
|
|
|
|
[% INCLUDE 'intranet-bottom.inc' %]
|