1
0
Fork 0
mirror of synced 2025-04-11 05:00:55 +00:00
Удаление лишнего кода
Смена даты версии модуля
This commit is contained in:
Ivan Chaplygin 2023-12-18 12:28:18 +03:00
parent 1588a67227
commit 8fd98925f7
2 changed files with 1 additions and 11 deletions

View file

@ -1,4 +1,4 @@
## 2023-12-08 v.6.5.0
## 2023-12-18 v.6.5.0
- Добавлена поддержка функционала пользовательских полей
## 2023-12-13 v.6.4.13

View file

@ -477,8 +477,6 @@ class RCrmActions
foreach ($propsList as $prop) {
$type = $typeMatched[$prop['TYPE']] ?? $prop['TYPE'];
$key = $prop['ID'] . '#' . $prop['CODE'];
$resultList[$key] = $prop['NAME'] . ' (' . $prop['PERSON_TYPE_ID'] . ')';
$resultList[$prop['TYPE'] . '_TYPE'][$key] = $prop['NAME'] . ' (' . $persons[$prop['PERSON_TYPE_ID']] . ')';
$resultList[$type . '_TYPE'][$key] = $prop['NAME'] . ' (' . $persons[$prop['PERSON_TYPE_ID']] . ')';
}
@ -555,14 +553,6 @@ class RCrmActions
{
$result = $value;
if ($type === 'boolean') {
$result = $value === '1' ? 1 : 0;
}
if ($type === 'datetime') {
$result = date('Y-m-d', strtotime($value));
}
switch ($type) {
case 'boolean':
$result = $value === '1' ? 1 : 0;