Bug 9806: Remove single pixel on the basketgroup table
[koha_fer] / koha-tmpl / intranet-tmpl / prog / en / modules / acqui / basketgroup.tt
index 0247222..853c95a 100644 (file)
@@ -1,3 +1,4 @@
+[% USE KohaBranchName %]
 [% INCLUDE 'doc-head-open.inc' %]
 <title>Koha &rsaquo; Basket grouping for [% booksellername |html %]</title>
 <link rel="stylesheet" type="text/css" href="[% themelang %]/css/datatables.css" />
@@ -107,10 +108,8 @@ function submitForm(form) {
         "aoColumnDefs": [
             { "aTargets": [ -1 ], "bSortable": false, "bSearchable": false },
         ],
-        "bAutoWidth": false,
-        "bPaginate": false,
-        "bInfo": false,
-        "bFilter": false,
+        sDom: 't',
+        "bAutoWidth": false
     } ));
 
  });
@@ -265,8 +264,8 @@ function submitForm(form) {
                                                                                                [% END %]
                                                </td>
                                     <td>[% basketgroup.id %]</td>
-                                    <td>[% basketgroup.billingplacename %]</td>
-                                    <td>[% IF (basketgroup.freedeliveryplace) %]Free delivery place[% ELSE %][% basketgroup.deliveryplacename %][% END %]</td>
+                                    <td>[% basketgroup.billingplace | $KohaBranchName %]</td>
+                                    <td>[% IF (basketgroup.freedeliveryplace) %]Free delivery place[% ELSE %][% basketgroup.deliveryplace | $KohaBranchName %][% END %]</td>
                                     <td>[% basketgroup.basketsqty %]</td>
                                                        <td>
                                                                <input type="button" onclick="closeandprint([% basketgroup.id %])" value="Close and print" />
@@ -303,8 +302,8 @@ function submitForm(form) {
                                                                                [% END %]
                                        </td>
                                     <td>[% basketgroup.id %]</td>
-                                    <td>[% basketgroup.billingplacename %]</td>
-                                    <td>[% IF (basketgroup.freedeliveryplace) %]Free delivery place[% ELSE %][% basketgroup.deliveryplacename %][% END %]</td>
+                                    <td>[% basketgroup.billingplace | $KohaBranchName %]</td>
+                                    <td>[% IF (basketgroup.freedeliveryplace) %]Free delivery place[% ELSE %][% basketgroup.deliveryplace | $KohaBranchName %][% END %]</td>
                                     <td>[% basketgroup.basketsqty %]</td>
                                        <td>
                                                        <form action="/cgi-bin/koha/acqui/basketgroup.pl" method="get"><input type="hidden" name="op" value="reopen" /><input type="hidden" name="booksellerid" value="[% basketgroup.booksellerid %]" /><input type="hidden" name="basketgroupid" value="[% basketgroup.id %]" /><input type="submit" value="Reopen" /></form>