Skip to content

Commit bf32e68

Browse files
authored
Добавлена передача даты рождения клиента в CRM (#412)
1 parent fcb3ed9 commit bf32e68

5 files changed

Lines changed: 11 additions & 4 deletions

File tree

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
## 2026-01-21 v6.7.8
2+
- Добавлена передача даты рождения клиента в CRM
3+
14
## 2025-12-15 v6.7.7
25
- Исправлена ошибка обновления ID участий в ПЛ
36

intaro.retailcrm/classes/general/user/RetailCrmUser.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,10 @@ private static function getSimpleCustomer(array $arFields): array
160160
$customer['address']['city'] = $arFields['PERSONAL_CITY'] ?? null;
161161
$customer['address']['text'] = $arFields['PERSONAL_STREET'] ?? null;
162162
$customer['address']['index'] = $arFields['PERSONAL_ZIP'] ?? null;
163+
$customer['birthday'] = isset($arFields['PERSONAL_BIRTHDAY'])
164+
? new \DateTime($arFields['PERSONAL_BIRTHDAY'])
165+
: null
166+
;
163167

164168
if (mb_strlen($arFields['EMAIL']) < 100) {
165169
$customer['email'] = $arFields['EMAIL'];

intaro.retailcrm/description.ru

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
- Исправлена ошибка обновления ID участий в ПЛ
1+
- Добавлена передача даты рождения клиента в CRM
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22

33
$arModuleVersion = [
4-
'VERSION' => '6.7.7',
5-
'VERSION_DATE' => '2025-12-15 12:30:00'
4+
'VERSION' => '6.7.8',
5+
'VERSION_DATE' => '2026-01-21 12:30:00'
66
];

intaro.retailcrm/lib/component/constants.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
*/
1919
class Constants
2020
{
21-
public const MODULE_VERSION = '6.7.7';
21+
public const MODULE_VERSION = '6.7.8';
2222
public const CRM_PURCHASE_PRICE_NULL = 'purchasePrice_null';
2323
public const BITRIX_USER_ID_PREFIX = 'bitrixUserId-';
2424
public const CRM_USERS_MAP = 'crm_users_map';

0 commit comments

Comments
 (0)