--
-- Host: localhost    Database: thb_loan
-- ------------------------------------------------------


--
-- Table structure for table `activations`
--

CREATE TABLE `activations` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int unsigned NOT NULL,
  `code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `completed` tinyint(1) NOT NULL DEFAULT '0',
  `completed_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=7 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `activations`
--

INSERT INTO `activations` VALUES (1,1,'rP38dIpxalNh3mSdffcHVUwrR2pTVBLD',1,'2022-09-27 08:15:14','2022-09-27 08:15:14','2022-09-27 08:15:14'),(2,2,'kcNxosSTjdtG8XPo1OxM3EGS5ixVVQbS',1,'2022-09-27 11:42:32','2022-09-27 11:42:32','2022-09-27 11:42:32'),(3,3,'j57Wh5yNXBSN04suFMcilcms0pB8kb8y',1,'2022-09-27 13:23:56','2022-09-27 13:23:56','2022-09-27 13:23:56'),(4,4,'6z0kDInsqayLXVwaIfVuAJh1hWXyH4go',1,'2022-09-27 13:25:11','2022-09-27 13:25:11','2022-09-27 13:25:11'),(5,5,'M68UTIfQ34k1Xn3u6e93TFTFdIHSx80O',1,'2023-04-11 07:25:44','2023-04-11 07:25:44','2023-04-11 07:25:44'),(6,6,'cz8d3rT6qoSnHVta8JknLCEF372df9c5',1,'2023-05-17 06:47:50','2023-05-17 06:47:50','2023-05-17 06:47:50');

--
-- Table structure for table `asset_types`
--

CREATE TABLE `asset_types` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `name` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `type` enum('current','fixed','intangible','investment','other') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `asset_types`
--

INSERT INTO `asset_types` VALUES (1,'office equipment\r\n',NULL);

--
-- Table structure for table `asset_valuations`
--

CREATE TABLE `asset_valuations` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int DEFAULT NULL,
  `asset_id` int DEFAULT NULL,
  `date` date DEFAULT NULL,
  `amount` decimal(65,4) DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `asset_valuations`
--

INSERT INTO `asset_valuations` VALUES (1,1,1,'2022-09-28',1.0000,'2022-09-27 13:45:07','2022-09-27 13:45:07');

--
-- Table structure for table `assets`
--

CREATE TABLE `assets` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int DEFAULT NULL,
  `asset_type_id` int DEFAULT NULL,
  `purchase_date` date DEFAULT NULL,
  `purchase_price` decimal(65,4) DEFAULT NULL,
  `replacement_value` decimal(65,4) DEFAULT NULL,
  `serial_number` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `bought_from` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `notes` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `files` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `branch_id` int DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `assets_id_index` (`id`),
  KEY `assets_purchase_date_index` (`purchase_date`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `assets`
--

INSERT INTO `assets` VALUES (1,1,1,NULL,10.0000,NULL,'445465',NULL,NULL,'a:0:{}','2022-09-27 13:45:07','2022-09-27 13:45:07',1);

--
-- Table structure for table `audit_trail`
--

CREATE TABLE `audit_trail` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int unsigned DEFAULT NULL,
  `user` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `module` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `notes` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `branch_id` int DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `audit_trail_id_index` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=368 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `audit_trail`
--

INSERT INTO `audit_trail` VALUES (1,1,'Admin Admin',NULL,'Logged in to system','2022-09-27 08:15:37','2022-09-27 08:15:37',NULL),(2,1,'Admin Admin',NULL,'Logged in to system','2022-09-27 11:17:52','2022-09-27 11:17:52',NULL),(3,1,'Admin Admin',NULL,'Updated Settings','2022-09-27 11:18:28','2022-09-27 11:18:28',1),(4,1,'Admin Admin',NULL,'Updated user with id:1','2022-09-27 11:18:55','2022-09-27 11:18:55',1),(5,1,'Admin Admin',NULL,'Added borrower  with id:1','2022-09-27 11:19:46','2022-09-27 11:19:46',1),(6,1,'Admin Admin',NULL,'Added loan with id:1','2022-09-27 11:21:25','2022-09-27 11:21:25',1),(7,1,'Admin Admin',NULL,'Added user with id:2','2022-09-27 11:42:32','2022-09-27 11:42:32',1),(8,1,'Admin Admin',NULL,'Updated user with id:2','2022-09-27 11:45:27','2022-09-27 11:45:27',1),(9,1,'Admin Admin',NULL,'Updated role with id:2','2022-09-27 13:11:04','2022-09-27 13:11:04',1),(10,1,'Admin Admin',NULL,'Updated user with id:2','2022-09-27 13:17:06','2022-09-27 13:17:06',1),(11,2,'tet te',NULL,'Logged in to system','2022-09-27 13:17:11','2022-09-27 13:17:11',NULL),(12,1,'Admin Admin',NULL,'Added user with id:4','2022-09-27 13:25:11','2022-09-27 13:25:11',1),(13,4,'Co Co',NULL,'Logged in to system','2022-09-27 13:26:38','2022-09-27 13:26:38',NULL),(14,1,'Admin Admin',NULL,'Updated role with id:2','2022-09-27 13:26:54','2022-09-27 13:26:54',1),(15,1,'Admin Admin',NULL,'Updated role with id:2','2022-09-27 13:27:21','2022-09-27 13:27:21',1),(16,1,'Admin Admin',NULL,'Updated role with id:2','2022-09-27 13:28:01','2022-09-27 13:28:01',1),(17,4,'Co Co',NULL,'Added collateral  with id:1','2022-09-27 13:30:48','2022-09-27 13:30:48',1),(18,1,'Admin Admin',NULL,'Added asset  with id:1','2022-09-27 13:45:07','2022-09-27 13:45:07',1),(19,1,'Admin Admin',NULL,'Logged in to system','2022-09-28 05:46:10','2022-09-28 05:46:10',NULL),(20,1,'Admin Admin',NULL,'Logged in to system','2022-09-28 13:44:24','2022-09-28 13:44:24',NULL),(21,1,'Admin Admin',NULL,'Updated user with id:1','2022-09-28 14:22:43','2022-09-28 14:22:43',1),(22,1,'Admin Admin',NULL,'Logged in to system','2022-09-29 06:51:23','2022-09-29 06:51:23',NULL),(23,1,'Admin Admin',NULL,'Logged out of system','2022-09-29 07:11:15','2022-09-29 07:11:15',1),(24,1,'Admin Admin',NULL,'Logged in to system','2022-09-29 07:11:22','2022-09-29 07:11:22',1),(25,1,'Admin Admin',NULL,'Logged in to system','2023-03-06 10:44:55','2023-03-06 10:44:55',NULL),(26,1,'Admin Admin',NULL,'Updated Settings','2023-03-06 10:45:37','2023-03-06 10:45:37',1),(27,1,'Admin Admin',NULL,'Deleted loan with id:1','2023-03-06 10:46:22','2023-03-06 10:46:22',1),(28,1,'Admin Admin',NULL,'Logged in to system','2023-03-13 09:36:30','2023-03-13 09:36:30',NULL),(29,1,'Admin Admin',NULL,'Logged in to system','2023-03-16 06:51:08','2023-03-16 06:51:08',NULL),(30,1,'Admin Admin',NULL,'Logged in to system','2023-04-10 04:20:22','2023-04-10 04:20:22',NULL),(31,1,'Admin Admin',NULL,'Logged in to system','2023-04-10 04:24:40','2023-04-10 04:24:40',1),(32,1,'Admin Admin',NULL,'Logged in to system','2023-04-11 06:26:38','2023-04-11 06:26:38',NULL),(33,1,'Admin Admin',NULL,'Added user with id:5','2023-04-11 07:25:44','2023-04-11 07:25:44',1),(34,1,'Admin Admin',NULL,'Logged in to system','2023-04-12 07:00:37','2023-04-12 07:00:37',NULL),(35,5,'Sarak Khol',NULL,'Logged in to system','2023-04-15 08:36:04','2023-04-15 08:36:04',NULL),(36,5,'Sarak Khol',NULL,'Logged in to system','2023-04-15 08:36:05','2023-04-15 08:36:05',NULL),(37,1,'Admin Admin',NULL,'Logged in to system','2023-04-25 07:13:48','2023-04-25 07:13:48',NULL),(38,1,'Admin Admin',NULL,'Logged out of system','2023-04-25 07:27:03','2023-04-25 07:27:03',1),(39,1,'Admin Admin',NULL,'Logged in to system','2023-04-25 07:27:10','2023-04-25 07:27:10',1),(40,1,'Admin Admin',NULL,'Logged in to system','2023-05-03 07:10:04','2023-05-03 07:10:04',NULL),(41,1,'Admin Admin',NULL,'Logged in to system','2023-05-12 05:54:05','2023-05-12 05:54:05',NULL),(42,1,'Admin Admin',NULL,'Logged in to system','2023-05-13 04:13:45','2023-05-13 04:13:45',NULL),(43,1,'Admin Admin',NULL,'Added borrower  with id:2','2023-05-13 04:19:46','2023-05-13 04:19:46',1),(44,1,'Admin Admin',NULL,'Added borrower  with id:3','2023-05-13 04:24:21','2023-05-13 04:24:21',1),(45,1,'Admin Admin',NULL,'Added borrower  with id:4','2023-05-13 04:30:22','2023-05-13 04:30:22',1),(46,1,'Admin Admin',NULL,'Added borrower  with id:5','2023-05-13 04:47:31','2023-05-13 04:47:31',1),(47,1,'Admin Admin',NULL,'Added borrower  with id:6','2023-05-13 04:49:03','2023-05-13 04:49:03',1),(48,1,'Admin Admin',NULL,'Added borrower  with id:7','2023-05-13 05:01:51','2023-05-13 05:01:51',1),(49,1,'Admin Admin',NULL,'Added borrower  with id:8','2023-05-13 05:04:04','2023-05-13 05:04:04',1),(50,1,'Admin Admin',NULL,'Added borrower  with id:9','2023-05-13 05:11:06','2023-05-13 05:11:06',1),(51,1,'Admin Admin',NULL,'Added borrower  with id:10','2023-05-13 05:12:32','2023-05-13 05:12:32',1),(52,1,'Admin Admin',NULL,'Added borrower  with id:11','2023-05-13 05:18:15','2023-05-13 05:18:15',1),(53,1,'Admin Admin',NULL,'Added borrower  with id:12','2023-05-13 05:19:24','2023-05-13 05:19:24',1),(54,1,'Admin Admin',NULL,'Added borrower  with id:13','2023-05-13 05:23:37','2023-05-13 05:23:37',1),(55,1,'Admin Admin',NULL,'Updated borrower  with id:12','2023-05-13 05:24:16','2023-05-13 05:24:16',1),(56,1,'Admin Admin',NULL,'Added borrower  with id:14','2023-05-13 05:25:17','2023-05-13 05:25:17',1),(57,1,'Admin Admin',NULL,'Logged in to system','2023-05-15 07:25:27','2023-05-15 07:25:27',NULL),(58,1,'Admin Admin',NULL,'Added loan with id:2','2023-05-15 07:37:09','2023-05-15 07:37:09',1),(59,1,'Admin Admin',NULL,'Added loan with id:3','2023-05-15 07:41:57','2023-05-15 07:41:57',1),(60,1,'Admin Admin',NULL,'Added loan with id:4','2023-05-15 07:43:04','2023-05-15 07:43:04',1),(61,1,'Admin Admin',NULL,'Added loan with id:5','2023-05-15 07:43:56','2023-05-15 07:43:56',1),(62,1,'Admin Admin',NULL,'Added loan with id:6','2023-05-15 07:47:54','2023-05-15 07:47:54',1),(63,5,'Sarak Khol',NULL,'Logged in to system','2023-05-15 08:26:44','2023-05-15 08:26:44',NULL),(64,1,'Admin Admin',NULL,'Logged in to system','2023-05-15 08:26:45','2023-05-15 08:26:45',NULL),(65,5,'Sarak Khol',NULL,'Logged in to system','2023-05-15 08:26:45','2023-05-15 08:26:45',NULL),(66,5,'Sarak Khol',NULL,'Approved loan with id:6','2023-05-15 08:28:00','2023-05-15 08:28:00',1),(67,5,'Sarak Khol',NULL,'Approved loan with id:5','2023-05-15 08:28:36','2023-05-15 08:28:36',1),(68,5,'Sarak Khol',NULL,'Approved loan with id:5','2023-05-15 08:34:39','2023-05-15 08:34:39',1),(69,1,'Admin Admin',NULL,'Logged in to system','2023-05-16 07:30:43','2023-05-16 07:30:43',NULL),(70,1,'Admin Admin',NULL,'Approved loan with id:4','2023-05-16 07:34:14','2023-05-16 07:34:14',1),(71,1,'Admin Admin',NULL,'Approved loan with id:3','2023-05-16 07:34:18','2023-05-16 07:34:18',1),(72,1,'Admin Admin',NULL,'Approved loan with id:2','2023-05-16 07:34:22','2023-05-16 07:34:22',1),(73,1,'Admin Admin',NULL,'Logged in to system','2023-05-16 07:46:29','2023-05-16 07:46:29',NULL),(74,1,'Admin Admin',NULL,'Logged in to system','2023-05-16 08:18:59','2023-05-16 08:18:59',NULL),(75,5,'Sarak Khol',NULL,'Logged in to system','2023-05-16 08:34:39','2023-05-16 08:34:39',NULL),(76,5,'Sarak Khol',NULL,'Logged in to system','2023-05-16 08:34:39','2023-05-16 08:34:39',NULL),(77,1,'Admin Admin',NULL,'Logged in to system','2023-05-16 09:54:02','2023-05-16 09:54:02',NULL),(78,1,'Admin Admin',NULL,'Updated loan product with id:2','2023-05-16 10:16:04','2023-05-16 10:16:04',1),(79,1,'Admin Admin',NULL,'Updated loan product with id:1','2023-05-16 10:16:13','2023-05-16 10:16:13',1),(80,1,'Admin Admin',NULL,'Updated loan product with id:1','2023-05-16 10:16:22','2023-05-16 10:16:22',1),(81,1,'Admin Admin',NULL,'Updated loan with id:6','2023-05-16 10:16:52','2023-05-16 10:16:52',1),(82,1,'Admin Admin',NULL,'Updated loan with id:6','2023-05-16 10:17:02','2023-05-16 10:17:02',1),(83,1,'Admin Admin',NULL,'Logged in to system','2023-05-16 15:27:42','2023-05-16 15:27:42',NULL),(84,1,'Admin Admin',NULL,'Logged out of system','2023-05-16 15:30:17','2023-05-16 15:30:17',1),(85,1,'Admin Admin',NULL,'Logged in to system','2023-05-17 06:39:52','2023-05-17 06:39:52',NULL),(86,1,'Admin Admin',NULL,'Added user with id:6','2023-05-17 06:47:50','2023-05-17 06:47:50',1),(87,1,'Admin Admin',NULL,'Updated user with id:6','2023-05-17 06:48:14','2023-05-17 06:48:14',1),(88,1,'Admin Admin',NULL,'Added loan with id:7','2023-05-17 06:55:54','2023-05-17 06:55:54',1),(89,1,'Admin Admin',NULL,'Added loan with id:8','2023-05-17 07:00:35','2023-05-17 07:00:35',1),(90,1,'Admin Admin',NULL,'Added loan with id:9','2023-05-17 07:03:39','2023-05-17 07:03:39',1),(91,1,'Admin Admin',NULL,'Added loan with id:10','2023-05-17 07:05:12','2023-05-17 07:05:12',1),(92,1,'Admin Admin',NULL,'Added loan with id:11','2023-05-17 07:06:40','2023-05-17 07:06:40',1),(93,1,'Admin Admin',NULL,'Added loan with id:12','2023-05-17 07:07:28','2023-05-17 07:07:28',1),(94,1,'Admin Admin',NULL,'Updated loan with id:11','2023-05-17 07:07:49','2023-05-17 07:07:49',1),(95,1,'Admin Admin',NULL,'Added loan with id:13','2023-05-17 07:08:41','2023-05-17 07:08:41',1),(96,1,'Admin Admin',NULL,'Added borrower  with id:15','2023-05-17 07:25:50','2023-05-17 07:25:50',1),(97,1,'Admin Admin',NULL,'Added borrower  with id:16','2023-05-17 07:28:50','2023-05-17 07:28:50',1),(98,1,'Admin Admin',NULL,'Added borrower  with id:17','2023-05-17 07:30:30','2023-05-17 07:30:30',1),(99,1,'Admin Admin',NULL,'Added borrower  with id:18','2023-05-17 07:32:04','2023-05-17 07:32:04',1),(100,1,'Admin Admin',NULL,'Added loan with id:14','2023-05-17 07:33:22','2023-05-17 07:33:22',1),(101,1,'Admin Admin',NULL,'Added loan with id:15','2023-05-17 07:34:08','2023-05-17 07:34:08',1),(102,1,'Admin Admin',NULL,'Added loan with id:16','2023-05-17 07:34:48','2023-05-17 07:34:48',1),(103,1,'Admin Admin',NULL,'Added loan with id:17','2023-05-17 07:35:41','2023-05-17 07:35:41',1),(104,1,'Admin Admin',NULL,'Updated loan with id:7','2023-05-17 07:36:03','2023-05-17 07:36:03',1),(105,5,'Sarak Khol',NULL,'Logged in to system','2023-05-18 09:33:03','2023-05-18 09:33:03',NULL),(106,5,'Sarak Khol',NULL,'Logged in to system','2023-05-18 09:33:05','2023-05-18 09:33:05',1),(107,5,'Sarak Khol',NULL,'Approved loan with id:17','2023-05-18 09:33:42','2023-05-18 09:33:42',1),(108,1,'Admin Admin',NULL,'Logged in to system','2023-05-19 02:02:43','2023-05-19 02:02:43',NULL),(109,5,'Sarak Khol',NULL,'Logged in to system','2023-05-30 08:01:13','2023-05-30 08:01:13',NULL),(110,5,'Sarak Khol',NULL,'Logged in to system','2023-05-30 08:01:13','2023-05-30 08:01:13',NULL),(111,5,'Sarak Khol',NULL,'Approved loan with id:16','2023-05-30 08:01:44','2023-05-30 08:01:44',1),(112,5,'Sarak Khol',NULL,'Approved loan with id:15','2023-05-30 08:02:00','2023-05-30 08:02:00',1),(113,5,'Sarak Khol',NULL,'Approved loan with id:14','2023-05-30 08:02:13','2023-05-30 08:02:13',1),(114,5,'Sarak Khol',NULL,'Approved loan with id:13','2023-05-30 08:02:25','2023-05-30 08:02:25',1),(115,5,'Sarak Khol',NULL,'Approved loan with id:12','2023-05-30 08:02:38','2023-05-30 08:02:38',1),(116,5,'Sarak Khol',NULL,'Approved loan with id:11','2023-05-30 08:02:51','2023-05-30 08:02:51',1),(117,5,'Sarak Khol',NULL,'Approved loan with id:10','2023-05-30 08:03:04','2023-05-30 08:03:04',1),(118,5,'Sarak Khol',NULL,'Approved loan with id:9','2023-05-30 08:03:15','2023-05-30 08:03:15',1),(119,5,'Sarak Khol',NULL,'Approved loan with id:8','2023-05-30 08:03:26','2023-05-30 08:03:26',1),(120,5,'Sarak Khol',NULL,'Approved loan with id:7','2023-05-30 08:03:38','2023-05-30 08:03:38',1),(121,1,'Admin Admin',NULL,'Logged in to system','2023-05-31 04:38:51','2023-05-31 04:38:51',NULL),(122,1,'Admin Admin',NULL,'Added borrower  with id:19','2023-05-31 04:44:22','2023-05-31 04:44:22',1),(123,1,'Admin Admin',NULL,'Logged in to system','2023-05-31 04:47:55','2023-05-31 04:47:55',NULL),(124,1,'Admin Admin',NULL,'Updated user with id:6','2023-05-31 04:50:31','2023-05-31 04:50:31',1),(125,1,'Admin Admin',NULL,'Logged in to system','2023-05-31 04:54:12','2023-05-31 04:54:12',NULL),(126,1,'Admin Admin',NULL,'Updated loan with id:17','2023-05-31 04:56:10','2023-05-31 04:56:10',1),(127,1,'Admin Admin',NULL,'Updated loan with id:17','2023-05-31 04:56:23','2023-05-31 04:56:23',1),(128,1,'Admin Admin',NULL,'Updated loan with id:17','2023-05-31 04:56:36','2023-05-31 04:56:36',1),(129,1,'Admin Admin',NULL,'Updated loan product with id:2','2023-05-31 05:01:54','2023-05-31 05:01:54',1),(130,1,'Admin Admin',NULL,'Updated loan product with id:1','2023-05-31 05:02:01','2023-05-31 05:02:01',1),(131,1,'Admin Admin',NULL,'Added loan with id:18','2023-05-31 05:02:33','2023-05-31 05:02:33',1),(132,1,'Admin Admin',NULL,'Updated loan with id:17','2023-05-31 06:20:07','2023-05-31 06:20:07',1),(133,1,'Admin Admin',NULL,'Updated loan with id:17','2023-05-31 06:20:09','2023-05-31 06:20:09',1),(134,1,'Admin Admin',NULL,'Updated loan with id:16','2023-05-31 06:20:17','2023-05-31 06:20:17',1),(135,1,'Admin Admin',NULL,'Updated loan with id:16','2023-05-31 06:20:32','2023-05-31 06:20:32',1),(136,1,'Admin Admin',NULL,'Updated loan with id:15','2023-05-31 06:20:47','2023-05-31 06:20:47',1),(137,1,'Admin Admin',NULL,'Updated loan with id:14','2023-05-31 06:20:57','2023-05-31 06:20:57',1),(138,1,'Admin Admin',NULL,'Updated loan with id:13','2023-05-31 06:21:09','2023-05-31 06:21:09',1),(139,1,'Admin Admin',NULL,'Updated loan with id:12','2023-05-31 06:21:19','2023-05-31 06:21:19',1),(140,1,'Admin Admin',NULL,'Updated loan with id:11','2023-05-31 06:21:30','2023-05-31 06:21:30',1),(141,1,'Admin Admin',NULL,'Updated loan with id:11','2023-05-31 06:21:39','2023-05-31 06:21:39',1),(142,1,'Admin Admin',NULL,'Updated loan with id:10','2023-05-31 06:21:49','2023-05-31 06:21:49',1),(143,1,'Admin Admin',NULL,'Updated loan with id:9','2023-05-31 06:22:00','2023-05-31 06:22:00',1),(144,1,'Admin Admin',NULL,'Updated loan with id:8','2023-05-31 06:22:14','2023-05-31 06:22:14',1),(145,1,'Admin Admin',NULL,'Updated loan with id:7','2023-05-31 06:22:26','2023-05-31 06:22:26',1),(146,1,'Admin Admin',NULL,'Updated loan with id:6','2023-05-31 06:22:33','2023-05-31 06:22:33',1),(147,1,'Admin Admin',NULL,'Updated loan with id:5','2023-05-31 06:22:42','2023-05-31 06:22:42',1),(148,1,'Admin Admin',NULL,'Updated loan with id:4','2023-05-31 06:22:50','2023-05-31 06:22:50',1),(149,1,'Admin Admin',NULL,'Updated loan with id:4','2023-05-31 06:23:03','2023-05-31 06:23:03',1),(150,1,'Admin Admin',NULL,'Updated loan with id:3','2023-05-31 06:23:11','2023-05-31 06:23:11',1),(151,1,'Admin Admin',NULL,'Updated loan with id:3','2023-05-31 06:23:20','2023-05-31 06:23:20',1),(152,1,'Admin Admin',NULL,'Updated loan with id:2','2023-05-31 06:23:29','2023-05-31 06:23:29',1),(153,1,'Admin Admin',NULL,'Disbursed loan with id:17','2023-05-31 06:23:39','2023-05-31 06:23:39',1),(154,1,'Admin Admin',NULL,'Updated loan with id:16','2023-05-31 06:25:43','2023-05-31 06:25:43',1),(155,1,'Admin Admin',NULL,'Disbursed loan with id:16','2023-05-31 06:25:58','2023-05-31 06:25:58',1),(156,1,'Admin Admin',NULL,'Disbursed loan with id:15','2023-05-31 06:27:36','2023-05-31 06:27:36',1),(157,1,'Admin Admin',NULL,'Updated loan with id:6','2023-05-31 06:29:33','2023-05-31 06:29:33',1),(158,1,'Admin Admin',NULL,'Updated loan with id:5','2023-05-31 06:29:45','2023-05-31 06:29:45',1),(159,1,'Admin Admin',NULL,'Updated loan with id:4','2023-05-31 06:29:59','2023-05-31 06:29:59',1),(160,1,'Admin Admin',NULL,'Updated loan with id:3','2023-05-31 06:30:12','2023-05-31 06:30:12',1),(161,1,'Admin Admin',NULL,'Updated loan with id:2','2023-05-31 06:30:23','2023-05-31 06:30:23',1),(162,1,'Admin Admin',NULL,'Disbursed loan with id:14','2023-05-31 06:30:30','2023-05-31 06:30:30',1),(163,1,'Admin Admin',NULL,'Disbursed loan with id:13','2023-05-31 06:31:09','2023-05-31 06:31:09',1),(164,1,'Admin Admin',NULL,'Disbursed loan with id:12','2023-05-31 06:32:30','2023-05-31 06:32:30',1),(165,1,'Admin Admin',NULL,'Disbursed loan with id:11','2023-05-31 06:32:49','2023-05-31 06:32:49',1),(166,1,'Admin Admin',NULL,'Disbursed loan with id:10','2023-05-31 06:33:17','2023-05-31 06:33:17',1),(167,1,'Admin Admin',NULL,'Disbursed loan with id:9','2023-05-31 06:33:44','2023-05-31 06:33:44',1),(168,1,'Admin Admin',NULL,'Disbursed loan with id:8','2023-05-31 06:34:08','2023-05-31 06:34:08',1),(169,1,'Admin Admin',NULL,'Disbursed loan with id:7','2023-05-31 06:34:40','2023-05-31 06:34:40',1),(170,1,'Admin Admin',NULL,'Disbursed loan with id:6','2023-05-31 06:35:14','2023-05-31 06:35:14',1),(171,1,'Admin Admin',NULL,'Disbursed loan with id:6','2023-05-31 06:35:15','2023-05-31 06:35:15',1),(172,1,'Admin Admin',NULL,'Disbursed loan with id:5','2023-05-31 06:36:00','2023-05-31 06:36:00',1),(173,1,'Admin Admin',NULL,'Disbursed loan with id:4','2023-05-31 06:38:23','2023-05-31 06:38:23',1),(174,1,'Admin Admin',NULL,'Disbursed loan with id:3','2023-05-31 06:39:08','2023-05-31 06:39:08',1),(175,1,'Admin Admin',NULL,'Disbursed loan with id:2','2023-05-31 06:39:29','2023-05-31 06:39:29',1),(176,1,'Admin Admin',NULL,'Undisbursed loan with id:2','2023-05-31 06:43:47','2023-05-31 06:43:47',1),(177,1,'Admin Admin',NULL,'Unapproved loan with id:2','2023-05-31 06:43:51','2023-05-31 06:43:51',1),(178,1,'Admin Admin',NULL,'Updated loan with id:2','2023-05-31 06:44:02','2023-05-31 06:44:02',1),(179,1,'Admin Admin',NULL,'Approved loan with id:2','2023-05-31 06:44:39','2023-05-31 06:44:39',1),(180,1,'Admin Admin',NULL,'Disbursed loan with id:2','2023-05-31 07:08:30','2023-05-31 07:08:30',1),(181,1,'Admin Admin',NULL,'Undisbursed loan with id:4','2023-05-31 07:50:53','2023-05-31 07:50:53',1),(182,1,'Admin Admin',NULL,'Disbursed loan with id:4','2023-05-31 07:53:43','2023-05-31 07:53:43',1),(183,1,'Admin Admin',NULL,'Undisbursed loan with id:4','2023-05-31 09:19:04','2023-05-31 09:19:04',1),(184,1,'Admin Admin',NULL,'Disbursed loan with id:4','2023-05-31 09:21:21','2023-05-31 09:21:21',1),(185,1,'Admin Admin',NULL,'Disbursed loan with id:4','2023-05-31 09:21:22','2023-05-31 09:21:22',1),(186,1,'Admin Admin',NULL,'Undisbursed loan with id:4','2023-05-31 09:21:34','2023-05-31 09:21:34',1),(187,1,'Admin Admin',NULL,'Disbursed loan with id:4','2023-05-31 09:21:40','2023-05-31 09:21:40',1),(188,1,'Admin Admin',NULL,'Logged in to system','2023-06-02 13:05:24','2023-06-02 13:05:24',NULL),(189,1,'Admin Admin',NULL,'Logged in to system','2023-06-05 11:54:38','2023-06-05 11:54:38',NULL),(190,1,'Admin Admin',NULL,'Logged in to system','2023-06-06 05:23:58','2023-06-06 05:23:58',NULL),(191,1,'Admin Admin',NULL,'Undisbursed loan with id:4','2023-06-06 05:26:34','2023-06-06 05:26:34',1),(192,1,'Admin Admin',NULL,'Undisbursed loan with id:17','2023-06-06 05:26:48','2023-06-06 05:26:48',1),(193,1,'Admin Admin',NULL,'Undisbursed loan with id:16','2023-06-06 05:26:56','2023-06-06 05:26:56',1),(194,1,'Admin Admin',NULL,'Logged in to system','2023-06-06 05:29:24','2023-06-06 05:29:24',NULL),(195,1,'Admin Admin',NULL,'Undisbursed loan with id:15','2023-06-06 05:30:00','2023-06-06 05:30:00',1),(196,1,'Admin Admin',NULL,'Undisbursed loan with id:14','2023-06-06 05:30:08','2023-06-06 05:30:08',1),(197,1,'Admin Admin',NULL,'Undisbursed loan with id:13','2023-06-06 05:30:16','2023-06-06 05:30:16',1),(198,1,'Admin Admin',NULL,'Undisbursed loan with id:12','2023-06-06 05:30:23','2023-06-06 05:30:23',1),(199,1,'Admin Admin',NULL,'Undisbursed loan with id:11','2023-06-06 05:30:34','2023-06-06 05:30:34',1),(200,1,'Admin Admin',NULL,'Undisbursed loan with id:10','2023-06-06 05:30:43','2023-06-06 05:30:43',1),(201,1,'Admin Admin',NULL,'Undisbursed loan with id:9','2023-06-06 05:30:55','2023-06-06 05:30:55',1),(202,1,'Admin Admin',NULL,'Undisbursed loan with id:8','2023-06-06 05:31:31','2023-06-06 05:31:31',1),(203,1,'Admin Admin',NULL,'Undisbursed loan with id:2','2023-06-06 05:31:40','2023-06-06 05:31:40',1),(204,1,'Admin Admin',NULL,'Undisbursed loan with id:7','2023-06-06 05:31:48','2023-06-06 05:31:48',1),(205,1,'Admin Admin',NULL,'Undisbursed loan with id:6','2023-06-06 05:31:57','2023-06-06 05:31:57',1),(206,1,'Admin Admin',NULL,'Undisbursed loan with id:5','2023-06-06 05:32:05','2023-06-06 05:32:05',1),(207,1,'Admin Admin',NULL,'Undisbursed loan with id:3','2023-06-06 05:32:13','2023-06-06 05:32:13',1),(208,1,'Admin Admin',NULL,'Logged in to system','2023-06-06 05:37:27','2023-06-06 05:37:27',NULL),(209,5,'Sarak Khol',NULL,'Logged in to system','2023-06-07 12:48:00','2023-06-07 12:48:00',NULL),(210,5,'Sarak Khol',NULL,'Logged in to system','2023-06-07 12:48:02','2023-06-07 12:48:02',NULL),(211,5,'Sarak Khol',NULL,'Approved loan with id:18','2023-06-07 12:48:33','2023-06-07 12:48:33',1),(212,1,'Admin Admin',NULL,'Logged in to system','2023-06-07 13:55:13','2023-06-07 13:55:13',NULL),(213,1,'Admin Admin',NULL,'Logged in to system','2023-06-09 13:59:06','2023-06-09 13:59:06',NULL),(214,1,'Admin Admin',NULL,'Logged in to system','2023-06-11 07:11:56','2023-06-11 07:11:56',NULL),(215,1,'Admin Admin',NULL,'Added borrower  with id:20','2023-06-11 07:14:58','2023-06-11 07:14:58',1),(216,1,'Admin Admin',NULL,'Added loan with id:19','2023-06-11 07:17:05','2023-06-11 07:17:05',1),(217,1,'Admin Admin',NULL,'Logged in to system','2023-06-11 07:30:07','2023-06-11 07:30:07',NULL),(218,1,'Admin Admin',NULL,'Added borrower  with id:21','2023-06-11 07:38:04','2023-06-11 07:38:04',1),(219,1,'Admin Admin',NULL,'Added loan with id:20','2023-06-11 07:41:03','2023-06-11 07:41:03',1),(220,1,'Admin Admin',NULL,'Logged in to system','2023-06-11 07:43:10','2023-06-11 07:43:10',NULL),(221,1,'Admin Admin',NULL,'Updated loan with id:20','2023-06-11 07:45:03','2023-06-11 07:45:03',1),(222,1,'Admin Admin',NULL,'Updated loan with id:19','2023-06-11 07:45:28','2023-06-11 07:45:28',1),(223,1,'Admin Admin',NULL,'Updated loan with id:19','2023-06-11 07:45:36','2023-06-11 07:45:36',1),(224,1,'Admin Admin',NULL,'Added borrower  with id:22','2023-06-11 07:57:27','2023-06-11 07:57:27',1),(225,1,'Admin Admin',NULL,'Updated borrower  with id:20','2023-06-11 07:57:50','2023-06-11 07:57:50',1),(226,1,'Admin Admin',NULL,'Added loan with id:21','2023-06-11 08:01:13','2023-06-11 08:01:13',1),(227,1,'Admin Admin',NULL,'Updated loan with id:20','2023-06-11 08:01:52','2023-06-11 08:01:52',1),(228,1,'Admin Admin',NULL,'Updated loan with id:20','2023-06-11 08:02:24','2023-06-11 08:02:24',1),(229,1,'Admin Admin',NULL,'Updated loan with id:19','2023-06-11 08:02:44','2023-06-11 08:02:44',1),(230,1,'Admin Admin',NULL,'Added borrower  with id:23','2023-06-11 08:06:05','2023-06-11 08:06:05',1),(231,1,'Admin Admin',NULL,'Updated borrower  with id:22','2023-06-11 08:07:01','2023-06-11 08:07:01',1),(232,1,'Admin Admin',NULL,'Added loan with id:22','2023-06-11 08:09:35','2023-06-11 08:09:35',1),(233,1,'Admin Admin',NULL,'Added borrower  with id:24','2023-06-11 08:12:57','2023-06-11 08:12:57',1),(234,1,'Admin Admin',NULL,'Added loan with id:23','2023-06-11 08:14:10','2023-06-11 08:14:10',1),(235,1,'Admin Admin',NULL,'Added borrower  with id:25','2023-06-11 08:16:42','2023-06-11 08:16:42',1),(236,1,'Admin Admin',NULL,'Deleted borrower  with id:25','2023-06-11 08:17:51','2023-06-11 08:17:51',1),(237,1,'Admin Admin',NULL,'Logged in to system','2023-06-12 05:27:27','2023-06-12 05:27:27',NULL),(238,1,'Admin Admin',NULL,'Approved loan with id:23','2023-06-12 06:17:02','2023-06-12 06:17:02',1),(239,1,'Admin Admin',NULL,'Approved loan with id:22','2023-06-12 06:17:16','2023-06-12 06:17:16',1),(240,1,'Admin Admin',NULL,'Approved loan with id:21','2023-06-12 06:17:28','2023-06-12 06:17:28',1),(241,1,'Admin Admin',NULL,'Approved loan with id:20','2023-06-12 06:17:37','2023-06-12 06:17:37',1),(242,1,'Admin Admin',NULL,'Approved loan with id:19','2023-06-12 06:17:47','2023-06-12 06:17:47',1),(243,1,'Admin Admin',NULL,'Logged in to system','2023-06-12 08:01:17','2023-06-12 08:01:17',NULL),(244,1,'Admin Admin',NULL,'Updated loan with id:23','2023-06-12 08:03:04','2023-06-12 08:03:04',1),(245,1,'Admin Admin',NULL,'Disbursed loan with id:23','2023-06-12 08:03:32','2023-06-12 08:03:32',1),(246,1,'Admin Admin',NULL,'Undisbursed loan with id:23','2023-06-12 08:16:05','2023-06-12 08:16:05',1),(247,1,'Admin Admin',NULL,'Disbursed loan with id:23','2023-06-12 08:16:14','2023-06-12 08:16:14',1),(248,1,'Admin Admin',NULL,'Disbursed loan with id:21','2023-06-12 08:38:56','2023-06-12 08:38:56',1),(249,1,'Admin Admin',NULL,'Undisbursed loan with id:21','2023-06-12 08:49:51','2023-06-12 08:49:51',1),(250,1,'Admin Admin',NULL,'Updated loan with id:21','2023-06-12 08:50:26','2023-06-12 08:50:26',1),(251,1,'Admin Admin',NULL,'Disbursed loan with id:21','2023-06-12 08:50:36','2023-06-12 08:50:36',1),(252,1,'Admin Admin',NULL,'Undisbursed loan with id:23','2023-06-12 09:05:22','2023-06-12 09:05:22',1),(253,1,'Admin Admin',NULL,'Disbursed loan with id:23','2023-06-12 09:05:29','2023-06-12 09:05:29',1),(254,1,'Admin Admin',NULL,'Undisbursed loan with id:23','2023-06-12 09:05:49','2023-06-12 09:05:49',1),(255,1,'Admin Admin',NULL,'Disbursed loan with id:23','2023-06-12 09:05:57','2023-06-12 09:05:57',1),(256,1,'Admin Admin',NULL,'Disbursed loan with id:22','2023-06-12 09:06:30','2023-06-12 09:06:30',1),(257,1,'Admin Admin',NULL,'Disbursed loan with id:20','2023-06-12 09:07:48','2023-06-12 09:07:48',1),(258,1,'Admin Admin',NULL,'Disbursed loan with id:19','2023-06-12 09:09:35','2023-06-12 09:09:35',1),(259,1,'Admin Admin',NULL,'Logged in to system','2023-06-14 04:01:15','2023-06-14 04:01:15',NULL),(260,1,'Admin Admin',NULL,'Added borrower  with id:26','2023-06-14 04:07:20','2023-06-14 04:07:20',1),(261,1,'Admin Admin',NULL,'Updated borrower  with id:26','2023-06-14 04:07:28','2023-06-14 04:07:28',1),(262,1,'Admin Admin',NULL,'Added borrower  with id:27','2023-06-14 04:09:19','2023-06-14 04:09:19',1),(263,1,'Admin Admin',NULL,'Added borrower  with id:28','2023-06-14 04:10:50','2023-06-14 04:10:50',1),(264,1,'Admin Admin',NULL,'Added borrower  with id:29','2023-06-14 04:12:42','2023-06-14 04:12:42',1),(265,1,'Admin Admin',NULL,'Added borrower  with id:30','2023-06-14 04:19:07','2023-06-14 04:19:07',1),(266,1,'Admin Admin',NULL,'Added borrower  with id:31','2023-06-14 04:22:16','2023-06-14 04:22:16',1),(267,1,'Admin Admin',NULL,'Added loan with id:24','2023-06-14 04:26:23','2023-06-14 04:26:23',1),(268,1,'Admin Admin',NULL,'Added loan with id:25','2023-06-14 04:27:44','2023-06-14 04:27:44',1),(269,1,'Admin Admin',NULL,'Added loan with id:26','2023-06-14 04:28:45','2023-06-14 04:28:45',1),(270,1,'Admin Admin',NULL,'Added loan with id:27','2023-06-14 04:29:48','2023-06-14 04:29:48',1),(271,1,'Admin Admin',NULL,'Logged in to system','2023-06-14 09:28:54','2023-06-14 09:28:54',NULL),(272,1,'Admin Admin',NULL,'Approved loan with id:27','2023-06-14 09:29:12','2023-06-14 09:29:12',1),(273,1,'Admin Admin',NULL,'Approved loan with id:26','2023-06-14 09:29:24','2023-06-14 09:29:24',1),(274,1,'Admin Admin',NULL,'Approved loan with id:25','2023-06-14 09:29:34','2023-06-14 09:29:34',1),(275,1,'Admin Admin',NULL,'Approved loan with id:24','2023-06-14 09:29:47','2023-06-14 09:29:47',1),(276,1,'Admin Admin',NULL,'Disbursed loan with id:27','2023-06-14 09:30:26','2023-06-14 09:30:26',1),(277,1,'Admin Admin',NULL,'Disbursed loan with id:26','2023-06-14 09:30:43','2023-06-14 09:30:43',1),(278,1,'Admin Admin',NULL,'Undisbursed loan with id:26','2023-06-14 09:30:48','2023-06-14 09:30:48',1),(279,1,'Admin Admin',NULL,'Disbursed loan with id:26','2023-06-14 09:30:56','2023-06-14 09:30:56',1),(280,1,'Admin Admin',NULL,'Disbursed loan with id:25','2023-06-14 09:31:18','2023-06-14 09:31:18',1),(281,1,'Admin Admin',NULL,'Disbursed loan with id:24','2023-06-14 09:31:34','2023-06-14 09:31:34',1),(282,1,'Admin Admin',NULL,'Logged in to system','2023-06-15 03:26:42','2023-06-15 03:26:42',NULL),(283,1,'Admin Admin',NULL,'Undisbursed loan with id:24','2023-06-15 03:28:12','2023-06-15 03:28:12',1),(284,1,'Admin Admin',NULL,'Disbursed loan with id:24','2023-06-15 03:28:25','2023-06-15 03:28:25',1),(285,1,'Admin Admin',NULL,'Undisbursed loan with id:25','2023-06-15 03:30:54','2023-06-15 03:30:54',1),(286,1,'Admin Admin',NULL,'Disbursed loan with id:25','2023-06-15 03:30:59','2023-06-15 03:30:59',1),(287,1,'Admin Admin',NULL,'Undisbursed loan with id:26','2023-06-15 03:31:58','2023-06-15 03:31:58',1),(288,1,'Admin Admin',NULL,'Disbursed loan with id:26','2023-06-15 03:32:03','2023-06-15 03:32:03',1),(289,1,'Admin Admin',NULL,'Undisbursed loan with id:27','2023-06-15 03:34:24','2023-06-15 03:34:24',1),(290,1,'Admin Admin',NULL,'Disbursed loan with id:27','2023-06-15 03:34:33','2023-06-15 03:34:33',1),(291,1,'Admin Admin',NULL,'Logged in to system','2023-06-17 04:11:51','2023-06-17 04:11:51',NULL),(292,1,'Admin Admin',NULL,'Logged in to system','2023-06-17 06:23:22','2023-06-17 06:23:22',NULL),(293,1,'Admin Admin',NULL,'Added borrower  with id:32','2023-06-17 06:36:21','2023-06-17 06:36:21',1),(294,1,'Admin Admin',NULL,'Added loan with id:28','2023-06-17 06:38:29','2023-06-17 06:38:29',1),(295,1,'Admin Admin',NULL,'Logged in to system','2023-06-17 06:43:53','2023-06-17 06:43:53',NULL),(296,1,'Admin Admin',NULL,'Updated loan with id:28','2023-06-17 06:44:29','2023-06-17 06:44:29',1),(297,1,'Admin Admin',NULL,'Added borrower  with id:33','2023-06-17 06:44:47','2023-06-17 06:44:47',1),(298,1,'Admin Admin',NULL,'Updated borrower  with id:32','2023-06-17 06:45:14','2023-06-17 06:45:14',1),(299,1,'Admin Admin',NULL,'Approved loan with id:28','2023-06-17 06:45:14','2023-06-17 06:45:14',1),(300,1,'Admin Admin',NULL,'Disbursed loan with id:28','2023-06-17 06:45:19','2023-06-17 06:45:19',1),(301,1,'Admin Admin',NULL,'Undisbursed loan with id:28','2023-06-17 06:45:52','2023-06-17 06:45:52',1),(302,1,'Admin Admin',NULL,'Disbursed loan with id:28','2023-06-17 06:45:57','2023-06-17 06:45:57',1),(303,1,'Admin Admin',NULL,'Undisbursed loan with id:28','2023-06-17 06:46:31','2023-06-17 06:46:31',1),(304,1,'Admin Admin',NULL,'Disbursed loan with id:28','2023-06-17 06:46:36','2023-06-17 06:46:36',1),(305,1,'Admin Admin',NULL,'Added loan with id:29','2023-06-17 06:46:57','2023-06-17 06:46:57',1),(306,1,'Admin Admin',NULL,'Undisbursed loan with id:28','2023-06-17 06:47:02','2023-06-17 06:47:02',1),(307,1,'Admin Admin',NULL,'Disbursed loan with id:28','2023-06-17 06:47:12','2023-06-17 06:47:12',1),(308,1,'Admin Admin',NULL,'Updated borrower  with id:32','2023-06-17 06:52:53','2023-06-17 06:52:53',1),(309,1,'Admin Admin',NULL,'Updated borrower  with id:33','2023-06-17 06:53:31','2023-06-17 06:53:31',1),(310,1,'Admin Admin',NULL,'Updated borrower  with id:32','2023-06-17 06:54:02','2023-06-17 06:54:02',1),(311,1,'Admin Admin',NULL,'Approved loan with id:29','2023-06-17 06:56:51','2023-06-17 06:56:51',1),(312,1,'Admin Admin',NULL,'Disbursed loan with id:29','2023-06-17 06:57:04','2023-06-17 06:57:04',1),(313,1,'Admin Admin',NULL,'Added borrower  with id:34','2023-06-17 07:01:26','2023-06-17 07:01:26',1),(314,1,'Admin Admin',NULL,'Added loan with id:30','2023-06-17 07:02:17','2023-06-17 07:02:17',1),(315,1,'Admin Admin',NULL,'Approved loan with id:30','2023-06-17 07:02:52','2023-06-17 07:02:52',1),(316,1,'Admin Admin',NULL,'Disbursed loan with id:30','2023-06-17 07:02:59','2023-06-17 07:02:59',1),(317,1,'Admin Admin',NULL,'Logged in to system','2023-06-20 10:40:07','2023-06-20 10:40:07',NULL),(318,1,'Admin Admin',NULL,'Updated Settings','2023-06-20 10:40:17','2023-06-20 10:40:17',1),(319,1,'Admin Admin',NULL,'Updated Settings','2023-06-20 10:40:28','2023-06-20 10:40:28',1),(320,1,'Admin Admin',NULL,'Updated Settings','2023-06-20 10:40:31','2023-06-20 10:40:31',1),(321,1,'Admin Admin',NULL,'Updated Settings','2023-06-20 10:40:44','2023-06-20 10:40:44',1),(322,1,'Admin Admin',NULL,'Logged in to system','2023-06-21 06:58:03','2023-06-21 06:58:03',NULL),(323,1,'Admin Admin',NULL,'Added borrower  with id:35','2023-06-21 07:01:12','2023-06-21 07:01:12',1),(324,1,'Admin Admin',NULL,'Added borrower  with id:36','2023-06-21 07:02:09','2023-06-21 07:02:09',1),(325,1,'Admin Admin',NULL,'Logged in to system','2023-06-24 07:00:44','2023-06-24 07:00:44',NULL),(326,1,'Admin Admin',NULL,'Logged in to system','2023-06-24 07:01:56','2023-06-24 07:01:56',NULL),(327,1,'Admin Admin',NULL,'Added loan with id:31','2023-06-24 07:04:48','2023-06-24 07:04:48',1),(328,1,'Admin Admin',NULL,'Approved loan with id:31','2023-06-24 07:05:08','2023-06-24 07:05:08',1),(329,1,'Admin Admin',NULL,'Disbursed loan with id:31','2023-06-24 07:05:12','2023-06-24 07:05:12',1),(330,1,'Admin Admin',NULL,'Undisbursed loan with id:31','2023-06-24 07:05:55','2023-06-24 07:05:55',1),(331,1,'Admin Admin',NULL,'Disbursed loan with id:31','2023-06-24 07:06:04','2023-06-24 07:06:04',1),(332,1,'Admin Admin',NULL,'Added loan with id:32','2023-06-24 07:07:37','2023-06-24 07:07:37',1),(333,1,'Admin Admin',NULL,'Approved loan with id:32','2023-06-24 07:07:47','2023-06-24 07:07:47',1),(334,1,'Admin Admin',NULL,'Disbursed loan with id:32','2023-06-24 07:07:51','2023-06-24 07:07:51',1),(335,1,'Admin Admin',NULL,'Logged in to system','2023-06-24 17:06:49','2023-06-24 17:06:49',NULL),(336,1,'Admin Admin',NULL,'Logged in to system','2023-06-25 02:55:51','2023-06-25 02:55:51',NULL),(337,1,'Admin Admin',NULL,'Logged in to system','2023-06-25 05:28:30','2023-06-25 05:28:30',NULL),(338,1,'Admin Admin',NULL,'Logged in to system','2023-06-26 10:52:44','2023-06-26 10:52:44',NULL),(339,1,'Admin Admin',NULL,'Logged in to system','2023-06-28 06:28:58','2023-06-28 06:28:58',NULL),(340,1,'Admin Admin',NULL,'Disbursed loan with id:2','2023-06-28 06:31:10','2023-06-28 06:31:10',1),(341,1,'Admin Admin',NULL,'Undisbursed loan with id:2','2023-06-28 06:34:17','2023-06-28 06:34:17',1),(342,1,'Admin Admin',NULL,'Logged in to system','2023-06-29 05:14:42','2023-06-29 05:14:42',NULL),(343,1,'Admin Admin',NULL,'Logged in to system','2023-06-29 05:25:29','2023-06-29 05:25:29',NULL),(344,1,'Admin Admin',NULL,'Added borrower  with id:37','2023-06-29 05:30:03','2023-06-29 05:30:03',1),(345,1,'Admin Admin',NULL,'Added borrower  with id:38','2023-06-29 05:32:34','2023-06-29 05:32:34',1),(346,1,'Admin Admin',NULL,'Added borrower  with id:39','2023-06-29 05:35:16','2023-06-29 05:35:16',1),(347,1,'Admin Admin',NULL,'Added borrower  with id:40','2023-06-29 05:41:39','2023-06-29 05:41:39',1),(348,1,'Admin Admin',NULL,'Added loan with id:33','2023-06-29 05:45:00','2023-06-29 05:45:00',1),(349,1,'Admin Admin',NULL,'Added loan with id:34','2023-06-29 05:47:18','2023-06-29 05:47:18',1),(350,1,'Admin Admin',NULL,'Added loan with id:35','2023-06-29 05:48:12','2023-06-29 05:48:12',1),(351,1,'Admin Admin',NULL,'Added loan with id:36','2023-06-29 05:49:01','2023-06-29 05:49:01',1),(352,1,'Admin Admin',NULL,'Approved loan with id:33','2023-06-29 06:41:24','2023-06-29 06:41:24',1),(353,1,'Admin Admin',NULL,'Disbursed loan with id:33','2023-06-29 06:41:40','2023-06-29 06:41:40',1),(354,1,'Admin Admin',NULL,'Undisbursed loan with id:33','2023-06-29 06:42:34','2023-06-29 06:42:34',1),(355,1,'Admin Admin',NULL,'Disbursed loan with id:33','2023-06-29 06:42:39','2023-06-29 06:42:39',1),(356,1,'Admin Admin',NULL,'Approved loan with id:34','2023-06-29 06:43:54','2023-06-29 06:43:54',1),(357,1,'Admin Admin',NULL,'Disbursed loan with id:34','2023-06-29 06:44:00','2023-06-29 06:44:00',1),(358,1,'Admin Admin',NULL,'Approved loan with id:35','2023-06-29 06:45:07','2023-06-29 06:45:07',1),(359,1,'Admin Admin',NULL,'Disbursed loan with id:35','2023-06-29 06:45:13','2023-06-29 06:45:13',1),(360,1,'Admin Admin',NULL,'Approved loan with id:36','2023-06-29 06:45:43','2023-06-29 06:45:43',1),(361,1,'Admin Admin',NULL,'Disbursed loan with id:36','2023-06-29 06:45:48','2023-06-29 06:45:48',1),(362,1,'Admin Admin',NULL,'Logged in to system','2023-06-30 15:18:11','2023-06-30 15:18:11',NULL),(363,1,'Admin Admin',NULL,'Logged in to system','2023-07-13 18:40:24','2023-07-13 18:40:24',NULL),(364,1,'Admin Admin',NULL,'Logged in to system','2023-07-29 16:28:03','2023-07-29 16:28:03',NULL),(365,1,'Admin Admin',NULL,'Logged in to system','2023-08-04 04:25:07','2023-08-04 04:25:07',NULL),(366,1,'Admin Admin',NULL,'Logged in to system','2023-08-04 11:44:59','2023-08-04 11:44:59',NULL),(367,1,'Admin Admin',NULL,'Logged in to system','2023-09-29 10:26:17','2023-09-29 10:26:17',NULL);

--
-- Table structure for table `bank_accounts`
--

CREATE TABLE `bank_accounts` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `notes` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `bank_accounts`
--


--
-- Table structure for table `borrower_group_members`
--

CREATE TABLE `borrower_group_members` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `borrower_group_id` int DEFAULT NULL,
  `borrower_id` int DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `borrower_group_members`
--


--
-- Table structure for table `borrower_groups`
--

CREATE TABLE `borrower_groups` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `assigned_borrowers` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `notes` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `borrower_groups`
--


--
-- Table structure for table `borrowers`
--

CREATE TABLE `borrowers` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int DEFAULT NULL,
  `first_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `last_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `gender` enum('Male','Female') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'Male',
  `title` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `mobile` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `email` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `unique_number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `dob` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `address` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `city` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `state` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `zip` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `phone` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `business_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `working_status` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `photo` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `notes` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `files` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `loan_officers` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  `username` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `password` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `month` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `year` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `source` enum('online','admin') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT 'admin',
  `active` tinyint DEFAULT '1',
  `blacklisted` tinyint DEFAULT '0',
  `branch_id` int DEFAULT NULL,
  `country_id` int DEFAULT NULL,
  `id_card_number` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `place_of_birth` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  PRIMARY KEY (`id`),
  KEY `borrowers_id_index` (`id`),
  KEY `borrowers_unique_number_index` (`unique_number`),
  KEY `borrowers_month_index` (`month`),
  KEY `borrowers_year_index` (`year`)
) ENGINE=InnoDB AUTO_INCREMENT=41 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `borrowers`
--

INSERT INTO `borrowers` VALUES (2,1,'សាវួត','មុនី','Female',NULL,NULL,NULL,'LPV23-0514','1981-08-27','Poipet',NULL,NULL,NULL,'0977143572','Staff','Employee',NULL,NULL,'a:0:{}','N;','2023-05-13 04:19:46','2023-05-13 04:19:46',NULL,NULL,NULL,'05','2023','admin',1,0,1,NULL,'190818378','Battambang'),(3,1,'សុភាក់','ម៉ី','Male',NULL,NULL,NULL,'LPV23-0508','1999-02-02','Poipet',NULL,NULL,NULL,'0884972674','Staff','Employee',NULL,NULL,'a:0:{}','N;','2023-05-13 04:24:21','2023-05-13 04:24:21',NULL,NULL,NULL,'05','2023','admin',1,0,1,NULL,'171065889','Battambang'),(4,1,'តន','ឈឿន','Female',NULL,NULL,NULL,'LPV23-0504','1981-03-06','Poipet',NULL,NULL,NULL,'0718799491',NULL,'Employee',NULL,NULL,'a:0:{}','N;','2023-05-13 04:30:21','2023-05-13 04:30:21',NULL,NULL,NULL,'05','2023','admin',1,0,1,NULL,'190684971','Battambang'),(5,1,'ស៊ីណា','អ៊ុយ','Male',NULL,NULL,NULL,'LPV23-0505','1988-02-12','Poipet',NULL,NULL,NULL,'0886597744','Staff','Employee',NULL,NULL,'a:0:{}','N;','2023-05-13 04:47:31','2023-05-13 04:47:31',NULL,NULL,NULL,'05','2023','admin',1,0,1,NULL,'190515596','Battambang'),(6,1,'សម្មិធិ','ពៅ','Male',NULL,NULL,NULL,'LPV23-0506','1982-08-30','Poipet',NULL,NULL,NULL,'060308533','Staff','Employee',NULL,NULL,'a:0:{}','N;','2023-05-13 04:49:03','2023-05-13 04:49:03',NULL,NULL,NULL,'05','2023','admin',1,0,1,NULL,'190502401(01)','Kondal'),(7,1,'ស៊ីណូ','សេង','Male',NULL,NULL,NULL,'LPV23-0507','1998-02-02','Poipet',NULL,NULL,NULL,'0888188369','Staff','Employee',NULL,NULL,'a:0:{}','N;','2023-05-13 05:01:51','2023-05-13 05:01:51',NULL,NULL,NULL,'05','2023','admin',1,0,1,NULL,'190502401(01)','Bonteay MeanJey'),(8,1,'ទូច','ម៉ីន','Male',NULL,NULL,NULL,'LPV23-0509','1998-03-10','Poipet',NULL,NULL,NULL,'0712661746','Staff','Employee',NULL,NULL,'a:0:{}','N;','2023-05-13 05:04:04','2023-05-13 05:04:04',NULL,NULL,NULL,'05','2023','admin',1,0,1,NULL,'170870792','Battambang'),(9,1,'សារត្ន័ដ្ឋា','ជន','Male',NULL,NULL,NULL,'LPV23-0510','2000-03-03','Poipet',NULL,NULL,NULL,'0717581886','Staff','Employee',NULL,NULL,'a:0:{}','N;','2023-05-13 05:11:06','2023-05-13 05:11:06',NULL,NULL,NULL,'05','2023','admin',1,0,1,NULL,'101071111','Ta Keo'),(10,1,'វណ្ណា','វឹង','Male',NULL,NULL,NULL,'LPV23-0513','1994-03-02','Poipet',NULL,NULL,NULL,'0979600510','Staff','Employee',NULL,NULL,'a:0:{}','N;','2023-05-13 05:12:32','2023-05-13 05:12:32',NULL,NULL,NULL,'05','2023','admin',1,0,1,NULL,'170722471','Battambang'),(11,1,'សុភ័ណ្ណ','ញឹប','Male',NULL,NULL,NULL,'LPV23-0512','1983-10-02','Poipet',NULL,NULL,NULL,'0712069088','Staff','Employee',NULL,NULL,'a:0:{}','N;','2023-05-13 05:18:15','2023-05-13 05:18:15',NULL,NULL,NULL,'05','2023','admin',1,0,1,NULL,'190638791','Battambang'),(12,1,'តឿន','ឈឿន','Female',NULL,NULL,NULL,'LPV23-0503','1984-05-04','Poipet',NULL,NULL,NULL,'089278528','Staff','Employee',NULL,NULL,'a:0:{}','N;','2023-05-13 05:19:24','2023-05-13 05:24:16',NULL,NULL,NULL,'05','2023','admin',1,0,1,NULL,'1651002/2005','Battambang'),(13,1,'សុភា','ធី','Male',NULL,NULL,NULL,'LPV23-0502','1988-02-07','Poipet',NULL,NULL,NULL,'011413343','Staff','Employee',NULL,NULL,'a:0:{}','N;','2023-05-13 05:23:37','2023-05-13 05:23:37',NULL,NULL,NULL,'05','2023','admin',1,0,1,NULL,'190262911','Battambang'),(14,1,'រតនៈ','រី','Male',NULL,NULL,NULL,'LPV23-0501','1996-09-02','Poipet',NULL,NULL,NULL,'0883834259','Staff','Employee',NULL,NULL,'a:0:{}','N;','2023-05-13 05:25:17','2023-05-13 05:25:17',NULL,NULL,NULL,'05','2023','admin',1,0,1,NULL,'190821639','Bonteay MeanJey'),(15,1,'ឆេង','ចៅ','Male',NULL,NULL,NULL,'LPV-23-0515','1994-02-02','Staff\'s Building Poipet',NULL,NULL,NULL,'0973303162','employee','Employee',NULL,NULL,'a:0:{}','N;','2023-05-17 07:25:50','2023-05-17 07:25:50',NULL,NULL,NULL,'05','2023','admin',1,0,1,NULL,'MK0155 / AC0154','Battambang'),(16,1,'សារ៉ូន','ក្រាញ់','Female',NULL,NULL,NULL,'LPV-23-0516','1986-03-04','Staff\'s Building',NULL,NULL,NULL,'0885740068','employee','Employee',NULL,NULL,'a:0:{}','N;','2023-05-17 07:28:50','2023-05-17 07:28:50',NULL,NULL,NULL,'05','2023','admin',1,0,1,NULL,'RB0005','Siem reap'),(17,1,'សារិត','ហារ','Female',NULL,NULL,NULL,'LPV-23-0517','1986-01-15','Staff\'s Building',NULL,NULL,NULL,'0885914689','employee','Employee',NULL,NULL,'a:0:{}','N;','2023-05-17 07:30:30','2023-05-17 07:30:30',NULL,NULL,NULL,'05','2023','admin',1,0,1,NULL,'RB0019','Siem reap'),(18,1,'មុំ','ម៉ៅ','Female',NULL,NULL,NULL,'LPV-23-0518','1983-09-08','Staff\'s Building',NULL,NULL,NULL,'068352576','employee','Employee',NULL,NULL,'a:0:{}','N;','2023-05-17 07:32:04','2023-05-17 07:32:04',NULL,NULL,NULL,'05','2023','admin',1,0,1,NULL,'RB0036','Siem reap'),(19,1,'ភិន','សុភ័ក្រ','Male',NULL,NULL,NULL,NULL,'1987-11-01','Poipet',NULL,NULL,NULL,'010606054','Staff','Employee',NULL,NULL,'a:0:{}','N;','2023-05-31 04:44:22','2023-05-31 04:44:22',NULL,NULL,NULL,'05','2023','admin',1,0,1,NULL,'190680866','Battambang'),(20,1,'សយ','រក្សា','Female',NULL,NULL,NULL,NULL,'1998-05-01','Poipet',NULL,NULL,NULL,'0966362269','Staff','Employee',NULL,NULL,'a:0:{}','N;','2023-06-11 07:14:58','2023-06-11 07:57:50',NULL,NULL,NULL,'06','2023','admin',1,0,1,NULL,'170828248','Battambang'),(21,1,'ឆេង','រី','Female',NULL,NULL,NULL,NULL,'1975-02-03','ប៉ោយប៉ែត',NULL,NULL,NULL,'0885584805','បុគ្គលិក','Employee',NULL,NULL,'a:0:{}','N;','2023-06-11 07:38:04','2023-06-11 07:38:04',NULL,NULL,NULL,'06','2023','admin',1,0,1,NULL,'180841338','សៀមរាប'),(22,1,'ឡែម','សុកង','Female',NULL,NULL,NULL,NULL,'1983-10-10','ប៉ោយប៉ែត',NULL,NULL,NULL,'0966986371','បុគ្គលិក','Employee',NULL,NULL,'a:0:{}','N;','2023-06-11 07:57:27','2023-06-11 08:07:01',NULL,NULL,NULL,'06','2023','admin',1,0,1,NULL,'031019349','ប៉ោយប៉ែត​ បន្ទាយមានជ័យ'),(23,1,'នួន','ខួច','Female',NULL,NULL,NULL,NULL,'1988-12-25','ប៉ោយប៉ែត',NULL,NULL,NULL,'0714481882','បុគ្គលិក','Employee',NULL,NULL,'a:0:{}','N;','2023-06-11 08:06:05','2023-06-11 08:06:05',NULL,NULL,NULL,'06','2023','admin',1,0,1,NULL,'190853943','ប៉ោយប៉ែត​ បន្ទាយមានជ័យ'),(24,1,'គឹម','ដារិទ្ធ','Male',NULL,NULL,NULL,NULL,'1993-03-09','ប៉ោយប៉ែត',NULL,NULL,NULL,'0975337273','បុគ្គលិក','Employee',NULL,NULL,'a:0:{}','N;','2023-06-11 08:12:57','2023-06-11 08:12:57',NULL,NULL,NULL,'06','2023','admin',1,0,1,NULL,'020893375','ភ្នំពេញ'),(25,1,'សុង','ចាន់រិទ្ធ','Male',NULL,NULL,NULL,NULL,'1988-04-05','ប៉ោយប៉ែត',NULL,NULL,NULL,'015779519','បុគ្គលិក','Employee',NULL,NULL,'a:0:{}','N;','2023-06-11 08:16:42','2023-06-11 08:17:51','2023-06-11 08:17:51',NULL,NULL,'06','2023','admin',1,0,1,NULL,'180924614','កំពង់ចាម'),(26,1,'កិប','ស៊ីណា','Female',NULL,NULL,NULL,NULL,'1998-08-06',NULL,NULL,NULL,NULL,'0889159087','Staff','Employee',NULL,NULL,'a:0:{}','N;','2023-06-14 04:07:20','2023-06-14 04:07:28',NULL,NULL,NULL,'06','2023','admin',1,0,1,NULL,'170960675','Battambang'),(27,1,'ហ៊ុល','ស៊ីណាក់','Male',NULL,NULL,NULL,NULL,'1986-02-20','Poipet',NULL,NULL,NULL,'0976015849','Staff','Employee',NULL,NULL,'a:0:{}','N;','2023-06-14 04:09:19','2023-06-14 04:09:19',NULL,NULL,NULL,'06','2023','admin',1,0,1,NULL,'008110','poipet'),(28,1,'តុក','ខេមរា','Male',NULL,NULL,NULL,NULL,'2001-09-01','Poipet',NULL,NULL,NULL,'0714963105','Staff','Employee',NULL,NULL,'a:0:{}','N;','2023-06-14 04:10:50','2023-06-14 04:10:50',NULL,NULL,NULL,'06','2023','admin',1,0,1,NULL,'180919054','siem reab'),(29,1,'ថាន់','ម៉ៅ','Female',NULL,NULL,NULL,NULL,'1991-10-01','Poipet',NULL,NULL,NULL,NULL,'Staff','Employee',NULL,NULL,'a:0:{}','N;','2023-06-14 04:12:42','2023-06-14 04:12:42',NULL,NULL,NULL,'06','2023','admin',1,0,1,NULL,'180550406','siem reab'),(30,1,'លឿត','សុលីន','Female',NULL,NULL,NULL,NULL,'1989-07-01','Poipet',NULL,NULL,NULL,'0717005977','Staff','Employee',NULL,NULL,'a:0:{}','N;','2023-06-14 04:19:07','2023-06-14 04:19:07',NULL,NULL,NULL,'06','2023','admin',1,0,1,NULL,'190686132','Bonteay MeanJey'),(31,1,'ធី','សុភាក់','Female',NULL,NULL,NULL,NULL,'1989-03-15','Poipet',NULL,NULL,NULL,'015443332','Staff','Employee',NULL,NULL,'a:0:{}','N;','2023-06-14 04:22:16','2023-06-14 04:22:16',NULL,NULL,NULL,'06','2023','admin',1,0,1,NULL,'160505576','Pursat'),(32,1,'អឿន','សំអុន','Male',NULL,NULL,'17',NULL,'1999-05-17','ប៉ោយប៉ែត',NULL,NULL,NULL,'066445531','បុគ្គលិក','Employee',NULL,NULL,'a:0:{}','N;','2023-06-17 06:36:21','2023-06-17 06:54:02',NULL,NULL,NULL,'06','2023','admin',1,0,1,NULL,'03/2005','ប៉ោយប៉ែត/បន្ទាយមានជ័យ'),(33,1,'មុនី','សាវួត','Female',NULL,NULL,NULL,NULL,'1981-08-27','ប៉ោយប៉ែត',NULL,NULL,NULL,'0977143572','បុគ្គលិក','Employee',NULL,NULL,'a:0:{}','N;','2023-06-17 06:44:47','2023-06-17 06:53:31',NULL,NULL,NULL,'06','2023','admin',1,0,1,NULL,'190818378','និមិត្ត/បន្ទាយមានជ័យ'),(34,1,'ជា','សោភ័ណ្ឌ','Female',NULL,NULL,NULL,NULL,'1992-03-18','ប៉ោយប៉ែត',NULL,NULL,NULL,'0883637738','បុគ្គលិក','Employee',NULL,NULL,'a:0:{}','N;','2023-06-17 07:01:26','2023-06-17 07:01:26',NULL,NULL,NULL,'06','2023','admin',1,0,1,NULL,'190957644','អូរនាង/បន្ទាយមានជ័យ'),(35,1,'ធឿន','ពិស្សី','Female',NULL,NULL,NULL,NULL,'1997-02-02','Poipet',NULL,NULL,NULL,'061492076','Staff','Employee',NULL,NULL,'a:0:{}','N;','2023-06-21 07:01:12','2023-06-21 07:01:12',NULL,NULL,NULL,'06','2023','admin',1,0,1,NULL,'051327179','Prey Veng'),(36,1,'ឌុល','នាសា','Female',NULL,NULL,NULL,NULL,'1983-03-02','Poipet',NULL,NULL,NULL,'067827949','Staff','Employee',NULL,NULL,'a:0:{}','N;','2023-06-21 07:02:09','2023-06-21 07:02:09',NULL,NULL,NULL,'06','2023','admin',1,0,1,NULL,'190357574','Battambang'),(37,1,'ព្រំុ','ពន្លក','Male',NULL,NULL,NULL,NULL,'1980-04-07','Poipet',NULL,NULL,NULL,'093859502','Staff','Employee',NULL,NULL,'a:0:{}','N;','2023-06-29 05:30:03','2023-06-29 05:30:03',NULL,NULL,NULL,'06','2023','admin',1,0,1,NULL,'190851916','Bonteay Meanjey'),(38,1,'វ៉ាន់','វ៉ាណាន់','Male',NULL,NULL,NULL,NULL,'1986-02-10','Poipet',NULL,NULL,NULL,'068973189','Staff','Employee',NULL,NULL,'a:0:{}','N;','2023-06-29 05:32:34','2023-06-29 05:32:34',NULL,NULL,NULL,'06','2023','admin',1,0,1,NULL,'011329474','Bonteay Meanjey'),(39,1,'ឆេង','ចន្ធា','Female',NULL,NULL,NULL,NULL,'1992-03-09','Poipet',NULL,NULL,NULL,'0968882096','Staff','Employee',NULL,NULL,'a:0:{}','N;','2023-06-29 05:35:16','2023-06-29 05:35:16',NULL,NULL,NULL,'06','2023','admin',1,0,1,NULL,'011118420','Phnom Penh'),(40,1,'អង','វិសាល','Male',NULL,NULL,NULL,NULL,'2005-04-01','Poipet',NULL,NULL,NULL,'0965055811','Staff','Employee',NULL,NULL,'a:0:{}','N;','2023-06-29 05:41:39','2023-06-29 05:41:39',NULL,NULL,NULL,'06','2023','admin',1,0,1,NULL,'190943041','Bonteay Meanjey');

--
-- Table structure for table `branch_users`
--

CREATE TABLE `branch_users` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `branch_id` int DEFAULT NULL,
  `user_id` int DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `branch_users`
--

INSERT INTO `branch_users` VALUES (1,1,1,'2022-09-27 08:15:14','2022-09-27 08:15:14'),(2,1,4,'2022-09-27 13:25:11','2022-09-27 13:25:11'),(3,1,5,'2023-04-11 07:25:44','2023-04-11 07:25:44'),(4,1,6,'2023-05-17 06:47:50','2023-05-17 06:47:50');

--
-- Table structure for table `branches`
--

CREATE TABLE `branches` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `assigned_users` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `notes` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `default_branch` tinyint NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `branches`
--

INSERT INTO `branches` VALUES (1,'Default',NULL,NULL,1);

--
-- Table structure for table `brands`
--

CREATE TABLE `brands` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `name` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `notes` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `brands`
--


--
-- Table structure for table `capital`
--

CREATE TABLE `capital` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int DEFAULT NULL,
  `date` date DEFAULT NULL,
  `amount` decimal(10,2) DEFAULT NULL,
  `year` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `month` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `notes` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `branch_id` int DEFAULT NULL,
  `bank_account_id` int DEFAULT NULL,
  `type` enum('withdrawal','deposit') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'deposit',
  `loan_id` int DEFAULT NULL,
  `expense_id` int DEFAULT NULL,
  `account_id` int DEFAULT NULL,
  `credit_account_id` int DEFAULT NULL,
  `debit_account_id` int DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `capital_id_index` (`id`),
  KEY `capital_month_index` (`month`),
  KEY `capital_year_index` (`year`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `capital`
--


--
-- Table structure for table `charges`
--

CREATE TABLE `charges` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int DEFAULT NULL,
  `name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `product` enum('loan','savings') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `charge_type` enum('disbursement','specified_due_date','installment_fee','overdue_installment_fee','loan_rescheduling_fee','overdue_maturity','savings_activation','withdrawal_fee','annual_fee','monthly_fee') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `charge_option` enum('fixed','percentage','principal_due','principal_interest','interest_due','total_due','original_principal') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `charge_frequency` tinyint NOT NULL DEFAULT '0',
  `charge_frequency_type` enum('days','weeks','months','years') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'days',
  `charge_frequency_amount` int NOT NULL DEFAULT '0',
  `amount` decimal(65,2) DEFAULT NULL,
  `charge_payment_mode` enum('regular','account_transfer') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'regular',
  `currency_id` int DEFAULT NULL,
  `active` tinyint NOT NULL DEFAULT '1',
  `penalty` tinyint NOT NULL DEFAULT '0',
  `override` tinyint NOT NULL DEFAULT '0',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `charges`
--

INSERT INTO `charges` VALUES (1,NULL,'Loan Fee','loan','disbursement','fixed',0,'days',0,0.00,'regular',NULL,1,0,0,'2023-05-16 08:23:05','2023-05-16 09:57:05');

--
-- Table structure for table `chart_of_accounts`
--

CREATE TABLE `chart_of_accounts` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `parent_id` int DEFAULT NULL,
  `name` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `gl_code` int DEFAULT NULL,
  `account_type` enum('asset','expense','equity','liability','income') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'asset',
  `allow_manual` tinyint NOT NULL DEFAULT '0',
  `active` tinyint NOT NULL DEFAULT '1',
  `notes` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  PRIMARY KEY (`id`),
  KEY `chart_of_accounts_id_index` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=13 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `chart_of_accounts`
--

INSERT INTO `chart_of_accounts` VALUES (1,NULL,'Fund Source',101,'asset',0,1,NULL),(2,NULL,'Loan Portfolio',102,'asset',0,1,NULL),(3,NULL,'Interest Receivable',103,'asset',0,1,NULL),(4,NULL,'Fees Receivable',104,'asset',0,1,NULL),(5,NULL,'Penalties Receivable',105,'asset',0,1,NULL),(6,NULL,'Overpayments',201,'liability',0,1,NULL),(7,NULL,'Income For Interest',301,'income',0,1,NULL),(8,NULL,'Income From Fee',302,'income',0,1,NULL),(9,NULL,'Income From Penalties',303,'income',0,1,NULL),(10,NULL,'Income From Recovery',304,'income',0,1,NULL),(11,NULL,'Loans Written Off',401,'expense',0,1,NULL),(12,NULL,'Equipment',402,'expense',0,1,NULL);

--
-- Table structure for table `collateral`
--

CREATE TABLE `collateral` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `loan_id` int unsigned DEFAULT NULL,
  `borrower_id` int unsigned DEFAULT NULL,
  `collateral_type_id` int unsigned DEFAULT NULL,
  `value` decimal(65,4) DEFAULT NULL,
  `date` date DEFAULT NULL,
  `year` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `status` enum('returned_to_borrower','repossessed','repossession_initiated','sold','lost','collateral_with_borrower','deposited_into_branch') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `month` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `notes` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `photo` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `files` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `owner_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `relationship` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `collateral_id_index` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `collateral`
--

INSERT INTO `collateral` VALUES (1,'Toyota',1,1,1,10000.0000,'2022-09-14','2022','collateral_with_borrower','09',NULL,NULL,'a:0:{}','2022-09-27 13:30:48','2022-09-27 13:30:48','Test uSer','Friend');

--
-- Table structure for table `collateral_types`
--

CREATE TABLE `collateral_types` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `collateral_types`
--

INSERT INTO `collateral_types` VALUES (1,'ឡាន'),(2,'ម៉ូតូ'),(3,'ដី'),(4,'ផ្សេងៗ'),(5,'office\r\n');

--
-- Table structure for table `collateral_vehicles`
--

CREATE TABLE `collateral_vehicles` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `collateral_id` int unsigned DEFAULT NULL,
  `serial_number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `model_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `model_number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `manufacture_date` date DEFAULT NULL,
  `color` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `engine_number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `frame_number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `license_plate` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `steering_wheel` enum('left','right') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `collateral_vehicles`
--

INSERT INTO `collateral_vehicles` VALUES (1,1,NULL,NULL,NULL,NULL,'red',NULL,NULL,NULL,'left','2022-09-27 13:30:48','2022-09-27 13:30:48');

--
-- Table structure for table `countries`
--

CREATE TABLE `countries` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `sortname` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=247 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `countries`
--

INSERT INTO `countries` VALUES (1,'AF','Afghanistan'),(2,'AL','Albania'),(3,'DZ','Algeria'),(4,'AS','American Samoa'),(5,'AD','Andorra'),(6,'AO','Angola'),(7,'AI','Anguilla'),(8,'AQ','Antarctica'),(9,'AG','Antigua And Barbuda'),(10,'AR','Argentina'),(11,'AM','Armenia'),(12,'AW','Aruba'),(13,'AU','Australia'),(14,'AT','Austria'),(15,'AZ','Azerbaijan'),(16,'BS','Bahamas The'),(17,'BH','Bahrain'),(18,'BD','Bangladesh'),(19,'BB','Barbados'),(20,'BY','Belarus'),(21,'BE','Belgium'),(22,'BZ','Belize'),(23,'BJ','Benin'),(24,'BM','Bermuda'),(25,'BT','Bhutan'),(26,'BO','Bolivia'),(27,'BA','Bosnia and Herzegovina'),(28,'BW','Botswana'),(29,'BV','Bouvet Island'),(30,'BR','Brazil'),(31,'IO','British Indian Ocean Territory'),(32,'BN','Brunei'),(33,'BG','Bulgaria'),(34,'BF','Burkina Faso'),(35,'BI','Burundi'),(36,'KH','Cambodia'),(37,'CM','Cameroon'),(38,'CA','Canada'),(39,'CV','Cape Verde'),(40,'KY','Cayman Islands'),(41,'CF','Central African Republic'),(42,'TD','Chad'),(43,'CL','Chile'),(44,'CN','China'),(45,'CX','Christmas Island'),(46,'CC','Cocos (Keeling) Islands'),(47,'CO','Colombia'),(48,'KM','Comoros'),(49,'CG','Congo'),(50,'CD','Congo The Democratic Republic Of The'),(51,'CK','Cook Islands'),(52,'CR','Costa Rica'),(53,'CI','Cote D\'Ivoire (Ivory Coast)'),(54,'HR','Croatia (Hrvatska)'),(55,'CU','Cuba'),(56,'CY','Cyprus'),(57,'CZ','Czech Republic'),(58,'DK','Denmark'),(59,'DJ','Djibouti'),(60,'DM','Dominica'),(61,'DO','Dominican Republic'),(62,'TP','East Timor'),(63,'EC','Ecuador'),(64,'EG','Egypt'),(65,'SV','El Salvador'),(66,'GQ','Equatorial Guinea'),(67,'ER','Eritrea'),(68,'EE','Estonia'),(69,'ET','Ethiopia'),(70,'XA','External Territories of Australia'),(71,'FK','Falkland Islands'),(72,'FO','Faroe Islands'),(73,'FJ','Fiji Islands'),(74,'FI','Finland'),(75,'FR','France'),(76,'GF','French Guiana'),(77,'PF','French Polynesia'),(78,'TF','French Southern Territories'),(79,'GA','Gabon'),(80,'GM','Gambia The'),(81,'GE','Georgia'),(82,'DE','Germany'),(83,'GH','Ghana'),(84,'GI','Gibraltar'),(85,'GR','Greece'),(86,'GL','Greenland'),(87,'GD','Grenada'),(88,'GP','Guadeloupe'),(89,'GU','Guam'),(90,'GT','Guatemala'),(91,'XU','Guernsey and Alderney'),(92,'GN','Guinea'),(93,'GW','Guinea-Bissau'),(94,'GY','Guyana'),(95,'HT','Haiti'),(96,'HM','Heard and McDonald Islands'),(97,'HN','Honduras'),(98,'HK','Hong Kong S.A.R.'),(99,'HU','Hungary'),(100,'IS','Iceland'),(101,'IN','India'),(102,'ID','Indonesia'),(103,'IR','Iran'),(104,'IQ','Iraq'),(105,'IE','Ireland'),(106,'IL','Israel'),(107,'IT','Italy'),(108,'JM','Jamaica'),(109,'JP','Japan'),(110,'XJ','Jersey'),(111,'JO','Jordan'),(112,'KZ','Kazakhstan'),(113,'KE','Kenya'),(114,'KI','Kiribati'),(115,'KP','Korea North'),(116,'KR','Korea South'),(117,'KW','Kuwait'),(118,'KG','Kyrgyzstan'),(119,'LA','Laos'),(120,'LV','Latvia'),(121,'LB','Lebanon'),(122,'LS','Lesotho'),(123,'LR','Liberia'),(124,'LY','Libya'),(125,'LI','Liechtenstein'),(126,'LT','Lithuania'),(127,'LU','Luxembourg'),(128,'MO','Macau S.A.R.'),(129,'MK','Macedonia'),(130,'MG','Madagascar'),(131,'MW','Malawi'),(132,'MY','Malaysia'),(133,'MV','Maldives'),(134,'ML','Mali'),(135,'MT','Malta'),(136,'XM','Man (Isle of)'),(137,'MH','Marshall Islands'),(138,'MQ','Martinique'),(139,'MR','Mauritania'),(140,'MU','Mauritius'),(141,'YT','Mayotte'),(142,'MX','Mexico'),(143,'FM','Micronesia'),(144,'MD','Moldova'),(145,'MC','Monaco'),(146,'MN','Mongolia'),(147,'MS','Montserrat'),(148,'MA','Morocco'),(149,'MZ','Mozambique'),(150,'MM','Myanmar'),(151,'NA','Namibia'),(152,'NR','Nauru'),(153,'NP','Nepal'),(154,'AN','Netherlands Antilles'),(155,'NL','Netherlands The'),(156,'NC','New Caledonia'),(157,'NZ','New Zealand'),(158,'NI','Nicaragua'),(159,'NE','Niger'),(160,'NG','Nigeria'),(161,'NU','Niue'),(162,'NF','Norfolk Island'),(163,'MP','Northern Mariana Islands'),(164,'NO','Norway'),(165,'OM','Oman'),(166,'PK','Pakistan'),(167,'PW','Palau'),(168,'PS','Palestinian Territory Occupied'),(169,'PA','Panama'),(170,'PG','Papua new Guinea'),(171,'PY','Paraguay'),(172,'PE','Peru'),(173,'PH','Philippines'),(174,'PN','Pitcairn Island'),(175,'PL','Poland'),(176,'PT','Portugal'),(177,'PR','Puerto Rico'),(178,'QA','Qatar'),(179,'RE','Reunion'),(180,'RO','Romania'),(181,'RU','Russia'),(182,'RW','Rwanda'),(183,'SH','Saint Helena'),(184,'KN','Saint Kitts And Nevis'),(185,'LC','Saint Lucia'),(186,'PM','Saint Pierre and Miquelon'),(187,'VC','Saint Vincent And The Grenadines'),(188,'WS','Samoa'),(189,'SM','San Marino'),(190,'ST','Sao Tome and Principe'),(191,'SA','Saudi Arabia'),(192,'SN','Senegal'),(193,'RS','Serbia'),(194,'SC','Seychelles'),(195,'SL','Sierra Leone'),(196,'SG','Singapore'),(197,'SK','Slovakia'),(198,'SI','Slovenia'),(199,'XG','Smaller Territories of the UK'),(200,'SB','Solomon Islands'),(201,'SO','Somalia'),(202,'ZA','South Africa'),(203,'GS','South Georgia'),(204,'SS','South Sudan'),(205,'ES','Spain'),(206,'LK','Sri Lanka'),(207,'SD','Sudan'),(208,'SR','Suriname'),(209,'SJ','Svalbard And Jan Mayen Islands'),(210,'SZ','Swaziland'),(211,'SE','Sweden'),(212,'CH','Switzerland'),(213,'SY','Syria'),(214,'TW','Taiwan'),(215,'TJ','Tajikistan'),(216,'TZ','Tanzania'),(217,'TH','Thailand'),(218,'TG','Togo'),(219,'TK','Tokelau'),(220,'TO','Tonga'),(221,'TT','Trinidad And Tobago'),(222,'TN','Tunisia'),(223,'TR','Turkey'),(224,'TM','Turkmenistan'),(225,'TC','Turks And Caicos Islands'),(226,'TV','Tuvalu'),(227,'UG','Uganda'),(228,'UA','Ukraine'),(229,'AE','United Arab Emirates'),(230,'GB','United Kingdom'),(231,'US','United States'),(232,'UM','United States Minor Outlying Islands'),(233,'UY','Uruguay'),(234,'UZ','Uzbekistan'),(235,'VU','Vanuatu'),(236,'VA','Vatican City State (Holy See)'),(237,'VE','Venezuela'),(238,'VN','Vietnam'),(239,'VG','Virgin Islands (British)'),(240,'VI','Virgin Islands (US)'),(241,'WF','Wallis And Futuna Islands'),(242,'EH','Western Sahara'),(243,'YE','Yemen'),(244,'YU','Yugoslavia'),(245,'ZM','Zambia'),(246,'ZW','Zimbabwe');

--
-- Table structure for table `currencies`
--

CREATE TABLE `currencies` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int unsigned DEFAULT NULL,
  `rate` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `symbol` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `position` enum('left','right') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'left',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `currencies`
--

INSERT INTO `currencies` VALUES (1,NULL,'1.00','USD','United States dollar','$','left');

--
-- Table structure for table `custom_fields`
--

CREATE TABLE `custom_fields` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int DEFAULT NULL,
  `category` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `field_type` enum('number','textfield','date','decimal','textarea') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'textfield',
  `required` tinyint NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `custom_fields`
--


--
-- Table structure for table `custom_fields_meta`
--

CREATE TABLE `custom_fields_meta` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int DEFAULT NULL,
  `category` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `parent_id` int DEFAULT NULL,
  `custom_field_id` int DEFAULT NULL,
  `name` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `custom_fields_meta`
--


--
-- Table structure for table `emails`
--

CREATE TABLE `emails` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int unsigned NOT NULL,
  `subject` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `message` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `recipients` int unsigned NOT NULL,
  `send_to` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `notes` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `branch_id` int DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `emails_id_index` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `emails`
--


--
-- Table structure for table `expense_types`
--

CREATE TABLE `expense_types` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `account_id` int DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `expense_types`
--

INSERT INTO `expense_types` VALUES (1,'Equipment',12);

--
-- Table structure for table `expenses`
--

CREATE TABLE `expenses` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int unsigned DEFAULT NULL,
  `expense_type_id` int unsigned DEFAULT NULL,
  `amount` decimal(65,4) DEFAULT NULL,
  `date` date DEFAULT NULL,
  `year` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `month` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `recurring` tinyint NOT NULL DEFAULT '0',
  `recur_frequency` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '31',
  `recur_start_date` date DEFAULT NULL,
  `recur_end_date` date DEFAULT NULL,
  `recur_next_date` date DEFAULT NULL,
  `recur_type` enum('day','week','month','year') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'month',
  `notes` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `files` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `branch_id` int DEFAULT NULL,
  `chart_id` int DEFAULT NULL,
  `account_id` int DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `expenses_id_index` (`id`),
  KEY `expenses_month_index` (`month`),
  KEY `expenses_year_index` (`year`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `expenses`
--


--
-- Table structure for table `guarantor`
--

CREATE TABLE `guarantor` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int DEFAULT NULL,
  `loan_application_id` int DEFAULT NULL,
  `loan_id` int DEFAULT NULL,
  `borrower_id` int DEFAULT NULL,
  `guarantor_id` int DEFAULT NULL,
  `amount` decimal(10,2) DEFAULT NULL,
  `saving_amount` decimal(10,2) DEFAULT NULL,
  `accepted_amount` decimal(10,2) DEFAULT NULL,
  `status` enum('pending','accepted','declined') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT 'pending',
  `saving_status` enum('pending','hold','restored') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT 'pending',
  `saving_restored` tinyint NOT NULL DEFAULT '0',
  `notes` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `date` date DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `branch_id` int unsigned DEFAULT NULL,
  `first_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `last_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `gender` enum('Male','Female') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'Male',
  `country_id` int DEFAULT NULL,
  `title` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `mobile` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `email` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `unique_number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `dob` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `address` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `city` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `state` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `zip` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `phone` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `business_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `working_status` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `photo` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `files` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `id_card_number` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `guarantor_id_index` (`id`),
  KEY `guarantor_unique_number_index` (`unique_number`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `guarantor`
--


--
-- Table structure for table `journal_entries`
--

CREATE TABLE `journal_entries` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int DEFAULT NULL,
  `account_id` int DEFAULT NULL,
  `transaction_type` enum('repayment','disbursement','accrual','deposit','withdrawal','manual_entry','pay_charge','transfer_fund','expense','payroll','income','fee','penalty','interest','dividend','guarantee','close_write_off','repayment_disbursement','repayment_recovery','interest_accrual','fee_accrual') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT 'repayment',
  `name` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `gl_code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `date` date DEFAULT NULL,
  `month` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `year` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `reference` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `borrower_id` int DEFAULT NULL,
  `loan_id` int DEFAULT NULL,
  `expense_id` int DEFAULT NULL,
  `capital_id` int DEFAULT NULL,
  `income_id` int DEFAULT NULL,
  `payroll_id` int DEFAULT NULL,
  `savings_id` int DEFAULT NULL,
  `loan_repayment_id` int DEFAULT NULL,
  `debit` decimal(65,4) DEFAULT NULL,
  `credit` decimal(65,4) DEFAULT NULL,
  `balance` decimal(65,4) DEFAULT NULL,
  `active` tinyint NOT NULL DEFAULT '1',
  `notes` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `loan_transaction_id` int DEFAULT NULL,
  `branch_id` int DEFAULT NULL,
  `transaction_sub_type` enum('overpayment','repayment_interest','repayment_principal','repayment_fees','repayment_penalty') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `reversed` tinyint NOT NULL DEFAULT '0',
  `other_income_id` int DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `journal_entries_id_index` (`id`),
  KEY `journal_entries_month_index` (`month`),
  KEY `journal_entries_year_index` (`year`)
) ENGINE=InnoDB AUTO_INCREMENT=215 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `journal_entries`
--

INSERT INTO `journal_entries` VALUES (1,1,8,'fee','Fee Income',NULL,'2023-05-16','05','2023','4',18,17,NULL,NULL,NULL,NULL,NULL,NULL,100.0000,100.0000,NULL,1,NULL,'2023-05-31 06:23:39','2023-06-06 05:26:48',NULL,1,NULL,0,NULL),(2,1,1,'fee','Fee Income',NULL,'2023-05-16','05','2023','4',18,17,NULL,NULL,NULL,NULL,NULL,NULL,100.0000,100.0000,NULL,1,NULL,'2023-05-31 06:23:39','2023-06-06 05:26:48',NULL,1,NULL,0,NULL),(3,1,1,'disbursement','Loan Disbursement',NULL,'2023-05-16','05','2023','17',18,17,NULL,NULL,NULL,NULL,NULL,NULL,NULL,10000.0000,NULL,1,NULL,'2023-05-31 06:23:39','2023-05-31 06:23:39',NULL,1,NULL,0,NULL),(4,1,2,'disbursement','Loan Disbursement',NULL,'2023-05-16','05','2023','17',18,17,NULL,NULL,NULL,NULL,NULL,NULL,10000.0000,NULL,NULL,1,NULL,'2023-05-31 06:23:39','2023-05-31 06:23:39',NULL,1,NULL,0,NULL),(5,1,8,'fee','Fee Income',NULL,'2023-05-16','05','2023','8',17,16,NULL,NULL,NULL,NULL,NULL,NULL,100.0000,100.0000,NULL,1,NULL,'2023-05-31 06:25:58','2023-06-06 05:26:56',NULL,1,NULL,0,NULL),(6,1,1,'fee','Fee Income',NULL,'2023-05-16','05','2023','8',17,16,NULL,NULL,NULL,NULL,NULL,NULL,100.0000,100.0000,NULL,1,NULL,'2023-05-31 06:25:58','2023-06-06 05:26:56',NULL,1,NULL,0,NULL),(7,1,1,'disbursement','Loan Disbursement',NULL,'2023-05-16','05','2023','16',17,16,NULL,NULL,NULL,NULL,NULL,NULL,NULL,10000.0000,NULL,1,NULL,'2023-05-31 06:25:58','2023-05-31 06:25:58',NULL,1,NULL,0,NULL),(8,1,2,'disbursement','Loan Disbursement',NULL,'2023-05-16','05','2023','16',17,16,NULL,NULL,NULL,NULL,NULL,NULL,10000.0000,NULL,NULL,1,NULL,'2023-05-31 06:25:58','2023-05-31 06:25:58',NULL,1,NULL,0,NULL),(9,1,8,'fee','Fee Income',NULL,'2023-05-16','05','2023','12',16,15,NULL,NULL,NULL,NULL,NULL,NULL,100.0000,100.0000,NULL,1,NULL,'2023-05-31 06:27:36','2023-06-06 05:30:00',NULL,1,NULL,0,NULL),(10,1,1,'fee','Fee Income',NULL,'2023-05-16','05','2023','12',16,15,NULL,NULL,NULL,NULL,NULL,NULL,100.0000,100.0000,NULL,1,NULL,'2023-05-31 06:27:36','2023-06-06 05:30:00',NULL,1,NULL,0,NULL),(11,1,1,'disbursement','Loan Disbursement',NULL,'2023-05-16','05','2023','15',16,15,NULL,NULL,NULL,NULL,NULL,NULL,NULL,10000.0000,NULL,1,NULL,'2023-05-31 06:27:36','2023-05-31 06:27:36',NULL,1,NULL,0,NULL),(12,1,2,'disbursement','Loan Disbursement',NULL,'2023-05-16','05','2023','15',16,15,NULL,NULL,NULL,NULL,NULL,NULL,10000.0000,NULL,NULL,1,NULL,'2023-05-31 06:27:36','2023-05-31 06:27:36',NULL,1,NULL,0,NULL),(13,1,8,'fee','Fee Income',NULL,'2023-05-16','05','2023','16',15,14,NULL,NULL,NULL,NULL,NULL,NULL,150.0000,150.0000,NULL,1,NULL,'2023-05-31 06:30:30','2023-06-06 05:30:08',NULL,1,NULL,0,NULL),(14,1,1,'fee','Fee Income',NULL,'2023-05-16','05','2023','16',15,14,NULL,NULL,NULL,NULL,NULL,NULL,150.0000,150.0000,NULL,1,NULL,'2023-05-31 06:30:30','2023-06-06 05:30:08',NULL,1,NULL,0,NULL),(15,1,1,'disbursement','Loan Disbursement',NULL,'2023-05-16','05','2023','14',15,14,NULL,NULL,NULL,NULL,NULL,NULL,20000.0000,20000.0000,NULL,1,NULL,'2023-05-31 06:30:30','2023-06-06 05:30:08',NULL,1,NULL,0,NULL),(16,1,2,'disbursement','Loan Disbursement',NULL,'2023-05-16','05','2023','14',15,14,NULL,NULL,NULL,NULL,NULL,NULL,20000.0000,20000.0000,NULL,1,NULL,'2023-05-31 06:30:30','2023-06-06 05:30:08',NULL,1,NULL,0,NULL),(17,1,8,'fee','Fee Income',NULL,'2023-05-06','05','2023','20',13,13,NULL,NULL,NULL,NULL,NULL,NULL,100.0000,100.0000,NULL,1,NULL,'2023-05-31 06:31:09','2023-06-06 05:30:16',NULL,1,NULL,0,NULL),(18,1,1,'fee','Fee Income',NULL,'2023-05-06','05','2023','20',13,13,NULL,NULL,NULL,NULL,NULL,NULL,100.0000,100.0000,NULL,1,NULL,'2023-05-31 06:31:09','2023-06-06 05:30:16',NULL,1,NULL,0,NULL),(19,1,1,'disbursement','Loan Disbursement',NULL,'2023-05-06','05','2023','13',13,13,NULL,NULL,NULL,NULL,NULL,NULL,NULL,10000.0000,NULL,1,NULL,'2023-05-31 06:31:09','2023-05-31 06:31:09',NULL,1,NULL,0,NULL),(20,1,2,'disbursement','Loan Disbursement',NULL,'2023-05-06','05','2023','13',13,13,NULL,NULL,NULL,NULL,NULL,NULL,10000.0000,NULL,NULL,1,NULL,'2023-05-31 06:31:09','2023-05-31 06:31:09',NULL,1,NULL,0,NULL),(21,1,8,'fee','Fee Income',NULL,'2023-05-06','05','2023','24',12,12,NULL,NULL,NULL,NULL,NULL,NULL,100.0000,100.0000,NULL,1,NULL,'2023-05-31 06:32:30','2023-06-06 05:30:23',NULL,1,NULL,0,NULL),(22,1,1,'fee','Fee Income',NULL,'2023-05-06','05','2023','24',12,12,NULL,NULL,NULL,NULL,NULL,NULL,100.0000,100.0000,NULL,1,NULL,'2023-05-31 06:32:30','2023-06-06 05:30:23',NULL,1,NULL,0,NULL),(23,1,1,'disbursement','Loan Disbursement',NULL,'2023-05-06','05','2023','12',12,12,NULL,NULL,NULL,NULL,NULL,NULL,NULL,10000.0000,NULL,1,NULL,'2023-05-31 06:32:30','2023-05-31 06:32:30',NULL,1,NULL,0,NULL),(24,1,2,'disbursement','Loan Disbursement',NULL,'2023-05-06','05','2023','12',12,12,NULL,NULL,NULL,NULL,NULL,NULL,10000.0000,NULL,NULL,1,NULL,'2023-05-31 06:32:30','2023-05-31 06:32:30',NULL,1,NULL,0,NULL),(25,1,8,'fee','Fee Income',NULL,'2023-05-09','05','2023','28',10,11,NULL,NULL,NULL,NULL,NULL,NULL,100.0000,100.0000,NULL,1,NULL,'2023-05-31 06:32:49','2023-06-06 05:30:34',NULL,1,NULL,0,NULL),(26,1,1,'fee','Fee Income',NULL,'2023-05-09','05','2023','28',10,11,NULL,NULL,NULL,NULL,NULL,NULL,100.0000,100.0000,NULL,1,NULL,'2023-05-31 06:32:49','2023-06-06 05:30:34',NULL,1,NULL,0,NULL),(27,1,1,'disbursement','Loan Disbursement',NULL,'2023-05-09','05','2023','11',10,11,NULL,NULL,NULL,NULL,NULL,NULL,NULL,10000.0000,NULL,1,NULL,'2023-05-31 06:32:49','2023-05-31 06:32:49',NULL,1,NULL,0,NULL),(28,1,2,'disbursement','Loan Disbursement',NULL,'2023-05-09','05','2023','11',10,11,NULL,NULL,NULL,NULL,NULL,NULL,10000.0000,NULL,NULL,1,NULL,'2023-05-31 06:32:49','2023-05-31 06:32:49',NULL,1,NULL,0,NULL),(29,1,8,'fee','Fee Income',NULL,'2023-05-09','05','2023','32',9,10,NULL,NULL,NULL,NULL,NULL,NULL,50.0000,50.0000,NULL,1,NULL,'2023-05-31 06:33:17','2023-06-06 05:30:43',NULL,1,NULL,0,NULL),(30,1,1,'fee','Fee Income',NULL,'2023-05-09','05','2023','32',9,10,NULL,NULL,NULL,NULL,NULL,NULL,50.0000,50.0000,NULL,1,NULL,'2023-05-31 06:33:17','2023-06-06 05:30:43',NULL,1,NULL,0,NULL),(31,1,1,'disbursement','Loan Disbursement',NULL,'2023-05-09','05','2023','10',9,10,NULL,NULL,NULL,NULL,NULL,NULL,NULL,5000.0000,NULL,1,NULL,'2023-05-31 06:33:17','2023-05-31 06:33:17',NULL,1,NULL,0,NULL),(32,1,2,'disbursement','Loan Disbursement',NULL,'2023-05-09','05','2023','10',9,10,NULL,NULL,NULL,NULL,NULL,NULL,5000.0000,NULL,NULL,1,NULL,'2023-05-31 06:33:17','2023-05-31 06:33:17',NULL,1,NULL,0,NULL),(33,1,8,'fee','Fee Income',NULL,'2023-05-09','05','2023','36',8,9,NULL,NULL,NULL,NULL,NULL,NULL,50.0000,50.0000,NULL,1,NULL,'2023-05-31 06:33:44','2023-06-06 05:30:55',NULL,1,NULL,0,NULL),(34,1,1,'fee','Fee Income',NULL,'2023-05-09','05','2023','36',8,9,NULL,NULL,NULL,NULL,NULL,NULL,50.0000,50.0000,NULL,1,NULL,'2023-05-31 06:33:44','2023-06-06 05:30:55',NULL,1,NULL,0,NULL),(35,1,1,'disbursement','Loan Disbursement',NULL,'2023-05-09','05','2023','9',8,9,NULL,NULL,NULL,NULL,NULL,NULL,NULL,6000.0000,NULL,1,NULL,'2023-05-31 06:33:44','2023-05-31 06:33:44',NULL,1,NULL,0,NULL),(36,1,2,'disbursement','Loan Disbursement',NULL,'2023-05-09','05','2023','9',8,9,NULL,NULL,NULL,NULL,NULL,NULL,6000.0000,NULL,NULL,1,NULL,'2023-05-31 06:33:44','2023-05-31 06:33:44',NULL,1,NULL,0,NULL),(37,1,8,'fee','Fee Income',NULL,'2023-05-09','05','2023','40',7,8,NULL,NULL,NULL,NULL,NULL,NULL,100.0000,100.0000,NULL,1,NULL,'2023-05-31 06:34:08','2023-06-06 05:31:31',NULL,1,NULL,0,NULL),(38,1,1,'fee','Fee Income',NULL,'2023-05-09','05','2023','40',7,8,NULL,NULL,NULL,NULL,NULL,NULL,100.0000,100.0000,NULL,1,NULL,'2023-05-31 06:34:08','2023-06-06 05:31:31',NULL,1,NULL,0,NULL),(39,1,1,'disbursement','Loan Disbursement',NULL,'2023-05-09','05','2023','8',7,8,NULL,NULL,NULL,NULL,NULL,NULL,NULL,10000.0000,NULL,1,NULL,'2023-05-31 06:34:08','2023-05-31 06:34:08',NULL,1,NULL,0,NULL),(40,1,2,'disbursement','Loan Disbursement',NULL,'2023-05-09','05','2023','8',7,8,NULL,NULL,NULL,NULL,NULL,NULL,10000.0000,NULL,NULL,1,NULL,'2023-05-31 06:34:08','2023-05-31 06:34:08',NULL,1,NULL,0,NULL),(41,1,8,'fee','Fee Income',NULL,'2023-05-06','05','2023','44',6,7,NULL,NULL,NULL,NULL,NULL,NULL,150.0000,150.0000,NULL,1,NULL,'2023-05-31 06:34:40','2023-06-06 05:31:48',NULL,1,NULL,0,NULL),(42,1,1,'fee','Fee Income',NULL,'2023-05-06','05','2023','44',6,7,NULL,NULL,NULL,NULL,NULL,NULL,150.0000,150.0000,NULL,1,NULL,'2023-05-31 06:34:40','2023-06-06 05:31:48',NULL,1,NULL,0,NULL),(43,1,1,'disbursement','Loan Disbursement',NULL,'2023-05-06','05','2023','7',6,7,NULL,NULL,NULL,NULL,NULL,NULL,NULL,20000.0000,NULL,1,NULL,'2023-05-31 06:34:40','2023-05-31 06:34:40',NULL,1,NULL,0,NULL),(44,1,2,'disbursement','Loan Disbursement',NULL,'2023-05-06','05','2023','7',6,7,NULL,NULL,NULL,NULL,NULL,NULL,20000.0000,NULL,NULL,1,NULL,'2023-05-31 06:34:40','2023-05-31 06:34:40',NULL,1,NULL,0,NULL),(45,1,8,'fee','Fee Income',NULL,'2023-05-06','05','2023','48',5,6,NULL,NULL,NULL,NULL,NULL,NULL,100.0000,100.0000,NULL,1,NULL,'2023-05-31 06:35:14','2023-06-06 05:31:57',NULL,1,NULL,0,NULL),(46,1,1,'fee','Fee Income',NULL,'2023-05-06','05','2023','48',5,6,NULL,NULL,NULL,NULL,NULL,NULL,100.0000,100.0000,NULL,1,NULL,'2023-05-31 06:35:14','2023-06-06 05:31:57',NULL,1,NULL,0,NULL),(47,1,1,'disbursement','Loan Disbursement',NULL,'2023-05-06','05','2023','6',5,6,NULL,NULL,NULL,NULL,NULL,NULL,NULL,10000.0000,NULL,1,NULL,'2023-05-31 06:35:14','2023-05-31 06:35:14',NULL,1,NULL,0,NULL),(48,1,2,'disbursement','Loan Disbursement',NULL,'2023-05-06','05','2023','6',5,6,NULL,NULL,NULL,NULL,NULL,NULL,10000.0000,NULL,NULL,1,NULL,'2023-05-31 06:35:14','2023-05-31 06:35:14',NULL,1,NULL,0,NULL),(49,1,8,'fee','Fee Income',NULL,'2023-05-06','05','2023','52',5,6,NULL,NULL,NULL,NULL,NULL,NULL,100.0000,100.0000,NULL,1,NULL,'2023-05-31 06:35:15','2023-06-06 05:31:57',NULL,1,NULL,0,NULL),(50,1,1,'fee','Fee Income',NULL,'2023-05-06','05','2023','52',5,6,NULL,NULL,NULL,NULL,NULL,NULL,100.0000,100.0000,NULL,1,NULL,'2023-05-31 06:35:15','2023-06-06 05:31:57',NULL,1,NULL,0,NULL),(51,1,1,'disbursement','Loan Disbursement',NULL,'2023-05-06','05','2023','6',5,6,NULL,NULL,NULL,NULL,NULL,NULL,NULL,10000.0000,NULL,1,NULL,'2023-05-31 06:35:15','2023-05-31 06:35:15',NULL,1,NULL,0,NULL),(52,1,2,'disbursement','Loan Disbursement',NULL,'2023-05-06','05','2023','6',5,6,NULL,NULL,NULL,NULL,NULL,NULL,10000.0000,NULL,NULL,1,NULL,'2023-05-31 06:35:15','2023-05-31 06:35:15',NULL,1,NULL,0,NULL),(53,1,8,'fee','Fee Income',NULL,'2023-05-06','05','2023','56',4,5,NULL,NULL,NULL,NULL,NULL,NULL,100.0000,100.0000,NULL,1,NULL,'2023-05-31 06:36:00','2023-06-06 05:32:05',NULL,1,NULL,0,NULL),(54,1,1,'fee','Fee Income',NULL,'2023-05-06','05','2023','56',4,5,NULL,NULL,NULL,NULL,NULL,NULL,100.0000,100.0000,NULL,1,NULL,'2023-05-31 06:36:00','2023-06-06 05:32:05',NULL,1,NULL,0,NULL),(55,1,1,'disbursement','Loan Disbursement',NULL,'2023-05-06','05','2023','5',4,5,NULL,NULL,NULL,NULL,NULL,NULL,NULL,10000.0000,NULL,1,NULL,'2023-05-31 06:36:00','2023-05-31 06:36:00',NULL,1,NULL,0,NULL),(56,1,2,'disbursement','Loan Disbursement',NULL,'2023-05-06','05','2023','5',4,5,NULL,NULL,NULL,NULL,NULL,NULL,10000.0000,NULL,NULL,1,NULL,'2023-05-31 06:36:00','2023-05-31 06:36:00',NULL,1,NULL,0,NULL),(57,1,8,'fee','Fee Income',NULL,'2023-05-09','05','2023','60',3,4,NULL,NULL,NULL,NULL,NULL,NULL,50.0000,50.0000,NULL,1,NULL,'2023-05-31 06:38:23','2023-05-31 07:50:53',NULL,1,NULL,0,NULL),(58,1,1,'fee','Fee Income',NULL,'2023-05-09','05','2023','60',3,4,NULL,NULL,NULL,NULL,NULL,NULL,50.0000,50.0000,NULL,1,NULL,'2023-05-31 06:38:23','2023-05-31 07:50:53',NULL,1,NULL,0,NULL),(59,1,1,'disbursement','Loan Disbursement',NULL,'2023-05-09','05','2023','4',3,4,NULL,NULL,NULL,NULL,NULL,NULL,NULL,6000.0000,NULL,1,NULL,'2023-05-31 06:38:23','2023-05-31 06:38:23',NULL,1,NULL,0,NULL),(60,1,2,'disbursement','Loan Disbursement',NULL,'2023-05-09','05','2023','4',3,4,NULL,NULL,NULL,NULL,NULL,NULL,6000.0000,NULL,NULL,1,NULL,'2023-05-31 06:38:23','2023-05-31 06:38:23',NULL,1,NULL,0,NULL),(61,1,8,'fee','Fee Income',NULL,'2023-05-12','05','2023','64',2,3,NULL,NULL,NULL,NULL,NULL,NULL,50.0000,50.0000,NULL,1,NULL,'2023-05-31 06:39:08','2023-06-06 05:32:13',NULL,1,NULL,0,NULL),(62,1,1,'fee','Fee Income',NULL,'2023-05-12','05','2023','64',2,3,NULL,NULL,NULL,NULL,NULL,NULL,50.0000,50.0000,NULL,1,NULL,'2023-05-31 06:39:08','2023-06-06 05:32:13',NULL,1,NULL,0,NULL),(63,1,1,'disbursement','Loan Disbursement',NULL,'2023-05-12','05','2023','3',2,3,NULL,NULL,NULL,NULL,NULL,NULL,NULL,3000.0000,NULL,1,NULL,'2023-05-31 06:39:08','2023-05-31 06:39:08',NULL,1,NULL,0,NULL),(64,1,2,'disbursement','Loan Disbursement',NULL,'2023-05-12','05','2023','3',2,3,NULL,NULL,NULL,NULL,NULL,NULL,3000.0000,NULL,NULL,1,NULL,'2023-05-31 06:39:08','2023-05-31 06:39:08',NULL,1,NULL,0,NULL),(65,1,8,'fee','Fee Income',NULL,'2023-05-06','05','2023','68',14,2,NULL,NULL,NULL,NULL,NULL,NULL,50.0000,50.0000,NULL,1,NULL,'2023-05-31 06:39:29','2023-05-31 06:43:47',NULL,1,NULL,0,NULL),(66,1,1,'fee','Fee Income',NULL,'2023-05-06','05','2023','68',14,2,NULL,NULL,NULL,NULL,NULL,NULL,50.0000,50.0000,NULL,1,NULL,'2023-05-31 06:39:29','2023-05-31 06:43:47',NULL,1,NULL,0,NULL),(67,1,1,'disbursement','Loan Disbursement',NULL,'2023-05-06','05','2023','2',14,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,2000.0000,NULL,1,NULL,'2023-05-31 06:39:29','2023-05-31 06:39:29',NULL,1,NULL,0,NULL),(68,1,2,'disbursement','Loan Disbursement',NULL,'2023-05-06','05','2023','2',14,2,NULL,NULL,NULL,NULL,NULL,NULL,2000.0000,NULL,NULL,1,NULL,'2023-05-31 06:39:29','2023-05-31 06:39:29',NULL,1,NULL,0,NULL),(69,1,8,'fee','Fee Income',NULL,'2023-05-06','05','2023','72',14,2,NULL,NULL,NULL,NULL,NULL,NULL,50.0000,50.0000,NULL,1,NULL,'2023-05-31 07:08:30','2023-06-06 05:31:40',NULL,1,NULL,0,NULL),(70,1,1,'fee','Fee Income',NULL,'2023-05-06','05','2023','72',14,2,NULL,NULL,NULL,NULL,NULL,NULL,50.0000,50.0000,NULL,1,NULL,'2023-05-31 07:08:30','2023-06-06 05:31:40',NULL,1,NULL,0,NULL),(71,1,1,'disbursement','Loan Disbursement',NULL,'2023-05-06','05','2023','2',14,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,20000.0000,NULL,1,NULL,'2023-05-31 07:08:30','2023-05-31 07:08:30',NULL,1,NULL,0,NULL),(72,1,2,'disbursement','Loan Disbursement',NULL,'2023-05-06','05','2023','2',14,2,NULL,NULL,NULL,NULL,NULL,NULL,20000.0000,NULL,NULL,1,NULL,'2023-05-31 07:08:30','2023-05-31 07:08:30',NULL,1,NULL,0,NULL),(73,1,8,'fee','Fee Income',NULL,'2023-05-09','05','2023','76',3,4,NULL,NULL,NULL,NULL,NULL,NULL,50.0000,50.0000,NULL,1,NULL,'2023-05-31 07:53:43','2023-05-31 09:19:04',NULL,1,NULL,0,NULL),(74,1,1,'fee','Fee Income',NULL,'2023-05-09','05','2023','76',3,4,NULL,NULL,NULL,NULL,NULL,NULL,50.0000,50.0000,NULL,1,NULL,'2023-05-31 07:53:43','2023-05-31 09:19:04',NULL,1,NULL,0,NULL),(75,1,1,'disbursement','Loan Disbursement',NULL,'2023-05-09','05','2023','4',3,4,NULL,NULL,NULL,NULL,NULL,NULL,NULL,6000.0000,NULL,1,NULL,'2023-05-31 07:53:43','2023-05-31 07:53:43',NULL,1,NULL,0,NULL),(76,1,2,'disbursement','Loan Disbursement',NULL,'2023-05-09','05','2023','4',3,4,NULL,NULL,NULL,NULL,NULL,NULL,6000.0000,NULL,NULL,1,NULL,'2023-05-31 07:53:43','2023-05-31 07:53:43',NULL,1,NULL,0,NULL),(77,1,8,'fee','Fee Income',NULL,'2023-05-09','05','2023','80',3,4,NULL,NULL,NULL,NULL,NULL,NULL,50.0000,50.0000,NULL,1,NULL,'2023-05-31 09:21:21','2023-05-31 09:21:34',NULL,1,NULL,0,NULL),(78,1,1,'fee','Fee Income',NULL,'2023-05-09','05','2023','80',3,4,NULL,NULL,NULL,NULL,NULL,NULL,50.0000,50.0000,NULL,1,NULL,'2023-05-31 09:21:21','2023-05-31 09:21:34',NULL,1,NULL,0,NULL),(79,1,1,'disbursement','Loan Disbursement',NULL,'2023-05-09','05','2023','4',3,4,NULL,NULL,NULL,NULL,NULL,NULL,NULL,6000.0000,NULL,1,NULL,'2023-05-31 09:21:21','2023-05-31 09:21:21',NULL,1,NULL,0,NULL),(80,1,2,'disbursement','Loan Disbursement',NULL,'2023-05-09','05','2023','4',3,4,NULL,NULL,NULL,NULL,NULL,NULL,6000.0000,NULL,NULL,1,NULL,'2023-05-31 09:21:21','2023-05-31 09:21:21',NULL,1,NULL,0,NULL),(81,1,8,'fee','Fee Income',NULL,'2023-05-09','05','2023','84',3,4,NULL,NULL,NULL,NULL,NULL,NULL,50.0000,50.0000,NULL,1,NULL,'2023-05-31 09:21:22','2023-05-31 09:21:34',NULL,1,NULL,0,NULL),(82,1,1,'fee','Fee Income',NULL,'2023-05-09','05','2023','84',3,4,NULL,NULL,NULL,NULL,NULL,NULL,50.0000,50.0000,NULL,1,NULL,'2023-05-31 09:21:22','2023-05-31 09:21:34',NULL,1,NULL,0,NULL),(83,1,1,'disbursement','Loan Disbursement',NULL,'2023-05-09','05','2023','4',3,4,NULL,NULL,NULL,NULL,NULL,NULL,NULL,6000.0000,NULL,1,NULL,'2023-05-31 09:21:22','2023-05-31 09:21:22',NULL,1,NULL,0,NULL),(84,1,2,'disbursement','Loan Disbursement',NULL,'2023-05-09','05','2023','4',3,4,NULL,NULL,NULL,NULL,NULL,NULL,6000.0000,NULL,NULL,1,NULL,'2023-05-31 09:21:22','2023-05-31 09:21:22',NULL,1,NULL,0,NULL),(85,1,8,'fee','Fee Income',NULL,'2023-05-09','05','2023','88',3,4,NULL,NULL,NULL,NULL,NULL,NULL,50.0000,50.0000,NULL,1,NULL,'2023-05-31 09:21:40','2023-06-06 05:26:34',NULL,1,NULL,0,NULL),(86,1,1,'fee','Fee Income',NULL,'2023-05-09','05','2023','88',3,4,NULL,NULL,NULL,NULL,NULL,NULL,50.0000,50.0000,NULL,1,NULL,'2023-05-31 09:21:40','2023-06-06 05:26:34',NULL,1,NULL,0,NULL),(87,1,1,'disbursement','Loan Disbursement',NULL,'2023-05-09','05','2023','4',3,4,NULL,NULL,NULL,NULL,NULL,NULL,NULL,6000.0000,NULL,1,NULL,'2023-05-31 09:21:40','2023-05-31 09:21:40',NULL,1,NULL,0,NULL),(88,1,2,'disbursement','Loan Disbursement',NULL,'2023-05-09','05','2023','4',3,4,NULL,NULL,NULL,NULL,NULL,NULL,6000.0000,NULL,NULL,1,NULL,'2023-05-31 09:21:40','2023-05-31 09:21:40',NULL,1,NULL,0,NULL),(89,1,8,'fee','Fee Income',NULL,'2023-06-12','06','2023','92',24,23,NULL,NULL,NULL,NULL,NULL,NULL,100.0000,100.0000,NULL,1,NULL,'2023-06-12 08:03:32','2023-06-12 08:16:05',NULL,1,NULL,0,NULL),(90,1,1,'fee','Fee Income',NULL,'2023-06-12','06','2023','92',24,23,NULL,NULL,NULL,NULL,NULL,NULL,100.0000,100.0000,NULL,1,NULL,'2023-06-12 08:03:32','2023-06-12 08:16:05',NULL,1,NULL,0,NULL),(91,1,1,'disbursement','Loan Disbursement',NULL,'2023-06-12','06','2023','23',24,23,NULL,NULL,NULL,NULL,NULL,NULL,NULL,15000.0000,NULL,1,NULL,'2023-06-12 08:03:32','2023-06-12 08:03:32',NULL,1,NULL,0,NULL),(92,1,2,'disbursement','Loan Disbursement',NULL,'2023-06-12','06','2023','23',24,23,NULL,NULL,NULL,NULL,NULL,NULL,15000.0000,NULL,NULL,1,NULL,'2023-06-12 08:03:32','2023-06-12 08:03:32',NULL,1,NULL,0,NULL),(93,1,8,'fee','Fee Income',NULL,'2023-06-11','06','2023','96',24,23,NULL,NULL,NULL,NULL,NULL,NULL,100.0000,100.0000,NULL,1,NULL,'2023-06-12 08:16:14','2023-06-12 09:05:22',NULL,1,NULL,0,NULL),(94,1,1,'fee','Fee Income',NULL,'2023-06-11','06','2023','96',24,23,NULL,NULL,NULL,NULL,NULL,NULL,100.0000,100.0000,NULL,1,NULL,'2023-06-12 08:16:14','2023-06-12 09:05:22',NULL,1,NULL,0,NULL),(95,1,1,'disbursement','Loan Disbursement',NULL,'2023-06-11','06','2023','23',24,23,NULL,NULL,NULL,NULL,NULL,NULL,NULL,15000.0000,NULL,1,NULL,'2023-06-12 08:16:14','2023-06-12 08:16:14',NULL,1,NULL,0,NULL),(96,1,2,'disbursement','Loan Disbursement',NULL,'2023-06-11','06','2023','23',24,23,NULL,NULL,NULL,NULL,NULL,NULL,15000.0000,NULL,NULL,1,NULL,'2023-06-12 08:16:14','2023-06-12 08:16:14',NULL,1,NULL,0,NULL),(97,1,8,'fee','Fee Income',NULL,'2023-06-11','06','2023','100',22,21,NULL,NULL,NULL,NULL,NULL,NULL,100.0000,100.0000,NULL,1,NULL,'2023-06-12 08:38:56','2023-06-12 08:49:51',NULL,1,NULL,0,NULL),(98,1,1,'fee','Fee Income',NULL,'2023-06-11','06','2023','100',22,21,NULL,NULL,NULL,NULL,NULL,NULL,100.0000,100.0000,NULL,1,NULL,'2023-06-12 08:38:56','2023-06-12 08:49:51',NULL,1,NULL,0,NULL),(99,1,1,'disbursement','Loan Disbursement',NULL,'2023-06-11','06','2023','21',22,21,NULL,NULL,NULL,NULL,NULL,NULL,NULL,10000.0000,NULL,1,NULL,'2023-06-12 08:38:56','2023-06-12 08:38:56',NULL,1,NULL,0,NULL),(100,1,2,'disbursement','Loan Disbursement',NULL,'2023-06-11','06','2023','21',22,21,NULL,NULL,NULL,NULL,NULL,NULL,10000.0000,NULL,NULL,1,NULL,'2023-06-12 08:38:56','2023-06-12 08:38:56',NULL,1,NULL,0,NULL),(101,1,8,'fee','Fee Income',NULL,'2023-06-11','06','2023','104',22,21,NULL,NULL,NULL,NULL,NULL,NULL,NULL,100.0000,NULL,1,NULL,'2023-06-12 08:50:36','2023-06-12 08:50:36',NULL,1,NULL,0,NULL),(102,1,1,'fee','Fee Income',NULL,'2023-06-11','06','2023','104',22,21,NULL,NULL,NULL,NULL,NULL,NULL,100.0000,NULL,NULL,1,NULL,'2023-06-12 08:50:36','2023-06-12 08:50:36',NULL,1,NULL,0,NULL),(103,1,1,'disbursement','Loan Disbursement',NULL,'2023-06-11','06','2023','21',22,21,NULL,NULL,NULL,NULL,NULL,NULL,NULL,10000.0000,NULL,1,NULL,'2023-06-12 08:50:36','2023-06-12 08:50:36',NULL,1,NULL,0,NULL),(104,1,2,'disbursement','Loan Disbursement',NULL,'2023-06-11','06','2023','21',22,21,NULL,NULL,NULL,NULL,NULL,NULL,10000.0000,NULL,NULL,1,NULL,'2023-06-12 08:50:36','2023-06-12 08:50:36',NULL,1,NULL,0,NULL),(105,1,8,'fee','Fee Income',NULL,'2023-06-12','06','2023','108',24,23,NULL,NULL,NULL,NULL,NULL,NULL,100.0000,100.0000,NULL,1,NULL,'2023-06-12 09:05:29','2023-06-12 09:05:49',NULL,1,NULL,0,NULL),(106,1,1,'fee','Fee Income',NULL,'2023-06-12','06','2023','108',24,23,NULL,NULL,NULL,NULL,NULL,NULL,100.0000,100.0000,NULL,1,NULL,'2023-06-12 09:05:29','2023-06-12 09:05:49',NULL,1,NULL,0,NULL),(107,1,1,'disbursement','Loan Disbursement',NULL,'2023-06-12','06','2023','23',24,23,NULL,NULL,NULL,NULL,NULL,NULL,NULL,15000.0000,NULL,1,NULL,'2023-06-12 09:05:29','2023-06-12 09:05:29',NULL,1,NULL,0,NULL),(108,1,2,'disbursement','Loan Disbursement',NULL,'2023-06-12','06','2023','23',24,23,NULL,NULL,NULL,NULL,NULL,NULL,15000.0000,NULL,NULL,1,NULL,'2023-06-12 09:05:29','2023-06-12 09:05:29',NULL,1,NULL,0,NULL),(109,1,8,'fee','Fee Income',NULL,'2023-06-11','06','2023','112',24,23,NULL,NULL,NULL,NULL,NULL,NULL,NULL,100.0000,NULL,1,NULL,'2023-06-12 09:05:57','2023-06-12 09:05:57',NULL,1,NULL,0,NULL),(110,1,1,'fee','Fee Income',NULL,'2023-06-11','06','2023','112',24,23,NULL,NULL,NULL,NULL,NULL,NULL,100.0000,NULL,NULL,1,NULL,'2023-06-12 09:05:57','2023-06-12 09:05:57',NULL,1,NULL,0,NULL),(111,1,1,'disbursement','Loan Disbursement',NULL,'2023-06-11','06','2023','23',24,23,NULL,NULL,NULL,NULL,NULL,NULL,NULL,15000.0000,NULL,1,NULL,'2023-06-12 09:05:57','2023-06-12 09:05:57',NULL,1,NULL,0,NULL),(112,1,2,'disbursement','Loan Disbursement',NULL,'2023-06-11','06','2023','23',24,23,NULL,NULL,NULL,NULL,NULL,NULL,15000.0000,NULL,NULL,1,NULL,'2023-06-12 09:05:57','2023-06-12 09:05:57',NULL,1,NULL,0,NULL),(113,1,8,'fee','Fee Income',NULL,'2023-06-11','06','2023','116',23,22,NULL,NULL,NULL,NULL,NULL,NULL,NULL,100.0000,NULL,1,NULL,'2023-06-12 09:06:30','2023-06-12 09:06:30',NULL,1,NULL,0,NULL),(114,1,1,'fee','Fee Income',NULL,'2023-06-11','06','2023','116',23,22,NULL,NULL,NULL,NULL,NULL,NULL,100.0000,NULL,NULL,1,NULL,'2023-06-12 09:06:30','2023-06-12 09:06:30',NULL,1,NULL,0,NULL),(115,1,1,'disbursement','Loan Disbursement',NULL,'2023-06-11','06','2023','22',23,22,NULL,NULL,NULL,NULL,NULL,NULL,NULL,10000.0000,NULL,1,NULL,'2023-06-12 09:06:30','2023-06-12 09:06:30',NULL,1,NULL,0,NULL),(116,1,2,'disbursement','Loan Disbursement',NULL,'2023-06-11','06','2023','22',23,22,NULL,NULL,NULL,NULL,NULL,NULL,10000.0000,NULL,NULL,1,NULL,'2023-06-12 09:06:30','2023-06-12 09:06:30',NULL,1,NULL,0,NULL),(117,1,8,'fee','Fee Income',NULL,'2023-06-11','06','2023','120',21,20,NULL,NULL,NULL,NULL,NULL,NULL,NULL,100.0000,NULL,1,NULL,'2023-06-12 09:07:48','2023-06-12 09:07:48',NULL,1,NULL,0,NULL),(118,1,1,'fee','Fee Income',NULL,'2023-06-11','06','2023','120',21,20,NULL,NULL,NULL,NULL,NULL,NULL,100.0000,NULL,NULL,1,NULL,'2023-06-12 09:07:48','2023-06-12 09:07:48',NULL,1,NULL,0,NULL),(119,1,1,'disbursement','Loan Disbursement',NULL,'2023-06-11','06','2023','20',21,20,NULL,NULL,NULL,NULL,NULL,NULL,NULL,10000.0000,NULL,1,NULL,'2023-06-12 09:07:48','2023-06-12 09:07:48',NULL,1,NULL,0,NULL),(120,1,2,'disbursement','Loan Disbursement',NULL,'2023-06-11','06','2023','20',21,20,NULL,NULL,NULL,NULL,NULL,NULL,10000.0000,NULL,NULL,1,NULL,'2023-06-12 09:07:48','2023-06-12 09:07:48',NULL,1,NULL,0,NULL),(121,1,8,'fee','Fee Income',NULL,'2023-06-11','06','2023','124',20,19,NULL,NULL,NULL,NULL,NULL,NULL,NULL,50.0000,NULL,1,NULL,'2023-06-12 09:09:35','2023-06-12 09:09:35',NULL,1,NULL,0,NULL),(122,1,1,'fee','Fee Income',NULL,'2023-06-11','06','2023','124',20,19,NULL,NULL,NULL,NULL,NULL,NULL,50.0000,NULL,NULL,1,NULL,'2023-06-12 09:09:35','2023-06-12 09:09:35',NULL,1,NULL,0,NULL),(123,1,1,'disbursement','Loan Disbursement',NULL,'2023-06-11','06','2023','19',20,19,NULL,NULL,NULL,NULL,NULL,NULL,NULL,6000.0000,NULL,1,NULL,'2023-06-12 09:09:35','2023-06-12 09:09:35',NULL,1,NULL,0,NULL),(124,1,2,'disbursement','Loan Disbursement',NULL,'2023-06-11','06','2023','19',20,19,NULL,NULL,NULL,NULL,NULL,NULL,6000.0000,NULL,NULL,1,NULL,'2023-06-12 09:09:35','2023-06-12 09:09:35',NULL,1,NULL,0,NULL),(125,1,8,'fee','Fee Income',NULL,'2023-06-14','06','2023','128',27,27,NULL,NULL,NULL,NULL,NULL,NULL,50.0000,50.0000,NULL,1,NULL,'2023-06-14 09:30:26','2023-06-15 03:34:24',NULL,1,NULL,0,NULL),(126,1,1,'fee','Fee Income',NULL,'2023-06-14','06','2023','128',27,27,NULL,NULL,NULL,NULL,NULL,NULL,50.0000,50.0000,NULL,1,NULL,'2023-06-14 09:30:26','2023-06-15 03:34:24',NULL,1,NULL,0,NULL),(127,1,1,'disbursement','Loan Disbursement',NULL,'2023-06-14','06','2023','27',27,27,NULL,NULL,NULL,NULL,NULL,NULL,NULL,6000.0000,NULL,1,NULL,'2023-06-14 09:30:26','2023-06-14 09:30:26',NULL,1,NULL,0,NULL),(128,1,2,'disbursement','Loan Disbursement',NULL,'2023-06-14','06','2023','27',27,27,NULL,NULL,NULL,NULL,NULL,NULL,6000.0000,NULL,NULL,1,NULL,'2023-06-14 09:30:26','2023-06-14 09:30:26',NULL,1,NULL,0,NULL),(129,1,8,'fee','Fee Income',NULL,'2023-06-16','06','2023','132',28,26,NULL,NULL,NULL,NULL,NULL,NULL,100.0000,100.0000,NULL,1,NULL,'2023-06-14 09:30:43','2023-06-14 09:30:48',NULL,1,NULL,0,NULL),(130,1,1,'fee','Fee Income',NULL,'2023-06-16','06','2023','132',28,26,NULL,NULL,NULL,NULL,NULL,NULL,100.0000,100.0000,NULL,1,NULL,'2023-06-14 09:30:43','2023-06-14 09:30:48',NULL,1,NULL,0,NULL),(131,1,1,'disbursement','Loan Disbursement',NULL,'2023-06-16','06','2023','26',28,26,NULL,NULL,NULL,NULL,NULL,NULL,NULL,10000.0000,NULL,1,NULL,'2023-06-14 09:30:43','2023-06-14 09:30:43',NULL,1,NULL,0,NULL),(132,1,2,'disbursement','Loan Disbursement',NULL,'2023-06-16','06','2023','26',28,26,NULL,NULL,NULL,NULL,NULL,NULL,10000.0000,NULL,NULL,1,NULL,'2023-06-14 09:30:43','2023-06-14 09:30:43',NULL,1,NULL,0,NULL),(133,1,8,'fee','Fee Income',NULL,'2023-06-14','06','2023','136',28,26,NULL,NULL,NULL,NULL,NULL,NULL,100.0000,100.0000,NULL,1,NULL,'2023-06-14 09:30:56','2023-06-15 03:31:58',NULL,1,NULL,0,NULL),(134,1,1,'fee','Fee Income',NULL,'2023-06-14','06','2023','136',28,26,NULL,NULL,NULL,NULL,NULL,NULL,100.0000,100.0000,NULL,1,NULL,'2023-06-14 09:30:56','2023-06-15 03:31:58',NULL,1,NULL,0,NULL),(135,1,1,'disbursement','Loan Disbursement',NULL,'2023-06-14','06','2023','26',28,26,NULL,NULL,NULL,NULL,NULL,NULL,NULL,10000.0000,NULL,1,NULL,'2023-06-14 09:30:56','2023-06-14 09:30:56',NULL,1,NULL,0,NULL),(136,1,2,'disbursement','Loan Disbursement',NULL,'2023-06-14','06','2023','26',28,26,NULL,NULL,NULL,NULL,NULL,NULL,10000.0000,NULL,NULL,1,NULL,'2023-06-14 09:30:56','2023-06-14 09:30:56',NULL,1,NULL,0,NULL),(137,1,8,'fee','Fee Income',NULL,'2023-06-14','06','2023','140',29,25,NULL,NULL,NULL,NULL,NULL,NULL,100.0000,100.0000,NULL,1,NULL,'2023-06-14 09:31:18','2023-06-15 03:30:54',NULL,1,NULL,0,NULL),(138,1,1,'fee','Fee Income',NULL,'2023-06-14','06','2023','140',29,25,NULL,NULL,NULL,NULL,NULL,NULL,100.0000,100.0000,NULL,1,NULL,'2023-06-14 09:31:18','2023-06-15 03:30:54',NULL,1,NULL,0,NULL),(139,1,1,'disbursement','Loan Disbursement',NULL,'2023-06-14','06','2023','25',29,25,NULL,NULL,NULL,NULL,NULL,NULL,NULL,10000.0000,NULL,1,NULL,'2023-06-14 09:31:18','2023-06-14 09:31:18',NULL,1,NULL,0,NULL),(140,1,2,'disbursement','Loan Disbursement',NULL,'2023-06-14','06','2023','25',29,25,NULL,NULL,NULL,NULL,NULL,NULL,10000.0000,NULL,NULL,1,NULL,'2023-06-14 09:31:18','2023-06-14 09:31:18',NULL,1,NULL,0,NULL),(141,1,8,'fee','Fee Income',NULL,'2023-06-14','06','2023','144',30,24,NULL,NULL,NULL,NULL,NULL,NULL,100.0000,100.0000,NULL,1,NULL,'2023-06-14 09:31:34','2023-06-15 03:28:12',NULL,1,NULL,0,NULL),(142,1,1,'fee','Fee Income',NULL,'2023-06-14','06','2023','144',30,24,NULL,NULL,NULL,NULL,NULL,NULL,100.0000,100.0000,NULL,1,NULL,'2023-06-14 09:31:34','2023-06-15 03:28:12',NULL,1,NULL,0,NULL),(143,1,1,'disbursement','Loan Disbursement',NULL,'2023-06-14','06','2023','24',30,24,NULL,NULL,NULL,NULL,NULL,NULL,NULL,10000.0000,NULL,1,NULL,'2023-06-14 09:31:34','2023-06-14 09:31:34',NULL,1,NULL,0,NULL),(144,1,2,'disbursement','Loan Disbursement',NULL,'2023-06-14','06','2023','24',30,24,NULL,NULL,NULL,NULL,NULL,NULL,10000.0000,NULL,NULL,1,NULL,'2023-06-14 09:31:34','2023-06-14 09:31:34',NULL,1,NULL,0,NULL),(145,1,8,'fee','Fee Income',NULL,'2023-06-13','06','2023','148',30,24,NULL,NULL,NULL,NULL,NULL,NULL,NULL,100.0000,NULL,1,NULL,'2023-06-15 03:28:25','2023-06-15 03:28:25',NULL,1,NULL,0,NULL),(146,1,1,'fee','Fee Income',NULL,'2023-06-13','06','2023','148',30,24,NULL,NULL,NULL,NULL,NULL,NULL,100.0000,NULL,NULL,1,NULL,'2023-06-15 03:28:25','2023-06-15 03:28:25',NULL,1,NULL,0,NULL),(147,1,1,'disbursement','Loan Disbursement',NULL,'2023-06-13','06','2023','24',30,24,NULL,NULL,NULL,NULL,NULL,NULL,NULL,10000.0000,NULL,1,NULL,'2023-06-15 03:28:25','2023-06-15 03:28:25',NULL,1,NULL,0,NULL),(148,1,2,'disbursement','Loan Disbursement',NULL,'2023-06-13','06','2023','24',30,24,NULL,NULL,NULL,NULL,NULL,NULL,10000.0000,NULL,NULL,1,NULL,'2023-06-15 03:28:25','2023-06-15 03:28:25',NULL,1,NULL,0,NULL),(149,1,8,'fee','Fee Income',NULL,'2023-06-13','06','2023','152',29,25,NULL,NULL,NULL,NULL,NULL,NULL,NULL,100.0000,NULL,1,NULL,'2023-06-15 03:30:59','2023-06-15 03:30:59',NULL,1,NULL,0,NULL),(150,1,1,'fee','Fee Income',NULL,'2023-06-13','06','2023','152',29,25,NULL,NULL,NULL,NULL,NULL,NULL,100.0000,NULL,NULL,1,NULL,'2023-06-15 03:30:59','2023-06-15 03:30:59',NULL,1,NULL,0,NULL),(151,1,1,'disbursement','Loan Disbursement',NULL,'2023-06-13','06','2023','25',29,25,NULL,NULL,NULL,NULL,NULL,NULL,NULL,10000.0000,NULL,1,NULL,'2023-06-15 03:30:59','2023-06-15 03:30:59',NULL,1,NULL,0,NULL),(152,1,2,'disbursement','Loan Disbursement',NULL,'2023-06-13','06','2023','25',29,25,NULL,NULL,NULL,NULL,NULL,NULL,10000.0000,NULL,NULL,1,NULL,'2023-06-15 03:30:59','2023-06-15 03:30:59',NULL,1,NULL,0,NULL),(153,1,8,'fee','Fee Income',NULL,'2023-06-13','06','2023','156',28,26,NULL,NULL,NULL,NULL,NULL,NULL,NULL,100.0000,NULL,1,NULL,'2023-06-15 03:32:03','2023-06-15 03:32:03',NULL,1,NULL,0,NULL),(154,1,1,'fee','Fee Income',NULL,'2023-06-13','06','2023','156',28,26,NULL,NULL,NULL,NULL,NULL,NULL,100.0000,NULL,NULL,1,NULL,'2023-06-15 03:32:03','2023-06-15 03:32:03',NULL,1,NULL,0,NULL),(155,1,1,'disbursement','Loan Disbursement',NULL,'2023-06-13','06','2023','26',28,26,NULL,NULL,NULL,NULL,NULL,NULL,NULL,10000.0000,NULL,1,NULL,'2023-06-15 03:32:03','2023-06-15 03:32:03',NULL,1,NULL,0,NULL),(156,1,2,'disbursement','Loan Disbursement',NULL,'2023-06-13','06','2023','26',28,26,NULL,NULL,NULL,NULL,NULL,NULL,10000.0000,NULL,NULL,1,NULL,'2023-06-15 03:32:03','2023-06-15 03:32:03',NULL,1,NULL,0,NULL),(157,1,8,'fee','Fee Income',NULL,'2023-06-13','06','2023','160',27,27,NULL,NULL,NULL,NULL,NULL,NULL,NULL,50.0000,NULL,1,NULL,'2023-06-15 03:34:33','2023-06-15 03:34:33',NULL,1,NULL,0,NULL),(158,1,1,'fee','Fee Income',NULL,'2023-06-13','06','2023','160',27,27,NULL,NULL,NULL,NULL,NULL,NULL,50.0000,NULL,NULL,1,NULL,'2023-06-15 03:34:33','2023-06-15 03:34:33',NULL,1,NULL,0,NULL),(159,1,1,'disbursement','Loan Disbursement',NULL,'2023-06-13','06','2023','27',27,27,NULL,NULL,NULL,NULL,NULL,NULL,NULL,6000.0000,NULL,1,NULL,'2023-06-15 03:34:33','2023-06-15 03:34:33',NULL,1,NULL,0,NULL),(160,1,2,'disbursement','Loan Disbursement',NULL,'2023-06-13','06','2023','27',27,27,NULL,NULL,NULL,NULL,NULL,NULL,6000.0000,NULL,NULL,1,NULL,'2023-06-15 03:34:33','2023-06-15 03:34:33',NULL,1,NULL,0,NULL),(161,1,8,'fee','Fee Income',NULL,'2023-06-15','06','2023','164',32,28,NULL,NULL,NULL,NULL,NULL,NULL,50.0000,50.0000,NULL,1,NULL,'2023-06-17 06:45:19','2023-06-17 06:45:52',NULL,1,NULL,0,NULL),(162,1,1,'fee','Fee Income',NULL,'2023-06-15','06','2023','164',32,28,NULL,NULL,NULL,NULL,NULL,NULL,50.0000,50.0000,NULL,1,NULL,'2023-06-17 06:45:19','2023-06-17 06:45:52',NULL,1,NULL,0,NULL),(163,1,1,'disbursement','Loan Disbursement',NULL,'2023-06-15','06','2023','28',32,28,NULL,NULL,NULL,NULL,NULL,NULL,NULL,6000.0000,NULL,1,NULL,'2023-06-17 06:45:19','2023-06-17 06:45:19',NULL,1,NULL,0,NULL),(164,1,2,'disbursement','Loan Disbursement',NULL,'2023-06-15','06','2023','28',32,28,NULL,NULL,NULL,NULL,NULL,NULL,6000.0000,NULL,NULL,1,NULL,'2023-06-17 06:45:19','2023-06-17 06:45:19',NULL,1,NULL,0,NULL),(165,1,8,'fee','Fee Income',NULL,'2023-06-16','06','2023','168',32,28,NULL,NULL,NULL,NULL,NULL,NULL,50.0000,50.0000,NULL,1,NULL,'2023-06-17 06:45:57','2023-06-17 06:46:31',NULL,1,NULL,0,NULL),(166,1,1,'fee','Fee Income',NULL,'2023-06-16','06','2023','168',32,28,NULL,NULL,NULL,NULL,NULL,NULL,50.0000,50.0000,NULL,1,NULL,'2023-06-17 06:45:57','2023-06-17 06:46:31',NULL,1,NULL,0,NULL),(167,1,1,'disbursement','Loan Disbursement',NULL,'2023-06-16','06','2023','28',32,28,NULL,NULL,NULL,NULL,NULL,NULL,NULL,6000.0000,NULL,1,NULL,'2023-06-17 06:45:57','2023-06-17 06:45:57',NULL,1,NULL,0,NULL),(168,1,2,'disbursement','Loan Disbursement',NULL,'2023-06-16','06','2023','28',32,28,NULL,NULL,NULL,NULL,NULL,NULL,6000.0000,NULL,NULL,1,NULL,'2023-06-17 06:45:57','2023-06-17 06:45:57',NULL,1,NULL,0,NULL),(169,1,8,'fee','Fee Income',NULL,'2023-06-15','06','2023','172',32,28,NULL,NULL,NULL,NULL,NULL,NULL,50.0000,50.0000,NULL,1,NULL,'2023-06-17 06:46:36','2023-06-17 06:47:02',NULL,1,NULL,0,NULL),(170,1,1,'fee','Fee Income',NULL,'2023-06-15','06','2023','172',32,28,NULL,NULL,NULL,NULL,NULL,NULL,50.0000,50.0000,NULL,1,NULL,'2023-06-17 06:46:36','2023-06-17 06:47:02',NULL,1,NULL,0,NULL),(171,1,1,'disbursement','Loan Disbursement',NULL,'2023-06-15','06','2023','28',32,28,NULL,NULL,NULL,NULL,NULL,NULL,NULL,6000.0000,NULL,1,NULL,'2023-06-17 06:46:36','2023-06-17 06:46:36',NULL,1,NULL,0,NULL),(172,1,2,'disbursement','Loan Disbursement',NULL,'2023-06-15','06','2023','28',32,28,NULL,NULL,NULL,NULL,NULL,NULL,6000.0000,NULL,NULL,1,NULL,'2023-06-17 06:46:36','2023-06-17 06:46:36',NULL,1,NULL,0,NULL),(173,1,8,'fee','Fee Income',NULL,'2023-06-15','06','2023','176',32,28,NULL,NULL,NULL,NULL,NULL,NULL,NULL,50.0000,NULL,1,NULL,'2023-06-17 06:47:12','2023-06-17 06:47:12',NULL,1,NULL,0,NULL),(174,1,1,'fee','Fee Income',NULL,'2023-06-15','06','2023','176',32,28,NULL,NULL,NULL,NULL,NULL,NULL,50.0000,NULL,NULL,1,NULL,'2023-06-17 06:47:12','2023-06-17 06:47:12',NULL,1,NULL,0,NULL),(175,1,1,'disbursement','Loan Disbursement',NULL,'2023-06-15','06','2023','28',32,28,NULL,NULL,NULL,NULL,NULL,NULL,NULL,6000.0000,NULL,1,NULL,'2023-06-17 06:47:12','2023-06-17 06:47:12',NULL,1,NULL,0,NULL),(176,1,2,'disbursement','Loan Disbursement',NULL,'2023-06-15','06','2023','28',32,28,NULL,NULL,NULL,NULL,NULL,NULL,6000.0000,NULL,NULL,1,NULL,'2023-06-17 06:47:12','2023-06-17 06:47:12',NULL,1,NULL,0,NULL),(177,1,8,'fee','Fee Income',NULL,'2023-06-15','06','2023','180',33,29,NULL,NULL,NULL,NULL,NULL,NULL,NULL,50.0000,NULL,1,NULL,'2023-06-17 06:57:04','2023-06-17 06:57:04',NULL,1,NULL,0,NULL),(178,1,1,'fee','Fee Income',NULL,'2023-06-15','06','2023','180',33,29,NULL,NULL,NULL,NULL,NULL,NULL,50.0000,NULL,NULL,1,NULL,'2023-06-17 06:57:04','2023-06-17 06:57:04',NULL,1,NULL,0,NULL),(179,1,1,'disbursement','Loan Disbursement',NULL,'2023-06-15','06','2023','29',33,29,NULL,NULL,NULL,NULL,NULL,NULL,NULL,3000.0000,NULL,1,NULL,'2023-06-17 06:57:04','2023-06-17 06:57:04',NULL,1,NULL,0,NULL),(180,1,2,'disbursement','Loan Disbursement',NULL,'2023-06-15','06','2023','29',33,29,NULL,NULL,NULL,NULL,NULL,NULL,3000.0000,NULL,NULL,1,NULL,'2023-06-17 06:57:04','2023-06-17 06:57:04',NULL,1,NULL,0,NULL),(181,1,8,'fee','Fee Income',NULL,'2023-06-15','06','2023','184',34,30,NULL,NULL,NULL,NULL,NULL,NULL,NULL,50.0000,NULL,1,NULL,'2023-06-17 07:02:59','2023-06-17 07:02:59',NULL,1,NULL,0,NULL),(182,1,1,'fee','Fee Income',NULL,'2023-06-15','06','2023','184',34,30,NULL,NULL,NULL,NULL,NULL,NULL,50.0000,NULL,NULL,1,NULL,'2023-06-17 07:02:59','2023-06-17 07:02:59',NULL,1,NULL,0,NULL),(183,1,1,'disbursement','Loan Disbursement',NULL,'2023-06-15','06','2023','30',34,30,NULL,NULL,NULL,NULL,NULL,NULL,NULL,6000.0000,NULL,1,NULL,'2023-06-17 07:02:59','2023-06-17 07:02:59',NULL,1,NULL,0,NULL),(184,1,2,'disbursement','Loan Disbursement',NULL,'2023-06-15','06','2023','30',34,30,NULL,NULL,NULL,NULL,NULL,NULL,6000.0000,NULL,NULL,1,NULL,'2023-06-17 07:02:59','2023-06-17 07:02:59',NULL,1,NULL,0,NULL),(185,1,1,'disbursement','Loan Disbursement',NULL,'2023-06-24','06','2023','31',35,31,NULL,NULL,NULL,NULL,NULL,NULL,NULL,15000.0000,NULL,1,NULL,'2023-06-24 07:05:12','2023-06-24 07:05:12',NULL,1,NULL,0,NULL),(186,1,2,'disbursement','Loan Disbursement',NULL,'2023-06-24','06','2023','31',35,31,NULL,NULL,NULL,NULL,NULL,NULL,15000.0000,NULL,NULL,1,NULL,'2023-06-24 07:05:12','2023-06-24 07:05:12',NULL,1,NULL,0,NULL),(187,1,1,'disbursement','Loan Disbursement',NULL,'2023-06-23','06','2023','31',35,31,NULL,NULL,NULL,NULL,NULL,NULL,NULL,15000.0000,NULL,1,NULL,'2023-06-24 07:06:04','2023-06-24 07:06:04',NULL,1,NULL,0,NULL),(188,1,2,'disbursement','Loan Disbursement',NULL,'2023-06-23','06','2023','31',35,31,NULL,NULL,NULL,NULL,NULL,NULL,15000.0000,NULL,NULL,1,NULL,'2023-06-24 07:06:04','2023-06-24 07:06:04',NULL,1,NULL,0,NULL),(189,1,1,'disbursement','Loan Disbursement',NULL,'2023-06-23','06','2023','32',36,32,NULL,NULL,NULL,NULL,NULL,NULL,NULL,20000.0000,NULL,1,NULL,'2023-06-24 07:07:51','2023-06-24 07:07:51',NULL,1,NULL,0,NULL),(190,1,2,'disbursement','Loan Disbursement',NULL,'2023-06-23','06','2023','32',36,32,NULL,NULL,NULL,NULL,NULL,NULL,20000.0000,NULL,NULL,1,NULL,'2023-06-24 07:07:51','2023-06-24 07:07:51',NULL,1,NULL,0,NULL),(191,1,8,'fee','Fee Income',NULL,'2023-05-06','05','2023','194',14,2,NULL,NULL,NULL,NULL,NULL,NULL,50.0000,50.0000,NULL,1,NULL,'2023-06-28 06:31:10','2023-06-28 06:34:17',NULL,1,NULL,0,NULL),(192,1,1,'fee','Fee Income',NULL,'2023-05-06','05','2023','194',14,2,NULL,NULL,NULL,NULL,NULL,NULL,50.0000,50.0000,NULL,1,NULL,'2023-06-28 06:31:10','2023-06-28 06:34:17',NULL,1,NULL,0,NULL),(193,1,1,'disbursement','Loan Disbursement',NULL,'2023-05-06','05','2023','2',14,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,20000.0000,NULL,1,NULL,'2023-06-28 06:31:10','2023-06-28 06:31:10',NULL,1,NULL,0,NULL),(194,1,2,'disbursement','Loan Disbursement',NULL,'2023-05-06','05','2023','2',14,2,NULL,NULL,NULL,NULL,NULL,NULL,20000.0000,NULL,NULL,1,NULL,'2023-06-28 06:31:10','2023-06-28 06:31:10',NULL,1,NULL,0,NULL),(195,1,8,'fee','Fee Income',NULL,'2023-06-28','06','2023','198',40,33,NULL,NULL,NULL,NULL,NULL,NULL,50.0000,50.0000,NULL,1,NULL,'2023-06-29 06:41:40','2023-06-29 06:42:34',NULL,1,NULL,0,NULL),(196,1,1,'fee','Fee Income',NULL,'2023-06-28','06','2023','198',40,33,NULL,NULL,NULL,NULL,NULL,NULL,50.0000,50.0000,NULL,1,NULL,'2023-06-29 06:41:40','2023-06-29 06:42:34',NULL,1,NULL,0,NULL),(197,1,1,'disbursement','Loan Disbursement',NULL,'2023-06-28','06','2023','33',40,33,NULL,NULL,NULL,NULL,NULL,NULL,NULL,7000.0000,NULL,1,NULL,'2023-06-29 06:41:40','2023-06-29 06:41:40',NULL,1,NULL,0,NULL),(198,1,2,'disbursement','Loan Disbursement',NULL,'2023-06-28','06','2023','33',40,33,NULL,NULL,NULL,NULL,NULL,NULL,7000.0000,NULL,NULL,1,NULL,'2023-06-29 06:41:40','2023-06-29 06:41:40',NULL,1,NULL,0,NULL),(199,1,8,'fee','Fee Income',NULL,'2023-06-27','06','2023','202',40,33,NULL,NULL,NULL,NULL,NULL,NULL,NULL,50.0000,NULL,1,NULL,'2023-06-29 06:42:39','2023-06-29 06:42:39',NULL,1,NULL,0,NULL),(200,1,1,'fee','Fee Income',NULL,'2023-06-27','06','2023','202',40,33,NULL,NULL,NULL,NULL,NULL,NULL,50.0000,NULL,NULL,1,NULL,'2023-06-29 06:42:39','2023-06-29 06:42:39',NULL,1,NULL,0,NULL),(201,1,1,'disbursement','Loan Disbursement',NULL,'2023-06-27','06','2023','33',40,33,NULL,NULL,NULL,NULL,NULL,NULL,NULL,7000.0000,NULL,1,NULL,'2023-06-29 06:42:39','2023-06-29 06:42:39',NULL,1,NULL,0,NULL),(202,1,2,'disbursement','Loan Disbursement',NULL,'2023-06-27','06','2023','33',40,33,NULL,NULL,NULL,NULL,NULL,NULL,7000.0000,NULL,NULL,1,NULL,'2023-06-29 06:42:39','2023-06-29 06:42:39',NULL,1,NULL,0,NULL),(203,1,8,'fee','Fee Income',NULL,'2023-06-27','06','2023','206',39,34,NULL,NULL,NULL,NULL,NULL,NULL,NULL,150.0000,NULL,1,NULL,'2023-06-29 06:44:00','2023-06-29 06:44:00',NULL,1,NULL,0,NULL),(204,1,1,'fee','Fee Income',NULL,'2023-06-27','06','2023','206',39,34,NULL,NULL,NULL,NULL,NULL,NULL,150.0000,NULL,NULL,1,NULL,'2023-06-29 06:44:00','2023-06-29 06:44:00',NULL,1,NULL,0,NULL),(205,1,1,'disbursement','Loan Disbursement',NULL,'2023-06-27','06','2023','34',39,34,NULL,NULL,NULL,NULL,NULL,NULL,NULL,100000.0000,NULL,1,NULL,'2023-06-29 06:44:00','2023-06-29 06:44:00',NULL,1,NULL,0,NULL),(206,1,2,'disbursement','Loan Disbursement',NULL,'2023-06-27','06','2023','34',39,34,NULL,NULL,NULL,NULL,NULL,NULL,100000.0000,NULL,NULL,1,NULL,'2023-06-29 06:44:00','2023-06-29 06:44:00',NULL,1,NULL,0,NULL),(207,1,8,'fee','Fee Income',NULL,'2023-06-27','06','2023','210',38,35,NULL,NULL,NULL,NULL,NULL,NULL,NULL,150.0000,NULL,1,NULL,'2023-06-29 06:45:13','2023-06-29 06:45:13',NULL,1,NULL,0,NULL),(208,1,1,'fee','Fee Income',NULL,'2023-06-27','06','2023','210',38,35,NULL,NULL,NULL,NULL,NULL,NULL,150.0000,NULL,NULL,1,NULL,'2023-06-29 06:45:13','2023-06-29 06:45:13',NULL,1,NULL,0,NULL),(209,1,1,'disbursement','Loan Disbursement',NULL,'2023-06-27','06','2023','35',38,35,NULL,NULL,NULL,NULL,NULL,NULL,NULL,100000.0000,NULL,1,NULL,'2023-06-29 06:45:13','2023-06-29 06:45:13',NULL,1,NULL,0,NULL),(210,1,2,'disbursement','Loan Disbursement',NULL,'2023-06-27','06','2023','35',38,35,NULL,NULL,NULL,NULL,NULL,NULL,100000.0000,NULL,NULL,1,NULL,'2023-06-29 06:45:13','2023-06-29 06:45:13',NULL,1,NULL,0,NULL),(211,1,8,'fee','Fee Income',NULL,'2023-06-27','06','2023','214',37,36,NULL,NULL,NULL,NULL,NULL,NULL,NULL,50.0000,NULL,1,NULL,'2023-06-29 06:45:48','2023-06-29 06:45:48',NULL,1,NULL,0,NULL),(212,1,1,'fee','Fee Income',NULL,'2023-06-27','06','2023','214',37,36,NULL,NULL,NULL,NULL,NULL,NULL,50.0000,NULL,NULL,1,NULL,'2023-06-29 06:45:48','2023-06-29 06:45:48',NULL,1,NULL,0,NULL),(213,1,1,'disbursement','Loan Disbursement',NULL,'2023-06-27','06','2023','36',37,36,NULL,NULL,NULL,NULL,NULL,NULL,NULL,6000.0000,NULL,1,NULL,'2023-06-29 06:45:48','2023-06-29 06:45:48',NULL,1,NULL,0,NULL),(214,1,2,'disbursement','Loan Disbursement',NULL,'2023-06-27','06','2023','36',37,36,NULL,NULL,NULL,NULL,NULL,NULL,6000.0000,NULL,NULL,1,NULL,'2023-06-29 06:45:48','2023-06-29 06:45:48',NULL,1,NULL,0,NULL);

--
-- Table structure for table `loan_applications`
--

CREATE TABLE `loan_applications` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `borrower_id` int unsigned DEFAULT NULL,
  `loan_product_id` int NOT NULL,
  `amount` decimal(65,4) DEFAULT NULL,
  `status` enum('approved','pending','declined') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'pending',
  `notes` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `branch_id` int DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `loan_applications_id_index` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `loan_applications`
--


--
-- Table structure for table `loan_charges`
--

CREATE TABLE `loan_charges` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int DEFAULT NULL,
  `charge_id` int DEFAULT NULL,
  `loan_id` int DEFAULT NULL,
  `amount` decimal(65,2) DEFAULT NULL,
  `date` date DEFAULT NULL,
  `grace_period` int NOT NULL DEFAULT '0',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=75 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `loan_charges`
--

INSERT INTO `loan_charges` VALUES (19,1,1,18,0.00,NULL,0,'2023-05-31 05:02:33','2023-05-31 05:02:33'),(21,1,1,17,100.00,NULL,0,'2023-05-31 06:20:09','2023-05-31 06:20:09'),(24,1,1,15,100.00,NULL,0,'2023-05-31 06:20:47','2023-05-31 06:20:47'),(25,1,1,14,150.00,NULL,0,'2023-05-31 06:20:57','2023-05-31 06:20:57'),(26,1,1,13,100.00,NULL,0,'2023-05-31 06:21:09','2023-05-31 06:21:09'),(27,1,1,12,100.00,NULL,0,'2023-05-31 06:21:19','2023-05-31 06:21:19'),(29,1,1,11,100.00,NULL,0,'2023-05-31 06:21:39','2023-05-31 06:21:39'),(30,1,1,10,50.00,NULL,0,'2023-05-31 06:21:49','2023-05-31 06:21:49'),(31,1,1,9,50.00,NULL,0,'2023-05-31 06:22:00','2023-05-31 06:22:00'),(32,1,1,8,100.00,NULL,0,'2023-05-31 06:22:14','2023-05-31 06:22:14'),(33,1,1,7,150.00,NULL,0,'2023-05-31 06:22:26','2023-05-31 06:22:26'),(41,1,1,16,100.00,NULL,0,'2023-05-31 06:25:43','2023-05-31 06:25:43'),(42,1,1,6,100.00,NULL,0,'2023-05-31 06:29:33','2023-05-31 06:29:33'),(43,1,1,5,100.00,NULL,0,'2023-05-31 06:29:45','2023-05-31 06:29:45'),(44,1,1,4,50.00,NULL,0,'2023-05-31 06:29:59','2023-05-31 06:29:59'),(45,1,1,3,50.00,NULL,0,'2023-05-31 06:30:12','2023-05-31 06:30:12'),(47,1,1,2,50.00,NULL,0,'2023-05-31 06:44:02','2023-05-31 06:44:02'),(55,1,1,20,100.00,NULL,0,'2023-06-11 08:02:24','2023-06-11 08:02:24'),(56,1,1,19,50.00,NULL,0,'2023-06-11 08:02:44','2023-06-11 08:02:44'),(57,1,1,22,100.00,NULL,0,'2023-06-11 08:09:35','2023-06-11 08:09:35'),(59,1,1,23,100.00,NULL,0,'2023-06-12 08:03:04','2023-06-12 08:03:04'),(60,1,1,21,100.00,NULL,0,'2023-06-12 08:50:26','2023-06-12 08:50:26'),(61,1,1,24,100.00,NULL,0,'2023-06-14 04:26:23','2023-06-14 04:26:23'),(62,1,1,25,100.00,NULL,0,'2023-06-14 04:27:44','2023-06-14 04:27:44'),(63,1,1,26,100.00,NULL,0,'2023-06-14 04:28:45','2023-06-14 04:28:45'),(64,1,1,27,50.00,NULL,0,'2023-06-14 04:29:48','2023-06-14 04:29:48'),(66,1,1,28,50.00,NULL,0,'2023-06-17 06:44:29','2023-06-17 06:44:29'),(67,1,1,29,50.00,NULL,0,'2023-06-17 06:46:57','2023-06-17 06:46:57'),(68,1,1,30,50.00,NULL,0,'2023-06-17 07:02:17','2023-06-17 07:02:17'),(69,1,1,31,0.00,NULL,0,'2023-06-24 07:04:48','2023-06-24 07:04:48'),(70,1,1,32,0.00,NULL,0,'2023-06-24 07:07:37','2023-06-24 07:07:37'),(71,1,1,33,50.00,NULL,0,'2023-06-29 05:45:00','2023-06-29 05:45:00'),(72,1,1,34,150.00,NULL,0,'2023-06-29 05:47:18','2023-06-29 05:47:18'),(73,1,1,35,150.00,NULL,0,'2023-06-29 05:48:12','2023-06-29 05:48:12'),(74,1,1,36,50.00,NULL,0,'2023-06-29 05:49:01','2023-06-29 05:49:01');

--
-- Table structure for table `loan_comments`
--

CREATE TABLE `loan_comments` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int unsigned NOT NULL,
  `loan_id` int unsigned NOT NULL,
  `notes` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `loan_comments`
--


--
-- Table structure for table `loan_disbursed_by`
--

CREATE TABLE `loan_disbursed_by` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `name` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `loan_disbursed_by`
--

INSERT INTO `loan_disbursed_by` VALUES (1,'Admin');

--
-- Table structure for table `loan_fees`
--

CREATE TABLE `loan_fees` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `loan_fee_type` enum('fixed','percentage') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `loan_fees`
--


--
-- Table structure for table `loan_fees_meta`
--

CREATE TABLE `loan_fees_meta` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int DEFAULT NULL,
  `category` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `parent_id` int DEFAULT NULL,
  `loan_fees_id` int DEFAULT NULL,
  `value` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `loan_fees_schedule` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `loan_fees_meta`
--


--
-- Table structure for table `loan_guarantors`
--

CREATE TABLE `loan_guarantors` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int unsigned DEFAULT NULL,
  `loan_id` int unsigned DEFAULT NULL,
  `borrower_id` int unsigned DEFAULT NULL,
  `guarantor_id` int unsigned DEFAULT NULL,
  `loan_application_id` int unsigned DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `loan_guarantors`
--


--
-- Table structure for table `loan_overdue_penalties`
--

CREATE TABLE `loan_overdue_penalties` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `name` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `type` enum('fixed','percentage') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `amount` decimal(65,2) DEFAULT NULL,
  `days` int NOT NULL DEFAULT '10',
  `active` tinyint NOT NULL DEFAULT '1',
  `notes` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `loan_overdue_penalties`
--


--
-- Table structure for table `loan_product_charges`
--

CREATE TABLE `loan_product_charges` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int DEFAULT NULL,
  `charge_id` int DEFAULT NULL,
  `loan_product_id` int DEFAULT NULL,
  `amount` decimal(65,2) DEFAULT NULL,
  `date` date DEFAULT NULL,
  `grace_period` int NOT NULL DEFAULT '0',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `penalty` tinyint NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `loan_product_charges`
--

INSERT INTO `loan_product_charges` VALUES (3,1,1,2,NULL,NULL,0,'2023-05-31 05:01:54','2023-05-31 05:01:54',0),(4,1,1,1,NULL,NULL,0,'2023-05-31 05:02:01','2023-05-31 05:02:01',0);

--
-- Table structure for table `loan_products`
--

CREATE TABLE `loan_products` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int DEFAULT NULL,
  `name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `loan_disbursed_by_id` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `minimum_principal` decimal(65,4) DEFAULT NULL,
  `default_principal` decimal(65,4) DEFAULT NULL,
  `maximum_principal` decimal(65,4) DEFAULT NULL,
  `interest_method` enum('flat_rate','declining_balance_equal_installments','declining_balance_equal_principal','interest_only','compound_interest') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'flat_rate',
  `interest_rate` decimal(10,4) DEFAULT NULL,
  `interest_period` enum('day','week','month','year') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'year',
  `minimum_interest_rate` decimal(10,4) DEFAULT NULL,
  `default_interest_rate` decimal(10,4) DEFAULT NULL,
  `maximum_interest_rate` decimal(10,4) DEFAULT NULL,
  `override_interest` tinyint NOT NULL DEFAULT '0',
  `override_interest_amount` decimal(10,4) NOT NULL DEFAULT '0.0000',
  `default_loan_duration` int DEFAULT NULL,
  `default_loan_duration_type` enum('day','week','month','year') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'year',
  `repayment_cycle` enum('daily','weekly','monthly','bi_monthly','quarterly','semi_annually','annually') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'monthly',
  `decimal_places` enum('round_off_to_two_decimal','round_off_to_integer') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'round_off_to_two_decimal',
  `repayment_order` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `loan_fees_schedule` enum('dont_include','distribute_fees_evenly','charge_fees_on_released_date','charge_fees_on_first_payment','charge_fees_on_last_payment') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT 'distribute_fees_evenly',
  `branch_access` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `grace_on_interest_charged` int DEFAULT NULL,
  `advanced_enabled` tinyint DEFAULT '0',
  `enable_late_repayment_penalty` tinyint DEFAULT '0',
  `enable_after_maturity_date_penalty` tinyint DEFAULT '0',
  `after_maturity_date_penalty_type` enum('percentage','fixed') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT 'percentage',
  `late_repayment_penalty_type` enum('percentage','fixed') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT 'percentage',
  `late_repayment_penalty_calculate` enum('overdue_principal','overdue_principal_interest','overdue_principal_interest_fees','total_overdue') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT 'overdue_principal',
  `after_maturity_date_penalty_calculate` enum('overdue_principal','overdue_principal_interest','overdue_principal_interest_fees','total_overdue') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT 'overdue_principal',
  `late_repayment_penalty_amount` decimal(10,4) DEFAULT NULL,
  `after_maturity_date_penalty_amount` decimal(10,4) DEFAULT NULL,
  `late_repayment_penalty_grace_period` int DEFAULT NULL,
  `after_maturity_date_penalty_grace_period` int DEFAULT NULL,
  `late_repayment_penalty_recurring` int DEFAULT NULL,
  `after_maturity_date_penalty_recurring` int DEFAULT NULL,
  `accounting_rule` enum('cash_based','accrual_periodic','accrual_upfront') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT 'cash_based',
  `chart_fund_source_id` int DEFAULT NULL,
  `chart_loan_portfolio_id` int DEFAULT NULL,
  `chart_receivable_interest_id` int DEFAULT NULL,
  `chart_receivable_fee_id` int DEFAULT NULL,
  `chart_receivable_penalty_id` int DEFAULT NULL,
  `chart_loan_over_payments_id` int DEFAULT NULL,
  `chart_income_interest_id` int DEFAULT NULL,
  `chart_income_fee_id` int DEFAULT NULL,
  `chart_income_penalty_id` int DEFAULT NULL,
  `chart_income_recovery_id` int DEFAULT NULL,
  `chart_loans_written_off_id` int DEFAULT NULL,
  `after_maturity_date_penalty_system_type` enum('system','user') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT 'system',
  `after_maturity_date_penalties` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `loan_products`
--

INSERT INTO `loan_products` VALUES (1,NULL,'Personal Loan','a:0:{}',0.0000,100.0000,1000000.0000,'flat_rate',NULL,'month',0.0000,8.0000,50.0000,0,0.0000,4,'month','monthly','round_off_to_two_decimal','a:4:{i:0;s:7:\"penalty\";i:1;s:4:\"fees\";i:2;s:8:\"interest\";i:3;s:9:\"principal\";}',NULL,NULL,0,0,1,0,'fixed','percentage','overdue_principal_interest','overdue_principal',1.0000,NULL,0,0,NULL,NULL,'cash_based',1,2,3,4,5,6,7,8,9,10,11,'system',NULL),(2,NULL,'Business Loan','a:0:{}',1000.0000,100.0000,100000000.0000,'flat_rate',NULL,'month',0.0000,8.0000,50.0000,0,0.0000,12,'month','daily','round_off_to_two_decimal','a:4:{i:0;s:7:\"penalty\";i:1;s:4:\"fees\";i:2;s:8:\"interest\";i:3;s:9:\"principal\";}',NULL,NULL,0,0,1,0,'percentage','percentage','overdue_principal_interest','overdue_principal',1.0000,NULL,0,0,NULL,NULL,'cash_based',1,2,3,4,5,6,7,8,9,10,11,'system',NULL);

--
-- Table structure for table `loan_repayment_methods`
--

CREATE TABLE `loan_repayment_methods` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `name` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `loan_repayment_methods`
--

INSERT INTO `loan_repayment_methods` VALUES (1,'Cash');

--
-- Table structure for table `loan_repayments`
--

CREATE TABLE `loan_repayments` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `loan_id` int unsigned NOT NULL,
  `borrower_id` int unsigned DEFAULT NULL,
  `user_id` int unsigned NOT NULL,
  `amount` decimal(10,4) NOT NULL,
  `repayment_method_id` int unsigned NOT NULL,
  `collection_date` date DEFAULT NULL,
  `notes` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `month` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `year` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `due_date` date DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  `branch_id` int DEFAULT NULL,
  `receipt` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `loan_repayments_id_index` (`id`),
  KEY `loan_repayments_borrower_id_index` (`borrower_id`),
  KEY `loan_repayments_loan_id_index` (`loan_id`),
  KEY `loan_repayments_year_index` (`year`),
  KEY `loan_repayments_month_index` (`month`),
  KEY `loan_repayments_due_date_index` (`due_date`),
  KEY `loan_repayments_collection_date_index` (`collection_date`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `loan_repayments`
--


--
-- Table structure for table `loan_schedules`
--

CREATE TABLE `loan_schedules` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `loan_id` int NOT NULL,
  `borrower_id` int NOT NULL,
  `description` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `due_date` date DEFAULT NULL,
  `month` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `year` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `principal` decimal(10,4) DEFAULT NULL,
  `principal_balance` decimal(10,4) DEFAULT NULL,
  `interest` decimal(10,4) DEFAULT NULL,
  `fees` decimal(10,4) DEFAULT NULL,
  `penalty` decimal(10,4) DEFAULT NULL,
  `due` decimal(10,4) DEFAULT NULL,
  `system_generated` tinyint NOT NULL DEFAULT '0',
  `closed` tinyint NOT NULL DEFAULT '0',
  `missed` tinyint NOT NULL DEFAULT '0',
  `missed_penalty_applied` tinyint NOT NULL DEFAULT '0',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  `branch_id` int DEFAULT NULL,
  `fees_waived` decimal(65,4) DEFAULT NULL,
  `penalty_waived` decimal(65,4) DEFAULT NULL,
  `interest_waived` decimal(65,4) DEFAULT NULL,
  `principal_waived` decimal(65,4) DEFAULT NULL,
  `pay_off` decimal(10,4) DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `loan_schedules_id_index` (`id`),
  KEY `loan_schedules_borrower_id_index` (`borrower_id`),
  KEY `loan_schedules_loan_id_index` (`loan_id`),
  KEY `loan_schedules_year_index` (`year`),
  KEY `loan_schedules_month_index` (`month`),
  KEY `loan_schedules_due_date_index` (`due_date`)
) ENGINE=InnoDB AUTO_INCREMENT=230 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `loan_schedules`
--

INSERT INTO `loan_schedules` VALUES (1,17,18,'Repayment','2023-06-03','06','2023',3333.3333,6666.6667,480.0000,NULL,114.4000,3813.3333,0,0,0,1,'2023-05-31 06:23:39','2023-06-06 05:26:48','2023-06-06 05:26:48',1,NULL,NULL,NULL,NULL,NULL),(2,17,18,'Repayment','2023-07-03','07','2023',3205.1282,3461.5385,533.3333,NULL,NULL,3738.4615,0,0,0,0,'2023-05-31 06:23:39','2023-06-06 05:26:48','2023-06-06 05:26:48',1,NULL,NULL,NULL,NULL,NULL),(3,17,18,'Repayment','2023-08-03','08','2023',3461.5385,0.0000,276.9231,NULL,NULL,3738.4615,0,0,0,0,'2023-05-31 06:23:39','2023-06-06 05:26:48','2023-06-06 05:26:48',1,NULL,NULL,NULL,NULL,NULL),(4,16,17,'Repayment','2023-06-03','06','2023',3333.3333,6666.6667,480.0000,NULL,114.4000,3813.3333,0,0,0,1,'2023-05-31 06:25:57','2023-06-06 05:26:56','2023-06-06 05:26:56',1,NULL,NULL,NULL,NULL,NULL),(5,16,17,'Repayment','2023-07-03','07','2023',3205.1282,3461.5385,533.3333,NULL,NULL,3738.4615,0,0,0,0,'2023-05-31 06:25:57','2023-06-06 05:26:56','2023-06-06 05:26:56',1,NULL,NULL,NULL,NULL,NULL),(6,16,17,'Repayment','2023-08-03','08','2023',3461.5385,0.0000,276.9231,NULL,NULL,3738.4615,0,0,0,0,'2023-05-31 06:25:58','2023-06-06 05:26:56','2023-06-06 05:26:56',1,NULL,NULL,NULL,NULL,NULL),(7,15,16,'Repayment','2023-06-03','06','2023',3333.3333,6666.6667,480.0000,NULL,114.4000,3813.3333,0,0,0,1,'2023-05-31 06:27:36','2023-06-06 05:30:00','2023-06-06 05:30:00',1,NULL,NULL,NULL,NULL,NULL),(8,15,16,'Repayment','2023-07-03','07','2023',3205.1282,3461.5385,533.3333,NULL,NULL,3738.4615,0,0,0,0,'2023-05-31 06:27:36','2023-06-06 05:30:00','2023-06-06 05:30:00',1,NULL,NULL,NULL,NULL,NULL),(9,15,16,'Repayment','2023-08-03','08','2023',3461.5385,0.0000,276.9231,NULL,NULL,3738.4615,0,0,0,0,'2023-05-31 06:27:36','2023-06-06 05:30:00','2023-06-06 05:30:00',1,NULL,NULL,NULL,NULL,NULL),(10,14,15,'Repayment','2023-06-03','06','2023',3333.3333,16666.6667,960.0000,NULL,128.8000,4293.3333,0,0,0,1,'2023-05-31 06:30:30','2023-06-06 05:30:08','2023-06-06 05:30:08',1,NULL,NULL,NULL,NULL,NULL),(11,14,15,'Repayment','2023-07-03','07','2023',2840.9409,13825.7258,1333.3333,NULL,NULL,4174.2742,0,0,0,0,'2023-05-31 06:30:30','2023-06-06 05:30:08','2023-06-06 05:30:08',1,NULL,NULL,NULL,NULL,NULL),(12,14,15,'Repayment','2023-08-03','08','2023',3068.2162,10757.5096,1106.0581,NULL,NULL,4174.2742,0,0,0,0,'2023-05-31 06:30:30','2023-06-06 05:30:08','2023-06-06 05:30:08',1,NULL,NULL,NULL,NULL,NULL),(13,14,15,'Repayment','2023-09-03','09','2023',3313.6735,7443.8361,860.6008,NULL,NULL,4174.2742,0,0,0,0,'2023-05-31 06:30:30','2023-06-06 05:30:08','2023-06-06 05:30:08',1,NULL,NULL,NULL,NULL,NULL),(14,14,15,'Repayment','2023-10-03','10','2023',3578.7674,3865.0687,595.5069,NULL,NULL,4174.2742,0,0,0,0,'2023-05-31 06:30:30','2023-06-06 05:30:08','2023-06-06 05:30:08',1,NULL,NULL,NULL,NULL,NULL),(15,14,15,'Repayment','2023-11-03','11','2023',3865.0687,0.0000,309.2055,NULL,NULL,4174.2742,0,0,0,0,'2023-05-31 06:30:30','2023-06-06 05:30:08','2023-06-06 05:30:08',1,NULL,NULL,NULL,NULL,NULL),(16,13,13,'Repayment','2023-06-01','06','2023',1363.1539,8636.8461,800.0000,NULL,108.1577,2163.1539,0,0,0,1,'2023-05-31 06:31:09','2023-06-06 05:30:16','2023-06-06 05:30:16',1,NULL,NULL,NULL,NULL,NULL),(17,13,13,'Repayment','2023-07-01','07','2023',1472.2062,7164.6400,690.9477,NULL,NULL,2163.1539,0,0,0,0,'2023-05-31 06:31:09','2023-06-06 05:30:16','2023-06-06 05:30:16',1,NULL,NULL,NULL,NULL,NULL),(18,13,13,'Repayment','2023-08-01','08','2023',1589.9827,5574.6573,573.1712,NULL,NULL,2163.1539,0,0,0,0,'2023-05-31 06:31:09','2023-06-06 05:30:16','2023-06-06 05:30:16',1,NULL,NULL,NULL,NULL,NULL),(19,13,13,'Repayment','2023-09-01','09','2023',1717.1813,3857.4760,445.9726,NULL,NULL,2163.1539,0,0,0,0,'2023-05-31 06:31:09','2023-06-06 05:30:16','2023-06-06 05:30:16',1,NULL,NULL,NULL,NULL,NULL),(20,13,13,'Repayment','2023-10-01','10','2023',1854.5558,2002.9202,308.5981,NULL,NULL,2163.1539,0,0,0,0,'2023-05-31 06:31:09','2023-06-06 05:30:16','2023-06-06 05:30:16',1,NULL,NULL,NULL,NULL,NULL),(21,13,13,'Repayment','2023-11-01','11','2023',2002.9202,0.0000,160.2336,NULL,NULL,2163.1539,0,0,0,0,'2023-05-31 06:31:09','2023-06-06 05:30:16','2023-06-06 05:30:16',1,NULL,NULL,NULL,NULL,NULL),(22,12,12,'Repayment','2023-06-05','06','2023',3080.3351,6919.6649,800.0000,NULL,38.8034,3880.3351,0,0,0,1,'2023-05-31 06:32:30','2023-06-06 05:30:23','2023-06-06 05:30:23',1,NULL,NULL,NULL,NULL,NULL),(23,12,12,'Repayment','2023-07-05','07','2023',3326.7620,3592.9029,553.5732,NULL,NULL,3880.3351,0,0,0,0,'2023-05-31 06:32:30','2023-06-06 05:30:23','2023-06-06 05:30:23',1,NULL,NULL,NULL,NULL,NULL),(24,12,12,'Repayment','2023-08-05','08','2023',3592.9029,0.0000,287.4322,NULL,NULL,3880.3351,0,0,0,0,'2023-05-31 06:32:30','2023-06-06 05:30:23','2023-06-06 05:30:23',1,NULL,NULL,NULL,NULL,NULL),(25,11,10,'Repayment','2023-06-03','06','2023',1704.5645,8295.4355,800.0000,NULL,75.1369,2504.5645,0,0,0,1,'2023-05-31 06:32:49','2023-06-06 05:30:34','2023-06-06 05:30:34',1,NULL,NULL,NULL,NULL,NULL),(26,11,10,'Repayment','2023-07-03','07','2023',1840.9297,6454.5057,663.6348,NULL,NULL,2504.5645,0,0,0,0,'2023-05-31 06:32:49','2023-06-06 05:30:34','2023-06-06 05:30:34',1,NULL,NULL,NULL,NULL,NULL),(27,11,10,'Repayment','2023-08-03','08','2023',1988.2041,4466.3017,516.3605,NULL,NULL,2504.5645,0,0,0,0,'2023-05-31 06:32:49','2023-06-06 05:30:34','2023-06-06 05:30:34',1,NULL,NULL,NULL,NULL,NULL),(28,11,10,'Repayment','2023-09-03','09','2023',2147.2604,2319.0412,357.3041,NULL,NULL,2504.5645,0,0,0,0,'2023-05-31 06:32:49','2023-06-06 05:30:34','2023-06-06 05:30:34',1,NULL,NULL,NULL,NULL,NULL),(29,11,10,'Repayment','2023-10-03','10','2023',2319.0412,0.0000,185.5233,NULL,NULL,2504.5645,0,0,0,0,'2023-05-31 06:32:49','2023-06-06 05:30:34','2023-06-06 05:30:34',1,NULL,NULL,NULL,NULL,NULL),(30,10,9,'Repayment','2023-06-03','06','2023',1540.1676,3459.8324,400.0000,NULL,58.2050,1940.1676,0,0,0,1,'2023-05-31 06:33:16','2023-06-06 05:30:43','2023-06-06 05:30:43',1,NULL,NULL,NULL,NULL,NULL),(31,10,9,'Repayment','2023-07-03','07','2023',1663.3810,1796.4515,276.7866,NULL,NULL,1940.1676,0,0,0,0,'2023-05-31 06:33:16','2023-06-06 05:30:43','2023-06-06 05:30:43',1,NULL,NULL,NULL,NULL,NULL),(32,10,9,'Repayment','2023-08-03','08','2023',1796.4515,0.0000,143.7161,NULL,NULL,1940.1676,0,0,0,0,'2023-05-31 06:33:16','2023-06-06 05:30:43','2023-06-06 05:30:43',1,NULL,NULL,NULL,NULL,NULL),(33,9,8,'Repayment','2023-06-03','06','2023',1848.2011,4151.7989,480.0000,NULL,69.8460,2328.2011,0,0,0,1,'2023-05-31 06:33:44','2023-06-06 05:30:55','2023-06-06 05:30:55',1,NULL,NULL,NULL,NULL,NULL),(34,9,8,'Repayment','2023-07-03','07','2023',1996.0572,2155.7417,332.1439,NULL,NULL,2328.2011,0,0,0,0,'2023-05-31 06:33:44','2023-06-06 05:30:55','2023-06-06 05:30:55',1,NULL,NULL,NULL,NULL,NULL),(35,9,8,'Repayment','2023-08-03','08','2023',2155.7417,0.0000,172.4593,NULL,NULL,2328.2011,0,0,0,0,'2023-05-31 06:33:44','2023-06-06 05:30:55','2023-06-06 05:30:55',1,NULL,NULL,NULL,NULL,NULL),(36,8,7,'Repayment','2023-06-05','06','2023',4807.6923,5192.3077,800.0000,NULL,56.0769,5607.6923,0,0,0,1,'2023-05-31 06:34:08','2023-06-06 05:31:31','2023-06-06 05:31:31',1,NULL,NULL,NULL,NULL,NULL),(37,8,7,'Repayment','2023-07-05','07','2023',5192.3077,0.0000,415.3846,NULL,NULL,5607.6923,0,0,0,0,'2023-05-31 06:34:08','2023-06-06 05:31:31','2023-06-06 05:31:31',1,NULL,NULL,NULL,NULL,NULL),(38,7,6,'Repayment','2023-06-01','06','2023',2940.3494,17059.6506,1000.0000,NULL,197.0175,3940.3494,0,0,0,1,'2023-05-31 06:34:40','2023-06-06 05:31:48','2023-06-06 05:31:48',1,NULL,NULL,NULL,NULL,NULL),(39,7,6,'Repayment','2023-07-01','07','2023',3087.3668,13972.2838,852.9825,NULL,NULL,3940.3494,0,0,0,0,'2023-05-31 06:34:40','2023-06-06 05:31:48','2023-06-06 05:31:48',1,NULL,NULL,NULL,NULL,NULL),(40,7,6,'Repayment','2023-08-01','08','2023',3241.7352,10730.5486,698.6142,NULL,NULL,3940.3494,0,0,0,0,'2023-05-31 06:34:40','2023-06-06 05:31:48','2023-06-06 05:31:48',1,NULL,NULL,NULL,NULL,NULL),(41,7,6,'Repayment','2023-09-01','09','2023',3403.8219,7326.7267,536.5274,NULL,NULL,3940.3494,0,0,0,0,'2023-05-31 06:34:40','2023-06-06 05:31:48','2023-06-06 05:31:48',1,NULL,NULL,NULL,NULL,NULL),(42,7,6,'Repayment','2023-10-01','10','2023',3574.0130,3752.7137,366.3363,NULL,NULL,3940.3494,0,0,0,0,'2023-05-31 06:34:40','2023-06-06 05:31:48','2023-06-06 05:31:48',1,NULL,NULL,NULL,NULL,NULL),(43,7,6,'Repayment','2023-11-01','11','2023',3752.7137,0.0000,187.6357,NULL,NULL,3940.3494,0,0,0,0,'2023-05-31 06:34:40','2023-06-06 05:31:48','2023-06-06 05:31:48',1,NULL,NULL,NULL,NULL,NULL),(44,6,5,'Repayment','2023-06-05','06','2023',1363.1539,8636.8461,800.0000,NULL,NULL,2163.1539,0,0,0,0,'2023-05-31 06:35:14','2023-05-31 06:35:15','2023-05-31 06:35:15',1,NULL,NULL,NULL,NULL,NULL),(45,6,5,'Repayment','2023-07-05','07','2023',1472.2062,7164.6400,690.9477,NULL,NULL,2163.1539,0,0,0,0,'2023-05-31 06:35:14','2023-05-31 06:35:15','2023-05-31 06:35:15',1,NULL,NULL,NULL,NULL,NULL),(46,6,5,'Repayment','2023-08-05','08','2023',1589.9827,5574.6573,573.1712,NULL,NULL,2163.1539,0,0,0,0,'2023-05-31 06:35:14','2023-05-31 06:35:15','2023-05-31 06:35:15',1,NULL,NULL,NULL,NULL,NULL),(47,6,5,'Repayment','2023-09-05','09','2023',1717.1813,3857.4760,445.9726,NULL,NULL,2163.1539,0,0,0,0,'2023-05-31 06:35:14','2023-05-31 06:35:15','2023-05-31 06:35:15',1,NULL,NULL,NULL,NULL,NULL),(48,6,5,'Repayment','2023-10-05','10','2023',1854.5558,2002.9202,308.5981,NULL,NULL,2163.1539,0,0,0,0,'2023-05-31 06:35:14','2023-05-31 06:35:15','2023-05-31 06:35:15',1,NULL,NULL,NULL,NULL,NULL),(49,6,5,'Repayment','2023-11-05','11','2023',2002.9202,0.0000,160.2336,NULL,NULL,2163.1539,0,0,0,0,'2023-05-31 06:35:14','2023-05-31 06:35:15','2023-05-31 06:35:15',1,NULL,NULL,NULL,NULL,NULL),(50,6,5,'Repayment','2023-06-05','06','2023',1363.1539,8636.8461,800.0000,NULL,21.6315,2163.1539,0,0,0,1,'2023-05-31 06:35:15','2023-06-06 05:31:57','2023-06-06 05:31:57',1,NULL,NULL,NULL,NULL,NULL),(51,6,5,'Repayment','2023-07-05','07','2023',1472.2062,7164.6400,690.9477,NULL,NULL,2163.1539,0,0,0,0,'2023-05-31 06:35:15','2023-06-06 05:31:57','2023-06-06 05:31:57',1,NULL,NULL,NULL,NULL,NULL),(52,6,5,'Repayment','2023-08-05','08','2023',1589.9827,5574.6573,573.1712,NULL,NULL,2163.1539,0,0,0,0,'2023-05-31 06:35:15','2023-06-06 05:31:57','2023-06-06 05:31:57',1,NULL,NULL,NULL,NULL,NULL),(53,6,5,'Repayment','2023-09-05','09','2023',1717.1813,3857.4760,445.9726,NULL,NULL,2163.1539,0,0,0,0,'2023-05-31 06:35:15','2023-06-06 05:31:57','2023-06-06 05:31:57',1,NULL,NULL,NULL,NULL,NULL),(54,6,5,'Repayment','2023-10-05','10','2023',1854.5558,2002.9202,308.5981,NULL,NULL,2163.1539,0,0,0,0,'2023-05-31 06:35:15','2023-06-06 05:31:57','2023-06-06 05:31:57',1,NULL,NULL,NULL,NULL,NULL),(55,6,5,'Repayment','2023-11-05','11','2023',2002.9202,0.0000,160.2336,NULL,NULL,2163.1539,0,0,0,0,'2023-05-31 06:35:15','2023-06-06 05:31:57','2023-06-06 05:31:57',1,NULL,NULL,NULL,NULL,NULL),(56,5,4,'Repayment','2023-06-05','06','2023',3080.3351,6919.6649,800.0000,NULL,38.8034,3880.3351,0,0,0,1,'2023-05-31 06:36:00','2023-06-06 05:32:05','2023-06-06 05:32:05',1,NULL,NULL,NULL,NULL,NULL),(57,5,4,'Repayment','2023-07-05','07','2023',3326.7620,3592.9029,553.5732,NULL,NULL,3880.3351,0,0,0,0,'2023-05-31 06:36:00','2023-06-06 05:32:05','2023-06-06 05:32:05',1,NULL,NULL,NULL,NULL,NULL),(58,5,4,'Repayment','2023-08-05','08','2023',3592.9029,0.0000,287.4322,NULL,NULL,3880.3351,0,0,0,0,'2023-05-31 06:36:00','2023-06-06 05:32:05','2023-06-06 05:32:05',1,NULL,NULL,NULL,NULL,NULL),(59,4,3,'Repayment','2023-06-04','06','2023',2884.6154,3115.3846,480.0000,NULL,NULL,3364.6154,0,0,0,0,'2023-05-31 06:38:23','2023-05-31 07:50:53','2023-05-31 07:50:53',1,NULL,NULL,NULL,NULL,NULL),(60,4,3,'Repayment','2023-07-04','07','2023',3115.3846,0.0000,249.2308,NULL,NULL,3364.6154,0,0,0,0,'2023-05-31 06:38:23','2023-05-31 07:50:53','2023-05-31 07:50:53',1,NULL,NULL,NULL,NULL,NULL),(61,3,2,'Repayment','2023-06-03','06','2023',3000.0000,0.0000,240.0000,NULL,97.2000,3240.0000,0,0,0,1,'2023-05-31 06:39:08','2023-06-06 05:32:13','2023-06-06 05:32:13',1,NULL,NULL,NULL,NULL,NULL),(62,2,14,'Repayment','2023-06-01','06','2023',272.6308,1727.3692,160.0000,NULL,NULL,432.6308,0,0,0,0,'2023-05-31 06:39:29','2023-05-31 06:43:47','2023-05-31 06:43:47',1,NULL,NULL,NULL,NULL,NULL),(63,2,14,'Repayment','2023-07-01','07','2023',294.4412,1432.9280,138.1895,NULL,NULL,432.6308,0,0,0,0,'2023-05-31 06:39:29','2023-05-31 06:43:47','2023-05-31 06:43:47',1,NULL,NULL,NULL,NULL,NULL),(64,2,14,'Repayment','2023-08-01','08','2023',317.9965,1114.9315,114.6342,NULL,NULL,432.6308,0,0,0,0,'2023-05-31 06:39:29','2023-05-31 06:43:47','2023-05-31 06:43:47',1,NULL,NULL,NULL,NULL,NULL),(65,2,14,'Repayment','2023-09-01','09','2023',343.4363,771.4952,89.1945,NULL,NULL,432.6308,0,0,0,0,'2023-05-31 06:39:29','2023-05-31 06:43:47','2023-05-31 06:43:47',1,NULL,NULL,NULL,NULL,NULL),(66,2,14,'Repayment','2023-10-01','10','2023',370.9112,400.5840,61.7196,NULL,NULL,432.6308,0,0,0,0,'2023-05-31 06:39:29','2023-05-31 06:43:47','2023-05-31 06:43:47',1,NULL,NULL,NULL,NULL,NULL),(67,2,14,'Repayment','2023-11-01','11','2023',400.5840,0.0000,32.0467,NULL,NULL,432.6308,0,0,0,0,'2023-05-31 06:39:29','2023-05-31 06:43:47','2023-05-31 06:43:47',1,NULL,NULL,NULL,NULL,NULL),(68,2,14,'Repayment','2023-06-01','06','2023',2726.3077,17273.6923,1600.0000,NULL,216.3154,4326.3077,0,0,0,1,'2023-05-31 07:08:30','2023-06-06 05:31:40','2023-06-06 05:31:40',1,NULL,NULL,NULL,NULL,NULL),(69,2,14,'Repayment','2023-07-01','07','2023',2944.4123,14329.2799,1381.8954,NULL,NULL,4326.3077,0,0,0,0,'2023-05-31 07:08:30','2023-06-06 05:31:40','2023-06-06 05:31:40',1,NULL,NULL,NULL,NULL,NULL),(70,2,14,'Repayment','2023-08-01','08','2023',3179.9653,11149.3146,1146.3424,NULL,NULL,4326.3077,0,0,0,0,'2023-05-31 07:08:30','2023-06-06 05:31:40','2023-06-06 05:31:40',1,NULL,NULL,NULL,NULL,NULL),(71,2,14,'Repayment','2023-09-01','09','2023',3434.3626,7714.9520,891.9452,NULL,NULL,4326.3077,0,0,0,0,'2023-05-31 07:08:30','2023-06-06 05:31:40','2023-06-06 05:31:40',1,NULL,NULL,NULL,NULL,NULL),(72,2,14,'Repayment','2023-10-01','10','2023',3709.1116,4005.8405,617.1962,NULL,NULL,4326.3077,0,0,0,0,'2023-05-31 07:08:30','2023-06-06 05:31:40','2023-06-06 05:31:40',1,NULL,NULL,NULL,NULL,NULL),(73,2,14,'Repayment','2023-11-01','11','2023',4005.8405,0.0000,320.4672,NULL,NULL,4326.3077,0,0,0,0,'2023-05-31 07:08:30','2023-06-06 05:31:40','2023-06-06 05:31:40',1,NULL,NULL,NULL,NULL,NULL),(74,4,3,'Repayment','2023-06-04','06','2023',2884.6154,3115.3846,480.0000,NULL,NULL,3364.6154,0,0,0,0,'2023-05-31 07:53:43','2023-05-31 09:19:04','2023-05-31 09:19:04',1,NULL,NULL,NULL,NULL,NULL),(75,4,3,'Repayment','2023-07-04','07','2023',3115.3846,0.0000,249.2308,NULL,NULL,3364.6154,0,0,0,0,'2023-05-31 07:53:43','2023-05-31 09:19:04','2023-05-31 09:19:04',1,NULL,NULL,NULL,NULL,NULL),(76,4,3,'Repayment','2023-06-04','06','2023',2884.6154,3115.3846,480.0000,NULL,NULL,3364.6154,0,0,0,0,'2023-05-31 09:21:21','2023-05-31 09:21:21','2023-05-31 09:21:21',1,NULL,NULL,NULL,NULL,NULL),(77,4,3,'Repayment','2023-07-04','07','2023',3115.3846,0.0000,249.2308,NULL,NULL,3364.6154,0,0,0,0,'2023-05-31 09:21:21','2023-05-31 09:21:21','2023-05-31 09:21:21',1,NULL,NULL,NULL,NULL,NULL),(78,4,3,'Repayment','2023-06-04','06','2023',2884.6154,3115.3846,480.0000,NULL,NULL,3364.6154,0,0,0,0,'2023-05-31 09:21:21','2023-05-31 09:21:34','2023-05-31 09:21:34',1,NULL,NULL,NULL,NULL,NULL),(79,4,3,'Repayment','2023-07-04','07','2023',3115.3846,0.0000,249.2308,NULL,NULL,3364.6154,0,0,0,0,'2023-05-31 09:21:22','2023-05-31 09:21:34','2023-05-31 09:21:34',1,NULL,NULL,NULL,NULL,NULL),(80,4,3,'Repayment','2023-06-04','06','2023',2884.6154,3115.3846,480.0000,NULL,67.2923,3364.6154,0,0,0,1,'2023-05-31 09:21:40','2023-06-06 05:26:34','2023-06-06 05:26:34',1,NULL,NULL,NULL,NULL,NULL),(81,4,3,'Repayment','2023-07-04','07','2023',3115.3846,0.0000,249.2308,NULL,NULL,3364.6154,0,0,0,0,'2023-05-31 09:21:40','2023-06-06 05:26:34','2023-06-06 05:26:34',1,NULL,NULL,NULL,NULL,NULL),(82,23,24,'Repayment','2023-07-03','07','2023',5000.0000,10000.0000,812.9032,NULL,NULL,5812.9032,0,0,0,0,'2023-06-12 08:03:31','2023-06-12 08:16:05','2023-06-12 08:16:05',1,NULL,NULL,NULL,NULL,NULL),(83,23,24,'Repayment','2023-08-03','08','2023',4807.6923,5192.3077,800.0000,NULL,NULL,5607.6923,0,0,0,0,'2023-06-12 08:03:31','2023-06-12 08:16:05','2023-06-12 08:16:05',1,NULL,NULL,NULL,NULL,NULL),(84,23,24,'Repayment','2023-09-03','09','2023',5192.3077,0.0000,415.3846,NULL,NULL,5607.6923,0,0,0,0,'2023-06-12 08:03:31','2023-06-12 08:16:05','2023-06-12 08:16:05',1,NULL,NULL,NULL,NULL,NULL),(85,23,24,'Repayment','2023-07-03','07','2023',5000.0000,10000.0000,851.6129,NULL,NULL,5851.6129,0,0,0,0,'2023-06-12 08:16:14','2023-06-12 09:05:22','2023-06-12 09:05:22',1,NULL,NULL,NULL,NULL,NULL),(86,23,24,'Repayment','2023-08-03','08','2023',4807.6923,5192.3077,800.0000,NULL,NULL,5607.6923,0,0,0,0,'2023-06-12 08:16:14','2023-06-12 09:05:22','2023-06-12 09:05:22',1,NULL,NULL,NULL,NULL,NULL),(87,23,24,'Repayment','2023-09-03','09','2023',5192.3077,0.0000,415.3846,NULL,NULL,5607.6923,0,0,0,0,'2023-06-12 08:16:14','2023-06-12 09:05:22','2023-06-12 09:05:22',1,NULL,NULL,NULL,NULL,NULL),(88,21,22,'Repayment','2023-07-03','07','2023',3333.3333,6666.6667,567.7419,NULL,NULL,3901.0753,0,0,0,0,'2023-06-12 08:38:56','2023-06-12 08:49:51','2023-06-12 08:49:51',1,NULL,NULL,NULL,NULL,NULL),(89,21,22,'Repayment','2023-08-03','08','2023',3333.3333,3333.3333,800.0000,NULL,NULL,4133.3333,0,0,0,0,'2023-06-12 08:38:56','2023-06-12 08:49:51','2023-06-12 08:49:51',1,NULL,NULL,NULL,NULL,NULL),(90,21,22,'Repayment','2023-09-03','09','2023',3333.3333,0.0000,800.0000,NULL,NULL,4133.3333,0,0,0,0,'2023-06-12 08:38:56','2023-06-12 08:49:51','2023-06-12 08:49:51',1,NULL,NULL,NULL,NULL,NULL),(91,21,22,'Repayment','2023-07-03','07','2023',3333.3333,6666.6667,567.7419,NULL,36709.1186,3901.0753,0,0,0,1,'2023-06-12 08:50:36','2026-01-29 10:10:02',NULL,1,NULL,NULL,NULL,NULL,NULL),(92,21,22,'Repayment','2023-08-03','08','2023',3205.1282,3461.5385,533.3333,NULL,34019.9997,3738.4615,0,0,0,1,'2023-06-12 08:50:36','2026-01-29 10:10:02',NULL,1,NULL,NULL,NULL,NULL,NULL),(93,21,22,'Repayment','2023-09-03','09','2023',3461.5385,0.0000,276.9231,NULL,32861.0766,3738.4615,0,0,0,1,'2023-06-12 08:50:36','2026-01-29 10:10:02',NULL,1,NULL,NULL,NULL,NULL,NULL),(94,23,24,'Repayment','2023-07-03','07','2023',5000.0000,10000.0000,812.9032,NULL,NULL,5812.9032,0,0,0,0,'2023-06-12 09:05:29','2023-06-12 09:05:49','2023-06-12 09:05:49',1,NULL,NULL,NULL,NULL,NULL),(95,23,24,'Repayment','2023-08-03','08','2023',4807.6923,5192.3077,800.0000,NULL,NULL,5607.6923,0,0,0,0,'2023-06-12 09:05:29','2023-06-12 09:05:49','2023-06-12 09:05:49',1,NULL,NULL,NULL,NULL,NULL),(96,23,24,'Repayment','2023-09-03','09','2023',5192.3077,0.0000,415.3846,NULL,NULL,5607.6923,0,0,0,0,'2023-06-12 09:05:29','2023-06-12 09:05:49','2023-06-12 09:05:49',1,NULL,NULL,NULL,NULL,NULL),(97,23,24,'Repayment','2023-07-03','07','2023',5000.0000,10000.0000,851.6129,NULL,55063.6774,5851.6129,0,0,0,1,'2023-06-12 09:05:57','2026-01-29 10:10:02',NULL,1,NULL,NULL,NULL,NULL,NULL),(98,23,24,'Repayment','2023-08-03','08','2023',4807.6923,5192.3077,800.0000,NULL,51029.9999,5607.6923,0,0,0,1,'2023-06-12 09:05:57','2026-01-29 10:10:02',NULL,1,NULL,NULL,NULL,NULL,NULL),(99,23,24,'Repayment','2023-09-03','09','2023',5192.3077,0.0000,415.3846,NULL,49291.6153,5607.6923,0,0,0,1,'2023-06-12 09:05:57','2026-01-29 10:10:02',NULL,1,NULL,NULL,NULL,NULL,NULL),(100,22,23,'Repayment','2023-07-03','07','2023',3333.3333,6666.6667,567.7419,NULL,36709.1186,3901.0753,0,0,0,1,'2023-06-12 09:06:30','2026-01-29 10:10:02',NULL,1,NULL,NULL,NULL,NULL,NULL),(101,22,23,'Repayment','2023-08-03','08','2023',3205.1282,3461.5385,533.3333,NULL,34019.9997,3738.4615,0,0,0,1,'2023-06-12 09:06:30','2026-01-29 10:10:02',NULL,1,NULL,NULL,NULL,NULL,NULL),(102,22,23,'Repayment','2023-09-03','09','2023',3461.5385,0.0000,276.9231,NULL,32861.0766,3738.4615,0,0,0,1,'2023-06-12 09:06:30','2026-01-29 10:10:02',NULL,1,NULL,NULL,NULL,NULL,NULL),(103,20,21,'Repayment','2023-07-03','07','2023',3333.3333,6666.6667,567.7419,NULL,36709.1186,3901.0753,0,0,0,1,'2023-06-12 09:07:48','2026-01-29 10:10:02',NULL,1,NULL,NULL,NULL,NULL,NULL),(104,20,21,'Repayment','2023-08-03','08','2023',3205.1282,3461.5385,533.3333,NULL,34019.9997,3738.4615,0,0,0,1,'2023-06-12 09:07:48','2026-01-29 10:10:02',NULL,1,NULL,NULL,NULL,NULL,NULL),(105,20,21,'Repayment','2023-09-03','09','2023',3461.5385,0.0000,276.9231,NULL,32861.0766,3738.4615,0,0,0,1,'2023-06-12 09:07:48','2026-01-29 10:10:02',NULL,1,NULL,NULL,NULL,NULL,NULL),(106,19,20,'Repayment','2023-07-03','07','2023',2000.0000,4000.0000,340.6452,NULL,22025.4713,2340.6452,0,0,0,1,'2023-06-12 09:09:35','2026-01-29 10:10:02',NULL,1,NULL,NULL,NULL,NULL,NULL),(107,19,20,'Repayment','2023-08-03','08','2023',1923.0769,2076.9231,320.0000,NULL,20411.9998,2243.0769,0,0,0,1,'2023-06-12 09:09:35','2026-01-29 10:10:02',NULL,1,NULL,NULL,NULL,NULL,NULL),(108,19,20,'Repayment','2023-09-03','09','2023',2076.9231,0.0000,166.1538,NULL,19716.6460,2243.0769,0,0,0,1,'2023-06-12 09:09:35','2026-01-29 10:10:02',NULL,1,NULL,NULL,NULL,NULL,NULL),(109,27,27,'Repayment','2023-07-03','07','2023',2000.0000,4000.0000,294.1935,NULL,NULL,2294.1935,0,0,0,0,'2023-06-14 09:30:26','2023-06-15 03:34:24','2023-06-15 03:34:24',1,NULL,NULL,NULL,NULL,NULL),(110,27,27,'Repayment','2023-08-03','08','2023',1923.0769,2076.9231,320.0000,NULL,NULL,2243.0769,0,0,0,0,'2023-06-14 09:30:26','2023-06-15 03:34:24','2023-06-15 03:34:24',1,NULL,NULL,NULL,NULL,NULL),(111,27,27,'Repayment','2023-09-03','09','2023',2076.9231,0.0000,166.1538,NULL,NULL,2243.0769,0,0,0,0,'2023-06-14 09:30:26','2023-06-15 03:34:24','2023-06-15 03:34:24',1,NULL,NULL,NULL,NULL,NULL),(112,26,28,'Repayment','2023-07-03','07','2023',3333.3333,6666.6667,438.7097,NULL,NULL,3772.0430,0,0,0,0,'2023-06-14 09:30:43','2023-06-14 09:30:48','2023-06-14 09:30:48',1,NULL,NULL,NULL,NULL,NULL),(113,26,28,'Repayment','2023-08-03','08','2023',3205.1282,3461.5385,533.3333,NULL,NULL,3738.4615,0,0,0,0,'2023-06-14 09:30:43','2023-06-14 09:30:48','2023-06-14 09:30:48',1,NULL,NULL,NULL,NULL,NULL),(114,26,28,'Repayment','2023-09-03','09','2023',3461.5385,0.0000,276.9231,NULL,NULL,3738.4615,0,0,0,0,'2023-06-14 09:30:43','2023-06-14 09:30:48','2023-06-14 09:30:48',1,NULL,NULL,NULL,NULL,NULL),(115,26,28,'Repayment','2023-07-03','07','2023',3333.3333,6666.6667,490.3226,NULL,NULL,3823.6559,0,0,0,0,'2023-06-14 09:30:56','2023-06-15 03:31:58','2023-06-15 03:31:58',1,NULL,NULL,NULL,NULL,NULL),(116,26,28,'Repayment','2023-08-03','08','2023',3205.1282,3461.5385,533.3333,NULL,NULL,3738.4615,0,0,0,0,'2023-06-14 09:30:56','2023-06-15 03:31:58','2023-06-15 03:31:58',1,NULL,NULL,NULL,NULL,NULL),(117,26,28,'Repayment','2023-09-03','09','2023',3461.5385,0.0000,276.9231,NULL,NULL,3738.4615,0,0,0,0,'2023-06-14 09:30:56','2023-06-15 03:31:58','2023-06-15 03:31:58',1,NULL,NULL,NULL,NULL,NULL),(118,25,29,'Repayment','2023-07-03','07','2023',3333.3333,6666.6667,490.3226,NULL,NULL,3823.6559,0,0,0,0,'2023-06-14 09:31:18','2023-06-15 03:30:54','2023-06-15 03:30:54',1,NULL,NULL,NULL,NULL,NULL),(119,25,29,'Repayment','2023-08-03','08','2023',3205.1282,3461.5385,533.3333,NULL,NULL,3738.4615,0,0,0,0,'2023-06-14 09:31:18','2023-06-15 03:30:54','2023-06-15 03:30:54',1,NULL,NULL,NULL,NULL,NULL),(120,25,29,'Repayment','2023-09-03','09','2023',3461.5385,0.0000,276.9231,NULL,NULL,3738.4615,0,0,0,0,'2023-06-14 09:31:18','2023-06-15 03:30:54','2023-06-15 03:30:54',1,NULL,NULL,NULL,NULL,NULL),(121,24,30,'Repayment','2023-07-03','07','2023',2500.0000,7500.0000,490.3226,NULL,NULL,2990.3226,0,0,0,0,'2023-06-14 09:31:34','2023-06-15 03:28:12','2023-06-15 03:28:12',1,NULL,NULL,NULL,NULL,NULL),(122,24,30,'Repayment','2023-08-03','08','2023',2310.2514,5189.7486,600.0000,NULL,NULL,2910.2514,0,0,0,0,'2023-06-14 09:31:34','2023-06-15 03:28:12','2023-06-15 03:28:12',1,NULL,NULL,NULL,NULL,NULL),(123,24,30,'Repayment','2023-09-03','09','2023',2495.0715,2694.6772,415.1799,NULL,NULL,2910.2514,0,0,0,0,'2023-06-14 09:31:34','2023-06-15 03:28:12','2023-06-15 03:28:12',1,NULL,NULL,NULL,NULL,NULL),(124,24,30,'Repayment','2023-10-03','10','2023',2694.6772,0.0000,215.5742,NULL,NULL,2910.2514,0,0,0,0,'2023-06-14 09:31:34','2023-06-15 03:28:12','2023-06-15 03:28:12',1,NULL,NULL,NULL,NULL,NULL),(125,24,30,'Repayment','2023-07-03','07','2023',2500.0000,7500.0000,516.1290,NULL,28381.7739,3016.1290,0,0,0,1,'2023-06-15 03:28:25','2026-01-29 10:10:03',NULL,1,NULL,NULL,NULL,NULL,NULL),(126,24,30,'Repayment','2023-08-03','08','2023',2310.2514,5189.7486,600.0000,NULL,26483.2877,2910.2514,0,0,0,1,'2023-06-15 03:28:25','2026-01-29 10:10:03',NULL,1,NULL,NULL,NULL,NULL,NULL),(127,24,30,'Repayment','2023-09-03','09','2023',2495.0715,2694.6772,415.1799,NULL,25581.1098,2910.2514,0,0,0,1,'2023-06-15 03:28:25','2026-01-29 10:10:03',NULL,1,NULL,NULL,NULL,NULL,NULL),(128,24,30,'Repayment','2023-10-03','10','2023',2694.6772,0.0000,215.5742,NULL,24708.0344,2910.2514,0,0,0,1,'2023-06-15 03:28:25','2026-01-29 10:10:03',NULL,1,NULL,NULL,NULL,NULL,NULL),(129,25,29,'Repayment','2023-07-03','07','2023',3333.3333,6666.6667,516.1290,NULL,36223.4412,3849.4624,0,0,0,1,'2023-06-15 03:30:59','2026-01-29 10:10:03',NULL,1,NULL,NULL,NULL,NULL,NULL),(130,25,29,'Repayment','2023-08-03','08','2023',3205.1282,3461.5385,533.3333,NULL,34019.9997,3738.4615,0,0,0,1,'2023-06-15 03:30:59','2026-01-29 10:10:03',NULL,1,NULL,NULL,NULL,NULL,NULL),(131,25,29,'Repayment','2023-09-03','09','2023',3461.5385,0.0000,276.9231,NULL,32861.0766,3738.4615,0,0,0,1,'2023-06-15 03:30:59','2026-01-29 10:10:03',NULL,1,NULL,NULL,NULL,NULL,NULL),(132,26,28,'Repayment','2023-07-03','07','2023',3333.3333,6666.6667,516.1290,NULL,36223.4412,3849.4624,0,0,0,1,'2023-06-15 03:32:03','2026-01-29 10:10:03',NULL,1,NULL,NULL,NULL,NULL,NULL),(133,26,28,'Repayment','2023-08-03','08','2023',3205.1282,3461.5385,533.3333,NULL,34019.9997,3738.4615,0,0,0,1,'2023-06-15 03:32:03','2026-01-29 10:10:03',NULL,1,NULL,NULL,NULL,NULL,NULL),(134,26,28,'Repayment','2023-09-03','09','2023',3461.5385,0.0000,276.9231,NULL,32861.0766,3738.4615,0,0,0,1,'2023-06-15 03:32:03','2026-01-29 10:10:03',NULL,1,NULL,NULL,NULL,NULL,NULL),(135,27,27,'Repayment','2023-07-03','07','2023',2000.0000,4000.0000,309.6774,NULL,21734.0643,2309.6774,0,0,0,1,'2023-06-15 03:34:33','2026-01-29 10:10:03',NULL,1,NULL,NULL,NULL,NULL,NULL),(136,27,27,'Repayment','2023-08-03','08','2023',1923.0769,2076.9231,320.0000,NULL,20411.9998,2243.0769,0,0,0,1,'2023-06-15 03:34:33','2026-01-29 10:10:03',NULL,1,NULL,NULL,NULL,NULL,NULL),(137,27,27,'Repayment','2023-09-03','09','2023',2076.9231,0.0000,166.1538,NULL,19716.6460,2243.0769,0,0,0,1,'2023-06-15 03:34:33','2026-01-29 10:10:03',NULL,1,NULL,NULL,NULL,NULL,NULL),(138,28,32,'Repayment','2023-07-03','07','2023',3000.0000,3000.0000,278.7097,NULL,NULL,3278.7097,0,0,0,0,'2023-06-17 06:45:19','2023-06-17 06:45:52','2023-06-17 06:45:52',1,NULL,NULL,NULL,NULL,NULL),(139,28,32,'Repayment','2023-08-03','08','2023',3000.0000,0.0000,240.0000,NULL,NULL,3240.0000,0,0,0,0,'2023-06-17 06:45:19','2023-06-17 06:45:52','2023-06-17 06:45:52',1,NULL,NULL,NULL,NULL,NULL),(140,28,32,'Repayment','2023-07-03','07','2023',3000.0000,3000.0000,263.2258,NULL,NULL,3263.2258,0,0,0,0,'2023-06-17 06:45:57','2023-06-17 06:46:31','2023-06-17 06:46:31',1,NULL,NULL,NULL,NULL,NULL),(141,28,32,'Repayment','2023-08-03','08','2023',3000.0000,0.0000,240.0000,NULL,NULL,3240.0000,0,0,0,0,'2023-06-17 06:45:57','2023-06-17 06:46:31','2023-06-17 06:46:31',1,NULL,NULL,NULL,NULL,NULL),(142,28,32,'Repayment','2023-07-03','07','2023',3000.0000,3000.0000,278.7097,NULL,NULL,3278.7097,0,0,0,0,'2023-06-17 06:46:36','2023-06-17 06:47:02','2023-06-17 06:47:02',1,NULL,NULL,NULL,NULL,NULL),(143,28,32,'Repayment','2023-08-03','08','2023',3000.0000,0.0000,240.0000,NULL,NULL,3240.0000,0,0,0,0,'2023-06-17 06:46:36','2023-06-17 06:47:02','2023-06-17 06:47:02',1,NULL,NULL,NULL,NULL,NULL),(144,28,32,'Repayment','2023-07-03','07','2023',3000.0000,3000.0000,278.7097,NULL,30852.6583,3278.7097,0,0,0,1,'2023-06-17 06:47:12','2026-01-29 10:10:03',NULL,1,NULL,NULL,NULL,NULL,NULL),(145,28,32,'Repayment','2023-08-03','08','2023',3000.0000,0.0000,240.0000,NULL,29484.0000,3240.0000,0,0,0,1,'2023-06-17 06:47:12','2026-01-29 10:10:03',NULL,1,NULL,NULL,NULL,NULL,NULL),(146,29,33,'Repayment','2023-07-03','07','2023',3000.0000,0.0000,139.3548,NULL,29541.3287,3139.3548,0,0,0,1,'2023-06-17 06:57:04','2026-01-29 10:10:03',NULL,1,NULL,NULL,NULL,NULL,NULL),(147,30,34,'Repayment','2023-07-03','07','2023',2000.0000,4000.0000,278.7097,NULL,21442.6583,2278.7097,0,0,0,1,'2023-06-17 07:02:59','2026-01-29 10:10:03',NULL,1,NULL,NULL,NULL,NULL,NULL),(148,30,34,'Repayment','2023-08-03','08','2023',1923.0769,2076.9231,320.0000,NULL,20411.9998,2243.0769,0,0,0,1,'2023-06-17 07:02:59','2026-01-29 10:10:03',NULL,1,NULL,NULL,NULL,NULL,NULL),(149,30,34,'Repayment','2023-09-03','09','2023',2076.9231,0.0000,166.1538,NULL,19716.6460,2243.0769,0,0,0,1,'2023-06-17 07:02:59','2026-01-29 10:10:03',NULL,1,NULL,NULL,NULL,NULL,NULL),(150,31,35,'Repayment','2023-07-03','07','2023',5000.0000,10000.0000,348.3871,NULL,NULL,5348.3871,0,0,0,0,'2023-06-24 07:05:12','2023-06-24 07:05:55','2023-06-24 07:05:55',1,NULL,NULL,NULL,NULL,NULL),(151,31,35,'Repayment','2023-08-03','08','2023',4807.6923,5192.3077,800.0000,NULL,NULL,5607.6923,0,0,0,0,'2023-06-24 07:05:12','2023-06-24 07:05:55','2023-06-24 07:05:55',1,NULL,NULL,NULL,NULL,NULL),(152,31,35,'Repayment','2023-09-03','09','2023',5192.3077,0.0000,415.3846,NULL,NULL,5607.6923,0,0,0,0,'2023-06-24 07:05:12','2023-06-24 07:05:55','2023-06-24 07:05:55',1,NULL,NULL,NULL,NULL,NULL),(153,31,35,'Repayment','2023-07-03','07','2023',5000.0000,10000.0000,387.0968,NULL,50692.5809,5387.0968,0,0,0,1,'2023-06-24 07:06:04','2026-01-29 10:10:03',NULL,1,NULL,NULL,NULL,NULL,NULL),(154,31,35,'Repayment','2023-08-03','08','2023',4807.6923,5192.3077,800.0000,NULL,51029.9999,5607.6923,0,0,0,1,'2023-06-24 07:06:04','2026-01-29 10:10:03',NULL,1,NULL,NULL,NULL,NULL,NULL),(155,31,35,'Repayment','2023-09-03','09','2023',5192.3077,0.0000,415.3846,NULL,49291.6153,5607.6923,0,0,0,1,'2023-06-24 07:06:04','2026-01-29 10:10:03',NULL,1,NULL,NULL,NULL,NULL,NULL),(156,32,36,'Repayment','2023-07-03','07','2023',1666.6667,18333.3333,516.1290,NULL,20540.1075,2182.7957,0,0,0,1,'2023-06-24 07:07:51','2026-01-29 10:10:03',NULL,1,NULL,NULL,NULL,NULL,NULL),(157,32,36,'Repayment','2023-08-03','08','2023',1666.6667,16666.6667,1600.0000,NULL,29726.6670,3266.6667,0,0,0,1,'2023-06-24 07:07:51','2026-01-29 10:10:03',NULL,1,NULL,NULL,NULL,NULL,NULL),(158,32,36,'Repayment','2023-09-03','09','2023',1666.6667,15000.0000,1600.0000,NULL,28714.0003,3266.6667,0,0,0,1,'2023-06-24 07:07:51','2026-01-29 10:10:03',NULL,1,NULL,NULL,NULL,NULL,NULL),(159,32,36,'Repayment','2023-10-03','10','2023',1666.6667,13333.3333,1600.0000,NULL,27734.0003,3266.6667,0,0,0,1,'2023-06-24 07:07:51','2026-01-29 10:10:03',NULL,1,NULL,NULL,NULL,NULL,NULL),(160,32,36,'Repayment','2023-11-03','11','2023',1666.6667,11666.6667,1600.0000,NULL,26721.3336,3266.6667,0,0,0,1,'2023-06-24 07:07:51','2026-01-29 10:10:03',NULL,1,NULL,NULL,NULL,NULL,NULL),(161,32,36,'Repayment','2023-12-03','12','2023',1666.6667,10000.0000,1600.0000,NULL,25741.3336,3266.6667,0,0,0,1,'2023-06-24 07:07:51','2026-01-29 10:10:03',NULL,1,NULL,NULL,NULL,NULL,NULL),(162,32,36,'Repayment','2024-01-03','01','2024',1666.6667,8333.3333,1600.0000,NULL,24728.6669,3266.6667,0,0,0,1,'2023-06-24 07:07:51','2026-01-29 10:10:03',NULL,1,NULL,NULL,NULL,NULL,NULL),(163,32,36,'Repayment','2024-02-03','02','2024',1666.6667,6666.6667,1600.0000,NULL,23716.0002,3266.6667,0,0,0,1,'2023-06-24 07:07:51','2026-01-29 10:10:03',NULL,1,NULL,NULL,NULL,NULL,NULL),(164,32,36,'Repayment','2024-03-03','03','2024',1666.6667,5000.0000,1600.0000,NULL,22768.6669,3266.6667,0,0,0,1,'2023-06-24 07:07:51','2026-01-29 10:10:03',NULL,1,NULL,NULL,NULL,NULL,NULL),(165,32,36,'Repayment','2024-04-03','04','2024',1666.6667,3333.3333,1600.0000,NULL,21756.0002,3266.6667,0,0,0,1,'2023-06-24 07:07:51','2026-01-29 10:10:03',NULL,1,NULL,NULL,NULL,NULL,NULL),(166,32,36,'Repayment','2024-05-03','05','2024',1666.6667,1666.6667,1600.0000,NULL,20776.0002,3266.6667,0,0,0,1,'2023-06-24 07:07:51','2026-01-29 10:10:03',NULL,1,NULL,NULL,NULL,NULL,NULL),(167,32,36,'Repayment','2024-06-03','06','2024',1666.6667,0.0000,1600.0000,NULL,19763.3335,3266.6667,0,0,0,1,'2023-06-24 07:07:51','2026-01-29 10:10:03',NULL,1,NULL,NULL,NULL,NULL,NULL),(168,2,14,'Repayment','2023-06-01','06','2023',3333.3333,16666.6667,1386.6667,NULL,NULL,4720.0000,0,0,0,0,'2023-06-28 06:31:10','2023-06-28 06:34:17','2023-06-28 06:34:17',1,NULL,NULL,NULL,NULL,NULL),(169,2,14,'Repayment','2023-07-01','07','2023',2840.9409,13825.7258,1333.3333,NULL,NULL,4174.2742,0,0,0,0,'2023-06-28 06:31:10','2023-06-28 06:34:17','2023-06-28 06:34:17',1,NULL,NULL,NULL,NULL,NULL),(170,2,14,'Repayment','2023-08-01','08','2023',3068.2162,10757.5096,1106.0581,NULL,NULL,4174.2742,0,0,0,0,'2023-06-28 06:31:10','2023-06-28 06:34:17','2023-06-28 06:34:17',1,NULL,NULL,NULL,NULL,NULL),(171,2,14,'Repayment','2023-09-01','09','2023',3313.6735,7443.8361,860.6008,NULL,NULL,4174.2742,0,0,0,0,'2023-06-28 06:31:10','2023-06-28 06:34:17','2023-06-28 06:34:17',1,NULL,NULL,NULL,NULL,NULL),(172,2,14,'Repayment','2023-10-01','10','2023',3578.7674,3865.0687,595.5069,NULL,NULL,4174.2742,0,0,0,0,'2023-06-28 06:31:10','2023-06-28 06:34:17','2023-06-28 06:34:17',1,NULL,NULL,NULL,NULL,NULL),(173,2,14,'Repayment','2023-11-01','11','2023',3865.0687,0.0000,309.2055,NULL,NULL,4174.2742,0,0,0,0,'2023-06-28 06:31:10','2023-06-28 06:34:17','2023-06-28 06:34:17',1,NULL,NULL,NULL,NULL,NULL),(174,33,40,'Repayment','2023-08-03','08','2023',2333.3333,4666.6667,650.3226,NULL,NULL,2983.6559,0,0,0,0,'2023-06-29 06:41:40','2023-06-29 06:42:34','2023-06-29 06:42:34',1,NULL,NULL,NULL,NULL,NULL),(175,33,40,'Repayment','2023-09-03','09','2023',2243.5897,2423.0769,373.3333,NULL,NULL,2616.9231,0,0,0,0,'2023-06-29 06:41:40','2023-06-29 06:42:34','2023-06-29 06:42:34',1,NULL,NULL,NULL,NULL,NULL),(176,33,40,'Repayment','2023-10-03','10','2023',2423.0769,0.0000,193.8462,NULL,NULL,2616.9231,0,0,0,0,'2023-06-29 06:41:40','2023-06-29 06:42:34','2023-06-29 06:42:34',1,NULL,NULL,NULL,NULL,NULL),(177,33,40,'Repayment','2023-08-03','08','2023',2333.3333,4666.6667,668.3871,NULL,27315.6556,3001.7204,0,0,0,1,'2023-06-29 06:42:39','2026-01-29 10:10:03',NULL,1,NULL,NULL,NULL,NULL,NULL),(178,33,40,'Repayment','2023-09-03','09','2023',2243.5897,2423.0769,373.3333,NULL,23002.7540,2616.9231,0,0,0,1,'2023-06-29 06:42:39','2026-01-29 10:10:03',NULL,1,NULL,NULL,NULL,NULL,NULL),(179,33,40,'Repayment','2023-10-03','10','2023',2423.0769,0.0000,193.8462,NULL,22217.6771,2616.9231,0,0,0,1,'2023-06-29 06:42:39','2026-01-29 10:10:03',NULL,1,NULL,NULL,NULL,NULL,NULL),(180,34,39,'Repayment','2023-08-03','08','2023',4166.6667,95833.3333,3580.6452,NULL,70500.5374,7747.3118,0,0,0,1,'2023-06-29 06:43:59','2026-01-29 10:10:03',NULL,1,NULL,NULL,NULL,NULL,NULL),(181,34,39,'Repayment','2023-09-03','09','2023',2952.9990,92880.3343,2875.0000,NULL,51228.1112,5827.9990,0,0,0,1,'2023-06-29 06:43:59','2026-01-29 10:10:03',NULL,1,NULL,NULL,NULL,NULL,NULL),(182,34,39,'Repayment','2023-10-03','10','2023',3041.5890,89838.7454,2786.4100,NULL,49479.7115,5827.9990,0,0,0,1,'2023-06-29 06:43:59','2026-01-29 10:10:03',NULL,1,NULL,NULL,NULL,NULL,NULL),(183,34,39,'Repayment','2023-11-03','11','2023',3132.8366,86705.9087,2695.1624,NULL,47673.0318,5827.9990,0,0,0,1,'2023-06-29 06:43:59','2026-01-29 10:10:03',NULL,1,NULL,NULL,NULL,NULL,NULL),(184,34,39,'Repayment','2023-12-03','12','2023',3226.8217,83479.0870,2601.1773,NULL,45924.6321,5827.9990,0,0,0,1,'2023-06-29 06:43:59','2026-01-29 10:10:03',NULL,1,NULL,NULL,NULL,NULL,NULL),(185,34,39,'Repayment','2024-01-03','01','2024',3323.6264,80155.4606,2504.3726,NULL,44117.9524,5827.9990,0,0,0,1,'2023-06-29 06:43:59','2026-01-29 10:10:03',NULL,1,NULL,NULL,NULL,NULL,NULL),(186,34,39,'Repayment','2024-02-03','02','2024',3423.3352,76732.1254,2404.6638,NULL,42311.2727,5827.9990,0,0,0,1,'2023-06-29 06:43:59','2026-01-29 10:10:03',NULL,1,NULL,NULL,NULL,NULL,NULL),(187,34,39,'Repayment','2024-03-03','03','2024',3526.0352,73206.0901,2301.9638,NULL,40621.1530,5827.9990,0,0,0,1,'2023-06-29 06:43:59','2026-01-29 10:10:03',NULL,1,NULL,NULL,NULL,NULL,NULL),(188,34,39,'Repayment','2024-04-03','04','2024',3631.8163,69574.2738,2196.1827,NULL,38814.4733,5827.9990,0,0,0,1,'2023-06-29 06:44:00','2026-01-29 10:10:03',NULL,1,NULL,NULL,NULL,NULL,NULL),(189,34,39,'Repayment','2024-05-03','05','2024',3740.7708,65833.5030,2087.2282,NULL,37066.0736,5827.9990,0,0,0,1,'2023-06-29 06:44:00','2026-01-29 10:10:03',NULL,1,NULL,NULL,NULL,NULL,NULL),(190,34,39,'Repayment','2024-06-03','06','2024',3852.9939,61980.5091,1975.0051,NULL,35259.3940,5827.9990,0,0,0,1,'2023-06-29 06:44:00','2026-01-29 10:10:03',NULL,1,NULL,NULL,NULL,NULL,NULL),(191,34,39,'Repayment','2024-07-03','07','2024',3968.5837,58011.9254,1859.4153,NULL,33510.9943,5827.9990,0,0,0,1,'2023-06-29 06:44:00','2026-01-29 10:10:04',NULL,1,NULL,NULL,NULL,NULL,NULL),(192,34,39,'Repayment','2024-08-03','08','2024',4087.6412,53924.2841,1740.3578,NULL,31704.3146,5827.9990,0,0,0,1,'2023-06-29 06:44:00','2026-01-29 10:10:04',NULL,1,NULL,NULL,NULL,NULL,NULL),(193,34,39,'Repayment','2024-09-03','09','2024',4210.2705,49714.0137,1617.7285,NULL,29897.6349,5827.9990,0,0,0,1,'2023-06-29 06:44:00','2026-01-29 10:10:04',NULL,1,NULL,NULL,NULL,NULL,NULL),(194,34,39,'Repayment','2024-10-03','10','2024',4336.5786,45377.4351,1491.4204,NULL,28149.2352,5827.9990,0,0,0,1,'2023-06-29 06:44:00','2026-01-29 10:10:04',NULL,1,NULL,NULL,NULL,NULL,NULL),(195,34,39,'Repayment','2024-11-03','11','2024',4466.6760,40910.7591,1361.3231,NULL,26342.5555,5827.9990,0,0,0,1,'2023-06-29 06:44:00','2026-01-29 10:10:04',NULL,1,NULL,NULL,NULL,NULL,NULL),(196,34,39,'Repayment','2024-12-03','12','2024',4600.6762,36310.0829,1227.3228,NULL,24594.1558,5827.9990,0,0,0,1,'2023-06-29 06:44:00','2026-01-29 10:10:04',NULL,1,NULL,NULL,NULL,NULL,NULL),(197,34,39,'Repayment','2025-01-03','01','2025',4738.6965,31571.3864,1089.3025,NULL,22787.4761,5827.9990,0,0,0,1,'2023-06-29 06:44:00','2026-01-29 10:10:04',NULL,1,NULL,NULL,NULL,NULL,NULL),(198,34,39,'Repayment','2025-02-03','02','2025',4880.8574,26690.5289,947.1416,NULL,20980.7964,5827.9990,0,0,0,1,'2023-06-29 06:44:00','2026-01-29 10:10:04',NULL,1,NULL,NULL,NULL,NULL,NULL),(199,34,39,'Repayment','2025-03-03','03','2025',5027.2831,21663.2458,800.7159,NULL,19348.9567,5827.9990,0,0,0,1,'2023-06-29 06:44:00','2026-01-29 10:10:04',NULL,1,NULL,NULL,NULL,NULL,NULL),(200,34,39,'Repayment','2025-04-03','04','2025',5178.1016,16485.1442,649.8974,NULL,17542.2770,5827.9990,0,0,0,1,'2023-06-29 06:44:00','2026-01-29 10:10:04',NULL,1,NULL,NULL,NULL,NULL,NULL),(201,34,39,'Repayment','2025-05-03','05','2025',5333.4447,11151.6995,494.5543,NULL,15793.8773,5827.9990,0,0,0,1,'2023-06-29 06:44:00','2026-01-29 10:10:04',NULL,1,NULL,NULL,NULL,NULL,NULL),(202,34,39,'Repayment','2025-06-03','06','2025',5493.4480,5658.2515,334.5510,NULL,13987.1976,5827.9990,0,0,0,1,'2023-06-29 06:44:00','2026-01-29 10:10:04',NULL,1,NULL,NULL,NULL,NULL,NULL),(203,34,39,'Repayment','2025-07-03','07','2025',5658.2515,0.0000,169.7475,NULL,12238.7979,5827.9990,0,0,0,1,'2023-06-29 06:44:00','2026-01-29 10:10:04',NULL,1,NULL,NULL,NULL,NULL,NULL),(204,35,38,'Repayment','2023-08-03','08','2023',4166.6667,95833.3333,3580.6452,NULL,70500.5374,7747.3118,0,0,0,1,'2023-06-29 06:45:13','2026-01-29 10:10:04',NULL,1,NULL,NULL,NULL,NULL,NULL),(205,35,38,'Repayment','2023-09-03','09','2023',2952.9990,92880.3343,2875.0000,NULL,51228.1112,5827.9990,0,0,0,1,'2023-06-29 06:45:13','2026-01-29 10:10:04',NULL,1,NULL,NULL,NULL,NULL,NULL),(206,35,38,'Repayment','2023-10-03','10','2023',3041.5890,89838.7454,2786.4100,NULL,49479.7115,5827.9990,0,0,0,1,'2023-06-29 06:45:13','2026-01-29 10:10:04',NULL,1,NULL,NULL,NULL,NULL,NULL),(207,35,38,'Repayment','2023-11-03','11','2023',3132.8366,86705.9087,2695.1624,NULL,47673.0318,5827.9990,0,0,0,1,'2023-06-29 06:45:13','2026-01-29 10:10:04',NULL,1,NULL,NULL,NULL,NULL,NULL),(208,35,38,'Repayment','2023-12-03','12','2023',3226.8217,83479.0870,2601.1773,NULL,45924.6321,5827.9990,0,0,0,1,'2023-06-29 06:45:13','2026-01-29 10:10:04',NULL,1,NULL,NULL,NULL,NULL,NULL),(209,35,38,'Repayment','2024-01-03','01','2024',3323.6264,80155.4606,2504.3726,NULL,44117.9524,5827.9990,0,0,0,1,'2023-06-29 06:45:13','2026-01-29 10:10:04',NULL,1,NULL,NULL,NULL,NULL,NULL),(210,35,38,'Repayment','2024-02-03','02','2024',3423.3352,76732.1254,2404.6638,NULL,42311.2727,5827.9990,0,0,0,1,'2023-06-29 06:45:13','2026-01-29 10:10:04',NULL,1,NULL,NULL,NULL,NULL,NULL),(211,35,38,'Repayment','2024-03-03','03','2024',3526.0352,73206.0901,2301.9638,NULL,40621.1530,5827.9990,0,0,0,1,'2023-06-29 06:45:13','2026-01-29 10:10:04',NULL,1,NULL,NULL,NULL,NULL,NULL),(212,35,38,'Repayment','2024-04-03','04','2024',3631.8163,69574.2738,2196.1827,NULL,38814.4733,5827.9990,0,0,0,1,'2023-06-29 06:45:13','2026-01-29 10:10:04',NULL,1,NULL,NULL,NULL,NULL,NULL),(213,35,38,'Repayment','2024-05-03','05','2024',3740.7708,65833.5030,2087.2282,NULL,37066.0736,5827.9990,0,0,0,1,'2023-06-29 06:45:13','2026-01-29 10:10:04',NULL,1,NULL,NULL,NULL,NULL,NULL),(214,35,38,'Repayment','2024-06-03','06','2024',3852.9939,61980.5091,1975.0051,NULL,35259.3940,5827.9990,0,0,0,1,'2023-06-29 06:45:13','2026-01-29 10:10:04',NULL,1,NULL,NULL,NULL,NULL,NULL),(215,35,38,'Repayment','2024-07-03','07','2024',3968.5837,58011.9254,1859.4153,NULL,33510.9943,5827.9990,0,0,0,1,'2023-06-29 06:45:13','2026-01-29 10:10:04',NULL,1,NULL,NULL,NULL,NULL,NULL),(216,35,38,'Repayment','2024-08-03','08','2024',4087.6412,53924.2841,1740.3578,NULL,31704.3146,5827.9990,0,0,0,1,'2023-06-29 06:45:13','2026-01-29 10:10:04',NULL,1,NULL,NULL,NULL,NULL,NULL),(217,35,38,'Repayment','2024-09-03','09','2024',4210.2705,49714.0137,1617.7285,NULL,29897.6349,5827.9990,0,0,0,1,'2023-06-29 06:45:13','2026-01-29 10:10:04',NULL,1,NULL,NULL,NULL,NULL,NULL),(218,35,38,'Repayment','2024-10-03','10','2024',4336.5786,45377.4351,1491.4204,NULL,28149.2352,5827.9990,0,0,0,1,'2023-06-29 06:45:13','2026-01-29 10:10:04',NULL,1,NULL,NULL,NULL,NULL,NULL),(219,35,38,'Repayment','2024-11-03','11','2024',4466.6760,40910.7591,1361.3231,NULL,26342.5555,5827.9990,0,0,0,1,'2023-06-29 06:45:13','2026-01-29 10:10:04',NULL,1,NULL,NULL,NULL,NULL,NULL),(220,35,38,'Repayment','2024-12-03','12','2024',4600.6762,36310.0829,1227.3228,NULL,24594.1558,5827.9990,0,0,0,1,'2023-06-29 06:45:13','2026-01-29 10:10:04',NULL,1,NULL,NULL,NULL,NULL,NULL),(221,35,38,'Repayment','2025-01-03','01','2025',4738.6965,31571.3864,1089.3025,NULL,22787.4761,5827.9990,0,0,0,1,'2023-06-29 06:45:13','2026-01-29 10:10:04',NULL,1,NULL,NULL,NULL,NULL,NULL),(222,35,38,'Repayment','2025-02-03','02','2025',4880.8574,26690.5289,947.1416,NULL,20980.7964,5827.9990,0,0,0,1,'2023-06-29 06:45:13','2026-01-29 10:10:04',NULL,1,NULL,NULL,NULL,NULL,NULL),(223,35,38,'Repayment','2025-03-03','03','2025',5027.2831,21663.2458,800.7159,NULL,19348.9567,5827.9990,0,0,0,1,'2023-06-29 06:45:13','2026-01-29 10:10:04',NULL,1,NULL,NULL,NULL,NULL,NULL),(224,35,38,'Repayment','2025-04-03','04','2025',5178.1016,16485.1442,649.8974,NULL,17542.2770,5827.9990,0,0,0,1,'2023-06-29 06:45:13','2026-01-29 10:10:04',NULL,1,NULL,NULL,NULL,NULL,NULL),(225,35,38,'Repayment','2025-05-03','05','2025',5333.4447,11151.6995,494.5543,NULL,15793.8773,5827.9990,0,0,0,1,'2023-06-29 06:45:13','2026-01-29 10:10:04',NULL,1,NULL,NULL,NULL,NULL,NULL),(226,35,38,'Repayment','2025-06-03','06','2025',5493.4480,5658.2515,334.5510,NULL,13987.1976,5827.9990,0,0,0,1,'2023-06-29 06:45:13','2026-01-29 10:10:04',NULL,1,NULL,NULL,NULL,NULL,NULL),(227,35,38,'Repayment','2025-07-03','07','2025',5658.2515,0.0000,169.7475,NULL,12238.7979,5827.9990,0,0,0,1,'2023-06-29 06:45:13','2026-01-29 10:10:04',NULL,1,NULL,NULL,NULL,NULL,NULL),(228,36,37,'Repayment','2023-08-03','08','2023',3000.0000,3000.0000,572.9032,NULL,32513.4191,3572.9032,0,0,0,1,'2023-06-29 06:45:48','2026-01-29 10:10:04',NULL,1,NULL,NULL,NULL,NULL,NULL),(229,36,37,'Repayment','2023-09-03','09','2023',3000.0000,0.0000,240.0000,NULL,28479.6000,3240.0000,0,0,0,1,'2023-06-29 06:45:48','2026-01-29 10:10:04',NULL,1,NULL,NULL,NULL,NULL,NULL);

--
-- Table structure for table `loan_status`
--

CREATE TABLE `loan_status` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `text_color` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `background_color` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `loan_status`
--


--
-- Table structure for table `loan_transactions`
--

CREATE TABLE `loan_transactions` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `branch_id` int DEFAULT NULL,
  `user_id` int DEFAULT NULL,
  `modified_by_id` int DEFAULT NULL,
  `loan_id` int DEFAULT NULL,
  `borrower_id` int DEFAULT NULL,
  `loan_schedule_id` int DEFAULT NULL,
  `repayment_method_id` int DEFAULT NULL,
  `transaction_type` enum('repayment','repayment_disbursement','write_off','write_off_recovery','disbursement','interest_accrual','fee_accrual','penalty_accrual','deposit','withdrawal','manual_entry','pay_charge','transfer_fund','interest','income','fee','disbursement_fee','installment_fee','specified_due_date_fee','overdue_maturity','overdue_installment_fee','loan_rescheduling_fee','penalty','interest_waiver','charge_waiver','pay_off') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT 'repayment',
  `name` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `debit` decimal(65,4) DEFAULT NULL,
  `credit` decimal(65,4) DEFAULT NULL,
  `balance` decimal(65,4) DEFAULT NULL,
  `reversible` tinyint NOT NULL DEFAULT '0',
  `reversed` tinyint NOT NULL DEFAULT '0',
  `reversal_type` enum('system','user','none') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'none',
  `payment_type` enum('interest','principal','regular') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT 'regular',
  `date` date DEFAULT NULL,
  `month` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `year` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `receipt` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `notes` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=215 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `loan_transactions`
--

INSERT INTO `loan_transactions` VALUES (1,1,1,NULL,17,18,NULL,NULL,'disbursement',NULL,10000.0000,10000.0000,NULL,0,1,'system','regular','2023-05-16','05','2023',NULL,NULL,'2023-05-31 06:23:39','2023-06-06 05:26:48'),(2,1,1,NULL,17,18,NULL,NULL,'interest',NULL,1290.2564,1290.2564,NULL,0,1,'system','regular','2023-05-16','05','2023',NULL,NULL,'2023-05-31 06:23:39','2023-06-06 05:26:48'),(3,1,1,NULL,17,18,NULL,NULL,'disbursement_fee',NULL,100.0000,100.0000,NULL,0,1,'system','regular','2023-05-16','05','2023',NULL,NULL,'2023-05-31 06:23:39','2023-06-06 05:26:48'),(4,1,1,NULL,17,18,NULL,NULL,'repayment_disbursement',NULL,100.0000,100.0000,NULL,0,1,'system','regular','2023-05-16','05','2023',NULL,NULL,'2023-05-31 06:23:39','2023-06-06 05:26:48'),(5,1,1,NULL,16,17,NULL,NULL,'disbursement',NULL,10000.0000,10000.0000,NULL,0,1,'system','regular','2023-05-16','05','2023',NULL,NULL,'2023-05-31 06:25:58','2023-06-06 05:26:56'),(6,1,1,NULL,16,17,NULL,NULL,'interest',NULL,1290.2564,1290.2564,NULL,0,1,'system','regular','2023-05-16','05','2023',NULL,NULL,'2023-05-31 06:25:58','2023-06-06 05:26:56'),(7,1,1,NULL,16,17,NULL,NULL,'disbursement_fee',NULL,100.0000,100.0000,NULL,0,1,'system','regular','2023-05-16','05','2023',NULL,NULL,'2023-05-31 06:25:58','2023-06-06 05:26:56'),(8,1,1,NULL,16,17,NULL,NULL,'repayment_disbursement',NULL,100.0000,100.0000,NULL,0,1,'system','regular','2023-05-16','05','2023',NULL,NULL,'2023-05-31 06:25:58','2023-06-06 05:26:56'),(9,1,1,NULL,15,16,NULL,NULL,'disbursement',NULL,10000.0000,10000.0000,NULL,0,1,'system','regular','2023-05-16','05','2023',NULL,NULL,'2023-05-31 06:27:36','2023-06-06 05:30:00'),(10,1,1,NULL,15,16,NULL,NULL,'interest',NULL,1290.2564,1290.2564,NULL,0,1,'system','regular','2023-05-16','05','2023',NULL,NULL,'2023-05-31 06:27:36','2023-06-06 05:30:00'),(11,1,1,NULL,15,16,NULL,NULL,'disbursement_fee',NULL,100.0000,100.0000,NULL,0,1,'system','regular','2023-05-16','05','2023',NULL,NULL,'2023-05-31 06:27:36','2023-06-06 05:30:00'),(12,1,1,NULL,15,16,NULL,NULL,'repayment_disbursement',NULL,100.0000,100.0000,NULL,0,1,'system','regular','2023-05-16','05','2023',NULL,NULL,'2023-05-31 06:27:36','2023-06-06 05:30:00'),(13,1,1,NULL,14,15,NULL,NULL,'disbursement',NULL,20000.0000,20000.0000,NULL,0,1,'system','regular','2023-05-16','05','2023',NULL,NULL,'2023-05-31 06:30:30','2023-06-06 05:30:08'),(14,1,1,NULL,14,15,NULL,NULL,'interest',NULL,5164.7045,5164.7045,NULL,0,1,'system','regular','2023-05-16','05','2023',NULL,NULL,'2023-05-31 06:30:30','2023-06-06 05:30:08'),(15,1,1,NULL,14,15,NULL,NULL,'disbursement_fee',NULL,150.0000,150.0000,NULL,0,1,'system','regular','2023-05-16','05','2023',NULL,NULL,'2023-05-31 06:30:30','2023-06-06 05:30:08'),(16,1,1,NULL,14,15,NULL,NULL,'repayment_disbursement',NULL,150.0000,150.0000,NULL,0,1,'system','regular','2023-05-16','05','2023',NULL,NULL,'2023-05-31 06:30:30','2023-06-06 05:30:08'),(17,1,1,NULL,13,13,NULL,NULL,'disbursement',NULL,10000.0000,10000.0000,NULL,0,1,'system','regular','2023-05-06','05','2023',NULL,NULL,'2023-05-31 06:31:09','2023-06-06 05:30:16'),(18,1,1,NULL,13,13,NULL,NULL,'interest',NULL,2978.9232,2978.9232,NULL,0,1,'system','regular','2023-05-06','05','2023',NULL,NULL,'2023-05-31 06:31:09','2023-06-06 05:30:16'),(19,1,1,NULL,13,13,NULL,NULL,'disbursement_fee',NULL,100.0000,100.0000,NULL,0,1,'system','regular','2023-05-06','05','2023',NULL,NULL,'2023-05-31 06:31:09','2023-06-06 05:30:16'),(20,1,1,NULL,13,13,NULL,NULL,'repayment_disbursement',NULL,100.0000,100.0000,NULL,0,1,'system','regular','2023-05-06','05','2023',NULL,NULL,'2023-05-31 06:31:09','2023-06-06 05:30:16'),(21,1,1,NULL,12,12,NULL,NULL,'disbursement',NULL,10000.0000,10000.0000,NULL,0,1,'system','regular','2023-05-06','05','2023',NULL,NULL,'2023-05-31 06:32:30','2023-06-06 05:30:23'),(22,1,1,NULL,12,12,NULL,NULL,'interest',NULL,1641.0054,1641.0054,NULL,0,1,'system','regular','2023-05-06','05','2023',NULL,NULL,'2023-05-31 06:32:30','2023-06-06 05:30:23'),(23,1,1,NULL,12,12,NULL,NULL,'disbursement_fee',NULL,100.0000,100.0000,NULL,0,1,'system','regular','2023-05-06','05','2023',NULL,NULL,'2023-05-31 06:32:30','2023-06-06 05:30:23'),(24,1,1,NULL,12,12,NULL,NULL,'repayment_disbursement',NULL,100.0000,100.0000,NULL,0,1,'system','regular','2023-05-06','05','2023',NULL,NULL,'2023-05-31 06:32:30','2023-06-06 05:30:23'),(25,1,1,NULL,11,10,NULL,NULL,'disbursement',NULL,10000.0000,10000.0000,NULL,0,1,'system','regular','2023-05-09','05','2023',NULL,NULL,'2023-05-31 06:32:49','2023-06-06 05:30:34'),(26,1,1,NULL,11,10,NULL,NULL,'interest',NULL,2522.8227,2522.8227,NULL,0,1,'system','regular','2023-05-09','05','2023',NULL,NULL,'2023-05-31 06:32:49','2023-06-06 05:30:34'),(27,1,1,NULL,11,10,NULL,NULL,'disbursement_fee',NULL,100.0000,100.0000,NULL,0,1,'system','regular','2023-05-09','05','2023',NULL,NULL,'2023-05-31 06:32:49','2023-06-06 05:30:34'),(28,1,1,NULL,11,10,NULL,NULL,'repayment_disbursement',NULL,100.0000,100.0000,NULL,0,1,'system','regular','2023-05-09','05','2023',NULL,NULL,'2023-05-31 06:32:49','2023-06-06 05:30:34'),(29,1,1,NULL,10,9,NULL,NULL,'disbursement',NULL,5000.0000,5000.0000,NULL,0,1,'system','regular','2023-05-09','05','2023',NULL,NULL,'2023-05-31 06:33:16','2023-06-06 05:30:43'),(30,1,1,NULL,10,9,NULL,NULL,'interest',NULL,820.5027,820.5027,NULL,0,1,'system','regular','2023-05-09','05','2023',NULL,NULL,'2023-05-31 06:33:16','2023-06-06 05:30:43'),(31,1,1,NULL,10,9,NULL,NULL,'disbursement_fee',NULL,50.0000,50.0000,NULL,0,1,'system','regular','2023-05-09','05','2023',NULL,NULL,'2023-05-31 06:33:16','2023-06-06 05:30:43'),(32,1,1,NULL,10,9,NULL,NULL,'repayment_disbursement',NULL,50.0000,50.0000,NULL,0,1,'system','regular','2023-05-09','05','2023',NULL,NULL,'2023-05-31 06:33:16','2023-06-06 05:30:43'),(33,1,1,NULL,9,8,NULL,NULL,'disbursement',NULL,6000.0000,6000.0000,NULL,0,1,'system','regular','2023-05-09','05','2023',NULL,NULL,'2023-05-31 06:33:44','2023-06-06 05:30:55'),(34,1,1,NULL,9,8,NULL,NULL,'interest',NULL,984.6033,984.6033,NULL,0,1,'system','regular','2023-05-09','05','2023',NULL,NULL,'2023-05-31 06:33:44','2023-06-06 05:30:55'),(35,1,1,NULL,9,8,NULL,NULL,'disbursement_fee',NULL,50.0000,50.0000,NULL,0,1,'system','regular','2023-05-09','05','2023',NULL,NULL,'2023-05-31 06:33:44','2023-06-06 05:30:55'),(36,1,1,NULL,9,8,NULL,NULL,'repayment_disbursement',NULL,50.0000,50.0000,NULL,0,1,'system','regular','2023-05-09','05','2023',NULL,NULL,'2023-05-31 06:33:44','2023-06-06 05:30:55'),(37,1,1,NULL,8,7,NULL,NULL,'disbursement',NULL,10000.0000,10000.0000,NULL,0,1,'system','regular','2023-05-09','05','2023',NULL,NULL,'2023-05-31 06:34:08','2023-06-06 05:31:31'),(38,1,1,NULL,8,7,NULL,NULL,'interest',NULL,1215.3846,1215.3846,NULL,0,1,'system','regular','2023-05-09','05','2023',NULL,NULL,'2023-05-31 06:34:08','2023-06-06 05:31:31'),(39,1,1,NULL,8,7,NULL,NULL,'disbursement_fee',NULL,100.0000,100.0000,NULL,0,1,'system','regular','2023-05-09','05','2023',NULL,NULL,'2023-05-31 06:34:08','2023-06-06 05:31:31'),(40,1,1,NULL,8,7,NULL,NULL,'repayment_disbursement',NULL,100.0000,100.0000,NULL,0,1,'system','regular','2023-05-09','05','2023',NULL,NULL,'2023-05-31 06:34:08','2023-06-06 05:31:31'),(41,1,1,NULL,7,6,NULL,NULL,'disbursement',NULL,20000.0000,20000.0000,NULL,0,1,'system','regular','2023-05-06','05','2023',NULL,NULL,'2023-05-31 06:34:40','2023-06-06 05:31:48'),(42,1,1,NULL,7,6,NULL,NULL,'interest',NULL,3642.0962,3642.0962,NULL,0,1,'system','regular','2023-05-06','05','2023',NULL,NULL,'2023-05-31 06:34:40','2023-06-06 05:31:48'),(43,1,1,NULL,7,6,NULL,NULL,'disbursement_fee',NULL,150.0000,150.0000,NULL,0,1,'system','regular','2023-05-06','05','2023',NULL,NULL,'2023-05-31 06:34:40','2023-06-06 05:31:48'),(44,1,1,NULL,7,6,NULL,NULL,'repayment_disbursement',NULL,150.0000,150.0000,NULL,0,1,'system','regular','2023-05-06','05','2023',NULL,NULL,'2023-05-31 06:34:40','2023-06-06 05:31:48'),(45,1,1,NULL,6,5,NULL,NULL,'disbursement',NULL,10000.0000,10000.0000,NULL,0,1,'system','regular','2023-05-06','05','2023',NULL,NULL,'2023-05-31 06:35:14','2023-06-06 05:31:57'),(46,1,1,NULL,6,5,NULL,NULL,'interest',NULL,2978.9232,2978.9232,NULL,0,1,'system','regular','2023-05-06','05','2023',NULL,NULL,'2023-05-31 06:35:14','2023-06-06 05:31:57'),(47,1,1,NULL,6,5,NULL,NULL,'disbursement_fee',NULL,100.0000,100.0000,NULL,0,1,'system','regular','2023-05-06','05','2023',NULL,NULL,'2023-05-31 06:35:14','2023-06-06 05:31:57'),(48,1,1,NULL,6,5,NULL,NULL,'repayment_disbursement',NULL,100.0000,100.0000,NULL,0,1,'system','regular','2023-05-06','05','2023',NULL,NULL,'2023-05-31 06:35:14','2023-06-06 05:31:57'),(49,1,1,NULL,6,5,NULL,NULL,'disbursement',NULL,10000.0000,10000.0000,NULL,0,1,'system','regular','2023-05-06','05','2023',NULL,NULL,'2023-05-31 06:35:15','2023-06-06 05:31:57'),(50,1,1,NULL,6,5,NULL,NULL,'interest',NULL,2978.9232,2978.9232,NULL,0,1,'system','regular','2023-05-06','05','2023',NULL,NULL,'2023-05-31 06:35:15','2023-06-06 05:31:57'),(51,1,1,NULL,6,5,NULL,NULL,'disbursement_fee',NULL,100.0000,100.0000,NULL,0,1,'system','regular','2023-05-06','05','2023',NULL,NULL,'2023-05-31 06:35:15','2023-06-06 05:31:57'),(52,1,1,NULL,6,5,NULL,NULL,'repayment_disbursement',NULL,100.0000,100.0000,NULL,0,1,'system','regular','2023-05-06','05','2023',NULL,NULL,'2023-05-31 06:35:15','2023-06-06 05:31:57'),(53,1,1,NULL,5,4,NULL,NULL,'disbursement',NULL,10000.0000,10000.0000,NULL,0,1,'system','regular','2023-05-06','05','2023',NULL,NULL,'2023-05-31 06:36:00','2023-06-06 05:32:05'),(54,1,1,NULL,5,4,NULL,NULL,'interest',NULL,1641.0054,1641.0054,NULL,0,1,'system','regular','2023-05-06','05','2023',NULL,NULL,'2023-05-31 06:36:00','2023-06-06 05:32:05'),(55,1,1,NULL,5,4,NULL,NULL,'disbursement_fee',NULL,100.0000,100.0000,NULL,0,1,'system','regular','2023-05-06','05','2023',NULL,NULL,'2023-05-31 06:36:00','2023-06-06 05:32:05'),(56,1,1,NULL,5,4,NULL,NULL,'repayment_disbursement',NULL,100.0000,100.0000,NULL,0,1,'system','regular','2023-05-06','05','2023',NULL,NULL,'2023-05-31 06:36:00','2023-06-06 05:32:05'),(57,1,1,NULL,4,3,NULL,NULL,'disbursement',NULL,6000.0000,6000.0000,NULL,0,1,'system','regular','2023-05-09','05','2023',NULL,NULL,'2023-05-31 06:38:23','2023-05-31 07:50:53'),(58,1,1,NULL,4,3,NULL,NULL,'interest',NULL,729.2308,729.2308,NULL,0,1,'system','regular','2023-05-09','05','2023',NULL,NULL,'2023-05-31 06:38:23','2023-05-31 07:50:53'),(59,1,1,NULL,4,3,NULL,NULL,'disbursement_fee',NULL,50.0000,50.0000,NULL,0,1,'system','regular','2023-05-09','05','2023',NULL,NULL,'2023-05-31 06:38:23','2023-05-31 07:50:53'),(60,1,1,NULL,4,3,NULL,NULL,'repayment_disbursement',NULL,50.0000,50.0000,NULL,0,1,'system','regular','2023-05-09','05','2023',NULL,NULL,'2023-05-31 06:38:23','2023-05-31 07:50:53'),(61,1,1,NULL,3,2,NULL,NULL,'disbursement',NULL,3000.0000,3000.0000,NULL,0,1,'system','regular','2023-05-12','05','2023',NULL,NULL,'2023-05-31 06:39:08','2023-06-06 05:32:13'),(62,1,1,NULL,3,2,NULL,NULL,'interest',NULL,240.0000,240.0000,NULL,0,1,'system','regular','2023-05-12','05','2023',NULL,NULL,'2023-05-31 06:39:08','2023-06-06 05:32:13'),(63,1,1,NULL,3,2,NULL,NULL,'disbursement_fee',NULL,50.0000,50.0000,NULL,0,1,'system','regular','2023-05-12','05','2023',NULL,NULL,'2023-05-31 06:39:08','2023-06-06 05:32:13'),(64,1,1,NULL,3,2,NULL,NULL,'repayment_disbursement',NULL,50.0000,50.0000,NULL,0,1,'system','regular','2023-05-12','05','2023',NULL,NULL,'2023-05-31 06:39:08','2023-06-06 05:32:13'),(65,1,1,NULL,2,14,NULL,NULL,'disbursement',NULL,2000.0000,2000.0000,NULL,0,1,'system','regular','2023-05-06','05','2023',NULL,NULL,'2023-05-31 06:39:29','2023-05-31 06:43:47'),(66,1,1,NULL,2,14,NULL,NULL,'interest',NULL,595.7846,595.7846,NULL,0,1,'system','regular','2023-05-06','05','2023',NULL,NULL,'2023-05-31 06:39:29','2023-05-31 06:43:47'),(67,1,1,NULL,2,14,NULL,NULL,'disbursement_fee',NULL,50.0000,50.0000,NULL,0,1,'system','regular','2023-05-06','05','2023',NULL,NULL,'2023-05-31 06:39:29','2023-05-31 06:43:47'),(68,1,1,NULL,2,14,NULL,NULL,'repayment_disbursement',NULL,50.0000,50.0000,NULL,0,1,'system','regular','2023-05-06','05','2023',NULL,NULL,'2023-05-31 06:39:29','2023-05-31 06:43:47'),(69,1,1,NULL,2,14,NULL,NULL,'disbursement',NULL,20000.0000,20000.0000,NULL,0,1,'system','regular','2023-05-06','05','2023',NULL,NULL,'2023-05-31 07:08:30','2023-06-06 05:31:40'),(70,1,1,NULL,2,14,NULL,NULL,'interest',NULL,5957.8463,5957.8463,NULL,0,1,'system','regular','2023-05-06','05','2023',NULL,NULL,'2023-05-31 07:08:30','2023-06-06 05:31:40'),(71,1,1,NULL,2,14,NULL,NULL,'disbursement_fee',NULL,50.0000,50.0000,NULL,0,1,'system','regular','2023-05-06','05','2023',NULL,NULL,'2023-05-31 07:08:30','2023-06-06 05:31:40'),(72,1,1,NULL,2,14,NULL,NULL,'repayment_disbursement',NULL,50.0000,50.0000,NULL,0,1,'system','regular','2023-05-06','05','2023',NULL,NULL,'2023-05-31 07:08:30','2023-06-06 05:31:40'),(73,1,1,NULL,4,3,NULL,NULL,'disbursement',NULL,6000.0000,6000.0000,NULL,0,1,'system','regular','2023-05-09','05','2023',NULL,NULL,'2023-05-31 07:53:43','2023-05-31 09:19:04'),(74,1,1,NULL,4,3,NULL,NULL,'interest',NULL,729.2308,729.2308,NULL,0,1,'system','regular','2023-05-09','05','2023',NULL,NULL,'2023-05-31 07:53:43','2023-05-31 09:19:04'),(75,1,1,NULL,4,3,NULL,NULL,'disbursement_fee',NULL,50.0000,50.0000,NULL,0,1,'system','regular','2023-05-09','05','2023',NULL,NULL,'2023-05-31 07:53:43','2023-05-31 09:19:04'),(76,1,1,NULL,4,3,NULL,NULL,'repayment_disbursement',NULL,50.0000,50.0000,NULL,0,1,'system','regular','2023-05-09','05','2023',NULL,NULL,'2023-05-31 07:53:43','2023-05-31 09:19:04'),(77,1,1,NULL,4,3,NULL,NULL,'disbursement',NULL,6000.0000,6000.0000,NULL,0,1,'system','regular','2023-05-09','05','2023',NULL,NULL,'2023-05-31 09:21:21','2023-05-31 09:21:34'),(78,1,1,NULL,4,3,NULL,NULL,'interest',NULL,729.2308,729.2308,NULL,0,1,'system','regular','2023-05-09','05','2023',NULL,NULL,'2023-05-31 09:21:21','2023-05-31 09:21:34'),(79,1,1,NULL,4,3,NULL,NULL,'disbursement_fee',NULL,50.0000,50.0000,NULL,0,1,'system','regular','2023-05-09','05','2023',NULL,NULL,'2023-05-31 09:21:21','2023-05-31 09:21:34'),(80,1,1,NULL,4,3,NULL,NULL,'repayment_disbursement',NULL,50.0000,50.0000,NULL,0,1,'system','regular','2023-05-09','05','2023',NULL,NULL,'2023-05-31 09:21:21','2023-05-31 09:21:34'),(81,1,1,NULL,4,3,NULL,NULL,'disbursement',NULL,6000.0000,6000.0000,NULL,0,1,'system','regular','2023-05-09','05','2023',NULL,NULL,'2023-05-31 09:21:22','2023-05-31 09:21:34'),(82,1,1,NULL,4,3,NULL,NULL,'interest',NULL,729.2308,729.2308,NULL,0,1,'system','regular','2023-05-09','05','2023',NULL,NULL,'2023-05-31 09:21:22','2023-05-31 09:21:34'),(83,1,1,NULL,4,3,NULL,NULL,'disbursement_fee',NULL,50.0000,50.0000,NULL,0,1,'system','regular','2023-05-09','05','2023',NULL,NULL,'2023-05-31 09:21:22','2023-05-31 09:21:34'),(84,1,1,NULL,4,3,NULL,NULL,'repayment_disbursement',NULL,50.0000,50.0000,NULL,0,1,'system','regular','2023-05-09','05','2023',NULL,NULL,'2023-05-31 09:21:22','2023-05-31 09:21:34'),(85,1,1,NULL,4,3,NULL,NULL,'disbursement',NULL,6000.0000,6000.0000,NULL,0,1,'system','regular','2023-05-09','05','2023',NULL,NULL,'2023-05-31 09:21:40','2023-06-06 05:26:34'),(86,1,1,NULL,4,3,NULL,NULL,'interest',NULL,729.2308,729.2308,NULL,0,1,'system','regular','2023-05-09','05','2023',NULL,NULL,'2023-05-31 09:21:40','2023-06-06 05:26:34'),(87,1,1,NULL,4,3,NULL,NULL,'disbursement_fee',NULL,50.0000,50.0000,NULL,0,1,'system','regular','2023-05-09','05','2023',NULL,NULL,'2023-05-31 09:21:40','2023-06-06 05:26:34'),(88,1,1,NULL,4,3,NULL,NULL,'repayment_disbursement',NULL,50.0000,50.0000,NULL,0,1,'system','regular','2023-05-09','05','2023',NULL,NULL,'2023-05-31 09:21:40','2023-06-06 05:26:34'),(89,1,1,NULL,23,24,NULL,NULL,'disbursement',NULL,15000.0000,15000.0000,NULL,0,1,'system','regular','2023-06-12','06','2023',NULL,NULL,'2023-06-12 08:03:31','2023-06-12 08:16:05'),(90,1,1,NULL,23,24,NULL,NULL,'interest',NULL,2028.2878,2028.2878,NULL,0,1,'system','regular','2023-06-12','06','2023',NULL,NULL,'2023-06-12 08:03:31','2023-06-12 08:16:05'),(91,1,1,NULL,23,24,NULL,NULL,'disbursement_fee',NULL,100.0000,100.0000,NULL,0,1,'system','regular','2023-06-12','06','2023',NULL,NULL,'2023-06-12 08:03:31','2023-06-12 08:16:05'),(92,1,1,NULL,23,24,NULL,NULL,'repayment_disbursement',NULL,100.0000,100.0000,NULL,0,1,'system','regular','2023-06-12','06','2023',NULL,NULL,'2023-06-12 08:03:31','2023-06-12 08:16:05'),(93,1,1,NULL,23,24,NULL,NULL,'disbursement',NULL,15000.0000,15000.0000,NULL,0,1,'system','regular','2023-06-11','06','2023',NULL,NULL,'2023-06-12 08:16:14','2023-06-12 09:05:22'),(94,1,1,NULL,23,24,NULL,NULL,'interest',NULL,2066.9975,2066.9975,NULL,0,1,'system','regular','2023-06-11','06','2023',NULL,NULL,'2023-06-12 08:16:14','2023-06-12 09:05:22'),(95,1,1,NULL,23,24,NULL,NULL,'disbursement_fee',NULL,100.0000,100.0000,NULL,0,1,'system','regular','2023-06-11','06','2023',NULL,NULL,'2023-06-12 08:16:14','2023-06-12 09:05:22'),(96,1,1,NULL,23,24,NULL,NULL,'repayment_disbursement',NULL,100.0000,100.0000,NULL,0,1,'system','regular','2023-06-11','06','2023',NULL,NULL,'2023-06-12 08:16:14','2023-06-12 09:05:22'),(97,1,1,NULL,21,22,NULL,NULL,'disbursement',NULL,10000.0000,10000.0000,NULL,0,1,'system','regular','2023-06-11','06','2023',NULL,NULL,'2023-06-12 08:38:56','2023-06-12 08:49:51'),(98,1,1,NULL,21,22,NULL,NULL,'interest',NULL,2167.7419,2167.7419,NULL,0,1,'system','regular','2023-06-11','06','2023',NULL,NULL,'2023-06-12 08:38:56','2023-06-12 08:49:51'),(99,1,1,NULL,21,22,NULL,NULL,'disbursement_fee',NULL,100.0000,100.0000,NULL,0,1,'system','regular','2023-06-11','06','2023',NULL,NULL,'2023-06-12 08:38:56','2023-06-12 08:49:51'),(100,1,1,NULL,21,22,NULL,NULL,'repayment_disbursement',NULL,100.0000,100.0000,NULL,0,1,'system','regular','2023-06-11','06','2023',NULL,NULL,'2023-06-12 08:38:56','2023-06-12 08:49:51'),(101,1,1,NULL,21,22,NULL,NULL,'disbursement',NULL,10000.0000,NULL,NULL,0,0,'none','regular','2023-06-11','06','2023',NULL,NULL,'2023-06-12 08:50:36','2023-06-12 08:50:36'),(102,1,1,NULL,21,22,NULL,NULL,'interest',NULL,1377.9983,NULL,NULL,0,0,'none','regular','2023-06-11','06','2023',NULL,NULL,'2023-06-12 08:50:36','2023-06-12 08:50:36'),(103,1,1,NULL,21,22,NULL,NULL,'disbursement_fee',NULL,100.0000,NULL,NULL,0,0,'none','regular','2023-06-11','06','2023',NULL,NULL,'2023-06-12 08:50:36','2023-06-12 08:50:36'),(104,1,1,NULL,21,22,NULL,NULL,'repayment_disbursement',NULL,NULL,100.0000,NULL,0,0,'none','regular','2023-06-11','06','2023',NULL,NULL,'2023-06-12 08:50:36','2023-06-12 08:50:36'),(105,1,1,NULL,23,24,NULL,NULL,'disbursement',NULL,15000.0000,15000.0000,NULL,0,1,'system','regular','2023-06-12','06','2023',NULL,NULL,'2023-06-12 09:05:29','2023-06-12 09:05:49'),(106,1,1,NULL,23,24,NULL,NULL,'interest',NULL,2028.2878,2028.2878,NULL,0,1,'system','regular','2023-06-12','06','2023',NULL,NULL,'2023-06-12 09:05:29','2023-06-12 09:05:49'),(107,1,1,NULL,23,24,NULL,NULL,'disbursement_fee',NULL,100.0000,100.0000,NULL,0,1,'system','regular','2023-06-12','06','2023',NULL,NULL,'2023-06-12 09:05:29','2023-06-12 09:05:49'),(108,1,1,NULL,23,24,NULL,NULL,'repayment_disbursement',NULL,100.0000,100.0000,NULL,0,1,'system','regular','2023-06-12','06','2023',NULL,NULL,'2023-06-12 09:05:29','2023-06-12 09:05:49'),(109,1,1,NULL,23,24,NULL,NULL,'disbursement',NULL,15000.0000,NULL,NULL,0,0,'none','regular','2023-06-11','06','2023',NULL,NULL,'2023-06-12 09:05:57','2023-06-12 09:05:57'),(110,1,1,NULL,23,24,NULL,NULL,'interest',NULL,2066.9975,NULL,NULL,0,0,'none','regular','2023-06-11','06','2023',NULL,NULL,'2023-06-12 09:05:57','2023-06-12 09:05:57'),(111,1,1,NULL,23,24,NULL,NULL,'disbursement_fee',NULL,100.0000,NULL,NULL,0,0,'none','regular','2023-06-11','06','2023',NULL,NULL,'2023-06-12 09:05:57','2023-06-12 09:05:57'),(112,1,1,NULL,23,24,NULL,NULL,'repayment_disbursement',NULL,NULL,100.0000,NULL,0,0,'none','regular','2023-06-11','06','2023',NULL,NULL,'2023-06-12 09:05:57','2023-06-12 09:05:57'),(113,1,1,NULL,22,23,NULL,NULL,'disbursement',NULL,10000.0000,NULL,NULL,0,0,'none','regular','2023-06-11','06','2023',NULL,NULL,'2023-06-12 09:06:30','2023-06-12 09:06:30'),(114,1,1,NULL,22,23,NULL,NULL,'interest',NULL,1377.9983,NULL,NULL,0,0,'none','regular','2023-06-11','06','2023',NULL,NULL,'2023-06-12 09:06:30','2023-06-12 09:06:30'),(115,1,1,NULL,22,23,NULL,NULL,'disbursement_fee',NULL,100.0000,NULL,NULL,0,0,'none','regular','2023-06-11','06','2023',NULL,NULL,'2023-06-12 09:06:30','2023-06-12 09:06:30'),(116,1,1,NULL,22,23,NULL,NULL,'repayment_disbursement',NULL,NULL,100.0000,NULL,0,0,'none','regular','2023-06-11','06','2023',NULL,NULL,'2023-06-12 09:06:30','2023-06-12 09:06:30'),(117,1,1,NULL,20,21,NULL,NULL,'disbursement',NULL,10000.0000,NULL,NULL,0,0,'none','regular','2023-06-11','06','2023',NULL,NULL,'2023-06-12 09:07:48','2023-06-12 09:07:48'),(118,1,1,NULL,20,21,NULL,NULL,'interest',NULL,1377.9983,NULL,NULL,0,0,'none','regular','2023-06-11','06','2023',NULL,NULL,'2023-06-12 09:07:48','2023-06-12 09:07:48'),(119,1,1,NULL,20,21,NULL,NULL,'disbursement_fee',NULL,100.0000,NULL,NULL,0,0,'none','regular','2023-06-11','06','2023',NULL,NULL,'2023-06-12 09:07:48','2023-06-12 09:07:48'),(120,1,1,NULL,20,21,NULL,NULL,'repayment_disbursement',NULL,NULL,100.0000,NULL,0,0,'none','regular','2023-06-11','06','2023',NULL,NULL,'2023-06-12 09:07:48','2023-06-12 09:07:48'),(121,1,1,NULL,19,20,NULL,NULL,'disbursement',NULL,6000.0000,NULL,NULL,0,0,'none','regular','2023-06-11','06','2023',NULL,NULL,'2023-06-12 09:09:35','2023-06-12 09:09:35'),(122,1,1,NULL,19,20,NULL,NULL,'interest',NULL,826.7990,NULL,NULL,0,0,'none','regular','2023-06-11','06','2023',NULL,NULL,'2023-06-12 09:09:35','2023-06-12 09:09:35'),(123,1,1,NULL,19,20,NULL,NULL,'disbursement_fee',NULL,50.0000,NULL,NULL,0,0,'none','regular','2023-06-11','06','2023',NULL,NULL,'2023-06-12 09:09:35','2023-06-12 09:09:35'),(124,1,1,NULL,19,20,NULL,NULL,'repayment_disbursement',NULL,NULL,50.0000,NULL,0,0,'none','regular','2023-06-11','06','2023',NULL,NULL,'2023-06-12 09:09:35','2023-06-12 09:09:35'),(125,1,1,NULL,27,27,NULL,NULL,'disbursement',NULL,6000.0000,6000.0000,NULL,0,1,'system','regular','2023-06-14','06','2023',NULL,NULL,'2023-06-14 09:30:26','2023-06-15 03:34:24'),(126,1,1,NULL,27,27,NULL,NULL,'interest',NULL,780.3474,780.3474,NULL,0,1,'system','regular','2023-06-14','06','2023',NULL,NULL,'2023-06-14 09:30:26','2023-06-15 03:34:24'),(127,1,1,NULL,27,27,NULL,NULL,'disbursement_fee',NULL,50.0000,50.0000,NULL,0,1,'system','regular','2023-06-14','06','2023',NULL,NULL,'2023-06-14 09:30:26','2023-06-15 03:34:24'),(128,1,1,NULL,27,27,NULL,NULL,'repayment_disbursement',NULL,50.0000,50.0000,NULL,0,1,'system','regular','2023-06-14','06','2023',NULL,NULL,'2023-06-14 09:30:26','2023-06-15 03:34:24'),(129,1,1,NULL,26,28,NULL,NULL,'disbursement',NULL,10000.0000,10000.0000,NULL,0,1,'system','regular','2023-06-16','06','2023',NULL,NULL,'2023-06-14 09:30:43','2023-06-14 09:30:48'),(130,1,1,NULL,26,28,NULL,NULL,'interest',NULL,1248.9661,1248.9661,NULL,0,1,'system','regular','2023-06-16','06','2023',NULL,NULL,'2023-06-14 09:30:43','2023-06-14 09:30:48'),(131,1,1,NULL,26,28,NULL,NULL,'disbursement_fee',NULL,100.0000,100.0000,NULL,0,1,'system','regular','2023-06-16','06','2023',NULL,NULL,'2023-06-14 09:30:43','2023-06-14 09:30:48'),(132,1,1,NULL,26,28,NULL,NULL,'repayment_disbursement',NULL,100.0000,100.0000,NULL,0,1,'system','regular','2023-06-16','06','2023',NULL,NULL,'2023-06-14 09:30:43','2023-06-14 09:30:48'),(133,1,1,NULL,26,28,NULL,NULL,'disbursement',NULL,10000.0000,10000.0000,NULL,0,1,'system','regular','2023-06-14','06','2023',NULL,NULL,'2023-06-14 09:30:56','2023-06-15 03:31:58'),(134,1,1,NULL,26,28,NULL,NULL,'interest',NULL,1300.5790,1300.5790,NULL,0,1,'system','regular','2023-06-14','06','2023',NULL,NULL,'2023-06-14 09:30:56','2023-06-15 03:31:58'),(135,1,1,NULL,26,28,NULL,NULL,'disbursement_fee',NULL,100.0000,100.0000,NULL,0,1,'system','regular','2023-06-14','06','2023',NULL,NULL,'2023-06-14 09:30:56','2023-06-15 03:31:58'),(136,1,1,NULL,26,28,NULL,NULL,'repayment_disbursement',NULL,100.0000,100.0000,NULL,0,1,'system','regular','2023-06-14','06','2023',NULL,NULL,'2023-06-14 09:30:56','2023-06-15 03:31:58'),(137,1,1,NULL,25,29,NULL,NULL,'disbursement',NULL,10000.0000,10000.0000,NULL,0,1,'system','regular','2023-06-14','06','2023',NULL,NULL,'2023-06-14 09:31:18','2023-06-15 03:30:54'),(138,1,1,NULL,25,29,NULL,NULL,'interest',NULL,1300.5790,1300.5790,NULL,0,1,'system','regular','2023-06-14','06','2023',NULL,NULL,'2023-06-14 09:31:18','2023-06-15 03:30:54'),(139,1,1,NULL,25,29,NULL,NULL,'disbursement_fee',NULL,100.0000,100.0000,NULL,0,1,'system','regular','2023-06-14','06','2023',NULL,NULL,'2023-06-14 09:31:18','2023-06-15 03:30:54'),(140,1,1,NULL,25,29,NULL,NULL,'repayment_disbursement',NULL,100.0000,100.0000,NULL,0,1,'system','regular','2023-06-14','06','2023',NULL,NULL,'2023-06-14 09:31:18','2023-06-15 03:30:54'),(141,1,1,NULL,24,30,NULL,NULL,'disbursement',NULL,10000.0000,10000.0000,NULL,0,1,'system','regular','2023-06-14','06','2023',NULL,NULL,'2023-06-14 09:31:34','2023-06-15 03:28:12'),(142,1,1,NULL,24,30,NULL,NULL,'interest',NULL,1721.0766,1721.0766,NULL,0,1,'system','regular','2023-06-14','06','2023',NULL,NULL,'2023-06-14 09:31:34','2023-06-15 03:28:12'),(143,1,1,NULL,24,30,NULL,NULL,'disbursement_fee',NULL,100.0000,100.0000,NULL,0,1,'system','regular','2023-06-14','06','2023',NULL,NULL,'2023-06-14 09:31:34','2023-06-15 03:28:12'),(144,1,1,NULL,24,30,NULL,NULL,'repayment_disbursement',NULL,100.0000,100.0000,NULL,0,1,'system','regular','2023-06-14','06','2023',NULL,NULL,'2023-06-14 09:31:34','2023-06-15 03:28:12'),(145,1,1,NULL,24,30,NULL,NULL,'disbursement',NULL,10000.0000,NULL,NULL,0,0,'none','regular','2023-06-13','06','2023',NULL,NULL,'2023-06-15 03:28:25','2023-06-15 03:28:25'),(146,1,1,NULL,24,30,NULL,NULL,'interest',NULL,1746.8831,NULL,NULL,0,0,'none','regular','2023-06-13','06','2023',NULL,NULL,'2023-06-15 03:28:25','2023-06-15 03:28:25'),(147,1,1,NULL,24,30,NULL,NULL,'disbursement_fee',NULL,100.0000,NULL,NULL,0,0,'none','regular','2023-06-13','06','2023',NULL,NULL,'2023-06-15 03:28:25','2023-06-15 03:28:25'),(148,1,1,NULL,24,30,NULL,NULL,'repayment_disbursement',NULL,NULL,100.0000,NULL,0,0,'none','regular','2023-06-13','06','2023',NULL,NULL,'2023-06-15 03:28:25','2023-06-15 03:28:25'),(149,1,1,NULL,25,29,NULL,NULL,'disbursement',NULL,10000.0000,NULL,NULL,0,0,'none','regular','2023-06-13','06','2023',NULL,NULL,'2023-06-15 03:30:59','2023-06-15 03:30:59'),(150,1,1,NULL,25,29,NULL,NULL,'interest',NULL,1326.3854,NULL,NULL,0,0,'none','regular','2023-06-13','06','2023',NULL,NULL,'2023-06-15 03:30:59','2023-06-15 03:30:59'),(151,1,1,NULL,25,29,NULL,NULL,'disbursement_fee',NULL,100.0000,NULL,NULL,0,0,'none','regular','2023-06-13','06','2023',NULL,NULL,'2023-06-15 03:30:59','2023-06-15 03:30:59'),(152,1,1,NULL,25,29,NULL,NULL,'repayment_disbursement',NULL,NULL,100.0000,NULL,0,0,'none','regular','2023-06-13','06','2023',NULL,NULL,'2023-06-15 03:30:59','2023-06-15 03:30:59'),(153,1,1,NULL,26,28,NULL,NULL,'disbursement',NULL,10000.0000,NULL,NULL,0,0,'none','regular','2023-06-13','06','2023',NULL,NULL,'2023-06-15 03:32:03','2023-06-15 03:32:03'),(154,1,1,NULL,26,28,NULL,NULL,'interest',NULL,1326.3854,NULL,NULL,0,0,'none','regular','2023-06-13','06','2023',NULL,NULL,'2023-06-15 03:32:03','2023-06-15 03:32:03'),(155,1,1,NULL,26,28,NULL,NULL,'disbursement_fee',NULL,100.0000,NULL,NULL,0,0,'none','regular','2023-06-13','06','2023',NULL,NULL,'2023-06-15 03:32:03','2023-06-15 03:32:03'),(156,1,1,NULL,26,28,NULL,NULL,'repayment_disbursement',NULL,NULL,100.0000,NULL,0,0,'none','regular','2023-06-13','06','2023',NULL,NULL,'2023-06-15 03:32:03','2023-06-15 03:32:03'),(157,1,1,NULL,27,27,NULL,NULL,'disbursement',NULL,6000.0000,NULL,NULL,0,0,'none','regular','2023-06-13','06','2023',NULL,NULL,'2023-06-15 03:34:33','2023-06-15 03:34:33'),(158,1,1,NULL,27,27,NULL,NULL,'interest',NULL,795.8313,NULL,NULL,0,0,'none','regular','2023-06-13','06','2023',NULL,NULL,'2023-06-15 03:34:33','2023-06-15 03:34:33'),(159,1,1,NULL,27,27,NULL,NULL,'disbursement_fee',NULL,50.0000,NULL,NULL,0,0,'none','regular','2023-06-13','06','2023',NULL,NULL,'2023-06-15 03:34:33','2023-06-15 03:34:33'),(160,1,1,NULL,27,27,NULL,NULL,'repayment_disbursement',NULL,NULL,50.0000,NULL,0,0,'none','regular','2023-06-13','06','2023',NULL,NULL,'2023-06-15 03:34:33','2023-06-15 03:34:33'),(161,1,1,NULL,28,32,NULL,NULL,'disbursement',NULL,6000.0000,6000.0000,NULL,0,1,'system','regular','2023-06-15','06','2023',NULL,NULL,'2023-06-17 06:45:19','2023-06-17 06:45:52'),(162,1,1,NULL,28,32,NULL,NULL,'interest',NULL,518.7097,518.7097,NULL,0,1,'system','regular','2023-06-15','06','2023',NULL,NULL,'2023-06-17 06:45:19','2023-06-17 06:45:52'),(163,1,1,NULL,28,32,NULL,NULL,'disbursement_fee',NULL,50.0000,50.0000,NULL,0,1,'system','regular','2023-06-15','06','2023',NULL,NULL,'2023-06-17 06:45:19','2023-06-17 06:45:52'),(164,1,1,NULL,28,32,NULL,NULL,'repayment_disbursement',NULL,50.0000,50.0000,NULL,0,1,'system','regular','2023-06-15','06','2023',NULL,NULL,'2023-06-17 06:45:19','2023-06-17 06:45:52'),(165,1,1,NULL,28,32,NULL,NULL,'disbursement',NULL,6000.0000,6000.0000,NULL,0,1,'system','regular','2023-06-16','06','2023',NULL,NULL,'2023-06-17 06:45:57','2023-06-17 06:46:31'),(166,1,1,NULL,28,32,NULL,NULL,'interest',NULL,503.2258,503.2258,NULL,0,1,'system','regular','2023-06-16','06','2023',NULL,NULL,'2023-06-17 06:45:57','2023-06-17 06:46:31'),(167,1,1,NULL,28,32,NULL,NULL,'disbursement_fee',NULL,50.0000,50.0000,NULL,0,1,'system','regular','2023-06-16','06','2023',NULL,NULL,'2023-06-17 06:45:57','2023-06-17 06:46:31'),(168,1,1,NULL,28,32,NULL,NULL,'repayment_disbursement',NULL,50.0000,50.0000,NULL,0,1,'system','regular','2023-06-16','06','2023',NULL,NULL,'2023-06-17 06:45:57','2023-06-17 06:46:31'),(169,1,1,NULL,28,32,NULL,NULL,'disbursement',NULL,6000.0000,6000.0000,NULL,0,1,'system','regular','2023-06-15','06','2023',NULL,NULL,'2023-06-17 06:46:36','2023-06-17 06:47:02'),(170,1,1,NULL,28,32,NULL,NULL,'interest',NULL,518.7097,518.7097,NULL,0,1,'system','regular','2023-06-15','06','2023',NULL,NULL,'2023-06-17 06:46:36','2023-06-17 06:47:02'),(171,1,1,NULL,28,32,NULL,NULL,'disbursement_fee',NULL,50.0000,50.0000,NULL,0,1,'system','regular','2023-06-15','06','2023',NULL,NULL,'2023-06-17 06:46:36','2023-06-17 06:47:02'),(172,1,1,NULL,28,32,NULL,NULL,'repayment_disbursement',NULL,50.0000,50.0000,NULL,0,1,'system','regular','2023-06-15','06','2023',NULL,NULL,'2023-06-17 06:46:36','2023-06-17 06:47:02'),(173,1,1,NULL,28,32,NULL,NULL,'disbursement',NULL,6000.0000,NULL,NULL,0,0,'none','regular','2023-06-15','06','2023',NULL,NULL,'2023-06-17 06:47:12','2023-06-17 06:47:12'),(174,1,1,NULL,28,32,NULL,NULL,'interest',NULL,518.7097,NULL,NULL,0,0,'none','regular','2023-06-15','06','2023',NULL,NULL,'2023-06-17 06:47:12','2023-06-17 06:47:12'),(175,1,1,NULL,28,32,NULL,NULL,'disbursement_fee',NULL,50.0000,NULL,NULL,0,0,'none','regular','2023-06-15','06','2023',NULL,NULL,'2023-06-17 06:47:12','2023-06-17 06:47:12'),(176,1,1,NULL,28,32,NULL,NULL,'repayment_disbursement',NULL,NULL,50.0000,NULL,0,0,'none','regular','2023-06-15','06','2023',NULL,NULL,'2023-06-17 06:47:12','2023-06-17 06:47:12'),(177,1,1,NULL,29,33,NULL,NULL,'disbursement',NULL,3000.0000,NULL,NULL,0,0,'none','regular','2023-06-15','06','2023',NULL,NULL,'2023-06-17 06:57:04','2023-06-17 06:57:04'),(178,1,1,NULL,29,33,NULL,NULL,'interest',NULL,139.3548,NULL,NULL,0,0,'none','regular','2023-06-15','06','2023',NULL,NULL,'2023-06-17 06:57:04','2023-06-17 06:57:04'),(179,1,1,NULL,29,33,NULL,NULL,'disbursement_fee',NULL,50.0000,NULL,NULL,0,0,'none','regular','2023-06-15','06','2023',NULL,NULL,'2023-06-17 06:57:04','2023-06-17 06:57:04'),(180,1,1,NULL,29,33,NULL,NULL,'repayment_disbursement',NULL,NULL,50.0000,NULL,0,0,'none','regular','2023-06-15','06','2023',NULL,NULL,'2023-06-17 06:57:04','2023-06-17 06:57:04'),(181,1,1,NULL,30,34,NULL,NULL,'disbursement',NULL,6000.0000,NULL,NULL,0,0,'none','regular','2023-06-15','06','2023',NULL,NULL,'2023-06-17 07:02:59','2023-06-17 07:02:59'),(182,1,1,NULL,30,34,NULL,NULL,'interest',NULL,764.8635,NULL,NULL,0,0,'none','regular','2023-06-15','06','2023',NULL,NULL,'2023-06-17 07:02:59','2023-06-17 07:02:59'),(183,1,1,NULL,30,34,NULL,NULL,'disbursement_fee',NULL,50.0000,NULL,NULL,0,0,'none','regular','2023-06-15','06','2023',NULL,NULL,'2023-06-17 07:02:59','2023-06-17 07:02:59'),(184,1,1,NULL,30,34,NULL,NULL,'repayment_disbursement',NULL,NULL,50.0000,NULL,0,0,'none','regular','2023-06-15','06','2023',NULL,NULL,'2023-06-17 07:02:59','2023-06-17 07:02:59'),(185,1,1,NULL,31,35,NULL,NULL,'disbursement',NULL,15000.0000,15000.0000,NULL,0,1,'system','regular','2023-06-24','06','2023',NULL,NULL,'2023-06-24 07:05:12','2023-06-24 07:05:55'),(186,1,1,NULL,31,35,NULL,NULL,'interest',NULL,1563.7717,1563.7717,NULL,0,1,'system','regular','2023-06-24','06','2023',NULL,NULL,'2023-06-24 07:05:12','2023-06-24 07:05:55'),(187,1,1,NULL,31,35,NULL,NULL,'disbursement',NULL,15000.0000,NULL,NULL,0,0,'none','regular','2023-06-23','06','2023',NULL,NULL,'2023-06-24 07:06:04','2023-06-24 07:06:04'),(188,1,1,NULL,31,35,NULL,NULL,'interest',NULL,1602.4814,NULL,NULL,0,0,'none','regular','2023-06-23','06','2023',NULL,NULL,'2023-06-24 07:06:04','2023-06-24 07:06:04'),(189,1,1,NULL,32,36,NULL,NULL,'disbursement',NULL,20000.0000,NULL,NULL,0,0,'none','regular','2023-06-23','06','2023',NULL,NULL,'2023-06-24 07:07:51','2023-06-24 07:07:51'),(190,1,1,NULL,32,36,NULL,NULL,'interest',NULL,18116.1290,NULL,NULL,0,0,'none','regular','2023-06-23','06','2023',NULL,NULL,'2023-06-24 07:07:51','2023-06-24 07:07:51'),(191,1,1,NULL,2,14,NULL,NULL,'disbursement',NULL,20000.0000,20000.0000,NULL,0,1,'system','regular','2023-05-06','05','2023',NULL,NULL,'2023-06-28 06:31:10','2023-06-28 06:34:17'),(192,1,1,NULL,2,14,NULL,NULL,'interest',NULL,5591.3712,5591.3712,NULL,0,1,'system','regular','2023-05-06','05','2023',NULL,NULL,'2023-06-28 06:31:10','2023-06-28 06:34:17'),(193,1,1,NULL,2,14,NULL,NULL,'disbursement_fee',NULL,50.0000,50.0000,NULL,0,1,'system','regular','2023-05-06','05','2023',NULL,NULL,'2023-06-28 06:31:10','2023-06-28 06:34:17'),(194,1,1,NULL,2,14,NULL,NULL,'repayment_disbursement',NULL,50.0000,50.0000,NULL,0,1,'system','regular','2023-05-06','05','2023',NULL,NULL,'2023-06-28 06:31:10','2023-06-28 06:34:17'),(195,1,1,NULL,33,40,NULL,NULL,'disbursement',NULL,7000.0000,7000.0000,NULL,0,1,'system','regular','2023-06-28','06','2023',NULL,NULL,'2023-06-29 06:41:40','2023-06-29 06:42:34'),(196,1,1,NULL,33,40,NULL,NULL,'interest',NULL,1217.5021,1217.5021,NULL,0,1,'system','regular','2023-06-28','06','2023',NULL,NULL,'2023-06-29 06:41:40','2023-06-29 06:42:34'),(197,1,1,NULL,33,40,NULL,NULL,'disbursement_fee',NULL,50.0000,50.0000,NULL,0,1,'system','regular','2023-06-28','06','2023',NULL,NULL,'2023-06-29 06:41:40','2023-06-29 06:42:34'),(198,1,1,NULL,33,40,NULL,NULL,'repayment_disbursement',NULL,50.0000,50.0000,NULL,0,1,'system','regular','2023-06-28','06','2023',NULL,NULL,'2023-06-29 06:41:40','2023-06-29 06:42:34'),(199,1,1,NULL,33,40,NULL,NULL,'disbursement',NULL,7000.0000,NULL,NULL,0,0,'none','regular','2023-06-27','06','2023',NULL,NULL,'2023-06-29 06:42:39','2023-06-29 06:42:39'),(200,1,1,NULL,33,40,NULL,NULL,'interest',NULL,1235.5666,NULL,NULL,0,0,'none','regular','2023-06-27','06','2023',NULL,NULL,'2023-06-29 06:42:39','2023-06-29 06:42:39'),(201,1,1,NULL,33,40,NULL,NULL,'disbursement_fee',NULL,50.0000,NULL,NULL,0,0,'none','regular','2023-06-27','06','2023',NULL,NULL,'2023-06-29 06:42:39','2023-06-29 06:42:39'),(202,1,1,NULL,33,40,NULL,NULL,'repayment_disbursement',NULL,NULL,50.0000,NULL,0,0,'none','regular','2023-06-27','06','2023',NULL,NULL,'2023-06-29 06:42:39','2023-06-29 06:42:39'),(203,1,1,NULL,34,39,NULL,NULL,'disbursement',NULL,100000.0000,NULL,NULL,0,0,'none','regular','2023-06-27','06','2023',NULL,NULL,'2023-06-29 06:44:00','2023-06-29 06:44:00'),(204,1,1,NULL,34,39,NULL,NULL,'interest',NULL,41791.2890,NULL,NULL,0,0,'none','regular','2023-06-27','06','2023',NULL,NULL,'2023-06-29 06:44:00','2023-06-29 06:44:00'),(205,1,1,NULL,34,39,NULL,NULL,'disbursement_fee',NULL,150.0000,NULL,NULL,0,0,'none','regular','2023-06-27','06','2023',NULL,NULL,'2023-06-29 06:44:00','2023-06-29 06:44:00'),(206,1,1,NULL,34,39,NULL,NULL,'repayment_disbursement',NULL,NULL,150.0000,NULL,0,0,'none','regular','2023-06-27','06','2023',NULL,NULL,'2023-06-29 06:44:00','2023-06-29 06:44:00'),(207,1,1,NULL,35,38,NULL,NULL,'disbursement',NULL,100000.0000,NULL,NULL,0,0,'none','regular','2023-06-27','06','2023',NULL,NULL,'2023-06-29 06:45:13','2023-06-29 06:45:13'),(208,1,1,NULL,35,38,NULL,NULL,'interest',NULL,41791.2890,NULL,NULL,0,0,'none','regular','2023-06-27','06','2023',NULL,NULL,'2023-06-29 06:45:13','2023-06-29 06:45:13'),(209,1,1,NULL,35,38,NULL,NULL,'disbursement_fee',NULL,150.0000,NULL,NULL,0,0,'none','regular','2023-06-27','06','2023',NULL,NULL,'2023-06-29 06:45:13','2023-06-29 06:45:13'),(210,1,1,NULL,35,38,NULL,NULL,'repayment_disbursement',NULL,NULL,150.0000,NULL,0,0,'none','regular','2023-06-27','06','2023',NULL,NULL,'2023-06-29 06:45:13','2023-06-29 06:45:13'),(211,1,1,NULL,36,37,NULL,NULL,'disbursement',NULL,6000.0000,NULL,NULL,0,0,'none','regular','2023-06-27','06','2023',NULL,NULL,'2023-06-29 06:45:48','2023-06-29 06:45:48'),(212,1,1,NULL,36,37,NULL,NULL,'interest',NULL,812.9032,NULL,NULL,0,0,'none','regular','2023-06-27','06','2023',NULL,NULL,'2023-06-29 06:45:48','2023-06-29 06:45:48'),(213,1,1,NULL,36,37,NULL,NULL,'disbursement_fee',NULL,50.0000,NULL,NULL,0,0,'none','regular','2023-06-27','06','2023',NULL,NULL,'2023-06-29 06:45:48','2023-06-29 06:45:48'),(214,1,1,NULL,36,37,NULL,NULL,'repayment_disbursement',NULL,NULL,50.0000,NULL,0,0,'none','regular','2023-06-27','06','2023',NULL,NULL,'2023-06-29 06:45:48','2023-06-29 06:45:48');

--
-- Table structure for table `loans`
--

CREATE TABLE `loans` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int DEFAULT NULL,
  `borrower_id` int NOT NULL,
  `loan_product_id` int NOT NULL,
  `reference` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `release_date` date DEFAULT NULL,
  `maturity_date` date DEFAULT NULL,
  `month` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `year` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `interest_start_date` date DEFAULT NULL,
  `first_payment_date` date DEFAULT NULL,
  `loan_disbursed_by_id` int DEFAULT NULL,
  `principal` decimal(65,4) DEFAULT NULL,
  `interest_method` enum('flat_rate','declining_balance_equal_installments','declining_balance_equal_principal','interest_only','compound_interest') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'flat_rate',
  `interest_rate` decimal(10,4) DEFAULT NULL,
  `interest_period` enum('day','week','month','year') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'day',
  `override_interest` tinyint NOT NULL DEFAULT '0',
  `override_interest_amount` decimal(10,4) DEFAULT '0.0000',
  `loan_duration` int DEFAULT NULL,
  `loan_duration_type` enum('day','week','month','year') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'year',
  `repayment_cycle` enum('daily','weekly','monthly','bi_monthly','quarterly','semi_annually','annually') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'monthly',
  `decimal_places` enum('round_off_to_two_decimal','round_off_to_integer') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'round_off_to_two_decimal',
  `repayment_order` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `loan_fees_schedule` enum('dont_include','distribute_fees_evenly','charge_fees_on_released_date','charge_fees_on_first_payment','charge_fees_on_last_payment') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'distribute_fees_evenly',
  `grace_on_interest_charged` int DEFAULT NULL,
  `loan_status_id` int DEFAULT NULL,
  `files` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `description` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `loan_status` enum('open','fully_paid','defaulted','restructured','processing') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'open',
  `balance` decimal(65,4) DEFAULT NULL,
  `override` tinyint NOT NULL DEFAULT '0',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  `status` enum('pending','approved','disbursed','declined','withdrawn','written_off','closed','pending_reschedule','rescheduled') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT 'pending',
  `applied_amount` decimal(65,4) DEFAULT NULL,
  `approved_amount` decimal(65,4) DEFAULT NULL,
  `approved_notes` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `disbursed_notes` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `withdrawn_notes` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `closed_notes` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `rescheduled_notes` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `declined_notes` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `written_off_notes` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `approved_date` date DEFAULT NULL,
  `disbursed_date` date DEFAULT NULL,
  `withdrawn_date` date DEFAULT NULL,
  `closed_date` date DEFAULT NULL,
  `rescheduled_date` date DEFAULT NULL,
  `declined_date` date DEFAULT NULL,
  `written_off_date` date DEFAULT NULL,
  `approved_by_id` int DEFAULT NULL,
  `disbursed_by_id` int DEFAULT NULL,
  `withdrawn_by_id` int DEFAULT NULL,
  `declined_by_id` int DEFAULT NULL,
  `written_off_by_id` int DEFAULT NULL,
  `rescheduled_by_id` int DEFAULT NULL,
  `closed_by_id` int DEFAULT NULL,
  `branch_id` int DEFAULT NULL,
  `processing_fee` decimal(65,4) DEFAULT NULL,
  `product_check_out_id` int DEFAULT NULL,
  `loan_officer_id` int DEFAULT NULL,
  `pay_off_interest_rate` decimal(10,4) DEFAULT '0.0000',
  PRIMARY KEY (`id`),
  KEY `loans_id_index` (`id`),
  KEY `loans_month_index` (`month`),
  KEY `loans_year_index` (`year`),
  KEY `loans_release_date_index` (`release_date`),
  KEY `loans_maturity_date_index` (`maturity_date`)
) ENGINE=InnoDB AUTO_INCREMENT=37 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `loans`
--

INSERT INTO `loans` VALUES (1,1,1,1,NULL,'2022-09-27','2023-10-31','09','2022',NULL,'2022-10-31',NULL,100.0000,'flat_rate',8.0000,'month',0,0.0000,12,'month','monthly','round_off_to_two_decimal',NULL,'distribute_fees_evenly',0,NULL,'a:0:{}',NULL,'open',NULL,0,'2022-09-27 11:21:25','2023-03-06 10:46:22','2023-03-06 10:46:22','pending',100.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,1,NULL,NULL,1,8.0000),(2,1,14,1,NULL,'2023-05-06','2023-12-01','05','2023',NULL,'2023-06-01',1,20000.0000,'declining_balance_equal_installments',8.0000,'month',0,0.0000,6,'month','monthly','round_off_to_integer',NULL,'distribute_fees_evenly',0,NULL,'a:0:{}',NULL,'open',NULL,0,'2023-05-15 07:37:09','2023-06-28 06:34:17',NULL,'approved',20000.0000,20000.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2023-05-31','2023-05-06',NULL,NULL,NULL,NULL,NULL,1,1,NULL,NULL,NULL,NULL,NULL,1,NULL,NULL,1,8.0000),(3,1,2,1,NULL,'2023-05-12','2023-07-03','05','2023',NULL,'2023-06-03',1,3000.0000,'declining_balance_equal_installments',8.0000,'month',0,0.0000,1,'month','monthly','round_off_to_integer',NULL,'distribute_fees_evenly',0,NULL,'a:0:{}',NULL,'open',NULL,0,'2023-05-15 07:41:57','2023-06-06 05:32:13',NULL,'approved',3000.0000,3000.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2023-05-16','2023-05-12',NULL,NULL,NULL,NULL,NULL,1,1,NULL,NULL,NULL,NULL,NULL,1,NULL,NULL,1,8.0000),(4,1,3,1,NULL,'2023-05-09','2023-08-04','05','2023',NULL,'2023-06-04',1,6000.0000,'declining_balance_equal_installments',8.0000,'month',0,0.0000,2,'month','monthly','round_off_to_integer',NULL,'distribute_fees_evenly',0,NULL,'a:0:{}',NULL,'open',NULL,0,'2023-05-15 07:43:04','2023-06-06 05:26:34',NULL,'approved',6000.0000,6000.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2023-05-16','2023-05-09',NULL,NULL,NULL,NULL,NULL,1,1,NULL,NULL,NULL,NULL,NULL,1,NULL,NULL,1,8.0000),(5,1,4,1,NULL,'2023-05-06','2023-09-05','05','2023',NULL,'2023-06-05',1,10000.0000,'declining_balance_equal_installments',8.0000,'month',0,0.0000,3,'month','monthly','round_off_to_integer',NULL,'distribute_fees_evenly',0,NULL,'a:0:{}',NULL,'open',NULL,0,'2023-05-15 07:43:56','2023-06-06 05:32:05',NULL,'approved',10000.0000,10000.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2023-05-15','2023-05-06',NULL,NULL,NULL,NULL,NULL,5,1,NULL,NULL,NULL,NULL,NULL,1,NULL,NULL,1,8.0000),(6,1,5,1,NULL,'2023-05-06','2023-12-05','05','2023',NULL,'2023-06-05',1,10000.0000,'declining_balance_equal_installments',8.0000,'month',0,0.0000,6,'month','monthly','round_off_to_integer',NULL,'distribute_fees_evenly',0,NULL,'a:0:{}',NULL,'open',NULL,0,'2023-05-15 07:47:54','2023-06-06 05:31:57',NULL,'approved',10000.0000,10000.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2023-05-15','2023-05-06',NULL,NULL,NULL,NULL,NULL,5,1,NULL,NULL,NULL,NULL,NULL,1,NULL,NULL,1,8.0000),(7,1,6,1,NULL,'2023-05-06','2023-12-01','05','2023',NULL,'2023-06-01',1,20000.0000,'declining_balance_equal_installments',5.0000,'month',0,0.0000,6,'month','monthly','round_off_to_integer',NULL,'distribute_fees_evenly',0,NULL,'a:0:{}',NULL,'open',NULL,0,'2023-05-17 06:55:54','2023-06-06 05:31:48',NULL,'approved',20000.0000,20000.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2023-05-30','2023-05-06',NULL,NULL,NULL,NULL,NULL,5,1,NULL,NULL,NULL,NULL,NULL,1,NULL,NULL,6,5.0000),(8,1,7,1,NULL,'2023-05-09','2023-08-05','05','2023',NULL,'2023-06-05',1,10000.0000,'declining_balance_equal_installments',8.0000,'month',0,0.0000,2,'month','monthly','round_off_to_integer',NULL,'distribute_fees_evenly',0,NULL,'a:0:{}',NULL,'open',NULL,0,'2023-05-17 07:00:35','2023-06-06 05:31:31',NULL,'approved',10000.0000,10000.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2023-05-30','2023-05-09',NULL,NULL,NULL,NULL,NULL,5,1,NULL,NULL,NULL,NULL,NULL,1,NULL,NULL,6,8.0000),(9,1,8,1,NULL,'2023-05-09','2023-09-03','05','2023',NULL,'2023-06-03',1,6000.0000,'declining_balance_equal_installments',8.0000,'month',0,0.0000,3,'month','monthly','round_off_to_integer',NULL,'distribute_fees_evenly',0,NULL,'a:0:{}',NULL,'open',NULL,0,'2023-05-17 07:03:39','2023-06-06 05:30:55',NULL,'approved',6000.0000,6000.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2023-05-30','2023-05-09',NULL,NULL,NULL,NULL,NULL,5,1,NULL,NULL,NULL,NULL,NULL,1,NULL,NULL,6,8.0000),(10,1,9,1,NULL,'2023-05-09','2023-09-03','05','2023',NULL,'2023-06-03',1,5000.0000,'declining_balance_equal_installments',8.0000,'month',0,0.0000,3,'month','monthly','round_off_to_integer',NULL,'distribute_fees_evenly',0,NULL,'a:0:{}',NULL,'open',NULL,0,'2023-05-17 07:05:12','2023-06-06 05:30:43',NULL,'approved',5000.0000,5000.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2023-05-30','2023-05-09',NULL,NULL,NULL,NULL,NULL,5,1,NULL,NULL,NULL,NULL,NULL,1,NULL,NULL,6,8.0000),(11,1,10,1,NULL,'2023-05-09','2023-11-03','05','2023',NULL,'2023-06-03',1,10000.0000,'declining_balance_equal_installments',8.0000,'month',0,0.0000,5,'month','monthly','round_off_to_integer',NULL,'distribute_fees_evenly',0,NULL,'a:0:{}',NULL,'open',NULL,0,'2023-05-17 07:06:40','2023-06-06 05:30:34',NULL,'approved',10000.0000,10000.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2023-05-30','2023-05-09',NULL,NULL,NULL,NULL,NULL,5,1,NULL,NULL,NULL,NULL,NULL,1,NULL,NULL,6,8.0000),(12,1,12,1,NULL,'2023-05-06','2023-09-05','05','2023',NULL,'2023-06-05',1,10000.0000,'declining_balance_equal_installments',8.0000,'month',0,0.0000,3,'month','monthly','round_off_to_integer',NULL,'distribute_fees_evenly',0,NULL,'a:0:{}',NULL,'open',NULL,0,'2023-05-17 07:07:28','2023-06-06 05:30:23',NULL,'approved',10000.0000,10000.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2023-05-30','2023-05-06',NULL,NULL,NULL,NULL,NULL,5,1,NULL,NULL,NULL,NULL,NULL,1,NULL,NULL,6,8.0000),(13,1,13,1,NULL,'2023-05-06','2023-12-01','05','2023',NULL,'2023-06-01',1,10000.0000,'declining_balance_equal_installments',8.0000,'month',0,0.0000,6,'month','monthly','round_off_to_integer',NULL,'distribute_fees_evenly',0,NULL,'a:0:{}',NULL,'open',NULL,0,'2023-05-17 07:08:41','2023-06-06 05:30:16',NULL,'approved',10000.0000,10000.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2023-05-30','2023-05-06',NULL,NULL,NULL,NULL,NULL,5,1,NULL,NULL,NULL,NULL,NULL,1,NULL,NULL,6,8.0000),(14,1,15,1,NULL,'2023-05-16','2023-12-03','05','2023',NULL,'2023-06-03',1,20000.0000,'declining_balance_equal_installments',8.0000,'month',0,0.0000,6,'month','monthly','round_off_to_integer',NULL,'distribute_fees_evenly',0,NULL,'a:0:{}',NULL,'open',NULL,0,'2023-05-17 07:33:22','2023-06-06 05:30:08',NULL,'approved',20000.0000,20000.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2023-05-30','2023-05-16',NULL,NULL,NULL,NULL,NULL,5,1,NULL,NULL,NULL,NULL,NULL,1,NULL,NULL,6,8.0000),(15,1,16,1,NULL,'2023-05-16','2023-09-03','05','2023',NULL,'2023-06-03',1,10000.0000,'declining_balance_equal_installments',8.0000,'month',0,0.0000,3,'month','monthly','round_off_to_integer',NULL,'distribute_fees_evenly',0,NULL,'a:0:{}',NULL,'open',NULL,0,'2023-05-17 07:34:08','2023-06-06 05:30:00',NULL,'approved',10000.0000,10000.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2023-05-30','2023-05-16',NULL,NULL,NULL,NULL,NULL,5,1,NULL,NULL,NULL,NULL,NULL,1,NULL,NULL,6,8.0000),(16,1,17,1,NULL,'2023-05-16','2023-09-03','05','2023',NULL,'2023-06-03',1,10000.0000,'declining_balance_equal_installments',8.0000,'month',0,0.0000,3,'month','monthly','round_off_to_integer',NULL,'distribute_fees_evenly',0,NULL,'a:0:{}',NULL,'open',NULL,0,'2023-05-17 07:34:48','2023-06-06 05:26:56',NULL,'approved',10000.0000,10000.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2023-05-30','2023-05-16',NULL,NULL,NULL,NULL,NULL,5,1,NULL,NULL,NULL,NULL,NULL,1,NULL,NULL,6,8.0000),(17,1,18,1,NULL,'2023-05-16','2023-09-03','05','2023',NULL,'2023-06-03',1,10000.0000,'declining_balance_equal_installments',8.0000,'month',0,0.0000,3,'month','monthly','round_off_to_integer',NULL,'distribute_fees_evenly',0,NULL,'a:0:{}',NULL,'open',NULL,0,'2023-05-17 07:35:41','2023-06-06 05:26:48',NULL,'approved',10000.0000,10000.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2023-05-18','2023-05-16',NULL,NULL,NULL,NULL,NULL,5,1,NULL,NULL,NULL,NULL,NULL,1,NULL,NULL,6,8.0000),(18,1,19,1,NULL,'2023-05-31','2025-07-03','05','2023',NULL,'2023-07-03',NULL,200000.0000,'declining_balance_equal_installments',3.0000,'month',0,0.0000,24,'month','monthly','round_off_to_two_decimal',NULL,'distribute_fees_evenly',0,NULL,'a:0:{}',NULL,'open',NULL,0,'2023-05-31 05:02:33','2023-06-07 12:48:33',NULL,'approved',200000.0000,200000.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2023-06-07',NULL,NULL,NULL,NULL,NULL,NULL,5,NULL,NULL,NULL,NULL,NULL,NULL,1,NULL,NULL,6,3.0000),(19,1,20,1,NULL,'2023-06-11','2023-10-03','06','2023',NULL,'2023-07-03',1,6000.0000,'declining_balance_equal_installments',8.0000,'month',0,0.0000,3,'month','monthly','round_off_to_integer',NULL,'distribute_fees_evenly',0,NULL,'a:0:{}',NULL,'open',NULL,0,'2023-06-11 07:17:05','2023-06-12 09:09:35',NULL,'disbursed',6000.0000,6000.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2023-06-12','2023-06-11',NULL,NULL,NULL,NULL,NULL,1,1,NULL,NULL,NULL,NULL,NULL,1,NULL,NULL,4,8.0000),(20,1,21,1,NULL,'2023-06-11','2023-10-03','06','2023',NULL,'2023-07-03',1,10000.0000,'declining_balance_equal_installments',8.0000,'month',0,0.0000,3,'month','monthly','round_off_to_integer',NULL,'distribute_fees_evenly',0,NULL,'a:0:{}',NULL,'open',NULL,0,'2023-06-11 07:41:03','2023-06-12 09:07:48',NULL,'disbursed',10000.0000,10000.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2023-06-12','2023-06-11',NULL,NULL,NULL,NULL,NULL,1,1,NULL,NULL,NULL,NULL,NULL,1,NULL,NULL,4,8.0000),(21,1,22,1,NULL,'2023-06-11','2023-10-03','06','2023',NULL,'2023-07-03',1,10000.0000,'declining_balance_equal_installments',8.0000,'month',0,0.0000,3,'month','monthly','round_off_to_integer',NULL,'distribute_fees_evenly',0,NULL,'a:0:{}',NULL,'open',NULL,0,'2023-06-11 08:01:13','2023-06-12 08:50:36',NULL,'disbursed',10000.0000,10000.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2023-06-12','2023-06-11',NULL,NULL,NULL,NULL,NULL,1,1,NULL,NULL,NULL,NULL,NULL,1,NULL,NULL,4,8.0000),(22,1,23,1,NULL,'2023-06-11','2023-10-03','06','2023',NULL,'2023-07-03',1,10000.0000,'declining_balance_equal_installments',8.0000,'month',0,0.0000,3,'month','monthly','round_off_to_integer',NULL,'distribute_fees_evenly',0,NULL,'a:0:{}',NULL,'open',NULL,0,'2023-06-11 08:09:35','2023-06-12 09:06:30',NULL,'disbursed',10000.0000,10000.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2023-06-12','2023-06-11',NULL,NULL,NULL,NULL,NULL,1,1,NULL,NULL,NULL,NULL,NULL,1,NULL,NULL,4,8.0000),(23,1,24,1,NULL,'2023-06-11','2023-10-03','06','2023',NULL,'2023-07-03',1,15000.0000,'declining_balance_equal_installments',8.0000,'month',0,0.0000,3,'month','monthly','round_off_to_integer',NULL,'distribute_fees_evenly',0,NULL,'a:0:{}',NULL,'open',NULL,0,'2023-06-11 08:14:10','2023-06-12 09:05:57',NULL,'disbursed',15000.0000,15000.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2023-06-12','2023-06-11',NULL,NULL,NULL,NULL,NULL,1,1,NULL,NULL,NULL,NULL,NULL,1,NULL,NULL,4,8.0000),(24,1,30,1,NULL,'2023-06-13','2023-11-03','06','2023',NULL,'2023-07-03',1,10000.0000,'declining_balance_equal_installments',8.0000,'month',0,0.0000,4,'month','monthly','round_off_to_integer',NULL,'distribute_fees_evenly',0,NULL,'a:0:{}',NULL,'open',NULL,0,'2023-06-14 04:26:23','2023-06-15 03:28:25',NULL,'disbursed',10000.0000,10000.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2023-06-14','2023-06-13',NULL,NULL,NULL,NULL,NULL,1,1,NULL,NULL,NULL,NULL,NULL,1,NULL,NULL,4,8.0000),(25,1,29,1,NULL,'2023-06-13','2023-10-03','06','2023',NULL,'2023-07-03',1,10000.0000,'declining_balance_equal_installments',8.0000,'month',0,0.0000,3,'month','monthly','round_off_to_integer',NULL,'distribute_fees_evenly',0,NULL,'a:0:{}',NULL,'open',NULL,0,'2023-06-14 04:27:44','2023-06-15 03:30:59',NULL,'disbursed',10000.0000,10000.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2023-06-14','2023-06-13',NULL,NULL,NULL,NULL,NULL,1,1,NULL,NULL,NULL,NULL,NULL,1,NULL,NULL,4,8.0000),(26,1,28,1,NULL,'2023-06-13','2023-10-03','06','2023',NULL,'2023-07-03',1,10000.0000,'declining_balance_equal_installments',8.0000,'month',0,0.0000,3,'month','monthly','round_off_to_integer',NULL,'distribute_fees_evenly',0,NULL,'a:0:{}',NULL,'open',NULL,0,'2023-06-14 04:28:45','2023-06-15 03:32:03',NULL,'disbursed',10000.0000,10000.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2023-06-14','2023-06-13',NULL,NULL,NULL,NULL,NULL,1,1,NULL,NULL,NULL,NULL,NULL,1,NULL,NULL,4,8.0000),(27,1,27,1,NULL,'2023-06-13','2023-10-03','06','2023',NULL,'2023-07-03',1,6000.0000,'declining_balance_equal_installments',8.0000,'month',0,0.0000,3,'month','monthly','round_off_to_integer',NULL,'distribute_fees_evenly',0,NULL,'a:0:{}',NULL,'open',NULL,0,'2023-06-14 04:29:48','2023-06-15 03:34:33',NULL,'disbursed',6000.0000,6000.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2023-06-14','2023-06-13',NULL,NULL,NULL,NULL,NULL,1,1,NULL,NULL,NULL,NULL,NULL,1,NULL,NULL,4,8.0000),(28,1,32,1,NULL,'2023-06-15','2023-09-03','06','2023',NULL,'2023-07-03',1,6000.0000,'declining_balance_equal_installments',8.0000,'month',0,0.0000,2,'month','monthly','round_off_to_integer',NULL,'distribute_fees_evenly',0,NULL,'a:0:{}',NULL,'open',NULL,0,'2023-06-17 06:38:29','2023-06-17 06:47:12',NULL,'disbursed',6000.0000,6000.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2023-06-17','2023-06-15',NULL,NULL,NULL,NULL,NULL,1,1,NULL,NULL,NULL,NULL,NULL,1,NULL,NULL,1,8.0000),(29,1,33,1,NULL,'2023-06-15','2023-08-03','06','2023',NULL,'2023-07-03',1,3000.0000,'declining_balance_equal_installments',8.0000,'month',0,0.0000,1,'month','monthly','round_off_to_two_decimal',NULL,'distribute_fees_evenly',0,NULL,'a:0:{}',NULL,'open',NULL,0,'2023-06-17 06:46:57','2023-06-17 06:57:04',NULL,'disbursed',3000.0000,3000.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2023-06-17','2023-06-15',NULL,NULL,NULL,NULL,NULL,1,1,NULL,NULL,NULL,NULL,NULL,1,NULL,NULL,4,8.0000),(30,1,34,1,NULL,'2023-06-15','2023-10-03','06','2023',NULL,'2023-07-03',1,6000.0000,'declining_balance_equal_installments',8.0000,'month',0,0.0000,3,'month','monthly','round_off_to_integer',NULL,'distribute_fees_evenly',0,NULL,'a:0:{}',NULL,'open',NULL,0,'2023-06-17 07:02:17','2023-06-17 07:02:59',NULL,'disbursed',6000.0000,6000.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2023-06-17','2023-06-15',NULL,NULL,NULL,NULL,NULL,1,1,NULL,NULL,NULL,NULL,NULL,1,NULL,NULL,4,8.0000),(31,1,35,1,NULL,'2023-06-23','2023-10-03','06','2023',NULL,'2023-07-03',1,15000.0000,'declining_balance_equal_installments',8.0000,'month',0,0.0000,3,'month','monthly','round_off_to_integer',NULL,'distribute_fees_evenly',0,NULL,'a:0:{}',NULL,'open',NULL,0,'2023-06-24 07:04:48','2023-06-24 07:06:04',NULL,'disbursed',15000.0000,15000.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2023-06-24','2023-06-23',NULL,NULL,NULL,NULL,NULL,1,1,NULL,NULL,NULL,NULL,NULL,1,NULL,NULL,1,8.0000),(32,1,36,1,NULL,'2023-06-23','2024-07-03','06','2023',NULL,'2023-07-03',1,20000.0000,'flat_rate',8.0000,'month',0,0.0000,12,'month','monthly','round_off_to_integer',NULL,'distribute_fees_evenly',0,NULL,'a:0:{}',NULL,'open',NULL,0,'2023-06-24 07:07:37','2023-06-24 07:07:51',NULL,'disbursed',20000.0000,20000.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2023-06-24','2023-06-23',NULL,NULL,NULL,NULL,NULL,1,1,NULL,NULL,NULL,NULL,NULL,1,NULL,NULL,1,8.0000),(33,1,40,1,NULL,'2023-06-27','2023-11-03','06','2023',NULL,'2023-08-03',1,7000.0000,'declining_balance_equal_installments',8.0000,'month',0,0.0000,3,'month','monthly','round_off_to_integer',NULL,'distribute_fees_evenly',0,NULL,'a:0:{}',NULL,'open',NULL,0,'2023-06-29 05:45:00','2023-06-29 06:42:39',NULL,'disbursed',7000.0000,7000.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2023-06-29','2023-06-27',NULL,NULL,NULL,NULL,NULL,1,1,NULL,NULL,NULL,NULL,NULL,1,NULL,NULL,4,8.0000),(34,1,39,1,NULL,'2023-06-27','2025-08-03','06','2023',NULL,'2023-08-03',1,100000.0000,'declining_balance_equal_installments',3.0000,'month',0,0.0000,24,'month','monthly','round_off_to_integer',NULL,'distribute_fees_evenly',0,NULL,'a:0:{}',NULL,'open',NULL,0,'2023-06-29 05:47:18','2023-06-29 06:43:59',NULL,'disbursed',100000.0000,100000.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2023-06-29','2023-06-27',NULL,NULL,NULL,NULL,NULL,1,1,NULL,NULL,NULL,NULL,NULL,1,NULL,NULL,4,3.0000),(35,1,38,1,NULL,'2023-06-27','2025-08-03','06','2023',NULL,'2023-08-03',1,100000.0000,'declining_balance_equal_installments',3.0000,'month',0,0.0000,24,'month','monthly','round_off_to_integer',NULL,'distribute_fees_evenly',0,NULL,'a:0:{}',NULL,'open',NULL,0,'2023-06-29 05:48:12','2023-06-29 06:45:13',NULL,'disbursed',100000.0000,100000.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2023-06-29','2023-06-27',NULL,NULL,NULL,NULL,NULL,1,1,NULL,NULL,NULL,NULL,NULL,1,NULL,NULL,4,3.0000),(36,1,37,1,NULL,'2023-06-27','2023-10-03','06','2023',NULL,'2023-08-03',1,6000.0000,'declining_balance_equal_installments',8.0000,'month',0,0.0000,2,'month','monthly','round_off_to_integer',NULL,'distribute_fees_evenly',0,NULL,'a:0:{}',NULL,'open',NULL,0,'2023-06-29 05:49:01','2023-06-29 06:45:48',NULL,'disbursed',6000.0000,6000.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2023-06-29','2023-06-27',NULL,NULL,NULL,NULL,NULL,1,1,NULL,NULL,NULL,NULL,NULL,1,NULL,NULL,4,8.0000);

--
-- Table structure for table `messages`
--

CREATE TABLE `messages` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `message_id` int unsigned DEFAULT NULL,
  `title` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `message` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `attach_file` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `to_id` int NOT NULL,
  `from_id` int NOT NULL,
  `read` tinyint NOT NULL DEFAULT '0',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `messages`
--


--
-- Table structure for table `migrations`
--

CREATE TABLE `migrations` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `migration` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `batch` int NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=140 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `migrations`
--

INSERT INTO `migrations` VALUES (1,'2014_07_02_230147_migration_cartalyst_sentinel',1),(2,'2014_10_12_100000_create_password_resets_table',1),(3,'2016_07_23_173157_create_messages_table',1),(4,'2016_07_23_173226_create_sms_table',1),(5,'2016_07_23_173242_create_settings_table',1),(6,'2016_11_05_062734_create_permissions_table',1),(7,'2017_02_23_000640_create_borrowers_table',1),(8,'2017_02_23_002300_create_custom_fields_table',1),(9,'2017_02_23_003720_create_custom_fields_meta_table',1),(10,'2017_03_05_131103_create_loans_table',1),(11,'2017_03_05_132848_create_loans_products_table',1),(12,'2017_03_05_145851_create_loan_disbursed_by_table',1),(13,'2017_03_05_150107_create_loan_repayment_methods_table',1),(14,'2017_03_05_151538_create_loan_status_table',1),(15,'2017_03_08_182936_create_loan_schedules_table',1),(16,'2017_03_19_080840_create_loan_repayments_table',1),(17,'2017_04_02_142753_create_loan_comments_table',1),(18,'2017_04_11_091435_create_payroll_templates_table',1),(19,'2017_04_11_094729_create_payroll_template_meta_table',1),(20,'2017_04_12_004631_create_payroll_table',1),(21,'2017_04_12_004829_create_payroll_meta_table',1),(22,'2017_04_14_083438_create_expenses_table',1),(23,'2017_04_14_083535_create_expense_types_table',1),(24,'2017_04_16_084016_create_other_income_table',1),(25,'2017_04_16_084118_create_other_income_types_table',1),(26,'2017_04_16_094025_create_collateral_types_table',1),(27,'2017_04_16_094131_create_collateral_table',1),(28,'2017_04_18_083800_create_emails_table',1),(29,'2017_04_23_072100_create_loan_fees_table',1),(30,'2017_04_23_073118_create_loan_fees_meta_table',1),(31,'2017_05_04_103559_create_countries_table',1),(32,'2017_07_17_123811_add_login_fields_to_borrowers_table',1),(33,'2017_07_17_124138_add_month_year_to_borrowers_table',1),(34,'2017_07_17_124357_add_fields_to_borrowers_table',1),(35,'2017_07_17_130228_add_v1_1_settings_table',1),(36,'2017_07_23_061641_create_loan_applications_table',1),(37,'2017_07_23_064420_create_audit_trail_table',1),(38,'2017_07_23_120222_add_payment_to_v1_1_settings_table',1),(39,'2017_07_24_063824_create_savings_product_table',1),(40,'2017_07_24_070639_create_savings_table',1),(41,'2017_07_24_071756_create_savings_transactions_table',1),(42,'2017_07_24_073802_create_savings_fees_table',1),(43,'2017_07_27_071556_create_asset_types_table',1),(44,'2017_07_27_071814_create_assets_table',1),(45,'2017_07_27_074421_create_asset_valuations_table',1),(46,'2017_07_27_174045_create_capital_table',1),(47,'2017_08_01_064016_add_status_to_loans_table',1),(48,'2017_08_01_081424_create_guarantor_table',1),(49,'2017_08_07_083717_update_from_v1_0_to_1_1',1),(50,'2017_08_23_205719_add_blacklist_to_borrowers_table',1),(51,'2017_09_02_092303_create_borrower_groups',1),(52,'2017_09_02_092551_create_branches',1),(53,'2017_09_02_094025_add_branches_to_all_tables',1),(54,'2017_09_02_154128_create_borrower_group_members_table',1),(55,'2017_09_02_171328_update_from_v1_1_to_1_2',1),(56,'2017_09_05_075257_add_v12_settings',1),(57,'2017_09_05_082513_add_v12_permissions',1),(58,'2017_09_20_093729_add_client_background_settings',1),(59,'2017_09_20_094221_change_update_url',1),(60,'2017_09_23_133042_create_provision_rates_table',1),(61,'2017_09_23_133535_insert_data_to_provision_rates_table',1),(62,'2017_09_24_091220_create_bank_accounts_table',1),(63,'2017_09_24_091340_add_bank_accounts_to_capital_table',1),(64,'2017_10_13_113742_create_branch_users_table',1),(65,'2017_10_13_121839_add_application_fee_to_loans_table',1),(66,'2017_10_13_161720_add_default_branch',1),(67,'2017_10_13_161930_create_default_branch_and_assign_user',1),(68,'2017_10_13_173431_add_branch_to_schedules',1),(69,'2017_10_13_184930_set_default_branch_for_current_loans',1),(70,'2017_10_14_062601_add_v_1_3_permissions',1),(71,'2017_10_14_063504_update_v_1_3_update_url',1),(72,'2017_10_14_074553_update_to_v_1_3',1),(73,'2017_10_21_203340_create_product_categories_meta_table',1),(74,'2017_11_03_102928_add_type_to_capital_table',1),(75,'2017_11_03_105326_create_sms_gateways_table',1),(76,'2017_11_03_163022_add_name_to_guarantors_table',1),(77,'2017_11_03_164012_add_country_id_to_borrowers_table',1),(78,'2017_11_03_164336_add_currencies_table',1),(79,'2017_11_03_165413_add_ver_1_4_settings_table',1),(80,'2017_11_03_203227_add_loan_guarantors_table',1),(81,'2017_11_04_085909_update_to_ver_1_4_table',1),(82,'2017_11_05_232841_create_products_table',1),(83,'2017_11_05_233251_create_product_categories_table',1),(84,'2017_11_06_072921_create_products_check_in_table',1),(85,'2017_11_06_073248_create_products_check_out_table',1),(86,'2017_11_06_073316_create_products_warehouse_table',1),(87,'2017_11_06_082547_create_purchase_orders_table',1),(88,'2017_11_06_100343_create_suppliers_table',1),(89,'2017_11_06_164523_create_brands_table',1),(90,'2017_11_06_210217_create_products_check_out_items_table',1),(91,'2017_11_06_210317_create_products_payments_table',1),(92,'2017_11_06_210706_create_products_check_in_items_table',1),(93,'2017_11_07_035537_create_purchase_order_items_table',1),(94,'2017_11_07_090146_add_checkout_to_loan_table_table',1),(95,'2017_11_07_091944_add_warehouses_table',1),(96,'2017_11_08_151744_add_overdraw_settings',1),(97,'2017_11_11_071409_create_chart_of_accounts_table',1),(98,'2017_11_11_080928_add_accounting_to_loan_products_table',1),(99,'2017_11_11_094902_create_loan_overdue_penalties_table',1),(100,'2017_11_11_095510_add_accounting_to_savings_products',1),(101,'2017_11_11_100235_add_accounting_to_expenses_table',1),(102,'2017_11_11_100255_add_accounting_to_income_table',1),(103,'2017_11_11_100318_add_accounting_to_payroll_table',1),(104,'2017_11_11_131440_add_v_1_5_permissions',1),(105,'2017_11_11_174146_add_accounting_to_settings_table',1),(106,'2017_11_11_225159_create_journal_entries_table',1),(107,'2017_11_14_082223_add_account_to_expense_and_income_categories',1),(108,'2017_11_18_172024_add_current_theme_to_settings_table',1),(109,'2017_12_02_095438_add_receipt_tp_payments_table',1),(110,'2017_12_03_094335_add_loan_officer_to_loans_table',1),(111,'2017_12_03_185018_add_debit_and_credit_to_capital_table',1),(112,'2017_12_10_161628_add_index_to_all_tables',1),(113,'2017_12_12_144725_create_loan_transactions_table',1),(114,'2017_12_16_202252_create_charges_table',1),(115,'2017_12_16_214117_create_loan_charges_table',1),(116,'2017_12_16_214117_create_savings_charges_table',1),(117,'2017_12_16_214236_create_loan_products_charges_table',1),(118,'2017_12_27_101540_update_journal_entries_table',1),(119,'2018_01_10_104604_add_waive_to_loan_schedules_table',1),(120,'2018_01_14_215823_create_savings_products_charge_table',1),(121,'2018_01_15_000219_add_status_to_savings_table',1),(122,'2018_01_15_083204_add_debit_credit_to_savings_transactions_table',1),(123,'2018_01_26_193838_add_transfer_type_to_saving_transactions',1),(124,'2018_02_01_145506_add_mpesa_to_settings_table',1),(125,'2018_02_01_194418_add_2_0_settings',1),(126,'2018_02_01_201034_increase_decimal_length',1),(127,'2018_02_02_002812_update_system_to_version_2_0',1),(128,'2018_12_23_175846_add_other_income_id_to_journal_entry_table',1),(129,'2018_12_25_101910_add_penalty_column_to_loan_product_charges_table',1),(130,'2019_09_19_150323_add_id_card_number_to_borrowers_table',1),(131,'2019_09_19_155120_add_place_of_birth_to_borrowers_table',1),(132,'2019_09_19_162851_add_color_to_collateral_table',1),(133,'2019_09_19_172814_add_id_card_number_to_guarantor_table',1),(134,'2019_09_20_155640_add_pay_off_interest_rate_table',1),(135,'2019_10_02_153818_add_pay_off_to_loan_schedules_table',1),(136,'2019_10_16_195119_add_owner_date_to_collateral_table',1),(137,'2019_10_23_151522_create_collateral_vehicles_table',1),(138,'2019_11_18_151019_add_max_approval_to_users_table',1),(139,'2019_12_14_000001_create_personal_access_tokens_table',1);

--
-- Table structure for table `other_income`
--

CREATE TABLE `other_income` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int unsigned DEFAULT NULL,
  `other_income_type_id` int unsigned DEFAULT NULL,
  `amount` decimal(65,4) DEFAULT NULL,
  `date` date DEFAULT NULL,
  `year` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `month` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `notes` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `files` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `branch_id` int DEFAULT NULL,
  `chart_id` int DEFAULT NULL,
  `account_id` int DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `other_income_id_index` (`id`),
  KEY `other_income_year_index` (`year`),
  KEY `other_income_month_index` (`month`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `other_income`
--


--
-- Table structure for table `other_income_types`
--

CREATE TABLE `other_income_types` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `account_id` int DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `other_income_types`
--

INSERT INTO `other_income_types` VALUES (1,'Penalty',9);

--
-- Table structure for table `password_resets`
--

CREATE TABLE `password_resets` (
  `email` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `token` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  KEY `password_resets_email_index` (`email`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `password_resets`
--


--
-- Table structure for table `payroll`
--

CREATE TABLE `payroll` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `payroll_template_id` int unsigned DEFAULT NULL,
  `user_id` int unsigned DEFAULT NULL,
  `employee_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `business_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `payment_method` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `bank_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `account_number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `description` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `comments` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `paid_amount` decimal(65,4) DEFAULT NULL,
  `date` date DEFAULT NULL,
  `year` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `month` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `recurring` tinyint NOT NULL DEFAULT '0',
  `recur_frequency` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '31',
  `recur_start_date` date DEFAULT NULL,
  `recur_end_date` date DEFAULT NULL,
  `recur_next_date` date DEFAULT NULL,
  `recur_type` enum('day','week','month','year') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'month',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `branch_id` int DEFAULT NULL,
  `chart_id` int DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `payroll_id_index` (`id`),
  KEY `payroll_user_id_index` (`user_id`),
  KEY `payroll_year_index` (`year`),
  KEY `payroll_month_index` (`month`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `payroll`
--


--
-- Table structure for table `payroll_meta`
--

CREATE TABLE `payroll_meta` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `payroll_id` int unsigned NOT NULL,
  `payroll_template_meta_id` int unsigned DEFAULT NULL,
  `value` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `position` enum('top_left','top_right','bottom_left','bottom_right') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'bottom_left',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `payroll_meta`
--


--
-- Table structure for table `payroll_template_meta`
--

CREATE TABLE `payroll_template_meta` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `payroll_template_id` int unsigned NOT NULL,
  `name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `position` enum('top_left','top_right','bottom_left','bottom_right') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'bottom_left',
  `is_default` tinyint NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `payroll_template_meta`
--


--
-- Table structure for table `payroll_templates`
--

CREATE TABLE `payroll_templates` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `notes` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `picture` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `payroll_templates`
--

INSERT INTO `payroll_templates` VALUES (1,'Default','Default Payroll Template','default_payroll_template');

--
-- Table structure for table `permissions`
--

CREATE TABLE `permissions` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `parent_id` int NOT NULL DEFAULT '0',
  `name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `slug` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `description` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=102 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `permissions`
--

INSERT INTO `permissions` VALUES (1,0,'Borrowers','borrowers','Access Borrowers Module'),(2,1,'View borrowers','borrowers.view','View borrowers'),(3,1,'Update borrowers','borrowers.update','Update Borrowers'),(4,1,'Delete borrowers','borrowers.delete','Delete borrowers'),(5,1,'Create borrowers','borrowers.create','Add new borrower'),(6,0,'Loans','loans','Access Loans Module'),(7,6,'Create Loans','loans.create','Create Loans'),(9,6,'Update Loans','loans.update','Update Loans'),(10,6,'Delete Loans','loans.delete','Delete Loans'),(11,6,'View Loans','loans.view','View Loans'),(12,6,'Loan Products','loans.products','Manage Loan Products'),(13,6,'Loan Fees','loans.fees','Manage Loan Fees'),(14,6,'Loan Schedule','loans.schedule','Manage loan schedule, including sending loan schedule emails'),(15,0,'Repayments','repayments','View Repayments Module'),(16,15,'View Repayments','repayments.view','View All repayments'),(17,15,'Create Repayments','repayments.create','Add Repayments'),(18,15,'Delete Repayments','repayments.delete','Delete Repayments'),(19,15,'Update Repayments','repayments.update','Update Repayments'),(20,0,'Payroll','payroll','Access Payroll Module'),(21,20,'View Payroll','payroll.view','View Payroll'),(22,20,'Update Payroll','payroll.update','Update Payroll'),(23,20,'Delete Payroll','payroll.delete','Delete Payroll'),(24,20,'Create Payroll','payroll.create','Create Payroll'),(25,0,'Expenses','expenses','Access Expenses Module'),(26,25,'View Expenses','expenses.view','View Expenses'),(27,25,'Create Expenses','expenses.create','Create Expenses'),(28,25,'Update Expenses','expenses.update','Update Expenses'),(29,25,'Delete Expenses','expenses.delete','Delete Expenses'),(30,0,'Other Income','other_income','Access Other Income Module'),(31,30,'View Other Income','other_income.view','View Other income'),(32,30,'Create Other Income','other_income.create','Create other income'),(33,30,'Update Other Income','other_income.update','Update Other Incom'),(34,30,'Delete Other Income','other_income.delete','Delete other income'),(35,0,'Collateral','collateral','Access Collateral Module'),(36,35,'View collateral','collateral.view','View Collateral'),(37,35,'Update Collateral','collateral.update','Update Collateral'),(38,35,'Create Collateral','collateral.create','Create Collateral'),(39,35,'Delete Collateral','collateral.delete','Delete Collateral'),(40,0,'Reports','reports','Access Reports Module'),(41,0,'Communication','communication','Access Communication Module'),(42,41,'Create Communication','communication.create','Send Emails & SMS'),(43,41,'Delete Communication','communication.delete','Delete Communication'),(44,0,'Custom Fields','custom_fields','Access Custom Fields Module'),(45,44,'View Custom Fields','custom_fields.view','View Custom fields'),(46,44,'Create Custom Fields','custom_fields.create','Create Custom Fields'),(47,44,'Custom Fields','custom_fields.update','Update Custom Fields'),(48,44,'Delete Custom Fields','custom_fields.delete','Delete Custom Fields'),(49,0,'Users','users','Access Users Module'),(50,49,'View Users','users.view','View Users '),(51,49,'Create Users','users.create','Create users'),(52,49,'Update Users','users.update','Update Users'),(53,49,'Delete Users','users.delete','Delete Users'),(54,49,'Manage Roles','users.roles','Manage user roles'),(55,0,'Settings','settings','Manage Settings'),(56,0,'Audit Trail','audit_trail','Access Audit Trail'),(57,0,'Savings','savings','Access Savings Menu'),(58,57,'Create Savings','savings.create',''),(59,57,'Update Savings','savings.update',''),(60,57,'Delete Savings','savings.delete',''),(61,57,'Create Savings Transaction','savings.transactions.create',''),(62,57,'Update Savings Transaction','savings.transactions.update',''),(63,57,'Delete Savings Transaction','savings.transactions.delete',''),(64,57,'View Savings','savings.view',''),(65,57,'View Savings Transaction','savings.transactions.view',''),(66,57,'Manage Savings Products','savings.products','Manage Savings Products'),(67,57,'Manage Savings Fees','savings.fees',''),(68,6,'Approve Loans','loans.approve','Approve Loans'),(69,6,'Disburse Loans','loans.disburse','Disburse Loans'),(70,1,'Approve Borrowers','borrowers.approve','Approve Borrowers'),(71,6,'Withdraw Loans','loans.withdraw','Withdraw Loans'),(72,6,'Write Off Loans','loans.writeoff','Write off Loans'),(73,6,'Reschedule Loans','loans.reschedule','Reschedule Loans'),(74,0,'Dashboard','dashboard','Access Dashboard'),(75,74,'Loans Released Monthly Graph','dashboard.loans_released_monthly_graph','Access Loans Released Monthly Graph'),(76,74,'Loans Collected Monthly Graph','dashboard.loans_collected_monthly_graph','Access Loans Collected Monthly Graph'),(77,74,'Registered Borrowers','dashboard.registered_borrowers','Access Registered Borrowers Statistics'),(78,74,'Total Loans Released','dashboard.total_loans_released','Access Total Loans Released'),(79,74,'Total Collections','dashboard.total_collections','Access Total Collections Statistics'),(80,74,'Total Disbursed Loans','dashboard.loans_disbursed','Access Total Disbursed Loans Statistics'),(81,74,'Total Loans Pending','dashboard.loans_pending',''),(82,74,'Loans Approved','dashboard.loans_approved',''),(83,74,'Loans Declined','dashboard.loans_declined',''),(84,74,'Loans Closed','dashboard.loans_closed',''),(85,74,'Loans Withdrawn','dashboard.loans_withdrawn',''),(86,74,'Loans Written Off','dashboard.loans_written_off',''),(87,74,'Loans Rescheduled','dashboard.loans_rescheduled',''),(88,6,'Create Guarantor','loans.guarantor.create',''),(89,6,'Update Guarantor','loans.guarantor.update',''),(90,6,'Delete Guarantor','loans.guarantor.delete',''),(91,6,'Guarantor Savings','loans.guarantor.savings',''),(92,0,'Capital','capital','Access Capital'),(93,92,'View  Capital','capital.view',''),(94,92,'Create Capital','capital.create',''),(95,92,'Update Capital','capital.update',''),(96,92,'Delete Capital','capital.delete',''),(97,0,'Assets','assets','Access Assets Menu'),(98,97,'Create Assets','assets.create',''),(99,97,'View Assets','assets.view',''),(100,97,'Update Assets','assets.update',''),(101,97,'Delete Assets','assets.delete','');

--
-- Table structure for table `persistences`
--

CREATE TABLE `persistences` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int unsigned NOT NULL,
  `code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `persistences_code_unique` (`code`)
) ENGINE=InnoDB AUTO_INCREMENT=80 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `persistences`
--

INSERT INTO `persistences` VALUES (3,2,'whMIdtfXPMnw6AkeIgMJ7f0guZo4mo6r','2022-09-27 13:17:11','2022-09-27 13:17:11'),(4,4,'T24MgDufKE49UvoS7DM5EM0lvq3EHAbF','2022-09-27 13:26:38','2022-09-27 13:26:38'),(16,5,'KvlEznpDf8ASFGCXuzRkYI5oFCMmDPHj','2023-04-15 08:36:04','2023-04-15 08:36:04'),(17,5,'pw98vQL3eadEUuus25CDTEJ46m4iHp6L','2023-04-15 08:36:05','2023-04-15 08:36:05'),(24,5,'uiuPjyNe2TrR6NqF27Vu8APP4kENLjww','2023-05-15 08:26:44','2023-05-15 08:26:44'),(26,5,'yr6CiC1I35f8v1FcotemRnOZ2Kk74A6Q','2023-05-15 08:26:45','2023-05-15 08:26:45'),(30,5,'k1HqawMKrcIqDCbkA79TaeT1L6Xts5I4','2023-05-16 08:34:39','2023-05-16 08:34:39'),(31,5,'cSz6HSOpcJIFU4J7WIm38xhsJqUJ1thf','2023-05-16 08:34:39','2023-05-16 08:34:39'),(34,1,'bQBTSu6oJJW1ggxlgJzbjYfS0qk3vtUm','2023-05-17 06:39:52','2023-05-17 06:39:52'),(35,5,'ly7z6O4JPfkRr6B46ElrTVj9LORc0bKx','2023-05-18 09:33:03','2023-05-18 09:33:03'),(36,5,'ydmjykFBWBMueCt7G0IwQFNyjim17GNz','2023-05-18 09:33:05','2023-05-18 09:33:05'),(37,1,'Z8mF1TZPOoRx1kuopPo9kYvtU4S7rh2y','2023-05-19 02:02:43','2023-05-19 02:02:43'),(38,5,'G5ueKeqHIX0hJp0BUqhx87TdIfh3fCxp','2023-05-30 08:01:13','2023-05-30 08:01:13'),(39,5,'8XjQehhInRnaqDhtyK2HDWtcrNh2NWSD','2023-05-30 08:01:13','2023-05-30 08:01:13'),(40,1,'T2DPthzWcDvTWI9MZki015xXcuAQ0yzm','2023-05-31 04:38:51','2023-05-31 04:38:51'),(41,1,'AcSfVhCVD7CJlfi9ldXEqqPrIZ7AxVjX','2023-05-31 04:47:55','2023-05-31 04:47:55'),(42,1,'LYgFjXHZejnxYnRL8xzNa1pYnDzxnkox','2023-05-31 04:54:12','2023-05-31 04:54:12'),(43,1,'TEYnjSKeB43uvTTbHIjrn1Gi9sV0SOQS','2023-06-02 13:05:24','2023-06-02 13:05:24'),(44,1,'sqfLkaCxz4fA6Bx7RO3QcVKmVtHrOTNj','2023-06-05 11:54:38','2023-06-05 11:54:38'),(45,1,'NprxZ3A4dOqzlni90L4KbxiAFijB9blu','2023-06-06 05:23:58','2023-06-06 05:23:58'),(46,1,'VncK5YpfvV7a7ShzE5Rua4Jzkl35ULSN','2023-06-06 05:29:24','2023-06-06 05:29:24'),(47,1,'xXqo6huOmQZUBcRZ0nzAB18SA1d2M8Wj','2023-06-06 05:37:27','2023-06-06 05:37:27'),(48,5,'nqe4M8olSarjUNd9UhCbUZgEfGEh6DKB','2023-06-07 12:48:00','2023-06-07 12:48:00'),(49,5,'6pRAbKGa6ahoovmH51I8utPpEQQhtsOk','2023-06-07 12:48:02','2023-06-07 12:48:02'),(50,1,'qDjaWUvLdebxNZgfIjipw6t0aVA9srz8','2023-06-07 13:55:13','2023-06-07 13:55:13'),(51,1,'X1PywyOkqStoIiFY5cs6CCmsWQM3cXuC','2023-06-09 13:59:06','2023-06-09 13:59:06'),(52,1,'Td9KTEm0PLJigxd3kW708GgkHFxQ4Hoj','2023-06-11 07:11:56','2023-06-11 07:11:56'),(53,1,'ZWx4K4JAOid4n06mgX2Xpg6NjDqTltFC','2023-06-11 07:30:07','2023-06-11 07:30:07'),(54,1,'lo2vW2Ld8D0k5gu7skypTNEPaNFdl8RT','2023-06-11 07:43:10','2023-06-11 07:43:10'),(55,1,'FU0brBHPAwvH8soJ7XA8BPJRJGQVxgFb','2023-06-12 05:27:27','2023-06-12 05:27:27'),(56,1,'oVJMa2rYYNU2Ze118uzXXlY4YkOxJDem','2023-06-12 08:01:17','2023-06-12 08:01:17'),(57,1,'XK6gx9BwEhHv27CavfxDN5jIQwZAtPSB','2023-06-14 04:01:15','2023-06-14 04:01:15'),(58,1,'5BcTI6TT6SHDu4sglaQ5fize9J3p6rP6','2023-06-14 09:28:54','2023-06-14 09:28:54'),(59,1,'9ZMzGTflV0qzm2SPOBV7dH2qfudyaB8d','2023-06-15 03:26:42','2023-06-15 03:26:42'),(60,1,'9NFPGVpRD6Nqp7efME5ygbjx1RSrGs8h','2023-06-17 04:11:51','2023-06-17 04:11:51'),(61,1,'hNI0Ib6f4i5cSTbdBt3l1gWyfJSi2cjQ','2023-06-17 06:23:22','2023-06-17 06:23:22'),(62,1,'KqxOmMxUtk7h15YRF3XrikY5TCJL1dnQ','2023-06-17 06:43:53','2023-06-17 06:43:53'),(63,1,'4RK4E8ubxKnLNvLdBKkc1TaHlMRTdtCW','2023-06-20 10:40:07','2023-06-20 10:40:07'),(64,1,'3fsGwLjzm6kb63gXtNYybEZFOWW0iMtH','2023-06-21 06:58:03','2023-06-21 06:58:03'),(65,1,'0frckxLj8KwYeZKAhyu9AFUUPkjDryFw','2023-06-24 07:00:44','2023-06-24 07:00:44'),(66,1,'2kY50B7vRSsYu2NnqsqOVRaZuxrzRvC4','2023-06-24 07:01:56','2023-06-24 07:01:56'),(67,1,'zv9P0jHsB0VItc3IHvviiSI6V1WQIedJ','2023-06-24 17:06:49','2023-06-24 17:06:49'),(68,1,'vB5hM1vAihd94EZr4GL6HPXgObK775ra','2023-06-25 02:55:51','2023-06-25 02:55:51'),(69,1,'o1SHN0oSohKjFmpCeVg5W6O3FWnXkHlf','2023-06-25 05:28:30','2023-06-25 05:28:30'),(70,1,'KPyfChDXQARIbuettBeieQcX7T2pNljW','2023-06-26 10:52:44','2023-06-26 10:52:44'),(71,1,'whhimmoi0Xb1aimkCdEFLxihSqxoIAnu','2023-06-28 06:28:58','2023-06-28 06:28:58'),(72,1,'OtQAxsKiL1K7Juq4zQLNMHuxOtqx4s8l','2023-06-29 05:14:42','2023-06-29 05:14:42'),(73,1,'L69IvSrE1uz2ite2oIGy4Q39oZLkJCxd','2023-06-29 05:25:29','2023-06-29 05:25:29'),(74,1,'0yxo7yiiB58nvv7lNR9HChOdNWZiEUb6','2023-06-30 15:18:11','2023-06-30 15:18:11'),(75,1,'R6WF82GeRUTorxqEW0YI43X72HEdUBqs','2023-07-13 18:40:24','2023-07-13 18:40:24'),(76,1,'SxyBELrhTrp6HetGZFjrtc9rI94njvT5','2023-07-29 16:28:03','2023-07-29 16:28:03'),(77,1,'2cG2MHoVuuzg5zUcmS70MFZZM8TVZCtl','2023-08-04 04:25:07','2023-08-04 04:25:07'),(78,1,'TNIUn5NHcldzBNnVGkFJlaz9iEo34Coo','2023-08-04 11:44:59','2023-08-04 11:44:59'),(79,1,'dhJWHFn4vMhN6l612UF7or3wZu8OTbFY','2023-09-29 10:26:17','2023-09-29 10:26:17');

--
-- Table structure for table `personal_access_tokens`
--

CREATE TABLE `personal_access_tokens` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `tokenable_type` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `tokenable_id` bigint unsigned NOT NULL,
  `name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `token` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `abilities` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `last_used_at` timestamp NULL DEFAULT NULL,
  `expires_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `personal_access_tokens_token_unique` (`token`),
  KEY `personal_access_tokens_tokenable_type_tokenable_id_index` (`tokenable_type`,`tokenable_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `personal_access_tokens`
--


--
-- Table structure for table `product_categories`
--

CREATE TABLE `product_categories` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int unsigned DEFAULT NULL,
  `parent_id` int unsigned NOT NULL DEFAULT '0',
  `name` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `slug` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `active` tinyint NOT NULL DEFAULT '1',
  `notes` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `product_categories`
--


--
-- Table structure for table `product_categories_meta`
--

CREATE TABLE `product_categories_meta` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `product_id` int DEFAULT NULL,
  `product_category_id` int DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `product_categories_meta`
--


--
-- Table structure for table `product_check_in_items`
--

CREATE TABLE `product_check_in_items` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `product_check_in_id` int unsigned DEFAULT NULL,
  `product_id` int unsigned DEFAULT NULL,
  `tax_rate` decimal(65,2) NOT NULL DEFAULT '0.00',
  `qty` decimal(65,2) NOT NULL DEFAULT '0.00',
  `unit_cost` decimal(65,2) NOT NULL DEFAULT '0.00',
  `tax_total` decimal(65,2) NOT NULL DEFAULT '0.00',
  `total_cost` decimal(65,2) NOT NULL DEFAULT '0.00',
  `name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `description` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `product_check_in_items_id_index` (`id`),
  KEY `product_check_in_items_product_check_in_id_index` (`product_check_in_id`),
  KEY `product_check_in_items_product_id_index` (`product_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `product_check_in_items`
--


--
-- Table structure for table `product_check_ins`
--

CREATE TABLE `product_check_ins` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int unsigned DEFAULT NULL,
  `supplier_id` int DEFAULT NULL,
  `branch_id` int DEFAULT NULL,
  `warehouse_id` int DEFAULT NULL,
  `amount` decimal(65,2) NOT NULL DEFAULT '0.00',
  `unit_cost` decimal(65,2) NOT NULL DEFAULT '0.00',
  `qty` decimal(65,2) NOT NULL DEFAULT '0.00',
  `total_cost` decimal(65,2) NOT NULL DEFAULT '0.00',
  `tax_rate` decimal(10,2) NOT NULL DEFAULT '0.00',
  `tax_total` decimal(10,2) NOT NULL DEFAULT '0.00',
  `date` date DEFAULT NULL,
  `month` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `year` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `notes` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `product_check_ins_id_index` (`id`),
  KEY `product_check_ins_supplier_id_index` (`supplier_id`),
  KEY `product_check_ins_warehouse_id_index` (`warehouse_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `product_check_ins`
--


--
-- Table structure for table `product_check_out_items`
--

CREATE TABLE `product_check_out_items` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `product_id` int unsigned DEFAULT NULL,
  `product_check_out_id` int unsigned DEFAULT NULL,
  `tax_rate` decimal(65,2) NOT NULL DEFAULT '0.00',
  `qty` decimal(65,2) NOT NULL DEFAULT '0.00',
  `unit_cost` decimal(65,2) NOT NULL DEFAULT '0.00',
  `tax_total` decimal(65,2) NOT NULL DEFAULT '0.00',
  `total_cost` decimal(65,2) NOT NULL DEFAULT '0.00',
  `name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `description` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `product_check_out_items_id_index` (`id`),
  KEY `product_check_out_items_product_check_out_id_index` (`product_check_out_id`),
  KEY `product_check_out_items_product_id_index` (`product_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `product_check_out_items`
--


--
-- Table structure for table `product_check_outs`
--

CREATE TABLE `product_check_outs` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `type` enum('cash','loan') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'cash',
  `loan_id` int unsigned DEFAULT NULL,
  `branch_id` int DEFAULT NULL,
  `user_id` int unsigned DEFAULT NULL,
  `borrower_id` int DEFAULT NULL,
  `warehouse_id` int DEFAULT NULL,
  `unit_cost` decimal(65,2) NOT NULL DEFAULT '0.00',
  `amount` decimal(65,2) NOT NULL DEFAULT '0.00',
  `qty` decimal(65,2) NOT NULL DEFAULT '0.00',
  `total_cost` decimal(65,2) NOT NULL DEFAULT '0.00',
  `tax_rate` decimal(10,2) NOT NULL DEFAULT '0.00',
  `tax_total` decimal(10,2) NOT NULL DEFAULT '0.00',
  `date` date DEFAULT NULL,
  `month` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `year` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `notes` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `product_check_outs_id_index` (`id`),
  KEY `product_check_outs_loan_id_index` (`loan_id`),
  KEY `product_check_outs_borrower_id_index` (`borrower_id`),
  KEY `product_check_outs_year_index` (`year`),
  KEY `product_check_outs_month_index` (`month`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `product_check_outs`
--


--
-- Table structure for table `product_payments`
--

CREATE TABLE `product_payments` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int unsigned DEFAULT NULL,
  `bank_id` int unsigned DEFAULT NULL,
  `product_check_in_id` int unsigned DEFAULT NULL,
  `product_check_out_id` int unsigned DEFAULT NULL,
  `type` enum('debit','credit') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'credit',
  `payment_method_id` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `receipt` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `payment_slip` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `amount` decimal(65,2) NOT NULL,
  `notes` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `date` date NOT NULL,
  `month` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `year` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `product_payments_id_index` (`id`),
  KEY `product_payments_year_index` (`year`),
  KEY `product_payments_month_index` (`month`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `product_payments`
--


--
-- Table structure for table `product_warehouses`
--

CREATE TABLE `product_warehouses` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `name` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `notes` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `product_warehouses`
--


--
-- Table structure for table `products`
--

CREATE TABLE `products` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int unsigned DEFAULT NULL,
  `name` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `brand_id` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `category_id` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `code` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `cost_price` decimal(65,2) DEFAULT NULL,
  `selling_price` decimal(65,2) DEFAULT NULL,
  `qty` int unsigned NOT NULL DEFAULT '0',
  `alert_qty` int unsigned NOT NULL DEFAULT '0',
  `description` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `notes` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `picture` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `slug` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `active` tinyint NOT NULL DEFAULT '1',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `products_id_index` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `products`
--


--
-- Table structure for table `provision_rates`
--

CREATE TABLE `provision_rates` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `days` int DEFAULT NULL,
  `rate` double(10,2) NOT NULL DEFAULT '0.00',
  `notes` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `provision_rates`
--

INSERT INTO `provision_rates` VALUES (1,'Current',0,0.00,NULL),(2,'Especially Mentioned',31,5.00,NULL),(3,'Substandard',61,10.00,NULL),(4,'Doubtful',91,50.00,NULL),(5,'Loss',181,100.00,NULL);

--
-- Table structure for table `purchase_order_items`
--

CREATE TABLE `purchase_order_items` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `purchase_order_id` int unsigned DEFAULT NULL,
  `product_id` int unsigned DEFAULT NULL,
  `tax_rate` decimal(65,2) NOT NULL DEFAULT '0.00',
  `qty` decimal(65,2) NOT NULL DEFAULT '0.00',
  `qty_received` decimal(65,2) NOT NULL DEFAULT '0.00',
  `unit_cost` decimal(65,2) NOT NULL DEFAULT '0.00',
  `tax_total` decimal(65,2) NOT NULL DEFAULT '0.00',
  `total_cost` decimal(65,2) NOT NULL DEFAULT '0.00',
  `name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `description` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `purchase_order_items`
--


--
-- Table structure for table `purchase_orders`
--

CREATE TABLE `purchase_orders` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int unsigned DEFAULT NULL,
  `supplier_id` int DEFAULT NULL,
  `warehouse_id` int DEFAULT NULL,
  `amount` decimal(65,2) NOT NULL DEFAULT '0.00',
  `unit_cost` decimal(65,2) NOT NULL DEFAULT '0.00',
  `qty` decimal(65,2) NOT NULL DEFAULT '0.00',
  `total_cost` decimal(65,2) NOT NULL DEFAULT '0.00',
  `tax_rate` decimal(10,2) NOT NULL DEFAULT '0.00',
  `tax_total` decimal(10,2) NOT NULL DEFAULT '0.00',
  `delivery_date` date DEFAULT NULL,
  `date` date DEFAULT NULL,
  `month` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `year` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `notes` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `purchase_orders`
--


--
-- Table structure for table `reminders`
--

CREATE TABLE `reminders` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int unsigned NOT NULL,
  `code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `completed` tinyint(1) NOT NULL DEFAULT '0',
  `completed_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `reminders`
--


--
-- Table structure for table `role_users`
--

CREATE TABLE `role_users` (
  `user_id` int unsigned NOT NULL,
  `role_id` int unsigned NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`user_id`,`role_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `role_users`
--

INSERT INTO `role_users` VALUES (1,1,'2022-09-27 08:15:14','2022-09-27 08:15:14'),(2,2,'2022-09-27 11:45:27','2022-09-27 11:45:27'),(4,2,'2022-09-27 13:25:11','2022-09-27 13:25:11'),(5,1,'2023-04-11 07:25:44','2023-04-11 07:25:44'),(6,1,'2023-05-17 06:47:50','2023-05-17 06:47:50');

--
-- Table structure for table `roles`
--

CREATE TABLE `roles` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `slug` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `permissions` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `roles_slug_unique` (`slug`)
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `roles`
--

INSERT INTO `roles` VALUES (1,'admin','Admin','{\"borrowers\":true,\"borrowers.view\":true,\"borrowers.update\":true,\"borrowers.delete\":true,\"borrowers.create\":true,\"borrowers.approve\":true,\"loans\":true,\"loans.create\":true,\"loans.update\":true,\"loans.delete\":true,\"loans.view\":true,\"loans.products\":true,\"loans.fees\":true,\"loans.schedule\":true,\"loans.approve\":true,\"loans.disburse\":true,\"loans.withdraw\":true,\"loans.writeoff\":true,\"loans.reschedule\":true,\"loans.guarantor.create\":true,\"loans.guarantor.update\":true,\"loans.guarantor.delete\":true,\"loans.guarantor.savings\":true,\"repayments\":true,\"repayments.view\":true,\"repayments.create\":true,\"repayments.delete\":true,\"repayments.update\":true,\"payroll\":true,\"payroll.view\":true,\"payroll.update\":true,\"payroll.delete\":true,\"payroll.create\":true,\"expenses\":true,\"expenses.view\":true,\"expenses.create\":true,\"expenses.update\":true,\"expenses.delete\":true,\"other_income\":true,\"other_income.view\":true,\"other_income.create\":true,\"other_income.update\":true,\"other_income.delete\":true,\"collateral\":true,\"collateral.view\":true,\"collateral.update\":true,\"collateral.create\":true,\"collateral.delete\":true,\"reports\":true,\"communication\":true,\"communication.create\":true,\"communication.delete\":true,\"custom_fields\":true,\"custom_fields.view\":true,\"custom_fields.create\":true,\"custom_fields.update\":true,\"custom_fields.delete\":true,\"users\":true,\"users.view\":true,\"users.create\":true,\"users.update\":true,\"users.delete\":true,\"users.roles\":true,\"settings\":true,\"audit_trail\":true,\"savings\":true,\"savings.create\":true,\"savings.update\":true,\"savings.delete\":true,\"savings.transactions.create\":true,\"savings.transactions.update\":true,\"savings.transactions.delete\":true,\"savings.view\":true,\"savings.transactions.view\":true,\"savings.products\":true,\"savings.fees\":true,\"dashboard\":true,\"dashboard.loans_released_monthly_graph\":true,\"dashboard.loans_collected_monthly_graph\":true,\"dashboard.registered_borrowers\":true,\"dashboard.total_loans_released\":true,\"dashboard.total_collections\":true,\"dashboard.loans_disbursed\":true,\"dashboard.loans_pending\":true,\"dashboard.loans_approved\":true,\"dashboard.loans_declined\":true,\"dashboard.loans_closed\":true,\"dashboard.loans_withdrawn\":true,\"dashboard.loans_written_off\":true,\"dashboard.loans_rescheduled\":true,\"capital\":true,\"capital.view\":true,\"capital.create\":true,\"capital.update\":true,\"capital.delete\":true,\"assets\":true,\"assets.create\":true,\"assets.view\":true,\"assets.update\":true,\"assets.delete\":true}',NULL,'2020-01-02 19:38:26'),(2,'co','CO','{\"borrowers\":true,\"borrowers.view\":true,\"loans\":true,\"loans.view\":true,\"loans.schedule\":true,\"repayments\":true,\"repayments.view\":true,\"collateral\":true,\"collateral.view\":true,\"collateral.update\":true,\"collateral.create\":true,\"collateral.delete\":true}','2019-11-06 16:15:08','2022-09-27 13:28:01'),(3,'sub_admin','Sub Admin','{\"borrowers\":true,\"borrowers.view\":true,\"borrowers.update\":true,\"borrowers.delete\":true,\"borrowers.create\":true,\"borrowers.approve\":true,\"loans\":true,\"loans.create\":true,\"loans.update\":true,\"loans.delete\":true,\"loans.view\":true,\"loans.products\":true,\"loans.fees\":true,\"loans.schedule\":true,\"loans.approve\":true,\"loans.disburse\":true,\"loans.withdraw\":true,\"loans.writeoff\":true,\"loans.reschedule\":true,\"loans.guarantor.create\":true,\"loans.guarantor.update\":true,\"loans.guarantor.delete\":true,\"loans.guarantor.savings\":true,\"repayments\":true,\"repayments.view\":true,\"repayments.create\":true,\"repayments.delete\":true,\"repayments.update\":true,\"payroll\":true,\"payroll.view\":true,\"payroll.update\":true,\"payroll.delete\":true,\"payroll.create\":true,\"expenses\":true,\"expenses.view\":true,\"expenses.create\":true,\"expenses.update\":true,\"expenses.delete\":true,\"other_income\":true,\"other_income.view\":true,\"other_income.create\":true,\"other_income.update\":true,\"other_income.delete\":true,\"collateral\":true,\"collateral.view\":true,\"collateral.update\":true,\"collateral.create\":true,\"collateral.delete\":true,\"reports\":true,\"communication\":true,\"communication.create\":true,\"communication.delete\":true,\"custom_fields\":true,\"custom_fields.view\":true,\"custom_fields.create\":true,\"custom_fields.update\":true,\"custom_fields.delete\":true,\"users\":true,\"users.view\":true,\"users.create\":true,\"users.update\":true,\"users.delete\":true,\"users.roles\":true,\"settings\":true,\"audit_trail\":true,\"savings\":true,\"savings.create\":true,\"savings.update\":true,\"savings.delete\":true,\"savings.transactions.create\":true,\"savings.transactions.update\":true,\"savings.transactions.delete\":true,\"savings.view\":true,\"savings.transactions.view\":true,\"savings.products\":true,\"savings.fees\":true,\"dashboard\":true,\"dashboard.loans_released_monthly_graph\":true,\"dashboard.loans_collected_monthly_graph\":true,\"dashboard.registered_borrowers\":true,\"dashboard.total_loans_released\":true,\"dashboard.total_collections\":true,\"dashboard.loans_disbursed\":true,\"dashboard.loans_pending\":true,\"dashboard.loans_approved\":true,\"dashboard.loans_declined\":true,\"dashboard.loans_closed\":true,\"dashboard.loans_withdrawn\":true,\"dashboard.loans_written_off\":true,\"dashboard.loans_rescheduled\":true,\"capital\":true,\"capital.view\":true,\"capital.create\":true,\"capital.update\":true,\"capital.delete\":true,\"assets\":true,\"assets.create\":true,\"assets.view\":true,\"assets.update\":true,\"assets.delete\":true}','2019-11-13 14:39:34','2019-11-13 14:39:35');

--
-- Table structure for table `savings`
--

CREATE TABLE `savings` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int unsigned DEFAULT NULL,
  `borrower_id` int unsigned DEFAULT NULL,
  `savings_product_id` int unsigned DEFAULT NULL,
  `notes` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `date` date DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `branch_id` int DEFAULT NULL,
  `status` enum('active','closed','pending','declined','withdrawn') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'pending',
  `loan_officer_id` int DEFAULT NULL,
  `year` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `month` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `overdraft_limit` decimal(65,4) DEFAULT NULL,
  `approved_date` date DEFAULT NULL,
  `declined_date` date DEFAULT NULL,
  `closed_date` date DEFAULT NULL,
  `approved_notes` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `declined_notes` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `closed_notes` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  PRIMARY KEY (`id`),
  KEY `savings_id_index` (`id`),
  KEY `savings_borrower_id_index` (`borrower_id`),
  KEY `savings_savings_product_id_index` (`savings_product_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `savings`
--


--
-- Table structure for table `savings_charges`
--

CREATE TABLE `savings_charges` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int DEFAULT NULL,
  `charge_id` int DEFAULT NULL,
  `savings_id` int DEFAULT NULL,
  `amount` decimal(65,2) DEFAULT NULL,
  `date` date DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `savings_charges`
--


--
-- Table structure for table `savings_fees`
--

CREATE TABLE `savings_fees` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int unsigned DEFAULT NULL,
  `name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `savings_products` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `amount` decimal(10,2) DEFAULT '0.00',
  `fees_posting` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `fees_adding` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `new_fee_type` enum('full','pro_rata') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT 'full',
  `notes` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `savings_fees`
--


--
-- Table structure for table `savings_product_charges`
--

CREATE TABLE `savings_product_charges` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int DEFAULT NULL,
  `charge_id` int DEFAULT NULL,
  `savings_product_id` int DEFAULT NULL,
  `amount` decimal(65,2) DEFAULT NULL,
  `date` date DEFAULT NULL,
  `grace_period` int NOT NULL DEFAULT '0',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `savings_product_charges`
--


--
-- Table structure for table `savings_products`
--

CREATE TABLE `savings_products` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int unsigned DEFAULT NULL,
  `name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `allow_overdraw` tinyint NOT NULL DEFAULT '0',
  `interest_rate` decimal(10,2) DEFAULT NULL,
  `minimum_balance` int DEFAULT '0',
  `interest_posting` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `interest_adding` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `notes` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `accounting_rule` enum('none','cash_based') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT 'none',
  `chart_reference_id` int DEFAULT NULL,
  `chart_overdraft_portfolio_id` int DEFAULT NULL,
  `chart_savings_control_id` int DEFAULT NULL,
  `chart_income_interest_id` int DEFAULT NULL,
  `chart_income_fee_id` int DEFAULT NULL,
  `chart_income_penalty_id` int DEFAULT NULL,
  `chart_payable_interest_id` int DEFAULT NULL,
  `chart_receivable_fee_id` int DEFAULT NULL,
  `chart_receivable_penalty_id` int DEFAULT NULL,
  `chart_expense_interest_id` int DEFAULT NULL,
  `chart_expense_written_off_id` int DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `savings_products`
--


--
-- Table structure for table `savings_transactions`
--

CREATE TABLE `savings_transactions` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int unsigned DEFAULT NULL,
  `borrower_id` int unsigned DEFAULT NULL,
  `savings_id` int unsigned DEFAULT NULL,
  `amount` decimal(10,2) DEFAULT '0.00',
  `type` enum('deposit','withdrawal','bank_fees','interest','dividend','guarantee','guarantee_restored','fees_payment','transfer_loan','transfer_savings') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `system_interest` tinyint NOT NULL DEFAULT '0',
  `date` date DEFAULT NULL,
  `time` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `year` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `month` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `notes` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `branch_id` int DEFAULT NULL,
  `receipt` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `payment_method_id` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `debit` decimal(65,4) DEFAULT NULL,
  `credit` decimal(65,4) DEFAULT NULL,
  `balance` decimal(65,4) DEFAULT NULL,
  `reversible` tinyint NOT NULL DEFAULT '0',
  `reversed` tinyint NOT NULL DEFAULT '0',
  `reversal_type` enum('system','user','none') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'none',
  `reference` int DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `savings_transactions_id_index` (`id`),
  KEY `savings_transactions_borrower_id_index` (`borrower_id`),
  KEY `savings_transactions_savings_id_index` (`savings_id`),
  KEY `savings_transactions_date_index` (`date`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `savings_transactions`
--


--
-- Table structure for table `settings`
--

CREATE TABLE `settings` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `setting_key` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `setting_value` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  PRIMARY KEY (`id`),
  UNIQUE KEY `settings_setting_key_unique` (`setting_key`)
) ENGINE=InnoDB AUTO_INCREMENT=102 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `settings`
--

INSERT INTO `settings` VALUES (1,'allow_self_registration','0'),(2,'allow_client_login','0'),(3,'welcome_note','Welcome to our company. You can login with your username and password'),(4,'allow_client_apply','0'),(5,'enable_online_payment','0'),(6,'paynow_key',NULL),(7,'paynow_id',NULL),(8,'paypal_enabled','0'),(9,'paynow_enabled','0'),(10,'client_registration_required_fields',''),(11,'client_auto_activate_account','0'),(12,'client_request_guarantor','0'),(13,'auto_post_savings_interest','0'),(14,'update_url','http://webstudio.co.zw/ulm/update'),(15,'client_login_background',''),(16,'stripe_secret_key',NULL),(17,'stripe_publishable_key',NULL),(18,'stripe_enabled','0'),(19,'allow_bank_overdraw','0'),(20,'expenses_chart_id',''),(21,'income_chart_id',''),(22,'payroll_chart_id','11'),(23,'active_theme','limitless'),(24,'mpesa_consumer_key',NULL),(25,'mpesa_consumer_secret',NULL),(26,'mpesa_shortcode',NULL),(27,'mpesa_endpoint','https://sandbox.safaricom.co.ke'),(28,'mpesa_initiator',NULL),(29,'mpesa_enabled','0'),(30,'default_online_payment_method',''),(31,'timezone','Africa/Blantyre'),(32,'auto_download_update','0'),(33,'update_notification',''),(34,'update_last_checked',''),(35,'header_javascript',''),(36,'footer_javascript',''),(37,'company_name','Fast Money Exchange'),(38,'company_phone','Fast Money Exchange'),(39,'company_address','Suite 608'),(40,'company_currency','ZAR'),(41,'company_website','http://www.webstudio.co.zw'),(42,'company_country','1'),(43,'system_version','1.0'),(44,'sms_enabled','1'),(45,'active_sms',NULL),(46,'portal_address','http://www.'),(47,'company_email','admin@gmail.com'),(48,'currency_symbol','฿'),(49,'currency_position','left'),(50,'company_logo','logo.jpg'),(51,'twilio_sid',''),(52,'twilio_token',''),(53,'twilio_phone_number',''),(54,'routesms_host',''),(55,'routesms_username',''),(56,'routesms_password',''),(57,'routesms_port',''),(58,'sms_sender',''),(59,'clickatell_username',''),(60,'clickatell_password',''),(61,'clickatell_api_id',''),(62,'paypal_email',NULL),(63,'currency','USD'),(64,'password_reset_subject','Password reset instructions'),(65,'password_reset_template','Password reset instructions'),(66,'payment_received_sms_template','Dear {borrowerFirstName}, we have received your payment of ${paymentAmount} for loan {loanNumber}. New loan balance:${loanBalance}. Thank you'),(67,'payment_received_email_template','<p>Dear {borrowerFirstName}, we have received your payment of ${paymentAmount} for loan {loanNumber}. New loan balance:${loanBalance}. Thank you</p>\r\n<div id=\"mouseposition-extension-element-full-container\" style=\"position: fixed; inset: 0px; pointer-events: none; z-index: 2147483647; font-weight: 400;\">&nbsp;</div>'),(68,'payment_received_email_subject','Payment Received'),(69,'payment_email_subject','Payment Receipt'),(70,'payment_email_template','<p>Dear {borrowerFirstName}, find attached receipt of your payment of ${paymentAmount} for loan {loanNumber} on {paymentDate}. New loan balance:${loanBalance}. Thank you</p>\r\n<div id=\"mouseposition-extension-element-full-container\" style=\"position: fixed; inset: 0px; pointer-events: none; z-index: 2147483647; font-weight: 400;\">&nbsp;</div>'),(71,'borrower_statement_email_subject','Client Statement'),(72,'borrower_statement_email_template','<p>Dear {borrowerFirstName}, find attached statement of your loans with us. Thank you</p>\r\n<div id=\"mouseposition-extension-element-full-container\" style=\"position: fixed; inset: 0px; pointer-events: none; z-index: 2147483647; font-weight: 400;\">&nbsp;</div>'),(73,'loan_statement_email_subject','Loan Statement'),(74,'loan_statement_email_template','<p>Dear {borrowerFirstName}, find attached loan statement for loan {loanNumber}. Thank you</p>\r\n<div id=\"mouseposition-extension-element-full-container\" style=\"position: fixed; inset: 0px; pointer-events: none; z-index: 2147483647; font-weight: 400;\">&nbsp;</div>'),(75,'loan_schedule_email_subject','Loan Schedule'),(76,'loan_schedule_email_template','<p>Dear {borrowerFirstName}, find attached loan schedule for loan {loanNumber}. Thank you</p>\r\n<div id=\"mouseposition-extension-element-full-container\" style=\"position: fixed; inset: 0px; pointer-events: none; z-index: 2147483647; font-weight: 400;\">&nbsp;</div>'),(77,'cron_last_run','2026-01-29 10:10:04'),(78,'auto_apply_penalty','0'),(79,'auto_payment_receipt_sms','0'),(80,'auto_payment_receipt_email','1'),(81,'auto_repayment_sms_reminder','0'),(82,'auto_repayment_email_reminder','1'),(83,'auto_repayment_days','4'),(84,'auto_overdue_repayment_sms_reminder','0'),(85,'auto_overdue_repayment_email_reminder','1'),(86,'auto_overdue_repayment_days','2'),(87,'auto_overdue_loan_sms_reminder','0'),(88,'auto_overdue_loan_email_reminder','1'),(89,'auto_overdue_loan_days','2'),(90,'loan_overdue_email_subject','Loan Overdue'),(91,'loan_overdue_email_template','<p>Dear {borrowerFirstName}, Your loan {loanNumber} is overdue. Please make your payment. Thank you</p>\r\n<div id=\"mouseposition-extension-element-full-container\" style=\"position: fixed; inset: 0px; pointer-events: none; z-index: 2147483647; font-weight: 400;\">&nbsp;</div>'),(92,'loan_overdue_sms_template','Dear {borrowerFirstName}, Your loan {loanNumber} is overdue. Please make your payment. Thank you'),(93,'loan_payment_reminder_subject','Upcoming Payment Reminder'),(94,'loan_payment_reminder_email_template','<p>Dear {borrowerFirstName},You have an upcoming payment of {paymentAmount} due on {paymentDate} for loan {loanNumber}. Please make your payment. Thank you</p>\r\n<div id=\"mouseposition-extension-element-full-container\" style=\"position: fixed; inset: 0px; pointer-events: none; z-index: 2147483647; font-weight: 400;\">&nbsp;</div>'),(95,'loan_payment_reminder_sms_template','Dear {borrowerFirstName},You have an upcoming payment of {paymentAmount} due on {paymentDate} for loan {loanNumber}. Please make your payment. Thank you'),(96,'missed_payment_email_subject','Missed Payment'),(97,'missed_payment_email_template','<p>Dear {borrowerFirstName},You missed payment of {paymentAmount} which was due on {paymentDate} for loan {loanNumber}. Please make your payment. Thank you</p>\r\n<div id=\"mouseposition-extension-element-full-container\" style=\"position: fixed; inset: 0px; pointer-events: none; z-index: 2147483647; font-weight: 400;\">&nbsp;</div>'),(98,'missed_payment_sms_template','Dear {borrowerFirstName},You missed  payment of {paymentAmount} which was due on {paymentDate} for loan {loanNumber}. Please make your payment. Thank you'),(99,'enable_cron','1'),(100,'infobip_username',''),(101,'infobip_password','');

--
-- Table structure for table `sms`
--

CREATE TABLE `sms` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int unsigned NOT NULL,
  `message` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `recipients` int unsigned NOT NULL,
  `send_to` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `notes` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `gateway` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `branch_id` int DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `sms_id_index` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `sms`
--


--
-- Table structure for table `sms_gateways`
--

CREATE TABLE `sms_gateways` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int DEFAULT NULL,
  `name` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `from_name` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `to_name` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `url` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `msg_name` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `notes` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `sms_gateways`
--


--
-- Table structure for table `suppliers`
--

CREATE TABLE `suppliers` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int unsigned DEFAULT NULL,
  `name` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `mobile_phone` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `work_phone` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `email` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `address` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `notes` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `suppliers`
--


--
-- Table structure for table `throttle`
--

CREATE TABLE `throttle` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int unsigned DEFAULT NULL,
  `type` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `ip` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `throttle_user_id_index` (`user_id`)
) ENGINE=InnoDB AUTO_INCREMENT=27 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `throttle`
--

INSERT INTO `throttle` VALUES (1,NULL,'global',NULL,'2022-09-27 13:16:47','2022-09-27 13:16:47'),(2,NULL,'ip','127.0.0.1','2022-09-27 13:16:47','2022-09-27 13:16:47'),(3,2,'user',NULL,'2022-09-27 13:16:47','2022-09-27 13:16:47'),(4,NULL,'global',NULL,'2022-09-29 05:46:14','2022-09-29 05:46:14'),(5,NULL,'ip','127.0.0.1','2022-09-29 05:46:14','2022-09-29 05:46:14'),(6,1,'user',NULL,'2022-09-29 05:46:14','2022-09-29 05:46:14'),(7,NULL,'global',NULL,'2022-09-29 05:46:19','2022-09-29 05:46:19'),(8,NULL,'ip','127.0.0.1','2022-09-29 05:46:19','2022-09-29 05:46:19'),(9,1,'user',NULL,'2022-09-29 05:46:19','2022-09-29 05:46:19'),(10,NULL,'global',NULL,'2022-09-29 05:46:30','2022-09-29 05:46:30'),(11,NULL,'ip','127.0.0.1','2022-09-29 05:46:30','2022-09-29 05:46:30'),(12,1,'user',NULL,'2022-09-29 05:46:30','2022-09-29 05:46:30'),(13,NULL,'global',NULL,'2022-09-29 05:46:39','2022-09-29 05:46:39'),(14,NULL,'ip','127.0.0.1','2022-09-29 05:46:39','2022-09-29 05:46:39'),(15,1,'user',NULL,'2022-09-29 05:46:39','2022-09-29 05:46:39'),(16,NULL,'global',NULL,'2022-09-29 06:50:07','2022-09-29 06:50:07'),(17,NULL,'ip','127.0.0.1','2022-09-29 06:50:07','2022-09-29 06:50:07'),(18,1,'user',NULL,'2022-09-29 06:50:07','2022-09-29 06:50:07'),(19,NULL,'global',NULL,'2022-09-29 06:50:11','2022-09-29 06:50:11'),(20,NULL,'ip','127.0.0.1','2022-09-29 06:50:11','2022-09-29 06:50:11'),(21,1,'user',NULL,'2022-09-29 06:50:11','2022-09-29 06:50:11'),(22,NULL,'global',NULL,'2023-06-07 13:55:04','2023-06-07 13:55:04'),(23,NULL,'ip','172.70.143.62','2023-06-07 13:55:04','2023-06-07 13:55:04'),(24,1,'user',NULL,'2023-06-07 13:55:04','2023-06-07 13:55:04'),(25,NULL,'global',NULL,'2023-06-11 07:29:52','2023-06-11 07:29:52'),(26,NULL,'ip','172.70.142.78','2023-06-11 07:29:52','2023-06-11 07:29:52');

--
-- Table structure for table `users`
--

CREATE TABLE `users` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `email` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `password` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `permissions` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `last_login` timestamp NULL DEFAULT NULL,
  `first_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `last_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `address` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `phone` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `city` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `gender` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `notes` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `max_approval` decimal(10,0) DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `users_email_unique` (`email`)
) ENGINE=InnoDB AUTO_INCREMENT=7 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `users`
--

INSERT INTO `users` VALUES (1,'admin@gmail.com','$2y$10$MaQP4yIg5yyTaP.LxrIo/Oq0MTnznZiZZKZBTKCdme6bJI1izGCya',NULL,'2023-09-29 10:26:17','Admin','Admin',NULL,NULL,NULL,NULL,NULL,'2022-09-27 08:15:14','2023-09-29 10:26:17',1000000000),(4,'co@gmail.com','$2y$10$ybvaQm00XuYqSNkvYGAG/e7fkR1DU.U2e9RdPTMLERCFCbLj2h4gq',NULL,'2022-09-27 13:26:38','Co','Co',NULL,NULL,NULL,NULL,NULL,'2022-09-27 13:25:11','2022-09-27 13:26:38',10000),(5,'khol@gmail.com','$2y$10$V5YXI0aAlx6gty8EhIQ2Z.RLF1QGVXmIaN3Wl0fsWezv3Cp359tIe',NULL,'2023-06-07 12:48:02','Sarak','Khol',NULL,NULL,NULL,NULL,NULL,'2023-04-11 07:25:44','2023-06-07 12:48:02',1000000),(6,'chantheachheng22@gmail.com','$2y$10$FijEUXQHttYXV1kdU8/z2uKhcP2uN4FL630Xaqvghqs1m3Ezju/rm',NULL,NULL,'CHANTHEA','CHHENG',NULL,'0968882096',NULL,'Female',NULL,'2023-05-17 06:47:50','2023-05-31 04:50:31',200000);

--
-- Table structure for table `warehouses`
--

CREATE TABLE `warehouses` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `name` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `notes` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `warehouses`
--


--
-- Dumping events for database 'thb_loan'
--

--
-- Dumping routines for database 'thb_loan'
--


