diff --git a/invoice.php b/invoice.php index 9e17a79c..92f72887 100644 --- a/invoice.php +++ b/invoice.php @@ -105,7 +105,8 @@ if (isset($_GET['invoice_id'])) { AND ticket_invoice_id = 0 AND - ticket_status LIKE '%close%';"); + ticket_status LIKE '%close%'; + "); //Add up all the payments for the invoice and get the total amount paid to the invoice