]> gitweb.erp-flowers.ru Git - erp24_rep/yii-erp24/.git/commitdiff
Убрал свойство
authorfomichev <vladimir.fomichev@erp-flowers.ru>
Wed, 18 Dec 2024 08:19:02 +0000 (11:19 +0300)
committerfomichev <vladimir.fomichev@erp-flowers.ru>
Wed, 18 Dec 2024 08:19:02 +0000 (11:19 +0300)
erp24/api2/controllers/DataController.php

index 7958046eb643b539bcd547bbfc2f9dd03f60998c..10a68f7cb391f778b64c7a7af774b2ffd40e150d 100644 (file)
@@ -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()) {