diff --git a/ajax/ajax_invoice_pay.php b/ajax/ajax_invoice_pay.php new file mode 100644 index 00000000..cbf6eb1c --- /dev/null +++ b/ajax/ajax_invoice_pay.php @@ -0,0 +1,182 @@ + + + +
+ + + + + + +
+ + - - + + Add Payment @@ -701,7 +705,6 @@ if (isset($_GET['invoice_id'])) { \ No newline at end of file diff --git a/report_clients_with_balance.php b/report_clients_with_balance.php index 40f15ce7..cd677d07 100644 --- a/report_clients_with_balance.php +++ b/report_clients_with_balance.php @@ -27,8 +27,9 @@ enforceUserPermission('module_financial'); invoices ON clients.client_id = invoices.invoice_client_id - AND invoices.invoice_status NOT LIKE 'Draft' - AND invoices.invoice_status NOT LIKE 'Cancelled' + AND invoices.invoice_status != 'Draft' + AND invoices.invoice_status != 'Cancelled' + AND invoice_status != 'Non-Billable' LEFT JOIN (SELECT payment_invoice_id,