More cleanup and corrections for circulation reports.
[koha-ffzg.git] / koha-tmpl / intranet-tmpl / prog / en / modules / circ / transferstodo.tmpl
1 <!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->
2 <title>Koha &rsaquo; Circulation &rsaquo; Transfers to do</title>
3 <!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
4 <script type="text/javascript" src="<!-- TMPL_VAR name="themelang" -->/lib/jquery/plugins/jquery.tablesorter.pack.js"></script>
5 <script type="text/JavaScript" language="JavaScript">
6 //<![CDATA[
7 $.tablesorter.addParser({
8     id: 'articles', 
9     is: function(s) {return false;  }, 
10     format: function(s) { return s.toLowerCase().replace(/^(the|an|a) /,''); }, 
11     type: 'text' 
12 });
13          $(document).ready(function() {
14                 $.tablesorter.defaults.widgets = ['zebra']; 
15                 $("#transferst").tablesorter({
16                         sortList: [[1,0]],
17                         headers: { 1: { sorter: 'articles' },4:{sorter:false}}
18                 }); 
19          });
20 //]]>
21 </script>
22 </head>
23 <body>
24 <!-- TMPL_INCLUDE NAME="header.inc" -->
25 <!-- TMPL_INCLUDE NAME="circ-search.inc" -->
26
27 <div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/circ/circulation-home.pl">Circulation</a> &rsaquo; Transfers to do</div>
28
29 <div id="doc" class="yui-t7">
30    
31    <div id="bd">
32         <div id="yui-main">
33         <div class="yui-g">
34
35
36     <h1>Transfers to do, <!-- TMPL_VAR NAME="show_date" --></h1>
37     <!-- TMPL_IF name="branchesloop" -->
38     <div id="resultlist">
39         <!-- TMPL_LOOP NAME="branchesloop" -->
40             <!-- TMPL_IF NAME="branchcode" -->
41                         <h4>Holds waiting for: <!-- TMPL_VAR NAME="branchname" --></h4>
42             <table id="transferst">
43             <thead><tr>
44                 <th>Date of hold</th>
45                 <th>Title</th>
46                 <th>Patron</th>
47                 <th>Localisation</th>
48                 <th>Action</th>
49             </tr></thead>
50             <tbody><!-- TMPL_LOOP NAME="reserv" -->
51                 <tr <!-- TMPL_IF NAME="messcompa" --> class="problem" <!-- /TMPL_IF -->>
52                     <td><p><!-- TMPL_VAR NAME="reservedate" --></p> <!-- TMPL_IF NAME="messcompa" --> Hold over <!-- /TMPL_IF --></td>
53                     <td><!-- TMPL_IF name="BiblioDefaultViewmarc" -->
54 <a href="/cgi-bin/koha/catalogue/MARCdetail.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" ESCAPE="URL" -->"><!-- TMPL_VAR NAME="title" --></a>
55 <!-- TMPL_ELSIF NAME="BiblioDefaultViewisbd" -->
56 <a href="/cgi-bin/koha/catalogue/ISBDdetail.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" ESCAPE="URL" -->"><!-- TMPL_VAR NAME="title" --></a>
57 <!-- TMPL_ELSE -->
58 <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" ESCAPE="URL" -->"><!-- TMPL_VAR NAME="title" -->  <!-- TMPL_VAR NAME="subtitle" --></a><!-- /TMPL_IF -->&nbsp; (<b><!-- TMPL_VAR NAME="itemtype" --> </b>) <br />Barcode : <!-- TMPL_VAR NAME="barcode" --></td>
59                     <td><a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=<!--TMPL_VAR Name="borrowernum"-->"><!-- TMPL_VAR NAME="borrowername" --> &nbsp; <!-- TMPL_VAR NAME="borrowerfirstname" --></a><br />
60                             <!-- TMPL_VAR NAME="borrowerphone" --><br />
61                             <!-- TMPL_IF NAME="borrowermail" -->
62                                 <a href="mailto:<!-- TMPL_VAR NAME="email" -->?subject=Reservation: <!-- TMPL_VAR NAME="title" -->">
63                                     <!-- TMPL_VAR NAME="borrowermail" -->
64                                 </a>
65                             <!--/TMPL_IF-->
66                     </td>
67                     <td><!-- TMPL_VAR NAME="holdingbranch" --> <!-- TMPL_VAR NAME="itemcallnumber" --></td>
68                     <td>
69                     <form name="dotransfer" action="/cgi-bin/koha/circ/waitingreserves.pl" method="post">
70                         <input type="hidden" name="itemnumber" value="<!-- TMPL_VAR NAME="itemnumber" -->" />
71                         <input type="hidden" name="fbr" value="<!-- TMPL_VAR NAME="holdingbranch" -->" />
72                         <input type="hidden" name="tbr" value="<!-- TMPL_VAR NAME="branchcode" -->" />
73                     <input type="submit" value="Transfer this item" />
74                     </form>
75                     </td>
76                 </tr>
77             <!-- /TMPL_LOOP --></tbody>
78             </table>
79             <!-- /TMPL_IF -->
80         <!-- /TMPL_LOOP -->
81     </div>
82     <!-- TMPL_ELSE -->
83         <p>No transfers to do</p>
84     <!-- /TMPL_IF -->
85
86 </div>
87 </div>
88 </div>
89 <!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->