mirror of
				https://github.com/firefly-iii/firefly-iii.git
				synced 2025-10-31 10:47:00 +00:00 
			
		
		
		
	Even more code cleanup.
This commit is contained in:
		| @@ -27,9 +27,6 @@ class Chart implements ChartInterface | ||||
|         $return = ['name' => $account->name, 'id' => $account->id, 'data' => []]; | ||||
|  | ||||
|         while ($current <= $end) { | ||||
|             \Log::debug( | ||||
|                 'Now at day: ' . $current . '(' . $current->timestamp . '), (' . ($current->timestamp * 1000) . ') ' | ||||
|             ); | ||||
|             if ($current > $today) { | ||||
|                 $return['data'][] = [$current->timestamp * 1000, $account->predict(clone $current)]; | ||||
|             } else { | ||||
| @@ -118,9 +115,6 @@ class Chart implements ChartInterface | ||||
|                 }] | ||||
|         )->orderBy('name', 'ASC')->get(); | ||||
|  | ||||
|         $limitInPeriod = 'Envelope for (empty)'; | ||||
|         $spentInPeriod = 'Spent in (empty)'; | ||||
|  | ||||
|         foreach ($budgets as $budget) { | ||||
|             $budget->count = 0; | ||||
|             foreach ($budget->limits as $limit) { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user