Merge branch 'bug_2832' into 3.12-master
[koha_fer] / koha-tmpl / intranet-tmpl / prog / en / modules / circ / transferstoreceive.tt
index 50d7ae3..6542ac3 100644 (file)
@@ -13,7 +13,7 @@ $.tablesorter.addParser({
 $(document).ready(function() {
     [% FOREACH branchesloo IN branchesloop %]
     $.tablesorter.defaults.widgets = ['zebra'];
-    $("#transferst[% branchesloo.branchcode %]").tablesorter({[% IF ( branchesloo.dateformat_metric ) %]
+    $("#transferst[% branchesloo.branchcode %]").tablesorter({[% IF ( dateformat_metric ) %]
         dateFormat: 'uk',[% END %]
         sortList: [[0,0]],
         headers: { 1: { sorter: 'articles' }}
@@ -23,7 +23,7 @@ $(document).ready(function() {
 //]]>
 </script>
 </head>
-<body>
+<body id="circ_transferstoreceive" class="circ">
 [% INCLUDE 'header.inc' %]
 [% INCLUDE 'circ-search.inc' %]
 
@@ -50,6 +50,7 @@ $(document).ready(function() {
                 <th>On hold for</th>
                 <th>Home library</th>
                 <th>Call no.</th>
+                <th>&nbsp;</th>
             </tr></thead>
             <tbody>[% FOREACH reser IN branchesloo.reserv %]
                 [% IF ( reser.messcompa ) %]
@@ -79,6 +80,7 @@ $(document).ready(function() {
                     </td>
                     <td>[% reser.homebranch %]</td>
                     <td>[% reser.itemcallnumber %]</td>
+                    <td><a href="/cgi-bin/koha/circ/returns.pl?itemnumber=[% reser.itemnumber %]&amp;canceltransfer=1&amp;dest=ttr">Cancel transfer</a></td>
                 </tr>
             [% END %]</tbody>
             </table>