mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Query cleanup
This commit is contained in:
parent
4ed115143f
commit
9715caeff0
@ -103,7 +103,6 @@ trait ChartQueries
|
|||||||
|
|
||||||
return DB::select( DB::raw("
|
return DB::select( DB::raw("
|
||||||
SELECT
|
SELECT
|
||||||
-- sum(invoices.balance) as balance,
|
|
||||||
sum(invoices.amount) as total,
|
sum(invoices.amount) as total,
|
||||||
invoices.date,
|
invoices.date,
|
||||||
IFNULL(CAST(JSON_EXTRACT( settings, '$.currency_id' ) AS SIGNED), :company_currency) AS currency_id
|
IFNULL(CAST(JSON_EXTRACT( settings, '$.currency_id' ) AS SIGNED), :company_currency) AS currency_id
|
||||||
|
Loading…
x
Reference in New Issue
Block a user