Increase Client Invoice View

Hi,

How can Increase the client invoice ‘View’ to high value

Clients-> View Clients -> Client Name -> Invoices: Only last 20 Invoices are viewing. How can increase this to 50 or more

edit file:

/application/modules/clients/controllers/Clients.php

Change

‘invoices’ => $this->mdl_invoices->by_client($client_id)->limit(20)->get()->result(),

to

‘invoices’ => $this->mdl_invoices->by_client($client_id)->limit(50)->get()->result(),

Thank you…Working

Great, I needed to do the same thing a while back.

Hello,

Just to remind it’s a temporary fix, at the next update it will be reset to 20. So consider ask for a feature request instead of update some files like that :wink: