Bug 2774 - Path to theme is hard-coded in many places
[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 [% IF ( SCOUserCSS ) %]<style type="text/css">[% SCOUserCSS %]</style>[% END %]
30 [% IF ( SCOUserJS ) %]<script type="text/javascript">[% SCOUserJS %]</script>[% END %]
31
32 </head>
33
34 <body onLoad="callPrint(); closeNow();"> 
35
36 [% branchname %]<br><br>
37 [% cardnumber %]<br>      
38
39 <!-- begin code Mamata-->
40 [% IF ( todayissues ) %]<br>
41 <p><b>Today's checkouts</b></p>
42 [% FOREACH todayissue IN todayissues %]<br>
43 [% todayissue.title |html %]<br> 
44 [% todayissue.author %]<br>
45 [% todayissue.dd %]<br>     
46 [% todayissue.barcode %]<br>
47 [% END %]
48 [% END %]
49
50 <!-- end code Mamata-->
51
52
53 </body>
54
55 </html>