1
0
mirror of synced 2024-11-24 14:26:08 +03:00

ref #92774 Исправлено отображение настройки пользовательских полей (#329)

This commit is contained in:
Kocmonavtik 2023-12-21 15:09:31 +03:00 committed by GitHub
parent 6d479ae441
commit 3d3326018a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 12 additions and 15 deletions

View File

@ -1,3 +1,6 @@
## 2023-12-21 v.6.5.1
- Исправлено отображение настройки пользовательских полей
## 2023-12-18 v.6.5.0
- Добавлена поддержка функционала пользовательских полей

View File

@ -1 +1 @@
- Добавлена поддержка функционала пользовательских полей
- Исправлено отображение настройки пользовательских полей

View File

@ -1,6 +1,6 @@
<?php
$arModuleVersion = [
'VERSION' => '6.5.0',
'VERSION_DATE' => '2023-12-18 13:00:00'
'VERSION' => '6.5.1',
'VERSION_DATE' => '2023-12-21 15:00:00'
];

View File

@ -2434,14 +2434,11 @@ if (isset($_POST['Update']) && ($_POST['Update'] === 'Y')) {
name="bitrixOrderFields"
onchange="changeSelectBitrixValue(this, 'bitrixOrderFields_', 'crmOrderFields_');"
>
<option value=""></option>
<option value="" selected></option>
<?php foreach ($arResult['bitrixOrdersCustomProp'] as $type => $mass) {?>
<optgroup label="<?php echo GetMessage($type); ?>">
<?php foreach ($mass as $code => $prop) {?>
<option
value="<?php echo $code ?>"
<?php if ($bitrixProp === $code) echo 'selected'; ?>
>
<option value="<?php echo $code ?>">
<?php echo $prop ?>
</option>
<?php } ?>
@ -2457,14 +2454,11 @@ if (isset($_POST['Update']) && ($_POST['Update'] === 'Y')) {
name="crmOrderFields"
onchange="changeSelectCrmValue(this, 'crmOrder_')"
>
<option value=""></option>
<option value="" selected></option>
<?php foreach ($arResult['crmCustomOrderFields'] as $type => $mass) {?>
<optgroup label="<?php echo GetMessage($type); ?>">
<?php foreach ($mass as $crmProp) {?>
<option
value="<?php echo $crmProp['code'] ?>"
<?php if ($crmField === $crmProp['code']) echo 'selected'; ?>
>
<option value="<?php echo $crmProp['code'] ?>">
<?php echo $crmProp['name'] ?>
</option>
<?php } ?>
@ -2483,7 +2477,7 @@ if (isset($_POST['Update']) && ($_POST['Update'] === 'Y')) {
name="bitrixUserFields"
onchange="changeSelectBitrixValue(this, 'bitrixUserFields_', 'crmUserFields_');"
>
<option value=""></option>
<option value="" selected></option>
<?php foreach ($arResult['bitrixCustomUserFields'] as $type => $mass) {?>
<optgroup label="<?php echo GetMessage($type); ?>">
<?php foreach ($mass as $code => $prop) {?>
@ -2502,7 +2496,7 @@ if (isset($_POST['Update']) && ($_POST['Update'] === 'Y')) {
name="crmUserFields"
onchange="changeSelectCrmValue(this, 'crmClient_')"
>
<option value=""></option>
<option value="" selected></option>
<?php foreach ($arResult['crmCustomUserFields'] as $type => $mass) {?>
<optgroup label="<?php echo GetMessage($type); ?>">
<?php foreach ($mass as $crmProp) {?>