add parameter

This commit is contained in:
ellynoize 2025-01-17 10:11:00 +03:00
parent c26217b56c
commit 957164910b

View file

@ -136,6 +136,12 @@ class ModelExtensionRetailcrmOrder extends Model {
$order['number'] = $order_data['order_id'];
}
if (isset($this->settings[$this->moduleTitle . '_summ_around'])
&& $this->settings[$this->moduleTitle . '_summ_around'] == 1
) {
$order['applyRound'] = true;
}
$order['externalId'] = $order_id;
$order['firstName'] = $order_data['shipping_firstname'];
$order['lastName'] = $order_data['shipping_lastname'];