fix reports
This commit is contained in:
1 parent
2f8e6466f4
commit
56ec8d8b13
2 files changed
+2
-2
No files matched your search
@@ -159,6 +159,7 @@ class ReportsController extends ApiController
|
||||
// return $reportsModel;
|
||||
|
||||
$reports = $reportsModel->reportsByDate();
|
||||
return $reports;
|
||||
return ArrayHelper::toArray($reports , [
|
||||
'common\models\Reports' => [
|
||||
'date' => 'created_at',
|
||||
|
||||
Reference in new issue
Block a user