Bug 18789: Send Koha::Patron object to the templates
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / modules / circ / printslip.tt
1 [% USE Koha %]
2 [% INCLUDE 'doc-head-open.inc' %]
3 [% IF ( caller == 'hold-transfer' ) %]
4 <title>Koha &rsaquo; Circulation &rsaquo; Hold transfer print receipt</title>
5 [% ELSIF ( caller == 'transfer' ) %]
6 <title>Koha &rsaquo; Circulation &rsaquo; Transfers print receipt</title>
7 [% ELSIF ( caller == 'members' ) %]
8 <title>Koha &rsaquo; Patrons &rsaquo; Print receipt for [% borrowernumber %]</title>
9 [% ELSIF ( title ) %][%# FIXME title is never defined %]
10 <title>Koha &rsaquo; Patrons &rsaquo; [% title %]</title>
11 [% END %]
12 [% INCLUDE 'doc-head-close.inc' %]
13 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
14 <link rel="shortcut icon" href="[% IF ( IntranetFavicon ) %][% IntranetFavicon %][% ELSE %][% interface %]/[% theme %]/img/favicon.ico[% END %]" type="image/x-icon" />
15 <link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/print_[% KOHA_VERSION %].css" />
16 [% IF ( Koha.Preference('SlipCSS') ) %]
17 <link rel="stylesheet" type="text/css" href="[% Koha.Preference('SlipCSS') %]" />
18 [% END %]
19
20 [% INCLUDE 'slip-print.inc' #printThenClose %]
21 </head>
22 <body id="circ_printslip" class="circ">
23 <div id="receipt">
24
25 [% IF plain %]
26 <pre>
27 [% IF ( slip ) %][% slip %][% ELSE %]No slip template found[% END %]
28 </pre>
29 [% ELSE %]
30 [% IF ( slip ) %][% slip %][% ELSE %]No slip template found[% END %]
31 [% END %]
32
33 [% INCLUDE 'intranet-bottom.inc' %]