[Koha-bugs] [Bug 19780] Actual price is not updated after it has been amended post receiving an order

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Mar 28 01:45:51 CEST 2018


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19780

--- Comment #3 from Alex Buckley <alexbuckley at catalyst.net.nz> ---
Created attachment 73359
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=73359&action=edit
Bug 19780 - Updating the invoice costs after updating the actual cost of an
order following the receival of the order

This patch builds on the previous patch attached to the bug report 19780.

The purpose of this patch is to fix the current bug in Koha which is if
you have accidently written in the incorrect value into an order
receival form then try to correct the value by clicking on the order
line link and writing in a new value into the actual value input field
of the order and then save the form and go and view the invoice you
notice that the invoice amount has not been updated to match the newly
entered actual value of the order.

This bug was reported by Horowhenua District Library

Now with this patch after clicking on the order line link and writing in
a new actual value for a received order the database is correctly
updated with the new actual value and if you now view the appropriate
invoice for that order you will notice that the invoice amount has been
updated.

To make the testing of this patch easier I have made a before and after
screencast video to compliment the test plan.

Updated 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. Open a new tab and view the invoice for the newly received order and notice
that 14.00 is the value displayed

4. In your first tab now click on the order line link 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

Sponsored-By: Catalyst IT

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list