Bugzilla – Attachment 151145 Details for
Bug 8179
Receiving multiple order lines at once
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 8179: (QA follow-up) Fix currency conversion
Bug-8179-QA-follow-up-Fix-currency-conversion.patch (text/plain), 1.37 KB, created by
Kyle M Hall (khall)
on 2023-05-12 16:35:40 UTC
(
hide
)
Description:
Bug 8179: (QA follow-up) Fix currency conversion
Filename:
MIME Type:
Creator:
Kyle M Hall (khall)
Created:
2023-05-12 16:35:40 UTC
Size:
1.37 KB
patch
obsolete
>From 5a00a6990159470947f4f7b2a9619710271e4e67 Mon Sep 17 00:00:00 2001 >From: Kyle M Hall <kyle@bywatersolutions.com> >Date: Fri, 12 May 2023 15:36:09 +0000 >Subject: [PATCH] Bug 8179: (QA follow-up) Fix currency conversion > >Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> >--- > koha-tmpl/intranet-tmpl/prog/en/modules/acqui/orderreceive.tt | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/orderreceive.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/orderreceive.tt >index 297498ad5f..e56cff9175 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/orderreceive.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/orderreceive.tt >@@ -859,9 +859,9 @@ > > function _update_unitprice() { > var rate = Number($("select[name='currency'] option:selected").val()); >- var unitprice = $("#unitprice_currency").val(); >+ var unitprice = $("#unitprice").val(); > var new_unitprice = Number( unitprice * rate ).toFixed(2); >- $("#unitprice").val(new_unitprice).change(); >+ $("#unitprice_currency").val(new_unitprice).change(); > } > $("#order_edit").on("change", "select[name='currency']", _update_unitprice ); > $("#order_edit").on("change", "#unitprice_currency", _update_unitprice ); >-- >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 8179
:
9881
|
111437
|
111438
|
111439
|
111440
|
112554
|
112555
|
112556
|
112558
|
112588
|
112643
|
112644
|
112645
|
112646
|
112744
|
112745
|
112746
|
112747
|
114688
|
114689
|
114690
|
114691
|
116582
|
116583
|
116584
|
116585
|
116588
|
116589
|
116590
|
116591
|
116681
|
116682
|
116683
|
116684
|
116942
|
116943
|
116944
|
116945
|
119178
|
119179
|
119180
|
119181
|
120620
|
120621
|
120622
|
120623
|
148215
|
148216
|
148217
|
148218
|
148233
|
148284
|
148285
|
148286
|
148287
|
148288
|
148521
|
148522
|
148523
|
148524
|
148525
|
148526
|
148685
|
148981
|
148982
|
148983
|
148984
|
148985
|
148986
|
151026
|
151086
|
151087
|
151088
|
151089
|
151092
|
151093
|
151137
|
151138
|
151139
|
151140
|
151141
|
151142
|
151143
|
151144
|
151145
|
151163
|
151250
|
151367
|
151431