|
|
@ -67,7 +67,7 @@ class Statistics extends Controller |
|
|
'year' => $monthData['sum_year'], |
|
|
'year' => $monthData['sum_year'], |
|
|
'monthDate' => [] |
|
|
'monthDate' => [] |
|
|
]; |
|
|
]; |
|
|
|
|
|
ksort($monthData['month']); |
|
|
foreach ($monthData['month'] as $month => $value) { |
|
|
foreach ($monthData['month'] as $month => $value) { |
|
|
$tempData['monthDate'][] = [ |
|
|
$tempData['monthDate'][] = [ |
|
|
'month' => $month, |
|
|
'month' => $month, |
|
|
@ -109,7 +109,7 @@ class Statistics extends Controller |
|
|
'year' => $monthData['sum_year'], |
|
|
'year' => $monthData['sum_year'], |
|
|
'monthDate' => [] |
|
|
'monthDate' => [] |
|
|
]; |
|
|
]; |
|
|
|
|
|
ksort($monthData['month']); |
|
|
foreach ($monthData['month'] as $month => $value) { |
|
|
foreach ($monthData['month'] as $month => $value) { |
|
|
$tempData['monthDate'][] = [ |
|
|
$tempData['monthDate'][] = [ |
|
|
'month' => $month, |
|
|
'month' => $month, |
|
|
|