From: fomichev Date: Wed, 18 Dec 2024 08:19:02 +0000 (+0300) Subject: Убрал свойство X-Git-Tag: 1.7~151^2~3 X-Git-Url: https://gitweb.erp-flowers.ru/?a=commitdiff_plain;h=168a76bc56991d00556cdba2793239e9d5dd9ebf;p=erp24_rep%2Fyii-erp24%2F.git Убрал свойство --- 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()) {