/*M!999999\- enable the sandbox mode */ 
-- MariaDB dump 10.19  Distrib 10.11.16-MariaDB, for Linux (x86_64)
--
-- Host: localhost    Database: weblinkltd_democrm
-- ------------------------------------------------------
-- Server version	10.11.16-MariaDB

/*!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 utf8mb4 */;
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!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 */;

--
-- Table structure for table `tblactivity_log`
--

DROP TABLE IF EXISTS `tblactivity_log`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `tblactivity_log` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `description` mediumtext NOT NULL,
  `date` datetime NOT NULL,
  `staffid` varchar(100) DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `staffid` (`staffid`)
) ENGINE=InnoDB AUTO_INCREMENT=12 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `tblactivity_log`
--

LOCK TABLES `tblactivity_log` WRITE;
/*!40000 ALTER TABLE `tblactivity_log` DISABLE KEYS */;
INSERT INTO `tblactivity_log` VALUES
(1,'User Successfully Logged In [User Id: 1, Is Staff Member: Yes, IP: 103.129.200.73]','2023-09-03 11:39:02','Enrich Coder (Admin)'),
(2,'User Successfully Logged In [User Id: 1, Is Staff Member: Yes, IP: 103.129.200.73]','2023-09-03 12:16:47','Enrich Coder (Admin)'),
(3,'User Successfully Logged In [User Id: 1, Is Staff Member: Yes, IP: 103.129.200.73]','2023-09-03 12:27:58','Enrich Coder (Admin)'),
(4,'User Successfully Logged In [User Id: 1, Is Staff Member: Yes, IP: 103.129.200.73]','2023-09-04 09:03:27','Enrich Coder (Admin)'),
(5,'User Successfully Logged In [User Id: 1, Is Staff Member: Yes, IP: 103.197.49.252]','2023-11-21 15:53:43','Enrich Coder (Admin)'),
(6,'User Successfully Logged In [User Id: 1, Is Staff Member: Yes, IP: 103.197.49.252]','2023-11-21 15:54:05','Enrich Coder (Admin)'),
(7,'User Successfully Logged In [User Id: 1, Is Staff Member: Yes, IP: 103.197.49.252]','2024-01-28 10:19:31','Enrich Coder (Admin)'),
(8,'Non Existing User Tried to Login [Email: admin@site.com, Is Staff Member: No, IP: 103.129.202.10]','2024-04-18 10:35:35',NULL),
(9,'Non Existing User Tried to Login [Email: admin@enrichcoder.com, Is Staff Member: No, IP: 103.197.49.252]','2024-04-18 15:07:42',NULL),
(10,'User Successfully Logged In [User Id: 1, Is Staff Member: Yes, IP: 103.197.49.252]','2024-06-11 11:55:13','Enrich Coder (Admin)'),
(11,'User Successfully Logged In [User Id: 1, Is Staff Member: Yes, IP: 103.197.49.252]','2025-02-06 13:48:24','Enrich Coder (Admin)');
/*!40000 ALTER TABLE `tblactivity_log` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `tblannouncements`
--

DROP TABLE IF EXISTS `tblannouncements`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `tblannouncements` (
  `announcementid` int(11) NOT NULL AUTO_INCREMENT,
  `name` varchar(191) NOT NULL,
  `message` text DEFAULT NULL,
  `showtousers` int(11) NOT NULL,
  `showtostaff` int(11) NOT NULL,
  `showname` int(11) NOT NULL,
  `dateadded` datetime NOT NULL,
  `userid` varchar(100) NOT NULL,
  PRIMARY KEY (`announcementid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `tblannouncements`
--

LOCK TABLES `tblannouncements` WRITE;
/*!40000 ALTER TABLE `tblannouncements` DISABLE KEYS */;
/*!40000 ALTER TABLE `tblannouncements` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `tblclients`
--

DROP TABLE IF EXISTS `tblclients`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `tblclients` (
  `userid` int(11) NOT NULL AUTO_INCREMENT,
  `company` varchar(191) DEFAULT NULL,
  `vat` varchar(50) DEFAULT NULL,
  `phonenumber` varchar(30) DEFAULT NULL,
  `country` int(11) NOT NULL DEFAULT 0,
  `city` varchar(100) DEFAULT NULL,
  `zip` varchar(15) DEFAULT NULL,
  `state` varchar(50) DEFAULT NULL,
  `address` varchar(191) DEFAULT NULL,
  `website` varchar(150) DEFAULT NULL,
  `datecreated` datetime NOT NULL,
  `active` int(11) NOT NULL DEFAULT 1,
  `leadid` int(11) DEFAULT NULL,
  `billing_street` varchar(200) DEFAULT NULL,
  `billing_city` varchar(100) DEFAULT NULL,
  `billing_state` varchar(100) DEFAULT NULL,
  `billing_zip` varchar(100) DEFAULT NULL,
  `billing_country` int(11) DEFAULT 0,
  `shipping_street` varchar(200) DEFAULT NULL,
  `shipping_city` varchar(100) DEFAULT NULL,
  `shipping_state` varchar(100) DEFAULT NULL,
  `shipping_zip` varchar(100) DEFAULT NULL,
  `shipping_country` int(11) DEFAULT 0,
  `longitude` varchar(191) DEFAULT NULL,
  `latitude` varchar(191) DEFAULT NULL,
  `default_language` varchar(40) DEFAULT NULL,
  `default_currency` int(11) NOT NULL DEFAULT 0,
  `show_primary_contact` int(11) NOT NULL DEFAULT 0,
  `stripe_id` varchar(40) DEFAULT NULL,
  `registration_confirmed` int(11) NOT NULL DEFAULT 1,
  `addedfrom` int(11) NOT NULL DEFAULT 0,
  PRIMARY KEY (`userid`),
  KEY `country` (`country`),
  KEY `leadid` (`leadid`),
  KEY `company` (`company`),
  KEY `active` (`active`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `tblclients`
--

LOCK TABLES `tblclients` WRITE;
/*!40000 ALTER TABLE `tblclients` DISABLE KEYS */;
/*!40000 ALTER TABLE `tblclients` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `tblconsent_purposes`
--

DROP TABLE IF EXISTS `tblconsent_purposes`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `tblconsent_purposes` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `name` varchar(100) NOT NULL,
  `description` text DEFAULT NULL,
  `date_created` datetime NOT NULL,
  `last_updated` datetime DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `tblconsent_purposes`
--

LOCK TABLES `tblconsent_purposes` WRITE;
/*!40000 ALTER TABLE `tblconsent_purposes` DISABLE KEYS */;
/*!40000 ALTER TABLE `tblconsent_purposes` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `tblconsents`
--

DROP TABLE IF EXISTS `tblconsents`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `tblconsents` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `action` varchar(10) NOT NULL,
  `date` datetime NOT NULL,
  `ip` varchar(40) NOT NULL,
  `contact_id` int(11) NOT NULL DEFAULT 0,
  `lead_id` int(11) NOT NULL DEFAULT 0,
  `description` text DEFAULT NULL,
  `opt_in_purpose_description` text DEFAULT NULL,
  `purpose_id` int(11) NOT NULL,
  `staff_name` varchar(100) DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `purpose_id` (`purpose_id`),
  KEY `contact_id` (`contact_id`),
  KEY `lead_id` (`lead_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `tblconsents`
--

LOCK TABLES `tblconsents` WRITE;
/*!40000 ALTER TABLE `tblconsents` DISABLE KEYS */;
/*!40000 ALTER TABLE `tblconsents` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `tblcontact_permissions`
--

DROP TABLE IF EXISTS `tblcontact_permissions`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `tblcontact_permissions` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `permission_id` int(11) NOT NULL,
  `userid` int(11) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `tblcontact_permissions`
--

LOCK TABLES `tblcontact_permissions` WRITE;
/*!40000 ALTER TABLE `tblcontact_permissions` DISABLE KEYS */;
/*!40000 ALTER TABLE `tblcontact_permissions` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `tblcontacts`
--

DROP TABLE IF EXISTS `tblcontacts`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `tblcontacts` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `userid` int(11) NOT NULL,
  `is_primary` int(11) NOT NULL DEFAULT 1,
  `firstname` varchar(191) NOT NULL,
  `lastname` varchar(191) NOT NULL,
  `email` varchar(100) NOT NULL,
  `phonenumber` varchar(100) NOT NULL,
  `title` varchar(100) DEFAULT NULL,
  `datecreated` datetime NOT NULL,
  `password` varchar(255) DEFAULT NULL,
  `new_pass_key` varchar(32) DEFAULT NULL,
  `new_pass_key_requested` datetime DEFAULT NULL,
  `email_verified_at` datetime DEFAULT NULL,
  `email_verification_key` varchar(32) DEFAULT NULL,
  `email_verification_sent_at` datetime DEFAULT NULL,
  `last_ip` varchar(40) DEFAULT NULL,
  `last_login` datetime DEFAULT NULL,
  `last_password_change` datetime DEFAULT NULL,
  `active` tinyint(1) NOT NULL DEFAULT 1,
  `profile_image` varchar(191) DEFAULT NULL,
  `direction` varchar(3) DEFAULT NULL,
  `invoice_emails` tinyint(1) NOT NULL DEFAULT 1,
  `estimate_emails` tinyint(1) NOT NULL DEFAULT 1,
  `credit_note_emails` tinyint(1) NOT NULL DEFAULT 1,
  `contract_emails` tinyint(1) NOT NULL DEFAULT 1,
  `task_emails` tinyint(1) NOT NULL DEFAULT 1,
  `project_emails` tinyint(1) NOT NULL DEFAULT 1,
  `ticket_emails` tinyint(1) NOT NULL DEFAULT 1,
  PRIMARY KEY (`id`),
  KEY `userid` (`userid`),
  KEY `firstname` (`firstname`),
  KEY `lastname` (`lastname`),
  KEY `email` (`email`),
  KEY `is_primary` (`is_primary`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `tblcontacts`
--

LOCK TABLES `tblcontacts` WRITE;
/*!40000 ALTER TABLE `tblcontacts` DISABLE KEYS */;
/*!40000 ALTER TABLE `tblcontacts` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `tblcontract_comments`
--

DROP TABLE IF EXISTS `tblcontract_comments`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `tblcontract_comments` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `content` mediumtext DEFAULT NULL,
  `contract_id` int(11) NOT NULL,
  `staffid` int(11) NOT NULL,
  `dateadded` datetime NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `tblcontract_comments`
--

LOCK TABLES `tblcontract_comments` WRITE;
/*!40000 ALTER TABLE `tblcontract_comments` DISABLE KEYS */;
/*!40000 ALTER TABLE `tblcontract_comments` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `tblcontract_renewals`
--

DROP TABLE IF EXISTS `tblcontract_renewals`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `tblcontract_renewals` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `contractid` int(11) NOT NULL,
  `old_start_date` date NOT NULL,
  `new_start_date` date NOT NULL,
  `old_end_date` date DEFAULT NULL,
  `new_end_date` date DEFAULT NULL,
  `old_value` decimal(15,2) DEFAULT NULL,
  `new_value` decimal(15,2) DEFAULT NULL,
  `date_renewed` datetime NOT NULL,
  `renewed_by` varchar(100) NOT NULL,
  `renewed_by_staff_id` int(11) NOT NULL DEFAULT 0,
  `is_on_old_expiry_notified` int(11) DEFAULT 0,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `tblcontract_renewals`
--

LOCK TABLES `tblcontract_renewals` WRITE;
/*!40000 ALTER TABLE `tblcontract_renewals` DISABLE KEYS */;
/*!40000 ALTER TABLE `tblcontract_renewals` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `tblcontracts`
--

DROP TABLE IF EXISTS `tblcontracts`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `tblcontracts` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `content` longtext DEFAULT NULL,
  `description` text DEFAULT NULL,
  `subject` varchar(191) DEFAULT NULL,
  `client` int(11) NOT NULL,
  `datestart` date DEFAULT NULL,
  `dateend` date DEFAULT NULL,
  `contract_type` int(11) DEFAULT NULL,
  `project_id` int(11) DEFAULT NULL,
  `addedfrom` int(11) NOT NULL,
  `dateadded` datetime NOT NULL,
  `isexpirynotified` int(11) NOT NULL DEFAULT 0,
  `contract_value` decimal(15,2) DEFAULT NULL,
  `trash` tinyint(1) DEFAULT 0,
  `not_visible_to_client` tinyint(1) NOT NULL DEFAULT 0,
  `hash` varchar(32) DEFAULT NULL,
  `signed` tinyint(1) NOT NULL DEFAULT 0,
  `signature` varchar(40) DEFAULT NULL,
  `marked_as_signed` tinyint(1) NOT NULL DEFAULT 0,
  `acceptance_firstname` varchar(50) DEFAULT NULL,
  `acceptance_lastname` varchar(50) DEFAULT NULL,
  `acceptance_email` varchar(100) DEFAULT NULL,
  `acceptance_date` datetime DEFAULT NULL,
  `acceptance_ip` varchar(40) DEFAULT NULL,
  `short_link` varchar(100) DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `client` (`client`),
  KEY `contract_type` (`contract_type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `tblcontracts`
--

LOCK TABLES `tblcontracts` WRITE;
/*!40000 ALTER TABLE `tblcontracts` DISABLE KEYS */;
/*!40000 ALTER TABLE `tblcontracts` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `tblcontracts_types`
--

DROP TABLE IF EXISTS `tblcontracts_types`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `tblcontracts_types` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `name` mediumtext NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `tblcontracts_types`
--

LOCK TABLES `tblcontracts_types` WRITE;
/*!40000 ALTER TABLE `tblcontracts_types` DISABLE KEYS */;
/*!40000 ALTER TABLE `tblcontracts_types` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `tblcountries`
--

DROP TABLE IF EXISTS `tblcountries`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `tblcountries` (
  `country_id` int(11) NOT NULL AUTO_INCREMENT,
  `iso2` char(2) DEFAULT NULL,
  `short_name` varchar(80) NOT NULL DEFAULT '',
  `long_name` varchar(80) NOT NULL DEFAULT '',
  `iso3` char(3) DEFAULT NULL,
  `numcode` varchar(6) DEFAULT NULL,
  `un_member` varchar(12) DEFAULT NULL,
  `calling_code` varchar(8) DEFAULT NULL,
  `cctld` varchar(5) DEFAULT NULL,
  PRIMARY KEY (`country_id`)
) ENGINE=InnoDB AUTO_INCREMENT=251 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `tblcountries`
--

LOCK TABLES `tblcountries` WRITE;
/*!40000 ALTER TABLE `tblcountries` DISABLE KEYS */;
INSERT INTO `tblcountries` VALUES
(1,'AF','Afghanistan','Islamic Republic of Afghanistan','AFG','004','yes','93','.af'),
(2,'AX','Aland Islands','&Aring;land Islands','ALA','248','no','358','.ax'),
(3,'AL','Albania','Republic of Albania','ALB','008','yes','355','.al'),
(4,'DZ','Algeria','People\'s Democratic Republic of Algeria','DZA','012','yes','213','.dz'),
(5,'AS','American Samoa','American Samoa','ASM','016','no','1+684','.as'),
(6,'AD','Andorra','Principality of Andorra','AND','020','yes','376','.ad'),
(7,'AO','Angola','Republic of Angola','AGO','024','yes','244','.ao'),
(8,'AI','Anguilla','Anguilla','AIA','660','no','1+264','.ai'),
(9,'AQ','Antarctica','Antarctica','ATA','010','no','672','.aq'),
(10,'AG','Antigua and Barbuda','Antigua and Barbuda','ATG','028','yes','1+268','.ag'),
(11,'AR','Argentina','Argentine Republic','ARG','032','yes','54','.ar'),
(12,'AM','Armenia','Republic of Armenia','ARM','051','yes','374','.am'),
(13,'AW','Aruba','Aruba','ABW','533','no','297','.aw'),
(14,'AU','Australia','Commonwealth of Australia','AUS','036','yes','61','.au'),
(15,'AT','Austria','Republic of Austria','AUT','040','yes','43','.at'),
(16,'AZ','Azerbaijan','Republic of Azerbaijan','AZE','031','yes','994','.az'),
(17,'BS','Bahamas','Commonwealth of The Bahamas','BHS','044','yes','1+242','.bs'),
(18,'BH','Bahrain','Kingdom of Bahrain','BHR','048','yes','973','.bh'),
(19,'BD','Bangladesh','People\'s Republic of Bangladesh','BGD','050','yes','880','.bd'),
(20,'BB','Barbados','Barbados','BRB','052','yes','1+246','.bb'),
(21,'BY','Belarus','Republic of Belarus','BLR','112','yes','375','.by'),
(22,'BE','Belgium','Kingdom of Belgium','BEL','056','yes','32','.be'),
(23,'BZ','Belize','Belize','BLZ','084','yes','501','.bz'),
(24,'BJ','Benin','Republic of Benin','BEN','204','yes','229','.bj'),
(25,'BM','Bermuda','Bermuda Islands','BMU','060','no','1+441','.bm'),
(26,'BT','Bhutan','Kingdom of Bhutan','BTN','064','yes','975','.bt'),
(27,'BO','Bolivia','Plurinational State of Bolivia','BOL','068','yes','591','.bo'),
(28,'BQ','Bonaire, Sint Eustatius and Saba','Bonaire, Sint Eustatius and Saba','BES','535','no','599','.bq'),
(29,'BA','Bosnia and Herzegovina','Bosnia and Herzegovina','BIH','070','yes','387','.ba'),
(30,'BW','Botswana','Republic of Botswana','BWA','072','yes','267','.bw'),
(31,'BV','Bouvet Island','Bouvet Island','BVT','074','no','NONE','.bv'),
(32,'BR','Brazil','Federative Republic of Brazil','BRA','076','yes','55','.br'),
(33,'IO','British Indian Ocean Territory','British Indian Ocean Territory','IOT','086','no','246','.io'),
(34,'BN','Brunei','Brunei Darussalam','BRN','096','yes','673','.bn'),
(35,'BG','Bulgaria','Republic of Bulgaria','BGR','100','yes','359','.bg'),
(36,'BF','Burkina Faso','Burkina Faso','BFA','854','yes','226','.bf'),
(37,'BI','Burundi','Republic of Burundi','BDI','108','yes','257','.bi'),
(38,'KH','Cambodia','Kingdom of Cambodia','KHM','116','yes','855','.kh'),
(39,'CM','Cameroon','Republic of Cameroon','CMR','120','yes','237','.cm'),
(40,'CA','Canada','Canada','CAN','124','yes','1','.ca'),
(41,'CV','Cape Verde','Republic of Cape Verde','CPV','132','yes','238','.cv'),
(42,'KY','Cayman Islands','The Cayman Islands','CYM','136','no','1+345','.ky'),
(43,'CF','Central African Republic','Central African Republic','CAF','140','yes','236','.cf'),
(44,'TD','Chad','Republic of Chad','TCD','148','yes','235','.td'),
(45,'CL','Chile','Republic of Chile','CHL','152','yes','56','.cl'),
(46,'CN','China','People\'s Republic of China','CHN','156','yes','86','.cn'),
(47,'CX','Christmas Island','Christmas Island','CXR','162','no','61','.cx'),
(48,'CC','Cocos (Keeling) Islands','Cocos (Keeling) Islands','CCK','166','no','61','.cc'),
(49,'CO','Colombia','Republic of Colombia','COL','170','yes','57','.co'),
(50,'KM','Comoros','Union of the Comoros','COM','174','yes','269','.km'),
(51,'CG','Congo','Republic of the Congo','COG','178','yes','242','.cg'),
(52,'CK','Cook Islands','Cook Islands','COK','184','some','682','.ck'),
(53,'CR','Costa Rica','Republic of Costa Rica','CRI','188','yes','506','.cr'),
(54,'CI','Cote d\'ivoire (Ivory Coast)','Republic of C&ocirc;te D\'Ivoire (Ivory Coast)','CIV','384','yes','225','.ci'),
(55,'HR','Croatia','Republic of Croatia','HRV','191','yes','385','.hr'),
(56,'CU','Cuba','Republic of Cuba','CUB','192','yes','53','.cu'),
(57,'CW','Curacao','Cura&ccedil;ao','CUW','531','no','599','.cw'),
(58,'CY','Cyprus','Republic of Cyprus','CYP','196','yes','357','.cy'),
(59,'CZ','Czech Republic','Czech Republic','CZE','203','yes','420','.cz'),
(60,'CD','Democratic Republic of the Congo','Democratic Republic of the Congo','COD','180','yes','243','.cd'),
(61,'DK','Denmark','Kingdom of Denmark','DNK','208','yes','45','.dk'),
(62,'DJ','Djibouti','Republic of Djibouti','DJI','262','yes','253','.dj'),
(63,'DM','Dominica','Commonwealth of Dominica','DMA','212','yes','1+767','.dm'),
(64,'DO','Dominican Republic','Dominican Republic','DOM','214','yes','1+809, 8','.do'),
(65,'EC','Ecuador','Republic of Ecuador','ECU','218','yes','593','.ec'),
(66,'EG','Egypt','Arab Republic of Egypt','EGY','818','yes','20','.eg'),
(67,'SV','El Salvador','Republic of El Salvador','SLV','222','yes','503','.sv'),
(68,'GQ','Equatorial Guinea','Republic of Equatorial Guinea','GNQ','226','yes','240','.gq'),
(69,'ER','Eritrea','State of Eritrea','ERI','232','yes','291','.er'),
(70,'EE','Estonia','Republic of Estonia','EST','233','yes','372','.ee'),
(71,'ET','Ethiopia','Federal Democratic Republic of Ethiopia','ETH','231','yes','251','.et'),
(72,'FK','Falkland Islands (Malvinas)','The Falkland Islands (Malvinas)','FLK','238','no','500','.fk'),
(73,'FO','Faroe Islands','The Faroe Islands','FRO','234','no','298','.fo'),
(74,'FJ','Fiji','Republic of Fiji','FJI','242','yes','679','.fj'),
(75,'FI','Finland','Republic of Finland','FIN','246','yes','358','.fi'),
(76,'FR','France','French Republic','FRA','250','yes','33','.fr'),
(77,'GF','French Guiana','French Guiana','GUF','254','no','594','.gf'),
(78,'PF','French Polynesia','French Polynesia','PYF','258','no','689','.pf'),
(79,'TF','French Southern Territories','French Southern Territories','ATF','260','no',NULL,'.tf'),
(80,'GA','Gabon','Gabonese Republic','GAB','266','yes','241','.ga'),
(81,'GM','Gambia','Republic of The Gambia','GMB','270','yes','220','.gm'),
(82,'GE','Georgia','Georgia','GEO','268','yes','995','.ge'),
(83,'DE','Germany','Federal Republic of Germany','DEU','276','yes','49','.de'),
(84,'GH','Ghana','Republic of Ghana','GHA','288','yes','233','.gh'),
(85,'GI','Gibraltar','Gibraltar','GIB','292','no','350','.gi'),
(86,'GR','Greece','Hellenic Republic','GRC','300','yes','30','.gr'),
(87,'GL','Greenland','Greenland','GRL','304','no','299','.gl'),
(88,'GD','Grenada','Grenada','GRD','308','yes','1+473','.gd'),
(89,'GP','Guadaloupe','Guadeloupe','GLP','312','no','590','.gp'),
(90,'GU','Guam','Guam','GUM','316','no','1+671','.gu'),
(91,'GT','Guatemala','Republic of Guatemala','GTM','320','yes','502','.gt'),
(92,'GG','Guernsey','Guernsey','GGY','831','no','44','.gg'),
(93,'GN','Guinea','Republic of Guinea','GIN','324','yes','224','.gn'),
(94,'GW','Guinea-Bissau','Republic of Guinea-Bissau','GNB','624','yes','245','.gw'),
(95,'GY','Guyana','Co-operative Republic of Guyana','GUY','328','yes','592','.gy'),
(96,'HT','Haiti','Republic of Haiti','HTI','332','yes','509','.ht'),
(97,'HM','Heard Island and McDonald Islands','Heard Island and McDonald Islands','HMD','334','no','NONE','.hm'),
(98,'HN','Honduras','Republic of Honduras','HND','340','yes','504','.hn'),
(99,'HK','Hong Kong','Hong Kong','HKG','344','no','852','.hk'),
(100,'HU','Hungary','Hungary','HUN','348','yes','36','.hu'),
(101,'IS','Iceland','Republic of Iceland','ISL','352','yes','354','.is'),
(102,'IN','India','Republic of India','IND','356','yes','91','.in'),
(103,'ID','Indonesia','Republic of Indonesia','IDN','360','yes','62','.id'),
(104,'IR','Iran','Islamic Republic of Iran','IRN','364','yes','98','.ir'),
(105,'IQ','Iraq','Republic of Iraq','IRQ','368','yes','964','.iq'),
(106,'IE','Ireland','Ireland','IRL','372','yes','353','.ie'),
(107,'IM','Isle of Man','Isle of Man','IMN','833','no','44','.im'),
(108,'IL','Israel','State of Israel','ISR','376','yes','972','.il'),
(109,'IT','Italy','Italian Republic','ITA','380','yes','39','.jm'),
(110,'JM','Jamaica','Jamaica','JAM','388','yes','1+876','.jm'),
(111,'JP','Japan','Japan','JPN','392','yes','81','.jp'),
(112,'JE','Jersey','The Bailiwick of Jersey','JEY','832','no','44','.je'),
(113,'JO','Jordan','Hashemite Kingdom of Jordan','JOR','400','yes','962','.jo'),
(114,'KZ','Kazakhstan','Republic of Kazakhstan','KAZ','398','yes','7','.kz'),
(115,'KE','Kenya','Republic of Kenya','KEN','404','yes','254','.ke'),
(116,'KI','Kiribati','Republic of Kiribati','KIR','296','yes','686','.ki'),
(117,'XK','Kosovo','Republic of Kosovo','---','---','some','381',''),
(118,'KW','Kuwait','State of Kuwait','KWT','414','yes','965','.kw'),
(119,'KG','Kyrgyzstan','Kyrgyz Republic','KGZ','417','yes','996','.kg'),
(120,'LA','Laos','Lao People\'s Democratic Republic','LAO','418','yes','856','.la'),
(121,'LV','Latvia','Republic of Latvia','LVA','428','yes','371','.lv'),
(122,'LB','Lebanon','Republic of Lebanon','LBN','422','yes','961','.lb'),
(123,'LS','Lesotho','Kingdom of Lesotho','LSO','426','yes','266','.ls'),
(124,'LR','Liberia','Republic of Liberia','LBR','430','yes','231','.lr'),
(125,'LY','Libya','Libya','LBY','434','yes','218','.ly'),
(126,'LI','Liechtenstein','Principality of Liechtenstein','LIE','438','yes','423','.li'),
(127,'LT','Lithuania','Republic of Lithuania','LTU','440','yes','370','.lt'),
(128,'LU','Luxembourg','Grand Duchy of Luxembourg','LUX','442','yes','352','.lu'),
(129,'MO','Macao','The Macao Special Administrative Region','MAC','446','no','853','.mo'),
(130,'MK','North Macedonia','Republic of North Macedonia','MKD','807','yes','389','.mk'),
(131,'MG','Madagascar','Republic of Madagascar','MDG','450','yes','261','.mg'),
(132,'MW','Malawi','Republic of Malawi','MWI','454','yes','265','.mw'),
(133,'MY','Malaysia','Malaysia','MYS','458','yes','60','.my'),
(134,'MV','Maldives','Republic of Maldives','MDV','462','yes','960','.mv'),
(135,'ML','Mali','Republic of Mali','MLI','466','yes','223','.ml'),
(136,'MT','Malta','Republic of Malta','MLT','470','yes','356','.mt'),
(137,'MH','Marshall Islands','Republic of the Marshall Islands','MHL','584','yes','692','.mh'),
(138,'MQ','Martinique','Martinique','MTQ','474','no','596','.mq'),
(139,'MR','Mauritania','Islamic Republic of Mauritania','MRT','478','yes','222','.mr'),
(140,'MU','Mauritius','Republic of Mauritius','MUS','480','yes','230','.mu'),
(141,'YT','Mayotte','Mayotte','MYT','175','no','262','.yt'),
(142,'MX','Mexico','United Mexican States','MEX','484','yes','52','.mx'),
(143,'FM','Micronesia','Federated States of Micronesia','FSM','583','yes','691','.fm'),
(144,'MD','Moldava','Republic of Moldova','MDA','498','yes','373','.md'),
(145,'MC','Monaco','Principality of Monaco','MCO','492','yes','377','.mc'),
(146,'MN','Mongolia','Mongolia','MNG','496','yes','976','.mn'),
(147,'ME','Montenegro','Montenegro','MNE','499','yes','382','.me'),
(148,'MS','Montserrat','Montserrat','MSR','500','no','1+664','.ms'),
(149,'MA','Morocco','Kingdom of Morocco','MAR','504','yes','212','.ma'),
(150,'MZ','Mozambique','Republic of Mozambique','MOZ','508','yes','258','.mz'),
(151,'MM','Myanmar (Burma)','Republic of the Union of Myanmar','MMR','104','yes','95','.mm'),
(152,'NA','Namibia','Republic of Namibia','NAM','516','yes','264','.na'),
(153,'NR','Nauru','Republic of Nauru','NRU','520','yes','674','.nr'),
(154,'NP','Nepal','Federal Democratic Republic of Nepal','NPL','524','yes','977','.np'),
(155,'NL','Netherlands','Kingdom of the Netherlands','NLD','528','yes','31','.nl'),
(156,'NC','New Caledonia','New Caledonia','NCL','540','no','687','.nc'),
(157,'NZ','New Zealand','New Zealand','NZL','554','yes','64','.nz'),
(158,'NI','Nicaragua','Republic of Nicaragua','NIC','558','yes','505','.ni'),
(159,'NE','Niger','Republic of Niger','NER','562','yes','227','.ne'),
(160,'NG','Nigeria','Federal Republic of Nigeria','NGA','566','yes','234','.ng'),
(161,'NU','Niue','Niue','NIU','570','some','683','.nu'),
(162,'NF','Norfolk Island','Norfolk Island','NFK','574','no','672','.nf'),
(163,'KP','North Korea','Democratic People\'s Republic of Korea','PRK','408','yes','850','.kp'),
(164,'MP','Northern Mariana Islands','Northern Mariana Islands','MNP','580','no','1+670','.mp'),
(165,'NO','Norway','Kingdom of Norway','NOR','578','yes','47','.no'),
(166,'OM','Oman','Sultanate of Oman','OMN','512','yes','968','.om'),
(167,'PK','Pakistan','Islamic Republic of Pakistan','PAK','586','yes','92','.pk'),
(168,'PW','Palau','Republic of Palau','PLW','585','yes','680','.pw'),
(169,'PS','Palestine','State of Palestine (or Occupied Palestinian Territory)','PSE','275','some','970','.ps'),
(170,'PA','Panama','Republic of Panama','PAN','591','yes','507','.pa'),
(171,'PG','Papua New Guinea','Independent State of Papua New Guinea','PNG','598','yes','675','.pg'),
(172,'PY','Paraguay','Republic of Paraguay','PRY','600','yes','595','.py'),
(173,'PE','Peru','Republic of Peru','PER','604','yes','51','.pe'),
(174,'PH','Philippines','Republic of the Philippines','PHL','608','yes','63','.ph'),
(175,'PN','Pitcairn','Pitcairn','PCN','612','no','NONE','.pn'),
(176,'PL','Poland','Republic of Poland','POL','616','yes','48','.pl'),
(177,'PT','Portugal','Portuguese Republic','PRT','620','yes','351','.pt'),
(178,'PR','Puerto Rico','Commonwealth of Puerto Rico','PRI','630','no','1+939','.pr'),
(179,'QA','Qatar','State of Qatar','QAT','634','yes','974','.qa'),
(180,'RE','Reunion','R&eacute;union','REU','638','no','262','.re'),
(181,'RO','Romania','Romania','ROU','642','yes','40','.ro'),
(182,'RU','Russia','Russian Federation','RUS','643','yes','7','.ru'),
(183,'RW','Rwanda','Republic of Rwanda','RWA','646','yes','250','.rw'),
(184,'BL','Saint Barthelemy','Saint Barth&eacute;lemy','BLM','652','no','590','.bl'),
(185,'SH','Saint Helena','Saint Helena, Ascension and Tristan da Cunha','SHN','654','no','290','.sh'),
(186,'KN','Saint Kitts and Nevis','Federation of Saint Christopher and Nevis','KNA','659','yes','1+869','.kn'),
(187,'LC','Saint Lucia','Saint Lucia','LCA','662','yes','1+758','.lc'),
(188,'MF','Saint Martin','Saint Martin','MAF','663','no','590','.mf'),
(189,'PM','Saint Pierre and Miquelon','Saint Pierre and Miquelon','SPM','666','no','508','.pm'),
(190,'VC','Saint Vincent and the Grenadines','Saint Vincent and the Grenadines','VCT','670','yes','1+784','.vc'),
(191,'WS','Samoa','Independent State of Samoa','WSM','882','yes','685','.ws'),
(192,'SM','San Marino','Republic of San Marino','SMR','674','yes','378','.sm'),
(193,'ST','Sao Tome and Principe','Democratic Republic of S&atilde;o Tom&eacute; and Pr&iacute;ncipe','STP','678','yes','239','.st'),
(194,'SA','Saudi Arabia','Kingdom of Saudi Arabia','SAU','682','yes','966','.sa'),
(195,'SN','Senegal','Republic of Senegal','SEN','686','yes','221','.sn'),
(196,'RS','Serbia','Republic of Serbia','SRB','688','yes','381','.rs'),
(197,'SC','Seychelles','Republic of Seychelles','SYC','690','yes','248','.sc'),
(198,'SL','Sierra Leone','Republic of Sierra Leone','SLE','694','yes','232','.sl'),
(199,'SG','Singapore','Republic of Singapore','SGP','702','yes','65','.sg'),
(200,'SX','Sint Maarten','Sint Maarten','SXM','534','no','1+721','.sx'),
(201,'SK','Slovakia','Slovak Republic','SVK','703','yes','421','.sk'),
(202,'SI','Slovenia','Republic of Slovenia','SVN','705','yes','386','.si'),
(203,'SB','Solomon Islands','Solomon Islands','SLB','090','yes','677','.sb'),
(204,'SO','Somalia','Somali Republic','SOM','706','yes','252','.so'),
(205,'ZA','South Africa','Republic of South Africa','ZAF','710','yes','27','.za'),
(206,'GS','South Georgia and the South Sandwich Islands','South Georgia and the South Sandwich Islands','SGS','239','no','500','.gs'),
(207,'KR','South Korea','Republic of Korea','KOR','410','yes','82','.kr'),
(208,'SS','South Sudan','Republic of South Sudan','SSD','728','yes','211','.ss'),
(209,'ES','Spain','Kingdom of Spain','ESP','724','yes','34','.es'),
(210,'LK','Sri Lanka','Democratic Socialist Republic of Sri Lanka','LKA','144','yes','94','.lk'),
(211,'SD','Sudan','Republic of the Sudan','SDN','729','yes','249','.sd'),
(212,'SR','Suriname','Republic of Suriname','SUR','740','yes','597','.sr'),
(213,'SJ','Svalbard and Jan Mayen','Svalbard and Jan Mayen','SJM','744','no','47','.sj'),
(214,'SZ','Swaziland','Kingdom of Swaziland','SWZ','748','yes','268','.sz'),
(215,'SE','Sweden','Kingdom of Sweden','SWE','752','yes','46','.se'),
(216,'CH','Switzerland','Swiss Confederation','CHE','756','yes','41','.ch'),
(217,'SY','Syria','Syrian Arab Republic','SYR','760','yes','963','.sy'),
(218,'TW','Taiwan','Republic of China (Taiwan)','TWN','158','former','886','.tw'),
(219,'TJ','Tajikistan','Republic of Tajikistan','TJK','762','yes','992','.tj'),
(220,'TZ','Tanzania','United Republic of Tanzania','TZA','834','yes','255','.tz'),
(221,'TH','Thailand','Kingdom of Thailand','THA','764','yes','66','.th'),
(222,'TL','Timor-Leste (East Timor)','Democratic Republic of Timor-Leste','TLS','626','yes','670','.tl'),
(223,'TG','Togo','Togolese Republic','TGO','768','yes','228','.tg'),
(224,'TK','Tokelau','Tokelau','TKL','772','no','690','.tk'),
(225,'TO','Tonga','Kingdom of Tonga','TON','776','yes','676','.to'),
(226,'TT','Trinidad and Tobago','Republic of Trinidad and Tobago','TTO','780','yes','1+868','.tt'),
(227,'TN','Tunisia','Republic of Tunisia','TUN','788','yes','216','.tn'),
(228,'TR','Turkey','Republic of Turkey','TUR','792','yes','90','.tr'),
(229,'TM','Turkmenistan','Turkmenistan','TKM','795','yes','993','.tm'),
(230,'TC','Turks and Caicos Islands','Turks and Caicos Islands','TCA','796','no','1+649','.tc'),
(231,'TV','Tuvalu','Tuvalu','TUV','798','yes','688','.tv'),
(232,'UG','Uganda','Republic of Uganda','UGA','800','yes','256','.ug'),
(233,'UA','Ukraine','Ukraine','UKR','804','yes','380','.ua'),
(234,'AE','United Arab Emirates','United Arab Emirates','ARE','784','yes','971','.ae'),
(235,'GB','United Kingdom','United Kingdom of Great Britain and Nothern Ireland','GBR','826','yes','44','.uk'),
(236,'US','United States','United States of America','USA','840','yes','1','.us'),
(237,'UM','United States Minor Outlying Islands','United States Minor Outlying Islands','UMI','581','no','NONE','NONE'),
(238,'UY','Uruguay','Eastern Republic of Uruguay','URY','858','yes','598','.uy'),
(239,'UZ','Uzbekistan','Republic of Uzbekistan','UZB','860','yes','998','.uz'),
(240,'VU','Vanuatu','Republic of Vanuatu','VUT','548','yes','678','.vu'),
(241,'VA','Vatican City','State of the Vatican City','VAT','336','no','39','.va'),
(242,'VE','Venezuela','Bolivarian Republic of Venezuela','VEN','862','yes','58','.ve'),
(243,'VN','Vietnam','Socialist Republic of Vietnam','VNM','704','yes','84','.vn'),
(244,'VG','Virgin Islands, British','British Virgin Islands','VGB','092','no','1+284','.vg'),
(245,'VI','Virgin Islands, US','Virgin Islands of the United States','VIR','850','no','1+340','.vi'),
(246,'WF','Wallis and Futuna','Wallis and Futuna','WLF','876','no','681','.wf'),
(247,'EH','Western Sahara','Western Sahara','ESH','732','no','212','.eh'),
(248,'YE','Yemen','Republic of Yemen','YEM','887','yes','967','.ye'),
(249,'ZM','Zambia','Republic of Zambia','ZMB','894','yes','260','.zm'),
(250,'ZW','Zimbabwe','Republic of Zimbabwe','ZWE','716','yes','263','.zw');
/*!40000 ALTER TABLE `tblcountries` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `tblcreditnote_refunds`
--

DROP TABLE IF EXISTS `tblcreditnote_refunds`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `tblcreditnote_refunds` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `credit_note_id` int(11) NOT NULL,
  `staff_id` int(11) NOT NULL,
  `refunded_on` date NOT NULL,
  `payment_mode` varchar(40) NOT NULL,
  `note` text DEFAULT NULL,
  `amount` decimal(15,2) NOT NULL,
  `created_at` datetime DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `tblcreditnote_refunds`
--

LOCK TABLES `tblcreditnote_refunds` WRITE;
/*!40000 ALTER TABLE `tblcreditnote_refunds` DISABLE KEYS */;
/*!40000 ALTER TABLE `tblcreditnote_refunds` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `tblcreditnotes`
--

DROP TABLE IF EXISTS `tblcreditnotes`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `tblcreditnotes` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `clientid` int(11) NOT NULL,
  `deleted_customer_name` varchar(100) DEFAULT NULL,
  `number` int(11) NOT NULL,
  `prefix` varchar(50) DEFAULT NULL,
  `number_format` int(11) NOT NULL DEFAULT 1,
  `datecreated` datetime NOT NULL,
  `date` date NOT NULL,
  `adminnote` text DEFAULT NULL,
  `terms` text DEFAULT NULL,
  `clientnote` text DEFAULT NULL,
  `currency` int(11) NOT NULL,
  `subtotal` decimal(15,2) NOT NULL,
  `total_tax` decimal(15,2) NOT NULL DEFAULT 0.00,
  `total` decimal(15,2) NOT NULL,
  `adjustment` decimal(15,2) DEFAULT NULL,
  `addedfrom` int(11) DEFAULT NULL,
  `status` int(11) DEFAULT 1,
  `project_id` int(11) NOT NULL DEFAULT 0,
  `discount_percent` decimal(15,2) DEFAULT 0.00,
  `discount_total` decimal(15,2) DEFAULT 0.00,
  `discount_type` varchar(30) NOT NULL,
  `billing_street` varchar(200) DEFAULT NULL,
  `billing_city` varchar(100) DEFAULT NULL,
  `billing_state` varchar(100) DEFAULT NULL,
  `billing_zip` varchar(100) DEFAULT NULL,
  `billing_country` int(11) DEFAULT NULL,
  `shipping_street` varchar(200) DEFAULT NULL,
  `shipping_city` varchar(100) DEFAULT NULL,
  `shipping_state` varchar(100) DEFAULT NULL,
  `shipping_zip` varchar(100) DEFAULT NULL,
  `shipping_country` int(11) DEFAULT NULL,
  `include_shipping` tinyint(1) NOT NULL,
  `show_shipping_on_credit_note` tinyint(1) NOT NULL DEFAULT 1,
  `show_quantity_as` int(11) NOT NULL DEFAULT 1,
  `reference_no` varchar(100) DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `currency` (`currency`),
  KEY `clientid` (`clientid`),
  KEY `project_id` (`project_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `tblcreditnotes`
--

LOCK TABLES `tblcreditnotes` WRITE;
/*!40000 ALTER TABLE `tblcreditnotes` DISABLE KEYS */;
/*!40000 ALTER TABLE `tblcreditnotes` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `tblcredits`
--

DROP TABLE IF EXISTS `tblcredits`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `tblcredits` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `invoice_id` int(11) NOT NULL,
  `credit_id` int(11) NOT NULL,
  `staff_id` int(11) NOT NULL,
  `date` date NOT NULL,
  `date_applied` datetime NOT NULL,
  `amount` decimal(15,2) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `tblcredits`
--

LOCK TABLES `tblcredits` WRITE;
/*!40000 ALTER TABLE `tblcredits` DISABLE KEYS */;
/*!40000 ALTER TABLE `tblcredits` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `tblcurrencies`
--

DROP TABLE IF EXISTS `tblcurrencies`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `tblcurrencies` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `symbol` varchar(10) NOT NULL,
  `name` varchar(100) NOT NULL,
  `decimal_separator` varchar(5) DEFAULT NULL,
  `thousand_separator` varchar(5) DEFAULT NULL,
  `placement` varchar(10) DEFAULT NULL,
  `isdefault` tinyint(1) NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `tblcurrencies`
--

LOCK TABLES `tblcurrencies` WRITE;
/*!40000 ALTER TABLE `tblcurrencies` DISABLE KEYS */;
INSERT INTO `tblcurrencies` VALUES
(1,'$','USD','.',',','before',1),
(2,'â‚¬','EUR',',','.','before',0);
/*!40000 ALTER TABLE `tblcurrencies` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `tblcustomer_admins`
--

DROP TABLE IF EXISTS `tblcustomer_admins`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `tblcustomer_admins` (
  `staff_id` int(11) NOT NULL,
  `customer_id` int(11) NOT NULL,
  `date_assigned` text NOT NULL,
  KEY `customer_id` (`customer_id`),
  KEY `staff_id` (`staff_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `tblcustomer_admins`
--

LOCK TABLES `tblcustomer_admins` WRITE;
/*!40000 ALTER TABLE `tblcustomer_admins` DISABLE KEYS */;
/*!40000 ALTER TABLE `tblcustomer_admins` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `tblcustomer_groups`
--

DROP TABLE IF EXISTS `tblcustomer_groups`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `tblcustomer_groups` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `groupid` int(11) NOT NULL,
  `customer_id` int(11) NOT NULL,
  PRIMARY KEY (`id`),
  KEY `groupid` (`groupid`),
  KEY `customer_id` (`customer_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `tblcustomer_groups`
--

LOCK TABLES `tblcustomer_groups` WRITE;
/*!40000 ALTER TABLE `tblcustomer_groups` DISABLE KEYS */;
/*!40000 ALTER TABLE `tblcustomer_groups` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `tblcustomers_groups`
--

DROP TABLE IF EXISTS `tblcustomers_groups`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `tblcustomers_groups` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `name` varchar(191) NOT NULL,
  PRIMARY KEY (`id`),
  KEY `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `tblcustomers_groups`
--

LOCK TABLES `tblcustomers_groups` WRITE;
/*!40000 ALTER TABLE `tblcustomers_groups` DISABLE KEYS */;
/*!40000 ALTER TABLE `tblcustomers_groups` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `tblcustomfields`
--

DROP TABLE IF EXISTS `tblcustomfields`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `tblcustomfields` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `fieldto` varchar(30) DEFAULT NULL,
  `name` varchar(150) NOT NULL,
  `slug` varchar(150) NOT NULL,
  `required` tinyint(1) NOT NULL DEFAULT 0,
  `type` varchar(20) NOT NULL,
  `options` mediumtext DEFAULT NULL,
  `display_inline` tinyint(1) NOT NULL DEFAULT 0,
  `field_order` int(11) DEFAULT 0,
  `active` int(11) NOT NULL DEFAULT 1,
  `show_on_pdf` int(11) NOT NULL DEFAULT 0,
  `show_on_ticket_form` tinyint(1) NOT NULL DEFAULT 0,
  `only_admin` tinyint(1) NOT NULL DEFAULT 0,
  `show_on_table` tinyint(1) NOT NULL DEFAULT 0,
  `show_on_client_portal` int(11) NOT NULL DEFAULT 0,
  `disalow_client_to_edit` int(11) NOT NULL DEFAULT 0,
  `bs_column` int(11) NOT NULL DEFAULT 12,
  `default_value` text DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `tblcustomfields`
--

LOCK TABLES `tblcustomfields` WRITE;
/*!40000 ALTER TABLE `tblcustomfields` DISABLE KEYS */;
/*!40000 ALTER TABLE `tblcustomfields` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `tblcustomfieldsvalues`
--

DROP TABLE IF EXISTS `tblcustomfieldsvalues`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `tblcustomfieldsvalues` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `relid` int(11) NOT NULL,
  `fieldid` int(11) NOT NULL,
  `fieldto` varchar(15) NOT NULL,
  `value` text NOT NULL,
  PRIMARY KEY (`id`),
  KEY `relid` (`relid`),
  KEY `fieldto` (`fieldto`),
  KEY `fieldid` (`fieldid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `tblcustomfieldsvalues`
--

LOCK TABLES `tblcustomfieldsvalues` WRITE;
/*!40000 ALTER TABLE `tblcustomfieldsvalues` DISABLE KEYS */;
/*!40000 ALTER TABLE `tblcustomfieldsvalues` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `tbldepartments`
--

DROP TABLE IF EXISTS `tbldepartments`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `tbldepartments` (
  `departmentid` int(11) NOT NULL AUTO_INCREMENT,
  `name` varchar(100) NOT NULL,
  `imap_username` varchar(191) DEFAULT NULL,
  `email` varchar(100) DEFAULT NULL,
  `email_from_header` tinyint(1) NOT NULL DEFAULT 0,
  `host` varchar(150) DEFAULT NULL,
  `password` mediumtext DEFAULT NULL,
  `encryption` varchar(3) DEFAULT NULL,
  `folder` varchar(191) NOT NULL DEFAULT 'INBOX',
  `delete_after_import` int(11) NOT NULL DEFAULT 0,
  `calendar_id` mediumtext DEFAULT NULL,
  `hidefromclient` tinyint(1) NOT NULL DEFAULT 0,
  PRIMARY KEY (`departmentid`),
  KEY `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `tbldepartments`
--

LOCK TABLES `tbldepartments` WRITE;
/*!40000 ALTER TABLE `tbldepartments` DISABLE KEYS */;
/*!40000 ALTER TABLE `tbldepartments` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `tbldismissed_announcements`
--

DROP TABLE IF EXISTS `tbldismissed_announcements`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `tbldismissed_announcements` (
  `dismissedannouncementid` int(11) NOT NULL AUTO_INCREMENT,
  `announcementid` int(11) NOT NULL,
  `staff` int(11) NOT NULL,
  `userid` int(11) NOT NULL,
  PRIMARY KEY (`dismissedannouncementid`),
  KEY `announcementid` (`announcementid`),
  KEY `staff` (`staff`),
  KEY `userid` (`userid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `tbldismissed_announcements`
--

LOCK TABLES `tbldismissed_announcements` WRITE;
/*!40000 ALTER TABLE `tbldismissed_announcements` DISABLE KEYS */;
/*!40000 ALTER TABLE `tbldismissed_announcements` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `tblemailtemplates`
--

DROP TABLE IF EXISTS `tblemailtemplates`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `tblemailtemplates` (
  `emailtemplateid` int(11) NOT NULL AUTO_INCREMENT,
  `type` mediumtext NOT NULL,
  `slug` varchar(100) NOT NULL,
  `language` varchar(40) DEFAULT NULL,
  `name` mediumtext NOT NULL,
  `subject` mediumtext NOT NULL,
  `message` mediumtext NOT NULL,
  `fromname` mediumtext NOT NULL,
  `fromemail` varchar(100) DEFAULT NULL,
  `plaintext` int(11) NOT NULL DEFAULT 0,
  `active` tinyint(4) NOT NULL DEFAULT 0,
  `order` int(11) NOT NULL,
  PRIMARY KEY (`emailtemplateid`)
) ENGINE=InnoDB AUTO_INCREMENT=82 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `tblemailtemplates`
--

LOCK TABLES `tblemailtemplates` WRITE;
/*!40000 ALTER TABLE `tblemailtemplates` DISABLE KEYS */;
INSERT INTO `tblemailtemplates` VALUES
(1,'client','new-client-created','english','New Contact Added/Registered (Welcome Email)','Welcome aboard','Dear {contact_firstname} {contact_lastname}<br /><br />Thank you for registering on the <strong>{companyname}</strong> CRM System.<br /><br />We just wanted to say welcome.<br /><br />Please contact us if you need any help.<br /><br />Click here to view your profile: <a href=\"{crm_url}\">{crm_url}</a><br /><br />Kind Regards, <br />{email_signature}<br /><br />(This is an automated email, so please don\'t reply to this email address)','{companyname} | CRM','',0,1,0),
(2,'invoice','invoice-send-to-client','english','Send Invoice to Customer','Invoice with number {invoice_number} created','<span style=\"font-size: 12pt;\">Dear {contact_firstname} {contact_lastname}</span><br /><br /><span style=\"font-size: 12pt;\">We have prepared the following invoice for you: <strong># {invoice_number}</strong></span><br /><br /><span style=\"font-size: 12pt;\"><strong>Invoice status</strong>: {invoice_status}</span><br /><br /><span style=\"font-size: 12pt;\">You can view the invoice on the following link: <a href=\"{invoice_link}\">{invoice_number}</a></span><br /><br /><span style=\"font-size: 12pt;\">Please contact us for more information.</span><br /><br /><span style=\"font-size: 12pt;\">Kind Regards,</span><br /><span style=\"font-size: 12pt;\">{email_signature}</span>','{companyname} | CRM','',0,1,0),
(3,'ticket','new-ticket-opened-admin','english','New Ticket Opened (Opened by Staff, Sent to Customer)','New Support Ticket Opened','<span style=\"font-size: 12pt;\">Hi {contact_firstname} {contact_lastname}</span><br /><br /><span style=\"font-size: 12pt;\">New support ticket has been opened.</span><br /><br /><span style=\"font-size: 12pt;\"><strong>Subject:</strong> {ticket_subject}</span><br /><span style=\"font-size: 12pt;\"><strong>Department:</strong> {ticket_department}</span><br /><span style=\"font-size: 12pt;\"><strong>Priority:</strong> {ticket_priority}<br /></span><br /><span style=\"font-size: 12pt;\"><strong>Ticket message:</strong></span><br /><span style=\"font-size: 12pt;\">{ticket_message}</span><br /><br /><span style=\"font-size: 12pt;\">You can view the ticket on the following link: <a href=\"{ticket_public_url}\">#{ticket_id}</a><br /><br />Kind Regards,</span><br /><span style=\"font-size: 12pt;\">{email_signature}</span>','{companyname} | CRM','',0,1,0),
(4,'ticket','ticket-reply','english','Ticket Reply (Sent to Customer)','New Ticket Reply','<span style=\"font-size: 12pt;\">Hi {contact_firstname} {contact_lastname}</span><br /><br /><span style=\"font-size: 12pt;\">You have a new ticket reply to ticket <a href=\"{ticket_public_url}\">#{ticket_id}</a></span><br /><br /><span style=\"font-size: 12pt;\"><strong>Ticket Subject:</strong> {ticket_subject}<br /></span><br /><span style=\"font-size: 12pt;\"><strong>Ticket message:</strong></span><br /><span style=\"font-size: 12pt;\">{ticket_message}</span><br /><br /><span style=\"font-size: 12pt;\">You can view the ticket on the following link: <a href=\"{ticket_public_url}\">#{ticket_id}</a></span><br /><br /><span style=\"font-size: 12pt;\">Kind Regards,</span><br /><span style=\"font-size: 12pt;\">{email_signature}</span>','{companyname} | CRM','',0,1,0),
(5,'ticket','ticket-autoresponse','english','New Ticket Opened - Autoresponse','New Support Ticket Opened','<span style=\"font-size: 12pt;\">Hi {contact_firstname} {contact_lastname}</span><br /><br /><span style=\"font-size: 12pt;\">Thank you for contacting our support team. A support ticket has now been opened for your request. You will be notified when a response is made by email.</span><br /><br /><span style=\"font-size: 12pt;\"><strong>Subject:</strong> {ticket_subject}</span><br /><span style=\"font-size: 12pt;\"><strong>Department</strong>: {ticket_department}</span><br /><span style=\"font-size: 12pt;\"><strong>Priority:</strong> {ticket_priority}</span><br /><br /><span style=\"font-size: 12pt;\"><strong>Ticket message:</strong></span><br /><span style=\"font-size: 12pt;\">{ticket_message}</span><br /><br /><span style=\"font-size: 12pt;\">You can view the ticket on the following link: <a href=\"{ticket_public_url}\">#{ticket_id}</a></span><br /><br /><span style=\"font-size: 12pt;\">Kind Regards,</span><br /><span style=\"font-size: 12pt;\">{email_signature}</span>','{companyname} | CRM','',0,1,0),
(6,'invoice','invoice-payment-recorded','english','Invoice Payment Recorded (Sent to Customer)','Invoice Payment Recorded','<span style=\"font-size: 12pt;\">Hello {contact_firstname}&nbsp;{contact_lastname}<br /><br /></span>Thank you for the payment. Find the payment details below:<br /><br />-------------------------------------------------<br /><br />Amount:&nbsp;<strong>{payment_total}<br /></strong>Date:&nbsp;<strong>{payment_date}</strong><br />Invoice number:&nbsp;<span style=\"font-size: 12pt;\"><strong># {invoice_number}<br /><br /></strong></span>-------------------------------------------------<br /><br />You can always view the invoice for this payment at the following link:&nbsp;<a href=\"{invoice_link}\"><span style=\"font-size: 12pt;\">{invoice_number}</span></a><br /><br />We are looking forward working with you.<br /><br /><span style=\"font-size: 12pt;\">Kind Regards,</span><br /><span style=\"font-size: 12pt;\">{email_signature}</span>','{companyname} | CRM','',0,1,0),
(7,'invoice','invoice-overdue-notice','english','Invoice Overdue Notice','Invoice Overdue Notice - {invoice_number}','<span style=\"font-size: 12pt;\">Hi {contact_firstname} {contact_lastname}</span><br /><br /><span style=\"font-size: 12pt;\">This is an overdue notice for invoice <strong># {invoice_number}</strong></span><br /><br /><span style=\"font-size: 12pt;\">This invoice was due: {invoice_duedate}</span><br /><br /><span style=\"font-size: 12pt;\">You can view the invoice on the following link: <a href=\"{invoice_link}\">{invoice_number}</a></span><br /><br /><span style=\"font-size: 12pt;\">Kind Regards,</span><br /><span style=\"font-size: 12pt;\">{email_signature}</span>','{companyname} | CRM','',0,1,0),
(8,'invoice','invoice-already-send','english','Invoice Already Sent to Customer','Invoice # {invoice_number} ','<span style=\"font-size: 12pt;\">Hi {contact_firstname} {contact_lastname}</span><br /><br /><span style=\"font-size: 12pt;\">At your request, here is the invoice with number <strong># {invoice_number}</strong></span><br /><br /><span style=\"font-size: 12pt;\">You can view the invoice on the following link: <a href=\"{invoice_link}\">{invoice_number}</a></span><br /><br /><span style=\"font-size: 12pt;\">Please contact us for more information.</span><br /><br /><span style=\"font-size: 12pt;\">Kind Regards,</span><br /><span style=\"font-size: 12pt;\">{email_signature}</span>','{companyname} | CRM','',0,1,0),
(9,'ticket','new-ticket-created-staff','english','New Ticket Created (Opened by Customer, Sent to Staff Members)','New Ticket Created','<p><span style=\"font-size: 12pt;\">A new support ticket has been opened.</span><br /><br /><span style=\"font-size: 12pt;\"><strong>Subject</strong>: {ticket_subject}</span><br /><span style=\"font-size: 12pt;\"><strong>Department</strong>: {ticket_department}</span><br /><span style=\"font-size: 12pt;\"><strong>Priority</strong>: {ticket_priority}<br /></span><br /><span style=\"font-size: 12pt;\"><strong>Ticket message:</strong></span><br /><span style=\"font-size: 12pt;\">{ticket_message}</span><br /><br /><span style=\"font-size: 12pt;\">You can view the ticket on the following link: <a href=\"{ticket_url}\">#{ticket_id}</a></span><br /><span style=\"font-size: 12pt;\">Kind Regards,</span><br /><span style=\"font-size: 12pt;\">{email_signature}</span></p>','{companyname} | CRM','',0,1,0),
(10,'estimate','estimate-send-to-client','english','Send Estimate to Customer','Estimate # {estimate_number} created','<span style=\"font-size: 12pt;\">Dear {contact_firstname} {contact_lastname}</span><br /><br /><span style=\"font-size: 12pt;\">Please find the attached estimate <strong># {estimate_number}</strong></span><br /><br /><span style=\"font-size: 12pt;\"><strong>Estimate status:</strong> {estimate_status}</span><br /><br /><span style=\"font-size: 12pt;\">You can view the estimate on the following link: <a href=\"{estimate_link}\">{estimate_number}</a></span><br /><br /><span style=\"font-size: 12pt;\">We look forward to your communication.</span><br /><br /><span style=\"font-size: 12pt;\">Kind Regards,</span><br /><span style=\"font-size: 12pt;\">{email_signature}<br /></span>','{companyname} | CRM','',0,1,0),
(11,'ticket','ticket-reply-to-admin','english','Ticket Reply (Sent to Staff)','New Support Ticket Reply','<span style=\"font-size: 12pt;\">A new support ticket reply from {contact_firstname} {contact_lastname}</span><br /><br /><span style=\"font-size: 12pt;\"><strong>Subject</strong>: {ticket_subject}</span><br /><span style=\"font-size: 12pt;\"><strong>Department</strong>: {ticket_department}</span><br /><span style=\"font-size: 12pt;\"><strong>Priority</strong>: {ticket_priority}</span><br /><br /><span style=\"font-size: 12pt;\"><strong>Ticket message:</strong></span><br /><span style=\"font-size: 12pt;\">{ticket_message}</span><br /><br /><span style=\"font-size: 12pt;\">You can view the ticket on the following link: <a href=\"{ticket_url}\">#{ticket_id}</a></span><br /><br /><span style=\"font-size: 12pt;\">Kind Regards,</span><br /><span style=\"font-size: 12pt;\">{email_signature}</span>','{companyname} | CRM','',0,1,0),
(12,'estimate','estimate-already-send','english','Estimate Already Sent to Customer','Estimate # {estimate_number} ','<span style=\"font-size: 12pt;\">Dear {contact_firstname} {contact_lastname}</span><br /> <br /><span style=\"font-size: 12pt;\">Thank you for your estimate request.</span><br /> <br /><span style=\"font-size: 12pt;\">You can view the estimate on the following link: <a href=\"{estimate_link}\">{estimate_number}</a></span><br /> <br /><span style=\"font-size: 12pt;\">Please contact us for more information.</span><br /> <br /><span style=\"font-size: 12pt;\">Kind Regards,</span><br /><span style=\"font-size: 12pt;\">{email_signature}</span>','{companyname} | CRM','',0,1,0),
(13,'contract','contract-expiration','english','Contract Expiration Reminder (Sent to Customer Contacts)','Contract Expiration Reminder','<span style=\"font-size: 12pt;\">Dear {client_company}</span><br /><br /><span style=\"font-size: 12pt;\">This is a reminder that the following contract will expire soon:</span><br /><br /><span style=\"font-size: 12pt;\"><strong>Subject:</strong> {contract_subject}</span><br /><span style=\"font-size: 12pt;\"><strong>Description:</strong> {contract_description}</span><br /><span style=\"font-size: 12pt;\"><strong>Date Start:</strong> {contract_datestart}</span><br /><span style=\"font-size: 12pt;\"><strong>Date End:</strong> {contract_dateend}</span><br /><br /><span style=\"font-size: 12pt;\">Please contact us for more information.</span><br /><br /><span style=\"font-size: 12pt;\">Kind Regards,</span><br /><span style=\"font-size: 12pt;\">{email_signature}</span>','{companyname} | CRM','',0,1,0),
(14,'tasks','task-assigned','english','New Task Assigned (Sent to Staff)','New Task Assigned to You - {task_name}','<span style=\"font-size: 12pt;\">Dear {staff_firstname}</span><br /><br /><span style=\"font-size: 12pt;\">You have been assigned to a new task:</span><br /><br /><span style=\"font-size: 12pt;\"><strong>Name:</strong> {task_name}<br /></span><strong>Start Date:</strong> {task_startdate}<br /><span style=\"font-size: 12pt;\"><strong>Due date:</strong> {task_duedate}</span><br /><span style=\"font-size: 12pt;\"><strong>Priority:</strong> {task_priority}<br /><br /></span><span style=\"font-size: 12pt;\"><span>You can view the task on the following link</span>: <a href=\"{task_link}\">{task_name}</a></span><br /><br /><span style=\"font-size: 12pt;\">Kind Regards,</span><br /><span style=\"font-size: 12pt;\">{email_signature}</span>','{companyname} | CRM','',0,1,0),
(15,'tasks','task-added-as-follower','english','Staff Member Added as Follower on Task (Sent to Staff)','You are added as follower on task - {task_name}','<span style=\"font-size: 12pt;\">Hi {staff_firstname}<br /></span><br /><span style=\"font-size: 12pt;\">You have been added as follower on the following task:</span><br /><br /><span style=\"font-size: 12pt;\"><strong>Name:</strong> {task_name}</span><br /><span style=\"font-size: 12pt;\"><strong>Start date:</strong> {task_startdate}</span><br /><br /><span>You can view the task on the following link</span><span>: </span><a href=\"{task_link}\">{task_name}</a><br /><br /><span style=\"font-size: 12pt;\">Kind Regards,</span><br /><span style=\"font-size: 12pt;\">{email_signature}</span>','{companyname} | CRM','',0,1,0),
(16,'tasks','task-commented','english','New Comment on Task (Sent to Staff)','New Comment on Task - {task_name}','Dear {staff_firstname}<br /><br />A comment has been made on the following task:<br /><br /><strong>Name:</strong> {task_name}<br /><strong>Comment:</strong> {task_comment}<br /><br />You can view the task on the following link: <a href=\"{task_link}\">{task_name}</a><br /><br />Kind Regards,<br />{email_signature}','{companyname} | CRM','',0,1,0),
(17,'tasks','task-added-attachment','english','New Attachment(s) on Task (Sent to Staff)','New Attachment on Task - {task_name}','Hi {staff_firstname}<br /><br /><strong>{task_user_take_action}</strong> added an attachment on the following task:<br /><br /><strong>Name:</strong> {task_name}<br /><br />You can view the task on the following link: <a href=\"{task_link}\">{task_name}</a><br /><br />Kind Regards,<br />{email_signature}','{companyname} | CRM','',0,1,0),
(18,'estimate','estimate-declined-to-staff','english','Estimate Declined (Sent to Staff)','Customer Declined Estimate','<span style=\"font-size: 12pt;\">Hi</span><br /> <br /><span style=\"font-size: 12pt;\">Customer ({client_company}) declined estimate with number <strong># {estimate_number}</strong></span><br /> <br /><span style=\"font-size: 12pt;\">You can view the estimate on the following link: <a href=\"{estimate_link}\">{estimate_number}</a></span><br /> <br /><span style=\"font-size: 12pt;\">{email_signature}</span>','{companyname} | CRM','',0,1,0),
(19,'estimate','estimate-accepted-to-staff','english','Estimate Accepted (Sent to Staff)','Customer Accepted Estimate','<span style=\"font-size: 12pt;\">Hi</span><br /> <br /><span style=\"font-size: 12pt;\">Customer ({client_company}) accepted estimate with number <strong># {estimate_number}</strong></span><br /> <br /><span style=\"font-size: 12pt;\">You can view the estimate on the following link: <a href=\"{estimate_link}\">{estimate_number}</a></span><br /> <br /><span style=\"font-size: 12pt;\">{email_signature}</span>','{companyname} | CRM','',0,1,0),
(20,'proposals','proposal-client-accepted','english','Customer Action - Accepted (Sent to Staff)','Customer Accepted Proposal','<div>Hi<br /> <br />Client <strong>{proposal_proposal_to}</strong> accepted the following proposal:<br /> <br /><strong>Number:</strong> {proposal_number}<br /><strong>Subject</strong>: {proposal_subject}<br /><strong>Total</strong>: {proposal_total}<br /> <br />View the proposal on the following link: <a href=\"{proposal_link}\">{proposal_number}</a><br /> <br />Kind Regards,<br />{email_signature}</div>\r\n<div>&nbsp;</div>\r\n<div>&nbsp;</div>\r\n<div>&nbsp;</div>','{companyname} | CRM','',0,1,0),
(21,'proposals','proposal-send-to-customer','english','Send Proposal to Customer','Proposal With Number {proposal_number} Created','Dear {proposal_proposal_to}<br /><br />Please find our attached proposal.<br /><br />This proposal is valid until: {proposal_open_till}<br />You can view the proposal on the following link: <a href=\"{proposal_link}\">{proposal_number}</a><br /><br />Please don\'t hesitate to comment online if you have any questions.<br /><br />We look forward to your communication.<br /><br />Kind Regards,<br />{email_signature}','{companyname} | CRM','',0,1,0),
(22,'proposals','proposal-client-declined','english','Customer Action - Declined (Sent to Staff)','Client Declined Proposal','Hi<br /> <br />Customer <strong>{proposal_proposal_to}</strong> declined the proposal <strong>{proposal_subject}</strong><br /> <br />View the proposal on the following link <a href=\"{proposal_link}\">{proposal_number}</a>&nbsp;or from the admin area.<br /> <br />Kind Regards,<br />{email_signature}','{companyname} | CRM','',0,1,0),
(23,'proposals','proposal-client-thank-you','english','Thank You Email (Sent to Customer After Accept)','Thank for you accepting proposal','Dear {proposal_proposal_to}<br /> <br />Thank for for accepting the proposal.<br /> <br />We look forward to doing business with you.<br /> <br />We will contact you as soon as possible<br /> <br />Kind Regards,<br />{email_signature}','{companyname} | CRM','',0,1,0),
(24,'proposals','proposal-comment-to-client','english','New Comment Â (Sent to Customer/Lead)','New Proposal Comment','Dear {proposal_proposal_to}<br /> <br />A new comment has been made on the following proposal: <strong>{proposal_number}</strong><br /> <br />You can view and reply to the comment on the following link: <a href=\"{proposal_link}\">{proposal_number}</a><br /> <br />Kind Regards,<br />{email_signature}','{companyname} | CRM','',0,1,0),
(25,'proposals','proposal-comment-to-admin','english','New Comment (Sent to Staff) ','New Proposal Comment','Hi<br /> <br />A new comment has been made to the proposal <strong>{proposal_subject}</strong><br /> <br />You can view and reply to the comment on the following link: <a href=\"{proposal_link}\">{proposal_number}</a>&nbsp;or from the admin area.<br /> <br />{email_signature}','{companyname} | CRM','',0,1,0),
(26,'estimate','estimate-thank-you-to-customer','english','Thank You Email (Sent to Customer After Accept)','Thank for you accepting estimate','<span style=\"font-size: 12pt;\">Dear {contact_firstname} {contact_lastname}</span><br /> <br /><span style=\"font-size: 12pt;\">Thank for for accepting the estimate.</span><br /> <br /><span style=\"font-size: 12pt;\">We look forward to doing business with you.</span><br /> <br /><span style=\"font-size: 12pt;\">We will contact you as soon as possible.</span><br /> <br /><span style=\"font-size: 12pt;\">Kind Regards,</span><br /><span style=\"font-size: 12pt;\">{email_signature}</span>','{companyname} | CRM','',0,1,0),
(27,'tasks','task-deadline-notification','english','Task Deadline Reminder - Sent to Assigned Members','Task Deadline Reminder','Hi {staff_firstname}&nbsp;{staff_lastname}<br /><br />This is an automated email from {companyname}.<br /><br />The task <strong>{task_name}</strong> deadline is on <strong>{task_duedate}</strong>. <br />This task is still not finished.<br /><br />You can view the task on the following link: <a href=\"{task_link}\">{task_name}</a><br /><br />Kind Regards,<br />{email_signature}','{companyname} | CRM','',0,1,0),
(28,'contract','send-contract','english','Send Contract to Customer','Contract - {contract_subject}','<p><span style=\"font-size: 12pt;\">Hi&nbsp;{contact_firstname}&nbsp;{contact_lastname}</span><br /><br /><span style=\"font-size: 12pt;\">Please find the <a href=\"{contract_link}\">{contract_subject}</a> attached.<br /><br />Description: {contract_description}<br /><br /></span><span style=\"font-size: 12pt;\">Looking forward to hear from you.</span><br /><br /><span style=\"font-size: 12pt;\">Kind Regards,</span><br /><span style=\"font-size: 12pt;\">{email_signature}</span></p>','{companyname} | CRM','',0,1,0),
(29,'invoice','invoice-payment-recorded-to-staff','english','Invoice Payment Recorded (Sent to Staff)','New Invoice Payment','<span style=\"font-size: 12pt;\">Hi</span><br /><br /><span style=\"font-size: 12pt;\">Customer recorded payment for invoice <strong># {invoice_number}</strong></span><br /> <br /><span style=\"font-size: 12pt;\">You can view the invoice on the following link: <a href=\"{invoice_link}\">{invoice_number}</a></span><br /> <br /><span style=\"font-size: 12pt;\">Kind Regards,</span><br /><span style=\"font-size: 12pt;\">{email_signature}</span>','{companyname} | CRM','',0,1,0),
(30,'ticket','auto-close-ticket','english','Auto Close Ticket','Ticket Auto Closed','<p><span style=\"font-size: 12pt;\">Hi {contact_firstname} {contact_lastname}</span><br /><br /><span style=\"font-size: 12pt;\">Ticket {ticket_subject} has been auto close due to inactivity.</span><br /><br /><span style=\"font-size: 12pt;\"><strong>Ticket #</strong>: <a href=\"{ticket_public_url}\">{ticket_id}</a></span><br /><span style=\"font-size: 12pt;\"><strong>Department</strong>: {ticket_department}</span><br /><span style=\"font-size: 12pt;\"><strong>Priority:</strong> {ticket_priority}</span><br /><br /><span style=\"font-size: 12pt;\">Kind Regards,</span><br /><span style=\"font-size: 12pt;\">{email_signature}</span></p>','{companyname} | CRM','',0,1,0),
(31,'project','new-project-discussion-created-to-staff','english','New Project Discussion (Sent to Project Members)','New Project Discussion Created - {project_name}','<p>Hi {staff_firstname}<br /><br />New project discussion created from <strong>{discussion_creator}</strong><br /><br /><strong>Subject:</strong> {discussion_subject}<br /><strong>Description:</strong> {discussion_description}<br /><br />You can view the discussion on the following link: <a href=\"{discussion_link}\">{discussion_subject}</a><br /><br />Kind Regards,<br />{email_signature}</p>','{companyname} | CRM','',0,1,0),
(32,'project','new-project-discussion-created-to-customer','english','New Project Discussion (Sent to Customer Contacts)','New Project Discussion Created - {project_name}','<p>Hello {contact_firstname} {contact_lastname}<br /><br />New project discussion created from <strong>{discussion_creator}</strong><br /><br /><strong>Subject:</strong> {discussion_subject}<br /><strong>Description:</strong> {discussion_description}<br /><br />You can view the discussion on the following link: <a href=\"{discussion_link}\">{discussion_subject}</a><br /><br />Kind Regards,<br />{email_signature}</p>','{companyname} | CRM','',0,1,0),
(33,'project','new-project-file-uploaded-to-customer','english','New Project File(s) Uploaded (Sent to Customer Contacts)','New Project File(s) Uploaded - {project_name}','<p>Hello {contact_firstname} {contact_lastname}<br /><br />New project file is uploaded on <strong>{project_name}</strong> from <strong>{file_creator}</strong><br /><br />You can view the project on the following link: <a href=\"{project_link}\">{project_name}</a><br /><br />To view the file in our CRM you can click on the following link: <a href=\"{discussion_link}\">{discussion_subject}</a><br /><br />Kind Regards,<br />{email_signature}</p>','{companyname} | CRM','',0,1,0),
(34,'project','new-project-file-uploaded-to-staff','english','New Project File(s) Uploaded (Sent to Project Members)','New Project File(s) Uploaded - {project_name}','<p>Hello&nbsp;{staff_firstname}</p>\r\n<p>New project&nbsp;file is uploaded on&nbsp;<strong>{project_name}</strong> from&nbsp;<strong>{file_creator}</strong></p>\r\n<p>You can view the project on the following link: <a href=\"{project_link}\">{project_name}<br /></a><br />To view&nbsp;the file you can click on the following link: <a href=\"{discussion_link}\">{discussion_subject}</a></p>\r\n<p>Kind Regards,<br />{email_signature}</p>','{companyname} | CRM','',0,1,0),
(35,'project','new-project-discussion-comment-to-customer','english','New Discussion Comment  (Sent to Customer Contacts)','New Discussion Comment','<p><span style=\"font-size: 12pt;\">Hello {contact_firstname} {contact_lastname}</span><br /><br /><span style=\"font-size: 12pt;\">New discussion comment has been made on <strong>{discussion_subject}</strong> from <strong>{comment_creator}</strong></span><br /><br /><span style=\"font-size: 12pt;\"><strong>Discussion subject:</strong> {discussion_subject}</span><br /><span style=\"font-size: 12pt;\"><strong>Comment</strong>: {discussion_comment}</span><br /><br /><span style=\"font-size: 12pt;\">You can view the discussion on the following link: <a href=\"{discussion_link}\">{discussion_subject}</a></span><br /><br /><span style=\"font-size: 12pt;\">Kind Regards,</span><br /><span style=\"font-size: 12pt;\">{email_signature}</span></p>','{companyname} | CRM','',0,1,0),
(36,'project','new-project-discussion-comment-to-staff','english','New Discussion Comment (Sent to Project Members)','New Discussion Comment','<p>Hi {staff_firstname}<br /><br />New discussion comment has been made on <strong>{discussion_subject}</strong> from <strong>{comment_creator}</strong><br /><br /><strong>Discussion subject:</strong> {discussion_subject}<br /><strong>Comment:</strong> {discussion_comment}<br /><br />You can view the discussion on the following link: <a href=\"{discussion_link}\">{discussion_subject}</a><br /><br />Kind Regards,<br />{email_signature}</p>','{companyname} | CRM','',0,1,0),
(37,'project','staff-added-as-project-member','english','Staff Added as Project Member','New project assigned to you','<p>Hi {staff_firstname}<br /><br />New project has been assigned to you.<br /><br />You can view the project on the following link <a href=\"{project_link}\">{project_name}</a><br /><br />{email_signature}</p>','{companyname} | CRM','',0,1,0),
(38,'estimate','estimate-expiry-reminder','english','Estimate Expiration Reminder','Estimate Expiration Reminder','<p><span style=\"font-size: 12pt;\">Hello {contact_firstname} {contact_lastname}</span><br /><br /><span style=\"font-size: 12pt;\">The estimate with <strong># {estimate_number}</strong> will expire on <strong>{estimate_expirydate}</strong></span><br /><br /><span style=\"font-size: 12pt;\">You can view the estimate on the following link: <a href=\"{estimate_link}\">{estimate_number}</a></span><br /><br /><span style=\"font-size: 12pt;\">Kind Regards,</span><br /><span style=\"font-size: 12pt;\">{email_signature}</span></p>','{companyname} | CRM','',0,1,0),
(39,'proposals','proposal-expiry-reminder','english','Proposal Expiration Reminder','Proposal Expiration Reminder','<p>Hello {proposal_proposal_to}<br /><br />The proposal {proposal_number}&nbsp;will expire on <strong>{proposal_open_till}</strong><br /><br />You can view the proposal on the following link: <a href=\"{proposal_link}\">{proposal_number}</a><br /><br />Kind Regards,<br />{email_signature}</p>','{companyname} | CRM','',0,1,0),
(40,'staff','new-staff-created','english','New Staff Created (Welcome Email)','You are added as staff member','Hi {staff_firstname}<br /><br />You are added as member on our CRM.<br /><br />Please use the following logic credentials:<br /><br /><strong>Email:</strong> {staff_email}<br /><strong>Password:</strong> {password}<br /><br />Click <a href=\"{admin_url}\">here </a>to login in the dashboard.<br /><br />Best Regards,<br />{email_signature}','{companyname} | CRM','',0,1,0),
(41,'client','contact-forgot-password','english','Forgot Password','Create New Password','<h2>Create a new password</h2>\r\nForgot your password?<br /> To create a new password, just follow this link:<br /> <br /><a href=\"{reset_password_url}\">Reset Password</a><br /> <br /> You received this email, because it was requested by a {companyname}&nbsp;user. This is part of the procedure to create a new password on the system. If you DID NOT request a new password then please ignore this email and your password will remain the same. <br /><br /> {email_signature}','{companyname} | CRM','',0,1,0),
(42,'client','contact-password-reseted','english','Password Reset - Confirmation','Your password has been changed','<strong><span style=\"font-size: 14pt;\">You have changed your password.</span><br /></strong><br /> Please, keep it in your records so you don\'t forget it.<br /> <br /> Your email address for login is: {contact_email}<br /><br />If this wasnt you, please contact us.<br /><br />{email_signature}','{companyname} | CRM','',0,1,0),
(43,'client','contact-set-password','english','Set New Password','Set new password on {companyname} ','<h2><span style=\"font-size: 14pt;\">Setup your new password on {companyname}</span></h2>\r\nPlease use the following link to set up your new password:<br /><br /><a href=\"{set_password_url}\">Set new password</a><br /><br />Keep it in your records so you don\'t forget it.<br /><br />Please set your new password in <strong>48 hours</strong>. After that, you won\'t be able to set your password because this link will expire.<br /><br />You can login at: <a href=\"{crm_url}\">{crm_url}</a><br />Your email address for login: {contact_email}<br /><br />{email_signature}','{companyname} | CRM','',0,1,0),
(44,'staff','staff-forgot-password','english','Forgot Password','Create New Password','<h2><span style=\"font-size: 14pt;\">Create a new password</span></h2>\r\nForgot your password?<br /> To create a new password, just follow this link:<br /> <br /><a href=\"{reset_password_url}\">Reset Password</a><br /> <br /> You received this email, because it was requested by a <strong>{companyname}</strong>&nbsp;user. This is part of the procedure to create a new password on the system. If you DID NOT request a new password then please ignore this email and your password will remain the same. <br /><br /> {email_signature}','{companyname} | CRM','',0,1,0),
(45,'staff','staff-password-reseted','english','Password Reset - Confirmation','Your password has been changed','<span style=\"font-size: 14pt;\"><strong>You have changed your password.<br /></strong></span><br /> Please, keep it in your records so you don\'t forget it.<br /> <br /> Your email address for login is: {staff_email}<br /><br /> If this wasnt you, please contact us.<br /><br />{email_signature}','{companyname} | CRM','',0,1,0),
(46,'project','assigned-to-project','english','New Project Created (Sent to Customer Contacts)','New Project Created','<p>Hello&nbsp;{contact_firstname}&nbsp;{contact_lastname}</p>\r\n<p>New project is assigned to your company.<br /><br /><strong>Project Name:</strong>&nbsp;{project_name}<br /><strong>Project Start Date:</strong>&nbsp;{project_start_date}</p>\r\n<p>You can view the project on the following link:&nbsp;<a href=\"{project_link}\">{project_name}</a></p>\r\n<p>We are looking forward hearing from you.<br /><br />Kind Regards,<br />{email_signature}</p>','{companyname} | CRM','',0,1,0),
(47,'tasks','task-added-attachment-to-contacts','english','New Attachment(s) on Task (Sent to Customer Contacts)','New Attachment on Task - {task_name}','<span>Hi {contact_firstname} {contact_lastname}</span><br /><br /><strong>{task_user_take_action}</strong><span> added an attachment on the following task:</span><br /><br /><strong>Name:</strong><span> {task_name}</span><br /><br /><span>You can view the task on the following link: </span><a href=\"{task_link}\">{task_name}</a><br /><br /><span>Kind Regards,</span><br /><span>{email_signature}</span>','{companyname} | CRM','',0,1,0),
(48,'tasks','task-commented-to-contacts','english','New Comment on Task (Sent to Customer Contacts)','New Comment on Task - {task_name}','<span>Dear {contact_firstname} {contact_lastname}</span><br /><br /><span>A comment has been made on the following task:</span><br /><br /><strong>Name:</strong><span> {task_name}</span><br /><strong>Comment:</strong><span> {task_comment}</span><br /><br /><span>You can view the task on the following link: </span><a href=\"{task_link}\">{task_name}</a><br /><br /><span>Kind Regards,</span><br /><span>{email_signature}</span>','{companyname} | CRM','',0,1,0),
(49,'leads','new-lead-assigned','english','New Lead Assigned to Staff Member','New lead assigned to you','<p>Hello {lead_assigned}<br /><br />New lead is assigned to you.<br /><br /><strong>Lead Name:</strong>&nbsp;{lead_name}<br /><strong>Lead Email:</strong>&nbsp;{lead_email}<br /><br />You can view the lead on the following link: <a href=\"{lead_link}\">{lead_name}</a><br /><br />Kind Regards,<br />{email_signature}</p>','{companyname} | CRM','',0,1,0),
(50,'client','client-statement','english','Statement - Account Summary','Account Statement from {statement_from} to {statement_to}','Dear {contact_firstname} {contact_lastname}, <br /><br />Its been a great experience working with you.<br /><br />Attached with this email is a list of all transactions for the period between {statement_from} to {statement_to}<br /><br />For your information your account balance due is total:&nbsp;{statement_balance_due}<br /><br />Please contact us if you need more information.<br /> <br />Kind Regards,<br />{email_signature}','{companyname} | CRM','',0,1,0),
(51,'ticket','ticket-assigned-to-admin','english','New Ticket Assigned (Sent to Staff)','New support ticket has been assigned to you','<p><span style=\"font-size: 12pt;\">Hi</span></p>\r\n<p><span style=\"font-size: 12pt;\">A new support ticket&nbsp;has been assigned to you.</span><br /><br /><span style=\"font-size: 12pt;\"><strong>Subject</strong>: {ticket_subject}</span><br /><span style=\"font-size: 12pt;\"><strong>Department</strong>: {ticket_department}</span><br /><span style=\"font-size: 12pt;\"><strong>Priority</strong>: {ticket_priority}</span><br /><br /><span style=\"font-size: 12pt;\"><strong>Ticket message:</strong></span><br /><span style=\"font-size: 12pt;\">{ticket_message}</span><br /><br /><span style=\"font-size: 12pt;\">You can view the ticket on the following link: <a href=\"{ticket_url}\">#{ticket_id}</a></span><br /><br /><span style=\"font-size: 12pt;\">Kind Regards,</span><br /><span style=\"font-size: 12pt;\">{email_signature}</span></p>','{companyname} | CRM','',0,1,0),
(52,'client','new-client-registered-to-admin','english','New Customer Registration (Sent to admins)','New Customer Registration','Hello.<br /><br />New customer registration on your customer portal:<br /><br /><strong>Firstname:</strong>&nbsp;{contact_firstname}<br /><strong>Lastname:</strong>&nbsp;{contact_lastname}<br /><strong>Company:</strong>&nbsp;{client_company}<br /><strong>Email:</strong>&nbsp;{contact_email}<br /><br />Best Regards','{companyname} | CRM','',0,1,0),
(53,'leads','new-web-to-lead-form-submitted','english','Web to lead form submitted - Sent to lead','{lead_name} - We Received Your Request','Hello {lead_name}.<br /><br /><strong>Your request has been received.</strong><br /><br />This email is to let you know that we received your request and we will get back to you as soon as possible with more information.<br /><br />Best Regards,<br />{email_signature}','{companyname} | CRM','',0,0,0),
(54,'staff','two-factor-authentication','english','Two Factor Authentication','Confirm Your Login','<p>Hi {staff_firstname}</p>\r\n<p style=\"text-align: left;\">You received this email because you have enabled two factor authentication in your account.<br />Use the following code to confirm your login:</p>\r\n<p style=\"text-align: left;\"><span style=\"font-size: 18pt;\"><strong>{two_factor_auth_code}<br /><br /></strong><span style=\"font-size: 12pt;\">{email_signature}</span><strong><br /><br /><br /><br /></strong></span></p>','{companyname} | CRM','',0,1,0),
(55,'project','project-finished-to-customer','english','Project Marked as Finished (Sent to Customer Contacts)','Project Marked as Finished','<p>Hello&nbsp;{contact_firstname}&nbsp;{contact_lastname}</p>\r\n<p>You are receiving this email because project&nbsp;<strong>{project_name}</strong> has been marked as finished. This project is assigned under your company and we just wanted to keep you up to date.<br /><br />You can view the project on the following link:&nbsp;<a href=\"{project_link}\">{project_name}</a></p>\r\n<p>If you have any questions don\'t hesitate to contact us.<br /><br />Kind Regards,<br />{email_signature}</p>','{companyname} | CRM','',0,1,0),
(56,'credit_note','credit-note-send-to-client','english','Send Credit Note To Email','Credit Note With Number #{credit_note_number} Created','Dear&nbsp;{contact_firstname}&nbsp;{contact_lastname}<br /><br />We have attached the credit note with number <strong>#{credit_note_number} </strong>for your reference.<br /><br /><strong>Date:</strong>&nbsp;{credit_note_date}<br /><strong>Total Amount:</strong>&nbsp;{credit_note_total}<br /><br /><span style=\"font-size: 12pt;\">Please contact us for more information.</span><br /> <br /><span style=\"font-size: 12pt;\">Kind Regards,</span><br /><span style=\"font-size: 12pt;\">{email_signature}</span>','{companyname} | CRM','',0,1,0),
(57,'tasks','task-status-change-to-staff','english','Task Status Changed (Sent to Staff)','Task Status Changed','<span style=\"font-size: 12pt;\">Hi {staff_firstname}</span><br /><br /><span style=\"font-size: 12pt;\"><strong>{task_user_take_action}</strong> marked task as <strong>{task_status}</strong></span><br /><br /><span style=\"font-size: 12pt;\"><strong>Name:</strong> {task_name}</span><br /><span style=\"font-size: 12pt;\"><strong>Due date:</strong> {task_duedate}</span><br /><br /><span style=\"font-size: 12pt;\">You can view the task on the following link: <a href=\"{task_link}\">{task_name}</a></span><br /><br /><span style=\"font-size: 12pt;\">Kind Regards,</span><br /><span style=\"font-size: 12pt;\">{email_signature}</span>','{companyname} | CRM','',0,1,0),
(58,'tasks','task-status-change-to-contacts','english','Task Status Changed (Sent to Customer Contacts)','Task Status Changed','<span style=\"font-size: 12pt;\">Hi {contact_firstname} {contact_lastname}</span><br /><br /><span style=\"font-size: 12pt;\"><strong>{task_user_take_action}</strong> marked task as <strong>{task_status}</strong></span><br /><br /><span style=\"font-size: 12pt;\"><strong>Name:</strong> {task_name}</span><br /><span style=\"font-size: 12pt;\"><strong>Due date:</strong> {task_duedate}</span><br /><br /><span style=\"font-size: 12pt;\">You can view the task on the following link: <a href=\"{task_link}\">{task_name}</a></span><br /><br /><span style=\"font-size: 12pt;\">Kind Regards,</span><br /><span style=\"font-size: 12pt;\">{email_signature}</span>','{companyname} | CRM','',0,1,0),
(59,'staff','reminder-email-staff','english','Staff Reminder Email','You Have a New Reminder!','<p>Hello&nbsp;{staff_firstname}<br /><br /><strong>You have a new reminder&nbsp;linked to&nbsp;{staff_reminder_relation_name}!<br /><br />Reminder description:</strong><br />{staff_reminder_description}<br /><br />Click <a href=\"{staff_reminder_relation_link}\">here</a> to view&nbsp;<a href=\"{staff_reminder_relation_link}\">{staff_reminder_relation_name}</a><br /><br />Best Regards<br /><br /></p>','{companyname} | CRM','',0,1,0),
(60,'contract','contract-comment-to-client','english','New Comment Â (Sent to Customer Contacts)','New Contract Comment','Dear {contact_firstname} {contact_lastname}<br /> <br />A new comment has been made on the following contract: <strong>{contract_subject}</strong><br /> <br />You can view and reply to the comment on the following link: <a href=\"{contract_link}\">{contract_subject}</a><br /> <br />Kind Regards,<br />{email_signature}','{companyname} | CRM','',0,1,0),
(61,'contract','contract-comment-to-admin','english','New Comment (Sent to Staff) ','New Contract Comment','Hi {staff_firstname}<br /><br />A new comment has been made to the contract&nbsp;<strong>{contract_subject}</strong><br /><br />You can view and reply to the comment on the following link: <a href=\"{contract_link}\">{contract_subject}</a>&nbsp;or from the admin area.<br /><br />{email_signature}','{companyname} | CRM','',0,1,0),
(62,'subscriptions','send-subscription','english','Send Subscription to Customer','Subscription Created','Hello&nbsp;{contact_firstname}&nbsp;{contact_lastname}<br /><br />We have prepared the subscription&nbsp;<strong>{subscription_name}</strong> for your company.<br /><br />Click <a href=\"{subscription_link}\">here</a> to review the subscription and subscribe.<br /><br />Best Regards,<br />{email_signature}','{companyname} | CRM','',0,1,0),
(63,'subscriptions','subscription-payment-failed','english','Subscription Payment Failed','Your most recent invoice payment failed','Hello&nbsp;{contact_firstname}&nbsp;{contact_lastname}<br /><br br=\"\" />Unfortunately, your most recent invoice payment for&nbsp;<strong>{subscription_name}</strong> was declined.<br /><br />This could be due to a change in your card number, your card expiring,<br />cancellation of your credit card, or the card issuer not recognizing the<br />payment and therefore taking action to prevent it.<br /><br />Please update your payment information as soon as possible by logging in here:<br /><a href=\"{crm_url}/login\">{crm_url}/login</a><br /><br />Best Regards,<br />{email_signature}','{companyname} | CRM','',0,1,0),
(64,'subscriptions','subscription-canceled','english','Subscription Canceled (Sent to customer primary contact)','Your subscription has been canceled','Hello&nbsp;{contact_firstname}&nbsp;{contact_lastname}<br /><br />Your subscription&nbsp;<strong>{subscription_name} </strong>has been canceled, if you have any questions don\'t hesitate to contact us.<br /><br />It was a pleasure doing business with you.<br /><br />Best Regards,<br />{email_signature}','{companyname} | CRM','',0,1,0),
(65,'subscriptions','subscription-payment-succeeded','english','Subscription Payment Succeeded (Sent to customer primary contact)','Subscription  Payment Receipt - {subscription_name}','Hello&nbsp;{contact_firstname}&nbsp;{contact_lastname}<br /><br />This email is to let you know that we received your payment for subscription&nbsp;<strong>{subscription_name}&nbsp;</strong>of&nbsp;<strong><span>{payment_total}<br /><br /></span></strong>The invoice associated with it is now with status&nbsp;<strong>{invoice_status}<br /></strong><br />Thank you for your confidence.<br /><br />Best Regards,<br />{email_signature}','{companyname} | CRM','',0,1,0),
(66,'contract','contract-expiration-to-staff','english','Contract Expiration Reminder (Sent to Staff)','Contract Expiration Reminder','Hi {staff_firstname}<br /><br /><span style=\"font-size: 12pt;\">This is a reminder that the following contract will expire soon:</span><br /><br /><span style=\"font-size: 12pt;\"><strong>Subject:</strong> {contract_subject}</span><br /><span style=\"font-size: 12pt;\"><strong>Description:</strong> {contract_description}</span><br /><span style=\"font-size: 12pt;\"><strong>Date Start:</strong> {contract_datestart}</span><br /><span style=\"font-size: 12pt;\"><strong>Date End:</strong> {contract_dateend}</span><br /><br /><span style=\"font-size: 12pt;\">Kind Regards,</span><br /><span style=\"font-size: 12pt;\">{email_signature}</span>','{companyname} | CRM','',0,1,0),
(67,'gdpr','gdpr-removal-request','english','Removal Request From Contact (Sent to administrators)','Data Removal Request Received','Hello&nbsp;{staff_firstname}&nbsp;{staff_lastname}<br /><br />Data removal has been requested by&nbsp;{contact_firstname} {contact_lastname}<br /><br />You can review this request and take proper actions directly from the admin area.','{companyname} | CRM','',0,1,0),
(68,'gdpr','gdpr-removal-request-lead','english','Removal Request From Lead (Sent to administrators)','Data Removal Request Received','Hello&nbsp;{staff_firstname}&nbsp;{staff_lastname}<br /><br />Data removal has been requested by {lead_name}<br /><br />You can review this request and take proper actions directly from the admin area.<br /><br />To view the lead inside the admin area click here:&nbsp;<a href=\"{lead_link}\">{lead_link}</a>','{companyname} | CRM','',0,1,0),
(69,'client','client-registration-confirmed','english','Customer Registration Confirmed','Your registration is confirmed','<p>Dear {contact_firstname} {contact_lastname}<br /><br />We just wanted to let you know that your registration at&nbsp;{companyname} is successfully confirmed and your account is now active.<br /><br />You can login at&nbsp;<a href=\"{crm_url}\">{crm_url}</a> with the email and password you provided during registration.<br /><br />Please contact us if you need any help.<br /><br />Kind Regards, <br />{email_signature}</p>\r\n<p><br />(This is an automated email, so please don\'t reply to this email address)</p>','{companyname} | CRM','',0,1,0),
(70,'contract','contract-signed-to-staff','english','Contract Signed (Sent to Staff)','Customer Signed a Contract','Hi {staff_firstname}<br /><br />A contract with subject&nbsp;<strong>{contract_subject} </strong>has been successfully signed by the customer.<br /><br />You can view the contract at the following link: <a href=\"{contract_link}\">{contract_subject}</a>&nbsp;or from the admin area.<br /><br />{email_signature}','{companyname} | CRM','',0,1,0),
(71,'subscriptions','customer-subscribed-to-staff','english','Customer Subscribed to a Subscription (Sent to administrators and subscription creator)','Customer Subscribed to a Subscription','The customer <strong>{client_company}</strong> subscribed to a subscription with name&nbsp;<strong>{subscription_name}</strong><br /><br /><strong>ID</strong>:&nbsp;{subscription_id}<br /><strong>Subscription name</strong>:&nbsp;{subscription_name}<br /><strong>Subscription description</strong>:&nbsp;{subscription_description}<br /><br />You can view the subscription by clicking <a href=\"{subscription_link}\">here</a><br />\r\n<div style=\"text-align: center;\"><span style=\"font-size: 10pt;\">&nbsp;</span></div>\r\nBest Regards,<br />{email_signature}<br /><br /><span style=\"font-size: 10pt;\"><span style=\"color: #999999;\">You are receiving this email because you are either administrator or you are creator of the subscription.</span></span>','{companyname} | CRM','',0,1,0),
(72,'client','contact-verification-email','english','Email Verification (Sent to Contact After Registration)','Verify Email Address','<p>Hello&nbsp;{contact_firstname}<br /><br />Please click the button below to verify your email address.<br /><br /><a href=\"{email_verification_url}\">Verify Email Address</a><br /><br />If you did not create an account, no further action is required</p>\r\n<p><br />{email_signature}</p>','{companyname} | CRM','',0,1,0),
(73,'client','new-customer-profile-file-uploaded-to-staff','english','New Customer Profile File(s) Uploaded (Sent to Staff)','Customer Uploaded New File(s) in Profile','Hi!<br /><br />New file(s) is uploaded into the customer ({client_company}) profile by&nbsp;{contact_firstname}<br /><br />You can check the uploaded files into the admin area by clicking <a href=\"{customer_profile_files_admin_link}\">here</a> or at the following link:&nbsp;{customer_profile_files_admin_link}<br /><br />{email_signature}','{companyname} | CRM','',0,1,0),
(74,'staff','event-notification-to-staff','english','Event Notification (Calendar)','Upcoming Event - {event_title}','Hi {staff_firstname}! <br /><br />This is a reminder for event <a href=\\\"{event_link}\\\">{event_title}</a> scheduled at {event_start_date}. <br /><br />Regards.','','',0,1,0),
(75,'subscriptions','subscription-payment-requires-action','english','Credit Card Authorization Required - SCA','Important: Confirm your subscription {subscription_name} payment','<p>Hello {contact_firstname}</p>\r\n<p><strong>Your bank sometimes requires an additional step to make sure an online transaction was authorized.</strong><br /><br />Because of European regulation to protect consumers, many online payments now require two-factor authentication. Your bank ultimately decides when authentication is required to confirm a payment, but you may notice this step when you start paying for a service or when the cost changes.<br /><br />In order to pay the subscription <strong>{subscription_name}</strong>, you will need to&nbsp;confirm your payment by clicking on the follow link: <strong><a href=\"{subscription_authorize_payment_link}\">{subscription_authorize_payment_link}</a></strong><br /><br />To view the subscription, please click at the following link: <a href=\"{subscription_link}\"><span>{subscription_link}</span></a><br />or you can login in our dedicated area here: <a href=\"{crm_url}/login\">{crm_url}/login</a> in case you want to update your credit card or view the subscriptions you are subscribed.<br /><br />Best Regards,<br />{email_signature}</p>','{companyname} | CRM','',0,1,0),
(76,'invoice','invoice-due-notice','english','Invoice Due Notice','Your {invoice_number} will be due soon','<span style=\"font-size: 12pt;\">Hi {contact_firstname} {contact_lastname}<br /><br /></span>You invoice <span style=\"font-size: 12pt;\"><strong># {invoice_number} </strong>will be due on <strong>{invoice_duedate}</strong></span><br /><br /><span style=\"font-size: 12pt;\">You can view the invoice on the following link: <a href=\"{invoice_link}\">{invoice_number}</a></span><br /><br /><span style=\"font-size: 12pt;\">Kind Regards,</span><br /><span style=\"font-size: 12pt;\">{email_signature}</span>','{companyname} | CRM','',0,1,0),
(77,'estimate_request','estimate-request-submitted-to-staff','english','Estimate Request Submitted (Sent to Staff)','New Estimate Request Submitted','<span> Hello,&nbsp;</span><br /><br />{estimate_request_email} submitted an estimate request via the {estimate_request_form_name} form.<br /><br />You can view the request at the following link: <a href=\"{estimate_request_link}\">{estimate_request_link}</a><br /><br />==<br /><br />{estimate_request_submitted_data}<br /><br />Kind Regards,<br /><span>{email_signature}</span>','{companyname} | CRM','',0,1,0),
(78,'estimate_request','estimate-request-assigned','english','Estimate Request Assigned (Sent to Staff)','New Estimate Request Assigned','<span> Hello {estimate_request_assigned},&nbsp;</span><br /><br />Estimate request #{estimate_request_id} has been assigned to you.<br /><br />You can view the request at the following link: <a href=\"{estimate_request_link}\">{estimate_request_link}</a><br /><br />Kind Regards,<br /><span>{email_signature}</span>','{companyname} | CRM','',0,1,0),
(79,'estimate_request','estimate-request-received-to-user','english','Estimate Request Received (Sent to User)','Estimate Request Received','Hello,<br /><br /><strong>Your request has been received.</strong><br /><br />This email is to let you know that we received your request and we will get back to you as soon as possible with more information.<br /><br />Best Regards,<br />{email_signature}','{companyname} | CRM','',0,0,0),
(80,'notifications','non-billed-tasks-reminder','english','Non-billed tasks reminder (sent to selected staff members)','Action required: Completed tasks are not billed','Hello {staff_firstname}<br><br>The following tasks are marked as complete but not yet billed:<br><br>{unbilled_tasks_list}<br><br>Kind Regards,<br><br>{email_signature}','{companyname} | CRM','',0,1,0),
(81,'invoice','invoices-batch-payments','english','Invoices Payments Recorded in Batch (Sent to Customer)','We have received your payments','Hello {contact_firstname} {contact_lastname}<br><br>Thank you for the payments. Please find the payments details below:<br><br>{batch_payments_list}<br><br>We are looking forward working with you.<br><br>Kind Regards,<br><br>{email_signature}','{companyname} | CRM','',0,1,0);
/*!40000 ALTER TABLE `tblemailtemplates` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `tblestimate_request_forms`
--

DROP TABLE IF EXISTS `tblestimate_request_forms`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `tblestimate_request_forms` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `form_key` varchar(32) NOT NULL,
  `type` varchar(100) NOT NULL,
  `name` varchar(191) NOT NULL,
  `form_data` mediumtext DEFAULT NULL,
  `recaptcha` int(11) DEFAULT NULL,
  `status` int(11) NOT NULL,
  `submit_btn_name` varchar(100) DEFAULT NULL,
  `submit_btn_bg_color` varchar(10) DEFAULT '#84c529',
  `submit_btn_text_color` varchar(10) DEFAULT '#ffffff',
  `success_submit_msg` text DEFAULT NULL,
  `submit_action` int(11) DEFAULT 0,
  `submit_redirect_url` mediumtext DEFAULT NULL,
  `language` varchar(100) DEFAULT NULL,
  `dateadded` datetime DEFAULT NULL,
  `notify_type` varchar(100) DEFAULT NULL,
  `notify_ids` mediumtext DEFAULT NULL,
  `responsible` int(11) DEFAULT NULL,
  `notify_request_submitted` int(11) NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `tblestimate_request_forms`
--

LOCK TABLES `tblestimate_request_forms` WRITE;
/*!40000 ALTER TABLE `tblestimate_request_forms` DISABLE KEYS */;
/*!40000 ALTER TABLE `tblestimate_request_forms` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `tblestimate_request_status`
--

DROP TABLE IF EXISTS `tblestimate_request_status`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `tblestimate_request_status` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(50) NOT NULL,
  `statusorder` int(11) DEFAULT NULL,
  `color` varchar(10) DEFAULT NULL,
  `flag` varchar(30) DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `tblestimate_request_status`
--

LOCK TABLES `tblestimate_request_status` WRITE;
/*!40000 ALTER TABLE `tblestimate_request_status` DISABLE KEYS */;
INSERT INTO `tblestimate_request_status` VALUES
(1,'Cancelled',1,'#808080','cancelled'),
(2,'Processing',2,'#007bff','processing'),
(3,'Completed',3,'#28a745','completed');
/*!40000 ALTER TABLE `tblestimate_request_status` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `tblestimate_requests`
--

DROP TABLE IF EXISTS `tblestimate_requests`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `tblestimate_requests` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `email` varchar(100) NOT NULL,
  `submission` longtext NOT NULL,
  `last_status_change` datetime DEFAULT NULL,
  `date_estimated` datetime DEFAULT NULL,
  `from_form_id` int(11) DEFAULT NULL,
  `assigned` int(11) DEFAULT NULL,
  `status` int(11) DEFAULT NULL,
  `default_language` int(11) NOT NULL,
  `date_added` datetime NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `tblestimate_requests`
--

LOCK TABLES `tblestimate_requests` WRITE;
/*!40000 ALTER TABLE `tblestimate_requests` DISABLE KEYS */;
/*!40000 ALTER TABLE `tblestimate_requests` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `tblestimates`
--

DROP TABLE IF EXISTS `tblestimates`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `tblestimates` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `sent` tinyint(1) NOT NULL DEFAULT 0,
  `datesend` datetime DEFAULT NULL,
  `clientid` int(11) NOT NULL,
  `deleted_customer_name` varchar(100) DEFAULT NULL,
  `project_id` int(11) NOT NULL DEFAULT 0,
  `number` int(11) NOT NULL,
  `prefix` varchar(50) DEFAULT NULL,
  `number_format` int(11) NOT NULL DEFAULT 0,
  `hash` varchar(32) DEFAULT NULL,
  `datecreated` datetime NOT NULL,
  `date` date NOT NULL,
  `expirydate` date DEFAULT NULL,
  `currency` int(11) NOT NULL,
  `subtotal` decimal(15,2) NOT NULL,
  `total_tax` decimal(15,2) NOT NULL DEFAULT 0.00,
  `total` decimal(15,2) NOT NULL,
  `adjustment` decimal(15,2) DEFAULT NULL,
  `addedfrom` int(11) NOT NULL,
  `status` int(11) NOT NULL DEFAULT 1,
  `clientnote` text DEFAULT NULL,
  `adminnote` text DEFAULT NULL,
  `discount_percent` decimal(15,2) DEFAULT 0.00,
  `discount_total` decimal(15,2) DEFAULT 0.00,
  `discount_type` varchar(30) DEFAULT NULL,
  `invoiceid` int(11) DEFAULT NULL,
  `invoiced_date` datetime DEFAULT NULL,
  `terms` text DEFAULT NULL,
  `reference_no` varchar(100) DEFAULT NULL,
  `sale_agent` int(11) NOT NULL DEFAULT 0,
  `billing_street` varchar(200) DEFAULT NULL,
  `billing_city` varchar(100) DEFAULT NULL,
  `billing_state` varchar(100) DEFAULT NULL,
  `billing_zip` varchar(100) DEFAULT NULL,
  `billing_country` int(11) DEFAULT NULL,
  `shipping_street` varchar(200) DEFAULT NULL,
  `shipping_city` varchar(100) DEFAULT NULL,
  `shipping_state` varchar(100) DEFAULT NULL,
  `shipping_zip` varchar(100) DEFAULT NULL,
  `shipping_country` int(11) DEFAULT NULL,
  `include_shipping` tinyint(1) NOT NULL,
  `show_shipping_on_estimate` tinyint(1) NOT NULL DEFAULT 1,
  `show_quantity_as` int(11) NOT NULL DEFAULT 1,
  `pipeline_order` int(11) DEFAULT 1,
  `is_expiry_notified` int(11) NOT NULL DEFAULT 0,
  `acceptance_firstname` varchar(50) DEFAULT NULL,
  `acceptance_lastname` varchar(50) DEFAULT NULL,
  `acceptance_email` varchar(100) DEFAULT NULL,
  `acceptance_date` datetime DEFAULT NULL,
  `acceptance_ip` varchar(40) DEFAULT NULL,
  `signature` varchar(40) DEFAULT NULL,
  `short_link` varchar(100) DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `clientid` (`clientid`),
  KEY `currency` (`currency`),
  KEY `project_id` (`project_id`),
  KEY `sale_agent` (`sale_agent`),
  KEY `status` (`status`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `tblestimates`
--

LOCK TABLES `tblestimates` WRITE;
/*!40000 ALTER TABLE `tblestimates` DISABLE KEYS */;
/*!40000 ALTER TABLE `tblestimates` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `tblevents`
--

DROP TABLE IF EXISTS `tblevents`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `tblevents` (
  `eventid` int(11) NOT NULL AUTO_INCREMENT,
  `title` mediumtext NOT NULL,
  `description` text DEFAULT NULL,
  `userid` int(11) NOT NULL,
  `start` datetime NOT NULL,
  `end` datetime DEFAULT NULL,
  `public` int(11) NOT NULL DEFAULT 0,
  `color` varchar(10) DEFAULT NULL,
  `isstartnotified` tinyint(1) NOT NULL DEFAULT 0,
  `reminder_before` int(11) NOT NULL DEFAULT 0,
  `reminder_before_type` varchar(10) DEFAULT NULL,
  PRIMARY KEY (`eventid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `tblevents`
--

LOCK TABLES `tblevents` WRITE;
/*!40000 ALTER TABLE `tblevents` DISABLE KEYS */;
/*!40000 ALTER TABLE `tblevents` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `tblexpenses`
--

DROP TABLE IF EXISTS `tblexpenses`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `tblexpenses` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `category` int(11) NOT NULL,
  `currency` int(11) NOT NULL,
  `amount` decimal(15,2) NOT NULL,
  `tax` int(11) DEFAULT NULL,
  `tax2` int(11) NOT NULL DEFAULT 0,
  `reference_no` varchar(100) DEFAULT NULL,
  `note` text DEFAULT NULL,
  `expense_name` varchar(191) DEFAULT NULL,
  `clientid` int(11) NOT NULL,
  `project_id` int(11) NOT NULL DEFAULT 0,
  `billable` int(11) DEFAULT 0,
  `invoiceid` int(11) DEFAULT NULL,
  `paymentmode` varchar(50) DEFAULT NULL,
  `date` date NOT NULL,
  `recurring_type` varchar(10) DEFAULT NULL,
  `repeat_every` int(11) DEFAULT NULL,
  `recurring` int(11) NOT NULL DEFAULT 0,
  `cycles` int(11) NOT NULL DEFAULT 0,
  `total_cycles` int(11) NOT NULL DEFAULT 0,
  `custom_recurring` int(11) NOT NULL DEFAULT 0,
  `last_recurring_date` date DEFAULT NULL,
  `create_invoice_billable` tinyint(1) DEFAULT NULL,
  `send_invoice_to_customer` tinyint(1) NOT NULL,
  `recurring_from` int(11) DEFAULT NULL,
  `dateadded` datetime NOT NULL,
  `addedfrom` int(11) NOT NULL,
  PRIMARY KEY (`id`),
  KEY `clientid` (`clientid`),
  KEY `project_id` (`project_id`),
  KEY `category` (`category`),
  KEY `currency` (`currency`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `tblexpenses`
--

LOCK TABLES `tblexpenses` WRITE;
/*!40000 ALTER TABLE `tblexpenses` DISABLE KEYS */;
/*!40000 ALTER TABLE `tblexpenses` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `tblexpenses_categories`
--

DROP TABLE IF EXISTS `tblexpenses_categories`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `tblexpenses_categories` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `name` varchar(191) NOT NULL,
  `description` text DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `tblexpenses_categories`
--

LOCK TABLES `tblexpenses_categories` WRITE;
/*!40000 ALTER TABLE `tblexpenses_categories` DISABLE KEYS */;
/*!40000 ALTER TABLE `tblexpenses_categories` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `tblfiles`
--

DROP TABLE IF EXISTS `tblfiles`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `tblfiles` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `rel_id` int(11) NOT NULL,
  `rel_type` varchar(20) NOT NULL,
  `file_name` varchar(191) NOT NULL,
  `filetype` varchar(40) DEFAULT NULL,
  `visible_to_customer` int(11) NOT NULL DEFAULT 0,
  `attachment_key` varchar(32) DEFAULT NULL,
  `external` varchar(40) DEFAULT NULL,
  `external_link` text DEFAULT NULL,
  `thumbnail_link` text DEFAULT NULL COMMENT 'For external usage',
  `staffid` int(11) NOT NULL,
  `contact_id` int(11) DEFAULT 0,
  `task_comment_id` int(11) NOT NULL DEFAULT 0,
  `dateadded` datetime NOT NULL,
  PRIMARY KEY (`id`),
  KEY `rel_id` (`rel_id`),
  KEY `rel_type` (`rel_type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `tblfiles`
--

LOCK TABLES `tblfiles` WRITE;
/*!40000 ALTER TABLE `tblfiles` DISABLE KEYS */;
/*!40000 ALTER TABLE `tblfiles` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `tblform_question_box`
--

DROP TABLE IF EXISTS `tblform_question_box`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `tblform_question_box` (
  `boxid` int(11) NOT NULL AUTO_INCREMENT,
  `boxtype` varchar(10) NOT NULL,
  `questionid` int(11) NOT NULL,
  PRIMARY KEY (`boxid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `tblform_question_box`
--

LOCK TABLES `tblform_question_box` WRITE;
/*!40000 ALTER TABLE `tblform_question_box` DISABLE KEYS */;
/*!40000 ALTER TABLE `tblform_question_box` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `tblform_question_box_description`
--

DROP TABLE IF EXISTS `tblform_question_box_description`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `tblform_question_box_description` (
  `questionboxdescriptionid` int(11) NOT NULL AUTO_INCREMENT,
  `description` mediumtext NOT NULL,
  `boxid` mediumtext NOT NULL,
  `questionid` int(11) NOT NULL,
  PRIMARY KEY (`questionboxdescriptionid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `tblform_question_box_description`
--

LOCK TABLES `tblform_question_box_description` WRITE;
/*!40000 ALTER TABLE `tblform_question_box_description` DISABLE KEYS */;
/*!40000 ALTER TABLE `tblform_question_box_description` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `tblform_questions`
--

DROP TABLE IF EXISTS `tblform_questions`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `tblform_questions` (
  `questionid` int(11) NOT NULL AUTO_INCREMENT,
  `rel_id` int(11) NOT NULL,
  `rel_type` varchar(20) DEFAULT NULL,
  `question` mediumtext NOT NULL,
  `required` tinyint(1) NOT NULL DEFAULT 0,
  `question_order` int(11) NOT NULL,
  PRIMARY KEY (`questionid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `tblform_questions`
--

LOCK TABLES `tblform_questions` WRITE;
/*!40000 ALTER TABLE `tblform_questions` DISABLE KEYS */;
/*!40000 ALTER TABLE `tblform_questions` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `tblform_results`
--

DROP TABLE IF EXISTS `tblform_results`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `tblform_results` (
  `resultid` int(11) NOT NULL AUTO_INCREMENT,
  `boxid` int(11) NOT NULL,
  `boxdescriptionid` int(11) DEFAULT NULL,
  `rel_id` int(11) NOT NULL,
  `rel_type` varchar(20) DEFAULT NULL,
  `questionid` int(11) NOT NULL,
  `answer` text DEFAULT NULL,
  `resultsetid` int(11) NOT NULL,
  PRIMARY KEY (`resultid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `tblform_results`
--

LOCK TABLES `tblform_results` WRITE;
/*!40000 ALTER TABLE `tblform_results` DISABLE KEYS */;
/*!40000 ALTER TABLE `tblform_results` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `tblgdpr_requests`
--

DROP TABLE IF EXISTS `tblgdpr_requests`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `tblgdpr_requests` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `clientid` int(11) NOT NULL DEFAULT 0,
  `contact_id` int(11) NOT NULL DEFAULT 0,
  `lead_id` int(11) NOT NULL DEFAULT 0,
  `request_type` varchar(191) DEFAULT NULL,
  `status` varchar(40) DEFAULT NULL,
  `request_date` datetime NOT NULL,
  `request_from` varchar(150) DEFAULT NULL,
  `description` text DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `tblgdpr_requests`
--

LOCK TABLES `tblgdpr_requests` WRITE;
/*!40000 ALTER TABLE `tblgdpr_requests` DISABLE KEYS */;
/*!40000 ALTER TABLE `tblgdpr_requests` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `tblinvoicepaymentrecords`
--

DROP TABLE IF EXISTS `tblinvoicepaymentrecords`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `tblinvoicepaymentrecords` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `invoiceid` int(11) NOT NULL,
  `amount` decimal(15,2) NOT NULL,
  `paymentmode` varchar(40) DEFAULT NULL,
  `paymentmethod` varchar(191) DEFAULT NULL,
  `date` date NOT NULL,
  `daterecorded` datetime NOT NULL,
  `note` text NOT NULL,
  `transactionid` mediumtext DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `invoiceid` (`invoiceid`),
  KEY `paymentmethod` (`paymentmethod`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `tblinvoicepaymentrecords`
--

LOCK TABLES `tblinvoicepaymentrecords` WRITE;
/*!40000 ALTER TABLE `tblinvoicepaymentrecords` DISABLE KEYS */;
/*!40000 ALTER TABLE `tblinvoicepaymentrecords` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `tblinvoices`
--

DROP TABLE IF EXISTS `tblinvoices`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `tblinvoices` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `sent` tinyint(1) NOT NULL DEFAULT 0,
  `datesend` datetime DEFAULT NULL,
  `clientid` int(11) NOT NULL,
  `deleted_customer_name` varchar(100) DEFAULT NULL,
  `number` int(11) NOT NULL,
  `prefix` varchar(50) DEFAULT NULL,
  `number_format` int(11) NOT NULL DEFAULT 0,
  `datecreated` datetime NOT NULL,
  `date` date NOT NULL,
  `duedate` date DEFAULT NULL,
  `currency` int(11) NOT NULL,
  `subtotal` decimal(15,2) NOT NULL,
  `total_tax` decimal(15,2) NOT NULL DEFAULT 0.00,
  `total` decimal(15,2) NOT NULL,
  `adjustment` decimal(15,2) DEFAULT NULL,
  `addedfrom` int(11) DEFAULT NULL,
  `hash` varchar(32) NOT NULL,
  `status` int(11) DEFAULT 1,
  `clientnote` text DEFAULT NULL,
  `adminnote` text DEFAULT NULL,
  `last_overdue_reminder` date DEFAULT NULL,
  `last_due_reminder` date DEFAULT NULL,
  `cancel_overdue_reminders` int(11) NOT NULL DEFAULT 0,
  `allowed_payment_modes` mediumtext DEFAULT NULL,
  `token` mediumtext DEFAULT NULL,
  `discount_percent` decimal(15,2) DEFAULT 0.00,
  `discount_total` decimal(15,2) DEFAULT 0.00,
  `discount_type` varchar(30) NOT NULL,
  `recurring` int(11) NOT NULL DEFAULT 0,
  `recurring_type` varchar(10) DEFAULT NULL,
  `custom_recurring` tinyint(1) NOT NULL DEFAULT 0,
  `cycles` int(11) NOT NULL DEFAULT 0,
  `total_cycles` int(11) NOT NULL DEFAULT 0,
  `is_recurring_from` int(11) DEFAULT NULL,
  `last_recurring_date` date DEFAULT NULL,
  `terms` text DEFAULT NULL,
  `sale_agent` int(11) NOT NULL DEFAULT 0,
  `billing_street` varchar(200) DEFAULT NULL,
  `billing_city` varchar(100) DEFAULT NULL,
  `billing_state` varchar(100) DEFAULT NULL,
  `billing_zip` varchar(100) DEFAULT NULL,
  `billing_country` int(11) DEFAULT NULL,
  `shipping_street` varchar(200) DEFAULT NULL,
  `shipping_city` varchar(100) DEFAULT NULL,
  `shipping_state` varchar(100) DEFAULT NULL,
  `shipping_zip` varchar(100) DEFAULT NULL,
  `shipping_country` int(11) DEFAULT NULL,
  `include_shipping` tinyint(1) NOT NULL,
  `show_shipping_on_invoice` tinyint(1) NOT NULL DEFAULT 1,
  `show_quantity_as` int(11) NOT NULL DEFAULT 1,
  `project_id` int(11) DEFAULT 0,
  `subscription_id` int(11) NOT NULL DEFAULT 0,
  `short_link` varchar(100) DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `currency` (`currency`),
  KEY `clientid` (`clientid`),
  KEY `project_id` (`project_id`),
  KEY `sale_agent` (`sale_agent`),
  KEY `total` (`total`),
  KEY `status` (`status`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `tblinvoices`
--

LOCK TABLES `tblinvoices` WRITE;
/*!40000 ALTER TABLE `tblinvoices` DISABLE KEYS */;
/*!40000 ALTER TABLE `tblinvoices` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `tblitem_tax`
--

DROP TABLE IF EXISTS `tblitem_tax`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `tblitem_tax` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `itemid` int(11) NOT NULL,
  `rel_id` int(11) NOT NULL,
  `rel_type` varchar(20) NOT NULL,
  `taxrate` decimal(15,2) NOT NULL,
  `taxname` varchar(100) NOT NULL,
  PRIMARY KEY (`id`),
  KEY `itemid` (`itemid`),
  KEY `rel_id` (`rel_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `tblitem_tax`
--

LOCK TABLES `tblitem_tax` WRITE;
/*!40000 ALTER TABLE `tblitem_tax` DISABLE KEYS */;
/*!40000 ALTER TABLE `tblitem_tax` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `tblitemable`
--

DROP TABLE IF EXISTS `tblitemable`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `tblitemable` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `rel_id` int(11) NOT NULL,
  `rel_type` varchar(15) NOT NULL,
  `description` mediumtext NOT NULL,
  `long_description` mediumtext DEFAULT NULL,
  `qty` decimal(15,2) NOT NULL,
  `rate` decimal(15,2) NOT NULL,
  `unit` varchar(40) DEFAULT NULL,
  `item_order` int(11) DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `rel_id` (`rel_id`),
  KEY `rel_type` (`rel_type`),
  KEY `qty` (`qty`),
  KEY `rate` (`rate`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `tblitemable`
--

LOCK TABLES `tblitemable` WRITE;
/*!40000 ALTER TABLE `tblitemable` DISABLE KEYS */;
/*!40000 ALTER TABLE `tblitemable` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `tblitems`
--

DROP TABLE IF EXISTS `tblitems`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `tblitems` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `description` mediumtext NOT NULL,
  `long_description` text DEFAULT NULL,
  `rate` decimal(15,2) NOT NULL,
  `tax` int(11) DEFAULT NULL,
  `tax2` int(11) DEFAULT NULL,
  `unit` varchar(40) DEFAULT NULL,
  `group_id` int(11) NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  KEY `tax` (`tax`),
  KEY `tax2` (`tax2`),
  KEY `group_id` (`group_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `tblitems`
--

LOCK TABLES `tblitems` WRITE;
/*!40000 ALTER TABLE `tblitems` DISABLE KEYS */;
/*!40000 ALTER TABLE `tblitems` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `tblitems_groups`
--

DROP TABLE IF EXISTS `tblitems_groups`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `tblitems_groups` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `name` varchar(50) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `tblitems_groups`
--

LOCK TABLES `tblitems_groups` WRITE;
/*!40000 ALTER TABLE `tblitems_groups` DISABLE KEYS */;
/*!40000 ALTER TABLE `tblitems_groups` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `tblknowedge_base_article_feedback`
--

DROP TABLE IF EXISTS `tblknowedge_base_article_feedback`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `tblknowedge_base_article_feedback` (
  `articleanswerid` int(11) NOT NULL AUTO_INCREMENT,
  `articleid` int(11) NOT NULL,
  `answer` int(11) NOT NULL,
  `ip` varchar(40) NOT NULL,
  `date` datetime NOT NULL,
  PRIMARY KEY (`articleanswerid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `tblknowedge_base_article_feedback`
--

LOCK TABLES `tblknowedge_base_article_feedback` WRITE;
/*!40000 ALTER TABLE `tblknowedge_base_article_feedback` DISABLE KEYS */;
/*!40000 ALTER TABLE `tblknowedge_base_article_feedback` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `tblknowledge_base`
--

DROP TABLE IF EXISTS `tblknowledge_base`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `tblknowledge_base` (
  `articleid` int(11) NOT NULL AUTO_INCREMENT,
  `articlegroup` int(11) NOT NULL,
  `subject` mediumtext NOT NULL,
  `description` text NOT NULL,
  `slug` mediumtext NOT NULL,
  `active` tinyint(4) NOT NULL,
  `datecreated` datetime NOT NULL,
  `article_order` int(11) NOT NULL DEFAULT 0,
  `staff_article` int(11) NOT NULL DEFAULT 0,
  PRIMARY KEY (`articleid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `tblknowledge_base`
--

LOCK TABLES `tblknowledge_base` WRITE;
/*!40000 ALTER TABLE `tblknowledge_base` DISABLE KEYS */;
/*!40000 ALTER TABLE `tblknowledge_base` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `tblknowledge_base_groups`
--

DROP TABLE IF EXISTS `tblknowledge_base_groups`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `tblknowledge_base_groups` (
  `groupid` int(11) NOT NULL AUTO_INCREMENT,
  `name` varchar(191) NOT NULL,
  `group_slug` text DEFAULT NULL,
  `description` mediumtext DEFAULT NULL,
  `active` tinyint(4) NOT NULL,
  `color` varchar(10) DEFAULT '#28B8DA',
  `group_order` int(11) DEFAULT 0,
  PRIMARY KEY (`groupid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `tblknowledge_base_groups`
--

LOCK TABLES `tblknowledge_base_groups` WRITE;
/*!40000 ALTER TABLE `tblknowledge_base_groups` DISABLE KEYS */;
/*!40000 ALTER TABLE `tblknowledge_base_groups` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `tbllead_activity_log`
--

DROP TABLE IF EXISTS `tbllead_activity_log`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `tbllead_activity_log` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `leadid` int(11) NOT NULL,
  `description` mediumtext NOT NULL,
  `additional_data` text DEFAULT NULL,
  `date` datetime NOT NULL,
  `staffid` int(11) NOT NULL,
  `full_name` varchar(100) DEFAULT NULL,
  `custom_activity` tinyint(1) NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `tbllead_activity_log`
--

LOCK TABLES `tbllead_activity_log` WRITE;
/*!40000 ALTER TABLE `tbllead_activity_log` DISABLE KEYS */;
/*!40000 ALTER TABLE `tbllead_activity_log` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `tbllead_integration_emails`
--

DROP TABLE IF EXISTS `tbllead_integration_emails`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `tbllead_integration_emails` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `subject` mediumtext DEFAULT NULL,
  `body` mediumtext DEFAULT NULL,
  `dateadded` datetime NOT NULL,
  `leadid` int(11) NOT NULL,
  `emailid` int(11) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `tbllead_integration_emails`
--

LOCK TABLES `tbllead_integration_emails` WRITE;
/*!40000 ALTER TABLE `tbllead_integration_emails` DISABLE KEYS */;
/*!40000 ALTER TABLE `tbllead_integration_emails` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `tblleads`
--

DROP TABLE IF EXISTS `tblleads`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `tblleads` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `hash` varchar(65) DEFAULT NULL,
  `name` varchar(191) NOT NULL,
  `title` varchar(100) DEFAULT NULL,
  `company` varchar(191) DEFAULT NULL,
  `description` text DEFAULT NULL,
  `country` int(11) NOT NULL DEFAULT 0,
  `zip` varchar(15) DEFAULT NULL,
  `city` varchar(100) DEFAULT NULL,
  `state` varchar(50) DEFAULT NULL,
  `address` varchar(100) DEFAULT NULL,
  `assigned` int(11) NOT NULL DEFAULT 0,
  `dateadded` datetime NOT NULL,
  `from_form_id` int(11) NOT NULL DEFAULT 0,
  `status` int(11) NOT NULL,
  `source` int(11) NOT NULL,
  `lastcontact` datetime DEFAULT NULL,
  `dateassigned` date DEFAULT NULL,
  `last_status_change` datetime DEFAULT NULL,
  `addedfrom` int(11) NOT NULL,
  `email` varchar(100) DEFAULT NULL,
  `website` varchar(150) DEFAULT NULL,
  `leadorder` int(11) DEFAULT 1,
  `phonenumber` varchar(50) DEFAULT NULL,
  `date_converted` datetime DEFAULT NULL,
  `lost` tinyint(1) NOT NULL DEFAULT 0,
  `junk` int(11) NOT NULL DEFAULT 0,
  `last_lead_status` int(11) NOT NULL DEFAULT 0,
  `is_imported_from_email_integration` tinyint(1) NOT NULL DEFAULT 0,
  `email_integration_uid` varchar(30) DEFAULT NULL,
  `is_public` tinyint(1) NOT NULL DEFAULT 0,
  `default_language` varchar(40) DEFAULT NULL,
  `client_id` int(11) NOT NULL DEFAULT 0,
  `lead_value` decimal(15,2) DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `name` (`name`),
  KEY `company` (`company`),
  KEY `email` (`email`),
  KEY `assigned` (`assigned`),
  KEY `status` (`status`),
  KEY `source` (`source`),
  KEY `lastcontact` (`lastcontact`),
  KEY `dateadded` (`dateadded`),
  KEY `leadorder` (`leadorder`),
  KEY `from_form_id` (`from_form_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `tblleads`
--

LOCK TABLES `tblleads` WRITE;
/*!40000 ALTER TABLE `tblleads` DISABLE KEYS */;
/*!40000 ALTER TABLE `tblleads` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `tblleads_email_integration`
--

DROP TABLE IF EXISTS `tblleads_email_integration`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `tblleads_email_integration` (
  `id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'the ID always must be 1',
  `active` int(11) NOT NULL,
  `email` varchar(100) NOT NULL,
  `imap_server` varchar(100) NOT NULL,
  `password` mediumtext NOT NULL,
  `check_every` int(11) NOT NULL DEFAULT 5,
  `responsible` int(11) NOT NULL,
  `lead_source` int(11) NOT NULL,
  `lead_status` int(11) NOT NULL,
  `encryption` varchar(3) DEFAULT NULL,
  `folder` varchar(100) NOT NULL,
  `last_run` varchar(50) DEFAULT NULL,
  `notify_lead_imported` tinyint(1) NOT NULL DEFAULT 1,
  `notify_lead_contact_more_times` tinyint(1) NOT NULL DEFAULT 1,
  `notify_type` varchar(20) DEFAULT NULL,
  `notify_ids` mediumtext DEFAULT NULL,
  `mark_public` int(11) NOT NULL DEFAULT 0,
  `only_loop_on_unseen_emails` tinyint(1) NOT NULL DEFAULT 1,
  `delete_after_import` int(11) NOT NULL DEFAULT 0,
  `create_task_if_customer` int(11) NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `tblleads_email_integration`
--

LOCK TABLES `tblleads_email_integration` WRITE;
/*!40000 ALTER TABLE `tblleads_email_integration` DISABLE KEYS */;
INSERT INTO `tblleads_email_integration` VALUES
(1,0,'','','',10,0,0,0,'tls','INBOX','',1,1,'assigned','',0,1,0,1);
/*!40000 ALTER TABLE `tblleads_email_integration` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `tblleads_sources`
--

DROP TABLE IF EXISTS `tblleads_sources`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `tblleads_sources` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `name` varchar(150) NOT NULL,
  PRIMARY KEY (`id`),
  KEY `name` (`name`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `tblleads_sources`
--

LOCK TABLES `tblleads_sources` WRITE;
/*!40000 ALTER TABLE `tblleads_sources` DISABLE KEYS */;
INSERT INTO `tblleads_sources` VALUES
(2,'Facebook'),
(1,'Google');
/*!40000 ALTER TABLE `tblleads_sources` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `tblleads_status`
--

DROP TABLE IF EXISTS `tblleads_status`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `tblleads_status` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `name` varchar(50) NOT NULL,
  `statusorder` int(11) DEFAULT NULL,
  `color` varchar(10) DEFAULT '#28B8DA',
  `isdefault` int(11) NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  KEY `name` (`name`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `tblleads_status`
--

LOCK TABLES `tblleads_status` WRITE;
/*!40000 ALTER TABLE `tblleads_status` DISABLE KEYS */;
INSERT INTO `tblleads_status` VALUES
(1,'Customer',1000,'#7cb342',1);
/*!40000 ALTER TABLE `tblleads_status` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `tblmail_queue`
--

DROP TABLE IF EXISTS `tblmail_queue`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `tblmail_queue` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `engine` varchar(40) DEFAULT NULL,
  `email` varchar(191) NOT NULL,
  `cc` text DEFAULT NULL,
  `bcc` text DEFAULT NULL,
  `message` mediumtext NOT NULL,
  `alt_message` mediumtext DEFAULT NULL,
  `status` enum('pending','sending','sent','failed') DEFAULT NULL,
  `date` datetime DEFAULT NULL,
  `headers` text DEFAULT NULL,
  `attachments` mediumtext DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `tblmail_queue`
--

LOCK TABLES `tblmail_queue` WRITE;
/*!40000 ALTER TABLE `tblmail_queue` DISABLE KEYS */;
/*!40000 ALTER TABLE `tblmail_queue` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `tblmigrations`
--

DROP TABLE IF EXISTS `tblmigrations`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `tblmigrations` (
  `version` bigint(20) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `tblmigrations`
--

LOCK TABLES `tblmigrations` WRITE;
/*!40000 ALTER TABLE `tblmigrations` DISABLE KEYS */;
INSERT INTO `tblmigrations` VALUES
(294);
/*!40000 ALTER TABLE `tblmigrations` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `tblmilestones`
--

DROP TABLE IF EXISTS `tblmilestones`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `tblmilestones` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `name` varchar(191) NOT NULL,
  `description` text DEFAULT NULL,
  `description_visible_to_customer` tinyint(1) DEFAULT 0,
  `start_date` date DEFAULT NULL,
  `due_date` date NOT NULL,
  `project_id` int(11) NOT NULL,
  `color` varchar(10) DEFAULT NULL,
  `milestone_order` int(11) NOT NULL DEFAULT 0,
  `datecreated` date NOT NULL,
  `hide_from_customer` int(11) DEFAULT 0,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `tblmilestones`
--

LOCK TABLES `tblmilestones` WRITE;
/*!40000 ALTER TABLE `tblmilestones` DISABLE KEYS */;
/*!40000 ALTER TABLE `tblmilestones` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `tblmodules`
--

DROP TABLE IF EXISTS `tblmodules`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `tblmodules` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `module_name` varchar(55) NOT NULL,
  `installed_version` varchar(11) NOT NULL,
  `active` tinyint(1) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `tblmodules`
--

LOCK TABLES `tblmodules` WRITE;
/*!40000 ALTER TABLE `tblmodules` DISABLE KEYS */;
/*!40000 ALTER TABLE `tblmodules` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `tblnewsfeed_comment_likes`
--

DROP TABLE IF EXISTS `tblnewsfeed_comment_likes`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `tblnewsfeed_comment_likes` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `postid` int(11) NOT NULL,
  `commentid` int(11) NOT NULL,
  `userid` int(11) NOT NULL,
  `dateliked` datetime NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `tblnewsfeed_comment_likes`
--

LOCK TABLES `tblnewsfeed_comment_likes` WRITE;
/*!40000 ALTER TABLE `tblnewsfeed_comment_likes` DISABLE KEYS */;
/*!40000 ALTER TABLE `tblnewsfeed_comment_likes` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `tblnewsfeed_post_comments`
--

DROP TABLE IF EXISTS `tblnewsfeed_post_comments`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `tblnewsfeed_post_comments` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `content` text DEFAULT NULL,
  `userid` int(11) NOT NULL,
  `postid` int(11) NOT NULL,
  `dateadded` datetime NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `tblnewsfeed_post_comments`
--

LOCK TABLES `tblnewsfeed_post_comments` WRITE;
/*!40000 ALTER TABLE `tblnewsfeed_post_comments` DISABLE KEYS */;
/*!40000 ALTER TABLE `tblnewsfeed_post_comments` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `tblnewsfeed_post_likes`
--

DROP TABLE IF EXISTS `tblnewsfeed_post_likes`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `tblnewsfeed_post_likes` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `postid` int(11) NOT NULL,
  `userid` int(11) NOT NULL,
  `dateliked` datetime NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `tblnewsfeed_post_likes`
--

LOCK TABLES `tblnewsfeed_post_likes` WRITE;
/*!40000 ALTER TABLE `tblnewsfeed_post_likes` DISABLE KEYS */;
/*!40000 ALTER TABLE `tblnewsfeed_post_likes` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `tblnewsfeed_posts`
--

DROP TABLE IF EXISTS `tblnewsfeed_posts`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `tblnewsfeed_posts` (
  `postid` int(11) NOT NULL AUTO_INCREMENT,
  `creator` int(11) NOT NULL,
  `datecreated` datetime NOT NULL,
  `visibility` varchar(100) NOT NULL,
  `content` text NOT NULL,
  `pinned` int(11) NOT NULL,
  `datepinned` datetime DEFAULT NULL,
  PRIMARY KEY (`postid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `tblnewsfeed_posts`
--

LOCK TABLES `tblnewsfeed_posts` WRITE;
/*!40000 ALTER TABLE `tblnewsfeed_posts` DISABLE KEYS */;
/*!40000 ALTER TABLE `tblnewsfeed_posts` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `tblnotes`
--

DROP TABLE IF EXISTS `tblnotes`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `tblnotes` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `rel_id` int(11) NOT NULL,
  `rel_type` varchar(20) NOT NULL,
  `description` text DEFAULT NULL,
  `date_contacted` datetime DEFAULT NULL,
  `addedfrom` int(11) NOT NULL,
  `dateadded` datetime NOT NULL,
  PRIMARY KEY (`id`),
  KEY `rel_id` (`rel_id`),
  KEY `rel_type` (`rel_type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `tblnotes`
--

LOCK TABLES `tblnotes` WRITE;
/*!40000 ALTER TABLE `tblnotes` DISABLE KEYS */;
/*!40000 ALTER TABLE `tblnotes` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `tblnotifications`
--

DROP TABLE IF EXISTS `tblnotifications`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `tblnotifications` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `isread` int(11) NOT NULL DEFAULT 0,
  `isread_inline` tinyint(1) NOT NULL DEFAULT 0,
  `date` datetime NOT NULL,
  `description` text NOT NULL,
  `fromuserid` int(11) NOT NULL,
  `fromclientid` int(11) NOT NULL DEFAULT 0,
  `from_fullname` varchar(100) NOT NULL,
  `touserid` int(11) NOT NULL,
  `fromcompany` int(11) DEFAULT NULL,
  `link` mediumtext DEFAULT NULL,
  `additional_data` text DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `tblnotifications`
--

LOCK TABLES `tblnotifications` WRITE;
/*!40000 ALTER TABLE `tblnotifications` DISABLE KEYS */;
/*!40000 ALTER TABLE `tblnotifications` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `tbloptions`
--

DROP TABLE IF EXISTS `tbloptions`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `tbloptions` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `name` varchar(191) NOT NULL,
  `value` longtext NOT NULL,
  `autoload` tinyint(1) NOT NULL DEFAULT 1,
  PRIMARY KEY (`id`),
  KEY `name` (`name`)
) ENGINE=InnoDB AUTO_INCREMENT=428 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `tbloptions`
--

LOCK TABLES `tbloptions` WRITE;
/*!40000 ALTER TABLE `tbloptions` DISABLE KEYS */;
INSERT INTO `tbloptions` VALUES
(1,'dateformat','Y-m-d|%Y-%m-%d',1),
(2,'companyname','',1),
(3,'services','1',1),
(4,'maximum_allowed_ticket_attachments','4',1),
(5,'ticket_attachments_file_extensions','.jpg,.png,.pdf,.doc,.zip,.rar',1),
(6,'staff_access_only_assigned_departments','1',1),
(7,'use_knowledge_base','1',1),
(8,'smtp_email','',1),
(9,'smtp_password','',1),
(10,'company_info_format','{company_name}<br />\r\n{address}<br />\r\n{city} {state}<br />\r\n{country_code} {zip_code}<br />\r\n{vat_number_with_label}',0),
(11,'smtp_port','',1),
(12,'smtp_host','',1),
(13,'smtp_email_charset','utf-8',1),
(14,'default_timezone','Asia/Dhaka',1),
(15,'clients_default_theme','perfex',1),
(16,'company_logo','',1),
(17,'tables_pagination_limit','25',1),
(18,'main_domain','',1),
(19,'allow_registration','0',1),
(20,'knowledge_base_without_registration','1',1),
(21,'email_signature','',1),
(22,'default_staff_role','1',1),
(23,'newsfeed_maximum_files_upload','10',1),
(24,'contract_expiration_before','4',1),
(25,'invoice_prefix','INV-',1),
(26,'decimal_separator','.',1),
(27,'thousand_separator',',',1),
(28,'invoice_company_name','',1),
(29,'invoice_company_address','',1),
(30,'invoice_company_city','',1),
(31,'invoice_company_country_code','',1),
(32,'invoice_company_postal_code','',1),
(33,'invoice_company_phonenumber','',1),
(34,'view_invoice_only_logged_in','0',1),
(35,'invoice_number_format','1',1),
(36,'next_invoice_number','1',0),
(37,'active_language','english',1),
(38,'invoice_number_decrement_on_delete','1',1),
(39,'automatically_send_invoice_overdue_reminder_after','1',1),
(40,'automatically_resend_invoice_overdue_reminder_after','3',1),
(41,'expenses_auto_operations_hour','21',1),
(42,'delete_only_on_last_invoice','1',1),
(43,'delete_only_on_last_estimate','1',1),
(44,'create_invoice_from_recurring_only_on_paid_invoices','0',1),
(45,'allow_payment_amount_to_be_modified','1',1),
(46,'rtl_support_client','0',1),
(47,'limit_top_search_bar_results_to','10',1),
(48,'estimate_prefix','EST-',1),
(49,'next_estimate_number','1',0),
(50,'estimate_number_decrement_on_delete','1',1),
(51,'estimate_number_format','1',1),
(52,'estimate_auto_convert_to_invoice_on_client_accept','1',1),
(53,'exclude_estimate_from_client_area_with_draft_status','1',1),
(54,'rtl_support_admin','0',1),
(55,'last_cron_run','',1),
(56,'show_sale_agent_on_estimates','1',1),
(57,'show_sale_agent_on_invoices','1',1),
(58,'predefined_terms_invoice','',1),
(59,'predefined_terms_estimate','',1),
(60,'default_task_priority','2',1),
(61,'dropbox_app_key','',1),
(62,'show_expense_reminders_on_calendar','1',1),
(63,'only_show_contact_tickets','1',1),
(64,'predefined_clientnote_invoice','',1),
(65,'predefined_clientnote_estimate','',1),
(66,'custom_pdf_logo_image_url','',1),
(67,'favicon','',1),
(68,'invoice_due_after','30',1),
(69,'google_api_key','',1),
(70,'google_calendar_main_calendar','',1),
(71,'default_tax','a:0:{}',1),
(72,'show_invoices_on_calendar','1',1),
(73,'show_estimates_on_calendar','1',1),
(74,'show_contracts_on_calendar','1',1),
(75,'show_tasks_on_calendar','1',1),
(76,'show_customer_reminders_on_calendar','1',1),
(77,'output_client_pdfs_from_admin_area_in_client_language','0',1),
(78,'show_lead_reminders_on_calendar','1',1),
(79,'send_estimate_expiry_reminder_before','4',1),
(80,'leads_default_source','',1),
(81,'leads_default_status','',1),
(82,'proposal_expiry_reminder_enabled','1',1),
(83,'send_proposal_expiry_reminder_before','4',1),
(84,'default_contact_permissions','a:6:{i:0;s:1:\"1\";i:1;s:1:\"2\";i:2;s:1:\"3\";i:3;s:1:\"4\";i:4;s:1:\"5\";i:5;s:1:\"6\";}',1),
(85,'pdf_logo_width','150',1),
(86,'access_tickets_to_none_staff_members','0',1),
(87,'customer_default_country','',1),
(88,'view_estimate_only_logged_in','0',1),
(89,'show_status_on_pdf_ei','1',1),
(90,'email_piping_only_replies','0',1),
(91,'email_piping_only_registered','0',1),
(92,'default_view_calendar','dayGridMonth',1),
(93,'email_piping_default_priority','2',1),
(94,'total_to_words_lowercase','0',1),
(95,'show_tax_per_item','1',1),
(96,'total_to_words_enabled','0',1),
(97,'receive_notification_on_new_ticket','1',0),
(98,'autoclose_tickets_after','0',1),
(99,'media_max_file_size_upload','10',1),
(100,'client_staff_add_edit_delete_task_comments_first_hour','0',1),
(101,'show_projects_on_calendar','1',1),
(102,'leads_kanban_limit','50',1),
(103,'tasks_reminder_notification_before','2',1),
(104,'pdf_font','freesans',1),
(105,'pdf_table_heading_color','#323a45',1),
(106,'pdf_table_heading_text_color','#ffffff',1),
(107,'pdf_font_size','10',1),
(108,'default_leads_kanban_sort','leadorder',1),
(109,'default_leads_kanban_sort_type','asc',1),
(110,'allowed_files','.png,.jpg,.pdf,.doc,.docx,.xls,.xlsx,.zip,.rar,.txt',1),
(111,'show_all_tasks_for_project_member','1',1),
(112,'email_protocol','smtp',1),
(113,'calendar_first_day','0',1),
(114,'recaptcha_secret_key','',1),
(115,'show_help_on_setup_menu','1',1),
(116,'show_proposals_on_calendar','1',1),
(117,'smtp_encryption','',1),
(118,'recaptcha_site_key','',1),
(119,'smtp_username','',1),
(120,'auto_stop_tasks_timers_on_new_timer','1',1),
(121,'notification_when_customer_pay_invoice','1',1),
(122,'calendar_invoice_color','#FF6F00',1),
(123,'calendar_estimate_color','#FF6F00',1),
(124,'calendar_proposal_color','#84c529',1),
(125,'new_task_auto_assign_current_member','1',1),
(126,'calendar_reminder_color','#03A9F4',1),
(127,'calendar_contract_color','#B72974',1),
(128,'calendar_project_color','#B72974',1),
(129,'update_info_message','',1),
(130,'show_estimate_reminders_on_calendar','1',1),
(131,'show_invoice_reminders_on_calendar','1',1),
(132,'show_proposal_reminders_on_calendar','1',1),
(133,'proposal_due_after','7',1),
(134,'allow_customer_to_change_ticket_status','0',1),
(135,'lead_lock_after_convert_to_customer','0',1),
(136,'default_proposals_pipeline_sort','pipeline_order',1),
(137,'default_proposals_pipeline_sort_type','asc',1),
(138,'default_estimates_pipeline_sort','pipeline_order',1),
(139,'default_estimates_pipeline_sort_type','asc',1),
(140,'use_recaptcha_customers_area','0',1),
(141,'remove_decimals_on_zero','0',1),
(142,'remove_tax_name_from_item_table','0',1),
(143,'pdf_format_invoice','A4-PORTRAIT',1),
(144,'pdf_format_estimate','A4-PORTRAIT',1),
(145,'pdf_format_proposal','A4-PORTRAIT',1),
(146,'pdf_format_payment','A4-PORTRAIT',1),
(147,'pdf_format_contract','A4-PORTRAIT',1),
(148,'swap_pdf_info','0',1),
(149,'exclude_invoice_from_client_area_with_draft_status','1',1),
(150,'cron_has_run_from_cli','0',1),
(151,'hide_cron_is_required_message','0',0),
(152,'auto_assign_customer_admin_after_lead_convert','1',1),
(153,'show_transactions_on_invoice_pdf','1',1),
(154,'show_pay_link_to_invoice_pdf','1',1),
(155,'tasks_kanban_limit','50',1),
(156,'purchase_key','',1),
(157,'estimates_pipeline_limit','50',1),
(158,'proposals_pipeline_limit','50',1),
(159,'proposal_number_prefix','PRO-',1),
(160,'number_padding_prefixes','6',1),
(161,'show_page_number_on_pdf','0',1),
(162,'calendar_events_limit','4',1),
(163,'show_setup_menu_item_only_on_hover','0',1),
(164,'company_requires_vat_number_field','1',1),
(165,'company_is_required','1',1),
(166,'allow_contact_to_delete_files','0',1),
(167,'company_vat','',1),
(168,'di','1693719452',1),
(169,'invoice_auto_operations_hour','21',1),
(170,'use_minified_files','1',1),
(171,'only_own_files_contacts','0',1),
(172,'allow_primary_contact_to_view_edit_billing_and_shipping','0',1),
(173,'estimate_due_after','7',1),
(174,'staff_members_open_tickets_to_all_contacts','1',1),
(175,'time_format','24',1),
(176,'delete_activity_log_older_then','1',1),
(177,'disable_language','0',1),
(178,'company_state','',1),
(179,'email_header','<!doctype html>\r\n                            <html>\r\n                            <head>\r\n                              <meta name=\"viewport\" content=\"width=device-width\" />\r\n                              <meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\" />\r\n                              <style>\r\n                                body {\r\n                                 background-color: #f6f6f6;\r\n                                 font-family: sans-serif;\r\n                                 -webkit-font-smoothing: antialiased;\r\n                                 font-size: 14px;\r\n                                 line-height: 1.4;\r\n                                 margin: 0;\r\n                                 padding: 0;\r\n                                 -ms-text-size-adjust: 100%;\r\n                                 -webkit-text-size-adjust: 100%;\r\n                               }\r\n                               table {\r\n                                 border-collapse: separate;\r\n                                 mso-table-lspace: 0pt;\r\n                                 mso-table-rspace: 0pt;\r\n                                 width: 100%;\r\n                               }\r\n                               table td {\r\n                                 font-family: sans-serif;\r\n                                 font-size: 14px;\r\n                                 vertical-align: top;\r\n                               }\r\n                                   /* -------------------------------------\r\n                                     BODY & CONTAINER\r\n                                     ------------------------------------- */\r\n                                     .body {\r\n                                       background-color: #f6f6f6;\r\n                                       width: 100%;\r\n                                     }\r\n                                     /* Set a max-width, and make it display as block so it will automatically stretch to that width, but will also shrink down on a phone or something */\r\n\r\n                                     .container {\r\n                                       display: block;\r\n                                       margin: 0 auto !important;\r\n                                       /* makes it centered */\r\n                                       max-width: 680px;\r\n                                       padding: 10px;\r\n                                       width: 680px;\r\n                                     }\r\n                                     /* This should also be a block element, so that it will fill 100% of the .container */\r\n\r\n                                     .content {\r\n                                       box-sizing: border-box;\r\n                                       display: block;\r\n                                       margin: 0 auto;\r\n                                       max-width: 680px;\r\n                                       padding: 10px;\r\n                                     }\r\n                                   /* -------------------------------------\r\n                                     HEADER, FOOTER, MAIN\r\n                                     ------------------------------------- */\r\n\r\n                                     .main {\r\n                                       background: #fff;\r\n                                       border-radius: 3px;\r\n                                       width: 100%;\r\n                                     }\r\n                                     .wrapper {\r\n                                       box-sizing: border-box;\r\n                                       padding: 20px;\r\n                                     }\r\n                                     .footer {\r\n                                       clear: both;\r\n                                       padding-top: 10px;\r\n                                       text-align: center;\r\n                                       width: 100%;\r\n                                     }\r\n                                     .footer td,\r\n                                     .footer p,\r\n                                     .footer span,\r\n                                     .footer a {\r\n                                       color: #999999;\r\n                                       font-size: 12px;\r\n                                       text-align: center;\r\n                                     }\r\n                                     hr {\r\n                                       border: 0;\r\n                                       border-bottom: 1px solid #f6f6f6;\r\n                                       margin: 20px 0;\r\n                                     }\r\n                                   /* -------------------------------------\r\n                                     RESPONSIVE AND MOBILE FRIENDLY STYLES\r\n                                     ------------------------------------- */\r\n\r\n                                     @media only screen and (max-width: 620px) {\r\n                                       table[class=body] .content {\r\n                                         padding: 0 !important;\r\n                                       }\r\n                                       table[class=body] .container {\r\n                                         padding: 0 !important;\r\n                                         width: 100% !important;\r\n                                       }\r\n                                       table[class=body] .main {\r\n                                         border-left-width: 0 !important;\r\n                                         border-radius: 0 !important;\r\n                                         border-right-width: 0 !important;\r\n                                       }\r\n                                     }\r\n                                   </style>\r\n                                 </head>\r\n                                 <body class=\"\">\r\n                                  <table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"body\">\r\n                                    <tr>\r\n                                     <td>&nbsp;</td>\r\n                                     <td class=\"container\">\r\n                                      <div class=\"content\">\r\n                                        <!-- START CENTERED WHITE CONTAINER -->\r\n                                        <table class=\"main\">\r\n                                          <!-- START MAIN CONTENT AREA -->\r\n                                          <tr>\r\n                                           <td class=\"wrapper\">\r\n                                            <table border=\"0\" cellpadding=\"0\" cellspacing=\"0\">\r\n                                              <tr>\r\n                                               <td>',1),
(180,'show_pdf_signature_invoice','1',0),
(181,'show_pdf_signature_estimate','1',0),
(182,'signature_image','',0),
(183,'email_footer','</td>\r\n                             </tr>\r\n                           </table>\r\n                         </td>\r\n                       </tr>\r\n                       <!-- END MAIN CONTENT AREA -->\r\n                     </table>\r\n                     <!-- START FOOTER -->\r\n                     <div class=\"footer\">\r\n                      <table border=\"0\" cellpadding=\"0\" cellspacing=\"0\">\r\n                        <tr>\r\n                          <td class=\"content-block\">\r\n                            <span>{companyname}</span>\r\n                          </td>\r\n                        </tr>\r\n                      </table>\r\n                    </div>\r\n                    <!-- END FOOTER -->\r\n                    <!-- END CENTERED WHITE CONTAINER -->\r\n                  </div>\r\n                </td>\r\n                <td>&nbsp;</td>\r\n              </tr>\r\n            </table>\r\n            </body>\r\n            </html>',1),
(184,'exclude_proposal_from_client_area_with_draft_status','1',1),
(185,'pusher_app_key','',1),
(186,'pusher_app_secret','',1),
(187,'pusher_app_id','',1),
(188,'pusher_realtime_notifications','0',1),
(189,'pdf_format_statement','A4-PORTRAIT',1),
(190,'pusher_cluster','',1),
(191,'show_table_export_button','to_all',1),
(192,'allow_staff_view_proposals_assigned','1',1),
(193,'show_cloudflare_notice','1',0),
(194,'task_modal_class','modal-lg',1),
(195,'lead_modal_class','modal-lg',1),
(196,'show_timesheets_overview_all_members_notice_admins','0',1),
(197,'desktop_notifications','0',1),
(198,'hide_notified_reminders_from_calendar','1',0),
(199,'customer_info_format','{company_name}<br />\r\n{street}<br />\r\n{city} {state}<br />\r\n{country_code} {zip_code}<br />\r\n{vat_number_with_label}',0),
(200,'timer_started_change_status_in_progress','1',0),
(201,'default_ticket_reply_status','3',1),
(202,'default_task_status','auto',1),
(203,'email_queue_skip_with_attachments','1',1),
(204,'email_queue_enabled','0',1),
(205,'last_email_queue_retry','',1),
(206,'auto_dismiss_desktop_notifications_after','0',1),
(207,'proposal_info_format','{proposal_to}<br />\r\n{address}<br />\r\n{city} {state}<br />\r\n{country_code} {zip_code}<br />\r\n{phone}<br />\r\n{email}',0),
(208,'ticket_replies_order','asc',1),
(209,'new_recurring_invoice_action','generate_and_send',0),
(210,'bcc_emails','',0),
(211,'email_templates_language_checks','',0),
(212,'proposal_accept_identity_confirmation','1',0),
(213,'estimate_accept_identity_confirmation','1',0),
(214,'new_task_auto_follower_current_member','0',1),
(215,'task_biillable_checked_on_creation','1',1),
(216,'predefined_clientnote_credit_note','',1),
(217,'predefined_terms_credit_note','',1),
(218,'next_credit_note_number','1',1),
(219,'credit_note_prefix','CN-',1),
(220,'credit_note_number_decrement_on_delete','1',1),
(221,'pdf_format_credit_note','A4-PORTRAIT',1),
(222,'show_pdf_signature_credit_note','1',0),
(223,'show_credit_note_reminders_on_calendar','1',1),
(224,'show_amount_due_on_invoice','1',1),
(225,'show_total_paid_on_invoice','1',1),
(226,'show_credits_applied_on_invoice','1',1),
(227,'staff_members_create_inline_lead_status','1',1),
(228,'staff_members_create_inline_customer_groups','1',1),
(229,'staff_members_create_inline_ticket_services','1',1),
(230,'staff_members_save_tickets_predefined_replies','1',1),
(231,'staff_members_create_inline_contract_types','1',1),
(232,'staff_members_create_inline_expense_categories','1',1),
(233,'show_project_on_credit_note','1',1),
(234,'proposals_auto_operations_hour','21',1),
(235,'estimates_auto_operations_hour','21',1),
(236,'contracts_auto_operations_hour','21',1),
(237,'credit_note_number_format','1',1),
(238,'allow_non_admin_members_to_import_leads','0',1),
(239,'e_sign_legal_text','By clicking on \"Sign\", I consent to be legally bound by this electronic representation of my signature.',1),
(240,'show_pdf_signature_contract','1',1),
(241,'view_contract_only_logged_in','0',1),
(242,'show_subscriptions_in_customers_area','1',1),
(243,'calendar_only_assigned_tasks','0',1),
(244,'after_subscription_payment_captured','send_invoice_and_receipt',1),
(245,'mail_engine','phpmailer',1),
(246,'gdpr_enable_terms_and_conditions','0',1),
(247,'privacy_policy','',1),
(248,'terms_and_conditions','',1),
(249,'gdpr_enable_terms_and_conditions_lead_form','0',1),
(250,'gdpr_enable_terms_and_conditions_ticket_form','0',1),
(251,'gdpr_contact_enable_right_to_be_forgotten','0',1),
(252,'show_gdpr_in_customers_menu','1',1),
(253,'show_gdpr_link_in_footer','1',1),
(254,'enable_gdpr','0',1),
(255,'gdpr_on_forgotten_remove_invoices_credit_notes','0',1),
(256,'gdpr_on_forgotten_remove_estimates','0',1),
(257,'gdpr_enable_consent_for_contacts','0',1),
(258,'gdpr_consent_public_page_top_block','',1),
(259,'gdpr_page_top_information_block','',1),
(260,'gdpr_enable_lead_public_form','0',1),
(261,'gdpr_show_lead_custom_fields_on_public_form','0',1),
(262,'gdpr_lead_attachments_on_public_form','0',1),
(263,'gdpr_enable_consent_for_leads','0',1),
(264,'gdpr_lead_enable_right_to_be_forgotten','0',1),
(265,'allow_staff_view_invoices_assigned','1',1),
(266,'gdpr_data_portability_leads','0',1),
(267,'gdpr_lead_data_portability_allowed','',1),
(268,'gdpr_contact_data_portability_allowed','',1),
(269,'gdpr_data_portability_contacts','0',1),
(270,'allow_staff_view_estimates_assigned','1',1),
(271,'gdpr_after_lead_converted_delete','0',1),
(272,'gdpr_show_terms_and_conditions_in_footer','0',1),
(273,'save_last_order_for_tables','0',1),
(274,'company_logo_dark','',1),
(275,'customers_register_require_confirmation','0',1),
(276,'allow_non_admin_staff_to_delete_ticket_attachments','0',1),
(277,'receive_notification_on_new_ticket_replies','1',0),
(278,'google_client_id','',1),
(279,'enable_google_picker','1',1),
(280,'show_ticket_reminders_on_calendar','1',1),
(281,'ticket_import_reply_only','0',1),
(282,'visible_customer_profile_tabs','all',0),
(283,'show_project_on_invoice','1',1),
(284,'show_project_on_estimate','1',1),
(285,'staff_members_create_inline_lead_source','1',1),
(286,'lead_unique_validation','[\"email\"]',1),
(287,'last_upgrade_copy_data','',1),
(288,'custom_js_admin_scripts','',1),
(289,'custom_js_customer_scripts','0',1),
(290,'stripe_webhook_id','',1),
(291,'stripe_webhook_signing_secret','',1),
(292,'stripe_ideal_webhook_id','',1),
(293,'stripe_ideal_webhook_signing_secret','',1),
(294,'show_php_version_notice','1',0),
(295,'recaptcha_ignore_ips','',1),
(296,'show_task_reminders_on_calendar','1',1),
(297,'customer_settings','true',1),
(298,'tasks_reminder_notification_hour','21',1),
(299,'allow_primary_contact_to_manage_other_contacts','0',1),
(300,'items_table_amounts_exclude_currency_symbol','1',1),
(301,'round_off_task_timer_option','0',1),
(302,'round_off_task_timer_time','5',1),
(303,'bitly_access_token','',1),
(304,'enable_support_menu_badges','0',1),
(305,'attach_invoice_to_payment_receipt_email','0',1),
(306,'invoice_due_notice_before','2',1),
(307,'invoice_due_notice_resend_after','0',1),
(308,'_leads_settings','true',1),
(309,'show_estimate_request_in_customers_area','0',1),
(310,'gdpr_enable_terms_and_conditions_estimate_request_form','0',1),
(311,'upgraded_from_version','',0),
(312,'identification_key','1227637155169371954264f41bf68f46f',1),
(313,'automatically_stop_task_timer_after_hours','8',1),
(314,'automatically_assign_ticket_to_first_staff_responding','0',1),
(315,'reminder_for_completed_but_not_billed_tasks','0',1),
(316,'staff_notify_completed_but_not_billed_tasks','',1),
(317,'reminder_for_completed_but_not_billed_tasks_days','',1),
(318,'tasks_reminder_notification_last_notified_day','',1),
(319,'staff_related_ticket_notification_to_assignee_only','0',1),
(320,'show_pdf_signature_proposal','1',1),
(321,'enable_honeypot_spam_validation','0',1),
(322,'sms_clickatell_api_key','',1),
(323,'sms_clickatell_active','0',1),
(324,'sms_clickatell_initialized','1',1),
(325,'sms_msg91_sender_id','',1),
(326,'sms_msg91_api_type','api',1),
(327,'sms_msg91_auth_key','',1),
(328,'sms_msg91_active','0',1),
(329,'sms_msg91_initialized','1',1),
(330,'sms_twilio_account_sid','',1),
(331,'sms_twilio_auth_token','',1),
(332,'sms_twilio_phone_number','',1),
(333,'sms_twilio_sender_id','',1),
(334,'sms_twilio_active','0',1),
(335,'sms_twilio_initialized','1',1),
(336,'paymentmethod_authorize_acceptjs_active','0',1),
(337,'paymentmethod_authorize_acceptjs_label','Authorize.net Accept.js',1),
(338,'paymentmethod_authorize_acceptjs_public_key','',0),
(339,'paymentmethod_authorize_acceptjs_api_login_id','',0),
(340,'paymentmethod_authorize_acceptjs_api_transaction_key','',0),
(341,'paymentmethod_authorize_acceptjs_description_dashboard','Payment for Invoice {invoice_number}',0),
(342,'paymentmethod_authorize_acceptjs_currencies','USD',0),
(343,'paymentmethod_authorize_acceptjs_test_mode_enabled','0',0),
(344,'paymentmethod_authorize_acceptjs_default_selected','1',1),
(345,'paymentmethod_authorize_acceptjs_initialized','1',1),
(346,'paymentmethod_instamojo_active','0',1),
(347,'paymentmethod_instamojo_label','Instamojo',1),
(348,'paymentmethod_instamojo_api_key','',0),
(349,'paymentmethod_instamojo_auth_token','',0),
(350,'paymentmethod_instamojo_description_dashboard','Payment for Invoice {invoice_number}',0),
(351,'paymentmethod_instamojo_currencies','INR',0),
(352,'paymentmethod_instamojo_test_mode_enabled','1',0),
(353,'paymentmethod_instamojo_default_selected','1',1),
(354,'paymentmethod_instamojo_initialized','1',1),
(355,'paymentmethod_mollie_active','0',1),
(356,'paymentmethod_mollie_label','Mollie',1),
(357,'paymentmethod_mollie_api_key','',0),
(358,'paymentmethod_mollie_description_dashboard','Payment for Invoice {invoice_number}',0),
(359,'paymentmethod_mollie_currencies','EUR',0),
(360,'paymentmethod_mollie_test_mode_enabled','1',0),
(361,'paymentmethod_mollie_default_selected','1',1),
(362,'paymentmethod_mollie_initialized','1',1),
(363,'paymentmethod_paypal_braintree_active','0',1),
(364,'paymentmethod_paypal_braintree_label','Braintree',1),
(365,'paymentmethod_paypal_braintree_merchant_id','',0),
(366,'paymentmethod_paypal_braintree_api_public_key','',0),
(367,'paymentmethod_paypal_braintree_api_private_key','',0),
(368,'paymentmethod_paypal_braintree_currencies','USD',0),
(369,'paymentmethod_paypal_braintree_paypal_enabled','1',0),
(370,'paymentmethod_paypal_braintree_test_mode_enabled','1',0),
(371,'paymentmethod_paypal_braintree_default_selected','1',1),
(372,'paymentmethod_paypal_braintree_initialized','1',1),
(373,'paymentmethod_paypal_checkout_active','0',1),
(374,'paymentmethod_paypal_checkout_label','Paypal Smart Checkout',1),
(375,'paymentmethod_paypal_checkout_client_id','',0),
(376,'paymentmethod_paypal_checkout_secret','',0),
(377,'paymentmethod_paypal_checkout_payment_description','Payment for Invoice {invoice_number}',0),
(378,'paymentmethod_paypal_checkout_currencies','USD,CAD,EUR',0),
(379,'paymentmethod_paypal_checkout_test_mode_enabled','1',0),
(380,'paymentmethod_paypal_checkout_default_selected','1',1),
(381,'paymentmethod_paypal_checkout_initialized','1',1),
(382,'paymentmethod_paypal_active','0',1),
(383,'paymentmethod_paypal_label','Paypal',1),
(384,'paymentmethod_paypal_username','',0),
(385,'paymentmethod_paypal_password','',0),
(386,'paymentmethod_paypal_signature','',0),
(387,'paymentmethod_paypal_description_dashboard','Payment for Invoice {invoice_number}',0),
(388,'paymentmethod_paypal_currencies','EUR,USD',0),
(389,'paymentmethod_paypal_test_mode_enabled','1',0),
(390,'paymentmethod_paypal_default_selected','1',1),
(391,'paymentmethod_paypal_initialized','1',1),
(392,'paymentmethod_payu_money_active','0',1),
(393,'paymentmethod_payu_money_label','PayU Money',1),
(394,'paymentmethod_payu_money_key','',0),
(395,'paymentmethod_payu_money_salt','',0),
(396,'paymentmethod_payu_money_description_dashboard','Payment for Invoice {invoice_number}',0),
(397,'paymentmethod_payu_money_currencies','INR',0),
(398,'paymentmethod_payu_money_test_mode_enabled','1',0),
(399,'paymentmethod_payu_money_default_selected','1',1),
(400,'paymentmethod_payu_money_initialized','1',1),
(401,'paymentmethod_stripe_active','0',1),
(402,'paymentmethod_stripe_label','Stripe Checkout',1),
(403,'paymentmethod_stripe_api_publishable_key','',0),
(404,'paymentmethod_stripe_api_secret_key','',0),
(405,'paymentmethod_stripe_description_dashboard','Payment for Invoice {invoice_number}',0),
(406,'paymentmethod_stripe_currencies','USD,CAD',0),
(407,'paymentmethod_stripe_allow_primary_contact_to_update_credit_card','1',0),
(408,'paymentmethod_stripe_default_selected','1',1),
(409,'paymentmethod_stripe_initialized','1',1),
(410,'paymentmethod_stripe_ideal_active','0',1),
(411,'paymentmethod_stripe_ideal_label','Stripe iDEAL',1),
(412,'paymentmethod_stripe_ideal_api_secret_key','',0),
(413,'paymentmethod_stripe_ideal_api_publishable_key','',0),
(414,'paymentmethod_stripe_ideal_description_dashboard','Payment for Invoice {invoice_number}',0),
(415,'paymentmethod_stripe_ideal_statement_descriptor','Payment for Invoice {invoice_number}',0),
(416,'paymentmethod_stripe_ideal_currencies','EUR',0),
(417,'paymentmethod_stripe_ideal_default_selected','1',1),
(418,'paymentmethod_stripe_ideal_initialized','1',1),
(419,'paymentmethod_two_checkout_active','0',1),
(420,'paymentmethod_two_checkout_label','2Checkout',1),
(421,'paymentmethod_two_checkout_merchant_code','',0),
(422,'paymentmethod_two_checkout_secret_key','',0),
(423,'paymentmethod_two_checkout_description','Payment for Invoice {invoice_number}',0),
(424,'paymentmethod_two_checkout_currencies','USD, EUR, GBP',0),
(425,'paymentmethod_two_checkout_test_mode_enabled','1',0),
(426,'paymentmethod_two_checkout_default_selected','1',1),
(427,'paymentmethod_two_checkout_initialized','1',1);
/*!40000 ALTER TABLE `tbloptions` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `tblpayment_modes`
--

DROP TABLE IF EXISTS `tblpayment_modes`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `tblpayment_modes` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `name` varchar(100) NOT NULL,
  `description` text DEFAULT NULL,
  `show_on_pdf` int(11) NOT NULL DEFAULT 0,
  `invoices_only` int(11) NOT NULL DEFAULT 0,
  `expenses_only` int(11) NOT NULL DEFAULT 0,
  `selected_by_default` int(11) NOT NULL DEFAULT 1,
  `active` tinyint(1) NOT NULL DEFAULT 1,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `tblpayment_modes`
--

LOCK TABLES `tblpayment_modes` WRITE;
/*!40000 ALTER TABLE `tblpayment_modes` DISABLE KEYS */;
INSERT INTO `tblpayment_modes` VALUES
(1,'Bank',NULL,0,0,0,1,1);
/*!40000 ALTER TABLE `tblpayment_modes` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `tblpinned_projects`
--

DROP TABLE IF EXISTS `tblpinned_projects`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `tblpinned_projects` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `project_id` int(11) NOT NULL,
  `staff_id` int(11) NOT NULL,
  PRIMARY KEY (`id`),
  KEY `project_id` (`project_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `tblpinned_projects`
--

LOCK TABLES `tblpinned_projects` WRITE;
/*!40000 ALTER TABLE `tblpinned_projects` DISABLE KEYS */;
/*!40000 ALTER TABLE `tblpinned_projects` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `tblproject_activity`
--

DROP TABLE IF EXISTS `tblproject_activity`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `tblproject_activity` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `project_id` int(11) NOT NULL,
  `staff_id` int(11) NOT NULL DEFAULT 0,
  `contact_id` int(11) NOT NULL DEFAULT 0,
  `fullname` varchar(100) DEFAULT NULL,
  `visible_to_customer` int(11) NOT NULL DEFAULT 0,
  `description_key` varchar(191) NOT NULL COMMENT 'Language file key',
  `additional_data` text DEFAULT NULL,
  `dateadded` datetime NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `tblproject_activity`
--

LOCK TABLES `tblproject_activity` WRITE;
/*!40000 ALTER TABLE `tblproject_activity` DISABLE KEYS */;
/*!40000 ALTER TABLE `tblproject_activity` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `tblproject_files`
--

DROP TABLE IF EXISTS `tblproject_files`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `tblproject_files` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `file_name` varchar(191) NOT NULL,
  `original_file_name` mediumtext DEFAULT NULL,
  `subject` varchar(191) DEFAULT NULL,
  `description` text DEFAULT NULL,
  `filetype` varchar(50) DEFAULT NULL,
  `dateadded` datetime NOT NULL,
  `last_activity` datetime DEFAULT NULL,
  `project_id` int(11) NOT NULL,
  `visible_to_customer` tinyint(1) DEFAULT 0,
  `staffid` int(11) NOT NULL,
  `contact_id` int(11) NOT NULL DEFAULT 0,
  `external` varchar(40) DEFAULT NULL,
  `external_link` text DEFAULT NULL,
  `thumbnail_link` text DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `tblproject_files`
--

LOCK TABLES `tblproject_files` WRITE;
/*!40000 ALTER TABLE `tblproject_files` DISABLE KEYS */;
/*!40000 ALTER TABLE `tblproject_files` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `tblproject_members`
--

DROP TABLE IF EXISTS `tblproject_members`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `tblproject_members` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `project_id` int(11) NOT NULL,
  `staff_id` int(11) NOT NULL,
  PRIMARY KEY (`id`),
  KEY `project_id` (`project_id`),
  KEY `staff_id` (`staff_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `tblproject_members`
--

LOCK TABLES `tblproject_members` WRITE;
/*!40000 ALTER TABLE `tblproject_members` DISABLE KEYS */;
/*!40000 ALTER TABLE `tblproject_members` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `tblproject_notes`
--

DROP TABLE IF EXISTS `tblproject_notes`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `tblproject_notes` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `project_id` int(11) NOT NULL,
  `content` text NOT NULL,
  `staff_id` int(11) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `tblproject_notes`
--

LOCK TABLES `tblproject_notes` WRITE;
/*!40000 ALTER TABLE `tblproject_notes` DISABLE KEYS */;
/*!40000 ALTER TABLE `tblproject_notes` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `tblproject_settings`
--

DROP TABLE IF EXISTS `tblproject_settings`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `tblproject_settings` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `project_id` int(11) NOT NULL,
  `name` varchar(100) NOT NULL,
  `value` text DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `project_id` (`project_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `tblproject_settings`
--

LOCK TABLES `tblproject_settings` WRITE;
/*!40000 ALTER TABLE `tblproject_settings` DISABLE KEYS */;
/*!40000 ALTER TABLE `tblproject_settings` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `tblprojectdiscussioncomments`
--

DROP TABLE IF EXISTS `tblprojectdiscussioncomments`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `tblprojectdiscussioncomments` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `discussion_id` int(11) NOT NULL,
  `discussion_type` varchar(10) NOT NULL,
  `parent` int(11) DEFAULT NULL,
  `created` datetime NOT NULL,
  `modified` datetime DEFAULT NULL,
  `content` text NOT NULL,
  `staff_id` int(11) NOT NULL,
  `contact_id` int(11) DEFAULT 0,
  `fullname` varchar(191) DEFAULT NULL,
  `file_name` varchar(191) DEFAULT NULL,
  `file_mime_type` varchar(70) DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `tblprojectdiscussioncomments`
--

LOCK TABLES `tblprojectdiscussioncomments` WRITE;
/*!40000 ALTER TABLE `tblprojectdiscussioncomments` DISABLE KEYS */;
/*!40000 ALTER TABLE `tblprojectdiscussioncomments` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `tblprojectdiscussions`
--

DROP TABLE IF EXISTS `tblprojectdiscussions`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `tblprojectdiscussions` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `project_id` int(11) NOT NULL,
  `subject` varchar(191) NOT NULL,
  `description` text NOT NULL,
  `show_to_customer` tinyint(1) NOT NULL DEFAULT 0,
  `datecreated` datetime NOT NULL,
  `last_activity` datetime DEFAULT NULL,
  `staff_id` int(11) NOT NULL DEFAULT 0,
  `contact_id` int(11) NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `tblprojectdiscussions`
--

LOCK TABLES `tblprojectdiscussions` WRITE;
/*!40000 ALTER TABLE `tblprojectdiscussions` DISABLE KEYS */;
/*!40000 ALTER TABLE `tblprojectdiscussions` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `tblprojects`
--

DROP TABLE IF EXISTS `tblprojects`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `tblprojects` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `name` varchar(191) NOT NULL,
  `description` text DEFAULT NULL,
  `status` int(11) NOT NULL DEFAULT 0,
  `clientid` int(11) NOT NULL,
  `billing_type` int(11) NOT NULL,
  `start_date` date NOT NULL,
  `deadline` date DEFAULT NULL,
  `project_created` date NOT NULL,
  `date_finished` datetime DEFAULT NULL,
  `progress` int(11) DEFAULT 0,
  `progress_from_tasks` int(11) NOT NULL DEFAULT 1,
  `project_cost` decimal(15,2) DEFAULT NULL,
  `project_rate_per_hour` decimal(15,2) DEFAULT NULL,
  `estimated_hours` decimal(15,2) DEFAULT NULL,
  `addedfrom` int(11) NOT NULL,
  `contact_notification` int(11) DEFAULT 1,
  `notify_contacts` text DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `clientid` (`clientid`),
  KEY `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `tblprojects`
--

LOCK TABLES `tblprojects` WRITE;
/*!40000 ALTER TABLE `tblprojects` DISABLE KEYS */;
/*!40000 ALTER TABLE `tblprojects` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `tblproposal_comments`
--

DROP TABLE IF EXISTS `tblproposal_comments`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `tblproposal_comments` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `content` mediumtext DEFAULT NULL,
  `proposalid` int(11) NOT NULL,
  `staffid` int(11) NOT NULL,
  `dateadded` datetime NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `tblproposal_comments`
--

LOCK TABLES `tblproposal_comments` WRITE;
/*!40000 ALTER TABLE `tblproposal_comments` DISABLE KEYS */;
/*!40000 ALTER TABLE `tblproposal_comments` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `tblproposals`
--

DROP TABLE IF EXISTS `tblproposals`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `tblproposals` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `subject` varchar(191) DEFAULT NULL,
  `content` longtext DEFAULT NULL,
  `addedfrom` int(11) NOT NULL,
  `datecreated` datetime NOT NULL,
  `total` decimal(15,2) DEFAULT NULL,
  `subtotal` decimal(15,2) NOT NULL,
  `total_tax` decimal(15,2) NOT NULL DEFAULT 0.00,
  `adjustment` decimal(15,2) DEFAULT NULL,
  `discount_percent` decimal(15,2) NOT NULL,
  `discount_total` decimal(15,2) NOT NULL,
  `discount_type` varchar(30) DEFAULT NULL,
  `show_quantity_as` int(11) NOT NULL DEFAULT 1,
  `currency` int(11) NOT NULL,
  `open_till` date DEFAULT NULL,
  `date` date NOT NULL,
  `rel_id` int(11) DEFAULT NULL,
  `rel_type` varchar(40) DEFAULT NULL,
  `assigned` int(11) DEFAULT NULL,
  `hash` varchar(32) NOT NULL,
  `proposal_to` varchar(191) DEFAULT NULL,
  `project_id` int(11) DEFAULT NULL,
  `country` int(11) NOT NULL DEFAULT 0,
  `zip` varchar(50) DEFAULT NULL,
  `state` varchar(100) DEFAULT NULL,
  `city` varchar(100) DEFAULT NULL,
  `address` varchar(200) DEFAULT NULL,
  `email` varchar(150) DEFAULT NULL,
  `phone` varchar(50) DEFAULT NULL,
  `allow_comments` tinyint(1) NOT NULL DEFAULT 1,
  `status` int(11) NOT NULL,
  `estimate_id` int(11) DEFAULT NULL,
  `invoice_id` int(11) DEFAULT NULL,
  `date_converted` datetime DEFAULT NULL,
  `pipeline_order` int(11) DEFAULT 1,
  `is_expiry_notified` int(11) NOT NULL DEFAULT 0,
  `acceptance_firstname` varchar(50) DEFAULT NULL,
  `acceptance_lastname` varchar(50) DEFAULT NULL,
  `acceptance_email` varchar(100) DEFAULT NULL,
  `acceptance_date` datetime DEFAULT NULL,
  `acceptance_ip` varchar(40) DEFAULT NULL,
  `signature` varchar(40) DEFAULT NULL,
  `short_link` varchar(100) DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `status` (`status`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `tblproposals`
--

LOCK TABLES `tblproposals` WRITE;
/*!40000 ALTER TABLE `tblproposals` DISABLE KEYS */;
/*!40000 ALTER TABLE `tblproposals` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `tblrelated_items`
--

DROP TABLE IF EXISTS `tblrelated_items`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `tblrelated_items` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `rel_id` int(11) NOT NULL,
  `rel_type` varchar(30) NOT NULL,
  `item_id` int(11) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `tblrelated_items`
--

LOCK TABLES `tblrelated_items` WRITE;
/*!40000 ALTER TABLE `tblrelated_items` DISABLE KEYS */;
/*!40000 ALTER TABLE `tblrelated_items` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `tblreminders`
--

DROP TABLE IF EXISTS `tblreminders`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `tblreminders` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `description` text DEFAULT NULL,
  `date` datetime NOT NULL,
  `isnotified` int(11) NOT NULL DEFAULT 0,
  `rel_id` int(11) NOT NULL,
  `staff` int(11) NOT NULL,
  `rel_type` varchar(40) NOT NULL,
  `notify_by_email` int(11) NOT NULL DEFAULT 1,
  `creator` int(11) NOT NULL,
  PRIMARY KEY (`id`),
  KEY `rel_id` (`rel_id`),
  KEY `rel_type` (`rel_type`),
  KEY `staff` (`staff`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `tblreminders`
--

LOCK TABLES `tblreminders` WRITE;
/*!40000 ALTER TABLE `tblreminders` DISABLE KEYS */;
/*!40000 ALTER TABLE `tblreminders` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `tblroles`
--

DROP TABLE IF EXISTS `tblroles`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `tblroles` (
  `roleid` int(11) NOT NULL AUTO_INCREMENT,
  `name` varchar(150) NOT NULL,
  `permissions` longtext DEFAULT NULL,
  PRIMARY KEY (`roleid`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `tblroles`
--

LOCK TABLES `tblroles` WRITE;
/*!40000 ALTER TABLE `tblroles` DISABLE KEYS */;
INSERT INTO `tblroles` VALUES
(1,'Employee',NULL);
/*!40000 ALTER TABLE `tblroles` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `tblsales_activity`
--

DROP TABLE IF EXISTS `tblsales_activity`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `tblsales_activity` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `rel_type` varchar(20) DEFAULT NULL,
  `rel_id` int(11) NOT NULL,
  `description` text NOT NULL,
  `additional_data` text DEFAULT NULL,
  `staffid` varchar(11) DEFAULT NULL,
  `full_name` varchar(100) DEFAULT NULL,
  `date` datetime NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `tblsales_activity`
--

LOCK TABLES `tblsales_activity` WRITE;
/*!40000 ALTER TABLE `tblsales_activity` DISABLE KEYS */;
/*!40000 ALTER TABLE `tblsales_activity` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `tblscheduled_emails`
--

DROP TABLE IF EXISTS `tblscheduled_emails`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `tblscheduled_emails` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `rel_id` int(11) NOT NULL,
  `rel_type` varchar(15) NOT NULL,
  `scheduled_at` datetime NOT NULL,
  `contacts` varchar(197) NOT NULL,
  `cc` text DEFAULT NULL,
  `attach_pdf` tinyint(1) NOT NULL DEFAULT 1,
  `template` varchar(197) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `tblscheduled_emails`
--

LOCK TABLES `tblscheduled_emails` WRITE;
/*!40000 ALTER TABLE `tblscheduled_emails` DISABLE KEYS */;
/*!40000 ALTER TABLE `tblscheduled_emails` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `tblservices`
--

DROP TABLE IF EXISTS `tblservices`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `tblservices` (
  `serviceid` int(11) NOT NULL AUTO_INCREMENT,
  `name` varchar(50) NOT NULL,
  PRIMARY KEY (`serviceid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `tblservices`
--

LOCK TABLES `tblservices` WRITE;
/*!40000 ALTER TABLE `tblservices` DISABLE KEYS */;
/*!40000 ALTER TABLE `tblservices` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `tblsessions`
--

DROP TABLE IF EXISTS `tblsessions`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `tblsessions` (
  `id` varchar(128) NOT NULL,
  `ip_address` varchar(45) NOT NULL,
  `timestamp` int(10) unsigned NOT NULL DEFAULT 0,
  `data` blob NOT NULL,
  PRIMARY KEY (`id`),
  KEY `ci_sessions_timestamp` (`timestamp`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `tblsessions`
--

LOCK TABLES `tblsessions` WRITE;
/*!40000 ALTER TABLE `tblsessions` DISABLE KEYS */;
INSERT INTO `tblsessions` VALUES
('0031a63fcd48f9f56036199ba5a07087628e59b6','103.197.49.252',1713431262,'__ci_last_regenerate|i:1713431245;red_url|s:31:\"https://weblinkltd.xyz/democrm/\";message-danger|s:28:\"Invalid username or password\";__ci_vars|a:1:{s:14:\"message-danger\";s:3:\"old\";}'),
('00483eebb4794f0ca786cc5ac1bc508b350fae09','103.254.167.76',1693722646,'__ci_last_regenerate|i:1693722646;'),
('010d5657e9ec6a1cde1c3cb3d8d4b92b79f84a49','114.119.152.108',1765070055,'__ci_last_regenerate|i:1765070055;is_mobile|b:1;'),
('011e76fc9f03c74b53d069e3ba32f6e257ab2f13','114.119.158.133',1741917703,'__ci_last_regenerate|i:1741917702;is_mobile|b:1;'),
('018a5ca5733c538c355e853ed7f8efda69df4701','114.119.153.138',1736840602,'__ci_last_regenerate|i:1736840601;is_mobile|b:1;'),
('02912a6a6b5f35bbdc25f07c693d8f7395bea496','114.119.157.221',1769405262,'__ci_last_regenerate|i:1769405260;is_mobile|b:1;'),
('02d029565b1f47ed6a31b2fa446e85f4810ca882','114.119.152.108',1755820800,'__ci_last_regenerate|i:1755820799;is_mobile|b:1;'),
('04d2265961225758f64e9bef3bf2e38ae66afac7','114.119.138.77',1761328377,'__ci_last_regenerate|i:1761328376;is_mobile|b:1;'),
('059409d645b5e930748fd51732a2b1f077551f15','51.222.253.1',1716150365,'__ci_last_regenerate|i:1716150363;red_url|s:27:\"https://weblinkltd.xyz/crm/\";'),
('0640654c2128fefd933f481cb4ae74f06829b029','114.119.134.107',1769629862,'__ci_last_regenerate|i:1769629859;is_mobile|b:1;'),
('069a039c72d195d79239597cf2be97b0c61db7cb','114.119.146.41',1760866416,'__ci_last_regenerate|i:1760866414;is_mobile|b:1;'),
('076c28bfa7e276ceca9d0f69c35a391ee991bda1','114.119.146.41',1773683903,'__ci_last_regenerate|i:1773683903;is_mobile|b:1;'),
('0834a32a1fa3182e246fdc2144de6b8305dc8b30','114.119.158.133',1729994829,'__ci_last_regenerate|i:1729994824;is_mobile|b:1;'),
('0999a39fbf0218d08d2b66f57ec82200b46d41eb','54.36.148.238',1728135521,'__ci_last_regenerate|i:1728135521;red_url|s:27:\"https://weblinkltd.xyz/crm/\";'),
('0a0d8434b47e7841d08e9e1ec2607a91effde2c4','114.119.134.107',1759459615,'__ci_last_regenerate|i:1759459614;is_mobile|b:1;'),
('0a519b8dba1d22d063e5501e107b6bdcf7694143','114.119.156.122',1701898767,'__ci_last_regenerate|i:1701898765;is_mobile|b:1;'),
('0a56f609e881ddc1cf3c3686009bd1b33f4d19a5','114.119.132.227',1764891991,'__ci_last_regenerate|i:1764891987;is_mobile|b:1;'),
('0ac2a727013e8f2c8cf563f1b4757c4342b8d676','114.119.152.231',1752174861,'__ci_last_regenerate|i:1752174861;is_mobile|b:1;'),
('0adae2b8a36db44b235f94fc9354455713684958','103.129.200.73',1693722157,'__ci_last_regenerate|i:1693722157;staff_user_id|s:1:\"1\";staff_logged_in|b:1;setup-menu-open|s:0:\"\";'),
('0b4cc226612c81dc05cd7b29291c383284077954','114.119.143.151',1746068469,'__ci_last_regenerate|i:1746068468;is_mobile|b:1;'),
('0b87863e6d25b527db12f86d4b6cd594a3643d95','54.36.148.123',1753717915,'__ci_last_regenerate|i:1753717914;red_url|s:27:\"https://weblinkltd.xyz/crm/\";'),
('0bd25531c0b534a95ab2f98336258efc53dcc3b1','114.119.158.133',1738632859,'__ci_last_regenerate|i:1738632858;is_mobile|b:1;'),
('0db152b5c718083eddf783858134e26f287cb5d8','114.119.153.138',1728106872,'__ci_last_regenerate|i:1728106871;is_mobile|b:1;'),
('0dc77e51eb33c0017dabb6c3e3d05e3fe6b00eec','114.119.130.91',1725088922,'__ci_last_regenerate|i:1725088920;is_mobile|b:1;'),
('0fad53f5ad79a0cc259180388e67cd64214341a2','54.36.148.20',1698457999,'__ci_last_regenerate|i:1698457997;red_url|s:27:\"https://weblinkltd.xyz/crm/\";'),
('11562584f194267fbdbbe2f4ef447c2446607e49','114.119.130.91',1711454050,'__ci_last_regenerate|i:1711454048;is_mobile|b:1;'),
('1182bb22742409e23e915d21ab6ea4de0e64edef','114.119.145.3',1693771003,'__ci_last_regenerate|i:1693770999;is_mobile|b:1;red_url|s:27:\"https://weblinkltd.xyz/crm/\";'),
('1263a8f735cd20583a9531bdba9f6a465bdd62fe','114.119.138.77',1773575499,'__ci_last_regenerate|i:1773575498;is_mobile|b:1;'),
('1332fc71d37b8ab149fd421f792c65039a334fa9','54.36.148.79',1729109091,'__ci_last_regenerate|i:1729109090;red_url|s:27:\"https://weblinkltd.xyz/crm/\";'),
('13952b124fdff2dd774c34937e08afface9844f1','103.197.49.252',1700979884,'__ci_last_regenerate|i:1700979883;red_url|s:42:\"https://weblinkltd.xyz/democrm/admin/leads\";'),
('144d3ce6f171eb3ff1658db42bbc097cce0ab1a2','114.119.130.91',1710161358,'__ci_last_regenerate|i:1710161356;is_mobile|b:1;'),
('14872a65c05e4ccbd0030cedaffba80113faedbe','114.119.133.158',1762303556,'__ci_last_regenerate|i:1762303555;is_mobile|b:1;'),
('15085b0c2d0b5e04cad1bd04a07bf74000f91544','51.222.253.12',1716535020,'__ci_last_regenerate|i:1716535017;red_url|s:27:\"https://weblinkltd.xyz/crm/\";'),
('157b2cbf61af56b021deee28593b8a0817631ecd','114.119.136.24',1726599841,'__ci_last_regenerate|i:1726599841;is_mobile|b:1;'),
('158948c4d447564bcb7717904babc4f6758f86f6','114.119.152.108',1774604664,'__ci_last_regenerate|i:1774604663;is_mobile|b:1;'),
('164d3524c1252f66b783178e87cf5c679c2749b0','114.119.133.220',1724042357,'__ci_last_regenerate|i:1724042353;is_mobile|b:1;'),
('16be15c5ca6091b0312d90ac50ddb1489a4aa091','114.119.138.230',1734420685,'__ci_last_regenerate|i:1734420684;is_mobile|b:1;'),
('16e6cf1b3b2c3df7f254bea6f4fc8c2ce5b1c202','114.119.136.24',1748799754,'__ci_last_regenerate|i:1748799752;is_mobile|b:1;'),
('17221613926c2631fd24c9f424b30586d869d0bd','54.36.148.242',1711851993,'__ci_last_regenerate|i:1711851992;red_url|s:27:\"https://weblinkltd.xyz/crm/\";'),
('18160483352efc310e0895eefddd931560d91331','114.119.148.14',1722381068,'__ci_last_regenerate|i:1722381066;is_mobile|b:1;'),
('1827107c0e69c36dd8c34e2535e9e7f8fb2a708a','114.119.133.158',1768688736,'__ci_last_regenerate|i:1768688735;is_mobile|b:1;'),
('188982956ccede9f69293dd5873a26b27d1603b1','114.119.132.227',1757907159,'__ci_last_regenerate|i:1757907157;is_mobile|b:1;'),
('1893dfd3d4bc4c60729ad36401da0c6fe96ee0e0','114.119.132.227',1758699243,'__ci_last_regenerate|i:1758699239;is_mobile|b:1;'),
('1925e68b461772b32667ea21c3be546fb40367d8','114.119.138.77',1773992407,'__ci_last_regenerate|i:1773992406;is_mobile|b:1;'),
('19a09fa9ca8d93d754fe52ba459ea69e544827c3','54.36.148.159',1698149317,'__ci_last_regenerate|i:1698149316;red_url|s:27:\"https://weblinkltd.xyz/crm/\";'),
('1a3c87e6b3ac3adf75d1fcde03602a156dfb8727','114.119.133.158',1761475341,'__ci_last_regenerate|i:1761475340;is_mobile|b:1;'),
('1bad4bee5f2c4df74e890f1edc8b16f679bbf3f7','114.119.146.220',1717372914,'__ci_last_regenerate|i:1717372912;is_mobile|b:1;'),
('1cc45dbae608853d90448a1c1309e319cdb460bc','114.119.133.158',1765837306,'__ci_last_regenerate|i:1765837305;is_mobile|b:1;'),
('1d2eb4f62c5da03f9f75c28c845ccb0f5a9361c9','103.129.200.73',1693796699,'__ci_last_regenerate|i:1693796699;'),
('1e8e18834b3b60ab210777783149d546f7d23891','114.119.132.227',1764925849,'__ci_last_regenerate|i:1764925848;is_mobile|b:1;'),
('1ee7590352096d3c11111cdd369ba86fb6b539c3','114.119.133.158',1773703906,'__ci_last_regenerate|i:1773703906;is_mobile|b:1;'),
('1efd375de8f6f452883f12898ce4438cad3094ee','54.36.148.220',1719468953,'__ci_last_regenerate|i:1719468952;red_url|s:27:\"https://weblinkltd.xyz/crm/\";'),
('1fef6b9877f3e3dfad90d2b21befc63cb9c072e7','114.119.146.41',1766529706,'__ci_last_regenerate|i:1766529701;is_mobile|b:1;'),
('2182e9df2c4ed4dd5a3269da4b250fc745343b6b','114.119.131.180',1704614358,'__ci_last_regenerate|i:1704614357;is_mobile|b:1;'),
('21a342613c0fc69aa9fa2d432b97fc3522842067','114.119.143.151',1737227755,'__ci_last_regenerate|i:1737227755;is_mobile|b:1;'),
('224e8cc6c6ae6e078bbba1215692f28c53abbc6e','54.36.148.120',1736770175,'__ci_last_regenerate|i:1736770175;red_url|s:27:\"https://weblinkltd.xyz/crm/\";'),
('23228700a88819d9dc168de7a9071c055153d495','54.36.148.49',1707676711,'__ci_last_regenerate|i:1707676708;red_url|s:27:\"https://weblinkltd.xyz/crm/\";'),
('2406dca414f432e3d52df92d41597da342436a83','114.119.157.221',1770564553,'__ci_last_regenerate|i:1770564551;is_mobile|b:1;'),
('2569d9ad0f9556e1b1717fc5af33ec25d6035536','114.119.152.231',1728974500,'__ci_last_regenerate|i:1728974496;is_mobile|b:1;red_url|s:27:\"https://weblinkltd.xyz/crm/\";'),
('25a1a3eadd0479496059496a49556a00d186bc83','114.119.133.158',1771405859,'__ci_last_regenerate|i:1771405859;is_mobile|b:1;'),
('26d16ec1c010b26c49b3a7aa3b3b6764f3df5c01','114.119.145.129',1729643494,'__ci_last_regenerate|i:1729643492;is_mobile|b:1;red_url|s:27:\"https://weblinkltd.xyz/crm/\";'),
('27144e3eb871cc1f8596c186b789d2b4c7ff9e14','114.119.137.211',1696524241,'__ci_last_regenerate|i:1696524230;is_mobile|b:1;red_url|s:27:\"https://weblinkltd.xyz/crm/\";'),
('27ee46c90603620f9c865c7bfef852d9ff32e1d9','114.119.134.107',1777310841,'__ci_last_regenerate|i:1777310840;is_mobile|b:1;'),
('280b21fc726d6a0d2a3e64b41df6b4ebf6d53f88','114.119.141.34',1724769244,'__ci_last_regenerate|i:1724769243;is_mobile|b:1;'),
('285f79394fc3a16750b3bd7705717e159f3e1a80','114.119.136.24',1739364432,'__ci_last_regenerate|i:1739364432;is_mobile|b:1;'),
('28827dbdfbba55873a2899cea9e0621eaf3bfb7d','114.119.140.85',1712425983,'__ci_last_regenerate|i:1712425981;is_mobile|b:1;'),
('29228306c5ba23431ff69126c7f29d4fb0545517','114.119.148.14',1719195798,'__ci_last_regenerate|i:1719195797;is_mobile|b:1;'),
('2ac610d3a374b772e6a8235889060b6c70ddd845','114.119.152.108',1766919241,'__ci_last_regenerate|i:1766919241;is_mobile|b:1;'),
('2b3b794cde2bf6f58025c70f4907f2fdff4bea27','114.119.130.221',1758170071,'__ci_last_regenerate|i:1758170070;is_mobile|b:1;'),
('2d2fdf953626bba947168028c38f0b816a6795b5','114.119.152.231',1728451458,'__ci_last_regenerate|i:1728451457;is_mobile|b:1;red_url|s:27:\"https://weblinkltd.xyz/crm/\";'),
('331e620b67dd39cfd520acfb795193945c2dc600','54.36.148.236',1733831203,'__ci_last_regenerate|i:1733831202;red_url|s:27:\"https://weblinkltd.xyz/crm/\";'),
('333740ddae657f1896c0d161db6f2effb69159f4','114.119.132.227',1770374091,'__ci_last_regenerate|i:1770374091;is_mobile|b:1;'),
('33c57d29fb175ab94e581fecb0d162f1c733ed73','114.119.134.107',1770623046,'__ci_last_regenerate|i:1770623044;is_mobile|b:1;'),
('37acf34b674191e5ff75c2aa8f2d53f4b5618319','114.119.158.133',1734223807,'__ci_last_regenerate|i:1734223806;is_mobile|b:1;'),
('3867f0132c1457c157dc7de0a6fde839be155d45','114.119.148.14',1722135284,'__ci_last_regenerate|i:1722135283;is_mobile|b:1;'),
('39c085ea47c93da79670c0d733cb2c488c60ef96','114.119.139.42',1702581672,'__ci_last_regenerate|i:1702581667;is_mobile|b:1;red_url|s:27:\"https://weblinkltd.xyz/crm/\";'),
('39e2c9e9a6659e5bd5158f6cc1580e36bf23e57f','114.119.152.108',1769883642,'__ci_last_regenerate|i:1769883642;is_mobile|b:1;'),
('3a30e4a533b3c6a33662654cc1b54aec5048593e','114.119.134.107',1776593594,'__ci_last_regenerate|i:1776593592;is_mobile|b:1;'),
('3acdaef113f180bc4950f13849696b484a6e152a','114.119.159.246',1753058714,'__ci_last_regenerate|i:1753058712;is_mobile|b:1;'),
('3b6456009cd04e3c8741037f91087f9e420a6f9f','114.119.146.220',1709987536,'__ci_last_regenerate|i:1709987535;is_mobile|b:1;'),
('3bc2ebc2356c2ff97a72902751f3901de8c652d0','114.119.148.37',1701267978,'__ci_last_regenerate|i:1701267965;is_mobile|b:1;red_url|s:27:\"https://weblinkltd.xyz/crm/\";'),
('3be5185ed9e3c285a33c6e7ad7d3efa9467459bd','114.119.143.151',1752170785,'__ci_last_regenerate|i:1752170783;is_mobile|b:1;'),
('3c136d488242edfef5da92c88e0de4eea14adb0b','114.119.133.158',1764152213,'__ci_last_regenerate|i:1764152212;is_mobile|b:1;'),
('3c14b48d8424d0950661104e6266ec098ba67994','114.119.145.129',1728742430,'__ci_last_regenerate|i:1728742428;is_mobile|b:1;'),
('3f30f0675367a357e4e149e9b16a86457e8abd0c','114.119.134.107',1772272419,'__ci_last_regenerate|i:1772272419;is_mobile|b:1;'),
('3fca40d60f9188a95f15c3682c4533e72988f7e9','114.119.146.220',1719795996,'__ci_last_regenerate|i:1719795996;is_mobile|b:1;'),
('3fd2eecd564b6be77ebce603f9d42f44b6612d03','114.119.148.14',1718528922,'__ci_last_regenerate|i:1718528921;is_mobile|b:1;'),
('41246f5d949bbe8860cf910cf09ee6cbee9e402b','54.36.148.11',1720463324,'__ci_last_regenerate|i:1720463324;red_url|s:27:\"https://weblinkltd.xyz/crm/\";'),
('419f16a33d7395b0570bd366b7bd484b40d28195','114.119.153.138',1741470933,'__ci_last_regenerate|i:1741470933;is_mobile|b:1;'),
('42ea064c358c8bc0d1321e2555f1c48b704112a6','114.119.153.188',1699255393,'__ci_last_regenerate|i:1699255392;is_mobile|b:1;red_url|s:27:\"https://weblinkltd.xyz/crm/\";'),
('452b808693f9ba5632e8b49ed36396c7f9b639ec','114.119.136.24',1726552675,'__ci_last_regenerate|i:1726552674;is_mobile|b:1;'),
('464d3379d9f564f31855917725bbe6fefcbf0844','114.119.138.230',1726870481,'__ci_last_regenerate|i:1726870479;is_mobile|b:1;red_url|s:27:\"https://weblinkltd.xyz/crm/\";'),
('484ab30d63a7d304026c724311f662f1d5628fd1','114.119.138.230',1749821024,'__ci_last_regenerate|i:1749821019;is_mobile|b:1;'),
('49b177c554fda4e3da131586c5123c0a158d283a','114.119.148.14',1723657641,'__ci_last_regenerate|i:1723657639;is_mobile|b:1;red_url|s:27:\"https://weblinkltd.xyz/crm/\";'),
('4a492d11a4e383ecaeda821e69863bc5c84c1186','114.119.158.133',1740797585,'__ci_last_regenerate|i:1740797585;is_mobile|b:1;'),
('4c60aa228a891543a0cdd3f89eb630966bf52b26','114.119.133.158',1769634012,'__ci_last_regenerate|i:1769634012;is_mobile|b:1;'),
('4cc0f29de0a4327ee8b88825abd67a91cd694baa','114.119.133.220',1719632963,'__ci_last_regenerate|i:1719632961;is_mobile|b:1;red_url|s:27:\"https://weblinkltd.xyz/crm/\";'),
('4d1b66f0cf9b8e268c30a151168e739c87be2c67','114.119.140.85',1723190001,'__ci_last_regenerate|i:1723190000;is_mobile|b:1;'),
('4d98b5b5d78c8bb757688740c9d6a4fdd7fc2991','114.119.158.94',1705184105,'__ci_last_regenerate|i:1705184104;is_mobile|b:1;'),
('4e8c477d5c19912f2fe3d26f7638cedf67159bf8','114.119.146.41',1771697178,'__ci_last_regenerate|i:1771697178;is_mobile|b:1;'),
('4f0da6e28501045714239c24058432acf12e2564','54.36.149.38',1702936859,'__ci_last_regenerate|i:1702936858;red_url|s:27:\"https://weblinkltd.xyz/crm/\";'),
('4f20ea14451a12bc692652208aa0a8e151de7b37','114.119.152.5',1700788760,'__ci_last_regenerate|i:1700788757;is_mobile|b:1;red_url|s:27:\"https://weblinkltd.xyz/crm/\";'),
('4f4f00e974871dfe732c6db941d37799a9742b51','114.119.134.123',1700321346,'__ci_last_regenerate|i:1700321344;is_mobile|b:1;red_url|s:27:\"https://weblinkltd.xyz/crm/\";'),
('4f715f348e3e5455206b90decb17347fa21a3e2e','114.119.159.246',1727836124,'__ci_last_regenerate|i:1727836123;is_mobile|b:1;'),
('4ffdd7408ba834b42d693695eb105767b6e41a86','114.119.133.158',1756859970,'__ci_last_regenerate|i:1756859969;is_mobile|b:1;'),
('5028e8a564ce994bddef70ba87a6837f4b1103aa','114.119.152.108',1758773897,'__ci_last_regenerate|i:1758773895;is_mobile|b:1;'),
('515917902d3bd6340422ac4b3a51f4c60ce6228f','114.119.146.220',1724883807,'__ci_last_regenerate|i:1724883806;is_mobile|b:1;'),
('5215e39c2f3f9ccd3d873cdf6dea2cbec9668ce4','114.119.130.91',1722657383,'__ci_last_regenerate|i:1722657382;is_mobile|b:1;'),
('529fb4f6b039ca4d38b0c9c12e3736f234c7623f','114.119.132.227',1759959613,'__ci_last_regenerate|i:1759959609;is_mobile|b:1;'),
('52a657a60edf31884dbbf89185487672cffcbac6','114.119.134.48',1720813932,'__ci_last_regenerate|i:1720813931;is_mobile|b:1;red_url|s:27:\"https://weblinkltd.xyz/crm/\";'),
('5333c6ec0a5cbd7c0650c6e089faa3f9939898f9','114.119.152.119',1699789234,'__ci_last_regenerate|i:1699789226;is_mobile|b:1;red_url|s:27:\"https://weblinkltd.xyz/crm/\";'),
('5471c0e1968a7842d049c5a2aaa4810ba57b7484','114.119.145.129',1729122801,'__ci_last_regenerate|i:1729122801;is_mobile|b:1;'),
('559958b9597664f76e0002d49a7509152f6734cb','114.119.132.227',1762431158,'__ci_last_regenerate|i:1762431158;is_mobile|b:1;'),
('55b3ef265f56960cf73e0655f116a30ff798caf4','114.119.133.158',1766256617,'__ci_last_regenerate|i:1766256617;is_mobile|b:1;'),
('55d5f3b180ff4b896912d90937c4509d1a9cf5f8','114.119.146.41',1763023592,'__ci_last_regenerate|i:1763023592;is_mobile|b:1;'),
('566681851600a1c198bb14260aa525a4175bd502','54.36.148.163',1745416446,'__ci_last_regenerate|i:1745416445;red_url|s:27:\"https://weblinkltd.xyz/crm/\";'),
('56b4267dab9f66d16ec108c7f7f8c650eeeecd75','114.119.140.103',1694755114,'__ci_last_regenerate|i:1694755110;is_mobile|b:1;red_url|s:27:\"https://weblinkltd.xyz/crm/\";'),
('57d38e104024945f0c2504c83b8f195cd76a9826','114.119.136.24',1726338419,'__ci_last_regenerate|i:1726338411;is_mobile|b:1;red_url|s:27:\"https://weblinkltd.xyz/crm/\";'),
('57ebf8f0be465436e8637434ecae8a55d940a4de','114.119.158.133',1731831987,'__ci_last_regenerate|i:1731831987;is_mobile|b:1;'),
('5802ad868037f1de1ea0d3a785585aed96b3d090','114.119.150.22',1716921634,'__ci_last_regenerate|i:1716921633;is_mobile|b:1;'),
('587b667efe5cb85243f111113f8e9cab7e3cd2e7','103.197.49.252',1713690514,'__ci_last_regenerate|i:1713690508;'),
('58e56bbd5a63e88673b91890e132f0d8ed7ed312','114.119.150.22',1724733569,'__ci_last_regenerate|i:1724733567;is_mobile|b:1;red_url|s:27:\"https://weblinkltd.xyz/crm/\";'),
('5955a29d8784d74ba9a2af61e71ed3ee129c934b','114.119.146.220',1716096382,'__ci_last_regenerate|i:1716096380;is_mobile|b:1;'),
('59815a4097a36b61bb49afd0f224951607e4b902','114.119.134.107',1773688912,'__ci_last_regenerate|i:1773688912;is_mobile|b:1;'),
('59d97b9b58e4419183e90fef15f17dfc5656abac','114.119.133.158',1758277130,'__ci_last_regenerate|i:1758277130;is_mobile|b:1;'),
('59ka5v5ekultnfs85b6pffuq9kpv8o4f','192.168.10.1',1652093241,'__ci_last_regenerate|i:1652093231;staff_user_id|s:1:\"1\";staff_logged_in|b:1;setup-menu-open|s:0:\"\";red_url|s:63:\"http://perfexcrm.test/clients/project/2?group=project_proposals\";'),
('5d65a14aeb3db57a54443fd0b8ed6edb842b0d12','114.119.130.91',1714025137,'__ci_last_regenerate|i:1714025135;is_mobile|b:1;'),
('5d6d3c104dd98bb486a024222d836616457029ec','114.119.146.220',1716639849,'__ci_last_regenerate|i:1716639848;is_mobile|b:1;'),
('5dfa9f1a82675c3f490c2769aed73d08d7923d16','114.119.133.158',1759348155,'__ci_last_regenerate|i:1759348153;is_mobile|b:1;'),
('5e13250a03167f236ed7174181c25ef7f28d417d','114.119.145.129',1734635303,'__ci_last_regenerate|i:1734635297;is_mobile|b:1;'),
('5e61b187ad025d1c24f5e3ea5fc7b68cfe1a7c50','114.119.152.108',1764842439,'__ci_last_regenerate|i:1764842437;is_mobile|b:1;'),
('5eae1f47f057cfc54e1418e96b1f8439f0497044','114.119.130.221',1770238670,'__ci_last_regenerate|i:1770238670;is_mobile|b:1;'),
('5fbdf08d85dccba31a08ede2005ac8f6d7eac665','114.119.155.142',1697555853,'__ci_last_regenerate|i:1697555848;is_mobile|b:1;red_url|s:27:\"https://weblinkltd.xyz/crm/\";'),
('60c1ac8e6ebbc0680edd93d68229a6351ed1cfa0','114.119.152.108',1765664836,'__ci_last_regenerate|i:1765664836;is_mobile|b:1;'),
('6134f96a3c39bce2d0fe638e2b58f3d0aaef73b0','114.119.155.239',1701379754,'__ci_last_regenerate|i:1701379751;is_mobile|b:1;'),
('61c918cec6efb70db36d571a238c9afa6d32e714','103.254.167.76',1693736493,'__ci_last_regenerate|i:1693736493;is_mobile|b:1;'),
('620ab30ad7d2d79b987499befe6e40d5828f5fbd','103.129.202.10',1713416321,'__ci_last_regenerate|i:1713416321;red_url|s:31:\"https://weblinkltd.xyz/democrm/\";message-danger|s:28:\"Invalid username or password\";__ci_vars|a:1:{s:14:\"message-danger\";s:3:\"old\";}'),
('624e5914a20c53fe65a71d150401cbd57e856ceb','114.119.152.108',1777267737,'__ci_last_regenerate|i:1777267735;is_mobile|b:1;'),
('62b7a1f00aba5aa448fa22cfc48afb6a86e75556','54.36.149.75',1701747483,'__ci_last_regenerate|i:1701747483;red_url|s:27:\"https://weblinkltd.xyz/crm/\";'),
('65927e04b97a59c28576d1317c569f5a2bbc0fb7','103.197.49.252',1700560149,'__ci_last_regenerate|i:1700560146;red_url|s:36:\"https://weblinkltd.xyz/democrm/admin\";'),
('661ba8002700ed69a9c51daf59d3f2b172c90051','114.119.159.246',1743130169,'__ci_last_regenerate|i:1743130169;is_mobile|b:1;'),
('6636dcea62a563716633917298ac44ec0f9e954c','114.119.140.85',1724287223,'__ci_last_regenerate|i:1724287222;is_mobile|b:1;red_url|s:27:\"https://weblinkltd.xyz/crm/\";'),
('6727dddf0845eedf94c3f28c5fe71ae54ac690dd','114.119.140.85',1715878496,'__ci_last_regenerate|i:1715878495;is_mobile|b:1;'),
('69e0e9f15108ab500d5bc43956000b229eab72b4','114.119.158.142',1698269997,'__ci_last_regenerate|i:1698269995;is_mobile|b:1;'),
('6a683e6d0fd5111ab90364055458d0a6c3d10492','114.119.138.230',1751420719,'__ci_last_regenerate|i:1751420718;is_mobile|b:1;'),
('6ad7180283ee9cb089271f0c4491457d80c3cf01','114.119.132.227',1760767379,'__ci_last_regenerate|i:1760767378;is_mobile|b:1;'),
('6ae1946f17f9022aebc931804f6142ca34421410','114.119.159.246',1731823982,'__ci_last_regenerate|i:1731823981;is_mobile|b:1;'),
('6ae2c6a03824fa9fd25103a9529c3d41b2fb4b72','114.119.157.221',1770085957,'__ci_last_regenerate|i:1770085957;is_mobile|b:1;'),
('6b8d5f806d38e2896954858ba031e7bb7e842d7f','114.119.130.221',1775174123,'__ci_last_regenerate|i:1775174122;is_mobile|b:1;'),
('6bb42926ac05b3dc5dc467dcf680c00b4a80675b','114.119.136.24',1736723256,'__ci_last_regenerate|i:1736723256;is_mobile|b:1;'),
('6c838007a0432aa8f6a4a4483b1380a3a981294f','103.197.49.252',1700561560,'__ci_last_regenerate|i:1700561493;staff_user_id|s:1:\"1\";staff_logged_in|b:1;setup-menu-open|s:0:\"\";elFinderCaches|a:6:{s:8:\"_optsMD5\";s:32:\"0c02ebc34290da248e0a85316a2935e6\";s:3:\"l1_\";a:2:{s:8:\"rootstat\";a:0:{}s:7:\"subdirs\";a:1:{s:42:\"/home/weblinkltd/public_html/democrm/media\";b:0;}}s:9:\"archivers\";a:2:{s:6:\"create\";a:5:{s:17:\"application/x-tar\";a:3:{s:3:\"cmd\";s:3:\"tar\";s:4:\"argc\";s:4:\"-chf\";s:3:\"ext\";s:3:\"tar\";}s:18:\"application/x-gzip\";a:3:{s:3:\"cmd\";s:3:\"tar\";s:4:\"argc\";s:5:\"-czhf\";s:3:\"ext\";s:3:\"tgz\";}s:19:\"application/x-bzip2\";a:3:{s:3:\"cmd\";s:3:\"tar\";s:4:\"argc\";s:5:\"-cjhf\";s:3:\"ext\";s:3:\"tbz\";}s:16:\"application/x-xz\";a:3:{s:3:\"cmd\";s:3:\"tar\";s:4:\"argc\";s:5:\"-cJhf\";s:3:\"ext\";s:2:\"xz\";}s:15:\"application/zip\";a:3:{s:3:\"cmd\";s:3:\"zip\";s:4:\"argc\";s:6:\"-r9 -q\";s:3:\"ext\";s:3:\"zip\";}}s:7:\"extract\";a:5:{s:17:\"application/x-tar\";a:5:{s:3:\"cmd\";s:3:\"tar\";s:4:\"argc\";s:3:\"-xf\";s:3:\"ext\";s:3:\"tar\";s:6:\"toSpec\";s:3:\"-C \";s:7:\"getsize\";a:4:{s:4:\"argc\";s:4:\"-xvf\";s:6:\"toSpec\";s:17:\"--to-stdout|wc -c\";s:5:\"regex\";s:48:\"/^.+(?:\\r\\n|\\n|\\r)[^\\r\\n0-9]*([0-9]+)[^\\r\\n]*$/s\";s:7:\"replace\";s:2:\"$1\";}}s:18:\"application/x-gzip\";a:5:{s:3:\"cmd\";s:3:\"tar\";s:4:\"argc\";s:4:\"-xzf\";s:3:\"ext\";s:3:\"tgz\";s:6:\"toSpec\";s:3:\"-C \";s:7:\"getsize\";a:4:{s:4:\"argc\";s:4:\"-xvf\";s:6:\"toSpec\";s:17:\"--to-stdout|wc -c\";s:5:\"regex\";s:48:\"/^.+(?:\\r\\n|\\n|\\r)[^\\r\\n0-9]*([0-9]+)[^\\r\\n]*$/s\";s:7:\"replace\";s:2:\"$1\";}}s:19:\"application/x-bzip2\";a:5:{s:3:\"cmd\";s:3:\"tar\";s:4:\"argc\";s:4:\"-xjf\";s:3:\"ext\";s:3:\"tbz\";s:6:\"toSpec\";s:3:\"-C \";s:7:\"getsize\";a:4:{s:4:\"argc\";s:4:\"-xvf\";s:6:\"toSpec\";s:17:\"--to-stdout|wc -c\";s:5:\"regex\";s:48:\"/^.+(?:\\r\\n|\\n|\\r)[^\\r\\n0-9]*([0-9]+)[^\\r\\n]*$/s\";s:7:\"replace\";s:2:\"$1\";}}s:16:\"application/x-xz\";a:5:{s:3:\"cmd\";s:3:\"tar\";s:4:\"argc\";s:4:\"-xJf\";s:3:\"ext\";s:2:\"xz\";s:6:\"toSpec\";s:3:\"-C \";s:7:\"getsize\";a:4:{s:4:\"argc\";s:4:\"-xvf\";s:6:\"toSpec\";s:17:\"--to-stdout|wc -c\";s:5:\"regex\";s:48:\"/^.+(?:\\r\\n|\\n|\\r)[^\\r\\n0-9]*([0-9]+)[^\\r\\n]*$/s\";s:7:\"replace\";s:2:\"$1\";}}s:15:\"application/zip\";a:5:{s:3:\"cmd\";s:5:\"unzip\";s:4:\"argc\";s:2:\"-q\";s:3:\"ext\";s:3:\"zip\";s:6:\"toSpec\";s:3:\"-d \";s:7:\"getsize\";a:3:{s:4:\"argc\";s:5:\"-Z -t\";s:5:\"regex\";s:21:\"/^.+?,\\s?([0-9]+).+$/\";s:7:\"replace\";s:2:\"$1\";}}}}s:8:\"videoLib\";s:0:\"\";s:3:\"l2_\";a:2:{s:8:\"rootstat\";a:0:{}s:7:\"subdirs\";a:1:{s:49:\"/home/weblinkltd/public_html/democrm/media/public\";b:0;}}s:14:\":LAST_ACTIVITY\";i:1700561503;}elFinderNetVolumes|a:0:{}'),
('6df3d066f197041e911446cad168bf36623b1d4a','114.119.157.221',1771075074,'__ci_last_regenerate|i:1771075073;is_mobile|b:1;'),
('6e8b1a8cc48eee59163c2fdc13f2411500ff32bd','114.119.152.231',1731000495,'__ci_last_regenerate|i:1731000493;is_mobile|b:1;'),
('6e8f3b488127b155ee503c3fb142914ebcfb67ce','114.119.130.221',1773043502,'__ci_last_regenerate|i:1773043502;is_mobile|b:1;'),
('6ea3fa57b9942b036f9bbd69b56075b5978d297d','114.119.152.108',1757409855,'__ci_last_regenerate|i:1757409854;is_mobile|b:1;'),
('6ed4fea466ad96668520737d381d2cba2e4a8039','114.119.130.221',1769878998,'__ci_last_regenerate|i:1769878983;is_mobile|b:1;'),
('70603e9cf2dcb5e77c8fe516468b0f4e770a24cf','114.119.157.221',1768238486,'__ci_last_regenerate|i:1768238485;is_mobile|b:1;'),
('70cd4690dc49bb38cf7d363a7bd2e98234ecb1c3','114.119.143.151',1730591561,'__ci_last_regenerate|i:1730591560;is_mobile|b:1;'),
('71fa48d1b17556701738014217262f69b6b24b04','114.119.141.34',1720958602,'__ci_last_regenerate|i:1720958601;is_mobile|b:1;'),
('726b6d4d64fd147c91070616884b43e763e3f745','114.119.153.138',1743096647,'__ci_last_regenerate|i:1743096646;is_mobile|b:1;'),
('733bbca1e372cfa9048349431aafe0f3272b4107','54.36.148.200',1746595896,'__ci_last_regenerate|i:1746595896;red_url|s:27:\"https://weblinkltd.xyz/crm/\";'),
('73895cfa32e4f96ebe7c4766ba9a6dfa2f24580a','114.119.132.227',1768096289,'__ci_last_regenerate|i:1768096287;is_mobile|b:1;'),
('73adb3e315164b462f5746c60667f6bbce3dec07','114.119.130.91',1724422255,'__ci_last_regenerate|i:1724422254;is_mobile|b:1;'),
('74e7ade1a0bae203465edf7aa4a694122e24fe53','114.119.148.14',1720687499,'__ci_last_regenerate|i:1720687498;is_mobile|b:1;'),
('767b04de117fbf87d6125bf03c59731d9c79200d','114.119.130.221',1768737721,'__ci_last_regenerate|i:1768737720;is_mobile|b:1;'),
('775d82ddf8dd383b964abab97e44e4c879571db9','114.119.132.227',1754814081,'__ci_last_regenerate|i:1754814080;is_mobile|b:1;'),
('780e54a712551087dd78f28558b90c76712d6b3d','114.119.133.220',1707797293,'__ci_last_regenerate|i:1707797291;is_mobile|b:1;'),
('790f93b469f66766a4b09ce563a2b590314a8a84','114.119.145.129',1746819841,'__ci_last_regenerate|i:1746819841;is_mobile|b:1;'),
('79288a61f3e32a62b9fafec83aef39998f34fc63','114.119.141.34',1707367058,'__ci_last_regenerate|i:1707367057;is_mobile|b:1;'),
('79c85cf0f67a931188e48d9d3579a36c3e592c0f','114.119.159.246',1728345092,'__ci_last_regenerate|i:1728345092;is_mobile|b:1;'),
('79e69638e199de8be7a46a75cb16a3fbc9ffca73','114.119.150.22',1724210955,'__ci_last_regenerate|i:1724210953;is_mobile|b:1;'),
('7b0d92656432c25ee4ff64780da0e79fff38dddc','114.119.133.158',1771551860,'__ci_last_regenerate|i:1771551860;is_mobile|b:1;'),
('7bc23186fc7f70e59b3506bbf7c153b8ca27e6d6','114.119.146.41',1757292112,'__ci_last_regenerate|i:1757292111;is_mobile|b:1;'),
('7da4516d27a754b787a9df64903a8d4589daa4be','114.119.146.41',1762990539,'__ci_last_regenerate|i:1762990538;is_mobile|b:1;'),
('7e36e8d0b065115cf2892ad9d5813029c0b6f6ec','114.119.145.129',1751542279,'__ci_last_regenerate|i:1751542277;is_mobile|b:1;'),
('7e3ebca5a62c8f1d44baf9740aa8b53bd6dc846b','114.119.133.220',1721056102,'__ci_last_regenerate|i:1721056101;is_mobile|b:1;'),
('7f800cdaca1057a998c3b9cd85dd2294c9ebc1e3','114.119.132.227',1767444775,'__ci_last_regenerate|i:1767444774;is_mobile|b:1;'),
('80651f1ac2ee8c75218c67029cef25f054675fbe','103.129.202.10',1713678311,'__ci_last_regenerate|i:1713678311;'),
('808a8c1683a68c71f5a0541226b63e1b492d8405','114.119.159.246',1752654549,'__ci_last_regenerate|i:1752654548;is_mobile|b:1;'),
('80e3e11c655e53f77fcc735635ef983bfc33b8b6','114.119.130.91',1726023939,'__ci_last_regenerate|i:1726023938;is_mobile|b:1;'),
('81430ce332e77ae71904ea580988852e1a7e7326','103.197.49.252',1706415611,'__ci_last_regenerate|i:1706415610;'),
('8173ed5d80bdc2279a7c745610e8f0bdccf213c6','114.119.146.41',1764372998,'__ci_last_regenerate|i:1764372996;is_mobile|b:1;'),
('832690c22cdd9abad4573bb12d05eb0ecc80ffac','114.119.136.24',1744730363,'__ci_last_regenerate|i:1744730363;is_mobile|b:1;'),
('83f8e7cacbd8e1aac8a53e0a149d62f307437b3c','114.119.138.77',1772268184,'__ci_last_regenerate|i:1772268183;is_mobile|b:1;'),
('842193adbcbfc4bc8747f91530797d1f038a24ce','114.119.129.97',1694262122,'__ci_last_regenerate|i:1694262118;is_mobile|b:1;red_url|s:27:\"https://weblinkltd.xyz/crm/\";'),
('846b163694c5e1c0f2e4709da3326d4323a303f3','114.119.152.108',1775969215,'__ci_last_regenerate|i:1775969215;is_mobile|b:1;'),
('84f298cb8e76db79369b010ea40850ab0bb32676','114.119.146.220',1712754797,'__ci_last_regenerate|i:1712754795;is_mobile|b:1;'),
('85ac8f922982907c19ff59a982eaa8290364053d','114.119.134.48',1712976776,'__ci_last_regenerate|i:1712976774;is_mobile|b:1;'),
('871d917cdc19616a47aa74f22f26b71c5b4f9d50','51.222.253.4',1737738059,'__ci_last_regenerate|i:1737738059;red_url|s:27:\"https://weblinkltd.xyz/crm/\";'),
('8747f2af62aa9ef6d84dac56266bef4b6ff7ee49','114.119.148.14',1711160961,'__ci_last_regenerate|i:1711160959;is_mobile|b:1;'),
('87ce1627eb4523c36df9b03516644c0c474a0a43','114.119.132.227',1759960835,'__ci_last_regenerate|i:1759960834;is_mobile|b:1;'),
('880fbf134d382fb0bb0c288410c58438ea7ab244','114.119.146.41',1762940198,'__ci_last_regenerate|i:1762940197;is_mobile|b:1;'),
('881aa03be80dfe4afe355f9286ee7e693f06e45e','114.119.134.107',1773580476,'__ci_last_regenerate|i:1773580476;is_mobile|b:1;'),
('887c16f8cd996adb05bd874f1db66aca6f5afc24','114.119.130.221',1766768979,'__ci_last_regenerate|i:1766768979;is_mobile|b:1;'),
('892f9f50360d6dfc5108e9aab4199c98689725ab','114.119.153.138',1739795102,'__ci_last_regenerate|i:1739795102;is_mobile|b:1;'),
('8938c59678a95fa402416b14deea160ced73d9f2','114.119.153.138',1751710368,'__ci_last_regenerate|i:1751710368;is_mobile|b:1;'),
('8a01453a6561530c8600de5dd351cf0cc5a13350','114.119.157.221',1766234652,'__ci_last_regenerate|i:1766234648;is_mobile|b:1;'),
('8aa59ef4c1b25058a5a23a6fee6a113b04fd3b48','114.119.133.220',1716436676,'__ci_last_regenerate|i:1716436675;is_mobile|b:1;'),
('8b1b20d3808231937a05bb92ba4c3ba259c52391','114.119.148.14',1723385943,'__ci_last_regenerate|i:1723385942;is_mobile|b:1;'),
('8c1c2709654f10b6730a8e86b3358dd184fd9d2f','114.119.152.108',1775960420,'__ci_last_regenerate|i:1775960419;is_mobile|b:1;'),
('8cba288e2df67859068a24528c9f3dad081aa953','114.119.146.220',1717667698,'__ci_last_regenerate|i:1717667696;is_mobile|b:1;'),
('8d2696e3754990b860c5f1e8a88ec1d39920c964','103.197.49.252',1700560442,'__ci_last_regenerate|i:1700560442;'),
('8e066293def3f7ab9f16fe6f3ebb7f5044ee8c8d','114.119.152.108',1765547463,'__ci_last_regenerate|i:1765547462;is_mobile|b:1;'),
('8e47bd31d4aaef89d4b8f660a500605bb55afb68','114.119.152.108',1768560157,'__ci_last_regenerate|i:1768560157;is_mobile|b:1;'),
('8eb1edd5f57267a86d97b34a320daff4a549471e','54.36.149.2',1710834711,'__ci_last_regenerate|i:1710834710;red_url|s:27:\"https://weblinkltd.xyz/crm/\";'),
('8f8a4b5693d8ae48fbd6f4f649e4397e5877c52e','114.119.146.41',1773988591,'__ci_last_regenerate|i:1773988591;is_mobile|b:1;'),
('91a0435ad9fe147930993567c5d34ce7b3c5c746','114.119.153.138',1727182884,'__ci_last_regenerate|i:1727182882;is_mobile|b:1;'),
('9231fc2ca9721a1400a1df6b91995094dbc13688','114.119.141.34',1709403882,'__ci_last_regenerate|i:1709403880;is_mobile|b:1;'),
('9245f7cbce540f6ceb9aeffe25eaec76e8f733ee','114.119.140.85',1715422141,'__ci_last_regenerate|i:1715422140;is_mobile|b:1;'),
('92841c2ef99d5102a475c1875632d375b5ad02f5','114.119.130.91',1713246079,'__ci_last_regenerate|i:1713246077;is_mobile|b:1;'),
('936105b9a49c2e207b99600e02e0c321de5e593d','114.119.152.231',1737044970,'__ci_last_regenerate|i:1737044970;is_mobile|b:1;'),
('944b9c588cfde92d1c8fd4122c0e04d3dd38329f','114.119.136.24',1748605269,'__ci_last_regenerate|i:1748605269;is_mobile|b:1;'),
('94b813349967362d1d1232e94c9f63f13648da85','103.197.49.252',1738828116,'__ci_last_regenerate|i:1738828082;staff_user_id|s:1:\"1\";staff_logged_in|b:1;setup-menu-open|s:0:\"\";'),
('94db1474f2ff40a1f75451e15b5d8b5ec09e8908','114.119.138.230',1737668616,'__ci_last_regenerate|i:1737668615;is_mobile|b:1;'),
('950c4695a3b4d06a7f76298bf629c5f5ebb288f3','114.119.156.124',1705131060,'__ci_last_regenerate|i:1705131058;is_mobile|b:1;'),
('9548fa8b5565b311739fd48be276a9b257cff36c','114.119.146.41',1764212503,'__ci_last_regenerate|i:1764212502;is_mobile|b:1;'),
('970a7f1b8a8bf7b263f4fa2402352b7d517b163a','114.119.157.221',1777022379,'__ci_last_regenerate|i:1777022377;is_mobile|b:1;'),
('975dcb5b7a1429ce5d188a6a38b06855ea1444de','114.119.143.151',1726110919,'__ci_last_regenerate|i:1726110917;is_mobile|b:1;'),
('9785d90867a36f8b2f51297a7e0893c9e7ffb809','114.119.132.227',1767074849,'__ci_last_regenerate|i:1767074848;is_mobile|b:1;'),
('9895396633f5124771c4af4c7468209c2394ede9','114.119.140.85',1715433398,'__ci_last_regenerate|i:1715433397;is_mobile|b:1;'),
('9932b025a7338a9a7d45205f32e603d00b22d37a','114.119.153.138',1731064395,'__ci_last_regenerate|i:1731064394;is_mobile|b:1;'),
('994262d2029e787acfb529122c4bb7d41a193404','114.119.141.34',1722233465,'__ci_last_regenerate|i:1722233461;is_mobile|b:1;'),
('9aa70b1e7f73c56adc44877115da45abcb4874b2','114.119.150.90',1698028551,'__ci_last_regenerate|i:1698028547;is_mobile|b:1;red_url|s:27:\"https://weblinkltd.xyz/crm/\";'),
('9b03285a07de23844b2d3c415ae31f511537bacd','114.119.137.249',1698461205,'__ci_last_regenerate|i:1698461202;is_mobile|b:1;red_url|s:27:\"https://weblinkltd.xyz/crm/\";'),
('9c3bc5ae5c3177603e2de88d7ce0c0ccd5588c77','114.119.158.133',1748113104,'__ci_last_regenerate|i:1748113102;is_mobile|b:1;'),
('9c9f541f1a0cee17d295ae0bc221f09cee9c9803','114.119.142.20',1704583896,'__ci_last_regenerate|i:1704583888;is_mobile|b:1;red_url|s:27:\"https://weblinkltd.xyz/crm/\";'),
('9d5a2ad9dbe84f84975b67f3eb03079f9b32ca1d','114.119.130.221',1771937468,'__ci_last_regenerate|i:1771937466;is_mobile|b:1;'),
('9e118cf1956c42734d23c4f0f2a456c99b77b784','114.119.151.156',1698972354,'__ci_last_regenerate|i:1698972353;is_mobile|b:1;'),
('9e837b070198784f505298825432fd69373355b2','114.119.148.14',1725429095,'__ci_last_regenerate|i:1725429094;is_mobile|b:1;'),
('9ed558ccfb4840f2bdde1f214e0621f2af0f602c','103.254.167.76',1693722646,'__ci_last_regenerate|i:1693722645;red_url|s:36:\"https://weblinkltd.xyz/democrm/admin\";'),
('9f36504bc5e6e33dad28e3087dd1cf239dfa4bab','114.119.153.138',1740877882,'__ci_last_regenerate|i:1740877882;is_mobile|b:1;'),
('a129a697defcfb1907b9b41ba194abc4dd88f4bc','54.36.149.105',1697560033,'__ci_last_regenerate|i:1697560033;red_url|s:27:\"https://weblinkltd.xyz/crm/\";'),
('a2988522002afe75d9e91e2fe0860652b2520e0d','114.119.140.85',1706836025,'__ci_last_regenerate|i:1706836022;is_mobile|b:1;'),
('a2b1b4345d686f0fcebc94957b7f84db51c1d926','114.119.139.43',1699469119,'__ci_last_regenerate|i:1699469117;is_mobile|b:1;'),
('a38b3a499d0c32986286d9afc0a5a6341aa27c9f','114.119.143.151',1732536427,'__ci_last_regenerate|i:1732536425;is_mobile|b:1;red_url|s:27:\"https://weblinkltd.xyz/crm/\";'),
('a3df84ade48357bd11ec125a8031bbc47fffb22e','103.129.200.73',1693722535,'__ci_last_regenerate|i:1693722534;red_url|s:36:\"https://weblinkltd.xyz/democrm/admin\";'),
('a4c37df7c23b005a6d028d307288bcdf60735f7d','114.119.138.77',1774348941,'__ci_last_regenerate|i:1774348941;is_mobile|b:1;'),
('a54816ac6fa272f85670188d5b1d9021a5e455f4','114.119.132.227',1776719361,'__ci_last_regenerate|i:1776719360;is_mobile|b:1;'),
('a5c63749a0a047a420e15d7022584e02951fa3d3','103.129.200.73',1693722458,'__ci_last_regenerate|i:1693722458;staff_user_id|s:1:\"1\";staff_logged_in|b:1;setup-menu-open|s:0:\"\";'),
('a652142967f8dc8f6819583589f7cddee7d0b75e','114.119.133.220',1709082654,'__ci_last_regenerate|i:1709082652;is_mobile|b:1;'),
('a6a2196f5a24b77ca6c471692ac15ce1b19bbeb5','114.119.152.231',1735287308,'__ci_last_regenerate|i:1735287308;is_mobile|b:1;'),
('a74896ef05097b784522d873b1a981212b8b78a4','54.36.148.0',1733437170,'__ci_last_regenerate|i:1733437168;red_url|s:27:\"https://weblinkltd.xyz/crm/\";'),
('a764dee697a79701da39b9e8c63675c2827349b1','114.119.159.246',1750454974,'__ci_last_regenerate|i:1750454974;is_mobile|b:1;'),
('a7e2e8f78a35c7f3de287b0714da092e6117bd4b','114.119.145.129',1731548702,'__ci_last_regenerate|i:1731548701;is_mobile|b:1;'),
('a7ef9220361a1fe43964a7efa8c3f258743880bb','114.119.152.231',1746789910,'__ci_last_regenerate|i:1746789910;is_mobile|b:1;'),
('a843ff71452dcd57cf4bb3da1ed1d42bdce4bcab','114.119.136.24',1752256501,'__ci_last_regenerate|i:1752256499;is_mobile|b:1;'),
('a9e9cadc246bc9b86f4a42208d4ca1e001e05e5c','114.119.153.138',1739757859,'__ci_last_regenerate|i:1739757858;is_mobile|b:1;'),
('aa6e88bb472221ead360ee96200568772ba013cb','114.119.134.107',1775589880,'__ci_last_regenerate|i:1775589879;is_mobile|b:1;'),
('ab889ae5e4272d7a53b16e178dc4d8ba97a528d0','114.119.143.104',1696609734,'__ci_last_regenerate|i:1696609733;is_mobile|b:1;'),
('ad74f9382612b576209e7d3ca2d07340662b5d7b','114.119.152.231',1740296258,'__ci_last_regenerate|i:1740296258;is_mobile|b:1;'),
('ae4cf05f0df909ffca3be3b7e1706c3a201f5700','103.197.49.252',1700979884,'__ci_last_regenerate|i:1700979883;red_url|s:42:\"https://weblinkltd.xyz/democrm/admin/leads\";'),
('af8eea5301f3fbbb998b074d874e657b18cf27d4','114.119.138.77',1777399616,'__ci_last_regenerate|i:1777399614;is_mobile|b:1;'),
('b10f8a70ef5c66a309ecbfffdbcdcd9e7db825d0','114.119.135.163',1695950593,'__ci_last_regenerate|i:1695950591;is_mobile|b:1;red_url|s:27:\"https://weblinkltd.xyz/crm/\";'),
('b2cbbad5baf396bd627776dc5fc4c31f7e5b2de6','114.119.134.107',1763650689,'__ci_last_regenerate|i:1763650689;is_mobile|b:1;'),
('b40f97110ba8cde5840c4d98ea0eef8fb1159c8c','114.119.146.220',1709308479,'__ci_last_regenerate|i:1709308477;is_mobile|b:1;'),
('b46940c907b9774730f0febfa71b87dee3f01b8e','114.119.138.32',1694926251,'__ci_last_regenerate|i:1694926251;is_mobile|b:1;'),
('b49847519022b8a99c94636e3ab1ca16dfda7335','114.119.143.151',1750320275,'__ci_last_regenerate|i:1750320274;is_mobile|b:1;'),
('b4badffc252f17a30291d28feec02daa2d731bb5','114.119.132.227',1776025662,'__ci_last_regenerate|i:1776025661;is_mobile|b:1;'),
('b548bc714b4abe4674bb6f5a48c1faa10b8729ba','114.119.145.8',1702664025,'__ci_last_regenerate|i:1702664023;is_mobile|b:1;'),
('b67995b4591982ff3b371ce9e73cd2c9bd761a7c','114.119.134.48',1720448698,'__ci_last_regenerate|i:1720448697;is_mobile|b:1;'),
('b6d7f854a800dc2feab9d4d965b9395ca10afb60','114.119.159.246',1749157410,'__ci_last_regenerate|i:1749157410;is_mobile|b:1;'),
('b8b574fe9dc03a80626952abf2e3e358aeeff20b','114.119.138.230',1738362467,'__ci_last_regenerate|i:1738362466;is_mobile|b:1;'),
('b8d1e81c8c46634fca09a3aef1f2dc5e3a6be8c2','54.36.148.34',1725175814,'__ci_last_regenerate|i:1725175812;red_url|s:27:\"https://weblinkltd.xyz/crm/\";'),
('bb33570c75e61212ec505deb671449d8a00b4312','103.129.200.73',1693722534,'__ci_last_regenerate|i:1693722534;'),
('bb412802919df5aba1ac3cfc599a2a21d05fe05d','114.119.138.77',1763507938,'__ci_last_regenerate|i:1763507937;is_mobile|b:1;'),
('bb93788e0d713ddf1a7af1a345560e8150d60c98','114.119.136.24',1731960825,'__ci_last_regenerate|i:1731960824;is_mobile|b:1;red_url|s:27:\"https://weblinkltd.xyz/crm/\";'),
('bce66a9c3fd89d3ee28d3801d4e2e0e1d71e7ec2','114.119.151.146',1706054268,'__ci_last_regenerate|i:1706054265;is_mobile|b:1;'),
('bee8ca19224bf634b09d1b915e04aa530df90ca2','114.119.130.105',1697652887,'__ci_last_regenerate|i:1697652885;is_mobile|b:1;'),
('bf14d28dc84b4050f32d90eece1b6db605a05557','103.197.49.252',1700561493,'__ci_last_regenerate|i:1700561493;staff_user_id|s:1:\"1\";staff_logged_in|b:1;setup-menu-open|s:0:\"\";'),
('bfd4043687b1679c3a476573f9243032ea0f5595','114.119.130.221',1765002614,'__ci_last_regenerate|i:1765002613;is_mobile|b:1;'),
('c0a17b234a3bb090d5629a062eecd71c1cddea3a','114.119.146.41',1757752421,'__ci_last_regenerate|i:1757752420;is_mobile|b:1;'),
('c0f9e598b2bce77107c4651d4e05bc9690f1d86d','114.119.145.129',1753719998,'__ci_last_regenerate|i:1753719998;is_mobile|b:1;'),
('c1118f46d3412886851a369c64b5be32b4cbf591','114.119.137.211',1703234335,'__ci_last_regenerate|i:1703234325;is_mobile|b:1;red_url|s:27:\"https://weblinkltd.xyz/crm/\";'),
('c460bd58161d1e5d3ed403c735265477cf488504','114.119.159.246',1738148777,'__ci_last_regenerate|i:1738148776;is_mobile|b:1;'),
('c619b121ac84e385d3de625e9bc45f1a1357ee33','114.119.141.15',1705501737,'__ci_last_regenerate|i:1705501729;is_mobile|b:1;red_url|s:27:\"https://weblinkltd.xyz/crm/\";'),
('c7215b27a85e1ebde10244f1af8c6bc7cd1008a1','114.119.136.24',1731470207,'__ci_last_regenerate|i:1731470206;is_mobile|b:1;red_url|s:27:\"https://weblinkltd.xyz/crm/\";'),
('c77c093ecb940fa1b20cbc98998febd6d24ecaf1','114.119.158.133',1727335338,'__ci_last_regenerate|i:1727335337;is_mobile|b:1;red_url|s:27:\"https://weblinkltd.xyz/crm/\";'),
('ca1bf3e42b7ad63bcc5abcd99fbcdc07655581f7','114.119.133.158',1765397226,'__ci_last_regenerate|i:1765397225;is_mobile|b:1;'),
('cbcaf2a20bae5ae7ca2dfdbe94aec75bf22b3ccc','114.119.146.220',1718038939,'__ci_last_regenerate|i:1718038937;is_mobile|b:1;'),
('cc94d6e1332de43dbb78cc328d980389fcf52c00','114.119.136.24',1733543479,'__ci_last_regenerate|i:1733543479;is_mobile|b:1;'),
('cf38022307f5a611d1d842f8252434680ab38c4c','114.119.159.246',1740267449,'__ci_last_regenerate|i:1740267449;is_mobile|b:1;'),
('cff72728a5e8c9fa0bfaf7e115753deedac544fc','114.119.150.22',1714914844,'__ci_last_regenerate|i:1714914841;is_mobile|b:1;'),
('d0418ebe785cd615d713277f2d0df9d881140c88','114.119.148.14',1711981161,'__ci_last_regenerate|i:1711981159;is_mobile|b:1;'),
('d050d65966496aec27b970cd9923a9e2df72ba0a','114.119.158.216',1695438282,'__ci_last_regenerate|i:1695438277;is_mobile|b:1;red_url|s:27:\"https://weblinkltd.xyz/crm/\";'),
('d0ebab9ed8794857d60881dc9b717abcb5c10771','114.119.140.85',1720337615,'__ci_last_regenerate|i:1720337613;is_mobile|b:1;red_url|s:27:\"https://weblinkltd.xyz/crm/\";'),
('d118ea45ab30909e6d12bd007617584df3de8a8c','114.119.146.41',1773048154,'__ci_last_regenerate|i:1773048131;is_mobile|b:1;'),
('d1717be90da86951386fc8514b0da09fc4664bcc','103.197.49.252',1713690508,'__ci_last_regenerate|i:1713690508;'),
('d1b8efe4ac84cf0515b35a9d38928ca7c3bd1c85','114.119.136.24',1727232728,'__ci_last_regenerate|i:1727232728;is_mobile|b:1;'),
('d2d952b59b52d2d6c24e0edf41c2751fc75629a0','103.129.202.10',1713416355,'__ci_last_regenerate|i:1713416321;red_url|s:31:\"https://weblinkltd.xyz/democrm/\";'),
('d392abd2267f7adbef3cce5355c3930a38adf0df','54.36.148.106',1742089149,'__ci_last_regenerate|i:1742089149;red_url|s:27:\"https://weblinkltd.xyz/crm/\";'),
('d6d348e6ec4eb975fa15de1af891d453b6f75bf7','114.119.133.220',1718639475,'__ci_last_regenerate|i:1718639474;is_mobile|b:1;'),
('d70e263481cfef996247747ef051f5d64b00057d','114.119.159.246',1727849901,'__ci_last_regenerate|i:1727849900;is_mobile|b:1;red_url|s:27:\"https://weblinkltd.xyz/crm/\";'),
('d718638e35ec1f717905826d97401b6595100116','114.119.159.246',1730081759,'__ci_last_regenerate|i:1730081758;is_mobile|b:1;'),
('d74025d492b57584d8e0246ea615beef423e7913','114.119.133.220',1725913266,'__ci_last_regenerate|i:1725913266;is_mobile|b:1;'),
('d7a3306d76de496b3924f6f3e66f1d1b10ae7ae7','114.119.141.34',1709788563,'__ci_last_regenerate|i:1709788561;is_mobile|b:1;'),
('d7f3bb6e267a447923dcc3321fc22616ae5c1abd','114.119.146.41',1774722206,'__ci_last_regenerate|i:1774722206;is_mobile|b:1;'),
('d8037b9789d83f77e3bc45842a56636f62828dbe','114.119.138.77',1772504887,'__ci_last_regenerate|i:1772504886;is_mobile|b:1;'),
('d91ba8c5d1184cd887505d352baf92077a2c1ea9','114.119.148.14',1725415336,'__ci_last_regenerate|i:1725415335;is_mobile|b:1;'),
('d9f056cb8b29c5511e082b9f0a94d4f4b69c974d','114.119.138.230',1740122026,'__ci_last_regenerate|i:1740122025;is_mobile|b:1;'),
('db18ed41db49545be0f97718acd0582ae6dd94b9','114.119.141.40',1700826094,'__ci_last_regenerate|i:1700826092;is_mobile|b:1;'),
('dbee5e22a52a01b39c5592e00694f3647de5c345','114.119.140.85',1716590702,'__ci_last_regenerate|i:1716590700;is_mobile|b:1;'),
('dd7db79daa29ca47b6e2e73b31b21e7707ae4e12','114.119.146.220',1708287768,'__ci_last_regenerate|i:1708287765;is_mobile|b:1;'),
('de14b43889cc1685d730e155ac8e1d2db18a7205','114.119.140.85',1725631338,'__ci_last_regenerate|i:1725631337;is_mobile|b:1;'),
('dedd65a6d6462073ccd470ee4cf0fbf66b369cf9','114.119.157.221',1760395540,'__ci_last_regenerate|i:1760395539;is_mobile|b:1;'),
('dff63b861c4cefa2504ce9be58f0cb2768f2a77f','114.119.146.41',1767617207,'__ci_last_regenerate|i:1767617207;is_mobile|b:1;'),
('e22445ed38269f02f2ca64408729630d22c03d63','114.119.153.138',1746104415,'__ci_last_regenerate|i:1746104415;is_mobile|b:1;'),
('e278328bf3b3d6d4ee02d5be6bdc8d945e9ec869','103.129.200.73',1693722498,'__ci_last_regenerate|i:1693722470;staff_user_id|s:1:\"1\";staff_logged_in|b:1;setup-menu-open|s:0:\"\";'),
('e3b329c81d98e88b77a16631e6594829192deb16','114.119.134.127',1705227698,'__ci_last_regenerate|i:1705227698;is_mobile|b:1;'),
('e3d05b7a7f620390664c2d3b246c03d606b09ca2','114.119.133.220',1719795199,'__ci_last_regenerate|i:1719795198;is_mobile|b:1;'),
('e411c87ff6519b6d30dfa2886132e56ecdbca170','114.119.152.245',1703233292,'__ci_last_regenerate|i:1703233290;is_mobile|b:1;'),
('e496a3179c576f730b36e2aa70b17317c57ec874','54.36.149.65',1742470617,'__ci_last_regenerate|i:1742470616;red_url|s:27:\"https://weblinkltd.xyz/crm/\";'),
('e58562d02dabd3702d0c7a20ca9781cfafcff641','114.119.134.107',1758239725,'__ci_last_regenerate|i:1758239724;is_mobile|b:1;'),
('e5a2fd7028e65a139c9dadd05e7a790de2588f2a','114.119.134.48',1723813689,'__ci_last_regenerate|i:1723813688;is_mobile|b:1;'),
('e6d90746185403007455450fe5aff813cd0d6336','114.119.134.64',1704122349,'__ci_last_regenerate|i:1704122344;is_mobile|b:1;red_url|s:27:\"https://weblinkltd.xyz/crm/\";'),
('e6ec88304c83d5cd7dff41acadee627ca8752d78','114.119.135.121',1701735472,'__ci_last_regenerate|i:1701735466;is_mobile|b:1;red_url|s:27:\"https://weblinkltd.xyz/crm/\";'),
('e84ccbc5eb55b7b63b5dfa864b62971ec365d577','114.119.138.230',1748292840,'__ci_last_regenerate|i:1748292840;is_mobile|b:1;'),
('ea12499feea9b73ae1077f22fd6381b777504a37','114.119.133.220',1724648325,'__ci_last_regenerate|i:1724648323;is_mobile|b:1;'),
('eb07bb2f187de2e7447c86455b41be818e423306','103.197.49.252',1718085372,'__ci_last_regenerate|i:1718085194;staff_user_id|s:1:\"1\";staff_logged_in|b:1;setup-menu-open|s:0:\"\";'),
('eb5bed5f0ea868dde8884548f1491c095d49ab53','103.138.251.163',1719337570,'__ci_last_regenerate|i:1719337568;red_url|s:27:\"https://weblinkltd.xyz/crm/\";'),
('ec6469f778ab3e022ca6f26e3c21c4742d76d481','114.119.140.85',1725367858,'__ci_last_regenerate|i:1725367856;is_mobile|b:1;red_url|s:27:\"https://weblinkltd.xyz/crm/\";'),
('ed8692e8214a49b1ba891359a22f87f10d920676','114.119.146.220',1711670513,'__ci_last_regenerate|i:1711670511;is_mobile|b:1;'),
('ee30d01dbd5527fe5dd925c2bbc188eb4419c733','114.119.146.220',1717415223,'__ci_last_regenerate|i:1717415221;is_mobile|b:1;'),
('ee5a4984b2bac96b4f72bb4f126ad469e443875f','114.119.145.129',1750956761,'__ci_last_regenerate|i:1750956760;is_mobile|b:1;'),
('ef0390f3986df43ddc83b6b408f4d0374f8c5bc5','114.119.158.133',1727806479,'__ci_last_regenerate|i:1727806478;is_mobile|b:1;'),
('efd9294bb24672a6f0d3416fff0fc36db9f97215','114.119.158.133',1749750709,'__ci_last_regenerate|i:1749750708;is_mobile|b:1;'),
('f038361cac1cb76d029d9ebbdda4347115437762','114.119.141.34',1714163273,'__ci_last_regenerate|i:1714163272;is_mobile|b:1;'),
('f0a09fe9e1c6df5b17b02a875a5025441677d598','114.119.148.14',1723240737,'__ci_last_regenerate|i:1723240736;is_mobile|b:1;'),
('f0c10702bde86c5eabbbafdeaf06e5930c77f65c','103.138.251.163',1719337750,'__ci_last_regenerate|i:1719337638;'),
('f44b7ec8bc6c3a4644bebf41b0fe4673ffeb4d51','114.119.138.77',1776464213,'__ci_last_regenerate|i:1776464211;is_mobile|b:1;'),
('f55cb5aad973550927b8e13097e5242ab15f1d1a','114.119.159.246',1735220087,'__ci_last_regenerate|i:1735220086;is_mobile|b:1;'),
('f7939dafd8bcf2dd4fd646125b12074d6ecb3f30','114.119.150.22',1714217790,'__ci_last_regenerate|i:1714217788;is_mobile|b:1;'),
('f7f875e45b9a906fdf7798dcd5b9cde2860c45d8','114.119.145.129',1736324132,'__ci_last_regenerate|i:1736324132;is_mobile|b:1;'),
('f88c6655f638308696af70ff55a7faf804b6fd86','114.119.159.246',1750959262,'__ci_last_regenerate|i:1750959262;is_mobile|b:1;'),
('f9930b0f351d6359251189204e667a6a50a3e55d','114.119.150.22',1719963376,'__ci_last_regenerate|i:1719963374;is_mobile|b:1;'),
('fabff596c46216c90d9ec2ec0d7f6ba081e123b0','114.119.132.227',1756388503,'__ci_last_regenerate|i:1756388502;is_mobile|b:1;'),
('fae12218a36be0f7d7ee92dfe3493fd217ed3059','114.119.149.252',1696041178,'__ci_last_regenerate|i:1696041177;is_mobile|b:1;'),
('fbb709d5c4a6a3d1dab4d0b263f75bc4c0054311','54.36.148.136',1724788833,'__ci_last_regenerate|i:1724788833;red_url|s:27:\"https://weblinkltd.xyz/crm/\";'),
('fc0103f4635bd32d5a6bd1cb91de3a23f25d8b7f','114.119.138.77',1771225829,'__ci_last_regenerate|i:1771225828;is_mobile|b:1;'),
('fc626d1747eef91d7c87b84b7c85428776496e8c','114.119.136.24',1739113850,'__ci_last_regenerate|i:1739113849;is_mobile|b:1;'),
('fd1d344546578fd3ae3b8562dd50bbd8cf454dcd','114.119.134.48',1713627835,'__ci_last_regenerate|i:1713627833;is_mobile|b:1;'),
('ff1c270d53ff720215e714b3d3b2a38825fbca6a','114.119.134.182',1705045423,'__ci_last_regenerate|i:1705045415;is_mobile|b:1;red_url|s:27:\"https://weblinkltd.xyz/crm/\";'),
('ff3b1f047b1065580181b6bf73a7907d08aa7e1d','54.36.148.78',1707482465,'__ci_last_regenerate|i:1707482464;red_url|s:27:\"https://weblinkltd.xyz/crm/\";'),
('fff63eaf769258b6631b474e66fcaa8924f30d2f','114.119.159.246',1733610703,'__ci_last_regenerate|i:1733610703;is_mobile|b:1;');
/*!40000 ALTER TABLE `tblsessions` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `tblshared_customer_files`
--

DROP TABLE IF EXISTS `tblshared_customer_files`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `tblshared_customer_files` (
  `file_id` int(11) NOT NULL,
  `contact_id` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `tblshared_customer_files`
--

LOCK TABLES `tblshared_customer_files` WRITE;
/*!40000 ALTER TABLE `tblshared_customer_files` DISABLE KEYS */;
/*!40000 ALTER TABLE `tblshared_customer_files` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `tblspam_filters`
--

DROP TABLE IF EXISTS `tblspam_filters`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `tblspam_filters` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `type` varchar(40) NOT NULL,
  `rel_type` varchar(10) NOT NULL,
  `value` text NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `tblspam_filters`
--

LOCK TABLES `tblspam_filters` WRITE;
/*!40000 ALTER TABLE `tblspam_filters` DISABLE KEYS */;
/*!40000 ALTER TABLE `tblspam_filters` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `tblstaff`
--

DROP TABLE IF EXISTS `tblstaff`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `tblstaff` (
  `staffid` int(11) NOT NULL AUTO_INCREMENT,
  `email` varchar(100) NOT NULL,
  `firstname` varchar(50) NOT NULL,
  `lastname` varchar(50) NOT NULL,
  `facebook` mediumtext DEFAULT NULL,
  `linkedin` mediumtext DEFAULT NULL,
  `phonenumber` varchar(30) DEFAULT NULL,
  `skype` varchar(50) DEFAULT NULL,
  `password` varchar(250) NOT NULL,
  `datecreated` datetime NOT NULL,
  `profile_image` varchar(191) DEFAULT NULL,
  `last_ip` varchar(40) DEFAULT NULL,
  `last_login` datetime DEFAULT NULL,
  `last_activity` datetime DEFAULT NULL,
  `last_password_change` datetime DEFAULT NULL,
  `new_pass_key` varchar(32) DEFAULT NULL,
  `new_pass_key_requested` datetime DEFAULT NULL,
  `admin` int(11) NOT NULL DEFAULT 0,
  `role` int(11) DEFAULT NULL,
  `active` int(11) NOT NULL DEFAULT 1,
  `default_language` varchar(40) DEFAULT NULL,
  `direction` varchar(3) DEFAULT NULL,
  `media_path_slug` varchar(191) DEFAULT NULL,
  `is_not_staff` int(11) NOT NULL DEFAULT 0,
  `hourly_rate` decimal(15,2) NOT NULL DEFAULT 0.00,
  `two_factor_auth_enabled` tinyint(1) DEFAULT 0,
  `two_factor_auth_code` varchar(100) DEFAULT NULL,
  `two_factor_auth_code_requested` datetime DEFAULT NULL,
  `email_signature` text DEFAULT NULL,
  `google_auth_secret` text DEFAULT NULL,
  PRIMARY KEY (`staffid`),
  KEY `firstname` (`firstname`),
  KEY `lastname` (`lastname`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `tblstaff`
--

LOCK TABLES `tblstaff` WRITE;
/*!40000 ALTER TABLE `tblstaff` DISABLE KEYS */;
INSERT INTO `tblstaff` VALUES
(1,'admin@enrichcoder.com','Enrich','Coder (Admin)',NULL,NULL,NULL,NULL,'$2a$08$HrIsdGbB4x92auV7qqY1hu4YyJGHVIgYjMzGDJfRl3BgeZl0vDrBu','2023-09-03 05:37:32',NULL,'103.197.49.252','2025-02-06 13:48:24','2025-02-06 13:48:36',NULL,NULL,NULL,1,NULL,1,'',NULL,NULL,0,0.00,0,NULL,NULL,NULL,NULL);
/*!40000 ALTER TABLE `tblstaff` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `tblstaff_departments`
--

DROP TABLE IF EXISTS `tblstaff_departments`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `tblstaff_departments` (
  `staffdepartmentid` int(11) NOT NULL AUTO_INCREMENT,
  `staffid` int(11) NOT NULL,
  `departmentid` int(11) NOT NULL,
  PRIMARY KEY (`staffdepartmentid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `tblstaff_departments`
--

LOCK TABLES `tblstaff_departments` WRITE;
/*!40000 ALTER TABLE `tblstaff_departments` DISABLE KEYS */;
/*!40000 ALTER TABLE `tblstaff_departments` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `tblstaff_permissions`
--

DROP TABLE IF EXISTS `tblstaff_permissions`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `tblstaff_permissions` (
  `staff_id` int(11) NOT NULL,
  `feature` varchar(40) NOT NULL,
  `capability` varchar(100) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `tblstaff_permissions`
--

LOCK TABLES `tblstaff_permissions` WRITE;
/*!40000 ALTER TABLE `tblstaff_permissions` DISABLE KEYS */;
/*!40000 ALTER TABLE `tblstaff_permissions` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `tblsubscriptions`
--

DROP TABLE IF EXISTS `tblsubscriptions`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `tblsubscriptions` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `name` varchar(191) NOT NULL,
  `description` text DEFAULT NULL,
  `description_in_item` tinyint(1) NOT NULL DEFAULT 0,
  `clientid` int(11) NOT NULL,
  `date` date DEFAULT NULL,
  `terms` text DEFAULT NULL,
  `currency` int(11) NOT NULL,
  `tax_id` int(11) NOT NULL DEFAULT 0,
  `stripe_tax_id` varchar(50) DEFAULT NULL,
  `tax_id_2` int(11) NOT NULL DEFAULT 0,
  `stripe_tax_id_2` varchar(50) DEFAULT NULL,
  `stripe_plan_id` text DEFAULT NULL,
  `stripe_subscription_id` text NOT NULL,
  `next_billing_cycle` bigint(20) DEFAULT NULL,
  `ends_at` bigint(20) DEFAULT NULL,
  `status` varchar(50) DEFAULT NULL,
  `quantity` int(11) NOT NULL DEFAULT 1,
  `project_id` int(11) NOT NULL DEFAULT 0,
  `hash` varchar(32) NOT NULL,
  `created` datetime NOT NULL,
  `created_from` int(11) NOT NULL,
  `date_subscribed` datetime DEFAULT NULL,
  `in_test_environment` int(11) DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `clientid` (`clientid`),
  KEY `currency` (`currency`),
  KEY `tax_id` (`tax_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `tblsubscriptions`
--

LOCK TABLES `tblsubscriptions` WRITE;
/*!40000 ALTER TABLE `tblsubscriptions` DISABLE KEYS */;
/*!40000 ALTER TABLE `tblsubscriptions` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `tbltaggables`
--

DROP TABLE IF EXISTS `tbltaggables`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `tbltaggables` (
  `rel_id` int(11) NOT NULL,
  `rel_type` varchar(20) NOT NULL,
  `tag_id` int(11) NOT NULL,
  `tag_order` int(11) NOT NULL DEFAULT 0,
  KEY `rel_id` (`rel_id`),
  KEY `rel_type` (`rel_type`),
  KEY `tag_id` (`tag_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `tbltaggables`
--

LOCK TABLES `tbltaggables` WRITE;
/*!40000 ALTER TABLE `tbltaggables` DISABLE KEYS */;
/*!40000 ALTER TABLE `tbltaggables` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `tbltags`
--

DROP TABLE IF EXISTS `tbltags`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `tbltags` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `name` varchar(100) NOT NULL,
  PRIMARY KEY (`id`),
  KEY `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `tbltags`
--

LOCK TABLES `tbltags` WRITE;
/*!40000 ALTER TABLE `tbltags` DISABLE KEYS */;
/*!40000 ALTER TABLE `tbltags` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `tbltask_assigned`
--

DROP TABLE IF EXISTS `tbltask_assigned`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `tbltask_assigned` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `staffid` int(11) NOT NULL,
  `taskid` int(11) NOT NULL,
  `assigned_from` int(11) NOT NULL DEFAULT 0,
  `is_assigned_from_contact` tinyint(1) NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  KEY `taskid` (`taskid`),
  KEY `staffid` (`staffid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `tbltask_assigned`
--

LOCK TABLES `tbltask_assigned` WRITE;
/*!40000 ALTER TABLE `tbltask_assigned` DISABLE KEYS */;
/*!40000 ALTER TABLE `tbltask_assigned` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `tbltask_checklist_items`
--

DROP TABLE IF EXISTS `tbltask_checklist_items`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `tbltask_checklist_items` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `taskid` int(11) NOT NULL,
  `description` text NOT NULL,
  `finished` int(11) NOT NULL DEFAULT 0,
  `dateadded` datetime NOT NULL,
  `addedfrom` int(11) NOT NULL,
  `finished_from` int(11) DEFAULT 0,
  `list_order` int(11) NOT NULL DEFAULT 0,
  `assigned` int(11) DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `taskid` (`taskid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `tbltask_checklist_items`
--

LOCK TABLES `tbltask_checklist_items` WRITE;
/*!40000 ALTER TABLE `tbltask_checklist_items` DISABLE KEYS */;
/*!40000 ALTER TABLE `tbltask_checklist_items` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `tbltask_comments`
--

DROP TABLE IF EXISTS `tbltask_comments`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `tbltask_comments` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `content` text NOT NULL,
  `taskid` int(11) NOT NULL,
  `staffid` int(11) NOT NULL,
  `contact_id` int(11) NOT NULL DEFAULT 0,
  `file_id` int(11) NOT NULL DEFAULT 0,
  `dateadded` datetime NOT NULL,
  PRIMARY KEY (`id`),
  KEY `file_id` (`file_id`),
  KEY `taskid` (`taskid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `tbltask_comments`
--

LOCK TABLES `tbltask_comments` WRITE;
/*!40000 ALTER TABLE `tbltask_comments` DISABLE KEYS */;
/*!40000 ALTER TABLE `tbltask_comments` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `tbltask_followers`
--

DROP TABLE IF EXISTS `tbltask_followers`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `tbltask_followers` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `staffid` int(11) NOT NULL,
  `taskid` int(11) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `tbltask_followers`
--

LOCK TABLES `tbltask_followers` WRITE;
/*!40000 ALTER TABLE `tbltask_followers` DISABLE KEYS */;
/*!40000 ALTER TABLE `tbltask_followers` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `tbltasks`
--

DROP TABLE IF EXISTS `tbltasks`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `tbltasks` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `name` mediumtext DEFAULT NULL,
  `description` text DEFAULT NULL,
  `priority` int(11) DEFAULT NULL,
  `dateadded` datetime NOT NULL,
  `startdate` date NOT NULL,
  `duedate` date DEFAULT NULL,
  `datefinished` datetime DEFAULT NULL,
  `addedfrom` int(11) NOT NULL,
  `is_added_from_contact` tinyint(1) NOT NULL DEFAULT 0,
  `status` int(11) NOT NULL DEFAULT 0,
  `recurring_type` varchar(10) DEFAULT NULL,
  `repeat_every` int(11) DEFAULT NULL,
  `recurring` int(11) NOT NULL DEFAULT 0,
  `is_recurring_from` int(11) DEFAULT NULL,
  `cycles` int(11) NOT NULL DEFAULT 0,
  `total_cycles` int(11) NOT NULL DEFAULT 0,
  `custom_recurring` tinyint(1) NOT NULL DEFAULT 0,
  `last_recurring_date` date DEFAULT NULL,
  `rel_id` int(11) DEFAULT NULL,
  `rel_type` varchar(30) DEFAULT NULL,
  `is_public` tinyint(1) NOT NULL DEFAULT 0,
  `billable` tinyint(1) NOT NULL DEFAULT 0,
  `billed` tinyint(1) NOT NULL DEFAULT 0,
  `invoice_id` int(11) NOT NULL DEFAULT 0,
  `hourly_rate` decimal(15,2) NOT NULL DEFAULT 0.00,
  `milestone` int(11) DEFAULT 0,
  `kanban_order` int(11) DEFAULT 1,
  `milestone_order` int(11) NOT NULL DEFAULT 0,
  `visible_to_client` tinyint(1) NOT NULL DEFAULT 0,
  `deadline_notified` int(11) NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  KEY `rel_id` (`rel_id`),
  KEY `rel_type` (`rel_type`),
  KEY `milestone` (`milestone`),
  KEY `kanban_order` (`kanban_order`),
  KEY `status` (`status`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `tbltasks`
--

LOCK TABLES `tbltasks` WRITE;
/*!40000 ALTER TABLE `tbltasks` DISABLE KEYS */;
/*!40000 ALTER TABLE `tbltasks` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `tbltasks_checklist_templates`
--

DROP TABLE IF EXISTS `tbltasks_checklist_templates`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `tbltasks_checklist_templates` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `description` text DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `tbltasks_checklist_templates`
--

LOCK TABLES `tbltasks_checklist_templates` WRITE;
/*!40000 ALTER TABLE `tbltasks_checklist_templates` DISABLE KEYS */;
/*!40000 ALTER TABLE `tbltasks_checklist_templates` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `tbltaskstimers`
--

DROP TABLE IF EXISTS `tbltaskstimers`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `tbltaskstimers` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `task_id` int(11) NOT NULL,
  `start_time` varchar(64) NOT NULL,
  `end_time` varchar(64) DEFAULT NULL,
  `staff_id` int(11) NOT NULL,
  `hourly_rate` decimal(15,2) NOT NULL DEFAULT 0.00,
  `note` text DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `task_id` (`task_id`),
  KEY `staff_id` (`staff_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `tbltaskstimers`
--

LOCK TABLES `tbltaskstimers` WRITE;
/*!40000 ALTER TABLE `tbltaskstimers` DISABLE KEYS */;
/*!40000 ALTER TABLE `tbltaskstimers` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `tbltaxes`
--

DROP TABLE IF EXISTS `tbltaxes`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `tbltaxes` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `name` varchar(100) NOT NULL,
  `taxrate` decimal(15,2) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `tbltaxes`
--

LOCK TABLES `tbltaxes` WRITE;
/*!40000 ALTER TABLE `tbltaxes` DISABLE KEYS */;
/*!40000 ALTER TABLE `tbltaxes` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `tbltemplates`
--

DROP TABLE IF EXISTS `tbltemplates`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `tbltemplates` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(255) NOT NULL,
  `type` varchar(100) NOT NULL,
  `addedfrom` int(11) NOT NULL,
  `content` text DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `tbltemplates`
--

LOCK TABLES `tbltemplates` WRITE;
/*!40000 ALTER TABLE `tbltemplates` DISABLE KEYS */;
/*!40000 ALTER TABLE `tbltemplates` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `tblticket_attachments`
--

DROP TABLE IF EXISTS `tblticket_attachments`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `tblticket_attachments` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `ticketid` int(11) NOT NULL,
  `replyid` int(11) DEFAULT NULL,
  `file_name` varchar(191) NOT NULL,
  `filetype` varchar(50) DEFAULT NULL,
  `dateadded` datetime NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `tblticket_attachments`
--

LOCK TABLES `tblticket_attachments` WRITE;
/*!40000 ALTER TABLE `tblticket_attachments` DISABLE KEYS */;
/*!40000 ALTER TABLE `tblticket_attachments` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `tblticket_replies`
--

DROP TABLE IF EXISTS `tblticket_replies`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `tblticket_replies` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `ticketid` int(11) NOT NULL,
  `userid` int(11) DEFAULT NULL,
  `contactid` int(11) NOT NULL DEFAULT 0,
  `name` text DEFAULT NULL,
  `email` text DEFAULT NULL,
  `date` datetime NOT NULL,
  `message` text DEFAULT NULL,
  `attachment` int(11) DEFAULT NULL,
  `admin` int(11) DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `tblticket_replies`
--

LOCK TABLES `tblticket_replies` WRITE;
/*!40000 ALTER TABLE `tblticket_replies` DISABLE KEYS */;
/*!40000 ALTER TABLE `tblticket_replies` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `tbltickets`
--

DROP TABLE IF EXISTS `tbltickets`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `tbltickets` (
  `ticketid` int(11) NOT NULL AUTO_INCREMENT,
  `adminreplying` int(11) NOT NULL DEFAULT 0,
  `userid` int(11) NOT NULL,
  `contactid` int(11) NOT NULL DEFAULT 0,
  `merged_ticket_id` int(11) DEFAULT NULL,
  `email` text DEFAULT NULL,
  `name` text DEFAULT NULL,
  `department` int(11) NOT NULL,
  `priority` int(11) NOT NULL,
  `status` int(11) NOT NULL,
  `service` int(11) DEFAULT NULL,
  `ticketkey` varchar(32) NOT NULL,
  `subject` varchar(191) NOT NULL,
  `message` text DEFAULT NULL,
  `admin` int(11) DEFAULT NULL,
  `date` datetime NOT NULL,
  `project_id` int(11) NOT NULL DEFAULT 0,
  `lastreply` datetime DEFAULT NULL,
  `clientread` int(11) NOT NULL DEFAULT 0,
  `adminread` int(11) NOT NULL DEFAULT 0,
  `assigned` int(11) NOT NULL DEFAULT 0,
  `staff_id_replying` int(11) DEFAULT NULL,
  `cc` varchar(191) DEFAULT NULL,
  PRIMARY KEY (`ticketid`),
  KEY `service` (`service`),
  KEY `department` (`department`),
  KEY `status` (`status`),
  KEY `userid` (`userid`),
  KEY `priority` (`priority`),
  KEY `project_id` (`project_id`),
  KEY `contactid` (`contactid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `tbltickets`
--

LOCK TABLES `tbltickets` WRITE;
/*!40000 ALTER TABLE `tbltickets` DISABLE KEYS */;
/*!40000 ALTER TABLE `tbltickets` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `tbltickets_pipe_log`
--

DROP TABLE IF EXISTS `tbltickets_pipe_log`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `tbltickets_pipe_log` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `date` datetime NOT NULL,
  `email_to` varchar(100) NOT NULL,
  `name` varchar(191) NOT NULL,
  `subject` varchar(191) NOT NULL,
  `message` mediumtext NOT NULL,
  `email` varchar(100) NOT NULL,
  `status` varchar(100) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `tbltickets_pipe_log`
--

LOCK TABLES `tbltickets_pipe_log` WRITE;
/*!40000 ALTER TABLE `tbltickets_pipe_log` DISABLE KEYS */;
/*!40000 ALTER TABLE `tbltickets_pipe_log` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `tbltickets_predefined_replies`
--

DROP TABLE IF EXISTS `tbltickets_predefined_replies`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `tbltickets_predefined_replies` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `name` varchar(191) NOT NULL,
  `message` text NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `tbltickets_predefined_replies`
--

LOCK TABLES `tbltickets_predefined_replies` WRITE;
/*!40000 ALTER TABLE `tbltickets_predefined_replies` DISABLE KEYS */;
/*!40000 ALTER TABLE `tbltickets_predefined_replies` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `tbltickets_priorities`
--

DROP TABLE IF EXISTS `tbltickets_priorities`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `tbltickets_priorities` (
  `priorityid` int(11) NOT NULL AUTO_INCREMENT,
  `name` varchar(50) NOT NULL,
  PRIMARY KEY (`priorityid`)
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `tbltickets_priorities`
--

LOCK TABLES `tbltickets_priorities` WRITE;
/*!40000 ALTER TABLE `tbltickets_priorities` DISABLE KEYS */;
INSERT INTO `tbltickets_priorities` VALUES
(1,'Low'),
(2,'Medium'),
(3,'High');
/*!40000 ALTER TABLE `tbltickets_priorities` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `tbltickets_status`
--

DROP TABLE IF EXISTS `tbltickets_status`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `tbltickets_status` (
  `ticketstatusid` int(11) NOT NULL AUTO_INCREMENT,
  `name` varchar(50) NOT NULL,
  `isdefault` int(11) NOT NULL DEFAULT 0,
  `statuscolor` varchar(7) DEFAULT NULL,
  `statusorder` int(11) DEFAULT NULL,
  PRIMARY KEY (`ticketstatusid`)
) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `tbltickets_status`
--

LOCK TABLES `tbltickets_status` WRITE;
/*!40000 ALTER TABLE `tbltickets_status` DISABLE KEYS */;
INSERT INTO `tbltickets_status` VALUES
(1,'Open',1,'#ff2d42',1),
(2,'In progress',1,'#84c529',2),
(3,'Answered',1,'#0000ff',3),
(4,'On Hold',1,'#c0c0c0',4),
(5,'Closed',1,'#03a9f4',5);
/*!40000 ALTER TABLE `tbltickets_status` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `tbltodos`
--

DROP TABLE IF EXISTS `tbltodos`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `tbltodos` (
  `todoid` int(11) NOT NULL AUTO_INCREMENT,
  `description` text NOT NULL,
  `staffid` int(11) NOT NULL,
  `dateadded` datetime NOT NULL,
  `finished` tinyint(1) NOT NULL,
  `datefinished` datetime DEFAULT NULL,
  `item_order` int(11) DEFAULT NULL,
  PRIMARY KEY (`todoid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `tbltodos`
--

LOCK TABLES `tbltodos` WRITE;
/*!40000 ALTER TABLE `tbltodos` DISABLE KEYS */;
/*!40000 ALTER TABLE `tbltodos` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `tbltracked_mails`
--

DROP TABLE IF EXISTS `tbltracked_mails`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `tbltracked_mails` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `uid` varchar(32) NOT NULL,
  `rel_id` int(11) NOT NULL,
  `rel_type` varchar(40) NOT NULL,
  `date` datetime NOT NULL,
  `email` varchar(100) NOT NULL,
  `opened` tinyint(1) NOT NULL DEFAULT 0,
  `date_opened` datetime DEFAULT NULL,
  `subject` mediumtext DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `tbltracked_mails`
--

LOCK TABLES `tbltracked_mails` WRITE;
/*!40000 ALTER TABLE `tbltracked_mails` DISABLE KEYS */;
/*!40000 ALTER TABLE `tbltracked_mails` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `tbltwocheckout_log`
--

DROP TABLE IF EXISTS `tbltwocheckout_log`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `tbltwocheckout_log` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `reference` varchar(64) NOT NULL,
  `invoice_id` int(11) NOT NULL,
  `amount` varchar(25) NOT NULL,
  `created_at` datetime NOT NULL,
  PRIMARY KEY (`id`),
  KEY `invoice_id` (`invoice_id`),
  CONSTRAINT `tbltwocheckout_log_ibfk_1` FOREIGN KEY (`invoice_id`) REFERENCES `tblinvoices` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `tbltwocheckout_log`
--

LOCK TABLES `tbltwocheckout_log` WRITE;
/*!40000 ALTER TABLE `tbltwocheckout_log` DISABLE KEYS */;
/*!40000 ALTER TABLE `tbltwocheckout_log` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `tbluser_auto_login`
--

DROP TABLE IF EXISTS `tbluser_auto_login`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `tbluser_auto_login` (
  `key_id` char(32) NOT NULL,
  `user_id` int(11) NOT NULL,
  `user_agent` varchar(150) NOT NULL,
  `last_ip` varchar(40) NOT NULL,
  `last_login` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `staff` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `tbluser_auto_login`
--

LOCK TABLES `tbluser_auto_login` WRITE;
/*!40000 ALTER TABLE `tbluser_auto_login` DISABLE KEYS */;
/*!40000 ALTER TABLE `tbluser_auto_login` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `tbluser_meta`
--

DROP TABLE IF EXISTS `tbluser_meta`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `tbluser_meta` (
  `umeta_id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `staff_id` bigint(20) unsigned NOT NULL DEFAULT 0,
  `client_id` bigint(20) unsigned NOT NULL DEFAULT 0,
  `contact_id` bigint(20) unsigned NOT NULL DEFAULT 0,
  `meta_key` varchar(191) DEFAULT NULL,
  `meta_value` longtext DEFAULT NULL,
  PRIMARY KEY (`umeta_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `tbluser_meta`
--

LOCK TABLES `tbluser_meta` WRITE;
/*!40000 ALTER TABLE `tbluser_meta` DISABLE KEYS */;
/*!40000 ALTER TABLE `tbluser_meta` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `tblvault`
--

DROP TABLE IF EXISTS `tblvault`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `tblvault` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `customer_id` int(11) NOT NULL,
  `server_address` varchar(191) NOT NULL,
  `port` int(11) DEFAULT NULL,
  `username` varchar(191) NOT NULL,
  `password` text NOT NULL,
  `description` text DEFAULT NULL,
  `creator` int(11) NOT NULL,
  `creator_name` varchar(100) DEFAULT NULL,
  `visibility` tinyint(1) NOT NULL DEFAULT 1,
  `share_in_projects` tinyint(1) NOT NULL DEFAULT 0,
  `last_updated` datetime DEFAULT NULL,
  `last_updated_from` varchar(100) DEFAULT NULL,
  `date_created` datetime NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `tblvault`
--

LOCK TABLES `tblvault` WRITE;
/*!40000 ALTER TABLE `tblvault` DISABLE KEYS */;
/*!40000 ALTER TABLE `tblvault` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `tblviews_tracking`
--

DROP TABLE IF EXISTS `tblviews_tracking`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `tblviews_tracking` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `rel_id` int(11) NOT NULL,
  `rel_type` varchar(40) NOT NULL,
  `date` datetime NOT NULL,
  `view_ip` varchar(40) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `tblviews_tracking`
--

LOCK TABLES `tblviews_tracking` WRITE;
/*!40000 ALTER TABLE `tblviews_tracking` DISABLE KEYS */;
/*!40000 ALTER TABLE `tblviews_tracking` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `tblweb_to_lead`
--

DROP TABLE IF EXISTS `tblweb_to_lead`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `tblweb_to_lead` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `form_key` varchar(32) NOT NULL,
  `lead_source` int(11) NOT NULL,
  `lead_status` int(11) NOT NULL,
  `notify_lead_imported` int(11) NOT NULL DEFAULT 1,
  `notify_type` varchar(20) DEFAULT NULL,
  `notify_ids` mediumtext DEFAULT NULL,
  `responsible` int(11) NOT NULL DEFAULT 0,
  `name` varchar(191) NOT NULL,
  `form_data` mediumtext DEFAULT NULL,
  `recaptcha` int(11) NOT NULL DEFAULT 0,
  `submit_btn_name` varchar(40) DEFAULT NULL,
  `submit_btn_text_color` varchar(10) DEFAULT '#ffffff',
  `submit_btn_bg_color` varchar(10) DEFAULT '#84c529',
  `success_submit_msg` text DEFAULT NULL,
  `submit_action` int(11) DEFAULT 0,
  `lead_name_prefix` varchar(255) DEFAULT NULL,
  `submit_redirect_url` mediumtext DEFAULT NULL,
  `language` varchar(40) DEFAULT NULL,
  `allow_duplicate` int(11) NOT NULL DEFAULT 1,
  `mark_public` int(11) NOT NULL DEFAULT 0,
  `track_duplicate_field` varchar(20) DEFAULT NULL,
  `track_duplicate_field_and` varchar(20) DEFAULT NULL,
  `create_task_on_duplicate` int(11) NOT NULL DEFAULT 0,
  `dateadded` datetime NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `tblweb_to_lead`
--

LOCK TABLES `tblweb_to_lead` WRITE;
/*!40000 ALTER TABLE `tblweb_to_lead` DISABLE KEYS */;
/*!40000 ALTER TABLE `tblweb_to_lead` ENABLE KEYS */;
UNLOCK TABLES;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_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 */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

-- Dump completed on 2026-05-05 15:23:03
