/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;


# Dump of table billing_information
# ------------------------------------------------------------

DROP TABLE IF EXISTS `billing_information`;

CREATE TABLE `billing_information` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `idUser` int(11) NOT NULL,
  `idCountry` int(11) NOT NULL,
  `company` varchar(300) NOT NULL DEFAULT 'to be deleted',
  `firstName` varchar(200) NOT NULL,
  `lastName` varchar(200) NOT NULL,
  `invoiceMail` varchar(300) DEFAULT NULL,
  `city` varchar(100) NOT NULL,
  `detailedAddress` varchar(500) NOT NULL,
  `zip` varchar(20) NOT NULL,
  PRIMARY KEY (`id`),
  KEY `idUser` (`idUser`),
  KEY `idCountry` (`idCountry`),
  CONSTRAINT `billing_information_ibfk_1` FOREIGN KEY (`idUser`) REFERENCES `users` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `billing_information_ibfk_2` FOREIGN KEY (`idCountry`) REFERENCES `countries` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

LOCK TABLES `billing_information` WRITE;
/*!40000 ALTER TABLE `billing_information` DISABLE KEYS */;

INSERT INTO `billing_information` (`id`, `idUser`, `idCountry`, `company`, `firstName`, `lastName`, `invoiceMail`, `city`, `detailedAddress`, `zip`)
VALUES
	(16,57,2,'to be deleted','Per Åke','Nordbrandt',NULL,'Mariestad','Ekby Östertomten 1','54293'),
	(17,62,2,'to be deleted','Niclas','Jonson',NULL,'Göteborg','Lilla Bommen 2','12323'),
	(18,53,3,'to be deleted','','',NULL,'Timisoara','str. Siemens nr  5','300307'),
	(19,53,3,'to be deleted','','','','x','x','x'),
	(20,70,2,'to be deleted','Per','Nordbrandt','per@co-ideation.com','Göteborg','Test2','12345'),
	(21,76,2,'to be deleted','Elena','Malioutina','elena.malioutina@coor.com','Solna','Coor Nya Karolinska\nGävlegatan 63','17164'),
	(22,78,2,'to be deleted','Niclas','Jonson','test@test.test','Göteborg','Lilla Bommen 2','411 04'),
	(23,72,2,'to be deleted','Emelie ','Grahm','Coor.a300@coor.com','Luleå','A300','971 74'),
	(24,70,2,'to be deleted','Per','Bibliotek','per.bib@nordbrandt.com','Mariestad','Ekby Östertomten 1','54293');

/*!40000 ALTER TABLE `billing_information` ENABLE KEYS */;
UNLOCK TABLES;


# Dump of table broker_commission_split
# ------------------------------------------------------------

DROP TABLE IF EXISTS `broker_commission_split`;

CREATE TABLE `broker_commission_split` (
  `idPackage` int(11) NOT NULL,
  `brokerSplit` int(1) DEFAULT '50',
  `commercialLeadSplit` int(1) DEFAULT '50',
  `payMargin` decimal(15,2) DEFAULT '0.00',
  PRIMARY KEY (`idPackage`),
  CONSTRAINT `broker_commission_split_ibfk_1` FOREIGN KEY (`idPackage`) REFERENCES `packages` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

LOCK TABLES `broker_commission_split` WRITE;
/*!40000 ALTER TABLE `broker_commission_split` DISABLE KEYS */;

INSERT INTO `broker_commission_split` (`idPackage`, `brokerSplit`, `commercialLeadSplit`, `payMargin`)
VALUES
	(226,100,0,0.00),
	(227,100,0,0.00),
	(228,100,0,0.00),
	(229,100,0,0.00),
	(230,100,0,0.00),
	(231,100,0,0.00),
	(232,100,0,0.00),
	(233,100,0,0.00),
	(234,50,50,0.00),
	(235,100,0,0.00),
	(236,100,0,0.00),
	(237,100,0,0.00),
	(238,100,0,0.00),
	(239,100,0,0.00),
	(240,100,0,0.00),
	(241,100,0,0.00),
	(242,100,0,0.00),
	(243,100,0,0.00),
	(251,100,0,0.00),
	(252,50,50,0.00),
	(253,100,0,0.00),
	(254,100,0,0.00),
	(255,100,0,0.00),
	(256,100,0,0.00),
	(257,100,0,0.00),
	(258,100,0,0.00),
	(259,100,0,0.00),
	(260,100,0,0.00),
	(261,100,0,0.00),
	(262,100,0,0.00),
	(263,100,0,0.00),
	(264,100,0,0.00),
	(265,100,0,0.00),
	(266,100,0,0.00),
	(267,100,0,0.00),
	(268,100,0,0.00),
	(269,100,0,0.00),
	(270,100,0,0.00),
	(271,100,0,0.00),
	(272,100,0,0.00),
	(273,100,0,0.00),
	(274,100,0,0.00),
	(275,100,0,0.00),
	(276,100,0,0.00),
	(277,100,0,0.00),
	(278,100,0,0.00),
	(279,100,0,0.00),
	(280,100,0,0.00),
	(281,100,0,0.00),
	(282,100,0,0.00),
	(283,50,50,0.00),
	(284,50,50,0.00),
	(285,50,50,0.00),
	(286,50,50,0.00),
	(287,50,50,0.00),
	(288,50,50,0.00),
	(289,50,50,0.00),
	(290,100,0,0.00),
	(291,100,0,0.00),
	(292,100,0,0.00),
	(293,100,0,0.00),
	(294,100,0,0.00),
	(295,100,0,0.00),
	(296,100,0,0.00),
	(297,100,0,0.00),
	(298,100,0,0.00),
	(299,100,0,0.00),
	(301,100,0,0.00),
	(302,50,50,0.00),
	(304,100,0,0.00),
	(305,100,0,0.00);

/*!40000 ALTER TABLE `broker_commission_split` ENABLE KEYS */;
UNLOCK TABLES;


# Dump of table brokers
# ------------------------------------------------------------

DROP TABLE IF EXISTS `brokers`;

CREATE TABLE `brokers` (
  `id` int(99) NOT NULL AUTO_INCREMENT,
  `idUser` int(99) NOT NULL,
  `name` varchar(200) NOT NULL,
  `phone` varchar(45) DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `name_UNIQUE` (`name`),
  KEY `brokerUserFK_idx` (`idUser`),
  CONSTRAINT `brokerUserFK` FOREIGN KEY (`idUser`) REFERENCES `users` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

LOCK TABLES `brokers` WRITE;
/*!40000 ALTER TABLE `brokers` DISABLE KEYS */;

INSERT INTO `brokers` (`id`, `idUser`, `name`, `phone`)
VALUES
	(1,1,'DevTest_broker',NULL),
	(7,37,'Ricoh (Per)','4523653744'),
	(11,63,'Ricoh (Rikard)','1'),
	(12,75,'Marit Admin','1');

/*!40000 ALTER TABLE `brokers` ENABLE KEYS */;
UNLOCK TABLES;


# Dump of table commercial_leads
# ------------------------------------------------------------

DROP TABLE IF EXISTS `commercial_leads`;

CREATE TABLE `commercial_leads` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `idUser` int(99) NOT NULL,
  `name` varchar(200) DEFAULT NULL,
  `contactName` varchar(200) DEFAULT NULL,
  `phone` varchar(45) DEFAULT NULL,
  `defaultIdOrderType` int(11) DEFAULT '1',
  PRIMARY KEY (`id`),
  KEY `customerUserFK_idx` (`idUser`),
  CONSTRAINT `commercialLeadUserFK` FOREIGN KEY (`idUser`) REFERENCES `users` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

LOCK TABLES `commercial_leads` WRITE;
/*!40000 ALTER TABLE `commercial_leads` DISABLE KEYS */;

INSERT INTO `commercial_leads` (`id`, `idUser`, `name`, `contactName`, `phone`, `defaultIdOrderType`)
VALUES
	(12,52,'DevTest_CL',NULL,'00',1),
	(13,55,'ITP (Reseller)',NULL,'234567890',1),
	(14,60,'Coor Service Management',NULL,'1',2),
	(15,66,'Coor previous orders',NULL,'1',1);

/*!40000 ALTER TABLE `commercial_leads` ENABLE KEYS */;
UNLOCK TABLES;


# Dump of table company
# ------------------------------------------------------------

DROP TABLE IF EXISTS `company`;

CREATE TABLE `company` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `vatCode` varchar(20) DEFAULT NULL,
  `name` varchar(100) DEFAULT NULL,
  `idMotherCompany` int(11) DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `fk_mother_company_id_idx` (`idMotherCompany`),
  CONSTRAINT `fk_mother_company_id` FOREIGN KEY (`idMotherCompany`) REFERENCES `company` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

LOCK TABLES `company` WRITE;
/*!40000 ALTER TABLE `company` DISABLE KEYS */;

INSERT INTO `company` (`id`, `vatCode`, `name`, `idMotherCompany`)
VALUES
	(1,'1010101','SolPro AB\r\n',NULL),
	(8,'1111111','Saguaro Net',NULL),
	(9,'556228-8851','Ricoh Sverige AB',NULL),
	(10,'111','Dokumentproffsen i Örebro AB',NULL),
	(11,'1212','Atria',NULL),
	(12,'1234567','Devtest',NULL),
	(13,'12345','Xelent',NULL),
	(14,'556173-2883','Special-Elektronik i Karlstad AB',NULL),
	(15,'556084-6783','Coor Service Management AB',NULL),
	(16,'123456','TechData AB',NULL),
	(17,'559110-2180','Co-Ideation AB',NULL),
	(18,'11','Flowscape',NULL);

/*!40000 ALTER TABLE `company` ENABLE KEYS */;
UNLOCK TABLES;


# Dump of table countries
# ------------------------------------------------------------

DROP TABLE IF EXISTS `countries`;

CREATE TABLE `countries` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `name` varchar(45) DEFAULT NULL,
  `code` varchar(4) DEFAULT NULL,
  `vat` decimal(10,0) DEFAULT NULL,
  `currency` varchar(5) DEFAULT 'EUR',
  PRIMARY KEY (`id`),
  UNIQUE KEY `name_UNIQUE` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

LOCK TABLES `countries` WRITE;
/*!40000 ALTER TABLE `countries` DISABLE KEYS */;

INSERT INTO `countries` (`id`, `name`, `code`, `vat`, `currency`)
VALUES
	(2,'Sweden','se',9,'SEK'),
	(3,'Denmark','dk',9,'DKK'),
	(4,'Finland','fi',9,'EUR');

/*!40000 ALTER TABLE `countries` ENABLE KEYS */;
UNLOCK TABLES;


# Dump of table customers
# ------------------------------------------------------------

DROP TABLE IF EXISTS `customers`;

CREATE TABLE `customers` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `idUser` int(99) NOT NULL,
  `name` varchar(200) DEFAULT NULL,
  `contactName` varchar(200) DEFAULT NULL,
  `phone` varchar(40) DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `customerUserFK_idx` (`idUser`),
  CONSTRAINT `customerUserFK` FOREIGN KEY (`idUser`) REFERENCES `users` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

LOCK TABLES `customers` WRITE;
/*!40000 ALTER TABLE `customers` DISABLE KEYS */;

INSERT INTO `customers` (`id`, `idUser`, `name`, `contactName`, `phone`)
VALUES
	(17,53,'DevTest_cust',NULL,'0758113970'),
	(18,56,'PeNo (Atria)',NULL,'11'),
	(19,57,'PeNo (Devtest)',NULL,'1'),
	(20,61,'Rikard (Coor)',NULL,'1'),
	(21,62,'Coor Göteborg',NULL,'1'),
	(22,68,'Dummy',NULL,'21212'),
	(23,69,'Tobias Coor Göteborg',NULL,'1111'),
	(24,70,'Per Coor Göteborg',NULL,'1111'),
	(25,71,'Marit Coor GBG test',NULL,'1'),
	(26,72,'Mattias Wahlgren',NULL,'000'),
	(27,74,'Ricoh Malmö',NULL,'1'),
	(28,76,'Elena Malioutina',NULL,'+46 (10) 5595148'),
	(29,78,'Coor Göteborg New Office',NULL,'123123');

/*!40000 ALTER TABLE `customers` ENABLE KEYS */;
UNLOCK TABLES;


# Dump of table dashboards
# ------------------------------------------------------------

DROP TABLE IF EXISTS `dashboards`;

CREATE TABLE `dashboards` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `idUser` int(11) DEFAULT NULL,
  `idUserType` int(11) NOT NULL,
  `name` varchar(60) NOT NULL,
  `visibility` enum('private','public') DEFAULT NULL,
  `lastUpdated` datetime DEFAULT CURRENT_TIMESTAMP,
  PRIMARY KEY (`id`),
  KEY `fk_idUser_dashboard_idx` (`idUser`),
  KEY `fk_idUserType_dashboard_idx` (`idUserType`),
  CONSTRAINT `fk_idUserType_dashboard` FOREIGN KEY (`idUserType`) REFERENCES `user_types` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `fk_idUser_dashboard` FOREIGN KEY (`idUser`) REFERENCES `users` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

LOCK TABLES `dashboards` WRITE;
/*!40000 ALTER TABLE `dashboards` DISABLE KEYS */;

INSERT INTO `dashboards` (`id`, `idUser`, `idUserType`, `name`, `visibility`, `lastUpdated`)
VALUES
	(1,NULL,1,'Broker Basic Dashboard','public','2017-06-22 11:48:02'),
	(23,NULL,2,'Customer Basic Dashboard','public','2017-07-06 16:11:59'),
	(24,NULL,3,'Commercial Lead Basic Dashboard','public','2017-07-06 16:12:47'),
	(26,NULL,4,'Supplier Basic Dashboard','public','2017-08-02 16:59:00'),
	(29,NULL,1,'Broker default','public','2017-10-04 16:25:46');

/*!40000 ALTER TABLE `dashboards` ENABLE KEYS */;
UNLOCK TABLES;


# Dump of table delivery_addresses
# ------------------------------------------------------------

DROP TABLE IF EXISTS `delivery_addresses`;

CREATE TABLE `delivery_addresses` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `idUser` int(11) NOT NULL,
  `idCountry` int(11) NOT NULL,
  `city` varchar(100) DEFAULT NULL,
  `detailedAddress` varchar(500) DEFAULT NULL,
  `zip` varchar(20) DEFAULT NULL,
  `isLastUsed` tinyint(1) DEFAULT '1',
  PRIMARY KEY (`id`),
  KEY `country_idx` (`idCountry`),
  KEY `userId_delivery_addres_idx` (`idUser`),
  CONSTRAINT `countryId` FOREIGN KEY (`idCountry`) REFERENCES `countries` (`id`) ON DELETE NO ACTION ON UPDATE NO ACTION,
  CONSTRAINT `userId_delivery_addres` FOREIGN KEY (`idUser`) REFERENCES `users` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

LOCK TABLES `delivery_addresses` WRITE;
/*!40000 ALTER TABLE `delivery_addresses` DISABLE KEYS */;

INSERT INTO `delivery_addresses` (`id`, `idUser`, `idCountry`, `city`, `detailedAddress`, `zip`, `isLastUsed`)
VALUES
	(18,57,2,'Mariestad','Att: PeNo\nEkby Östertomten 1\n','54293',1),
	(19,62,2,'Göteborg','Lilla Bommen 2','12323',1),
	(21,70,2,'Göteborg','Test1','123245',1),
	(22,53,4,'Test city','test address','zip78',1),
	(23,76,2,'Solna','Coor Nya Karolinska\nGävlegatan 63','17164',1),
	(24,78,2,'Göteborg','Lilla Bommen 2','411 04',1),
	(25,72,2,'Kista','Knarrarnäsgatan 5','16440',1);

/*!40000 ALTER TABLE `delivery_addresses` ENABLE KEYS */;
UNLOCK TABLES;


# Dump of table document_types
# ------------------------------------------------------------

DROP TABLE IF EXISTS `document_types`;

CREATE TABLE `document_types` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `type` varchar(50) DEFAULT NULL,
  `folderName` varchar(50) DEFAULT NULL,
  `isSpecialType` int(11) DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

LOCK TABLES `document_types` WRITE;
/*!40000 ALTER TABLE `document_types` DISABLE KEYS */;

INSERT INTO `document_types` (`id`, `type`, `folderName`, `isSpecialType`)
VALUES
	(1,'Template Questionaire','templateQuestionaire',0),
	(2,'Order Questionaire','orderQuestionaire',1),
	(3,'Configuration','configuration',1),
	(4,'Install guide','installGuide',0),
	(5,'Customer acceptance','customerAcceptance',1),
	(6,'Template Agreement','TemplateAgreement',0),
	(7,'Order Agreement','OrderAgreement',1),
	(10,'Installation protocol','installationProtocol',1),
	(13,'Statements','Statements',0),
	(14,'Customer acceptance template','CustomerAcceptanceTemplate',0);

/*!40000 ALTER TABLE `document_types` ENABLE KEYS */;
UNLOCK TABLES;


# Dump of table documents
# ------------------------------------------------------------

DROP TABLE IF EXISTS `documents`;

CREATE TABLE `documents` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `uploadedBy` int(11) DEFAULT NULL,
  `idOwner` int(11) DEFAULT NULL,
  `idDocumentType` int(11) DEFAULT NULL,
  `documentName` varchar(150) DEFAULT NULL,
  `documentPath` varchar(300) DEFAULT NULL,
  `extension` varchar(6) DEFAULT NULL,
  `lastUpdate` datetime DEFAULT CURRENT_TIMESTAMP,
  `visibleToCustomer` tinyint(4) DEFAULT '1',
  PRIMARY KEY (`id`),
  KEY `fk_uploadBy_user_idx` (`uploadedBy`),
  KEY `fk_doccument_type_idx` (`idDocumentType`),
  KEY `fk_document_owner_idx` (`idOwner`),
  CONSTRAINT `fk_doccument_type` FOREIGN KEY (`idDocumentType`) REFERENCES `document_types` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `fk_document_owner` FOREIGN KEY (`idOwner`) REFERENCES `users` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `fk_uploadBy_user` FOREIGN KEY (`uploadedBy`) REFERENCES `users` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

LOCK TABLES `documents` WRITE;
/*!40000 ALTER TABLE `documents` DISABLE KEYS */;

INSERT INTO `documents` (`id`, `uploadedBy`, `idOwner`, `idDocumentType`, `documentName`, `documentPath`, `extension`, `lastUpdate`, `visibleToCustomer`)
VALUES
	(162,57,NULL,5,'customerAcceptance_1000000000_1','customerAcceptance/1520957101_8555.pdf','pdf','2018-03-13 18:05:01',1),
	(163,NULL,NULL,1,'Video conference - Delivery and configuration information','templateQuestionaire/1521013611_6931.docx','docx','2018-03-14 09:46:51',1),
	(164,57,NULL,2,'customerQuestionaire_226_2018_03_14','orderQuestionaire/1521021216_6774.docx','docx','2018-03-14 11:53:36',1),
	(165,57,NULL,5,'customerAcceptance_1000000173_165','customerAcceptance/1521021588_2370.docx','docx','2018-03-14 11:59:48',1),
	(166,53,NULL,2,'customerQuestionaire_229_2018_03_14','orderQuestionaire/1521041884_6038.pdf','pdf','2018-03-14 17:38:04',1),
	(167,53,NULL,2,'customerQuestionaire_229_2018_03_15','orderQuestionaire/1521126440_7729.doc','doc','2018-03-15 17:07:20',1),
	(168,NULL,NULL,1,'IWB - Delivery and configuration information','templateQuestionaire/1521128785_3511.docx','docx','2018-03-15 17:46:25',1),
	(169,62,NULL,5,'customerAcceptance_1000000175_169','customerAcceptance/1521210012_2920.docx','docx','2018-03-16 16:20:12',1),
	(170,62,NULL,2,'customerQuestionaire_179_239_2018_03_19','orderQuestionaire/1521456515_7812.docx','docx','2018-03-19 12:48:35',1),
	(171,53,NULL,2,'customerQuestionaire_229_2018_03_19','orderQuestionaire/1521460342_2539.docx','docx','2018-03-19 13:52:22',1),
	(172,1,NULL,3,'DEVTEST document visible','configuration/1521558727_3442.docx','docx','2018-03-20 17:12:07',1),
	(173,57,NULL,2,'customerQuestionaire_229_2018_03_27','orderQuestionaire/1522157227_3919.docx','docx','2018-03-27 16:27:07',1),
	(174,70,NULL,2,'customerQuestionaire_238_2018_04_23','orderQuestionaire/1524487183_7175.docx','docx','2018-04-23 15:39:43',1),
	(175,37,NULL,2,'customerQuestionaire_238_2018_04_24','orderQuestionaire/1524647191_7484.docx','docx','2018-04-25 12:06:31',1),
	(176,70,NULL,2,'customerQuestionaire_237_2018_05_02','orderQuestionaire/1525261234_8344.pdf','pdf','2018-05-02 14:40:34',1),
	(177,70,NULL,2,'customerQuestionaire_237_2018_05_02','orderQuestionaire/1525261234_4577.docx','docx','2018-05-02 14:40:34',1),
	(178,70,NULL,2,'customerQuestionaire_237_2018_05_02','orderQuestionaire/1525261234_8991.docx','docx','2018-05-02 14:40:34',1),
	(179,70,NULL,2,'customerQuestionaire_237_2018_05_02','orderQuestionaire/1525264321_6729.docx','docx','2018-05-02 15:32:01',1),
	(180,53,NULL,2,'customerQuestionaire_234_2018_05_04','orderQuestionaire/1525440870_4966.docx','docx','2018-05-04 16:34:30',1),
	(181,53,NULL,2,'customerQuestionaire_234_2018_05_04','orderQuestionaire/1525443051_9160.docx','docx','2018-05-04 17:10:51',1),
	(182,53,NULL,2,'customerQuestionaire_234_2018_05_04','orderQuestionaire/1525445059_6977.docx','docx','2018-05-04 17:44:19',1),
	(183,76,NULL,5,'customerAcceptance_1000000186_183','customerAcceptance/1525768568_1384.pdf','pdf','2018-05-08 10:36:08',1),
	(184,76,NULL,5,'customerAcceptance_1000000185_184','customerAcceptance/1525768602_5337.pdf','pdf','2018-05-08 10:36:42',1),
	(185,76,NULL,5,'customerAcceptance_1000000184_185','customerAcceptance/1525768750_2404.pdf','pdf','2018-05-08 10:39:10',1),
	(186,70,NULL,5,'customerAcceptance_1000000181_186','customerAcceptance/1525771395_8657.pdf','pdf','2018-05-08 11:23:15',1),
	(187,37,NULL,1,'IWB Configuration specification','templateQuestionaire/1525782208_8053.docx','docx','2018-05-08 14:23:28',1),
	(188,37,NULL,1,'SmartOffice creation phase','templateQuestionaire/1526288831_3661.docx','docx','2018-05-14 11:07:11',1),
	(190,37,NULL,1,'SmartOffice implementation phase','templateQuestionaire/1526288900_3385.docx','docx','2018-05-14 11:08:20',1),
	(191,70,NULL,2,'customerQuestionaire_304_2018_05_14','orderQuestionaire/1526296333_1113.docx','docx','2018-05-14 13:12:13',1),
	(192,70,NULL,2,'customerQuestionaire_305_2018_05_14','orderQuestionaire/1526296396_7625.docx','docx','2018-05-14 13:13:16',1),
	(193,70,NULL,2,'customerQuestionaire_304_2018_05_14','orderQuestionaire/1526297183_8406.docx','docx','2018-05-14 13:26:23',1),
	(194,70,NULL,2,'customerQuestionaire_305_2018_05_14','orderQuestionaire/1526297221_6074.docx','docx','2018-05-14 13:27:01',1),
	(195,70,NULL,5,'customerAcceptance_1000000190_195','customerAcceptance/1526297812_9047.pdf','pdf','2018-05-14 13:36:52',1),
	(196,62,NULL,2,'customerQuestionaire_304_2018_05_14','orderQuestionaire/1526307229_1461.docx','docx','2018-05-14 16:13:49',1),
	(197,62,NULL,2,'customerQuestionaire_305_2018_05_14','orderQuestionaire/1526308051_4766.docx','docx','2018-05-14 16:27:31',1),
	(198,78,NULL,5,'customerAcceptance_1000000193_198','customerAcceptance/1526454148_7594.pdf','pdf','2018-05-16 09:02:28',1),
	(199,72,NULL,2,'customerQuestionaire_237_2018_05_21','orderQuestionaire/1526929949_6004.docx','docx','2018-05-21 21:12:29',1),
	(200,72,NULL,2,'customerQuestionaire_239_2018_05_21','orderQuestionaire/1526930288_4050.docx','docx','2018-05-21 21:18:08',1),
	(201,70,NULL,2,'customerQuestionaire_238_2018_06_05','orderQuestionaire/1528193088_2187.docx','docx','2018-06-05 12:04:48',1),
	(202,70,NULL,2,'customerQuestionaire_239_2018_06_05','orderQuestionaire/1528193104_3516.docx','docx','2018-06-05 12:05:04',1),
	(203,70,NULL,5,'customerAcceptance_1000000197_203','customerAcceptance/1528193791_7896.docx','docx','2018-06-05 12:16:31',1);

/*!40000 ALTER TABLE `documents` ENABLE KEYS */;
UNLOCK TABLES;


# Dump of table financing
# ------------------------------------------------------------

DROP TABLE IF EXISTS `financing`;

CREATE TABLE `financing` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `interestRate` decimal(5,2) DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

LOCK TABLES `financing` WRITE;
/*!40000 ALTER TABLE `financing` DISABLE KEYS */;

INSERT INTO `financing` (`id`, `interestRate`)
VALUES
	(1,0.58);

/*!40000 ALTER TABLE `financing` ENABLE KEYS */;
UNLOCK TABLES;


# Dump of table gadgets
# ------------------------------------------------------------

DROP TABLE IF EXISTS `gadgets`;

CREATE TABLE `gadgets` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `name` varchar(200) NOT NULL,
  `module` varchar(30) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

LOCK TABLES `gadgets` WRITE;
/*!40000 ALTER TABLE `gadgets` DISABLE KEYS */;

INSERT INTO `gadgets` (`id`, `name`, `module`)
VALUES
	(1,'Order Central','gadget-order-central'),
	(2,'Next Actions','gadget-next-actions'),
	(3,'Customer Order Central','gadget-order-central'),
	(4,'CL Order Central','gadget-order-central'),
	(5,'Customer Next Actions','gadget-next-actions'),
	(6,'Assigned Orders','gadget-assigned-orders');

/*!40000 ALTER TABLE `gadgets` ENABLE KEYS */;
UNLOCK TABLES;


# Dump of table installation_company_selections
# ------------------------------------------------------------

DROP TABLE IF EXISTS `installation_company_selections`;

CREATE TABLE `installation_company_selections` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `idProduct` int(11) NOT NULL,
  `idOrder` int(11) NOT NULL,
  `idPackage` int(11) NOT NULL,
  `isActive` tinyint(4) DEFAULT '1',
  PRIMARY KEY (`idProduct`,`idOrder`,`idPackage`),
  KEY `rel_products_install_order` (`idOrder`),
  KEY `rel_products_install_package` (`idPackage`),
  KEY `auto` (`id`),
  CONSTRAINT `rel_products_install_order` FOREIGN KEY (`idOrder`) REFERENCES `orders` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `rel_products_install_package` FOREIGN KEY (`idPackage`) REFERENCES `packages` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `rel_products_install_prodcut` FOREIGN KEY (`idProduct`) REFERENCES `suppliers_countries_products` (`idProduct`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

LOCK TABLES `installation_company_selections` WRITE;
/*!40000 ALTER TABLE `installation_company_selections` DISABLE KEYS */;

INSERT INTO `installation_company_selections` (`id`, `idProduct`, `idOrder`, `idPackage`, `isActive`)
VALUES
	(92,104,173,226,1),
	(99,104,174,230,1),
	(107,104,177,239,1),
	(115,104,178,239,1),
	(117,104,179,239,1),
	(141,104,190,305,1),
	(124,113,181,236,1),
	(129,184,186,301,1),
	(148,188,191,294,1),
	(149,188,191,295,1),
	(152,188,192,294,1),
	(125,198,185,302,1),
	(154,198,196,302,1),
	(127,204,186,301,0);

/*!40000 ALTER TABLE `installation_company_selections` ENABLE KEYS */;
UNLOCK TABLES;


# Dump of table installation_schedule_dates
# ------------------------------------------------------------

DROP TABLE IF EXISTS `installation_schedule_dates`;

CREATE TABLE `installation_schedule_dates` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `idCompanySelection` int(11) DEFAULT NULL,
  `idUser` int(11) DEFAULT NULL,
  `date` date DEFAULT NULL,
  `status` enum('canceled','accepted','proposed','declined','invalid') DEFAULT NULL,
  `currentDate` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  PRIMARY KEY (`id`),
  KEY `id_user_installation` (`idUser`),
  KEY `id_comapny_selection_relation` (`idCompanySelection`),
  CONSTRAINT `id_comapny_selection_relation` FOREIGN KEY (`idCompanySelection`) REFERENCES `installation_company_selections` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `id_user_installation` FOREIGN KEY (`idUser`) REFERENCES `users` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

LOCK TABLES `installation_schedule_dates` WRITE;
/*!40000 ALTER TABLE `installation_schedule_dates` DISABLE KEYS */;

INSERT INTO `installation_schedule_dates` (`id`, `idCompanySelection`, `idUser`, `date`, `status`, `currentDate`)
VALUES
	(1,141,70,'2018-05-23','proposed','2018-05-14 13:34:45'),
	(2,141,37,'2018-05-23','accepted','2018-05-14 13:35:25');

/*!40000 ALTER TABLE `installation_schedule_dates` ENABLE KEYS */;
UNLOCK TABLES;


# Dump of table installation_schedule_info
# ------------------------------------------------------------

DROP TABLE IF EXISTS `installation_schedule_info`;

CREATE TABLE `installation_schedule_info` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `idOrder` int(11) NOT NULL,
  `idPackage` int(11) NOT NULL,
  `earliestInstallationDate` date NOT NULL,
  PRIMARY KEY (`idOrder`,`idPackage`),
  KEY `id_packages_installation` (`idPackage`),
  KEY `auto` (`id`),
  CONSTRAINT `id_orders_installation` FOREIGN KEY (`idOrder`) REFERENCES `orders` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `id_packages_installation` FOREIGN KEY (`idPackage`) REFERENCES `packages` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8;



# Dump of table modules
# ------------------------------------------------------------

DROP TABLE IF EXISTS `modules`;

CREATE TABLE `modules` (
  `id` int(4) NOT NULL AUTO_INCREMENT,
  `idParent` int(11) DEFAULT NULL,
  `name` varchar(100) NOT NULL,
  `menuName` varchar(100) DEFAULT NULL,
  `url` varchar(100) DEFAULT NULL,
  `isInMenu` int(1) DEFAULT '0',
  `menuPosition` int(4) DEFAULT '0',
  PRIMARY KEY (`id`),
  KEY `parent_module` (`idParent`),
  CONSTRAINT `parent_module` FOREIGN KEY (`idParent`) REFERENCES `modules` (`id`) ON DELETE NO ACTION ON UPDATE NO ACTION
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

LOCK TABLES `modules` WRITE;
/*!40000 ALTER TABLE `modules` DISABLE KEYS */;

INSERT INTO `modules` (`id`, `idParent`, `name`, `menuName`, `url`, `isInMenu`, `menuPosition`)
VALUES
	(1,NULL,'Dashboards','Overview','dashboards',1,1),
	(2,NULL,'Suppliers','Suppliers','suppliers',1,3),
	(3,NULL,'Packages','Packages','packages',1,4),
	(5,18,'Orders','Orders','orders',1,6),
	(7,NULL,'Countries','Countries','countries',0,0),
	(10,NULL,'Address','Address','address',0,0),
	(11,NULL,'Shop','Shop','shop',1,2),
	(12,NULL,'Users','Users','users',1,7),
	(13,NULL,'Contact','Contact','contact',1,12),
	(14,NULL,'ProfileSettings','ProfileSettings','profileSettings',0,0),
	(15,NULL,'Terms','Terms','terms',0,0),
	(16,NULL,'Documents','Documents','documents',1,8),
	(17,NULL,'Processes','Processes','processes',1,5),
	(18,NULL,'CoMarket','Co-Market','co-market',1,2),
	(19,NULL,'Cart','Cart','cart',0,0),
	(20,NULL,'Customers','Customers','customers',1,9),
	(21,NULL,'Financing','Financing','financing',1,10),
	(22,NULL,'Bids','Bids','bids',1,11),
	(23,NULL,'OrderProjects','OrderProjects','orderProjects',0,0);

/*!40000 ALTER TABLE `modules` ENABLE KEYS */;
UNLOCK TABLES;


# Dump of table order_projects
# ------------------------------------------------------------

DROP TABLE IF EXISTS `order_projects`;

CREATE TABLE `order_projects` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `name` varchar(45) DEFAULT NULL,
  `isAvailable` tinyint(4) DEFAULT '1',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

LOCK TABLES `order_projects` WRITE;
/*!40000 ALTER TABLE `order_projects` DISABLE KEYS */;

INSERT INTO `order_projects` (`id`, `name`, `isAvailable`)
VALUES
	(1,'Innovation Center',1),
	(2,'Demo01',1),
	(3,'Kontorsrådet',1),
	(4,'PerProj01',1);

/*!40000 ALTER TABLE `order_projects` ENABLE KEYS */;
UNLOCK TABLES;


# Dump of table order_selections
# ------------------------------------------------------------

DROP TABLE IF EXISTS `order_selections`;

CREATE TABLE `order_selections` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `idOrder` int(11) DEFAULT NULL,
  `idPackage` int(11) DEFAULT NULL,
  `idProduct` int(11) DEFAULT NULL,
  `selectionFor` varchar(50) DEFAULT 'installation',
  PRIMARY KEY (`id`),
  KEY `selection_id_order` (`idOrder`),
  KEY `selection_id_package` (`idPackage`),
  KEY `selection_id_product` (`idProduct`),
  CONSTRAINT `selection_id_order` FOREIGN KEY (`idOrder`) REFERENCES `rel_order_packages` (`idOrder`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `selection_id_package` FOREIGN KEY (`idPackage`) REFERENCES `rel_order_packages` (`idPackage`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `selection_id_product` FOREIGN KEY (`idProduct`) REFERENCES `rel_package_products` (`idProduct`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8;



# Dump of table order_statuses
# ------------------------------------------------------------

DROP TABLE IF EXISTS `order_statuses`;

CREATE TABLE `order_statuses` (
  `id` int(3) NOT NULL AUTO_INCREMENT,
  `status` varchar(100) NOT NULL,
  `color` varchar(10) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

LOCK TABLES `order_statuses` WRITE;
/*!40000 ALTER TABLE `order_statuses` DISABLE KEYS */;

INSERT INTO `order_statuses` (`id`, `status`, `color`)
VALUES
	(1,'open','blue'),
	(2,'in-progress','orange'),
	(3,'delivered','green'),
	(4,'canceled','x');

/*!40000 ALTER TABLE `order_statuses` ENABLE KEYS */;
UNLOCK TABLES;


# Dump of table order_types
# ------------------------------------------------------------

DROP TABLE IF EXISTS `order_types`;

CREATE TABLE `order_types` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `name` varchar(100) DEFAULT NULL,
  `details` varchar(300) DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

LOCK TABLES `order_types` WRITE;
/*!40000 ALTER TABLE `order_types` DISABLE KEYS */;

INSERT INTO `order_types` (`id`, `name`, `details`)
VALUES
	(1,'Commercial lead','The customer will receive the invoice for the full customer price and the commercial lead will receive the commission after the end of month'),
	(2,'Reseller','The customer will not receive an invoice but the reseller will receive an invoice with the amount = customer price – CL margin');

/*!40000 ALTER TABLE `order_types` ENABLE KEYS */;
UNLOCK TABLES;


# Dump of table orders
# ------------------------------------------------------------

DROP TABLE IF EXISTS `orders`;

CREATE TABLE `orders` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `idCustomerInstance` int(99) NOT NULL,
  `orderNumber` varchar(10) DEFAULT NULL,
  `assignedTo` int(11) DEFAULT NULL,
  `orderDate` timestamp NULL DEFAULT NULL,
  `estimatedDeliveryDate` date DEFAULT NULL,
  `deliveryDate` timestamp NULL DEFAULT NULL,
  `status` varchar(12) NOT NULL DEFAULT 'open',
  `reference` varchar(250) DEFAULT NULL,
  `tender` varchar(100) DEFAULT NULL,
  `projectNumber` varchar(12) DEFAULT NULL,
  `deliveryAddress` varchar(600) DEFAULT NULL,
  `billingAddress` varchar(600) DEFAULT NULL,
  `idTerms` int(11) DEFAULT '1',
  `customerAccepted` tinyint(1) DEFAULT '0',
  `acceptanceDueDate` date DEFAULT NULL,
  `customerDeclineReason` varchar(500) DEFAULT NULL,
  `idOrderType` int(11) DEFAULT '1',
  `idProject` int(11) DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `orderCustomerInstance_idx` (`idCustomerInstance`),
  KEY `ordderStatusFk_idx` (`status`),
  KEY `relOrderAssignedBroker_idx` (`assignedTo`),
  KEY `orderNumber_idx` (`orderNumber`),
  KEY `fk_id_order_terms_idx` (`idTerms`),
  KEY `fk_order_type_link_idx` (`idOrderType`),
  KEY `fk_pack_projects_idProject_idx` (`idProject`),
  CONSTRAINT `fk_id_order_terms` FOREIGN KEY (`idTerms`) REFERENCES `terms` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `fk_order_projects_idProject` FOREIGN KEY (`idProject`) REFERENCES `order_projects` (`id`) ON DELETE SET NULL ON UPDATE CASCADE,
  CONSTRAINT `fk_order_type_link` FOREIGN KEY (`idOrderType`) REFERENCES `order_types` (`id`) ON DELETE SET NULL ON UPDATE CASCADE,
  CONSTRAINT `orderCustomerInstanceFk` FOREIGN KEY (`idCustomerInstance`) REFERENCES `rel_commercial_lead_customers` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `relOrderAssignedBroker` FOREIGN KEY (`assignedTo`) REFERENCES `brokers` (`id`) ON DELETE SET NULL ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

LOCK TABLES `orders` WRITE;
/*!40000 ALTER TABLE `orders` DISABLE KEYS */;

INSERT INTO `orders` (`id`, `idCustomerInstance`, `orderNumber`, `assignedTo`, `orderDate`, `estimatedDeliveryDate`, `deliveryDate`, `status`, `reference`, `tender`, `projectNumber`, `deliveryAddress`, `billingAddress`, `idTerms`, `customerAccepted`, `acceptanceDueDate`, `customerDeclineReason`, `idOrderType`, `idProject`)
VALUES
	(172,34,'1000000000',7,'2018-03-13 17:03:11',NULL,'2018-03-13 18:06:07','production','PeNo office','','SE1000000000','Att: PeNo\nEkby Östertomten 1\n, Mariestad, Sweden, 54293','Ekby Östertomten 1, Mariestad, Sweden, 54293',1,1,NULL,'',1,NULL),
	(173,34,'1000000173',7,'2018-03-14 11:03:57',NULL,'2018-03-14 12:01:12','production','Pers bibliotek','','SE1000000173','Att: PeNo\nEkby Östertomten 1\n, Mariestad, Sweden, 54293','Ekby Östertomten 1, Mariestad, Sweden, 54293',1,1,NULL,'',1,NULL),
	(174,37,'1000000174',NULL,'2018-03-14 15:03:14',NULL,NULL,'in-progress','Blå rummet','','SE1000000174','Lilla Bommen 2, Göteborg, Sweden, 12323','Lilla Bommen 2, Göteborg, Sweden, 12323',1,0,NULL,NULL,1,NULL),
	(177,37,'1000000175',7,'2018-03-16 16:03:59',NULL,'2018-03-16 16:20:31','production','Lisebergrummet','','SE1000000175','Lilla Bommen 2, Göteborg, Sweden, 12323','Lilla Bommen 2, Göteborg, Sweden, 12323',1,1,NULL,'',1,NULL),
	(178,37,'1000000178',NULL,'2018-03-19 12:03:22',NULL,NULL,'canceled','Lisebergsrummet','','SE1000000178','Lilla Bommen 2, Göteborg, Sweden, 12323','Lilla Bommen 2, Göteborg, Sweden, 12323',1,0,NULL,NULL,1,NULL),
	(179,37,'1000000179',11,'2018-03-19 12:03:54',NULL,NULL,'in-progress','Kålle','','SE1000000179','Lilla Bommen 2, Göteborg, Sweden, 12323','Lilla Bommen 2, Göteborg, Sweden, 12323',1,0,NULL,NULL,1,NULL),
	(180,32,'1000000180',1,'2018-03-20 17:03:16','2018-03-01',NULL,'in-progress','DEV TEST','','DK1000000180','TEST ADDRESS, TEST CITY, Denmark, TEST ZIP','str. Siemens nr  5, Timisoara, Denmark, 300307',1,0,NULL,NULL,1,NULL),
	(181,41,'1000000181',7,'2018-04-19 12:04:18',NULL,'2018-05-08 11:23:41','production','Testrum1','13456789','SE1000000181','Test1, Göteborg, Sweden, 123245','Test2, Göteborg, Sweden, 12345',1,1,NULL,'',2,NULL),
	(182,41,'1000000182',NULL,'2018-04-23 15:04:47',NULL,NULL,'in-progress','Göteborgs hamn','Per N','SE1000000182','Test1, Göteborg, Sweden, 123245','Test2, Göteborg, Sweden, 12345',1,0,NULL,NULL,2,NULL),
	(183,41,'1000000183',7,'2018-05-02 14:05:07',NULL,NULL,'in-progress','','','SE1000000183','Test1, Göteborg, Sweden, 123245','Test2, Göteborg, Sweden, 12345',1,0,NULL,NULL,2,NULL),
	(184,45,'1000000184',7,'2018-05-08 10:05:41',NULL,'2018-05-08 10:39:38','production','Reservprojektor NKS','Elena Malioutina','SE1000000184','Coor Nya Karolinska\nGävlegatan 63, Solna, Sweden, 17164','Coor Nya Karolinska\nGävlegatan 63, Solna, Sweden, 17164',1,1,NULL,'',2,NULL),
	(185,45,'1000000185',7,'2018-05-08 10:05:03',NULL,'2018-05-08 10:38:44','production','Kontoret NKS','Elena Malioutina','SE1000000185','Coor Nya Karolinska\nGävlegatan 63, Solna, Sweden, 17164','Coor Nya Karolinska\nGävlegatan 63, Solna, Sweden, 17164',1,1,NULL,'',2,NULL),
	(186,45,'1000000186',7,'2018-05-08 10:05:19',NULL,'2018-05-08 10:38:26','production','Digital Signage NKS','Elena Malioutina','SE1000000186','Coor Nya Karolinska\nGävlegatan 63, Solna, Sweden, 17164','Coor Nya Karolinska\nGävlegatan 63, Solna, Sweden, 17164',1,1,NULL,'',2,NULL),
	(187,41,'1000000187',7,'2018-05-14 13:05:53',NULL,NULL,'canceled','test','test','SE1000000187','Test1, Göteborg, Sweden, 123245','Test2, Göteborg, Sweden, 12345',1,0,NULL,NULL,2,2),
	(188,41,'1000000188',7,'2018-05-14 13:05:49',NULL,NULL,'canceled','demo','demo','SE1000000188','Test1, Göteborg, Sweden, 123245','Test2, Göteborg, Sweden, 12345',1,0,NULL,NULL,2,2),
	(189,41,'1000000189',7,'2018-05-14 13:05:43',NULL,'2018-05-14 13:34:10','production','Demo2','Demo2','SE1000000189','Test1, Göteborg, Sweden, 123245','Test2, Göteborg, Sweden, 12345',1,0,NULL,NULL,2,2),
	(190,41,'1000000190',NULL,'2018-05-14 13:05:27',NULL,'2018-05-14 13:37:39','production','Demo2','Demo2','SE1000000190','Test1, Göteborg, Sweden, 123245','Test2, Göteborg, Sweden, 12345',1,1,'2018-06-07','',2,2),
	(191,37,'1000000191',NULL,'2018-05-14 16:05:21',NULL,NULL,'in-progress','Köpmangatan','Arne Andersson','SE1000000191','Lilla Bommen 2, Göteborg, Sweden, 12323','Lilla Bommen 2, Göteborg, Sweden, 12323',1,0,NULL,NULL,2,2),
	(192,37,'1000000192',NULL,'2018-05-14 16:05:17',NULL,NULL,'open','Köpmangatan','Arne Andersson','SE1000000192','Lilla Bommen 2, Göteborg, Sweden, 12323','Lilla Bommen 2, Göteborg, Sweden, 12323',1,0,NULL,NULL,2,2),
	(193,46,'1000000193',11,'2018-05-16 08:05:43',NULL,'2018-05-16 09:03:01','production','Nidingen','Niclas Jonson','SE1000000193','Lilla Bommen 2, Göteborg, Sweden, 411 04','Lilla Bommen 2, Göteborg, Sweden, 411 04',1,1,NULL,'',2,2),
	(194,43,'1000000194',11,'2018-05-21 21:05:12',NULL,NULL,'in-progress','','Emelie Grahm','SE1000000194','Knarrarnäsgatan 5, Kista, Sweden, 16440','A300, Luleå, Sweden, 971 74',1,0,NULL,NULL,2,3),
	(195,43,'1000000195',11,'2018-05-21 21:05:52',NULL,NULL,'in-progress','','Emelie Grahm','SE1000000195','Knarrarnäsgatan 5, Kista, Sweden, 16440','A300, Luleå, Sweden, 971 74',1,0,NULL,NULL,2,3),
	(196,41,'1000000196',NULL,'2018-05-29 15:05:32',NULL,NULL,'open','','','SE1000000196','Test1, Göteborg, Sweden, 123245','Ekby Östertomten 1, Mariestad, Sweden, 54293',1,0,NULL,NULL,2,NULL),
	(197,41,'1000000197',7,'2018-06-05 12:06:11',NULL,NULL,'in-progress','Per library','Per Nordbrandt','SE1000000197','Test1, Göteborg, Sweden, 123245','Test2, Göteborg, Sweden, 12345',1,1,NULL,'',2,4);

/*!40000 ALTER TABLE `orders` ENABLE KEYS */;
UNLOCK TABLES;


# Dump of table package_option_groups
# ------------------------------------------------------------

DROP TABLE IF EXISTS `package_option_groups`;

CREATE TABLE `package_option_groups` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `idPackage` int(11) NOT NULL,
  `name` varchar(100) DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `fk_package_options_rel_idx` (`idPackage`),
  CONSTRAINT `fk_package_options_rel` FOREIGN KEY (`idPackage`) REFERENCES `packages` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

LOCK TABLES `package_option_groups` WRITE;
/*!40000 ALTER TABLE `package_option_groups` DISABLE KEYS */;

INSERT INTO `package_option_groups` (`id`, `idPackage`, `name`)
VALUES
	(9,237,'Service / support'),
	(10,253,'Design package'),
	(11,259,'Design package'),
	(12,255,'Design package'),
	(13,254,'Design package'),
	(14,259,'Installation'),
	(15,255,'Installation'),
	(16,253,'Installation'),
	(17,254,'Installation'),
	(18,237,'Installation'),
	(19,238,'Service/support'),
	(20,238,'Installation'),
	(21,239,'Service/support'),
	(22,239,'Installation'),
	(23,240,'Service/Support'),
	(24,240,'Installation'),
	(27,235,'Service/support'),
	(28,235,'Installation'),
	(29,236,'Service/support'),
	(30,236,'Installation'),
	(31,230,'Service'),
	(32,230,'Installation'),
	(35,231,'Service'),
	(36,231,'Installation'),
	(37,232,'Service'),
	(38,232,'Installation'),
	(39,233,'Service'),
	(40,233,'Installation'),
	(41,234,'Service/support'),
	(42,234,'Installation'),
	(43,258,'Service fixed price'),
	(44,259,'Service'),
	(45,255,'Service'),
	(46,253,'Service'),
	(47,254,'Service');

/*!40000 ALTER TABLE `package_option_groups` ENABLE KEYS */;
UNLOCK TABLES;


# Dump of table package_types
# ------------------------------------------------------------

DROP TABLE IF EXISTS `package_types`;

CREATE TABLE `package_types` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `packageType` varchar(15) DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

LOCK TABLES `package_types` WRITE;
/*!40000 ALTER TABLE `package_types` DISABLE KEYS */;

INSERT INTO `package_types` (`id`, `packageType`)
VALUES
	(1,'standard'),
	(2,'option'),
	(3,'additional');

/*!40000 ALTER TABLE `package_types` ENABLE KEYS */;
UNLOCK TABLES;


# Dump of table packages
# ------------------------------------------------------------

DROP TABLE IF EXISTS `packages`;

CREATE TABLE `packages` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `idCountry` int(11) NOT NULL,
  `idTemplate` int(11) DEFAULT NULL,
  `reference` varchar(50) DEFAULT NULL,
  `name` varchar(150) DEFAULT NULL,
  `description` text,
  `documents` blob,
  `status` varchar(30) DEFAULT 'available',
  `additionalInstallDays` int(11) DEFAULT '5',
  `idPackageType` int(11) DEFAULT '1',
  `photo` varchar(500) DEFAULT NULL,
  `photoPublicId` varchar(500) DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `package_country_idx` (`idCountry`),
  KEY `package_template_fk_idx` (`idTemplate`),
  KEY `fk_package_type_idx` (`idPackageType`),
  CONSTRAINT `fk_package_type` FOREIGN KEY (`idPackageType`) REFERENCES `package_types` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `package_template_fk` FOREIGN KEY (`idTemplate`) REFERENCES `packages_templates` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `packages_country` FOREIGN KEY (`idCountry`) REFERENCES `countries` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

LOCK TABLES `packages` WRITE;
/*!40000 ALTER TABLE `packages` DISABLE KEYS */;

INSERT INTO `packages` (`id`, `idCountry`, `idTemplate`, `reference`, `name`, `description`, `documents`, `status`, `additionalInstallDays`, `idPackageType`, `photo`, `photoPublicId`)
VALUES
	(226,2,35,'n/a','zzAtria: Video system with dual 65\"','<p>Video conference system with dual 65\"</p>',NULL,'available',5,1,NULL,NULL),
	(227,2,NULL,'n/a','zzAtria: Wheel stand for dual screens','<p>Wheel stand for dual screens 65\"</p>',NULL,'available',5,3,NULL,NULL),
	(228,2,35,'n/a','zzAtria: Video system with dual 55\"','<p>Atria: Polycom RPG500 w. dual 55\"</p>',NULL,'available',5,1,NULL,NULL),
	(229,2,35,'n/a','zzAtria: Video system with dual 48\"','<p><span style=\"color: #333333; font-family: \'Helvetica Neue\', Helvetica, Arial, sans-serif; background-color: #f5f5f5;\">Video conference system with dual 48\" screens</span></p>\n<p><span style=\"color: #333333; font-family: \'Helvetica Neue\', Helvetica, Arial, sans-serif; background-color: #f5f5f5;\">Hello</span></p>',NULL,'available',5,1,NULL,NULL),
	(230,2,36,'HUDDLE','PRE HUDDLE 55 - 55\" Display Screen','<p class=\"MsoNormal\"><strong>RICOH 55\" Display Screen, in preparation for future upgrade for collaborative meetings spaces.</strong></p>\n<p class=\"MsoNormal\">Use the Ricoh Display Screen as a monumental touch screen to showcase digital presentations with up to 4K resolution. Use multiple interfaces to connect with chosen analog, digital and audio devices. Connect with your PC or Mac&reg; for convenient touch screen control.</p>\n<p class=\"MsoNormal\">The touch screen is ready to be upgraded to Interactive Whiteboard (IWB), which transforms the screen to a standalone IWB without a need for a connected PC or MAC&reg;. The upgrade enables new key functions, such as commenting on displayed presentations and creation of content directly on the IWB.</p>\n<p class=\"MsoNormal\">Key Display Screen functions</p>\n<ul>\n<li class=\"MsoNormal\">Up to 4K Resolution touch screen</li>\n<li class=\"MsoNormal\">Connect with Multiple interfaces</li>\n<li class=\"MsoNormal\">Showcase Presentations</li>\n<li class=\"MsoNormal\">Plan for future upgrade to Interactive Whiteboard (IWB)</li>\n</ul>\n<p class=\"MsoNormal\">Add-on function</p>\n<ul>\n<li class=\"MsoNormal\">Wall Fixture</li>\n<li class=\"MsoNormal\">Wheel Stand</li>\n</ul>',NULL,'available',5,1,NULL,'Ricoh/Huddle/HC_PreHuddle_55_interior_cut_small'),
	(231,2,36,'HUDDLE','PRE HUDDLE 65 - 65\" Display Screen','<p class=\"MsoNormal\"><strong>RICOH 65\" Display Screen, in preparation for future upgrade for collaborative meetings spaces.</strong></p>\n<p class=\"MsoNormal\">Use the Ricoh Display Screen as a monumental touch screen to showcase digital presentations with up to 4K resolution. Use multiple interfaces to connect with chosen analog, digital and audio devices. Connect with your PC or Mac&reg; for convenient touch screen control.</p>\n<p class=\"MsoNormal\">The touch screen is ready to be upgraded to Interactive Whiteboard (IWB), which transforms the screen to a standalone IWB without a need for a connected PC or MAC&reg;. The upgrade enables new key functions, such as commenting on displayed presentations and creation of content directly on the IWB.</p>\n<p class=\"MsoNormal\">Key Display Screen functions</p>\n<ul>\n<li class=\"MsoNormal\">Up to 4K Resolution touch screen</li>\n<li class=\"MsoNormal\">Connect with Multiple interfaces</li>\n<li class=\"MsoNormal\">Showcase Presentations</li>\n<li class=\"MsoNormal\">Plan for future upgrade to Interactive Whiteboard (IWB)</li>\n</ul>\n<p class=\"MsoNormal\">Add-on function</p>\n<ul>\n<li class=\"MsoNormal\">Wall Fixture</li>\n<li class=\"MsoNormal\">Wheel Stand</li>\n</ul>',NULL,'available',5,1,NULL,'Ricoh/Huddle/HC_PreHuddle_65_interior_cut_small'),
	(232,2,36,'HUDDLE','PRE HUDDLE 75 - 75\" Display Screen','<p class=\"MsoNormal\"><strong>RICOH 75\" Display Screen, in preparation for future upgrade for collaborative meetings spaces.</strong></p>\n<p class=\"MsoNormal\">Use the Ricoh Display Screen as a monumental touch screen to showcase digital presentations with up to 4K resolution. Use multiple interfaces to connect with chosen analog, digital and audio devices. Connect with your PC or Mac&reg; for convenient touch screen control.</p>\n<p class=\"MsoNormal\">The touch screen is ready to be upgraded to Interactive Whiteboard (IWB), which transforms the screen to a standalone IWB without a need for a connected PC or MAC&reg;. The upgrade enables new key functions, such as commenting on displayed presentations and creation of content directly on the IWB.</p>\n<p class=\"MsoNormal\">Key Display Screen functions</p>\n<ul>\n<li class=\"MsoNormal\">Up to 4K Resolution touch screen</li>\n<li class=\"MsoNormal\">Connect with Multiple interfaces</li>\n<li class=\"MsoNormal\">Showcase Presentations</li>\n<li class=\"MsoNormal\">Plan for future upgrade to Interactive Whiteboard (IWB)</li>\n</ul>\n<p class=\"MsoNormal\">Add-on function</p>\n<ul>\n<li class=\"MsoNormal\">Wall Fixture</li>\n<li class=\"MsoNormal\">Wheel Stand</li>\n</ul>',NULL,'available',5,1,NULL,'Ricoh/Huddle/HC_PreHuddle_75_interior_cut_small'),
	(233,2,36,'HUDDLE','PRE HUDDLE 84 - 84\" Display Screen','<p class=\"MsoNormal\"><strong>RICOH 84\" Display Screen, in preparation for future upgrade for collaborative meetings spaces.</strong></p>\n<p class=\"MsoNormal\">Use the Ricoh Display Screen as a monumental touch screen to showcase digital presentations with up to 4K resolution. Use multiple interfaces to connect with chosen analog, digital and audio devices. Connect with your PC or Mac&reg; for convenient touch screen control.</p>\n<p class=\"MsoNormal\">The touch screen is ready to be upgraded to Interactive Whiteboard (IWB), which transforms the screen to a standalone IWB without a need for a connected PC or MAC&reg;. The upgrade enables new key functions, such as commenting on displayed presentations and creation of content directly on the IWB.</p>\n<p class=\"MsoNormal\">Key Display Screen functions</p>\n<ul>\n<li class=\"MsoNormal\">Up to 4K Resolution touch screen</li>\n<li class=\"MsoNormal\">Connect with Multiple interfaces</li>\n<li class=\"MsoNormal\">Showcase Presentations</li>\n<li class=\"MsoNormal\">Plan for future upgrade to Interactive Whiteboard (IWB)</li>\n</ul>\n<p class=\"MsoNormal\">Add-on function</p>\n<ul>\n<li class=\"MsoNormal\">Wall Fixture</li>\n<li class=\"MsoNormal\">Wheel Stand</li>\n</ul>',NULL,'available',5,1,NULL,'Ricoh/Huddle/HC_PreHuddle_84_interior_cut_small'),
	(234,2,37,'HUDDLE','HUDDLE MINI 22 - IWB 22\" portable','<p class=\"MsoNormal\"><strong>RICOH 22\" Interactive Whiteboard (IWB) portable, for collaborative meeting spaces.</strong></p>\n<p class=\"MsoNormal\">The Interactive Whiteboard has an easy-to-use interface with short learning curve. Annotate directly on the touch screen by hand or with an add-on IWB pen. Use advanced collaborative tools and remote viewing options to participate in meetings and digital presentations. Save the result for download later or send it directly by e-mail.</p>\n<p class=\"MsoNormal\">The portable Interactive Whiteboard 22&rdquo; makes it easy to bring the IWB where it is best needed. Use WLAN to minimise the need for cables.</p>\n<p class=\"MsoNormal\">Key IWB functions</p>\n<ul>\n<li class=\"MsoNormal\">Annotate directly on the touch screen</li>\n<li class=\"MsoNormal\">Showcase &amp; Comment on Presentations</li>\n<li class=\"MsoNormal\">Upload documents on the IWB</li>\n<li class=\"MsoNormal\">Use &amp; Capture Browser on IWB</li>\n<li class=\"MsoNormal\">Save locally on Temporary Memory</li>\n<li class=\"MsoNormal\">Save on USB-Memory</li>\n<li class=\"MsoNormal\">Print &amp; E-mail directly from the IWB</li>\n</ul>\n<p class=\"MsoNormal\">Add-on IWB functions</p>\n<ul>\n<li class=\"MsoNormal\">Pen Sensor kit</li>\n<li class=\"MsoNormal\">Join other IWB sessions with Remote License</li>\n<li class=\"MsoNormal\">Video Service</li>\n<li class=\"MsoNormal\">External Camera</li>\n<li class=\"MsoNormal\">External Microphone</li>\n</ul>\n<p class=\"MsoNormal\">&nbsp;</p>\n<p class=\"MsoNormal\">Other methods of connecting with the IWB can be done through Ricoh Apps (see Google Play or Appstore).</p>',NULL,'available',5,1,NULL,'2/phptp9Hv5_oacnpg'),
	(235,2,38,'HUDDLE','HUDDLE MOBILE 65 - IWB 65\" on wheel stand','<p class=\"MsoNormal\"><strong>RICOH 65\" Interactive Whiteboard (IWB) on Wheel stand, for collaborative meeting spaces.</strong></p>\n<p class=\"MsoNormal\">The Interactive Whiteboard has an easy-to-use interface with short learning curve. Annotate directly on the touch screen by hand or with an add-on IWB pen. Use advanced collaborative tools and remote viewing options to participate in meetings and digital presentations. Save the result for download later or send it directly by e-mail.</p>\n<p class=\"MsoNormal\">The Mobile wheel stand makes it easy to place the IWB where it is best needed, from open spaces to closed rooms. Use WLAN to minimise the need for cables.</p>\n<p class=\"MsoNormal\">Key IWB functions</p>\n<ul>\n<li class=\"MsoNormal\">Annotate directly on the touch screen</li>\n<li class=\"MsoNormal\">Showcase &amp; Comment on Presentations</li>\n<li class=\"MsoNormal\">Upload documents on the IWB</li>\n<li class=\"MsoNormal\">Use &amp; Capture Browser on IWB</li>\n<li class=\"MsoNormal\">Save locally on Temporary Memory</li>\n<li class=\"MsoNormal\">Save on USB-Memory</li>\n<li class=\"MsoNormal\">Print &amp; E-mail directly from the IWB</li>\n</ul>\n<p class=\"MsoNormal\">Add-on IWB functions</p>\n<ul>\n<li class=\"MsoNormal\">Pen Sensor kit</li>\n<li class=\"MsoNormal\">Join other IWB sessions with Remote License</li>\n<li class=\"MsoNormal\">Video Service</li>\n<li class=\"MsoNormal\">External Camera</li>\n<li class=\"MsoNormal\">External Microphone</li>\n</ul>\n<p class=\"MsoNormal\">&nbsp;</p>\n<p class=\"MsoNormal\">Other methods of connecting with the IWB can be done through Ricoh Apps (see Google Play or Appstore).</p>\n<p class=\"MsoNormal\">&nbsp;</p>',NULL,'available',5,1,NULL,'Ricoh/Huddle/HC_MobileHuddle_65_interior_cut_small'),
	(236,2,38,'HUDDLE','HUDDLE MOBILE 75 - IWB 75\" on wheel stand','<p class=\"MsoNormal\"><strong>RICOH 75\" Interactive Whiteboard (IWB) on Wheel stand, for collaborative meeting spaces.</strong></p>\n<p class=\"MsoNormal\">The Interactive Whiteboard has an easy-to-use interface with short learning curve. Annotate directly on the touch screen by hand or with an add-on IWB pen. Use advanced collaborative tools and remote viewing options to participate in meetings and digital presentations. Save the result for download later or send it directly by e-mail.</p>\n<p class=\"MsoNormal\">The Mobile wheel stand makes it easy to place the IWB where it is best needed, from open spaces to closed rooms. Use WLAN to minimise the need for cables.</p>\n<p class=\"MsoNormal\">Key IWB functions</p>\n<ul>\n<li class=\"MsoNormal\">Annotate directly on the touch screen</li>\n<li class=\"MsoNormal\">Showcase &amp; Comment on Presentations</li>\n<li class=\"MsoNormal\">Upload documents on the IWB</li>\n<li class=\"MsoNormal\">Use &amp; Capture Browser on IWB</li>\n<li class=\"MsoNormal\">Save locally on Temporary Memory</li>\n<li class=\"MsoNormal\">Save on USB-Memory</li>\n<li class=\"MsoNormal\">Print &amp; E-mail directly from the IWB</li>\n</ul>\n<p class=\"MsoNormal\">Add-on IWB functions</p>\n<ul>\n<li class=\"MsoNormal\">Pen Sensor kit</li>\n<li class=\"MsoNormal\">Join other IWB sessions with Remote License</li>\n<li class=\"MsoNormal\">Video Service</li>\n<li class=\"MsoNormal\">External Camera</li>\n<li class=\"MsoNormal\">External Microphone</li>\n</ul>\n<p class=\"MsoNormal\">&nbsp;</p>\n<p class=\"MsoNormal\">Other methods of connecting with the IWB can be done through Ricoh Apps (see Google Play or Appstore).</p>',NULL,'available',5,1,NULL,'Ricoh/Huddle/HC_MobileHuddle_65_interior_cut_small'),
	(237,2,39,'HUDDLE','HUDDLE FIXED 55 - IWB 55\" on wall','<p class=\"MsoNormal\"><strong>RICOH 55\" Interactive Whiteboard (IWB) on Wall, for collaborative meeting spaces&nbsp;</strong></p>\n<p class=\"MsoNormal\">The Interactive Whiteboard has an easy-to-use interface with short learning curve. Annotate directly on the touch screen by hand or with an add-on IWB pen. Use advanced collaborative tools and remote viewing options to participate in meetings and digital presentations. Save the result for download later or send it directly by e-mail.</p>\n<p class=\"MsoNormal\">Mount the Interactive Whiteboard on the wall to enable better movement in the room for interacting with the touch screen.</p>\n<p class=\"MsoNormal\">Key IWB functions</p>\n<ul>\n<li class=\"MsoNormal\">Annotate directly on the touch screen</li>\n<li class=\"MsoNormal\">Showcase &amp; Comment on Presentations</li>\n<li class=\"MsoNormal\">Upload documents on the IWB</li>\n<li class=\"MsoNormal\">Use &amp; Capture Browser on IWB</li>\n<li class=\"MsoNormal\">Save locally on Temporary Memory</li>\n<li class=\"MsoNormal\">Save on USB-Memory</li>\n<li class=\"MsoNormal\">Print &amp; E-mail directly from the IWB</li>\n</ul>\n<p class=\"MsoNormal\">Add-on IWB functions</p>\n<ul>\n<li class=\"MsoNormal\">Pen Sensor kit</li>\n<li class=\"MsoNormal\">Join other IWB sessions with Remote License</li>\n<li class=\"MsoNormal\">Video Service</li>\n<li class=\"MsoNormal\">External Camera</li>\n<li class=\"MsoNormal\">External Microphone</li>\n</ul>\n<p class=\"MsoNormal\">&nbsp;</p>\n<p class=\"MsoNormal\">Other methods of connecting with the IWB can be done through Ricoh Apps (see Google Play or Appstore).</p>',NULL,'available',5,1,NULL,'Ricoh/Huddle/HC_FixedHuddle_55_interior_cut_small'),
	(238,2,39,'HUDDLE','HUDDLE FIXED 65 - IWB 65\" on wall','<p class=\"MsoNormal\"><strong>RICOH 65\" Interactive Whiteboard (IWB) on Wall, for collaborative meeting spaces&nbsp;</strong></p>\n<p class=\"MsoNormal\">The Interactive Whiteboard has an easy-to-use interface with short learning curve. Annotate directly on the touch screen by hand or with an add-on IWB pen. Use advanced collaborative tools and remote viewing options to participate in meetings and digital presentations. Save the result for download later or send it directly by e-mail.</p>\n<p class=\"MsoNormal\">Mount the Interactive Whiteboard on the wall to enable better movement in the room for interacting with the touch screen.</p>\n<p class=\"MsoNormal\">Key IWB functions</p>\n<ul>\n<li class=\"MsoNormal\">Annotate directly on the touch screen</li>\n<li class=\"MsoNormal\">Showcase &amp; Comment on Presentations</li>\n<li class=\"MsoNormal\">Upload documents on the IWB</li>\n<li class=\"MsoNormal\">Use &amp; Capture Browser on IWB</li>\n<li class=\"MsoNormal\">Save locally on Temporary Memory</li>\n<li class=\"MsoNormal\">Save on USB-Memory</li>\n<li class=\"MsoNormal\">Print &amp; E-mail directly from the IWB</li>\n</ul>\n<p class=\"MsoNormal\">Add-on IWB functions</p>\n<ul>\n<li class=\"MsoNormal\">Pen Sensor kit</li>\n<li class=\"MsoNormal\">Join other IWB sessions with Remote License</li>\n<li class=\"MsoNormal\">Video Service</li>\n<li class=\"MsoNormal\">External Camera</li>\n<li class=\"MsoNormal\">External Microphone</li>\n</ul>\n<p class=\"MsoNormal\">&nbsp;</p>\n<p class=\"MsoNormal\">Other methods of connecting with the IWB can be done through Ricoh Apps (see Google Play or Appstore).</p>',NULL,'available',5,1,NULL,'Ricoh/Huddle/HC_FixedHuddle_55_interior_cut_small'),
	(239,2,39,'HUDDLE','HUDDLE FIXED 75 - IWB 75\" on wall','<p class=\"MsoNormal\"><strong>RICOH 75\" Interactive Whiteboard (IWB) on Wall, for collaborative meeting spaces&nbsp;</strong></p>\n<p class=\"MsoNormal\">The Interactive Whiteboard has an easy-to-use interface with short learning curve. Annotate directly on the touch screen by hand or with an add-on IWB pen. Use advanced collaborative tools and remote viewing options to participate in meetings and digital presentations. Save the result for download later or send it directly by e-mail.</p>\n<p class=\"MsoNormal\">Mount the Interactive Whiteboard on the wall to enable better movement in the room for interacting with the touch screen.</p>\n<p class=\"MsoNormal\">Key IWB functions</p>\n<ul>\n<li class=\"MsoNormal\">Annotate directly on the touch screen</li>\n<li class=\"MsoNormal\">Showcase &amp; Comment on Presentations</li>\n<li class=\"MsoNormal\">Upload documents on the IWB</li>\n<li class=\"MsoNormal\">Use &amp; Capture Browser on IWB</li>\n<li class=\"MsoNormal\">Save locally on Temporary Memory</li>\n<li class=\"MsoNormal\">Save on USB-Memory</li>\n<li class=\"MsoNormal\">Print &amp; E-mail directly from the IWB</li>\n</ul>\n<p class=\"MsoNormal\">Add-on IWB functions</p>\n<ul>\n<li class=\"MsoNormal\">Pen Sensor kit</li>\n<li class=\"MsoNormal\">Join other IWB sessions with Remote License</li>\n<li class=\"MsoNormal\">Video Service</li>\n<li class=\"MsoNormal\">External Camera</li>\n<li class=\"MsoNormal\">External Microphone</li>\n</ul>\n<p class=\"MsoNormal\">&nbsp;</p>\n<p class=\"MsoNormal\">Other methods of connecting with the IWB can be done through Ricoh Apps (see Google Play or Appstore).</p>',NULL,'available',5,1,NULL,'Ricoh/Huddle/HC_FixedHuddle_75_interior_cut_small'),
	(240,2,39,'HUDDLE','HUDDLE FIXED 84 - IWB 84\" on wall','<p class=\"MsoNormal\"><strong>RICOH 84\" Interactive Whiteboard (IWB) on Wall, for collaborative meeting spaces.&nbsp;</strong></p>\n<p class=\"MsoNormal\">The Interactive Whiteboard has an easy-to-use interface with short learning curve. Annotate directly on the touch screen by hand or with an add-on IWB pen. Use advanced collaborative tools and remote viewing options to participate in meetings and digital presentations. Save the result for download later or send it directly by e-mail.</p>\n<p class=\"MsoNormal\">Mount the Interactive Whiteboard on the wall to enable better movement in the room for interacting with the touch screen.</p>\n<p class=\"MsoNormal\">Key IWB functions</p>\n<ul>\n<li class=\"MsoNormal\">Annotate directly on the touch screen</li>\n<li class=\"MsoNormal\">Showcase &amp; Comment on Presentations</li>\n<li class=\"MsoNormal\">Upload documents on the IWB</li>\n<li class=\"MsoNormal\">Use &amp; Capture Browser on IWB</li>\n<li class=\"MsoNormal\">Save locally on Temporary Memory</li>\n<li class=\"MsoNormal\">Save on USB-Memory</li>\n<li class=\"MsoNormal\">Print &amp; E-mail directly from the IWB</li>\n</ul>\n<p class=\"MsoNormal\">Add-on IWB functions</p>\n<ul>\n<li class=\"MsoNormal\">Pen Sensor kit</li>\n<li class=\"MsoNormal\">Join other IWB sessions with Remote License</li>\n<li class=\"MsoNormal\">Video Service</li>\n<li class=\"MsoNormal\">External Camera</li>\n<li class=\"MsoNormal\">External Microphone</li>\n</ul>\n<p class=\"MsoNormal\">&nbsp;</p>\n<p class=\"MsoNormal\">Other methods of connecting with the IWB can be done through Ricoh Apps (see Google Play or Appstore).</p>',NULL,'available',5,1,NULL,'Ricoh/Huddle/HC_FixedHuddle_84_interior_cut_small'),
	(241,2,40,'Coor','zzCoorExisting_HuddleWall 8400MS','<p>IWB 84\" with&nbsp;4K camera</p>',NULL,'available',5,1,NULL,NULL),
	(242,2,40,'Coor','zzCoorExisting_HuddleWall 8400MSL','<p>IWB 84\" with HD webcam</p>',NULL,'available',5,1,NULL,NULL),
	(243,2,40,'Coor','zzCoorExisting_HuddleWall 6500MS','<p>IWB 65\" with HD webcam</p>',NULL,'available',5,1,NULL,NULL),
	(244,2,40,'Coor','zzCoorExisting_IWB Wheel package 8400MS','<p>IWB 84\" on wheel stand with HD webcam</p>',NULL,'available',5,1,NULL,NULL),
	(245,2,40,'Coor','zzCoorExisting_IWB Wheel package 6500MS','<p>IWB 65\" on wheel stand and HD webcam</p>',NULL,'available',5,1,NULL,NULL),
	(246,2,40,'Coor','zzCoorExisting_IWB Wall package 6500MS','<p>IWB wall 65\" with HD webcam</p>',NULL,'available',5,1,NULL,NULL),
	(247,2,40,'Coor','zzCoorExisting_IWB Wall package 6500MSL','<p>IWB 65\" with HD webcam</p>',NULL,'available',5,1,NULL,NULL),
	(248,2,40,'Coor','zzCoorExisting_IWB Wheel package 5510MS','<p>IWB 55\" on Wheel stand and HD webcam</p>',NULL,'available',5,1,NULL,NULL),
	(249,2,40,'Coor','zzCoorExisting_IWB Wall package 5510MSL','<p>IWB 55\" wall mount with HD webcam</p>',NULL,'available',5,1,NULL,NULL),
	(250,2,NULL,'Coor','zzCoorExisting_IWB Remote License','<p>IWB Remote license for interactive content sharing and remote collaboration</p>',NULL,'available',5,3,NULL,NULL),
	(251,2,NULL,'Coor','Barco Clickshare','<p>Wireless video transfer</p>',NULL,'available',5,3,NULL,''),
	(252,2,NULL,'TEST REF','zzDEVTEST Package for Romania','<p>This is a test and a link :&nbsp;<a href=\"packages?subModule=createPackages\">https://86.123.252.12:32443/api-wiaas/packages?subModule=createPackages</a></p>',NULL,'available',5,1,NULL,'2/testImage_252'),
	(253,2,41,'Digital Signage','Digital Signage - Wall55','<table style=\"border-collapse: collapse; width: 327pt;\" border=\"0\" width=\"436\" cellspacing=\"0\" cellpadding=\"0\">\n<tbody>\n<tr style=\"mso-height-source: userset; height: 31.5pt;\">\n<td class=\"xl73\" style=\"height: 31.5pt; width: 327pt;\" width=\"436\" height=\"42\">Wall mounted signage screen with full HD. Vertical or horizontal mounting.</td>\n</tr>\n</tbody>\n</table>',NULL,'available',5,1,NULL,'Ricoh/DigitalSignage/CoMarket_ProdImg_Start_Signage'),
	(254,2,42,'Digital Signage','Digital Signage - Wall55 Light','<table style=\"border-collapse: collapse; width: 327pt;\" border=\"0\" width=\"436\" cellspacing=\"0\" cellpadding=\"0\">\n<tbody>\n<tr style=\"mso-height-source: userset; height: 31.5pt;\">\n<td class=\"xl73\" style=\"height: 31.5pt; width: 327pt;\" width=\"436\" height=\"42\">Wall mounted signage cabinet in laquered steel (ex protective glass). Full HD. Vertical or horizontal mounting.&nbsp;</td>\n</tr>\n</tbody>\n</table>',NULL,'available',5,1,NULL,'Ricoh/DigitalSignage/CoMarket_ProdImg_Start_Signage'),
	(255,2,43,'Digital Signage','Digital Signage - Roof55','<table style=\"border-collapse: collapse; width: 327pt;\" border=\"0\" width=\"436\" cellspacing=\"0\" cellpadding=\"0\">\n<tbody>\n<tr style=\"mso-height-source: userset; height: 31.5pt;\">\n<td class=\"xl73\" style=\"height: 31.5pt; width: 327pt;\" width=\"436\" height=\"42\">Roof mounted signage cabinet in laquered steel with protective glass. Full HD.</td>\n</tr>\n</tbody>\n</table>',NULL,'available',5,1,NULL,'Ricoh/DigitalSignage/CoMarket_ProdImg_Start_Signage'),
	(256,2,NULL,'Coor','zzDelete02','<p>Pris per utskrift. A4 S/V. 0,315 kr/m&aring;n</p>',NULL,'available',5,2,NULL,NULL),
	(257,2,NULL,'Coor','zzDelete04','<p>Fast pris p&aring; utskrifter.</p>',NULL,'available',5,2,NULL,NULL),
	(258,2,44,'Copy/Print','Copy/Print SP 325DNx - Standard','<p>Laserskrivare 28ppm 250+50ark, 128MB, USB 2.0/Ethernet, PCL6</p>\n<p><span style=\"font-size: 16px;\"><strong><span style=\"font-family: \'Times New Roman\', serif;\">Utskriftsavtal:</span></strong></span></p>\n<ul>\n<li>Pris per klick A4, S/V:&nbsp; 0,317 kr</li>\n</ul>\n<p><em><span lang=\"SV\" style=\"font-family: \'Times New Roman\', serif;\">Installation/utbildning ing&aring;r&nbsp;</span></em></p>',NULL,'available',5,1,NULL,'Ricoh/Printers/SP_325DNx_cut'),
	(259,2,45,'Digital Signage','Digital Signage - Floor55','<table style=\"border-collapse: collapse; width: 327pt;\" border=\"0\" width=\"436\" cellspacing=\"0\" cellpadding=\"0\">\n<tbody>\n<tr style=\"mso-height-source: userset; height: 31.5pt;\">\n<td class=\"xl73\" style=\"height: 31.5pt; width: 327pt;\" width=\"436\" height=\"42\">Floor standing totem in laquered steel with protective glass. Full HD.&nbsp;</td>\n</tr>\n</tbody>\n</table>',NULL,'available',5,1,NULL,'Ricoh/DigitalSignage/CoMarket_ProdImg_Start_Signage'),
	(260,2,46,'Coor','Nodeark - templates and interface','<table style=\"border-collapse: collapse; width: 327pt;\" border=\"0\" width=\"436\" cellspacing=\"0\" cellpadding=\"0\">\n<tbody>\n<tr style=\"mso-height-source: userset; height: 31.5pt;\">\n<td class=\"xl73\" style=\"height: 31.5pt; width: 327pt;\" width=\"436\" height=\"42\">Templates, Interface, Qiucknotes, Time, Weather, Date</td>\n</tr>\n</tbody>\n</table>',NULL,'available',5,2,NULL,NULL),
	(261,2,NULL,'Coor','FollowMe print','<p>FollowMe print functionality</p>',NULL,'available',5,3,NULL,NULL),
	(262,2,NULL,'Coor','Fax module for Ricoh small printer','<p>Fax module for Ricoh small printer</p>',NULL,'available',5,3,NULL,NULL),
	(263,2,NULL,'Coor','Fax module for Ricoh printer','<p>Fax module for Ricoh printer</p>',NULL,'available',5,3,NULL,NULL),
	(264,2,NULL,'Coor','zzDelete03','<p>Pris per utskrift A4 svartvitt: 0,0635 kr</p>',NULL,'available',5,2,NULL,NULL),
	(265,2,NULL,'Coor','zzDelete01','<p>Pris per utskrift A4 f&auml;rg.</p>',NULL,'available',5,2,NULL,NULL),
	(266,2,NULL,'Coor','Postscript','<p>Postscript</p>',NULL,'available',5,3,NULL,NULL),
	(267,2,NULL,'Coor','Extra pappersbank 2x550','<p>Extra pappersbank 2x550 ark</p>',NULL,'available',5,3,NULL,''),
	(268,2,NULL,'Coor','Extra pappersbank 2x1000','<p>2x1000 ark</p>',NULL,'available',5,3,NULL,''),
	(269,2,NULL,'Coor','Efterbehandlare - intern','<p>Efterbehandlare</p>',NULL,'available',5,3,NULL,''),
	(270,2,NULL,'Coor','Hålslag SWE till SR3130','<p>H&aring;lslag SWE till SR3130</p>',NULL,'available',5,3,NULL,NULL),
	(271,2,47,'WIAAS SmartOffice','Philips 10\" Display Screen','<table style=\"border-collapse: collapse; width: 327pt;\" border=\"0\" width=\"436\" cellspacing=\"0\" cellpadding=\"0\">\n<tbody>\n<tr style=\"mso-height-source: userset; height: 31.5pt;\">\n<td class=\"xl73\" style=\"height: 31.5pt; width: 327pt;\" width=\"436\" height=\"42\">Multi No Logo</td>\n</tr>\n</tbody>\n</table>',NULL,'available',5,1,NULL,'SmartOffice/Philips10_interior_cut'),
	(272,2,NULL,'Coor','Finisher SR3140 m. häftfunk','<p>Finisher SR3140 1000ark m. h&auml;ftfunktion</p>',NULL,'available',5,3,NULL,''),
	(273,2,NULL,'Coor','Hålslag SWE till SR3140/3150','<p>H&aring;lslag SWE till SR3140/3150</p>',NULL,'available',5,3,NULL,NULL),
	(274,2,NULL,'Coor','Booklet Finisher SR3150','<p>Incl. Bridge Unit BU3070</p>',NULL,'available',5,3,NULL,''),
	(275,2,48,'Coor','Education On Site','<p>Basic training on site. 1.5 h.</p>',NULL,'available',5,3,NULL,''),
	(276,2,49,'NA','Support Agreement hardware','<p>Support for hardware solutions</p>',NULL,'available',5,2,NULL,NULL),
	(277,2,49,'NA','Support Agreement hardware and software','<p>Hardware and software solutions.&nbsp;</p>',NULL,'available',5,2,NULL,''),
	(278,2,44,'Copy/Print','Copy/Print MPC307SP - Desktop','<p class=\"MsoNormal\" style=\"line-height: 115%;\"><strong><span lang=\"SV\">Grundkonfiguration:</span></strong></p>\n<p class=\"MsoNormal\" style=\"line-height: 115%;\"><span lang=\"SV\">Digital A4 CopyPrinter 30 sid f&auml;rg/sv/min inkl skrivare, Smart operation Panel 10,1\", 250+100 ark, duplex. Levereras med dokumentmatare. Gigabit n&auml;tverkskort, VM (Java) Card, USB, USB 2.0, 1 GB RAM, HDD 320 GB, PCL5c PCL6 PS3 XPS.</span></p>\n<p><span style=\"font-size: 16px;\"><strong><span style=\"font-family: \'Times New Roman\', serif;\">Utskriftsavtal:</span></strong></span></p>\n<ul>\n<li><span style=\"font-family: \'Times New Roman\', serif;\"><span style=\"font-size: 16px;\">Pris per klick A4, S/V:&nbsp; 0,0635 kr</span></span></li>\n<li><span style=\"font-family: \'Times New Roman\', serif;\"><span style=\"font-size: 16px;\">Pris per klick A4, F&auml;rg:&nbsp; 0,37 kr</span></span></li>\n</ul>\n<p><span style=\"font-size: 12pt;\"><em><span lang=\"SV\" style=\"font-family: \'Times New Roman\', serif;\">Installation/utbildning ing&aring;r</span></em></span></p>',NULL,'available',5,1,NULL,'Ricoh/Printers/MPC307SP_cut'),
	(279,2,44,'Copy/Print','Copy/Print MPC2004SP - Small','<p class=\"MsoNormal\" style=\"line-height: 115%;\"><span lang=\"SV\">Digital CopyPrinter, A4, A3 inkl. Reverserande dokumentmatare, skrivare/skanner modul, Gigabit Ethernet n&auml;tverkskort, duplex, 20 sid f&auml;rg/sv/min, 2x550+1x100, ark 1,5 GB + 250 GB h&aring;rdisk, PCL5c PCL6. Java-kort, DOS och HDD kryptering std.&nbsp; </span></p>\n<p><span style=\"font-size: 16px;\"><strong><span style=\"font-family: \'Times New Roman\', serif;\">Utskriftsavtal:</span></strong></span></p>\n<ul>\n<li><span style=\"font-family: \'Times New Roman\', serif;\"><span style=\"font-size: 16px;\">Pris per klick A4, S/V:&nbsp; 0,0635 kr</span></span></li>\n<li><span style=\"font-family: \'Times New Roman\', serif;\"><span style=\"font-size: 16px;\">Pris per klick A4, F&auml;rg:&nbsp; 0,37 kr</span></span></li>\n</ul>\n<p><span style=\"font-size: 12pt;\"><em><span lang=\"SV\" style=\"font-family: \'Times New Roman\', serif;\">Installation/utbildning ing&aring;r</span></em></span></p>',NULL,'available',5,1,NULL,'Ricoh/Printers/MPC2004SP_cut'),
	(280,2,44,'Copy/Print','Copy/Print MPC2504SP - Medium','<p class=\"MsoNormal\" style=\"line-height: 115%;\"><span lang=\"SV\">Digital CopyPrinter inkl. Swipe Panel, Reverserande dokumentmatare, skrivare/skanner modul, n&auml;tverkskort, duplex, 45 sid f&auml;rg/sv/min, 2x550+1x100, ark 2,0 GB + 250 GB h&aring;rdisk, PCL5c PCL6. Java-kort, DOS och HDD kryptering std.</span></p>\n<p class=\"MsoNormal\" style=\"line-height: 115%;\"><strong>Serviceavtal:</strong></p>\n<ul>\n<li class=\"MsoNormal\" style=\"line-height: 115%;\">Pris per klick A4, S/V:&nbsp; 0,0635 kr</li>\n<li class=\"MsoNormal\" style=\"line-height: 115%;\">Pris per klick A4, F&auml;rg:&nbsp; 0,37 kr</li>\n</ul>\n<p><span style=\"font-size: 12pt;\"><em><span lang=\"SV\" style=\"font-family: \'Times New Roman\', serif;\">Installation/utbildning ing&aring;r&nbsp;</span></em></span></p>\n<p class=\"MsoNormal\"><strong style=\"mso-bidi-font-weight: normal;\"><span lang=\"SV\" style=\"mso-ansi-language: SV;\">O</span></strong><strong style=\"mso-bidi-font-weight: normal;\"><span lang=\"SV\" style=\"font-size: 10.0pt; mso-ansi-language: SV;\">bs! P&aring; bilden MPC med efterbehandlare</span></strong></p>',NULL,'available',5,1,NULL,'Ricoh/Printers/MPC2504S_cut'),
	(281,2,44,'Copy/Print','Copy/Print MPC3004SP - Large','<p class=\"MsoNormal\"><span lang=\"SV\">Digital CopyPrinter A4, A3 inkl. Reverserande dokumentmatare, skrivare/skanner modul, n&auml;tverkskort, duplex, 30 sid f&auml;rg/sv/min, 2x550+1x100, ark 1,5 GB + 250 GB h&aring;rdisk, PCL5c PCL6. Java-kort, DOS och HDD kryptering std.</span></p>\n<p><span style=\"font-size: 16px;\"><strong><span style=\"font-family: \'Times New Roman\', serif;\">Utskriftsavtal:</span></strong></span></p>\n<ul>\n<li><span style=\"font-family: \'Times New Roman\', serif;\"><span style=\"font-size: 16px;\">Pris per klick A4, S/V:&nbsp; 0,0635 kr</span></span></li>\n<li><span lang=\"SV\" style=\"font-size: 12.0pt; font-family: \'Times New Roman\',serif; mso-fareast-font-family: \'MS Mincho\'; mso-ansi-language: SV; mso-fareast-language: JA; mso-bidi-language: AR-SA;\"><span style=\"font-family: \'Times New Roman\', serif;\"><span style=\"font-size: 16px;\">Pris per klick A4, F&auml;rg:&nbsp; 0,37 kr</span></span></span></li>\n</ul>\n<p><span style=\"font-size: 12pt;\"><em><span lang=\"SV\"><span style=\"font-family: \'Times New Roman\', serif;\">Installation/utbildning ing&aring;r&nbsp;</span></span></em></span></p>\n<p class=\"MsoNormal\"><strong style=\"mso-bidi-font-weight: normal;\"><span lang=\"SV\" style=\"mso-ansi-language: SV;\">O</span></strong><strong style=\"mso-bidi-font-weight: normal;\"><span lang=\"SV\" style=\"font-size: 10.0pt; mso-ansi-language: SV;\">bs! P&aring; bilden MPC med efterbehandlare</span></strong></p>',NULL,'available',5,1,NULL,'Ricoh/Printers/MPC3004SP_cut'),
	(282,2,44,'Copy/Print','Copy/Print MPC4504SP - XLarge','<p class=\"MsoNormal\" style=\"line-height: 115%;\"><span lang=\"SV\">Digital CopyPrinter inkl. Swipe Panel, Reverserande dokumentmatare, skrivare/skanner modul, n&auml;tverkskort, duplex, 45 sid f&auml;rg/sv/min, 2x550+1x100, ark 2,0 GB + 250 GB h&aring;rdisk, PCL5c PCL6. Java-kort, DOS och HDD kryptering std.</span></p>\n<p class=\"MsoNormal\" style=\"line-height: 115%;\"><strong>Serviceavtal:</strong></p>\n<ul>\n<li class=\"MsoNormal\" style=\"line-height: 115%;\">Pris per klick A4, S/V:&nbsp; 0,0635 kr</li>\n<li class=\"MsoNormal\" style=\"line-height: 115%;\">Pris per klick A4, F&auml;rg:&nbsp; 0,37 kr</li>\n</ul>\n<p><span style=\"font-size: 12pt;\"><em><span lang=\"SV\" style=\"font-family: \'Times New Roman\', serif;\">Installation/utbildning ing&aring;r&nbsp;</span></em></span></p>\n<p class=\"MsoNormal\"><strong style=\"mso-bidi-font-weight: normal;\"><span lang=\"SV\" style=\"mso-ansi-language: SV;\">O</span></strong><strong style=\"mso-bidi-font-weight: normal;\"><span lang=\"SV\" style=\"font-size: 10.0pt; mso-ansi-language: SV;\">bs! P&aring; bilden MPC med efterbehandlare</span></strong></p>',NULL,'available',5,1,NULL,'Ricoh/Printers/MPC4504SP_cut'),
	(283,2,NULL,'Coor','Digital Signage installation','<p>Excl. DS player and tempates.</p>',NULL,'available',5,2,NULL,''),
	(284,2,NULL,'Coor','Installation - Pre-huddle 55 or 65','<p>Installation</p>',NULL,'available',5,2,NULL,''),
	(285,2,NULL,'Coor','Installation - Pre-huddle 75 or 84','<p>Installation</p>',NULL,'available',5,2,NULL,''),
	(286,2,NULL,'Coor','Installation - Mobile huddle 55 or 65','<p>Installation</p>',NULL,'available',5,2,NULL,''),
	(287,2,NULL,'Coor','Installation - Mobile huddle 75','<p>Installation</p>',NULL,'available',5,2,NULL,''),
	(288,2,NULL,'Coor','Installation - Fixed huddle 55 or 65','<p>Installation</p>',NULL,'available',5,2,NULL,''),
	(289,2,NULL,'Coor','Installation - Fixed huddle 75 or 84','<p>Installation</p>',NULL,'available',5,2,NULL,''),
	(290,2,NULL,'Coor','Installation - Mini huddle','<p>Installation</p>',NULL,'available',5,2,NULL,''),
	(291,2,NULL,'Coor','Utskrifter, fast pris mini.','<p>Utskrifter, fast pris mini.</p>',NULL,'available',5,2,NULL,NULL),
	(292,2,NULL,'Coor','Service agreement - screen','<p>On-site service</p>',NULL,'available',5,2,NULL,''),
	(293,2,NULL,'Coor','Service agreement - DigitalSignage','<p>Service agreement - DS-player and screen</p>',NULL,'available',5,2,NULL,NULL),
	(294,2,NULL,'WIAAS SmartOffice','Smart Office - Room Booking Package','<p class=\"Tabletext\" style=\"margin: 3.0pt 0cm 3.0pt 0cm;\"><strong>WIAAS Smart Office Room Booking Package.</strong></p>\n<p class=\"Tabletext\" style=\"margin: 3.0pt 0cm 3.0pt 0cm;\">&nbsp;</p>\n<p class=\"Tabletext\" style=\"margin: 3.0pt 0cm 3.0pt 0cm;\">A Room Booking Package for the modern Workplace &amp; Office Movement. User friendly interface with multiple interactive Devices. Use the guiding features to book the most suitable space needed. Follow the movement with the Office map to find the booked space.</p>\n<p class=\"Tabletext\" style=\"margin: 3.0pt 0cm 3.0pt 0cm;\">&nbsp;</p>\n<p class=\"Tabletext\" style=\"margin: 3.0pt 0cm 3.0pt 0cm;\">A company of 1.000 employees spends 60.000 hours yearly looking for meeting rooms. The friction is an astronomic hidden cost leakage and moreover, it makes employees less eager to work in modern offices.</p>\n<p class=\"Tabletext\" style=\"margin: 3.0pt 0cm 3.0pt 0cm;\">&nbsp;</p>\n<p class=\"Tabletext\" style=\"margin: 3.0pt 0cm 3.0pt 0cm;\">Content</p>\n<ul>\n<li class=\"Tabletext\" style=\"margin: 3.0pt 0cm 3.0pt 0cm;\">Smart PhoneApp</li>\n<li class=\"Tabletext\" style=\"margin: 3.0pt 0cm 3.0pt 0cm;\">WebApp</li>\n<li class=\"Tabletext\" style=\"margin: 3.0pt 0cm 3.0pt 0cm;\">Outlock Plugin</li>\n<li class=\"Tabletext\" style=\"margin: 3.0pt 0cm 3.0pt 0cm;\">Billboard SW</li>\n<li class=\"Tabletext\" style=\"margin: 3.0pt 0cm 3.0pt 0cm;\">Desk Sensor</li>\n</ul>\n<p class=\"Tabletext\" style=\"margin: 3.0pt 0cm 3.0pt 0cm;\">&nbsp;</p>',NULL,'available',5,1,NULL,'SmartOffice/Room_booking_package'),
	(295,2,NULL,'WIAAS SmartOffice','Smart Office - Desk Reservation Package','<p class=\"Tabletext\" style=\"margin: 3.0pt 0cm 3.0pt 0cm;\"><strong>WIAAS Smart Office Room Booking Package.</strong></p>\n<p class=\"Tabletext\" style=\"margin: 3.0pt 0cm 3.0pt 0cm;\">&nbsp;</p>\n<p class=\"Tabletext\" style=\"margin: 3.0pt 0cm 3.0pt 0cm;\">A Desk Reservation Package for the modern Workplace &amp; Office Movement. User friendly interface with multiple interactive Devices. Use the guiding features to book the most suitable space needed. Follow the movement with the Office map to find the booked space.</p>\n<p class=\"Tabletext\" style=\"margin: 3.0pt 0cm 3.0pt 0cm;\">&nbsp;</p>\n<p class=\"Tabletext\" style=\"margin: 3.0pt 0cm 3.0pt 0cm;\">A company of 1.000 employees spends 60.000 hours yearly looking for meeting rooms. The friction is an astronomic hidden cost leakage and moreover, it makes employees less eager to work in modern offices.</p>\n<p class=\"Tabletext\" style=\"margin: 3.0pt 0cm 3.0pt 0cm;\">&nbsp;</p>\n<p class=\"Tabletext\" style=\"margin: 3.0pt 0cm 3.0pt 0cm;\">Content</p>\n<ul>\n<li class=\"Tabletext\" style=\"margin: 3.0pt 0cm 3.0pt 0cm;\">Smart PhoneApp</li>\n<li class=\"Tabletext\" style=\"margin: 3.0pt 0cm 3.0pt 0cm;\">WebApp</li>\n<li class=\"Tabletext\" style=\"margin: 3.0pt 0cm 3.0pt 0cm;\">Outlock Plugin</li>\n<li class=\"Tabletext\" style=\"margin: 3.0pt 0cm 3.0pt 0cm;\">Billboard SW</li>\n<li class=\"Tabletext\" style=\"margin: 3.0pt 0cm 3.0pt 0cm;\">Desk Sensor</li>\n</ul>\n<p>&nbsp;</p>',NULL,'available',5,1,NULL,'SmartOffice/Desk_reservation_package'),
	(296,2,NULL,'WIAAS SmartOffice','Smart Office - Room Panel','<p><span style=\"font-family: Arial, sans-serif;\"><span style=\"font-size: 13.3333px;\"><strong>WIAAS SmartOffice 7&rdquo; Touch Screen with LED.</strong></span></span></p>\n<p><span style=\"font-family: Arial, sans-serif;\"><span style=\"font-size: 13.3333px;\">Use the Display Screen for enhanced and personalised interaction with the user-friendly high-resolution touchscreen. Includes LED strips along the side of the Display to broadcast a halo light to visitors passing by.&nbsp;</span></span></p>\n<p><span style=\"font-family: Arial, sans-serif;\"><span style=\"font-size: 13.3333px;\">The Display Screen can be used for Broadcasting Room Booking systems. The LED light indications on the sides can signify if the meeting room is available.</span></span></p>',NULL,'available',5,1,NULL,'SmartOffice/FlowscapePanel7'),
	(297,2,NULL,'Coor','Kiosk screen 55','<p>IWB with floor stand including installation.</p>',NULL,'available',5,2,NULL,''),
	(298,2,NULL,'WIAAS SmartOffice','Smart Office - Managed Services','<p class=\"Tabletext\" style=\"margin: 3.0pt 0cm 3.0pt 0cm;\"><span style=\"font-size: 13.3333px;\"><strong>WIAAS Smart Office Managed Services</strong></span></p>\n<p class=\"Tabletext\" style=\"margin: 3.0pt 0cm 3.0pt 0cm;\">&nbsp;</p>\n<p class=\"Tabletext\" style=\"margin: 3.0pt 0cm 3.0pt 0cm;\">A Service Delivery Manager Service to keep the Smart Office system running smoothly at all time.</p>\n<p class=\"Tabletext\" style=\"margin: 3.0pt 0cm 3.0pt 0cm;\">&nbsp;</p>\n<ul>\n<li class=\"Tabletext\" style=\"margin: 3.0pt 0cm 3.0pt 0cm;\">Map drawing &amp; Maintenance</li>\n<li class=\"Tabletext\" style=\"margin: 3.0pt 0cm 3.0pt 0cm;\">Sensor &amp; System Maintenance</li>\n<li class=\"Tabletext\" style=\"margin: 3.0pt 0cm 3.0pt 0cm;\">Sensor Gateway</li>\n</ul>\n<p class=\"Tabletext\" style=\"margin: 3.0pt 0cm 3.0pt 0cm;\">&nbsp;</p>\n<p class=\"Tabletext\" style=\"margin: 3.0pt 0cm 3.0pt 0cm;\">Plus Service Fee for each unit:</p>\n<ul>\n<li class=\"Tabletext\" style=\"margin: 3.0pt 0cm 3.0pt 0cm;\">5,5 &euro;/month per room</li>\n<li class=\"Tabletext\" style=\"margin: 3.0pt 0cm 3.0pt 0cm;\">2,1 &euro;/month per desk</li>\n</ul>\n<p>&nbsp;</p>',NULL,'available',5,1,NULL,'SmartOffice/Room_booking_package'),
	(299,2,NULL,'Projektion','Närskjutande projektor PJXL4540','<p>N&auml;rskjutande projektor PJXL4540</p>',NULL,'available',5,1,NULL,'Ricoh/Projector/d1902652_Ricoh_PJWXL4540'),
	(300,2,NULL,'NKS','zzPrinter  MPC2004EXSP-SE','<p>Printer&nbsp; MPC2004EXSP-SE</p>',NULL,'available',5,1,NULL,'Ricoh/Printers/MPC2004EXSP-SE'),
	(301,2,NULL,'Digital Signage','Digital Signage Philips D-line Edge LED 55\"','<p>Philips D-line Edge LED 55\" on wall with digital signage player</p>',NULL,'available',5,1,NULL,'Ricoh/DigitalSignage/55BDL4050D_00-IMS-sv_SE'),
	(302,2,NULL,'Copy/Print','Copy/Print MPC2004EXSP-SE','<p>Printer&nbsp; MPC2004EXSP-SE med undersk&aring;p och FollowPrint. Kortl&auml;sare ing&aring;r.</p>',NULL,'available',5,1,NULL,'Ricoh/Printers/MPC2004EXSP-SE'),
	(303,2,NULL,'9292138','Testing 123','<p>Testing</p>',NULL,'available',5,2,NULL,NULL),
	(304,2,NULL,'WIAAS SmartOffice','SmartOffice - Site survey','<p>Required base package for SmartOffice creation phase.</p>',NULL,'available',5,1,NULL,'2/php0KIqTV_igtblf'),
	(305,2,NULL,'WIAAS SmartOffice','SmartOffice - Implementation','<p>Required package for SmartOffice implementation phase.</p>',NULL,'available',5,1,NULL,'2/php0KIqTV_igtblf');

/*!40000 ALTER TABLE `packages` ENABLE KEYS */;
UNLOCK TABLES;


# Dump of table packages_bids
# ------------------------------------------------------------

DROP TABLE IF EXISTS `packages_bids`;

CREATE TABLE `packages_bids` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `bidNumber` varchar(15) DEFAULT NULL,
  `idPackage` int(11) NOT NULL,
  `idCustomerInstance` int(11) NOT NULL,
  `idPaymentType` int(11) NOT NULL,
  `startDate` date DEFAULT NULL,
  `endDate` date DEFAULT NULL,
  `fixedPrice` decimal(15,2) DEFAULT NULL,
  `principalAmount` decimal(15,2) DEFAULT NULL,
  `servicesPrice` decimal(15,2) DEFAULT NULL,
  `fixedExtra` decimal(15,2) DEFAULT '0.00',
  `recurrentExtra` decimal(15,2) DEFAULT '0.00',
  `servicesExtra` decimal(15,2) DEFAULT '0.00',
  PRIMARY KEY (`id`),
  KEY `fk_packages_idPackage_idx` (`idPackage`),
  KEY `fk_bid_idPaymentType_idx` (`idPaymentType`),
  KEY `fk_bid_idCustomerInstance_idx` (`idCustomerInstance`),
  CONSTRAINT `fk_bid_idCustomerInstance` FOREIGN KEY (`idCustomerInstance`) REFERENCES `rel_commercial_lead_customers` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `fk_bid_idPackage` FOREIGN KEY (`idPackage`) REFERENCES `packages` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `fk_bid_idPaymentType` FOREIGN KEY (`idPaymentType`) REFERENCES `payment_types` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

LOCK TABLES `packages_bids` WRITE;
/*!40000 ALTER TABLE `packages_bids` DISABLE KEYS */;

INSERT INTO `packages_bids` (`id`, `bidNumber`, `idPackage`, `idCustomerInstance`, `idPaymentType`, `startDate`, `endDate`, `fixedPrice`, `principalAmount`, `servicesPrice`, `fixedExtra`, `recurrentExtra`, `servicesExtra`)
VALUES
	(1,'10000001',234,32,9,'2018-05-04','2018-05-18',2000.00,5000.00,300.00,0.00,0.00,0.00),
	(2,'10000002',234,32,9,'2018-05-04','2018-05-24',300.00,3000.00,30.00,0.00,0.00,0.00),
	(3,'10000003',234,32,1,'2018-05-04','2018-05-11',400.00,4000.00,40.00,0.00,0.00,0.00),
	(4,'10000004',234,32,1,'2018-05-04','2018-05-12',400.00,4000.00,40.00,0.00,0.00,0.00);

/*!40000 ALTER TABLE `packages_bids` ENABLE KEYS */;
UNLOCK TABLES;


# Dump of table packages_templates
# ------------------------------------------------------------

DROP TABLE IF EXISTS `packages_templates`;

CREATE TABLE `packages_templates` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `templateName` varchar(150) DEFAULT NULL,
  `templateDescription` text,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

LOCK TABLES `packages_templates` WRITE;
/*!40000 ALTER TABLE `packages_templates` DISABLE KEYS */;

INSERT INTO `packages_templates` (`id`, `templateName`, `templateDescription`)
VALUES
	(35,'Polycom RPG500 with dual screens, wall mount','Polycom Real Presence Group 500 with touch panel and dual screens mounted on wall.'),
	(36,'PRE HUDDLE','IWB without controller'),
	(37,'Mini Huddle','RICOH IWB 22\" with built in camera'),
	(38,'Mobile Huddle','RICOH Interactive whiteboard on wheel stand'),
	(39,'Fixed Huddle','RICOH Interactive whiteboard on wall mount'),
	(40,'COOR IWB Pack','Simplified Packages for pre-WIAAS COOR orders'),
	(41,'Digital Signage wall mounted','Digital Signage solutions'),
	(42,'Digital Signage wall with cabinet','Digital Signage solutions'),
	(43,'Digital Signage roof with cabinet','Digital Signage solutions'),
	(44,'Printer, complete printer product.','Printer package where the printer itself is a single product. Options and accessories can be added.'),
	(45,'Digital Signage Floor Standing','Digital Signage solutions Floor Standing'),
	(46,'Digital Signage - Software Licens','Software licens for Digital Solutions'),
	(47,'Mini Display screen','Mini Display'),
	(48,'Education On Site','Basic training on site'),
	(49,'Support Agreement','Support Agreement');

/*!40000 ALTER TABLE `packages_templates` ENABLE KEYS */;
UNLOCK TABLES;


# Dump of table payment_types
# ------------------------------------------------------------

DROP TABLE IF EXISTS `payment_types`;

CREATE TABLE `payment_types` (
  `id` int(2) NOT NULL AUTO_INCREMENT,
  `payType` varchar(70) NOT NULL,
  `packagePayPeriod` int(11) DEFAULT '0',
  `servicesContractPeriod` int(11) DEFAULT '0',
  `maxContractPeriod` int(11) DEFAULT '36',
  `periodUnit` varchar(10) DEFAULT 'months',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

LOCK TABLES `payment_types` WRITE;
/*!40000 ALTER TABLE `payment_types` DISABLE KEYS */;

INSERT INTO `payment_types` (`id`, `payType`, `packagePayPeriod`, `servicesContractPeriod`, `maxContractPeriod`, `periodUnit`)
VALUES
	(1,'Purchase',0,0,36,'month'),
	(8,'Purchase with 24M commitment',0,24,36,'months'),
	(9,'Managed service 36M rent',36,36,36,'months');

/*!40000 ALTER TABLE `payment_types` ENABLE KEYS */;
UNLOCK TABLES;


# Dump of table price_list_broker
# ------------------------------------------------------------

DROP TABLE IF EXISTS `price_list_broker`;

CREATE TABLE `price_list_broker` (
  `idPackage` int(11) NOT NULL,
  `idPaymentType` int(11) NOT NULL,
  `minimalFixedPrice` decimal(15,2) DEFAULT '0.00',
  `principalAmount` decimal(15,2) DEFAULT '0.00',
  `minimalServicesPrice` decimal(15,2) DEFAULT '0.00',
  `minimalRecurentPrice` decimal(15,2) DEFAULT '0.00',
  PRIMARY KEY (`idPackage`,`idPaymentType`),
  KEY `package_price_idx` (`idPackage`),
  KEY `rel_price_broker_pay_type_idx` (`idPaymentType`),
  CONSTRAINT `package_price` FOREIGN KEY (`idPackage`) REFERENCES `packages` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `rel_price_broker_pay_type` FOREIGN KEY (`idPaymentType`) REFERENCES `payment_types` (`id`) ON DELETE NO ACTION ON UPDATE NO ACTION
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

LOCK TABLES `price_list_broker` WRITE;
/*!40000 ALTER TABLE `price_list_broker` DISABLE KEYS */;

INSERT INTO `price_list_broker` (`idPackage`, `idPaymentType`, `minimalFixedPrice`, `principalAmount`, `minimalServicesPrice`, `minimalRecurentPrice`)
VALUES
	(226,9,0.00,0.00,350.00,4031.00),
	(227,9,0.00,0.00,0.00,196.00),
	(228,9,0.00,0.00,350.00,3659.00),
	(229,9,0.00,0.00,350.00,3450.00),
	(230,1,18162.00,0.00,0.00,0.00),
	(230,9,0.00,18198.00,0.00,527.00),
	(231,1,23723.00,0.00,0.00,0.00),
	(231,9,0.00,23757.00,0.00,688.00),
	(232,1,39367.00,0.00,0.00,0.00),
	(232,9,0.00,39434.00,0.00,1142.00),
	(233,1,70765.00,0.00,0.00,0.00),
	(233,9,0.00,70856.00,0.00,2052.00),
	(234,1,6999.00,0.00,0.00,0.00),
	(234,9,0.00,7010.00,0.00,0.00),
	(235,1,74502.00,0.00,0.00,0.00),
	(235,9,0.00,74620.00,0.00,2161.00),
	(236,1,100184.00,0.00,0.00,0.00),
	(236,9,0.00,100311.00,0.00,2905.00),
	(237,1,58797.00,0.00,0.00,0.00),
	(237,9,0.00,58874.00,0.00,1705.00),
	(238,1,66717.00,0.00,0.00,0.00),
	(238,9,0.00,66816.00,0.00,1935.00),
	(239,1,88105.00,0.00,0.00,0.00),
	(239,9,0.00,88225.00,0.00,2555.00),
	(240,1,132818.00,0.00,0.00,0.00),
	(240,9,0.00,133011.00,0.00,3852.00),
	(241,9,0.00,0.00,2000.00,10000.00),
	(242,9,0.00,0.00,2000.00,10000.00),
	(243,9,0.00,0.00,2000.00,10000.00),
	(251,1,13577.00,0.00,0.00,0.00),
	(251,9,0.00,13605.00,0.00,1000.00),
	(252,1,5000.00,0.00,1300.00,0.00),
	(252,8,6000.00,0.00,1400.00,0.00),
	(252,9,0.00,5000.00,100.00,0.00),
	(253,1,19762.00,0.00,0.00,0.00),
	(253,9,0.00,19786.00,0.00,0.00),
	(254,1,21115.00,0.00,0.00,0.00),
	(254,9,0.00,21133.00,0.00,0.00),
	(255,1,29874.00,0.00,0.00,0.00),
	(255,9,0.00,29903.00,0.00,0.00),
	(256,9,0.00,0.00,0.00,0.00),
	(257,9,0.00,0.00,27.00,0.00),
	(258,9,0.00,932.00,0.00,0.00),
	(259,1,47946.00,0.00,139.00,0.00),
	(259,9,0.00,47997.00,139.00,0.00),
	(260,1,9300.00,0.00,0.00,0.00),
	(260,9,0.00,9323.00,0.00,0.00),
	(261,9,0.00,0.00,254.00,0.00),
	(262,9,0.00,0.00,21.00,0.00),
	(263,9,0.00,0.00,129.00,0.00),
	(264,9,0.00,0.00,0.00,0.00),
	(265,9,0.00,0.00,0.00,0.00),
	(266,9,0.00,0.00,70.00,0.00),
	(267,9,0.00,0.00,109.00,0.00),
	(268,9,0.00,0.00,136.00,0.00),
	(269,9,0.00,0.00,151.00,0.00),
	(270,9,0.00,0.00,119.00,0.00),
	(271,1,2695.00,0.00,0.00,0.00),
	(271,9,0.00,2693.00,0.00,0.00),
	(272,9,0.00,0.00,223.00,0.00),
	(273,9,0.00,0.00,119.00,0.00),
	(274,9,0.00,0.00,367.00,0.00),
	(275,1,7560.00,0.00,0.00,0.00),
	(276,9,0.00,0.00,201.00,0.00),
	(277,1,0.00,0.00,427.00,0.00),
	(277,9,0.00,0.00,427.00,0.00),
	(278,9,0.00,16506.00,0.00,0.00),
	(279,9,0.00,24171.00,0.00,0.00),
	(280,9,0.00,29178.00,0.00,0.00),
	(281,9,0.00,0.00,34427.00,0.00),
	(282,9,0.00,48688.00,0.00,0.00),
	(283,1,2780.00,0.00,0.00,0.00),
	(283,9,2780.00,0.00,0.00,0.00),
	(284,1,1650.00,0.00,0.00,0.00),
	(284,9,1650.00,0.00,0.00,0.00),
	(285,1,2750.00,0.00,0.00,0.00),
	(285,9,2750.00,0.00,0.00,0.00),
	(286,1,2970.00,0.00,0.00,0.00),
	(286,9,2970.00,0.00,0.00,0.00),
	(287,1,4070.00,0.00,0.00,0.00),
	(287,9,4070.00,0.00,0.00,0.00),
	(288,1,2970.00,0.00,0.00,0.00),
	(288,9,2970.00,0.00,0.00,0.00),
	(289,1,4070.00,0.00,0.00,0.00),
	(289,9,4070.00,0.00,0.00,0.00),
	(290,1,1870.00,0.00,0.00,0.00),
	(290,9,1870.00,0.00,0.00,0.00),
	(291,9,0.00,0.00,27.00,0.00),
	(292,1,0.00,0.00,99.00,0.00),
	(292,9,0.00,0.00,99.00,0.00),
	(293,1,0.00,0.00,40.00,0.00),
	(293,9,0.00,0.00,40.00,0.00),
	(294,9,0.00,0.00,260.00,0.00),
	(295,9,0.00,0.00,55.00,0.00),
	(296,9,0.00,0.00,290.00,0.00),
	(297,9,0.00,40746.00,0.00,0.00),
	(298,9,0.00,0.00,136.00,0.00),
	(299,1,17928.00,0.00,0.00,0.00),
	(301,1,17602.00,0.00,99.00,0.00),
	(302,9,0.00,0.00,1278.00,0.00),
	(304,9,5000.00,0.00,0.00,0.00),
	(305,9,300.00,0.00,0.00,0.00);

/*!40000 ALTER TABLE `price_list_broker` ENABLE KEYS */;
UNLOCK TABLES;


# Dump of table price_list_commercial_lead
# ------------------------------------------------------------

DROP TABLE IF EXISTS `price_list_commercial_lead`;

CREATE TABLE `price_list_commercial_lead` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `idCommercialLead` int(11) NOT NULL,
  `idCustomer` int(11) DEFAULT NULL,
  `idPackage` int(11) NOT NULL,
  `idPaymentType` int(11) NOT NULL,
  `fixedExtra` decimal(15,2) DEFAULT '0.00',
  `recurentExtra` decimal(15,2) DEFAULT '0.00',
  `servicesExtra` decimal(15,2) DEFAULT '0.00',
  `visibleToCustomer` int(1) DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE KEY `uniqueValues` (`idCommercialLead`,`idCustomer`,`idPackage`,`idPaymentType`),
  KEY `commLead_comm_idx` (`idCommercialLead`),
  KEY `customer_comm_idx` (`idCustomer`),
  KEY `package_comm_idx` (`idPackage`),
  KEY `payment_comm_idx` (`idPaymentType`),
  CONSTRAINT `commLead_comm` FOREIGN KEY (`idCommercialLead`) REFERENCES `commercial_leads` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `package_comm` FOREIGN KEY (`idPackage`) REFERENCES `packages` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `payment_comm` FOREIGN KEY (`idPaymentType`) REFERENCES `payment_types` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

LOCK TABLES `price_list_commercial_lead` WRITE;
/*!40000 ALTER TABLE `price_list_commercial_lead` DISABLE KEYS */;

INSERT INTO `price_list_commercial_lead` (`id`, `idCommercialLead`, `idCustomer`, `idPackage`, `idPaymentType`, `fixedExtra`, `recurentExtra`, `servicesExtra`, `visibleToCustomer`)
VALUES
	(332,12,NULL,258,9,0.00,0.00,0.00,1),
	(333,14,NULL,230,1,7784.00,0.00,0.00,1),
	(334,14,NULL,230,9,0.00,225.00,0.00,1),
	(335,14,NULL,231,1,10167.00,0.00,0.00,1),
	(336,14,NULL,231,9,0.00,295.00,0.00,1),
	(337,14,NULL,232,1,16872.00,0.00,0.00,1),
	(338,14,NULL,232,9,0.00,489.00,0.00,1),
	(339,14,NULL,233,1,30328.00,0.00,0.00,1),
	(340,14,NULL,233,9,0.00,880.00,0.00,1),
	(341,14,NULL,234,1,7999.00,0.00,0.00,1),
	(342,14,NULL,234,9,0.00,232.00,0.00,1),
	(343,14,NULL,235,1,31929.00,0.00,0.00,1),
	(344,14,NULL,235,9,0.00,925.00,0.00,1),
	(345,14,NULL,236,1,42936.00,0.00,0.00,1),
	(346,14,NULL,236,9,0.00,1245.00,0.00,1),
	(347,14,NULL,237,1,21199.00,0.00,0.00,1),
	(348,14,NULL,237,9,0.00,731.00,0.00,1),
	(349,14,NULL,238,1,29651.00,0.00,0.00,1),
	(350,14,NULL,238,9,0.00,860.00,0.00,1),
	(351,14,NULL,239,1,37759.00,0.00,0.00,1),
	(352,14,NULL,239,9,0.00,1095.00,0.00,1),
	(353,14,NULL,240,1,56922.00,0.00,0.00,1),
	(354,14,NULL,240,9,0.00,1650.00,0.00,1),
	(355,14,NULL,251,1,3918.00,0.00,0.00,1),
	(356,14,NULL,251,9,0.00,113.00,0.00,1),
	(357,14,NULL,275,1,3240.00,0.00,0.00,1),
	(358,14,NULL,258,9,0.00,0.00,0.00,1),
	(359,14,NULL,261,9,0.00,0.00,0.00,1),
	(360,14,NULL,262,9,0.00,0.00,0.00,1),
	(361,14,NULL,263,9,0.00,0.00,0.00,1),
	(362,14,NULL,266,9,0.00,0.00,0.00,1),
	(363,14,NULL,267,9,0.00,0.00,0.00,1),
	(364,14,NULL,268,9,0.00,0.00,0.00,1),
	(365,14,NULL,269,9,0.00,0.00,0.00,1),
	(366,14,NULL,270,9,0.00,0.00,0.00,1),
	(367,14,NULL,272,9,0.00,0.00,0.00,1),
	(368,14,NULL,273,9,0.00,0.00,0.00,1),
	(369,14,NULL,274,9,0.00,0.00,0.00,1),
	(370,14,NULL,278,9,0.00,0.00,0.00,1),
	(371,14,NULL,279,9,0.00,0.00,0.00,1),
	(372,14,NULL,280,9,0.00,0.00,0.00,1),
	(373,14,NULL,281,9,0.00,0.00,0.00,1),
	(374,14,NULL,282,9,0.00,0.00,0.00,1),
	(375,14,NULL,277,1,0.00,0.00,183.00,1),
	(376,14,NULL,277,9,0.00,0.00,183.00,1),
	(377,14,NULL,259,1,31964.00,0.00,0.00,1),
	(378,14,NULL,259,9,0.00,927.00,0.00,1),
	(379,14,NULL,255,1,19916.00,0.00,0.00,1),
	(380,14,NULL,255,9,0.00,578.00,0.00,1),
	(381,14,NULL,253,1,13175.00,0.00,0.00,1),
	(382,14,NULL,253,9,0.00,382.00,0.00,1),
	(383,14,NULL,254,1,14077.00,0.00,0.00,1),
	(384,14,NULL,254,9,0.00,409.00,0.00,1),
	(385,14,NULL,283,1,1853.00,0.00,0.00,1),
	(386,14,NULL,283,9,1853.00,0.00,0.00,1),
	(387,14,NULL,260,1,6200.00,0.00,0.00,1),
	(388,14,NULL,260,9,0.00,180.00,0.00,1),
	(389,14,NULL,271,1,0.00,0.00,0.00,1),
	(390,14,NULL,271,9,0.00,0.00,0.00,1),
	(391,14,NULL,288,1,2970.00,0.00,0.00,1),
	(392,14,NULL,288,9,2970.00,0.00,0.00,1),
	(393,14,NULL,286,1,2970.00,0.00,0.00,1),
	(394,14,NULL,286,9,2970.00,0.00,0.00,1),
	(395,14,NULL,289,1,4070.00,0.00,0.00,1),
	(396,14,NULL,289,9,4070.00,0.00,0.00,1),
	(397,14,NULL,287,1,4070.00,0.00,0.00,1),
	(398,14,NULL,287,9,4070.00,0.00,0.00,1),
	(399,14,NULL,284,1,1650.00,0.00,0.00,1),
	(400,14,NULL,284,9,1650.00,0.00,0.00,1),
	(401,14,NULL,285,1,2750.00,0.00,0.00,1),
	(402,14,NULL,285,9,2750.00,0.00,0.00,1),
	(403,14,NULL,290,1,1870.00,0.00,0.00,1),
	(404,14,NULL,290,9,1870.00,0.00,0.00,1),
	(405,14,NULL,291,1,0.00,0.00,0.00,1),
	(406,14,NULL,291,9,0.00,0.00,0.00,1),
	(407,14,NULL,293,1,0.00,0.00,0.00,1),
	(408,14,NULL,293,9,0.00,0.00,0.00,1),
	(409,14,NULL,292,1,0.00,0.00,0.00,1),
	(410,14,NULL,292,9,0.00,0.00,0.00,1),
	(411,14,NULL,295,9,0.00,10.00,0.00,1),
	(412,14,NULL,298,9,0.00,24.00,0.00,1),
	(413,14,NULL,297,9,0.00,210.00,0.00,1),
	(414,14,NULL,294,9,0.00,50.00,0.00,1),
	(415,14,NULL,296,9,0.00,50.00,0.00,1),
	(416,12,NULL,234,1,10.00,0.00,14.00,1),
	(417,12,NULL,234,9,20.00,14.00,12.00,1),
	(418,12,NULL,277,1,0.00,0.00,0.00,1),
	(419,12,NULL,277,9,0.00,0.00,0.00,1),
	(420,12,NULL,290,1,0.00,0.00,0.00,1),
	(421,12,NULL,290,9,0.00,0.00,0.00,1),
	(422,14,NULL,299,1,0.00,0.00,0.00,1),
	(423,14,NULL,302,9,0.00,0.00,0.00,1),
	(424,14,NULL,301,1,0.00,0.00,0.00,1),
	(425,14,NULL,304,9,0.00,0.00,0.00,1),
	(426,14,NULL,305,9,0.00,0.00,0.00,1);

/*!40000 ALTER TABLE `price_list_commercial_lead` ENABLE KEYS */;
UNLOCK TABLES;


# Dump of table price_list_default_commercial_lead
# ------------------------------------------------------------

DROP TABLE IF EXISTS `price_list_default_commercial_lead`;

CREATE TABLE `price_list_default_commercial_lead` (
  `idCommercialLead` int(11) NOT NULL,
  `idPackage` int(11) NOT NULL,
  `idPaymentType` int(11) NOT NULL,
  `fixedExtra` decimal(15,2) DEFAULT NULL,
  `recurentExtra` decimal(15,2) DEFAULT NULL,
  PRIMARY KEY (`idCommercialLead`,`idPackage`,`idPaymentType`),
  KEY `rel_default_pay_type_idx` (`idPaymentType`),
  KEY `rel_package_default-price_idx` (`idPackage`),
  CONSTRAINT `rel_cl_default_price` FOREIGN KEY (`idCommercialLead`) REFERENCES `commercial_leads` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `rel_default_pay_type` FOREIGN KEY (`idPaymentType`) REFERENCES `payment_types` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `rel_package_default-price` FOREIGN KEY (`idPackage`) REFERENCES `packages` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8;



# Dump of table process_step
# ------------------------------------------------------------

DROP TABLE IF EXISTS `process_step`;

CREATE TABLE `process_step` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `stepNo` int(11) DEFAULT NULL,
  `shortDesc` varchar(100) DEFAULT NULL,
  `fullDesc` text,
  `idUserType` int(11) DEFAULT NULL,
  `idActionCode` int(11) DEFAULT '1',
  `isVisibleForCustomer` tinyint(4) DEFAULT '1',
  PRIMARY KEY (`id`),
  KEY `userTypeId_idx` (`idUserType`),
  KEY `fk_action_code_idx` (`idActionCode`),
  CONSTRAINT `fk_action_code` FOREIGN KEY (`idActionCode`) REFERENCES `process_step_actions` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `userTypeId` FOREIGN KEY (`idUserType`) REFERENCES `user_types` (`id`) ON DELETE NO ACTION ON UPDATE NO ACTION
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

LOCK TABLES `process_step` WRITE;
/*!40000 ALTER TABLE `process_step` DISABLE KEYS */;

INSERT INTO `process_step` (`id`, `stepNo`, `shortDesc`, `fullDesc`, `idUserType`, `idActionCode`, `isVisibleForCustomer`)
VALUES
	(1,NULL,'Order placed','THe customer has requested a new product',1,2,1),
	(2,NULL,'Assign process','Select a process for delivereing this package',1,3,1),
	(90,NULL,'Validate customer configuration information','<p>The configuration details&nbsp;submitted at ordering must be validated and any missing or incomplete information must be added.&nbsp;</p>',1,4,1),
	(91,NULL,'Send/upload contract to be signed','<p>The contract to be signed by the customer must be created and uploaded, for example to AdobeSign.</p>',1,1,1),
	(92,NULL,'Upload signed contract to WIAAS','<p>When the signed contract is signed it must be uploaded to the order in WIAAS</p>',1,1,0),
	(93,NULL,'Procure components','<p>The components, except installation, are ordered from the suppliers.</p>',1,5,0),
	(94,NULL,'Wait for installation to be scheduled and confirmed','<p>The installation must be scheduled and dates confirmed before any further steps can be taken.</p>',1,1,1),
	(95,NULL,'Procure installation','<p>Order the installation</p>',1,1,0),
	(96,NULL,'Installation','<p>The installation must be completed until any further actions can be performed.</p>',1,1,1),
	(97,NULL,'Customer acceptance','<p>The customer must accept the implementation before further actions can be taken. If the customer isn\'t satisfied, the problems or discrepancies must be fixed in order to gen an acceptance.</p>',1,6,1),
	(98,NULL,'Customer training','<p>Training session/sessions for the customer.&nbsp;</p>',1,1,1),
	(99,NULL,'Set start/stop dates for contracts','<p>Update the contracts with the actual start and stop dates.&nbsp;Since the contracts begin only after a customer acceptance, they must be set in this step.</p>',1,1,1),
	(100,NULL,'Testing new process','<p>Some test for new processes</p>',1,6,1),
	(101,NULL,'Dummy','<p>kjshdjshdj</p>\n<p>&nbsp;</p>',1,1,1),
	(102,NULL,'Site survey','<p>A specialist team is sent to customer for a detailed site survey. All information to complete the installation must be known to make the remaining process quick and problem free. All documentation from site survey is uploaded as a zipped document package. The customer uploads all documentation</p>',1,1,1),
	(103,NULL,'Finalise creation phase','<p>The creation phase is completed when all components have got a confirmed shipping date.</p>',1,5,1),
	(104,NULL,'Finalise implementation phase','<p>The implementation phase completes the whole installation</p>',1,1,1);

/*!40000 ALTER TABLE `process_step` ENABLE KEYS */;
UNLOCK TABLES;


# Dump of table process_step_actions
# ------------------------------------------------------------

DROP TABLE IF EXISTS `process_step_actions`;

CREATE TABLE `process_step_actions` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `actionCode` varchar(30) DEFAULT NULL,
  `stepType` varchar(15) DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

LOCK TABLES `process_step_actions` WRITE;
/*!40000 ALTER TABLE `process_step_actions` DISABLE KEYS */;

INSERT INTO `process_step_actions` (`id`, `actionCode`, `stepType`)
VALUES
	(1,'manual','manual'),
	(2,'newOrder','auto'),
	(3,'processAssigned','auto'),
	(4,'validate-questionnaire','extraAction'),
	(5,'procurement','extraAction'),
	(6,'customer-acceptance','extraAction'),
	(8,'schedule-meeting','extraAction');

/*!40000 ALTER TABLE `process_step_actions` ENABLE KEYS */;
UNLOCK TABLES;


# Dump of table processes
# ------------------------------------------------------------

DROP TABLE IF EXISTS `processes`;

CREATE TABLE `processes` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `idCountry` int(11) DEFAULT NULL,
  `name` varchar(150) DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `name_UNIQUE` (`name`),
  KEY `fk_process_country_idx` (`idCountry`),
  CONSTRAINT `fk_process_country` FOREIGN KEY (`idCountry`) REFERENCES `countries` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

LOCK TABLES `processes` WRITE;
/*!40000 ALTER TABLE `processes` DISABLE KEYS */;

INSERT INTO `processes` (`id`, `idCountry`, `name`)
VALUES
	(122,2,'Normal delivery with separate contract'),
	(123,2,'Normal delivery'),
	(124,2,'SmartOffice audit'),
	(125,2,'SmartOffice implementation');

/*!40000 ALTER TABLE `processes` ENABLE KEYS */;
UNLOCK TABLES;


# Dump of table product_categories
# ------------------------------------------------------------

DROP TABLE IF EXISTS `product_categories`;

CREATE TABLE `product_categories` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `idType` int(11) DEFAULT NULL,
  `category` varchar(50) DEFAULT NULL,
  `hasMultipleRealProducts` tinyint(1) DEFAULT '0',
  PRIMARY KEY (`id`),
  KEY `rel_type_category_key` (`idType`),
  CONSTRAINT `rel_type_category_key` FOREIGN KEY (`idType`) REFERENCES `product_types` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

LOCK TABLES `product_categories` WRITE;
/*!40000 ALTER TABLE `product_categories` DISABLE KEYS */;

INSERT INTO `product_categories` (`id`, `idType`, `category`, `hasMultipleRealProducts`)
VALUES
	(1,1,'hardware',0),
	(2,1,'software',0),
	(4,2,'service',0),
	(5,3,'installation',1);

/*!40000 ALTER TABLE `product_categories` ENABLE KEYS */;
UNLOCK TABLES;


# Dump of table product_types
# ------------------------------------------------------------

DROP TABLE IF EXISTS `product_types`;

CREATE TABLE `product_types` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `type` varchar(50) DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

LOCK TABLES `product_types` WRITE;
/*!40000 ALTER TABLE `product_types` DISABLE KEYS */;

INSERT INTO `product_types` (`id`, `type`)
VALUES
	(1,'product'),
	(2,'service'),
	(3,'installation');

/*!40000 ALTER TABLE `product_types` ENABLE KEYS */;
UNLOCK TABLES;


# Dump of table rel_additional_packages
# ------------------------------------------------------------

DROP TABLE IF EXISTS `rel_additional_packages`;

CREATE TABLE `rel_additional_packages` (
  `idPackage` int(11) NOT NULL,
  `idAdditionalPackage` int(11) NOT NULL,
  PRIMARY KEY (`idPackage`,`idAdditionalPackage`),
  KEY `kf_additional_child_package_idx` (`idAdditionalPackage`),
  CONSTRAINT `fk_additional_child_package` FOREIGN KEY (`idAdditionalPackage`) REFERENCES `packages` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `fk_additional_parent_package` FOREIGN KEY (`idPackage`) REFERENCES `packages` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

LOCK TABLES `rel_additional_packages` WRITE;
/*!40000 ALTER TABLE `rel_additional_packages` DISABLE KEYS */;

INSERT INTO `rel_additional_packages` (`idPackage`, `idAdditionalPackage`)
VALUES
	(226,227),
	(228,227),
	(229,227),
	(230,251),
	(231,251),
	(232,251),
	(233,251),
	(235,251),
	(236,251),
	(237,251),
	(238,251),
	(239,251),
	(240,251),
	(241,251),
	(278,261),
	(279,261),
	(280,261),
	(281,261),
	(282,261),
	(278,262),
	(279,263),
	(280,263),
	(281,263),
	(282,263),
	(279,266),
	(280,266),
	(281,266),
	(282,266),
	(279,267),
	(280,267),
	(281,267),
	(282,268),
	(280,269),
	(280,270),
	(281,272),
	(282,272),
	(281,273),
	(282,273),
	(282,274);

/*!40000 ALTER TABLE `rel_additional_packages` ENABLE KEYS */;
UNLOCK TABLES;


# Dump of table rel_bid_supplier_bids
# ------------------------------------------------------------

DROP TABLE IF EXISTS `rel_bid_supplier_bids`;

CREATE TABLE `rel_bid_supplier_bids` (
  `idBid` int(11) NOT NULL,
  `idSupplierBid` int(11) NOT NULL,
  PRIMARY KEY (`idBid`,`idSupplierBid`),
  KEY `fk_bsb_idSupplierBid_idx` (`idSupplierBid`),
  CONSTRAINT `fk_bsb_idBid` FOREIGN KEY (`idBid`) REFERENCES `packages_bids` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `fk_bsb_idSupplierBid` FOREIGN KEY (`idSupplierBid`) REFERENCES `supplier_bids` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8;



# Dump of table rel_commercial_lead_customers
# ------------------------------------------------------------

DROP TABLE IF EXISTS `rel_commercial_lead_customers`;

CREATE TABLE `rel_commercial_lead_customers` (
  `id` int(99) NOT NULL AUTO_INCREMENT,
  `idCommercialLead` int(11) NOT NULL,
  `idCustomer` int(11) NOT NULL,
  `isLinkEnabled` tinyint(1) DEFAULT '1',
  `idOrderType` int(11) DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `idCustomer` (`idCustomer`),
  KEY `rel_commercial_lead_customers_ibfk_1_idx` (`idCommercialLead`),
  KEY `fk_cust_inst_order_type_idx` (`idOrderType`),
  CONSTRAINT `fk_cust_inst_order_type` FOREIGN KEY (`idOrderType`) REFERENCES `order_types` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `rel_commercial_lead_customers_ibfk_1` FOREIGN KEY (`idCommercialLead`) REFERENCES `commercial_leads` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `rel_commercial_lead_customers_ibfk_2` FOREIGN KEY (`idCustomer`) REFERENCES `customers` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

LOCK TABLES `rel_commercial_lead_customers` WRITE;
/*!40000 ALTER TABLE `rel_commercial_lead_customers` DISABLE KEYS */;

INSERT INTO `rel_commercial_lead_customers` (`id`, `idCommercialLead`, `idCustomer`, `isLinkEnabled`, `idOrderType`)
VALUES
	(32,12,17,1,2),
	(33,13,18,1,NULL),
	(34,13,19,1,NULL),
	(35,12,19,1,NULL),
	(36,14,20,1,2),
	(37,14,21,1,2),
	(38,14,19,0,2),
	(39,14,22,0,NULL),
	(40,14,23,1,NULL),
	(41,14,24,1,NULL),
	(42,14,25,1,NULL),
	(43,14,26,1,NULL),
	(44,14,27,1,NULL),
	(45,14,28,1,NULL),
	(46,14,29,1,NULL);

/*!40000 ALTER TABLE `rel_commercial_lead_customers` ENABLE KEYS */;
UNLOCK TABLES;


# Dump of table rel_customer_discount
# ------------------------------------------------------------

DROP TABLE IF EXISTS `rel_customer_discount`;

CREATE TABLE `rel_customer_discount` (
  `idCustomer` int(11) NOT NULL,
  `discount` decimal(5,2) DEFAULT NULL,
  PRIMARY KEY (`idCustomer`),
  CONSTRAINT `rel_customer_id_foreign` FOREIGN KEY (`idCustomer`) REFERENCES `customers` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8;



# Dump of table rel_dashboard_gadgets
# ------------------------------------------------------------

DROP TABLE IF EXISTS `rel_dashboard_gadgets`;

CREATE TABLE `rel_dashboard_gadgets` (
  `idDashboard` int(11) NOT NULL,
  `idGadget` int(11) NOT NULL,
  `position` int(2) DEFAULT '1',
  PRIMARY KEY (`idDashboard`,`idGadget`),
  KEY `idGadget` (`idGadget`),
  CONSTRAINT `rel_dashboard_gadgets_ibfk_1` FOREIGN KEY (`idDashboard`) REFERENCES `dashboards` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `rel_dashboard_gadgets_ibfk_2` FOREIGN KEY (`idGadget`) REFERENCES `gadgets` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

LOCK TABLES `rel_dashboard_gadgets` WRITE;
/*!40000 ALTER TABLE `rel_dashboard_gadgets` DISABLE KEYS */;

INSERT INTO `rel_dashboard_gadgets` (`idDashboard`, `idGadget`, `position`)
VALUES
	(1,1,1),
	(1,2,2),
	(1,6,3),
	(6,1,2),
	(6,2,1),
	(23,3,1),
	(23,5,2),
	(24,4,1),
	(25,1,1),
	(29,1,2),
	(29,2,1);

/*!40000 ALTER TABLE `rel_dashboard_gadgets` ENABLE KEYS */;
UNLOCK TABLES;


# Dump of table rel_group_options
# ------------------------------------------------------------

DROP TABLE IF EXISTS `rel_group_options`;

CREATE TABLE `rel_group_options` (
  `idGroup` int(11) NOT NULL,
  `idOptionPackage` int(11) NOT NULL,
  `isDefault` tinyint(1) DEFAULT '0',
  PRIMARY KEY (`idGroup`,`idOptionPackage`),
  KEY `fk_rel_option_package_idx` (`idOptionPackage`),
  CONSTRAINT `fk_rel_group_option` FOREIGN KEY (`idGroup`) REFERENCES `package_option_groups` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `fk_rel_option_package` FOREIGN KEY (`idOptionPackage`) REFERENCES `packages` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

LOCK TABLES `rel_group_options` WRITE;
/*!40000 ALTER TABLE `rel_group_options` DISABLE KEYS */;

INSERT INTO `rel_group_options` (`idGroup`, `idOptionPackage`, `isDefault`)
VALUES
	(9,277,1),
	(10,260,1),
	(11,260,1),
	(12,260,1),
	(13,260,1),
	(14,283,1),
	(15,283,1),
	(16,283,1),
	(17,283,1),
	(18,288,1),
	(19,277,1),
	(20,288,1),
	(21,277,1),
	(22,289,1),
	(23,277,1),
	(24,289,1),
	(27,277,1),
	(28,286,1),
	(29,277,1),
	(30,287,1),
	(31,292,1),
	(32,284,1),
	(35,292,1),
	(36,284,1),
	(37,292,1),
	(38,285,1),
	(39,292,1),
	(40,285,1),
	(41,277,1),
	(42,290,1),
	(43,291,1),
	(44,292,1),
	(45,292,1),
	(46,292,1),
	(47,292,1);

/*!40000 ALTER TABLE `rel_group_options` ENABLE KEYS */;
UNLOCK TABLES;


# Dump of table rel_order_comments
# ------------------------------------------------------------

DROP TABLE IF EXISTS `rel_order_comments`;

CREATE TABLE `rel_order_comments` (
  `idOrder` int(11) NOT NULL,
  `idUser` int(11) NOT NULL,
  `comment` varchar(1700) DEFAULT NULL,
  `addDate` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  KEY `idOrder` (`idOrder`),
  KEY `idUser` (`idUser`),
  CONSTRAINT `rel_order_comments_ibfk_1` FOREIGN KEY (`idOrder`) REFERENCES `orders` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `rel_order_comments_ibfk_2` FOREIGN KEY (`idUser`) REFERENCES `users` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

LOCK TABLES `rel_order_comments` WRITE;
/*!40000 ALTER TABLE `rel_order_comments` DISABLE KEYS */;

INSERT INTO `rel_order_comments` (`idOrder`, `idUser`, `comment`, `addDate`)
VALUES
	(177,62,'<p>Varf&ouml;r kommer inga grejer?</p>','2018-03-16 16:16:54'),
	(177,37,'<p>De &auml;r p&aring; v&auml;g. Lugn, bara lugn.</p>','2018-03-16 16:17:30'),
	(180,1,'<p>test</p>','2018-03-20 17:54:06'),
	(180,53,'<p>T</p>','2018-05-04 17:02:55');

/*!40000 ALTER TABLE `rel_order_comments` ENABLE KEYS */;
UNLOCK TABLES;


# Dump of table rel_order_documents
# ------------------------------------------------------------

DROP TABLE IF EXISTS `rel_order_documents`;

CREATE TABLE `rel_order_documents` (
  `idOrder` int(11) NOT NULL,
  `idPackage` int(11) DEFAULT NULL,
  `idDocument` int(11) NOT NULL,
  `validation` varchar(13) DEFAULT 'not-validated',
  PRIMARY KEY (`idOrder`,`idDocument`),
  KEY `fk_idDocument_order_idx` (`idDocument`),
  KEY `fk_idPackage_doc_idx` (`idPackage`),
  KEY `fk_idPackage_order_doc_idx` (`idPackage`),
  CONSTRAINT `fk_idDocument_order` FOREIGN KEY (`idDocument`) REFERENCES `documents` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `fk_idOrder_doc` FOREIGN KEY (`idOrder`) REFERENCES `orders` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

LOCK TABLES `rel_order_documents` WRITE;
/*!40000 ALTER TABLE `rel_order_documents` DISABLE KEYS */;

INSERT INTO `rel_order_documents` (`idOrder`, `idPackage`, `idDocument`, `validation`)
VALUES
	(172,NULL,162,'not-validated'),
	(173,226,164,'validated'),
	(173,NULL,165,'not-validated'),
	(177,NULL,169,'not-validated'),
	(179,239,170,'validated'),
	(181,NULL,186,'not-validated'),
	(182,238,174,'validated'),
	(182,238,175,'validated'),
	(183,237,178,'not-validated'),
	(184,NULL,185,'not-validated'),
	(185,NULL,184,'not-validated'),
	(186,NULL,183,'not-validated'),
	(187,304,191,'validated'),
	(188,305,192,'validated'),
	(189,304,193,'validated'),
	(190,305,194,'validated'),
	(190,NULL,195,'not-validated'),
	(191,304,196,'validated'),
	(192,305,197,'not-validated'),
	(193,NULL,198,'not-validated'),
	(194,237,199,'validated'),
	(195,239,200,'validated'),
	(197,238,201,'validated'),
	(197,NULL,203,'not-validated');

/*!40000 ALTER TABLE `rel_order_documents` ENABLE KEYS */;
UNLOCK TABLES;


# Dump of table rel_order_extra_packages
# ------------------------------------------------------------

DROP TABLE IF EXISTS `rel_order_extra_packages`;

CREATE TABLE `rel_order_extra_packages` (
  `idOrder` int(11) NOT NULL,
  `idPackage` int(11) NOT NULL,
  `idExtraPackage` int(11) NOT NULL,
  PRIMARY KEY (`idPackage`,`idOrder`,`idExtraPackage`),
  KEY `fk_order_extra_idx` (`idOrder`),
  KEY `fk_idExtraPackage_idx` (`idExtraPackage`),
  CONSTRAINT `fk_idExtraPackage` FOREIGN KEY (`idExtraPackage`) REFERENCES `packages` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `fk_idPackage_extra` FOREIGN KEY (`idPackage`) REFERENCES `packages` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `fk_order_extra` FOREIGN KEY (`idOrder`) REFERENCES `orders` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

LOCK TABLES `rel_order_extra_packages` WRITE;
/*!40000 ALTER TABLE `rel_order_extra_packages` DISABLE KEYS */;

INSERT INTO `rel_order_extra_packages` (`idOrder`, `idPackage`, `idExtraPackage`)
VALUES
	(181,236,251),
	(181,236,277),
	(181,236,287),
	(182,238,251),
	(182,238,277),
	(182,238,288),
	(183,237,277),
	(183,237,288),
	(193,231,284),
	(193,231,292),
	(194,237,251),
	(194,237,277),
	(194,237,288),
	(195,239,251),
	(195,239,277),
	(195,239,289),
	(197,238,277),
	(197,238,288);

/*!40000 ALTER TABLE `rel_order_extra_packages` ENABLE KEYS */;
UNLOCK TABLES;


# Dump of table rel_order_packages
# ------------------------------------------------------------

DROP TABLE IF EXISTS `rel_order_packages`;

CREATE TABLE `rel_order_packages` (
  `idOrder` int(11) NOT NULL,
  `idPackage` int(11) NOT NULL,
  `packageInstance` tinyint(2) DEFAULT '1',
  `idPaymentTerm` int(11) DEFAULT NULL,
  `units` int(11) DEFAULT NULL,
  `packageFixedPrice` decimal(17,2) DEFAULT '0.00',
  `status` enum('no-process','processing','canceled','production','end-of-life') DEFAULT 'no-process',
  `endOfLife` date DEFAULT NULL,
  `packageRecuringPrice` decimal(17,2) DEFAULT '0.00',
  `packageServicePrice` decimal(17,2) DEFAULT '0.00',
  `customerAccepted` tinyint(1) DEFAULT '0',
  `customerDeclineReason` varchar(500) DEFAULT NULL,
  `earliestInstallationDate` date DEFAULT NULL,
  `isSchedulingEnabledForCustomer` tinyint(1) DEFAULT '0',
  `idBid` int(11) DEFAULT NULL,
  PRIMARY KEY (`idOrder`,`idPackage`),
  KEY `packageIdKey_idx` (`idPackage`),
  KEY `paymentTermIdKey_idx` (`idPaymentTerm`),
  KEY `fk_order_packages_idBid_idx` (`idBid`),
  CONSTRAINT `fk_order_packages_idBid` FOREIGN KEY (`idBid`) REFERENCES `packages_bids` (`id`) ON UPDATE CASCADE,
  CONSTRAINT `orderIdKey` FOREIGN KEY (`idOrder`) REFERENCES `orders` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `packageIdKey` FOREIGN KEY (`idPackage`) REFERENCES `packages` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `paymentTermIdKey` FOREIGN KEY (`idPaymentTerm`) REFERENCES `payment_types` (`id`) ON DELETE NO ACTION ON UPDATE NO ACTION
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

LOCK TABLES `rel_order_packages` WRITE;
/*!40000 ALTER TABLE `rel_order_packages` DISABLE KEYS */;

INSERT INTO `rel_order_packages` (`idOrder`, `idPackage`, `packageInstance`, `idPaymentTerm`, `units`, `packageFixedPrice`, `status`, `endOfLife`, `packageRecuringPrice`, `packageServicePrice`, `customerAccepted`, `customerDeclineReason`, `earliestInstallationDate`, `isSchedulingEnabledForCustomer`, `idBid`)
VALUES
	(172,228,1,9,1,0.00,'production','2021-03-13',4969.00,450.00,0,NULL,NULL,0,NULL),
	(173,226,5,9,1,0.00,'production','2021-03-14',5531.00,450.00,0,NULL,NULL,0,NULL),
	(174,230,1,9,1,0.00,'processing',NULL,527.00,0.00,0,NULL,NULL,0,NULL),
	(177,239,2,9,1,0.00,'production','2021-03-16',2555.00,0.00,0,NULL,NULL,0,NULL),
	(178,239,2,9,1,0.00,'canceled',NULL,2555.00,0.00,0,NULL,NULL,0,NULL),
	(179,239,2,1,1,88105.00,'processing',NULL,0.00,0.00,0,NULL,NULL,0,NULL),
	(180,252,1,9,1,3.00,'processing',NULL,412.73,133.00,0,NULL,NULL,0,NULL),
	(181,236,6,1,1,117831.00,'production','2018-05-08',0.00,427.00,0,NULL,NULL,0,NULL),
	(182,238,8,9,1,2970.00,'processing',NULL,2329.00,427.00,0,NULL,NULL,0,NULL),
	(183,237,15,1,1,61767.00,'processing',NULL,0.00,427.00,0,NULL,NULL,0,NULL),
	(184,299,2,1,1,17928.00,'production','2018-05-08',0.00,0.00,0,NULL,NULL,0,NULL),
	(185,302,4,9,1,0.00,'production','2021-05-08',0.00,1278.00,0,NULL,NULL,0,NULL),
	(186,301,3,1,7,17602.00,'production','2018-05-08',0.00,99.00,0,NULL,NULL,0,NULL),
	(187,304,5,9,1,5000.00,'canceled',NULL,0.00,0.00,0,NULL,'2018-05-20',0,NULL),
	(188,305,4,9,1,300.00,'canceled',NULL,0.00,0.00,0,NULL,'2018-05-20',0,NULL),
	(189,304,5,9,1,5000.00,'production','2021-05-14',0.00,0.00,0,NULL,'2018-05-20',0,NULL),
	(190,305,5,9,1,300.00,'production','2021-05-14',0.00,0.00,0,NULL,'2018-05-20',1,NULL),
	(191,294,4,9,8,0.00,'processing',NULL,0.00,260.00,0,NULL,NULL,0,NULL),
	(191,295,4,9,30,0.00,'processing',NULL,0.00,55.00,0,NULL,NULL,0,NULL),
	(191,298,13,9,1,0.00,'processing',NULL,0.00,136.00,0,NULL,NULL,0,NULL),
	(191,304,5,9,1,5000.00,'processing',NULL,0.00,0.00,0,NULL,NULL,0,NULL),
	(192,294,4,9,2,0.00,'no-process',NULL,0.00,260.00,0,NULL,NULL,0,NULL),
	(192,305,5,9,1,300.00,'no-process',NULL,0.00,0.00,0,NULL,NULL,0,NULL),
	(193,231,12,9,1,1650.00,'production','2021-05-16',688.00,99.00,0,NULL,NULL,0,NULL),
	(194,237,18,9,4,2970.00,'processing',NULL,2099.00,427.00,0,NULL,NULL,0,NULL),
	(195,239,11,9,1,4070.00,'processing',NULL,2949.00,427.00,0,NULL,NULL,0,NULL),
	(196,302,7,9,1,0.00,'no-process',NULL,0.00,1278.00,0,NULL,NULL,0,NULL),
	(197,238,12,1,1,69687.00,'processing',NULL,0.00,427.00,0,NULL,NULL,0,NULL);

/*!40000 ALTER TABLE `rel_order_packages` ENABLE KEYS */;
UNLOCK TABLES;


# Dump of table rel_order_process_step
# ------------------------------------------------------------

DROP TABLE IF EXISTS `rel_order_process_step`;

CREATE TABLE `rel_order_process_step` (
  `idProcessStep` int(11) NOT NULL,
  `idOrder` int(11) NOT NULL,
  `idPackage` int(11) DEFAULT NULL,
  `estimateDate` date DEFAULT NULL,
  `actualDate` date DEFAULT NULL,
  `status` enum('inactive','in-progress','done') DEFAULT 'inactive',
  PRIMARY KEY (`idProcessStep`,`idOrder`),
  KEY `rel_order_process_step_ibfk_2` (`idOrder`),
  KEY `rel_order_package_idx` (`idPackage`),
  CONSTRAINT `rel_order_process_step_ibfk_1` FOREIGN KEY (`idProcessStep`) REFERENCES `rel_process_steps` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `rel_order_process_step_ibfk_2` FOREIGN KEY (`idOrder`) REFERENCES `orders` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

LOCK TABLES `rel_order_process_step` WRITE;
/*!40000 ALTER TABLE `rel_order_process_step` DISABLE KEYS */;

INSERT INTO `rel_order_process_step` (`idProcessStep`, `idOrder`, `idPackage`, `estimateDate`, `actualDate`, `status`)
VALUES
	(536,173,NULL,'2018-03-14','2018-03-14','done'),
	(536,177,NULL,'2018-03-16','2018-03-16','done'),
	(536,194,NULL,'2018-05-21','2018-05-21','done'),
	(536,195,NULL,'2018-05-21','2018-05-21','done'),
	(537,173,NULL,NULL,'2018-03-14','done'),
	(537,177,NULL,NULL,'2018-03-16','done'),
	(537,194,NULL,NULL,'2018-05-22','done'),
	(537,195,NULL,NULL,'2018-05-22','done'),
	(538,173,NULL,NULL,'2018-03-14','done'),
	(538,177,NULL,NULL,'2018-03-16','done'),
	(538,194,NULL,NULL,'2018-05-25','done'),
	(538,195,NULL,NULL,'2018-05-25','done'),
	(539,173,NULL,NULL,'2018-03-14','done'),
	(539,177,NULL,NULL,'2018-03-16','done'),
	(539,194,NULL,NULL,'2018-05-30','done'),
	(539,195,NULL,NULL,'2018-05-30','done'),
	(540,173,NULL,NULL,'2018-03-14','done'),
	(540,177,NULL,NULL,'2018-03-16','done'),
	(540,194,NULL,NULL,'2018-06-04','done'),
	(540,195,NULL,NULL,'2018-06-04','done'),
	(541,173,NULL,NULL,'2018-03-14','done'),
	(541,177,NULL,NULL,'2018-03-16','done'),
	(541,194,NULL,NULL,'2018-06-04','done'),
	(541,195,NULL,NULL,'2018-06-04','done'),
	(542,173,NULL,NULL,'2018-03-14','done'),
	(542,177,NULL,NULL,'2018-03-16','done'),
	(542,194,NULL,NULL,'2018-06-04','done'),
	(542,195,NULL,NULL,'2018-06-04','done'),
	(543,173,NULL,NULL,'2018-03-14','done'),
	(543,177,NULL,NULL,'2018-03-16','done'),
	(543,194,NULL,NULL,'2018-06-04','done'),
	(543,195,NULL,NULL,'2018-06-04','done'),
	(544,173,NULL,NULL,'2018-03-14','done'),
	(544,177,NULL,NULL,'2018-03-16','done'),
	(544,194,NULL,NULL,'2018-06-04','done'),
	(544,195,NULL,NULL,'2018-06-04','done'),
	(545,173,NULL,NULL,'2018-03-14','done'),
	(545,177,NULL,NULL,'2018-03-16','done'),
	(545,194,NULL,NULL,NULL,'in-progress'),
	(545,195,NULL,NULL,NULL,'in-progress'),
	(546,173,NULL,NULL,'2018-03-14','done'),
	(546,177,NULL,NULL,'2018-03-16','done'),
	(546,194,NULL,NULL,NULL,'inactive'),
	(546,195,NULL,NULL,NULL,'inactive'),
	(547,173,NULL,NULL,'2018-03-14','done'),
	(547,177,NULL,NULL,'2018-03-16','done'),
	(547,194,NULL,NULL,NULL,'inactive'),
	(547,195,NULL,NULL,NULL,'inactive'),
	(548,172,NULL,'2018-03-13','2018-03-13','done'),
	(548,174,NULL,'2018-03-14','2018-03-14','done'),
	(548,178,NULL,'2018-03-19','2018-03-19','done'),
	(548,179,NULL,'2018-03-19','2018-03-19','done'),
	(548,180,NULL,'2018-03-20','2018-03-20','done'),
	(548,181,NULL,'2018-04-19','2018-04-19','done'),
	(548,182,NULL,'2018-04-23','2018-04-23','done'),
	(548,183,NULL,'2018-05-02','2018-05-02','done'),
	(548,184,NULL,'2018-05-08','2018-05-08','done'),
	(548,185,NULL,'2018-05-08','2018-05-08','done'),
	(548,186,NULL,'2018-05-08','2018-05-08','done'),
	(548,193,NULL,'2018-05-16','2018-05-16','done'),
	(548,197,NULL,'2018-06-05','2018-06-05','done'),
	(549,172,NULL,NULL,'2018-03-13','done'),
	(549,174,NULL,NULL,'2018-03-19','done'),
	(549,178,NULL,NULL,'2018-04-25','done'),
	(549,179,NULL,NULL,'2018-03-19','done'),
	(549,180,NULL,NULL,'2018-03-20','done'),
	(549,181,NULL,NULL,'2018-05-08','done'),
	(549,182,NULL,NULL,'2018-04-25','done'),
	(549,183,NULL,NULL,'2018-05-02','done'),
	(549,184,NULL,NULL,'2018-05-08','done'),
	(549,185,NULL,NULL,'2018-05-08','done'),
	(549,186,NULL,NULL,'2018-05-08','done'),
	(549,193,NULL,NULL,'2018-05-16','done'),
	(549,197,NULL,NULL,'2018-06-05','done'),
	(550,172,NULL,NULL,'2018-03-13','done'),
	(550,174,NULL,NULL,NULL,'in-progress'),
	(550,178,NULL,NULL,NULL,'inactive'),
	(550,179,NULL,NULL,'2018-03-19','done'),
	(550,180,NULL,NULL,'2018-04-25','done'),
	(550,181,NULL,NULL,'2018-05-08','done'),
	(550,182,NULL,NULL,'2018-04-25','done'),
	(550,183,NULL,NULL,NULL,'in-progress'),
	(550,184,NULL,NULL,'2018-05-08','done'),
	(550,185,NULL,NULL,'2018-05-08','done'),
	(550,186,NULL,NULL,'2018-05-08','done'),
	(550,193,NULL,NULL,'2018-05-16','done'),
	(550,197,NULL,NULL,'2018-06-05','done'),
	(551,172,NULL,NULL,'2018-03-13','done'),
	(551,174,NULL,NULL,NULL,'inactive'),
	(551,178,NULL,NULL,NULL,'inactive'),
	(551,179,NULL,NULL,'2018-03-19','done'),
	(551,180,NULL,NULL,NULL,'in-progress'),
	(551,181,NULL,NULL,'2018-05-08','done'),
	(551,182,NULL,NULL,NULL,'in-progress'),
	(551,183,NULL,NULL,NULL,'inactive'),
	(551,184,NULL,NULL,'2018-05-08','done'),
	(551,185,NULL,NULL,'2018-05-08','done'),
	(551,186,NULL,NULL,'2018-05-08','done'),
	(551,193,NULL,NULL,'2018-05-16','done'),
	(551,197,NULL,NULL,'2018-06-05','done'),
	(552,172,NULL,NULL,'2018-03-13','done'),
	(552,174,NULL,NULL,NULL,'inactive'),
	(552,178,NULL,NULL,NULL,'inactive'),
	(552,179,NULL,NULL,NULL,'in-progress'),
	(552,180,NULL,NULL,NULL,'inactive'),
	(552,181,NULL,NULL,'2018-05-08','done'),
	(552,182,NULL,NULL,NULL,'inactive'),
	(552,183,NULL,NULL,NULL,'inactive'),
	(552,184,NULL,NULL,'2018-05-08','done'),
	(552,185,NULL,NULL,'2018-05-08','done'),
	(552,186,NULL,NULL,'2018-05-08','done'),
	(552,193,NULL,NULL,'2018-05-16','done'),
	(552,197,NULL,NULL,'2018-06-05','done'),
	(553,172,NULL,NULL,'2018-03-13','done'),
	(553,174,NULL,NULL,NULL,'inactive'),
	(553,178,NULL,NULL,NULL,'inactive'),
	(553,179,NULL,NULL,NULL,'inactive'),
	(553,180,NULL,NULL,NULL,'inactive'),
	(553,181,NULL,NULL,'2018-05-08','done'),
	(553,182,NULL,NULL,NULL,'inactive'),
	(553,183,NULL,NULL,NULL,'inactive'),
	(553,184,NULL,NULL,'2018-05-08','done'),
	(553,185,NULL,NULL,'2018-05-08','done'),
	(553,186,NULL,NULL,'2018-05-08','done'),
	(553,193,NULL,NULL,'2018-05-16','done'),
	(553,197,NULL,NULL,'2018-06-05','done'),
	(554,172,NULL,NULL,'2018-03-13','done'),
	(554,174,NULL,NULL,NULL,'inactive'),
	(554,178,NULL,NULL,NULL,'inactive'),
	(554,179,NULL,NULL,NULL,'inactive'),
	(554,180,NULL,NULL,NULL,'inactive'),
	(554,181,NULL,NULL,'2018-05-08','done'),
	(554,182,NULL,NULL,NULL,'inactive'),
	(554,183,NULL,NULL,NULL,'inactive'),
	(554,184,NULL,NULL,'2018-05-08','done'),
	(554,185,NULL,NULL,'2018-05-08','done'),
	(554,186,NULL,NULL,'2018-05-08','done'),
	(554,193,NULL,NULL,'2018-05-16','done'),
	(554,197,NULL,NULL,'2018-06-05','done'),
	(555,172,NULL,NULL,'2018-03-13','done'),
	(555,174,NULL,NULL,NULL,'inactive'),
	(555,178,NULL,NULL,NULL,'inactive'),
	(555,179,NULL,NULL,NULL,'inactive'),
	(555,180,NULL,NULL,NULL,'inactive'),
	(555,181,NULL,NULL,'2018-05-08','done'),
	(555,182,NULL,NULL,NULL,'inactive'),
	(555,183,NULL,NULL,NULL,'inactive'),
	(555,184,NULL,NULL,'2018-05-08','done'),
	(555,185,NULL,NULL,'2018-05-08','done'),
	(555,186,NULL,NULL,'2018-05-08','done'),
	(555,193,NULL,NULL,'2018-05-16','done'),
	(555,197,NULL,NULL,NULL,'in-progress'),
	(556,172,NULL,NULL,'2018-03-13','done'),
	(556,174,NULL,NULL,NULL,'inactive'),
	(556,178,NULL,NULL,NULL,'inactive'),
	(556,179,NULL,NULL,NULL,'inactive'),
	(556,180,NULL,NULL,NULL,'inactive'),
	(556,181,NULL,NULL,'2018-05-08','done'),
	(556,182,NULL,NULL,NULL,'inactive'),
	(556,183,NULL,NULL,NULL,'inactive'),
	(556,184,NULL,NULL,'2018-05-08','done'),
	(556,185,NULL,NULL,'2018-05-08','done'),
	(556,186,NULL,NULL,'2018-05-08','done'),
	(556,193,NULL,NULL,'2018-05-16','done'),
	(556,197,NULL,NULL,NULL,'inactive'),
	(557,172,NULL,NULL,'2018-03-13','done'),
	(557,174,NULL,NULL,NULL,'inactive'),
	(557,178,NULL,NULL,NULL,'inactive'),
	(557,179,NULL,NULL,NULL,'inactive'),
	(557,180,NULL,NULL,NULL,'inactive'),
	(557,181,NULL,NULL,'2018-05-08','done'),
	(557,182,NULL,NULL,NULL,'inactive'),
	(557,183,NULL,NULL,NULL,'inactive'),
	(557,184,NULL,NULL,'2018-05-08','done'),
	(557,185,NULL,NULL,'2018-05-08','done'),
	(557,186,NULL,NULL,'2018-05-08','done'),
	(557,193,NULL,NULL,'2018-05-16','done'),
	(557,197,NULL,NULL,NULL,'inactive'),
	(558,187,NULL,'2018-05-14','2018-05-14','done'),
	(559,187,NULL,NULL,'2018-05-14','done'),
	(560,187,NULL,NULL,'2018-05-14','done'),
	(561,187,NULL,NULL,'2018-05-14','done'),
	(562,187,NULL,NULL,'2018-05-14','done'),
	(563,187,NULL,NULL,'2018-05-14','done'),
	(564,188,NULL,'2018-05-14','2018-05-14','done'),
	(564,190,NULL,'2018-05-14','2018-05-14','done'),
	(565,188,NULL,NULL,'2018-05-14','done'),
	(565,190,NULL,NULL,'2018-05-14','done'),
	(566,188,NULL,NULL,'2018-05-14','done'),
	(566,190,NULL,NULL,'2018-05-14','done'),
	(567,188,NULL,NULL,'2018-05-14','done'),
	(567,190,NULL,NULL,'2018-05-14','done'),
	(568,188,NULL,NULL,NULL,'inactive'),
	(568,190,NULL,NULL,'2018-05-14','done'),
	(569,188,NULL,NULL,NULL,'inactive'),
	(569,190,NULL,NULL,'2018-05-14','done'),
	(570,188,NULL,NULL,NULL,'inactive'),
	(570,190,NULL,NULL,'2018-05-14','done'),
	(571,188,NULL,NULL,NULL,'inactive'),
	(571,190,NULL,NULL,'2018-05-14','done'),
	(572,188,NULL,NULL,NULL,'inactive'),
	(572,190,NULL,NULL,'2018-05-14','done'),
	(573,189,NULL,'2018-05-14','2018-05-14','done'),
	(573,191,NULL,'2018-05-14','2018-05-14','done'),
	(574,189,NULL,NULL,'2018-05-14','done'),
	(574,191,NULL,NULL,'2018-05-14','done'),
	(575,189,NULL,NULL,'2018-05-14','done'),
	(575,191,NULL,NULL,'2018-05-14','done'),
	(576,189,NULL,NULL,'2018-05-14','done'),
	(576,191,NULL,NULL,NULL,'in-progress'),
	(577,189,NULL,NULL,'2018-05-14','done'),
	(577,191,NULL,NULL,NULL,'inactive'),
	(578,189,NULL,NULL,'2018-05-14','done'),
	(578,191,NULL,NULL,NULL,'inactive');

/*!40000 ALTER TABLE `rel_order_process_step` ENABLE KEYS */;
UNLOCK TABLES;


# Dump of table rel_order_products_estimation
# ------------------------------------------------------------

DROP TABLE IF EXISTS `rel_order_products_estimation`;

CREATE TABLE `rel_order_products_estimation` (
  `idOrder` int(11) NOT NULL,
  `idPackage` int(11) NOT NULL,
  `idProduct` int(11) NOT NULL,
  `estimatedDate` date DEFAULT NULL,
  `confirmedDate` date DEFAULT NULL,
  PRIMARY KEY (`idOrder`,`idPackage`,`idProduct`),
  KEY `fk_id_order_estimation_idx` (`idOrder`),
  KEY `fk_id_product_estimation_idx` (`idProduct`),
  KEY `fk_id_package_estimation_idx` (`idPackage`),
  CONSTRAINT `fk_id_order_estimation` FOREIGN KEY (`idOrder`) REFERENCES `orders` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `fk_id_product_estimation` FOREIGN KEY (`idProduct`) REFERENCES `suppliers_countries_products` (`idProduct`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8;



# Dump of table rel_order_scheduled_dates
# ------------------------------------------------------------

DROP TABLE IF EXISTS `rel_order_scheduled_dates`;

CREATE TABLE `rel_order_scheduled_dates` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `idOrder` int(11) NOT NULL,
  `idPackage` int(11) NOT NULL,
  `idProcessStep` int(11) NOT NULL,
  `scheduledDate` date DEFAULT NULL,
  `isDateConfirmed` tinyint(1) DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

LOCK TABLES `rel_order_scheduled_dates` WRITE;
/*!40000 ALTER TABLE `rel_order_scheduled_dates` DISABLE KEYS */;

INSERT INTO `rel_order_scheduled_dates` (`id`, `idOrder`, `idPackage`, `idProcessStep`, `scheduledDate`, `isDateConfirmed`)
VALUES
	(1,125,200,470,'2017-08-25',-1),
	(2,125,200,470,'2017-08-26',1),
	(3,126,200,470,'2017-08-12',-1),
	(4,126,200,470,'2017-08-31',-1),
	(5,126,200,470,'2017-08-11',-1),
	(6,126,200,470,'2017-08-24',1),
	(7,126,200,470,'2017-08-25',1),
	(8,126,200,470,'2017-08-25',1),
	(9,126,200,473,'2017-08-22',-1),
	(10,126,200,473,'2017-08-26',-1),
	(11,126,200,473,'2017-08-25',-1),
	(12,126,200,473,'2017-08-18',1),
	(13,130,200,470,'2017-08-22',1),
	(14,130,202,470,'2017-08-31',1),
	(15,130,202,473,'2017-08-01',1),
	(16,129,202,470,'2017-08-31',1),
	(17,133,211,486,'2017-08-31',1),
	(18,133,211,486,'2017-09-06',-1),
	(19,134,211,486,'2017-08-21',1),
	(20,135,212,486,'2017-08-30',1),
	(21,136,212,493,'2017-08-30',-1),
	(22,136,212,493,'2017-09-04',1),
	(23,136,212,493,'2017-09-13',-1),
	(24,137,211,493,'2017-08-23',1),
	(25,138,211,493,'2017-08-23',-1),
	(26,138,211,493,'2017-08-24',-1),
	(27,138,211,493,'2017-08-31',1),
	(28,142,213,493,'2017-08-23',1),
	(29,143,212,493,'2017-09-12',1),
	(30,143,212,493,'2017-09-21',0),
	(31,155,215,517,'2017-10-25',-1),
	(32,155,215,517,'2017-10-31',1),
	(33,156,219,523,'2017-10-08',1);

/*!40000 ALTER TABLE `rel_order_scheduled_dates` ENABLE KEYS */;
UNLOCK TABLES;


# Dump of table rel_order_schedules_confirmations
# ------------------------------------------------------------

DROP TABLE IF EXISTS `rel_order_schedules_confirmations`;

CREATE TABLE `rel_order_schedules_confirmations` (
  `idSchedule` int(11) NOT NULL,
  `idUser` int(11) NOT NULL,
  `status` varchar(50) DEFAULT 'pending',
  PRIMARY KEY (`idSchedule`,`idUser`),
  KEY `fk_user_schedule_confirmation_idx` (`idUser`),
  CONSTRAINT `fk_schedule_confirmation` FOREIGN KEY (`idSchedule`) REFERENCES `rel_order_scheduled_dates` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `fk_user_schedule_confirmation` FOREIGN KEY (`idUser`) REFERENCES `users` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8;



# Dump of table rel_order_supplier_estimations
# ------------------------------------------------------------

DROP TABLE IF EXISTS `rel_order_supplier_estimations`;

CREATE TABLE `rel_order_supplier_estimations` (
  `idOrder` int(11) NOT NULL,
  `idSupplier` int(11) NOT NULL,
  `estimatedDate` date DEFAULT NULL,
  `confirmedDate` date DEFAULT NULL,
  PRIMARY KEY (`idOrder`,`idSupplier`),
  KEY `fk_id_order_estimation_2_idx` (`idOrder`),
  KEY `fk_id_supplier_estimation_idx` (`idSupplier`),
  CONSTRAINT `fk_id_order_estimation_2_idx` FOREIGN KEY (`idOrder`) REFERENCES `orders` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `fk_id_supplier_estimation_idx` FOREIGN KEY (`idSupplier`) REFERENCES `suppliers` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

LOCK TABLES `rel_order_supplier_estimations` WRITE;
/*!40000 ALTER TABLE `rel_order_supplier_estimations` DISABLE KEYS */;

INSERT INTO `rel_order_supplier_estimations` (`idOrder`, `idSupplier`, `estimatedDate`, `confirmedDate`)
VALUES
	(172,106,NULL,NULL),
	(173,106,NULL,NULL),
	(173,107,NULL,NULL),
	(174,106,NULL,NULL),
	(174,107,NULL,NULL),
	(174,108,NULL,NULL),
	(177,107,NULL,NULL),
	(177,108,NULL,NULL),
	(177,109,NULL,NULL),
	(178,107,NULL,NULL),
	(178,108,NULL,NULL),
	(178,109,NULL,NULL),
	(179,107,NULL,NULL),
	(179,108,NULL,NULL),
	(179,109,NULL,NULL),
	(180,106,NULL,NULL),
	(181,106,NULL,NULL),
	(181,109,NULL,NULL),
	(182,106,NULL,NULL),
	(182,108,NULL,NULL),
	(182,109,NULL,NULL),
	(183,106,NULL,NULL),
	(183,108,NULL,NULL),
	(183,109,NULL,NULL),
	(184,106,NULL,NULL),
	(185,106,NULL,NULL),
	(186,107,NULL,NULL),
	(186,109,NULL,NULL),
	(187,111,'2018-05-15','2018-05-15'),
	(188,109,'2018-05-15','2018-05-15'),
	(188,111,'2018-05-15','2018-05-15'),
	(189,111,'2018-05-15','2018-05-15'),
	(190,107,'2018-05-15',NULL),
	(190,109,'2018-05-15',NULL),
	(190,111,'2018-05-15',NULL),
	(191,106,NULL,NULL),
	(191,109,NULL,NULL),
	(191,111,NULL,NULL),
	(193,106,NULL,NULL),
	(193,109,NULL,NULL),
	(194,106,NULL,NULL),
	(194,108,NULL,NULL),
	(194,109,NULL,NULL),
	(195,106,NULL,NULL),
	(195,108,NULL,NULL),
	(195,109,NULL,NULL),
	(197,106,NULL,NULL),
	(197,108,NULL,NULL),
	(197,109,NULL,NULL);

/*!40000 ALTER TABLE `rel_order_supplier_estimations` ENABLE KEYS */;
UNLOCK TABLES;


# Dump of table rel_order_supplier_options
# ------------------------------------------------------------

DROP TABLE IF EXISTS `rel_order_supplier_options`;

CREATE TABLE `rel_order_supplier_options` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `idOrder` int(11) NOT NULL,
  `idPackage` int(11) DEFAULT NULL,
  `idSupplier` int(11) NOT NULL,
  `trackingNumber` varchar(50) NOT NULL,
  `trackingUrl` varchar(200) DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `tracking_order` (`idOrder`),
  KEY `tracking_package` (`idPackage`),
  KEY `tracking_supplie` (`idSupplier`),
  CONSTRAINT `tracking_order` FOREIGN KEY (`idOrder`) REFERENCES `orders` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `tracking_package` FOREIGN KEY (`idPackage`) REFERENCES `packages` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `tracking_supplie` FOREIGN KEY (`idSupplier`) REFERENCES `suppliers` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8;



# Dump of table rel_package_documents
# ------------------------------------------------------------

DROP TABLE IF EXISTS `rel_package_documents`;

CREATE TABLE `rel_package_documents` (
  `idPackage` int(11) NOT NULL,
  `idDocument` int(11) NOT NULL,
  PRIMARY KEY (`idPackage`,`idDocument`),
  KEY `fk_idPackage_doc_idx` (`idPackage`),
  KEY `fk_idDocumnet_pkg_idx` (`idDocument`),
  CONSTRAINT `fk_idDocumnet_pkg` FOREIGN KEY (`idDocument`) REFERENCES `documents` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `fk_idPackage_doc` FOREIGN KEY (`idPackage`) REFERENCES `packages` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

LOCK TABLES `rel_package_documents` WRITE;
/*!40000 ALTER TABLE `rel_package_documents` DISABLE KEYS */;

INSERT INTO `rel_package_documents` (`idPackage`, `idDocument`)
VALUES
	(234,187),
	(235,187),
	(236,187),
	(237,187),
	(238,187),
	(239,187),
	(240,187),
	(304,188),
	(305,190);

/*!40000 ALTER TABLE `rel_package_documents` ENABLE KEYS */;
UNLOCK TABLES;


# Dump of table rel_package_processes
# ------------------------------------------------------------

DROP TABLE IF EXISTS `rel_package_processes`;

CREATE TABLE `rel_package_processes` (
  `idPackage` int(11) NOT NULL,
  `idProcess` int(11) NOT NULL,
  PRIMARY KEY (`idPackage`,`idProcess`),
  KEY `idProcess` (`idProcess`),
  CONSTRAINT `rel_package_processes_ibfk_1` FOREIGN KEY (`idPackage`) REFERENCES `packages` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `rel_package_processes_ibfk_2` FOREIGN KEY (`idProcess`) REFERENCES `processes` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8;



# Dump of table rel_package_product_template
# ------------------------------------------------------------

DROP TABLE IF EXISTS `rel_package_product_template`;

CREATE TABLE `rel_package_product_template` (
  `idPackageTemplate` int(11) NOT NULL,
  `idVirtualProduct` int(11) NOT NULL,
  `quantity` int(11) DEFAULT '1',
  UNIQUE KEY `unique` (`idPackageTemplate`,`idVirtualProduct`),
  KEY `virtual_product_template_relation_idx` (`idVirtualProduct`),
  CONSTRAINT `package_product_template` FOREIGN KEY (`idPackageTemplate`) REFERENCES `packages_templates` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `virtual_product_template_relation` FOREIGN KEY (`idVirtualProduct`) REFERENCES `virtual_products` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

LOCK TABLES `rel_package_product_template` WRITE;
/*!40000 ALTER TABLE `rel_package_product_template` DISABLE KEYS */;

INSERT INTO `rel_package_product_template` (`idPackageTemplate`, `idVirtualProduct`, `quantity`)
VALUES
	(35,39,1),
	(35,40,1),
	(35,41,1),
	(35,42,1),
	(35,43,1),
	(35,44,1),
	(35,46,1),
	(35,47,1),
	(35,48,1),
	(35,49,1),
	(35,50,1),
	(35,51,1),
	(35,52,1),
	(35,53,1),
	(35,54,1),
	(35,55,1),
	(35,56,1),
	(36,42,1),
	(36,54,1),
	(36,57,1),
	(37,54,1),
	(37,58,1),
	(38,54,1),
	(38,58,1),
	(38,59,1),
	(38,60,1),
	(38,61,1),
	(38,62,1),
	(38,63,1),
	(38,64,1),
	(38,65,1),
	(39,42,1),
	(39,54,1),
	(39,58,1),
	(39,61,1),
	(39,62,1),
	(39,63,1),
	(39,64,1),
	(39,65,1),
	(40,55,1),
	(40,56,1),
	(40,58,1),
	(40,64,1),
	(40,66,1),
	(40,67,1),
	(41,54,1),
	(41,68,1),
	(41,70,1),
	(42,54,1),
	(42,68,1),
	(42,70,1),
	(42,72,1),
	(43,54,1),
	(43,68,1),
	(43,71,1),
	(43,72,1),
	(44,73,1),
	(44,74,1),
	(45,54,1),
	(45,68,1),
	(45,75,1),
	(46,54,1),
	(46,69,1),
	(47,54,1),
	(47,76,1),
	(48,77,1),
	(49,78,1);

/*!40000 ALTER TABLE `rel_package_product_template` ENABLE KEYS */;
UNLOCK TABLES;


# Dump of table rel_package_products
# ------------------------------------------------------------

DROP TABLE IF EXISTS `rel_package_products`;

CREATE TABLE `rel_package_products` (
  `packageInstance` tinyint(4) NOT NULL DEFAULT '1',
  `idPackage` int(11) NOT NULL,
  `idProduct` int(11) NOT NULL,
  `isOptional` tinyint(4) DEFAULT '0',
  `quantity` tinyint(4) DEFAULT '1',
  PRIMARY KEY (`idPackage`,`idProduct`,`packageInstance`),
  KEY `package_product_idx` (`idPackage`),
  KEY `product_link_idx` (`idProduct`),
  CONSTRAINT `product_package` FOREIGN KEY (`idPackage`) REFERENCES `packages` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `rel_package_product` FOREIGN KEY (`idProduct`) REFERENCES `suppliers_countries_products` (`idProduct`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

LOCK TABLES `rel_package_products` WRITE;
/*!40000 ALTER TABLE `rel_package_products` DISABLE KEYS */;

INSERT INTO `rel_package_products` (`packageInstance`, `idPackage`, `idProduct`, `isOptional`, `quantity`)
VALUES
	(1,226,81,0,1),
	(2,226,81,0,1),
	(3,226,81,0,1),
	(4,226,81,0,1),
	(5,226,81,0,1),
	(6,226,81,0,1),
	(7,226,81,0,1),
	(1,226,82,0,1),
	(2,226,82,0,1),
	(3,226,82,0,1),
	(4,226,82,0,1),
	(5,226,82,0,1),
	(6,226,82,0,1),
	(7,226,82,0,1),
	(1,226,83,0,1),
	(2,226,83,0,1),
	(3,226,83,0,1),
	(4,226,83,0,1),
	(5,226,83,0,1),
	(6,226,83,0,1),
	(7,226,83,0,1),
	(1,226,84,0,2),
	(2,226,84,0,2),
	(3,226,84,0,2),
	(4,226,84,0,2),
	(5,226,84,0,2),
	(6,226,84,0,2),
	(7,226,84,0,2),
	(1,226,85,0,1),
	(2,226,85,0,1),
	(3,226,85,0,1),
	(4,226,85,0,1),
	(5,226,85,0,1),
	(6,226,85,0,1),
	(7,226,85,0,1),
	(1,226,86,0,2),
	(2,226,86,0,2),
	(3,226,86,0,2),
	(4,226,86,0,2),
	(5,226,86,0,2),
	(6,226,86,0,2),
	(7,226,86,0,2),
	(1,226,87,0,1),
	(2,226,87,0,1),
	(3,226,87,0,1),
	(4,226,87,0,1),
	(5,226,87,0,1),
	(6,226,87,0,1),
	(7,226,87,0,1),
	(1,226,88,0,1),
	(2,226,88,0,1),
	(3,226,88,0,1),
	(4,226,88,0,1),
	(5,226,88,0,1),
	(6,226,88,0,1),
	(7,226,88,0,1),
	(1,226,89,0,1),
	(2,226,89,0,1),
	(3,226,89,0,1),
	(4,226,89,0,1),
	(5,226,89,0,1),
	(6,226,89,0,1),
	(7,226,89,0,1),
	(1,226,90,0,1),
	(2,226,90,0,1),
	(3,226,90,0,1),
	(4,226,90,0,1),
	(5,226,90,0,1),
	(6,226,90,0,1),
	(7,226,90,0,1),
	(1,226,91,0,1),
	(2,226,91,0,1),
	(3,226,91,0,1),
	(4,226,91,0,1),
	(5,226,91,0,1),
	(6,226,91,0,1),
	(7,226,91,0,1),
	(1,226,92,0,1),
	(2,226,92,0,1),
	(3,226,92,0,1),
	(4,226,92,0,1),
	(5,226,92,0,1),
	(6,226,92,0,1),
	(7,226,92,0,1),
	(1,226,93,0,1),
	(2,226,93,0,1),
	(3,226,93,0,1),
	(4,226,93,0,1),
	(5,226,93,0,1),
	(6,226,93,0,1),
	(7,226,93,0,1),
	(1,226,94,0,1),
	(2,226,94,0,1),
	(3,226,94,0,1),
	(4,226,94,0,1),
	(5,226,94,0,1),
	(6,226,94,0,1),
	(7,226,94,0,1),
	(2,226,95,0,1),
	(3,226,95,0,1),
	(4,226,95,0,1),
	(5,226,95,0,1),
	(6,226,95,0,1),
	(7,226,95,0,1),
	(1,226,96,0,1),
	(2,226,96,0,1),
	(3,226,96,0,1),
	(4,226,96,0,1),
	(5,226,96,0,1),
	(6,226,96,0,1),
	(7,226,96,0,1),
	(2,226,97,0,1),
	(3,226,97,0,1),
	(4,226,97,0,1),
	(5,226,97,0,1),
	(6,226,97,0,1),
	(7,226,97,0,1),
	(4,226,104,0,1),
	(5,226,104,0,1),
	(6,226,104,0,1),
	(7,226,104,0,1),
	(1,227,99,0,1),
	(2,227,99,0,1),
	(3,227,99,0,1),
	(4,227,99,0,2),
	(5,227,99,0,1),
	(6,227,99,0,1),
	(1,228,81,0,1),
	(2,228,81,0,1),
	(3,228,81,0,1),
	(4,228,81,0,1),
	(1,228,82,0,1),
	(2,228,82,0,1),
	(3,228,82,0,1),
	(4,228,82,0,1),
	(1,228,83,0,1),
	(2,228,83,0,1),
	(3,228,83,0,1),
	(4,228,83,0,1),
	(1,228,84,0,2),
	(2,228,84,0,2),
	(3,228,84,0,2),
	(4,228,84,0,2),
	(1,228,85,0,1),
	(2,228,85,0,1),
	(3,228,85,0,1),
	(4,228,85,0,1),
	(1,228,88,0,1),
	(2,228,88,0,1),
	(3,228,88,0,1),
	(4,228,88,0,1),
	(1,228,89,0,1),
	(2,228,89,0,1),
	(3,228,89,0,1),
	(4,228,89,0,1),
	(1,228,90,0,1),
	(2,228,90,0,1),
	(3,228,90,0,1),
	(4,228,90,0,1),
	(1,228,91,0,1),
	(2,228,91,0,1),
	(3,228,91,0,1),
	(4,228,91,0,1),
	(1,228,92,0,1),
	(2,228,92,0,1),
	(3,228,92,0,1),
	(4,228,92,0,1),
	(1,228,93,0,1),
	(2,228,93,0,1),
	(3,228,93,0,1),
	(4,228,93,0,1),
	(1,228,94,0,1),
	(2,228,94,0,1),
	(3,228,94,0,1),
	(4,228,94,0,1),
	(1,228,96,0,1),
	(2,228,96,0,1),
	(3,228,96,0,1),
	(4,228,96,0,1),
	(1,228,97,0,1),
	(2,228,97,0,1),
	(3,228,97,0,1),
	(4,228,97,0,1),
	(1,228,100,0,2),
	(2,228,100,0,2),
	(3,228,100,0,2),
	(4,228,100,0,2),
	(1,228,101,0,1),
	(2,228,101,0,1),
	(3,228,101,0,1),
	(4,228,101,0,1),
	(2,228,104,0,1),
	(3,228,104,0,1),
	(4,228,104,0,1),
	(1,229,81,0,1),
	(2,229,81,0,1),
	(3,229,81,0,1),
	(4,229,81,0,1),
	(5,229,81,0,1),
	(6,229,81,0,1),
	(1,229,82,0,1),
	(2,229,82,0,1),
	(3,229,82,0,1),
	(4,229,82,0,1),
	(5,229,82,0,1),
	(6,229,82,0,1),
	(1,229,83,0,1),
	(2,229,83,0,1),
	(3,229,83,0,1),
	(4,229,83,0,1),
	(5,229,83,0,1),
	(6,229,83,0,1),
	(1,229,84,0,2),
	(2,229,84,0,2),
	(3,229,84,0,2),
	(4,229,84,0,2),
	(5,229,84,0,2),
	(6,229,84,0,2),
	(1,229,85,0,1),
	(2,229,85,0,1),
	(3,229,85,0,1),
	(4,229,85,0,1),
	(5,229,85,0,1),
	(6,229,85,0,1),
	(1,229,88,0,1),
	(2,229,88,0,1),
	(3,229,88,0,1),
	(4,229,88,0,1),
	(5,229,88,0,1),
	(6,229,88,0,1),
	(1,229,89,0,1),
	(2,229,89,0,1),
	(3,229,89,0,1),
	(4,229,89,0,1),
	(5,229,89,0,1),
	(6,229,89,0,1),
	(1,229,90,0,1),
	(2,229,90,0,1),
	(3,229,90,0,1),
	(4,229,90,0,1),
	(5,229,90,0,1),
	(6,229,90,0,1),
	(1,229,91,0,1),
	(2,229,91,0,1),
	(3,229,91,0,1),
	(4,229,91,0,1),
	(5,229,91,0,1),
	(6,229,91,0,1),
	(1,229,92,0,1),
	(2,229,92,0,1),
	(3,229,92,0,1),
	(4,229,92,0,1),
	(5,229,92,0,1),
	(6,229,92,0,1),
	(1,229,93,0,1),
	(2,229,93,0,1),
	(3,229,93,0,1),
	(4,229,93,0,1),
	(5,229,93,0,1),
	(6,229,93,0,1),
	(1,229,94,0,1),
	(2,229,94,0,1),
	(3,229,94,0,1),
	(4,229,94,0,1),
	(5,229,94,0,1),
	(6,229,94,0,1),
	(1,229,96,0,1),
	(2,229,96,0,1),
	(3,229,96,0,1),
	(4,229,96,0,1),
	(5,229,96,0,1),
	(6,229,96,0,1),
	(1,229,97,0,1),
	(2,229,97,0,1),
	(3,229,97,0,1),
	(4,229,97,0,1),
	(5,229,97,0,1),
	(6,229,97,0,1),
	(1,229,102,0,2),
	(2,229,102,0,2),
	(3,229,102,0,2),
	(4,229,102,0,2),
	(5,229,102,0,2),
	(6,229,102,0,2),
	(1,229,103,0,1),
	(2,229,103,0,1),
	(3,229,103,0,1),
	(4,229,103,0,1),
	(5,229,103,0,1),
	(6,229,103,0,1),
	(2,229,104,0,1),
	(3,229,104,0,1),
	(4,229,104,0,1),
	(5,229,104,0,1),
	(6,229,104,0,1),
	(1,230,104,0,1),
	(2,230,104,0,1),
	(3,230,104,0,1),
	(4,230,104,0,1),
	(5,230,104,0,1),
	(6,230,104,0,1),
	(7,230,104,0,1),
	(8,230,104,0,1),
	(9,230,104,0,1),
	(1,230,105,0,1),
	(1,230,106,0,1),
	(2,230,106,0,1),
	(2,230,123,0,1),
	(3,230,123,0,1),
	(4,230,123,0,1),
	(5,230,123,0,1),
	(6,230,123,0,1),
	(7,230,123,0,1),
	(8,230,123,0,1),
	(9,230,123,0,1),
	(10,230,123,0,1),
	(11,230,123,0,1),
	(12,230,123,0,1),
	(13,230,123,0,1),
	(14,230,123,0,1),
	(15,230,123,0,1),
	(16,230,123,0,1),
	(17,230,123,0,1),
	(3,230,124,0,1),
	(4,230,124,0,1),
	(5,230,124,0,1),
	(6,230,124,0,1),
	(7,230,124,0,1),
	(8,230,124,0,1),
	(9,230,124,0,1),
	(10,230,124,0,1),
	(11,230,124,0,1),
	(12,230,124,0,1),
	(13,230,124,0,1),
	(14,230,124,0,1),
	(15,230,124,0,1),
	(16,230,124,0,1),
	(17,230,124,0,1),
	(10,230,170,0,1),
	(11,230,170,0,1),
	(12,230,170,0,1),
	(11,230,183,0,1),
	(12,230,183,0,1),
	(13,230,183,0,1),
	(14,230,185,0,1),
	(15,230,185,0,1),
	(16,230,185,0,1),
	(17,230,185,0,1),
	(1,231,104,0,1),
	(2,231,104,0,1),
	(3,231,104,0,1),
	(4,231,104,0,1),
	(5,231,104,0,1),
	(6,231,104,0,1),
	(1,231,106,0,1),
	(2,231,106,0,1),
	(1,231,108,0,1),
	(2,231,108,0,1),
	(3,231,108,0,1),
	(4,231,108,0,1),
	(5,231,108,0,1),
	(6,231,108,0,1),
	(7,231,108,0,1),
	(8,231,108,0,1),
	(9,231,108,0,1),
	(10,231,108,0,1),
	(11,231,108,0,1),
	(12,231,108,0,1),
	(3,231,124,0,1),
	(4,231,124,0,1),
	(5,231,124,0,1),
	(6,231,124,0,1),
	(7,231,124,0,1),
	(8,231,124,0,1),
	(9,231,124,0,1),
	(10,231,124,0,1),
	(11,231,124,0,1),
	(12,231,124,0,1),
	(7,231,170,0,1),
	(6,231,183,0,1),
	(7,231,183,0,1),
	(8,231,183,0,1),
	(9,231,185,0,1),
	(10,231,185,0,1),
	(11,231,185,0,1),
	(12,231,185,0,1),
	(1,232,104,0,1),
	(2,232,104,0,1),
	(3,232,104,0,1),
	(4,232,104,0,1),
	(5,232,104,0,1),
	(6,232,104,0,1),
	(1,232,107,0,1),
	(2,232,107,0,1),
	(1,232,109,0,1),
	(2,232,109,0,1),
	(3,232,109,0,1),
	(4,232,109,0,1),
	(5,232,109,0,1),
	(6,232,109,0,1),
	(7,232,109,0,1),
	(8,232,109,0,1),
	(9,232,109,0,1),
	(10,232,109,0,1),
	(11,232,109,0,1),
	(12,232,109,0,1),
	(3,232,125,0,1),
	(4,232,125,0,1),
	(5,232,125,0,1),
	(6,232,125,0,1),
	(7,232,125,0,1),
	(8,232,125,0,1),
	(9,232,125,0,1),
	(10,232,125,0,1),
	(11,232,125,0,1),
	(12,232,125,0,1),
	(7,232,171,0,1),
	(6,232,183,0,1),
	(7,232,183,0,1),
	(8,232,183,0,1),
	(9,232,185,0,1),
	(10,232,185,0,1),
	(11,232,185,0,1),
	(12,232,185,0,1),
	(1,233,104,0,1),
	(2,233,104,0,1),
	(3,233,104,0,1),
	(4,233,104,0,1),
	(5,233,104,0,1),
	(6,233,104,0,1),
	(1,233,107,0,1),
	(2,233,107,0,1),
	(1,233,110,0,1),
	(2,233,110,0,1),
	(3,233,110,0,1),
	(4,233,110,0,1),
	(5,233,110,0,1),
	(6,233,110,0,1),
	(7,233,110,0,1),
	(8,233,110,0,1),
	(9,233,110,0,1),
	(10,233,110,0,1),
	(11,233,110,0,1),
	(12,233,110,0,1),
	(3,233,125,0,1),
	(4,233,125,0,1),
	(5,233,125,0,1),
	(6,233,125,0,1),
	(7,233,125,0,1),
	(8,233,125,0,1),
	(9,233,125,0,1),
	(10,233,125,0,1),
	(11,233,125,0,1),
	(12,233,125,0,1),
	(7,233,171,0,1),
	(6,233,183,0,1),
	(7,233,183,0,1),
	(8,233,183,0,1),
	(9,233,185,0,1),
	(10,233,185,0,1),
	(11,233,185,0,1),
	(12,233,185,0,1),
	(1,234,104,0,1),
	(2,234,104,0,1),
	(3,234,104,0,1),
	(4,234,104,0,1),
	(5,234,104,0,1),
	(1,234,119,0,1),
	(2,234,119,0,1),
	(3,234,119,0,1),
	(4,234,119,0,1),
	(5,234,119,0,1),
	(6,234,119,0,1),
	(7,234,119,0,1),
	(8,234,119,0,1),
	(9,234,119,0,1),
	(10,234,119,0,1),
	(11,234,119,0,1),
	(12,234,119,0,1),
	(13,234,119,0,1),
	(14,234,119,0,1),
	(15,234,119,0,1),
	(16,234,119,0,1),
	(17,234,119,0,1),
	(18,234,119,0,1),
	(19,234,119,0,1),
	(20,234,119,0,1),
	(21,234,119,0,1),
	(22,234,119,0,1),
	(23,234,119,0,1),
	(24,234,119,0,1),
	(25,234,119,0,1),
	(26,234,119,0,1),
	(27,234,119,0,1),
	(28,234,119,0,1),
	(29,234,119,0,1),
	(30,234,119,0,1),
	(31,234,119,0,1),
	(4,234,136,0,1),
	(5,234,136,0,1),
	(6,234,136,0,1),
	(7,234,136,0,1),
	(8,234,136,0,1),
	(10,234,177,0,1),
	(11,234,177,0,1),
	(12,234,177,0,1),
	(13,234,177,0,1),
	(14,234,177,0,1),
	(15,234,177,0,1),
	(16,234,177,0,1),
	(17,234,177,0,1),
	(18,234,177,0,1),
	(19,234,177,0,1),
	(20,234,177,0,1),
	(21,234,177,0,1),
	(22,234,177,0,1),
	(23,234,177,0,1),
	(24,234,177,0,1),
	(25,234,177,0,1),
	(26,234,177,0,1),
	(27,234,177,0,1),
	(28,234,177,0,1),
	(29,234,177,0,1),
	(30,234,177,0,1),
	(31,234,177,0,1),
	(3,234,183,0,1),
	(4,234,183,0,1),
	(5,234,183,0,1),
	(6,234,183,0,1),
	(7,234,183,0,1),
	(8,234,183,0,1),
	(9,234,187,0,1),
	(10,234,187,0,1),
	(11,234,187,0,1),
	(12,234,187,0,1),
	(13,234,187,0,1),
	(14,234,187,0,1),
	(15,234,187,0,1),
	(16,234,187,0,1),
	(17,234,187,0,1),
	(18,234,187,0,1),
	(19,234,187,0,1),
	(20,234,187,0,1),
	(21,234,187,0,1),
	(22,234,187,0,1),
	(23,234,187,0,1),
	(24,234,187,0,1),
	(25,234,187,0,1),
	(26,234,187,0,1),
	(27,234,187,0,1),
	(28,234,187,0,1),
	(29,234,187,0,1),
	(30,234,187,0,1),
	(31,234,187,0,1),
	(1,235,104,0,1),
	(2,235,104,0,1),
	(3,235,104,0,1),
	(4,235,104,0,1),
	(1,235,108,0,1),
	(2,235,108,0,1),
	(3,235,108,0,1),
	(4,235,108,0,1),
	(5,235,108,0,1),
	(6,235,108,0,1),
	(7,235,108,0,1),
	(8,235,108,0,1),
	(9,235,108,0,1),
	(10,235,108,0,1),
	(1,235,111,0,1),
	(2,235,111,0,1),
	(3,235,111,0,1),
	(4,235,111,0,1),
	(5,235,111,0,1),
	(6,235,111,0,1),
	(7,235,111,0,1),
	(8,235,111,0,1),
	(9,235,111,0,1),
	(10,235,111,0,1),
	(1,235,113,0,1),
	(2,235,113,0,1),
	(3,235,113,0,1),
	(4,235,113,0,1),
	(5,235,113,0,1),
	(6,235,113,0,1),
	(7,235,113,0,1),
	(8,235,113,0,1),
	(9,235,113,0,1),
	(10,235,113,0,1),
	(1,235,116,0,1),
	(2,235,116,0,1),
	(3,235,116,0,1),
	(4,235,116,0,1),
	(5,235,116,0,1),
	(6,235,116,0,1),
	(7,235,116,0,1),
	(8,235,116,0,1),
	(9,235,116,0,1),
	(10,235,116,0,1),
	(1,235,117,0,1),
	(2,235,117,0,1),
	(3,235,117,0,1),
	(4,235,117,0,1),
	(5,235,117,0,1),
	(6,235,117,0,1),
	(7,235,117,0,1),
	(8,235,117,0,1),
	(9,235,117,0,1),
	(10,235,117,0,1),
	(1,235,118,0,1),
	(2,235,118,0,1),
	(3,235,118,0,1),
	(4,235,118,0,1),
	(5,235,118,0,1),
	(6,235,118,0,1),
	(7,235,118,0,1),
	(8,235,118,0,1),
	(9,235,118,0,1),
	(10,235,118,0,1),
	(1,235,121,0,1),
	(2,235,121,0,1),
	(3,235,121,0,1),
	(4,235,121,0,1),
	(5,235,121,0,1),
	(6,235,121,0,1),
	(7,235,121,0,1),
	(8,235,121,0,1),
	(9,235,121,0,1),
	(10,235,121,0,1),
	(1,235,122,0,1),
	(2,235,122,0,1),
	(3,235,122,0,1),
	(4,235,122,0,1),
	(5,235,122,0,1),
	(6,235,122,0,1),
	(7,235,122,0,1),
	(8,235,122,0,1),
	(9,235,122,0,1),
	(10,235,122,0,1),
	(4,235,136,0,1),
	(5,235,136,0,1),
	(6,235,136,0,1),
	(5,235,175,0,1),
	(6,235,175,0,1),
	(7,235,175,0,1),
	(8,235,175,0,1),
	(9,235,175,0,1),
	(10,235,175,0,1),
	(7,235,178,0,1),
	(8,235,178,0,1),
	(9,235,178,0,1),
	(10,235,178,0,1),
	(3,235,183,0,1),
	(4,235,183,0,1),
	(5,235,183,0,1),
	(6,235,183,0,1),
	(7,235,185,0,1),
	(8,235,185,0,1),
	(9,235,185,0,1),
	(10,235,185,0,1),
	(6,235,187,0,1),
	(7,235,187,0,1),
	(8,235,187,0,1),
	(9,235,187,0,1),
	(10,235,187,0,1),
	(1,236,104,0,1),
	(2,236,104,0,1),
	(3,236,104,0,1),
	(4,236,104,0,1),
	(1,236,109,0,1),
	(2,236,109,0,1),
	(3,236,109,0,1),
	(4,236,109,0,1),
	(5,236,109,0,1),
	(6,236,109,0,1),
	(7,236,109,0,1),
	(8,236,109,0,1),
	(9,236,109,0,1),
	(10,236,109,0,1),
	(11,236,109,0,1),
	(12,236,109,0,1),
	(1,236,111,0,1),
	(2,236,111,0,1),
	(3,236,111,0,1),
	(4,236,111,0,1),
	(5,236,111,0,1),
	(6,236,111,0,1),
	(7,236,111,0,1),
	(8,236,111,0,1),
	(9,236,111,0,1),
	(10,236,111,0,1),
	(11,236,111,0,1),
	(12,236,111,0,1),
	(1,236,113,0,1),
	(2,236,113,0,1),
	(3,236,113,0,1),
	(4,236,113,0,1),
	(5,236,113,0,1),
	(6,236,113,0,1),
	(7,236,113,0,1),
	(8,236,113,0,1),
	(9,236,113,0,1),
	(10,236,113,0,1),
	(11,236,113,0,1),
	(12,236,113,0,1),
	(1,236,114,0,1),
	(2,236,114,0,1),
	(3,236,114,0,1),
	(4,236,114,0,1),
	(5,236,114,0,1),
	(6,236,114,0,1),
	(7,236,114,0,1),
	(8,236,114,0,1),
	(9,236,114,0,1),
	(10,236,114,0,1),
	(11,236,114,0,1),
	(12,236,114,0,1),
	(1,236,115,0,1),
	(2,236,115,0,1),
	(3,236,115,0,1),
	(4,236,115,0,1),
	(5,236,115,0,1),
	(6,236,115,0,1),
	(7,236,115,0,1),
	(8,236,115,0,1),
	(9,236,115,0,1),
	(10,236,115,0,1),
	(11,236,115,0,1),
	(12,236,115,0,1),
	(1,236,118,0,1),
	(2,236,118,0,1),
	(3,236,118,0,1),
	(4,236,118,0,1),
	(5,236,118,0,1),
	(6,236,118,0,1),
	(7,236,118,0,1),
	(8,236,118,0,1),
	(9,236,118,0,1),
	(10,236,118,0,1),
	(11,236,118,0,1),
	(12,236,118,0,1),
	(1,236,121,0,1),
	(2,236,121,0,1),
	(3,236,121,0,1),
	(4,236,121,0,1),
	(5,236,121,0,1),
	(6,236,121,0,1),
	(7,236,121,0,1),
	(8,236,121,0,1),
	(9,236,121,0,1),
	(10,236,121,0,1),
	(11,236,121,0,1),
	(12,236,121,0,1),
	(1,236,122,0,1),
	(2,236,122,0,1),
	(3,236,122,0,1),
	(4,236,122,0,1),
	(5,236,122,0,1),
	(6,236,122,0,1),
	(7,236,122,0,1),
	(8,236,122,0,1),
	(9,236,122,0,1),
	(10,236,122,0,1),
	(11,236,122,0,1),
	(12,236,122,0,1),
	(4,236,136,0,1),
	(5,236,136,0,1),
	(6,236,136,0,1),
	(7,236,136,0,1),
	(8,236,136,0,1),
	(5,236,176,0,1),
	(9,236,178,0,1),
	(10,236,178,0,1),
	(11,236,178,0,1),
	(12,236,178,0,1),
	(3,236,183,0,1),
	(4,236,183,0,1),
	(5,236,183,0,1),
	(6,236,183,0,1),
	(7,236,183,0,1),
	(8,236,183,0,1),
	(9,236,185,0,1),
	(10,236,185,0,1),
	(11,236,185,0,1),
	(12,236,185,0,1),
	(7,236,187,0,1),
	(8,236,187,0,1),
	(9,236,187,0,1),
	(10,236,187,0,1),
	(11,236,187,0,1),
	(12,236,187,0,1),
	(1,237,104,0,1),
	(2,237,104,0,1),
	(3,237,104,0,1),
	(4,237,104,0,1),
	(5,237,104,0,1),
	(6,237,104,0,1),
	(7,237,104,0,1),
	(1,237,105,0,1),
	(2,237,105,0,1),
	(3,237,105,0,1),
	(4,237,105,0,1),
	(5,237,105,0,1),
	(6,237,105,0,1),
	(7,237,105,0,1),
	(8,237,105,0,1),
	(9,237,105,0,1),
	(10,237,105,0,1),
	(11,237,105,0,1),
	(12,237,105,0,1),
	(13,237,105,0,1),
	(14,237,105,0,1),
	(15,237,105,0,1),
	(16,237,105,0,1),
	(17,237,105,0,1),
	(18,237,105,0,1),
	(1,237,106,0,1),
	(2,237,106,0,1),
	(3,237,106,0,1),
	(4,237,106,0,1),
	(5,237,106,0,1),
	(6,237,106,0,1),
	(7,237,106,0,1),
	(8,237,106,0,1),
	(9,237,106,0,1),
	(10,237,106,0,1),
	(11,237,106,0,1),
	(12,237,106,0,1),
	(13,237,106,0,1),
	(14,237,106,0,1),
	(15,237,106,0,1),
	(16,237,106,0,1),
	(17,237,106,0,1),
	(18,237,106,0,1),
	(1,237,111,0,1),
	(2,237,111,0,1),
	(3,237,111,0,1),
	(4,237,111,0,1),
	(5,237,111,0,1),
	(6,237,111,0,1),
	(7,237,111,0,1),
	(8,237,111,0,1),
	(9,237,111,0,1),
	(10,237,111,0,1),
	(11,237,111,0,1),
	(12,237,111,0,1),
	(13,237,111,0,1),
	(14,237,111,0,1),
	(15,237,111,0,1),
	(16,237,111,0,1),
	(17,237,111,0,1),
	(18,237,111,0,1),
	(1,237,113,0,1),
	(2,237,113,0,1),
	(3,237,113,0,1),
	(4,237,113,0,1),
	(5,237,113,0,1),
	(6,237,113,0,1),
	(7,237,113,0,1),
	(8,237,113,0,1),
	(9,237,113,0,1),
	(10,237,113,0,1),
	(11,237,113,0,1),
	(12,237,113,0,1),
	(13,237,113,0,1),
	(14,237,113,0,1),
	(15,237,113,0,1),
	(16,237,113,0,1),
	(17,237,113,0,1),
	(18,237,113,0,1),
	(1,237,118,0,1),
	(2,237,118,0,1),
	(3,237,118,0,1),
	(4,237,118,0,1),
	(5,237,118,0,1),
	(6,237,118,0,1),
	(7,237,118,0,1),
	(8,237,118,0,1),
	(9,237,118,0,1),
	(10,237,118,0,1),
	(11,237,118,0,1),
	(12,237,118,0,1),
	(13,237,118,0,1),
	(14,237,118,0,1),
	(15,237,118,0,1),
	(16,237,118,0,1),
	(17,237,118,0,1),
	(18,237,118,0,1),
	(1,237,121,0,1),
	(2,237,121,0,1),
	(3,237,121,0,1),
	(4,237,121,0,1),
	(5,237,121,0,1),
	(6,237,121,0,1),
	(7,237,121,0,1),
	(8,237,121,0,1),
	(9,237,121,0,1),
	(10,237,121,0,1),
	(11,237,121,0,1),
	(12,237,121,0,1),
	(13,237,121,0,1),
	(14,237,121,0,1),
	(15,237,121,0,1),
	(16,237,121,0,1),
	(17,237,121,0,1),
	(18,237,121,0,1),
	(1,237,122,0,1),
	(2,237,122,0,1),
	(3,237,122,0,1),
	(4,237,122,0,1),
	(5,237,122,0,1),
	(6,237,122,0,1),
	(7,237,122,0,1),
	(8,237,122,0,1),
	(9,237,122,0,1),
	(10,237,122,0,1),
	(11,237,122,0,1),
	(12,237,122,0,1),
	(13,237,122,0,1),
	(14,237,122,0,1),
	(15,237,122,0,1),
	(16,237,122,0,1),
	(17,237,122,0,1),
	(18,237,122,0,1),
	(10,237,134,0,1),
	(7,237,136,0,1),
	(8,237,136,0,1),
	(9,237,136,0,1),
	(10,237,136,0,1),
	(11,237,136,0,1),
	(8,237,173,0,1),
	(12,237,178,0,1),
	(13,237,178,0,1),
	(14,237,178,0,1),
	(15,237,178,0,1),
	(16,237,178,0,1),
	(17,237,178,0,1),
	(18,237,178,0,1),
	(6,237,183,0,1),
	(7,237,183,0,1),
	(8,237,183,0,1),
	(9,237,183,0,1),
	(10,237,183,0,1),
	(11,237,183,0,1),
	(12,237,185,0,1),
	(13,237,185,0,1),
	(14,237,185,0,1),
	(15,237,185,0,1),
	(16,237,185,0,1),
	(17,237,185,0,1),
	(18,237,185,0,1),
	(11,237,187,0,1),
	(12,237,187,0,1),
	(13,237,187,0,1),
	(14,237,187,0,1),
	(15,237,187,0,1),
	(16,237,187,0,1),
	(17,237,187,0,1),
	(18,237,187,0,1),
	(1,238,104,0,1),
	(2,238,104,0,1),
	(3,238,104,0,1),
	(4,238,104,0,1),
	(1,238,106,0,1),
	(2,238,106,0,1),
	(3,238,106,0,1),
	(4,238,106,0,1),
	(5,238,106,0,1),
	(6,238,106,0,1),
	(7,238,106,0,1),
	(8,238,106,0,1),
	(9,238,106,0,1),
	(10,238,106,0,1),
	(11,238,106,0,1),
	(12,238,106,0,1),
	(1,238,108,0,1),
	(2,238,108,0,1),
	(3,238,108,0,1),
	(4,238,108,0,1),
	(5,238,108,0,1),
	(6,238,108,0,1),
	(7,238,108,0,1),
	(8,238,108,0,1),
	(9,238,108,0,1),
	(10,238,108,0,1),
	(11,238,108,0,1),
	(12,238,108,0,1),
	(1,238,111,0,1),
	(2,238,111,0,1),
	(3,238,111,0,1),
	(4,238,111,0,1),
	(5,238,111,0,1),
	(6,238,111,0,1),
	(7,238,111,0,1),
	(8,238,111,0,1),
	(9,238,111,0,1),
	(10,238,111,0,1),
	(11,238,111,0,1),
	(12,238,111,0,1),
	(1,238,113,0,1),
	(2,238,113,0,1),
	(3,238,113,0,1),
	(4,238,113,0,1),
	(5,238,113,0,1),
	(6,238,113,0,1),
	(7,238,113,0,1),
	(8,238,113,0,1),
	(9,238,113,0,1),
	(10,238,113,0,1),
	(11,238,113,0,1),
	(12,238,113,0,1),
	(1,238,118,0,1),
	(2,238,118,0,1),
	(3,238,118,0,1),
	(4,238,118,0,1),
	(5,238,118,0,1),
	(6,238,118,0,1),
	(7,238,118,0,1),
	(8,238,118,0,1),
	(9,238,118,0,1),
	(10,238,118,0,1),
	(11,238,118,0,1),
	(12,238,118,0,1),
	(1,238,121,0,1),
	(2,238,121,0,1),
	(3,238,121,0,1),
	(4,238,121,0,1),
	(5,238,121,0,1),
	(6,238,121,0,1),
	(7,238,121,0,1),
	(8,238,121,0,1),
	(9,238,121,0,1),
	(10,238,121,0,1),
	(11,238,121,0,1),
	(12,238,121,0,1),
	(1,238,122,0,1),
	(2,238,122,0,1),
	(3,238,122,0,1),
	(4,238,122,0,1),
	(5,238,122,0,1),
	(6,238,122,0,1),
	(7,238,122,0,1),
	(8,238,122,0,1),
	(9,238,122,0,1),
	(10,238,122,0,1),
	(11,238,122,0,1),
	(12,238,122,0,1),
	(4,238,136,0,1),
	(5,238,136,0,1),
	(6,238,136,0,1),
	(7,238,136,0,1),
	(5,238,173,0,1),
	(8,238,178,0,1),
	(9,238,178,0,1),
	(10,238,178,0,1),
	(11,238,178,0,1),
	(12,238,178,0,1),
	(3,238,183,0,1),
	(4,238,183,0,1),
	(5,238,183,0,1),
	(6,238,183,0,1),
	(7,238,183,0,1),
	(8,238,185,0,1),
	(9,238,185,0,1),
	(10,238,185,0,1),
	(11,238,185,0,1),
	(12,238,185,0,1),
	(7,238,187,0,1),
	(8,238,187,0,1),
	(9,238,187,0,1),
	(10,238,187,0,1),
	(11,238,187,0,1),
	(12,238,187,0,1),
	(1,239,104,0,1),
	(2,239,104,0,1),
	(3,239,104,0,1),
	(4,239,104,0,1),
	(1,239,107,0,1),
	(2,239,107,0,1),
	(3,239,107,0,1),
	(4,239,107,0,1),
	(5,239,107,0,1),
	(6,239,107,0,1),
	(7,239,107,0,1),
	(8,239,107,0,1),
	(9,239,107,0,1),
	(10,239,107,0,1),
	(11,239,107,0,1),
	(1,239,109,0,1),
	(2,239,109,0,1),
	(3,239,109,0,1),
	(4,239,109,0,1),
	(5,239,109,0,1),
	(6,239,109,0,1),
	(7,239,109,0,1),
	(8,239,109,0,1),
	(9,239,109,0,1),
	(10,239,109,0,1),
	(11,239,109,0,1),
	(1,239,111,0,1),
	(2,239,111,0,1),
	(3,239,111,0,1),
	(4,239,111,0,1),
	(5,239,111,0,1),
	(6,239,111,0,1),
	(7,239,111,0,1),
	(8,239,111,0,1),
	(9,239,111,0,1),
	(10,239,111,0,1),
	(11,239,111,0,1),
	(1,239,113,0,1),
	(2,239,113,0,1),
	(3,239,113,0,1),
	(4,239,113,0,1),
	(5,239,113,0,1),
	(6,239,113,0,1),
	(7,239,113,0,1),
	(8,239,113,0,1),
	(9,239,113,0,1),
	(10,239,113,0,1),
	(11,239,113,0,1),
	(1,239,118,0,1),
	(2,239,118,0,1),
	(3,239,118,0,1),
	(4,239,118,0,1),
	(5,239,118,0,1),
	(6,239,118,0,1),
	(7,239,118,0,1),
	(8,239,118,0,1),
	(9,239,118,0,1),
	(10,239,118,0,1),
	(11,239,118,0,1),
	(1,239,121,0,1),
	(2,239,121,0,1),
	(3,239,121,0,1),
	(4,239,121,0,1),
	(5,239,121,0,1),
	(6,239,121,0,1),
	(7,239,121,0,1),
	(8,239,121,0,1),
	(9,239,121,0,1),
	(10,239,121,0,1),
	(11,239,121,0,1),
	(1,239,122,0,1),
	(2,239,122,0,1),
	(3,239,122,0,1),
	(4,239,122,0,1),
	(5,239,122,0,1),
	(6,239,122,0,1),
	(7,239,122,0,1),
	(8,239,122,0,1),
	(9,239,122,0,1),
	(10,239,122,0,1),
	(11,239,122,0,1),
	(4,239,136,0,1),
	(5,239,136,0,1),
	(6,239,136,0,1),
	(7,239,136,0,1),
	(5,239,174,0,1),
	(8,239,178,0,1),
	(9,239,178,0,1),
	(10,239,178,0,1),
	(11,239,178,0,1),
	(3,239,183,0,1),
	(4,239,183,0,1),
	(5,239,183,0,1),
	(6,239,183,0,1),
	(7,239,183,0,1),
	(8,239,185,0,1),
	(9,239,185,0,1),
	(10,239,185,0,1),
	(11,239,185,0,1),
	(7,239,187,0,1),
	(8,239,187,0,1),
	(9,239,187,0,1),
	(10,239,187,0,1),
	(11,239,187,0,1),
	(1,240,104,0,1),
	(2,240,104,0,1),
	(3,240,104,0,1),
	(4,240,104,0,1),
	(1,240,107,0,1),
	(2,240,107,0,1),
	(3,240,107,0,1),
	(4,240,107,0,1),
	(5,240,107,0,1),
	(6,240,107,0,1),
	(7,240,107,0,1),
	(8,240,107,0,1),
	(9,240,107,0,1),
	(10,240,107,0,1),
	(11,240,107,0,1),
	(1,240,110,0,1),
	(2,240,110,0,1),
	(3,240,110,0,1),
	(4,240,110,0,1),
	(5,240,110,0,1),
	(6,240,110,0,1),
	(7,240,110,0,1),
	(8,240,110,0,1),
	(9,240,110,0,1),
	(10,240,110,0,1),
	(11,240,110,0,1),
	(1,240,111,0,1),
	(2,240,111,0,1),
	(3,240,111,0,1),
	(4,240,111,0,1),
	(5,240,111,0,1),
	(6,240,111,0,1),
	(7,240,111,0,1),
	(8,240,111,0,1),
	(9,240,111,0,1),
	(10,240,111,0,1),
	(11,240,111,0,1),
	(1,240,112,0,1),
	(2,240,112,0,1),
	(3,240,112,0,1),
	(4,240,112,0,1),
	(5,240,112,0,1),
	(6,240,112,0,1),
	(7,240,112,0,1),
	(8,240,112,0,1),
	(9,240,112,0,1),
	(10,240,112,0,1),
	(11,240,112,0,1),
	(1,240,113,0,1),
	(2,240,113,0,1),
	(3,240,113,0,1),
	(4,240,113,0,1),
	(5,240,113,0,1),
	(6,240,113,0,1),
	(7,240,113,0,1),
	(8,240,113,0,1),
	(9,240,113,0,1),
	(10,240,113,0,1),
	(11,240,113,0,1),
	(1,240,121,0,1),
	(2,240,121,0,1),
	(3,240,121,0,1),
	(4,240,121,0,1),
	(5,240,121,0,1),
	(6,240,121,0,1),
	(7,240,121,0,1),
	(8,240,121,0,1),
	(9,240,121,0,1),
	(10,240,121,0,1),
	(11,240,121,0,1),
	(1,240,122,0,1),
	(2,240,122,0,1),
	(3,240,122,0,1),
	(4,240,122,0,1),
	(5,240,122,0,1),
	(6,240,122,0,1),
	(7,240,122,0,1),
	(8,240,122,0,1),
	(9,240,122,0,1),
	(10,240,122,0,1),
	(11,240,122,0,1),
	(4,240,136,0,1),
	(5,240,136,0,1),
	(6,240,136,0,1),
	(7,240,136,0,1),
	(5,240,174,0,1),
	(8,240,178,0,1),
	(9,240,178,0,1),
	(10,240,178,0,1),
	(11,240,178,0,1),
	(3,240,183,0,1),
	(4,240,183,0,1),
	(5,240,183,0,1),
	(6,240,183,0,1),
	(7,240,183,0,1),
	(8,240,185,0,1),
	(9,240,185,0,1),
	(10,240,185,0,1),
	(11,240,185,0,1),
	(7,240,187,0,1),
	(8,240,187,0,1),
	(9,240,187,0,1),
	(10,240,187,0,1),
	(11,240,187,0,1),
	(1,241,126,0,1),
	(2,241,126,0,1),
	(3,241,126,0,1),
	(1,241,130,0,1),
	(2,241,130,0,1),
	(3,241,130,0,1),
	(1,241,133,0,1),
	(2,241,133,0,1),
	(3,241,133,0,1),
	(1,241,134,0,1),
	(2,241,134,0,1),
	(3,241,134,0,1),
	(1,242,126,0,1),
	(2,242,126,0,1),
	(3,242,126,0,1),
	(1,242,129,0,1),
	(2,242,129,0,1),
	(3,242,129,0,1),
	(1,242,133,0,1),
	(2,242,133,0,1),
	(3,242,133,0,1),
	(1,242,134,0,1),
	(2,242,134,0,1),
	(3,242,134,0,1),
	(1,243,127,0,1),
	(2,243,127,0,1),
	(1,243,129,0,1),
	(2,243,129,0,1),
	(1,243,133,0,1),
	(2,243,133,0,1),
	(1,243,134,0,1),
	(2,243,134,0,1),
	(1,244,126,0,1),
	(2,244,126,0,1),
	(1,244,129,0,1),
	(2,244,129,0,1),
	(1,244,132,0,1),
	(2,244,132,0,1),
	(1,244,134,0,1),
	(2,244,134,0,1),
	(1,245,127,0,1),
	(2,245,127,0,1),
	(1,245,129,0,1),
	(2,245,129,0,1),
	(1,245,132,0,1),
	(2,245,132,0,1),
	(1,245,134,0,1),
	(2,245,134,0,1),
	(1,246,127,0,1),
	(2,246,127,0,1),
	(3,246,127,0,1),
	(1,246,129,0,1),
	(2,246,129,0,1),
	(3,246,129,0,1),
	(1,246,132,0,1),
	(2,246,133,0,1),
	(3,246,133,0,1),
	(1,246,134,0,1),
	(2,246,134,0,1),
	(3,246,134,0,1),
	(1,247,127,0,1),
	(2,247,127,0,1),
	(1,247,129,0,1),
	(2,247,129,0,1),
	(1,247,133,0,1),
	(2,247,133,0,1),
	(1,247,134,0,1),
	(2,247,134,0,1),
	(1,248,128,0,1),
	(2,248,128,0,1),
	(1,248,129,0,1),
	(2,248,129,0,1),
	(1,248,132,0,1),
	(2,248,132,0,1),
	(1,248,134,0,1),
	(2,248,134,0,1),
	(1,249,128,0,1),
	(2,249,128,0,1),
	(1,249,129,0,1),
	(2,249,129,0,1),
	(1,249,132,0,1),
	(2,249,132,0,1),
	(1,249,134,0,1),
	(2,249,134,0,1),
	(1,250,137,0,1),
	(2,250,137,0,1),
	(1,251,131,0,1),
	(2,251,131,0,1),
	(3,251,131,0,1),
	(2,252,100,0,1),
	(3,252,100,0,1),
	(4,252,100,0,1),
	(1,252,138,0,2),
	(2,252,138,0,2),
	(3,252,138,0,2),
	(4,252,138,0,2),
	(1,253,139,0,1),
	(2,253,139,0,1),
	(3,253,139,0,1),
	(4,253,139,0,1),
	(5,253,139,0,1),
	(6,253,139,0,1),
	(7,253,139,0,1),
	(1,253,140,0,1),
	(2,253,140,0,1),
	(3,253,140,0,1),
	(4,253,140,0,1),
	(5,253,140,0,1),
	(6,253,140,0,1),
	(7,253,140,0,1),
	(1,253,142,0,1),
	(1,253,143,0,1),
	(2,253,143,0,1),
	(3,253,143,0,1),
	(4,253,143,0,1),
	(5,253,143,0,1),
	(6,253,143,0,1),
	(7,253,143,0,1),
	(4,253,185,0,1),
	(5,253,185,0,1),
	(6,253,185,0,1),
	(7,253,185,0,1),
	(4,253,186,0,1),
	(5,253,186,0,1),
	(6,253,186,0,1),
	(7,253,186,0,1),
	(1,254,139,0,1),
	(2,254,139,0,1),
	(3,254,139,0,1),
	(4,254,139,0,1),
	(5,254,139,0,1),
	(6,254,139,0,1),
	(7,254,139,0,1),
	(1,254,140,0,1),
	(2,254,140,0,1),
	(3,254,140,0,1),
	(4,254,140,0,1),
	(5,254,140,0,1),
	(6,254,140,0,1),
	(7,254,140,0,1),
	(1,254,142,0,1),
	(1,254,143,0,1),
	(2,254,143,0,1),
	(3,254,143,0,1),
	(4,254,143,0,1),
	(5,254,143,0,1),
	(6,254,143,0,1),
	(7,254,143,0,1),
	(1,254,144,0,1),
	(2,254,144,0,1),
	(3,254,144,0,1),
	(4,254,144,0,1),
	(5,254,144,0,1),
	(6,254,144,0,1),
	(7,254,144,0,1),
	(4,254,185,0,1),
	(5,254,185,0,1),
	(6,254,185,0,1),
	(7,254,185,0,1),
	(4,254,186,0,1),
	(5,254,186,0,1),
	(6,254,186,0,1),
	(7,254,186,0,1),
	(1,255,139,0,1),
	(2,255,139,0,1),
	(3,255,139,0,1),
	(4,255,139,0,1),
	(5,255,139,0,1),
	(6,255,139,0,1),
	(7,255,139,0,1),
	(1,255,141,0,1),
	(2,255,141,0,1),
	(3,255,141,0,1),
	(4,255,141,0,1),
	(5,255,141,0,1),
	(6,255,141,0,1),
	(7,255,141,0,1),
	(1,255,142,0,1),
	(1,255,143,0,1),
	(2,255,143,0,1),
	(3,255,143,0,1),
	(4,255,143,0,1),
	(5,255,143,0,1),
	(6,255,143,0,1),
	(7,255,143,0,1),
	(1,255,144,0,1),
	(2,255,144,0,1),
	(3,255,144,0,1),
	(4,255,144,0,1),
	(5,255,144,0,1),
	(6,255,144,0,1),
	(7,255,144,0,1),
	(4,255,185,0,1),
	(5,255,185,0,1),
	(6,255,185,0,1),
	(7,255,185,0,1),
	(4,255,186,0,1),
	(5,255,186,0,1),
	(6,255,186,0,1),
	(7,255,186,0,1),
	(1,256,162,0,1),
	(2,256,162,0,1),
	(3,256,162,0,1),
	(4,256,162,0,1),
	(1,257,163,0,1),
	(2,257,163,0,1),
	(3,257,163,0,1),
	(1,258,145,0,1),
	(2,258,145,0,1),
	(3,258,145,0,1),
	(4,258,145,0,1),
	(5,258,145,0,1),
	(6,258,145,0,1),
	(7,258,145,0,1),
	(8,258,145,0,1),
	(9,258,145,0,1),
	(10,258,145,0,1),
	(11,258,145,0,1),
	(12,258,145,0,1),
	(13,258,145,0,1),
	(14,258,145,0,1),
	(15,258,145,0,1),
	(5,258,162,0,1),
	(6,258,162,0,1),
	(7,258,162,0,1),
	(8,258,162,0,1),
	(9,258,162,0,1),
	(10,258,162,0,1),
	(11,258,162,0,1),
	(12,258,162,0,1),
	(13,258,162,0,1),
	(14,258,162,0,1),
	(15,258,162,0,1),
	(5,258,163,0,1),
	(6,258,163,0,1),
	(7,258,163,0,1),
	(8,258,163,0,1),
	(9,258,163,0,1),
	(10,258,163,0,1),
	(11,258,163,0,1),
	(1,258,166,0,1),
	(2,258,166,0,1),
	(3,258,166,0,1),
	(4,258,166,0,1),
	(5,258,166,0,1),
	(6,258,166,0,1),
	(7,258,166,0,1),
	(8,258,166,0,1),
	(9,258,166,0,1),
	(10,258,166,0,1),
	(11,258,166,0,1),
	(12,258,166,0,1),
	(13,258,166,0,1),
	(14,258,166,0,1),
	(15,258,166,0,1),
	(1,259,139,0,1),
	(2,259,139,0,1),
	(3,259,139,0,1),
	(4,259,139,0,1),
	(5,259,139,0,1),
	(6,259,139,0,1),
	(7,259,139,0,1),
	(1,259,142,0,1),
	(1,259,143,0,1),
	(2,259,143,0,1),
	(3,259,143,0,1),
	(4,259,143,0,1),
	(5,259,143,0,1),
	(6,259,143,0,1),
	(7,259,143,0,1),
	(1,259,167,0,1),
	(2,259,167,0,1),
	(3,259,167,0,1),
	(4,259,167,0,1),
	(5,259,167,0,1),
	(6,259,167,0,1),
	(7,259,167,0,1),
	(4,259,185,0,1),
	(5,259,185,0,1),
	(6,259,185,0,1),
	(7,259,185,0,1),
	(4,259,186,0,1),
	(5,259,186,0,1),
	(6,259,186,0,1),
	(7,259,186,0,1),
	(1,260,142,0,1),
	(2,260,142,0,1),
	(3,260,142,0,1),
	(1,260,143,0,1),
	(2,260,143,0,1),
	(3,260,143,0,1),
	(1,261,158,0,1),
	(1,262,155,0,1),
	(1,263,156,0,1),
	(1,264,164,0,1),
	(2,264,164,0,1),
	(1,265,165,0,1),
	(2,265,165,0,1),
	(1,266,161,0,1),
	(2,266,161,0,1),
	(1,267,153,0,1),
	(2,267,153,0,1),
	(3,267,153,0,1),
	(1,268,154,0,1),
	(2,268,154,0,1),
	(3,268,154,0,1),
	(1,269,152,0,1),
	(1,270,159,0,1),
	(1,271,143,0,1),
	(2,271,143,0,1),
	(3,271,143,0,1),
	(1,271,168,0,1),
	(2,271,168,0,1),
	(3,271,168,0,1),
	(1,272,157,0,1),
	(2,272,157,0,1),
	(1,273,160,0,1),
	(1,274,151,0,1),
	(2,274,151,0,1),
	(1,275,169,0,1),
	(2,275,169,0,1),
	(3,275,169,0,1),
	(4,275,169,0,1),
	(1,276,135,0,1),
	(2,276,135,0,1),
	(3,276,135,0,1),
	(4,276,135,0,1),
	(1,277,136,0,1),
	(2,277,136,0,1),
	(3,277,136,0,1),
	(4,277,136,0,1),
	(5,277,136,0,1),
	(1,278,149,0,1),
	(2,278,149,0,1),
	(3,278,149,0,1),
	(4,278,149,0,1),
	(5,278,149,0,1),
	(2,278,164,0,2),
	(3,278,164,0,2),
	(4,278,164,0,2),
	(5,278,164,0,2),
	(2,278,165,0,1),
	(3,278,165,0,1),
	(4,278,165,0,1),
	(5,278,165,0,1),
	(1,278,166,0,1),
	(2,278,166,0,1),
	(3,278,166,0,1),
	(4,278,166,0,1),
	(5,278,166,0,1),
	(1,279,146,0,1),
	(2,279,146,0,1),
	(3,279,146,0,1),
	(4,279,146,0,1),
	(5,279,146,0,1),
	(6,279,146,0,1),
	(7,279,146,0,1),
	(2,279,162,0,1),
	(3,279,162,0,1),
	(2,279,163,0,1),
	(3,279,163,0,1),
	(4,279,164,0,1),
	(5,279,164,0,1),
	(6,279,164,0,1),
	(7,279,164,0,1),
	(4,279,165,0,1),
	(5,279,165,0,1),
	(6,279,165,0,1),
	(7,279,165,0,1),
	(1,279,166,0,1),
	(2,279,166,0,1),
	(3,279,166,0,1),
	(4,279,166,0,1),
	(5,279,166,0,1),
	(6,279,166,0,1),
	(7,279,166,0,1),
	(1,280,147,0,1),
	(2,280,147,0,1),
	(3,280,147,0,1),
	(4,280,147,0,1),
	(5,280,147,0,1),
	(6,280,147,0,1),
	(7,280,147,0,1),
	(8,280,147,0,1),
	(2,280,164,0,2),
	(3,280,164,0,2),
	(4,280,164,0,2),
	(5,280,164,0,2),
	(6,280,164,0,2),
	(7,280,164,0,2),
	(8,280,164,0,2),
	(2,280,165,0,1),
	(3,280,165,0,1),
	(4,280,165,0,1),
	(5,280,165,0,1),
	(6,280,165,0,1),
	(7,280,165,0,1),
	(8,280,165,0,1),
	(1,280,166,0,1),
	(2,280,166,0,1),
	(3,280,166,0,1),
	(4,280,166,0,1),
	(5,280,166,0,1),
	(6,280,166,0,1),
	(7,280,166,0,1),
	(8,280,166,0,1),
	(1,281,148,0,1),
	(2,281,148,0,1),
	(3,281,148,0,1),
	(4,281,148,0,1),
	(5,281,148,0,1),
	(6,281,148,0,1),
	(3,281,164,0,2),
	(4,281,164,0,2),
	(5,281,164,0,2),
	(6,281,164,0,2),
	(3,281,165,0,1),
	(4,281,165,0,1),
	(5,281,165,0,1),
	(6,281,165,0,1),
	(1,281,166,0,1),
	(2,281,166,0,1),
	(3,281,166,0,1),
	(4,281,166,0,1),
	(5,281,166,0,1),
	(6,281,166,0,1),
	(1,282,150,0,1),
	(2,282,150,0,1),
	(3,282,150,0,1),
	(4,282,150,0,1),
	(5,282,150,0,1),
	(6,282,150,0,1),
	(7,282,150,0,1),
	(8,282,150,0,1),
	(9,282,150,0,1),
	(3,282,164,0,1),
	(4,282,164,0,1),
	(5,282,164,0,1),
	(6,282,164,0,1),
	(7,282,164,0,1),
	(8,282,164,0,1),
	(9,282,164,0,1),
	(3,282,165,0,1),
	(4,282,165,0,1),
	(5,282,165,0,1),
	(6,282,165,0,1),
	(7,282,165,0,1),
	(8,282,165,0,1),
	(9,282,165,0,1),
	(1,282,166,0,1),
	(2,282,166,0,1),
	(3,282,166,0,1),
	(4,282,166,0,1),
	(5,282,166,0,1),
	(6,282,166,0,1),
	(7,282,166,0,1),
	(8,282,166,0,1),
	(9,282,166,0,1),
	(1,283,104,0,1),
	(2,283,184,0,1),
	(3,283,184,0,1),
	(4,283,184,0,1),
	(1,284,170,0,1),
	(2,284,170,0,1),
	(1,285,171,0,1),
	(2,285,171,0,1),
	(1,286,175,0,1),
	(2,286,175,0,1),
	(1,287,176,0,1),
	(2,287,176,0,1),
	(1,288,173,0,1),
	(2,288,173,0,1),
	(3,288,173,0,1),
	(4,288,173,0,1),
	(1,289,174,0,1),
	(2,289,174,0,1),
	(1,290,172,0,1),
	(2,290,172,0,1),
	(1,291,163,0,1),
	(1,292,185,0,1),
	(2,292,185,0,1),
	(2,293,185,0,1),
	(1,293,186,0,1),
	(2,293,186,0,1),
	(1,294,188,0,1),
	(2,294,188,0,1),
	(3,294,188,0,1),
	(4,294,188,0,1),
	(1,294,191,0,1),
	(2,294,191,0,1),
	(3,294,191,0,1),
	(4,294,191,0,1),
	(1,295,188,0,1),
	(2,295,188,0,1),
	(3,295,188,0,1),
	(4,295,188,0,1),
	(1,295,191,0,1),
	(2,295,191,0,1),
	(3,295,191,0,1),
	(4,295,191,0,1),
	(1,296,190,0,1),
	(2,296,190,0,1),
	(3,296,190,0,1),
	(4,296,190,0,1),
	(1,297,123,0,1),
	(2,297,123,0,1),
	(1,298,183,0,1),
	(2,298,183,0,1),
	(3,298,183,0,1),
	(4,298,183,0,1),
	(5,298,183,0,1),
	(6,298,183,0,1),
	(7,298,183,0,1),
	(8,298,183,0,1),
	(9,298,183,0,1),
	(10,298,183,0,1),
	(11,298,183,0,1),
	(12,298,183,0,1),
	(13,298,183,0,1),
	(1,299,195,0,1),
	(2,299,195,0,1),
	(3,299,195,0,1),
	(1,300,183,0,1),
	(2,300,183,0,1),
	(3,300,183,0,1),
	(4,300,183,0,1),
	(6,300,183,0,1),
	(1,300,196,0,1),
	(2,300,196,0,1),
	(3,300,196,0,1),
	(4,300,196,0,1),
	(5,300,196,0,1),
	(6,300,196,0,1),
	(1,300,197,0,1),
	(2,300,197,0,1),
	(3,300,197,0,1),
	(4,300,197,0,1),
	(5,300,197,0,1),
	(6,300,197,0,1),
	(1,300,198,0,1),
	(2,300,198,0,1),
	(3,300,198,0,1),
	(4,300,198,0,1),
	(5,300,198,0,1),
	(6,300,198,0,1),
	(1,300,199,0,1),
	(2,300,199,0,1),
	(3,300,199,0,1),
	(4,300,199,0,1),
	(5,300,199,0,1),
	(6,300,199,0,1),
	(1,300,200,0,1),
	(2,300,200,0,1),
	(3,300,200,0,1),
	(4,300,200,0,1),
	(5,300,200,0,1),
	(6,300,200,0,1),
	(1,300,201,0,1),
	(2,300,201,0,1),
	(3,300,201,0,1),
	(4,300,201,0,1),
	(5,300,201,0,1),
	(6,300,201,0,1),
	(1,301,184,0,1),
	(2,301,184,0,1),
	(3,301,184,0,1),
	(4,301,184,0,1),
	(5,301,184,0,1),
	(1,301,202,0,1),
	(2,301,202,0,1),
	(3,301,202,0,1),
	(4,301,202,0,1),
	(5,301,202,0,1),
	(1,301,203,0,1),
	(2,301,203,0,1),
	(3,301,203,0,1),
	(4,301,203,0,1),
	(5,301,203,0,1),
	(1,301,204,0,1),
	(2,301,204,0,1),
	(3,301,204,0,1),
	(4,301,204,0,1),
	(5,301,204,0,1),
	(1,301,205,0,1),
	(2,301,205,0,1),
	(3,301,205,0,1),
	(4,301,205,0,1),
	(5,301,205,0,1),
	(1,302,183,0,1),
	(1,302,196,0,1),
	(2,302,196,0,1),
	(3,302,196,0,1),
	(4,302,196,0,1),
	(5,302,196,0,1),
	(6,302,196,0,1),
	(7,302,196,0,1),
	(1,302,197,0,1),
	(2,302,197,0,1),
	(3,302,197,0,1),
	(4,302,197,0,1),
	(5,302,197,0,1),
	(6,302,197,0,1),
	(7,302,197,0,1),
	(1,302,198,0,1),
	(2,302,198,0,1),
	(3,302,198,0,1),
	(4,302,198,0,1),
	(5,302,198,0,1),
	(6,302,198,0,1),
	(7,302,198,0,1),
	(1,302,199,0,1),
	(2,302,199,0,1),
	(3,302,199,0,1),
	(4,302,199,0,1),
	(5,302,199,0,1),
	(6,302,199,0,1),
	(7,302,199,0,1),
	(1,302,200,0,1),
	(2,302,200,0,1),
	(3,302,200,0,1),
	(4,302,200,0,1),
	(5,302,200,0,1),
	(6,302,200,0,1),
	(7,302,200,0,1),
	(1,302,201,0,1),
	(2,302,201,0,1),
	(3,302,201,0,1),
	(4,302,201,0,1),
	(5,302,201,0,1),
	(6,302,201,0,1),
	(7,302,201,0,1),
	(1,303,90,0,1),
	(1,303,116,0,1),
	(1,303,172,0,1),
	(1,303,180,0,1),
	(1,303,198,0,1),
	(1,304,181,0,1),
	(2,304,181,0,1),
	(3,304,206,0,1),
	(4,304,206,0,1),
	(5,304,206,0,1),
	(6,304,206,0,1),
	(5,305,104,0,1),
	(1,305,193,0,1),
	(2,305,193,0,1),
	(3,305,193,0,1),
	(4,305,193,0,1),
	(5,305,193,0,1),
	(3,305,208,0,1),
	(4,305,208,0,1),
	(5,305,208,0,1);

/*!40000 ALTER TABLE `rel_package_products` ENABLE KEYS */;
UNLOCK TABLES;


# Dump of table rel_process_steps
# ------------------------------------------------------------

DROP TABLE IF EXISTS `rel_process_steps`;

CREATE TABLE `rel_process_steps` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `idProcess` int(11) NOT NULL,
  `processInstance` int(11) NOT NULL DEFAULT '1',
  `idStep` int(11) NOT NULL,
  `idParent` int(11) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  KEY `process_step_idx` (`idProcess`),
  KEY `step_process_idx` (`idStep`),
  CONSTRAINT `process_step` FOREIGN KEY (`idProcess`) REFERENCES `processes` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `step_process` FOREIGN KEY (`idStep`) REFERENCES `process_step` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

LOCK TABLES `rel_process_steps` WRITE;
/*!40000 ALTER TABLE `rel_process_steps` DISABLE KEYS */;

INSERT INTO `rel_process_steps` (`id`, `idProcess`, `processInstance`, `idStep`, `idParent`)
VALUES
	(536,122,1,1,0),
	(537,122,1,2,536),
	(538,122,1,90,537),
	(539,122,1,91,538),
	(540,122,1,92,539),
	(541,122,1,93,540),
	(542,122,1,94,541),
	(543,122,1,95,542),
	(544,122,1,96,543),
	(545,122,1,97,544),
	(546,122,1,98,545),
	(547,122,1,99,546),
	(548,123,1,1,0),
	(549,123,1,2,548),
	(550,123,1,90,549),
	(551,123,1,93,550),
	(552,123,1,94,551),
	(553,123,1,95,552),
	(554,123,1,96,553),
	(555,123,1,97,554),
	(556,123,1,98,555),
	(557,123,1,99,556),
	(558,124,1,1,0),
	(559,124,1,2,558),
	(560,124,1,90,559),
	(561,124,1,102,560),
	(562,124,1,93,561),
	(563,124,1,104,562),
	(564,125,1,1,0),
	(565,125,1,2,564),
	(566,125,1,90,565),
	(567,125,1,93,566),
	(568,125,1,94,567),
	(569,125,1,96,568),
	(570,125,1,97,569),
	(571,125,1,98,570),
	(572,125,1,104,571),
	(573,124,2,1,0),
	(574,124,2,2,573),
	(575,124,2,90,574),
	(576,124,2,102,575),
	(577,124,2,93,576),
	(578,124,2,103,577);

/*!40000 ALTER TABLE `rel_process_steps` ENABLE KEYS */;
UNLOCK TABLES;


# Dump of table rel_product_documents
# ------------------------------------------------------------

DROP TABLE IF EXISTS `rel_product_documents`;

CREATE TABLE `rel_product_documents` (
  `idProduct` int(11) NOT NULL,
  `idDocument` int(11) NOT NULL,
  PRIMARY KEY (`idProduct`,`idDocument`),
  KEY `fk_document_product_idx` (`idDocument`),
  CONSTRAINT `fk_document_product` FOREIGN KEY (`idDocument`) REFERENCES `documents` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `fk_product_document` FOREIGN KEY (`idProduct`) REFERENCES `suppliers_countries_products` (`idProduct`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

LOCK TABLES `rel_product_documents` WRITE;
/*!40000 ALTER TABLE `rel_product_documents` DISABLE KEYS */;

INSERT INTO `rel_product_documents` (`idProduct`, `idDocument`)
VALUES
	(138,172);

/*!40000 ALTER TABLE `rel_product_documents` ENABLE KEYS */;
UNLOCK TABLES;


# Dump of table rel_step_comments
# ------------------------------------------------------------

DROP TABLE IF EXISTS `rel_step_comments`;

CREATE TABLE `rel_step_comments` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `idProcessStep` int(11) NOT NULL,
  `idOrder` int(11) NOT NULL,
  `idPackage` int(11) DEFAULT NULL,
  `idUser` int(11) NOT NULL,
  `comment` varchar(700) NOT NULL,
  `isVisible` int(1) DEFAULT '1',
  `addDate` datetime DEFAULT CURRENT_TIMESTAMP,
  `type` varchar(40) DEFAULT 'stepComment',
  PRIMARY KEY (`id`),
  KEY `idProcessStep` (`idProcessStep`),
  KEY `idOrder` (`idOrder`),
  KEY `rel_user_comment_idx` (`idUser`),
  KEY `rel_step_comments_ibfk_3` (`idPackage`),
  CONSTRAINT `rel_step_comments_ibfk_1` FOREIGN KEY (`idProcessStep`) REFERENCES `rel_process_steps` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `rel_step_comments_ibfk_2` FOREIGN KEY (`idOrder`) REFERENCES `orders` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `rel_step_comments_ibfk_3` FOREIGN KEY (`idPackage`) REFERENCES `packages` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `rel_user_comment` FOREIGN KEY (`idUser`) REFERENCES `users` (`id`) ON DELETE NO ACTION ON UPDATE NO ACTION
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

LOCK TABLES `rel_step_comments` WRITE;
/*!40000 ALTER TABLE `rel_step_comments` DISABLE KEYS */;

INSERT INTO `rel_step_comments` (`id`, `idProcessStep`, `idOrder`, `idPackage`, `idUser`, `comment`, `isVisible`, `addDate`, `type`)
VALUES
	(7,550,179,239,37,'Jag kan inte se att kontaktperson för nätverksfrågor finns angivet. Vill ni vara snälla och komplettera med namn, telefon och e-mail till den som kan svara på nätverksfrågor.',1,'2018-03-19 12:53:03','invalidQuestionnaireComment'),
	(8,538,194,NULL,37,'Skall dessa IWB:er övervakas via DMNX-servern, som de andra?',1,'2018-05-23 09:28:36','stepComment'),
	(9,538,194,NULL,63,'Önskas Pen Sensor till dessa IWB:er eller vill ni köra utan som på de flesta andra i Kista?',1,'2018-05-24 09:24:22','stepComment'),
	(10,539,194,NULL,63,'Hej, \nAvtalet skickas inom kort för signering. \n\nDet kommer dyka upp leveranser denna vecka på angiven adress (stativ x 5, IWB x5, remote license x 5). Installatör är bokad till mån och tis 4/5 juni.',1,'2018-05-29 12:20:38','stepComment'),
	(11,539,194,NULL,63,'Avtalet har nu skickats via mejl för signering.',1,'2018-05-30 08:49:55','stepComment');

/*!40000 ALTER TABLE `rel_step_comments` ENABLE KEYS */;
UNLOCK TABLES;


# Dump of table rel_user_type
# ------------------------------------------------------------

DROP TABLE IF EXISTS `rel_user_type`;

CREATE TABLE `rel_user_type` (
  `idUser` int(99) NOT NULL,
  `idType` int(99) NOT NULL,
  PRIMARY KEY (`idUser`,`idType`),
  KEY `rel_user_type_ibfk_2` (`idType`),
  CONSTRAINT `rel_user_type_ibfk_1` FOREIGN KEY (`idUser`) REFERENCES `users` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `rel_user_type_ibfk_2` FOREIGN KEY (`idType`) REFERENCES `user_types` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

LOCK TABLES `rel_user_type` WRITE;
/*!40000 ALTER TABLE `rel_user_type` DISABLE KEYS */;

INSERT INTO `rel_user_type` (`idUser`, `idType`)
VALUES
	(1,1),
	(37,1),
	(63,1),
	(75,1),
	(53,2),
	(56,2),
	(57,2),
	(61,2),
	(62,2),
	(68,2),
	(69,2),
	(70,2),
	(71,2),
	(72,2),
	(74,2),
	(76,2),
	(78,2),
	(52,3),
	(55,3),
	(60,3),
	(66,3),
	(54,4),
	(58,4),
	(59,4),
	(64,4),
	(65,4),
	(67,4),
	(77,4);

/*!40000 ALTER TABLE `rel_user_type` ENABLE KEYS */;
UNLOCK TABLES;


# Dump of table rel_user_types_gadgets
# ------------------------------------------------------------

DROP TABLE IF EXISTS `rel_user_types_gadgets`;

CREATE TABLE `rel_user_types_gadgets` (
  `idUserType` int(11) NOT NULL,
  `idGadget` int(11) NOT NULL,
  PRIMARY KEY (`idUserType`,`idGadget`),
  KEY `idGadget` (`idGadget`),
  CONSTRAINT `rel_user_types_gadgets_ibfk_1` FOREIGN KEY (`idUserType`) REFERENCES `user_types` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `rel_user_types_gadgets_ibfk_2` FOREIGN KEY (`idGadget`) REFERENCES `gadgets` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

LOCK TABLES `rel_user_types_gadgets` WRITE;
/*!40000 ALTER TABLE `rel_user_types_gadgets` DISABLE KEYS */;

INSERT INTO `rel_user_types_gadgets` (`idUserType`, `idGadget`)
VALUES
	(1,1),
	(1,2),
	(2,3),
	(3,4),
	(2,5),
	(1,6);

/*!40000 ALTER TABLE `rel_user_types_gadgets` ENABLE KEYS */;
UNLOCK TABLES;


# Dump of table rel_user_types_modules
# ------------------------------------------------------------

DROP TABLE IF EXISTS `rel_user_types_modules`;

CREATE TABLE `rel_user_types_modules` (
  `idUserType` int(99) NOT NULL,
  `idModule` int(4) NOT NULL,
  `idVersion` char(2) NOT NULL DEFAULT 'v1',
  PRIMARY KEY (`idUserType`,`idModule`,`idVersion`),
  KEY `rel_user_types_modules_ibfk_2_idx` (`idModule`),
  CONSTRAINT `rel_user_types_modules_ibfk_1` FOREIGN KEY (`idUserType`) REFERENCES `user_types` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `rel_user_types_modules_ibfk_2` FOREIGN KEY (`idModule`) REFERENCES `modules` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

LOCK TABLES `rel_user_types_modules` WRITE;
/*!40000 ALTER TABLE `rel_user_types_modules` DISABLE KEYS */;

INSERT INTO `rel_user_types_modules` (`idUserType`, `idModule`, `idVersion`)
VALUES
	(1,1,'v1'),
	(2,1,'v1'),
	(2,1,'v2'),
	(3,1,'v1'),
	(4,1,'v1'),
	(1,2,'v1'),
	(1,3,'v1'),
	(3,3,'v1'),
	(1,5,'v1'),
	(2,5,'v1'),
	(3,5,'v1'),
	(4,5,'v1'),
	(1,7,'v1'),
	(1,10,'v1'),
	(2,11,'v1'),
	(1,12,'v1'),
	(1,13,'v1'),
	(2,13,'v1'),
	(3,13,'v1'),
	(1,14,'v1'),
	(2,14,'v1'),
	(2,14,'v2'),
	(3,14,'v1'),
	(1,15,'v1'),
	(2,15,'v1'),
	(2,15,'v2'),
	(3,15,'v1'),
	(1,16,'v1'),
	(3,16,'v1'),
	(1,17,'v1'),
	(2,18,'v2'),
	(2,19,'v2'),
	(3,20,'v1'),
	(1,21,'v1'),
	(1,22,'v1'),
	(3,22,'v1'),
	(1,23,'v1'),
	(2,23,'v2');

/*!40000 ALTER TABLE `rel_user_types_modules` ENABLE KEYS */;
UNLOCK TABLES;


# Dump of table supplier_bids
# ------------------------------------------------------------

DROP TABLE IF EXISTS `supplier_bids`;

CREATE TABLE `supplier_bids` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `idProduct` int(11) NOT NULL,
  `bidNumber` varchar(200) NOT NULL,
  PRIMARY KEY (`id`),
  KEY `fk_products_idProduct_idx` (`idProduct`),
  CONSTRAINT `fk_products_idProduct` FOREIGN KEY (`idProduct`) REFERENCES `suppliers_countries_products` (`idProduct`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8;



# Dump of table suppliers
# ------------------------------------------------------------

DROP TABLE IF EXISTS `suppliers`;

CREATE TABLE `suppliers` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `idUser` int(99) DEFAULT NULL,
  `name` varchar(70) NOT NULL,
  `phone` varchar(40) DEFAULT NULL,
  `addressId` int(11) DEFAULT NULL,
  `contactPerson` varchar(300) DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `name_UNIQUE` (`name`),
  KEY `fk_supplier_user_idx` (`idUser`),
  CONSTRAINT `fk_supplier_user` FOREIGN KEY (`idUser`) REFERENCES `users` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

LOCK TABLES `suppliers` WRITE;
/*!40000 ALTER TABLE `suppliers` DISABLE KEYS */;

INSERT INTO `suppliers` (`id`, `idUser`, `name`, `phone`, `addressId`, `contactPerson`)
VALUES
	(106,54,'Ricoh SE (supplier)','111',NULL,NULL),
	(107,58,'Per (Xelent)','1',NULL,NULL),
	(108,59,'Specialelektronik (admin)','1',NULL,NULL),
	(109,64,'TechData','1',NULL,NULL),
	(110,65,'Ricoh SE (pre-wiaas orders)','1',NULL,NULL),
	(111,67,'Co-Ideation admin','+46704153181',NULL,NULL),
	(112,77,'Flowscape','1',NULL,NULL);

/*!40000 ALTER TABLE `suppliers` ENABLE KEYS */;
UNLOCK TABLES;


# Dump of table suppliers_countries_products
# ------------------------------------------------------------

DROP TABLE IF EXISTS `suppliers_countries_products`;

CREATE TABLE `suppliers_countries_products` (
  `idProduct` int(11) NOT NULL AUTO_INCREMENT,
  `idCountry` int(11) NOT NULL,
  `idSupplier` int(11) NOT NULL,
  `idProductCategory` int(11) DEFAULT NULL,
  `unitCostPrice` decimal(10,2) DEFAULT NULL,
  `unitVatCost` decimal(10,2) DEFAULT '0.00',
  `productName` varchar(70) DEFAULT NULL,
  `productDescription` varchar(500) DEFAULT NULL,
  `manufacturerProductNo` varchar(45) DEFAULT NULL,
  `supplierProductNo` varchar(45) DEFAULT NULL,
  `unit` varchar(10) DEFAULT NULL,
  `isPriceRecurring` tinyint(1) DEFAULT '0',
  `payPeriod` int(11) DEFAULT '0',
  `isAvailable` tinyint(1) DEFAULT '1',
  PRIMARY KEY (`idProduct`),
  UNIQUE KEY `uniqe_product` (`idCountry`,`idSupplier`,`productName`),
  KEY `country_supplier_idx` (`idCountry`),
  KEY `fk_sup_prod_idx` (`idSupplier`),
  KEY `product_category` (`idProductCategory`),
  CONSTRAINT `country_supplier` FOREIGN KEY (`idCountry`) REFERENCES `countries` (`id`) ON DELETE NO ACTION ON UPDATE NO ACTION,
  CONSTRAINT `fk_sup_prod` FOREIGN KEY (`idSupplier`) REFERENCES `suppliers` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `product_category` FOREIGN KEY (`idProductCategory`) REFERENCES `product_categories` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

LOCK TABLES `suppliers_countries_products` WRITE;
/*!40000 ALTER TABLE `suppliers_countries_products` DISABLE KEYS */;

INSERT INTO `suppliers_countries_products` (`idProduct`, `idCountry`, `idSupplier`, `idProductCategory`, `unitCostPrice`, `unitVatCost`, `productName`, `productDescription`, `manufacturerProductNo`, `supplierProductNo`, `unit`, `isPriceRecurring`, `payPeriod`, `isAvailable`)
VALUES
	(81,2,106,1,48125.00,0.00,'Polycom RPG500 720p with EagleEyeIV-12x camera','Polycom RPG500 720p with EagleEyeIV-12x camera','7200-64250-101','IT1008429','pc',0,0,1),
	(82,2,106,4,19886.41,0.00,'Serviceavtal Polycom 3year RPG500 EagleEyeIV-12x camera','Serviceavtal Polycom 3year RPG500 EagleEyeIV-12x camera','4870-64250-312','IT1008423','pc',0,0,1),
	(83,2,106,1,406.44,0.00,'SMS X Conf Camera Shelf Wall','SMS X Conf Camera Shelf Wall','PD300012-P0','IT0003149','pc',0,0,1),
	(84,2,106,1,657.00,0.00,'Multi Display Wall','Multi Display Wall','PW010001','Unknown','pc',0,0,1),
	(85,2,106,1,469.00,0.00,'Multi Display Wall Pillar 1x2meter','Multi Display Wall Pillar 1x2meter','PW010016','Unknown','pc',0,0,1),
	(86,2,106,1,19439.00,0.00,'65IN LED 1920X1080 V652 DVI HDMI RGBHV IN','65IN LED 1920X1080 V652 DVI HDMI RGBHV IN','60003395','IT1001227','pc',0,0,1),
	(87,2,106,1,4177.00,0.00,'SPEAKERSET SP-65SM 2X40W FOR V652 AND V652-TM IN','SPEAKERSET SP-65SM 2X40W FOR V652 AND V652-TM IN','100013556','IT1021461','pc',0,0,1),
	(88,2,106,1,430.84,0.00,'SMS X Conf Codec Shelf Wall','SMS X Conf Codec Shelf Wall','PD300013-P0','IT0003821','pc',0,0,1),
	(89,2,106,1,523.50,0.00,'Floor cable channel, 2m','Floor cable channel, 2m','BAC-GK-200','IT0005903','pc',0,0,1),
	(90,2,106,1,675.00,0.00,'HDMI adapters for attachment to HDMI cable','HDMI adapters for attachment to HDMI cable','DL-AR653','IT1043501','pc',0,0,1),
	(91,2,106,2,0.00,0.00,'Group Series RTV/CCCP License.','Group Series RTV/CCCP License. Enables MSFT RTV codec o AV MCU interop.','5150-65083-001','IT1000837','pc',0,0,1),
	(92,2,106,1,8746.00,0.00,'Polycom RealPresence Touch','Polycom RealPresence Touch for use with Group Series models.','8200-84190-001','IT1041720','pc',0,0,1),
	(93,2,106,1,584.49,0.00,'Power supply - SoundStation IP 6000 / Touch Control','Power supply - for SoundStation IP 6000 and  Touch Control','2200-42740-122','IT0000284','pc',0,0,1),
	(94,2,106,4,3735.89,0.00,'Service agreement Polycom 3year Touch Control','Service agreement Polycom 3year Touch Control','4870-84910-312','IT1026510','pc',0,0,1),
	(95,2,106,4,1250.00,0.00,'Communication equipment shipping within Sweden','Communication equipment shipping within Sweden','RSEVUC0027','RSEVUC0027','pc',0,0,1),
	(96,2,106,4,150.00,0.00,'On-site service for video system (Polycom/Cisco)','On-site service for video system (Polycom/Cisco)','RSE970441','RSE970441','month',1,1,1),
	(97,2,106,4,200.00,0.00,'End-user support for video system','End-user support for video system','RSE970454','RSE970454','Month',1,1,1),
	(98,2,106,5,10000.00,0.00,'Video system installation','Video system installation','Dummy1','Dummy1','inst',0,0,1),
	(99,2,106,1,5553.56,0.00,'Wheel stand for dual screens','Wheel stand for dual screens','FMN032001-P0','IT1018840','pc',0,0,1),
	(100,2,106,1,13118.00,0.00,'55IN LED 1920X1080 V552  450CD/M2  DVI VGA HDMI  IN','55IN LED 1920X1080 V552  450CD/M2  DVI VGA HDMI  IN','60004035','IT1041703','pc',0,0,1),
	(101,2,106,1,3988.00,0.00,'NEC SP-554SM - högtalare - for monitor','NEC SP-554SM - högtalare - for monitor','100014633','IT1067165','pc',0,0,1),
	(102,2,106,1,9400.00,0.00,'V484 120.9CM 48IN FHD LFD OPS SLOT 24/7 LED GR','V484 120.9CM 48IN FHD LFD OPS SLOT 24/7 LED GR','60004034','IT1038533','pc',0,0,1),
	(103,2,106,1,3709.00,0.00,'NEC SP-484SM - högtalare - for monitor','NEC SP-484SM - högtalare - for monitor','100014632','IT1067167','pc',0,0,1),
	(104,2,107,5,0.00,0.00,'Installation arrears','Installation not included in the package price. No fixed price. To be paid in arrears.','Installation','Installation','hour',0,0,1),
	(105,2,106,1,16267.00,0.00,'RICOH IWB D5520','IWB 55\"','432205','NA','pc',0,0,1),
	(106,2,108,1,804.00,0.00,'Väggfäste Fusion 55\" och 65\"','Wall mount for IWB 55\" and 65\"','CHF-LSA1U','CHF-LSA1U','pc',0,0,1),
	(107,2,108,1,1347.00,0.00,'Väggfäste Fusion 75\" och 84\"','Wall mount for IWB 75\" and 84\"','CHF-XSM1U','CHF-XSM1U','pc',0,0,1),
	(108,2,109,1,21511.00,0.00,'RICOH IWB D6510','IWB 65\"','432211','NA','pc',0,0,1),
	(109,2,109,1,35638.00,0.00,'RICOH IWB D7500','IWB 75\"','432223','NA','pc',0,0,1),
	(110,2,109,1,65102.00,0.00,'RICOH IWB D8400','IWB 84\"','432099','NA','pc',0,0,1),
	(111,2,109,1,11483.00,0.00,'RICOH IWB Controller Type 2','Controller for IWB','432318','NA','pc',0,0,1),
	(112,2,109,1,1530.00,0.00,'RICOH IWB Pen Sensor Kit Type 2','Pen Sensor for IWB 84\"','432073','NA','pc',0,0,1),
	(113,2,109,2,4205.00,0.00,'RICOH IWB Remote License Type 1','License for remote collaboration','431128','NA','pc',0,0,1),
	(114,2,109,1,3189.00,0.00,'IWB Stand Type 4  (Box 1/2)','Wheel Stand for IWB 75\"','432261','NA','pc',0,0,1),
	(115,2,109,1,4784.00,0.00,'IWB Stand Type 4  (Box 2/2)','Wheel Stand for IWB 75\"','432262','NA','pc',0,0,1),
	(116,2,109,1,2076.00,0.00,'IWB Stand Type 3  (Box 1/2)','Wheel Stand for IWB 65\"','432069','NA','pc',0,0,1),
	(117,2,109,1,3125.00,0.00,'IWB Stand Type 3  (Box 2/2)','Wheel Stand for IWB 65\"','432070','NA','pc',0,0,1),
	(118,2,109,1,1402.00,0.00,'RICOH IWB Pen Sensor Kit Type 3','Pen Sensor for IWB 55\" 65\" 75\"','432219','NA','pc',0,0,1),
	(119,2,109,1,14683.00,0.00,'RICOH IWB D2200','IWB 22\"','432132','NA','pc',0,0,1),
	(120,2,109,1,10302.00,0.00,'Ricoh UCS P3500M','Mobile videoconference system','432094','NA','pc',0,0,1),
	(121,2,109,1,1613.00,0.00,'Logitech Brio 4K','Camera unit for IWB','960-001106','4099910','pc',0,0,1),
	(122,2,109,1,1412.00,0.00,'Camera Holder','Kamerahållare för Ricoh IWB, för Logitech Brio. Vit/svart.','DD-IWB-CAMHOLD-BRIO','NA','pc',0,0,1),
	(123,2,109,1,16267.00,0.00,'RICOH IWB D5520','IWB 55\"','432205','432205','pc',0,0,1),
	(124,2,109,1,804.00,0.00,'Väggfäste Fusion 55\" och 65\"','Wall mount for IWB 55\" and 65\"','CHF-LSA1U','CHF-LSA1U','pc',0,0,1),
	(125,2,109,1,1347.00,0.00,'Väggfäste Fusion 75\" och 84\"','Wall mount for IWB 75\" and 84\"','CHF-XSM1U','CHF-XSM1U','pc',0,0,1),
	(126,2,110,1,1.00,0.00,'IWB 84\"','Interactive Whiteboard 84\" (Various models)','RO001','RO001','pc',0,0,1),
	(127,2,110,1,1.00,0.00,'RICOH IWB 65\"','Interactive Whiteboard 65\" (Various models)','RO002','RO002','pc',0,0,1),
	(128,2,110,1,1.00,0.00,'RICOH IWB 55\"','Interactive Whiteboard 55\" (Various models)','RO003','RO003','pc',0,0,1),
	(129,2,110,1,1.00,0.00,'Webcam 930','Logitech C930 webcam','RO004','RO004','pc',0,0,1),
	(130,2,110,1,1.00,0.00,'Webcam Panacast','Panacast 4K webcam','RO005','RO005','pc',0,0,1),
	(131,2,110,1,1.00,0.00,'Barck Clickshare','Barco Clickshare','RO007','RO007','pc',0,0,1),
	(132,2,110,1,1.00,0.00,'IWB WHEEL mount','Wheel mount for IWB','RO008','RO008','pc',0,0,1),
	(133,2,110,1,1.00,0.00,'IWB WALL mount','Wall mount for IWB','RO009','RO009','pc',0,0,1),
	(134,2,110,2,1.00,0.00,'IWB SfB plugin (existing Coor)','Skype for Business plugin for IWB','RO010','RO010','pc',0,0,1),
	(135,2,106,4,141.00,0.00,'Support agreement hardware','Support agreement for hardware packages','NA','NA','month',1,36,1),
	(136,2,106,4,299.00,0.00,'Support agreement hardware and software','Support agreement for hardware packages including software','NA','NA','month',1,36,1),
	(137,2,110,1,1.00,0.00,'IWB Remote License','IWB Remote License','RO012','RO012','pc',0,0,1),
	(138,2,106,1,1235.36,0.00,'DEVTEST Product 1','This is a test product','IT-UYE-876','KTY786','pc',0,0,1),
	(139,2,109,1,13577.27,0.00,'LG 55\" screen','55\" screen for Digital Signage solutions','55SM5KD-B','4361134','pc',0,0,1),
	(140,2,109,1,209.10,0.00,'Väggstativ Digital Signage','Väggstativ - Multibrackets M VESA Extension Kit Full Motion - Digital Signage Solutions - 40-63\" - maxvikt 45kg.','7350073735204','4568019','pc',0,0,1),
	(141,2,109,1,0.00,0.00,'Takstativ Digital Signage','Stativ för att montera Digital Signage från tak','NA','NA','pc',0,0,1),
	(142,2,109,2,6424.00,0.00,'Design package - Nodeark','Software licens','NA','NA','pc',0,0,1),
	(143,2,109,2,0.00,0.00,'Installation Digital Signage','Installation för Digital Signage','NA','NA','pc',0,0,1),
	(144,2,109,1,0.00,0.00,'Cabinet för Digital Signage','Cabinet för Digital Signage solutions','NA','NA','pc',0,0,1),
	(145,2,109,1,0.00,0.00,'Printer SP325DNx','Laserskrivare 28ppm 250+50ark, 128MB, USB 2.0/Ethernet, PCL6','xSP325DNx','xSP325DNx','pc',0,0,1),
	(146,2,109,1,0.00,0.00,'MPC2004SP','Digital CopyPrinter, A4, A3 inkl. Reverserande dokumentmatare, skrivare/skanner modul, Gigabit Ethernet nätverkskort, duplex, 20 sid färg/sv/min, 2x550+1x100, ark 1,5 GB + 250 GB hårdisk, PCL5c PCL6. Java-kort, DOS och HDD kryptering std.','xMPC2004SP','xMPC2004SP','pc',0,0,1),
	(147,2,109,1,0.00,0.00,'MPC2504SP','Digital CopyPrinter A4, A3 inkl. Reverserande dokumentmatare, skrivare/skanner modul,Gigabit Ethernet nätverkskort, duplex, 25 sid färg/sv/min, 2x550+1x100, ark 1,5 GB + 250 GB hårdisk, PCL5c PCL6. Java-kort, DOS och HDD kryptering std.','xMPC2504SP','xMPC2504SP','pc',0,0,1),
	(148,2,109,1,0.00,0.00,'MPC3004SP','Digital CopyPrinter A4, A3 inkl. Reverserande dokumentmatare, skrivare/skanner modul, nätverkskort, duplex, 30 sid färg/sv/min, 2x550+1x100, ark 1,5 GB + 250 GB hårdisk, PCL5c PCL6. Java-kort, DOS och HDD kryptering std.','xMPC3004SP','xMPC3004SP','pc',0,0,1),
	(149,2,109,1,0.00,0.00,'MPC307SP','Digital A4 CopyPrinter 30 sid färg/sv/min inkl skrivare, Smart operation Panel 10,1\", 250+100 ark, duplex. Levereras med dokumentmatare. Gigabit nätverkskort, VM (Java) Card, USB, USB 2.0, 1 GB RAM, HDD 320 GB, PCL5c PCL6 PS3 XPS.','xMPC307SP','xMPC307SP','pc',0,0,1),
	(150,2,109,1,0.00,0.00,'MPC4504SP','Digital CopyPrinter inkl. Swipe Panel, Reverserande dokumentmatare, skrivare/skanner modul, nätverkskort, duplex, 45 sid färg/sv/min, 2x550+1x100, ark 2,0 GB + 250 GB hårdisk, PCL5c PCL6. Java-kort, DOS och HDD kryptering std.','xMPC4504SP','xMPC4504SP','pc',0,0,1),
	(151,2,109,1,0.00,0.00,'Booklet Finisher SR3150+ Bridge Unit BU3070','Booklet Finisher SR3150+ Bridge Unit BU3070','xSR3150+','xSR3150+','pc',0,0,1),
	(152,2,109,1,0.00,0.00,'RICOH Efterbehandlare intern','Efterbehandlare intern 500 ark','xEfterbehandlare500','xEfterbehandlare500','pc',0,0,1),
	(153,2,109,1,0.00,0.00,'Extra pappersbank 2x550','Extra pappersbank 2x550','xExtra2x550','xExtra2x550','pc',0,0,1),
	(154,2,109,1,0.00,0.00,'Extra pappersbank 2x1000','Extra pappersbank 2x1000','xExtra2x1000','xExtra2x1000','pc',0,0,1),
	(155,2,109,1,0.00,0.00,'Fax small','Fax module to Ricoh printer','xFaxSmall','xFaxSmall','pc',0,0,1),
	(156,2,109,1,0.00,0.00,'Fax','Fax module to Ricoh printer','xFax','xFax','pc',0,0,1),
	(157,2,109,1,0.00,0.00,'Finisher SR3140 1000ark m. häftfunk','Finisher SR3140 1000ark m. häftfunk','xSR3140','xSR3140','pc',0,0,1),
	(158,2,109,2,0.00,0.00,'FollowMePrint','FollowMePrint','xFollowMe','xFollowMe','pc',0,0,1),
	(159,2,109,1,0.00,0.00,'Hålslag SWE till SR3130','Hålslag SWE till SR3130','xHålSR3130','xHålSR3130','pc',0,0,1),
	(160,2,109,1,0.00,0.00,'Hålslag SWE till SR3140/3150','Hålslag SWE till SR3140/3150','xHålSR3140/3150','xHålSR3140/3150','pc',0,0,1),
	(161,2,109,2,0.00,0.00,'Postscript','Postscript','xPostscript','xPostscript','pc',0,0,1),
	(162,2,109,4,0.00,0.00,'Utskrift per klick S/V mini','Betala per klick S/V mini','xPerKlickMini','xPerKlickMini','click',1,1,1),
	(163,2,109,4,0.00,0.00,'Utskrifter fast pris mini','Utskrifter fast pris','xUtskrFastMini','xUtskrFastMini','pc',1,1,1),
	(164,2,109,4,0.00,0.00,'Utskrift per klick A4 S/V','Utskrift per klick A4 S/V','xUtskrPerKLlckSV','xUtskrPerKLlckSV','click',1,1,1),
	(165,2,109,4,0.00,0.00,'Utskrift per klick A4 Färg','Utskrift per klick A4 Färg','xUtskrKlickFärg','xUtskrKlickFärg','click',1,1,1),
	(166,2,109,5,0.00,0.00,'Printer config and installation','Printer config and installation','xPrinterInst','xPrinterInst','inst',0,0,1),
	(167,2,109,1,0.00,0.00,'Floor standing totem for Digital Signage','Floor standing totem for Digital Signage solutions','NA','NA','pc',0,0,1),
	(168,2,109,1,2060.00,0.00,'Philips display 10\"','Mini display screen 10\"','10 BDL3051T/02','NA','pc',0,0,1),
	(169,2,111,4,0.00,0.00,'Education On Site','Basic training on site','NA','NA','pc',0,0,1),
	(170,2,107,5,0.00,0.00,'Installation - Pre-huddle 55 or 65','Installation - Pre-huddle 55 or 65','XlePH55-65','XlePH55-65','inst',0,0,1),
	(171,2,107,5,0.00,0.00,'Installation - Pre-huddle 75 or 84','Installation - Pre-huddle 75 or 84','XlePH75-84','XlePH75-84','inst',0,0,1),
	(172,2,107,5,0.00,0.00,'Installation-Mini-huddle inkl konfigurering','Installation-Mini-huddle inkl konfigurering','XleHM','XleHM','inst',0,0,1),
	(173,2,107,5,0.00,0.00,'Installation - Fixed Huddle 55 or 65','Installation - Fixed Huddle 55 or 65','XleFH55-65','XleFH55-65','inst',0,0,1),
	(174,2,107,5,0.00,0.00,'Installation - Fixed huddle 75 or 84','Installation - Fixed huddle 75 or 84','XleFH75-84','XleFH75-84','inst',0,0,1),
	(175,2,107,5,0.00,0.00,'Installation - Mobile huddle 55 or 65','Installation - Mobile huddle 55 or 65','XleMH55-65','XleMH55-65','inst',0,0,1),
	(176,2,107,5,0.00,0.00,'Installation - Mobile huddle 75','Installation - Mobile huddle 75','XleMH75','XleMH75','inst',0,0,1),
	(177,2,106,4,0.00,0.00,'Support for IWB','Support for IWB without video client.','RIWBsupp1','RIWBsupp1','pc',1,1,1),
	(178,2,106,4,0.00,0.00,'Support IWB incl. Video','Support for IWB with video client','RIWBSupp2','RIWBSupp2','pc',1,1,1),
	(179,2,111,4,0.00,0.00,'Pre-audit','Pre-audit','COIPrea','COIPrea','pc',0,0,1),
	(180,2,111,4,0.00,0.00,'Delivery Monitoring','Delivery Monitoring','COIDM','COIDM','pc',0,0,1),
	(181,2,111,4,0.00,0.00,'Basic on-site training','Basic on-site training','COIOBT','COIOBT','pc',0,0,1),
	(182,2,111,4,0.00,0.00,'Basic on-line training','Basic on-line training','COIBOLT','COIBOLT','pc',0,0,1),
	(183,2,106,4,1.00,0.00,'Serviceavtal generellt','Serviceavtal generellt','RServG','RServG','pc',1,1,1),
	(184,2,107,5,0.00,0.00,'Digital Signage installation','Installation of 1 package digital signage. No player or configuration, only screens and cables.','XleDSinst','XleDSinst','inst',0,0,1),
	(185,2,106,4,79.00,0.00,'Screen service agreement','Agreement for simple screens without controller or DS-player','RscreenServ1','RscreenServ1','pc',1,1,1),
	(186,2,106,4,30.00,0.00,'DS player service','Service agreement for DS player','RDSserv','RDSserv','pc',1,1,1),
	(187,2,106,2,0.00,0.00,'Skype for Business plugin for IWB','Skype for Business plugin for IWB','RSfBplugin','RSfBplugin','pc',1,1,1),
	(188,2,109,2,172.00,0.00,'Room booking package','Room booking package','TDRBP1','TDRBP1','pc',1,1,1),
	(189,2,109,2,17.20,0.00,'Desk reservation package','Desk reservation package','TDDBP','TDDBP','pc',1,1,1),
	(190,2,109,1,7500.00,0.00,'Room panel (including 3 years SW license)','Room panel (including 3 years SW license)\nMinimum order quantity (MOQ) 20 room panels','TDRP','TDRP','pc',0,0,1),
	(191,2,109,1,670.00,0.00,'Room and desk sensor (including 3 years SW license)','Room and desk sensor (including 3 years SW license)','TDRADS','TDRADS','pc',0,0,1),
	(192,2,109,1,2200.00,0.00,'Sensor gateway','Sensor gateway','TDSG','TDSG','pc',0,0,1),
	(193,2,109,4,3.50,0.00,'Map drawing per square meter','Map drawing per square meter','TDMD','TDMD','pc',0,0,1),
	(194,2,109,4,0.70,0.00,'Map maintenance per square meter and year','Map maintenance per square meter and year','TDMM','TDMM','pc',1,12,1),
	(195,2,106,1,0.00,0.00,'Närskjutande projektor','Ricoh närskjutande projektor','PJXL4540','PJXL4540','pc',0,0,1),
	(196,2,106,1,25756.00,0.00,'Printer MPC2004EXSP-SE','Printer MPC2004EXSP-SE','MPC2004EXSP-SE','4693154','pc',0,0,1),
	(197,2,106,1,4906.00,0.00,'Underskåp printer','Underskåp printer','2997939','2997939','pc',0,0,1),
	(198,2,106,2,4130.00,0.00,'FollowPrint','FollowPrint','990496','990496','pc',0,0,1),
	(199,2,106,1,1365.00,0.00,'Kortläsare','Kortläsare','995804','995804','pc',0,0,1),
	(200,2,106,4,2280.00,0.00,'PrintService (Avemballering, installation)','PrintService (Avemballering, installation)','3236974','3236974','pc',0,0,1),
	(201,2,106,4,49.00,0.00,'Frakt mini','Frakt mini','FM','FM','pc',0,0,1),
	(202,2,109,1,8975.00,0.00,'Philips D-line Edge LED 55\"','Philips D-line Edge LED 55\"','55BDL4050D/00','3921553','pc',0,0,1),
	(203,2,109,1,551.00,0.00,'Väggstativ (saknar namn)','Väggstativ (saknar namn)','xxxxx','xxxxx','pc',0,0,1),
	(204,2,109,2,5616.00,0.00,'Playipp Manager Licens','Playipp Manager Licens','PPPL3','4234401','pc',0,0,1),
	(205,2,109,4,99.00,0.00,'Support-Playipp player','Support-Playipp player','SuppPlayipp','SuppPlayipp','mon',0,0,1),
	(206,2,111,4,0.00,0.00,'SmartOffice site survey','SmartOffice site survey','COI_Ssurv','COI_Ssurv','pc',0,0,1),
	(207,2,112,4,0.00,0.00,'Map creation','Map creation per square meter','FLW_MapC','FLW_MapC','m2',0,0,1),
	(208,2,111,1,0.00,0.00,'Synchronized order - delivery virtual product','A virtual product, to be a place holder for the last shipping date of components for an order to be synchronized with the current order. Not to be ordered, only for information.','COI_Vprod','COI_Vprod','pc',0,0,1);

/*!40000 ALTER TABLE `suppliers_countries_products` ENABLE KEYS */;
UNLOCK TABLES;


# Dump of table system_allowed_languages
# ------------------------------------------------------------

DROP TABLE IF EXISTS `system_allowed_languages`;

CREATE TABLE `system_allowed_languages` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `languageCode` varchar(2) DEFAULT NULL,
  `language` varchar(50) DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

LOCK TABLES `system_allowed_languages` WRITE;
/*!40000 ALTER TABLE `system_allowed_languages` DISABLE KEYS */;

INSERT INTO `system_allowed_languages` (`id`, `languageCode`, `language`)
VALUES
	(1,'en','english'),
	(2,'sv','swedish');

/*!40000 ALTER TABLE `system_allowed_languages` ENABLE KEYS */;
UNLOCK TABLES;


# Dump of table temp_next_actions
# ------------------------------------------------------------

DROP TABLE IF EXISTS `temp_next_actions`;

CREATE TABLE `temp_next_actions` (
  `idOrder` int(11) NOT NULL DEFAULT '0',
  `idPackage` int(11) DEFAULT NULL,
  `orderNumber` varchar(10) DEFAULT NULL,
  `stepAction` varchar(100) DEFAULT NULL,
  `idActionCode` int(11) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;



# Dump of table terms
# ------------------------------------------------------------

DROP TABLE IF EXISTS `terms`;

CREATE TABLE `terms` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `html` text,
  `pdf` longblob,
  `version` int(11) DEFAULT NULL,
  `modifyDate` datetime DEFAULT CURRENT_TIMESTAMP,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

LOCK TABLES `terms` WRITE;
/*!40000 ALTER TABLE `terms` DISABLE KEYS */;

INSERT INTO `terms` (`id`, `html`, `pdf`, `version`, `modifyDate`)
VALUES
	(1,'<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam ultrices tempus elit, ut rhoncus nibh luctus vitae. Etiam tristique tristique ex in blandit. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Morbi at elementum nibh. Aliquam fermentum erat at ex sollicitudin tempus. Nam suscipit justo ac varius pellentesque. Duis congue ac sapien ac dignissim. Nam fermentum pretium arcu at tempor. Duis suscipit nisl eu pulvinar blandit. Interdum et malesuada fames ac ante ipsum primis in faucibus. Aenean vehicula leo lectus, nec sodales orci pellentesque eu. Maecenas maximus vestibulum magna, ac maximus nibh cursus sit amet. Suspendisse hendrerit ex eget turpis ultricies hendrerit. Sed id venenatis magna, nec molestie metus. Fusce id magna risus.</p><br/><p>Nunc eleifend mauris turpis, sed maximus lorem condimentum ac. Vestibulum scelerisque quis neque vel posuere. Quisque at diam quis urna lobortis ullamcorper at nec justo. Donec pulvinar pellentesque tortor, quis hendrerit nunc. Maecenas dolor mauris, semper id aliquam et, ornare sit amet ex. Quisque a dictum quam. Donec auctor fermentum libero et cursus. Suspendisse vitae libero nec orci venenatis imperdiet vitae ut ligula. Sed semper eleifend pellentesque. Aliquam egestas convallis odio vitae sagittis. Curabitur sem elit, posuere quis gravida id, viverra vel est. Maecenas auctor vitae leo id dictum. Phasellus vitae leo quis ipsum dictum faucibus. Maecenas pharetra ipsum quis libero ullamcorper posuere. Fusce faucibus diam ligula, eleifend tincidunt lorem tincidunt ut. Proin ullamcorper iaculis diam ultrices volutpat.</p><br/><p>Morbi commodo scelerisque tortor. Pellentesque euismod, tellus in sollicitudin rhoncus, risus felis ultricies est, sit amet maximus neque metus eget ligula. Quisque sed ante sit amet diam rutrum interdum. Quisque at maximus eros, ac sodales sapien. Nulla metus lacus, vestibulum sed dolor sit amet, hendrerit aliquet risus. Sed lacinia lorem arcu, a malesuada mauris vestibulum non. Praesent sed arcu accumsan, iaculis orci id, elementum metus. Vivamus massa nisi, sollicitudin ac ultrices facilisis, imperdiet ut nunc. In feugiat vel justo eget mattis.</p></br><p>Mauris imperdiet nulla quis massa condimentum, varius pulvinar enim consequat. Phasellus egestas quam eget nunc dictum, elementum suscipit libero dapibus. Vestibulum vitae nisi id lacus semper maximus. Aenean aliquam vitae lorem ac eleifend. Quisque laoreet eros vitae ante placerat, id egestas lacus sollicitudin. Ut vel neque ut massa lobortis efficitur quis eu sem. Maecenas ac libero dapibus, aliquam lorem nec, pretium libero. Quisque eu urna lacinia, posuere nibh ut, ultricies lectus. Praesent nec ante sodales, molestie sem non, gravida metus. Donec dignissim arcu nunc, at feugiat tellus facilisis at. Etiam at blandit orci. Vivamus porta neque id odio vulputate, non suscipit justo consequat. Donec mi risus, pharetra vel dolor eget, congue pulvinar dolor. Pellentesque pulvinar dolor id ornare aliquet. Curabitur laoreet iaculis massa at vulputate.</p><br/><p>Etiam aliquam nisi a purus semper, quis euismod augue bibendum. Vestibulum nibh sapien, maximus eu pulvinar id, pretium ac risus. Morbi sodales tortor et purus volutpat molestie. Suspendisse potenti. Morbi quis sapien placerat, vehicula enim eu, porttitor nisl. Morbi faucibus ligula risus, sit amet accumsan turpis auctor eu. Cras ut enim ullamcorper, dignissim ipsum quis, ornare ante. Praesent accumsan et sapien ac consectetur. Duis eu erat eu erat egestas dapibus. Mauris id imperdiet justo. Suspendisse tincidunt lacus lectus, commodo porttitor nisi hendrerit at.</p><br/>',X'[encoded data, 610638 characters]',1,'2017-09-08 15:55:16');

/*!40000 ALTER TABLE `terms` ENABLE KEYS */;
UNLOCK TABLES;


# Dump of table user_types
# ------------------------------------------------------------

DROP TABLE IF EXISTS `user_types`;

CREATE TABLE `user_types` (
  `id` int(99) NOT NULL AUTO_INCREMENT,
  `type` varchar(20) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

LOCK TABLES `user_types` WRITE;
/*!40000 ALTER TABLE `user_types` DISABLE KEYS */;

INSERT INTO `user_types` (`id`, `type`)
VALUES
	(1,'broker'),
	(2,'customer'),
	(3,'commercial_lead'),
	(4,'supplier');

/*!40000 ALTER TABLE `user_types` ENABLE KEYS */;
UNLOCK TABLES;


# Dump of table users
# ------------------------------------------------------------

DROP TABLE IF EXISTS `users`;

CREATE TABLE `users` (
  `id` int(99) NOT NULL AUTO_INCREMENT,
  `idCompany` int(11) DEFAULT NULL,
  `username` varchar(32) NOT NULL,
  `password` varchar(60) DEFAULT NULL,
  `mail` varchar(300) NOT NULL,
  `token` varchar(32) DEFAULT NULL,
  `tokenTS` timestamp NULL DEFAULT NULL,
  `refresh_token` varchar(700) DEFAULT NULL,
  `isCompanyAdmin` int(11) DEFAULT '0',
  PRIMARY KEY (`id`),
  KEY `fk_user_company_idx` (`idCompany`),
  CONSTRAINT `fk_user_company` FOREIGN KEY (`idCompany`) REFERENCES `company` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

LOCK TABLES `users` WRITE;
/*!40000 ALTER TABLE `users` DISABLE KEYS */;

INSERT INTO `users` (`id`, `idCompany`, `username`, `password`, `mail`, `token`, `tokenTS`, `refresh_token`, `isCompanyAdmin`)
VALUES
	(1,8,'devtestbroker','$2y$12$hQKn8/3SzP/13nppZrynYODftARUNZq0ibtneTRZ2f78eKa.qItw6','snr_dash@saguaronet.ro',NULL,NULL,'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzUxMiJ9.eyJpYXQiOjE1MjMzNjk0MTUsImp0aSI6Imd3bGhrVUVaR2orVXRFeFN5SmVKVEVtRWVKWmFzMFFta3BGSGpzajNJcFE9IiwiaXNzIjoiaHR0cHM6XC9cLzg2LjEyMy4yNTIuMTI6MzI0NDMiLCJuYmYiOjE1MjMzNjk0MTUsImV4cCI6MTUyMzM3NjYxNSwidHlwZSI6InJlZnJlc2hfdG9rZW4iLCJkYXRhIjp7ImVycm9yTWVzc2FnZSI6Ildyb25nIG51bWJlciBvZiBzZWdtZW50cyIsIndpYWFzX2lkX3VzZXIiOiIxIiwid2lhYXNfdXNlcm5hbWUiOiJkZXZ0ZXN0YnJva2VyIiwid2lhYXNfdXNlcl90eXBlIjoiYnJva2VyIiwid2lhYXNfaWRfdXNlcl90eXBlIjoiMSIsIndpYWFzX3VzZXJfZnVsbF9uYW1lIjoiRGV2VGVzdF9icm9rZXIiLCJ3aWFhc19pc19jb21wYW55X2FkbWluIjp0cnVlfX0.4nCziaUWnfkFpNxlF2y-cSto967HLoUCRLoukeS8mJFGdM6QOsoMZ28YwYvaRH2DReNRpmH4YYWxuz-ggFAgrg',1),
	(37,1,'sysadm','$2y$12$hQKn8/3SzP/13nppZrynYODftARUNZq0ibtneTRZ2f78eKa.qItw6','per@co-ideation.com',NULL,NULL,'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzUxMiJ9.eyJpYXQiOjE1Mjg0NDE0ODgsImp0aSI6Inl4QlwvYk54ZHFSa0NoQkFBSVBHTEF5MGw3SmxPWEpYOEZyWkYwUGlOV3dnPSIsImlzcyI6Imh0dHBzOlwvXC93aWFhcy5pbmZvIiwibmJmIjoxNTI4NDQxNDg4LCJleHAiOjE1Mjg0NDg2ODgsInR5cGUiOiJyZWZyZXNoX3Rva2VuIiwiZGF0YSI6eyJlcnJvck1lc3NhZ2UiOiJXcm9uZyBudW1iZXIgb2Ygc2VnbWVudHMiLCJ3aWFhc19pZF91c2VyIjoiMzciLCJ3aWFhc191c2VybmFtZSI6InN5c2FkbSIsIndpYWFzX3VzZXJfdHlwZSI6ImJyb2tlciIsIndpYWFzX2lkX3VzZXJfdHlwZSI6IjEiLCJ3aWFhc191c2VyX2Z1bGxfbmFtZSI6IlJpY29oIChQZXIpIiwid2lhYXNfaXNfY29tcGFueV9hZG1pbiI6ZmFsc2V9fQ.5t5fyP5WKaKhr46x4NUYYQQ6Yx8zGzpc5Z1yrdTxe1oqbZi399-Ofq5-MOKLxyXMzFwtF6GBibv7r5QaX6Fjeg',0),
	(52,8,'devtestcl','$2y$12$hQKn8/3SzP/13nppZrynYODftARUNZq0ibtneTRZ2f78eKa.qItw6','snr_dash@saguaronet.ro',NULL,NULL,'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzUxMiJ9.eyJpYXQiOjE1MjM5NjQ2NDgsImp0aSI6IkNodURqc1dxemdXMEFHZTBlQzRNekk2dFVGa0MrOXZJRVd3ZnRsbDJDTHc9IiwiaXNzIjoiaHR0cHM6XC9cLzg2LjEyMy4yNTIuMTI6MzI0NDMiLCJuYmYiOjE1MjM5NjQ2NDgsImV4cCI6MTUyMzk3MTg0OCwidHlwZSI6InJlZnJlc2hfdG9rZW4iLCJkYXRhIjp7ImVycm9yTWVzc2FnZSI6IkV4cGlyZWQgdG9rZW4iLCJ3aWFhc19pZF91c2VyIjoiNTIiLCJ3aWFhc191c2VybmFtZSI6ImRldnRlc3RjbCIsIndpYWFzX3VzZXJfdHlwZSI6ImNvbW1lcmNpYWxfbGVhZCIsIndpYWFzX2lkX3VzZXJfdHlwZSI6IjMiLCJ3aWFhc191c2VyX2Z1bGxfbmFtZSI6IkRldlRlc3RfQ0wiLCJ3aWFhc19pc19jb21wYW55X2FkbWluIjpmYWxzZX19.7_Fsil7S0KbPRWfgFvO6jnkxKYa8n7-renRJisqplRH7oIKNsvJFzBDFa7k5iNMpBGnYFYgPLy3EC-l-kHl1zw',0),
	(53,8,'devtestcust','$2y$12$hQKn8/3SzP/13nppZrynYODftARUNZq0ibtneTRZ2f78eKa.qItw6','snr_dash@saguaronet.ro',NULL,NULL,'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzUxMiJ9.eyJpYXQiOjE1MjY5NzE2MjIsImp0aSI6IllkU1VlNmU3OW8rTGIxeWRhanNHdHpcLzB3dXhsS0xxY05RXC9NVDl5NW12cz0iLCJpc3MiOiJodHRwczpcL1wvd2lhYXMuY29tIiwibmJmIjoxNTI2OTcxNjIyLCJleHAiOjE1MjY5Nzg4MjIsInR5cGUiOiJyZWZyZXNoX3Rva2VuIiwiZGF0YSI6eyJlcnJvck1lc3NhZ2UiOiJXcm9uZyBudW1iZXIgb2Ygc2VnbWVudHMiLCJ3aWFhc19pZF91c2VyIjoiNTMiLCJ3aWFhc191c2VybmFtZSI6ImRldnRlc3RjdXN0Iiwid2lhYXNfdXNlcl90eXBlIjoiY3VzdG9tZXIiLCJ3aWFhc19pZF91c2VyX3R5cGUiOiIyIiwid2lhYXNfdXNlcl9mdWxsX25hbWUiOiJEZXZUZXN0X2N1c3QiLCJ3aWFhc19pc19jb21wYW55X2FkbWluIjpmYWxzZX19.NFOJh9T58fIU_3hW2Btm1hCYH7DVJCHYjTugqj_Vrd5VM2IClfAhVcN6m8Gvzrp9_cT_V9ePpWn4l_fg2HuGSg',0),
	(54,9,'Per_Ricoh',NULL,'per@nordbrandt.com','a606b4eff9c138c6083e1572664a6349','2018-05-14 14:12:56',NULL,1),
	(55,10,'IT','$2y$12$hQKn8/3SzP/13nppZrynYODftARUNZq0ibtneTRZ2f78eKa.qItw6','per@nordbrandt.com','29e179bcb880bff212b03fa9cb7e02a3','2018-05-14 14:12:56',NULL,1),
	(56,11,'PerAtria','$2y$12$hQKn8/3SzP/13nppZrynYODftARUNZq0ibtneTRZ2f78eKa.qItw6','per@nordbrandt.com','2b11ccf86d838997de935228997fb0fe','2018-05-14 14:12:56','eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzUxMiJ9.eyJpYXQiOjE1MjExMjcwNjIsImp0aSI6IkpERHIzWjU5RnN2TGRRb2NSUFMxNms3bWJucVBjZXEzOTNZcE9TbXZEOTQ9IiwiaXNzIjoiaHR0cHM6XC9cLzg2LjEyMy4yNTIuMTI6MzI0NDMiLCJuYmYiOjE1MjExMjcwNjIsImV4cCI6MTUyMTEzNDI2MiwidHlwZSI6InJlZnJlc2hfdG9rZW4iLCJkYXRhIjp7ImVycm9yTWVzc2FnZSI6Ildyb25nIG51bWJlciBvZiBzZWdtZW50cyIsIndpYWFzX2lkX3VzZXIiOiI1NiIsIndpYWFzX3VzZXJuYW1lIjoiUGVyQXRyaWEiLCJ3aWFhc191c2VyX3R5cGUiOiJjdXN0b21lciIsIndpYWFzX2lkX3VzZXJfdHlwZSI6IjIiLCJ3aWFhc191c2VyX2Z1bGxfbmFtZSI6IlBlTm8gKEF0cmlhKSIsIndpYWFzX2lzX2NvbXBhbnlfYWRtaW4iOnRydWV9fQ.FW3BlsQ_g6iXlamGY6V8TIFJtwsBRPabzUOWtxxPoSE7Y46qscKahpJ5bkngCbelthbCf7MX-BCXM6iVVpIEDQ',1),
	(57,12,'PerDevtest','$2y$12$hQKn8/3SzP/13nppZrynYODftARUNZq0ibtneTRZ2f78eKa.qItw6','per@nordbrandt.com','ceda5c767d8604e379b9889351d956c7','2018-05-14 14:12:56','eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzUxMiJ9.eyJpYXQiOjE1MjgzNzU1OTQsImp0aSI6ImtESjk4UWdBYmppQjBmUFhiS0JJXC9tZDBPbHRBK2RqNHBcL2RyUFh3cmRKUT0iLCJpc3MiOiJodHRwczpcL1wvd2lhYXMuaW5mbyIsIm5iZiI6MTUyODM3NTU5NCwiZXhwIjoxNTI4MzgyNzk0LCJ0eXBlIjoicmVmcmVzaF90b2tlbiIsImRhdGEiOnsiZXJyb3JNZXNzYWdlIjoiV3JvbmcgbnVtYmVyIG9mIHNlZ21lbnRzIiwid2lhYXNfaWRfdXNlciI6IjU3Iiwid2lhYXNfdXNlcm5hbWUiOiJQZXJEZXZ0ZXN0Iiwid2lhYXNfdXNlcl90eXBlIjoiY3VzdG9tZXIiLCJ3aWFhc19pZF91c2VyX3R5cGUiOiIyIiwid2lhYXNfdXNlcl9mdWxsX25hbWUiOiJQZU5vIChEZXZ0ZXN0KSIsIndpYWFzX2lzX2NvbXBhbnlfYWRtaW4iOnRydWV9fQ.jr6cbSdDkr_AA2XSEvAenZgpxeH-uhuvrIrl0Tmfw6wLAcY7DOPPnNMXFLy9l2F6FUo72uioCKHTN750LN8Nww',1),
	(58,13,'PerXelent','$2y$12$hQKn8/3SzP/13nppZrynYODftARUNZq0ibtneTRZ2f78eKa.qItw6','per@nordbrandt.com','c9d06f59e606c587740066aa2e8feb07','2018-05-14 14:12:57',NULL,1),
	(59,14,'SEadmin','$2y$12$hQKn8/3SzP/13nppZrynYODftARUNZq0ibtneTRZ2f78eKa.qItw6','rikard@co-ideation.com','54d8ccec4c65fe9e9ae37569dd60744e','2018-03-14 10:17:21',NULL,1),
	(60,15,'Cooradmin','$2y$12$hQKn8/3SzP/13nppZrynYODftARUNZq0ibtneTRZ2f78eKa.qItw6','rikard@co-ideation.com',NULL,NULL,'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzUxMiJ9.eyJpYXQiOjE1MjMyNTk0NDAsImp0aSI6IkdEbzIra3RHZitKWG9tbXE4ZmlqVjJVN3BDd1BQK3Bpc1haTTd3S01jVUk9IiwiaXNzIjoiaHR0cHM6XC9cLzg2LjEyMy4yNTIuMTI6MzI0NDMiLCJuYmYiOjE1MjMyNTk0NDAsImV4cCI6MTUyMzI2NjY0MCwidHlwZSI6InJlZnJlc2hfdG9rZW4iLCJkYXRhIjp7ImVycm9yTWVzc2FnZSI6Ildyb25nIG51bWJlciBvZiBzZWdtZW50cyIsIndpYWFzX2lkX3VzZXIiOiI2MCIsIndpYWFzX3VzZXJuYW1lIjoiQ29vcmFkbWluIiwid2lhYXNfdXNlcl90eXBlIjoiY29tbWVyY2lhbF9sZWFkIiwid2lhYXNfaWRfdXNlcl90eXBlIjoiMyIsIndpYWFzX3VzZXJfZnVsbF9uYW1lIjoiQ29vciBTZXJ2aWNlIE1hbmFnZW1lbnQiLCJ3aWFhc19pc19jb21wYW55X2FkbWluIjp0cnVlfX0.0wltEthuD083__LmOim5On6Byv-oefrSIjzRAe7-3KRs4FQvOp658v21mzcImcQNQxet8tJcewuTeYYrSdLACA',1),
	(61,15,'RikardCoor','$2y$12$hQKn8/3SzP/13nppZrynYODftARUNZq0ibtneTRZ2f78eKa.qItw6','rikard@co-ideation.com',NULL,NULL,'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzUxMiJ9.eyJpYXQiOjE1MjEwMzI4NzUsImp0aSI6Ik9SRkx2MitSZVwvYmVoQlRYTTU3dTMrWmVpZ2J6RjlSQTJxZnBJQ1J3cjFzPSIsImlzcyI6Imh0dHBzOlwvXC84Ni4xMjMuMjUyLjEyOjMyNDQzIiwibmJmIjoxNTIxMDMyODc1LCJleHAiOjE1MjEwNDAwNzUsInR5cGUiOiJyZWZyZXNoX3Rva2VuIiwiZGF0YSI6eyJlcnJvck1lc3NhZ2UiOiJFeHBpcmVkIHRva2VuIiwid2lhYXNfaWRfdXNlciI6IjYxIiwid2lhYXNfdXNlcm5hbWUiOiJSaWthcmRDb29yIiwid2lhYXNfdXNlcl90eXBlIjoiY3VzdG9tZXIiLCJ3aWFhc19pZF91c2VyX3R5cGUiOiIyIiwid2lhYXNfdXNlcl9mdWxsX25hbWUiOiJSaWthcmQgKENvb3IpIiwid2lhYXNfaXNfY29tcGFueV9hZG1pbiI6dHJ1ZX19.LMJDaIRCChBN9UlQ127SXrJbXzHHUyCdE7dDC1ydKMRW90a2R_JHlof5hInwHhVkrwzMBKowUzxgWnP9lLG02g',1),
	(62,15,'RikardCoorGBG','$2y$12$hQKn8/3SzP/13nppZrynYODftARUNZq0ibtneTRZ2f78eKa.qItw6','rikard@co-ideation.com',NULL,NULL,'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzUxMiJ9.eyJpYXQiOjE1MjYzMDY3OTksImp0aSI6IkZKMHdKZ3BSVWNqOTcwM0tiWTBzRm16TU5OMEFLazZxU0FmWnNLRmR0ZkU9IiwiaXNzIjoiaHR0cHM6XC9cL3dpYWFzLmNvbSIsIm5iZiI6MTUyNjMwNjc5OSwiZXhwIjoxNTI2MzEzOTk5LCJ0eXBlIjoicmVmcmVzaF90b2tlbiIsImRhdGEiOnsiZXJyb3JNZXNzYWdlIjoiV3JvbmcgbnVtYmVyIG9mIHNlZ21lbnRzIiwid2lhYXNfaWRfdXNlciI6IjYyIiwid2lhYXNfdXNlcm5hbWUiOiJSaWthcmRDb29yR0JHIiwid2lhYXNfdXNlcl90eXBlIjoiY3VzdG9tZXIiLCJ3aWFhc19pZF91c2VyX3R5cGUiOiIyIiwid2lhYXNfdXNlcl9mdWxsX25hbWUiOiJDb29yIEdcdTAwZjZ0ZWJvcmciLCJ3aWFhc19pc19jb21wYW55X2FkbWluIjp0cnVlfX0.TuozkoCNJOnWKx9obNGywm85hBJ5gIbTcNWgcESeP6MwdmE6QDwZ2G5APg5BmdT8jqavyz-vX_EJXjWzj8PvtQ',1),
	(63,1,'sysadm2','$2y$12$hQKn8/3SzP/13nppZrynYODftARUNZq0ibtneTRZ2f78eKa.qItw6','rikard@co-ideation.com',NULL,NULL,'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzUxMiJ9.eyJpYXQiOjE1MjY5MDYxNjMsImp0aSI6IktqSFk3WWZDWHJmSXRPbnBxY200R0toRTdpWThCNWlIQ3BUU3V6aHpER1U9IiwiaXNzIjoiaHR0cHM6XC9cL3dpYWFzLmNvbSIsIm5iZiI6MTUyNjkwNjE2MywiZXhwIjoxNTI2OTEzMzYzLCJ0eXBlIjoicmVmcmVzaF90b2tlbiIsImRhdGEiOnsiZXJyb3JNZXNzYWdlIjoiV3JvbmcgbnVtYmVyIG9mIHNlZ21lbnRzIiwid2lhYXNfaWRfdXNlciI6IjYzIiwid2lhYXNfdXNlcm5hbWUiOiJzeXNhZG0yIiwid2lhYXNfdXNlcl90eXBlIjoiYnJva2VyIiwid2lhYXNfaWRfdXNlcl90eXBlIjoiMSIsIndpYWFzX3VzZXJfZnVsbF9uYW1lIjoiUmljb2ggKFJpa2FyZCkiLCJ3aWFhc19pc19jb21wYW55X2FkbWluIjp0cnVlfX0.NCSzP3SYEBk4ry17j1G73HcX_PRRW9ZT_0c3Jxq8ulhcGx3gHRyIBViIk3Gy3jcxZky6Aotd8Ik8jWjK3anbow',1),
	(64,16,'RikardTD',NULL,'rikard@co-ideation.com','423c16a602ae2fdf31a7261a10e10b13','2018-03-14 15:38:13',NULL,1),
	(65,9,'PerRicohOld',NULL,'per@nordbrandt.com','acd536b0f3ed5b7254d11b21571993de','2018-05-14 14:12:57',NULL,1),
	(66,15,'PerCoorPre','$2y$12$hQKn8/3SzP/13nppZrynYODftARUNZq0ibtneTRZ2f78eKa.qItw6','per@nordbrandt.com','d73d1570b438a517e69e0a4d6d72ca54','2018-05-14 14:12:56',NULL,1),
	(67,17,'co-ideation',NULL,'rikard.blomkvist@co-ideation.com','3640944e38d7a232c4721e795f7dff33','2018-04-09 16:41:30',NULL,1),
	(68,15,'PeNoCoorGBG',NULL,'per@co-ideation.se','6a3a7ee2bd7cced6de7b4fef9930d22f','2018-04-17 09:44:41',NULL,1),
	(69,15,'TobiasCoorGBG',NULL,'tobbetouch@gmail.com','0a387e38b63bf7e1000faa7623ee6c56','2018-04-17 09:45:39',NULL,0),
	(70,15,'PerCoorGBG','$2y$12$hQKn8/3SzP/13nppZrynYODftARUNZq0ibtneTRZ2f78eKa.qItw6','per@co-ideation.com','e679bdb8806936cd6beff3de1b60ec13','2018-06-08 09:05:57','eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzUxMiJ9.eyJpYXQiOjE1MjgxOTM3NjUsImp0aSI6Ild0bkd2bWVWSWJoZE5nME5paldUTWcxZTNCWm4xcTBLNUVxa3k4Qm9aM2s9IiwiaXNzIjoiaHR0cHM6XC9cL3dpYWFzLmNvbSIsIm5iZiI6MTUyODE5Mzc2NSwiZXhwIjoxNTI4MjAwOTY1LCJ0eXBlIjoicmVmcmVzaF90b2tlbiIsImRhdGEiOnsiZXJyb3JNZXNzYWdlIjoiV3JvbmcgbnVtYmVyIG9mIHNlZ21lbnRzIiwid2lhYXNfaWRfdXNlciI6IjcwIiwid2lhYXNfdXNlcm5hbWUiOiJQZXJDb29yR0JHIiwid2lhYXNfdXNlcl90eXBlIjoiY3VzdG9tZXIiLCJ3aWFhc19pZF91c2VyX3R5cGUiOiIyIiwid2lhYXNfdXNlcl9mdWxsX25hbWUiOiJQZXIgQ29vciBHXHUwMGY2dGVib3JnIiwid2lhYXNfaXNfY29tcGFueV9hZG1pbiI6dHJ1ZX19.RP6Z-26oNKWnLXWIX2QKsVMa-IVKXKRJKow5beeEv6Zbnc9-kBGevOomt6XraFK0jhSI3WzzqEt1K5-iU6yRGQ',1),
	(71,15,'MaritCoorGBG','$2y$12$hQKn8/3SzP/13nppZrynYODftARUNZq0ibtneTRZ2f78eKa.qItw6','marit@dallasday.se',NULL,NULL,'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzUxMiJ9.eyJpYXQiOjE1MjgzNjQ3OTYsImp0aSI6Ik9ETGlzS0xUZTQ1Q3ZVd2dEaHhFMTh6R0VweDluVDZTdll6Qmk3V1pzaTg9IiwiaXNzIjoiaHR0cHM6XC9cL3dpYWFzLmNvbSIsIm5iZiI6MTUyODM2NDc5NiwiZXhwIjoxNTI4MzcxOTk2LCJ0eXBlIjoicmVmcmVzaF90b2tlbiIsImRhdGEiOnsiZXJyb3JNZXNzYWdlIjoiV3JvbmcgbnVtYmVyIG9mIHNlZ21lbnRzIiwid2lhYXNfaWRfdXNlciI6IjcxIiwid2lhYXNfdXNlcm5hbWUiOiJNYXJpdENvb3JHQkciLCJ3aWFhc191c2VyX3R5cGUiOiJjdXN0b21lciIsIndpYWFzX2lkX3VzZXJfdHlwZSI6IjIiLCJ3aWFhc191c2VyX2Z1bGxfbmFtZSI6Ik1hcml0IENvb3IgR0JHIHRlc3QiLCJ3aWFhc19pc19jb21wYW55X2FkbWluIjpmYWxzZX19.wF3l5r2MKcOl22_XFcgvd1bnLxIBAQCCNyYzvKVX9JG1XK3DdaMb0cuiBCDUHZK1X8iVk-LsWyqnwnwqUWOUNQ',0),
	(72,15,'MattiasW','$2y$12$hQKn8/3SzP/13nppZrynYODftARUNZq0ibtneTRZ2f78eKa.qItw6','Mattias.Wahlgren@coor.com',NULL,NULL,'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzUxMiJ9.eyJpYXQiOjE1Mjc4NjM3ODEsImp0aSI6IjdIWllzZUdHUTZ6TTcwa3prb01aTFFZamV5d2pVZkNmZFwvekNXOVd0ZVljPSIsImlzcyI6Imh0dHBzOlwvXC93aWFhcy5jb20iLCJuYmYiOjE1Mjc4NjM3ODEsImV4cCI6MTUyNzg3MDk4MSwidHlwZSI6InJlZnJlc2hfdG9rZW4iLCJkYXRhIjp7ImVycm9yTWVzc2FnZSI6IkV4cGlyZWQgdG9rZW4iLCJ3aWFhc19pZF91c2VyIjoiNzIiLCJ3aWFhc191c2VybmFtZSI6Ik1hdHRpYXNXIiwid2lhYXNfdXNlcl90eXBlIjoiY3VzdG9tZXIiLCJ3aWFhc19pZF91c2VyX3R5cGUiOiIyIiwid2lhYXNfdXNlcl9mdWxsX25hbWUiOiJNYXR0aWFzIFdhaGxncmVuIiwid2lhYXNfaXNfY29tcGFueV9hZG1pbiI6dHJ1ZX19.bInFKC9nvEUIj956VT-XtdmnDXhPf3H0CLyLhVMTTVTTAqEtt3UgP5BKzOlexKVUeVqrbDS4acvTJWXLRBGpSQ',1),
	(74,9,'RicohMalmo',NULL,'per@nordbrandt.com','ba02ceb9a1bb1e6204b5dc8e37166e00','2018-05-14 14:12:56',NULL,1),
	(75,17,'MaritAdmin','$2y$12$hQKn8/3SzP/13nppZrynYODftARUNZq0ibtneTRZ2f78eKa.qItw6','marit@dallasday.se',NULL,NULL,'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzUxMiJ9.eyJpYXQiOjE1MjUzNTQ1NjYsImp0aSI6IlE1QUlRdHBOeGxIOXlucFwvdlNuM1wvXC95eVpKWG1uUk02SzU5S0oxXC9DbHo4PSIsImlzcyI6Imh0dHBzOlwvXC84Ni4xMjMuMjUyLjEyOjMyNDQzIiwibmJmIjoxNTI1MzU0NTY2LCJleHAiOjE1MjUzNjE3NjYsInR5cGUiOiJyZWZyZXNoX3Rva2VuIiwiZGF0YSI6eyJlcnJvck1lc3NhZ2UiOiJXcm9uZyBudW1iZXIgb2Ygc2VnbWVudHMiLCJ3aWFhc19pZF91c2VyIjoiNzUiLCJ3aWFhc191c2VybmFtZSI6Ik1hcml0QWRtaW4iLCJ3aWFhc191c2VyX3R5cGUiOiJicm9rZXIiLCJ3aWFhc19pZF91c2VyX3R5cGUiOiIxIiwid2lhYXNfdXNlcl9mdWxsX25hbWUiOiJNYXJpdCBBZG1pbiIsIndpYWFzX2lzX2NvbXBhbnlfYWRtaW4iOnRydWV9fQ.RnH090c2Xr4x23CgQLQOOxyuJbMFuT8vvkPlj9KCYoaaQG5n6SaGHAe6Jam1BOI839ZM5aNHzEkmQW7QamTOYA',1),
	(76,15,'elma01','$2y$12$hQKn8/3SzP/13nppZrynYODftARUNZq0ibtneTRZ2f78eKa.qItw6','it.karolinska@coor.com',NULL,NULL,'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzUxMiJ9.eyJpYXQiOjE1MjY5MTA1MzgsImp0aSI6IlRuTnlhQnI1MWFJRm9FSGNKbElaTmFuN00xSGx6dVRyZFJPNXBGY016SVE9IiwiaXNzIjoiaHR0cHM6XC9cL3dpYWFzLmNvbSIsIm5iZiI6MTUyNjkxMDUzOCwiZXhwIjoxNTI2OTE3NzM4LCJ0eXBlIjoicmVmcmVzaF90b2tlbiIsImRhdGEiOnsiZXJyb3JNZXNzYWdlIjoiV3JvbmcgbnVtYmVyIG9mIHNlZ21lbnRzIiwid2lhYXNfaWRfdXNlciI6Ijc2Iiwid2lhYXNfdXNlcm5hbWUiOiJlbG1hMDEiLCJ3aWFhc191c2VyX3R5cGUiOiJjdXN0b21lciIsIndpYWFzX2lkX3VzZXJfdHlwZSI6IjIiLCJ3aWFhc191c2VyX2Z1bGxfbmFtZSI6IkVsZW5hIE1hbGlvdXRpbmEiLCJ3aWFhc19pc19jb21wYW55X2FkbWluIjpmYWxzZX19.LBUWMb1v1esutA4FNf5u4ZRSTcBuvIMrlHOnKnKSHjn2_-J8JSR8dZd-CCgRzlVriQiXNvRgRIM4eHg1Hh3RdA',0),
	(77,18,'FlowAdmin',NULL,'per@co-ideation.com','4ff4a0940b6257e40c54c2e4d7f2685d','2018-06-08 09:05:57',NULL,1),
	(78,15,'CoorGBG','$2y$12$hQKn8/3SzP/13nppZrynYODftARUNZq0ibtneTRZ2f78eKa.qItw6','rikard@co-ideation.com',NULL,NULL,'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzUxMiJ9.eyJpYXQiOjE1MjgzNTk4MTUsImp0aSI6Ind0QzZybkd4ZGM5dVhFem50TjgwcDZTZHdOUXJzVUtMXC9heDczNjl6R3hrPSIsImlzcyI6Imh0dHBzOlwvXC93aWFhcy5jb20iLCJuYmYiOjE1MjgzNTk4MTUsImV4cCI6MTUyODM2NzAxNSwidHlwZSI6InJlZnJlc2hfdG9rZW4iLCJkYXRhIjp7ImVycm9yTWVzc2FnZSI6IkV4cGlyZWQgdG9rZW4iLCJ3aWFhc19pZF91c2VyIjoiNzgiLCJ3aWFhc191c2VybmFtZSI6IkNvb3JHQkciLCJ3aWFhc191c2VyX3R5cGUiOiJjdXN0b21lciIsIndpYWFzX2lkX3VzZXJfdHlwZSI6IjIiLCJ3aWFhc191c2VyX2Z1bGxfbmFtZSI6IkNvb3IgR1x1MDBmNnRlYm9yZyBOZXcgT2ZmaWNlIiwid2lhYXNfaXNfY29tcGFueV9hZG1pbiI6dHJ1ZX19.Y-SAZN7JP8kFB7AhD7lUNEyhroa8v_BepOJFAiEyvee3bo0UzeKiYfrhaYcMJwWEp0ug1G860PBd74euFVTdIg',1);

/*!40000 ALTER TABLE `users` ENABLE KEYS */;
UNLOCK TABLES;


# Dump of table virtual_products
# ------------------------------------------------------------

DROP TABLE IF EXISTS `virtual_products`;

CREATE TABLE `virtual_products` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `virtualName` varchar(70) NOT NULL,
  `unit` varchar(10) DEFAULT NULL,
  `idCategory` int(11) DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `category` (`idCategory`),
  CONSTRAINT `category` FOREIGN KEY (`idCategory`) REFERENCES `product_categories` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

LOCK TABLES `virtual_products` WRITE;
/*!40000 ALTER TABLE `virtual_products` DISABLE KEYS */;

INSERT INTO `virtual_products` (`id`, `virtualName`, `unit`, `idCategory`)
VALUES
	(39,'Polycom RPG500 720p with camera',NULL,1),
	(40,'Service Polycom RPG500 with camera',NULL,1),
	(41,'Camera shelf',NULL,1),
	(42,'Wall mount part 1',NULL,1),
	(43,'Wall mount part 2',NULL,1),
	(44,'Screen 1',NULL,1),
	(45,'Screen 2',NULL,1),
	(46,'Speakers',NULL,1),
	(47,'Codec shelf',NULL,1),
	(48,'Cable channel floor',NULL,1),
	(49,'HDMI adapters',NULL,1),
	(50,'Interop license',NULL,1),
	(51,'Polycom touch panel',NULL,1),
	(52,'Power adapter for touch panel',NULL,1),
	(53,'Service Polycom Touch panel',NULL,1),
	(54,'Installation',NULL,2),
	(55,'End-user support',NULL,1),
	(56,'On-site service',NULL,1),
	(57,'IWB without controller',NULL,1),
	(58,'RICOH IWB',NULL,1),
	(59,'Wheel Stand Box 1',NULL,1),
	(60,'Wheel Stand Box 2',NULL,1),
	(61,'IWB Controller',NULL,1),
	(62,'Remote License',NULL,1),
	(63,'Pen Sensor Kit',NULL,1),
	(64,'Camera unit',NULL,1),
	(65,'Camera Holder',NULL,1),
	(66,'Generic mount',NULL,1),
	(67,'Video soft client',NULL,1),
	(68,'LG screen',NULL,1),
	(69,'Design package, software licens',NULL,2),
	(70,'Wall mount for Digital Signage',NULL,1),
	(71,'Roof mount for Digital Signage',NULL,1),
	(72,'Cabinet for Digital Signage',NULL,1),
	(73,'Printer',NULL,1),
	(74,'Printer installation',NULL,5),
	(75,'Floor standing totem for Digital Signage',NULL,1),
	(76,'Mini Display screen 10\"',NULL,1),
	(77,'Education On Site',NULL,4),
	(78,'Support Agreement',NULL,4);

/*!40000 ALTER TABLE `virtual_products` ENABLE KEYS */;
UNLOCK TABLES;


# Dump of table web_shop_cart
# ------------------------------------------------------------

DROP TABLE IF EXISTS `web_shop_cart`;

CREATE TABLE `web_shop_cart` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `idPackage` int(11) NOT NULL,
  `idCustomerInstance` int(11) NOT NULL,
  `idPrice` int(11) NOT NULL,
  `idUser` int(11) NOT NULL,
  `quantity` int(11) DEFAULT '1',
  `packageInstance` int(11) DEFAULT '1',
  `idDocument` int(11) DEFAULT NULL,
  `idAgreementDocument` int(11) DEFAULT NULL,
  `reference` varchar(250) DEFAULT NULL,
  `tender` varchar(100) DEFAULT NULL,
  `idDeliveryAddress` int(11) DEFAULT NULL,
  `idBillingAddress` int(11) DEFAULT NULL,
  `idBid` int(11) DEFAULT NULL,
  `idProject` int(11) DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `fk_cartCustomerInstance_idx` (`idCustomerInstance`),
  KEY `fk_carPriceList_idx` (`idPrice`),
  KEY `fk_cartUser_idx` (`idUser`),
  KEY `fk_cartPackage_idx` (`idPackage`),
  KEY `fk_cartAgreementDoc_idx` (`idAgreementDocument`),
  KEY `fk_cartQuestionnaireDoc_idx` (`idDocument`),
  KEY `fk_cart_billing_addr_idx` (`idBillingAddress`),
  KEY `fk_cart_delivery_addr_idx` (`idDeliveryAddress`),
  KEY `fk_cart_idBid_idx` (`idBid`),
  KEY `fk_cart_project_idProject_idx` (`idProject`),
  CONSTRAINT `fk_cartAgreementDoc` FOREIGN KEY (`idAgreementDocument`) REFERENCES `documents` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `fk_cartCustInst` FOREIGN KEY (`idCustomerInstance`) REFERENCES `rel_commercial_lead_customers` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `fk_cartPackage` FOREIGN KEY (`idPackage`) REFERENCES `packages` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `fk_cartPrice` FOREIGN KEY (`idPrice`) REFERENCES `price_list_commercial_lead` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `fk_cartQuestionnaireDoc` FOREIGN KEY (`idDocument`) REFERENCES `documents` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `fk_cartUser` FOREIGN KEY (`idUser`) REFERENCES `users` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `fk_cart_billing_addr` FOREIGN KEY (`idBillingAddress`) REFERENCES `billing_information` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `fk_cart_delivery_addr` FOREIGN KEY (`idDeliveryAddress`) REFERENCES `delivery_addresses` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `fk_cart_idBid` FOREIGN KEY (`idBid`) REFERENCES `packages_bids` (`id`) ON DELETE SET NULL ON UPDATE CASCADE,
  CONSTRAINT `fk_cart_project_idProject` FOREIGN KEY (`idProject`) REFERENCES `order_projects` (`id`) ON DELETE SET NULL ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

LOCK TABLES `web_shop_cart` WRITE;
/*!40000 ALTER TABLE `web_shop_cart` DISABLE KEYS */;

INSERT INTO `web_shop_cart` (`id`, `idPackage`, `idCustomerInstance`, `idPrice`, `idUser`, `quantity`, `packageInstance`, `idDocument`, `idAgreementDocument`, `reference`, `tender`, `idDeliveryAddress`, `idBillingAddress`, `idBid`, `idProject`)
VALUES
	(64,234,32,417,53,1,10,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
	(84,235,46,344,78,1,10,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
	(98,236,46,346,78,1,12,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);

/*!40000 ALTER TABLE `web_shop_cart` ENABLE KEYS */;
UNLOCK TABLES;


# Dump of table web_shop_cart_extra_packages
# ------------------------------------------------------------

DROP TABLE IF EXISTS `web_shop_cart_extra_packages`;

CREATE TABLE `web_shop_cart_extra_packages` (
  `idCart` int(11) NOT NULL,
  `idExtraPackage` int(11) NOT NULL,
  PRIMARY KEY (`idCart`,`idExtraPackage`),
  KEY `fk_idExtra_pck_for_cart_idx` (`idExtraPackage`),
  CONSTRAINT `fk_idExtra_pck_for_cart` FOREIGN KEY (`idExtraPackage`) REFERENCES `packages` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `fk_id_cart_ExtraPkg` FOREIGN KEY (`idCart`) REFERENCES `web_shop_cart` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

LOCK TABLES `web_shop_cart_extra_packages` WRITE;
/*!40000 ALTER TABLE `web_shop_cart_extra_packages` DISABLE KEYS */;

INSERT INTO `web_shop_cart_extra_packages` (`idCart`, `idExtraPackage`)
VALUES
	(64,277),
	(84,277),
	(98,277),
	(84,286),
	(98,287),
	(64,290);

/*!40000 ALTER TABLE `web_shop_cart_extra_packages` ENABLE KEYS */;
UNLOCK TABLES;



/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
