From fea58757489099893381f0b79af03634b2b490d9 Mon Sep 17 00:00:00 2001 From: "a.belikin" Date: Tue, 12 Nov 2024 19:27:48 +0300 Subject: [PATCH] =?UTF-8?q?=D0=A1=D0=B4=D0=B5=D0=BB=D0=B0=D0=BB=20=D1=81?= =?UTF-8?q?=D0=BE=D1=85=D1=80=D0=B0=D0=BD=D0=B5=D0=BD=D0=B8=D0=B5=20=D1=81?= =?UTF-8?q?=D0=B2=D0=BE=D0=B9=D1=81=D1=82=D0=B2=20=D0=B4=D0=BB=D1=8F=20?= =?UTF-8?q?=D0=B2=D1=81=D0=B5=D1=85=20=D0=BA=D0=B0=D1=82=D0=B0=D0=BB=D0=BE?= =?UTF-8?q?=D0=B3=D0=BE=D0=B2.=20=D0=A3=D0=B1=D1=80=D0=B0=D0=BB=20=D0=B2?= =?UTF-8?q?=D1=8B=D0=B2=D0=BE=D0=B4=20=D1=81=D0=B2=D0=BE=D0=B9=D1=81=D1=82?= =?UTF-8?q?=D0=B2,=20=D0=B4=D0=BB=D1=8F=20=D0=BA=D0=BE=D1=82=D0=BE=D1=80?= =?UTF-8?q?=D1=8B=D1=85=20=D0=BD=D0=B5=20=D0=B7=D0=B0=D0=B4=D0=B0=D0=BD?= =?UTF-8?q?=D1=8B=20=D0=BA=D0=BE=D0=B4=D1=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- intaro.retailcrm/export/export_setup.php | 53 +++++++++---------- intaro.retailcrm/lib/icml/settingsservice.php | 11 +++- 2 files changed, 33 insertions(+), 31 deletions(-) diff --git a/intaro.retailcrm/export/export_setup.php b/intaro.retailcrm/export/export_setup.php index adc7f3f1..f8c9d5fc 100644 --- a/intaro.retailcrm/export/export_setup.php +++ b/intaro.retailcrm/export/export_setup.php @@ -190,8 +190,7 @@ if ($STEP === 1) { defaultPropList as $propertyKey => $property) { - $productSelected = false; ?> + foreach ($settingsService->defaultPropList as $propertyKey => $property) { ?> @@ -215,14 +214,14 @@ if ($STEP === 1) { if ($keyField === $propertyKey) { ?> @@ -241,7 +240,7 @@ if ($STEP === 1) { getOptionClass($prop, true); - $productSelected = $settingsService->isOptionSelected( + $isSelected = $settingsService->isOptionSelected( $prop, $arIBlock['OLD_PROPERTY_PRODUCT_SELECT'], $propertyKey @@ -251,7 +250,7 @@ if ($STEP === 1) { = $settingsService->getHlTableName($prop) ?? $productHlTableName; - echo $productSelected ? ' selected' : ''; + echo $isSelected ? ' selected' : ''; ?> > @@ -376,19 +375,18 @@ if ($STEP === 1) {