selin Posted May 2, 2019 Share Posted May 2, 2019 Hi everyone, I want to show price tax inc. of net profit and sales on admin dashboard stats. (By default its tax exc.) How can I do this? Thanks! Link to comment Share on other sites More sharing options...
selin Posted May 2, 2019 Author Share Posted May 2, 2019 8 minutes ago, PrestaCandy said: What is your PS version? Hi, 1.7.4 Link to comment Share on other sites More sharing options...
Kaloyan Rachev Posted May 30, 2019 Share Posted May 30, 2019 Hello, i didn't find configuration to change the price in the dashboard orders, but i think you can do it manually: change line 131 in dashproducts module class (dashproducts.php) 'value' => Tools::displayPrice((float)$order['total_paid_tax_excl'], $currency), to 'value' => Tools::displayPrice((float)$order['total_paid_tax_incl'], $currency), and also the labels (line 106, same file) array('title' => $this->trans('Total', array(), 'Admin.Global').' '.$this->trans('Tax excl.', array(), 'Admin.Global'), 'class' => 'text-center'), to array('title' => $this->trans('Total', array(), 'Admin.Global').' '.$this->trans('Tax incl.', array(), 'Admin.Global'), 'class' => 'text-center'), 2 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