check commit
This commit is contained in:
parent
9b46ec36dd
commit
3e236c5869
@ -156,10 +156,8 @@ class ReportsController extends ApiController
|
||||
$reportsModel->attributes = $params;
|
||||
$reportsModel->user_card_id = $userCard->id;
|
||||
|
||||
// return $reportsModel;
|
||||
|
||||
$reports = $reportsModel->reportsByDate();
|
||||
return $reports;
|
||||
return $reportsModel;
|
||||
return ArrayHelper::toArray($reports , [
|
||||
'common\models\Reports' => [
|
||||
'date' => 'created_at',
|
||||
|
Loading…
Reference in New Issue
Block a user