Bug 21777: Fix circulation table alignment
authorNick Clemens <nick@bywatersolutions.com>
Wed, 7 Nov 2018 12:16:08 +0000 (12:16 +0000)
committerNick Clemens <nick@bywatersolutions.com>
Tue, 13 Nov 2018 20:54:28 +0000 (20:54 +0000)
TO test:
1 - Check out an item to a patron
2 - Note the columns are misaligned
3 - Apply patch
4 - Updatedatabase
5 - Reload the patron
6 - Note the table is fixed

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>

admin/columns_settings.yml
koha-tmpl/intranet-tmpl/prog/en/includes/checkouts-table-footer.inc
koha-tmpl/intranet-tmpl/prog/en/includes/checkouts-table.inc

index 299fe97..eacc02b 100644 (file)
@@ -535,6 +535,11 @@ modules:
         -
           columnname: homebranch
         -
+          columnname: checkout_on_unformatted
+          cannot_be_toggled: 1
+          cannot_be_modified: 1
+          is_hidden: 1
+        -
           columnname: checkout_on
         -
           columnname: checkout_from
index b831c1e..d8f1abb 100644 (file)
@@ -1,6 +1,6 @@
 <tfoot>
        <tr>
-        <td colspan="11" style="text-align: right; font-weight:bold;">Totals:</td>
+        <td colspan="12" style="text-align: right; font-weight:bold;">Totals:</td>
         <td id="totaldue" style="text-align: right;">[% totaldue | html %]</td>
         <td id="totalfine" style="text-align: right;">[% finetotal | html %]</td>
         <td id="totalprice" style="text-align: right;">[% totalprice | html %]</td>
index d78e001..7b4b622 100644 (file)
@@ -19,6 +19,7 @@
                         <th scope="col">Collection</th>
                         <th scope="col">Location</th>
                         <th scope="col">Home library</th>
+                        <th scope="col">&nbsp;</th>
                         <th scope="col">Checked out on</th>
                         <th scope="col">Checked out from</th>
                         <th scope="col">Call no</th>