Merge branch 'master' into DmitreyZl-patct
This commit is contained in:
commit
fefc26e8f1
1 changed files with 3 additions and 4 deletions
|
@ -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'] = ' ';
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue