@@ -102,7 +102,7 @@ SQL
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        // 月間グラフ用の配列初期化
 | 
			
		||||
        $month = Carbon::now()->subMonth(11)->firstOfMonth(); // 直近12ヶ月
 | 
			
		||||
        $month = Carbon::now()->firstOfMonth()->subMonth(11); // 直近12ヶ月
 | 
			
		||||
        for ($i = 0; $i < 12; $i++) {
 | 
			
		||||
            $monthlySum[$month->format('Y/m')] = 0;
 | 
			
		||||
            $month->addMonth();
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user