+[% USE Koha %]
[% INCLUDE 'doc-head-open.inc' %]
<title>Print Receipt for [% cardnumber %]</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="shortcut icon" href="[% IF ( IntranetFavicon ) %][% IntranetFavicon %][% ELSE %][% interface %]/[% theme %]/img/favicon.ico[% END %]" type="image/x-icon" />
<link rel="stylesheet" type="text/css" href="[% themelang %]/css/printreceiptinvoice.css" />
-<script type="text/javascript">
- function printThenClose() {
- window.print();
- window.close();
- }
-</script>
+[% INCLUDE 'slip-print.inc' #printThenClose %]
</head>
<body id="printinvoice" class="pat" onload="printThenClose();">