z72diego Posted March 14, 2018 Share Posted March 14, 2018 Hello everyone! I want to edit the AdminOutstandingController.php so that instead of showing the column "Outstanding balance allowed" ("outstanding_allow_amount") it shows the value of what PS calls "invoices" (which is "total_paid_tax_incl"). I tried with: 'total_paid_tax_incl' => array( 'title' => $this->l('Total Remito X'), 'align' => 'text-right', 'type' => 'price', 'currency' => true, 'callback' => 'setOrderCurrency', 'badge_success' => true ), But i have not success it returns "--" Full code: https://codeshare.io/50njdD Any idea? Thanks! Link to comment Share on other sites More sharing options...
Nishith Nesdiya Posted March 15, 2018 Share Posted March 15, 2018 Hi... place this file in this path override\controllers\admin If any thing then tell me Thanks AdminOutstandingController.php Link to comment Share on other sites More sharing options...
z72diego Posted March 15, 2018 Author Share Posted March 15, 2018 hace 15 horas, Nishith dijo: Hi... place this file in this path override\controllers\admin If any thing then tell me Thanks AdminOutstandingController.php Hello Nishith thank you very much for your response. I share here the code modified by another developer that gave me a hand shortly before you. The result is the same and a new column was added that allows to see the total charged of each invoice. It is very useful for a B2B business. Regards! AdminOutstandingController.php 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