From bc16a2a6f3332a187c296df91659515103bde0b5 Mon Sep 17 00:00:00 2001 From: vasilevdm Date: Tue, 18 Aug 2020 14:38:01 +0300 Subject: [PATCH] fix opencart reward to crm discount convert error (#189) --- .../library/retailcrm/lib/service/RetailcrmOrderConverter.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/upload/system/library/retailcrm/lib/service/RetailcrmOrderConverter.php b/src/upload/system/library/retailcrm/lib/service/RetailcrmOrderConverter.php index 91bbbb8..68d203c 100644 --- a/src/upload/system/library/retailcrm/lib/service/RetailcrmOrderConverter.php +++ b/src/upload/system/library/retailcrm/lib/service/RetailcrmOrderConverter.php @@ -86,7 +86,7 @@ public function setDiscount() { } if ($discount > 0) { - $order['discountManualAmount'] = $discount; + $this->data['discountManualAmount'] = $discount; } return $this;