Bug 29609: Centralized code to build the link to a biblio detail page
[srvgit] / koha-tmpl / intranet-tmpl / prog / en / modules / serials / routing-preview-slip.tt
1 [% USE Koha %]
2 [% USE raw %]
3 [% SET footerjs = 1 %]
4 [% INCLUDE 'doc-head-open.inc' %]
5 <title>Routing slip preview &rsaquo; Serials &rsaquo; Koha</title>
6 [% INCLUDE 'doc-head-close.inc' %]
7 <style media="print">
8      #ser_routing-preview-slip { min-width:0; width:auto; }
9 </style>
10 </head>
11
12 <body id="ser_routing-preview-slip" class="ser">
13     <div class="container-fluid">
14
15 <table>
16     <tr>
17         <td colspan="2"><h3>[% libraryname | html %]</h3></td>
18     </tr>
19     <tr>
20         <td colspan="2"><strong>Title:</strong> [% title | html %]<br />[% issue | html %]</td>
21     </tr>
22     <tr>
23         <td><strong>Name</strong></td>
24         <td><strong>Date due</strong></td>
25     </tr>
26     [% FOREACH memberloo IN memberloop %]
27     <tr>
28         <td>[% memberloo.name | html %]</td>
29         <td>&nbsp;</td>
30     </tr>
31     [% END %]
32 </table>
33
34 <div id="routingnotes">
35     <p id="generalroutingnote">[% Koha.Preference('RoutingListNote') | $raw %]</p>
36     <p id="routingnote">[% routingnotes | html %]</p>
37 </div>
38
39     <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>
40
41 [% MACRO jsinclude BLOCK %]
42     <script>
43         $(document).ready(function(){
44             $("#print_slip").on("click",function(e){
45                 e.preventDefault();
46                 window.print();
47                 self.close();
48             });
49         });
50     </script>
51 [% END %]
52
53 [% INCLUDE 'intranet-bottom.inc' popup_window=1 %]