Bug 1984 - added Javascript in the header to open, print, and close the slip window
authorLiz Rea <lrea@nekls.org>
Fri, 1 May 2009 20:26:41 +0000 (15:26 -0500)
committerGalen Charlton <galen.charlton@liblime.com>
Mon, 11 May 2009 13:23:58 +0000 (08:23 -0500)
This is for printing circulation slips.

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember-receipt.tmpl

index 68faf10..f04e6ab 100644 (file)
@@ -3,6 +3,10 @@
 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
 <link rel="shortcut icon" href="<!-- TMPL_VAR NAME="themelang" -->/includes/favicon.ico" type="image/x-icon" />
 <link rel="stylesheet" type="text/css" href="<!-- TMPL_VAR NAME="themelang" -->/css/print.css" />
+<script language="javascript">
+        window.print();
+        window.close();
+</script>
 </head>
 <body>