https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19780
--- Comment #1 from Alex Buckley <alexbuck...@catalyst.net.nz> --- Created attachment 69622 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=69622&action=edit Bug 19780 - Updating the invoice costs after updating of the actual value post receiving of the order This invoice will update the invoice values if the order actual price value is modified after the order has been received. Test plan: 1. Create an order with the vendor price: 10.00 and actual price of 12.00 2. Close the order and receive the shipment. Change the actual price in the receival page to 14.00 3. View the invoices and notice that 14.00 is the value displayed 4. Go back to the order and click on the order line to modify the order. Change the actual price to 15.00 5. View the invoice now and notice that 14.00 is still the value being displayed 6. Apply patch 7. Repeat steps 1,2,3,4 and 5 and notice that 15.00 is the value displayed in the invoice 8. Now repeat steps 1. View the aqorders database table and notice after step 1 is completed the order has unitprice:12.00 and unitprice_tax_included and unitprice_tax_excluded values of NULL 9. Now before closing the order modify it and set the actual price to 14.00 10. Check the aqorders table again and notice that the unitprice is 14.00 and the unitprice_tax_included and unitprice_tax_excluded both equal NULL. This means the unitprice_tax_included and unitprice_tax_excluded values are not being updated before the order has been receieved by they are being correctly updated if the order has been received and the actual price is changed. Sponsored-by: Horowhenua Distircit Council -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/