c53520d58d
This patch modifies staff printslip.tt to take into account caller. Also fixes similar problem on opac printslip.tt To test: staff 1. Print hold transfer slip 2. Print transfer slip 3. Print member slip opac 4. Print self checkout slip 5. Update translation files, check new strings are present Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz> Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de> Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
30 lines
1 KiB
Text
30 lines
1 KiB
Text
[% INCLUDE 'doc-head-open.inc' %]
|
|
[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha [% END %] › Self checkout › Print Receipt for [% borrowernumber %]</title>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
|
<link rel="shortcut icon" href="[% IF ( OpacFavicon ) %][% OpacFavicon %][% ELSE %][% interface %]/[% theme %]/images/favicon.ico[% END %]" type="image/x-icon" />
|
|
<link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/print.css" />
|
|
[% IF stylesheet %]
|
|
<link rel="stylesheet" type="text/css" href="[% stylesheet %]" />
|
|
[% END %]
|
|
</head>
|
|
|
|
<body id="circ_printslip" class="circ" onload="printThenClose();">
|
|
<div id="receipt">
|
|
[% IF plain %]
|
|
<pre>
|
|
[% slip %]
|
|
</pre>
|
|
[% ELSE %]
|
|
[% slip %]
|
|
[% END %]
|
|
|
|
</div>
|
|
|
|
<script language="javascript">
|
|
function printThenClose() {
|
|
window.print();
|
|
setTimeout('window.close()', 1);
|
|
}
|
|
</script>
|
|
</body>
|
|
</html>
|