Bug 37938 - Budgeted cost in new order form isn't honoring OrderPriceRounding
Summary: Budgeted cost in new order form isn't honoring OrderPriceRounding
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: Acquisitions (show other bugs)
Version: Main
Hardware: All All
: P5 - low normal
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-09-17 02:26 UTC by Victor Grousset/tuxayo
Modified: 2024-09-17 02:44 UTC (History)
0 users

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Victor Grousset/tuxayo 2024-09-17 02:26:29 UTC
To test:
1) Enable syspref OrderPriceRounding
2) in acquisitions, search vendors, pick one, look for an existing basket
3) Start creating an order line with vendor price 18.90 and a discount of 5 %.
   (don't submit)
4) "Budgeted cost" is 17.95. => this is wrong, it should be 17.96
Comment 1 Victor Grousset/tuxayo 2024-09-17 02:44:06 UTC
This is calculated in JS so the fix is different from bug 36049 which is why it's better to do it separately.

See bug 36049 comment 0 and bug 36049 comment 6 for leads.