]> gitweb.erp-flowers.ru Git - erp24_rep/yii-erp24/.git/commitdiff
[ERP-399] matrixerp components fillment feature_smirnov_erp-399_matrix_erp_property_dynamic origin/feature_smirnov_erp-399_matrix_erp_property_dynamic
authorAlexander Smirnov <fredeom@mail.ru>
Tue, 15 Apr 2025 11:08:08 +0000 (14:08 +0300)
committerAlexander Smirnov <fredeom@mail.ru>
Tue, 15 Apr 2025 11:08:08 +0000 (14:08 +0300)
erp24/commands/MatrixErpController.php

index df6bc2ba6c2baea283fb5add747841d535d0ff8a..e6df36156561a7fecb40d86824007c92810030f0 100644 (file)
@@ -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());
+                        }
                     }
                 }
             }