]> git.koha-community.org Git - koha.git/commit
Bug 33863: (bug 25655 follow-up) Check "Change currency" only if checked before
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 30 May 2023 12:37:33 +0000 (14:37 +0200)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Tue, 18 Jul 2023 11:36:03 +0000 (12:36 +0100)
commit632840add0776cea1dd8bc12bdb4bb237a1b6961
tree4975d1bf65ba6181432d1ba87d66da070ebc07a3
parent7eabb2350b5a40241e0d9e0689255cd1adc9118f
Bug 33863: (bug 25655 follow-up) Check "Change currency" only if checked before

We should not check "Change currency" if it has not modified in the
original order.

Test plan:
Create an order with 3+ items
Receive 1 item, don't check "change currency"
Receive an other item
=> "Change currency" is not checked
Check "Change currency", modify the currency and the price
Receive a third item
=> Change currency is checked, invoice currency and price are set
correctly to the previous values

Signed-off-by: Michaela Sieber <michaela.sieber@kit.edu>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit 140bad214c86531c57ecf1ec804697ac1be4895a)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
koha-tmpl/intranet-tmpl/prog/en/modules/acqui/orderreceive.tt