Save logisitic queue name in configuration

This commit is contained in:
Michael RICOIS 2018-03-21 10:32:59 +01:00
parent 76b26ac6b4
commit 7699f86acd

View File

@ -332,10 +332,10 @@ class Logistics extends Module
Configuration::updateValue('MONDIALRELAYWS_FTP_LOGIN', Tools::getValue('mondialrelay_ftp_login')); Configuration::updateValue('MONDIALRELAYWS_FTP_LOGIN', Tools::getValue('mondialrelay_ftp_login'));
Configuration::updateValue('MONDIALRELAYWS_FTP_PASSWORD', Tools::getValue('mondialrelay_ftp_password')); Configuration::updateValue('MONDIALRELAYWS_FTP_PASSWORD', Tools::getValue('mondialrelay_ftp_password'));
// Set print queue - employe : name
// foreach(Tools::getValue('employee', array()) as $id_employee => $queue) { foreach (Tools::getValue('employee', array()) as $id_employee => $queue) {
// Configuration::updateValue('LOGISTICS_QUEUE_'.(int) $id_employee, $queue); Configuration::updateValue('LOGISTICS_QUEUE_'.(int)$id_employee, $queue);
// } }
$lock = array(); $lock = array();
foreach (explode(', ', Tools::getValue('lock_products')) as $item) { foreach (explode(', ', Tools::getValue('lock_products')) as $item) {