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

--- Comment #8 from Matt Blenkinsop <[email protected]> ---
Created attachment 198954
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=198954&action=edit
Bug 23981: Use ecost instead of rrp to calculate ecost fields

Test plan:
1) Create a new basket for the vendor above.
2) Add a new order (empty) and enter the following in the financial details:
Vendor price: 10.99, Tax rate: 0%, Discount: 0%, Retail price: 12.99,
Replacement cost: 15.99, Actual cost: 18.99.
3) Confirm the Budgeted cost shown on the order form is 10.99 (vendor price),
not 12.99 (retail price).
4) Save the order.
5) Check the database using SELECT ecost, ecost_tax_excluded,
ecost_tax_included FROM aqorders WHERE basketno = X (substitute your basket
number). Verify ecost_tax_excluded and ecost_tax_included are both 10.99, not
12.99.
6) From the acquisitions home page, click the Ordered amount for your fund.
Verify the Estimated cost per unit column shows 10.99, not 12.99.
7) Close the basket.
8) Receive a shipment. On the parcel page (list of items to receive), verify
the Order cost column shows 10.99.
9) Click to receive the order. On the order receive page, verify the Budgeted
cost field shows 10.99, not 12.99.
10) Complete receipt. Verify the fund's Spent column deducts the actual cost
(18.99), not the retail price.
11) prove t/db_dependent/Acquisition/populate_order_with_prices.t

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://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/

Reply via email to