Bug 15348: (follow-up) Move estimated delivery date before supplier report and fix...
authorKatrin Fischer <katrin.fischer@bsz-bw.de>
Wed, 17 Aug 2022 10:03:22 +0000 (10:03 +0000)
committerTomas Cohen Arazi <tomascohen@theke.io>
Fri, 16 Sep 2022 13:36:57 +0000 (10:36 -0300)
On the basket summary page the estimated delivery date column was
moved before the supplier report column, that is only visible
when EDIFACT has been activated.

It also adds the new column to the table configuration.

Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
admin/columns_settings.yml
koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basket.tt

index b535961..1b27cb6 100644 (file)
@@ -151,6 +151,8 @@ modules:
             -
               columnname: fund
             -
+              columnmame: estimated_delivery_date
+            -
               columnname: supplier_report
             -
               columnname: modify
index 02c785c..aff9d36 100644 (file)
                         <th>GST %</th>
                         <th>GST</th>
                         <th>Fund</th>
+                        <th>Estimated delivery date</th>
                         [% IF Koha.Preference('EDIFACT') && ediaccount %]
                         <th>Supplier report</th>
                         [% END %]
-                        <th>Estimated delivery date</th>
                         [% IF ( active ) %]
                             [% UNLESS ( closedate ) %]
                                 <th class="NoSort">Modify</th>
                         <th>&nbsp;</th>
                         <th>[% foot_loo.tax_value | $Price %]</th>
                         <th>&nbsp;</th>
+                        <th>[% foot_loo.estimated_delivery_date | $KohaDates %]</th>
                         [% IF Koha.Preference('EDIFACT') && ediaccount %]
                         <th>&nbsp;</th>
                         [% END %]
-                        <th>[% foot_loo.estimated_delivery_date | $KohaDates %]</th>
                         [% IF ( active ) %]
                             [% UNLESS ( closedate ) %]
                                 <th>&nbsp;</th>
                     <th>&nbsp;</th>
                     <th>[% total_tax_value | $Price %]</th>
                     <th>&nbsp;</th>
+                    <th>[% estimated_delivery_date | $KohaDates %]</th>
                     [% IF Koha.Preference('EDIFACT') && ediaccount %]
                     <th>&nbsp;</th>
                     [% END %]
-                    <th>[% estimated_delivery_date | $KohaDates %]</th>
                     [% IF ( active ) %]
                         [% UNLESS ( closedate ) %]
                             <th>&nbsp;</th>
                         <td class="number">[% books_loo.tax_rate * 100 | html %]</td>
                         <td class="number [% IF books_loo.tax_value.search(zero_regex) %]error[% END %]">[% books_loo.tax_value | $Price %]</td>
                         <td>[% books_loo.budget_name | html %]</td>
-                        [% IF Koha.Preference('EDIFACT') && ediaccount %]
-                        <td>[% books_loo.suppliers_report | html %]</td>
-                        [% END %]
                         <td class="actions">
                             [% books_loo.estimated_delivery_date | $KohaDates %]
                             [% IF CAN_user_acquisition_order_manage %]
                                 <i class="fa fa-pencil"></i> Edit
                             </a>
                         </td>
+                        [% IF Koha.Preference('EDIFACT') && ediaccount %]
+                        <td>[% books_loo.suppliers_report | html %]</td>
+                        [% END %]
                     [% END %]
                         [% IF ( active ) %]
                             [% UNLESS ( closedate ) %]