small addition

This commit is contained in:
Marion Muszynski 2016-09-07 12:03:31 +02:00
parent f790336c29
commit 0c118717af
3 changed files with 11 additions and 9 deletions

BIN
modules/philea_magistor/logo.gif Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.7 KiB

View File

@ -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