Bug 22863

Summary: Item replacement cost with tax
Product: Koha Reporter: Alexandre <alexandre.breton>
Component: AcquisitionsAssignee: Bugs List <koha-bugs>
Status: NEW --- QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low CC: marjorie.barry-vila, martin.renvoize, patrick.robitaille
Version: Main   
Hardware: All   
OS: All   
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"
Revert "Bug 22478: (QA follow-up) Handle category in opac-shelves like a boolean"
Bug 22836: (follow-up) Bug 22478: (QA follow-up) Make test consistent with variable name

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