Add payment pending to invoice totals to prevent changing client income
Right now invoices set to 'payment pending' are removed from pretty much all overviews and totals.
For example let's say you have a client that ordered $300. At first the admin>client>overview will show this client has $300 of unpaid invoices. However as soon as they get set to 'payment pending' the client total will drop to $0.
When you check admin/invoices.php you will also notice that the summary box does NOT include a total for payment pending.
I would like WHMCS to start counting payment pending for client total income AND show their total on admin/invoice.php