Jump to content

Override AdminOutstanding Controller


z72diego

Recommended Posts

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!

28698713_418857281888602_3600844831524554826_o.jpg

Link to comment
Share on other sites

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...