Bugzilla – Attachment 161082 Details for
Bug 35514
New order line form: Total prices not updated when adding multiple items
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 35514: Fix costs update when adding multiple items from staged file
Bug-35514-Fix-costs-update-when-adding-multiple-it.patch (text/plain), 1.52 KB, created by
Victor Grousset/tuxayo
on 2024-01-17 00:46:41 UTC
(
hide
)
Description:
Bug 35514: Fix costs update when adding multiple items from staged file
Filename:
MIME Type:
Creator:
Victor Grousset/tuxayo
Created:
2024-01-17 00:46:41 UTC
Size:
1.52 KB
patch
obsolete
>From f53be37a8e68e91de6170d884707173a6d6bca56 Mon Sep 17 00:00:00 2001 >From: Thibaud Guillot <thibaud.guillot@biblibre.com> >Date: Thu, 7 Dec 2023 17:06:55 +0100 >Subject: [PATCH] Bug 35514: Fix costs update when adding multiple items from > staged file >MIME-Version: 1.0 >Content-Type: text/plain; charset=UTF-8 >Content-Transfer-Encoding: 8bit > >Test plan: > >1) Stage a file with records >2) Create a basket and add order line from imported records to go on > neworderempty.pl >3) Choose to add one item and repeat the operation >4) See on form that the total cost is updated without update vendor > price >5) Now add multiple items, for example, "2" you will see that the total > cost is not updated >6) Apply this patch, refresh form and repeat steps 3 to 5 > >Signed-off-by: MichaĆ Dudzik <dudzikmichal@wp.pl> >Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net> >--- > koha-tmpl/intranet-tmpl/prog/js/additem.js | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/js/additem.js b/koha-tmpl/intranet-tmpl/prog/js/additem.js >index c1191ab5f0..099c32d6cc 100644 >--- a/koha-tmpl/intranet-tmpl/prog/js/additem.js >+++ b/koha-tmpl/intranet-tmpl/prog/js/additem.js >@@ -66,7 +66,7 @@ function addMulti( count, node, unique_item_fields){ > $("#" + cloneIndex).find("input[name='multiValue']").remove(); > $("#" + cloneIndex).hide(); > current_qty++; >- $('#quantity').val( current_qty ); >+ $('#quantity').val( current_qty ).change(); > }); > } > } >-- >2.43.0
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 35514
:
159656
|
160564
|
161081
|
161082
|
161083