1
0
Fork 0
mirror of synced 2025-04-20 01:21:01 +00:00

Merge branch 'master' into DmitreyZl-patct

This commit is contained in:
DmitreyZl 2020-09-01 15:00:03 +03:00
commit fefc26e8f1

View file

@ -703,7 +703,6 @@ class RetailCrmHistory
}
}
$order['fio'] = str_replace("clear", "", $order['fio']);
//optionsOrderProps
if ($optionsOrderProps[$personType]) {
@ -1463,19 +1462,19 @@ class RetailCrmHistory
if ($change['field'] == 'last_name') {
if (true == is_null($change['newValue'])) {
$orders[$change['order']['id']]['lastName'] = 'clear';
$orders[$change['order']['id']]['lastName'] = ' ';
}
}
if ($change['field'] == 'first_Name') {
if (true == is_null($change['newValue'])) {
$orders[$change['order']['id']]['firstName'] = 'clear';
$orders[$change['order']['id']]['firstName'] = ' ';
}
}
if ($change['field'] == 'patronymic') {
if (true == is_null($change['newValue'])) {
$orders[$change['order']['id']]['patronymic'] = 'clear';
$orders[$change['order']['id']]['patronymic'] = ' ';
}
}
}