fix actionFindByDate in ReportsController

This commit is contained in:
iIronside 2023-01-19 13:55:28 +03:00
parent c9ce085289
commit bbc11fc559

View File

@ -87,7 +87,7 @@ class ReportsController extends ApiController
if(!$reportsModel->validate()){ if(!$reportsModel->validate()){
return $reportsModel->errors; return $reportsModel->errors;
} }
return $reportsModel->byParams(); return $reportsModel->findByDate();
} }
public function actionCreate() public function actionCreate()