PNG  IHDR;IDATxܻn0K )(pA 7LeG{ §㻢|ذaÆ 6lذaÆ 6lذaÆ 6lom$^yذag5bÆ 6lذaÆ 6lذa{ 6lذaÆ `}HFkm,mӪôô! x|'ܢ˟;E:9&ᶒ}{v]n&6 h_tڠ͵-ҫZ;Z$.Pkž)!o>}leQfJTu іچ\X=8Rن4`Vwl>nG^is"ms$ui?wbs[m6K4O.4%/bC%t Mז -lG6mrz2s%9s@-k9=)kB5\+͂Zsٲ Rn~GRC wIcIn7jJhۛNCS|j08yiHKֶۛkɈ+;SzL/F*\Ԕ#"5m2[S=gnaPeғL lذaÆ 6l^ḵaÆ 6lذaÆ 6lذa; _ذaÆ 6lذaÆ 6lذaÆ RIENDB` -- phpMyAdmin SQL Dump -- version 5.0.2 -- https://www.phpmyadmin.net/ -- -- Host: 127.0.0.1 -- Generation Time: May 31, 2021 at 08:58 PM -- Server version: 10.4.11-MariaDB -- PHP Version: 7.2.31 SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; START TRANSACTION; SET time_zone = "+00:00"; /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; /*!40101 SET NAMES utf8mb4 */; -- -- Database: `dhhl_soft` -- -- -------------------------------------------------------- -- -- Table structure for table `accounts` -- CREATE TABLE `accounts` ( `id` int(11) NOT NULL, `reference_id` int(11) NOT NULL, `member_id` int(11) DEFAULT NULL, `sell_id` int(11) DEFAULT NULL, `company_log` double DEFAULT NULL, `reference_log` double DEFAULT NULL, `updated_at` datetime NOT NULL, `created_at` datetime NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; -- -- Dumping data for table `accounts` -- INSERT INTO `accounts` (`id`, `reference_id`, `member_id`, `sell_id`, `company_log`, `reference_log`, `updated_at`, `created_at`) VALUES (85, 26, 35, 85, 1245800, 4200, '2021-05-06 18:24:10', '2021-05-06 17:17:23'), (86, 26, 35, 86, 1500000, NULL, '2021-05-06 17:25:15', '2021-05-06 17:25:15'), (87, 26, 35, 87, 2500500000, NULL, '2021-05-06 21:05:09', '2021-05-06 20:01:10'), (88, 25, 34, 88, 100000, NULL, '2021-05-08 10:58:47', '2021-05-08 10:58:47'); -- -------------------------------------------------------- -- -- Table structure for table `banks` -- CREATE TABLE `banks` ( `id` bigint(20) UNSIGNED NOT NULL, `name` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `ac_number` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `slip_no` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `current_balance` double DEFAULT NULL, `after_dp_balance` double DEFAULT NULL, `after_wd_balance` double DEFAULT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL ) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -- Dumping data for table `banks` -- INSERT INTO `banks` (`id`, `name`, `ac_number`, `slip_no`, `current_balance`, `after_dp_balance`, `after_wd_balance`, `created_at`, `updated_at`) VALUES (1, 'Pubali Bank | Ittefaq Branch', '120058', NULL, NULL, NULL, NULL, '2021-02-03 16:29:12', '2021-02-03 16:29:12'), (2, 'XTRA bank', '1234567890', NULL, NULL, NULL, NULL, '2021-02-06 22:38:41', '2021-02-06 22:38:41'), (3, 'Dutch Bangla Bank', '121.123450.345', NULL, 800, 1370, 800, '2021-02-12 13:54:45', '2021-03-11 15:00:18'), (6, 'Jamuna Bank (Jurain Branch)', '047-0210015218', NULL, 0, NULL, NULL, '2021-03-22 14:46:28', '2021-03-22 14:46:28'), (5, 'dream bank', '1000200012', NULL, 1249550, 2500000, 1249550, '2021-03-14 07:53:12', '2021-03-14 08:04:58'); -- -------------------------------------------------------- -- -- Table structure for table `bank_withdraws` -- CREATE TABLE `bank_withdraws` ( `id` bigint(20) UNSIGNED NOT NULL, `bank_id` int(10) UNSIGNED NOT NULL, `amount` double NOT NULL, `slip_no` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL ) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -- Dumping data for table `bank_withdraws` -- INSERT INTO `bank_withdraws` (`id`, `bank_id`, `amount`, `slip_no`, `created_at`, `updated_at`) VALUES (1, 3, 100.75, '1254', '2021-02-12 14:16:10', '2021-02-12 14:16:10'), (2, 3, 500, '523456', '2021-03-13 05:00:00', '2021-03-11 14:59:33'), (3, 3, 70, '23456', '2021-03-13 05:00:00', '2021-03-11 15:00:18'), (4, 5, 1250450, '12456358', '2021-03-02 05:00:00', '2021-03-14 08:04:58'); -- -------------------------------------------------------- -- -- Table structure for table `baynas` -- CREATE TABLE `baynas` ( `id` bigint(20) UNSIGNED NOT NULL, `donor_name` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `land_volume` double DEFAULT NULL, `stain_number` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `ledger` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `shotok_price` double DEFAULT NULL, `total_price` double DEFAULT NULL, `paid_amount` double DEFAULT NULL, `deu_amount` double DEFAULT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL ) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -- Dumping data for table `baynas` -- INSERT INTO `baynas` (`id`, `donor_name`, `land_volume`, `stain_number`, `ledger`, `shotok_price`, `total_price`, `paid_amount`, `deu_amount`, `created_at`, `updated_at`) VALUES (1, 'Shubhra', 120, '43598jdkf', 'sdhfkjs', 6, 720, 67544, -66824, '2020-03-03 12:01:41', '2021-02-03 16:15:16'); -- -------------------------------------------------------- -- -- Table structure for table `blocks` -- CREATE TABLE `blocks` ( `id` int(11) NOT NULL, `block_no` int(11) DEFAULT NULL, `title` varchar(255) NOT NULL, `katha` double NOT NULL, `booking_amount` double NOT NULL, `installment_amount` double NOT NULL, `ekkalin_amount` double NOT NULL, `updated_at` datetime NOT NULL, `created_at` datetime NOT NULL ) ENGINE=MyISAM DEFAULT CHARSET=latin1; -- -- Dumping data for table `blocks` -- INSERT INTO `blocks` (`id`, `block_no`, `title`, `katha`, `booking_amount`, `installment_amount`, `ekkalin_amount`, `updated_at`, `created_at`) VALUES (5, 1, 'Standerd', 5, 10000, 10, 40, '2021-04-20 20:20:22', '2021-04-20 20:19:14'), (6, 2, 'Block B1', 3, 20000, 6, 10, '2021-05-03 14:12:38', '2021-05-03 14:09:02'), (7, 3, 'Block A', 5, 20000, 6, 10, '2021-05-03 14:12:56', '2021-05-03 14:09:22'), (8, 4, 'aaa', 5, 0, 0, 0, '2021-05-04 16:04:13', '2021-05-04 16:04:13'); -- -------------------------------------------------------- -- -- Table structure for table `commision_plans` -- CREATE TABLE `commision_plans` ( `id` int(11) NOT NULL, `katha` double NOT NULL, `booking_amount` double NOT NULL, `installment_amount` double NOT NULL, `ekkalin_amount` double NOT NULL, `block_id` int(11) NOT NULL, `block_title` varchar(255) NOT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; -- -- Dumping data for table `commision_plans` -- INSERT INTO `commision_plans` (`id`, `katha`, `booking_amount`, `installment_amount`, `ekkalin_amount`, `block_id`, `block_title`, `created_at`, `updated_at`) VALUES (38, 5, 10000, 10, 40, 5, 'Standerd', '2021-04-20 14:20:22', '2021-04-20 14:20:22'), (39, 3, 20000, 6, 10, 6, 'Block B1', '2021-05-03 18:12:38', '2021-05-03 18:12:38'), (40, 5, 20000, 6, 10, 7, 'Block A', '2021-05-03 18:12:56', '2021-05-03 18:12:56'); -- -------------------------------------------------------- -- -- Table structure for table `companies` -- CREATE TABLE `companies` ( `id` bigint(20) UNSIGNED NOT NULL, `name` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL, `mobile` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL, `address` text COLLATE utf8mb4_unicode_ci NOT NULL, `logo` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL, `email` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL, `quote` text COLLATE utf8mb4_unicode_ci NOT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL ) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -- Dumping data for table `companies` -- INSERT INTO `companies` (`id`, `name`, `mobile`, `address`, `logo`, `email`, `quote`, `created_at`, `updated_at`) VALUES (1, 'Dream Haven Housing Ltd.', '+8801915-618117', '5B-1 ittefaq Bhaban, 1 R.K Mission Road, Motizil , Dhaka - 1203', 'logo/40oMSLG21cqyKvmnoYGTGNrHU8uQ4QkU9M2zYUTI.jpeg', 'dreamgreencity@gmail.com', '5B-1 ittefaq Bhaban, 1 R.K Mission Road, Motizil , Dhaka - 1203', '2020-03-03 12:19:38', '2020-12-07 06:12:46'); -- -------------------------------------------------------- -- -- Table structure for table `custom_installments` -- CREATE TABLE `custom_installments` ( `id` bigint(11) NOT NULL, `amount` double DEFAULT NULL, `remark` text DEFAULT NULL, `via` text DEFAULT NULL, `bank_name` text DEFAULT NULL, `image` text DEFAULT NULL, `account_no` text DEFAULT NULL, `money_rec` text DEFAULT NULL, `isDelete` int(11) DEFAULT NULL, `created_at` timestamp NULL DEFAULT current_timestamp(), `updated_at` timestamp NULL DEFAULT NULL, `member_id` int(11) NOT NULL, `saled_id` int(11) DEFAULT NULL, `date` datetime DEFAULT NULL, `serial_id` int(11) NOT NULL, `reference_id` int(11) NOT NULL, `due` double NOT NULL, `ins_no` int(11) DEFAULT NULL, `company_log` double DEFAULT NULL, `refference_log` double DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; -- -- Dumping data for table `custom_installments` -- INSERT INTO `custom_installments` (`id`, `amount`, `remark`, `via`, `bank_name`, `image`, `account_no`, `money_rec`, `isDelete`, `created_at`, `updated_at`, `member_id`, `saled_id`, `date`, `serial_id`, `reference_id`, `due`, `ins_no`, `company_log`, `refference_log`) VALUES (7, 30000, 'customized intallment 2', 'bkash', NULL, 'members/w81ThBaPOTubo5MyZpiN0XjvH4hi9uAFwf31RSpr.jpeg', '2222222222222', NULL, 2, '2021-05-06 22:05:22', '2021-05-06 22:21:07', 35, 85, '2021-05-07 00:00:00', 2, 26, 100000, NULL, NULL, NULL), (8, 30000, 'customized intallment 2', 'bkash', NULL, '', '2222222222222', '33333', 1, '2021-05-06 22:23:36', '2021-05-06 22:24:10', 35, 85, '2021-05-13 00:00:00', 2, 26, 100000, NULL, NULL, NULL); -- -------------------------------------------------------- -- -- Table structure for table `demo_installments` -- CREATE TABLE `demo_installments` ( `id` bigint(20) NOT NULL, `member_id` int(11) DEFAULT NULL, `serial_id` int(11) DEFAULT NULL, `reference_id` int(11) DEFAULT NULL, `sales_id` int(11) DEFAULT NULL, `amount` double DEFAULT NULL, `company_log` double DEFAULT NULL, `refference_log` double DEFAULT NULL, `due` double DEFAULT NULL, `date` date DEFAULT NULL, `ins_no` int(11) DEFAULT NULL, `remark` text DEFAULT NULL, `via` text DEFAULT NULL, `bank_name` text DEFAULT NULL, `image` text DEFAULT NULL, `account_no` text DEFAULT NULL, `money_rec` bigint(20) DEFAULT NULL, `isDelete` int(11) DEFAULT NULL, `created_at` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(), `updated_at` timestamp NULL DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; -- -- Dumping data for table `demo_installments` -- INSERT INTO `demo_installments` (`id`, `member_id`, `serial_id`, `reference_id`, `sales_id`, `amount`, `company_log`, `refference_log`, `due`, `date`, `ins_no`, `remark`, `via`, `bank_name`, `image`, `account_no`, `money_rec`, `isDelete`, `created_at`, `updated_at`) VALUES (17, 35, 2, 26, 85, 70000, 70000, NULL, 210000, '2021-05-06', 2, 'paid from member panal 1', 'bkash', NULL, 'members/5sjtvnxW8HvTYHjDU7wXmGp01r7CQcdnk2d3Do53.jpeg', '2222222222222', 4545, 1, '2021-05-06 17:39:36', '2021-05-06 21:39:36'), (18, 35, 2, 26, 87, 24995, 24995, NULL, 2499475005, '2021-05-13', 2, 'installment no 2', 'bkash', NULL, 'members/BpDYjzaj1AeDiJ2IWKEAAZz7AUU2Sts5OWdvYUd4.jpeg', '2222222222222', 33434, 0, '2021-05-06 15:06:02', '2021-05-06 15:06:02'), (19, 34, 1, 25, 88, 125000, 125000, NULL, 1125000, '2021-06-17', 1, 'installment no 1', 'bkash', NULL, 'members/nvdLHoQj07h5CIBwquvG9pY9JXD92IcWDfaSdo54.jpeg', '2222222222222', 33434, 0, '2021-05-31 12:56:04', '2021-05-31 12:56:04'); -- -------------------------------------------------------- -- -- Table structure for table `deposits` -- CREATE TABLE `deposits` ( `id` bigint(20) UNSIGNED NOT NULL, `slip_no` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `bank_id` int(11) DEFAULT NULL, `amount` double DEFAULT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL ) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -- Dumping data for table `deposits` -- INSERT INTO `deposits` (`id`, `slip_no`, `bank_id`, `amount`, `created_at`, `updated_at`) VALUES (1, '23451', 1, 5000, '2021-02-03 16:30:15', '2021-02-03 16:30:15'), (2, '23452', 1, 120, '2021-02-03 16:31:04', '2021-02-03 16:31:04'), (3, '78', 2, 1000, '2021-02-06 22:39:27', '2021-02-06 22:39:27'), (4, '123', 2, 1, '2021-02-06 22:41:44', '2021-02-06 22:41:44'), (5, '1254', 3, 12.75, '2021-02-12 14:02:13', '2021-02-12 14:02:13'), (6, '2154', 3, 1250, '2021-03-12 05:00:00', '2021-03-11 14:46:46'), (7, '23451', 3, 120, '2021-03-13 05:00:00', '2021-03-11 14:47:14'), (8, '1', 5, 2500000, '2021-02-01 05:00:00', '2021-03-14 08:03:19'); -- -------------------------------------------------------- -- -- Table structure for table `expences` -- CREATE TABLE `expences` ( `id` bigint(20) UNSIGNED NOT NULL, `expence_head_id` int(10) UNSIGNED NOT NULL, `date` date DEFAULT NULL, `description` text COLLATE utf8mb4_unicode_ci DEFAULT NULL, `note` text COLLATE utf8mb4_unicode_ci DEFAULT NULL, `amount` double DEFAULT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL ) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -- Dumping data for table `expences` -- INSERT INTO `expences` (`id`, `expence_head_id`, `date`, `description`, `note`, `amount`, `created_at`, `updated_at`) VALUES (1, 1, '2020-03-04', 'Musanna Sir Guest', 'Lunch', 300, '2020-03-04 04:26:13', '2020-03-04 04:26:13'), (2, 2, '2020-03-04', 'CNG Refuel', NULL, 768, '2020-03-04 04:26:51', '2020-03-04 04:26:51'), (3, 2, '2020-03-05', 'f', 'f', 500, '2020-03-04 04:56:03', '2020-03-04 04:56:03'), (4, 3, '2020-12-14', 'Food Distribution', 'Huze Finance Delavery', 135700, '2020-12-14 12:16:24', '2020-12-14 12:16:24'), (5, 1, '2021-02-03', 'rabbi;lmm, lsd;l', 'ai taka Abdur rahim er', 500, '2021-02-03 16:33:42', '2021-02-03 16:33:42'), (6, 4, '2021-03-11', 'Mr - lksij\r\nklsjdoj\r\nlkasjdjasd', 'korim rigestruy ভালু না । রা', 100000, '2021-03-11 16:09:20', '2021-03-11 16:11:04'), (7, 5, '2021-03-21', 'alu , si 1 , kjsadhniiaskdn', 'lkjasdkjnid', 500000, '2021-03-21 12:29:41', '2021-03-21 12:29:41'), (8, 5, '2021-03-22', 'kgnb', 'kighkjgh', 100000, '2021-03-21 12:30:06', '2021-03-21 12:30:06'), (9, 5, '2021-03-18', 'fdhtd cuiyhkjhkjh', 'fgjhtyg', 100000, '2021-03-21 13:26:06', '2021-03-21 13:26:06'), (10, 7, '2021-03-20', '2 days Vehicle Gas', NULL, 1735, '2021-03-22 12:20:13', '2021-03-22 12:20:13'), (11, 8, '2021-03-20', 'Office Mobile Recharge', 'Imtiaj', 100, '2021-03-22 12:25:49', '2021-03-22 12:25:49'); -- -------------------------------------------------------- -- -- Table structure for table `expence_heads` -- CREATE TABLE `expence_heads` ( `id` bigint(20) UNSIGNED NOT NULL, `name` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `slug` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL ) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -- Dumping data for table `expence_heads` -- INSERT INTO `expence_heads` (`id`, `name`, `slug`, `created_at`, `updated_at`) VALUES (1, 'Entertainment', 'entertainment', '2020-03-04 04:25:19', '2020-03-04 04:25:19'), (2, 'Fuel & Others', 'fuel-others', '2020-03-04 04:25:37', '2020-03-04 04:25:37'), (3, 'Golam Rabbany', 'golam-rabbany', '2020-12-14 12:15:08', '2020-12-14 12:15:08'), (4, 'Land purchase', 'land-purchase', '2021-03-11 15:53:30', '2021-03-11 15:53:30'), (5, 'Comission', 'comission', '2021-03-21 12:28:28', '2021-03-21 12:28:28'), (6, 'interest', 'interest', '2021-03-21 13:25:40', '2021-03-21 13:25:40'), (7, 'Vechile Gas', 'vechile-gas', '2021-03-22 12:18:06', '2021-03-22 12:18:06'), (8, 'Office Mobile Bill', 'office-mobile-bill', '2021-03-22 12:24:23', '2021-03-22 12:24:23'); -- -------------------------------------------------------- -- -- Table structure for table `installments` -- CREATE TABLE `installments` ( `id` bigint(20) UNSIGNED NOT NULL, `member_id` int(10) UNSIGNED NOT NULL, `serial_id` int(11) DEFAULT NULL, `reference_id` int(11) NOT NULL, `sales_id` int(10) UNSIGNED NOT NULL, `amount` double DEFAULT NULL, `company_log` double UNSIGNED NOT NULL, `refference_log` double UNSIGNED DEFAULT NULL, `due` double NOT NULL, `date` date DEFAULT NULL, `ins_no` int(11) DEFAULT NULL, `remark` text COLLATE utf8mb4_unicode_ci NOT NULL, `money_rec` bigint(11) NOT NULL, `isDelete` int(11) DEFAULT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL ) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -- Dumping data for table `installments` -- INSERT INTO `installments` (`id`, `member_id`, `serial_id`, `reference_id`, `sales_id`, `amount`, `company_log`, `refference_log`, `due`, `date`, `ins_no`, `remark`, `money_rec`, `isDelete`, `created_at`, `updated_at`) VALUES (133, 35, 2, 26, 85, 70000, 65800, 4200, 280000, '2021-05-06', 1, 'installment no 1', 33434, NULL, '2021-05-06 21:33:50', '2021-05-06 21:57:58'), (134, 35, 2, 26, 85, 70000, 70000, NULL, 210000, '2021-05-06', 2, 'paid from member panal 1', 4545, NULL, '2021-05-06 21:39:36', '2021-05-06 21:39:36'), (135, 35, 2, 26, 85, 70000, 70000, NULL, 140000, '2021-05-21', 3, 'installment no 3', 121212, NULL, '2021-05-06 21:58:39', '2021-05-06 21:58:39'), (136, 35, 2, 26, 85, 700, 700, NULL, 139300, '2021-06-02', 4, 'installment no 4', 11111, NULL, '2021-05-06 21:59:00', '2021-05-06 21:59:00'), (137, 35, 2, 26, 85, 700, 700, NULL, 138600, '2021-05-17', 5, 'installment no 5', 3777, NULL, '2021-05-06 21:59:19', '2021-05-06 21:59:19'), (138, 35, 2, 26, 85, 8600, 8600, NULL, 130000, '2021-05-05', 0, 'customized intallment 1', 121212, NULL, '2021-05-06 22:04:31', '2021-05-06 22:04:31'), (139, 35, 2, 26, 85, 30000, 30000, NULL, 100000, '2021-05-13', 0, 'customized intallment 2', 33333, NULL, '2021-05-06 22:24:10', '2021-05-06 22:24:10'), (140, 35, 2, 26, 87, 2499500000, 2499500000, NULL, 2499500000, '2021-05-21', 1, 'installment no 1', 33434, NULL, '2021-05-06 15:05:09', '2021-05-06 15:05:09'); -- -------------------------------------------------------- -- -- Table structure for table `land_purchases` -- CREATE TABLE `land_purchases` ( `id` bigint(20) UNSIGNED NOT NULL, `date` timestamp NULL DEFAULT NULL, `owner_name` text COLLATE utf8mb4_unicode_ci DEFAULT NULL, `reference_name` text COLLATE utf8mb4_unicode_ci DEFAULT NULL, `reference_file_no` int(11) DEFAULT NULL, `dolil_no` int(11) DEFAULT NULL, `rs_dag` double DEFAULT NULL, `land_poriman` double DEFAULT NULL, `commision_percentage` double DEFAULT NULL, `investor_name` text COLLATE utf8mb4_unicode_ci DEFAULT NULL, `investor_number` int(11) DEFAULT NULL, `investor_total_invest` double DEFAULT NULL, `total_commision` double DEFAULT NULL, `investor_interest` double DEFAULT NULL, `investor_total_interest` double DEFAULT NULL, `registri_amount` double DEFAULT NULL, `total_fee` double DEFAULT NULL, `details` text COLLATE utf8mb4_unicode_ci DEFAULT NULL, `shotok_price` double DEFAULT NULL, `total_price` double DEFAULT NULL, `paid_amount` double DEFAULT NULL, `deu_amount` double DEFAULT NULL, `ledger` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL ) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -- Dumping data for table `land_purchases` -- INSERT INTO `land_purchases` (`id`, `date`, `owner_name`, `reference_name`, `reference_file_no`, `dolil_no`, `rs_dag`, `land_poriman`, `commision_percentage`, `investor_name`, `investor_number`, `investor_total_invest`, `total_commision`, `investor_interest`, `investor_total_interest`, `registri_amount`, `total_fee`, `details`, `shotok_price`, `total_price`, `paid_amount`, `deu_amount`, `ledger`, `created_at`, `updated_at`) VALUES (5, '2021-05-09 18:00:00', 'Anika', 'Tasnim', 1, 101, 124, 15, 4, 'RR', 1223455, 50, 60, 50, 500, 1004, 1594, 'No details', 5, 30, 33, 1561, 'aaa', '2021-05-09 23:39:49', '2021-05-09 23:41:20'); -- -------------------------------------------------------- -- -- Table structure for table `members` -- CREATE TABLE `members` ( `id` bigint(20) UNSIGNED NOT NULL, `name` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL, `hus_father` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL, `nationality` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `birthday` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `mother` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `profession` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `religion` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `present_address` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `permanent_address` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `mobile` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `nid` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `email` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL, `picture` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `serial_id` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `reference_id` int(10) UNSIGNED NOT NULL, `password` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL ) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -- Dumping data for table `members` -- INSERT INTO `members` (`id`, `name`, `hus_father`, `nationality`, `birthday`, `mother`, `profession`, `religion`, `present_address`, `permanent_address`, `mobile`, `nid`, `email`, `created_at`, `updated_at`, `picture`, `serial_id`, `reference_id`, `password`) VALUES (35, 'Mahfuza Nasrin', 'late abs', 'Bangladeshi', '1983-02-10', 'soaliha', 'Housewife', 'islam', 'Khulna', 'Khulna', '01919774996', '6548943548964', 'abc@gmail.com', '2021-05-03 17:40:38', '2021-05-03 17:40:38', 'members/gdKRNfTZWuLgXYJVVXV2uoEt5DYzHb7aZwlFsGyx.jpeg', '000002', 26, '123456'), (34, 'Stefen Salvator', 'Salvator', 'American', '1976-02-05', 'Salvator', 'Vampire', 'christian', 'Mistic Falls', 'Mistic Falls', '01737499550', '7777777777777777', 'stefen@gmail.com', '2021-04-28 14:29:48', '2021-04-28 14:29:48', 'members/jCS95ZTK3SRjfeGDCgWFcDiMfq9bo9Bm4Nj8ig8q.png', '000001', 25, '123456'); -- -------------------------------------------------------- -- -- Table structure for table `migrations` -- CREATE TABLE `migrations` ( `id` int(10) UNSIGNED NOT NULL, `migration` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL, `batch` int(11) NOT NULL ) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -- Dumping data for table `migrations` -- INSERT INTO `migrations` (`id`, `migration`, `batch`) VALUES (1, '2014_10_12_000000_create_users_table', 1), (2, '2014_10_12_100000_create_password_resets_table', 1), (3, '2020_01_31_143519_create_land_purchases_table', 1), (4, '2020_01_31_162552_create_members_table', 1), (5, '2020_01_31_190024_create_baynas_table', 1), (6, '2020_01_31_192032_create_plots_table', 1), (7, '2020_02_01_065631_create_banks_table', 1), (8, '2020_02_01_072110_create_deposits_table', 1), (9, '2020_02_01_082138_add_picture_to_member_table', 1), (10, '2020_02_01_103646_create_references_table', 1), (11, '2020_02_01_174219_create_nominees_table', 1), (12, '2020_02_02_151623_add_role_to_table_users', 1), (13, '2020_02_02_164945_create_expence_heads_table', 1), (14, '2020_02_02_165029_create_expences_table', 1), (15, '2020_02_04_151412_create_sales_table', 1), (16, '2020_02_04_154015_add_serial_id_to_members_table', 1), (17, '2020_02_21_045445_create_sub_memebers_table', 1), (18, '2020_02_21_062807_create_installments_table', 1), (19, '2020_02_21_080045_add_reference_id_to_members_table', 1), (20, '2020_02_22_054809_add_amount_to_references_table', 1), (21, '2020_02_22_061714_create_reference_incomes_table', 1), (22, '2020_02_22_064256_create_reference_withdraws_table', 1), (23, '2020_02_25_145851_create_companies_table', 1), (24, '2020_02_28_153109_create_purchase_installments_table', 1), (25, '2020_02_28_181508_create_bank_withdraws_table', 1); -- -------------------------------------------------------- -- -- Table structure for table `nominees` -- CREATE TABLE `nominees` ( `id` bigint(20) UNSIGNED NOT NULL, `name` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL, `hus_father` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `address` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `religion` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `nationality` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `nid` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `picture` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `member_id` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL, `saled_id` int(11) DEFAULT NULL, `relation` text COLLATE utf8mb4_unicode_ci DEFAULT NULL, `birthday` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL ) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -- Dumping data for table `nominees` -- INSERT INTO `nominees` (`id`, `name`, `hus_father`, `address`, `religion`, `nationality`, `nid`, `picture`, `member_id`, `saled_id`, `relation`, `birthday`, `created_at`, `updated_at`) VALUES (7, 'Abdur Rahim', 'kuddus', 'Dhaka', NULL, 'Bangladeshi', '3264984132', 'nominees/TLw4O6qDyaX3tYE03wa5ZSy0VVOeUGafPHri8xxw.jpeg', '35', NULL, 'brother', '2008-10-13', '2021-05-03 19:13:23', '2021-05-06 03:14:04'), (6, 'MONA', 'kuddus', 'Dhaka', NULL, 'Bangladeshi', '3264984132', 'nominees/EMI7fEVpFHvmohkB2XZaUHLBs5AQZDsO9kjL5rlx.jpeg', '35', NULL, 'sister', '2000-01-03', '2021-05-03 19:12:23', '2021-05-06 03:07:59'), (8, 'Demon Salvator', 'Salvator', 'mistic falls', 'christian', 'American', '77777777777', 'nominees/rQ4qXuTuhq9l9ReyjeOv5uMnJaIKMxxWrvla2iIv.jpeg', '34', NULL, 'brother', '2021-05-11', '2021-05-06 08:51:41', '2021-05-06 08:51:55'); -- -------------------------------------------------------- -- -- Table structure for table `password_resets` -- CREATE TABLE `password_resets` ( `email` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL, `token` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL, `created_at` timestamp NULL DEFAULT NULL ) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -------------------------------------------------------- -- -- Table structure for table `plots` -- CREATE TABLE `plots` ( `id` bigint(20) UNSIGNED NOT NULL, `plot_no` int(11) NOT NULL, `plot_size` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `rate` double DEFAULT NULL, `block` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `block_id` int(11) NOT NULL, `road` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `face` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `quantity` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL ) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -- Dumping data for table `plots` -- INSERT INTO `plots` (`id`, `plot_no`, `plot_size`, `rate`, `block`, `block_id`, `road`, `face`, `quantity`, `created_at`, `updated_at`) VALUES (11, 1, '3', 1350000, 'Block B1', 6, '5', 'west', '41', '2021-05-03 18:10:58', '2021-05-08 04:58:47'), (12, 2, '5', 1500000, 'Block A', 7, '6', 'south', '48', '2021-05-03 18:11:29', '2021-05-06 21:25:15'), (13, 3, '3', 5000000000, 'Block A', 7, '5', 'north', '65', '2021-05-04 09:41:07', '2021-05-07 00:01:10'); -- -------------------------------------------------------- -- -- Table structure for table `purchase_installments` -- CREATE TABLE `purchase_installments` ( `id` bigint(20) UNSIGNED NOT NULL, `land_purchase_id` int(10) UNSIGNED NOT NULL, `date` date NOT NULL, `amount` double NOT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL ) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -- Dumping data for table `purchase_installments` -- INSERT INTO `purchase_installments` (`id`, `land_purchase_id`, `date`, `amount`, `created_at`, `updated_at`) VALUES (4, 5, '2021-05-10', 500, '2021-05-09 23:53:11', '2021-05-09 23:53:11'); -- -------------------------------------------------------- -- -- Table structure for table `references` -- CREATE TABLE `references` ( `id` bigint(20) UNSIGNED NOT NULL, `name` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `father_name` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `mother_name` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `nid` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `dob` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `email` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `profession` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `present_address` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `permanent_address` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `mobile` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `religion` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `image` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL, `amount` double DEFAULT NULL, `booking_amount` double NOT NULL, `installment_amount` double NOT NULL, `ekkalin_amount` double NOT NULL, `password` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL ) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -- Dumping data for table `references` -- INSERT INTO `references` (`id`, `name`, `father_name`, `mother_name`, `nid`, `dob`, `email`, `profession`, `present_address`, `permanent_address`, `mobile`, `religion`, `image`, `created_at`, `updated_at`, `amount`, `booking_amount`, `installment_amount`, `ekkalin_amount`, `password`) VALUES (26, 'tuki', 'tuki talukder', 'tuki begum', '3264984132', '2021-05-03', 'tuki@gmail.com', 'Business', 'Dhaka', 'Dhaka', '01884340703', 'muslim', 'members/mZmjWBgK62lE8sUgT2sRtJJ53QgJenFff9nTOkXl.jpeg', '2021-05-03 17:33:14', '2021-05-03 17:37:02', NULL, 0, 0, 0, '123456'), (25, 'Hermione Granger', 'Granger', 'Granger', '33333333', '1989-06-13', 'hermione@gmail.com', 'Witch', 'Hogwarts', 'Hogwarts', '01303106337', 'kristan', 'members/njgn0PR04x2edjYQYgq7bOgUbWhYZp3insUEuxEE.jpeg', '2021-04-28 14:28:25', '2021-04-28 14:28:25', NULL, 0, 0, 0, '123456'); -- -------------------------------------------------------- -- -- Table structure for table `reference_incomes` -- CREATE TABLE `reference_incomes` ( `id` bigint(20) UNSIGNED NOT NULL, `member_id` int(10) UNSIGNED NOT NULL, `reference_id` int(10) UNSIGNED NOT NULL, `sell_id` int(11) DEFAULT NULL, `intall_id` int(11) DEFAULT NULL, `paid_amount` double DEFAULT NULL, `installment_amount` double DEFAULT NULL, `block_id` int(11) NOT NULL, `block_name` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL, `plot_size` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL, `face` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL, `road` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL, `katha` double NOT NULL, `booking_amount` double NOT NULL, `installment_per_amount` double NOT NULL, `ekkalin_per_amount` double NOT NULL, `amount` double DEFAULT NULL, `rest_amount` double DEFAULT NULL, `status` int(11) NOT NULL, `isDelete` int(11) NOT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL ) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -- Dumping data for table `reference_incomes` -- INSERT INTO `reference_incomes` (`id`, `member_id`, `reference_id`, `sell_id`, `intall_id`, `paid_amount`, `installment_amount`, `block_id`, `block_name`, `plot_size`, `face`, `road`, `katha`, `booking_amount`, `installment_per_amount`, `ekkalin_per_amount`, `amount`, `rest_amount`, `status`, `isDelete`, `created_at`, `updated_at`) VALUES (216, 35, 26, 85, NULL, 1000000, 70000, 6, 'Block B1', '3', 'west', '5', 3, 20000, 6, 10, 60000, 60000, 2, 0, '2021-05-06 21:17:23', '2021-05-06 21:17:23'), (217, 35, 26, 86, NULL, 1500000, 0, 7, 'Block A', '5', 'south', '6', 5, 20000, 6, 10, 150000, 150000, 1, 0, '2021-05-06 21:25:15', '2021-05-06 21:25:15'), (218, 35, 26, 85, 133, NULL, 70000, 6, 'Block B1', '3', 'west', '5', 3, 20000, 6, 10, 4200, 4200, 3, 1, '2021-05-06 21:33:50', '2021-05-06 21:57:58'), (219, 35, 26, 85, 134, NULL, 70000, 6, 'Block B1', '3', 'west', '5', 3, 20000, 6, 10, 4200, 4200, 3, 0, '2021-05-06 21:39:36', '2021-05-06 21:39:36'), (220, 35, 26, 85, 135, NULL, 70000, 6, 'Block B1', '3', 'west', '5', 3, 20000, 6, 10, 4200, 4200, 3, 0, '2021-05-06 21:58:39', '2021-05-06 21:58:39'), (221, 35, 26, 85, 136, NULL, 700, 6, 'Block B1', '3', 'west', '5', 3, 20000, 6, 10, 42, 42, 3, 0, '2021-05-06 21:59:00', '2021-05-06 21:59:00'), (222, 35, 26, 85, 137, NULL, 700, 6, 'Block B1', '3', 'west', '5', 3, 20000, 6, 10, 42, 42, 3, 0, '2021-05-06 21:59:19', '2021-05-06 21:59:19'), (223, 35, 26, 85, 138, NULL, 8600, 6, 'Block B1', '3', 'west', '5', 3, 20000, 6, 10, 516, 516, 3, 0, '2021-05-06 22:04:31', '2021-05-06 22:04:31'), (224, 35, 26, 85, 139, NULL, 30000, 6, 'Block B1', '3', 'west', '5', 3, 20000, 6, 10, 1800, 1800, 3, 0, '2021-05-06 22:24:10', '2021-05-06 22:24:10'), (225, 35, 26, 87, NULL, 1000000, 2499500000, 7, 'Block A', '3', 'north', '5', 5, 20000, 6, 10, 100000, 100000, 2, 0, '2021-05-07 00:01:10', '2021-05-07 00:01:10'), (226, 35, 26, 87, 140, NULL, 2499500000, 7, 'Block A', '3', 'north', '5', 5, 20000, 6, 10, 149970000, 149970000, 3, 0, '2021-05-06 15:05:09', '2021-05-06 15:05:09'), (227, 34, 25, 88, NULL, 100000, 125000, 6, 'Block B1', '3', 'west', '5', 3, 20000, 6, 10, 60000, 60000, 2, 0, '2021-05-08 04:58:47', '2021-05-08 04:58:47'); -- -------------------------------------------------------- -- -- Table structure for table `reference_withdraws` -- CREATE TABLE `reference_withdraws` ( `id` bigint(20) UNSIGNED NOT NULL, `reference_id` int(10) UNSIGNED NOT NULL, `member_id` int(11) DEFAULT NULL, `income_id` int(11) NOT NULL, `sell_id` int(11) DEFAULT NULL, `amount` double DEFAULT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL ) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -- Dumping data for table `reference_withdraws` -- INSERT INTO `reference_withdraws` (`id`, `reference_id`, `member_id`, `income_id`, `sell_id`, `amount`, `created_at`, `updated_at`) VALUES (77, 26, 35, 218, 85, 4200, '2021-05-06 21:57:58', '2021-05-06 21:57:58'); -- -------------------------------------------------------- -- -- Table structure for table `sales` -- CREATE TABLE `sales` ( `id` bigint(20) UNSIGNED NOT NULL, `plot_id` int(10) UNSIGNED NOT NULL, `block_id` int(11) DEFAULT NULL, `member_id` int(10) UNSIGNED NOT NULL, `nominee_id` int(11) DEFAULT NULL, `serial_id` int(11) DEFAULT NULL, `installment` int(11) DEFAULT NULL, `installment_amount` double DEFAULT NULL, `due_amount` double DEFAULT NULL, `paid` double DEFAULT NULL, `discount` double DEFAULT NULL, `date` date DEFAULT NULL, `remark` text COLLATE utf8mb4_unicode_ci DEFAULT NULL, `sale_no` int(11) DEFAULT NULL, `money_rec` bigint(11) DEFAULT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL, `reference_id` int(11) DEFAULT NULL ) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -- Dumping data for table `sales` -- INSERT INTO `sales` (`id`, `plot_id`, `block_id`, `member_id`, `nominee_id`, `serial_id`, `installment`, `installment_amount`, `due_amount`, `paid`, `discount`, `date`, `remark`, `sale_no`, `money_rec`, `created_at`, `updated_at`, `reference_id`) VALUES (85, 11, 6, 35, 6, 2, 5, 70000, 350000, 1000000, 0, '2021-05-06', 'Due', 1, 4545, '2021-05-06 21:17:23', '2021-05-06 21:19:20', 26), (86, 12, 7, 35, NULL, 2, NULL, 0, 0, 1500000, 0, '2021-05-14', 'paid', 2, 33434, '2021-05-06 21:25:15', '2021-05-06 21:25:15', 26), (87, 13, 7, 35, NULL, 2, 2, 2499500000, 4999000000, 1000000, 0, '2021-05-14', 'Due', 3, 121212, '2021-05-07 00:01:10', '2021-05-07 00:01:10', 26), (88, 11, 6, 34, NULL, 1, 10, 125000, 1250000, 100000, 0, '2021-05-19', 'installment no 3', 4, 2, '2021-05-08 04:58:46', '2021-05-08 04:58:46', 25); -- -------------------------------------------------------- -- -- Table structure for table `sale_details` -- CREATE TABLE `sale_details` ( `id` bigint(20) UNSIGNED NOT NULL, `sales_id` int(10) UNSIGNED NOT NULL, `refference_id` int(11) NOT NULL, `refference_name` text NOT NULL, `plot_id` int(10) UNSIGNED NOT NULL, `member_id` int(10) UNSIGNED NOT NULL, `installment` int(11) DEFAULT NULL, `installment_amount` double DEFAULT NULL, `due_amount` double DEFAULT NULL, `paid` double DEFAULT NULL, `discount` int(11) DEFAULT NULL, `date` date NOT NULL, `company_log` double UNSIGNED DEFAULT NULL, `refference_log` double UNSIGNED DEFAULT NULL, `booking_amount` double DEFAULT NULL, `install_amount` double DEFAULT NULL, `ekkalin_amount` double DEFAULT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; -- -- Dumping data for table `sale_details` -- INSERT INTO `sale_details` (`id`, `sales_id`, `refference_id`, `refference_name`, `plot_id`, `member_id`, `installment`, `installment_amount`, `due_amount`, `paid`, `discount`, `date`, `company_log`, `refference_log`, `booking_amount`, `install_amount`, `ekkalin_amount`, `created_at`, `updated_at`) VALUES (89, 85, 26, 'tuki', 11, 35, 0, 70000, 100000, 1250000, 0, '2021-05-06', 1245800, 4200, 20000, 6, 10, '2021-05-06 21:17:23', '2021-05-06 22:24:10'), (90, 86, 26, 'tuki', 12, 35, NULL, 0, 0, 1500000, 0, '2021-05-14', 1500000, NULL, 20000, 6, 10, '2021-05-06 21:25:15', '2021-05-06 21:25:15'), (91, 87, 26, 'tuki', 13, 35, 1, 2499500000, 2499500000, 2500500000, 0, '2021-05-14', 2500500000, NULL, 20000, 6, 10, '2021-05-07 00:01:10', '2021-05-06 15:05:09'), (92, 88, 25, 'Hermione Granger', 11, 34, 10, 125000, 1250000, 100000, 0, '2021-05-19', 100000, NULL, 20000, 6, 10, '2021-05-08 04:58:47', '2021-05-08 04:58:47'); -- -------------------------------------------------------- -- -- Table structure for table `sub_memebers` -- CREATE TABLE `sub_memebers` ( `id` bigint(20) UNSIGNED NOT NULL, `member_id` int(10) UNSIGNED NOT NULL, `name` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL, `hus_father` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL, `nationality` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `birthday` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `mother` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `profession` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `religion` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `present_address` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `permanent_address` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `mobile` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `nid` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `email` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `picture` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `serial_id` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL ) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -------------------------------------------------------- -- -- Table structure for table `users` -- CREATE TABLE `users` ( `id` int(10) UNSIGNED NOT NULL, `name` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL, `email` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL, `password` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL, `remember_token` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL, `role` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'user' ) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -- Dumping data for table `users` -- INSERT INTO `users` (`id`, `name`, `email`, `password`, `remember_token`, `created_at`, `updated_at`, `role`) VALUES (2, 'Ahmed Ali', 'ahmed@gmail.com', '$2y$10$fRsqK12OuxD4d6sSeGo4tOK72PnfDoA6UqNKSs0TfvdzreqPr2r8y', NULL, '2020-12-07 06:57:11', '2020-12-07 06:57:11', 'user'), (3, 'Mohammed Ali', 'dreamgreencity@gmail.com', '$2y$10$amB6wUk2iBRu2o.NsY59PuyfDtcisjy0WqYzp3N8iv7bZ6cx0UtHe', NULL, '2020-12-12 13:36:08', '2020-12-12 13:36:08', 'user'), (4, 'Nizam', 'nizamlata1982@gmail.com', '$2y$10$Pb5LkqBMKfr/5nWkxwlgruJGsQUMUs1ve/lo./A4ThCG0zSoUxKla', NULL, '2021-01-14 13:27:06', '2021-01-14 13:27:06', 'user'); -- -- Indexes for dumped tables -- -- -- Indexes for table `accounts` -- ALTER TABLE `accounts` ADD PRIMARY KEY (`id`); -- -- Indexes for table `banks` -- ALTER TABLE `banks` ADD PRIMARY KEY (`id`); -- -- Indexes for table `bank_withdraws` -- ALTER TABLE `bank_withdraws` ADD PRIMARY KEY (`id`); -- -- Indexes for table `baynas` -- ALTER TABLE `baynas` ADD PRIMARY KEY (`id`); -- -- Indexes for table `blocks` -- ALTER TABLE `blocks` ADD PRIMARY KEY (`id`); -- -- Indexes for table `commision_plans` -- ALTER TABLE `commision_plans` ADD PRIMARY KEY (`id`); -- -- Indexes for table `companies` -- ALTER TABLE `companies` ADD PRIMARY KEY (`id`); -- -- Indexes for table `custom_installments` -- ALTER TABLE `custom_installments` ADD PRIMARY KEY (`id`); -- -- Indexes for table `demo_installments` -- ALTER TABLE `demo_installments` ADD PRIMARY KEY (`id`); -- -- Indexes for table `deposits` -- ALTER TABLE `deposits` ADD PRIMARY KEY (`id`); -- -- Indexes for table `expences` -- ALTER TABLE `expences` ADD PRIMARY KEY (`id`); -- -- Indexes for table `expence_heads` -- ALTER TABLE `expence_heads` ADD PRIMARY KEY (`id`); -- -- Indexes for table `installments` -- ALTER TABLE `installments` ADD PRIMARY KEY (`id`); -- -- Indexes for table `land_purchases` -- ALTER TABLE `land_purchases` ADD PRIMARY KEY (`id`); -- -- Indexes for table `members` -- ALTER TABLE `members` ADD PRIMARY KEY (`id`); -- -- Indexes for table `migrations` -- ALTER TABLE `migrations` ADD PRIMARY KEY (`id`); -- -- Indexes for table `nominees` -- ALTER TABLE `nominees` ADD PRIMARY KEY (`id`); -- -- Indexes for table `password_resets` -- ALTER TABLE `password_resets` ADD KEY `password_resets_email_index` (`email`); -- -- Indexes for table `plots` -- ALTER TABLE `plots` ADD PRIMARY KEY (`id`); -- -- Indexes for table `purchase_installments` -- ALTER TABLE `purchase_installments` ADD PRIMARY KEY (`id`); -- -- Indexes for table `references` -- ALTER TABLE `references` ADD PRIMARY KEY (`id`); -- -- Indexes for table `reference_incomes` -- ALTER TABLE `reference_incomes` ADD PRIMARY KEY (`id`); -- -- Indexes for table `reference_withdraws` -- ALTER TABLE `reference_withdraws` ADD PRIMARY KEY (`id`); -- -- Indexes for table `sales` -- ALTER TABLE `sales` ADD PRIMARY KEY (`id`); -- -- Indexes for table `sale_details` -- ALTER TABLE `sale_details` ADD PRIMARY KEY (`id`); -- -- Indexes for table `sub_memebers` -- ALTER TABLE `sub_memebers` ADD PRIMARY KEY (`id`); -- -- Indexes for table `users` -- ALTER TABLE `users` ADD PRIMARY KEY (`id`); -- -- AUTO_INCREMENT for dumped tables -- -- -- AUTO_INCREMENT for table `accounts` -- ALTER TABLE `accounts` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=89; -- -- AUTO_INCREMENT for table `banks` -- ALTER TABLE `banks` MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=7; -- -- AUTO_INCREMENT for table `bank_withdraws` -- ALTER TABLE `bank_withdraws` MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5; -- -- AUTO_INCREMENT for table `baynas` -- ALTER TABLE `baynas` MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2; -- -- AUTO_INCREMENT for table `blocks` -- ALTER TABLE `blocks` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=9; -- -- AUTO_INCREMENT for table `commision_plans` -- ALTER TABLE `commision_plans` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=41; -- -- AUTO_INCREMENT for table `companies` -- ALTER TABLE `companies` MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2; -- -- AUTO_INCREMENT for table `custom_installments` -- ALTER TABLE `custom_installments` MODIFY `id` bigint(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=9; -- -- AUTO_INCREMENT for table `demo_installments` -- ALTER TABLE `demo_installments` MODIFY `id` bigint(20) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=20; -- -- AUTO_INCREMENT for table `deposits` -- ALTER TABLE `deposits` MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=9; -- -- AUTO_INCREMENT for table `expences` -- ALTER TABLE `expences` MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=12; -- -- AUTO_INCREMENT for table `expence_heads` -- ALTER TABLE `expence_heads` MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=9; -- -- AUTO_INCREMENT for table `installments` -- ALTER TABLE `installments` MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=141; -- -- AUTO_INCREMENT for table `land_purchases` -- ALTER TABLE `land_purchases` MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=6; -- -- AUTO_INCREMENT for table `members` -- ALTER TABLE `members` MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=36; -- -- AUTO_INCREMENT for table `migrations` -- ALTER TABLE `migrations` MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=26; -- -- AUTO_INCREMENT for table `nominees` -- ALTER TABLE `nominees` MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=9; -- -- AUTO_INCREMENT for table `plots` -- ALTER TABLE `plots` MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=14; -- -- AUTO_INCREMENT for table `purchase_installments` -- ALTER TABLE `purchase_installments` MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5; -- -- AUTO_INCREMENT for table `references` -- ALTER TABLE `references` MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=27; -- -- AUTO_INCREMENT for table `reference_incomes` -- ALTER TABLE `reference_incomes` MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=228; -- -- AUTO_INCREMENT for table `reference_withdraws` -- ALTER TABLE `reference_withdraws` MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=78; -- -- AUTO_INCREMENT for table `sales` -- ALTER TABLE `sales` MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=89; -- -- AUTO_INCREMENT for table `sale_details` -- ALTER TABLE `sale_details` MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=93; -- -- AUTO_INCREMENT for table `sub_memebers` -- ALTER TABLE `sub_memebers` MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2; -- -- AUTO_INCREMENT for table `users` -- ALTER TABLE `users` MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5; COMMIT; /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;