Skip to content

Commit

Permalink
Merge pull request #99 from Neur0toxine/master
Browse files Browse the repository at this point in the history
Исправлена ошибка передачи заказов в retailCRM
  • Loading branch information
gwinn authored May 7, 2019
2 parents b7760f2 + 540564b commit c51fb0f
Show file tree
Hide file tree
Showing 11 changed files with 16 additions and 9 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 2019-04-22 3.5.2
* Исправлен баг с выгрузкой заказов в retailCRM
* Исправлена ошибка переводов

## 2019-04-16 3.5.1
* Исправлен баг при активации плагина

Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.5.1
3.5.2
4 changes: 2 additions & 2 deletions resources/pot/retailcrm-es_ES.pot
Original file line number Diff line number Diff line change
Expand Up @@ -202,8 +202,8 @@ msgstr "Active esta configuración para activar Daemon Collector en la página w
msgid "Site key"
msgstr "Clave de la página web"

msgid "Enable data editing in retailCRM"
msgstr "Activar edición de datos en retailCRM"
msgid "Disable data editing in retailCRM"
msgstr "Desactivar edición de datos en retailCRM"

msgid "Data updating in retailCRM"
msgstr "Actualización de datos en retailCRM"
Expand Down
4 changes: 2 additions & 2 deletions resources/pot/retailcrm-ru_RU.pot
Original file line number Diff line number Diff line change
Expand Up @@ -211,8 +211,8 @@ msgstr "Активируйте эту настройку для активаци
msgid "Site key"
msgstr "Ключ сайта"

msgid "Enable data editing in retailCRM"
msgstr "Активировать редактирование данных в retailCRM"
msgid "Disable data editing in retailCRM"
msgstr "Деактивировать редактирование данных в retailCRM"

msgid "Data updating in retailCRM"
msgstr "Обновление данных в retailCRM"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -459,7 +459,7 @@ public function init_form_fields()
);

$this->form_fields['deactivate_update_order'] = array(
'label' => __('Enable data editing in retailCRM', 'retailcrm'),
'label' => __('Disable data editing in retailCRM', 'retailcrm'),
'title' => __('Data updating in retailCRM', 'retailcrm'),
'class' => 'checkbox',
'type' => 'checkbox'
Expand Down
2 changes: 1 addition & 1 deletion src/include/order/class-wc-retailcrm-order-payment.php
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ public function __construct($settings)
public function build($order, $externalId = false)
{
$data = array(
'amount' => $order->get_total()
'amount' => (double) $order->get_total()
);

if (!$this->is_new) {
Expand Down
Binary file modified src/languages/retailcrm-es_ES.mo
Binary file not shown.
Binary file modified src/languages/retailcrm-ru_RU.mo
Binary file not shown.
3 changes: 3 additions & 0 deletions src/readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,9 @@ API-ключ должен быть для отдельного магазина

== Changelog ==

= 3.5.2 =
* Исправлен баг с выгрузкой заказов в retailCRM

= 3.5.1 =
* Исправлен баг при активации плагина

Expand Down
2 changes: 1 addition & 1 deletion src/retailcrm.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php
/**
* Version: 3.5.1
* Version: 3.5.2
* WC requires at least: 3.0
* WC tested up to: 3.5.5
* Plugin Name: WooCommerce RetailCRM
Expand Down
2 changes: 1 addition & 1 deletion src/uninstall.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
*
*
* @link https://wordpress.org/plugins/woo-retailcrm/
* @version 3.5.1
* @version 3.5.2
*
* @package RetailCRM
*/
Expand Down

0 comments on commit c51fb0f

Please sign in to comment.