Merge remote branch 'kc/new/bug_3072' into kcmaster
[koha.git] / koha-tmpl / opac-tmpl / prog / en / modules / sco / receipt.tt
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 [% branchname %]<br><br>
35 [% cardnumber %]<br>      
36
37 <!-- begin code Mamata-->
38 [% IF ( todayissues ) %]<br>
39 <p><b>Today's checkouts</b></p>
40 [% FOREACH todayissue IN todayissues %]<br>
41 [% todayissue.title |html %]<br> 
42 [% todayissue.author %]<br>
43 [% todayissue.dd %]<br>     
44 [% todayissue.barcode %]<br>
45 [% END %]
46 [% END %]
47
48 <!-- end code Mamata-->
49
50
51 </body>
52
53 </html>