From 168a76bc56991d00556cdba2793239e9d5dd9ebf Mon Sep 17 00:00:00 2001 From: fomichev Date: Wed, 18 Dec 2024 11:19:02 +0300 Subject: [PATCH] =?utf8?q?=D0=A3=D0=B1=D1=80=D0=B0=D0=BB=20=D1=81=D0=B2?= =?utf8?q?=D0=BE=D0=B9=D1=81=D1=82=D0=B2=D0=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- erp24/api2/controllers/DataController.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/erp24/api2/controllers/DataController.php b/erp24/api2/controllers/DataController.php index 7958046e..10a68f7c 100644 --- a/erp24/api2/controllers/DataController.php +++ b/erp24/api2/controllers/DataController.php @@ -54,7 +54,7 @@ class DataController extends BaseController { const OUT_DIR = // __DIR__ . "/../json"; // "/www/api2/json"; - "/var/www/erp24/api2/json"; + "/var/www/erp24/api2/json"; // "/var/www/www-root/data/www/api.bazacvetov24.ru/data/json"; public function actionRequest() { @@ -243,7 +243,6 @@ class DataController extends BaseController { $waybillWriteOffsErp = WaybillWriteOffs::find()->where(['in', 'id', $waybillWriteOffIds])->all(); foreach ($waybillWriteOffsErp as $waybillWriteOffsErpElem) { $waybillWriteOffsErpElem->status = WriteOffsErp::STATUS_SEND; - $waybillWriteOffsErpElem->error_text = ''; $waybillWriteOffsErpElem->send_at = date('Y-m-d H:i:s'); $waybillWriteOffsErpElem->save(); if ($waybillWriteOffsErpElem->getErrors()) { -- 2.39.5