Bug 25557: Correct basket.pl column config
authorLucas Gass <lucas@bywatersolutions.com>
Thu, 21 May 2020 23:42:01 +0000 (23:42 +0000)
committerVictor Grousset/tuxayo <victor@tuxayo.net>
Thu, 18 Jun 2020 15:36:41 +0000 (17:36 +0200)
This patch corrects the column configuration tool for basket.pl
TO TEST:
1. Go to Acquisitions and look at basket.pl
2. Open another tab and go to column configuration and try to hide some columns like Quantity.
3. See that the wrong columns are being hidden.
4. Apply patch
5. Trying hiding each column in the table and make sure the correct one is being hidden.
6. Rejoice!

Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net>

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
(cherry picked from commit 79f7879303724aa1ae69db8c3f2ea5aa34148dc5)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
(cherry picked from commit e63e40d6d42454eeef2dbe47a3f32d33d5e7950f)
Signed-off-by: Aleisha Amohia <aleishaamohia@hotmail.com>

(cherry picked from commit 3715c8680031d3da17c193e7de3583b88c58a8ee)
Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net>

admin/columns_settings.yml

index 221e77c..20fddae 100644 (file)
@@ -68,14 +68,18 @@ modules:
         -
           columnname: recommended_retail_price_tax_excluded
         -
-          columnname: ecost_tax_excluded
+          columnname: actual_cost_tax_excluded
+        -
+          columnname: budgeted_cost_price_tax_included
         -
           columnname: recommended_retail_price_tax_included
           is_hidden: 1
         -
-          columnname: ecost_tax_included
+          columnname: actual_cost_tax_included
           is_hidden: 1
         -
+          columnname: budgeted_cost_tax_included
+        -
           columnname: replacement_price
         -
           columnname: quantity