]> git.koha-community.org Git - koha.git/commit
Bug 25655: Store actual cost in foreign currency and currency from the invoice
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 16 Jan 2023 20:59:38 +0000 (21:59 +0100)
committerTomas Cohen Arazi <tomascohen@theke.io>
Mon, 6 Mar 2023 16:57:53 +0000 (13:57 -0300)
commitc9f7b72426b8af225a2dc3c3f94a0fa7a1aa0fbc
tree39d6670aa298a2319b371da0bb57ee517e765c24
parent9855b480b1cd9718608e217ec5f68b3ff2a504f5
Bug 25655: Store actual cost in foreign currency and currency from the invoice

Bug 24158 allows to calculate the actual cost on time of receive from a foreign currency.
This new enhancement is storing the price and the currency in database, into two new columns
invoice_unitprice an invoice_currency

Test plan:
Create a new order with several items to receive
Receive one or more items, and tick "change currency" on the order
receive page
Select a currency and finish the receiving
In DB notice that the price and the currency have been stored.
Receive remaining items and confirm that the form is prefilled with
previous price and currency

Sponsored-by: The Research University in the Helmholtz Association (KIT)
Signed-off-by: Michaela Sieber <michaela.sieber@kit.edu>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Koha/Acquisition/Order.pm
acqui/finishreceive.pl
koha-tmpl/intranet-tmpl/prog/en/modules/acqui/orderreceive.tt