From 771aff20af69d4d68d8d763a5fb397b87f21c903 Mon Sep 17 00:00:00 2001 From: marina Date: Thu, 19 Dec 2024 14:39:40 +0300 Subject: [PATCH] =?utf8?q?ERP-256=20=D0=A1=D0=B4=D0=B5=D0=BB=D0=B0=D1=82?= =?utf8?q?=D1=8C=20=D0=BE=D1=82=D0=BF=D1=80=D0=B0=D0=B2=D0=BA=D1=83=20?= =?utf8?q?=D0=B4=D0=BE=D0=BA=D1=83=D0=BC=D0=B5=D0=BD=D1=82=D0=BE=D0=B2=20?= =?utf8?q?=D0=9F=D0=B5=D1=80=D0=B5=D1=81=D0=BE=D1=80=D1=82=D0=B8=D1=86?= =?utf8?q?=D0=B0=20=D0=B2=201=D1=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- erp24/api2/controllers/DataController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/erp24/api2/controllers/DataController.php b/erp24/api2/controllers/DataController.php index 316257c0..e3aa71e8 100644 --- a/erp24/api2/controllers/DataController.php +++ b/erp24/api2/controllers/DataController.php @@ -1151,7 +1151,7 @@ class DataController extends BaseController ); foreach ($result["created_write_ons"] as $arr) { if (!empty($arr["id"])) { - $waybillIncoming = WaybillIncoming::find()->where(['guid' => $arr["arr"]])->one(); + $waybillIncoming = WaybillIncoming::find()->where(['guid' => $arr["id"]])->one(); } if (!empty($waybillIncoming)) { -- 2.39.5