From 9ffd9065bcbbeeac6ea16a5fc55cbc2381989302 Mon Sep 17 00:00:00 2001 From: Alexander Smirnov Date: Tue, 15 Apr 2025 14:08:08 +0300 Subject: [PATCH] [ERP-399] matrixerp components fillment --- erp24/commands/MatrixErpController.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/erp24/commands/MatrixErpController.php b/erp24/commands/MatrixErpController.php index df6bc2ba..e6df3615 100644 --- a/erp24/commands/MatrixErpController.php +++ b/erp24/commands/MatrixErpController.php @@ -59,6 +59,11 @@ class MatrixErpController extends Controller if ($matrixErpPropertyDynamic2->getErrors()) { var_dump($matrixErpPropertyDynamic2->getErrors()); } + $matrixErp->$field = $product->$field; + $matrixErp->save(); + if ($matrixErp->getErrors()) { + var_dump($matrixErp->getErrors()); + } } } } -- 2.39.5