]> gitweb.erp-flowers.ru Git - erp24_rep/yii-erp24/.git/commitdiff
Статусы доставки
authorVladimir Fomichev <vladimir.fomichev@erp-flowers.ru>
Mon, 13 Oct 2025 14:25:38 +0000 (17:25 +0300)
committerVladimir Fomichev <vladimir.fomichev@erp-flowers.ru>
Mon, 13 Oct 2025 14:25:38 +0000 (17:25 +0300)
erp24/services/MarketplaceService.php

index f560c22dd0aebaf6a6653fda0e16679cfcd50887..a205bffc5aa546d3ce465e76592e24c011062e36 100644 (file)
@@ -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;