From 9715caeff056d92eaa4e3a4d7be997d523aac37a Mon Sep 17 00:00:00 2001 From: David Bomba Date: Fri, 21 Jan 2022 17:07:50 +1100 Subject: [PATCH] Query cleanup --- app/Services/Chart/ChartQueries.php | 1 - 1 file changed, 1 deletion(-) diff --git a/app/Services/Chart/ChartQueries.php b/app/Services/Chart/ChartQueries.php index 6e874cd5c87e..83a6abe1c613 100644 --- a/app/Services/Chart/ChartQueries.php +++ b/app/Services/Chart/ChartQueries.php @@ -103,7 +103,6 @@ trait ChartQueries return DB::select( DB::raw(" SELECT - -- sum(invoices.balance) as balance, sum(invoices.amount) as total, invoices.date, IFNULL(CAST(JSON_EXTRACT( settings, '$.currency_id' ) AS SIGNED), :company_currency) AS currency_id