2676d71b0bbb9b9dffaf9e35e48a43c23549393b
[koha.git] / koha-tmpl / opac-tmpl / prog / en / modules / sco / receipt.tmpl
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2 <html>
3
4 <head>
5 <title> RECEIPT </title>
6
7 <script language="JavaScript" type="text/javascript">
8 x = 0; 
9 function callPrint()
10 {
11      while (x == 0)
12       
13      {
14       self.print();
15       javascript:window.opener.location='/cgi-bin/koha/sco/sco-main.pl?logout.x=1';
16       x = 1; 
17      }
18 }
19
20 function closeNow()
21 {
22   if (x == 1)
23   {
24     setTimeout('self.close()',1000);
25   }    
26 }
27 </script> 
28
29
30 </head>
31
32 <body onLoad="callPrint(); closeNow();"> 
33
34 <!-- TMPL_VAR name="branchname" --><br><br>
35 <!-- TMPL_VAR name="cardnumber" --><br>      
36
37 <!-- begin code Mamata-->
38 <!-- TMPL_IF name="todayissues" --><br>
39 <p><b>Today's issues</b></p>
40 <!-- TMPL_LOOP name="todayissues" --><br>
41 <!-- TMPL_VAR NAME="title" --><br> 
42 <!-- TMPL_VAR NAME="author" --><br>
43 <!-- TMPL_VAR NAME="dd" --><br>     
44 <!-- TMPL_VAR NAME="barcode" --><br>
45 <!-- /TMPL_LOOP -->
46 <!-- /TMPL_IF -->
47
48 <!-- end code Mamata-->
49
50
51 </body>
52
53 </html>