]> 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)
committerTomas Cohen Arazi <tomascohen@theke.io>
Fri, 14 Jul 2023 11:59:31 +0000 (08:59 -0300)
commit140bad214c86531c57ecf1ec804697ac1be4895a
treecc8aabee354471836a855841a3ceb101ff6a3c9c
parentf91cc77a68983c1c47ca785eb750dfebd3a1cdb5
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>
koha-tmpl/intranet-tmpl/prog/en/modules/acqui/orderreceive.tt