From db321d00589bf7dc04677dfb14098afe8df7fef4 Mon Sep 17 00:00:00 2001 From: marina Date: Fri, 27 Dec 2024 15:44:14 +0300 Subject: [PATCH] =?utf8?q?ERP-275=20=D0=94=D0=BE=D0=B1=D0=B0=D0=B2=D0=BB?= =?utf8?q?=D0=B5=D0=BD=D0=B8=D0=B5=20=D0=BA=D0=BE=D0=BB=D0=BE=D0=BD=D0=BA?= =?utf8?q?=D0=B8=20=D0=B4=D0=BB=D1=8F=20=D1=81=D0=BE=D1=85=D1=80=D0=B0?= =?utf8?q?=D0=BD=D0=B5=D0=BD=D0=B8=D1=8F=20type=20=D0=B2=20=D1=82=D0=BE?= =?utf8?q?=D0=B2=D0=B0=D1=80=D0=B5=20=D0=B8=D0=B7=20=D0=BA=D0=B0=D1=82?= =?utf8?q?=D0=B0=D0=BB=D0=BE=D0=B3=D0=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- erp24/api2/controllers/DataController.php | 1 + erp24/records/Products1c.php | 2 ++ 2 files changed, 3 insertions(+) diff --git a/erp24/api2/controllers/DataController.php b/erp24/api2/controllers/DataController.php index f9425c9c..6d546665 100644 --- a/erp24/api2/controllers/DataController.php +++ b/erp24/api2/controllers/DataController.php @@ -873,6 +873,7 @@ class DataController extends BaseController } $products1c6->name = $arr["name"]; $products1c6->code = $arr["code"]; + $products1c6->type = $arr["type"]; $products1c6->articule = $arr["articule"]; $products1c6->parent_id = $arr["parent_id"]; $products1c6->view = $arr["view"]; diff --git a/erp24/records/Products1c.php b/erp24/records/Products1c.php index 4a723841..b72a9f23 100644 --- a/erp24/records/Products1c.php +++ b/erp24/records/Products1c.php @@ -16,11 +16,13 @@ use yii\helpers\ArrayHelper; * @property string $articule * @property int $view * @property string $components + * @property string|null $type */ class Products1c extends \yii\db\ActiveRecord { const PRODUCT1C_FIELDS = ['id', 'parent_id', 'tip', 'code', 'name', 'articule', 'view', 'components', 'AdditionCharacteristics']; + /** * {@inheritdoc} */ -- 2.39.5