Bug 19623: (follow-up) Correct footer include in pop-up windows
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / modules / serials / routing-preview-slip.tt
1 [% SET footerjs = 1 %]
2 [% INCLUDE 'doc-head-open.inc' %]
3 <title>Koha &rsaquo; Serials  &rsaquo; Routing slip preview</title>
4 [% INCLUDE 'doc-head-close.inc' %]
5 <style type="text/css">
6    #custom-doc { width:38.46em;*width:37.53em;min-width:500px; margin:auto; text-align:left; }
7 </style>
8 <style type="text/css" media="print">
9    .yui-t7, #custom-doc { min-width:0; width:auto; }
10 </style>
11 </head>
12
13 <body id="ser_routing-preview-slip" class="ser">
14
15 <div id="custom-doc" class="yui-t7">
16    <div id="bd">
17
18 <table>
19     <tr>
20         <td colspan="2"><h3>[% libraryname %]</h3></td>
21     </tr>
22     <tr>
23         <td colspan="2"><b>Title:</b> [% title |html %]<br />[% issue %]</td>
24     </tr>
25     <tr>
26         <td><b>Name</b></td>
27         <td><b>Date due</b></td>
28     </tr>
29     [% FOREACH memberloo IN memberloop %]
30     <tr>
31         <td>[% memberloo.name %]</td>
32         <td>&nbsp;</td>
33     </tr>
34     [% END %]
35 </table>
36
37 <div id="routingnotes">
38     <p id="generalroutingnote">[% generalroutingnote %]</p>
39     <p id="routingnote">[% routingnotes %]</p>
40 </div>
41
42     <div id="closewindow" class="noprint"><a class="btn btn-default btn-default" id="print_slip" href="#"><i class="fa fa-print"></i> Print</a> <a class="btn btn-default btn-default close" href="#">Close</a></div>
43
44    </div>
45
46 [% MACRO jsinclude BLOCK %]
47     <script type="text/javascript">
48         $(document).ready(function(){
49             $("#print_slip").on("click",function(e){
50                 e.preventDefault();
51                 window.print();
52                 self.close();
53             });
54         });
55     </script>
56 [% END %]
57
58 [% INCLUDE 'intranet-bottom.inc' %]