Merge branch 'ticket-philea' into develop
This commit is contained in:
commit
c5cfa64cc2
BIN
modules/philea_magistor/logo.gif
Executable file
BIN
modules/philea_magistor/logo.gif
Executable file
Binary file not shown.
After Width: | Height: | Size: 3.7 KiB |
@ -72,8 +72,8 @@ class philea_magistor extends Module
|
||||
|
||||
parent::__construct();
|
||||
|
||||
$this->displayName = $this->l('Philea Magistor');
|
||||
$this->description = $this->l('Import and Export to Magistor');
|
||||
$this->displayName = $this->l('Philea');
|
||||
$this->description = $this->l('Import and Export to Philea Solution');
|
||||
}
|
||||
|
||||
public function install()
|
||||
@ -88,10 +88,11 @@ class philea_magistor extends Module
|
||||
|
||||
Db::getInstance()->ExecuteS('
|
||||
CREATE TABLE IF NOT EXISTS `'._DB_PREFIX_.'philea_parcel` (
|
||||
`id_order` INTEGER NOT NULL,
|
||||
`id_order_detail` INTEGER NOT NULL,
|
||||
`quantity` INTEGER NOT NULL,
|
||||
`shipping_number` VARCHAR(64) NOT NULL,
|
||||
`date_add` DATETIME NOT NULL,
|
||||
INDEX (`id_order`)
|
||||
INDEX (`id_order_detail`)
|
||||
) ENGINE=MyIsam DEFAULT CHARSET=utf8
|
||||
');
|
||||
|
||||
@ -141,11 +142,12 @@ class philea_magistor extends Module
|
||||
// Db::getInstance()->Execute('DROP TABLE `'._DB_PREFIX_.'philea_auto_sync`');
|
||||
// Db::getInstance()->Execute('DROP TABLE `'._DB_PREFIX_.'philea_archive`');
|
||||
|
||||
Db::getInstance()->Execute('DROP TABLE `'._DB_PREFIX_.'philea_magistor_sent`');
|
||||
Db::getInstance()->Execute('DROP TABLE `'._DB_PREFIX_.'philea_magistor_parcel`');
|
||||
Db::getInstance()->Execute('DROP TABLE `'._DB_PREFIX_.'philea_magistor_sync`');
|
||||
Db::getInstance()->Execute('DROP TABLE `'._DB_PREFIX_.'philea_magistor_auto_sync`');
|
||||
Db::getInstance()->Execute('DROP TABLE `'._DB_PREFIX_.'philea_magistor_archive`');
|
||||
// old version
|
||||
// Db::getInstance()->Execute('DROP TABLE `'._DB_PREFIX_.'philea_magistor_sent`');
|
||||
// Db::getInstance()->Execute('DROP TABLE `'._DB_PREFIX_.'philea_magistor_parcel`');
|
||||
// Db::getInstance()->Execute('DROP TABLE `'._DB_PREFIX_.'philea_magistor_sync`');
|
||||
// Db::getInstance()->Execute('DROP TABLE `'._DB_PREFIX_.'philea_magistor_auto_sync`');
|
||||
// Db::getInstance()->Execute('DROP TABLE `'._DB_PREFIX_.'philea_magistor_archive`');
|
||||
|
||||
return true;
|
||||
}
|
||||
|
Binary file not shown.
Before Width: | Height: | Size: 2.2 KiB After Width: | Height: | Size: 3.7 KiB |
Loading…
Reference in New Issue
Block a user