Bug 22863 - Item replacement cost with tax
Summary: Item replacement cost with tax
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: Acquisitions (show other bugs)
Version: master
Hardware: All All
: P5 - low enhancement (vote)
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-05-07 19:26 UTC by Alexandre
Modified: 2019-05-13 19:02 UTC (History)
3 users (show)

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


Attachments
Revert "Bug 22478: (QA follow-up) Update tests to check for any script tags" (2.03 KB, patch)
2019-05-13 13:26 UTC, Martin Renvoize
Details | Diff | Splinter Review
Revert "Bug 22478: (QA follow-up) Handle category in opac-shelves like a boolean" (1.58 KB, patch)
2019-05-13 13:26 UTC, Martin Renvoize
Details | Diff | Splinter Review
Bug 22836: (follow-up) Bug 22478: (QA follow-up) Make test consistent with variable name (1.48 KB, patch)
2019-05-13 13:26 UTC, Martin Renvoize
Details | Diff | Splinter Review

Note You need to log in before you can comment on or make changes to this bug.
Description Alexandre 2019-05-07 19:26:07 UTC
Hi,

When an item is marked as lost, the status of this item change and Koha will use the a Default Replacement Cost. This price is without tax sadly because it's based on aqorders.unitprice. 


But we need the cost of this item with tax (which is the real price paid for it). Then, the price needed must be based on unitprice_tax_included. 

To do that, the prices in these two areas :

items.replacementprice
items.price

must be based on :

aqorders.unitprice_tax_included.

Thanks you,

Alexandre