From: Katrin Fischer Date: Wed, 17 Aug 2022 10:03:22 +0000 (+0000) Subject: Bug 15348: (follow-up) Move estimated delivery date before supplier report and fix... X-Git-Tag: v22.11.00~1323 X-Git-Url: http://koha-dev.rot13.org:8081/gitweb/?a=commitdiff_plain;h=a1c71ad348547fbd28534d37405301f39724062d;p=srvgit Bug 15348: (follow-up) Move estimated delivery date before supplier report and fix column settings 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 Signed-off-by: Martin Renvoize Signed-off-by: Tomas Cohen Arazi --- diff --git a/admin/columns_settings.yml b/admin/columns_settings.yml index b5359610e2..1b27cb60f1 100644 --- a/admin/columns_settings.yml +++ b/admin/columns_settings.yml @@ -151,6 +151,8 @@ modules: - columnname: fund - + columnmame: estimated_delivery_date + - columnname: supplier_report - columnname: modify diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basket.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basket.tt index 02c785c73a..aff9d364a3 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basket.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basket.tt @@ -448,10 +448,10 @@ GST % GST Fund + Estimated delivery date [% IF Koha.Preference('EDIFACT') && ediaccount %] Supplier report [% END %] - Estimated delivery date [% IF ( active ) %] [% UNLESS ( closedate ) %] Modify @@ -478,10 +478,10 @@   [% foot_loo.tax_value | $Price %]   + [% foot_loo.estimated_delivery_date | $KohaDates %] [% IF Koha.Preference('EDIFACT') && ediaccount %]   [% END %] - [% foot_loo.estimated_delivery_date | $KohaDates %] [% IF ( active ) %] [% UNLESS ( closedate ) %]   @@ -506,10 +506,10 @@   [% total_tax_value | $Price %]   + [% estimated_delivery_date | $KohaDates %] [% IF Koha.Preference('EDIFACT') && ediaccount %]   [% END %] - [% estimated_delivery_date | $KohaDates %] [% IF ( active ) %] [% UNLESS ( closedate ) %]   @@ -593,9 +593,6 @@ [% books_loo.tax_rate * 100 | html %] [% books_loo.tax_value | $Price %] [% books_loo.budget_name | html %] - [% IF Koha.Preference('EDIFACT') && ediaccount %] - [% books_loo.suppliers_report | html %] - [% END %] [% books_loo.estimated_delivery_date | $KohaDates %] [% IF CAN_user_acquisition_order_manage %] @@ -603,6 +600,9 @@ Edit + [% IF Koha.Preference('EDIFACT') && ediaccount %] + [% books_loo.suppliers_report | html %] + [% END %] [% END %] [% IF ( active ) %] [% UNLESS ( closedate ) %]