Bug 13422 - SCO: "Would you like to rpint a receipt" not translatable
[koha.git] / koha-tmpl / opac-tmpl / bootstrap / en / modules / sco / receipt.tt
1 <!DOCTYPE html>
2 [% IF ( bidi ) %]<html lang="[% lang %]" dir="[% bidi %]">[% ELSE %]<html lang="[% lang %]">[% END %]
3 <head>
4 <title>RECEIPT</title>
5 <script type="text/javascript">
6     x = 0;
7     function callPrint(){
8          while (x == 0){
9           self.print();
10           javascript:window.opener.location='/cgi-bin/koha/sco/sco-main.pl?logout.x=1';
11           x = 1;
12          }
13     }
14
15     function closeNow(){
16       if (x == 1){
17         setTimeout('self.close()',1000);
18       }
19     }
20 </script>
21
22 [% IF ( SCOUserCSS ) %]<style type="text/css">[% SCOUserCSS %]</style>[% END %]
23 [% IF ( SCOUserJS ) %]<script type="text/javascript">[% SCOUserJS %]</script>[% END %]
24
25 </head>
26
27 <body onLoad="callPrint(); closeNow();">
28
29 [% branchname %]<br><br>
30 [% cardnumber %]<br>
31
32 [% IF ( todayissues ) %]<br>
33 <p><b>Today's checkouts</b></p>
34 [% FOREACH todayissue IN todayissues %]<br>
35 [% todayissue.title |html %]<br>
36 [% todayissue.author %]<br>
37 [% todayissue.dd %]<br>
38 [% todayissue.barcode %]<br>
39 [% END %]
40 [% END %]
41
42 </body>
43 </html>
44
45 [% BLOCK jsinclude %]
46 [% END %]