Bugzilla – Attachment 164448 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.39 KB, created by
Marcel de Rooy
on 2024-04-05 06:52:23 UTC
(
hide
)
Description:
Bug 36053: Correct input name for item replacement fields
Filename:
MIME Type:
Creator:
Marcel de Rooy
Created:
2024-04-05 06:52:23 UTC
Size:
3.39 KB
patch
obsolete
>From 9aeee6fcbea652fb841356d9b3f89fff5a6209c1 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 >Content-Type: text/plain; charset=utf-8 > >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 <blawlor@clamsnet.org> > >Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >--- > 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 @@ > </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