Bugzilla – Attachment 161955 Details for
Bug 36053
Replacement prices not populating when supplied from MarcItemFieldsToOrder
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 36053: Correct input name for item replacement fields
Bug-36053-Correct-input-name-for-item-replacement-.patch (text/plain), 3.12 KB, created by
Nick Clemens (kidclamp)
on 2024-02-08 20:31:40 UTC
(
hide
)
Description:
Bug 36053: Correct input name for item replacement fields
Filename:
MIME Type:
Creator:
Nick Clemens (kidclamp)
Created:
2024-02-08 20:31:40 UTC
Size:
3.12 KB
patch
obsolete
>From a901c35ed668d15066763eddf94a88bcf5b6eeae Mon Sep 17 00:00:00 2001 >From: Nick Clemens <nick@bywatersolutions.com> >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 >--- > 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 e79a0ae4472..b97e333fd08 100755 >--- a/acqui/addorderiso2709.pl >+++ b/acqui/addorderiso2709.pl >@@ -227,7 +227,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 fd597918e96..6e8ce59baca 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 @@ > </li> > <li> > <label for="replacementprice_item_[% item.item_id | html %]">replacement price</label> >- <input type="text" id="replacementprice_item_[% item.item_id | html %]" class="decimal" name="replacementprice_[% biblio.import_record_id | html %]" value="[% item.replacementprice | $Price on_editing => 1 %]"> >+ <input type="text" id="replacementprice_item_[% item.item_id | html %]" class="decimal" name="itemreplacementprice_[% biblio.import_record_id | html %]" value="[% item.replacementprice | $Price on_editing => 1 %]"> > </li> > <li> > <label for="callnumber_item_[% item.item_id | html %]">callnumber</label> >-- >2.30.2
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 36053
:
161955
|
162063
|
164448