From: marina Date: Tue, 1 Jul 2025 07:17:21 +0000 (+0300) Subject: ERP-427 Доработка комментария при отправке заказа из маркетплейс с 1с X-Git-Url: https://gitweb.erp-flowers.ru/?a=commitdiff_plain;h=7fb2ed21252c00eee6168f345fed6b443a19a4fa;p=erp24_rep%2Fyii-erp24%2F.git ERP-427 Доработка комментария при отправке заказа из маркетплейс с 1с --- diff --git a/erp24/api2/controllers/DataController.php b/erp24/api2/controllers/DataController.php index 8ac6a556..479e95a6 100644 --- a/erp24/api2/controllers/DataController.php +++ b/erp24/api2/controllers/DataController.php @@ -842,7 +842,7 @@ class DataController extends BaseController 'items' => $itemsFiltered, 'photo_link' => $photoLink, 'comment_data' => json_encode([ - 'delivery' => $marketplaceOrder->raw_data['delivery'], + 'delivery' => $rawData['delivery'] ?? null, 'products_without_guid' => $marketplaceOrder->getProductsWithoutArticule(), ]) // 'marketplace_order_id' => $marketplaceOrder->marketplace_order_id,