CoreBOSBB
InventoryDetails: Cost Total field doesn't work as I expect - Printable Version

+- CoreBOSBB (https://discussions.corebos.org)
+-- Forum: Development (https://discussions.corebos.org/forumdisplay.php?fid=18)
+--- Forum: coreBOS Development (https://discussions.corebos.org/forumdisplay.php?fid=4)
+--- Thread: InventoryDetails: Cost Total field doesn't work as I expect (/showthread.php?tid=1241)



InventoryDetails: Cost Total field doesn't work as I expect - Guido1982 - 08-28-2018

I see the cost-total field in InventoryDetails and expected it to show me the total cost of the line, so unit_cost * qty. In stead, it shows me the unit_cost / 100, rounded. So a unit cost of 1.338,00 gives me a cost_total of 1,34. Is that intended behaviour? Did I interpret the field wrong?


RE: InventoryDetails: Cost Total field doesn't work as I expect - joebordes - 08-28-2018

typical formatting problems


RE: InventoryDetails: Cost Total field doesn't work as I expect - Guido1982 - 08-28-2018

Ah, so just a small bug? Well I can easily update my nemesis install now so I'll keep an eye out on github


RE: InventoryDetails: Cost Total field doesn't work as I expect - joebordes - 08-28-2018

I think I got it:

https://github.com/tsolucio/corebos/commit/63a45e8774fe6041bef7bb81fb79b3880214ac12


RE: InventoryDetails: Cost Total field doesn't work as I expect - Guido1982 - 08-28-2018

Nice, thanks!


RE: InventoryDetails: Cost Total field doesn't work as I expect - Guido1982 - 09-05-2018

Tested, this seems to work correctly now. Thanks!