From: Alexander Smirnov Date: Tue, 15 Apr 2025 11:08:08 +0000 (+0300) Subject: [ERP-399] matrixerp components fillment X-Git-Url: https://gitweb.erp-flowers.ru/?a=commitdiff_plain;h=9ffd9065bcbbeeac6ea16a5fc55cbc2381989302;p=erp24_rep%2Fyii-erp24%2F.git [ERP-399] matrixerp components fillment --- 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()); + } } } }