From: Vladimir Fomichev Date: Fri, 29 Aug 2025 11:25:51 +0000 (+0300) Subject: Обработка чеков для МП X-Git-Url: https://gitweb.erp-flowers.ru/?a=commitdiff_plain;h=0a823df6a13f12c97b1a09561f593e5ce2dcfa88;p=erp24_rep%2Fyii-erp24%2F.git Обработка чеков для МП --- diff --git a/erp24/api2/controllers/DataController.php b/erp24/api2/controllers/DataController.php index 9df0d70b..25fced98 100644 --- a/erp24/api2/controllers/DataController.php +++ b/erp24/api2/controllers/DataController.php @@ -1973,7 +1973,7 @@ class DataController extends BaseController continue; } $check = CreateChecks::find() - ->where(['id' => $arr["check_id"]]) + ->where(['check_id' => $arr["id"]]) ->andWhere(['order_guid' => $arr["marketplace_order_id"]]) ->andWhere(['status' => 0])->one(); if(!$check) {