mirror of
				https://github.com/invoiceninja/invoiceninja.git
				synced 2025-11-04 01:17:30 -05:00 
			
		
		
		
	Chart updates'
This commit is contained in:
		
							parent
							
								
									bf2475d0ee
								
							
						
					
					
						commit
						52cac9ddea
					
				@ -128,6 +128,7 @@ trait ChartQueries
 | 
			
		||||
        return DB::select(DB::raw("
 | 
			
		||||
            SELECT
 | 
			
		||||
            sum(invoices.paid_to_date) as paid_to_date,
 | 
			
		||||
            sum(invoices.amount) as invoiced_amount,
 | 
			
		||||
            IFNULL(JSON_EXTRACT( settings, '$.currency_id' ), :company_currency) AS currency_id
 | 
			
		||||
            FROM clients
 | 
			
		||||
            JOIN invoices
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user