fix method name in ReportsController
This commit is contained in:
parent
ae44789200
commit
df05e0421c
@ -455,7 +455,7 @@ class ReportsController extends ApiController
|
|||||||
* @return array|array[]|object|object[]|string[]
|
* @return array|array[]|object|object[]|string[]
|
||||||
* @throws BadRequestHttpException
|
* @throws BadRequestHttpException
|
||||||
*/
|
*/
|
||||||
public function actionCheckReportsByDate($fromDate, $toDate, $user_card_id)
|
public function actionReportsByDate($fromDate, $toDate, $user_card_id)
|
||||||
{
|
{
|
||||||
if (!$this->checkDate($fromDate) || !$this->checkDate($toDate)) {
|
if (!$this->checkDate($fromDate) || !$this->checkDate($toDate)) {
|
||||||
throw new BadRequestHttpException('Wrong date format');
|
throw new BadRequestHttpException('Wrong date format');
|
||||||
|
Loading…
Reference in New Issue
Block a user