From: Vladimir Fomichev Date: Mon, 13 Oct 2025 14:25:38 +0000 (+0300) Subject: Статусы доставки X-Git-Url: https://gitweb.erp-flowers.ru/?a=commitdiff_plain;h=a8709e182551c7f9b8039fdc7ba7f7094777c050;p=erp24_rep%2Fyii-erp24%2F.git Статусы доставки --- diff --git a/erp24/services/MarketplaceService.php b/erp24/services/MarketplaceService.php index f560c22d..a205bffc 100644 --- a/erp24/services/MarketplaceService.php +++ b/erp24/services/MarketplaceService.php @@ -1384,7 +1384,7 @@ class MarketplaceService $deliveredStatusId = $statuses['DELIVERED']; $status1cWithDeliveredId = ArrayHelper::getColumn(MarketplaceOrder1cStatuses::find() ->where(['order_status_id' => $deliveredStatusId]) - ->andWhere(['marketplace_id' => 1]) + ->andWhere(['marketplace_id' => MarketplaceStore::YANDEX_WAREHOUSE_ID]) ->asArray() ->all(), 'id')[0] ?? null; $marketplaceOrder->status_processing_1c = $status1cWithDeliveredId;