Bug 23523: unitprice tax column values are not populated if entered upon ordering
authorNick Clemens <nick@bywatersolutions.com>
Thu, 29 Aug 2019 18:42:24 +0000 (18:42 +0000)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Tue, 5 Nov 2019 08:11:29 +0000 (08:11 +0000)
commitf601941b50eae7e1a09829313ed020afbf915c0f
tree60ec87295ebb9f9c77908ac07a54e2e4fde2224d
parent549a09c52178937af28cc11c5bfa7f00cbced1b5
Bug 23523: unitprice tax column values are not populated if entered upon ordering

To test:
 1 - Add an item to an acquisitions basket
 2 - Make sure to enter 'Actual cost'
 3 - Check the db:
    SELECT * FROM aqorders WHERE ordernumber={your ordernumber}
 4 - Note that unitprice_tax_included and unitprice_tax_excluded are not populated
 5 - Apply patch
 6 - Edit that order
 7 - Check DB
 8 - Values should be populated
 9 - Place another order, ensude values populated on creation
10 - QA people: prove -v t/db_dependent/Acquisition/populate_order_with_prices.t

Signed-off-by: Claire Gravely <claire.gravely@bsz-bw.de>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
C4/Acquisition.pm
t/db_dependent/Acquisition/populate_order_with_prices.t