diff --git a/CHANGELOG.md b/CHANGELOG.md index 40cdfa9e..9c503100 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,6 @@ +## 2023-06-01 v.6.3.8 +- Исправлена ошибка с получением настроек при генерации файла каталога + ## 2023-06-01 v.6.3.7 - Исправлено получение основного сайта для записи логов модуля diff --git a/intaro.retailcrm/description.ru b/intaro.retailcrm/description.ru index 49d046c7..d347472a 100644 --- a/intaro.retailcrm/description.ru +++ b/intaro.retailcrm/description.ru @@ -1 +1,2 @@ -- Исправлено получение основного сайта для записи логов модуля \ No newline at end of file +- Исправлена ошибка с получением настроек при генерации файла каталога + diff --git a/intaro.retailcrm/install/version.php b/intaro.retailcrm/install/version.php index a94ef1fb..512b1700 100644 --- a/intaro.retailcrm/install/version.php +++ b/intaro.retailcrm/install/version.php @@ -1,6 +1,6 @@ '6.3.7', + 'VERSION' => '6.3.8', 'VERSION_DATE' => '2023-06-01 12:00:00' ]; diff --git a/intaro.retailcrm/lib/icml/xmlofferbuilder.php b/intaro.retailcrm/lib/icml/xmlofferbuilder.php index 5a789e71..f8c7fc30 100644 --- a/intaro.retailcrm/lib/icml/xmlofferbuilder.php +++ b/intaro.retailcrm/lib/icml/xmlofferbuilder.php @@ -108,7 +108,7 @@ class XmlOfferBuilder $this->setup = $setup; $this->purchasePriceNull = RetailcrmConfigProvider::getCrmPurchasePrice(); /** @var \Intaro\RetailCrm\Icml\SettingsService $settingsService */ - $settingsService = ServiceLocator::get(SettingsService::class); + $settingsService = SettingsService::getInstance([], ''); $this->vatRates = $settingsService->vatRates; $this->measures = $this->prepareMeasures($measure); $this->defaultServerName = $defaultServerName;