]> gitweb.erp-flowers.ru Git - erp24_rep/yii-erp24/.git/commitdiff
[ERP-165] Дебаг 001
authorAlexander Smirnov <fredeom@mail.ru>
Tue, 27 Aug 2024 13:09:02 +0000 (16:09 +0300)
committerAlexander Smirnov <fredeom@mail.ru>
Tue, 27 Aug 2024 13:09:02 +0000 (16:09 +0300)
erp24/api3/modules/v1/controllers/claim/WorkerController.php

index abd2d666411e91cabea0c3bc51684ad42622a6cf..ba54715fd63ce3df5624a207589a6d430903bdf0 100644 (file)
@@ -52,7 +52,7 @@ class WorkerController extends \yii_app\api3\controllers\ActiveController
             ['status' => [EmployeeOnShift::STATUS_INITIAL, EmployeeOnShift::STATUS_REJECT]],
             ['<=', 'created_at', date('Y-m-d H:i:s', strtotime('-30 minutes', time()))]
         ]);
-
+throw new \Exception("test");
         $params = Yii::$app->request->bodyParams;
         $data = $this->validate(new Worker(), $params);