From 94da493d0eaaec80e42258ec421eb7c5ca1a0dd2 Mon Sep 17 00:00:00 2001 From: Nick Clemens Date: Thu, 8 Feb 2024 20:27:14 +0000 Subject: [PATCH] Bug 36053: Correct input name for item replacement fields To test: 1 - Follow test plan and use sample record from bug 35912 ( or similar) 2 - Confirm that when the order is saved the replacement price is $0.00 3 - Apply patch, restart_all 4 - Delete previous orders, and stage and add to basket again 5 - Confirm that upon adding orders to basket the replacement price is saved correctly Signed-off-by: Brendan Lawlor Signed-off-by: Marcel de Rooy Signed-off-by: Katrin Fischer --- acqui/addorderiso2709.pl | 2 +- .../intranet-tmpl/prog/en/modules/acqui/addorderiso2709.tt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/acqui/addorderiso2709.pl b/acqui/addorderiso2709.pl index d9b2725b65..4b4d899031 100755 --- a/acqui/addorderiso2709.pl +++ b/acqui/addorderiso2709.pl @@ -225,7 +225,7 @@ if ($op eq ""){ my @budget_ids = $input->multi_param( 'budget_code_' . $import_record->import_record_id ); # bad field name used in template! my @itemprices = $input->multi_param( 'itemprice_' . $import_record->import_record_id ); - my @replacementprices = $input->multi_param( 'replacementprice_' . $import_record->import_record_id ); + my @replacementprices = $input->multi_param( 'itemreplacementprice_' . $import_record->import_record_id ); my @itemcallnumbers = $input->multi_param( 'itemcallnumber_' . $import_record->import_record_id ); my @coded_location_qualifiers = $input->multi_param( 'coded_location_qualifier_' . $import_record->import_record_id ); diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/addorderiso2709.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/addorderiso2709.tt index b0c1eba563..7994f1a923 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/addorderiso2709.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/addorderiso2709.tt @@ -369,7 +369,7 @@
  • - +
  • -- 2.39.5