0byt3m1n1
Path:
C:
/
wamp64
/
www
/
cpms_new
/
[
Home
]
File: cpms_db.sql
-- phpMyAdmin SQL Dump -- version 3.1.1 -- http://www.phpmyadmin.net -- -- Host: localhost -- Generation Time: Apr 20, 2017 at 11:17 AM -- Server version: 5.1.30 -- PHP Version: 5.2.8 SET SQL_MODE="NO_AUTO_VALUE_ON_ZERO"; /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; /*!40101 SET NAMES utf8 */; -- -- Database: `cpms` -- -- -------------------------------------------------------- -- -- Table structure for table `accgroup` -- CREATE TABLE IF NOT EXISTS `accgroup` ( `group_id` bigint(20) NOT NULL AUTO_INCREMENT, `user_id` int(20) NOT NULL, `project_id` int(20) NOT NULL, `groupname` varchar(75) NOT NULL, `debit` double NOT NULL DEFAULT '0', `credit` double NOT NULL DEFAULT '0', PRIMARY KEY (`group_id`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ; -- -- Dumping data for table `accgroup` -- -- -------------------------------------------------------- -- -- Table structure for table `account` -- CREATE TABLE IF NOT EXISTS `account` ( `account_id` bigint(20) NOT NULL, `user_id` int(20) NOT NULL, `project_id` int(20) NOT NULL, `group_name` varchar(75) NOT NULL, `account_name` varchar(75) NOT NULL, `debit` double NOT NULL, `credit` double NOT NULL, PRIMARY KEY (`account_id`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1; -- -- Dumping data for table `account` -- -- -------------------------------------------------------- -- -- Table structure for table `addproject` -- CREATE TABLE IF NOT EXISTS `addproject` ( `project_id` bigint(100) NOT NULL AUTO_INCREMENT, `project_code` varchar(50) NOT NULL, `user_id` int(20) NOT NULL, `project_title` varchar(250) NOT NULL, `principle_investigator` int(11) NOT NULL, `investigators` varchar(250) NOT NULL, `fundagency` varchar(100) NOT NULL, `duration` varchar(50) NOT NULL, `project_outlay` varchar(50) NOT NULL, `startdate` date NOT NULL, `end_date` date NOT NULL, `abstract` varchar(2500) NOT NULL, `objective` varchar(2500) NOT NULL, `projectproposel` varchar(50) NOT NULL, `fundtype` int(11) NOT NULL DEFAULT '0', `verify_date` date DEFAULT NULL, `created_on` datetime NOT NULL, `created_by` int(11) NOT NULL, `modified_on` int(11) NOT NULL, `modified_by` datetime NOT NULL, `co_pi` text, PRIMARY KEY (`project_id`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC AUTO_INCREMENT=11 ; -- -- Dumping data for table `addproject` -- INSERT INTO `addproject` (`project_id`, `project_code`, `user_id`, `project_title`, `principle_investigator`, `investigators`, `fundagency`, `duration`, `project_outlay`, `startdate`, `end_date`, `abstract`, `objective`, `projectproposel`, `fundtype`, `verify_date`, `created_on`, `created_by`, `modified_on`, `modified_by`, `co_pi`) VALUES (1, '302', 41, 'Development of a Space enabled Drought Management Support system for the five drought prone Districts in Kerala State, in the Wake of the Global Climate Change and the projected impacts', 0, '', 'MoWR', '7years 2months 7days ', '2949581', '2010-10-24', '2017-12-31', 'null', 'null', 'null', 2, '0000-00-00', '2017-04-03 12:20:05', 41, 0, '0000-00-00 00:00:00', NULL), (2, '412', 46, 'Feasibility study on Water Withdrawal from Muvattupuzha River', 0, '', 'BPCL, Kochi Refinery', '2years 0month 0day ', '903724', '2016-03-10', '2018-03-10', 'null', 'null', 'null', 3, '0000-00-00', '2017-04-03 15:24:00', 46, 0, '0000-00-00 00:00:00', NULL), (3, '250', 46, 'Water quality Testing', 0, '', 'Hydrology Division, Thrissur, Kozhikode', '10years 0month 0day ', '0', '2010-04-01', '2017-04-03', 'null', 'null', 'null', 3, '0000-00-00', '2017-04-03 15:30:43', 46, 2017, '0000-00-00 00:00:00', NULL), (4, '395', 46, 'Preparation of Detailed Project Reports (DPR) of Selected Wetlands of Kerala', 0, '', 'DoECC', '2years 11months 27days ', '5032104', '2015-03-21', '2018-03-20', 'null', 'null', 'null', 2, '0000-00-00', '2017-04-03 15:47:09', 46, 0, '0000-00-00 00:00:00', NULL), (5, '384', 52, 'Delineation of Paleo-Channels of Periyar River basin using hyderogeological and geo-electrical methods', 0, '', 'Science & Engineering Research Board', '3years 0month 0day ', '1429000', '2014-09-09', '2017-09-09', 'null', 'null', 'null', 2, '0000-00-00', '2017-04-03 16:40:09', 52, 0, '0000-00-00 00:00:00', NULL), (6, '415', 46, 'Rapid Assessment of the WASH facilities in the Attappady region of Palakkad district', 0, '', 'UNICEF', '0year 4months 0day ', '431200', '2016-06-01', '2016-10-01', 'null', 'null', 'null', 2, '0000-00-00', '2017-04-03 17:24:30', 46, 0, '0000-00-00 00:00:00', NULL), (7, '407', 46, 'Evaluation of the impact of Community based Drinking Water Supply Schemes in Kerala', 0, '', 'Planning Board', '1year 0month 0day ', '506400', '2015-12-01', '2016-12-01', 'null', 'null', 'null', 2, '0000-00-00', '2017-04-03 17:28:28', 46, 0, '0000-00-00 00:00:00', NULL), (9, '501', 41, 'CV Raman Fellowship', 0, '', 'DST', '0year 2months 30days ', '0', '2017-01-01', '2017-03-31', 'null', 'null', 'null', 2, '0000-00-00', '2017-04-04 12:48:12', 41, 0, '0000-00-00 00:00:00', NULL), (10, '420', 43, 'ATMA-PMKSY. District Level Training for Farmers - Kozhikode', 0, '', 'ATMA Kozhikode', '0year 5months 24days ', '181600', '2016-10-07', '2017-03-31', 'null', 'null', 'null', 2, '0000-00-00', '2017-04-04 14:25:49', 43, 0, '0000-00-00 00:00:00', NULL); -- -------------------------------------------------------- -- -- Table structure for table `advance_settelment` -- CREATE TABLE IF NOT EXISTS `advance_settelment` ( `settelment_id` bigint(20) NOT NULL, `voucher_no` bigint(20) NOT NULL, `advance_taken_entry_no` bigint(20) NOT NULL, `type_of_item` varchar(150) NOT NULL, `vender_name` varchar(150) NOT NULL, `invoice_no` varchar(50) NOT NULL, `invoice_date` date NOT NULL, `bill_amount` double NOT NULL, `description` varchar(275) NOT NULL, PRIMARY KEY (`settelment_id`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1; -- -- Dumping data for table `advance_settelment` -- -- -------------------------------------------------------- -- -- Table structure for table `advance_taken_entry` -- CREATE TABLE IF NOT EXISTS `advance_taken_entry` ( `advance_id` bigint(20) NOT NULL, `user_id` int(20) NOT NULL, `project_id` int(20) NOT NULL, `advance_impresed` varchar(20) NOT NULL, `date` date NOT NULL, `name` varchar(75) NOT NULL, `account_name` varchar(75) NOT NULL, `amount` double NOT NULL, `description` varchar(275) NOT NULL, `closed` int(2) NOT NULL DEFAULT '0', `balance` double NOT NULL DEFAULT '0', PRIMARY KEY (`advance_id`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1; -- -- Dumping data for table `advance_taken_entry` -- -- -------------------------------------------------------- -- -- Table structure for table `custemaccount_cashentry` -- CREATE TABLE IF NOT EXISTS `custemaccount_cashentry` ( `custem_id` bigint(20) NOT NULL, `user_id` int(20) NOT NULL, `project_id` int(20) NOT NULL, `voucher` varchar(50) NOT NULL, `date` date NOT NULL, `groupname` varchar(75) NOT NULL, `accountname` varchar(75) NOT NULL, `custemaccount_type` smallint(20) NOT NULL, `debit` double NOT NULL DEFAULT '0', `credit` double NOT NULL DEFAULT '0', `description` varchar(275) NOT NULL, PRIMARY KEY (`custem_id`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1; -- -- Dumping data for table `custemaccount_cashentry` -- -- -------------------------------------------------------- -- -- Table structure for table `employe` -- CREATE TABLE IF NOT EXISTS `employe` ( `emp_id` bigint(20) NOT NULL, `user_id` int(20) NOT NULL, `project_id` int(20) NOT NULL, `emp_name` varchar(75) NOT NULL, `address` varchar(150) NOT NULL, `phone` varchar(20) NOT NULL, `mobile` varchar(20) NOT NULL, `designation` varchar(30) NOT NULL, `join_date` date NOT NULL, `validupto_date` date NOT NULL, `mail_id` varchar(50) NOT NULL, `salary` double NOT NULL, `photo` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL, `status` int(11) NOT NULL DEFAULT '1', PRIMARY KEY (`emp_id`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1; -- -- Dumping data for table `employe` -- -- -------------------------------------------------------- -- -- Table structure for table `fileshelf` -- CREATE TABLE IF NOT EXISTS `fileshelf` ( `file_shelf_id` bigint(50) NOT NULL, `user_id` int(20) NOT NULL, `project_id` int(20) NOT NULL, `filename` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL, `fileupload` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL, `date` date NOT NULL, `description` varchar(275) NOT NULL, PRIMARY KEY (`file_shelf_id`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1; -- -- Dumping data for table `fileshelf` -- -- -------------------------------------------------------- -- -- Table structure for table `leave_credit` -- CREATE TABLE IF NOT EXISTS `leave_credit` ( `credit_id` bigint(20) NOT NULL, `user_id` int(20) NOT NULL, `emp_id` int(20) NOT NULL, `credit_count` double NOT NULL, `year` year(4) NOT NULL, `today_date` date NOT NULL ) ENGINE=MyISAM DEFAULT CHARSET=latin1; -- -- Dumping data for table `leave_credit` -- -- -------------------------------------------------------- -- -- Table structure for table `leave_entry` -- CREATE TABLE IF NOT EXISTS `leave_entry` ( `leave_id` bigint(20) NOT NULL, `user_id` int(20) NOT NULL, `emp_id` int(20) NOT NULL, `start_date` date NOT NULL, `end_date` date NOT NULL, `leave_count` float NOT NULL, `leave_type` varchar(50) NOT NULL, `description` varchar(275) NOT NULL ) ENGINE=MyISAM DEFAULT CHARSET=latin1; -- -- Dumping data for table `leave_entry` -- -- -------------------------------------------------------- -- -- Table structure for table `ledger` -- CREATE TABLE IF NOT EXISTS `ledger` ( `ledg_id` bigint(100) NOT NULL AUTO_INCREMENT, `user_id` int(20) NOT NULL, `project_id` int(20) NOT NULL, `group_name` varchar(75) NOT NULL, `account_name` varchar(75) NOT NULL, `date` date NOT NULL, `ledger_type` varchar(20) NOT NULL, `type_id` bigint(20) NOT NULL, `debit` double NOT NULL DEFAULT '0', `credit` double NOT NULL DEFAULT '0', `description` varchar(275) NOT NULL, PRIMARY KEY (`ledg_id`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ; -- -- Dumping data for table `ledger` -- -- -------------------------------------------------------- -- -- Table structure for table `payment` -- CREATE TABLE IF NOT EXISTS `payment` ( `payment_id` bigint(20) NOT NULL AUTO_INCREMENT, `user_id` int(20) NOT NULL, `project_id` int(20) NOT NULL, `voucher` varchar(20) NOT NULL, `account_Name` varchar(75) NOT NULL, `p_date` date NOT NULL, `amount` double NOT NULL, `discount` double NOT NULL, `description` varchar(275) NOT NULL, PRIMARY KEY (`payment_id`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ; -- -- Dumping data for table `payment` -- -- -------------------------------------------------------- -- -- Table structure for table `pi` -- CREATE TABLE IF NOT EXISTS `pi` ( `pi_id` int(11) NOT NULL AUTO_INCREMENT, `name` varchar(75) NOT NULL, PRIMARY KEY (`pi_id`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ; -- -- Dumping data for table `pi` -- -- -------------------------------------------------------- -- -- Table structure for table `project_outlay_history` -- CREATE TABLE IF NOT EXISTS `project_outlay_history` ( `id` int(11) NOT NULL AUTO_INCREMENT, `project_id` int(11) DEFAULT NULL, `total_outlay` int(11) DEFAULT NULL, `created_on` datetime DEFAULT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=37 ; -- -- Dumping data for table `project_outlay_history` -- INSERT INTO `project_outlay_history` (`id`, `project_id`, `total_outlay`, `created_on`) VALUES (27, 1, 2949581, '2017-04-03 00:00:00'), (28, 2, 903724, '2017-04-03 00:00:00'), (29, 3, 0, '2017-04-03 00:00:00'), (30, 4, 5032104, '2017-04-03 00:00:00'), (31, 5, 1429000, '2017-04-03 00:00:00'), (32, 6, 431200, '2017-04-03 00:00:00'), (33, 7, 506400, '2017-04-03 00:00:00'), (34, 8, 0, '2017-04-04 00:00:00'), (35, 9, 0, '2017-04-04 00:00:00'), (36, 10, 181600, '2017-04-04 00:00:00'); -- -------------------------------------------------------- -- -- Table structure for table `project_total_outlay` -- CREATE TABLE IF NOT EXISTS `project_total_outlay` ( `id` int(11) NOT NULL AUTO_INCREMENT, `project_id` int(11) NOT NULL, `amount` varchar(250) NOT NULL, `created_on` datetime NOT NULL, `created_by` int(11) NOT NULL, `modified_on` datetime NOT NULL, `modified_by` int(11) NOT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=66 ; -- -- Dumping data for table `project_total_outlay` -- INSERT INTO `project_total_outlay` (`id`, `project_id`, `amount`, `created_on`, `created_by`, `modified_on`, `modified_by`) VALUES (33, 15, '50000', '2017-03-28 00:00:00', 41, '2017-03-28 00:00:00', 41), (34, 15, '50000', '2017-03-28 00:00:00', 41, '2017-03-28 00:00:00', 41), (35, 1, '1536000', '2017-04-03 00:00:00', 41, '2017-04-03 00:00:00', 41), (36, 1, '1413581', '2017-04-03 00:00:00', 41, '2017-04-03 00:00:00', 41), (37, 1, '0', '2017-04-03 00:00:00', 41, '2017-04-03 00:00:00', 41), (38, 1, '0', '2017-04-03 00:00:00', 41, '2017-04-03 00:00:00', 41), (39, 1, '0', '2017-04-03 00:00:00', 41, '2017-04-03 00:00:00', 41), (40, 1, '0', '2017-04-03 00:00:00', 41, '2017-04-03 00:00:00', 41), (41, 1, '0', '2017-04-03 00:00:00', 41, '2017-04-03 00:00:00', 41), (42, 1, '0', '2017-04-03 00:00:00', 41, '2017-04-03 00:00:00', 41), (43, 2, '451768', '2017-04-03 00:00:00', 46, '2017-04-03 00:00:00', 46), (44, 2, '451956', '2017-04-03 00:00:00', 46, '2017-04-03 00:00:00', 46), (45, 3, '0', '2017-04-03 00:00:00', 46, '2017-04-03 00:00:00', 46), (46, 3, '0', '2017-04-03 00:00:00', 46, '2017-04-03 00:00:00', 46), (47, 3, '0', '2017-04-03 00:00:00', 46, '2017-04-03 00:00:00', 46), (48, 3, '0', '2017-04-03 00:00:00', 46, '2017-04-03 00:00:00', 46), (49, 3, '0', '2017-04-03 00:00:00', 46, '2017-04-03 00:00:00', 46), (50, 3, '0', '2017-04-03 00:00:00', 46, '2017-04-03 00:00:00', 46), (51, 3, '0', '2017-04-03 00:00:00', 46, '2017-04-03 00:00:00', 46), (52, 3, '0', '2017-04-03 00:00:00', 46, '2017-04-03 00:00:00', 46), (53, 3, '0', '2017-04-03 00:00:00', 46, '2017-04-03 00:00:00', 46), (54, 3, '0', '2017-04-03 00:00:00', 46, '2017-04-03 00:00:00', 46), (55, 4, '2004618', '2017-04-03 00:00:00', 46, '2017-04-03 00:00:00', 46), (56, 4, '1658118', '2017-04-03 00:00:00', 46, '2017-04-03 00:00:00', 46), (57, 4, '1369368', '2017-04-03 00:00:00', 46, '2017-04-03 00:00:00', 46), (58, 5, '470000', '2017-04-03 00:00:00', 52, '2017-04-03 00:00:00', 52), (59, 5, '400000', '2017-04-03 00:00:00', 52, '2017-04-03 00:00:00', 52), (60, 5, '559000', '2017-04-03 00:00:00', 52, '2017-04-03 00:00:00', 52), (61, 6, '431200', '2017-04-03 00:00:00', 46, '2017-04-03 00:00:00', 46), (62, 7, '506400', '2017-04-03 00:00:00', 46, '2017-04-03 00:00:00', 46), (63, 8, '0', '2017-04-04 00:00:00', 41, '2017-04-04 00:00:00', 41), (64, 9, '0', '2017-04-04 00:00:00', 41, '2017-04-04 00:00:00', 41), (65, 10, '181600', '2017-04-04 00:00:00', 43, '2017-04-04 00:00:00', 43); -- -------------------------------------------------------- -- -- Table structure for table `reciept` -- CREATE TABLE IF NOT EXISTS `reciept` ( `receipt_id` bigint(20) NOT NULL AUTO_INCREMENT, `user_id` int(20) NOT NULL, `project_id` int(20) NOT NULL, `voucher` varchar(50) NOT NULL, `account_Name` varchar(75) NOT NULL, `r_date` date NOT NULL, `amount` double NOT NULL, `discount` float NOT NULL, `description` varchar(275) NOT NULL, PRIMARY KEY (`receipt_id`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ; -- -- Dumping data for table `reciept` -- -- -------------------------------------------------------- -- -- Table structure for table `salaryvoucher` -- CREATE TABLE IF NOT EXISTS `salaryvoucher` ( `salary_id` bigint(20) NOT NULL, `user_id` int(20) NOT NULL, `project_id` int(20) NOT NULL, `svoucherno` varchar(100) NOT NULL, `emp_id` bigint(20) NOT NULL, `date` date NOT NULL, `salary_paid` double NOT NULL, `description` varchar(275) NOT NULL, PRIMARY KEY (`salary_id`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1; -- -- Dumping data for table `salaryvoucher` -- -- -------------------------------------------------------- -- -- Table structure for table `stockcategory` -- CREATE TABLE IF NOT EXISTS `stockcategory` ( `category_id` bigint(20) NOT NULL, `user_id` int(20) NOT NULL, `category_name` varchar(100) NOT NULL, PRIMARY KEY (`category_id`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1 ROW_FORMAT=DYNAMIC; -- -- Dumping data for table `stockcategory` -- -- -------------------------------------------------------- -- -- Table structure for table `stockentry` -- CREATE TABLE IF NOT EXISTS `stockentry` ( `stockentry_id` bigint(50) NOT NULL, `user_id` int(20) NOT NULL, `item_name` varchar(150) NOT NULL, `stockentrydate` date NOT NULL, `itemsinstock` int(100) NOT NULL, `description` varchar(275) NOT NULL, PRIMARY KEY (`stockentry_id`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1; -- -- Dumping data for table `stockentry` -- -- -------------------------------------------------------- -- -- Table structure for table `stockitem` -- CREATE TABLE IF NOT EXISTS `stockitem` ( `item_id` bigint(20) NOT NULL, `user_id` int(20) NOT NULL, `item_name` varchar(150) NOT NULL, `category_name` varchar(100) NOT NULL, `description` varchar(275) NOT NULL, PRIMARY KEY (`item_id`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1; -- -- Dumping data for table `stockitem` -- -- -------------------------------------------------------- -- -- Table structure for table `stockusage_entry` -- CREATE TABLE IF NOT EXISTS `stockusage_entry` ( `stockusage_id` bigint(20) NOT NULL, `user_id` int(20) NOT NULL, `item_name` varchar(150) NOT NULL, `date` date NOT NULL, `itemused` int(50) NOT NULL, `description` varchar(275) NOT NULL, PRIMARY KEY (`stockusage_id`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1; -- -- Dumping data for table `stockusage_entry` -- -- -------------------------------------------------------- -- -- Table structure for table `student` -- CREATE TABLE IF NOT EXISTS `student` ( `s_id` bigint(20) NOT NULL, `user_id` int(11) NOT NULL, `name` varchar(75) NOT NULL, `address` varchar(300) NOT NULL, `phone` int(11) NOT NULL, `email` varchar(50) NOT NULL, `course` varchar(75) NOT NULL, `college` varchar(75) NOT NULL, `category` varchar(15) NOT NULL, `start_date` date NOT NULL, `end_date` date NOT NULL, `title` varchar(200) NOT NULL, `file` varchar(200) NOT NULL, `remarks` varchar(255) NOT NULL, PRIMARY KEY (`s_id`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1; -- -- Dumping data for table `student` -- -- -------------------------------------------------------- -- -- Table structure for table `tab_budget_form` -- CREATE TABLE IF NOT EXISTS `tab_budget_form` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `project_id` int(10) unsigned NOT NULL, `name` varchar(250) NOT NULL, `date_current` date NOT NULL, `debit_head` int(11) NOT NULL, `invoice_date` varchar(200) NOT NULL, `invoice_number` text NOT NULL, `amount` text NOT NULL, `amount_init` text NOT NULL, `status` varchar(100) NOT NULL DEFAULT 'PENDING', `installment_id` int(11) NOT NULL, `remarks` varchar(250) NOT NULL, `created_on` datetime NOT NULL, `modified_on` datetime NOT NULL, `created_by` int(11) NOT NULL, `modified_date_accounts` datetime NOT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=56 ; -- -- Dumping data for table `tab_budget_form` -- INSERT INTO `tab_budget_form` (`id`, `project_id`, `name`, `date_current`, `debit_head`, `invoice_date`, `invoice_number`, `amount`, `amount_init`, `status`, `installment_id`, `remarks`, `created_on`, `modified_on`, `created_by`, `modified_date_accounts`) VALUES (2, 1, 'accounts1', '2017-02-13', 2, '1970-01-01', '', '2000', '2000', 'ACCEPTED', 0, '', '2017-02-13 20:14:09', '2017-02-13 20:15:52', 36, '0000-00-00 00:00:00'), (17, 9, 'Rajith GR', '2017-03-25', 25, '1970-01-01', '', '5000', '5000', 'ACCEPTED', 0, '', '2017-03-25 14:30:31', '0000-00-00 00:00:00', 40, '0000-00-00 00:00:00'), (25, 15, 'SREESARATH', '2017-03-28', 54, '', '', '30000', '30000', 'ACCEPTED', 15, '', '2017-03-28 15:58:42', '2017-03-28 16:03:29', 41, '0000-00-00 00:00:00'), (26, 15, 'ANSAD ', '2017-03-28', 54, '', '', '25000', '25000', 'ACCEPTED', 15, '', '2017-03-28 15:58:51', '2017-03-28 16:03:29', 41, '0000-00-00 00:00:00'), (27, 15, 'RAGITH', '2017-03-28', 54, '', '', '5000', '5000', 'ACCEPTED', 15, '', '2017-03-28 15:59:04', '2017-03-28 16:03:29', 41, '0000-00-00 00:00:00'), (28, 15, 'KIRAN', '2017-03-28', 55, '2017-06-21', 'FDFF', '25000', '25000', 'ACCEPTED', 15, '', '2017-03-28 15:59:25', '2017-03-28 16:03:29', 41, '0000-00-00 00:00:00'), (29, 15, 'PRAMOD', '2017-03-28', 56, '2017-06-27', 'FDSFDF', '35000', '35000', 'ACCEPTED', 15, '', '2017-03-28 15:59:43', '2017-03-28 16:03:29', 41, '0000-00-00 00:00:00'), (30, 15, 'NK TRADERS', '2017-03-28', 55, '2017-07-05', 'SDDD', '25000', '25000', 'ACCEPTED', 15, '', '2017-03-28 16:00:03', '2017-03-28 16:03:29', 41, '0000-00-00 00:00:00'), (31, 15, 'GK TRADER', '2017-03-28', 56, '1970-01-01', '', '35000', '35000', 'ACCEPTED', 15, '', '2017-03-28 16:00:45', '2017-03-28 16:03:29', 41, '0000-00-00 00:00:00'), (32, 15, 'BINEESHA', '2017-03-28', 54, '1970-01-01', '', '10000', '5000', 'ACCEPTED', 15, '', '2017-03-28 16:02:06', '2017-03-28 16:06:14', 41, '0000-00-00 00:00:00'), (33, 15, 'das vechicle', '2017-03-28', 56, '1970-01-01', '', '15000', '15000', 'ACCEPTED', 0, '', '2017-03-28 16:07:54', '2017-03-28 16:08:43', 40, '0000-00-00 00:00:00'), (34, 1, 'Rajith GR', '2017-04-03', 1, '', '', '18400', '18400', 'ACCEPTED', 1, '', '2017-04-03 15:15:56', '2017-04-03 16:43:59', 41, '0000-00-00 00:00:00'), (35, 1, 'Anusha CK', '2017-04-03', 1, '', '', '17213', '17213', 'ACCEPTED', 1, '', '2017-04-03 15:16:17', '2017-04-03 16:43:59', 41, '0000-00-00 00:00:00'), (36, 3, 'Silfi Prakash T', '2017-04-03', 5, '', '', '10500', '10500', 'ACCEPTED', 2, '', '2017-04-03 15:37:58', '2017-04-03 16:43:56', 46, '0000-00-00 00:00:00'), (37, 3, 'Dhanya Das E', '2017-04-03', 5, '', '', '9109', '9109', 'ACCEPTED', 2, '', '2017-04-03 15:38:31', '2017-04-03 16:43:56', 46, '0000-00-00 00:00:00'), (38, 2, 'Anju C Sekhar', '2017-04-03', 67, '', '', '14903', '14903', 'ACCEPTED', 3, '', '2017-04-03 15:40:06', '2017-04-03 16:43:59', 46, '0000-00-00 00:00:00'), (39, 2, 'Shalna T', '2017-04-03', 67, '', '', '15400', '15400', 'DECLINED', 3, 'duplicate', '2017-04-03 15:40:22', '2017-04-03 16:43:21', 46, '0000-00-00 00:00:00'), (40, 4, 'Anand Krishnan P', '2017-04-03', 83, '1970-01-01', '', '12100', '1200', 'ACCEPTED', 5, '', '2017-04-03 16:24:39', '2017-04-03 16:43:56', 46, '0000-00-00 00:00:00'), (41, 4, 'Pranav E P', '2017-04-03', 83, '1970-01-01', '', '12100', '12100', 'ACCEPTED', 5, '', '2017-04-03 16:25:01', '2017-04-03 16:43:56', 46, '0000-00-00 00:00:00'), (42, 2, 'Shalna T', '2017-04-03', 67, '', '', '15400', '15400', 'ACCEPTED', 3, '', '2017-04-03 16:26:49', '2017-04-03 16:43:56', 46, '0000-00-00 00:00:00'), (43, 3, 'Risbana K', '2017-04-03', 93, '1970-01-01', '', '4194', '4194', 'ACCEPTED', 2, '', '2017-04-03 16:35:16', '2017-04-03 16:43:45', 46, '0000-00-00 00:00:00'), (44, 3, 'Athira C P', '2017-04-03', 93, '1970-01-01', '', '5040', '5040', 'ACCEPTED', 2, '', '2017-04-03 16:35:35', '2017-04-03 16:43:45', 46, '0000-00-00 00:00:00'), (45, 5, 'Vipin Balan P', '2017-04-03', 94, '', '', '11923', '11923', 'ACCEPTED', 6, '', '2017-04-03 16:41:19', '2017-04-03 16:43:34', 52, '0000-00-00 00:00:00'), (46, 1, 'None', '2017-04-03', 2, '1970-01-01', '', '-2000', '-2000', 'ACCEPTED', 0, '', '2017-04-03 16:45:20', '2017-04-03 16:45:56', 40, '0000-00-00 00:00:00'), (47, 1, 'None', '2017-04-03', 2, '1970-01-01', '', '-2000', '-2000', 'ACCEPTED', 0, '', '2017-04-03 16:45:34', '2017-04-03 16:45:56', 40, '0000-00-00 00:00:00'), (48, 1, 'Corrction', '2017-04-03', 2, '1970-01-01', '', '2000', '2000', 'ACCEPTED', 0, '', '2017-04-03 16:47:26', '2017-04-03 16:47:30', 40, '0000-00-00 00:00:00'), (49, 1, 'Dr Barseem Motaza', '2017-04-04', 1, '', '', '50000', '50000', 'PENDING', 1, '', '2017-04-04 11:32:14', '0000-00-00 00:00:00', 41, '0000-00-00 00:00:00'), (50, 10, 'ATMA', '2017-04-04', 126, '1970-01-01', '', '29320', '29320', 'ACCEPTED', 8, '', '2017-04-04 14:27:25', '2017-04-04 14:29:27', 43, '0000-00-00 00:00:00'), (51, 10, 'ATMA', '2017-04-04', 127, '1970-01-01', '', '14322', '14322', 'ACCEPTED', 8, '', '2017-04-04 14:27:47', '2017-04-04 14:29:27', 43, '0000-00-00 00:00:00'), (52, 10, 'ATMA', '2017-04-04', 128, '1970-01-01', '', '22800', '22800', 'ACCEPTED', 8, '', '2017-04-04 14:27:58', '2017-04-04 14:29:27', 43, '0000-00-00 00:00:00'), (53, 10, 'ATMA', '2017-04-04', 129, '1970-01-01', '', '54991', '54991', 'ACCEPTED', 8, '', '2017-04-04 14:28:22', '2017-04-04 14:29:27', 43, '0000-00-00 00:00:00'), (54, 10, 'ATMA', '2017-04-04', 130, '1970-01-01', '', '44417', '44417', 'ACCEPTED', 8, '', '2017-04-04 14:28:38', '2017-04-04 14:29:27', 43, '0000-00-00 00:00:00'), (55, 10, 'ATMA', '2017-04-04', 123, '1970-01-01', '', '15750', '15750', 'ACCEPTED', 8, '', '2017-04-04 14:28:53', '2017-04-04 14:29:27', 43, '0000-00-00 00:00:00'); -- -------------------------------------------------------- -- -- Table structure for table `tab_budget_head` -- CREATE TABLE IF NOT EXISTS `tab_budget_head` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `project_id` int(10) unsigned NOT NULL, `budget_head_id` int(11) NOT NULL, `amount` varchar(250) NOT NULL, `created_on` datetime NOT NULL, `created_by` int(11) NOT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=131 ; -- -- Dumping data for table `tab_budget_head` -- INSERT INTO `tab_budget_head` (`id`, `project_id`, `budget_head_id`, `amount`, `created_on`, `created_by`) VALUES (54, 15, 1, '50000', '2017-03-28 00:00:00', 41), (55, 15, 4, '25000', '2017-03-28 00:00:00', 41), (56, 15, 7, '25000', '2017-03-28 00:00:00', 41), (57, 1, 2, '0', '2017-04-03 00:00:00', 41), (58, 1, 3, '375000', '2017-04-03 00:00:00', 41), (59, 1, 8, '1234581', '2017-04-03 00:00:00', 41), (60, 1, 9, '1140000', '2017-04-03 00:00:00', 41), (61, 1, 12, '200000', '2017-04-03 00:00:00', 41), (62, 1, 26, '0', '2017-04-03 00:00:00', 41), (63, 1, 27, '0', '2017-04-03 00:00:00', 41), (64, 1, 28, '0', '2017-04-03 00:00:00', 41), (65, 1, 29, '0', '2017-04-03 00:00:00', 41), (66, 1, 30, '0', '2017-04-03 00:00:00', 41), (67, 2, 1, '600000', '2017-04-03 00:00:00', 46), (68, 2, 2, '300000', '2017-04-03 00:00:00', 46), (69, 2, 3, '300000', '2017-04-03 00:00:00', 46), (70, 2, 4, '200000', '2017-04-03 00:00:00', 46), (71, 2, 24, '250000', '2017-04-03 00:00:00', 46), (72, 2, 26, '0', '2017-04-03 00:00:00', 46), (73, 2, 27, '0', '2017-04-03 00:00:00', 46), (74, 3, 1, '0', '2017-04-03 00:00:00', 46), (75, 3, 2, '0', '2017-04-03 00:00:00', 46), (76, 3, 3, '0', '2017-04-03 00:00:00', 46), (77, 3, 7, '0', '2017-04-03 00:00:00', 46), (78, 3, 9, '0', '2017-04-03 00:00:00', 46), (79, 3, 26, '0', '2017-04-03 00:00:00', 46), (80, 3, 27, '0', '2017-04-03 00:00:00', 46), (81, 4, 2, '457464', '2017-04-03 00:00:00', 46), (82, 4, 3, '450000', '2017-04-03 00:00:00', 46), (83, 4, 8, '1306800', '2017-04-03 00:00:00', 46), (84, 4, 24, '217840', '2017-04-03 00:00:00', 46), (85, 4, 26, '0', '2017-04-03 00:00:00', 46), (86, 4, 27, '0', '2017-04-03 00:00:00', 46), (87, 4, 31, '1200000', '2017-04-03 00:00:00', 46), (88, 4, 32, '200000', '2017-04-03 00:00:00', 46), (89, 4, 33, '400000', '2017-04-03 00:00:00', 46), (90, 4, 34, '300000', '2017-04-03 00:00:00', 46), (91, 4, 35, '250000', '2017-04-03 00:00:00', 46), (92, 4, 36, '250000', '2017-04-03 00:00:00', 46), (93, 3, 37, '0', '2017-04-03 16:34:43', 46), (94, 5, 1, '719000', '2017-04-03 00:00:00', 52), (95, 5, 2, '250000', '2017-04-03 00:00:00', 52), (96, 5, 7, '60000', '2017-04-03 00:00:00', 52), (97, 5, 26, '0', '2017-04-03 00:00:00', 52), (98, 5, 27, '0', '2017-04-03 00:00:00', 52), (99, 5, 30, '0', '2017-04-03 00:00:00', 52), (100, 5, 38, '200000', '2017-04-03 00:00:00', 52), (101, 5, 39, '200000', '2017-04-03 00:00:00', 52), (102, 6, 2, '39200', '2017-04-03 00:00:00', 46), (103, 6, 3, '127500', '2017-04-03 00:00:00', 46), (104, 6, 8, '39000', '2017-04-03 00:00:00', 46), (105, 6, 24, '20000', '2017-04-03 00:00:00', 46), (106, 6, 26, '0', '2017-04-03 00:00:00', 46), (107, 6, 27, '0', '2017-04-03 00:00:00', 46), (108, 6, 31, '75000', '2017-04-03 00:00:00', 46), (109, 6, 40, '80500', '2017-04-03 00:00:00', 46), (110, 6, 41, '50000', '2017-04-03 00:00:00', 46), (111, 7, 2, '44000', '2017-04-03 00:00:00', 46), (112, 7, 3, '40000', '2017-04-03 00:00:00', 46), (113, 7, 8, '290400', '2017-04-03 00:00:00', 46), (114, 7, 24, '22000', '2017-04-03 00:00:00', 46), (115, 7, 26, '0', '2017-04-03 00:00:00', 46), (116, 7, 27, '0', '2017-04-03 00:00:00', 46), (117, 7, 31, '80000', '2017-04-03 00:00:00', 46), (118, 7, 42, '30000', '2017-04-03 00:00:00', 46), (119, 8, 1, '150000', '2017-04-04 00:00:00', 41), (120, 8, 7, '10000', '2017-04-04 00:00:00', 41), (121, 9, 1, '150000', '2017-04-04 00:00:00', 41), (122, 9, 7, '10000', '2017-04-04 00:00:00', 41), (123, 10, 2, '15750', '2017-04-04 00:00:00', 43), (124, 10, 26, '0', '2017-04-04 00:00:00', 43), (125, 10, 27, '0', '2017-04-04 00:00:00', 43), (126, 10, 43, '29320', '2017-04-04 00:00:00', 43), (127, 10, 44, '14322', '2017-04-04 00:00:00', 43), (128, 10, 45, '22800', '2017-04-04 00:00:00', 43), (129, 10, 46, '54991', '2017-04-04 00:00:00', 43), (130, 10, 47, '44417', '2017-04-04 00:00:00', 43); -- -------------------------------------------------------- -- -- Table structure for table `tab_budget_head_master` -- CREATE TABLE IF NOT EXISTS `tab_budget_head_master` ( `id` int(11) NOT NULL AUTO_INCREMENT, `name` varchar(250) NOT NULL, `type` int(11) NOT NULL DEFAULT '0' COMMENT '0 -basic ,1 - no invoice,no invoice date', `created_on` datetime NOT NULL DEFAULT '0000-00-00 00:00:00', `created_by` int(11) NOT NULL DEFAULT '1', PRIMARY KEY (`id`), UNIQUE KEY `name` (`name`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=48 ; -- -- Dumping data for table `tab_budget_head_master` -- INSERT INTO `tab_budget_head_master` (`id`, `name`, `type`, `created_on`, `created_by`) VALUES (1, 'Salary', 1, '2016-11-07 22:54:53', 1), (2, 'Overhead', 0, '2016-11-07 22:54:53', 1), (3, 'Travel', 0, '2016-11-07 22:54:53', 1), (4, 'Consumables', 0, '2016-11-07 22:54:53', 1), (7, 'Contingencies', 0, '2017-03-25 14:01:58', 3), (8, 'Manpower', 0, '2017-03-25 14:02:10', 3), (9, 'Equipment', 0, '2017-03-25 14:15:29', 3), (10, 'TA/DA', 0, '2017-03-25 14:15:53', 3), (11, 'Consumable', 0, '2017-03-25 14:16:12', 3), (12, 'Experimental', 0, '2017-03-25 14:16:31', 3), (13, 'experimental/consumable/contingencies', 0, '2017-03-25 14:17:13', 3), (14, 'Field Expenditure', 0, '2017-03-25 14:17:40', 3), (15, 'Printing & Stationery', 0, '2017-03-25 14:18:02', 3), (16, 'Seminar/Workshop', 0, '2017-03-25 14:18:19', 3), (17, 'Institutional Charges', 0, '2017-03-25 14:18:39', 3), (18, 'Miscellaneous Expenses', 0, '2017-03-25 14:19:30', 3), (19, 'Office Stationery', 0, '2017-03-25 14:19:44', 3), (20, 'Equipment/Software', 0, '2017-03-25 14:20:08', 3), (21, 'Human Resources Charges', 0, '2017-03-27 17:00:13', 3), (22, 'Consumables/Stationery', 0, '2017-03-27 17:00:49', 3), (23, 'Accommodation, Food & Refreshment', 0, '2017-03-27 17:01:17', 3), (24, 'Contingency', 0, '2017-03-27 17:07:08', 3), (25, 'Demonstration & Awareness Programme', 0, '2017-03-27 17:19:36', 3), (26, 'Tour Advance', 0, '2017-03-27 17:49:03', 3), (27, 'Other Advane', 0, '2017-03-27 17:49:20', 3), (28, 'Fund Received', 0, '2017-04-03 12:17:45', 41), (29, 'Interest Accrued', 0, '2017-04-03 12:18:49', 41), (30, 'Refund of Unspent', 0, '2017-04-03 12:19:30', 41), (31, 'Experimental Charges', 0, '2017-04-03 15:43:54', 46), (32, 'Preparation of Digital Maps', 0, '2017-04-03 15:44:23', 46), (33, 'Bathymetric Survey', 0, '2017-04-03 15:44:45', 46), (34, 'Analytical Instruments', 0, '2017-04-03 15:45:07', 46), (35, 'Hardware / Software', 0, '2017-04-03 15:45:32', 46), (36, 'Workshop & Training Programme', 0, '2017-04-03 15:45:57', 46), (37, 'Stipend', 0, '2017-04-03 16:34:20', 46), (38, 'Consumables, Supplies and Materials', 0, '2017-04-03 16:38:40', 52), (39, 'Field Expense including Travel', 0, '2017-04-03 16:39:16', 52), (40, 'Dissemination of Reslts/Workshop', 0, '2017-04-03 17:23:21', 46), (41, 'Expenditure for HH Survey', 0, '2017-04-03 17:23:42', 46), (42, 'IEC Activities', 0, '2017-04-03 17:27:41', 46), (43, 'Farmers Training', 0, '2017-04-04 14:23:26', 43), (44, 'Registration Materials', 0, '2017-04-04 14:24:01', 43), (45, 'Travel Allowance', 0, '2017-04-04 14:24:26', 43), (46, 'Refreshment Charges', 0, '2017-04-04 14:24:50', 43), (47, 'Internal Faculty Charges', 0, '2017-04-04 14:25:13', 43); -- -------------------------------------------------------- -- -- Table structure for table `tab_division_master` -- CREATE TABLE IF NOT EXISTS `tab_division_master` ( `id` int(11) NOT NULL AUTO_INCREMENT, `name` varchar(250) NOT NULL, `status` int(11) NOT NULL DEFAULT '1', `created_on` datetime NOT NULL, `created_by` int(11) NOT NULL, PRIMARY KEY (`id`), UNIQUE KEY `name` (`name`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=13 ; -- -- Dumping data for table `tab_division_master` -- INSERT INTO `tab_division_master` (`id`, `name`, `status`, `created_on`, `created_by`) VALUES (1, 'Geomatics', 1, '0000-00-00 00:00:00', 0), (2, 'Water Quality', 1, '0000-00-00 00:00:00', 0), (3, 'Water Management (Agri)', 1, '2017-03-25 11:39:27', 1), (4, 'Environmental Studies', 1, '2017-03-25 11:39:37', 1), (5, 'Ground Water', 1, '2017-03-25 11:39:44', 1), (6, 'Surface Water', 1, '2017-03-25 11:39:50', 1), (7, 'Isotope Hydrology', 1, '2017-03-25 11:40:09', 1), (8, 'Training Education & Extention', 1, '2017-03-25 11:41:50', 1), (9, ' Kottayam Sub Centre', 1, '2017-03-31 18:20:20', 1), (10, 'Manimalakunnu Sub Centre', 1, '2017-03-31 18:21:09', 1), (11, 'Neyyantinkara Sub Centre', 1, '2017-03-31 18:21:34', 1), (12, 'EDs Secretariat Division', 1, '2017-03-31 18:30:21', 1); -- -------------------------------------------------------- -- -- Table structure for table `tab_master_fund_type` -- CREATE TABLE IF NOT EXISTS `tab_master_fund_type` ( `id` int(11) NOT NULL AUTO_INCREMENT, `name` varchar(250) NOT NULL, `created_by` datetime NOT NULL DEFAULT '0000-00-00 00:00:00', `created_on` int(11) NOT NULL DEFAULT '1', PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=6 ; -- -- Dumping data for table `tab_master_fund_type` -- INSERT INTO `tab_master_fund_type` (`id`, `name`, `created_by`, `created_on`) VALUES (1, 'Plan', '2016-11-07 22:34:58', 1), (2, 'External', '2016-11-07 22:34:58', 1), (3, 'Consultancy', '2016-11-07 22:37:57', 1), (4, 'Others', '2016-11-07 22:37:57', 1), (5, 'Non-Plan', '2016-11-07 22:37:57', 1); -- -------------------------------------------------------- -- -- Table structure for table `tab_project_installment` -- CREATE TABLE IF NOT EXISTS `tab_project_installment` ( `id` int(11) NOT NULL AUTO_INCREMENT, `project_id` int(11) NOT NULL, `name` varchar(250) NOT NULL, `created_on` datetime NOT NULL, `created_by` int(11) NOT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=9 ; -- -- Dumping data for table `tab_project_installment` -- INSERT INTO `tab_project_installment` (`id`, `project_id`, `name`, `created_on`, `created_by`) VALUES (1, 1, '1st Installment split up', '2017-04-03 15:15:21', 41), (2, 3, '1st Installment split up', '2017-04-03 15:37:06', 46), (3, 2, '1st Installment split up', '2017-04-03 15:39:35', 46), (4, 4, '1st Installment split up', '2017-04-03 16:21:29', 46), (5, 4, '2nd Installment split up', '2017-04-03 16:24:00', 46), (6, 5, '1st Installment split up', '2017-04-03 16:41:05', 52), (7, 8, '1st Installment split up', '2017-04-04 12:35:14', 41), (8, 10, '1st Installment split up', '2017-04-04 14:26:46', 43); -- -------------------------------------------------------- -- -- Table structure for table `tab_project_installment_details` -- CREATE TABLE IF NOT EXISTS `tab_project_installment_details` ( `id` int(11) NOT NULL AUTO_INCREMENT, `installment_id` int(11) NOT NULL, `budget_head_id` int(11) NOT NULL, `amount` varchar(100) NOT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=71 ; -- -- Dumping data for table `tab_project_installment_details` -- INSERT INTO `tab_project_installment_details` (`id`, `installment_id`, `budget_head_id`, `amount`) VALUES (1, 1, 1, '150000'), (2, 1, 2, '0'), (3, 1, 3, '150000'), (4, 1, 57, '0'), (5, 1, 58, '0'), (6, 1, 59, '0'), (7, 1, 60, '0'), (8, 1, 61, '24794'), (9, 1, 62, '0'), (10, 1, 63, '0'), (11, 1, 64, '0'), (12, 1, 65, '0'), (13, 1, 66, '0'), (14, 2, 5, '100000'), (15, 2, 74, '100000'), (16, 2, 75, '100000'), (17, 2, 76, '100000'), (18, 2, 77, '100000'), (19, 2, 78, '100000'), (20, 2, 79, '0'), (21, 2, 80, '0'), (22, 3, 67, '1'), (23, 3, 68, '1'), (24, 3, 69, '1'), (25, 3, 70, '1'), (26, 3, 71, '1'), (27, 3, 72, '0'), (28, 3, 73, '0'), (29, 4, 81, '182238'), (30, 4, 82, '180000'), (31, 4, 83, '522380'), (32, 4, 84, '80000'), (33, 4, 85, '0'), (34, 4, 86, '0'), (35, 4, 87, '480000'), (36, 4, 88, '80000'), (37, 4, 89, '160000'), (38, 4, 90, '120000'), (39, 4, 91, '100000'), (40, 4, 92, '100000'), (41, 5, 81, '150738'), (42, 5, 82, '148500'), (43, 5, 83, '430880'), (44, 5, 84, '70000'), (45, 5, 85, '0'), (46, 5, 86, '0'), (47, 5, 87, '396000'), (48, 5, 88, '66000'), (49, 5, 89, '132000'), (50, 5, 90, '99000'), (51, 5, 91, '82500'), (52, 5, 92, '82500'), (53, 6, 94, '0'), (54, 6, 95, '0'), (55, 6, 96, '0'), (56, 6, 97, '0'), (57, 6, 98, '0'), (58, 6, 99, '0'), (59, 6, 100, '0'), (60, 6, 101, '0'), (61, 7, 119, '0'), (62, 7, 120, '0'), (63, 8, 123, '15750'), (64, 8, 124, '0'), (65, 8, 125, '0'), (66, 8, 126, '29320'), (67, 8, 127, '14322'), (68, 8, 128, '22800'), (69, 8, 129, '54991'), (70, 8, 130, '44417'); -- -------------------------------------------------------- -- -- Table structure for table `tab_user_types` -- CREATE TABLE IF NOT EXISTS `tab_user_types` ( `id` int(11) NOT NULL AUTO_INCREMENT, `name` varchar(200) NOT NULL, `is_static` tinyint(1) NOT NULL, PRIMARY KEY (`id`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=4 ; -- -- Dumping data for table `tab_user_types` -- INSERT INTO `tab_user_types` (`id`, `name`, `is_static`) VALUES (1, 'Admin', 0), (0, 'Pi', 1), (2, 'Accounts', 1), (3, 'Ed', 0); -- -------------------------------------------------------- -- -- Table structure for table `user` -- CREATE TABLE IF NOT EXISTS `user` ( `user_id` int(11) NOT NULL AUTO_INCREMENT, `user_name` varchar(50) CHARACTER SET latin1 NOT NULL, `passwd` varchar(50) CHARACTER SET latin1 NOT NULL, `email` varchar(50) CHARACTER SET latin1 NOT NULL, `name` text CHARACTER SET latin1 NOT NULL, `photo` text CHARACTER SET latin1 NOT NULL, `salutation` varchar(20) CHARACTER SET latin1 NOT NULL, `designation` varchar(50) CHARACTER SET latin1 NOT NULL, `is_admin` int(11) NOT NULL DEFAULT '0' COMMENT '0-pi, 1-admin, 2-acounts,3-ED', `accounts_type` varchar(200) CHARACTER SET latin1 NOT NULL, `division_id` varchar(200) CHARACTER SET latin1 NOT NULL, `co_investigator` varchar(100) CHARACTER SET latin1 NOT NULL, `verify_date` date DEFAULT NULL, PRIMARY KEY (`user_id`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC AUTO_INCREMENT=70 ; -- -- Dumping data for table `user` -- INSERT INTO `user` (`user_id`, `user_name`, `passwd`, `email`, `name`, `photo`, `salutation`, `designation`, `is_admin`, `accounts_type`, `division_id`, `co_investigator`, `verify_date`) VALUES (1, 'admin', 'admin123', 'admin@gmail.com', 'Administrator', '../photo/rdm.png', '', 'CWRDM', 1, '0', '', '', '0000-01-01'), (2, 'dinesan', '123', 'dinesan@cwrdm.org', 'Dr. Dinesan V.P', '../photo/dinesan.jpg', '', '', 0, '0', '1', '', '0000-00-00'), (3, 'gmd', 'gmd16', 'gmd@gmail.com', 'Testbot', '../photo/admin.jpg', '', 'Scientist', 0, '0', '1', '', '2009-03-02'), (49, 'dinil', '123', 'C Dinil Sony', 'C Dinil Sony', '../photo/dinil.jpg', 'mr', 'Senior Principal Scientist', 0, '', '6', '', NULL), (7, 'joseph', '123', 'jej@cwrdm.org', 'Dr. Joseph E J', '../photo/joseph.jpg', '', '', 0, '0', '3', '', '0000-00-00'), (48, 'jayakumar', '123', 'Jayakumar P', 'Jayakumar P', '../photo/jayakumar.jpg', 'dr', 'Senior Principal Scientist & Head', 0, '', '4', '', NULL), (47, 'madhavan', '123', 'Madhavan K', 'Madhavan K', '../photo/madhavan.jpg', 'dr', 'Scientist', 0, '', '2', '', NULL), (44, 'Madhava', '123', 'Madhava Chandran K', 'Madhava Chandran K', '../photo/madhava.jpg', 'dr', 'Senior Principal Scientist', 0, '', '3', '', NULL), (43, 'babu', '123', 'Babu Mathew', 'Babu Mathew', '../photo/babu.jpg', 'mr', 'Senior Principal Scientist & Head', 0, '', '8', '', NULL), (35, 'ed', '123', 'jej@cwrdm.org', 'Executive Director', '../photo/rdm.png', '', 'CWRDM', 3, '0', '0', '', NULL), (36, 'acc1', 'acc1', 'accounts@accounts.co', 'accounts1', '../photo/rdm.png', '', '', 2, '1,2,3,5', '0', '', NULL), (37, 'acc2', 'acc', 'accounts@accounts.co', 'accounts2', '../photo/rdm.png', '', '', 2, '5', '0', '', NULL), (38, 'acc3', 'acc', 'accounts@accounts.co', 'accounts3', '../photo/rdm.png', '', '', 2, '1,5', '0', '', NULL), (39, 'acc4', 'acc', 'accounts4@accounts.co', 'Accounts 4', '../photo/rdm.png', '', 'Accountant', 2, '1,2,3,5', '0', '', NULL), (40, 'acc5', 'acc', 'accounts5@accounts.co', 'Accounts 5', '../photo/rdm.png', '', 'Accountant', 2, '2,3', '0', '', NULL), (46, 'harikumar', '123', 'Harikumar P S', 'Harikumar P S', '../photo/harikumar.jpg', 'dr', 'Senior Principal Scientist & Head', 0, '', '2', '', NULL), (45, 'surendran', '123', 'Surendran U', 'Surendran U', '../photo/surendan.png', 'dr', 'Scientist', 0, '', '3', '', NULL), (42, 'chinni', '123', 'K.Ch.V Naga Kumar', 'K.Ch.V Naga Kumar', '../photo/Chinni.JPG', 'dr', 'Scientist B', 0, '', '1', '', NULL), (41, 'gg', '123', 'gg@cwrdm.org', 'Dr. Girish Gopinath', '../photo/girish.jpg', '', 'Senior Scientist', 0, '', '1', '', NULL), (50, 'vivek', '123', 'Vivek B', 'Vivek B', '../photo/vivek.jpg', 'mr', 'Scientist B', 0, '', '4', '', NULL), (51, 'dipu', '123', 'Dipu S', 'Dipu S', '../photo/dipu.jpg', 'dr', 'Scientist B', 0, '', '2', '', NULL), (52, 'priju', '123', 'C P Priju', 'C P Priju', '../photo/priju.jpg', 'dr', 'Scientist', 0, '', '5', '', NULL), (53, 'arun', '123', 'Arun P R', 'Arun P R', '../photo/arun.jpg', 'dr', 'Scientist', 0, '', '5', '', NULL), (54, 'anitha', '123', 'Anitha A B', 'Anitha A B', '../photo/anitha.jpg', 'dr', 'Senior Principal Scientist & Head', 0, '', '6', '', NULL), (55, 'george', '123', ' George Abe', ' George Abe', '../photo/george.jpg', 'dr', 'Chief Scientist & Head', 0, '', '9', '', NULL), (56, 'abdulla', '123', 'Abdulla P K', 'Abdulla P K', '../photo/abdulla.jpg', 'mr', 'Senior Principal Scientist', 0, '', '6', '', NULL), (57, 'celine', '123', 'Celine George', 'Celine George', '../photo/celine.jpg', 'dr', 'Principal Scientist & Head', 0, '', '10', '', NULL), (58, 'drissia', '123', 'Drissia T K', 'Drissia T K', '../photo/drissia.jpg', 'ms', 'Scientist', 0, '', '6', '', NULL), (59, 'hameed', '123', 'Abdul Hameed E', 'Abdul Hameed E', '../photo/hameed.jpg', 'mr', 'Technical PA to ED & Scientist B', 0, '', '12', '', NULL), (60, 'jainet', '123', 'Jainet P J', 'Jainet P J', '../photo/jainet.jpg', 'mr', 'Scientist B', 0, '', '6', '', NULL), (61, 'sushanth', '123', 'Sushanth C M', 'Sushanth C M', '../photo/sushanth.jpg', 'mr', 'Senior Principal Scientist & Head', 0, '', '5', '', NULL), (62, 'ambili', '123', 'Ambili G K', 'Ambili G K', '../photo/ambili.jpg', 'ms', 'Scientist & Head In Charge', 0, '', '11', '', NULL), (63, 'warrier', '123', ' Unnikrishna Warrier C', ' Unnikrishna Warrier C', '../photo/warrier.jpg', 'dr', 'Principal Scientist & Head', 0, '', '7', '', NULL), (64, 'resmi', '123', 'Resmi TR', 'Resmi TR', '../photo/resmi.jpg', 'dr', 'Scientist', 0, '', '7', '', NULL), (69, 'registrar', '123', '', 'Registrar', '../photo/rdm.png', '', 'CWRDM', 3, '', '', '', NULL);