1
0
Fork 0
mirror of synced 2025-04-11 05:00:55 +00:00
Правка текста в логе
This commit is contained in:
Ivan Chaplygin 2023-12-29 15:09:22 +03:00
parent e6010b4a1d
commit 40b7ef1df3

View file

@ -852,10 +852,16 @@ class RetailCrmHistory
if (!empty($location)) {
self::setProp($somePropValue, $location['CODE']);
} else {
if (isset($order['externalId'])) {
$message = 'ExternalId: ' . $order['externalId'];
} else {
$message = 'CRM id: ' . $order['id'];
}
RCrmActions::eventLog(
'RetailCrmHistory::orderHistory',
'RetailCrmHistory::setProp',
'Error location in order number= ' . $order['number']
'Ошибка обновления локации в заказе. ' . $message
);
}
} catch (\Exception $exception) {