folkifoon Posted November 3, 2015 Share Posted November 3, 2015 (edited) When a product has a discount, on my invoice it shows for example -30.250000.What can i do to get only -30.25 ? Edited November 3, 2015 by folkifoon (see edit history) Link to comment Share on other sites More sharing options...
tuk66 Posted November 3, 2015 Share Posted November 3, 2015 What is your version? What number of decimals do you have set under Preferences > General? Link to comment Share on other sites More sharing options...
folkifoon Posted November 5, 2015 Author Share Posted November 5, 2015 Version 1.6.0.8, that does not have the option to change it like the 1.6.1.1 (i have a second shop where i can compare. The 1.6.0.8 shop i cannot update so i need to go into the core files somewhere.Do you know in what file i can change this? Link to comment Share on other sites More sharing options...
tuk66 Posted November 6, 2015 Share Posted November 6, 2015 Invoices have files under /pdf and /classes/pdf directories. Link to comment Share on other sites More sharing options...
folkifoon Posted November 6, 2015 Author Share Posted November 6, 2015 I think it must be around here: {if (isset($order_detail.reduction_amount) && $order_detail.reduction_amount > 0)} -{$order_detail.reduction_amount} {elseif (isset($order_detail.reduction_percent) && $order_detail.reduction_percent > 0)} -{$order_detail.reduction_percent}% {else}So now i need to know where i change the result of $order_detail.reduction_amount so it only shows $,$$ instead of $,$$$$$$$ Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now