From f53018dce0fa3db1afacb5914e8ee2e57794296d 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 (cherry picked from commit 94da493d0eaaec80e42258ec421eb7c5ca1a0dd2) Signed-off-by: Fridolin Somers --- 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 d78f955796..db4cf74e18 100755 --- a/acqui/addorderiso2709.pl +++ b/acqui/addorderiso2709.pl @@ -226,7 +226,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 $itemcreation = 0; 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 c5a3f42c16..27e3997128 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/addorderiso2709.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/addorderiso2709.tt @@ -368,7 +368,7 @@
  • - +
  • -- 2.39.5