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

index cc5c0f4b0e60897956fded74aae6ebd5834b3cf8..64ace38df75fd30f129524a2fc32c1cb79c9d8dc 100644 (file)
@@ -52,7 +52,8 @@ 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()))]
         ]);
-        var_dump(date('Y-m-d H:i:s', strtotime('-30 minutes', time())));
+        //var_dump(date('Y-m-d H:i:s', strtotime('-30 minutes', time())));
+        phpinfo();
         die;
         $params = Yii::$app->request->bodyParams;
         $data = $this->validate(new Worker(), $params);