This commit is contained in:
ellynoize 2025-01-17 15:50:23 +03:00
parent 916b1209e6
commit 5cfa6a4f22

View file

@ -136,7 +136,7 @@ class ModelExtensionRetailcrmOrder extends Model {
$order['number'] = $order_data['order_id'];
}
if (isset($this->settings[$this->moduleTitle . '_order_number'])
if (isset($this->settings[$this->moduleTitle . '_summ_around'])
&& $this->settings[$this->moduleTitle . '_summ_around'] == 1
) {
$order['applyRound'] = true;