add lang es

This commit is contained in:
ellynoize 2025-01-17 14:16:22 +03:00
parent 957164910b
commit d6596964bd
2 changed files with 8 additions and 2 deletions

View file

@ -72,8 +72,8 @@ $_['retailcrm_missing_status'] = 'Estado de pedidos perdidos';
$_['order_number'] = 'Número de pedido';
$_['text_order_number'] = 'Transferir número de pedido a RetailCRM';
$_['summ_around'] = 'Número de pedido';
$_['text_summ_around'] = 'Transferir número de pedido a RetailCRM';
$_['summ_around'] = 'Redondeo del costo del pedido';
$_['text_summ_around'] = 'Redondear los costos del pedido a RetailCRM';
$_['icml_settings'] = 'Ajustes de ICML';
$_['icml_service_enabled_label'] = 'Subir servicios de ICML';
$_['icml_service_description'] = 'Si habilita la opción, todos los productos para los que la entrega está desactivada se tratarán como servicios y se cargarán en CRM como servicios';

View file

@ -49,6 +49,12 @@ class RetailcrmOrderConverter {
$this->data['number'] = $this->order_data['order_id'];
}
if ($this->settingsManager->getSetting('summ_around')
&& $this->settingsManager->getSetting('summ_around') == 1
) {
$this->data['applyRound'] = true;
}
$this->data['externalId'] = $this->order_data['order_id'];
$this->data['firstName'] = $this->order_data['shipping_firstname'];
$this->data['lastName'] = $this->order_data['shipping_lastname'];