-- Table structure for table `farmixexpires`
--

CREATE TABLE `farmixexpires` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `item` text COLLATE utf8_unicode_ci,
  `type` text COLLATE utf8_unicode_ci,
  `department_id` int(11) DEFAULT NULL,
  `expiry` date DEFAULT NULL,
  `recurring_charges` int(11) DEFAULT NULL,
  `responsible_id` int(11) DEFAULT NULL,
  `client_id` int(11) DEFAULT NULL,
  `status` enum('alert','ignore') COLLATE utf8_unicode_ci NOT NULL,
  `deleted` int(1) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `farmixexpires`
--


--
-- Table structure for table `farmixgeneral_files`
--

CREATE TABLE `farmixgeneral_files` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `file_name` text COLLATE utf8_unicode_ci NOT NULL,
  `file_id` text COLLATE utf8_unicode_ci,
  `service_type` varchar(20) COLLATE utf8_unicode_ci DEFAULT NULL,
  `description` mediumtext COLLATE utf8_unicode_ci,
  `file_size` double NOT NULL,
  `created_at` datetime NOT NULL,
  `client_id` int(11) NOT NULL DEFAULT '0',
  `user_id` int(11) NOT NULL DEFAULT '0',
  `eroom_id` int(11) NOT NULL DEFAULT '0',
  `uploaded_by` int(11) NOT NULL,
  `deleted` tinyint(1) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `farmixgeneral_files`
--

INSERT INTO `farmixgeneral_files` VALUES (1,'_file6682aef6b1d6f-Farmix.jpeg',NULL,NULL,'Company Logo',30330,'2024-07-01 13:28:22',0,0,1,4,0);

--
-- Table structure for table `farmixhelp_articles`
--

CREATE TABLE `farmixhelp_articles` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `title` text COLLATE utf8_unicode_ci NOT NULL,
  `description` longtext COLLATE utf8_unicode_ci NOT NULL,
  `category_id` int(11) NOT NULL,
  `created_by` int(11) NOT NULL,
  `created_at` datetime DEFAULT NULL,
  `status` enum('active','inactive') COLLATE utf8_unicode_ci NOT NULL DEFAULT 'active',
  `files` text COLLATE utf8_unicode_ci NOT NULL,
  `total_views` int(11) NOT NULL DEFAULT '0',
  `deleted` tinyint(1) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `farmixhelp_articles`
--


--
-- Table structure for table `farmixhelp_categories`
--

CREATE TABLE `farmixhelp_categories` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `title` text COLLATE utf8_unicode_ci NOT NULL,
  `description` text COLLATE utf8_unicode_ci NOT NULL,
  `type` enum('help','knowledge_base') COLLATE utf8_unicode_ci NOT NULL,
  `sort` int(11) NOT NULL,
  `status` enum('active','inactive') COLLATE utf8_unicode_ci NOT NULL DEFAULT 'active',
  `deleted` tinyint(1) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `farmixhelp_categories`
--


--
-- Table structure for table `farmixinternal_transactions`
--

CREATE TABLE `farmixinternal_transactions` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `date` date NOT NULL,
  `from_employee` int(11) NOT NULL,
  `to_employee` int(11) NOT NULL,
  `amount` float(10,3) NOT NULL,
  `note` text COLLATE utf8_bin NOT NULL,
  `status` enum('draft','approved') COLLATE utf8_bin NOT NULL DEFAULT 'draft',
  `transaction_id` int(11) NOT NULL DEFAULT '0',
  `deleted` tinyint(1) NOT NULL DEFAULT '0',
  `bank` int(11) NOT NULL DEFAULT '0',
  `treasury` int(11) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=47 DEFAULT CHARSET=utf8 COLLATE=utf8_bin;

--
-- Dumping data for table `farmixinternal_transactions`
--

INSERT INTO `farmixinternal_transactions` VALUES (1,'2024-03-19',4,2,5.000,'','draft',0,1,0,0),(2,'2024-01-01',4,2,1000.000,'Patty cash','draft',0,1,0,0),(5,'2024-07-03',0,6,1.000,'Office Expenses','draft',0,1,0,83),(3,'2024-03-04',999,4,500.000,'petty Cash','draft',0,1,83,0),(4,'2024-06-29',4,6,10.000,'','draft',0,1,0,0),(6,'2024-12-12',999,4,2000.000,'Cash on Hand ','draft',0,1,83,0),(7,'2024-12-19',999,6,200.000,'PT Cash','draft',0,1,137,0),(8,'2024-12-19',0,4,200.000,'','draft',0,1,0,137),(9,'2025-04-15',999,4,100.000,'','approved',1267,0,83,0),(10,'2025-04-15',4,6,1.889,'','draft',0,1,0,0),(11,'2025-04-22',999,6,200.000,'April Month Patty Cash','draft',0,1,137,0),(12,'2025-04-22',999,4,200.000,'April Patty Cash','draft',0,1,136,0),(13,'2025-04-22',999,4,200.000,'April Patty Cash','approved',1266,0,136,0),(14,'2025-04-27',999,4,300.000,'','approved',1260,0,136,0),(15,'2025-04-27',999,4,400.000,'','approved',1268,0,83,0),(16,'2025-05-03',999,4,500.000,'','draft',0,1,83,0),(17,'2025-05-03',999,4,500.000,'','draft',0,1,135,0),(18,'2025-05-03',999,4,455.777,'','draft',0,1,135,0),(19,'2025-05-03',999,4,455.770,'','draft',0,1,135,0),(20,'2025-05-03',999,4,500.000,'','draft',0,1,135,0),(21,'2025-05-03',999,4,455.770,'','draft',0,1,135,0),(22,'2025-05-03',999,4,500.000,'','draft',0,1,135,0),(23,'2025-05-03',999,4,455.770,'','approved',1308,0,135,0),(24,'2025-05-24',999,4,422.000,'','approved',1346,0,83,0),(25,'2025-05-25',999,4,500.000,'','draft',0,1,83,0),(31,'2025-05-25',999,4,550.000,'','draft',0,1,83,0),(26,'2025-05-31',999,4,1000.000,'','draft',0,1,83,0),(27,'2025-05-31',999,4,1053.300,'','draft',0,1,83,0),(28,'2025-05-31',999,4,1053.310,'','draft',0,1,83,0),(29,'2025-05-31',999,4,1050.000,'','draft',0,1,83,0),(30,'2025-05-31',999,4,1000.000,'','draft',0,1,83,0),(32,'2025-05-25',999,4,500.000,'','approved',1411,0,83,0),(33,'2025-05-31',999,4,1000.000,'','draft',0,1,83,0),(34,'2025-05-31',999,4,1053.000,'','draft',0,1,136,0),(35,'2025-05-31',999,4,1053.310,'','approved',1497,0,136,0),(36,'2025-06-10',999,4,500.000,'','draft',0,1,136,0),(37,'2025-06-10',999,4,500.000,'','approved',1472,0,136,0),(38,'2025-06-25',999,4,50.000,'Mohammed loan transfer','draft',0,1,83,0),(39,'2025-05-25',999,4,50.000,'Mohammed Loan Transfer for car repairing ','approved',1496,0,83,0),(40,'2025-06-17',999,4,500.000,'','approved',1499,0,136,0),(41,'2025-06-26',999,4,750.000,'','approved',1518,0,136,0),(42,'2025-06-28',14,4,76.000,'Loan Transfer amount .','draft',0,1,0,0),(43,'2025-06-28',999,4,75.000,'Mohamed Loan Transfer','draft',0,1,136,0),(44,'2025-06-28',999,4,76.000,'Mohamed Loan Transfer ','approved',1525,0,136,0),(45,'2025-06-30',999,4,428.619,'','approved',1545,0,136,0),(46,'2025-07-10',999,4,300.000,'','approved',1559,0,136,0);

--
-- Table structure for table `farmixinvoice_items`
--

CREATE TABLE `farmixinvoice_items` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `item_id` int(11) NOT NULL DEFAULT '0',
  `title` text COLLATE utf8_unicode_ci NOT NULL,
  `description` text COLLATE utf8_unicode_ci,
  `quantity` double NOT NULL,
  `unit_type` varchar(20) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
  `rate` double NOT NULL,
  `total` double NOT NULL,
  `cost` double DEFAULT NULL,
  `sort` int(11) NOT NULL DEFAULT '0',
  `invoice_id` int(11) NOT NULL,
  `tax_id` int(11) DEFAULT '0',
  `tax_id2` int(11) DEFAULT '0',
  `deleted` tinyint(1) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=104 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `farmixinvoice_items`
--

INSERT INTO `farmixinvoice_items` VALUES (61,51,'UTP Cable','Cat6A U/UTP Cable',10,'Nos',30,300,NULL,0,59,1,0,0),(62,50,'Power Cable','Cable XLPE/SWA/PVC 3C x 240mm2 ',3,'MTR',24.6,73.8,NULL,0,60,1,0,0),(63,50,'Power Cable','Cable XLPE/SWA/PVC 3C x 240mm2 ',3,'MTR',24.6,73.8,NULL,0,61,0,0,0),(64,50,'Power Cable','Cable XLPE/SWA/PVC 3C x 240mm2 ',3,'MTR',24.6,73.8,NULL,0,62,0,0,0),(65,50,'Power Cable','Cable XLPE/SWA/PVC 3C x 240mm2 ',3,'MTR',24.6,73.8,NULL,0,63,1,0,0),(66,52,'Fertilizer ','A liquid Metalorganic product ',1,'Liter ',3.5,3.5,NULL,0,64,1,0,0),(67,52,'Fertilizer ','A liquid Metalorganic product ',2,'',3.5,7,4,0,65,1,0,1),(68,52,'Fertilizer ','A liquid Metalorganic product ',1,'',6.5,6.5,4,0,65,1,0,1),(69,52,'Fertilizer ','A liquid Metalorganic product ',1,'Liter ',3.5,3.5,NULL,0,65,0,0,1),(70,52,'Fertilizer ','A liquid Metalorganic product ',1,'Liter ',3.5,3.5,NULL,0,65,0,0,1),(71,52,'Fertilizer ','A liquid Metalorganic product ',4,'',3.5,14,4,0,65,1,0,1),(72,52,'Hydrosyl','Liquid organic fish fertilizers			\n',2,'',3.5,7,4,0,65,1,0,1),(73,53,'Aquamix		','Liquid organic fish fertilizers boosted with NPK			\n',2,'',7.5,15,6.5,0,65,1,0,1),(74,52,'Hydrosyl 5litr','Liquid organic fish fertilizers HS Code: 31010000			\n',1,'',12,12,12,0,65,1,0,0),(75,53,'Aquamix 5litr	','Liquid organic fish fertilizers boosted with NPK HS Code:31010000		\n',1,'',10.5,10.5,0,0,65,1,0,0),(76,53,'Aquamix		','Liquid organic fish fertilizers boosted with NPK			\n',3,'',0,0,0,0,65,1,0,1),(77,53,'Aquamix		','Liquid organic fish fertilizers boosted with NPK			\n',11,'',0,0,0,0,66,1,0,0),(78,58,'Test Product','Test',1,'',3,3,3,0,68,1,0,1),(79,59,'1) AQUAMIX 1liter','<br>',200,'',2.1,420,0,0,70,0,0,1),(80,53,'2) AQUAMIX 5litr	','<br>',50,'',6.5,325,0,0,70,4,0,1),(81,62,'3) AQUAMIX 10Liter','<br>',50,'',11.5,575,0,0,70,4,0,1),(82,60,'4) HYDROSYL 1liter','<br>',200,'',2.7,540,0,0,70,4,0,1),(83,52,'5) HYDROSYL 5litr','<br>',50,'',8,400,0,0,70,4,0,1),(84,61,'6) AQUAMIX 20liter','<br>',50,'',18,900,0,0,70,4,0,1),(85,53,'1) AQUAMIX 5litr	','Liquid organic fish fertilizers boosted with NPK	\nHS Code: 310100000005	\n',2,'',9.5,19,0,0,71,0,0,0),(86,52,'2) HYDROSYL 5litr','Liquid organic fish fertilizers HS Code: 310100000001		\n',2,'',11,22,0,0,71,0,0,0),(87,53,'AQUAMIX 5litr	','Liquid organic fish fertilizers boosted with NPK	\nHS Code: 310100000005	\n',10,'',7.9,79,7,0,72,0,0,0),(88,59,'AQUAMIX 1liter','<br>',200,'',2.6,520,0,0,70,0,0,1),(89,59,'1) AQUAMIX 1liter','<br>',250,'',2.1,525,0,0,70,5,0,0),(90,53,'2) AQUAMIX 5litr	','<br>',60,'',6.5,390,0,0,70,5,0,0),(91,62,'3) AQUAMIX 10Liter','<br>',50,'',11.5,575,0,0,70,5,0,0),(92,60,'4) HYDROSYL 1liter','<br>',250,'',2.7,675,0,0,70,5,0,0),(93,52,'5) HYDROSYL 5litr','<br>',60,'',8,480,0,0,70,5,0,0),(94,63,'6) AGROWELL  20liter','',50,'',18,900,0,0,70,5,0,0),(95,59,'1) AQUAMIX 1liter','<br>',250,'',2.1,525,0,0,73,5,0,0),(96,53,'2) AQUAMIX 5litr	','<br>',60,'',6.5,390,0,0,73,5,0,0),(97,62,'3) AQUAMIX 10Liter','<br>',50,'',11.5,575,0,0,73,5,0,0),(98,60,'4) HYDROSYL 1liter','<br>',250,'',2.7,675,0,0,73,5,0,0),(99,52,'5) HYDROSYL 5litr','<br>',60,'',8,480,0,0,73,5,0,0),(100,63,'6) AGROWELL  20liter','',50,'',18,900,0,0,73,5,0,0),(101,52,'HYDROSYL 5litr','Liquid organic fish fertilizers HS Code: 310100000001		\n',10,'',12,120,12,0,74,5,0,1),(102,53,'AQUAMIX 5litr	','Liquid organic fish fertilizers boosted with NPK	\nHS Code: 310100000005	\n',1,'',11.5,11.5,7,0,75,7,0,1),(103,52,'HYDROSYL 5litr','Liquid organic fish fertilizers HS Code: 310100000001		\n',1,'',11.5,11.5,12,0,75,7,0,0);

--
-- Table structure for table `farmixinvoice_payments`
--

CREATE TABLE `farmixinvoice_payments` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `files` varchar(256) COLLATE utf8_unicode_ci DEFAULT NULL,
  `amount` double NOT NULL,
  `payment_date` date NOT NULL,
  `payment_method_id` int(11) NOT NULL,
  `cheque_due_date` date DEFAULT NULL,
  `cheque_description` varchar(150) COLLATE utf8_unicode_ci DEFAULT NULL,
  `cheque_account` varchar(150) COLLATE utf8_unicode_ci DEFAULT NULL,
  `cheque_number` varchar(150) COLLATE utf8_unicode_ci DEFAULT NULL,
  `cheque_transaction_id` int(11) NOT NULL DEFAULT '0',
  `note` text COLLATE utf8_unicode_ci,
  `invoice_id` int(11) NOT NULL,
  `status` enum('draft','request_approval','approved') COLLATE utf8_unicode_ci NOT NULL DEFAULT 'draft',
  `deleted` tinyint(1) NOT NULL DEFAULT '0',
  `transaction_id` tinytext COLLATE utf8_unicode_ci,
  `account_transaction_id` int(11) NOT NULL DEFAULT '0',
  `advance_transaction_id` int(11) NOT NULL DEFAULT '0',
  `created_by` int(11) DEFAULT '1',
  `bank` int(11) DEFAULT '0',
  `treasury` int(11) DEFAULT '0',
  `created_at` datetime DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `id` (`id`),
  KEY `id_2` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=13 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `farmixinvoice_payments`
--

INSERT INTO `farmixinvoice_payments` VALUES (9,'a:0:{}',315,'2024-04-05',4,'2024-04-03','','','',0,'',59,'draft',1,NULL,0,0,4,131,0,'2024-04-03 05:24:24'),(10,'a:0:{}',300,'2024-05-27',1,'2024-05-27','','','',0,'',59,'draft',1,NULL,0,0,4,NULL,124,'2024-05-27 06:13:00'),(11,'a:0:{}',315,'2024-05-29',1,'2024-05-27','','','',0,'',59,'draft',1,NULL,0,0,4,NULL,124,'2024-05-27 06:46:11'),(12,'a:0:{}',77.49,'2024-06-10',4,'2024-06-06','','','',0,'',59,'draft',1,NULL,0,0,4,83,0,'2024-06-06 06:01:47');

--
-- Table structure for table `farmixinvoices`
--

CREATE TABLE `farmixinvoices` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `client_id` int(11) NOT NULL,
  `project_id` int(11) NOT NULL DEFAULT '0',
  `bill_date` date NOT NULL,
  `due_date` date NOT NULL,
  `note` mediumtext COLLATE utf8_unicode_ci,
  `files` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `labels` text COLLATE utf8_unicode_ci,
  `last_email_sent_date` date DEFAULT NULL,
  `status` enum('draft','not_paid','cancelled') COLLATE utf8_unicode_ci NOT NULL DEFAULT 'draft',
  `delivery_status` enum('delivered','not_delivered') COLLATE utf8_unicode_ci NOT NULL DEFAULT 'not_delivered',
  `approval_status` enum('not_approved','request_approval','approved') COLLATE utf8_unicode_ci NOT NULL DEFAULT 'not_approved',
  `confirm_status` varchar(20) COLLATE utf8_unicode_ci NOT NULL DEFAULT 'not_confirmed',
  `tax_id` int(11) NOT NULL DEFAULT '0',
  `tax_id2` int(11) NOT NULL DEFAULT '0',
  `recurring` tinyint(4) NOT NULL DEFAULT '0',
  `recurring_invoice_id` int(11) NOT NULL DEFAULT '0',
  `repeat_every` int(11) NOT NULL DEFAULT '0',
  `repeat_type` enum('days','weeks','months','years') COLLATE utf8_unicode_ci DEFAULT NULL,
  `no_of_cycles` int(11) NOT NULL DEFAULT '0',
  `next_recurring_date` date DEFAULT NULL,
  `no_of_cycles_completed` int(11) NOT NULL DEFAULT '0',
  `due_reminder_date` date DEFAULT NULL,
  `recurring_reminder_date` date DEFAULT NULL,
  `discount_amount` double NOT NULL,
  `discount_amount_type` enum('percentage','fixed_amount') COLLATE utf8_unicode_ci NOT NULL,
  `discount_type` enum('before_tax','after_tax') COLLATE utf8_unicode_ci NOT NULL,
  `cancelled_at` datetime DEFAULT NULL,
  `cancelled_by` int(11) NOT NULL,
  `deleted` tinyint(1) NOT NULL DEFAULT '0',
  `sale_item` int(11) NOT NULL DEFAULT '0',
  `user_id` int(11) NOT NULL DEFAULT '0',
  `revised` int(11) NOT NULL DEFAULT '0',
  `sale_account_id` int(11) NOT NULL DEFAULT '0',
  `sale_cost_account_id` int(11) NOT NULL DEFAULT '0',
  `sale_status` enum('Pending','Ready','In Progress','Finished') COLLATE utf8_unicode_ci NOT NULL DEFAULT 'Pending',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=76 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `farmixinvoices`
--

INSERT INTO `farmixinvoices` VALUES (59,5,0,'2024-04-03','2024-05-03','','a:0:{}','',NULL,'not_paid','not_delivered','approved','not_confirmed',0,0,0,0,0,NULL,0,NULL,0,NULL,NULL,0,'percentage','before_tax',NULL,0,0,1,0,0,0,0,'In Progress'),(60,8,0,'2024-06-06','2024-07-06','','a:0:{}','',NULL,'draft','not_delivered','not_approved','not_confirmed',0,0,0,0,0,NULL,0,NULL,0,NULL,NULL,0,'percentage','before_tax',NULL,0,1,3,0,0,0,0,'Ready'),(61,8,0,'2024-06-06','2024-07-06','','a:0:{}','',NULL,'cancelled','not_delivered','approved','confirmed',0,0,0,0,0,NULL,0,NULL,0,NULL,NULL,0,'percentage','before_tax','2024-06-06 06:14:09',4,0,3,0,0,0,0,'Ready'),(62,8,0,'2024-06-06','2024-07-06','','a:0:{}','',NULL,'draft','delivered','','confirmed',0,0,0,0,0,NULL,0,NULL,0,NULL,NULL,0,'percentage','before_tax',NULL,0,0,3,0,0,0,0,'Ready'),(63,8,0,'2024-06-06','2024-07-06','','a:0:{}','',NULL,'draft','not_delivered','not_approved','not_confirmed',0,0,0,0,0,NULL,0,NULL,0,NULL,NULL,0,'percentage','',NULL,0,0,3,0,0,0,0,'Pending'),(64,8,0,'2024-10-17','2024-11-16','','a:0:{}','',NULL,'draft','delivered','approved','confirmed',0,0,0,0,0,NULL,0,NULL,0,NULL,NULL,0,'percentage','before_tax',NULL,0,0,4,0,0,0,0,'Pending'),(65,10,0,'2025-01-28','2025-02-27','','a:0:{}','',NULL,'draft','delivered','','not_confirmed',0,0,0,0,0,NULL,0,NULL,0,NULL,NULL,0,'percentage','before_tax',NULL,0,0,6,4,7,0,0,'Ready'),(66,11,0,'2025-01-29','2025-02-28','','a:0:{}','',NULL,'draft','not_delivered','','not_confirmed',0,0,0,0,0,NULL,0,NULL,0,NULL,NULL,0,'percentage','before_tax',NULL,0,1,6,7,0,0,0,'Pending'),(67,11,0,'2025-01-29','2025-02-28','','a:0:{}','',NULL,'draft','not_delivered','not_approved','not_confirmed',0,0,0,0,0,NULL,0,NULL,0,NULL,NULL,0,'percentage','before_tax',NULL,0,1,5,7,0,0,0,'Pending'),(68,10,0,'2025-01-29','2025-02-28','Test','a:0:{}','',NULL,'draft','not_delivered','','not_confirmed',0,0,0,0,0,NULL,0,NULL,0,NULL,NULL,0,'percentage','before_tax',NULL,0,1,6,7,1,0,0,'Pending'),(69,10,0,'2025-02-10','2025-03-12','','a:0:{}','',NULL,'draft','not_delivered','not_approved','not_confirmed',0,0,0,0,0,NULL,0,NULL,0,NULL,NULL,0,'percentage','before_tax',NULL,0,1,6,4,0,0,0,'In Progress'),(70,13,0,'2025-03-12','2025-04-11','<p></p><h5><span style=\"font-size:12.0pt;line-height:115%;\nfont-family:&quot;Aptos&quot;,sans-serif;mso-ascii-theme-font:minor-latin;mso-fareast-font-family:\nAptos;mso-fareast-theme-font:minor-latin;mso-hansi-theme-font:minor-latin;\nmso-bidi-font-family:Arial;mso-bidi-theme-font:minor-bidi;mso-ansi-language:\nEN-US;mso-fareast-language:EN-US;mso-bidi-language:AR-SA\">Bank Account\nName:&nbsp;National Agricultural Development Company S.P.C&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</span><span style=\"font-family: Aptos, sans-serif; font-size: 12pt;\">&nbsp;Bank Muscat ( Bidaya Branch)&nbsp;&nbsp;<br></span><span style=\"color: inherit; font-family: Aptos, sans-serif; font-size: 12pt;\">Account\nNo:&nbsp;0348-062649110017</span><span style=\"color: inherit; font-family: Aptos, sans-serif; font-size: 12pt;\">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;\n&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;\n&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</span><span style=\"color: inherit; font-family: Aptos, sans-serif; font-size: 12pt;\">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br></span><span style=\"font-family: Aptos, sans-serif; font-size: 12pt; color: inherit;\">Received material in\nGood Condition<br></span><span style=\"font-size: 12pt; font-family: Aptos, sans-serif; color: inherit;\">Name&nbsp;&amp;\nSignature:&nbsp;<br></span><span style=\"font-size:12.0pt;line-height:115%;\nfont-family:&quot;Aptos&quot;,sans-serif;mso-ascii-theme-font:minor-latin;mso-fareast-font-family:\nAptos;mso-fareast-theme-font:minor-latin;mso-hansi-theme-font:minor-latin;\nmso-bidi-font-family:Arial;mso-bidi-theme-font:minor-bidi;mso-ansi-language:\nEN-US;mso-fareast-language:EN-US;mso-bidi-language:AR-SA\">Company\'s Seal:&nbsp;\n&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;\n&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br></span><span style=\"font-size:12.0pt;line-height:115%;\nfont-family:&quot;Aptos&quot;,sans-serif;mso-ascii-theme-font:minor-latin;mso-fareast-font-family:\nAptos;mso-fareast-theme-font:minor-latin;mso-hansi-theme-font:minor-latin;\nmso-bidi-font-family:Arial;mso-bidi-theme-font:minor-bidi;mso-ansi-language:\nEN-US;mso-fareast-language:EN-US;mso-bidi-language:AR-SA\">Date:</span></h5><p></p><p><span style=\"font-size:12.0pt;line-height:115%;\nfont-family:&quot;Aptos&quot;,sans-serif;mso-ascii-theme-font:minor-latin;mso-fareast-font-family:\nAptos;mso-fareast-theme-font:minor-latin;mso-hansi-theme-font:minor-latin;\nmso-bidi-font-family:Arial;mso-bidi-theme-font:minor-bidi;mso-ansi-language:\nEN-US;mso-fareast-language:EN-US;mso-bidi-language:AR-SA\">\n<!--[if !supportLineBreakNewLine]--><br>\n<!--[endif]--></span></p><h3><span style=\"font-size:12.0pt;line-height:115%;\nfont-family:&quot;Aptos&quot;,sans-serif;mso-ascii-theme-font:minor-latin;mso-fareast-font-family:\nAptos;mso-fareast-theme-font:minor-latin;mso-hansi-theme-font:minor-latin;\nmso-bidi-font-family:Arial;mso-bidi-theme-font:minor-bidi;mso-ansi-language:\nEN-US;mso-fareast-language:EN-US;mso-bidi-language:AR-SA\"><span style=\"font-size: 12pt; line-height: 115%;\"><b><span style=\"font-family: &quot;Open Sans&quot;, &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 13px;\">For</span><u style=\"font-family: &quot;Open Sans&quot;, &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 13px;\">&nbsp;National Agricultural Development Company S.P.C</u>&nbsp; &nbsp; </b>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</span></span></h3><p><br></p><p></p>','a:0:{}','',NULL,'draft','delivered','approved','not_confirmed',0,0,0,0,0,NULL,0,NULL,0,NULL,NULL,0,'percentage','before_tax',NULL,0,0,7,4,23,0,0,'In Progress'),(71,10,0,'2025-03-16','2025-04-15','','a:0:{}','',NULL,'draft','not_delivered','approved','not_confirmed',0,0,0,0,0,NULL,0,NULL,0,NULL,NULL,0,'percentage','before_tax',NULL,0,0,7,4,0,0,0,'Ready'),(72,12,0,'2025-03-17','2025-04-16','','a:0:{}','',NULL,'draft','not_delivered','not_approved','not_confirmed',0,0,0,0,0,NULL,0,NULL,0,NULL,NULL,0,'percentage','before_tax',NULL,0,0,7,4,0,0,0,'Ready'),(73,13,0,'2025-03-12','2025-04-11','<p></p><h5></h5><h6></h6><h6><p><span style=\"font-size:12.0pt;line-height:115%;\nfont-family:&quot;Aptos&quot;,sans-serif;mso-ascii-theme-font:minor-latin;mso-fareast-font-family:\nAptos;mso-fareast-theme-font:minor-latin;mso-hansi-theme-font:minor-latin;\nmso-bidi-font-family:Arial;mso-bidi-theme-font:minor-bidi;mso-ansi-language:\nEN-US;mso-fareast-language:EN-US;mso-bidi-language:AR-SA\">Bank Account\nName:<u>&nbsp;National Agricultural Development Company S.P.C</u>&nbsp;</span></p><span style=\"font-size:12.0pt;line-height:115%;\nfont-family:&quot;Aptos&quot;,sans-serif;mso-ascii-theme-font:minor-latin;mso-fareast-font-family:\nAptos;mso-fareast-theme-font:minor-latin;mso-hansi-theme-font:minor-latin;\nmso-bidi-font-family:Arial;mso-bidi-theme-font:minor-bidi;mso-ansi-language:\nEN-US;mso-fareast-language:EN-US;mso-bidi-language:AR-SA\">Bank Name:&nbsp;<u>Bank Muscat</u></span></h6><h6><span style=\"font-size:12.0pt;line-height:115%;\nfont-family:&quot;Aptos&quot;,sans-serif;mso-ascii-theme-font:minor-latin;mso-fareast-font-family:\nAptos;mso-fareast-theme-font:minor-latin;mso-hansi-theme-font:minor-latin;\nmso-bidi-font-family:Arial;mso-bidi-theme-font:minor-bidi;mso-ansi-language:\nEN-US;mso-fareast-language:EN-US;mso-bidi-language:AR-SA\">Branch Name:&nbsp;<u>Bidaya Branch</u></span></h6><h6><span style=\"font-size:12.0pt;line-height:115%;\nfont-family:&quot;Aptos&quot;,sans-serif;mso-ascii-theme-font:minor-latin;mso-fareast-font-family:\nAptos;mso-fareast-theme-font:minor-latin;mso-hansi-theme-font:minor-latin;\nmso-bidi-font-family:Arial;mso-bidi-theme-font:minor-bidi;mso-ansi-language:\nEN-US;mso-fareast-language:EN-US;mso-bidi-language:AR-SA\"><span style=\"font-size: 12pt; line-height: 115%;\">Account\nNo:&nbsp;<u>0348-062649110017</u></span></span></h6><h6><span style=\"font-size:12.0pt;line-height:115%;\nfont-family:&quot;Aptos&quot;,sans-serif;mso-ascii-theme-font:minor-latin;mso-fareast-font-family:\nAptos;mso-fareast-theme-font:minor-latin;mso-hansi-theme-font:minor-latin;\nmso-bidi-font-family:Arial;mso-bidi-theme-font:minor-bidi;mso-ansi-language:\nEN-US;mso-fareast-language:EN-US;mso-bidi-language:AR-SA\"><span style=\"font-size: 12pt; line-height: 115%;\"><span style=\"font-size: 12pt; line-height: 115%;\">Received material in\nGood Condition:</span></span></span></h6><h6><span style=\"font-size: 12pt; font-family: Aptos, sans-serif; color: inherit;\">Name&nbsp;&amp;\nSignature:</span><span style=\"font-size: 12pt; font-family: Aptos, sans-serif; color: inherit;\">&nbsp;</span></h6><h6><span style=\"font-size:12.0pt;line-height:115%;\nfont-family:&quot;Aptos&quot;,sans-serif;mso-ascii-theme-font:minor-latin;mso-fareast-font-family:\nAptos;mso-fareast-theme-font:minor-latin;mso-hansi-theme-font:minor-latin;\nmso-bidi-font-family:Arial;mso-bidi-theme-font:minor-bidi;mso-ansi-language:\nEN-US;mso-fareast-language:EN-US;mso-bidi-language:AR-SA\">Company\'s Seal:&nbsp;</span></h6><h6><span style=\"font-size:12.0pt;line-height:115%;\nfont-family:&quot;Aptos&quot;,sans-serif;mso-ascii-theme-font:minor-latin;mso-fareast-font-family:\nAptos;mso-fareast-theme-font:minor-latin;mso-hansi-theme-font:minor-latin;\nmso-bidi-font-family:Arial;mso-bidi-theme-font:minor-bidi;mso-ansi-language:\nEN-US;mso-fareast-language:EN-US;mso-bidi-language:AR-SA\"><span style=\"font-size: 12pt;\">&nbsp;Date:</span>&nbsp; &nbsp; &nbsp;</span></h6><h6><span style=\"font-size:12.0pt;line-height:115%;\nfont-family:&quot;Aptos&quot;,sans-serif;mso-ascii-theme-font:minor-latin;mso-fareast-font-family:\nAptos;mso-fareast-theme-font:minor-latin;mso-hansi-theme-font:minor-latin;\nmso-bidi-font-family:Arial;mso-bidi-theme-font:minor-bidi;mso-ansi-language:\nEN-US;mso-fareast-language:EN-US;mso-bidi-language:AR-SA\"><b style=\"font-family: &quot;Open Sans&quot;, &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 13px;\">For<u>&nbsp;National Agricultural Development Company\nS.P.C</u></b>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;</span><span style=\"font-size: 12pt; font-family: Aptos, sans-serif; color: inherit;\"></span></h6><h6><span style=\"font-size:12.0pt;line-height:115%;\nfont-family:&quot;Aptos&quot;,sans-serif;mso-ascii-theme-font:minor-latin;mso-fareast-font-family:\nAptos;mso-fareast-theme-font:minor-latin;mso-hansi-theme-font:minor-latin;\nmso-bidi-font-family:Arial;mso-bidi-theme-font:minor-bidi;mso-ansi-language:\nEN-US;mso-fareast-language:EN-US;mso-bidi-language:AR-SA\"><u><br></u>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;</span><p><span style=\"font-size:12.0pt;line-height:115%;\nfont-family:&quot;Aptos&quot;,sans-serif;mso-ascii-theme-font:minor-latin;mso-fareast-font-family:\nAptos;mso-fareast-theme-font:minor-latin;mso-hansi-theme-font:minor-latin;\nmso-bidi-font-family:Arial;mso-bidi-theme-font:minor-bidi;mso-ansi-language:\nEN-US;mso-fareast-language:EN-US;mso-bidi-language:AR-SA\">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</span></p></h6><p></p>','a:0:{}','',NULL,'draft','not_delivered','approved','not_confirmed',0,0,0,0,0,NULL,0,NULL,0,NULL,NULL,0,'percentage','before_tax',NULL,0,0,7,4,4,0,0,'In Progress'),(74,10,0,'2025-03-22','2025-04-21','','a:0:{}','',NULL,'draft','not_delivered','','not_confirmed',0,0,0,0,0,NULL,0,NULL,0,NULL,NULL,0,'percentage','before_tax',NULL,0,1,7,4,1,0,0,'In Progress'),(75,15,0,'2025-04-06','2025-05-06','<p class=\"MsoBodyText\"><b><span style=\"color: rgb(68, 68, 68); letter-spacing: -0.1pt;\">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</span></b></p>','a:0:{}','',NULL,'draft','not_delivered','approved','not_confirmed',0,0,0,0,0,NULL,0,NULL,0,NULL,NULL,0,'percentage','before_tax',NULL,0,0,7,4,6,0,0,'Ready');

--
-- Table structure for table `farmixitem_categories`
--

CREATE TABLE `farmixitem_categories` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `title` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `deleted` tinyint(1) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=8 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `farmixitem_categories`
--

INSERT INTO `farmixitem_categories` VALUES (2,'Power Cable',1),(3,'UTP Cable',1),(4,'BSM 003',1),(5,'AQUAMIX',1),(6,'Hydrosyl',1),(7,'Liquid Organic Fish Fertilizer ',0);

--
-- Table structure for table `farmixitem_uom`
--

CREATE TABLE `farmixitem_uom` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `title` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `deleted` tinyint(1) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE=MyISAM AUTO_INCREMENT=15 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci ROW_FORMAT=DYNAMIC;

--
-- Dumping data for table `farmixitem_uom`
--

INSERT INTO `farmixitem_uom` VALUES (8,'Kg',1),(9,'liter',1),(10,'Pic',1),(11,'Pic',1),(12,'liter',1),(13,'Pic',0),(14,'Price',0);

--
-- Table structure for table `farmixitems`
--

CREATE TABLE `farmixitems` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `title` text COLLATE utf8_unicode_ci NOT NULL,
  `description` text COLLATE utf8_unicode_ci,
  `unit_type` varchar(20) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
  `cost` double NOT NULL,
  `rate` double NOT NULL,
  `category_id` int(11) NOT NULL,
  `item_type` enum('product','service') COLLATE utf8_unicode_ci NOT NULL DEFAULT 'product',
  `raw_material` tinyint(1) NOT NULL DEFAULT '0',
  `deleted` tinyint(1) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=68 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `farmixitems`
--

INSERT INTO `farmixitems` VALUES (50,'Power Cable','Cable XLPE/SWA/PVC 3C x 240mm2 ','MTR',20.3,24.6,2,'product',0,1),(51,'UTP Cable','Cat6A U/UTP Cable','Nos',25,30,3,'product',0,1),(52,'HYDROSYL 5litr','Liquid organic fish fertilizers HS Code: 310100000001		\n','12',12,12,7,'product',0,0),(53,'AQUAMIX 5litr	','Liquid organic fish fertilizers boosted with NPK	\nHS Code: 310100000005	\n','12',7,7.9,7,'product',0,0),(54,'Test item','Test','8',0,0,5,'product',1,1),(55,'Test material','Test','8',0,0,5,'product',1,1),(56,'Test product','Test','8',0,0,5,'product',0,1),(57,'Test','test','',2,2,5,'product',1,1),(58,'Test Product','Test','3',3,3,5,'product',0,1),(59,'AQUAMIX 1liter','Liquid organic fish fertilizers boosted with NPK\nHS Code: 310100000005','12',2,2.6,7,'product',0,0),(60,'HYDROSYL 1liter','Liquid organic fish fertilizers HS Code: 310100000001','12',2,2.96,7,'product',0,0),(61,'AQUAMIX 20liter','Liquid organic fish fertilizers boosted with NPK\nHS Code: 310100000005','12',24,24.6,7,'product',0,0),(62,'AQUAMIX 10Liter','Liquid organic fish fertilizers boosted with NPK\nHS Code: 310100000005','12',12,11.5,7,'product',0,0),(63,'AGROWELL  20liter','','12',20,18,7,'product',0,0),(64,'Shipping  Charge ','','14',3000,4000,7,'service',0,0),(65,'AQUAMIX 20liter','<p><span style=\"color: rgb(78, 94, 106); font-size: 14px; text-transform: capitalize;\">Liquid organic fish fertilizers boosted with NPK</span><br style=\"color: rgb(78, 94, 106); font-size: 14px; text-transform: capitalize;\"><span style=\"color: rgb(78, 94, 106); font-size: 14px; text-transform: capitalize;\">HS Code: 310100000005</span></p>','12',20,24,7,'product',0,1),(66,'HYDROSYL 20liter','<p><span style=\"color: rgb(78, 94, 106); font-size: 14px; text-transform: capitalize;\">Liquid organic fish fertilizers HS Code: 310100000001</span></p>','12',27,28,7,'product',0,0),(67,'AQUAMIX 20liter','<p><span style=\"color: rgb(78, 94, 106); font-size: 14px; text-transform: capitalize;\">Liquid organic fish fertilizers boosted with NPK</span><br style=\"color: rgb(78, 94, 106); font-size: 14px; text-transform: capitalize;\"><span style=\"color: rgb(78, 94, 106); font-size: 14px; text-transform: capitalize;\">HS Code: 310100000005</span></p>','12',20,22,7,'product',0,0);

--
-- Table structure for table `farmixitems_levels`
--

CREATE TABLE `farmixitems_levels` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `level_name` varchar(150) COLLATE utf8_unicode_ci NOT NULL,
  `deleted` tinyint(1) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=4 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `farmixitems_levels`
--

INSERT INTO `farmixitems_levels` VALUES (1,'1',1),(2,'sr.no',1),(3,'pic',0);

--
-- Table structure for table `farmixjob_orders`
--

CREATE TABLE `farmixjob_orders` (
  `id` int(8) NOT NULL AUTO_INCREMENT,
  `invoice_item_id` int(8) NOT NULL,
  `name` varchar(20) DEFAULT NULL,
  `quantity` int(8) NOT NULL,
  `scheduled_start_date` date DEFAULT NULL,
  `expected_duration` int(8) DEFAULT NULL,
  `actual_duration` date DEFAULT NULL,
  `worksheet` text,
  `priority` enum('1','2','3','4','5') DEFAULT NULL,
  `stages` text,
  `current_stage` varchar(50) DEFAULT NULL,
  `operation_cost` int(8) DEFAULT NULL,
  `total_cost` int(8) DEFAULT NULL,
  `team_member` int(8) DEFAULT NULL,
  `created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `created_by` int(8) DEFAULT NULL,
  `deleted` tinyint(1) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `farmixjob_orders`
--

INSERT INTO `farmixjob_orders` VALUES (1,50,'61',3,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2024-06-06 06:16:55',NULL,0),(2,50,'62',3,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2024-06-06 06:22:11',NULL,0),(3,52,'64',1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2024-10-17 11:24:32',NULL,0),(4,53,'53',5,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2025-02-05 05:29:27',NULL,0),(5,59,'59',1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2025-08-31 07:35:00',NULL,0);

--
-- Table structure for table `farmixjoborder_status`
--

CREATE TABLE `farmixjoborder_status` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `title` varchar(100) COLLATE utf8_unicode_ci NOT NULL,
  `key_name` varchar(100) COLLATE utf8_unicode_ci NOT NULL,
  `color` varchar(7) COLLATE utf8_unicode_ci NOT NULL,
  `sort` int(11) NOT NULL,
  `deleted` tinyint(1) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `farmixjoborder_status`
--

INSERT INTO `farmixjoborder_status` VALUES (1,'In Progress','in_progress','#F9A52D',0,0),(2,'Waiting For A Step','stepa','#1672B9',1,0),(3,'Ready','ready','#00B393',2,0),(4,'Finished','finished','#aab7b7',3,0);

--
-- Table structure for table `farmixlead_source`
--

CREATE TABLE `farmixlead_source` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `title` varchar(100) COLLATE utf8_unicode_ci NOT NULL,
  `sort` int(11) NOT NULL,
  `deleted` tinyint(1) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `farmixlead_source`
--


--
-- Table structure for table `farmixlead_status`
--

CREATE TABLE `farmixlead_status` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `title` varchar(100) COLLATE utf8_unicode_ci NOT NULL,
  `color` varchar(7) COLLATE utf8_unicode_ci NOT NULL,
  `sort` int(11) NOT NULL,
  `deleted` tinyint(1) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `farmixlead_status`
--


--
-- Table structure for table `farmixleads`
--

CREATE TABLE `farmixleads` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `company_name` varchar(150) COLLATE utf8_unicode_ci NOT NULL,
  `first_name` varchar(150) COLLATE utf8_unicode_ci NOT NULL,
  `last_name` varchar(150) COLLATE utf8_unicode_ci NOT NULL,
  `email` varchar(150) COLLATE utf8_unicode_ci NOT NULL,
  `address` text COLLATE utf8_unicode_ci,
  `city` varchar(50) COLLATE utf8_unicode_ci DEFAULT NULL,
  `state` varchar(50) COLLATE utf8_unicode_ci DEFAULT NULL,
  `zip` varchar(50) COLLATE utf8_unicode_ci DEFAULT NULL,
  `country` varchar(50) COLLATE utf8_unicode_ci DEFAULT NULL,
  `created_date` date NOT NULL,
  `website` text COLLATE utf8_unicode_ci,
  `phone` varchar(20) COLLATE utf8_unicode_ci DEFAULT NULL,
  `deleted` tinyint(1) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `farmixleads`
--


--
-- Table structure for table `farmixleave_applications`
--

CREATE TABLE `farmixleave_applications` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `leave_type_id` int(11) NOT NULL,
  `start_date` date NOT NULL,
  `end_date` date NOT NULL,
  `total_hours` decimal(7,2) NOT NULL,
  `total_days` decimal(5,2) NOT NULL,
  `applicant_id` int(11) NOT NULL,
  `reason` mediumtext COLLATE utf8_unicode_ci NOT NULL,
  `status` enum('pending','approved','rejected','canceled') COLLATE utf8_unicode_ci NOT NULL DEFAULT 'pending',
  `created_at` datetime NOT NULL,
  `created_by` int(11) NOT NULL,
  `checked_at` datetime DEFAULT NULL,
  `checked_by` int(11) NOT NULL DEFAULT '0',
  `paid_unpaid` tinyint(1) DEFAULT '1',
  `deleted` int(1) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  KEY `leave_type_id` (`leave_type_id`),
  KEY `user_id` (`applicant_id`),
  KEY `checked_by` (`checked_by`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `farmixleave_applications`
--


--
-- Table structure for table `farmixleave_types`
--

CREATE TABLE `farmixleave_types` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `title` varchar(100) COLLATE utf8_unicode_ci NOT NULL,
  `status` enum('active','inactive') COLLATE utf8_unicode_ci NOT NULL DEFAULT 'active',
  `color` varchar(7) COLLATE utf8_unicode_ci NOT NULL,
  `description` text COLLATE utf8_unicode_ci,
  `max_allowed` int(11) DEFAULT '1',
  `deleted` int(1) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `farmixleave_types`
--

INSERT INTO `farmixleave_types` VALUES (1,'Annual Leavel ','active','#83c340','',30,0);

--
-- Table structure for table `farmixloans`
--

CREATE TABLE `farmixloans` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `user_id` int(11) DEFAULT NULL,
  `amount` double DEFAULT NULL,
  `date` date DEFAULT NULL,
  `deleted` tinyint(1) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `farmixloans`
--


--
-- Table structure for table `farmixmaterial_request`
--

CREATE TABLE `farmixmaterial_request` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `supplier_id` int(11) DEFAULT '0',
  `material_request_date` date NOT NULL,
  `project_id` int(11) NOT NULL DEFAULT '0',
  `labels` text COLLATE utf8_unicode_ci NOT NULL,
  `note` mediumtext COLLATE utf8_unicode_ci,
  `status` enum('draft','not_paid') COLLATE utf8_unicode_ci NOT NULL DEFAULT 'draft',
  `approval_status` enum('not_approved','request_approval','approved') COLLATE utf8_unicode_ci NOT NULL DEFAULT 'not_approved',
  `deleted` tinyint(1) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `farmixmaterial_request`
--


--
-- Table structure for table `farmixmaterial_request_items`
--

CREATE TABLE `farmixmaterial_request_items` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `item_id` int(11) NOT NULL DEFAULT '0',
  `title` text COLLATE utf8_unicode_ci NOT NULL,
  `description` text COLLATE utf8_unicode_ci,
  `quantity` double NOT NULL,
  `unit_type` varchar(20) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
  `rate` double DEFAULT NULL,
  `total` double DEFAULT NULL,
  `sort` int(11) NOT NULL DEFAULT '0',
  `material_request_id` int(11) DEFAULT NULL,
  `tax_id` int(11) DEFAULT '0',
  `tax_id2` int(11) DEFAULT '0',
  `deleted` tinyint(1) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `farmixmaterial_request_items`
--


--
-- Table structure for table `farmixmaterial_request_payments`
--

CREATE TABLE `farmixmaterial_request_payments` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `amount` double NOT NULL,
  `payment_date` date NOT NULL,
  `payment_method_id` int(11) NOT NULL,
  `cheque_due_date` date DEFAULT NULL,
  `cheque_description` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `cheque_account` varchar(150) COLLATE utf8_unicode_ci DEFAULT NULL,
  `cheque_number` varchar(150) COLLATE utf8_unicode_ci DEFAULT NULL,
  `cheque_transaction_id` int(11) NOT NULL DEFAULT '0',
  `note` text COLLATE utf8_unicode_ci,
  `material_request_id` int(11) NOT NULL,
  `status` enum('draft','request_approval','approved') COLLATE utf8_unicode_ci NOT NULL DEFAULT 'draft',
  `deleted` tinyint(1) NOT NULL DEFAULT '0',
  `transaction_id` int(11) DEFAULT '0',
  `prepayment_transaction_id` int(11) NOT NULL DEFAULT '0',
  `created_by` int(11) DEFAULT '1',
  `created_at` datetime DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `id` (`id`),
  KEY `id_2` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `farmixmaterial_request_payments`
--


--
-- Table structure for table `farmixmaterials_bill`
--

CREATE TABLE `farmixmaterials_bill` (
  `id` int(8) NOT NULL AUTO_INCREMENT,
  `item_id` int(8) NOT NULL,
  `quantity` int(8) NOT NULL,
  `cost` int(8) NOT NULL,
  `current_stock` float DEFAULT NULL,
  `job_id` int(8) NOT NULL,
  `is_used` tinyint(1) NOT NULL DEFAULT '0',
  `created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `farmixmaterials_bill`
--


--
-- Table structure for table `farmixmessages`
--

CREATE TABLE `farmixmessages` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `subject` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT 'Untitled',
  `message` mediumtext COLLATE utf8_unicode_ci NOT NULL,
  `created_at` datetime NOT NULL,
  `from_user_id` int(11) NOT NULL,
  `to_user_id` int(11) NOT NULL,
  `status` enum('unread','read') COLLATE utf8_unicode_ci NOT NULL DEFAULT 'unread',
  `message_id` int(11) NOT NULL DEFAULT '0',
  `deleted` int(1) NOT NULL DEFAULT '0',
  `files` longtext COLLATE utf8_unicode_ci NOT NULL,
  `deleted_by_users` text COLLATE utf8_unicode_ci NOT NULL,
  PRIMARY KEY (`id`),
  KEY `message_from` (`from_user_id`),
  KEY `message_to` (`to_user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `farmixmessages`
--


--
-- Table structure for table `farmixmilestones`
--

CREATE TABLE `farmixmilestones` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `title` text COLLATE utf8_unicode_ci NOT NULL,
  `project_id` int(11) NOT NULL,
  `due_date` date NOT NULL,
  `description` text COLLATE utf8_unicode_ci NOT NULL,
  `deleted` tinyint(11) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `farmixmilestones`
--


--
-- Table structure for table `farmixnationality`
--

CREATE TABLE `farmixnationality` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `title` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `deleted` tinyint(1) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE=MyISAM AUTO_INCREMENT=6 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci ROW_FORMAT=DYNAMIC;

--
-- Dumping data for table `farmixnationality`
--

INSERT INTO `farmixnationality` VALUES (1,'Indian',0),(2,'sudan',0),(3,'Egyptian   ',0),(4,'Bangladesh',0),(5,'Omani ',0);

--
-- Table structure for table `farmixnotes`
--

CREATE TABLE `farmixnotes` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `created_by` int(11) NOT NULL,
  `created_at` datetime NOT NULL,
  `title` text COLLATE utf8_unicode_ci NOT NULL,
  `description` mediumtext COLLATE utf8_unicode_ci,
  `project_id` int(11) NOT NULL DEFAULT '0',
  `client_id` int(11) NOT NULL DEFAULT '0',
  `user_id` int(11) NOT NULL DEFAULT '0',
  `labels` text COLLATE utf8_unicode_ci,
  `files` mediumtext COLLATE utf8_unicode_ci NOT NULL,
  `is_public` tinyint(1) NOT NULL DEFAULT '0',
  `deleted` tinyint(1) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `farmixnotes`
--


--
-- Table structure for table `farmixnotification_settings`
--

CREATE TABLE `farmixnotification_settings` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `event` varchar(250) NOT NULL,
  `category` varchar(50) NOT NULL,
  `enable_email` int(1) NOT NULL DEFAULT '0',
  `enable_web` int(1) NOT NULL DEFAULT '0',
  `notify_to_team` text NOT NULL,
  `notify_to_team_members` text NOT NULL,
  `notify_to_terms` text NOT NULL,
  `sort` int(11) NOT NULL,
  `deleted` int(1) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  KEY `event` (`event`)
) ENGINE=InnoDB AUTO_INCREMENT=53 DEFAULT CHARSET=latin1;

--
-- Dumping data for table `farmixnotification_settings`
--

INSERT INTO `farmixnotification_settings` VALUES (1,'project_created','project',0,1,'1','5','client_primary_contact,client_all_contacts',1,0),(2,'project_deleted','project',0,1,'1','5','project_members,client_primary_contact,client_all_contacts',2,0),(3,'project_task_created','project',0,1,'','5','project_members,task_assignee',3,0),(4,'project_task_updated','project',0,1,'','','task_assignee',4,0),(5,'project_task_assigned','project',0,1,'','','task_assignee',5,0),(7,'project_task_started','project',0,1,'','5','project_members,client_primary_contact,client_all_contacts',7,0),(8,'project_task_finished','project',0,0,'','','',8,0),(9,'project_task_reopened','project',0,0,'','','',9,0),(10,'project_task_deleted','project',0,1,'','','task_assignee',10,0),(11,'project_task_commented','project',0,1,'','','task_assignee',11,0),(12,'project_member_added','project',0,1,'','','project_members',12,0),(13,'project_member_deleted','project',0,1,'','','project_members',13,0),(14,'project_file_added','project',0,1,'','','project_members',14,0),(15,'project_file_deleted','project',0,1,'','','project_members',15,0),(16,'project_file_commented','project',0,1,'','','project_members',16,0),(17,'project_comment_added','project',0,1,'','','project_members',17,0),(18,'project_comment_replied','project',0,1,'','','project_members,comment_creator',18,0),(19,'project_customer_feedback_added','project',0,1,'','','project_members',19,0),(20,'project_customer_feedback_replied','project',0,1,'','','project_members,comment_creator',20,0),(21,'client_signup','client',0,0,'','','',21,0),(22,'invoice_online_payment_received','invoice',0,0,'','','',22,0),(23,'leave_application_submitted','leave',0,0,'','','',23,0),(24,'leave_approved','leave',0,1,'','','leave_applicant',24,0),(25,'leave_assigned','leave',0,1,'','','leave_applicant',25,0),(26,'leave_rejected','leave',0,1,'','','leave_applicant',26,0),(27,'leave_canceled','leave',0,0,'','','',27,0),(28,'ticket_created','ticket',0,1,'','6,7,5,11,12,1','client_all_contacts',28,0),(29,'ticket_commented','ticket',0,1,'','','client_primary_contact,ticket_creator',29,0),(30,'ticket_closed','ticket',0,1,'','','client_primary_contact,ticket_creator',30,0),(31,'ticket_reopened','ticket',0,1,'','','client_primary_contact,ticket_creator',31,0),(32,'estimate_request_received','estimate',0,0,'','','',32,0),(33,'estimate_sent','estimate',0,0,'','','',33,0),(34,'estimate_accepted','estimate',0,0,'','','',34,0),(35,'estimate_rejected','estimate',0,0,'','','',35,0),(36,'new_message_sent','message',0,0,'','','',36,0),(37,'message_reply_sent','message',0,0,'','','',37,0),(38,'invoice_payment_confirmation','invoice',0,0,'','','',22,0),(39,'new_event_added_in_calendar','event',0,0,'','','',39,0),(40,'recurring_invoice_created_vai_cron_job','invoice',0,0,'','','',22,0),(41,'new_announcement_created','announcement',1,1,'','','recipient',41,0),(42,'invoice_due_reminder_before_due_date','invoice',0,0,'','','',22,0),(43,'invoice_overdue_reminder','invoice',0,0,'','','',22,0),(44,'recurring_invoice_creation_reminder','invoice',0,0,'','','',22,0),(45,'project_completed','project',0,0,'','','',2,0),(46,'lead_created','lead',0,0,'','','',21,0),(47,'client_created_from_lead','lead',0,0,'','','',21,0),(48,'project_task_deadline_pre_reminder','project',0,1,'','','task_assignee',20,0),(49,'project_task_reminder_on_the_day_of_deadline','project',0,1,'','','task_assignee',20,0),(50,'project_task_deadline_overdue_reminder','project',0,1,'','','task_assignee',20,0),(51,'recurring_task_created_via_cron_job','project',0,1,'','','project_members,task_assignee',20,0),(52,'calendar_event_modified','event',0,0,'','','',39,0);

--
-- Table structure for table `farmixnotifications`
--

CREATE TABLE `farmixnotifications` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `user_id` int(11) NOT NULL,
  `description` longtext COLLATE utf8_unicode_ci NOT NULL,
  `created_at` datetime NOT NULL,
  `notify_to` mediumtext COLLATE utf8_unicode_ci NOT NULL,
  `read_by` mediumtext COLLATE utf8_unicode_ci NOT NULL,
  `event` varchar(250) COLLATE utf8_unicode_ci NOT NULL,
  `project_id` int(11) NOT NULL,
  `task_id` int(11) NOT NULL,
  `project_comment_id` int(11) NOT NULL,
  `ticket_id` int(11) NOT NULL,
  `ticket_comment_id` int(11) NOT NULL,
  `project_file_id` int(11) NOT NULL,
  `leave_id` int(11) NOT NULL,
  `post_id` int(11) NOT NULL,
  `to_user_id` int(11) NOT NULL,
  `activity_log_id` int(11) NOT NULL,
  `client_id` int(11) NOT NULL,
  `lead_id` int(11) NOT NULL,
  `invoice_payment_id` int(11) NOT NULL,
  `invoice_id` int(11) NOT NULL,
  `estimate_id` int(11) NOT NULL,
  `estimate_request_id` int(11) NOT NULL,
  `actual_message_id` int(11) NOT NULL,
  `parent_message_id` int(11) NOT NULL,
  `event_id` int(11) NOT NULL,
  `announcement_id` int(11) NOT NULL,
  `deleted` int(1) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  KEY `user_id` (`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `farmixnotifications`
--


--
-- Table structure for table `farmixpayment_methods`
--

CREATE TABLE `farmixpayment_methods` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `title` text COLLATE utf8_unicode_ci NOT NULL,
  `type` varchar(100) COLLATE utf8_unicode_ci NOT NULL DEFAULT 'custom',
  `description` text COLLATE utf8_unicode_ci NOT NULL,
  `online_payable` tinyint(1) NOT NULL DEFAULT '0',
  `available_on_invoice` tinyint(1) NOT NULL DEFAULT '0',
  `minimum_payment_amount` double NOT NULL DEFAULT '0',
  `settings` longtext COLLATE utf8_unicode_ci NOT NULL,
  `deleted` tinyint(1) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `farmixpayment_methods`
--

INSERT INTO `farmixpayment_methods` VALUES (1,'Cash','custom','',0,0,0,'a:0:{}',0),(4,'Bank transfer / Card','custom','',0,0,0,'a:0:{}',0),(5,'Cheque','custom','',0,0,0,'a:0:{}',0);

--
-- Table structure for table `farmixpaypal_ipn`
--

CREATE TABLE `farmixpaypal_ipn` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `transaction_id` tinytext COLLATE utf8_unicode_ci,
  `ipn_hash` longtext COLLATE utf8_unicode_ci NOT NULL,
  `ipn_data` longtext COLLATE utf8_unicode_ci NOT NULL,
  `deleted` tinyint(1) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `farmixpaypal_ipn`
--


--
-- Table structure for table `farmixpayroll`
--

CREATE TABLE `farmixpayroll` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `month` date NOT NULL,
  `status` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT 'draft',
  `deleted` int(11) NOT NULL DEFAULT '0',
  `payment_item_id` int(11) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=4 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `farmixpayroll`
--

INSERT INTO `farmixpayroll` VALUES (1,'2024-03-01','pending',1,0),(2,'2024-02-01','processed',0,83),(3,'2024-02-01','processed',0,135);

--
-- Table structure for table `farmixpayroll_detail`
--

CREATE TABLE `farmixpayroll_detail` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `payroll_id` int(11) NOT NULL,
  `employee_id` int(11) NOT NULL,
  `salary` float(8,3) NOT NULL,
  `manual_deduction` float(8,3) NOT NULL,
  `manual_deduction_reason` text COLLATE utf8_unicode_ci,
  `manual_bounce` float(8,3) NOT NULL,
  `manual_bonus_reason` text COLLATE utf8_unicode_ci,
  `advance` float(10,3) NOT NULL,
  `loan` float(10,3) NOT NULL,
  `pasi_company` double DEFAULT '0',
  `pasi_employee` double DEFAULT '0',
  `job_s_company` double DEFAULT '0',
  `job_s_employee` double DEFAULT '0',
  `deleted` int(11) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=11 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `farmixpayroll_detail`
--

INSERT INTO `farmixpayroll_detail` VALUES (1,1,2,0.000,0.000,NULL,0.000,NULL,0.000,0.000,0,0,0,0,1),(2,1,4,0.000,0.000,NULL,0.000,NULL,0.000,0.000,0,0,0,0,1),(3,2,6,300.000,0.000,NULL,0.000,NULL,0.000,0.000,0,0,0,0,0),(4,2,2,0.000,0.000,NULL,0.000,NULL,0.000,0.000,0,0,0,0,0),(5,2,7,0.000,0.000,NULL,0.000,NULL,0.000,0.000,0,0,0,0,0),(6,2,4,200.000,0.000,NULL,0.000,NULL,0.000,0.000,0,0,0,0,0),(7,3,6,300.000,0.000,NULL,0.000,NULL,0.000,0.000,0,0,0,0,0),(8,3,2,0.000,0.000,NULL,0.000,NULL,0.000,0.000,0,0,0,0,0),(9,3,7,0.000,0.000,NULL,0.000,NULL,0.000,0.000,0,0,0,0,0),(10,3,4,200.000,0.000,NULL,0.000,NULL,0.000,0.000,0,0,0,0,0);

--
-- Table structure for table `farmixposts`
--

CREATE TABLE `farmixposts` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `created_by` int(11) NOT NULL,
  `created_at` datetime NOT NULL,
  `description` mediumtext COLLATE utf8_unicode_ci NOT NULL,
  `post_id` int(11) NOT NULL,
  `share_with` text COLLATE utf8_unicode_ci,
  `files` longtext COLLATE utf8_unicode_ci,
  `deleted` tinyint(1) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `farmixposts`
--


--
-- Table structure for table `farmixproduct_settings`
--

CREATE TABLE `farmixproduct_settings` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `item_id` int(11) NOT NULL,
  `raw_material` int(11) NOT NULL,
  `uom_id` int(11) NOT NULL,
  `qty` int(11) NOT NULL,
  `cost` double NOT NULL,
  `single` tinyint(4) NOT NULL,
  `deleted` tinyint(4) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=latin1;

--
-- Dumping data for table `farmixproduct_settings`
--

INSERT INTO `farmixproduct_settings` VALUES (3,52,53,8,82,7,0,1),(4,56,55,8,10,0,0,1);

--
-- Table structure for table `farmixproforma_invoice_items`
--

CREATE TABLE `farmixproforma_invoice_items` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `item_id` int(11) NOT NULL DEFAULT '0',
  `title` text COLLATE utf8_unicode_ci NOT NULL,
  `cost` double NOT NULL,
  `description` text COLLATE utf8_unicode_ci,
  `quantity` double NOT NULL,
  `unit_type` varchar(20) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
  `rate` double NOT NULL,
  `total` double NOT NULL,
  `sort` int(11) NOT NULL DEFAULT '0',
  `invoice_id` int(11) NOT NULL,
  `deleted` tinyint(1) NOT NULL DEFAULT '0',
  `old_id` int(11) DEFAULT '0',
  `tax_id` int(11) DEFAULT '0',
  `tax_id2` int(11) DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `farmixproforma_invoice_items`
--


--
-- Table structure for table `farmixproforma_invoice_payments`
--

CREATE TABLE `farmixproforma_invoice_payments` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `amount` double NOT NULL,
  `payment_date` date NOT NULL,
  `payment_method_id` int(11) NOT NULL,
  `cheque_due_date` date DEFAULT NULL,
  `cheque_description` varchar(150) COLLATE utf8_unicode_ci DEFAULT NULL,
  `cheque_account` varchar(150) COLLATE utf8_unicode_ci DEFAULT NULL,
  `cheque_number` varchar(150) COLLATE utf8_unicode_ci DEFAULT NULL,
  `cheque_transaction_id` int(11) NOT NULL DEFAULT '0',
  `note` text COLLATE utf8_unicode_ci,
  `invoice_id` int(11) NOT NULL,
  `status` enum('draft','request_approval','approved','bounce','deposited','refunded','cancelled','delayed','on_hold') COLLATE utf8_unicode_ci NOT NULL DEFAULT 'draft',
  `deleted` tinyint(1) NOT NULL DEFAULT '0',
  `transaction_id` tinytext COLLATE utf8_unicode_ci,
  `account_transaction_id` int(11) NOT NULL DEFAULT '0',
  `advance_transaction_id` int(11) NOT NULL DEFAULT '0',
  `created_by` int(11) DEFAULT '1',
  `created_at` datetime DEFAULT NULL,
  `files` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `bank` int(11) DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `id` (`id`),
  KEY `id_2` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `farmixproforma_invoice_payments`
--


--
-- Table structure for table `farmixproforma_invoices`
--

CREATE TABLE `farmixproforma_invoices` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `quotation_id` int(11) NOT NULL,
  `client_id` int(11) NOT NULL,
  `project_id` int(11) NOT NULL DEFAULT '0',
  `bill_date` date NOT NULL,
  `due_date` date NOT NULL,
  `note` mediumtext COLLATE utf8_unicode_ci,
  `labels` text COLLATE utf8_unicode_ci,
  `last_email_sent_date` date DEFAULT NULL,
  `status` enum('draft','not_paid','cancelled') COLLATE utf8_unicode_ci NOT NULL DEFAULT 'draft',
  `delivery_status` enum('delivered','not_delivered') COLLATE utf8_unicode_ci NOT NULL DEFAULT 'not_delivered',
  `approval_status` enum('not_approved','request_approval','approved') COLLATE utf8_unicode_ci NOT NULL DEFAULT 'not_approved',
  `tax_id` int(11) NOT NULL DEFAULT '0',
  `tax_id2` int(11) NOT NULL DEFAULT '0',
  `recurring` tinyint(4) NOT NULL DEFAULT '0',
  `recurring_invoice_id` int(11) NOT NULL DEFAULT '0',
  `repeat_every` int(11) NOT NULL DEFAULT '0',
  `repeat_type` enum('days','weeks','months','years') COLLATE utf8_unicode_ci DEFAULT NULL,
  `no_of_cycles` int(11) NOT NULL DEFAULT '0',
  `next_recurring_date` date DEFAULT NULL,
  `no_of_cycles_completed` int(11) NOT NULL DEFAULT '0',
  `due_reminder_date` date DEFAULT NULL,
  `recurring_reminder_date` date DEFAULT NULL,
  `discount_amount` double NOT NULL,
  `discount_amount_type` enum('percentage','fixed_amount') COLLATE utf8_unicode_ci NOT NULL,
  `discount_type` enum('before_tax','after_tax') COLLATE utf8_unicode_ci DEFAULT NULL,
  `cancelled_at` datetime DEFAULT NULL,
  `cancelled_by` int(11) NOT NULL,
  `owner` int(11) NOT NULL,
  `revised` int(11) NOT NULL,
  `deleted` tinyint(1) NOT NULL DEFAULT '0',
  `old_project` int(11) DEFAULT '0',
  `old_invoice_no` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `old_quotation_id` int(11) DEFAULT '0',
  `department` int(11) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `farmixproforma_invoices`
--

INSERT INTO `farmixproforma_invoices` VALUES (1,0,5,0,'2024-04-03','2024-05-03','',NULL,NULL,'draft','not_delivered','not_approved',0,0,0,0,1,'months',0,NULL,0,NULL,NULL,0,'percentage',NULL,NULL,0,4,0,1,0,NULL,0,0),(2,0,7,0,'2024-05-27','2024-06-26','',NULL,NULL,'draft','not_delivered','not_approved',0,0,0,0,1,'months',0,NULL,0,NULL,NULL,0,'percentage',NULL,NULL,0,4,0,1,0,NULL,0,0),(3,0,8,0,'2024-06-06','2024-07-06','',NULL,NULL,'draft','not_delivered','not_approved',0,0,0,0,1,'months',0,NULL,0,NULL,NULL,0,'percentage',NULL,NULL,0,4,0,1,0,NULL,0,0),(4,0,8,0,'2024-10-17','2024-11-16','',NULL,NULL,'draft','not_delivered','not_approved',0,0,0,0,1,'months',0,NULL,0,NULL,NULL,0,'percentage',NULL,NULL,0,4,0,1,0,NULL,0,0);

--
-- Table structure for table `farmixproject_comments`
--

CREATE TABLE `farmixproject_comments` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `created_by` int(11) NOT NULL,
  `created_at` datetime NOT NULL,
  `description` mediumtext COLLATE utf8_unicode_ci NOT NULL,
  `project_id` int(11) NOT NULL DEFAULT '0',
  `comment_id` int(11) NOT NULL DEFAULT '0',
  `task_id` int(11) NOT NULL DEFAULT '0',
  `file_id` int(11) NOT NULL DEFAULT '0',
  `customer_feedback_id` int(11) NOT NULL DEFAULT '0',
  `files` longtext COLLATE utf8_unicode_ci,
  `deleted` tinyint(1) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `farmixproject_comments`
--


--
-- Table structure for table `farmixproject_files`
--

CREATE TABLE `farmixproject_files` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `file_name` text COLLATE utf8_unicode_ci NOT NULL,
  `file_id` text COLLATE utf8_unicode_ci,
  `service_type` varchar(20) COLLATE utf8_unicode_ci DEFAULT NULL,
  `description` mediumtext COLLATE utf8_unicode_ci,
  `file_size` double NOT NULL,
  `created_at` datetime NOT NULL,
  `project_id` int(11) NOT NULL,
  `uploaded_by` int(11) NOT NULL,
  `deleted` tinyint(1) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `farmixproject_files`
--


--
-- Table structure for table `farmixproject_members`
--

CREATE TABLE `farmixproject_members` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `user_id` int(11) NOT NULL,
  `project_id` int(11) NOT NULL,
  `is_leader` tinyint(1) DEFAULT '0',
  `deleted` tinyint(1) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `farmixproject_members`
--


--
-- Table structure for table `farmixproject_settings`
--

CREATE TABLE `farmixproject_settings` (
  `project_id` int(11) NOT NULL,
  `setting_name` varchar(100) COLLATE utf8_unicode_ci NOT NULL,
  `setting_value` mediumtext COLLATE utf8_unicode_ci NOT NULL,
  `deleted` tinyint(1) NOT NULL DEFAULT '0',
  UNIQUE KEY `unique_index` (`project_id`,`setting_name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `farmixproject_settings`
--


--
-- Table structure for table `farmixproject_time`
--

CREATE TABLE `farmixproject_time` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `project_id` int(11) NOT NULL,
  `user_id` int(11) NOT NULL,
  `start_time` datetime NOT NULL,
  `end_time` datetime DEFAULT NULL,
  `status` enum('open','logged','approved') COLLATE utf8_unicode_ci NOT NULL DEFAULT 'logged',
  `note` text COLLATE utf8_unicode_ci,
  `task_id` int(11) NOT NULL DEFAULT '0',
  `deleted` tinyint(1) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `farmixproject_time`
--


--
-- Table structure for table `farmixprojects`
--

CREATE TABLE `farmixprojects` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `title` text COLLATE utf8_unicode_ci NOT NULL,
  `description` mediumtext COLLATE utf8_unicode_ci,
  `start_date` date DEFAULT NULL,
  `deadline` date DEFAULT NULL,
  `client_id` int(11) NOT NULL,
  `created_date` date DEFAULT NULL,
  `created_by` int(11) NOT NULL DEFAULT '0',
  `status` enum('open','completed','hold','canceled','pending','') COLLATE utf8_unicode_ci NOT NULL DEFAULT 'pending',
  `labels` text COLLATE utf8_unicode_ci,
  `price` double NOT NULL DEFAULT '0',
  `starred_by` mediumtext COLLATE utf8_unicode_ci NOT NULL,
  `estimate_id` int(11) NOT NULL,
  `geo_location` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `deleted` tinyint(1) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `farmixprojects`
--


--
-- Table structure for table `farmixpurchase_order_items`
--

CREATE TABLE `farmixpurchase_order_items` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `item_id` int(11) NOT NULL DEFAULT '0',
  `title` text COLLATE utf8_unicode_ci NOT NULL,
  `description` text COLLATE utf8_unicode_ci,
  `quantity` double NOT NULL,
  `unit_type` varchar(20) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
  `rate` double NOT NULL,
  `total` double NOT NULL,
  `sort` int(11) NOT NULL DEFAULT '0',
  `purchase_order_id` int(11) NOT NULL,
  `tax_id` int(11) DEFAULT '0',
  `tax_id2` int(11) DEFAULT '0',
  `deleted` tinyint(1) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `farmixpurchase_order_items`
--


--
-- Table structure for table `farmixpurchase_order_payments`
--

CREATE TABLE `farmixpurchase_order_payments` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `files` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `amount` double NOT NULL,
  `payment_date` date NOT NULL,
  `payment_method_id` int(11) NOT NULL,
  `cheque_due_date` date DEFAULT NULL,
  `cheque_description` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `cheque_account` varchar(150) COLLATE utf8_unicode_ci DEFAULT NULL,
  `cheque_number` varchar(150) COLLATE utf8_unicode_ci DEFAULT NULL,
  `cheque_transaction_id` int(11) NOT NULL DEFAULT '0',
  `note` text COLLATE utf8_unicode_ci,
  `purchase_order_id` int(11) NOT NULL,
  `status` enum('draft','request_approval','approved') COLLATE utf8_unicode_ci NOT NULL DEFAULT 'draft',
  `deleted` tinyint(1) NOT NULL DEFAULT '0',
  `transaction_id` int(11) DEFAULT '0',
  `prepayment_transaction_id` int(11) NOT NULL DEFAULT '0',
  `created_by` int(11) DEFAULT '1',
  `bank` int(11) NOT NULL DEFAULT '0',
  `treasury` int(11) NOT NULL DEFAULT '0',
  `created_at` datetime DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `id` (`id`),
  KEY `id_2` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `farmixpurchase_order_payments`
--


--
-- Table structure for table `farmixpurchase_orders`
--

CREATE TABLE `farmixpurchase_orders` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `supplier_id` int(11) NOT NULL,
  `purchase_order_date` date NOT NULL,
  `project_id` int(11) NOT NULL DEFAULT '0',
  `labels` text COLLATE utf8_unicode_ci NOT NULL,
  `note` mediumtext COLLATE utf8_unicode_ci,
  `status` enum('draft','not_paid') COLLATE utf8_unicode_ci NOT NULL DEFAULT 'draft',
  `approval_status` enum('not_approved','request_approval','approved') COLLATE utf8_unicode_ci NOT NULL DEFAULT 'not_approved',
  `deleted` tinyint(1) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `farmixpurchase_orders`
--


--
-- Table structure for table `farmixpurchase_return_items`
--

CREATE TABLE `farmixpurchase_return_items` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `item_id` int(11) NOT NULL,
  `po_item_id` int(11) NOT NULL,
  `quantity` double NOT NULL DEFAULT '0',
  `deleted` int(1) NOT NULL DEFAULT '0',
  `purchase_return_id` int(11) NOT NULL,
  `sort` int(11) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `farmixpurchase_return_items`
--


--
-- Table structure for table `farmixpurchase_returns`
--

CREATE TABLE `farmixpurchase_returns` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `purchase_order_id` int(11) NOT NULL,
  `shipment_id` int(11) DEFAULT NULL,
  `supplier_id` int(11) NOT NULL DEFAULT '0',
  `payment_method_id` int(11) DEFAULT '0',
  `transaction_id` int(11) DEFAULT '0',
  `date` date NOT NULL,
  `status` enum('draft','approved') COLLATE utf8_unicode_ci DEFAULT 'draft',
  `note` text COLLATE utf8_unicode_ci,
  `deleted` int(1) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `farmixpurchase_returns`
--


--
-- Table structure for table `farmixroles`
--

CREATE TABLE `farmixroles` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `title` varchar(100) COLLATE utf8_unicode_ci NOT NULL,
  `permissions` mediumtext COLLATE utf8_unicode_ci,
  `deleted` tinyint(1) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=11 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `farmixroles`
--

INSERT INTO `farmixroles` VALUES (1,'Finance','a:141:{s:5:\"leave\";s:3:\"all\";s:14:\"leave_specific\";s:0:\"\";s:10:\"attendance\";N;s:19:\"attendance_specific\";s:0:\"\";s:7:\"invoice\";N;s:8:\"job_info\";s:3:\"all\";s:15:\"account_setting\";s:3:\"all\";s:16:\"final_settelment\";s:3:\"all\";s:8:\"estimate\";N;s:7:\"expense\";N;s:8:\"expiries\";s:3:\"all\";s:10:\"petty_cash\";N;s:6:\"client\";N;s:4:\"lead\";s:3:\"all\";s:6:\"ticket\";N;s:15:\"ticket_specific\";s:0:\"\";s:12:\"announcement\";s:3:\"all\";s:17:\"approve_budgeting\";N;s:23:\"help_and_knowledge_base\";s:3:\"all\";s:23:\"can_manage_all_projects\";s:1:\"1\";s:19:\"can_create_projects\";s:1:\"1\";s:17:\"can_edit_projects\";s:1:\"1\";s:19:\"can_delete_projects\";N;s:30:\"can_add_remove_project_members\";s:1:\"1\";s:16:\"can_create_tasks\";s:1:\"1\";s:14:\"can_edit_tasks\";s:1:\"1\";s:16:\"can_delete_tasks\";N;s:20:\"can_comment_on_tasks\";N;s:24:\"show_assigned_tasks_only\";N;s:21:\"can_create_milestones\";s:1:\"1\";s:19:\"can_edit_milestones\";s:1:\"1\";s:21:\"can_delete_milestones\";N;s:16:\"can_delete_files\";N;s:34:\"can_view_team_members_contact_info\";s:1:\"1\";s:34:\"can_view_team_members_social_links\";N;s:29:\"team_member_update_permission\";s:3:\"all\";s:38:\"team_member_update_permission_specific\";s:0:\"\";s:27:\"timesheet_manage_permission\";N;s:36:\"timesheet_manage_permission_specific\";N;s:21:\"disable_event_sharing\";s:1:\"1\";s:22:\"hide_team_members_list\";N;s:28:\"can_delete_leave_application\";N;s:10:\"accounting\";s:3:\"all\";s:7:\"payroll\";s:3:\"all\";s:5:\"eroom\";N;s:4:\"logs\";s:0:\"\";s:7:\"reports\";s:3:\"all\";s:25:\"can_access_delivery_notes\";s:1:\"1\";s:25:\"can_create_delivery_notes\";s:1:\"1\";s:23:\"can_edit_delivery_notes\";s:1:\"1\";s:25:\"can_delete_delivery_notes\";N;s:31:\"delivery_note_manage_permission\";s:3:\"all\";s:40:\"delivery_note_manage_permission_specific\";s:0:\"\";s:20:\"can_access_suppliers\";s:1:\"1\";s:20:\"can_create_suppliers\";s:1:\"1\";s:18:\"can_edit_suppliers\";s:1:\"1\";s:20:\"can_delete_suppliers\";N;s:26:\"supplier_manage_permission\";s:3:\"all\";s:35:\"supplier_manage_permission_specific\";s:0:\"\";s:26:\"can_access_purchase_orders\";s:1:\"1\";s:26:\"can_create_purchase_orders\";s:1:\"1\";s:24:\"can_edit_purchase_orders\";s:1:\"1\";s:26:\"can_delete_purchase_orders\";N;s:32:\"purchase_order_manage_permission\";s:3:\"all\";s:41:\"purchase_order_manage_permission_specific\";s:0:\"\";s:16:\"can_access_items\";s:1:\"1\";s:16:\"can_create_items\";s:1:\"1\";s:14:\"can_edit_items\";s:1:\"1\";s:16:\"can_delete_items\";N;s:22:\"item_manage_permission\";s:3:\"all\";s:31:\"item_manage_permission_specific\";s:0:\"\";s:25:\"can_access_items_category\";s:1:\"1\";s:25:\"can_create_items_category\";s:1:\"1\";s:23:\"can_edit_items_category\";s:1:\"1\";s:25:\"can_delete_items_category\";N;s:31:\"item_category_manage_permission\";s:0:\"\";s:40:\"item_category_manage_permission_specific\";s:0:\"\";s:19:\"can_access_expiries\";N;s:21:\"can_access_petty_cash\";N;s:19:\"can_access_expenses\";s:1:\"1\";s:19:\"can_create_expenses\";s:1:\"1\";s:17:\"can_edit_expenses\";s:1:\"1\";s:19:\"can_delete_expenses\";N;s:25:\"expense_manage_permission\";s:3:\"all\";s:34:\"expense_manage_permission_specific\";s:0:\"\";s:20:\"internal_transaction\";N;s:27:\"can_access_invoice_payments\";s:1:\"1\";s:27:\"can_create_invoice_payments\";s:1:\"1\";s:25:\"can_edit_invoice_payments\";s:1:\"1\";s:27:\"can_delete_invoice_payments\";N;s:34:\"can_access_purchase_order_payments\";s:1:\"1\";s:34:\"can_create_purchase_order_payments\";s:1:\"1\";s:32:\"can_edit_purchase_order_payments\";s:1:\"1\";s:34:\"can_delete_purchase_order_payments\";N;s:19:\"can_access_contacts\";N;s:19:\"can_create_contacts\";N;s:17:\"can_edit_contacts\";N;s:19:\"can_delete_contacts\";N;s:25:\"contact_manage_permission\";N;s:34:\"contact_manage_permission_specific\";N;s:18:\"can_access_clients\";s:1:\"1\";s:18:\"can_create_clients\";s:1:\"1\";s:16:\"can_edit_clients\";s:1:\"1\";s:18:\"can_delete_clients\";N;s:24:\"client_manage_permission\";s:3:\"all\";s:33:\"client_manage_permission_specific\";s:0:\"\";s:16:\"can_access_leads\";s:1:\"1\";s:16:\"can_create_leads\";s:1:\"1\";s:14:\"can_edit_leads\";s:1:\"1\";s:16:\"can_delete_leads\";N;s:23:\"leads_manage_permission\";s:3:\"all\";s:32:\"leads_manage_permission_specific\";s:0:\"\";s:19:\"can_access_invoices\";s:1:\"1\";s:19:\"can_create_invoices\";s:1:\"1\";s:17:\"can_edit_invoices\";s:1:\"1\";s:19:\"can_delete_invoices\";N;s:25:\"invoice_manage_permission\";s:3:\"all\";s:34:\"invoice_manage_permission_specific\";s:0:\"\";s:26:\"can_access_invoices_return\";s:1:\"1\";s:26:\"can_create_invoices_return\";s:1:\"1\";s:24:\"can_edit_invoices_return\";s:1:\"1\";s:26:\"can_delete_invoices_return\";N;s:32:\"invoice_return_manage_permission\";s:3:\"all\";s:41:\"invoice_return_manage_permission_specific\";s:0:\"\";s:20:\"can_access_estimates\";s:1:\"1\";s:20:\"can_create_estimates\";s:1:\"1\";s:18:\"can_edit_estimates\";s:1:\"1\";s:20:\"can_delete_estimates\";N;s:26:\"estimate_manage_permission\";s:3:\"all\";s:35:\"estimate_manage_permission_specific\";s:0:\"\";s:16:\"estimate_request\";N;s:8:\"discount\";i:0;s:8:\"expenses\";s:3:\"all\";s:9:\"estimates\";s:3:\"all\";s:8:\"invoices\";s:3:\"all\";s:16:\"invoice_payments\";s:3:\"all\";s:14:\"delivery_notes\";s:3:\"all\";s:15:\"purchase_orders\";s:3:\"all\";s:23:\"purchase_order_payments\";s:3:\"all\";s:8:\"payrolls\";N;s:21:\"internal_transactions\";N;}',0),(2,'SalesManager','a:141:{s:5:\"leave\";N;s:14:\"leave_specific\";s:0:\"\";s:10:\"attendance\";N;s:19:\"attendance_specific\";s:0:\"\";s:7:\"invoice\";N;s:8:\"job_info\";N;s:15:\"account_setting\";N;s:16:\"final_settelment\";N;s:8:\"estimate\";N;s:7:\"expense\";N;s:8:\"expiries\";N;s:10:\"petty_cash\";N;s:6:\"client\";N;s:4:\"lead\";s:3:\"all\";s:6:\"ticket\";N;s:15:\"ticket_specific\";s:0:\"\";s:12:\"announcement\";N;s:17:\"approve_budgeting\";N;s:23:\"help_and_knowledge_base\";N;s:23:\"can_manage_all_projects\";N;s:19:\"can_create_projects\";N;s:17:\"can_edit_projects\";N;s:19:\"can_delete_projects\";N;s:30:\"can_add_remove_project_members\";N;s:16:\"can_create_tasks\";N;s:14:\"can_edit_tasks\";N;s:16:\"can_delete_tasks\";N;s:20:\"can_comment_on_tasks\";N;s:24:\"show_assigned_tasks_only\";N;s:21:\"can_create_milestones\";N;s:19:\"can_edit_milestones\";N;s:21:\"can_delete_milestones\";N;s:16:\"can_delete_files\";N;s:34:\"can_view_team_members_contact_info\";N;s:34:\"can_view_team_members_social_links\";N;s:29:\"team_member_update_permission\";N;s:38:\"team_member_update_permission_specific\";s:0:\"\";s:27:\"timesheet_manage_permission\";N;s:36:\"timesheet_manage_permission_specific\";N;s:21:\"disable_event_sharing\";N;s:22:\"hide_team_members_list\";N;s:28:\"can_delete_leave_application\";N;s:10:\"accounting\";s:0:\"\";s:7:\"payroll\";s:0:\"\";s:5:\"eroom\";N;s:4:\"logs\";s:0:\"\";s:7:\"reports\";s:3:\"all\";s:25:\"can_access_delivery_notes\";s:1:\"1\";s:25:\"can_create_delivery_notes\";s:1:\"1\";s:23:\"can_edit_delivery_notes\";s:1:\"1\";s:25:\"can_delete_delivery_notes\";N;s:31:\"delivery_note_manage_permission\";s:0:\"\";s:40:\"delivery_note_manage_permission_specific\";s:0:\"\";s:20:\"can_access_suppliers\";s:1:\"1\";s:20:\"can_create_suppliers\";s:1:\"1\";s:18:\"can_edit_suppliers\";s:1:\"1\";s:20:\"can_delete_suppliers\";N;s:26:\"supplier_manage_permission\";s:0:\"\";s:35:\"supplier_manage_permission_specific\";s:0:\"\";s:26:\"can_access_purchase_orders\";s:1:\"1\";s:26:\"can_create_purchase_orders\";s:1:\"1\";s:24:\"can_edit_purchase_orders\";s:1:\"1\";s:26:\"can_delete_purchase_orders\";N;s:32:\"purchase_order_manage_permission\";s:0:\"\";s:41:\"purchase_order_manage_permission_specific\";s:0:\"\";s:16:\"can_access_items\";s:1:\"1\";s:16:\"can_create_items\";s:1:\"1\";s:14:\"can_edit_items\";s:1:\"1\";s:16:\"can_delete_items\";N;s:22:\"item_manage_permission\";s:0:\"\";s:31:\"item_manage_permission_specific\";s:0:\"\";s:25:\"can_access_items_category\";s:1:\"1\";s:25:\"can_create_items_category\";s:1:\"1\";s:23:\"can_edit_items_category\";s:1:\"1\";s:25:\"can_delete_items_category\";N;s:31:\"item_category_manage_permission\";s:0:\"\";s:40:\"item_category_manage_permission_specific\";s:0:\"\";s:19:\"can_access_expiries\";N;s:21:\"can_access_petty_cash\";N;s:19:\"can_access_expenses\";N;s:19:\"can_create_expenses\";N;s:17:\"can_edit_expenses\";N;s:19:\"can_delete_expenses\";N;s:25:\"expense_manage_permission\";N;s:34:\"expense_manage_permission_specific\";s:0:\"\";s:20:\"internal_transaction\";N;s:27:\"can_access_invoice_payments\";N;s:27:\"can_create_invoice_payments\";N;s:25:\"can_edit_invoice_payments\";N;s:27:\"can_delete_invoice_payments\";N;s:34:\"can_access_purchase_order_payments\";N;s:34:\"can_create_purchase_order_payments\";N;s:32:\"can_edit_purchase_order_payments\";N;s:34:\"can_delete_purchase_order_payments\";N;s:19:\"can_access_contacts\";N;s:19:\"can_create_contacts\";N;s:17:\"can_edit_contacts\";N;s:19:\"can_delete_contacts\";N;s:25:\"contact_manage_permission\";N;s:34:\"contact_manage_permission_specific\";N;s:18:\"can_access_clients\";s:1:\"1\";s:18:\"can_create_clients\";s:1:\"1\";s:16:\"can_edit_clients\";s:1:\"1\";s:18:\"can_delete_clients\";N;s:24:\"client_manage_permission\";s:3:\"all\";s:33:\"client_manage_permission_specific\";s:0:\"\";s:16:\"can_access_leads\";s:1:\"1\";s:16:\"can_create_leads\";s:1:\"1\";s:14:\"can_edit_leads\";s:1:\"1\";s:16:\"can_delete_leads\";N;s:23:\"leads_manage_permission\";s:3:\"all\";s:32:\"leads_manage_permission_specific\";s:0:\"\";s:19:\"can_access_invoices\";s:1:\"1\";s:19:\"can_create_invoices\";s:1:\"1\";s:17:\"can_edit_invoices\";s:1:\"1\";s:19:\"can_delete_invoices\";N;s:25:\"invoice_manage_permission\";s:3:\"all\";s:34:\"invoice_manage_permission_specific\";s:0:\"\";s:26:\"can_access_invoices_return\";s:1:\"1\";s:26:\"can_create_invoices_return\";s:1:\"1\";s:24:\"can_edit_invoices_return\";s:1:\"1\";s:26:\"can_delete_invoices_return\";N;s:32:\"invoice_return_manage_permission\";s:3:\"all\";s:41:\"invoice_return_manage_permission_specific\";s:0:\"\";s:20:\"can_access_estimates\";s:1:\"1\";s:20:\"can_create_estimates\";s:1:\"1\";s:18:\"can_edit_estimates\";s:1:\"1\";s:20:\"can_delete_estimates\";N;s:26:\"estimate_manage_permission\";s:3:\"all\";s:35:\"estimate_manage_permission_specific\";s:0:\"\";s:16:\"estimate_request\";N;s:8:\"discount\";i:0;s:8:\"expenses\";s:0:\"\";s:9:\"estimates\";s:3:\"all\";s:8:\"invoices\";s:3:\"all\";s:16:\"invoice_payments\";s:3:\"all\";s:14:\"delivery_notes\";s:3:\"all\";s:15:\"purchase_orders\";s:3:\"all\";s:23:\"purchase_order_payments\";s:0:\"\";s:8:\"payrolls\";N;s:21:\"internal_transactions\";N;}',0),(3,'Tushar','a:141:{s:5:\"leave\";N;s:14:\"leave_specific\";s:0:\"\";s:10:\"attendance\";N;s:19:\"attendance_specific\";s:0:\"\";s:7:\"invoice\";N;s:8:\"job_info\";N;s:15:\"account_setting\";N;s:16:\"final_settelment\";N;s:8:\"estimate\";N;s:7:\"expense\";N;s:8:\"expiries\";N;s:10:\"petty_cash\";N;s:6:\"client\";N;s:4:\"lead\";N;s:6:\"ticket\";N;s:15:\"ticket_specific\";s:0:\"\";s:12:\"announcement\";N;s:17:\"approve_budgeting\";N;s:23:\"help_and_knowledge_base\";N;s:23:\"can_manage_all_projects\";N;s:19:\"can_create_projects\";N;s:17:\"can_edit_projects\";N;s:19:\"can_delete_projects\";N;s:30:\"can_add_remove_project_members\";N;s:16:\"can_create_tasks\";N;s:14:\"can_edit_tasks\";N;s:16:\"can_delete_tasks\";N;s:20:\"can_comment_on_tasks\";N;s:24:\"show_assigned_tasks_only\";N;s:21:\"can_create_milestones\";N;s:19:\"can_edit_milestones\";N;s:21:\"can_delete_milestones\";N;s:16:\"can_delete_files\";N;s:34:\"can_view_team_members_contact_info\";N;s:34:\"can_view_team_members_social_links\";N;s:29:\"team_member_update_permission\";N;s:38:\"team_member_update_permission_specific\";s:0:\"\";s:27:\"timesheet_manage_permission\";N;s:36:\"timesheet_manage_permission_specific\";N;s:21:\"disable_event_sharing\";N;s:22:\"hide_team_members_list\";N;s:28:\"can_delete_leave_application\";N;s:10:\"accounting\";s:0:\"\";s:7:\"payroll\";s:0:\"\";s:5:\"eroom\";N;s:4:\"logs\";s:0:\"\";s:7:\"reports\";s:0:\"\";s:25:\"can_access_delivery_notes\";N;s:25:\"can_create_delivery_notes\";N;s:23:\"can_edit_delivery_notes\";N;s:25:\"can_delete_delivery_notes\";N;s:31:\"delivery_note_manage_permission\";N;s:40:\"delivery_note_manage_permission_specific\";s:0:\"\";s:20:\"can_access_suppliers\";N;s:20:\"can_create_suppliers\";N;s:18:\"can_edit_suppliers\";N;s:20:\"can_delete_suppliers\";N;s:26:\"supplier_manage_permission\";N;s:35:\"supplier_manage_permission_specific\";s:0:\"\";s:26:\"can_access_purchase_orders\";N;s:26:\"can_create_purchase_orders\";N;s:24:\"can_edit_purchase_orders\";N;s:26:\"can_delete_purchase_orders\";N;s:32:\"purchase_order_manage_permission\";N;s:41:\"purchase_order_manage_permission_specific\";s:0:\"\";s:16:\"can_access_items\";N;s:16:\"can_create_items\";N;s:14:\"can_edit_items\";N;s:16:\"can_delete_items\";N;s:22:\"item_manage_permission\";N;s:31:\"item_manage_permission_specific\";s:0:\"\";s:25:\"can_access_items_category\";N;s:25:\"can_create_items_category\";N;s:23:\"can_edit_items_category\";N;s:25:\"can_delete_items_category\";N;s:31:\"item_category_manage_permission\";N;s:40:\"item_category_manage_permission_specific\";s:0:\"\";s:19:\"can_access_expiries\";N;s:21:\"can_access_petty_cash\";N;s:19:\"can_access_expenses\";N;s:19:\"can_create_expenses\";N;s:17:\"can_edit_expenses\";N;s:19:\"can_delete_expenses\";N;s:25:\"expense_manage_permission\";N;s:34:\"expense_manage_permission_specific\";s:0:\"\";s:20:\"internal_transaction\";N;s:27:\"can_access_invoice_payments\";N;s:27:\"can_create_invoice_payments\";N;s:25:\"can_edit_invoice_payments\";N;s:27:\"can_delete_invoice_payments\";N;s:34:\"can_access_purchase_order_payments\";N;s:34:\"can_create_purchase_order_payments\";N;s:32:\"can_edit_purchase_order_payments\";N;s:34:\"can_delete_purchase_order_payments\";N;s:19:\"can_access_contacts\";N;s:19:\"can_create_contacts\";N;s:17:\"can_edit_contacts\";N;s:19:\"can_delete_contacts\";N;s:25:\"contact_manage_permission\";N;s:34:\"contact_manage_permission_specific\";N;s:18:\"can_access_clients\";N;s:18:\"can_create_clients\";N;s:16:\"can_edit_clients\";N;s:18:\"can_delete_clients\";N;s:24:\"client_manage_permission\";N;s:33:\"client_manage_permission_specific\";s:0:\"\";s:16:\"can_access_leads\";N;s:16:\"can_create_leads\";N;s:14:\"can_edit_leads\";N;s:16:\"can_delete_leads\";N;s:23:\"leads_manage_permission\";N;s:32:\"leads_manage_permission_specific\";s:0:\"\";s:19:\"can_access_invoices\";N;s:19:\"can_create_invoices\";N;s:17:\"can_edit_invoices\";N;s:19:\"can_delete_invoices\";N;s:25:\"invoice_manage_permission\";N;s:34:\"invoice_manage_permission_specific\";s:0:\"\";s:26:\"can_access_invoices_return\";N;s:26:\"can_create_invoices_return\";N;s:24:\"can_edit_invoices_return\";N;s:26:\"can_delete_invoices_return\";N;s:32:\"invoice_return_manage_permission\";N;s:41:\"invoice_return_manage_permission_specific\";s:0:\"\";s:20:\"can_access_estimates\";N;s:20:\"can_create_estimates\";N;s:18:\"can_edit_estimates\";N;s:20:\"can_delete_estimates\";N;s:26:\"estimate_manage_permission\";N;s:35:\"estimate_manage_permission_specific\";s:0:\"\";s:16:\"estimate_request\";N;s:8:\"discount\";i:0;s:8:\"expenses\";N;s:9:\"estimates\";N;s:8:\"invoices\";N;s:16:\"invoice_payments\";N;s:14:\"delivery_notes\";N;s:15:\"purchase_orders\";N;s:23:\"purchase_order_payments\";N;s:8:\"payrolls\";N;s:21:\"internal_transactions\";N;}',1),(4,'Tushar',NULL,1),(5,'admin',NULL,1),(6,'Sales',NULL,0),(7,'expenses',NULL,0),(8,'Accounting','a:141:{s:5:\"leave\";N;s:14:\"leave_specific\";s:0:\"\";s:10:\"attendance\";N;s:19:\"attendance_specific\";s:0:\"\";s:7:\"invoice\";N;s:8:\"job_info\";N;s:15:\"account_setting\";N;s:16:\"final_settelment\";N;s:8:\"estimate\";N;s:7:\"expense\";N;s:8:\"expiries\";N;s:10:\"petty_cash\";N;s:6:\"client\";N;s:4:\"lead\";N;s:6:\"ticket\";N;s:15:\"ticket_specific\";s:0:\"\";s:12:\"announcement\";N;s:17:\"approve_budgeting\";N;s:23:\"help_and_knowledge_base\";N;s:23:\"can_manage_all_projects\";N;s:19:\"can_create_projects\";N;s:17:\"can_edit_projects\";N;s:19:\"can_delete_projects\";N;s:30:\"can_add_remove_project_members\";N;s:16:\"can_create_tasks\";N;s:14:\"can_edit_tasks\";N;s:16:\"can_delete_tasks\";N;s:20:\"can_comment_on_tasks\";N;s:24:\"show_assigned_tasks_only\";N;s:21:\"can_create_milestones\";N;s:19:\"can_edit_milestones\";N;s:21:\"can_delete_milestones\";N;s:16:\"can_delete_files\";N;s:34:\"can_view_team_members_contact_info\";N;s:34:\"can_view_team_members_social_links\";N;s:29:\"team_member_update_permission\";N;s:38:\"team_member_update_permission_specific\";s:0:\"\";s:27:\"timesheet_manage_permission\";N;s:36:\"timesheet_manage_permission_specific\";N;s:21:\"disable_event_sharing\";N;s:22:\"hide_team_members_list\";N;s:28:\"can_delete_leave_application\";N;s:10:\"accounting\";N;s:7:\"payroll\";N;s:5:\"eroom\";N;s:4:\"logs\";N;s:7:\"reports\";N;s:25:\"can_access_delivery_notes\";N;s:25:\"can_create_delivery_notes\";N;s:23:\"can_edit_delivery_notes\";N;s:25:\"can_delete_delivery_notes\";N;s:31:\"delivery_note_manage_permission\";N;s:40:\"delivery_note_manage_permission_specific\";s:0:\"\";s:20:\"can_access_suppliers\";N;s:20:\"can_create_suppliers\";N;s:18:\"can_edit_suppliers\";N;s:20:\"can_delete_suppliers\";N;s:26:\"supplier_manage_permission\";N;s:35:\"supplier_manage_permission_specific\";s:0:\"\";s:26:\"can_access_purchase_orders\";N;s:26:\"can_create_purchase_orders\";N;s:24:\"can_edit_purchase_orders\";N;s:26:\"can_delete_purchase_orders\";N;s:32:\"purchase_order_manage_permission\";N;s:41:\"purchase_order_manage_permission_specific\";s:0:\"\";s:16:\"can_access_items\";N;s:16:\"can_create_items\";N;s:14:\"can_edit_items\";N;s:16:\"can_delete_items\";N;s:22:\"item_manage_permission\";N;s:31:\"item_manage_permission_specific\";s:0:\"\";s:25:\"can_access_items_category\";N;s:25:\"can_create_items_category\";N;s:23:\"can_edit_items_category\";N;s:25:\"can_delete_items_category\";N;s:31:\"item_category_manage_permission\";N;s:40:\"item_category_manage_permission_specific\";s:0:\"\";s:19:\"can_access_expiries\";N;s:21:\"can_access_petty_cash\";N;s:19:\"can_access_expenses\";s:1:\"1\";s:19:\"can_create_expenses\";N;s:17:\"can_edit_expenses\";N;s:19:\"can_delete_expenses\";N;s:25:\"expense_manage_permission\";N;s:34:\"expense_manage_permission_specific\";s:0:\"\";s:20:\"internal_transaction\";N;s:27:\"can_access_invoice_payments\";N;s:27:\"can_create_invoice_payments\";N;s:25:\"can_edit_invoice_payments\";N;s:27:\"can_delete_invoice_payments\";N;s:34:\"can_access_purchase_order_payments\";N;s:34:\"can_create_purchase_order_payments\";N;s:32:\"can_edit_purchase_order_payments\";N;s:34:\"can_delete_purchase_order_payments\";N;s:19:\"can_access_contacts\";N;s:19:\"can_create_contacts\";N;s:17:\"can_edit_contacts\";N;s:19:\"can_delete_contacts\";N;s:25:\"contact_manage_permission\";N;s:34:\"contact_manage_permission_specific\";N;s:18:\"can_access_clients\";N;s:18:\"can_create_clients\";N;s:16:\"can_edit_clients\";N;s:18:\"can_delete_clients\";N;s:24:\"client_manage_permission\";N;s:33:\"client_manage_permission_specific\";s:0:\"\";s:16:\"can_access_leads\";N;s:16:\"can_create_leads\";N;s:14:\"can_edit_leads\";N;s:16:\"can_delete_leads\";N;s:23:\"leads_manage_permission\";N;s:32:\"leads_manage_permission_specific\";s:0:\"\";s:19:\"can_access_invoices\";N;s:19:\"can_create_invoices\";N;s:17:\"can_edit_invoices\";N;s:19:\"can_delete_invoices\";N;s:25:\"invoice_manage_permission\";N;s:34:\"invoice_manage_permission_specific\";s:0:\"\";s:26:\"can_access_invoices_return\";N;s:26:\"can_create_invoices_return\";N;s:24:\"can_edit_invoices_return\";N;s:26:\"can_delete_invoices_return\";N;s:32:\"invoice_return_manage_permission\";N;s:41:\"invoice_return_manage_permission_specific\";s:0:\"\";s:20:\"can_access_estimates\";N;s:20:\"can_create_estimates\";N;s:18:\"can_edit_estimates\";N;s:20:\"can_delete_estimates\";N;s:26:\"estimate_manage_permission\";N;s:35:\"estimate_manage_permission_specific\";s:0:\"\";s:16:\"estimate_request\";N;s:8:\"discount\";i:0;s:8:\"expenses\";N;s:9:\"estimates\";N;s:8:\"invoices\";N;s:16:\"invoice_payments\";N;s:14:\"delivery_notes\";N;s:15:\"purchase_orders\";N;s:23:\"purchase_order_payments\";N;s:8:\"payrolls\";N;s:21:\"internal_transactions\";N;}',0),(9,'abubahkar',NULL,1),(10,'expenses ',NULL,0);

--
-- Table structure for table `farmixsalary_advance`
--

CREATE TABLE `farmixsalary_advance` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `user_id` int(11) DEFAULT NULL,
  `amount` float NOT NULL DEFAULT '0',
  `date` date DEFAULT NULL,
  `deleted` tinyint(1) DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `farmixsalary_advance`
--


--
-- Table structure for table `farmixsale_return_items`
--

CREATE TABLE `farmixsale_return_items` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `sale_return_id` int(11) NOT NULL,
  `item_id` int(11) NOT NULL,
  `invoice_item_id` int(11) NOT NULL,
  `quantity` double NOT NULL DEFAULT '0',
  `deleted` int(1) NOT NULL DEFAULT '0',
  `sort` int(11) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `farmixsale_return_items`
--


--
-- Table structure for table `farmixsale_returns`
--

CREATE TABLE `farmixsale_returns` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `invoice_id` int(11) NOT NULL,
  `client_id` int(11) NOT NULL DEFAULT '0',
  `payment_method_id` int(11) DEFAULT '0',
  `transaction_id` int(11) DEFAULT '0',
  `date` date NOT NULL,
  `status` enum('draft','approved') COLLATE utf8_unicode_ci DEFAULT 'draft',
  `note` text COLLATE utf8_unicode_ci,
  `deleted` int(1) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `farmixsale_returns`
--


--
-- Table structure for table `farmixsaleorder_status`
--

CREATE TABLE `farmixsaleorder_status` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `title` varchar(100) COLLATE utf8_unicode_ci NOT NULL,
  `key_name` varchar(100) COLLATE utf8_unicode_ci NOT NULL,
  `color` varchar(7) COLLATE utf8_unicode_ci NOT NULL,
  `sort` int(11) NOT NULL,
  `deleted` tinyint(1) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `farmixsaleorder_status`
--

INSERT INTO `farmixsaleorder_status` VALUES (1,'Pending','pending','#F9A52D',0,0),(2,'Ready','ready','#1672B9',1,0),(3,'In Progress','in_progress','#00B393',2,0),(4,'Finished','finished','#aab7b7',3,0);

--
-- Table structure for table `farmixsales_items`
--

CREATE TABLE `farmixsales_items` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `title` text COLLATE utf8_unicode_ci NOT NULL,
  `sale_account_id` int(11) NOT NULL,
  `sale_cost_account_id` int(11) NOT NULL,
  `deleted` tinyint(1) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE=InnoDB AUTO_INCREMENT=8 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci ROW_FORMAT=DYNAMIC;

--
-- Dumping data for table `farmixsales_items`
--

INSERT INTO `farmixsales_items` VALUES (1,'Default Sales',70,62,1),(2,'123',114,92,1),(3,'internet',92,129,1),(4,'Fertilizer ',83,98,1),(5,'Hydrosyl',153,153,1),(6,'Aquamix',153,153,1),(7,'Liquid Organic Fish Fertilizer ',151,151,0);

--
-- Table structure for table `farmixsettings`
--

CREATE TABLE `farmixsettings` (
  `setting_name` varchar(100) COLLATE utf8_unicode_ci NOT NULL,
  `setting_value` mediumtext COLLATE utf8_unicode_ci NOT NULL,
  `type` varchar(20) COLLATE utf8_unicode_ci NOT NULL DEFAULT 'app',
  `deleted` tinyint(1) NOT NULL DEFAULT '0',
  UNIQUE KEY `setting_name` (`setting_name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `farmixsettings`
--

INSERT INTO `farmixsettings` VALUES ('accepted_file_formats','jpg,jpeg,doc,pdf,csv,pptx,xlsx,docx,png,rar','app',0),('allow_partial_invoice_payment_from_clients','','app',0),('allowed_ip_addresses','','app',0),('app_title','Farmix Plant Fertilizer National Agricultural Development Company (SPC)','app',0),('attendance_password','94269935','app',0),('banks_accounts_parent','25','app',0),('cash_on_hand_accounts_parent','25','app',0),('client_can_add_project_files','1','app',0),('client_can_comment_on_files','1','app',0),('client_can_comment_on_tasks','1','app',0),('client_can_create_projects','1','app',0),('client_can_create_tasks','1','app',0),('client_can_edit_tasks','1','app',0),('client_can_view_activity','1','app',0),('client_can_view_gantt','1','app',0),('client_can_view_milestones','1','app',0),('client_can_view_overview','1','app',0),('client_can_view_project_files','1','app',0),('client_can_view_tasks','1','app',0),('client_default_dashboard','','app',0),('client_message_own_contacts','1','app',0),('client_message_users','5','app',0),('clients_accounts_parent','19','app',0),('clients_parent','','app',0),('company_address','C.R: 1418593 P.O Box: 39, Postal Code: 316\nAlsuwayq, Sultanate of Oman','app',0),('company_email','nadc@farmix.net','app',0),('company_name','National Agricultural Development Company (SPC)','app',0),('company_phone','+968 92430555','app',0),('company_vat_number','OM1100415944','app',0),('company_website','www.nadcfarmix.net','app',0),('cost_of_goods_sold','62','app',0),('currency_position','right','app',0),('currency_symbol','  OMR','app',0),('date_format','d-m-Y','app',0),('decimal_separator','.','app',0),('default_bank','61','app',0),('default_cash_on_hand','12','app',0),('default_currency','OMR','app',0),('default_due_date_after_billing_date','30','app',0),('default_git','75','app',0),('default_inventory','18','app',0),('default_sales','70','app',0),('dimensies_rate','0','app',0),('disable_client_login','1','app',0),('disable_client_signup','1','app',0),('discount','60','app',0),('email_protocol','','app',0),('email_sent_from_address','info@teamway.om','app',0),('email_sent_from_name','Teamway','app',0),('email_smtp_host','','app',0),('email_smtp_pass','','app',0),('email_smtp_port','','app',0),('email_smtp_security_type','none','app',0),('email_smtp_user','','app',0),('enable_attendance','','app',0),('enable_email_piping','','app',0),('enable_google_calendar_api','1','app',0),('enable_push_notification','','app',0),('enable_rich_text_editor','1','app',0),('estimate_color','Green','app',0),('estimate_logo','a:1:{s:9:\"file_name\";s:36:\"_file664d9c5dad1bc-estimate-logo.png\";}','app',0),('expenses_accounts_parent','56','app',0),('favicon','a:1:{s:9:\"file_name\";s:30:\"_file665415cb96a0a-favicon.png\";}','app',0),('financial_year_end','2022-01-01','app',0),('first_day_of_week','0','app',0),('hidden_client_menus','','app',0),('imap_email','info@teamway.om','app',0),('imap_host','','app',0),('imap_password','00000','app',0),('imap_port','','app',0),('imap_ssl_enabled','1','app',0),('initial_number_of_the_estimate','34','app',0),('initial_number_of_the_invoice','76','app',0),('invoice_color','','app',0),('invoice_footer','<p class=\"MsoBodyText\"><span style=\"color:#444444;mso-font-width:105%\"><b>R<font face=\"Arial Black\">eceived\nmaterial in Good Condition:<o:p></o:p></font></b></span></p><p class=\"MsoBodyText\" style=\"line-height:13.85pt;mso-line-height-rule:exactly\"><span style=\"color:#444444;mso-font-width:105%\"><b><font face=\"Arial Black\">Name &amp; Signature:&nbsp; &nbsp;&nbsp;<o:p></o:p></font></b></span><font face=\"Arial Black\"><b style=\"color: rgb(68, 68, 68); letter-spacing: -0.133333px;\">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;</b></font><b style=\"text-align: right;\">For<u>&nbsp;National Agricultural Development Company S.P.C</u></b></p><p class=\"MsoBodyText\"><font face=\"Arial Black\"><span style=\"color:#444444;mso-font-width:105%\"><b>&nbsp;</b></span><b style=\"color: rgb(68, 68, 68); letter-spacing: -0.133333px;\">Date:&nbsp;&nbsp;</b></font></p><p class=\"MsoNormal\" align=\"right\" style=\"margin-bottom:8.0pt;text-align:right;\nline-height:115%\"><b><o:p></o:p></b></p><p class=\"MsoBodyText\"><span style=\"color:#444444;mso-font-width:110%\"><b><font face=\"Arial Black\">Company\'s<span style=\"letter-spacing:1.0pt\"> </span><span style=\"letter-spacing:-.1pt\">Seal:<o:p></o:p></span></font></b></span></p><p class=\"MsoBodyText\"><font face=\"Arial Black\"><br></font></p><p class=\"MsoNormal\" style=\"vertical-align:baseline\">\n\n\n\n\n\n\n\n\n\n</p><p class=\"MsoNormal\" style=\"margin-right:295.15pt;line-height:133%\"><b><span style=\"font-size:9.0pt;mso-bidi-font-size:\n11.0pt;line-height:133%;color:#444444;mso-font-width:110%\"><font face=\"Arial Black\">&nbsp;</font></span></b></p>','app',0),('invoice_logo','a:1:{s:9:\"file_name\";s:35:\"_file665421bb9e0d7-invoice-logo.png\";}','app',0),('invoice_prefix','Tax Invoice ','app',0),('item_purchase_code','53434654','app',0),('language','english','app',0),('leave_salary_expenses','4','app',0),('module_announcement','1','app',0),('module_attendance','','app',0),('module_chat','1','app',0),('module_estimate','1','app',0),('module_estimate_request','','app',0),('module_event','1','app',0),('module_expense','1','app',0),('module_help','','app',0),('module_invoice','1','app',0),('module_knowledge_base','1','app',0),('module_lead','1','app',0),('module_leave','1','app',0),('module_message','1','app',0),('module_note','1','app',0),('module_project_timesheet','','app',0),('module_ticket','','app',0),('module_timeline','1','app',0),('module_todo','1','app',0),('no_of_decimals','2','app',0),('payable_cheques','43','app',0),('payable_EOS_benefits','15','app',0),('payable_job_security','9','app',0),('payable_leave_salaries','15','app',0),('payable_PASI','53','app',0),('payable_salaries','46','app',0),('petty_cash_parent','16','app',0),('project_reference_in_tickets','1','app',0),('pusher_app_id','929038','app',0),('pusher_cluster','eu','app',0),('pusher_key','2cbc86a72bfa9a85b0e5','app',0),('pusher_secret','53077cbb420c5e79c8f6','app',0),('receivable_cheques','21','app',0),('rows_per_page','100','app',0),('salary_advances','66','app',0),('salary_expenses','65','app',0),('scrollbar','jquery','app',0),('send_bcc_to','nadc@farmix.net','app',0),('send_estimate_bcc_to','nadc@farmix.net','app',0),('show_background_image_in_signin_page','yes','app',0),('show_logo_in_signin_page','yes','app',0),('show_recent_ticket_comments_at_the_top','1','app',0),('signin_page_background','a:4:{s:9:\"file_name\";s:57:\"system_file6652d96c7a2a5-Screenshot-2024-05-22-110402.png\";s:9:\"file_size\";s:5:\"39276\";s:7:\"file_id\";N;s:12:\"service_type\";N;}','app',0),('site_logo','a:1:{s:9:\"file_name\";s:32:\"_file665415b8bbbd6-site-logo.png\";}','app',0),('suppliers_accounts_parent','37','app',0),('ticket_prefix','','app',0),('time_format','24_hours','app',0),('timezone','Asia/Muscat','app',0),('treasury_accounts_parent','12','app',0),('user_1_allowed_distance','100000','user',0),('user_1_dashboard','','user',0),('user_1_disable_push_notification','0','user',0),('user_1_hidden_topbar_menus','','user',0),('user_1_location','23.620058326708097,58.24233084570313','user',0),('user_1_notification_sound_volume','4','user',0),('user_1_personal_language','english','user',0),('user_10_dashboard','','user',0),('user_10_personal_language','english','user',0),('user_11_dashboard','','user',0),('user_2_dashboard','','user',0),('user_21_dashboard','','user',0),('user_21_personal_language','english','user',0),('user_23_dashboard','','user',0),('user_24_dashboard','','user',0),('user_24_personal_language','arabic','user',0),('user_25_dashboard','','user',0),('user_25_personal_language','english','user',0),('user_3_dashboard','','user',0),('user_39_dashboard','','user',0),('user_39_personal_language','english','user',0),('user_4_dashboard','','user',0),('user_4_personal_language','english','user',0),('user_43_dashboard','','user',0),('user_44_dashboard','','user',0),('user_45_dashboard','','user',0),('user_46_dashboard','','user',0),('user_47_dashboard','','user',0),('user_48_dashboard','','user',0),('user_48_personal_language','english','user',0),('user_49_dashboard','','user',0),('user_5_allowed_distance','100000000','user',0),('user_5_dashboard','','user',0),('user_5_disable_push_notification','1','user',0),('user_5_hidden_topbar_menus','','user',0),('user_5_location','23.673522614041882,57.680654820312505','user',0),('user_5_notification_sound_volume','7','user',0),('user_5_personal_language','english','user',0),('user_53_dashboard','','user',0),('user_54_dashboard','','user',0),('user_54_personal_language','english','user',0),('user_58_dashboard','','user',0),('user_6_dashboard','','user',0),('user_6_personal_language','english','user',0),('user_64_dashboard','','user',0),('user_65_dashboard','','user',0),('user_66_dashboard','','user',0),('user_69_dashboard','','user',0),('user_7_dashboard','','user',0),('user_70_dashboard','','user',0),('user_72_dashboard','','user',0),('user_8_dashboard','','user',0),('user_9_dashboard','','user',0),('VAT_expense','21','app',0),('VAT_in','35','app',0),('VAT_out','27','app',0),('weekend','5','app',0);

--
-- Table structure for table `farmixshipment_items`
--

CREATE TABLE `farmixshipment_items` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `item_id` int(11) NOT NULL,
  `po_item_id` int(11) NOT NULL,
  `quantity` double NOT NULL DEFAULT '0',
  `deleted` int(1) NOT NULL DEFAULT '0',
  `shipment_id` int(11) NOT NULL,
  `sort` int(11) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `farmixshipment_items`
--


--
-- Table structure for table `farmixshipments`
--

CREATE TABLE `farmixshipments` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `purchase_order_id` int(11) NOT NULL,
  `supplier_id` int(11) NOT NULL DEFAULT '0',
  `date` date NOT NULL,
  `invoice_number` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `invoice_date` date DEFAULT NULL,
  `delivery_note_number` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `delivery_note_date` date DEFAULT NULL,
  `status` enum('draft','approved') COLLATE utf8_unicode_ci DEFAULT NULL,
  `note` text COLLATE utf8_unicode_ci,
  `deleted` int(1) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `farmixshipments`
--


--
-- Table structure for table `farmixsocial_links`
--

CREATE TABLE `farmixsocial_links` (
  `id` int(11) NOT NULL,
  `user_id` int(11) NOT NULL,
  `facebook` text COLLATE utf8_unicode_ci,
  `twitter` text COLLATE utf8_unicode_ci,
  `linkedin` text COLLATE utf8_unicode_ci,
  `googleplus` text COLLATE utf8_unicode_ci,
  `digg` text COLLATE utf8_unicode_ci,
  `youtube` text COLLATE utf8_unicode_ci,
  `pinterest` text COLLATE utf8_unicode_ci,
  `instagram` text COLLATE utf8_unicode_ci,
  `github` text COLLATE utf8_unicode_ci,
  `tumblr` text COLLATE utf8_unicode_ci,
  `vine` text COLLATE utf8_unicode_ci,
  `deleted` tinyint(1) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `farmixsocial_links`
--


--
-- Table structure for table `farmixstock_adjustments`
--

CREATE TABLE `farmixstock_adjustments` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `item_id` int(11) NOT NULL,
  `quantity` double NOT NULL DEFAULT '0',
  `note` text COLLATE utf8_unicode_ci,
  `deleted` int(11) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=26 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `farmixstock_adjustments`
--

INSERT INTO `farmixstock_adjustments` VALUES (1,11,200,'',0),(2,10,100,'',0),(3,13,10,'',0),(4,12,10,'',0),(5,15,1,'',0),(6,16,20,'',0),(7,18,200,'',0),(8,17,10,'',0),(9,19,500,'',0),(10,20,1000,'',0),(11,24,1,'',0),(12,25,20,'',0),(13,27,20,'',0),(14,26,1,'',0),(15,30,5,'',0),(16,31,100,'',0),(17,35,10,'',0),(18,36,30,'',0),(19,39,100,'',0),(20,42,40,'',0),(21,44,40,'',0),(22,46,100,'',0),(23,49,100,'',0),(24,48,100,'',0),(25,63,50,'',0);

--
-- Table structure for table `farmixsuppliers`
--

CREATE TABLE `farmixsuppliers` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `company_name` varchar(150) COLLATE utf8_unicode_ci NOT NULL,
  `contact_name` varchar(150) COLLATE utf8_unicode_ci DEFAULT NULL,
  `email` varchar(150) COLLATE utf8_unicode_ci DEFAULT NULL,
  `address` text COLLATE utf8_unicode_ci,
  `city` varchar(50) COLLATE utf8_unicode_ci DEFAULT NULL,
  `state` varchar(50) COLLATE utf8_unicode_ci DEFAULT NULL,
  `zip` varchar(50) COLLATE utf8_unicode_ci DEFAULT NULL,
  `country` varchar(20) COLLATE utf8_unicode_ci DEFAULT NULL,
  `created_date` date DEFAULT NULL,
  `website` text COLLATE utf8_unicode_ci,
  `phone` varchar(20) COLLATE utf8_unicode_ci DEFAULT NULL,
  `alternative_phone` varchar(20) COLLATE utf8_unicode_ci DEFAULT NULL,
  `currency_symbol` varchar(20) COLLATE utf8_unicode_ci DEFAULT NULL,
  `currency` varchar(3) COLLATE utf8_unicode_ci DEFAULT NULL,
  `vat_number` text COLLATE utf8_unicode_ci,
  `note` mediumtext COLLATE utf8_unicode_ci NOT NULL,
  `account_id` int(11) NOT NULL DEFAULT '0',
  `advance_account_id` int(11) NOT NULL DEFAULT '0',
  `deleted` tinyint(4) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=3 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `farmixsuppliers`
--


--
-- Table structure for table `farmixtask_status`
--

CREATE TABLE `farmixtask_status` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `title` varchar(100) COLLATE utf8_unicode_ci NOT NULL,
  `key_name` varchar(100) COLLATE utf8_unicode_ci NOT NULL,
  `color` varchar(7) COLLATE utf8_unicode_ci NOT NULL,
  `sort` int(11) NOT NULL,
  `deleted` tinyint(1) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `farmixtask_status`
--

INSERT INTO `farmixtask_status` VALUES (1,'To Do','to_do','#F9A52D',0,0),(2,'In progress','in_progress','#1672B9',1,0),(3,'Done','done','#00B393',2,0),(4,'holding','','#aab7b7',3,1);

--
-- Table structure for table `farmixtasks`
--

CREATE TABLE `farmixtasks` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `title` text COLLATE utf8_unicode_ci NOT NULL,
  `description` mediumtext COLLATE utf8_unicode_ci,
  `project_id` int(11) NOT NULL DEFAULT '0',
  `milestone_id` int(11) NOT NULL DEFAULT '0',
  `assigned_to` int(11) NOT NULL,
  `deadline` date DEFAULT NULL,
  `labels` text COLLATE utf8_unicode_ci,
  `points` tinyint(4) NOT NULL DEFAULT '1',
  `status` enum('to_do','in_progress','done') COLLATE utf8_unicode_ci NOT NULL DEFAULT 'to_do',
  `status_id` int(11) NOT NULL,
  `start_date` date DEFAULT NULL,
  `collaborators` text COLLATE utf8_unicode_ci NOT NULL,
  `sort` int(11) NOT NULL DEFAULT '0',
  `recurring` tinyint(1) NOT NULL DEFAULT '0',
  `repeat_every` int(11) NOT NULL DEFAULT '0',
  `repeat_type` enum('days','weeks','months','years') COLLATE utf8_unicode_ci DEFAULT NULL,
  `no_of_cycles` int(11) NOT NULL DEFAULT '0',
  `recurring_task_id` int(11) NOT NULL DEFAULT '0',
  `no_of_cycles_completed` int(11) NOT NULL DEFAULT '0',
  `created_date` date NOT NULL,
  `next_recurring_date` date DEFAULT NULL,
  `reminder_date` date NOT NULL,
  `ticket_id` int(11) NOT NULL,
  `deleted` tinyint(11) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `farmixtasks`
--


--
-- Table structure for table `farmixtaxes`
--

CREATE TABLE `farmixtaxes` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `title` tinytext CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  `percentage` double NOT NULL,
  `deleted` tinyint(1) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=8 DEFAULT CHARSET=latin1;

--
-- Dumping data for table `farmixtaxes`
--

INSERT INTO `farmixtaxes` VALUES (1,'VAT (5%)',5,1),(2,'SPD- vat (3%)',3,1),(3,'SPD-Vat ( Nill) new agreement (0%)',0,1),(4,'Vat',5,1),(5,'Tax',5,1),(6,'Shipping Cost',8,0),(7,'Tax',5,0);

--
-- Table structure for table `farmixteam`
--

CREATE TABLE `farmixteam` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `title` text COLLATE utf8_unicode_ci NOT NULL,
  `members` mediumtext COLLATE utf8_unicode_ci NOT NULL,
  `deleted` int(1) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `farmixteam`
--

INSERT INTO `farmixteam` VALUES (1,'Account/IT','4',0),(2,'Sale','5,6',0),(3,'expenses','5,6',1);

--
-- Table structure for table `farmixteam_member_job_info`
--

CREATE TABLE `farmixteam_member_job_info` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `user_id` int(11) NOT NULL,
  `date_of_hire` date DEFAULT NULL,
  `deleted` int(1) NOT NULL DEFAULT '0',
  `salary` double NOT NULL DEFAULT '0',
  `salary_term` varchar(20) COLLATE utf8_unicode_ci DEFAULT NULL,
  `working_hours` int(11) DEFAULT NULL,
  `yearly_leaves` int(11) DEFAULT NULL,
  `housing` float DEFAULT '0',
  `transportation` float DEFAULT '0',
  `telephone` float DEFAULT '0',
  `utility` float DEFAULT '0',
  `national` tinyint(4) DEFAULT '0',
  `pasi` tinyint(4) DEFAULT '1',
  `bank_title` text COLLATE utf8_unicode_ci,
  `account_title` text COLLATE utf8_unicode_ci,
  `account_no` text COLLATE utf8_unicode_ci,
  PRIMARY KEY (`id`),
  KEY `user_id` (`user_id`)
) ENGINE=InnoDB AUTO_INCREMENT=11 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `farmixteam_member_job_info`
--

INSERT INTO `farmixteam_member_job_info` VALUES (2,3,'0000-00-00',0,13000,NULL,8,30,0,0,0,0,0,1,NULL,NULL,NULL),(3,4,'2024-02-04',0,200,NULL,8,30,0,0,0,0,0,0,'bank_muscat','Salary Account ','0348074213730018'),(4,5,'2022-01-02',0,300,NULL,9,0,0,0,0,0,0,1,NULL,NULL,NULL),(5,6,'2022-02-04',0,300,NULL,8,0,0,0,0,0,0,1,'bank_muscat','',''),(6,8,'2023-02-04',0,0,NULL,8,0,0,0,0,0,0,1,NULL,NULL,NULL),(7,9,'0000-00-00',0,0,NULL,0,0,0,0,0,0,0,1,NULL,NULL,NULL),(8,12,'2024-11-01',0,110,NULL,8,30,0,0,0,0,0,1,NULL,NULL,NULL),(9,13,'2024-12-29',0,120,NULL,8,30,0,0,0,0,0,1,NULL,NULL,NULL),(10,14,'2024-02-13',0,225,NULL,8,30,0,0,0,0,0,1,NULL,NULL,NULL);

--
-- Table structure for table `farmixticket_comments`
--

CREATE TABLE `farmixticket_comments` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `created_by` int(11) NOT NULL,
  `created_at` datetime NOT NULL,
  `description` mediumtext COLLATE utf8_unicode_ci NOT NULL,
  `ticket_id` int(11) NOT NULL,
  `files` longtext COLLATE utf8_unicode_ci,
  `deleted` tinyint(1) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `farmixticket_comments`
--


--
-- Table structure for table `farmixticket_types`
--

CREATE TABLE `farmixticket_types` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `title` text COLLATE utf8_unicode_ci NOT NULL,
  `deleted` tinyint(1) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `farmixticket_types`
--

INSERT INTO `farmixticket_types` VALUES (1,'General Support',0),(2,'One way',0),(3,'Two way',0);

--
-- Table structure for table `farmixtickets`
--

CREATE TABLE `farmixtickets` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `client_id` int(11) NOT NULL,
  `project_id` int(11) NOT NULL DEFAULT '0',
  `ticket_type_id` int(11) NOT NULL,
  `title` text COLLATE utf8_unicode_ci NOT NULL,
  `created_by` int(11) NOT NULL,
  `created_at` datetime NOT NULL,
  `status` enum('new','client_replied','open','closed') COLLATE utf8_unicode_ci NOT NULL DEFAULT 'new',
  `last_activity_at` datetime DEFAULT NULL,
  `assigned_to` int(11) NOT NULL DEFAULT '0',
  `creator_name` varchar(100) COLLATE utf8_unicode_ci NOT NULL,
  `creator_email` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `labels` text COLLATE utf8_unicode_ci,
  `task_id` int(11) NOT NULL,
  `closed_at` datetime NOT NULL,
  `deleted` tinyint(1) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `farmixtickets`
--


--
-- Table structure for table `farmixto_do`
--

CREATE TABLE `farmixto_do` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `created_by` int(11) NOT NULL,
  `created_at` datetime NOT NULL,
  `title` text COLLATE utf8_unicode_ci NOT NULL,
  `description` mediumtext COLLATE utf8_unicode_ci,
  `labels` text COLLATE utf8_unicode_ci,
  `status` enum('to_do','done') COLLATE utf8_unicode_ci NOT NULL DEFAULT 'to_do',
  `start_date` date DEFAULT NULL,
  `deleted` tinyint(1) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `farmixto_do`
--


--
-- Table structure for table `farmixtransactions`
--

CREATE TABLE `farmixtransactions` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `date` date NOT NULL,
  `type` text NOT NULL,
  `is_manual` tinyint(1) NOT NULL DEFAULT '0',
  `reference` text,
  `bank_cash` int(11) DEFAULT '0',
  `deleted` tinyint(1) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=1595 DEFAULT CHARSET=utf8;

--
-- Dumping data for table `farmixtransactions`
--

INSERT INTO `farmixtransactions` VALUES (66,'2024-03-12','receipt_voucher',1,'Petrol bill',0,1),(67,'2024-03-19','payment_voucher',1,'',0,1),(68,'2024-03-20','payment_voucher',1,'',0,1),(69,'2024-03-21','payment_voucher',1,'cash on hand ',0,1),(70,'2024-03-21','journal_entry',1,'',0,1),(71,'2024-01-03','Automatic General Expense: Bank',0,NULL,0,0),(72,'2024-01-03','Automatic General Expense: Bank',0,NULL,0,0),(73,'2024-01-09','Automatic General Expense: Bank',0,NULL,0,0),(74,'2024-01-09','Automatic General Expense: Bank',0,NULL,0,0),(75,'2024-01-12','Automatic General Expense: Bank',0,NULL,0,0),(76,'2024-01-13','Automatic General Expense: Bank',0,NULL,0,0),(77,'2024-01-21','journal_entry',1,'',0,0),(78,'2024-02-01','Automatic General Expense: Bank',0,NULL,0,1),(79,'2024-01-01','Petty Cash From Tushar To Admin: Patty cash',0,NULL,0,1),(80,'2024-03-04','Petty Cash From Bank To Tushar: petty Cash',0,NULL,0,1),(81,'2024-02-01','Automatic General Expense: Cash on hand',0,NULL,0,0),(82,'2024-02-01','Automatic General Expense: Bank',0,NULL,0,0),(83,'2024-02-01','Automatic General Expense: Cash on hand',0,NULL,0,0),(84,'2024-02-01','Automatic General Expense: Bank',0,NULL,0,0),(85,'2024-02-05','Automatic General Expense: Bank',0,NULL,0,0),(86,'2024-02-04','Automatic General Expense: Bank',0,NULL,0,0),(87,'2024-02-10','Automatic General Expense: Bank',0,NULL,0,1),(88,'2024-02-15','Automatic General Expense: Bank',0,NULL,0,0),(89,'2024-02-08','Automatic General Expense: Cash on hand',0,NULL,0,0),(90,'2024-02-10','Automatic General Expense: Bank',0,NULL,0,0),(91,'2024-02-10','Automatic General Expense: Cash on hand',0,NULL,0,0),(92,'2024-02-13','Automatic General Expense: Bank',0,NULL,0,0),(93,'2024-02-13','Automatic General Expense: Bank',0,NULL,0,0),(94,'2024-02-13','Automatic General Expense: Bank',0,NULL,0,0),(95,'2024-02-18','Automatic General Expense: Bank',0,NULL,0,0),(96,'2024-02-18','Automatic General Expense: Cash on hand',0,NULL,0,0),(97,'2024-02-01','Automatic General Expense: Bank',0,NULL,0,1),(98,'2024-02-07','Automatic General Expense: Bank',0,NULL,0,0),(99,'2024-02-19','Automatic General Expense: Bank',0,NULL,0,0),(100,'2024-02-21','Automatic General Expense: Bank',0,NULL,0,0),(101,'2024-02-21','Automatic General Expense: Bank',0,NULL,0,0),(102,'2024-02-21','Automatic General Expense: Bank',0,NULL,0,0),(103,'2024-02-22','Automatic General Expense: Bank',0,NULL,0,0),(104,'2024-02-22','Automatic General Expense: Bank',0,NULL,0,0),(105,'2024-02-27','Automatic General Expense: Bank',0,NULL,0,0),(106,'2024-02-28','Automatic General Expense: Bank',0,NULL,0,0),(107,'2024-02-29','Automatic General Expense: Bank',0,NULL,0,0),(108,'2024-02-29','Automatic General Expense: Cash on hand',0,NULL,0,0),(109,'2024-02-29','Automatic General Expense: Bank',0,NULL,0,0),(110,'2024-02-29','Automatic General Expense: Bank',0,NULL,0,0),(111,'2024-03-24','Automatic General Expense: Bank',0,NULL,0,1),(112,'2023-01-04','Automatic General Expense: Bank',0,NULL,0,1),(113,'2023-01-08','Automatic General Expense: Bank',0,NULL,0,1),(114,'2023-01-04','Automatic General Expense: Bank',0,NULL,0,0),(115,'2023-01-08','Automatic General Expense: Bank',0,NULL,0,0),(116,'2024-03-25','journal_entry',1,'100',0,0),(117,'2023-01-19','Automatic General Expense: Bank',0,NULL,0,0),(118,'2023-01-25','Automatic General Expense: Bank',0,NULL,0,0),(119,'2023-01-31','Automatic General Expense: Bank',0,NULL,0,0),(120,'2023-02-02','Automatic General Expense: Bank',0,NULL,0,0),(121,'2023-02-02','Automatic General Expense: Bank',0,NULL,0,0),(122,'2023-02-02','Automatic General Expense: Bank',0,NULL,0,0),(123,'2023-02-08','Automatic General Expense: Bank',0,NULL,0,0),(124,'2023-02-10','Automatic General Expense: Bank',0,NULL,0,0),(125,'2023-02-15','Automatic General Expense: Bank',0,NULL,0,0),(126,'2023-02-18','Automatic General Expense: Bank',0,NULL,0,0),(127,'2023-02-21','Automatic General Expense: Bank',0,NULL,0,0),(128,'2023-02-25','Automatic General Expense: Bank',0,NULL,0,0),(129,'2023-03-01','Automatic General Expense: Bank',0,NULL,0,0),(130,'2023-03-01','Automatic General Expense: Bank',0,NULL,0,0),(131,'2023-03-01','Automatic General Expense: Bank',0,NULL,0,0),(132,'2023-03-09','Automatic General Expense: Bank',0,NULL,0,0),(133,'2023-03-15','Automatic General Expense: Bank',0,NULL,0,0),(134,'2023-03-21','Automatic General Expense: Bank',0,NULL,0,0),(135,'2023-03-28','Automatic General Expense: Bank',0,NULL,0,1),(136,'2023-03-28','Automatic General Expense: Bank',0,NULL,0,0),(137,'2023-04-02','Automatic General Expense: Bank',0,NULL,0,0),(138,'2023-04-02','Automatic General Expense: Bank',0,NULL,0,0),(139,'2023-04-03','Automatic General Expense: Bank',0,NULL,0,0),(140,'2023-04-05','Automatic General Expense: Bank',0,NULL,0,0),(141,'2023-04-14','Automatic General Expense: Bank',0,NULL,0,0),(142,'2023-04-19','Automatic General Expense: Bank',0,NULL,0,0),(143,'2023-04-23','Automatic General Expense: Bank',0,NULL,0,0),(144,'2023-04-02','Automatic General Expense: Bank',0,NULL,0,0),(145,'2023-04-02','Automatic General Expense: Bank',0,NULL,0,0),(146,'2023-05-01','Automatic General Expense: Bank',0,NULL,0,0),(147,'2023-05-01','Automatic General Expense: Bank',0,NULL,0,0),(148,'2023-05-02','Automatic General Expense: Bank',0,NULL,0,0),(149,'2023-05-04','Automatic General Expense: Bank',0,NULL,0,0),(150,'2023-05-09','Automatic General Expense: Bank',0,NULL,0,0),(151,'2023-05-11','Automatic General Expense: Bank',0,NULL,0,0),(152,'2023-05-17','Automatic General Expense: Bank',0,NULL,0,0),(153,'2023-05-31','Automatic General Expense: Bank',0,NULL,0,0),(154,'2023-05-31','Automatic General Expense: Bank',0,NULL,0,0),(155,'2023-06-04','Automatic General Expense: Bank',0,NULL,0,0),(156,'2023-06-06','Automatic General Expense: Bank',0,NULL,0,0),(157,'2023-06-15','Automatic General Expense: Bank',0,NULL,0,0),(158,'2023-06-23','Automatic General Expense: Bank',0,NULL,0,0),(159,'2023-06-27','Automatic General Expense: Bank',0,NULL,0,0),(160,'2023-07-05','Automatic General Expense: Bank',0,NULL,0,0),(161,'2023-07-05','Automatic General Expense: Bank',0,NULL,0,0),(162,'2023-07-03','Automatic General Expense: Bank',0,NULL,0,0),(163,'2023-01-01','Automatic General Expense: Cash on hand',0,NULL,0,0),(164,'2024-01-02','Automatic General Expense: Bank',0,NULL,0,0),(165,'2024-01-02','Automatic General Expense: Bank',0,NULL,0,0),(166,'2023-02-01','Automatic General Expense: Cash on hand',0,NULL,0,0),(167,'2023-03-01','Automatic General Expense: Cash on hand',0,NULL,0,0),(168,'2023-04-01','Automatic General Expense: Cash on hand',0,NULL,0,0),(169,'2023-05-01','Automatic General Expense: Cash on hand',0,NULL,0,0),(170,'2023-06-01','Automatic General Expense: Cash on hand',0,NULL,0,0),(171,'2023-07-12','Automatic General Expense: Bank',0,NULL,0,0),(172,'2023-07-01','Automatic General Expense: Cash on hand',0,NULL,0,0),(173,'2023-07-14','Automatic General Expense: Bank',0,NULL,0,0),(174,'2023-07-16','Automatic General Expense: Bank',0,NULL,0,0),(175,'2023-07-20','Automatic General Expense: Bank',0,NULL,0,0),(176,'2023-07-30','Automatic General Expense: Bank',0,NULL,0,0),(177,'2023-08-01','Automatic General Expense: Cash on hand',0,NULL,0,0),(178,'2023-08-02','Automatic General Expense: Bank',0,NULL,0,0),(179,'2023-09-01','Automatic General Expense: Cash on hand',0,NULL,0,0),(180,'2023-08-02','Automatic General Expense: Bank',0,NULL,0,0),(181,'2023-09-03','Automatic General Expense: Bank',0,NULL,0,0),(182,'2023-08-07','Automatic General Expense: Bank',0,NULL,0,0),(183,'2023-09-04','Automatic General Expense: Bank',0,NULL,0,0),(184,'2023-08-10','Automatic General Expense: Bank',0,NULL,0,0),(185,'2023-09-04','Automatic General Expense: Bank',0,NULL,0,0),(186,'2023-08-13','Automatic General Expense: Bank',0,NULL,0,0),(187,'2023-09-09','Automatic General Expense: Bank',0,NULL,0,0),(188,'2023-08-18','Automatic General Expense: Bank',0,NULL,0,0),(189,'2023-08-27','Automatic General Expense: Bank',0,NULL,0,0),(190,'2023-08-31','Automatic General Expense: Bank',0,NULL,0,0),(191,'2023-09-14','Automatic General Expense: Bank',0,NULL,0,0),(192,'2023-09-15','Automatic General Expense: Bank',0,NULL,0,0),(193,'2023-10-02','Automatic General Expense: Bank',0,NULL,0,0),(194,'2023-09-25','Automatic General Expense: Bank',0,NULL,0,0),(195,'2023-10-02','Automatic General Expense: Bank',0,NULL,0,0),(196,'2023-11-01','Automatic General Expense: Cash on hand',0,NULL,0,0),(197,'2023-10-02','Automatic General Expense: Bank',0,NULL,0,0),(198,'2023-11-02','Automatic General Expense: Bank',0,NULL,0,0),(199,'2023-10-06','Automatic General Expense: Bank',0,NULL,0,0),(200,'2023-11-02','Automatic General Expense: Bank',0,NULL,0,0),(201,'2023-10-07','Automatic General Expense: Bank',0,NULL,0,0),(202,'2023-11-05','Automatic General Expense: Bank',0,NULL,0,0),(203,'2023-10-13','Automatic General Expense: Bank',0,NULL,0,0),(204,'2023-11-05','Automatic General Expense: Bank',0,NULL,0,0),(205,'2023-10-18','Automatic General Expense: Bank',0,NULL,0,0),(206,'2023-10-20','Automatic General Expense: Bank',0,NULL,0,0),(207,'2023-11-05','Automatic General Expense: Bank',0,NULL,0,0),(208,'2023-12-01','Automatic General Expense: Bank',0,NULL,0,0),(209,'2023-11-15','Automatic General Expense: Bank',0,NULL,0,0),(210,'2023-12-01','Automatic General Expense: Cash on hand',0,NULL,0,0),(211,'2023-11-16','Automatic General Expense: Bank',0,NULL,0,0),(212,'2023-12-02','Automatic General Expense: Bank',0,NULL,0,0),(213,'2023-11-17','Automatic General Expense: Bank',0,NULL,0,0),(214,'2023-12-04','Automatic General Expense: Bank',0,NULL,0,0),(215,'2023-11-23','Automatic General Expense: Bank',0,NULL,0,0),(216,'2023-12-04','Automatic General Expense: Bank',0,NULL,0,0),(217,'2023-12-04','Automatic General Expense: Bank',0,NULL,0,0),(218,'2023-12-10','Automatic General Expense: Bank',0,NULL,0,0),(219,'2023-12-10','Automatic General Expense: Bank',0,NULL,0,0),(220,'2023-12-16','Automatic General Expense: Bank',0,NULL,0,0),(221,'2023-12-20','Automatic General Expense: Bank',0,NULL,0,0),(222,'2023-12-23','Automatic General Expense: Bank',0,NULL,0,0),(223,'2023-12-24','Automatic General Expense: Bank',0,NULL,0,0),(224,'2024-01-01','Automatic General Expense: Cash on hand',0,NULL,0,1),(225,'2024-02-01','Automatic General Expense: Cash on hand',0,NULL,0,0),(226,'2023-03-01','journal_entry',1,'3000',0,0),(227,'2023-12-24','Automatic General Expense: Bank',0,NULL,0,0),(228,'2024-03-03','Automatic General Expense: Bank',0,NULL,0,0),(229,'2024-03-04','Automatic General Expense: Bank',0,NULL,0,0),(230,'2024-03-06','Automatic General Expense: Bank',0,NULL,0,0),(231,'2024-03-02','Automatic General Expense: Cash on hand',0,NULL,0,0),(232,'2024-03-03','Automatic General Expense: Bank',0,NULL,0,0),(233,'2024-03-06','Automatic General Expense: Bank',0,NULL,0,0),(234,'2024-01-05','Automatic General Expense: Cash on hand',0,NULL,0,0),(235,'2024-01-22','Automatic General Expense: Bank',0,NULL,0,0),(236,'2024-03-06','Automatic General Expense: Bank',0,NULL,0,0),(237,'2024-03-06','Automatic General Expense: Bank',0,NULL,0,0),(238,'2024-03-06','Automatic General Expense: Bank',0,NULL,0,0),(239,'2024-03-06','Automatic General Expense: Bank',0,NULL,0,0),(240,'2024-03-06','Automatic General Expense: Bank',0,NULL,0,0),(241,'2024-03-10','Automatic General Expense: Bank',0,NULL,0,0),(242,'2024-03-10','Automatic General Expense: Bank',0,NULL,0,0),(243,'2024-03-11','Automatic General Expense: Bank',0,NULL,0,0),(244,'2024-03-11','Automatic General Expense: Bank',0,NULL,0,0),(245,'2024-03-11','Automatic General Expense: Bank',0,NULL,0,0),(246,'2024-03-11','Automatic General Expense: Bank',0,NULL,0,0),(247,'2024-03-13','Automatic General Expense: Bank',0,NULL,0,0),(248,'2024-03-20','Automatic General Expense: Bank',0,NULL,0,0),(249,'2024-03-20','Automatic General Expense: Bank',0,NULL,0,0),(250,'2024-03-21','Automatic General Expense: Bank',0,NULL,0,0),(251,'2024-03-22','Automatic General Expense: Bank',0,NULL,0,0),(252,'2024-03-22','Automatic General Expense: Bank',0,NULL,0,0),(253,'2024-03-24','Automatic General Expense: Bank',0,NULL,0,0),(254,'2024-03-28','Automatic General Expense: Bank',0,NULL,0,0),(255,'2024-03-28','Automatic General Expense: Cash on hand',0,NULL,0,0),(256,'2024-03-29','Automatic General Expense: Bank',0,NULL,0,0),(257,'2024-03-29','Automatic General Expense: Bank',0,NULL,0,0),(258,'2024-03-31','Automatic General Expense: Bank',0,NULL,0,0),(259,'2024-03-31','Automatic General Expense: Cash on hand',0,NULL,0,0),(260,'2024-03-31','Automatic General Expense: Bank',0,NULL,0,0),(261,'2024-03-31','Automatic General Expense: Bank',0,NULL,0,0),(262,'2024-03-31','Automatic General Expense: Cash on hand',0,NULL,0,0),(263,'2024-03-07','Automatic General Expense: Bank',0,NULL,0,0),(264,'2024-03-31','Automatic General Expense: Bank',0,NULL,0,0),(265,'2023-02-10','Automatic General Expense: Bank',0,NULL,0,1),(266,'2023-10-01','Automatic General Expense: Cash on hand',0,NULL,0,0),(267,'2023-10-30','Automatic General Expense: Bank',0,NULL,0,0),(268,'2023-02-13','Automatic General Expense: Bank',0,NULL,0,0),(269,'2023-02-15','Automatic General Expense: Bank',0,NULL,0,0),(270,'2023-02-15','Automatic General Expense: Bank',0,NULL,0,0),(271,'2023-05-28','Automatic General Expense: Bank',0,NULL,0,1),(272,'2023-06-07','Automatic General Expense: Bank',0,NULL,0,0),(273,'2023-07-02','Automatic General Expense: Bank',0,NULL,0,0),(274,'2023-06-07','Automatic General Expense: Bank',0,NULL,0,0),(275,'2023-07-18','Automatic General Expense: Bank',0,NULL,0,0),(276,'2023-06-13','Automatic General Expense: Bank',0,NULL,0,1),(277,'2023-06-14','Automatic General Expense: Bank',0,NULL,0,0),(278,'2023-06-15','Automatic General Expense: Bank',0,NULL,0,0),(279,'2023-06-20','Automatic General Expense: Bank',0,NULL,0,0),(280,'2023-06-21','Automatic General Expense: Bank',0,NULL,0,0),(281,'2023-06-24','Automatic General Expense: Bank',0,NULL,0,1),(282,'2023-08-28','Automatic General Expense: Bank',0,NULL,0,1),(283,'2023-09-26','Automatic General Expense: Bank',0,NULL,0,0),(284,'2023-09-30','Automatic General Expense: Bank',0,NULL,0,1),(285,'2023-10-12','Automatic General Expense: Bank',0,NULL,0,1),(286,'2023-10-15','Automatic General Expense: Bank',0,NULL,0,0),(287,'2023-11-01','Automatic General Expense: Bank',0,NULL,0,1),(288,'2023-10-31','Automatic General Expense: Bank',0,NULL,0,1),(289,'2023-11-12','Automatic General Expense: Bank',0,NULL,0,0),(290,'2023-12-10','Automatic General Expense: Bank',0,NULL,0,0),(291,'2023-11-15','Automatic General Expense: Bank',0,NULL,0,1),(292,'2023-12-11','Automatic General Expense: Bank',0,NULL,0,0),(293,'2023-12-12','Automatic General Expense: Bank',0,NULL,0,0),(294,'2023-12-12','Automatic General Expense: Bank',0,NULL,0,0),(295,'2023-12-12','Automatic General Expense: Bank',0,NULL,0,0),(296,'2023-12-12','Automatic General Expense: Bank',0,NULL,0,0),(297,'2023-12-13','Automatic General Expense: Bank',0,NULL,0,0),(298,'2023-12-13','Automatic General Expense: Bank',0,NULL,0,0),(299,'2023-12-13','Automatic General Expense: Bank',0,NULL,0,0),(300,'2023-12-13','Automatic General Expense: Bank',0,NULL,0,0),(301,'2023-12-13','Automatic General Expense: Bank',0,NULL,0,0),(302,'2023-12-13','Automatic General Expense: Bank',0,NULL,0,0),(303,'2023-12-14','Automatic General Expense: Bank',0,NULL,0,0),(304,'2023-12-16','Automatic General Expense: Bank',0,NULL,0,0),(305,'2023-12-16','Automatic General Expense: Bank',0,NULL,0,0),(306,'2023-12-16','Automatic General Expense: Bank',0,NULL,0,0),(307,'2023-12-16','Automatic General Expense: Bank',0,NULL,0,0),(308,'2023-12-16','Automatic General Expense: Bank',0,NULL,0,0),(309,'2023-12-16','Automatic General Expense: Bank',0,NULL,0,0),(310,'2023-12-16','Automatic General Expense: Bank',0,NULL,0,0),(311,'2023-12-16','Automatic General Expense: Bank',0,NULL,0,0),(312,'2023-12-16','Automatic General Expense: Bank',0,NULL,0,0),(313,'2023-12-16','Automatic General Expense: Bank',0,NULL,0,0),(314,'2023-12-17','Automatic General Expense: Bank',0,NULL,0,0),(315,'2023-12-17','Automatic General Expense: Bank',0,NULL,0,0),(316,'2023-12-17','Automatic General Expense: Bank',0,NULL,0,0),(317,'2023-12-17','Automatic General Expense: Bank',0,NULL,0,0),(318,'2023-12-17','Automatic General Expense: Bank',0,NULL,0,0),(319,'2023-12-17','Automatic General Expense: Bank',0,NULL,0,0),(320,'2023-12-17','Automatic General Expense: Bank',0,NULL,0,0),(321,'2023-12-17','Automatic General Expense: Bank',0,NULL,0,0),(322,'2023-12-17','Automatic General Expense: Bank',0,NULL,0,0),(323,'2023-12-17','Automatic General Expense: Bank',0,NULL,0,0),(324,'2023-12-17','Automatic General Expense: Bank',0,NULL,0,0),(325,'2023-12-18','Automatic General Expense: Bank',0,NULL,0,0),(326,'2023-12-18','Automatic General Expense: Bank',0,NULL,0,0),(327,'2023-12-18','Automatic General Expense: Bank',0,NULL,0,0),(328,'2023-12-18','Automatic General Expense: Bank',0,NULL,0,0),(329,'2023-12-18','Automatic General Expense: Bank',0,NULL,0,0),(330,'2023-12-18','Automatic General Expense: Bank',0,NULL,0,0),(331,'2023-12-18','Automatic General Expense: Bank',0,NULL,0,0),(332,'2023-12-18','Automatic General Expense: Bank',0,NULL,0,0),(333,'2023-12-19','Automatic General Expense: Bank',0,NULL,0,0),(334,'2023-12-24','Automatic General Expense: Bank',0,NULL,0,0),(335,'2023-12-19','Automatic General Expense: Bank',0,NULL,0,0),(336,'2023-12-19','Automatic General Expense: Bank',0,NULL,0,0),(337,'2023-12-19','Automatic General Expense: Bank',0,NULL,0,0),(338,'2023-12-20','Automatic General Expense: Bank',0,NULL,0,0),(339,'2023-12-20','Automatic General Expense: Bank',0,NULL,0,0),(340,'2023-12-24','Automatic General Expense: Bank',0,NULL,0,0),(341,'2023-12-24','Automatic General Expense: Bank',0,NULL,0,0),(342,'2023-12-24','Automatic General Expense: Bank',0,NULL,0,0),(343,'2023-12-24','Automatic General Expense: Bank',0,NULL,0,0),(344,'2023-12-24','Automatic General Expense: Bank',0,NULL,0,0),(345,'2023-12-25','Automatic General Expense: Bank',0,NULL,0,0),(346,'2023-12-25','Automatic General Expense: Bank',0,NULL,0,0),(347,'2023-12-25','Automatic General Expense: Bank',0,NULL,0,0),(348,'2023-12-26','Automatic General Expense: Bank',0,NULL,0,0),(349,'2023-12-26','Automatic General Expense: Bank',0,NULL,0,1),(350,'2023-12-27','Automatic General Expense: Bank',0,NULL,0,0),(351,'2023-12-31','Automatic General Expense: Bank',0,NULL,0,0),(352,'2023-12-31','Automatic General Expense: Bank',0,NULL,0,0),(353,'2023-12-31','Automatic General Expense: Bank',0,NULL,0,0),(354,'2024-01-03','Automatic General Expense: Bank',0,NULL,0,0),(355,'2024-02-06','Automatic General Expense: Bank',0,NULL,0,0),(356,'2024-02-06','Automatic General Expense: Bank',0,NULL,0,0),(357,'2024-03-02','Automatic General Expense: Bank',0,NULL,0,0),(358,'2024-02-03','Automatic General Expense: Bank',0,NULL,0,0),(359,'2024-01-01','Automatic General Expense: Bank',0,NULL,0,0),(360,'2024-02-04','Automatic General Expense: Bank',0,NULL,0,0),(361,'2024-01-01','Automatic General Expense: Bank',0,NULL,0,0),(362,'2024-02-05','Automatic General Expense: Bank',0,NULL,0,0),(363,'2024-01-01','Automatic General Expense: Bank',0,NULL,0,0),(364,'2024-02-05','Automatic General Expense: Bank',0,NULL,0,0),(365,'2024-01-01','Automatic General Expense: Bank',0,NULL,0,0),(366,'2024-02-05','Automatic General Expense: Bank',0,NULL,0,0),(367,'2024-01-02','Automatic General Expense: Bank',0,NULL,0,0),(368,'2024-02-05','Automatic General Expense: Bank',0,NULL,0,0),(369,'2024-01-03','Automatic General Expense: Bank',0,NULL,0,0),(370,'2024-02-05','Automatic General Expense: Bank',0,NULL,0,0),(371,'2024-01-14','Automatic General Expense: Bank',0,NULL,0,0),(372,'2024-02-05','Automatic General Expense: Bank',0,NULL,0,0),(373,'2024-01-16','Automatic General Expense: Bank',0,NULL,0,0),(374,'2024-02-06','Automatic General Expense: Bank',0,NULL,0,0),(375,'2024-01-20','Automatic General Expense: Bank',0,NULL,0,0),(376,'2024-01-24','Automatic General Expense: Bank',0,NULL,0,0),(377,'2024-02-06','Automatic General Expense: Bank',0,NULL,0,0),(378,'2024-01-27','Automatic General Expense: Bank',0,NULL,0,0),(379,'2024-02-07','Automatic General Expense: Bank',0,NULL,0,0),(380,'2024-01-30','Automatic General Expense: Bank',0,NULL,0,0),(381,'2024-02-07','Automatic General Expense: Bank',0,NULL,0,0),(382,'2024-01-30','Automatic General Expense: Bank',0,NULL,0,0),(383,'2024-01-30','Automatic General Expense: Bank',0,NULL,0,0),(384,'2024-02-11','Automatic General Expense: Bank',0,NULL,0,0),(385,'2024-01-31','Automatic General Expense: Bank',0,NULL,0,0),(386,'2024-02-08','Automatic General Expense: Bank',0,NULL,0,0),(387,'2024-02-17','Automatic General Expense: Bank',0,NULL,0,0),(388,'2024-03-02','Automatic General Expense: Bank',0,NULL,0,0),(389,'2024-02-23','Automatic General Expense: Bank',0,NULL,0,0),(390,'2024-03-07','Automatic General Expense: Bank',0,NULL,0,0),(391,'2024-02-25','Automatic General Expense: Bank',0,NULL,0,0),(392,'2024-03-07','Automatic General Expense: Bank',0,NULL,0,0),(393,'2024-02-26','Automatic General Expense: Bank',0,NULL,0,0),(394,'2024-03-25','Automatic General Expense: Bank',0,NULL,0,0),(395,'2024-03-30','Automatic General Expense: Bank',0,NULL,0,0),(396,'2024-03-30','Automatic General Expense: Bank',0,NULL,0,0),(397,'2024-04-01','Automatic General Expense: Cash on hand',0,NULL,0,1),(398,'2024-04-01','Automatic General Expense: Cash on hand',0,NULL,0,0),(399,'2024-04-01','payment_voucher',1,'Petrol ',0,0),(400,'2023-12-10','journal_entry',1,'Opening Balance ',0,0),(401,'2024-04-02','payment_voucher',1,'Petrol',0,1),(402,'2024-04-02','Automatic General Expense: Bank',0,NULL,0,1),(403,'2024-04-02','journal_entry',1,'',0,1),(404,'2024-04-02','journal_entry',1,'',0,1),(405,'2024-04-03','Invoice: AMI/59',0,NULL,0,0),(406,'2024-04-05','Invoice Payment Received: AMI/59',0,NULL,0,1),(407,'2024-04-04','Automatic General Expense: Bank',0,NULL,0,0),(408,'2024-04-04','Automatic General Expense: Bank',0,NULL,0,0),(409,'2024-04-04','Automatic General Expense: Bank',0,NULL,0,0),(410,'2024-03-01','Automatic General Expense: Bank',0,NULL,0,0),(411,'2024-03-07','Automatic General Expense: Bank',0,NULL,0,0),(412,'2024-03-13','Automatic General Expense: Bank',0,NULL,0,0),(413,'2024-03-17','Automatic General Expense: Bank',0,NULL,0,0),(414,'2024-03-21','Automatic General Expense: Bank',0,NULL,0,0),(415,'2024-04-03','Automatic General Expense: Cash on hand',0,NULL,0,0),(416,'2024-04-04','Automatic General Expense: Bank',0,NULL,0,0),(417,'2024-03-27','Automatic General Expense: Bank',0,NULL,0,0),(418,'2024-03-29','Automatic General Expense: Bank',0,NULL,0,0),(419,'2024-04-06','Automatic General Expense: Bank',0,NULL,0,0),(420,'2024-04-08','Automatic General Expense: Cash on hand',0,NULL,0,0),(421,'2024-04-09','Automatic General Expense: Cash on hand',0,NULL,0,0),(422,'2024-04-11','Automatic General Expense: Bank',0,NULL,0,0),(423,'2024-04-11','Automatic General Expense: Cash on hand',0,NULL,0,0),(424,'2024-04-13','Automatic General Expense: Bank',0,NULL,0,0),(425,'2024-04-14','Automatic General Expense: Cash on hand',0,NULL,0,0),(426,'2024-04-21','Automatic General Expense: Bank',0,NULL,0,0),(427,'2024-04-15','Automatic General Expense: Bank',0,NULL,0,0),(428,'2024-04-22','Automatic General Expense: Bank',0,NULL,0,0),(429,'2024-04-22','Automatic General Expense: Bank',0,NULL,0,1),(430,'2024-04-23','Automatic General Expense: Cash on hand',0,NULL,0,0),(431,'2024-04-23','Automatic General Expense: Bank',0,NULL,0,0),(432,'2024-04-26','Automatic General Expense: Cash on hand',0,NULL,0,0),(433,'2024-04-26','Automatic General Expense: Bank',0,NULL,0,0),(434,'2024-04-26','Automatic General Expense: Bank',0,NULL,0,0),(435,'2024-04-29','Automatic General Expense: Cash on hand',0,NULL,0,0),(436,'2024-04-27','Automatic General Expense: Bank',0,NULL,0,0),(437,'2024-04-29','Automatic General Expense: Bank',0,NULL,0,0),(438,'2024-04-30','Automatic General Expense: Bank',0,NULL,0,0),(439,'2024-04-29','Automatic General Expense: Bank',0,NULL,0,1),(440,'2024-04-29','Automatic General Expense: Bank',0,NULL,0,0),(441,'2024-04-29','Automatic General Expense: Bank',0,NULL,0,0),(442,'2024-04-18','Automatic General Expense: Bank',0,NULL,0,0),(443,'2024-04-30','Automatic General Expense: Bank',0,NULL,0,1),(444,'2024-04-30','Automatic General Expense: Bank',0,NULL,0,1),(445,'2024-04-30','Automatic General Expense: Bank',0,NULL,0,1),(446,'2024-05-05','Automatic General Expense: Bank',0,NULL,0,0),(447,'2024-05-05','Automatic General Expense: Bank',0,NULL,0,0),(448,'2024-05-06','Automatic General Expense: Cash on hand',0,NULL,0,0),(449,'2024-05-07','Automatic General Expense: Bank',0,NULL,0,0),(450,'2024-05-07','Automatic General Expense: Bank',0,NULL,0,0),(451,'2024-05-08','Automatic General Expense: Bank',0,NULL,0,0),(452,'2024-05-08','Automatic General Expense: Cash on hand',0,NULL,0,0),(453,'2024-05-09','Automatic General Expense: Cash on hand',0,NULL,0,0),(454,'2024-05-09','Automatic General Expense: Bank',0,NULL,0,0),(455,'2024-05-09','Automatic General Expense: Cash on hand',0,NULL,0,0),(456,'2024-05-11','Automatic General Expense: Cash on hand',0,NULL,0,0),(457,'2024-05-11','Automatic General Expense: Bank',0,NULL,0,0),(458,'2024-05-12','Automatic General Expense: Bank',0,NULL,0,0),(459,'2024-05-12','Automatic General Expense: Bank',0,NULL,0,0),(460,'2024-05-12','Automatic General Expense: Bank',0,NULL,0,0),(461,'2024-05-12','Automatic General Expense: Cash on hand',0,NULL,0,0),(462,'2024-05-13','Automatic General Expense: Cash on hand',0,NULL,0,0),(463,'2024-05-13','Automatic General Expense: Cash on hand',0,NULL,0,0),(464,'2024-05-14','Automatic General Expense: Cash on hand',0,NULL,0,0),(465,'2024-05-20','Automatic General Expense: Bank',0,NULL,0,0),(466,'2024-05-02','Automatic General Expense: Bank',0,NULL,0,0),(467,'2024-05-14','Automatic General Expense: Cash on hand',0,NULL,0,0),(468,'2024-05-14','Automatic General Expense: Cash on hand',0,NULL,0,0),(469,'2024-05-14','Automatic General Expense: Cash on hand',0,NULL,0,0),(470,'2024-05-14','Automatic General Expense: Cash on hand',0,NULL,0,0),(471,'2024-05-14','Automatic General Expense: Bank',0,NULL,0,0),(472,'2024-05-14','Automatic General Expense: Bank',0,NULL,0,0),(473,'2024-05-15','Automatic General Expense: Bank',0,NULL,0,0),(474,'2024-05-16','Automatic General Expense: Cash on hand',0,NULL,0,0),(475,'2024-05-16','Automatic General Expense: Cash on hand',0,NULL,0,0),(476,'2024-05-18','Automatic General Expense: Cash on hand',0,NULL,0,0),(477,'2024-05-18','Automatic General Expense: Cash on hand',0,NULL,0,0),(478,'2024-05-18','Automatic General Expense: Bank',0,NULL,0,0),(479,'2024-05-18','Automatic General Expense: Bank',0,NULL,0,0),(480,'2024-05-19','Automatic General Expense: Bank',0,NULL,0,0),(481,'2024-05-21','Automatic General Expense: Bank',0,NULL,0,0),(482,'2024-05-21','Automatic General Expense: Bank',0,NULL,0,0),(483,'2024-05-22','Automatic General Expense: Cash on hand',0,NULL,0,0),(484,'2024-05-22','Automatic General Expense: Bank',0,NULL,0,0),(485,'2024-04-18','Automatic General Expense: Bank',0,NULL,0,0),(486,'2024-02-06','Automatic General Expense: Bank',0,NULL,0,0),(487,'2024-01-01','Automatic General Expense: Cash on hand',0,NULL,0,0),(488,'2024-01-25','Automatic General Expense: Bank',0,NULL,0,0),(489,'2024-04-25','Automatic General Expense: Bank',0,NULL,0,0),(490,'2024-04-30','Automatic General Expense: Bank',0,NULL,0,0),(491,'2024-05-23','Automatic General Expense: Cash on hand',0,NULL,0,0),(492,'2024-05-23','Automatic General Expense: Cash on hand',0,NULL,0,0),(493,'2024-05-25','Automatic General Expense: Bank',0,NULL,0,0),(494,'2024-05-26','Automatic General Expense: Cash on hand',0,NULL,0,0),(495,'2024-05-27','Invoice Payment Received: Suq/0159',0,NULL,0,1),(496,'2024-05-29','Invoice Payment Received: SUQ/0159',0,NULL,0,1),(497,'2024-05-27','Automatic General Expense: Cash on hand',0,NULL,0,0),(498,'2024-05-29','Automatic General Expense: Cash on hand',0,NULL,0,0),(499,'2024-05-29','Automatic General Expense: Bank',0,NULL,0,0),(500,'2024-05-29','Automatic General Expense: Bank',0,NULL,0,0),(501,'2024-05-29','Automatic General Expense: Bank',0,NULL,0,0),(502,'2024-05-30','Automatic General Expense: Bank',0,NULL,0,1),(503,'2024-06-01','Automatic General Expense: Cash on hand',0,NULL,0,0),(504,'2024-06-01','Automatic General Expense: Bank',0,NULL,0,0),(505,'2024-06-01','Automatic General Expense: Bank',0,NULL,0,0),(506,'2024-06-02','Automatic General Expense: Bank',0,NULL,0,0),(507,'2024-06-02','Automatic General Expense: Bank',0,NULL,0,0),(508,'2024-06-02','Automatic General Expense: Bank',0,NULL,0,0),(509,'2024-06-02','Automatic General Expense: Bank',0,NULL,0,0),(510,'2024-06-02','Automatic General Expense: Bank',0,NULL,0,0),(511,'2024-06-02','Automatic General Expense: Cash on hand',0,NULL,0,0),(512,'2024-05-30','Automatic General Expense: Bank',0,NULL,0,0),(513,'2024-06-03','Automatic General Expense: Bank',0,NULL,0,0),(514,'2024-06-03','Automatic General Expense: Bank',0,NULL,0,0),(515,'2024-06-03','Automatic General Expense: Bank',0,NULL,0,0),(516,'2024-06-04','Automatic General Expense: Bank',0,NULL,0,0),(517,'2024-06-04','Automatic General Expense: Bank',0,NULL,0,0),(518,'2024-06-10','Invoice Payment Received: SUQ/0159',0,NULL,0,1),(519,'2024-06-06','Invoice: SUQ/0161',0,NULL,0,0),(520,'2024-06-06','Invoice: SUQ/0162',0,NULL,0,0),(521,'2024-06-06','Invoice Inventory: SUQ/0162',0,NULL,0,0),(522,'2024-06-05','Automatic General Expense: Cash on hand',0,NULL,0,0),(523,'2024-06-06','Automatic General Expense: Bank',0,NULL,0,0),(524,'2024-06-06','Automatic General Expense: Bank',0,NULL,0,0),(525,'2024-06-06','Automatic General Expense: Bank',0,NULL,0,0),(526,'2024-06-08','Automatic General Expense: Bank',0,NULL,0,0),(527,'2024-06-08','Automatic General Expense: Bank',0,NULL,0,0),(528,'2024-06-08','Automatic General Expense: Bank',0,NULL,0,0),(529,'2024-06-08','Automatic General Expense: Bank',0,NULL,0,0),(530,'2024-06-08','Automatic General Expense: Cash on hand',0,NULL,0,0),(531,'2024-06-09','Automatic General Expense: Bank',0,NULL,0,0),(532,'2024-06-09','Automatic General Expense: Bank',0,NULL,0,0),(533,'2024-06-09','Automatic General Expense: Bank',0,NULL,0,0),(534,'2024-06-10','Automatic General Expense: Bank',0,NULL,0,0),(535,'2024-06-09','Automatic General Expense: Cash on hand',0,NULL,0,0),(536,'2024-06-10','Automatic General Expense: Bank',0,NULL,0,0),(537,'2024-06-10','Automatic General Expense: Bank',0,NULL,0,0),(538,'2024-06-12','Automatic General Expense: Cash on hand',0,NULL,0,0),(539,'2024-06-12','Automatic General Expense: Bank',0,NULL,0,0),(540,'2024-06-12','Automatic General Expense: Bank',0,NULL,0,0),(541,'2024-06-12','Automatic General Expense: Bank',0,NULL,0,0),(542,'2024-06-13','Automatic General Expense: Cash on hand',0,NULL,0,0),(543,'2024-06-13','Automatic General Expense: Cash on hand',0,NULL,0,0),(544,'2024-06-13','Automatic General Expense: Bank',0,NULL,0,1),(545,'2024-06-13','payment_voucher',1,'',0,1),(546,'2024-06-20','payment_voucher',1,'Eng: Ahmed ',0,1),(547,'2024-06-20','payment_voucher',1,'Cash',0,1),(548,'2024-06-20','Automatic General Expense: Cash on hand',0,NULL,0,1),(549,'2024-06-20','journal_entry',1,'worker ',0,0),(550,'2024-06-20','Automatic General Expense: Cash on hand',0,NULL,0,1),(551,'2024-06-20','Automatic General Expense: Cash on hand',0,NULL,0,1),(552,'2024-06-13','Automatic General Expense: Bank',0,NULL,0,1),(553,'2024-06-13','Automatic General Expense: Bank',0,NULL,0,1),(554,'2024-06-20','Automatic General Expense: Cash on hand',0,NULL,0,1),(555,'2024-06-20','Automatic General Expense: Cash on hand',0,NULL,0,1),(556,'2024-06-22','Automatic General Expense: Cash on hand',0,NULL,0,0),(557,'2024-06-22','Automatic General Expense: Cash on hand',0,NULL,0,0),(558,'2024-06-22','Automatic General Expense: Cash on hand',0,NULL,0,0),(559,'2024-06-22','Automatic General Expense: Bank',0,NULL,0,0),(560,'2024-06-22','Automatic General Expense: Cash on hand',0,NULL,0,0),(561,'2024-06-22','Automatic General Expense: Bank',0,NULL,0,1),(562,'2024-06-22','Automatic General Expense: Bank',0,NULL,0,0),(563,'2024-06-22','Automatic General Expense: Bank',0,NULL,0,0),(564,'2024-06-22','Automatic General Expense: Bank',0,NULL,0,0),(565,'2024-06-13','Automatic General Expense: Bank',0,NULL,0,0),(566,'2024-06-13','Automatic General Expense: Bank',0,NULL,0,0),(567,'2024-06-20','Automatic General Expense: Cash on hand',0,NULL,0,0),(568,'2024-06-20','Automatic General Expense: Cash on hand',0,NULL,0,0),(569,'2024-06-22','Automatic General Expense: Cash on hand',0,NULL,0,1),(570,'2024-06-22','Automatic General Expense: Cash on hand',0,NULL,0,0),(571,'2024-06-22','Automatic General Expense: Cash on hand',0,NULL,0,0),(572,'2024-06-22','Automatic General Expense: Cash on hand',0,NULL,0,0),(573,'2024-06-22','Automatic General Expense: Bank',0,NULL,0,0),(574,'2024-06-22','Automatic General Expense: Cash on hand',0,NULL,0,0),(575,'2024-06-22','Automatic General Expense: Cash on hand',0,NULL,0,0),(576,'2024-06-23','Automatic General Expense: Bank',0,NULL,0,0),(577,'2024-06-23','Automatic General Expense: Bank',0,NULL,0,0),(578,'2024-06-24','Automatic General Expense: Bank',0,NULL,0,0),(579,'2024-06-24','Automatic General Expense: Cash on hand',0,NULL,0,0),(580,'2024-06-24','Automatic General Expense: Cash on hand',0,NULL,0,0),(581,'2024-06-24','Automatic General Expense: Cash on hand',0,NULL,0,0),(582,'2024-06-24','Automatic General Expense: Bank',0,NULL,0,0),(583,'2024-06-24','Automatic General Expense: Bank',0,NULL,0,0),(584,'2024-06-24','Automatic General Expense: Bank',0,NULL,0,0),(585,'2024-06-24','Automatic General Expense: Cash on hand',0,NULL,0,0),(586,'2024-06-25','Automatic General Expense: Bank',0,NULL,0,0),(587,'2024-06-27','journal_entry',1,'',0,1),(588,'2024-06-27','receipt_voucher',1,'',83,1),(589,'2024-06-27','journal_entry',1,'',0,1),(590,'2024-06-27','payment_voucher',1,'',83,1),(591,'2024-06-25','Automatic General Expense: Cash on hand',0,NULL,0,0),(592,'2024-06-25','Automatic General Expense: Cash on hand',0,NULL,0,0),(593,'2024-06-25','Automatic General Expense: Cash on hand',0,NULL,0,0),(594,'2024-06-25','Automatic General Expense: Bank',0,NULL,0,0),(595,'2024-06-25','Automatic General Expense: Bank',0,NULL,0,0),(596,'2024-06-25','Automatic General Expense: Bank',0,NULL,0,0),(597,'2024-06-26','Automatic General Expense: Bank',0,NULL,0,0),(598,'2024-06-26','Automatic General Expense: Bank',0,NULL,0,0),(599,'2024-06-26','Automatic General Expense: Bank',0,NULL,0,0),(600,'2024-06-26','Automatic General Expense: Cash on hand',0,NULL,0,0),(601,'2024-06-27','Automatic General Expense: Bank',0,NULL,0,0),(602,'2024-06-27','Automatic General Expense: Bank',0,NULL,0,0),(603,'2024-06-27','Automatic General Expense: Bank',0,NULL,0,0),(604,'2024-06-27','Automatic General Expense: Cash on hand',0,NULL,0,0),(605,'2024-06-27','Automatic General Expense: Bank',0,NULL,0,0),(606,'2024-06-27','Automatic General Expense: Bank',0,NULL,0,0),(607,'2024-06-27','Automatic General Expense: Bank',0,NULL,0,0),(608,'2024-06-28','Automatic General Expense: Bank',0,NULL,0,0),(609,'2024-06-28','Automatic General Expense: Bank',0,NULL,0,0),(610,'2024-06-28','Automatic General Expense: Bank',0,NULL,0,0),(611,'2024-06-29','Automatic General Expense: Bank',0,NULL,0,0),(612,'2024-06-29','Automatic General Expense: Bank',0,NULL,0,0),(613,'2024-06-29','Automatic General Expense: Bank',0,NULL,0,0),(614,'2024-06-29','Automatic General Expense: Bank',0,NULL,0,0),(615,'2024-06-29','Automatic General Expense: Cash on hand',0,NULL,0,0),(616,'2024-06-29','Automatic General Expense: Bank',0,NULL,0,0),(617,'2024-06-29','Automatic General Expense: Bank',0,NULL,0,0),(618,'2024-06-29','Automatic General Expense: Bank',0,NULL,0,0),(619,'2024-06-30','Automatic General Expense: Bank',0,NULL,0,0),(620,'2024-06-30','Automatic General Expense: Bank',0,NULL,0,0),(621,'2024-06-30','Automatic General Expense: Bank',0,NULL,0,0),(622,'2024-06-30','Automatic General Expense: Bank',0,NULL,0,0),(623,'2024-06-30','Automatic General Expense: Bank',0,NULL,0,0),(624,'2024-06-30','Automatic General Expense: Cash on hand',0,NULL,0,0),(625,'2024-06-30','Automatic General Expense: Bank',0,NULL,0,0),(626,'2024-06-30','Automatic General Expense: Bank',0,NULL,0,0),(627,'2024-06-30','Automatic General Expense: Bank',0,NULL,0,0),(628,'2024-06-22','Automatic General Expense: Bank',0,NULL,0,0),(629,'2024-06-30','Automatic General Expense: Bank',0,NULL,0,0),(630,'2024-07-01','Automatic General Expense: Bank',0,NULL,0,0),(631,'2024-07-01','Automatic General Expense: Bank',0,NULL,0,0),(632,'2024-07-01','Automatic General Expense: Bank',0,NULL,0,0),(633,'2024-07-01','Automatic General Expense: Bank',0,NULL,0,0),(634,'2024-07-01','Automatic General Expense: Bank',0,NULL,0,0),(635,'2024-07-02','Automatic General Expense: Bank',0,NULL,0,0),(636,'2024-07-03','Automatic General Expense: Bank',0,NULL,0,0),(637,'2024-07-03','Automatic General Expense: Bank',0,NULL,0,0),(638,'2024-07-03','Automatic General Expense: Bank',0,NULL,0,0),(639,'2024-07-03','Automatic General Expense: Bank',0,NULL,0,0),(640,'2024-07-03','Petty Cash From Cash To Abobakr Ismail Ahmed: Office Expenses',0,NULL,0,1),(641,'2024-07-03','Automatic General Expense: Bank',0,NULL,0,0),(642,'2024-07-03','Automatic General Expense: Bank',0,NULL,0,0),(643,'2024-07-04','Automatic General Expense: Cash on hand',0,NULL,0,0),(644,'2024-07-04','Automatic General Expense: Cash on hand',0,NULL,0,0),(645,'2024-07-04','Automatic General Expense: Bank',0,NULL,0,1),(646,'2024-07-04','Automatic General Expense: Bank',0,NULL,0,0),(647,'2024-07-04','Automatic General Expense: Cash on hand',0,NULL,0,0),(648,'2024-07-07','Automatic General Expense: Cash on hand',0,NULL,0,0),(649,'2024-07-07','Automatic General Expense: Cash on hand',0,NULL,0,0),(650,'2024-07-07','Automatic General Expense: Bank',0,NULL,0,0),(651,'2024-07-08','Automatic General Expense: Bank',0,NULL,0,0),(652,'2024-07-13','Automatic General Expense: Bank',0,NULL,0,0),(653,'2024-07-15','Automatic General Expense: Bank',0,NULL,0,0),(654,'2024-07-17','Automatic General Expense: Bank',0,NULL,0,0),(655,'2024-07-17','Automatic General Expense: Bank',0,NULL,0,0),(656,'2024-07-17','Automatic General Expense: Bank',0,NULL,0,0),(657,'2024-07-17','Automatic General Expense: Bank',0,NULL,0,0),(658,'2024-07-17','Automatic General Expense: Bank',0,NULL,0,0),(659,'2024-07-20','Automatic General Expense: Bank',0,NULL,0,0),(660,'2024-07-27','Automatic General Expense: Bank',0,NULL,0,0),(661,'2024-07-23','Automatic General Expense: Bank',0,NULL,0,0),(662,'2024-07-23','Automatic General Expense: Cash on hand',0,NULL,0,0),(663,'2024-07-23','Automatic General Expense: Bank',0,NULL,0,0),(664,'2024-07-21','Automatic General Expense: Bank',0,NULL,0,0),(665,'2024-07-20','Automatic General Expense: Bank',0,NULL,0,0),(666,'2024-07-30','Automatic General Expense: Bank',0,NULL,0,0),(667,'2024-07-31','Automatic General Expense: Cash on hand',0,NULL,0,1),(668,'2024-07-31','Automatic General Expense: Bank',0,NULL,0,0),(669,'2024-07-31','Automatic General Expense: Bank',0,NULL,0,0),(670,'2024-07-31','Automatic General Expense: Bank',0,NULL,0,0),(671,'2024-07-31','Automatic General Expense: Bank',0,NULL,0,0),(672,'2024-07-31','Automatic General Expense: Bank',0,NULL,0,0),(673,'2024-07-31','Automatic General Expense: Bank',0,NULL,0,0),(674,'2024-07-31','Automatic General Expense: Bank',0,NULL,0,0),(675,'2024-07-31','Automatic General Expense: Bank',0,NULL,0,0),(676,'2024-08-01','Automatic General Expense: Bank',0,NULL,0,0),(677,'2024-08-01','Automatic General Expense: Bank',0,NULL,0,0),(678,'2024-08-01','Automatic General Expense: Bank',0,NULL,0,0),(679,'2024-08-01','Automatic General Expense: Bank',0,NULL,0,0),(680,'2024-08-03','Automatic General Expense: Bank',0,NULL,0,0),(681,'2024-08-03','Automatic General Expense: Bank',0,NULL,0,0),(682,'2024-08-03','Automatic General Expense: Bank',0,NULL,0,0),(683,'2024-08-04','Automatic General Expense: Bank',0,NULL,0,0),(684,'2024-08-04','Automatic General Expense: Bank',0,NULL,0,1),(685,'2024-08-06','Automatic General Expense: Bank',0,NULL,0,0),(686,'2024-08-07','Automatic General Expense: Bank',0,NULL,0,0),(687,'2024-08-04','Automatic General Expense: Bank',0,NULL,0,0),(688,'2024-08-08','Automatic General Expense: Bank',0,NULL,0,1),(689,'2024-08-10','Automatic General Expense: Bank',0,NULL,0,0),(690,'2024-08-11','Automatic General Expense: Bank',0,NULL,0,0),(691,'2024-07-31','Automatic General Expense: Cash on hand',0,NULL,0,0),(692,'2024-08-08','Automatic General Expense: Bank',0,NULL,0,0),(693,'2024-08-13','Automatic General Expense: Bank',0,NULL,0,0),(694,'2024-08-15','Automatic General Expense: Bank',0,NULL,0,0),(695,'2024-08-19','Automatic General Expense: Bank',0,NULL,0,1),(696,'2024-08-19','Automatic General Expense: Bank',0,NULL,0,0),(697,'2024-08-20','Automatic General Expense: Bank',0,NULL,0,0),(698,'2024-08-20','Automatic General Expense: Bank',0,NULL,0,0),(699,'2024-08-20','Automatic General Expense: Bank',0,NULL,0,0),(700,'2024-08-20','Automatic General Expense: Bank',0,NULL,0,0),(701,'2024-08-20','Automatic General Expense: Bank',0,NULL,0,0),(702,'2024-08-21','Automatic General Expense: Bank',0,NULL,0,0),(703,'2024-08-22','Automatic General Expense: Bank',0,NULL,0,0),(704,'2024-08-22','Automatic General Expense: Bank',0,NULL,0,0),(705,'2024-08-22','Automatic General Expense: Bank',0,NULL,0,0),(706,'2024-08-22','Automatic General Expense: Bank',0,NULL,0,0),(707,'2024-08-24','Automatic General Expense: Bank',0,NULL,0,1),(708,'2024-08-25','Automatic General Expense: Bank',0,NULL,0,0),(709,'2024-08-25','Automatic General Expense: Bank',0,NULL,0,0),(710,'2024-08-25','Automatic General Expense: Bank',0,NULL,0,0),(711,'2024-08-26','Automatic General Expense: Bank',0,NULL,0,0),(712,'2024-08-24','Automatic General Expense: Bank',0,NULL,0,0),(713,'2024-08-27','Automatic General Expense: Cash on hand',0,NULL,0,0),(714,'2024-08-28','Automatic General Expense: Bank',0,NULL,0,0),(715,'2024-08-28','Automatic General Expense: Cash on hand',0,NULL,0,0),(716,'2024-08-28','Automatic General Expense: Bank',0,NULL,0,0),(717,'2024-08-28','Automatic General Expense: Bank',0,NULL,0,0),(718,'2024-08-28','Automatic General Expense: Bank',0,NULL,0,0),(719,'2024-08-28','Automatic General Expense: Bank',0,NULL,0,0),(720,'2024-08-28','Automatic General Expense: Bank',0,NULL,0,0),(721,'2024-08-29','Automatic General Expense: Bank',0,NULL,0,0),(722,'2024-08-29','Automatic General Expense: Bank',0,NULL,0,0),(723,'2024-08-29','Automatic General Expense: Bank',0,NULL,0,0),(724,'2024-08-29','Automatic General Expense: Bank',0,NULL,0,0),(725,'2024-08-29','Automatic General Expense: Bank',0,NULL,0,0),(726,'2024-09-01','Automatic General Expense: Bank',0,NULL,0,0),(727,'2024-09-01','Automatic General Expense: Bank',0,NULL,0,0),(728,'2024-09-01','Automatic General Expense: Cash on hand',0,NULL,0,0),(729,'2024-09-01','Automatic General Expense: Bank',0,NULL,0,0),(730,'2024-09-01','Automatic General Expense: Bank',0,NULL,0,0),(731,'2024-09-01','Automatic General Expense: Bank',0,NULL,0,0),(732,'2024-09-01','Automatic General Expense: Bank',0,NULL,0,0),(733,'2024-09-02','Automatic General Expense: Bank',0,NULL,0,0),(734,'2024-09-02','Automatic General Expense: Bank',0,NULL,0,0),(735,'2024-09-03','Automatic General Expense: Bank',0,NULL,0,0),(736,'2024-09-04','Automatic General Expense: Bank',0,NULL,0,0),(737,'2024-09-04','Automatic General Expense: Bank',0,NULL,0,0),(738,'2023-07-31','Automatic General Expense: Bank',0,NULL,0,0),(739,'2024-09-05','Automatic General Expense: Bank',0,NULL,0,0),(740,'2024-09-05','Automatic General Expense: Bank',0,NULL,0,0),(741,'2024-09-05','Automatic General Expense: Bank',0,NULL,0,0),(742,'2024-09-05','Automatic General Expense: Bank',0,NULL,0,0),(743,'2024-09-05','Automatic General Expense: Bank',0,NULL,0,0),(744,'2024-09-05','Automatic General Expense: Bank',0,NULL,0,0),(745,'2024-09-05','Automatic General Expense: Bank',0,NULL,0,0),(746,'2024-09-05','Automatic General Expense: Bank',0,NULL,0,0),(747,'2024-09-07','Automatic General Expense: Bank',0,NULL,0,0),(748,'2024-09-07','Automatic General Expense: Bank',0,NULL,0,0),(749,'2024-09-07','Automatic General Expense: Bank',0,NULL,0,0),(750,'2024-09-07','Automatic General Expense: Cash on hand',0,NULL,0,0),(751,'2024-09-07','Automatic General Expense: Cash on hand',0,NULL,0,0),(752,'2024-09-07','Automatic General Expense: Bank',0,NULL,0,0),(753,'2024-09-08','Automatic General Expense: Bank',0,NULL,0,0),(754,'2024-09-08','Automatic General Expense: Bank',0,NULL,0,0),(755,'2024-09-08','Automatic General Expense: Bank',0,NULL,0,0),(756,'2024-09-08','Automatic General Expense: Bank',0,NULL,0,0),(757,'2024-09-08','Automatic General Expense: Bank',0,NULL,0,0),(758,'2024-09-08','Automatic General Expense: Bank',0,NULL,0,0),(759,'2024-09-08','Automatic General Expense: Bank',0,NULL,0,0),(760,'2024-09-08','Automatic General Expense: Bank',0,NULL,0,0),(761,'2024-09-08','Automatic General Expense: Bank',0,NULL,0,0),(762,'2024-09-08','Automatic General Expense: Bank',0,NULL,0,1),(763,'2024-09-09','Automatic General Expense: Bank',0,NULL,0,0),(764,'2024-09-09','Automatic General Expense: Bank',0,NULL,0,0),(765,'2024-09-09','Automatic General Expense: Bank',0,NULL,0,0),(766,'2024-09-10','Automatic General Expense: Bank',0,NULL,0,0),(767,'2024-09-10','Automatic General Expense: Bank',0,NULL,0,0),(768,'2024-09-10','Automatic General Expense: Bank',0,NULL,0,0),(769,'2024-09-10','Automatic General Expense: Bank',0,NULL,0,0),(770,'2024-09-10','Automatic General Expense: Bank',0,NULL,0,0),(771,'2024-09-10','Automatic General Expense: Bank',0,NULL,0,1),(772,'2024-09-10','Automatic General Expense: Bank',0,NULL,0,0),(773,'2024-09-10','Automatic General Expense: Bank',0,NULL,0,0),(774,'2024-09-10','Automatic General Expense: Bank',0,NULL,0,0),(775,'2024-09-10','Automatic General Expense: Bank',0,NULL,0,0),(776,'2024-09-10','Automatic General Expense: Bank',0,NULL,0,0),(777,'2024-09-10','Automatic General Expense: Bank',0,NULL,0,1),(778,'2024-09-10','Automatic General Expense: Bank',0,NULL,0,0),(779,'2024-09-11','Automatic General Expense: Bank',0,NULL,0,0),(780,'2024-09-11','Automatic General Expense: Bank',0,NULL,0,0),(781,'2024-09-10','Automatic General Expense: Bank',0,NULL,0,0),(782,'2024-09-12','Automatic General Expense: Bank',0,NULL,0,0),(783,'2024-09-12','Automatic General Expense: Bank',0,NULL,0,0),(784,'2024-09-12','Automatic General Expense: Bank',0,NULL,0,0),(785,'2024-09-12','Automatic General Expense: Bank',0,NULL,0,0),(786,'2024-09-12','Automatic General Expense: Bank',0,NULL,0,0),(787,'2024-09-12','Automatic General Expense: Bank',0,NULL,0,0),(788,'2024-09-12','Automatic General Expense: Bank',0,NULL,0,1),(789,'2024-09-15','Automatic General Expense: Bank',0,NULL,0,0),(790,'2024-09-15','Automatic General Expense: Bank',0,NULL,0,0),(791,'2024-09-15','Automatic General Expense: Bank',0,NULL,0,0),(792,'2024-09-15','Automatic General Expense: Bank',0,NULL,0,0),(793,'2024-09-16','Automatic General Expense: Cash on hand',0,NULL,0,0),(794,'2024-09-16','Automatic General Expense: Bank',0,NULL,0,0),(795,'2024-09-16','Automatic General Expense: Bank',0,NULL,0,0),(796,'2024-09-16','Automatic General Expense: Bank',0,NULL,0,0),(797,'2024-09-16','Automatic General Expense: Bank',0,NULL,0,0),(798,'2024-09-16','Automatic General Expense: Bank',0,NULL,0,0),(799,'2024-09-16','Automatic General Expense: Bank',0,NULL,0,0),(800,'2024-09-17','Automatic General Expense: Bank',0,NULL,0,0),(801,'2024-09-17','Automatic General Expense: Bank',0,NULL,0,0),(802,'2024-09-17','Automatic General Expense: Bank',0,NULL,0,0),(803,'2024-09-17','Automatic General Expense: Bank',0,NULL,0,0),(804,'2024-09-17','Automatic General Expense: Bank',0,NULL,0,0),(805,'2024-09-19','Automatic General Expense: Bank',0,NULL,0,0),(806,'2024-09-19','Automatic General Expense: Bank',0,NULL,0,0),(807,'2024-09-19','Automatic General Expense: Bank',0,NULL,0,0),(808,'2024-09-19','Automatic General Expense: Bank',0,NULL,0,0),(809,'2024-09-19','Automatic General Expense: Bank',0,NULL,0,0),(810,'2024-09-19','Automatic General Expense: Bank',0,NULL,0,0),(811,'2024-09-21','Automatic General Expense: Bank',0,NULL,0,0),(812,'2024-09-21','Automatic General Expense: Bank',0,NULL,0,0),(813,'2024-09-21','Automatic General Expense: Bank',0,NULL,0,0),(814,'2024-09-21','Automatic General Expense: Bank',0,NULL,0,0),(815,'2024-09-21','Automatic General Expense: Bank',0,NULL,0,0),(816,'2024-09-21','Automatic General Expense: Bank',0,NULL,0,0),(817,'2024-09-21','Automatic General Expense: Bank',0,NULL,0,0),(818,'2024-09-21','Automatic General Expense: Bank',0,NULL,0,0),(819,'2024-09-21','Automatic General Expense: Bank',0,NULL,0,0),(820,'2024-09-22','Automatic General Expense: Cash on hand',0,NULL,0,0),(821,'2024-09-22','Automatic General Expense: Bank',0,NULL,0,0),(822,'2024-09-22','Automatic General Expense: Bank',0,NULL,0,0),(823,'2024-09-23','Automatic General Expense: Bank',0,NULL,0,0),(824,'2024-09-23','Automatic General Expense: Bank',0,NULL,0,0),(825,'2024-09-23','Automatic General Expense: Bank',0,NULL,0,0),(826,'2024-09-23','Automatic General Expense: Bank',0,NULL,0,0),(827,'2024-09-25','Automatic General Expense: Bank',0,NULL,0,0),(828,'2024-09-25','Automatic General Expense: Bank',0,NULL,0,0),(829,'2024-09-25','Automatic General Expense: Bank',0,NULL,0,0),(830,'2024-09-25','Automatic General Expense: Bank',0,NULL,0,0),(831,'2024-09-26','Automatic General Expense: Bank',0,NULL,0,0),(832,'2024-09-26','Automatic General Expense: Bank',0,NULL,0,0),(833,'2024-09-26','Automatic General Expense: Cash on hand',0,NULL,0,0),(834,'2024-09-26','Automatic General Expense: Cash on hand',0,NULL,0,0),(835,'2024-09-26','Automatic General Expense: Cash on hand',0,NULL,0,1),(836,'2024-09-26','Automatic General Expense: Bank',0,NULL,0,0),(837,'2024-09-29','Automatic General Expense: Bank',0,NULL,0,0),(838,'2024-09-29','Automatic General Expense: Bank',0,NULL,0,0),(839,'2024-09-29','Automatic General Expense: Bank',0,NULL,0,0),(840,'2024-09-29','Automatic General Expense: Bank',0,NULL,0,0),(841,'2024-09-29','Automatic General Expense: Bank',0,NULL,0,0),(842,'2024-09-29','Automatic General Expense: Bank',0,NULL,0,0),(843,'2024-09-29','Automatic General Expense: Bank',0,NULL,0,0),(844,'2024-09-29','Automatic General Expense: Bank',0,NULL,0,0),(845,'2024-09-30','Automatic General Expense: Bank',0,NULL,0,0),(846,'2024-09-30','Automatic General Expense: Bank',0,NULL,0,0),(847,'2024-09-30','Automatic General Expense: Bank',0,NULL,0,0),(848,'2024-09-30','Automatic General Expense: Bank',0,NULL,0,0),(849,'2024-09-30','Automatic General Expense: Bank',0,NULL,0,0),(850,'2024-09-30','Automatic General Expense: Bank',0,NULL,0,0),(851,'2024-09-25','Automatic General Expense: Cash on hand',0,NULL,0,0),(852,'2024-09-25','Automatic General Expense: Bank',0,NULL,0,1),(853,'2024-10-01','Automatic General Expense: Bank',0,NULL,0,0),(854,'2024-10-02','Automatic General Expense: Bank',0,NULL,0,0),(855,'2024-10-02','Automatic General Expense: Bank',0,NULL,0,0),(856,'2024-10-02','Automatic General Expense: Cash on hand',0,NULL,0,0),(857,'2024-10-02','Automatic General Expense: Bank',0,NULL,0,0),(858,'2024-10-02','Automatic General Expense: Bank',0,NULL,0,0),(859,'2024-10-02','Automatic General Expense: Bank',0,NULL,0,0),(860,'2024-10-02','Automatic General Expense: Bank',0,NULL,0,0),(861,'2024-10-02','Automatic General Expense: Bank',0,NULL,0,0),(862,'2024-10-02','Automatic General Expense: Bank',0,NULL,0,0),(863,'2024-10-02','Automatic General Expense: Bank',0,NULL,0,0),(864,'2024-10-05','Automatic General Expense: Cash on hand',0,NULL,0,0),(865,'2024-10-05','Automatic General Expense: Bank',0,NULL,0,0),(866,'2024-10-05','Automatic General Expense: Cash on hand',0,NULL,0,0),(867,'2024-10-03','Automatic General Expense: Bank',0,NULL,0,0),(868,'2024-10-05','Automatic General Expense: Cash on hand',0,NULL,0,0),(869,'2024-10-05','Automatic General Expense: Bank',0,NULL,0,0),(870,'2024-10-07','Automatic General Expense: Bank',0,NULL,0,0),(871,'2024-10-07','Automatic General Expense: Bank',0,NULL,0,0),(872,'2024-10-07','Automatic General Expense: Bank',0,NULL,0,0),(873,'2024-10-08','Automatic General Expense: Bank',0,NULL,0,0),(874,'2024-10-08','Automatic General Expense: Bank',0,NULL,0,1),(875,'2024-10-08','Automatic General Expense: Bank',0,NULL,0,0),(876,'2024-10-08','Automatic General Expense: Bank',0,NULL,0,0),(877,'2024-10-08','Automatic General Expense: Bank',0,NULL,0,0),(878,'2024-10-08','Automatic General Expense: Bank',0,NULL,0,0),(879,'2024-10-08','Automatic General Expense: Bank',0,NULL,0,0),(880,'2024-10-09','Automatic General Expense: Bank',0,NULL,0,0),(881,'2024-10-09','Automatic General Expense: Bank',0,NULL,0,0),(882,'2024-10-09','Automatic General Expense: Bank',0,NULL,0,0),(883,'2024-10-10','Automatic General Expense: Cash on hand',0,NULL,0,0),(884,'2024-10-10','Automatic General Expense: Bank',0,NULL,0,0),(885,'2024-10-10','Automatic General Expense: Bank',0,NULL,0,0),(886,'2024-10-10','Automatic General Expense: Bank',0,NULL,0,0),(887,'2024-10-10','Automatic General Expense: Cash on hand',0,NULL,0,0),(888,'2024-10-12','Automatic General Expense: Bank',0,NULL,0,0),(889,'2024-10-12','Automatic General Expense: Bank',0,NULL,0,0),(890,'2024-10-12','Automatic General Expense: Bank',0,NULL,0,0),(891,'2024-10-13','Automatic General Expense: Bank',0,NULL,0,0),(892,'2024-10-14','Automatic General Expense: Bank',0,NULL,0,0),(893,'2024-09-05','Automatic General Expense: Bank',0,NULL,0,1),(894,'2024-10-17','Invoice: SUQ/0164',0,NULL,0,0),(895,'2024-10-17','Invoice Inventory: SUQ/0164',0,NULL,0,0),(896,'2024-09-05','Automatic General Expense: Bank',0,NULL,0,1),(897,'2024-10-16','Automatic General Expense: Bank',0,NULL,0,0),(898,'2024-10-16','Automatic General Expense: Bank',0,NULL,0,0),(899,'2024-10-16','Automatic General Expense: Cash on hand',0,NULL,0,0),(900,'2024-10-16','Automatic General Expense: Bank',0,NULL,0,0),(901,'2024-10-17','Automatic General Expense: Bank',0,NULL,0,0),(902,'2024-10-20','Automatic General Expense: Bank',0,NULL,0,0),(903,'2024-10-20','Automatic General Expense: Bank',0,NULL,0,0),(904,'2024-10-22','Automatic General Expense: Bank',0,NULL,0,0),(905,'2024-10-22','Automatic General Expense: Bank',0,NULL,0,0),(906,'2024-10-22','Automatic General Expense: Bank',0,NULL,0,0),(907,'2024-10-22','Automatic General Expense: Bank',0,NULL,0,0),(908,'2024-10-22','Automatic General Expense: Bank',0,NULL,0,0),(909,'2024-10-23','Automatic General Expense: Bank',0,NULL,0,0),(910,'2024-10-23','Automatic General Expense: Bank',0,NULL,0,0),(911,'2024-10-23','Automatic General Expense: Bank',0,NULL,0,0),(912,'2024-10-23','Automatic General Expense: Bank',0,NULL,0,0),(913,'2024-10-23','Automatic General Expense: Bank',0,NULL,0,0),(914,'2024-10-24','Automatic General Expense: Bank',0,NULL,0,0),(915,'2024-10-26','Automatic General Expense: Bank',0,NULL,0,0),(916,'2024-09-05','Automatic General Expense: Bank',0,NULL,0,0),(917,'2024-09-10','Automatic General Expense: Bank',0,NULL,0,0),(918,'2024-09-10','Automatic General Expense: Bank',0,NULL,0,0),(919,'2024-10-27','Automatic General Expense: Bank',0,NULL,0,0),(920,'2024-10-27','Automatic General Expense: Bank',0,NULL,0,0),(921,'2024-10-27','Automatic General Expense: Bank',0,NULL,0,0),(922,'2024-10-27','Automatic General Expense: Bank',0,NULL,0,0),(923,'2024-10-30','Automatic General Expense: Cash on hand',0,NULL,0,0),(924,'2024-10-31','Automatic General Expense: Bank',0,NULL,0,0),(925,'2024-11-02','Automatic General Expense: Bank',0,NULL,0,0),(926,'2024-11-02','Automatic General Expense: Bank',0,NULL,0,0),(927,'2024-11-02','Automatic General Expense: Bank',0,NULL,0,0),(928,'2024-09-25','Automatic General Expense: Cash on hand',0,NULL,0,0),(929,'2024-09-25','Automatic General Expense: Bank',0,NULL,0,0),(930,'2024-09-26','Automatic General Expense: Cash on hand',0,NULL,0,0),(931,'2024-11-05','Automatic General Expense: Bank',0,NULL,0,0),(932,'2024-11-05','Automatic General Expense: Bank',0,NULL,0,0),(933,'2024-11-05','Automatic General Expense: Bank',0,NULL,0,0),(934,'2024-11-05','Automatic General Expense: Bank',0,NULL,0,0),(935,'2024-11-05','Automatic General Expense: Bank',0,NULL,0,0),(936,'2024-11-05','Automatic General Expense: Bank',0,NULL,0,0),(937,'2024-11-05','Automatic General Expense: Bank',0,NULL,0,0),(938,'2024-11-05','Automatic General Expense: Bank',0,NULL,0,0),(939,'2024-11-05','Automatic General Expense: Bank',0,NULL,0,0),(940,'2024-11-07','Automatic General Expense: Bank',0,NULL,0,0),(941,'2024-11-07','Automatic General Expense: Bank',0,NULL,0,0),(942,'2024-11-07','Automatic General Expense: Bank',0,NULL,0,0),(943,'2024-11-07','Automatic General Expense: Bank',0,NULL,0,0),(944,'2024-11-07','Automatic General Expense: Bank',0,NULL,0,0),(945,'2024-11-07','Automatic General Expense: Bank',0,NULL,0,0),(946,'2024-11-07','Automatic General Expense: Bank',0,NULL,0,0),(947,'2024-11-10','Automatic General Expense: Bank',0,NULL,0,0),(948,'2024-11-10','Automatic General Expense: Bank',0,NULL,0,0),(949,'2024-11-10','Automatic General Expense: Bank',0,NULL,0,0),(950,'2024-11-13','Automatic General Expense: Bank',0,NULL,0,0),(951,'2024-11-13','Automatic General Expense: Bank',0,NULL,0,0),(952,'2024-11-13','Automatic General Expense: Bank',0,NULL,0,0),(953,'2024-11-13','Automatic General Expense: Bank',0,NULL,0,0),(954,'2024-11-14','Automatic General Expense: Bank',0,NULL,0,0),(955,'2024-11-14','Automatic General Expense: Bank',0,NULL,0,0),(956,'2024-11-14','Automatic General Expense: Bank',0,NULL,0,0),(957,'2024-11-17','Automatic General Expense: Bank',0,NULL,0,0),(958,'2024-11-17','Automatic General Expense: Bank',0,NULL,0,0),(959,'2024-11-17','Automatic General Expense: Bank',0,NULL,0,0),(960,'2024-11-17','Automatic General Expense: Bank',0,NULL,0,0),(961,'2024-11-23','Automatic General Expense: Bank',0,NULL,0,0),(962,'2024-11-24','Automatic General Expense: Bank',0,NULL,0,0),(963,'2024-11-24','Automatic General Expense: Bank',0,NULL,0,0),(964,'2024-11-24','Automatic General Expense: Bank',0,NULL,0,0),(965,'2024-11-27','Automatic General Expense: Bank',0,NULL,0,0),(966,'2024-12-01','Automatic General Expense: Bank',0,NULL,0,0),(967,'2024-12-01','Automatic General Expense: Bank',0,NULL,0,0),(968,'2024-12-01','Automatic General Expense: Cash on hand',0,NULL,0,0),(969,'2024-12-01','Automatic General Expense: Bank',0,NULL,0,0),(970,'2024-12-01','Automatic General Expense: Bank',0,NULL,0,0),(971,'2024-12-01','Automatic General Expense: Bank',0,NULL,0,0),(972,'2024-11-27','Automatic General Expense: Bank',0,NULL,0,0),(973,'2024-11-28','Automatic General Expense: Bank',0,NULL,0,0),(974,'2024-11-28','Automatic General Expense: Bank',0,NULL,0,0),(975,'2024-11-28','Automatic General Expense: Bank',0,NULL,0,0),(976,'2024-12-01','Automatic General Expense: Bank',0,NULL,0,0),(977,'2023-05-10','Automatic General Expense: Cash on hand',0,NULL,0,0),(978,'2024-12-04','Automatic General Expense: Bank',0,NULL,0,0),(979,'2024-12-04','Automatic General Expense: Bank',0,NULL,0,0),(980,'2024-12-04','Automatic General Expense: Bank',0,NULL,0,0),(981,'2024-12-04','Automatic General Expense: Bank',0,NULL,0,0),(982,'2024-12-04','Automatic General Expense: Bank',0,NULL,0,0),(983,'2024-12-04','Automatic General Expense: Bank',0,NULL,0,0),(984,'2022-01-01','Automatic General Expense: Bank',0,NULL,0,1),(985,'2022-02-05','Automatic General Expense: Bank',0,NULL,0,1),(986,'2022-01-05','Automatic General Expense: Bank',0,NULL,0,1),(987,'2022-02-10','Automatic General Expense: Bank',0,NULL,0,1),(988,'2022-01-05','Automatic General Expense: Bank',0,NULL,0,1),(989,'2022-02-28','Automatic General Expense: Cash on hand',0,NULL,0,0),(990,'2022-01-22','Automatic General Expense: Bank',0,NULL,0,1),(991,'2022-01-26','Automatic General Expense: Bank',0,NULL,0,1),(992,'2022-01-26','Automatic General Expense: Bank',0,NULL,0,1),(993,'2022-01-26','Automatic General Expense: Bank',0,NULL,0,1),(994,'2022-01-27','Automatic General Expense: Bank',0,NULL,0,0),(995,'2022-01-30','Automatic General Expense: Cash on hand',0,NULL,0,0),(996,'2024-12-07','Automatic General Expense: Bank',0,NULL,0,0),(997,'2024-02-10','Automatic General Expense: Bank',0,NULL,0,0),(998,'2024-12-12','Bank Money Transfer',1,NULL,0,1),(999,'2024-12-12','Petty Cash From Bank To Tushar: Cash on Hand ',0,NULL,0,1),(1000,'2024-12-12','journal_entry',1,'Cash on Hand ',0,0),(1001,'2024-12-12','PTC Expense from: Tushar',0,NULL,0,1),(1002,'2024-12-12','Automatic General Expense: Bank',0,NULL,0,0),(1003,'2024-12-12','Automatic General Expense: Bank',0,NULL,0,0),(1004,'2024-12-12','Automatic General Expense: Bank',0,NULL,0,0),(1005,'2024-12-12','Automatic General Expense: Bank',0,NULL,0,0),(1006,'2024-12-14','Automatic General Expense: Bank',0,NULL,0,1),(1007,'2024-12-12','Automatic General Expense: Bank',0,NULL,0,0),(1008,'2024-12-14','Automatic General Expense: Bank',0,NULL,0,0),(1009,'2024-12-15','Automatic General Expense: Bank',0,NULL,0,0),(1010,'2024-12-15','Automatic General Expense: Bank',0,NULL,0,0),(1011,'2024-12-15','Automatic General Expense: Bank',0,NULL,0,0),(1012,'2024-12-15','Automatic General Expense: Bank',0,NULL,0,0),(1013,'2024-12-15','Automatic General Expense: Bank',0,NULL,0,0),(1014,'2024-12-15','Automatic General Expense: Bank',0,NULL,0,0),(1015,'2024-12-15','Automatic General Expense: Bank',0,NULL,0,0),(1016,'2024-12-15','Automatic General Expense: Bank',0,NULL,0,1),(1017,'2024-12-16','Automatic General Expense: Bank',0,NULL,0,0),(1018,'2024-12-16','Automatic General Expense: Bank',0,NULL,0,0),(1019,'2024-12-16','Automatic General Expense: Bank',0,NULL,0,0),(1020,'2024-12-16','Automatic General Expense: Bank',0,NULL,0,0),(1021,'2024-12-16','Automatic General Expense: Bank',0,NULL,0,0),(1022,'2024-12-18','Automatic General Expense: Bank',0,NULL,0,1),(1023,'2024-12-18','Automatic General Expense: Bank',0,NULL,0,0),(1024,'2024-12-18','Automatic General Expense: Bank',0,NULL,0,1),(1025,'2024-12-18','Automatic General Expense: Bank',0,NULL,0,0),(1026,'2024-12-18','Automatic General Expense: Bank',0,NULL,0,0),(1027,'2024-12-18','Automatic General Expense: Bank',0,NULL,0,0),(1028,'2024-12-19','Petty Cash From Cash To Tushar',0,NULL,0,1),(1029,'2024-12-19','journal_entry',1,'',0,1),(1030,'2024-12-19','Automatic General Expense: Bank',0,NULL,0,1),(1031,'2024-12-19','payment_voucher',1,'PT',0,1),(1032,'2024-12-19','journal_entry',1,'',0,1),(1033,'2024-12-19','Petty Cash From Cash To Tushar',0,NULL,0,1),(1034,'2024-12-19','PTC Expense from: Tushar',0,NULL,0,1),(1035,'2024-12-15','Automatic General Expense: Bank',0,NULL,0,0),(1036,'2024-12-18','Automatic General Expense: Bank',0,NULL,0,0),(1037,'2024-12-18','Automatic General Expense: Bank',0,NULL,0,0),(1038,'2024-12-22','Automatic General Expense: Bank',0,NULL,0,0),(1039,'2024-12-23','Automatic General Expense: Bank',0,NULL,0,0),(1040,'2024-12-24','Automatic General Expense: Bank',0,NULL,0,0),(1041,'2024-12-29','Automatic General Expense: Bank',0,NULL,0,0),(1042,'2024-12-29','Automatic General Expense: Bank',0,NULL,0,0),(1043,'2024-12-31','Automatic General Expense: Bank',0,NULL,0,0),(1044,'2024-12-31','Automatic General Expense: Cash on hand',0,NULL,0,0),(1045,'2024-12-31','Automatic General Expense: Cash on hand',0,NULL,0,0),(1046,'2024-12-31','Automatic General Expense: Bank',0,NULL,0,0),(1047,'2024-12-31','Automatic General Expense: Bank',0,NULL,0,0),(1048,'2024-12-31','Automatic General Expense: Bank',0,NULL,0,0),(1049,'2025-01-04','Automatic General Expense: Bank',0,NULL,0,1),(1050,'2025-01-04','Automatic General Expense: Bank',0,NULL,0,1),(1051,'2025-01-06','Automatic General Expense: Bank',0,NULL,0,1),(1052,'2025-01-06','Automatic General Expense: Bank',0,NULL,0,1),(1053,'2024-12-31','Automatic General Expense: Bank',0,NULL,0,0),(1054,'2025-01-09','Automatic General Expense: Bank',0,NULL,0,1),(1055,'2025-01-09','Automatic General Expense: Bank',0,NULL,0,1),(1056,'2025-01-09','Automatic General Expense: Bank',0,NULL,0,1),(1057,'2025-01-04','Automatic General Expense: Bank',0,NULL,0,0),(1058,'2025-01-04','Automatic General Expense: Bank',0,NULL,0,0),(1059,'2025-01-06','Automatic General Expense: Bank',0,NULL,0,0),(1060,'2025-01-06','Automatic General Expense: Bank',0,NULL,0,1),(1061,'2025-01-06','Automatic General Expense: Bank',0,NULL,0,1),(1062,'2025-01-06','Automatic General Expense: Bank',0,NULL,0,0),(1063,'2025-01-09','Automatic General Expense: Bank',0,NULL,0,0),(1064,'2025-01-09','Automatic General Expense: Bank',0,NULL,0,0),(1065,'2025-01-09','Automatic General Expense: Bank',0,NULL,0,0),(1066,'2025-01-09','Automatic General Expense: Bank',0,NULL,0,0),(1067,'2025-01-09','Automatic General Expense: Bank',0,NULL,0,0),(1068,'2025-01-09','Automatic General Expense: Bank',0,NULL,0,1),(1069,'2025-01-09','Automatic General Expense: Bank',0,NULL,0,0),(1070,'2025-01-21','Automatic General Expense: Bank',0,NULL,0,1),(1071,'2025-01-23','Automatic General Expense: Cash on hand',0,NULL,0,0),(1072,'2025-01-23','Automatic General Expense: Cash on hand',0,NULL,0,0),(1073,'2025-01-23','Automatic General Expense: Cash on hand',0,NULL,0,0),(1074,'2025-01-23','Automatic General Expense: Bank',0,NULL,0,0),(1075,'2025-01-23','Automatic General Expense: Cash on hand',0,NULL,0,0),(1076,'2025-01-23','Automatic General Expense: Bank',0,NULL,0,1),(1077,'2025-01-23','Automatic General Expense: Cash on hand',0,NULL,0,0),(1078,'2025-01-25','Automatic General Expense: Bank',0,NULL,0,0),(1079,'2025-01-23','Automatic General Expense: Bank',0,NULL,0,1),(1080,'2025-01-21','Automatic General Expense: Bank',0,NULL,0,1),(1081,'2025-01-21','Automatic General Expense: Bank',0,NULL,0,0),(1082,'2025-01-21','Automatic General Expense: Bank',0,NULL,0,0),(1083,'2025-01-26','Automatic General Expense: Bank',0,NULL,0,0),(1084,'2025-01-27','Automatic General Expense: Bank',0,NULL,0,0),(1085,'2025-01-27','Automatic General Expense: Bank',0,NULL,0,0),(1086,'2025-01-28','Automatic General Expense: Cash on hand',0,NULL,0,0),(1087,'2025-02-01','Automatic General Expense: Cash on hand',0,NULL,0,1),(1088,'2025-02-01','Automatic General Expense: Cash on hand',0,NULL,0,0),(1089,'2025-02-01','Automatic General Expense: Cash on hand',0,NULL,0,0),(1090,'2025-02-01','Automatic General Expense: Bank',0,NULL,0,0),(1091,'2025-02-01','Automatic General Expense: Bank',0,NULL,0,0),(1092,'2025-02-01','Automatic General Expense: Bank',0,NULL,0,0),(1093,'2025-02-01','Automatic General Expense: Cash on hand',0,NULL,0,1),(1094,'2025-02-01','Automatic General Expense: Cash on hand',0,NULL,0,0),(1095,'2025-02-04','Automatic General Expense: Bank',0,NULL,0,0),(1096,'2025-02-04','Automatic General Expense: Bank',0,NULL,0,0),(1097,'2025-02-04','Automatic General Expense: Bank',0,NULL,0,0),(1098,'2025-02-04','Automatic General Expense: Bank',0,NULL,0,0),(1099,'2025-02-05','New Job Order : 4',0,NULL,0,0),(1100,'2025-02-05','Automatic General Expense: Bank',0,NULL,0,0),(1101,'2025-02-05','Automatic General Expense: Bank',0,NULL,0,0),(1102,'2025-02-05','Automatic General Expense: Bank',0,NULL,0,0),(1103,'2025-02-05','Automatic General Expense: Bank',0,NULL,0,0),(1104,'2025-02-09','Automatic General Expense: Bank',0,NULL,0,0),(1105,'2025-02-09','Automatic General Expense: Bank',0,NULL,0,0),(1106,'2025-02-09','Automatic General Expense: Bank',0,NULL,0,0),(1107,'2025-02-09','Automatic General Expense: Bank',0,NULL,0,0),(1108,'2025-02-10','Automatic General Expense: Bank',0,NULL,0,0),(1109,'2025-02-10','Automatic General Expense: Bank',0,NULL,0,0),(1110,'2025-02-11','Automatic General Expense: Bank',0,NULL,0,0),(1111,'2025-02-11','Automatic General Expense: Bank',0,NULL,0,1),(1112,'2025-02-15','Automatic General Expense: Bank',0,NULL,0,0),(1113,'2025-02-15','Automatic General Expense: Bank',0,NULL,0,0),(1114,'2025-02-15','Automatic General Expense: Bank',0,NULL,0,0),(1115,'2025-02-19','Automatic General Expense: Bank',0,NULL,0,0),(1116,'2025-02-19','Automatic General Expense: Bank',0,NULL,0,0),(1117,'2025-02-19','Automatic General Expense: Bank',0,NULL,0,0),(1118,'2025-02-19','Automatic General Expense: Bank',0,NULL,0,0),(1119,'2025-02-19','Automatic General Expense: Bank',0,NULL,0,0),(1120,'2025-02-20','Automatic General Expense: Bank',0,NULL,0,0),(1121,'2025-02-20','Automatic General Expense: Bank',0,NULL,0,0),(1122,'2025-02-20','Automatic General Expense: Bank',0,NULL,0,0),(1123,'2025-02-24','Automatic General Expense: Bank',0,NULL,0,0),(1124,'2025-02-24','Automatic General Expense: Bank',0,NULL,0,1),(1125,'2025-02-24','Automatic General Expense: Cash on hand',0,NULL,0,1),(1126,'2025-02-26','Automatic General Expense: Bank',0,NULL,0,0),(1127,'2025-02-26','Automatic General Expense: Bank',0,NULL,0,0),(1128,'2025-02-26','Automatic General Expense: Bank',0,NULL,0,0),(1129,'2025-02-26','Automatic General Expense: Bank',0,NULL,0,0),(1130,'2025-02-26','Automatic General Expense: Bank',0,NULL,0,0),(1131,'2025-02-26','Automatic General Expense: Bank',0,NULL,0,0),(1132,'2025-02-26','Automatic General Expense: Bank',0,NULL,0,1),(1133,'2025-02-01','Automatic General Expense: Cash on hand',0,NULL,0,1),(1134,'2025-01-28','Automatic General Expense: Bank',0,NULL,0,0),(1135,'2025-02-27','Automatic General Expense: Bank',0,NULL,0,0),(1136,'2025-02-27','Automatic General Expense: Bank',0,NULL,0,0),(1137,'2025-02-27','Automatic General Expense: Bank',0,NULL,0,0),(1138,'2025-02-27','Automatic General Expense: Bank',0,NULL,0,0),(1139,'2025-02-27','Automatic General Expense: Bank',0,NULL,0,0),(1140,'2025-02-27','Automatic General Expense: Bank',0,NULL,0,0),(1141,'2025-02-27','Automatic General Expense: Bank',0,NULL,0,0),(1142,'2025-02-27','Automatic General Expense: Cash on hand',0,NULL,0,1),(1143,'2025-02-28','Automatic General Expense: Bank',0,NULL,0,0),(1144,'2025-02-28','Automatic General Expense: Bank',0,NULL,0,0),(1145,'2025-03-03','Automatic General Expense: Bank',0,NULL,0,0),(1146,'2025-03-03','Automatic General Expense: Bank',0,NULL,0,0),(1147,'2025-03-03','Automatic General Expense: Bank',0,NULL,0,0),(1148,'2025-03-06','Automatic General Expense: Bank',0,NULL,0,0),(1149,'2025-03-06','Automatic General Expense: Bank',0,NULL,0,0),(1150,'2025-03-06','Automatic General Expense: Bank',0,NULL,0,0),(1151,'2025-03-06','Automatic General Expense: Bank',0,NULL,0,0),(1152,'2025-03-06','Automatic General Expense: Bank',0,NULL,0,0),(1153,'2025-03-06','Automatic General Expense: Bank',0,NULL,0,0),(1154,'2025-03-12','Invoice Inventory: SUQ/0170',0,NULL,0,0),(1155,'2025-03-12','Invoice Inventory: SUQ/0170',0,NULL,0,0),(1156,'2025-03-12','Invoice Inventory: SUQ/0170',0,NULL,0,0),(1157,'2025-03-12','Invoice Inventory: SUQ/0170',0,NULL,0,0),(1158,'2025-03-12','Invoice Inventory: SUQ/0170',0,NULL,0,0),(1159,'2025-03-12','Invoice Inventory: SUQ/0170',0,NULL,0,0),(1160,'2025-03-12','Invoice Inventory: SUQ/0170',0,NULL,0,0),(1161,'2025-01-28','Invoice Inventory: SUQ/0165',0,NULL,0,0),(1162,'2025-03-12','Invoice Inventory: SUQ/0170',0,NULL,0,0),(1163,'2025-03-12','Invoice Inventory: SUQ/0170',0,NULL,0,0),(1164,'2025-03-12','Automatic General Expense: Bank',0,NULL,0,0),(1165,'2025-03-12','Automatic General Expense: Bank',0,NULL,0,0),(1166,'2025-03-12','Invoice Inventory: SUQ/0170',0,NULL,0,0),(1167,'2025-03-12','Invoice Inventory: SUQ/0170',0,NULL,0,0),(1168,'2025-03-12','Invoice Inventory: SUQ/0170',0,NULL,0,1),(1169,'2025-03-12','Invoice Inventory: SUQ/0170',0,NULL,0,1),(1170,'2025-03-17','Automatic General Expense: Bank',0,NULL,0,1),(1171,'2025-03-12','Invoice Inventory: SUQ/0170',0,NULL,0,1),(1172,'2025-03-12','Invoice Inventory: SUQ/0170',0,NULL,0,0),(1173,'2025-03-20','Automatic General Expense: Bank',0,NULL,0,0),(1174,'2025-03-22','Automatic General Expense: Bank',0,NULL,0,0),(1175,'2025-03-25','Automatic General Expense: Bank',0,NULL,0,0),(1176,'2025-03-25','Automatic General Expense: Bank',0,NULL,0,0),(1177,'2025-03-25','Automatic General Expense: Bank',0,NULL,0,1),(1178,'2025-03-25','Automatic General Expense: Bank',0,NULL,0,0),(1179,'2025-03-25','Automatic General Expense: Cash on hand',0,NULL,0,0),(1180,'2025-03-30','Automatic General Expense: Bank',0,NULL,0,0),(1181,'2025-03-30','Automatic General Expense: Bank',0,NULL,0,1),(1182,'2025-03-30','Automatic General Expense: Bank',0,NULL,0,1),(1183,'2025-03-30','Automatic General Expense: Bank',0,NULL,0,0),(1184,'2025-03-30','Automatic General Expense: Bank',0,NULL,0,0),(1185,'2025-03-30','Automatic General Expense: Bank',0,NULL,0,0),(1186,'2025-03-30','Automatic General Expense: Bank',0,NULL,0,0),(1187,'2025-03-30','Automatic General Expense: Cash on hand',0,NULL,0,0),(1188,'2025-04-06','Automatic General Expense: Cash on hand',0,NULL,0,0),(1189,'2025-03-26','Automatic General Expense: Bank',0,NULL,0,0),(1190,'2025-04-09','Automatic General Expense: Bank',0,NULL,0,0),(1191,'2025-04-09','Automatic General Expense: Bank',0,NULL,0,0),(1192,'2025-04-09','Automatic General Expense: Bank',0,NULL,0,0),(1193,'2025-04-09','Automatic General Expense: Bank',0,NULL,0,0),(1194,'2025-04-09','Automatic General Expense: Bank',0,NULL,0,0),(1195,'2025-04-10','Automatic General Expense: Bank',0,NULL,0,0),(1196,'2025-04-12','Automatic General Expense: Bank',0,NULL,0,0),(1197,'2025-04-12','Automatic General Expense: Bank',0,NULL,0,0),(1198,'2025-04-12','Automatic General Expense: Bank',0,NULL,0,0),(1199,'2025-04-15','Automatic General Expense: Bank',0,NULL,0,1),(1200,'2025-04-15','Bank Money Transfer',1,NULL,0,1),(1201,'2025-04-15','PTC Expense from: Tushar',0,NULL,0,1),(1202,'2025-04-15','Petty Cash From Bank To Tushar',0,NULL,0,1),(1203,'2025-04-15','PTC Expense from: Tushar',0,NULL,0,1),(1204,'2025-04-15','PTC Expense from: Tushar',0,NULL,0,1),(1205,'2025-04-15','Automatic General Expense: Bank',0,NULL,0,1),(1206,'2025-04-16','PTC Expense from: Tushar',0,NULL,0,1),(1207,'2025-04-20','Automatic General Expense: Cash on hand',0,NULL,0,1),(1208,'2025-04-21','PTC Expense from: Tushar',0,NULL,0,1),(1209,'2025-04-16','PTC Expense from: Tushar',0,NULL,0,0),(1210,'2025-04-21','payment_voucher',1,'',0,0),(1211,'2025-04-21','PTC Expense from: Tushar',0,NULL,0,1),(1212,'2025-04-21','PTC Expense from: Tushar',0,NULL,0,1),(1213,'2025-12-31','Automatic General Expense: Bank',0,NULL,0,1),(1214,'2025-02-13','Automatic General Expense: Bank',0,NULL,0,1),(1215,'2025-04-21','Automatic General Expense: Bank',0,NULL,0,0),(1216,'2025-04-22','Automatic General Expense: Bank',0,NULL,0,1),(1217,'2025-04-22','PTC Expense from: Tushar',0,NULL,0,1),(1218,'2025-03-30','Automatic General Expense: Bank',0,NULL,0,0),(1219,'2025-02-27','Automatic General Expense: Cash on hand',0,NULL,0,0),(1220,'2025-04-22','Petty Cash From Bank To Abobakr Ismail Ahmed: April Month Patty Cash',0,NULL,0,1),(1221,'2025-04-22','Petty Cash From Bank To Tushar: April Patty Cash',0,NULL,0,1),(1222,'2025-04-15','Petty Cash From Bank To Tushar',0,NULL,0,1),(1223,'2025-04-15','Petty Cash From Bank To Tushar',0,NULL,0,1),(1224,'2025-04-22','Petty Cash From Bank To Tushar: April Patty Cash',0,NULL,0,1),(1225,'2025-04-22','PTC Expense from: Tushar',0,NULL,0,1),(1226,'2025-04-15','Automatic General Expense: Bank',0,NULL,0,1),(1227,'2025-04-20','Automatic General Expense: Cash on hand',0,NULL,0,1),(1228,'2025-04-22','Automatic General Expense: Bank',0,NULL,0,1),(1229,'2025-04-22','PTC Expense from: Tushar',0,NULL,0,1),(1230,'2025-04-22','Automatic General Expense: Bank',0,NULL,0,0),(1231,'2025-04-23','Automatic General Expense: Bank',0,NULL,0,1),(1232,'2025-04-23','PTC Expense from: Tushar',0,NULL,0,1),(1233,'2025-04-23','PTC Expense from: Tushar',0,NULL,0,1),(1234,'2025-04-23','PTC Expense from: Tushar',0,NULL,0,1),(1235,'2025-04-21','PTC Expense from: Tushar',0,NULL,0,0),(1236,'2025-04-22','PTC Expense from: Tushar',0,NULL,0,0),(1237,'2025-04-23','PTC Expense from: Tushar',0,NULL,0,0),(1238,'2025-04-23','PTC Expense from: Tushar',0,NULL,0,0),(1239,'2025-04-23','PTC Expense from: Tushar',0,NULL,0,0),(1240,'2025-04-22','Automatic General Expense: Bank',0,NULL,0,0),(1241,'2025-04-23','Automatic General Expense: Bank',0,NULL,0,0),(1242,'2025-02-01','Automatic General Expense: Cash on hand',0,NULL,0,0),(1243,'2025-02-01','Automatic General Expense: Cash on hand',0,NULL,0,0),(1244,'2025-02-11','Automatic General Expense: Bank',0,NULL,0,0),(1245,'2025-02-24','Automatic General Expense: Cash on hand',0,NULL,0,0),(1246,'2025-02-24','Automatic General Expense: Bank',0,NULL,0,0),(1247,'2025-02-26','Automatic General Expense: Bank',0,NULL,0,0),(1248,'2025-03-17','Automatic General Expense: Bank',0,NULL,0,0),(1249,'2025-03-25','Automatic General Expense: Bank',0,NULL,0,0),(1250,'2025-03-30','Automatic General Expense: Bank',0,NULL,0,0),(1251,'2025-04-15','Automatic General Expense: Bank',0,NULL,0,0),(1252,'2025-04-20','Automatic General Expense: Cash on hand',0,NULL,0,1),(1253,'2025-04-24','PTC Expense from: Tushar',0,NULL,0,0),(1254,'2025-04-24','PTC Expense from: Tushar',0,NULL,0,0),(1255,'2025-02-13','Automatic General Expense: Bank',0,NULL,0,0),(1256,'2025-04-24','Automatic General Expense: Bank',0,NULL,0,1),(1257,'2025-04-24','PTC Expense from: Tushar',0,NULL,0,0),(1258,'2025-04-24','Automatic General Expense: Bank',0,NULL,0,0),(1259,'2025-04-15','Petty Cash From Bank To Tushar',0,NULL,0,1),(1260,'2025-04-27','Petty Cash From Bank To Tushar',0,NULL,0,0),(1261,'2025-04-27','PTC Expense from: Tushar',0,NULL,0,0),(1262,'2025-04-27','PTC Expense from: Tushar',0,NULL,0,0),(1263,'2025-04-15','Petty Cash From Bank To Tushar',0,NULL,0,1),(1264,'2025-04-27','Bank Money Transfer',1,NULL,0,0),(1265,'2025-04-27','PTC Expense from: Tushar',0,NULL,0,1),(1266,'2025-04-22','Petty Cash From Bank To Tushar: April Patty Cash',0,NULL,0,0),(1267,'2025-04-15','Petty Cash From Bank To Tushar',0,NULL,0,0),(1268,'2025-04-27','Petty Cash From Bank To Tushar',0,NULL,0,0),(1269,'2025-04-27','PTC Expense from: Tushar',0,NULL,0,1),(1270,'2025-04-28','PTC Expense from: Tushar',0,NULL,0,0),(1271,'2025-04-28','PTC Expense from: Tushar',0,NULL,0,1),(1272,'2025-04-28','Automatic General Expense: Bank',0,NULL,0,1),(1273,'2025-04-28','Automatic General Expense: Bank',0,NULL,0,1),(1274,'2025-04-28','PTC Expense from: Tushar',0,NULL,0,1),(1275,'2025-04-29','PTC Expense from: Tushar',0,NULL,0,1),(1276,'2025-04-29','PTC Expense from: Tushar',0,NULL,0,0),(1277,'2025-04-29','PTC Expense from: Tushar',0,NULL,0,0),(1278,'2025-04-28','PTC Expense from: Tushar',0,NULL,0,0),(1279,'2025-04-28','PTC Expense from: Tushar',0,NULL,0,0),(1280,'2025-04-28','PTC Expense from: Tushar',0,NULL,0,0),(1281,'2025-04-29','PTC Expense from: Tushar',0,NULL,0,1),(1282,'2025-04-30','PTC Expense from: Tushar',0,NULL,0,0),(1283,'2025-04-30','PTC Expense from: Tushar',0,NULL,0,0),(1284,'2025-04-30','PTC Expense from: Tushar',0,NULL,0,0),(1285,'2025-04-30','PTC Expense from: Tushar',0,NULL,0,0),(1286,'2025-04-30','PTC Expense from: Tushar',0,NULL,0,0),(1287,'2025-04-30','PTC Expense from: Tushar',0,NULL,0,0),(1288,'2025-04-30','PTC Expense from: Tushar',0,NULL,0,0),(1289,'2025-04-30','Automatic General Expense: Bank',0,NULL,0,0),(1290,'2025-04-29','PTC Expense from: Tushar',0,NULL,0,0),(1291,'2025-04-30','PTC Expense from: Tushar',0,NULL,0,1),(1292,'2025-04-30','PTC Expense from: Tushar',0,NULL,0,0),(1293,'2025-04-30','PTC Expense from: Tushar',0,NULL,0,1),(1294,'2025-04-30','PTC Expense from: Tushar',0,NULL,0,1),(1295,'2025-04-30','PTC Expense from: Tushar',0,NULL,0,0),(1296,'2025-04-30','PTC Expense from: Tushar',0,NULL,0,0),(1297,'2025-05-03','PTC Expense from: Tushar',0,NULL,0,1),(1298,'2025-05-03','Petty Cash From Bank To Tushar',0,NULL,0,1),(1299,'2025-05-03','Petty Cash From Bank To Tushar',0,NULL,0,1),(1300,'2025-05-03','Petty Cash From Bank To Tushar',0,NULL,0,1),(1301,'2025-05-03','Petty Cash From Bank To Tushar',0,NULL,0,1),(1302,'2025-05-03','PTC Expense from: Tushar',0,NULL,0,1),(1303,'2025-05-03','Petty Cash From Bank To Tushar',0,NULL,0,1),(1304,'2025-05-03','Petty Cash From Bank To Tushar',0,NULL,0,1),(1305,'2025-05-03','Automatic General Expense: Bank',0,NULL,0,0),(1306,'2025-05-03','PTC Expense from: Tushar',0,NULL,0,1),(1307,'2025-05-03','Petty Cash From Bank To Tushar',0,NULL,0,1),(1308,'2025-05-03','Petty Cash From Bank To Tushar',0,NULL,0,0),(1309,'2025-05-03','PTC Expense from: Tushar',0,NULL,0,1),(1310,'2025-05-04','PTC Expense from: Tushar',0,NULL,0,1),(1311,'2025-05-03','PTC Expense from: Tushar',0,NULL,0,1),(1312,'2025-05-04','PTC Expense from: Tushar',0,NULL,0,1),(1313,'2025-05-05','PTC Expense from: Tushar',0,NULL,0,1),(1314,'2025-05-03','PTC Expense from: Tushar',0,NULL,0,1),(1315,'2025-05-06','PTC Expense from: Tushar',0,NULL,0,1),(1316,'2025-05-06','PTC Expense from: Tushar',0,NULL,0,0),(1317,'2025-05-03','PTC Expense from: Tushar',0,NULL,0,0),(1318,'2025-05-04','PTC Expense from: Tushar',0,NULL,0,1),(1319,'2025-05-04','Automatic General Expense: Bank',0,NULL,0,0),(1320,'2025-05-05','PTC Expense from: Tushar',0,NULL,0,0),(1321,'2025-05-06','Automatic General Expense: Bank',0,NULL,0,1),(1322,'2025-05-08','PTC Expense from: Tushar',0,NULL,0,1),(1323,'2025-05-08','PTC Expense from: Tushar',0,NULL,0,1),(1324,'2025-05-08','PTC Expense from: Tushar',0,NULL,0,0),(1325,'2025-05-08','PTC Expense from: Tushar',0,NULL,0,0),(1326,'2025-05-11','PTC Expense from: Tushar',0,NULL,0,0),(1327,'2025-05-12','PTC Expense from: Tushar',0,NULL,0,1),(1328,'2025-05-12','PTC Expense from: Tushar',0,NULL,0,0),(1329,'2025-05-08','PTC Expense from: Tushar',0,NULL,0,1),(1330,'2025-05-13','PTC Expense from: Tushar',0,NULL,0,0),(1331,'2025-05-13','PTC Expense from: Tushar',0,NULL,0,0),(1332,'2025-05-13','PTC Expense from: Tushar',0,NULL,0,0),(1333,'2025-05-15','PTC Expense from: Tushar',0,NULL,0,0),(1334,'2025-05-18','PTC Expense from: Tushar',0,NULL,0,0),(1335,'2025-05-18','PTC Expense from: Tushar',0,NULL,0,0),(1336,'2025-05-08','PTC Expense from: Tushar',0,NULL,0,0),(1337,'2025-05-08','PTC Expense from: Tushar',0,NULL,0,0),(1338,'2025-05-06','Automatic General Expense: Bank',0,NULL,0,0),(1339,'2025-05-20','PTC Expense from: Tushar',0,NULL,0,0),(1340,'2025-05-20','PTC Expense from: Tushar',0,NULL,0,1),(1341,'2025-05-20','PTC Expense from: Tushar',0,NULL,0,1),(1342,'2025-05-20','PTC Expense from: Tushar',0,NULL,0,1),(1343,'2025-05-21','PTC Expense from: Tushar',0,NULL,0,0),(1344,'2025-05-22','Automatic General Expense: Bank',0,NULL,0,1),(1345,'2025-05-22','Automatic General Expense: Bank',0,NULL,0,0),(1346,'2025-05-24','Petty Cash From Bank To Tushar',0,NULL,0,0),(1347,'2025-05-25','Petty Cash From Bank To Tushar',0,NULL,0,1),(1348,'2025-05-25','PTC Expense from: Tushar',0,NULL,0,1),(1349,'2025-05-25','PTC Expense from: Tushar',0,NULL,0,1),(1350,'2025-05-26','PTC Expense from: Tushar',0,NULL,0,0),(1351,'2025-05-25','PTC Expense from: Tushar',0,NULL,0,1),(1352,'2025-05-27','PTC Expense from: Tushar',0,NULL,0,0),(1353,'2025-05-27','PTC Expense from: Tushar',0,NULL,0,0),(1354,'2025-05-12','PTC Expense from: Tushar',0,NULL,0,1),(1355,'2025-05-27','Automatic General Expense: Bank',0,NULL,0,0),(1356,'2025-05-27','PTC Expense from: Tushar',0,NULL,0,0),(1357,'2025-05-28','PTC Expense from: Tushar',0,NULL,0,0),(1358,'2025-05-28','PTC Expense from: Tushar',0,NULL,0,0),(1359,'2025-05-28','PTC Expense from: Tushar',0,NULL,0,0),(1360,'2025-05-29','PTC Expense from: Tushar',0,NULL,0,0),(1361,'2025-05-29','PTC Expense from: Tushar',0,NULL,0,1),(1362,'2025-05-29','PTC Expense from: Tushar',0,NULL,0,0),(1363,'2025-05-29','PTC Expense from: Tushar',0,NULL,0,0),(1364,'2025-05-29','PTC Expense from: Tushar',0,NULL,0,0),(1365,'2025-05-29','PTC Expense from: Tushar',0,NULL,0,0),(1366,'2025-05-29','PTC Expense from: Tushar',0,NULL,0,0),(1367,'2025-05-29','PTC Expense from: Tushar',0,NULL,0,0),(1368,'2025-05-29','PTC Expense from: Tushar',0,NULL,0,0),(1369,'2025-05-29','PTC Expense from: Tushar',0,NULL,0,1),(1370,'2025-05-12','PTC Expense from: Tushar',0,NULL,0,0),(1371,'2025-05-06','PTC Expense from: Tushar',0,NULL,0,0),(1372,'2025-05-20','PTC Expense from: Tushar',0,NULL,0,0),(1373,'2025-05-25','PTC Expense from: Tushar',0,NULL,0,0),(1374,'2025-05-25','PTC Expense from: Tushar',0,NULL,0,0),(1375,'2025-05-31','PTC Expense from: Tushar',0,NULL,0,0),(1376,'2025-05-31','Petty Cash From Bank To Tushar',0,NULL,0,1),(1377,'2025-05-31','Petty Cash From Bank To Tushar',0,NULL,0,1),(1378,'2025-05-31','Petty Cash From Bank To Tushar',0,NULL,0,1),(1379,'2025-05-29','PTC Expense from: Tushar',0,NULL,0,0),(1380,'2025-06-01','PTC Expense from: Tushar',0,NULL,0,1),(1381,'2025-06-01','PTC Expense from: Tushar',0,NULL,0,1),(1382,'2025-06-01','PTC Expense from: Tushar',0,NULL,0,1),(1383,'2025-06-02','PTC Expense from: Tushar',0,NULL,0,1),(1384,'2025-06-02','PTC Expense from: Tushar',0,NULL,0,1),(1385,'2025-06-02','PTC Expense from: Tushar',0,NULL,0,1),(1386,'2025-05-31','Petty Cash From Bank To Tushar',0,NULL,0,1),(1387,'2025-04-15','PTC Expense from: Tushar',0,NULL,0,1),(1388,'2025-05-31','Petty Cash From Bank To Tushar',0,NULL,0,1),(1389,'2025-05-25','Petty Cash From Bank To Tushar',0,NULL,0,1),(1390,'2025-06-03','PTC Expense from: Tushar',0,NULL,0,1),(1391,'2025-06-03','PTC Expense from: Tushar',0,NULL,0,1),(1392,'2025-06-03','PTC Expense from: Tushar',0,NULL,0,1),(1393,'2025-06-04','PTC Expense from: Tushar',0,NULL,0,1),(1394,'2025-06-04','PTC Expense from: Tushar',0,NULL,0,1),(1395,'2025-06-04','PTC Expense from: Tushar',0,NULL,0,1),(1396,'2025-06-04','PTC Expense from: Tushar',0,NULL,0,1),(1397,'2025-06-04','PTC Expense from: Tushar',0,NULL,0,1),(1398,'2025-06-04','PTC Expense from: Tushar',0,NULL,0,1),(1399,'2025-06-04','PTC Expense from: Tushar',0,NULL,0,1),(1400,'2025-06-10','Automatic General Expense: Bank',0,NULL,0,1),(1401,'2025-06-10','PTC Expense from: Tushar',0,NULL,0,1),(1402,'2025-06-10','PTC Expense from: Tushar',0,NULL,0,1),(1403,'2025-06-04','PTC Expense from: Tushar',0,NULL,0,1),(1404,'2025-06-04','PTC Expense from: Tushar',0,NULL,0,1),(1405,'2025-05-29','PTC Expense from: Tushar',0,NULL,0,0),(1406,'2025-06-02','PTC Expense from: Tushar',0,NULL,0,1),(1407,'2025-06-04','PTC Expense from: Tushar',0,NULL,0,1),(1408,'2025-06-04','PTC Expense from: Tushar',0,NULL,0,1),(1409,'2025-06-10','PTC Expense from: Tushar',0,NULL,0,1),(1410,'2025-06-04','PTC Expense from: Tushar',0,NULL,0,1),(1411,'2025-05-25','Petty Cash From Bank To Tushar',0,NULL,0,0),(1412,'2025-05-31','Petty Cash From Bank To Tushar',0,NULL,0,1),(1413,'2025-05-31','Petty Cash From Bank To Tushar',0,NULL,0,1),(1414,'2025-05-31','Petty Cash From Bank To Tushar',0,NULL,0,1),(1415,'2025-06-01','PTC Expense from: Tushar',0,NULL,0,1),(1416,'2025-06-01','PTC Expense from: Tushar',0,NULL,0,1),(1417,'2025-06-01','PTC Expense from: Tushar',0,NULL,0,1),(1418,'2025-06-02','PTC Expense from: Tushar',0,NULL,0,1),(1419,'2025-06-02','PTC Expense from: Tushar',0,NULL,0,1),(1420,'2025-06-02','PTC Expense from: Tushar',0,NULL,0,1),(1421,'2025-06-03','PTC Expense from: Tushar',0,NULL,0,1),(1422,'2025-06-03','PTC Expense from: Tushar',0,NULL,0,1),(1423,'2025-06-03','PTC Expense from: Tushar',0,NULL,0,1),(1424,'2025-06-04','PTC Expense from: Tushar',0,NULL,0,1),(1425,'2025-06-04','PTC Expense from: Tushar',0,NULL,0,1),(1426,'2025-06-04','PTC Expense from: Tushar',0,NULL,0,1),(1427,'2025-06-04','PTC Expense from: Tushar',0,NULL,0,1),(1428,'2025-06-04','PTC Expense from: Tushar',0,NULL,0,1),(1429,'2025-06-04','PTC Expense from: Tushar',0,NULL,0,1),(1430,'2025-06-10','PTC Expense from: Tushar',0,NULL,0,1),(1431,'2025-06-10','PTC Expense from: Tushar',0,NULL,0,1),(1432,'2025-06-10','PTC Expense from: Tushar',0,NULL,0,1),(1433,'2025-06-04','PTC Expense from: Tushar',0,NULL,0,1),(1434,'2025-06-04','PTC Expense from: Tushar',0,NULL,0,1),(1435,'2025-06-04','PTC Expense from: Tushar',0,NULL,0,1),(1436,'2025-06-01','PTC Expense from: Tushar',0,NULL,0,0),(1437,'2025-06-01','PTC Expense from: Tushar',0,NULL,0,0),(1438,'2025-06-01','PTC Expense from: Tushar',0,NULL,0,0),(1439,'2025-06-02','PTC Expense from: Tushar',0,NULL,0,1),(1440,'2025-06-02','PTC Expense from: Tushar',0,NULL,0,0),(1441,'2025-06-02','PTC Expense from: Tushar',0,NULL,0,0),(1442,'2025-06-03','PTC Expense from: Tushar',0,NULL,0,0),(1443,'2025-06-03','PTC Expense from: Tushar',0,NULL,0,0),(1444,'2025-06-03','PTC Expense from: Tushar',0,NULL,0,0),(1445,'2025-06-04','PTC Expense from: Tushar',0,NULL,0,0),(1446,'2025-06-04','PTC Expense from: Tushar',0,NULL,0,0),(1447,'2025-06-04','PTC Expense from: Tushar',0,NULL,0,0),(1448,'2025-06-04','PTC Expense from: Tushar',0,NULL,0,0),(1449,'2025-06-04','PTC Expense from: Tushar',0,NULL,0,0),(1450,'2025-06-04','PTC Expense from: Tushar',0,NULL,0,0),(1451,'2025-06-10','PTC Expense from: Tushar',0,NULL,0,0),(1452,'2025-06-10','PTC Expense from: Tushar',0,NULL,0,0),(1453,'2025-06-10','PTC Expense from: Tushar',0,NULL,0,0),(1454,'2025-06-10','PTC Expense from: Tushar',0,NULL,0,1),(1455,'2025-06-10','PTC Expense from: Tushar',0,NULL,0,1),(1456,'2025-06-10','PTC Expense from: Tushar',0,NULL,0,1),(1457,'2025-06-10','Petty Cash From Bank To Tushar',0,NULL,0,1),(1458,'2025-06-02','PTC Expense from: Tushar',0,NULL,0,0),(1459,'2025-06-11','PTC Expense from: Tushar',0,NULL,0,1),(1460,'2025-06-11','PTC Expense from: Tushar',0,NULL,0,1),(1461,'2025-06-11','PTC Expense from: Tushar',0,NULL,0,1),(1462,'2025-06-11','PTC Expense from: Tushar',0,NULL,0,1),(1463,'2025-06-11','PTC Expense from: Tushar',0,NULL,0,1),(1464,'2025-06-11','PTC Expense from: Tushar',0,NULL,0,1),(1465,'2025-06-11','PTC Expense from: Tushar',0,NULL,0,1),(1466,'2025-06-01','PTC Expense from: Tushar',0,NULL,0,1),(1467,'2025-06-01','PTC Expense from: Tushar',0,NULL,0,1),(1468,'2025-06-10','PTC Expense from: Tushar',0,NULL,0,1),(1469,'2025-06-10','PTC Expense from: Tushar',0,NULL,0,1),(1470,'2025-06-10','PTC Expense from: Tushar',0,NULL,0,1),(1471,'2025-06-10','PTC Expense from: Tushar',0,NULL,0,0),(1472,'2025-06-10','Petty Cash From Bank To Tushar',0,NULL,0,0),(1473,'2025-06-11','PTC Expense from: Tushar',0,NULL,0,0),(1474,'2025-06-11','PTC Expense from: Tushar',0,NULL,0,0),(1475,'2025-06-11','PTC Expense from: Tushar',0,NULL,0,0),(1476,'2025-06-11','PTC Expense from: Tushar',0,NULL,0,0),(1477,'2025-06-11','PTC Expense from: Tushar',0,NULL,0,0),(1478,'2025-06-11','PTC Expense from: Tushar',0,NULL,0,0),(1479,'2025-06-12','PTC Expense from: Tushar',0,NULL,0,0),(1480,'2025-06-12','PTC Expense from: Tushar',0,NULL,0,0),(1481,'2025-06-14','PTC Expense from: Tushar',0,NULL,0,0),(1482,'2025-06-14','PTC Expense from: Tushar',0,NULL,0,0),(1483,'2025-06-14','PTC Expense from: Tushar',0,NULL,0,1),(1484,'2025-06-14','PTC Expense from: Tushar',0,NULL,0,0),(1485,'2025-06-15','PTC Expense from: Tushar',0,NULL,0,1),(1486,'2025-06-15','PTC Expense from: Tushar',0,NULL,0,0),(1487,'2025-06-15','PTC Expense from: Tushar',0,NULL,0,0),(1488,'2025-06-15','PTC Expense from: Tushar',0,NULL,0,1),(1489,'2025-06-15','PTC Expense from: Tushar',0,NULL,0,0),(1490,'2025-06-15','PTC Expense from: Tushar',0,NULL,0,0),(1491,'2025-06-16','PTC Expense from: Tushar',0,NULL,0,0),(1492,'2025-06-16','PTC Expense from: Tushar',0,NULL,0,1),(1493,'2025-06-15','PTC Expense from: Tushar',0,NULL,0,1),(1494,'2025-06-16','PTC Expense from: Tushar',0,NULL,0,0),(1495,'2025-06-25','Petty Cash From Bank To Tushar: Mohammed loan transfer',0,NULL,0,1),(1496,'2025-05-25','Petty Cash From Bank To Tushar: Mohammed Loan Transfer for car repairing ',0,NULL,0,0),(1497,'2025-05-31','Petty Cash From Bank To Tushar',0,NULL,0,0),(1498,'2025-06-16','PTC Expense from: Tushar',0,NULL,0,0),(1499,'2025-06-17','Petty Cash From Bank To Tushar',0,NULL,0,0),(1500,'2025-06-15','PTC Expense from: Tushar',0,NULL,0,1),(1501,'2025-06-18','PTC Expense from: Tushar',0,NULL,0,1),(1502,'2025-06-17','Automatic General Expense: Bank',0,NULL,0,0),(1503,'2025-04-20','Automatic General Expense: Cash on hand',0,NULL,0,0),(1504,'2025-06-18','PTC Expense from: Tushar',0,NULL,0,1),(1505,'2025-06-18','PTC Expense from: Tushar',0,NULL,0,1),(1506,'2025-06-18','PTC Expense from: Tushar',0,NULL,0,0),(1507,'2025-06-18','PTC Expense from: Tushar',0,NULL,0,0),(1508,'2025-06-18','PTC Expense from: Tushar',0,NULL,0,0),(1509,'2025-06-19','PTC Expense from: Tushar',0,NULL,0,1),(1510,'2025-06-19','PTC Expense from: Tushar',0,NULL,0,0),(1511,'2025-06-21','PTC Expense from: Tushar',0,NULL,0,0),(1512,'2025-06-22','PTC Expense from: Tushar',0,NULL,0,0),(1513,'2025-06-23','Approved Employees Salaries - February-2024',0,NULL,0,0),(1514,'2025-06-23','Processed Employees Salaries - February-2024',0,NULL,0,0),(1515,'2025-06-23','Approved Employees Salaries - February-2024',0,NULL,0,0),(1516,'2025-06-23','Processed Employees Salaries - February-2024',0,NULL,0,0),(1517,'2025-06-25','PTC Expense from: Tushar',0,NULL,0,0),(1518,'2025-06-26','Petty Cash From Bank To Tushar',0,NULL,0,0),(1519,'2025-06-26','PTC Expense from: Tushar',0,NULL,0,1),(1520,'2025-06-26','PTC Expense from: Tushar',0,NULL,0,1),(1521,'2025-06-28','PTC Expense from: Tushar',0,NULL,0,1),(1522,'2025-06-28','PTC Expense from: Tushar',0,NULL,0,1),(1523,'2025-06-28','Petty Cash From Mohamed  To Tushar: Loan Transfer amount .',0,NULL,0,1),(1524,'2025-06-28','Petty Cash From Bank To Tushar: Mohamed Loan Transfer',0,NULL,0,1),(1525,'2025-06-28','Petty Cash From Bank To Tushar: Mohamed Loan Transfer ',0,NULL,0,0),(1526,'2025-06-30','PTC Expense from: Tushar',0,NULL,0,1),(1527,'2025-06-30','PTC Expense from: Tushar',0,NULL,0,1),(1528,'2025-06-30','PTC Expense from: Tushar',0,NULL,0,1),(1529,'2025-06-30','PTC Expense from: Tushar',0,NULL,0,1),(1530,'2025-06-30','PTC Expense from: Tushar',0,NULL,0,1),(1531,'2025-06-30','PTC Expense from: Tushar',0,NULL,0,1),(1532,'2025-06-16','PTC Expense from: Tushar',0,NULL,0,0),(1533,'2025-06-26','PTC Expense from: Tushar',0,NULL,0,0),(1534,'2025-06-26','PTC Expense from: Tushar',0,NULL,0,0),(1535,'2025-06-28','PTC Expense from: Tushar',0,NULL,0,0),(1536,'2025-06-28','PTC Expense from: Tushar',0,NULL,0,0),(1537,'2025-06-30','PTC Expense from: Tushar',0,NULL,0,0),(1538,'2025-06-30','PTC Expense from: Tushar',0,NULL,0,0),(1539,'2025-06-30','PTC Expense from: Tushar',0,NULL,0,0),(1540,'2025-06-30','PTC Expense from: Tushar',0,NULL,0,0),(1541,'2025-06-30','PTC Expense from: Tushar',0,NULL,0,0),(1542,'2025-06-30','PTC Expense from: Tushar',0,NULL,0,0),(1543,'2025-06-30','PTC Expense from: Tushar',0,NULL,0,1),(1544,'2025-06-30','PTC Expense from: Tushar',0,NULL,0,0),(1545,'2025-06-30','Petty Cash From Bank To Tushar',0,NULL,0,0),(1546,'2025-06-30','PTC Expense from: Tushar',0,NULL,0,0),(1547,'2025-07-01','PTC Expense from: Tushar',0,NULL,0,0),(1548,'2025-07-01','PTC Expense from: Tushar',0,NULL,0,0),(1549,'2025-07-01','PTC Expense from: Tushar',0,NULL,0,0),(1550,'2025-07-01','PTC Expense from: Tushar',0,NULL,0,0),(1551,'2025-07-01','PTC Expense from: Tushar',0,NULL,0,0),(1552,'2025-07-01','PTC Expense from: Tushar',0,NULL,0,0),(1553,'2025-07-02','PTC Expense from: Tushar',0,NULL,0,0),(1554,'2025-07-02','PTC Expense from: Tushar',0,NULL,0,0),(1555,'2025-07-06','PTC Expense from: Tushar',0,NULL,0,0),(1556,'2025-07-06','PTC Expense from: Tushar',0,NULL,0,0),(1557,'2025-07-10','PTC Expense from: Tushar',0,NULL,0,0),(1558,'2025-07-12','PTC Expense from: Tushar',0,NULL,0,0),(1559,'2025-07-10','Petty Cash From Bank To Tushar',0,NULL,0,0),(1560,'2025-07-12','PTC Expense from: Tushar',0,NULL,0,0),(1561,'2025-07-24','PTC Expense from: Tushar',0,NULL,0,0),(1562,'2025-07-24','PTC Expense from: Tushar',0,NULL,0,0),(1563,'2025-07-24','PTC Expense from: Tushar',0,NULL,0,0),(1564,'2025-07-24','PTC Expense from: Tushar',0,NULL,0,0),(1565,'2025-07-24','PTC Expense from: Tushar',0,NULL,0,0),(1566,'2025-07-24','PTC Expense from: Tushar',0,NULL,0,0),(1567,'2025-07-24','PTC Expense from: Tushar',0,NULL,0,0),(1568,'2025-07-24','PTC Expense from: Tushar',0,NULL,0,0),(1569,'2025-07-15','PTC Expense from: Tushar',0,NULL,0,0),(1570,'2025-07-16','PTC Expense from: Tushar',0,NULL,0,0),(1571,'2025-07-16','PTC Expense from: Tushar',0,NULL,0,0),(1572,'2025-07-19','PTC Expense from: Tushar',0,NULL,0,0),(1573,'2025-07-20','PTC Expense from: Tushar',0,NULL,0,0),(1574,'2025-07-20','PTC Expense from: Tushar',0,NULL,0,0),(1575,'2025-07-23','PTC Expense from: Tushar',0,NULL,0,0),(1576,'2025-07-23','PTC Expense from: Tushar',0,NULL,0,0),(1577,'2025-07-24','PTC Expense from: Tushar',0,NULL,0,0),(1578,'2025-07-24','PTC Expense from: Tushar',0,NULL,0,0),(1579,'2025-07-28','PTC Expense from: Tushar',0,NULL,0,0),(1580,'2025-07-28','PTC Expense from: Tushar',0,NULL,0,0),(1581,'2025-07-28','PTC Expense from: Tushar',0,NULL,0,0),(1582,'2025-07-30','PTC Expense from: Tushar',0,NULL,0,0),(1583,'2025-07-31','PTC Expense from: Tushar',0,NULL,0,0),(1584,'2025-07-31','PTC Expense from: Tushar',0,NULL,0,0),(1585,'2025-07-31','PTC Expense from: Tushar',0,NULL,0,0),(1586,'2025-07-31','PTC Expense from: Tushar',0,NULL,0,0),(1587,'2025-07-31','PTC Expense from: Tushar',0,NULL,0,0),(1588,'2025-07-31','PTC Expense from: Tushar',0,NULL,0,0),(1589,'2025-07-31','PTC Expense from: Tushar',0,NULL,0,0),(1590,'2025-07-31','PTC Expense from: Tushar',0,NULL,0,0),(1591,'2025-07-31','PTC Expense from: Tushar',0,NULL,0,0),(1592,'2025-07-31','PTC Expense from: Tushar',0,NULL,0,0),(1593,'2025-07-31','PTC Expense from: Tushar',0,NULL,0,0),(1594,'2025-08-31','New Job Order : 5',0,NULL,0,0);

--
-- Table structure for table `farmixusers`
--

CREATE TABLE `farmixusers` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `nationality` varchar(250) COLLATE utf8_unicode_ci NOT NULL DEFAULT '0',
  `first_name` varchar(50) COLLATE utf8_unicode_ci NOT NULL,
  `last_name` varchar(50) COLLATE utf8_unicode_ci NOT NULL,
  `superior_id` int(11) DEFAULT '-1',
  `user_type` enum('staff','client','lead') COLLATE utf8_unicode_ci NOT NULL DEFAULT 'client',
  `is_admin` tinyint(1) NOT NULL DEFAULT '0',
  `role_id` int(11) NOT NULL DEFAULT '0',
  `email` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `password` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `image` text COLLATE utf8_unicode_ci,
  `status` enum('active','inactive') COLLATE utf8_unicode_ci NOT NULL DEFAULT 'active',
  `message_checked_at` datetime DEFAULT NULL,
  `client_id` int(11) NOT NULL DEFAULT '0',
  `notification_checked_at` datetime DEFAULT NULL,
  `is_primary_contact` tinyint(1) NOT NULL DEFAULT '0',
  `job_title` varchar(100) COLLATE utf8_unicode_ci NOT NULL DEFAULT 'Untitled',
  `disable_login` tinyint(1) NOT NULL DEFAULT '0',
  `note` mediumtext COLLATE utf8_unicode_ci,
  `address` text COLLATE utf8_unicode_ci,
  `alternative_address` text COLLATE utf8_unicode_ci,
  `phone` varchar(20) COLLATE utf8_unicode_ci DEFAULT NULL,
  `alternative_phone` varchar(20) COLLATE utf8_unicode_ci DEFAULT NULL,
  `dob` date DEFAULT NULL,
  `ssn` varchar(20) COLLATE utf8_unicode_ci DEFAULT NULL,
  `gender` enum('male','female') COLLATE utf8_unicode_ci NOT NULL DEFAULT 'male',
  `sticky_note` mediumtext COLLATE utf8_unicode_ci,
  `external_links` mediumtext COLLATE utf8_unicode_ci,
  `skype` text COLLATE utf8_unicode_ci,
  `enable_web_notification` tinyint(1) NOT NULL DEFAULT '1',
  `enable_email_notification` tinyint(1) NOT NULL DEFAULT '1',
  `created_at` datetime DEFAULT NULL,
  `last_online` datetime DEFAULT NULL,
  `pt_account_id` int(11) NOT NULL DEFAULT '0',
  `sal_account_id` int(11) NOT NULL DEFAULT '0',
  `imb_account_id` int(11) NOT NULL DEFAULT '0',
  `resident_card_no` text COLLATE utf8_unicode_ci,
  `resident_card_expiry` date DEFAULT NULL,
  `passport_no` text COLLATE utf8_unicode_ci,
  `passport_expiry` date DEFAULT NULL,
  `requested_account_removal` tinyint(1) DEFAULT '0',
  `payroll` tinyint(1) DEFAULT '1',
  `deleted` int(1) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  KEY `user_type` (`user_type`),
  KEY `email` (`email`),
  KEY `client_id` (`client_id`),
  KEY `deleted` (`deleted`)
) ENGINE=InnoDB AUTO_INCREMENT=15 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `farmixusers`
--

INSERT INTO `farmixusers` VALUES (2,'0','Admin','Admin',-1,'staff',1,0,'valanfdo@alkiyumielectric.com','e10adc3949ba59abbe56e057f20f883e',NULL,'active','2024-03-07 12:15:29',0,'2024-03-07 12:15:30',0,'Untitled',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'male',NULL,NULL,NULL,1,1,NULL,'2024-04-01 08:11:04',0,0,0,NULL,NULL,NULL,NULL,0,1,0),(3,'','Tushar','Hamlai',-1,'staff',0,2,'tushar@alkiyumielectric.com','b833ab9fd96ce8d6a1ccb896ba490853',NULL,'active',NULL,0,NULL,0,'General Manager',0,NULL,'',NULL,'12345678',NULL,NULL,NULL,'male',NULL,NULL,NULL,1,1,'2024-03-07 12:20:25','2024-03-07 12:22:24',0,0,0,NULL,NULL,NULL,NULL,0,1,1),(4,'Indian','Tushar','Hegde',-1,'staff',1,0,'farmixplant2022@gmail.com','4b68ea0ce256c16f48625b52b75eca42','a:1:{s:9:\"file_name\";s:29:\"_file65ed751b066af-avatar.png\";}','active','2024-04-01 08:47:58',0,NULL,0,'IT/Account',0,NULL,'tushar.hegde@farmix.net','hegdetushar@gmail.com','78621926','+91 9920269089','1980-02-08',NULL,'male',NULL,NULL,NULL,1,1,'2024-03-10 08:07:30','2025-10-26 07:53:15',0,0,0,'134640511','2026-02-24','R0816499','2027-05-29',0,1,0),(5,'','Abubakar Ismail Ahmed','Ismail',-1,'staff',0,7,'Abobakar@farmixplant.com','71b3b26aaa319e0cdf6fdb8429c112b0',NULL,'active',NULL,0,NULL,0,'Engineer ',0,NULL,'',NULL,'+968 9243 0555',NULL,NULL,NULL,'male',NULL,NULL,NULL,1,1,'2024-03-21 09:38:13','2024-03-25 07:34:38',0,0,0,NULL,NULL,NULL,NULL,0,1,1),(6,'sudan','Abobakr Ismail Ahmed',' Ismail',-1,'staff',0,7,'Abubkar@farmix.com','e10adc3949ba59abbe56e057f20f883e',NULL,'active','2024-05-22 06:08:25',0,NULL,0,'Engineer ',0,NULL,'abobakr@farmix.net','bakri88888@gmail.com',' 92430555','79978106','1981-10-07',NULL,'male',NULL,NULL,NULL,1,1,'2024-03-25 07:39:14','2024-11-04 08:45:26',0,0,0,'124106389','2025-05-09','07694882','2026-02-19',0,1,0),(7,'0','Super','Admin',-1,'staff',1,0,'super@teamway.om','1ddcd6e6efaa6b97a57acd477d81d99e',NULL,'active',NULL,0,NULL,0,'User',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'male',NULL,NULL,NULL,1,1,'2023-10-16 17:14:42','2025-03-17 10:16:35',0,0,0,NULL,NULL,NULL,NULL,0,1,0),(8,'Indian','Tushar ','Hegde',-1,'staff',1,0,'tushar.hegde@farmix.net','17d1b4c05109b4ae1f8843efe8d43f47',NULL,'active',NULL,0,NULL,0,'Account',0,NULL,'tushar.hegde@farmix.net',NULL,'78621926',NULL,NULL,NULL,'male',NULL,NULL,NULL,1,1,'2024-12-07 04:50:03','2024-12-07 04:54:18',0,0,0,NULL,NULL,NULL,NULL,0,1,1),(9,'Indian','Tushar','Hegde',-1,'staff',0,1,'tushar.hegde@farmix.net','4b68ea0ce256c16f48625b52b75eca42',NULL,'active',NULL,0,NULL,0,'IT7 Account',0,NULL,'tushar.hegde@farmix.net',NULL,'78621926',NULL,NULL,NULL,'male',NULL,NULL,NULL,1,1,'2024-12-07 04:57:26','2024-12-07 04:58:46',0,0,0,NULL,NULL,NULL,NULL,0,1,1),(10,'0','Mosharef',' Hussaain',-1,'client',0,0,'info@qadco.com.qa','d41d8cd98f00b204e9800998ecf8427e',NULL,'active',NULL,10,NULL,1,'',0,'',NULL,NULL,'+974 33004909  +974 ',NULL,NULL,NULL,'male',NULL,NULL,'',1,1,'2025-01-29 07:10:07',NULL,0,0,0,NULL,NULL,NULL,NULL,0,1,0),(11,'0','Dr, Wagih Zain',' Elawady',-1,'client',0,0,'Almarooj@omantel.net.com','d41d8cd98f00b204e9800998ecf8427e',NULL,'active',NULL,13,NULL,1,'',0,'',NULL,NULL,'91212419',NULL,NULL,NULL,'male',NULL,NULL,'',1,1,'2025-03-12 07:06:44',NULL,0,0,0,NULL,NULL,NULL,NULL,0,1,0),(12,'Bangladesh','Chuton','Mai',-1,'staff',0,0,'chuton.m@gmail.com','4b68ea0ce256c16f48625b52b75eca42',NULL,'active',NULL,0,NULL,0,'Cleaning & Helper',0,NULL,'chuton.m@gmail.com',NULL,'72862914',NULL,NULL,NULL,'male',NULL,NULL,NULL,1,1,'2025-06-24 11:34:02',NULL,0,0,0,NULL,NULL,NULL,NULL,0,1,0),(13,'Bangladesh','Sayeem','MD',-1,'staff',0,0,'Sayeem.md@gmail.com','4b68ea0ce256c16f48625b52b75eca42',NULL,'active',NULL,0,NULL,0,'Mechanic / Production Supervisor',0,NULL,'Sayeem.md@gamil.com',NULL,'90254518',NULL,NULL,NULL,'male',NULL,NULL,NULL,1,1,'2025-06-24 11:39:40',NULL,0,0,0,NULL,NULL,NULL,NULL,0,1,0),(14,'Egyptian   ','Mohamed ','Ahmed Yaser',-1,'staff',0,0,'mohammed.yasser@farmix.net','330bd70d6b53b0c3855b82c91fee057f',NULL,'active',NULL,0,NULL,0,'Quality Control Manager',0,NULL,'mohammed.yasser@farmix.net',NULL,'77200239',NULL,NULL,NULL,'male',NULL,NULL,NULL,1,1,'2025-06-24 11:43:58',NULL,0,0,0,NULL,NULL,NULL,NULL,0,1,0);

--
-- Table structure for table `manufacturing_demoaccounts`
--

CREATE TABLE `manufacturing_demoaccounts` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `acc_name` varchar(255) NOT NULL,
  `acc_code` varchar(255) DEFAULT NULL,
  `acc_parent` int(11) NOT NULL,
  `is_primary` tinyint(1) NOT NULL DEFAULT '0',
  `is_inactive` int(11) NOT NULL DEFAULT '0',
  `acc_description` text,
  `module_id` int(11) DEFAULT '0',
  `module` enum('suppliers','team_members','clients','expenses','assets') DEFAULT NULL,
  `deleted` int(11) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE=InnoDB AUTO_INCREMENT=82 DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC;

--
-- Dumping data for table `manufacturing_demoaccounts`
--

INSERT INTO `manufacturing_demoaccounts` VALUES (1,'Assets','1',0,1,0,NULL,0,NULL,0),(2,'Non-Current Assets','1-1',1,0,0,NULL,0,NULL,0),(3,'Office Devices, Furniture and Fixtures','1-1-1',2,0,0,NULL,0,NULL,0),(4,'Office Devices, Furniture and Fixtures','1-1-1-1',3,0,0,NULL,0,NULL,0),(5,'Machinery, Tools & Equipments','1-1-2',2,0,0,NULL,0,NULL,0),(6,'Machinery, Tools & Equipments','1-1-2-1',5,0,0,NULL,0,NULL,0),(7,'Motor Vehicles','1-1-3',2,0,0,NULL,0,NULL,0),(8,'Motor Vehicles','1-1-3-1',7,0,0,NULL,0,NULL,0),(9,'Long Term Investments ','1-1-4',2,0,0,NULL,0,NULL,0),(10,'Long Term Investments ','1-1-4-1',9,0,0,NULL,0,NULL,0),(11,'Intangible Assets','1-1-5',2,0,0,NULL,0,NULL,0),(12,'Intangible Assets','1-1-5-1',11,0,0,NULL,0,NULL,0),(13,'Current Assets','1-2',1,0,0,NULL,0,NULL,0),(14,'Employees Payments','1-2-1',13,0,0,NULL,0,NULL,0),(15,'Employees loans','1-2-1-1',14,0,0,NULL,0,NULL,0),(16,'Employees petty cash','1-2-1-2',14,0,0,NULL,0,NULL,0),(17,'Inventories','1-2-2',13,0,0,NULL,0,NULL,0),(18,'Default Inventory','1-2-2-1',17,0,0,NULL,0,NULL,0),(19,'Account Receivable - Customers','1-2-3',13,0,0,NULL,0,NULL,0),(20,'Account Receivable - Cheques On Hand','1-2-4',13,0,0,NULL,0,NULL,0),(21,'PDC Receivable','1-2-4-1',20,0,0,NULL,0,NULL,0),(22,'RD Receivable Cheques','1-2-4-2',20,0,0,NULL,0,NULL,0),(23,'Legal Cheques','1-2-4-3',20,0,0,NULL,0,NULL,0),(24,'Cash-On-Hand(Safes)','1-2-5',13,0,0,NULL,0,NULL,0),(25,'Bank Accounts','1-2-6',13,0,0,NULL,0,NULL,0),(26,'Deferred Taxes','1-2-7',13,0,0,NULL,0,NULL,0),(27,'VAT-In','1-2-7-1',26,0,0,NULL,0,NULL,0),(28,'Liabilities','2',0,1,0,NULL,0,NULL,0),(29,'Non-Current Liability','2-1',28,0,0,NULL,0,NULL,0),(30,'Mortgage Loan Payable','2-1-1',29,0,0,NULL,0,NULL,0),(31,'Mortgage Loan Payable','2-1-1-1',30,0,0,NULL,0,NULL,0),(32,'Othor -Longe term - Liabilities','2-1-2',29,0,0,NULL,0,NULL,0),(33,'Othor -Longe term - Liabilities','2-1-2-1',32,0,0,NULL,0,NULL,0),(34,'Deferred Taxes','2-1-3',29,0,0,NULL,0,NULL,0),(35,'VAT-Out','2-1-3-1',34,0,0,NULL,0,NULL,0),(36,'Current Liability','2-2',28,0,0,NULL,0,NULL,0),(37,'Account Payables - Suppliers','2-2-1',36,0,0,NULL,0,NULL,0),(38,'Accumulated Depreciation ','2-2-2',36,0,0,NULL,0,NULL,0),(39,'Accumulated Depreciation ','2-2-2-1',38,0,0,NULL,0,NULL,0),(40,'Service Providers','2-2-3',36,0,0,NULL,0,NULL,0),(41,'Default Service Provider','2-2-3-1',40,0,0,NULL,0,NULL,0),(42,'Account Payable - Cheques','2-2-4',36,0,0,NULL,0,NULL,0),(43,'PDC Payables','2-2-4-1',42,0,0,NULL,0,NULL,0),(44,'RD Payables Cheques','2-2-4-2',43,0,0,NULL,0,NULL,0),(45,'Employees Payments','2-2-5',36,0,0,NULL,0,NULL,0),(46,'Payable Salaries','2-2-5-1',45,0,0,NULL,0,NULL,0),(47,'Equity','3',0,1,0,NULL,0,NULL,0),(48,'Owners Equity','3-1',47,0,0,NULL,0,NULL,0),(49,'SHARE HOLDERS A/C','3-1-1',48,0,0,NULL,0,NULL,0),(50,'SHARE HOLDERS A/C','3-1-1-1',49,0,0,NULL,0,NULL,0),(51,'OWNER CURRENT A/C','3-1-2',48,0,0,NULL,0,NULL,0),(52,'OWNER CURRENT A/C','3-1-2-1',51,0,0,NULL,0,NULL,0),(53,'PROFIT & LOSS A/C','3-1-3',48,0,0,NULL,0,NULL,0),(54,'Retained Profit & Loss','3-1-3-1',53,0,0,NULL,0,NULL,0),(55,'Current Profit & Loss','3-1-3-2',53,0,0,NULL,0,NULL,0),(56,'Expenses','4',0,1,0,NULL,0,NULL,0),(57,'Direct Expenses','4-1',56,0,0,NULL,0,NULL,0),(58,'Sales Returns And Allowances','4-1-1',57,0,0,NULL,0,NULL,0),(59,'Sales Returns','4-1-1-1',58,0,0,NULL,0,NULL,0),(60,'Sales Discount','4-1-1-2',58,0,0,NULL,0,NULL,0),(61,'Cost of Revenue','4-1-2',57,0,0,NULL,0,NULL,0),(62,'Default Cost Of Good Sold','4-1-2-1',61,0,0,NULL,0,NULL,0),(63,'Indirect Expenses','4-2',56,0,0,NULL,0,NULL,0),(64,'Employees & Benefits Expenses','4-2-1',63,0,0,NULL,0,NULL,0),(65,'Salaries','4-2-1-1',64,0,0,NULL,0,NULL,0),(66,'Advance Salaries','4-2-1-2',64,0,0,NULL,0,NULL,0),(67,'Income','5',0,1,0,NULL,0,NULL,0),(68,'Direct Income','5-1',67,0,0,NULL,0,NULL,0),(69,'Sales Revenue','5-1-1',68,0,0,NULL,0,NULL,0),(70,'Default Sales','5-1-1-1',69,0,0,NULL,0,NULL,0),(71,'Indirect Income','5-2',67,0,0,NULL,0,NULL,0),(72,'Other Revenue','5-2-1',71,0,0,NULL,0,NULL,0),(73,'Other Revenue','5-2-1-1',72,0,0,NULL,0,NULL,0),(74,'GIT','1-2-8',13,0,0,NULL,0,NULL,0),(75,'Default Git','1-2-8-1',74,0,0,NULL,0,NULL,0),(76,'Client 1','1-2-3-1',19,0,0,NULL,0,NULL,0),(77,'Test Bank','1-2-6-1',25,0,0,'Test Bank',NULL,NULL,0),(78,'TetraObject','2-2-1-1',37,0,0,NULL,0,NULL,0),(79,'Intelligent Projects','1-2-3-2',19,0,0,NULL,0,NULL,0),(80,'Omer','1-2-3-3',19,0,0,NULL,0,NULL,0),(81,'R','1-2-3-4',19,0,0,NULL,0,NULL,0);

--
-- Table structure for table `manufacturing_demoactivity_logs`
--

CREATE TABLE `manufacturing_demoactivity_logs` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `created_at` datetime NOT NULL,
  `created_by` int(11) NOT NULL,
  `action` enum('created','updated','deleted') COLLATE utf8_unicode_ci NOT NULL,
  `log_type` varchar(30) COLLATE utf8_unicode_ci NOT NULL,
  `log_type_title` mediumtext COLLATE utf8_unicode_ci NOT NULL,
  `log_type_id` int(11) NOT NULL DEFAULT '0',
  `changes` mediumtext COLLATE utf8_unicode_ci,
  `log_for` varchar(30) COLLATE utf8_unicode_ci NOT NULL DEFAULT '0',
  `log_for_id` int(11) NOT NULL DEFAULT '0',
  `log_for2` varchar(30) COLLATE utf8_unicode_ci DEFAULT NULL,
  `log_for_id2` int(11) DEFAULT NULL,
  `deleted` tinyint(1) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=27 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `manufacturing_demoactivity_logs`
--

INSERT INTO `manufacturing_demoactivity_logs` VALUES (1,'2024-09-09 08:04:21',2,'created','clients','',1,NULL,'',0,'',0,0),(2,'2024-09-09 08:04:21',2,'created','estimates','',19,NULL,'',0,'',0,0),(3,'2024-09-09 08:09:47',2,'created','estimates','',20,NULL,'',0,'',0,0),(4,'2024-09-09 08:28:16',2,'created','item_categories','',2,NULL,'',0,'',0,0),(5,'2024-09-12 12:36:41',2,'created','items','',1,NULL,'',0,'',0,0),(6,'2024-09-12 12:37:05',2,'created','items','',2,NULL,'',0,'',0,0),(7,'2024-09-12 13:35:44',2,'created','clients','',2,NULL,'',0,'',0,0),(8,'2024-09-12 13:35:44',2,'updated','clients','',2,'a:1:{s:10:\"account_id\";a:2:{s:4:\"from\";s:1:\"0\";s:2:\"to\";i:80;}}','',0,'',0,0),(9,'2024-09-12 13:35:52',2,'created','invoices','',1,NULL,'',0,'',0,0),(10,'2024-09-12 13:36:38',2,'created','invoice_items','',1,NULL,'',0,'',0,0),(11,'2024-09-12 13:36:45',2,'updated','invoices','',1,'a:1:{s:15:\"approval_status\";a:2:{s:4:\"from\";s:12:\"not_approved\";s:2:\"to\";s:8:\"approved\";}}','',0,'',0,0),(12,'2024-09-12 13:37:09',2,'created','delivery_notes','',3,NULL,'',0,'',0,0),(13,'2024-09-12 13:37:09',2,'created','delivery_note_items','',5,NULL,'',0,'',0,0),(14,'2024-09-12 13:37:12',2,'updated','delivery_notes','',3,'a:1:{s:6:\"status\";a:2:{s:4:\"from\";s:5:\"draft\";s:2:\"to\";s:8:\"approved\";}}','',0,'',0,0),(15,'2024-09-12 13:37:12',2,'updated','invoices','',1,'a:1:{s:15:\"delivery_status\";a:2:{s:4:\"from\";s:13:\"not_delivered\";s:2:\"to\";s:9:\"delivered\";}}','',0,'',0,0),(16,'2024-09-12 13:37:51',2,'created','estimate_items','',29,NULL,'',0,'',0,0),(17,'2024-09-12 13:37:55',2,'updated','estimates','',20,'a:1:{s:6:\"status\";a:2:{s:4:\"from\";s:5:\"draft\";s:2:\"to\";s:8:\"approved\";}}','',0,'',0,0),(18,'2024-09-12 13:37:58',2,'updated','estimates','',20,'a:1:{s:6:\"status\";a:2:{s:4:\"from\";s:8:\"approved\";s:2:\"to\";s:8:\"accepted\";}}','',0,'',0,0),(19,'2024-09-12 13:38:06',2,'updated','clients','',1,'a:2:{s:7:\"is_lead\";a:2:{s:4:\"from\";s:1:\"1\";s:2:\"to\";s:1:\"0\";}s:21:\"client_migration_date\";a:2:{s:4:\"from\";s:10:\"0000-00-00\";s:2:\"to\";s:19:\"2024-09-12 13:38:06\";}}','',0,'',0,0),(20,'2024-09-12 13:38:06',2,'updated','clients','',1,'a:1:{s:10:\"account_id\";a:2:{s:4:\"from\";s:1:\"0\";s:2:\"to\";i:81;}}','',0,'',0,0),(21,'2024-09-12 13:50:03',2,'updated','invoices','',1,'a:1:{s:14:\"confirm_status\";a:2:{s:4:\"from\";s:13:\"not_confirmed\";s:2:\"to\";s:9:\"confirmed\";}}','',0,'',0,0),(22,'2024-09-12 13:50:03',2,'created','job_orders','',1,NULL,'',0,'',0,0),(23,'2024-09-15 12:35:03',2,'created','items','',3,NULL,'',0,'',0,0),(24,'2024-09-15 12:36:43',2,'deleted','items','',3,NULL,'',0,NULL,NULL,0),(25,'2024-09-15 12:36:45',2,'deleted','items','',1,NULL,'',0,NULL,NULL,0),(26,'2024-09-15 12:37:13',2,'created','item_categories','',3,NULL,'',0,'',0,0);

--
-- Table structure for table `manufacturing_demoannouncements`
--

CREATE TABLE `manufacturing_demoannouncements` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `title` text COLLATE utf8_unicode_ci NOT NULL,
  `description` mediumtext COLLATE utf8_unicode_ci NOT NULL,
  `start_date` date NOT NULL,
  `end_date` date NOT NULL,
  `created_by` int(11) NOT NULL,
  `share_with` mediumtext COLLATE utf8_unicode_ci,
  `created_at` datetime NOT NULL,
  `files` text COLLATE utf8_unicode_ci NOT NULL,
  `read_by` mediumtext COLLATE utf8_unicode_ci,
  `deleted` int(1) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  KEY `created_by` (`created_by`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `manufacturing_demoannouncements`
--


--
-- Table structure for table `manufacturing_demoattendance`
--

CREATE TABLE `manufacturing_demoattendance` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `status` enum('incomplete','pending','approved','rejected','deleted') COLLATE utf8_unicode_ci NOT NULL DEFAULT 'incomplete',
  `user_id` int(11) NOT NULL,
  `in_time` datetime NOT NULL,
  `out_time` datetime DEFAULT NULL,
  `checked_by` int(11) DEFAULT NULL,
  `note` text COLLATE utf8_unicode_ci,
  `checked_at` datetime DEFAULT NULL,
  `reject_reason` text COLLATE utf8_unicode_ci,
  `deleted` int(1) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  KEY `user_id` (`user_id`),
  KEY `checked_by` (`checked_by`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `manufacturing_demoattendance`
--


--
-- Table structure for table `manufacturing_demobudgeting`
--

CREATE TABLE `manufacturing_demobudgeting` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `client_id` int(11) DEFAULT NULL,
  `estimate_request_id` int(11) NOT NULL DEFAULT '0',
  `estimate_date` date NOT NULL,
  `valid_until` date DEFAULT NULL,
  `note` mediumtext COLLATE utf8_unicode_ci,
  `last_email_sent_date` date DEFAULT NULL,
  `status` enum('draft','sent','accepted','declined','approved','request_approval') COLLATE utf8_unicode_ci NOT NULL DEFAULT 'draft',
  `tax_id` int(11) NOT NULL DEFAULT '0',
  `tax_id2` int(11) NOT NULL DEFAULT '0',
  `discount_type` enum('before_tax','after_tax') COLLATE utf8_unicode_ci DEFAULT NULL,
  `discount_amount` double DEFAULT NULL,
  `profit` double DEFAULT NULL,
  `discount_amount_type` enum('percentage','fixed_amount') COLLATE utf8_unicode_ci DEFAULT NULL,
  `project_id` int(11) NOT NULL DEFAULT '0',
  `deleted` tinyint(1) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci ROW_FORMAT=DYNAMIC;

--
-- Dumping data for table `manufacturing_demobudgeting`
--


--
-- Table structure for table `manufacturing_demobudgeting_forms`
--

CREATE TABLE `manufacturing_demobudgeting_forms` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `title` text COLLATE utf8_unicode_ci NOT NULL,
  `description` longtext COLLATE utf8_unicode_ci NOT NULL,
  `status` enum('active','inactive') COLLATE utf8_unicode_ci NOT NULL,
  `assigned_to` int(11) NOT NULL,
  `public` tinyint(1) NOT NULL DEFAULT '0',
  `enable_attachment` tinyint(4) NOT NULL DEFAULT '0',
  `deleted` tinyint(1) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci ROW_FORMAT=DYNAMIC;

--
-- Dumping data for table `manufacturing_demobudgeting_forms`
--


--
-- Table structure for table `manufacturing_demobudgeting_items`
--

CREATE TABLE `manufacturing_demobudgeting_items` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `item_id` int(11) NOT NULL DEFAULT '0',
  `title` text COLLATE utf8_unicode_ci NOT NULL,
  `description` text COLLATE utf8_unicode_ci,
  `estimate_id` int(11) NOT NULL,
  `tax_id` int(11) DEFAULT '0',
  `tax_id2` int(11) DEFAULT '0',
  `quotation_uom` varchar(250) COLLATE utf8_unicode_ci DEFAULT NULL,
  `quotation_quantity` double DEFAULT NULL,
  `item_price` double DEFAULT NULL,
  `quotation_selling_rate` double DEFAULT NULL,
  `quotation_total` double DEFAULT NULL,
  `cost_uom` varchar(50) COLLATE utf8_unicode_ci DEFAULT NULL,
  `cost_quantity` double DEFAULT NULL,
  `cost_rate` double DEFAULT NULL,
  `cost_total` double DEFAULT NULL,
  `material_cost` double DEFAULT NULL,
  `labour_cost` double DEFAULT NULL,
  `machinery` double DEFAULT NULL,
  `others` double DEFAULT NULL,
  `profit` double DEFAULT NULL,
  `total` double DEFAULT NULL,
  `deleted` tinyint(1) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci ROW_FORMAT=DYNAMIC;

--
-- Dumping data for table `manufacturing_demobudgeting_items`
--


--
-- Table structure for table `manufacturing_demobudgeting_requests`
--

CREATE TABLE `manufacturing_demobudgeting_requests` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `estimate_form_id` int(11) NOT NULL,
  `created_by` int(11) NOT NULL,
  `created_at` datetime NOT NULL,
  `client_id` int(11) NOT NULL,
  `lead_id` int(11) NOT NULL,
  `assigned_to` int(11) NOT NULL,
  `status` enum('new','processing','hold','canceled','estimated') COLLATE utf8_unicode_ci NOT NULL DEFAULT 'new',
  `files` mediumtext COLLATE utf8_unicode_ci NOT NULL,
  `deleted` tinyint(1) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci ROW_FORMAT=DYNAMIC;

--
-- Dumping data for table `manufacturing_demobudgeting_requests`
--


--
-- Table structure for table `manufacturing_demochecklist_items`
--

CREATE TABLE `manufacturing_demochecklist_items` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `title` text COLLATE utf8_unicode_ci NOT NULL,
  `is_checked` int(11) NOT NULL DEFAULT '0',
  `task_id` int(11) NOT NULL DEFAULT '0',
  `sort` int(11) NOT NULL DEFAULT '0',
  `deleted` int(11) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `manufacturing_demochecklist_items`
--


--
-- Table structure for table `manufacturing_democi_sessions`
--

CREATE TABLE `manufacturing_democi_sessions` (
  `id` varchar(128) COLLATE utf8_unicode_ci NOT NULL,
  `ip_address` varchar(45) COLLATE utf8_unicode_ci NOT NULL,
  `timestamp` int(10) unsigned NOT NULL DEFAULT '0',
  `data` blob NOT NULL,
  KEY `ci_sessions_timestamp` (`timestamp`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `manufacturing_democi_sessions`
--

INSERT INTO `manufacturing_democi_sessions` VALUES ('b8cbc65e3b08b3471a82d24ca653743803af51a3','45.80.151.145',1686841753,_binary '__ci_last_regenerate|i:1686835527;user_id|s:1:\"2\";'),('90051acea7a87f34e54497427ce33465735d6798','89.147.146.168',1686896909,''),('6c4df6e375b744f3f9d1b8922b8fbf8722435139','89.147.146.168',1686896909,''),('096abeb6b148f68b05c04f80463776aa341e7719','89.147.146.168',1686896910,''),('badb76412300910692c2cf8634995f990e24293d','161.8.109.180',1687086999,_binary '__ci_last_regenerate|i:1687084383;user_id|s:1:\"2\";'),('8bcd60f1284f43a08012c3af882b8755f6ece2fd','161.8.109.180',1692255105,_binary '__ci_last_regenerate|i:1692255101;'),('1ad7d07c48c8a1619ef679af841d20c82f41623b','161.8.109.180',1725286701,_binary '__ci_last_regenerate|i:1725279033;user_id|s:1:\"2\";'),('82203267ccb97b939c73baf6e6b4519e321ddc88','54.83.253.103',1725279058,_binary '__ci_last_regenerate|i:1725279058;'),('3ffd5be7695b26cddbfe3cb64c9c6f97e200f8c2','54.83.253.103',1725279058,_binary '__ci_last_regenerate|i:1725279058;'),('45f9f885c83eb6e5b68d2bf6d89fcd94b07e9924','5.162.52.48',1725280375,_binary '__ci_last_regenerate|i:1725280375;'),('550a05faf3129ba7d31432b68aceb1735cf95f60','5.162.52.48',1725280376,_binary '__ci_last_regenerate|i:1725280376;'),('6042acb9092579c07fbd09adfa351651139da6c2','161.8.109.180',1725344734,_binary '__ci_last_regenerate|i:1725343854;user_id|s:1:\"2\";'),('903bf2982db6d5e1c675f2ebd62632a2bc8bda08','5.36.86.19',1725346733,_binary '__ci_last_regenerate|i:1725346733;user_id|s:1:\"2\";'),('6621e53f3381888d48dc169fbcd7d8078ff43010','5.36.86.19',1725346920,_binary '__ci_last_regenerate|i:1725344129;user_id|s:1:\"2\";'),('fa7fdb29a8bcf6930eda522b02113ca953048dd1','188.140.182.205',1725346739,_binary '__ci_last_regenerate|i:1725346733;user_id|s:1:\"2\";'),('b04eb84767c4e882cbe00204b454c7a8e91bb5ba','5.36.86.19',1725355158,_binary '__ci_last_regenerate|i:1725355158;user_id|s:1:\"2\";'),('14f842857452fbee7b6f16d0181eee4191f5bbd7','5.36.86.19',1725355683,_binary '__ci_last_regenerate|i:1725355683;user_id|s:1:\"2\";'),('bdb42b4eb6e138d334f791ba7c54d0e5da58f903','5.36.86.19',1725357716,_binary '__ci_last_regenerate|i:1725355683;user_id|s:1:\"2\";'),('aaf4abd190e638888040e7175ef32cc818c397f2','5.36.86.19',1725357878,_binary '__ci_last_regenerate|i:1725357878;'),('2c279faf4c228181c014902fe092f1411948d580','89.147.153.58',1725358008,_binary '__ci_last_regenerate|i:1725358008;'),('32b0fa5b94bea4e412f7986cea30628a6a4e7408','134.0.141.101',1725369849,_binary '__ci_last_regenerate|i:1725367746;user_id|s:1:\"2\";'),('c41c1f3d2edeb67d4e19c7c9070251c834a5ca33','5.36.86.19',1725432244,_binary '__ci_last_regenerate|i:1725432089;user_id|s:1:\"2\";'),('a62df86bb47af095ebba0837677119b4043e2b32','5.36.80.65',1725470204,_binary '__ci_last_regenerate|i:1725469940;user_id|s:1:\"2\";'),('122e16cf4727d38fd253116ac25e066c5424d215','5.21.217.143',1725779907,_binary '__ci_last_regenerate|i:1725779707;user_id|s:1:\"2\";'),('11a2bb6b34f4381900ab1d16d63c806179642748','5.21.217.143',1725781079,_binary '__ci_last_regenerate|i:1725781079;'),('ff301b26a8cbf15ee0eac578998c4f51f589c1b9','5.21.217.143',1725781079,_binary '__ci_last_regenerate|i:1725781079;'),('fef935c0c7372b9f89a4c3dd02fc1ed3ad68d17e','37.200.247.120',1725867753,_binary '__ci_last_regenerate|i:1725867753;'),('e7192749b2ebe1533479c175e10e3cbb26947546','37.200.247.120',1725867754,_binary '__ci_last_regenerate|i:1725867754;'),('4ac0d462235e43f61ac97d8466ebe7b5b4a1bccf','37.200.247.120',1725867754,_binary '__ci_last_regenerate|i:1725867754;'),('9fba32be1b4ded8d3368339afd80bb47ff71ff8e','37.200.247.120',1725867754,_binary '__ci_last_regenerate|i:1725867754;'),('37c078320e63d0176239d5e4a257b87bee2792d1','37.40.91.130',1725868997,_binary '__ci_last_regenerate|i:1725868997;user_id|s:1:\"2\";'),('cf63d5ff2e8f8cf2c8a334f43ff73a0de75674f5','37.40.91.130',1725869310,_binary '__ci_last_regenerate|i:1725869310;user_id|s:1:\"2\";'),('d01e1b77a9487a9020b3a1ffad2b4879a90da40f','37.40.91.130',1725870238,_binary '__ci_last_regenerate|i:1725870238;user_id|s:1:\"2\";'),('57c281e3cceeb43212363e4bde4f9121600a0fdd','37.40.91.130',1725874389,_binary '__ci_last_regenerate|i:1725874389;user_id|s:1:\"2\";'),('14c0b9ebbdb8f1ebbf83ab259f2c72674e99f6f4','185.228.7.170',1725874419,_binary '__ci_last_regenerate|i:1725874291;user_id|s:1:\"2\";'),('fc85f98d8f0a873f28cc42c8c8bb6bd176d13321','37.40.91.130',1725874695,_binary '__ci_last_regenerate|i:1725874695;user_id|s:1:\"2\";'),('d2333233ccf0dc6e8337c3405f2b6b4275eddce8','185.112.104.133',1725874420,_binary '__ci_last_regenerate|i:1725874420;'),('df1f68c0faf24ba7d54619366fb673f993b49dae','185.112.104.132',1725874423,_binary '__ci_last_regenerate|i:1725874422;'),('2a44fa3460704863e69f971828f4ead4c51d6382','185.228.7.170',1725874447,''),('e5db0d0083494d48f98e4f3d64c5ba5de9689a46','37.40.91.130',1725874794,_binary '__ci_last_regenerate|i:1725874695;user_id|s:1:\"2\";'),('15010dee255be3396b8512e2727a2d39852242aa','62.61.187.120',1726131885,_binary '__ci_last_regenerate|i:1726131885;'),('3146b3a892122ca8a064cdafd126ba09d06a8e59','62.61.187.120',1726131886,_binary '__ci_last_regenerate|i:1726131886;'),('c95f11401f9caa9386550b29940fb74407e89359','89.147.188.233',1726133680,_binary '__ci_last_regenerate|i:1726133293;user_id|s:1:\"2\";'),('1b50526297469f29c110f6164d410bb0ea81c164','89.147.188.233',1726136159,_binary '__ci_last_regenerate|i:1726136159;user_id|s:1:\"2\";'),('9959e79751683906d74906804a49223e8a33aca0','89.147.188.233',1726138170,_binary '__ci_last_regenerate|i:1726136159;user_id|s:1:\"2\";'),('02cd83e0932944eeb94b3e48660bab19d20bc600','3.0.159.165',1726144474,_binary '__ci_last_regenerate|i:1726144473;'),('5bc90f752eac15d36c78f7ccae47af79c4b803c3','161.8.109.180',1726145270,_binary '__ci_last_regenerate|i:1726144514;user_id|s:1:\"2\";'),('a1b5c2ea280845e06c85385b2adfe5e5e19a8fad','161.8.109.180',1726145309,''),('53a22bb8f6817ecc4111ed58bfae50cd59861d02','161.8.109.180',1726148298,_binary '__ci_last_regenerate|i:1726148298;user_id|s:1:\"2\";'),('9aacdf073684a5b3e3bc5b9b90757da1517fc288','54.38.214.107',1726148006,_binary '__ci_last_regenerate|i:1726148006;'),('cabee4a223c47d11fe98c963d2552a1b24187530','54.38.214.107',1726148006,_binary '__ci_last_regenerate|i:1726148006;'),('ac1c23063310ce9da8410a5a0cd929a713d35b7a','54.38.214.107',1726148286,_binary '__ci_last_regenerate|i:1726148286;'),('c64152eae60568b81528329a147682490033ce4a','161.8.109.180',1726154048,_binary '__ci_last_regenerate|i:1726148298;user_id|s:1:\"2\";'),('1b3892063d3230890e51f7f93bc1c49661c4b3c2','161.8.109.180',1726148799,_binary '__ci_last_regenerate|i:1726148799;'),('82d7ccfcc5abb7ff9d0fe1da176866221735931f','161.8.109.180',1726152316,_binary '__ci_last_regenerate|i:1726148839;user_id|s:1:\"2\";'),('37e72b564dca83da64247f33ba4b21fd7d95d5a1','54.38.214.107',1726148846,_binary '__ci_last_regenerate|i:1726148846;'),('e40caa4e66492dfc69cc1e85baaa67ad9d4abebf','54.38.214.107',1726148846,_binary '__ci_last_regenerate|i:1726148846;'),('b480a5214a9b70efcf521340d8b3f6f0953e91f0','54.38.214.107',1726148989,_binary '__ci_last_regenerate|i:1726148989;'),('13a5468a6c374af3a5099e79d96943bdf24225c0','54.38.214.107',1726148989,_binary '__ci_last_regenerate|i:1726148989;'),('6c2c33080bc7316a41ca4847bdccd7866db381d4','54.38.214.107',1726149004,_binary '__ci_last_regenerate|i:1726149004;'),('40c391f39ef50590a23efeb4e682989139cc148c','185.228.7.170',1726207130,''),('e358989667b7d8d74e340435efd6198d97482b3a','185.228.7.170',1726207480,_binary '__ci_last_regenerate|i:1726207479;'),('da22ccfee2e685b4edba98b827637b30b218a4c8','89.147.188.233',1726310272,_binary '__ci_last_regenerate|i:1726310221;user_id|s:1:\"2\";'),('3ae497567a5d2f504cfb6fb0cf830d95c4268566','54.38.214.107',1726310224,_binary '__ci_last_regenerate|i:1726310224;'),('f2c9a5918f70a73e0bfc6b2538ecdaa3b1ea9c4b','54.38.214.107',1726310224,_binary '__ci_last_regenerate|i:1726310224;'),('82f0b863689a3ae3dcbdd06a4568fc2f4c214bc7','89.147.188.233',1726400439,_binary '__ci_last_regenerate|i:1726400438;'),('5272d4aa3f8949458c24e82d7f7896890c3a7083','89.147.188.233',1726400439,_binary '__ci_last_regenerate|i:1726400439;'),('0d2b16740098887d78f073375728e43f3413e717','89.147.188.233',1726400463,_binary '__ci_last_regenerate|i:1726400463;'),('97f9e9c7d9f7bffa543c3f9ce7cf67c0c57c9a49','89.147.188.233',1726400481,_binary '__ci_last_regenerate|i:1726400481;'),('c81374faa4115395c6f30f6fb64925bfb252cdfb','89.147.188.233',1726400789,_binary '__ci_last_regenerate|i:1726400789;user_id|s:1:\"2\";'),('bdb2b141dd4ff1f683effe2f35919e248e86c1be','54.38.214.107',1726400510,_binary '__ci_last_regenerate|i:1726400510;'),('1f51bf5f9da17c24ab6d5699e06b296562c22776','54.38.214.107',1726400510,_binary '__ci_last_regenerate|i:1726400510;'),('80e4e7395a1d42fcf8768754112e894a723b2cbb','89.147.188.233',1726403092,_binary '__ci_last_regenerate|i:1726403092;user_id|s:1:\"2\";'),('80e2dcd69e7e841e2c9f22b3f6f583a303c77724','54.38.214.107',1726400790,_binary '__ci_last_regenerate|i:1726400790;'),('c117deba8c068f7d86e322b0f070945e72eb48f3','54.38.214.107',1726400791,_binary '__ci_last_regenerate|i:1726400791;'),('857b3ce4ee830322c2af4baa55c4f2a0c15ffd69','54.38.214.107',1726400834,_binary '__ci_last_regenerate|i:1726400834;'),('4a00b2adea888dcc8112507b4a09c276f26a9f37','54.38.214.107',1726400834,_binary '__ci_last_regenerate|i:1726400834;'),('5b2f6625ed25f5155bd59245e585219bb568302e','54.38.214.107',1726400914,_binary '__ci_last_regenerate|i:1726400914;'),('7d3e0ea865ab51cbee45f631e2d10db19fedf3da','54.38.214.107',1726400914,_binary '__ci_last_regenerate|i:1726400914;'),('ccf7acd90e874e3c271cf13f0d49b5cc5c4da375','54.38.214.107',1726400923,_binary '__ci_last_regenerate|i:1726400923;'),('f04269f72ee9e892aacb71704f8d12b0299a4ca5','54.38.214.107',1726400924,_binary '__ci_last_regenerate|i:1726400924;'),('5f821ad1a4b71fb0a2edb967558914aac19816ca','89.147.188.233',1726403406,_binary '__ci_last_regenerate|i:1726403406;user_id|s:1:\"2\";'),('c377aa4760783e7e2d52f7ea8237aaa73224fea7','89.147.188.233',1726403771,_binary '__ci_last_regenerate|i:1726403771;user_id|s:1:\"2\";'),('deecc86c8be832fcfcd9e778f82c80be0be47e44','54.38.214.107',1726403429,_binary '__ci_last_regenerate|i:1726403429;'),('7ff3b94ac942afeff243411f725737430178164f','54.38.214.107',1726403430,_binary '__ci_last_regenerate|i:1726403430;'),('5ec9d329217fa1cffedf6ccf271e07c83333e195','89.147.188.233',1726404315,_binary '__ci_last_regenerate|i:1726404315;user_id|s:1:\"2\";'),('8eeec7cdb8428b120cb91b62dd34cf28ce21e843','89.147.188.233',1726407849,_binary '__ci_last_regenerate|i:1726407849;user_id|s:1:\"2\";'),('867e0066ed5c6bea1d30e5ea918cd12922e1d6bf','89.147.188.233',1726411607,_binary '__ci_last_regenerate|i:1726407849;user_id|s:1:\"2\";'),('42620d0e6cbfd5d2e96bcf4fdbfc927a21d6f71f','54.38.214.107',1726408053,_binary '__ci_last_regenerate|i:1726408053;'),('3be2d30e118313e3da6f76c48460e8c9b04c4cd1','54.38.214.107',1726408081,_binary '__ci_last_regenerate|i:1726408081;'),('a89556430c55eef41a86d722b8c14ec77b81ee60','89.147.188.233',1726463706,''),('295c9cc8877f2dcfb45c23b87d5db8f2b2cd7d50','89.147.188.233',1726463706,''),('0bbf8e473134f52311feba3299a7f32e2b050721','89.147.188.233',1726463706,''),('c405f62df2d21faf9974de12d74ed0f583fad01c','89.147.188.233',1726463725,''),('62fb17951fcbd846559ba93a3b6213304471500d','54.254.37.44',1726489144,_binary '__ci_last_regenerate|i:1726489143;'),('d1c28afdeaec7fb58816d18d0a6ef9877fbfcb7b','161.8.109.180',1726489153,_binary '__ci_last_regenerate|i:1726489152;'),('d4ed3b81402399a69523fe0349e129d26836a422','89.147.188.233',1726494112,_binary '__ci_last_regenerate|i:1726493515;user_id|s:1:\"2\";'),('f2f0dad45d18a01af5339b4d3d34978b74b17e4b','54.38.214.107',1726493527,_binary '__ci_last_regenerate|i:1726493527;'),('06b2eaf641141a9dcab423262928b2615304e0a3','54.38.214.107',1726493586,_binary '__ci_last_regenerate|i:1726493586;'),('dffc7215a762f68ee740f94ced65ad4c1e53cb9a','161.8.109.180',1726493661,_binary '__ci_last_regenerate|i:1726493661;'),('f0ed3e14663c4c69c6e1b2bcd194215ad008ebfa','89.147.188.233',1726494136,''),('2102819d1f78a53a91f3fffa60c9311fa9b06e65','161.8.109.180',1726556961,_binary '__ci_last_regenerate|i:1726556960;'),('22c3f15de6225bc73437b9a9dc8bd112053f1ce0','37.40.25.39',1745507928,_binary '__ci_last_regenerate|i:1745507918;'),('e6af79120661aedd09450a2a3fdb34b04c2dcd82','5.36.146.86',1751278399,_binary '__ci_last_regenerate|i:1751278398;'),('3411c587ad42dd58c709d16a8459284f88eb9780','188.135.78.255',1751307756,_binary '__ci_last_regenerate|i:1751307756;'),('24498bfcaade35f4d80134f0f22a3ea08253e6c9','5.36.146.86',1751363875,_binary '__ci_last_regenerate|i:1751363875;'),('649401ac59380bbe079fa8b0a67a98988655f4a5','5.36.146.86',1751363787,_binary '__ci_last_regenerate|i:1751363786;'),('c201ad04e19bb54d89812e9998ae5e21afcff4cc','5.36.146.86',1751363909,_binary '__ci_last_regenerate|i:1751363875;');

--
-- Table structure for table `manufacturing_democlient_groups`
--

CREATE TABLE `manufacturing_democlient_groups` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `title` text COLLATE utf8_unicode_ci NOT NULL,
  `deleted` tinyint(1) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `manufacturing_democlient_groups`
--


--
-- Table structure for table `manufacturing_democlients`
--

CREATE TABLE `manufacturing_democlients` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `company_name` varchar(150) COLLATE utf8_unicode_ci NOT NULL,
  `address` text COLLATE utf8_unicode_ci,
  `city` varchar(50) COLLATE utf8_unicode_ci DEFAULT NULL,
  `state` varchar(50) COLLATE utf8_unicode_ci DEFAULT NULL,
  `zip` varchar(50) COLLATE utf8_unicode_ci DEFAULT NULL,
  `country` varchar(50) COLLATE utf8_unicode_ci DEFAULT NULL,
  `created_date` date NOT NULL,
  `website` text COLLATE utf8_unicode_ci,
  `phone` varchar(20) COLLATE utf8_unicode_ci DEFAULT NULL,
  `email` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `currency_symbol` varchar(20) COLLATE utf8_unicode_ci DEFAULT NULL,
  `starred_by` mediumtext COLLATE utf8_unicode_ci NOT NULL,
  `group_ids` text COLLATE utf8_unicode_ci NOT NULL,
  `deleted` tinyint(1) NOT NULL DEFAULT '0',
  `is_lead` tinyint(1) NOT NULL DEFAULT '0',
  `lead_status_id` int(11) NOT NULL,
  `owner_id` int(11) NOT NULL,
  `sort` int(11) NOT NULL DEFAULT '0',
  `lead_source_id` int(11) NOT NULL,
  `last_lead_status` text COLLATE utf8_unicode_ci NOT NULL,
  `client_migration_date` date NOT NULL,
  `vat_number` text COLLATE utf8_unicode_ci,
  `currency` varchar(3) COLLATE utf8_unicode_ci DEFAULT NULL,
  `disable_online_payment` tinyint(1) NOT NULL DEFAULT '0',
  `geo_location` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `account_id` int(11) NOT NULL DEFAULT '0',
  `advance_account_id` int(11) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `manufacturing_democlients`
--

INSERT INTO `manufacturing_democlients` VALUES (1,'R','R','','','','','2024-09-09','','R',NULL,'','','',0,0,0,0,0,0,'','2024-09-12','','',0,NULL,81,0),(2,'Omer','Muscat','','','','','2024-09-12','','98989898','','','','',0,0,0,0,0,0,'','0000-00-00','','',0,NULL,80,0);

--
-- Table structure for table `manufacturing_democontacts`
--

CREATE TABLE `manufacturing_democontacts` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `name` varchar(150) COLLATE utf8_unicode_ci NOT NULL,
  `email` varchar(150) COLLATE utf8_unicode_ci DEFAULT NULL,
  `address` text COLLATE utf8_unicode_ci,
  `phone` varchar(20) COLLATE utf8_unicode_ci DEFAULT NULL,
  `alternative_phone` varchar(20) COLLATE utf8_unicode_ci DEFAULT NULL,
  `job_title` varchar(150) COLLATE utf8_unicode_ci DEFAULT NULL,
  `note` text COLLATE utf8_unicode_ci,
  `created_date` date NOT NULL,
  `created_by` int(11) NOT NULL,
  `deleted` tinyint(1) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `manufacturing_democontacts`
--


--
-- Table structure for table `manufacturing_democustom_field_values`
--

CREATE TABLE `manufacturing_democustom_field_values` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `related_to_type` varchar(50) COLLATE utf8_unicode_ci NOT NULL,
  `related_to_id` int(11) NOT NULL,
  `custom_field_id` int(11) NOT NULL,
  `value` longtext COLLATE utf8_unicode_ci NOT NULL,
  `deleted` tinyint(1) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `manufacturing_democustom_field_values`
--


--
-- Table structure for table `manufacturing_democustom_fields`
--

CREATE TABLE `manufacturing_democustom_fields` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `title` text COLLATE utf8_unicode_ci NOT NULL,
  `placeholder` text COLLATE utf8_unicode_ci NOT NULL,
  `example_variable_name` text COLLATE utf8_unicode_ci,
  `options` mediumtext COLLATE utf8_unicode_ci NOT NULL,
  `field_type` varchar(50) COLLATE utf8_unicode_ci NOT NULL,
  `related_to` varchar(50) COLLATE utf8_unicode_ci NOT NULL,
  `sort` int(11) NOT NULL,
  `required` tinyint(1) NOT NULL DEFAULT '0',
  `show_in_table` tinyint(1) NOT NULL DEFAULT '0',
  `show_in_invoice` tinyint(1) NOT NULL DEFAULT '0',
  `show_in_estimate` tinyint(1) NOT NULL DEFAULT '0',
  `visible_to_admins_only` tinyint(1) NOT NULL DEFAULT '0',
  `hide_from_clients` tinyint(1) NOT NULL DEFAULT '0',
  `deleted` tinyint(1) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `manufacturing_democustom_fields`
--


--
-- Table structure for table `manufacturing_democustom_widgets`
--

CREATE TABLE `manufacturing_democustom_widgets` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `user_id` int(11) NOT NULL,
  `title` text COLLATE utf8_unicode_ci,
  `content` text COLLATE utf8_unicode_ci,
  `show_title` tinyint(1) NOT NULL DEFAULT '0',
  `show_border` tinyint(1) NOT NULL DEFAULT '0',
  `deleted` tinyint(1) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `manufacturing_democustom_widgets`
--


--
-- Table structure for table `manufacturing_demodashboards`
--

CREATE TABLE `manufacturing_demodashboards` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `user_id` int(11) NOT NULL,
  `title` text COLLATE utf8_unicode_ci,
  `data` text COLLATE utf8_unicode_ci,
  `color` varchar(15) COLLATE utf8_unicode_ci NOT NULL,
  `sort` int(11) NOT NULL DEFAULT '0',
  `deleted` tinyint(1) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `manufacturing_demodashboards`
--


--
-- Table structure for table `manufacturing_demodelivery_note_items`
--

CREATE TABLE `manufacturing_demodelivery_note_items` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `item_id` int(11) DEFAULT '0',
  `invoice_item_id` int(11) DEFAULT '0',
  `title` text COLLATE utf8_unicode_ci NOT NULL,
  `description` text COLLATE utf8_unicode_ci NOT NULL,
  `quantity` double NOT NULL DEFAULT '0',
  `unit_type` varchar(20) COLLATE utf8_unicode_ci NOT NULL,
  `rate` double NOT NULL,
  `total` double NOT NULL,
  `sort` int(11) NOT NULL DEFAULT '0',
  `delivery_note_id` int(11) NOT NULL,
  `deleted` tinyint(1) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=6 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `manufacturing_demodelivery_note_items`
--

INSERT INTO `manufacturing_demodelivery_note_items` VALUES (5,2,1,'Test 2','',1,'1',1,1,0,3,0);

--
-- Table structure for table `manufacturing_demodelivery_notes`
--

CREATE TABLE `manufacturing_demodelivery_notes` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `invoice_id` int(11) NOT NULL,
  `client_id` int(11) NOT NULL DEFAULT '0',
  `project_id` int(11) NOT NULL DEFAULT '0',
  `delivery_note_date` date NOT NULL,
  `note` text COLLATE utf8_unicode_ci,
  `status` enum('draft','approved','request_approval') COLLATE utf8_unicode_ci NOT NULL DEFAULT 'draft',
  `deleted` tinyint(1) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=4 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `manufacturing_demodelivery_notes`
--

INSERT INTO `manufacturing_demodelivery_notes` VALUES (3,1,2,0,'2024-09-12','','approved',0);

--
-- Table structure for table `manufacturing_demodepartments`
--

CREATE TABLE `manufacturing_demodepartments` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `title` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `deleted` int(1) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=9 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `manufacturing_demodepartments`
--


--
-- Table structure for table `manufacturing_demoemail_templates`
--

CREATE TABLE `manufacturing_demoemail_templates` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `template_name` varchar(50) COLLATE utf8_unicode_ci NOT NULL,
  `email_subject` text COLLATE utf8_unicode_ci NOT NULL,
  `default_message` mediumtext COLLATE utf8_unicode_ci NOT NULL,
  `custom_message` mediumtext COLLATE utf8_unicode_ci,
  `deleted` tinyint(1) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `manufacturing_demoemail_templates`
--


--
-- Table structure for table `manufacturing_demoenteries`
--

CREATE TABLE `manufacturing_demoenteries` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `trans_id` int(11) NOT NULL,
  `account` int(11) NOT NULL,
  `type` enum('dr','cr') NOT NULL,
  `amount` double NOT NULL,
  `narration` text NOT NULL,
  `branch_id` int(11) DEFAULT '0',
  `concerned_person` int(11) DEFAULT '0',
  `unit` text,
  `reference` int(11) DEFAULT '0',
  `deleted` tinyint(1) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=184 DEFAULT CHARSET=utf8;

--
-- Dumping data for table `manufacturing_demoenteries`
--

INSERT INTO `manufacturing_demoenteries` VALUES (179,1,80,'dr',1.05,'Invoice: AMI/1',0,0,'0',0,0),(180,1,35,'cr',0.05,'Invoice: AMI/1',0,0,'0',0,0),(181,1,70,'cr',1,'Invoice: AMI/1',0,0,'0',0,0),(182,2,62,'dr',0,'AMI/1',0,0,'0',0,0),(183,2,18,'cr',0,'AMI/1',0,0,'0',0,0);

--
-- Table structure for table `manufacturing_demoestimate_forms`
--

CREATE TABLE `manufacturing_demoestimate_forms` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `title` text COLLATE utf8_unicode_ci NOT NULL,
  `description` longtext COLLATE utf8_unicode_ci NOT NULL,
  `status` enum('active','inactive') COLLATE utf8_unicode_ci NOT NULL,
  `assigned_to` int(11) NOT NULL,
  `public` tinyint(1) NOT NULL DEFAULT '0',
  `enable_attachment` tinyint(4) NOT NULL DEFAULT '0',
  `deleted` tinyint(1) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `manufacturing_demoestimate_forms`
--


--
-- Table structure for table `manufacturing_demoestimate_items`
--

CREATE TABLE `manufacturing_demoestimate_items` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `item_id` int(11) NOT NULL DEFAULT '0',
  `title` text COLLATE utf8_unicode_ci NOT NULL,
  `description` text COLLATE utf8_unicode_ci,
  `quantity` double NOT NULL,
  `unit_type` varchar(20) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
  `rate` double NOT NULL,
  `total` double NOT NULL,
  `estimate_id` int(11) NOT NULL,
  `tax_id` int(11) DEFAULT '0',
  `tax_id2` int(11) DEFAULT '0',
  `deleted` tinyint(1) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=30 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `manufacturing_demoestimate_items`
--

INSERT INTO `manufacturing_demoestimate_items` VALUES (1,2,'Product 2','asdasd',10,'pc',150,1500,2,1,0,0),(2,3,'product 3','',20,'pc',75,1500,2,1,0,0),(3,3,'product 3','',10,'pc',75,750,3,1,0,0),(4,3,'product 3','',20,'pc',75,1500,4,1,0,0),(5,2,'Product 2','asdasd',10,'pc',150,1500,4,0,0,0),(6,2,'Product 2','asdasd',20,'pc',150,3000,5,1,0,0),(7,3,'product 3','',20,'pc',75,1500,5,1,0,0),(8,3,'product 3','',10,'pc',75,750,6,1,0,0),(9,3,'product 3','',10,'pc',75,750,7,1,0,0),(10,3,'product 3','',2,'pc',75,150,8,0,0,0),(11,3,'product 3','',5,'pc',75,375,8,0,0,0),(12,2,'Product 2','asdasd',2,'pc',150,300,9,1,0,0),(13,3,'product 3','asdasd',5,'pc',150,750,9,0,0,0),(14,2,'Product 2','asdasd',3,'pc',150,450,10,1,0,0),(15,3,'product 3','',4,'pc',75,300,10,0,0,0),(16,2,'Product 2','asdasd',10,'pc',150,1500,11,0,0,0),(17,3,'product 3','',6,'pc',75,450,11,0,0,0),(18,2,'Product 2','asdasd',10,'pc',150,1500,12,0,0,0),(19,3,'product 3','',6,'pc',75,450,12,0,0,0),(20,1,'Product 1cdsfds','Product 1',1,'pc',250,250,13,0,0,0),(21,4,'product not raw','desc',6,'kg',11,66,13,0,0,0),(22,5,'product raw','desc',1,'meter ',120,120,13,0,0,0),(23,4,'product not raw','desc',45645,'pc',75,3423375,13,1,0,0),(24,7,'paper cup 1','',210,'pack',250,52500,14,0,0,0),(25,4,'product not raw','asdasd',999,'pc',150,149850,15,0,0,0),(26,14,'P33','dfsf',2,'PC',15,30,16,0,0,0),(27,8,'Test SALEABLE item','Test',10,'PC',20,200,17,0,0,0),(28,20,'Test P11222','',10,'pc',50,500,18,0,0,0),(29,2,'Test 2','',3,'1',1,3,20,1,0,0);

--
-- Table structure for table `manufacturing_demoestimate_requests`
--

CREATE TABLE `manufacturing_demoestimate_requests` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `estimate_form_id` int(11) NOT NULL,
  `created_by` int(11) NOT NULL,
  `created_at` datetime NOT NULL,
  `client_id` int(11) NOT NULL,
  `lead_id` int(11) NOT NULL,
  `assigned_to` int(11) NOT NULL,
  `status` enum('new','processing','hold','canceled','estimated') COLLATE utf8_unicode_ci NOT NULL DEFAULT 'new',
  `files` mediumtext COLLATE utf8_unicode_ci NOT NULL,
  `deleted` tinyint(1) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `manufacturing_demoestimate_requests`
--


--
-- Table structure for table `manufacturing_demoestimates`
--

CREATE TABLE `manufacturing_demoestimates` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `client_id` int(11) NOT NULL,
  `estimate_request_id` int(11) NOT NULL DEFAULT '0',
  `estimate_date` date NOT NULL,
  `valid_until` date NOT NULL,
  `note` mediumtext COLLATE utf8_unicode_ci,
  `last_email_sent_date` date DEFAULT NULL,
  `status` enum('draft','sent','accepted','declined','approved','request_approval') COLLATE utf8_unicode_ci NOT NULL DEFAULT 'draft',
  `tax_id` int(11) NOT NULL DEFAULT '0',
  `tax_id2` int(11) NOT NULL DEFAULT '0',
  `discount_type` enum('before_tax','after_tax') COLLATE utf8_unicode_ci NOT NULL,
  `discount_amount` double NOT NULL,
  `discount_amount_type` enum('percentage','fixed_amount') COLLATE utf8_unicode_ci NOT NULL,
  `project_id` int(11) NOT NULL DEFAULT '0',
  `deleted` tinyint(1) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=21 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `manufacturing_demoestimates`
--

INSERT INTO `manufacturing_demoestimates` VALUES (1,1,0,'2022-12-22','2022-12-24','',NULL,'accepted',0,0,'before_tax',0,'percentage',0,0),(2,2,0,'2022-12-27','2022-12-29','',NULL,'accepted',0,0,'before_tax',0,'percentage',0,0),(3,2,0,'2022-12-28','2022-12-31','',NULL,'accepted',0,0,'before_tax',0,'percentage',0,0),(4,2,0,'2022-12-27','2022-12-31','',NULL,'approved',0,0,'before_tax',0,'percentage',0,0),(5,2,0,'2022-12-27','2022-12-28','',NULL,'approved',0,0,'before_tax',0,'percentage',0,0),(6,2,0,'2022-12-27','2022-12-29','',NULL,'accepted',0,0,'before_tax',0,'percentage',0,0),(7,2,0,'2023-01-04','2022-12-29','',NULL,'accepted',0,0,'before_tax',0,'percentage',0,0),(8,2,0,'2022-12-29','2022-12-29','',NULL,'accepted',0,0,'before_tax',0,'percentage',0,0),(9,2,0,'2022-12-28','2022-12-28','',NULL,'accepted',0,0,'before_tax',0,'percentage',0,0),(10,2,0,'2023-01-03','2023-01-10','',NULL,'accepted',0,0,'before_tax',0,'percentage',0,0),(11,1,0,'2023-01-03','2023-01-19','',NULL,'accepted',0,0,'before_tax',0,'percentage',0,0),(12,2,0,'2023-01-11','2023-01-27','',NULL,'accepted',0,0,'before_tax',0,'percentage',0,0),(13,1,0,'2023-01-04','2023-01-11','jgghj',NULL,'accepted',0,0,'before_tax',0,'percentage',0,0),(14,2,0,'2023-01-04','2023-01-11','',NULL,'draft',0,0,'before_tax',0,'percentage',0,0),(15,1,0,'2023-01-04','2023-01-05','kkkk',NULL,'accepted',0,0,'before_tax',0,'percentage',0,0),(16,1,0,'2023-01-20','2023-01-19','',NULL,'accepted',0,0,'before_tax',0,'percentage',0,0),(17,2,0,'2023-01-20','2023-01-21','',NULL,'accepted',0,0,'before_tax',0,'percentage',0,0),(18,2,0,'2023-01-19','2023-01-20','',NULL,'accepted',0,0,'before_tax',0,'percentage',0,0),(19,1,0,'2024-09-09','2024-09-10','R',NULL,'draft',0,0,'before_tax',0,'percentage',0,0),(20,1,0,'2024-09-09','2024-09-10','',NULL,'accepted',0,0,'before_tax',0,'percentage',0,0);

--
-- Table structure for table `manufacturing_demoevents`
--

CREATE TABLE `manufacturing_demoevents` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `title` text COLLATE utf8_unicode_ci NOT NULL,
  `description` mediumtext COLLATE utf8_unicode_ci NOT NULL,
  `start_date` date NOT NULL,
  `end_date` date NOT NULL,
  `start_time` time DEFAULT NULL,
  `end_time` time DEFAULT NULL,
  `created_by` int(11) NOT NULL,
  `location` mediumtext COLLATE utf8_unicode_ci,
  `files` mediumtext COLLATE utf8_unicode_ci,
  `client_id` int(11) NOT NULL DEFAULT '0',
  `labels` text COLLATE utf8_unicode_ci NOT NULL,
  `share_with` mediumtext COLLATE utf8_unicode_ci,
  `editable_google_event` tinyint(1) NOT NULL DEFAULT '0',
  `google_event_id` text COLLATE utf8_unicode_ci NOT NULL,
  `deleted` int(1) NOT NULL DEFAULT '0',
  `color` varchar(15) COLLATE utf8_unicode_ci NOT NULL,
  `recurring` int(1) NOT NULL DEFAULT '0',
  `repeat_every` int(11) NOT NULL DEFAULT '0',
  `repeat_type` enum('days','weeks','months','years') COLLATE utf8_unicode_ci DEFAULT NULL,
  `no_of_cycles` int(11) NOT NULL DEFAULT '0',
  `last_start_date` date DEFAULT NULL,
  `recurring_dates` longtext COLLATE utf8_unicode_ci NOT NULL,
  `confirmed_by` text COLLATE utf8_unicode_ci NOT NULL,
  `rejected_by` text COLLATE utf8_unicode_ci NOT NULL,
  PRIMARY KEY (`id`),
  KEY `created_by` (`created_by`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `manufacturing_demoevents`
--


--
-- Table structure for table `manufacturing_demoexpense_categories`
--

CREATE TABLE `manufacturing_demoexpense_categories` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `category_parent` int(11) NOT NULL,
  `title` text COLLATE utf8_unicode_ci NOT NULL,
  `account_id` int(11) NOT NULL DEFAULT '0',
  `deleted` tinyint(1) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `manufacturing_demoexpense_categories`
--


--
-- Table structure for table `manufacturing_demoexpense_items`
--

CREATE TABLE `manufacturing_demoexpense_items` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `title` text COLLATE utf8_unicode_ci NOT NULL,
  `parent` int(11) NOT NULL,
  `account_id` int(11) NOT NULL DEFAULT '0',
  `deleted` tinyint(1) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci ROW_FORMAT=DYNAMIC;

--
-- Dumping data for table `manufacturing_demoexpense_items`
--


--
-- Table structure for table `manufacturing_demoexpenses`
--

CREATE TABLE `manufacturing_demoexpenses` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `expense_date` date NOT NULL,
  `category_id` int(11) NOT NULL,
  `item_id` int(11) DEFAULT NULL,
  `description` mediumtext COLLATE utf8_unicode_ci,
  `amount` double NOT NULL,
  `payment_mode` enum('bank','cash_on_hand','cheque','reimbursement','pt_cash') COLLATE utf8_unicode_ci NOT NULL,
  `cheque_due_date` date DEFAULT NULL,
  `cheque_description` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `cheque_account` varchar(150) COLLATE utf8_unicode_ci DEFAULT NULL,
  `cheque_number` int(11) DEFAULT NULL,
  `cheque_transaction_id` int(11) NOT NULL DEFAULT '0',
  `files` mediumtext COLLATE utf8_unicode_ci NOT NULL,
  `title` text COLLATE utf8_unicode_ci NOT NULL,
  `project_id` int(11) NOT NULL DEFAULT '0',
  `invoice_id` int(11) NOT NULL DEFAULT '0',
  `user_id` int(11) NOT NULL DEFAULT '0',
  `client_id` int(11) NOT NULL DEFAULT '0',
  `status` varchar(50) COLLATE utf8_unicode_ci NOT NULL DEFAULT 'draft',
  `tax_id` int(11) NOT NULL DEFAULT '0',
  `tax_id2` int(11) NOT NULL DEFAULT '0',
  `transaction_id` int(11) NOT NULL DEFAULT '0',
  `deleted` tinyint(1) NOT NULL DEFAULT '0',
  `bank` int(11) NOT NULL DEFAULT '0',
  `treasury` int(11) NOT NULL DEFAULT '0',
  `pt_cash` int(11) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `manufacturing_demoexpenses`
--


--
-- Table structure for table `manufacturing_demoexpires`
--

CREATE TABLE `manufacturing_demoexpires` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `item` text COLLATE utf8_unicode_ci,
  `type` text COLLATE utf8_unicode_ci,
  `department_id` int(11) DEFAULT NULL,
  `expiry` date DEFAULT NULL,
  `recurring_charges` int(11) DEFAULT NULL,
  `responsible_id` int(11) DEFAULT NULL,
  `client_id` int(11) DEFAULT NULL,
  `status` enum('alert','ignore') COLLATE utf8_unicode_ci NOT NULL,
  `deleted` int(1) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `manufacturing_demoexpires`
--


--
-- Table structure for table `manufacturing_demogeneral_files`
--

CREATE TABLE `manufacturing_demogeneral_files` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `file_name` text COLLATE utf8_unicode_ci NOT NULL,
  `file_id` text COLLATE utf8_unicode_ci,
  `service_type` varchar(20) COLLATE utf8_unicode_ci DEFAULT NULL,
  `description` mediumtext COLLATE utf8_unicode_ci,
  `file_size` double NOT NULL,
  `created_at` datetime NOT NULL,
  `client_id` int(11) NOT NULL DEFAULT '0',
  `user_id` int(11) NOT NULL DEFAULT '0',
  `eroom_id` int(11) NOT NULL DEFAULT '0',
  `uploaded_by` int(11) NOT NULL,
  `deleted` tinyint(1) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `manufacturing_demogeneral_files`
--


--
-- Table structure for table `manufacturing_demohelp_articles`
--

CREATE TABLE `manufacturing_demohelp_articles` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `title` text COLLATE utf8_unicode_ci NOT NULL,
  `description` longtext COLLATE utf8_unicode_ci NOT NULL,
  `category_id` int(11) NOT NULL,
  `created_by` int(11) NOT NULL,
  `created_at` datetime DEFAULT NULL,
  `status` enum('active','inactive') COLLATE utf8_unicode_ci NOT NULL DEFAULT 'active',
  `files` text COLLATE utf8_unicode_ci NOT NULL,
  `total_views` int(11) NOT NULL DEFAULT '0',
  `deleted` tinyint(1) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `manufacturing_demohelp_articles`
--


--
-- Table structure for table `manufacturing_demohelp_categories`
--

CREATE TABLE `manufacturing_demohelp_categories` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `title` text COLLATE utf8_unicode_ci NOT NULL,
  `description` text COLLATE utf8_unicode_ci NOT NULL,
  `type` enum('help','knowledge_base') COLLATE utf8_unicode_ci NOT NULL,
  `sort` int(11) NOT NULL,
  `status` enum('active','inactive') COLLATE utf8_unicode_ci NOT NULL DEFAULT 'active',
  `deleted` tinyint(1) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `manufacturing_demohelp_categories`
--


--
-- Table structure for table `manufacturing_demointernal_transactions`
--

CREATE TABLE `manufacturing_demointernal_transactions` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `date` date NOT NULL,
  `from_employee` int(11) NOT NULL,
  `to_employee` int(11) NOT NULL,
  `amount` float(10,3) NOT NULL,
  `note` text COLLATE utf8_bin NOT NULL,
  `status` enum('draft','approved') COLLATE utf8_bin NOT NULL DEFAULT 'draft',
  `transaction_id` int(11) NOT NULL DEFAULT '0',
  `deleted` tinyint(1) NOT NULL DEFAULT '0',
  `bank` int(11) NOT NULL DEFAULT '0',
  `treasury` int(11) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_bin;

--
-- Dumping data for table `manufacturing_demointernal_transactions`
--


--
-- Table structure for table `manufacturing_demoinvoice_items`
--

CREATE TABLE `manufacturing_demoinvoice_items` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `item_id` int(11) NOT NULL DEFAULT '0',
  `title` text COLLATE utf8_unicode_ci NOT NULL,
  `description` text COLLATE utf8_unicode_ci,
  `quantity` double NOT NULL,
  `unit_type` varchar(20) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
  `rate` double NOT NULL,
  `total` double NOT NULL,
  `cost` double DEFAULT NULL,
  `sort` int(11) NOT NULL DEFAULT '0',
  `invoice_id` int(11) NOT NULL,
  `tax_id` int(11) DEFAULT '0',
  `tax_id2` int(11) DEFAULT '0',
  `deleted` tinyint(1) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `manufacturing_demoinvoice_items`
--

INSERT INTO `manufacturing_demoinvoice_items` VALUES (1,2,'Test 2','',1,'1',1,1,NULL,0,1,1,0,0);

--
-- Table structure for table `manufacturing_demoinvoice_payments`
--

CREATE TABLE `manufacturing_demoinvoice_payments` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `files` varchar(256) COLLATE utf8_unicode_ci DEFAULT NULL,
  `amount` double NOT NULL,
  `payment_date` date NOT NULL,
  `payment_method_id` int(11) NOT NULL,
  `cheque_due_date` date DEFAULT NULL,
  `cheque_description` varchar(150) COLLATE utf8_unicode_ci DEFAULT NULL,
  `cheque_account` varchar(150) COLLATE utf8_unicode_ci DEFAULT NULL,
  `cheque_number` varchar(150) COLLATE utf8_unicode_ci DEFAULT NULL,
  `cheque_transaction_id` int(11) NOT NULL DEFAULT '0',
  `note` text COLLATE utf8_unicode_ci,
  `invoice_id` int(11) NOT NULL,
  `status` enum('draft','request_approval','approved') COLLATE utf8_unicode_ci NOT NULL DEFAULT 'draft',
  `deleted` tinyint(1) NOT NULL DEFAULT '0',
  `transaction_id` tinytext COLLATE utf8_unicode_ci,
  `account_transaction_id` int(11) NOT NULL DEFAULT '0',
  `advance_transaction_id` int(11) NOT NULL DEFAULT '0',
  `created_by` int(11) DEFAULT '1',
  `bank` int(11) DEFAULT '0',
  `treasury` int(11) DEFAULT '0',
  `created_at` datetime DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `id` (`id`),
  KEY `id_2` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `manufacturing_demoinvoice_payments`
--


--
-- Table structure for table `manufacturing_demoinvoices`
--

CREATE TABLE `manufacturing_demoinvoices` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `client_id` int(11) NOT NULL,
  `project_id` int(11) NOT NULL DEFAULT '0',
  `bill_date` date NOT NULL,
  `due_date` date NOT NULL,
  `note` mediumtext COLLATE utf8_unicode_ci,
  `files` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `labels` text COLLATE utf8_unicode_ci,
  `last_email_sent_date` date DEFAULT NULL,
  `status` enum('draft','not_paid','cancelled') COLLATE utf8_unicode_ci NOT NULL DEFAULT 'draft',
  `delivery_status` enum('delivered','not_delivered') COLLATE utf8_unicode_ci NOT NULL DEFAULT 'not_delivered',
  `approval_status` enum('not_approved','request_approval','approved') COLLATE utf8_unicode_ci NOT NULL DEFAULT 'not_approved',
  `confirm_status` varchar(20) COLLATE utf8_unicode_ci NOT NULL DEFAULT 'not_confirmed',
  `tax_id` int(11) NOT NULL DEFAULT '0',
  `tax_id2` int(11) NOT NULL DEFAULT '0',
  `recurring` tinyint(4) NOT NULL DEFAULT '0',
  `recurring_invoice_id` int(11) NOT NULL DEFAULT '0',
  `repeat_every` int(11) NOT NULL DEFAULT '0',
  `repeat_type` enum('days','weeks','months','years') COLLATE utf8_unicode_ci DEFAULT NULL,
  `no_of_cycles` int(11) NOT NULL DEFAULT '0',
  `next_recurring_date` date DEFAULT NULL,
  `no_of_cycles_completed` int(11) NOT NULL DEFAULT '0',
  `due_reminder_date` date DEFAULT NULL,
  `recurring_reminder_date` date DEFAULT NULL,
  `discount_amount` double NOT NULL,
  `discount_amount_type` enum('percentage','fixed_amount') COLLATE utf8_unicode_ci NOT NULL,
  `discount_type` enum('before_tax','after_tax') COLLATE utf8_unicode_ci NOT NULL,
  `cancelled_at` datetime DEFAULT NULL,
  `cancelled_by` int(11) NOT NULL,
  `deleted` tinyint(1) NOT NULL DEFAULT '0',
  `sale_item` int(11) NOT NULL DEFAULT '0',
  `sale_account_id` int(11) NOT NULL DEFAULT '0',
  `sale_cost_account_id` int(11) NOT NULL DEFAULT '0',
  `sale_status` enum('Pending','Ready','In Progress','Finished') COLLATE utf8_unicode_ci NOT NULL DEFAULT 'Pending',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `manufacturing_demoinvoices`
--

INSERT INTO `manufacturing_demoinvoices` VALUES (1,2,0,'2024-09-12','2024-10-12','','a:0:{}','',NULL,'draft','delivered','approved','confirmed',0,0,0,0,0,NULL,0,NULL,0,NULL,NULL,0,'percentage','before_tax',NULL,0,0,1,0,0,'Pending');

--
-- Table structure for table `manufacturing_demoitem_categories`
--

CREATE TABLE `manufacturing_demoitem_categories` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `title` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `deleted` tinyint(1) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=4 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `manufacturing_demoitem_categories`
--

INSERT INTO `manufacturing_demoitem_categories` VALUES (2,'PRIFUM',0),(3,'الخام',0);

--
-- Table structure for table `manufacturing_demoitem_uom`
--

CREATE TABLE `manufacturing_demoitem_uom` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `title` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `deleted` tinyint(1) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE=MyISAM AUTO_INCREMENT=8 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci ROW_FORMAT=DYNAMIC;

--
-- Dumping data for table `manufacturing_demoitem_uom`
--


--
-- Table structure for table `manufacturing_demoitems`
--

CREATE TABLE `manufacturing_demoitems` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `title` text COLLATE utf8_unicode_ci NOT NULL,
  `description` text COLLATE utf8_unicode_ci,
  `unit_type` varchar(20) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
  `cost` double NOT NULL,
  `rate` double NOT NULL,
  `category_id` int(11) NOT NULL,
  `item_type` enum('product','service') COLLATE utf8_unicode_ci NOT NULL DEFAULT 'product',
  `raw_material` tinyint(1) NOT NULL DEFAULT '0',
  `deleted` tinyint(1) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `manufacturing_demoitems`
--

INSERT INTO `manufacturing_demoitems` VALUES (1,'test 1','','',1,1,2,'product',1,1),(2,'Test 2','','1',1,1,2,'product',0,0),(3,'خام','','',1,2,2,'product',1,1);

--
-- Table structure for table `manufacturing_demoitems_levels`
--

CREATE TABLE `manufacturing_demoitems_levels` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `level_name` varchar(150) COLLATE utf8_unicode_ci NOT NULL,
  `deleted` tinyint(1) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `manufacturing_demoitems_levels`
--


--
-- Table structure for table `manufacturing_demojob_orders`
--

CREATE TABLE `manufacturing_demojob_orders` (
  `id` int(8) NOT NULL AUTO_INCREMENT,
  `invoice_item_id` int(8) NOT NULL,
  `name` varchar(20) DEFAULT NULL,
  `quantity` int(8) NOT NULL,
  `scheduled_start_date` date DEFAULT NULL,
  `expected_duration` int(8) DEFAULT NULL,
  `actual_duration` date DEFAULT NULL,
  `worksheet` text,
  `priority` enum('1','2','3','4','5') DEFAULT NULL,
  `stages` text,
  `current_stage` varchar(50) DEFAULT NULL,
  `operation_cost` int(8) DEFAULT NULL,
  `total_cost` int(8) DEFAULT NULL,
  `team_member` int(8) DEFAULT NULL,
  `created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `created_by` int(8) DEFAULT NULL,
  `deleted` tinyint(1) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `manufacturing_demojob_orders`
--

INSERT INTO `manufacturing_demojob_orders` VALUES (1,2,'1',1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2024-09-12 13:50:03',NULL,0);

--
-- Table structure for table `manufacturing_demojoborder_status`
--

CREATE TABLE `manufacturing_demojoborder_status` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `title` varchar(100) COLLATE utf8_unicode_ci NOT NULL,
  `key_name` varchar(100) COLLATE utf8_unicode_ci NOT NULL,
  `color` varchar(7) COLLATE utf8_unicode_ci NOT NULL,
  `sort` int(11) NOT NULL,
  `deleted` tinyint(1) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `manufacturing_demojoborder_status`
--

INSERT INTO `manufacturing_demojoborder_status` VALUES (1,'In Progress','in_progress','#F9A52D',0,0),(2,'Waiting For A Step','stepa','#1672B9',1,0),(3,'Ready','ready','#00B393',2,0),(4,'Finished','finished','#aab7b7',3,0);

--
-- Table structure for table `manufacturing_demolead_source`
--

CREATE TABLE `manufacturing_demolead_source` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `title` varchar(100) COLLATE utf8_unicode_ci NOT NULL,
  `sort` int(11) NOT NULL,
  `deleted` tinyint(1) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `manufacturing_demolead_source`
--


--
-- Table structure for table `manufacturing_demolead_status`
--

CREATE TABLE `manufacturing_demolead_status` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `title` varchar(100) COLLATE utf8_unicode_ci NOT NULL,
  `color` varchar(7) COLLATE utf8_unicode_ci NOT NULL,
  `sort` int(11) NOT NULL,
  `deleted` tinyint(1) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `manufacturing_demolead_status`
--


--
-- Table structure for table `manufacturing_demoleads`
--

CREATE TABLE `manufacturing_demoleads` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `company_name` varchar(150) COLLATE utf8_unicode_ci NOT NULL,
  `first_name` varchar(150) COLLATE utf8_unicode_ci NOT NULL,
  `last_name` varchar(150) COLLATE utf8_unicode_ci NOT NULL,
  `email` varchar(150) COLLATE utf8_unicode_ci NOT NULL,
  `address` text COLLATE utf8_unicode_ci,
  `city` varchar(50) COLLATE utf8_unicode_ci DEFAULT NULL,
  `state` varchar(50) COLLATE utf8_unicode_ci DEFAULT NULL,
  `zip` varchar(50) COLLATE utf8_unicode_ci DEFAULT NULL,
  `country` varchar(50) COLLATE utf8_unicode_ci DEFAULT NULL,
  `created_date` date NOT NULL,
  `website` text COLLATE utf8_unicode_ci,
  `phone` varchar(20) COLLATE utf8_unicode_ci DEFAULT NULL,
  `deleted` tinyint(1) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `manufacturing_demoleads`
--


--
-- Table structure for table `manufacturing_demoleave_applications`
--

CREATE TABLE `manufacturing_demoleave_applications` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `leave_type_id` int(11) NOT NULL,
  `start_date` date NOT NULL,
  `end_date` date NOT NULL,
  `total_hours` decimal(7,2) NOT NULL,
  `total_days` decimal(5,2) NOT NULL,
  `applicant_id` int(11) NOT NULL,
  `reason` mediumtext COLLATE utf8_unicode_ci NOT NULL,
  `status` enum('pending','approved','rejected','canceled') COLLATE utf8_unicode_ci NOT NULL DEFAULT 'pending',
  `created_at` datetime NOT NULL,
  `created_by` int(11) NOT NULL,
  `checked_at` datetime DEFAULT NULL,
  `checked_by` int(11) NOT NULL DEFAULT '0',
  `paid_unpaid` tinyint(1) DEFAULT '1',
  `deleted` int(1) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  KEY `leave_type_id` (`leave_type_id`),
  KEY `user_id` (`applicant_id`),
  KEY `checked_by` (`checked_by`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `manufacturing_demoleave_applications`
--


--
-- Table structure for table `manufacturing_demoleave_types`
--

CREATE TABLE `manufacturing_demoleave_types` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `title` varchar(100) COLLATE utf8_unicode_ci NOT NULL,
  `status` enum('active','inactive') COLLATE utf8_unicode_ci NOT NULL DEFAULT 'active',
  `color` varchar(7) COLLATE utf8_unicode_ci NOT NULL,
  `description` text COLLATE utf8_unicode_ci,
  `max_allowed` int(11) DEFAULT '1',
  `deleted` int(1) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `manufacturing_demoleave_types`
--


--
-- Table structure for table `manufacturing_demoloans`
--

CREATE TABLE `manufacturing_demoloans` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `user_id` int(11) DEFAULT NULL,
  `amount` double DEFAULT NULL,
  `date` date DEFAULT NULL,
  `deleted` tinyint(1) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `manufacturing_demoloans`
--


--
-- Table structure for table `manufacturing_demomaterial_request`
--

CREATE TABLE `manufacturing_demomaterial_request` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `supplier_id` int(11) DEFAULT '0',
  `material_request_date` date NOT NULL,
  `project_id` int(11) NOT NULL DEFAULT '0',
  `labels` text COLLATE utf8_unicode_ci NOT NULL,
  `note` mediumtext COLLATE utf8_unicode_ci,
  `status` enum('draft','not_paid') COLLATE utf8_unicode_ci NOT NULL DEFAULT 'draft',
  `approval_status` enum('not_approved','request_approval','approved') COLLATE utf8_unicode_ci NOT NULL DEFAULT 'not_approved',
  `deleted` tinyint(1) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `manufacturing_demomaterial_request`
--


--
-- Table structure for table `manufacturing_demomaterial_request_items`
--

CREATE TABLE `manufacturing_demomaterial_request_items` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `item_id` int(11) NOT NULL DEFAULT '0',
  `title` text COLLATE utf8_unicode_ci NOT NULL,
  `description` text COLLATE utf8_unicode_ci,
  `quantity` double NOT NULL,
  `unit_type` varchar(20) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
  `rate` double DEFAULT NULL,
  `total` double DEFAULT NULL,
  `sort` int(11) NOT NULL DEFAULT '0',
  `material_request_id` int(11) DEFAULT NULL,
  `tax_id` int(11) DEFAULT '0',
  `tax_id2` int(11) DEFAULT '0',
  `deleted` tinyint(1) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `manufacturing_demomaterial_request_items`
--


--
-- Table structure for table `manufacturing_demomaterial_request_payments`
--

CREATE TABLE `manufacturing_demomaterial_request_payments` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `amount` double NOT NULL,
  `payment_date` date NOT NULL,
  `payment_method_id` int(11) NOT NULL,
  `cheque_due_date` date DEFAULT NULL,
  `cheque_description` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `cheque_account` varchar(150) COLLATE utf8_unicode_ci DEFAULT NULL,
  `cheque_number` varchar(150) COLLATE utf8_unicode_ci DEFAULT NULL,
  `cheque_transaction_id` int(11) NOT NULL DEFAULT '0',
  `note` text COLLATE utf8_unicode_ci,
  `material_request_id` int(11) NOT NULL,
  `status` enum('draft','request_approval','approved') COLLATE utf8_unicode_ci NOT NULL DEFAULT 'draft',
  `deleted` tinyint(1) NOT NULL DEFAULT '0',
  `transaction_id` int(11) DEFAULT '0',
  `prepayment_transaction_id` int(11) NOT NULL DEFAULT '0',
  `created_by` int(11) DEFAULT '1',
  `created_at` datetime DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `id` (`id`),
  KEY `id_2` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `manufacturing_demomaterial_request_payments`
--


--
-- Table structure for table `manufacturing_demomaterials_bill`
--

CREATE TABLE `manufacturing_demomaterials_bill` (
  `id` int(8) NOT NULL AUTO_INCREMENT,
  `item_id` int(8) NOT NULL,
  `quantity` int(8) NOT NULL,
  `cost` int(8) NOT NULL,
  `current_stock` float DEFAULT NULL,
  `job_id` int(8) NOT NULL,
  `is_used` tinyint(1) NOT NULL DEFAULT '0',
  `created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `manufacturing_demomaterials_bill`
--


--
-- Table structure for table `manufacturing_demomessages`
--

CREATE TABLE `manufacturing_demomessages` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `subject` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT 'Untitled',
  `message` mediumtext COLLATE utf8_unicode_ci NOT NULL,
  `created_at` datetime NOT NULL,
  `from_user_id` int(11) NOT NULL,
  `to_user_id` int(11) NOT NULL,
  `status` enum('unread','read') COLLATE utf8_unicode_ci NOT NULL DEFAULT 'unread',
  `message_id` int(11) NOT NULL DEFAULT '0',
  `deleted` int(1) NOT NULL DEFAULT '0',
  `files` longtext COLLATE utf8_unicode_ci NOT NULL,
  `deleted_by_users` text COLLATE utf8_unicode_ci NOT NULL,
  PRIMARY KEY (`id`),
  KEY `message_from` (`from_user_id`),
  KEY `message_to` (`to_user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `manufacturing_demomessages`
--


--
-- Table structure for table `manufacturing_demomilestones`
--

CREATE TABLE `manufacturing_demomilestones` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `title` text COLLATE utf8_unicode_ci NOT NULL,
  `project_id` int(11) NOT NULL,
  `due_date` date NOT NULL,
  `description` text COLLATE utf8_unicode_ci NOT NULL,
  `deleted` tinyint(11) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `manufacturing_demomilestones`
--


--
-- Table structure for table `manufacturing_demonationality`
--

CREATE TABLE `manufacturing_demonationality` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `title` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `deleted` tinyint(1) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci ROW_FORMAT=DYNAMIC;

--
-- Dumping data for table `manufacturing_demonationality`
--


--
-- Table structure for table `manufacturing_demonotes`
--

CREATE TABLE `manufacturing_demonotes` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `created_by` int(11) NOT NULL,
  `created_at` datetime NOT NULL,
  `title` text COLLATE utf8_unicode_ci NOT NULL,
  `description` mediumtext COLLATE utf8_unicode_ci,
  `project_id` int(11) NOT NULL DEFAULT '0',
  `client_id` int(11) NOT NULL DEFAULT '0',
  `user_id` int(11) NOT NULL DEFAULT '0',
  `labels` text COLLATE utf8_unicode_ci,
  `files` mediumtext COLLATE utf8_unicode_ci NOT NULL,
  `is_public` tinyint(1) NOT NULL DEFAULT '0',
  `deleted` tinyint(1) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `manufacturing_demonotes`
--


--
-- Table structure for table `manufacturing_demonotification_settings`
--

CREATE TABLE `manufacturing_demonotification_settings` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `event` varchar(250) NOT NULL,
  `category` varchar(50) NOT NULL,
  `enable_email` int(1) NOT NULL DEFAULT '0',
  `enable_web` int(1) NOT NULL DEFAULT '0',
  `notify_to_team` text NOT NULL,
  `notify_to_team_members` text NOT NULL,
  `notify_to_terms` text NOT NULL,
  `sort` int(11) NOT NULL,
  `deleted` int(1) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  KEY `event` (`event`)
) ENGINE=InnoDB AUTO_INCREMENT=53 DEFAULT CHARSET=latin1;

--
-- Dumping data for table `manufacturing_demonotification_settings`
--

INSERT INTO `manufacturing_demonotification_settings` VALUES (1,'project_created','project',0,1,'1','5','client_primary_contact,client_all_contacts',1,0),(2,'project_deleted','project',0,1,'1','5','project_members,client_primary_contact,client_all_contacts',2,0),(3,'project_task_created','project',0,1,'','5','project_members,task_assignee',3,0),(4,'project_task_updated','project',0,1,'','','task_assignee',4,0),(5,'project_task_assigned','project',0,1,'','','task_assignee',5,0),(7,'project_task_started','project',0,1,'','5','project_members,client_primary_contact,client_all_contacts',7,0),(8,'project_task_finished','project',0,0,'','','',8,0),(9,'project_task_reopened','project',0,0,'','','',9,0),(10,'project_task_deleted','project',0,1,'','','task_assignee',10,0),(11,'project_task_commented','project',0,1,'','','task_assignee',11,0),(12,'project_member_added','project',0,1,'','','project_members',12,0),(13,'project_member_deleted','project',0,1,'','','project_members',13,0),(14,'project_file_added','project',0,1,'','','project_members',14,0),(15,'project_file_deleted','project',0,1,'','','project_members',15,0),(16,'project_file_commented','project',0,1,'','','project_members',16,0),(17,'project_comment_added','project',0,1,'','','project_members',17,0),(18,'project_comment_replied','project',0,1,'','','project_members,comment_creator',18,0),(19,'project_customer_feedback_added','project',0,1,'','','project_members',19,0),(20,'project_customer_feedback_replied','project',0,1,'','','project_members,comment_creator',20,0),(21,'client_signup','client',0,0,'','','',21,0),(22,'invoice_online_payment_received','invoice',0,0,'','','',22,0),(23,'leave_application_submitted','leave',0,0,'','','',23,0),(24,'leave_approved','leave',0,1,'','','leave_applicant',24,0),(25,'leave_assigned','leave',0,1,'','','leave_applicant',25,0),(26,'leave_rejected','leave',0,1,'','','leave_applicant',26,0),(27,'leave_canceled','leave',0,0,'','','',27,0),(28,'ticket_created','ticket',0,1,'','6,7,5,11,12,1','client_all_contacts',28,0),(29,'ticket_commented','ticket',0,1,'','','client_primary_contact,ticket_creator',29,0),(30,'ticket_closed','ticket',0,1,'','','client_primary_contact,ticket_creator',30,0),(31,'ticket_reopened','ticket',0,1,'','','client_primary_contact,ticket_creator',31,0),(32,'estimate_request_received','estimate',0,0,'','','',32,0),(33,'estimate_sent','estimate',0,0,'','','',33,0),(34,'estimate_accepted','estimate',0,0,'','','',34,0),(35,'estimate_rejected','estimate',0,0,'','','',35,0),(36,'new_message_sent','message',0,0,'','','',36,0),(37,'message_reply_sent','message',0,0,'','','',37,0),(38,'invoice_payment_confirmation','invoice',0,0,'','','',22,0),(39,'new_event_added_in_calendar','event',0,0,'','','',39,0),(40,'recurring_invoice_created_vai_cron_job','invoice',0,0,'','','',22,0),(41,'new_announcement_created','announcement',1,1,'','','recipient',41,0),(42,'invoice_due_reminder_before_due_date','invoice',0,0,'','','',22,0),(43,'invoice_overdue_reminder','invoice',0,0,'','','',22,0),(44,'recurring_invoice_creation_reminder','invoice',0,0,'','','',22,0),(45,'project_completed','project',0,0,'','','',2,0),(46,'lead_created','lead',0,0,'','','',21,0),(47,'client_created_from_lead','lead',0,0,'','','',21,0),(48,'project_task_deadline_pre_reminder','project',0,1,'','','task_assignee',20,0),(49,'project_task_reminder_on_the_day_of_deadline','project',0,1,'','','task_assignee',20,0),(50,'project_task_deadline_overdue_reminder','project',0,1,'','','task_assignee',20,0),(51,'recurring_task_created_via_cron_job','project',0,1,'','','project_members,task_assignee',20,0),(52,'calendar_event_modified','event',0,0,'','','',39,0);

--
-- Table structure for table `manufacturing_demonotifications`
--

CREATE TABLE `manufacturing_demonotifications` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `user_id` int(11) NOT NULL,
  `description` longtext COLLATE utf8_unicode_ci NOT NULL,
  `created_at` datetime NOT NULL,
  `notify_to` mediumtext COLLATE utf8_unicode_ci NOT NULL,
  `read_by` mediumtext COLLATE utf8_unicode_ci NOT NULL,
  `event` varchar(250) COLLATE utf8_unicode_ci NOT NULL,
  `project_id` int(11) NOT NULL,
  `task_id` int(11) NOT NULL,
  `project_comment_id` int(11) NOT NULL,
  `ticket_id` int(11) NOT NULL,
  `ticket_comment_id` int(11) NOT NULL,
  `project_file_id` int(11) NOT NULL,
  `leave_id` int(11) NOT NULL,
  `post_id` int(11) NOT NULL,
  `to_user_id` int(11) NOT NULL,
  `activity_log_id` int(11) NOT NULL,
  `client_id` int(11) NOT NULL,
  `lead_id` int(11) NOT NULL,
  `invoice_payment_id` int(11) NOT NULL,
  `invoice_id` int(11) NOT NULL,
  `estimate_id` int(11) NOT NULL,
  `estimate_request_id` int(11) NOT NULL,
  `actual_message_id` int(11) NOT NULL,
  `parent_message_id` int(11) NOT NULL,
  `event_id` int(11) NOT NULL,
  `announcement_id` int(11) NOT NULL,
  `deleted` int(1) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  KEY `user_id` (`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `manufacturing_demonotifications`
--


--
-- Table structure for table `manufacturing_demopayment_methods`
--

CREATE TABLE `manufacturing_demopayment_methods` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `title` text COLLATE utf8_unicode_ci NOT NULL,
  `type` varchar(100) COLLATE utf8_unicode_ci NOT NULL DEFAULT 'custom',
  `description` text COLLATE utf8_unicode_ci NOT NULL,
  `online_payable` tinyint(1) NOT NULL DEFAULT '0',
  `available_on_invoice` tinyint(1) NOT NULL DEFAULT '0',
  `minimum_payment_amount` double NOT NULL DEFAULT '0',
  `settings` longtext COLLATE utf8_unicode_ci NOT NULL,
  `deleted` tinyint(1) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `manufacturing_demopayment_methods`
--

INSERT INTO `manufacturing_demopayment_methods` VALUES (1,'Cash','custom','',0,0,0,'a:0:{}',0),(4,'Bank transfer / Card','custom','',0,0,0,'a:0:{}',0),(5,'Cheque','custom','',0,0,0,'a:0:{}',0);

--
-- Table structure for table `manufacturing_demopaypal_ipn`
--

CREATE TABLE `manufacturing_demopaypal_ipn` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `transaction_id` tinytext COLLATE utf8_unicode_ci,
  `ipn_hash` longtext COLLATE utf8_unicode_ci NOT NULL,
  `ipn_data` longtext COLLATE utf8_unicode_ci NOT NULL,
  `deleted` tinyint(1) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `manufacturing_demopaypal_ipn`
--


--
-- Table structure for table `manufacturing_demopayroll`
--

CREATE TABLE `manufacturing_demopayroll` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `month` date NOT NULL,
  `status` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT 'draft',
  `deleted` int(11) NOT NULL DEFAULT '0',
  `payment_item_id` int(11) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `manufacturing_demopayroll`
--


--
-- Table structure for table `manufacturing_demopayroll_detail`
--

CREATE TABLE `manufacturing_demopayroll_detail` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `payroll_id` int(11) NOT NULL,
  `employee_id` int(11) NOT NULL,
  `salary` float(8,3) NOT NULL,
  `manual_deduction` float(8,3) NOT NULL,
  `manual_deduction_reason` text COLLATE utf8_unicode_ci,
  `manual_bounce` float(8,3) NOT NULL,
  `manual_bonus_reason` text COLLATE utf8_unicode_ci,
  `advance` float(10,3) NOT NULL,
  `loan` float(10,3) NOT NULL,
  `pasi_company` double DEFAULT '0',
  `pasi_employee` double DEFAULT '0',
  `job_s_company` double DEFAULT '0',
  `job_s_employee` double DEFAULT '0',
  `deleted` int(11) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `manufacturing_demopayroll_detail`
--


--
-- Table structure for table `manufacturing_demoposts`
--

CREATE TABLE `manufacturing_demoposts` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `created_by` int(11) NOT NULL,
  `created_at` datetime NOT NULL,
  `description` mediumtext COLLATE utf8_unicode_ci NOT NULL,
  `post_id` int(11) NOT NULL,
  `share_with` text COLLATE utf8_unicode_ci,
  `files` longtext COLLATE utf8_unicode_ci,
  `deleted` tinyint(1) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `manufacturing_demoposts`
--


--
-- Table structure for table `manufacturing_demoproforma_invoice_items`
--

CREATE TABLE `manufacturing_demoproforma_invoice_items` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `item_id` int(11) NOT NULL DEFAULT '0',
  `title` text COLLATE utf8_unicode_ci NOT NULL,
  `cost` double NOT NULL,
  `description` text COLLATE utf8_unicode_ci,
  `quantity` double NOT NULL,
  `unit_type` varchar(20) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
  `rate` double NOT NULL,
  `total` double NOT NULL,
  `sort` int(11) NOT NULL DEFAULT '0',
  `invoice_id` int(11) NOT NULL,
  `deleted` tinyint(1) NOT NULL DEFAULT '0',
  `old_id` int(11) DEFAULT '0',
  `tax_id` int(11) DEFAULT '0',
  `tax_id2` int(11) DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `manufacturing_demoproforma_invoice_items`
--


--
-- Table structure for table `manufacturing_demoproforma_invoice_payments`
--

CREATE TABLE `manufacturing_demoproforma_invoice_payments` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `amount` double NOT NULL,
  `payment_date` date NOT NULL,
  `payment_method_id` int(11) NOT NULL,
  `cheque_due_date` date DEFAULT NULL,
  `cheque_description` varchar(150) COLLATE utf8_unicode_ci DEFAULT NULL,
  `cheque_account` varchar(150) COLLATE utf8_unicode_ci DEFAULT NULL,
  `cheque_number` varchar(150) COLLATE utf8_unicode_ci DEFAULT NULL,
  `cheque_transaction_id` int(11) NOT NULL DEFAULT '0',
  `note` text COLLATE utf8_unicode_ci,
  `invoice_id` int(11) NOT NULL,
  `status` enum('draft','request_approval','approved','bounce','deposited','refunded','cancelled','delayed','on_hold') COLLATE utf8_unicode_ci NOT NULL DEFAULT 'draft',
  `deleted` tinyint(1) NOT NULL DEFAULT '0',
  `transaction_id` tinytext COLLATE utf8_unicode_ci,
  `account_transaction_id` int(11) NOT NULL DEFAULT '0',
  `advance_transaction_id` int(11) NOT NULL DEFAULT '0',
  `created_by` int(11) DEFAULT '1',
  `created_at` datetime DEFAULT NULL,
  `files` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `bank` int(11) DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `id` (`id`),
  KEY `id_2` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `manufacturing_demoproforma_invoice_payments`
--


--
-- Table structure for table `manufacturing_demoproforma_invoices`
--

CREATE TABLE `manufacturing_demoproforma_invoices` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `quotation_id` int(11) NOT NULL,
  `client_id` int(11) NOT NULL,
  `project_id` int(11) NOT NULL DEFAULT '0',
  `bill_date` date NOT NULL,
  `due_date` date NOT NULL,
  `note` mediumtext COLLATE utf8_unicode_ci,
  `labels` text COLLATE utf8_unicode_ci,
  `last_email_sent_date` date DEFAULT NULL,
  `status` enum('draft','not_paid','cancelled') COLLATE utf8_unicode_ci NOT NULL DEFAULT 'draft',
  `delivery_status` enum('delivered','not_delivered') COLLATE utf8_unicode_ci NOT NULL DEFAULT 'not_delivered',
  `approval_status` enum('not_approved','request_approval','approved') COLLATE utf8_unicode_ci NOT NULL DEFAULT 'not_approved',
  `tax_id` int(11) NOT NULL DEFAULT '0',
  `tax_id2` int(11) NOT NULL DEFAULT '0',
  `recurring` tinyint(4) NOT NULL DEFAULT '0',
  `recurring_invoice_id` int(11) NOT NULL DEFAULT '0',
  `repeat_every` int(11) NOT NULL DEFAULT '0',
  `repeat_type` enum('days','weeks','months','years') COLLATE utf8_unicode_ci DEFAULT NULL,
  `no_of_cycles` int(11) NOT NULL DEFAULT '0',
  `next_recurring_date` date DEFAULT NULL,
  `no_of_cycles_completed` int(11) NOT NULL DEFAULT '0',
  `due_reminder_date` date DEFAULT NULL,
  `recurring_reminder_date` date DEFAULT NULL,
  `discount_amount` double NOT NULL,
  `discount_amount_type` enum('percentage','fixed_amount') COLLATE utf8_unicode_ci NOT NULL,
  `discount_type` enum('before_tax','after_tax') COLLATE utf8_unicode_ci DEFAULT NULL,
  `cancelled_at` datetime DEFAULT NULL,
  `cancelled_by` int(11) NOT NULL,
  `owner` int(11) NOT NULL,
  `revised` int(11) NOT NULL,
  `deleted` tinyint(1) NOT NULL DEFAULT '0',
  `old_project` int(11) DEFAULT '0',
  `old_invoice_no` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `old_quotation_id` int(11) DEFAULT '0',
  `department` int(11) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `manufacturing_demoproforma_invoices`
--


--
-- Table structure for table `manufacturing_demoproject_comments`
--

CREATE TABLE `manufacturing_demoproject_comments` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `created_by` int(11) NOT NULL,
  `created_at` datetime NOT NULL,
  `description` mediumtext COLLATE utf8_unicode_ci NOT NULL,
  `project_id` int(11) NOT NULL DEFAULT '0',
  `comment_id` int(11) NOT NULL DEFAULT '0',
  `task_id` int(11) NOT NULL DEFAULT '0',
  `file_id` int(11) NOT NULL DEFAULT '0',
  `customer_feedback_id` int(11) NOT NULL DEFAULT '0',
  `files` longtext COLLATE utf8_unicode_ci,
  `deleted` tinyint(1) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `manufacturing_demoproject_comments`
--


--
-- Table structure for table `manufacturing_demoproject_files`
--

CREATE TABLE `manufacturing_demoproject_files` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `file_name` text COLLATE utf8_unicode_ci NOT NULL,
  `file_id` text COLLATE utf8_unicode_ci,
  `service_type` varchar(20) COLLATE utf8_unicode_ci DEFAULT NULL,
  `description` mediumtext COLLATE utf8_unicode_ci,
  `file_size` double NOT NULL,
  `created_at` datetime NOT NULL,
  `project_id` int(11) NOT NULL,
  `uploaded_by` int(11) NOT NULL,
  `deleted` tinyint(1) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `manufacturing_demoproject_files`
--


--
-- Table structure for table `manufacturing_demoproject_members`
--

CREATE TABLE `manufacturing_demoproject_members` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `user_id` int(11) NOT NULL,
  `project_id` int(11) NOT NULL,
  `is_leader` tinyint(1) DEFAULT '0',
  `deleted` tinyint(1) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `manufacturing_demoproject_members`
--


--
-- Table structure for table `manufacturing_demoproject_settings`
--

CREATE TABLE `manufacturing_demoproject_settings` (
  `project_id` int(11) NOT NULL,
  `setting_name` varchar(100) COLLATE utf8_unicode_ci NOT NULL,
  `setting_value` mediumtext COLLATE utf8_unicode_ci NOT NULL,
  `deleted` tinyint(1) NOT NULL DEFAULT '0',
  UNIQUE KEY `unique_index` (`project_id`,`setting_name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `manufacturing_demoproject_settings`
--


--
-- Table structure for table `manufacturing_demoproject_time`
--

CREATE TABLE `manufacturing_demoproject_time` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `project_id` int(11) NOT NULL,
  `user_id` int(11) NOT NULL,
  `start_time` datetime NOT NULL,
  `end_time` datetime DEFAULT NULL,
  `status` enum('open','logged','approved') COLLATE utf8_unicode_ci NOT NULL DEFAULT 'logged',
  `note` text COLLATE utf8_unicode_ci,
  `task_id` int(11) NOT NULL DEFAULT '0',
  `deleted` tinyint(1) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `manufacturing_demoproject_time`
--


--
-- Table structure for table `manufacturing_demoprojects`
--

CREATE TABLE `manufacturing_demoprojects` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `title` text COLLATE utf8_unicode_ci NOT NULL,
  `description` mediumtext COLLATE utf8_unicode_ci,
  `start_date` date DEFAULT NULL,
  `deadline` date DEFAULT NULL,
  `client_id` int(11) NOT NULL,
  `created_date` date DEFAULT NULL,
  `created_by` int(11) NOT NULL DEFAULT '0',
  `status` enum('open','completed','hold','canceled','pending','') COLLATE utf8_unicode_ci NOT NULL DEFAULT 'pending',
  `labels` text COLLATE utf8_unicode_ci,
  `price` double NOT NULL DEFAULT '0',
  `starred_by` mediumtext COLLATE utf8_unicode_ci NOT NULL,
  `estimate_id` int(11) NOT NULL,
  `geo_location` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `deleted` tinyint(1) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `manufacturing_demoprojects`
--


--
-- Table structure for table `manufacturing_demopurchase_order_items`
--

CREATE TABLE `manufacturing_demopurchase_order_items` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `item_id` int(11) NOT NULL DEFAULT '0',
  `title` text COLLATE utf8_unicode_ci NOT NULL,
  `description` text COLLATE utf8_unicode_ci,
  `quantity` double NOT NULL,
  `unit_type` varchar(20) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
  `rate` double NOT NULL,
  `total` double NOT NULL,
  `sort` int(11) NOT NULL DEFAULT '0',
  `purchase_order_id` int(11) NOT NULL,
  `tax_id` int(11) DEFAULT '0',
  `tax_id2` int(11) DEFAULT '0',
  `deleted` tinyint(1) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `manufacturing_demopurchase_order_items`
--


--
-- Table structure for table `manufacturing_demopurchase_order_payments`
--

CREATE TABLE `manufacturing_demopurchase_order_payments` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `files` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `amount` double NOT NULL,
  `payment_date` date NOT NULL,
  `payment_method_id` int(11) NOT NULL,
  `cheque_due_date` date DEFAULT NULL,
  `cheque_description` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `cheque_account` varchar(150) COLLATE utf8_unicode_ci DEFAULT NULL,
  `cheque_number` varchar(150) COLLATE utf8_unicode_ci DEFAULT NULL,
  `cheque_transaction_id` int(11) NOT NULL DEFAULT '0',
  `note` text COLLATE utf8_unicode_ci,
  `purchase_order_id` int(11) NOT NULL,
  `status` enum('draft','request_approval','approved') COLLATE utf8_unicode_ci NOT NULL DEFAULT 'draft',
  `deleted` tinyint(1) NOT NULL DEFAULT '0',
  `transaction_id` int(11) DEFAULT '0',
  `prepayment_transaction_id` int(11) NOT NULL DEFAULT '0',
  `created_by` int(11) DEFAULT '1',
  `bank` int(11) NOT NULL DEFAULT '0',
  `treasury` int(11) NOT NULL DEFAULT '0',
  `created_at` datetime DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `id` (`id`),
  KEY `id_2` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `manufacturing_demopurchase_order_payments`
--


--
-- Table structure for table `manufacturing_demopurchase_orders`
--

CREATE TABLE `manufacturing_demopurchase_orders` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `supplier_id` int(11) NOT NULL,
  `purchase_order_date` date NOT NULL,
  `project_id` int(11) NOT NULL DEFAULT '0',
  `labels` text COLLATE utf8_unicode_ci NOT NULL,
  `note` mediumtext COLLATE utf8_unicode_ci,
  `status` enum('draft','not_paid') COLLATE utf8_unicode_ci NOT NULL DEFAULT 'draft',
  `approval_status` enum('not_approved','request_approval','approved') COLLATE utf8_unicode_ci NOT NULL DEFAULT 'not_approved',
  `deleted` tinyint(1) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `manufacturing_demopurchase_orders`
--


--
-- Table structure for table `manufacturing_demopurchase_return_items`
--

CREATE TABLE `manufacturing_demopurchase_return_items` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `item_id` int(11) NOT NULL,
  `po_item_id` int(11) NOT NULL,
  `quantity` double NOT NULL DEFAULT '0',
  `deleted` int(1) NOT NULL DEFAULT '0',
  `purchase_return_id` int(11) NOT NULL,
  `sort` int(11) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `manufacturing_demopurchase_return_items`
--


--
-- Table structure for table `manufacturing_demopurchase_returns`
--

CREATE TABLE `manufacturing_demopurchase_returns` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `purchase_order_id` int(11) NOT NULL,
  `shipment_id` int(11) DEFAULT NULL,
  `supplier_id` int(11) NOT NULL DEFAULT '0',
  `payment_method_id` int(11) DEFAULT '0',
  `transaction_id` int(11) DEFAULT '0',
  `date` date NOT NULL,
  `status` enum('draft','approved') COLLATE utf8_unicode_ci DEFAULT 'draft',
  `note` text COLLATE utf8_unicode_ci,
  `deleted` int(1) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `manufacturing_demopurchase_returns`
--


--
-- Table structure for table `manufacturing_demoroles`
--

CREATE TABLE `manufacturing_demoroles` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `title` varchar(100) COLLATE utf8_unicode_ci NOT NULL,
  `permissions` mediumtext COLLATE utf8_unicode_ci,
  `deleted` tinyint(1) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `manufacturing_demoroles`
--

INSERT INTO `manufacturing_demoroles` VALUES (1,'test BOM',NULL,0);

--
-- Table structure for table `manufacturing_demosalary_advance`
--

CREATE TABLE `manufacturing_demosalary_advance` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `user_id` int(11) DEFAULT NULL,
  `amount` float NOT NULL DEFAULT '0',
  `date` date DEFAULT NULL,
  `deleted` tinyint(1) DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `manufacturing_demosalary_advance`
--


--
-- Table structure for table `manufacturing_demosale_return_items`
--

CREATE TABLE `manufacturing_demosale_return_items` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `sale_return_id` int(11) NOT NULL,
  `item_id` int(11) NOT NULL,
  `invoice_item_id` int(11) NOT NULL,
  `quantity` double NOT NULL DEFAULT '0',
  `deleted` int(1) NOT NULL DEFAULT '0',
  `sort` int(11) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `manufacturing_demosale_return_items`
--


--
-- Table structure for table `manufacturing_demosale_returns`
--

CREATE TABLE `manufacturing_demosale_returns` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `invoice_id` int(11) NOT NULL,
  `client_id` int(11) NOT NULL DEFAULT '0',
  `payment_method_id` int(11) DEFAULT '0',
  `transaction_id` int(11) DEFAULT '0',
  `date` date NOT NULL,
  `status` enum('draft','approved') COLLATE utf8_unicode_ci DEFAULT 'draft',
  `note` text COLLATE utf8_unicode_ci,
  `deleted` int(1) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `manufacturing_demosale_returns`
--


--
-- Table structure for table `manufacturing_demosaleorder_status`
--

CREATE TABLE `manufacturing_demosaleorder_status` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `title` varchar(100) COLLATE utf8_unicode_ci NOT NULL,
  `key_name` varchar(100) COLLATE utf8_unicode_ci NOT NULL,
  `color` varchar(7) COLLATE utf8_unicode_ci NOT NULL,
  `sort` int(11) NOT NULL,
  `deleted` tinyint(1) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `manufacturing_demosaleorder_status`
--

INSERT INTO `manufacturing_demosaleorder_status` VALUES (1,'Pending','pending','#F9A52D',0,0),(2,'Ready','ready','#1672B9',1,0),(3,'In Progress','in_progress','#00B393',2,0),(4,'Finished','finished','#aab7b7',3,0);

--
-- Table structure for table `manufacturing_demosales_items`
--

CREATE TABLE `manufacturing_demosales_items` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `title` text COLLATE utf8_unicode_ci NOT NULL,
  `sale_account_id` int(11) NOT NULL,
  `sale_cost_account_id` int(11) NOT NULL,
  `deleted` tinyint(1) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci ROW_FORMAT=DYNAMIC;

--
-- Dumping data for table `manufacturing_demosales_items`
--

INSERT INTO `manufacturing_demosales_items` VALUES (1,'Default Sales',70,62,0);

--
-- Table structure for table `manufacturing_demosettings`
--

CREATE TABLE `manufacturing_demosettings` (
  `setting_name` varchar(100) COLLATE utf8_unicode_ci NOT NULL,
  `setting_value` mediumtext COLLATE utf8_unicode_ci NOT NULL,
  `type` varchar(20) COLLATE utf8_unicode_ci NOT NULL DEFAULT 'app',
  `deleted` tinyint(1) NOT NULL DEFAULT '0',
  UNIQUE KEY `setting_name` (`setting_name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `manufacturing_demosettings`
--

INSERT INTO `manufacturing_demosettings` VALUES ('accepted_file_formats','jpg,jpeg,doc,pdf,csv,pptx,xlsx,docx,png,rar','app',0),('allow_partial_invoice_payment_from_clients','','app',0),('allowed_ip_addresses','','app',0),('app_title','FAJR ','app',0),('attendance_password','94269935','app',0),('banks_accounts_parent','25','app',0),('cash_on_hand_accounts_parent','24','app',0),('client_can_add_project_files','1','app',0),('client_can_comment_on_files','1','app',0),('client_can_comment_on_tasks','1','app',0),('client_can_create_projects','1','app',0),('client_can_create_tasks','1','app',0),('client_can_edit_tasks','1','app',0),('client_can_view_activity','1','app',0),('client_can_view_gantt','1','app',0),('client_can_view_milestones','1','app',0),('client_can_view_overview','1','app',0),('client_can_view_project_files','1','app',0),('client_can_view_tasks','1','app',0),('client_default_dashboard','','app',0),('client_message_own_contacts','1','app',0),('client_message_users','5','app',0),('clients_accounts_parent','19','app',0),('clients_parent','','app',0),('company_address','','app',0),('company_email','info@teamway','app',0),('company_name','Teamway','app',0),('company_phone','','app',0),('company_vat_number','','app',0),('company_website','teamway.om','app',0),('cost_of_goods_sold','62','app',0),('currency_position','right','app',0),('currency_symbol',' /OMR','app',0),('date_format','d-m-Y','app',0),('decimal_separator','.','app',0),('default_bank','61','app',0),('default_cash_on_hand','12','app',0),('default_currency','OMR','app',0),('default_due_date_after_billing_date','30','app',0),('default_git','75','app',0),('default_inventory','18','app',0),('default_sales','70','app',0),('disable_client_login','1','app',0),('disable_client_signup','1','app',0),('discount','60','app',0),('email_protocol','','app',0),('email_sent_from_address','info@teamway.om','app',0),('email_sent_from_name','Teamway','app',0),('email_smtp_host','','app',0),('email_smtp_pass','','app',0),('email_smtp_port','','app',0),('email_smtp_security_type','none','app',0),('email_smtp_user','','app',0),('enable_attendance','','app',0),('enable_email_piping','','app',0),('enable_google_calendar_api','','app',0),('enable_push_notification','','app',0),('enable_rich_text_editor','0','app',0),('estimate_color','#054d7f ','app',0),('estimate_logo','','app',0),('expenses_accounts_parent','56','app',0),('favicon','a:1:{s:9:\"file_name\";s:30:\"_file66deacda428d3-favicon.png\";}','app',0),('financial_year_end','2022-01-01','app',0),('first_day_of_week','0','app',0),('hidden_client_menus','','app',0),('imap_email','info@teamway.om','app',0),('imap_host','','app',0),('imap_password','00000','app',0),('imap_port','','app',0),('imap_ssl_enabled','1','app',0),('initial_number_of_the_estimate','1','app',0),('initial_number_of_the_invoice','8991','app',0),('invoice_color','#054d7f ','app',0),('invoice_footer','<p><br></p>','app',0),('invoice_prefix','AMI/','app',0),('item_purchase_code','53434654','app',0),('language','arabic','app',0),('leave_salary_expenses','4','app',0),('module_announcement','1','app',0),('module_attendance','','app',0),('module_chat','1','app',0),('module_estimate','1','app',0),('module_estimate_request','','app',0),('module_event','1','app',0),('module_expense','1','app',0),('module_help','','app',0),('module_invoice','1','app',0),('module_knowledge_base','1','app',0),('module_lead','1','app',0),('module_leave','1','app',0),('module_message','1','app',0),('module_note','1','app',0),('module_project_timesheet','','app',0),('module_ticket','','app',0),('module_timeline','1','app',0),('module_todo','1','app',0),('no_of_decimals','2','app',0),('payable_cheques','43','app',0),('payable_EOS_benefits','15','app',0),('payable_job_security','9','app',0),('payable_leave_salaries','15','app',0),('payable_PASI','53','app',0),('payable_salaries','46','app',0),('petty_cash_parent','16','app',0),('project_reference_in_tickets','1','app',0),('pusher_app_id','929038','app',0),('pusher_cluster','eu','app',0),('pusher_key','2cbc86a72bfa9a85b0e5','app',0),('pusher_secret','53077cbb420c5e79c8f6','app',0),('receivable_cheques','21','app',0),('rows_per_page','100','app',0),('salary_advances','66','app',0),('salary_expenses','65','app',0),('scrollbar','native','app',0),('send_bcc_to','info@teamway.om','app',0),('send_estimate_bcc_to','info@teamway.om','app',0),('show_background_image_in_signin_page','yes','app',0),('show_logo_in_signin_page','yes','app',0),('show_recent_ticket_comments_at_the_top','1','app',0),('site_logo','a:1:{s:9:\"file_name\";s:32:\"_file66dec0cf021ce-site-logo.png\";}','app',0),('suppliers_accounts_parent','37','app',0),('ticket_prefix','','app',0),('time_format','24_hours','app',0),('timezone','Asia/Muscat','app',0),('treasury_accounts_parent','12','app',0),('user_1_allowed_distance','100000','user',0),('user_1_dashboard','','user',0),('user_1_disable_push_notification','0','user',0),('user_1_hidden_topbar_menus','','user',0),('user_1_location','23.620058326708097,58.24233084570313','user',0),('user_1_notification_sound_volume','4','user',0),('user_1_personal_language','english','user',0),('user_10_dashboard','','user',0),('user_10_personal_language','english','user',0),('user_11_dashboard','','user',0),('user_2_dashboard','','user',0),('user_2_personal_language','arabic','user',0),('user_21_dashboard','','user',0),('user_21_personal_language','english','user',0),('user_23_dashboard','','user',0),('user_24_dashboard','','user',0),('user_24_personal_language','arabic','user',0),('user_25_dashboard','','user',0),('user_25_personal_language','english','user',0),('user_3_dashboard','','user',0),('user_39_dashboard','','user',0),('user_39_personal_language','english','user',0),('user_4_dashboard','','user',0),('user_43_dashboard','','user',0),('user_44_dashboard','','user',0),('user_45_dashboard','','user',0),('user_46_dashboard','','user',0),('user_47_dashboard','','user',0),('user_48_dashboard','','user',0),('user_48_personal_language','english','user',0),('user_49_dashboard','','user',0),('user_5_allowed_distance','100000000','user',0),('user_5_dashboard','6','user',0),('user_5_disable_push_notification','1','user',0),('user_5_hidden_topbar_menus','','user',0),('user_5_location','23.673522614041882,57.680654820312505','user',0),('user_5_notification_sound_volume','7','user',0),('user_5_personal_language','english','user',0),('user_53_dashboard','','user',0),('user_54_dashboard','','user',0),('user_54_personal_language','english','user',0),('user_58_dashboard','','user',0),('user_6_dashboard','','user',0),('user_6_personal_language','english','user',0),('user_64_dashboard','','user',0),('user_65_dashboard','','user',0),('user_66_dashboard','','user',0),('user_69_dashboard','','user',0),('user_70_dashboard','','user',0),('user_72_dashboard','','user',0),('VAT_expense','21','app',0),('VAT_in','35','app',0),('VAT_out','27','app',0),('weekend','5,6','app',0);

--
-- Table structure for table `manufacturing_demoshipment_items`
--

CREATE TABLE `manufacturing_demoshipment_items` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `item_id` int(11) NOT NULL,
  `po_item_id` int(11) NOT NULL,
  `quantity` double NOT NULL DEFAULT '0',
  `deleted` int(1) NOT NULL DEFAULT '0',
  `shipment_id` int(11) NOT NULL,
  `sort` int(11) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `manufacturing_demoshipment_items`
--


--
-- Table structure for table `manufacturing_demoshipments`
--

CREATE TABLE `manufacturing_demoshipments` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `purchase_order_id` int(11) NOT NULL,
  `supplier_id` int(11) NOT NULL DEFAULT '0',
  `date` date NOT NULL,
  `invoice_number` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `invoice_date` date DEFAULT NULL,
  `delivery_note_number` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `delivery_note_date` date DEFAULT NULL,
  `status` enum('draft','approved') COLLATE utf8_unicode_ci DEFAULT NULL,
  `note` text COLLATE utf8_unicode_ci,
  `deleted` int(1) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `manufacturing_demoshipments`
--


--
-- Table structure for table `manufacturing_demosocial_links`
--

CREATE TABLE `manufacturing_demosocial_links` (
  `id` int(11) NOT NULL,
  `user_id` int(11) NOT NULL,
  `facebook` text COLLATE utf8_unicode_ci,
  `twitter` text COLLATE utf8_unicode_ci,
  `linkedin` text COLLATE utf8_unicode_ci,
  `googleplus` text COLLATE utf8_unicode_ci,
  `digg` text COLLATE utf8_unicode_ci,
  `youtube` text COLLATE utf8_unicode_ci,
  `pinterest` text COLLATE utf8_unicode_ci,
  `instagram` text COLLATE utf8_unicode_ci,
  `github` text COLLATE utf8_unicode_ci,
  `tumblr` text COLLATE utf8_unicode_ci,
  `vine` text COLLATE utf8_unicode_ci,
  `deleted` tinyint(1) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `manufacturing_demosocial_links`
--


--
-- Table structure for table `manufacturing_demostock_adjustments`
--

CREATE TABLE `manufacturing_demostock_adjustments` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `item_id` int(11) NOT NULL,
  `quantity` double NOT NULL DEFAULT '0',
  `note` text COLLATE utf8_unicode_ci,
  `deleted` int(11) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=26 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `manufacturing_demostock_adjustments`
--

INSERT INTO `manufacturing_demostock_adjustments` VALUES (1,11,200,'',0),(2,10,100,'',0),(3,13,10,'',0),(4,12,10,'',0),(5,15,1,'',0),(6,16,20,'',0),(7,18,200,'',0),(8,17,10,'',0),(9,19,500,'',0),(10,20,1000,'',0),(11,24,1,'',0),(12,25,20,'',0),(13,27,20,'',0),(14,26,1,'',0),(15,30,5,'',0),(16,31,100,'',0),(17,35,10,'',0),(18,36,30,'',0),(19,39,100,'',0),(20,42,40,'',0),(21,44,40,'',0),(22,46,100,'',0),(23,49,100,'',0),(24,48,100,'',0),(25,3,10,'',0);

--
-- Table structure for table `manufacturing_demosuppliers`
--

CREATE TABLE `manufacturing_demosuppliers` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `company_name` varchar(150) COLLATE utf8_unicode_ci NOT NULL,
  `contact_name` varchar(150) COLLATE utf8_unicode_ci DEFAULT NULL,
  `email` varchar(150) COLLATE utf8_unicode_ci DEFAULT NULL,
  `address` text COLLATE utf8_unicode_ci,
  `city` varchar(50) COLLATE utf8_unicode_ci DEFAULT NULL,
  `state` varchar(50) COLLATE utf8_unicode_ci DEFAULT NULL,
  `zip` varchar(50) COLLATE utf8_unicode_ci DEFAULT NULL,
  `country` varchar(20) COLLATE utf8_unicode_ci DEFAULT NULL,
  `created_date` date DEFAULT NULL,
  `website` text COLLATE utf8_unicode_ci,
  `phone` varchar(20) COLLATE utf8_unicode_ci DEFAULT NULL,
  `alternative_phone` varchar(20) COLLATE utf8_unicode_ci DEFAULT NULL,
  `currency_symbol` varchar(20) COLLATE utf8_unicode_ci DEFAULT NULL,
  `currency` varchar(3) COLLATE utf8_unicode_ci DEFAULT NULL,
  `vat_number` text COLLATE utf8_unicode_ci,
  `note` mediumtext COLLATE utf8_unicode_ci NOT NULL,
  `account_id` int(11) NOT NULL DEFAULT '0',
  `advance_account_id` int(11) NOT NULL DEFAULT '0',
  `deleted` tinyint(4) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=3 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `manufacturing_demosuppliers`
--


--
-- Table structure for table `manufacturing_demotask_status`
--

CREATE TABLE `manufacturing_demotask_status` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `title` varchar(100) COLLATE utf8_unicode_ci NOT NULL,
  `key_name` varchar(100) COLLATE utf8_unicode_ci NOT NULL,
  `color` varchar(7) COLLATE utf8_unicode_ci NOT NULL,
  `sort` int(11) NOT NULL,
  `deleted` tinyint(1) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `manufacturing_demotask_status`
--

INSERT INTO `manufacturing_demotask_status` VALUES (1,'To Do','to_do','#F9A52D',0,0),(2,'In progress','in_progress','#1672B9',1,0),(3,'Done','done','#00B393',2,0),(4,'holding','','#aab7b7',3,0);

--
-- Table structure for table `manufacturing_demotasks`
--

CREATE TABLE `manufacturing_demotasks` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `title` text COLLATE utf8_unicode_ci NOT NULL,
  `description` mediumtext COLLATE utf8_unicode_ci,
  `project_id` int(11) NOT NULL DEFAULT '0',
  `milestone_id` int(11) NOT NULL DEFAULT '0',
  `assigned_to` int(11) NOT NULL,
  `deadline` date DEFAULT NULL,
  `labels` text COLLATE utf8_unicode_ci,
  `points` tinyint(4) NOT NULL DEFAULT '1',
  `status` enum('to_do','in_progress','done') COLLATE utf8_unicode_ci NOT NULL DEFAULT 'to_do',
  `status_id` int(11) NOT NULL,
  `start_date` date DEFAULT NULL,
  `collaborators` text COLLATE utf8_unicode_ci NOT NULL,
  `sort` int(11) NOT NULL DEFAULT '0',
  `recurring` tinyint(1) NOT NULL DEFAULT '0',
  `repeat_every` int(11) NOT NULL DEFAULT '0',
  `repeat_type` enum('days','weeks','months','years') COLLATE utf8_unicode_ci DEFAULT NULL,
  `no_of_cycles` int(11) NOT NULL DEFAULT '0',
  `recurring_task_id` int(11) NOT NULL DEFAULT '0',
  `no_of_cycles_completed` int(11) NOT NULL DEFAULT '0',
  `created_date` date NOT NULL,
  `next_recurring_date` date DEFAULT NULL,
  `reminder_date` date NOT NULL,
  `ticket_id` int(11) NOT NULL,
  `deleted` tinyint(11) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `manufacturing_demotasks`
--


--
-- Table structure for table `manufacturing_demotaxes`
--

CREATE TABLE `manufacturing_demotaxes` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `title` tinytext CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  `percentage` double NOT NULL,
  `deleted` tinyint(1) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=latin1;

--
-- Dumping data for table `manufacturing_demotaxes`
--

INSERT INTO `manufacturing_demotaxes` VALUES (1,'VAT (5%)',5,0),(2,'SPD- vat (3%)',3,1),(3,'SPD-Vat ( Nill) new agreement (0%)',0,1);

--
-- Table structure for table `manufacturing_demoteam`
--

CREATE TABLE `manufacturing_demoteam` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `title` text COLLATE utf8_unicode_ci NOT NULL,
  `members` mediumtext COLLATE utf8_unicode_ci NOT NULL,
  `deleted` int(1) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `manufacturing_demoteam`
--


--
-- Table structure for table `manufacturing_demoteam_member_job_info`
--

CREATE TABLE `manufacturing_demoteam_member_job_info` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `user_id` int(11) NOT NULL,
  `date_of_hire` date DEFAULT NULL,
  `deleted` int(1) NOT NULL DEFAULT '0',
  `salary` double NOT NULL DEFAULT '0',
  `salary_term` varchar(20) COLLATE utf8_unicode_ci DEFAULT NULL,
  `working_hours` int(11) DEFAULT NULL,
  `yearly_leaves` int(11) DEFAULT NULL,
  `housing` float DEFAULT '0',
  `transportation` float DEFAULT '0',
  `telephone` float DEFAULT '0',
  `utility` float DEFAULT '0',
  `national` tinyint(4) DEFAULT '0',
  `pasi` tinyint(4) DEFAULT '1',
  `bank_title` text COLLATE utf8_unicode_ci,
  `account_title` text COLLATE utf8_unicode_ci,
  `account_no` text COLLATE utf8_unicode_ci,
  PRIMARY KEY (`id`),
  KEY `user_id` (`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `manufacturing_demoteam_member_job_info`
--


--
-- Table structure for table `manufacturing_demoticket_comments`
--

CREATE TABLE `manufacturing_demoticket_comments` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `created_by` int(11) NOT NULL,
  `created_at` datetime NOT NULL,
  `description` mediumtext COLLATE utf8_unicode_ci NOT NULL,
  `ticket_id` int(11) NOT NULL,
  `files` longtext COLLATE utf8_unicode_ci,
  `deleted` tinyint(1) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `manufacturing_demoticket_comments`
--


--
-- Table structure for table `manufacturing_demoticket_types`
--

CREATE TABLE `manufacturing_demoticket_types` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `title` text COLLATE utf8_unicode_ci NOT NULL,
  `deleted` tinyint(1) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `manufacturing_demoticket_types`
--

INSERT INTO `manufacturing_demoticket_types` VALUES (1,'General Support',0),(2,'One way',0),(3,'Two way',0);

--
-- Table structure for table `manufacturing_demotickets`
--

CREATE TABLE `manufacturing_demotickets` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `client_id` int(11) NOT NULL,
  `project_id` int(11) NOT NULL DEFAULT '0',
  `ticket_type_id` int(11) NOT NULL,
  `title` text COLLATE utf8_unicode_ci NOT NULL,
  `created_by` int(11) NOT NULL,
  `created_at` datetime NOT NULL,
  `status` enum('new','client_replied','open','closed') COLLATE utf8_unicode_ci NOT NULL DEFAULT 'new',
  `last_activity_at` datetime DEFAULT NULL,
  `assigned_to` int(11) NOT NULL DEFAULT '0',
  `creator_name` varchar(100) COLLATE utf8_unicode_ci NOT NULL,
  `creator_email` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `labels` text COLLATE utf8_unicode_ci,
  `task_id` int(11) NOT NULL,
  `closed_at` datetime NOT NULL,
  `deleted` tinyint(1) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `manufacturing_demotickets`
--


--
-- Table structure for table `manufacturing_demoto_do`
--

CREATE TABLE `manufacturing_demoto_do` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `created_by` int(11) NOT NULL,
  `created_at` datetime NOT NULL,
  `title` text COLLATE utf8_unicode_ci NOT NULL,
  `description` mediumtext COLLATE utf8_unicode_ci,
  `labels` text COLLATE utf8_unicode_ci,
  `status` enum('to_do','done') COLLATE utf8_unicode_ci NOT NULL DEFAULT 'to_do',
  `start_date` date DEFAULT NULL,
  `deleted` tinyint(1) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `manufacturing_demoto_do`
--


--
-- Table structure for table `manufacturing_demotransactions`
--

CREATE TABLE `manufacturing_demotransactions` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `date` date NOT NULL,
  `type` text NOT NULL,
  `is_manual` tinyint(1) NOT NULL DEFAULT '0',
  `reference` text,
  `bank_cash` int(11) DEFAULT '0',
  `deleted` tinyint(1) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8;

--
-- Dumping data for table `manufacturing_demotransactions`
--

INSERT INTO `manufacturing_demotransactions` VALUES (1,'2024-09-12','Invoice: AMI/1',0,NULL,0,0),(2,'2024-09-12','Invoice Inventory: AMI/1',0,NULL,0,0);

--
-- Table structure for table `manufacturing_demousers`
--

CREATE TABLE `manufacturing_demousers` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `nationality` varchar(250) COLLATE utf8_unicode_ci NOT NULL DEFAULT '0',
  `first_name` varchar(50) COLLATE utf8_unicode_ci NOT NULL,
  `last_name` varchar(50) COLLATE utf8_unicode_ci NOT NULL,
  `superior_id` int(11) DEFAULT '-1',
  `user_type` enum('staff','client','lead') COLLATE utf8_unicode_ci NOT NULL DEFAULT 'client',
  `is_admin` tinyint(1) NOT NULL DEFAULT '0',
  `role_id` int(11) NOT NULL DEFAULT '0',
  `email` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `password` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `image` text COLLATE utf8_unicode_ci,
  `status` enum('active','inactive') COLLATE utf8_unicode_ci NOT NULL DEFAULT 'active',
  `message_checked_at` datetime DEFAULT NULL,
  `client_id` int(11) NOT NULL DEFAULT '0',
  `notification_checked_at` datetime DEFAULT NULL,
  `is_primary_contact` tinyint(1) NOT NULL DEFAULT '0',
  `job_title` varchar(100) COLLATE utf8_unicode_ci NOT NULL DEFAULT 'Untitled',
  `disable_login` tinyint(1) NOT NULL DEFAULT '0',
  `note` mediumtext COLLATE utf8_unicode_ci,
  `address` text COLLATE utf8_unicode_ci,
  `alternative_address` text COLLATE utf8_unicode_ci,
  `phone` varchar(20) COLLATE utf8_unicode_ci DEFAULT NULL,
  `alternative_phone` varchar(20) COLLATE utf8_unicode_ci DEFAULT NULL,
  `dob` date DEFAULT NULL,
  `ssn` varchar(20) COLLATE utf8_unicode_ci DEFAULT NULL,
  `gender` enum('male','female') COLLATE utf8_unicode_ci NOT NULL DEFAULT 'male',
  `sticky_note` mediumtext COLLATE utf8_unicode_ci,
  `external_links` mediumtext COLLATE utf8_unicode_ci,
  `skype` text COLLATE utf8_unicode_ci,
  `enable_web_notification` tinyint(1) NOT NULL DEFAULT '1',
  `enable_email_notification` tinyint(1) NOT NULL DEFAULT '1',
  `created_at` datetime DEFAULT NULL,
  `last_online` datetime DEFAULT NULL,
  `pt_account_id` int(11) NOT NULL DEFAULT '0',
  `sal_account_id` int(11) NOT NULL DEFAULT '0',
  `imb_account_id` int(11) NOT NULL DEFAULT '0',
  `resident_card_no` text COLLATE utf8_unicode_ci,
  `resident_card_expiry` date DEFAULT NULL,
  `passport_no` text COLLATE utf8_unicode_ci,
  `passport_expiry` date DEFAULT NULL,
  `requested_account_removal` tinyint(1) DEFAULT '0',
  `payroll` tinyint(1) DEFAULT '1',
  `deleted` int(1) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  KEY `user_type` (`user_type`),
  KEY `email` (`email`),
  KEY `client_id` (`client_id`),
  KEY `deleted` (`deleted`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `manufacturing_demousers`
--

INSERT INTO `manufacturing_demousers` VALUES (2,'0','Admin','Admin',-1,'staff',1,0,'demo3@demo.com','e10adc3949ba59abbe56e057f20f883e',NULL,'active','2024-09-09 08:05:40',0,NULL,0,'Untitled',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'male',NULL,NULL,NULL,1,1,NULL,'2024-09-16 13:41:14',0,0,0,NULL,NULL,NULL,NULL,0,1,0);


