?
Current Path : /home1/savoy/public_html/savoyglobal.net/sgms/draft/application/data/ |
Linux gator3171.hostgator.com 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64 |
Current File : /home1/savoy/public_html/savoyglobal.net/sgms/draft/application/data/13.07.12.sql |
-- phpMyAdmin SQL Dump -- version 3.4.10.1 -- http://www.phpmyadmin.net -- -- Host: localhost -- Generation Time: Jul 13, 2012 at 12:02 AM -- Server version: 5.5.23 -- PHP Version: 5.2.17 SET SQL_MODE="NO_AUTO_VALUE_ON_ZERO"; 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 utf8 */; -- -- Database: `savoy_sgms` -- -- -------------------------------------------------------- -- -- Table structure for table `account_type` -- CREATE TABLE IF NOT EXISTS `account_type` ( `account_type_id` tinyint(1) NOT NULL AUTO_INCREMENT, `type` varchar(20) NOT NULL, PRIMARY KEY (`account_type_id`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=5 ; -- -- Dumping data for table `account_type` -- INSERT INTO `account_type` (`account_type_id`, `type`) VALUES (1, 'Savings Account'), (2, 'Current Account'), (3, 'Credit Account'), (4, 'Cash Account'); -- -------------------------------------------------------- -- -- Table structure for table `activity` -- CREATE TABLE IF NOT EXISTS `activity` ( `activity_id` int(11) NOT NULL AUTO_INCREMENT, `activity_category_id` int(11) NOT NULL, `activity_name` varchar(200) NOT NULL, `activity_code` varchar(10) NOT NULL, `activity_account_code` varchar(20) NOT NULL, PRIMARY KEY (`activity_id`), UNIQUE KEY `activity_code` (`activity_code`), KEY `activity_category_id` (`activity_category_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=29 ; -- -- Dumping data for table `activity` -- INSERT INTO `activity` (`activity_id`, `activity_category_id`, `activity_name`, `activity_code`, `activity_account_code`) VALUES (7, 2, 'Leadership Training', 'T1', '200001'), (8, 1, 'HRM', 'S1', '200002'), (9, 2, 'Sales Training', 'T2', '200003'), (10, 1, 'School Information Management System', 'S2', '200004'), (11, 2, 'Transformational Leadership', 'T3', '200005'), (12, 2, 'Personal Transformation', 'T4', '200006'), (13, 2, 'Neuro Linguistic Programming', 'T5', '200007'), (14, 2, 'Coaching', 'T6', '200008'), (15, 2, 'Stress Management', 'T7', '200009'), (16, 2, 'Rapport Building', 'T8', '200010'), (17, 2, 'Out Bound Training', 'T9', '200011'), (18, 2, 'Change Management', 'T10', '200012'), (19, 2, 'Emotional Intelligence', 'T11', '200013'), (20, 2, 'Six Thinking Hats', 'T12', '200014'), (21, 2, 'Time Management', 'T13', '200015'), (22, 2, 'Communication Skills', 'T14', '200016'), (23, 2, 'Conflict Management', 'T15', '200017'), (24, 2, 'MBTI', 'T16', '200018'), (25, 2, 'Counselling ', 'T17', '200019'), (26, 2, 'John Maxwell Leadership Workshop', 'T18', '200020'), (27, 2, 'Faculty Development', 'T19', '200021'), (28, 2, 'Customer Service Training', 'T20', '200022'); -- -------------------------------------------------------- -- -- Table structure for table `activity_category` -- CREATE TABLE IF NOT EXISTS `activity_category` ( `activity_category_id` int(11) NOT NULL AUTO_INCREMENT, `activity_category_name` varchar(200) NOT NULL, `activity_category_prefix` varchar(20) NOT NULL, PRIMARY KEY (`activity_category_id`), UNIQUE KEY `activity_category_prefix` (`activity_category_prefix`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=3 ; -- -- Dumping data for table `activity_category` -- INSERT INTO `activity_category` (`activity_category_id`, `activity_category_name`, `activity_category_prefix`) VALUES (1, 'Software', 'S'), (2, 'Training', 'T'); -- -------------------------------------------------------- -- -- Table structure for table `allowdeduc` -- CREATE TABLE IF NOT EXISTS `allowdeduc` ( `allowdeduc_id` int(11) NOT NULL AUTO_INCREMENT, `allowdeduc_name` varchar(100) NOT NULL, `allowdeduc_type` int(2) NOT NULL, `allowdeduc_mode` int(2) NOT NULL, `chart_account_code` varchar(10) NOT NULL, PRIMARY KEY (`allowdeduc_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=4 ; -- -- Dumping data for table `allowdeduc` -- INSERT INTO `allowdeduc` (`allowdeduc_id`, `allowdeduc_name`, `allowdeduc_type`, `allowdeduc_mode`, `chart_account_code`) VALUES (2, 'Festival Allowance', 1, 1, '310001'), (3, 'Deduction LOP', 0, 0, '310002'); -- -------------------------------------------------------- -- -- Table structure for table `audit_trail` -- CREATE TABLE IF NOT EXISTS `audit_trail` ( `audit_trail_id` int(11) NOT NULL AUTO_INCREMENT, `ref_id` int(11) NOT NULL, `transaction_date` date NOT NULL, `fiscal_year` int(11) NOT NULL, PRIMARY KEY (`audit_trail_id`), KEY `ref_id` (`ref_id`), KEY `fiscal_year` (`fiscal_year`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=91 ; -- -- Dumping data for table `audit_trail` -- INSERT INTO `audit_trail` (`audit_trail_id`, `ref_id`, `transaction_date`, `fiscal_year`) VALUES (12, 327, '2012-05-18', 1), (14, 337, '2012-05-19', 1), (15, 341, '2012-05-20', 1), (16, 342, '2012-05-20', 1), (17, 344, '2012-05-20', 1), (18, 343, '2012-05-20', 1), (19, 345, '2012-05-20', 1), (20, 346, '2012-05-20', 1), (21, 367, '2012-05-21', 1), (22, 370, '2012-05-21', 1), (23, 373, '2012-05-21', 1), (24, 377, '2012-05-21', 1), (29, 393, '2012-05-22', 1), (30, 399, '2012-05-22', 1), (31, 405, '2012-05-22', 1), (32, 412, '2012-05-23', 1), (33, 415, '2012-05-23', 1), (34, 418, '2012-05-23', 1), (35, 421, '2012-05-23', 1), (36, 425, '2012-05-23', 1), (37, 428, '2012-05-23', 1), (38, 431, '2012-05-23', 1), (39, 433, '2012-05-23', 1), (40, 435, '2012-05-23', 1), (41, 437, '2012-05-23', 1), (42, 442, '2012-05-23', 1), (43, 447, '2012-05-23', 1), (44, 452, '2012-05-23', 1), (45, 457, '2012-05-23', 1), (46, 460, '2012-05-23', 1), (47, 465, '2012-05-23', 1), (48, 468, '2012-05-23', 1), (49, 473, '2012-05-23', 1), (50, 476, '2012-05-23', 1), (51, 481, '2012-05-23', 1), (52, 486, '2012-05-23', 1), (53, 489, '2012-05-23', 1), (54, 490, '2012-05-23', 1), (55, 491, '2012-05-23', 1), (56, 492, '2012-05-23', 1), (57, 493, '2012-05-23', 1), (58, 494, '2012-05-23', 1), (59, 495, '2012-05-23', 1), (60, 496, '2012-05-23', 1), (61, 497, '2012-05-23', 1), (62, 498, '2012-05-23', 1), (63, 499, '2012-05-23', 1), (66, 509, '2012-05-29', 1), (67, 520, '2012-05-30', 1), (68, 546, '2012-06-13', 1), (69, 547, '2012-06-13', 1), (70, 548, '2012-06-13', 1), (71, 549, '2012-06-13', 1), (72, 550, '2012-06-13', 1), (73, 555, '2012-06-19', 1), (74, 556, '2012-06-19', 1), (75, 559, '2012-06-25', 1), (76, 568, '2012-06-30', 1), (77, 575, '2012-07-01', 1), (78, 577, '2012-07-01', 1), (79, 582, '2012-07-01', 1), (80, 587, '2012-07-01', 1), (81, 592, '2012-07-01', 1), (82, 597, '2012-07-01', 1), (83, 602, '2012-07-01', 1), (84, 607, '2012-07-01', 1), (85, 612, '2012-07-01', 1), (86, 615, '2012-07-01', 1), (87, 618, '2012-07-01', 1), (88, 619, '2012-07-01', 1), (89, 620, '2012-07-01', 1), (90, 621, '2012-07-04', 1); -- -------------------------------------------------------- -- -- Table structure for table `auto_journal` -- CREATE TABLE IF NOT EXISTS `auto_journal` ( `auto_journal_id` int(11) NOT NULL AUTO_INCREMENT, `auto_journal_ref_id` int(11) NOT NULL, `account_code` varchar(30) NOT NULL, `amount` double(10,2) NOT NULL, `memo` tinytext NOT NULL, PRIMARY KEY (`auto_journal_id`), KEY `auto_journal_ref_id` (`auto_journal_ref_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; -- -------------------------------------------------------- -- -- Table structure for table `auto_journal_main` -- CREATE TABLE IF NOT EXISTS `auto_journal_main` ( `auto_journal_main_id` int(11) NOT NULL, `auto_journal_title` varchar(128) NOT NULL, PRIMARY KEY (`auto_journal_main_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; -- -------------------------------------------------------- -- -- Table structure for table `bank_account` -- CREATE TABLE IF NOT EXISTS `bank_account` ( `bank_account_id` int(5) NOT NULL AUTO_INCREMENT, `account_code` varchar(11) NOT NULL DEFAULT '', `bank_account_name` varchar(60) NOT NULL DEFAULT '', `account_type_id` varchar(2) NOT NULL, `bank_account_number` varchar(100) NOT NULL DEFAULT '', `bank_name` varchar(60) NOT NULL DEFAULT '', `bank_address` tinytext, `currency_id` int(3) NOT NULL, `last_reconciled_date` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, `ending_reconcile_balance` double NOT NULL, PRIMARY KEY (`bank_account_id`), KEY `bank_account_name` (`bank_account_name`), KEY `bank_account_number` (`bank_account_number`), KEY `account_code` (`account_code`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=8 ; -- -- Dumping data for table `bank_account` -- INSERT INTO `bank_account` (`bank_account_id`, `account_code`, `bank_account_name`, `account_type_id`, `bank_account_number`, `bank_name`, `bank_address`, `currency_id`, `last_reconciled_date`, `ending_reconcile_balance`) VALUES (6, '100010', 'COMMERCIAL BANK OF QATAR', '2', '3423432432', '', '', 1, '2012-05-05 15:30:00', 0), (7, '100012', 'Cash in Hand', '4', '50000', '', '', 1, '2012-05-10 15:30:00', 0); -- -------------------------------------------------------- -- -- Table structure for table `bank_transaction` -- CREATE TABLE IF NOT EXISTS `bank_transaction` ( `bank_transaction_id` int(11) NOT NULL AUTO_INCREMENT, `ref_id` int(11) DEFAULT NULL, `bank_account_code` varchar(11) DEFAULT NULL, `transaction_date` date NOT NULL DEFAULT '0000-00-00', `amount` double DEFAULT '0', `reconciled` varchar(20) NOT NULL, PRIMARY KEY (`bank_transaction_id`), KEY `ref_id` (`ref_id`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=27 ; -- -- Dumping data for table `bank_transaction` -- INSERT INTO `bank_transaction` (`bank_transaction_id`, `ref_id`, `bank_account_code`, `transaction_date`, `amount`, `reconciled`) VALUES (1, 341, '100010', '2012-05-20', -5000, ''), (2, 342, '100010', '2012-05-20', -2000, ''), (3, 344, '100010', '2012-05-20', 2000, ''), (4, 343, '100010', '2012-05-20', 5000, ''), (5, 345, '100010', '2012-05-20', 5000, ''), (6, 346, '100010', '2012-05-20', 2000, ''), (7, 490, '100010', '2012-05-23', 1000, ''), (8, 491, '100010', '2012-05-23', 2250, ''), (9, 492, '100010', '2012-05-23', 1000, ''), (10, 493, '100010', '2012-05-23', 5000, ''), (11, 494, '100010', '2012-05-23', 3000, ''), (12, 495, '100010', '2012-05-23', 2000, ''), (13, 496, '100010', '2012-05-23', 1500, ''), (14, 497, '100010', '2012-05-23', 1000, ''), (15, 498, '100010', '2012-05-23', 1500, ''), (16, 499, '100010', '2012-05-23', 2000, ''), (17, 547, '100010', '2012-06-13', -9000, ''), (18, 548, '100010', '2012-06-13', -9000, ''), (19, 549, '100010', '2012-06-13', 9000, ''), (20, 550, '100010', '2012-06-13', 9000, ''), (21, 559, '100010', '2012-06-25', 10000, ''), (22, 615, '100010', '2012-06-13', 9000, ''), (23, 618, '100010', '2012-06-13', 9000, ''), (24, 619, '100010', '2012-07-01', 250, ''), (25, 620, '100010', '2012-07-01', 500, ''), (26, 621, '100010', '2012-07-04', 2025, ''); -- -------------------------------------------------------- -- -- Table structure for table `branch` -- CREATE TABLE IF NOT EXISTS `branch` ( `branch_id` int(11) NOT NULL AUTO_INCREMENT, `branch_name` varchar(100) NOT NULL, `address` text NOT NULL, `city` varchar(100) NOT NULL, `country` varchar(100) NOT NULL, `contact_no` varchar(50) NOT NULL, `email` varchar(100) NOT NULL, `fax` varchar(50) NOT NULL, `website` varchar(50) NOT NULL, PRIMARY KEY (`branch_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=2 ; -- -- Dumping data for table `branch` -- INSERT INTO `branch` (`branch_id`, `branch_name`, `address`, `city`, `country`, `contact_no`, `email`, `fax`, `website`) VALUES (1, 'Doha', '', 'Doha', '', '', '', '', ''); -- -------------------------------------------------------- -- -- Table structure for table `branch_target` -- CREATE TABLE IF NOT EXISTS `branch_target` ( `branch_target_id` int(11) NOT NULL, `branch_id` int(11) NOT NULL, `start_date` date NOT NULL, `end_date` date NOT NULL, `target` varchar(200) NOT NULL, `currency_id` int(11) NOT NULL, `target_type` varchar(30) NOT NULL, `remarks` text NOT NULL, PRIMARY KEY (`branch_target_id`), KEY `branch_id` (`branch_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; -- -------------------------------------------------------- -- -- Table structure for table `calendar` -- CREATE TABLE IF NOT EXISTS `calendar` ( `event_id` int(11) NOT NULL, `event_title` varchar(200) NOT NULL, `trainer_name` varchar(200) NOT NULL, `event_start_date` date NOT NULL, `event_end_date` date NOT NULL, `event_location` varchar(200) NOT NULL, `event_description` text NOT NULL, PRIMARY KEY (`event_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; -- -------------------------------------------------------- -- -- Table structure for table `chart_master` -- CREATE TABLE IF NOT EXISTS `chart_master` ( `chart_master_id` int(11) NOT NULL AUTO_INCREMENT, `chart_account_code` varchar(10) NOT NULL, `chart_account_name` varchar(250) NOT NULL, `chart_account_type` int(11) NOT NULL, `parent` int(11) NOT NULL DEFAULT '0', `inactive` int(11) NOT NULL DEFAULT '0', PRIMARY KEY (`chart_account_code`), UNIQUE KEY `id` (`chart_master_id`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=580 ; -- -- Dumping data for table `chart_master` -- INSERT INTO `chart_master` (`chart_master_id`, `chart_account_code`, `chart_account_name`, `chart_account_type`, `parent`, `inactive`) VALUES (324, '100000', 'CAPITAL ', 2, 0, 0), (325, '100001', 'STAFF LOAN A/C', 1, 0, 0), (326, '100002', 'PREPAID EXPENSES ', 1, 0, 0), (327, '100003', 'COMPUTERS ', 1, 0, 0), (328, '100004', 'PARTITIONS & DECORATIONS ', 1, 0, 0), (329, '100005', 'OFFICE FURNITURES ', 1, 0, 0), (330, '100006', 'OTHER EQUIPMENTS ', 1, 0, 0), (331, '100007', 'MOTOR VEHICLES ', 1, 0, 0), (332, '100008', 'FURNITURESFIXTURES & EQUIPMENT ', 1, 0, 0), (333, '100009', 'CREDIT CARD COLLECTION ', 1, 0, 0), (334, '100010', 'COMMERCIAL BANK OF QATAR', 2, 0, 0), (335, '100011', 'INVESTMENTS ', 1, 0, 0), (336, '100012', 'Cash in Hand', 4, 0, 0), (337, '100013', 'PETTY CASH ', 1, 0, 0), (83, '150000', 'Savoys Account', 1, 0, 0), (86, '160000', 'Agent Account', 1, 0, 0), (485, '200001', 'Leadership Training', 4, 0, 0), (488, '200002', 'HRM', 4, 0, 0), (489, '200003', 'Sales Training', 4, 0, 0), (505, '200004', 'School Information Management System', 4, 0, 0), (512, '200005', 'Transformational Leadership', 4, 0, 0), (513, '200006', 'Personal Transformation', 4, 0, 0), (514, '200007', 'Neuro Linguistic Programming', 4, 0, 0), (515, '200008', 'Coaching', 4, 0, 0), (516, '200009', 'Stress Management', 4, 0, 0), (517, '200010', 'Rapport Building', 4, 0, 0), (518, '200011', 'Out Bound Training', 4, 0, 0), (519, '200012', 'Change Management', 4, 0, 0), (520, '200013', 'Emotional Intelligence', 4, 0, 0), (521, '200014', 'Six Thinking Hats', 4, 0, 0), (522, '200015', 'Time Management', 4, 0, 0), (523, '200016', 'Communication Skills', 4, 0, 0), (524, '200017', 'Conflict Management', 4, 0, 0), (525, '200018', 'MBIT', 4, 0, 0), (536, '200019', 'Counselling ', 4, 0, 0), (538, '200020', 'John Maxwell Leadership Workshop', 4, 0, 0), (539, '200021', 'Faculty Development', 4, 0, 0), (563, '200022', 'Customer Service Training', 4, 0, 0), (5, '210000', 'Customer Account', 4, 0, 0), (338, '220000', 'OTHER INCOME ', 4, 0, 0), (339, '220001', 'INCOME FROM LOANS ', 4, 0, 0), (340, '220002', 'INCOME FROM FIXED DEPOSITS ', 4, 0, 0), (341, '220003', 'INCOME FROM INVESTMENTS ', 4, 0, 0), (342, '220004', 'INCOME FROM ASSET MANAGEMENT ', 4, 0, 0), (343, '220005', 'INCOME FROM MANAGEMENT FEES ', 4, 0, 0), (344, '220006', 'PROFIT ON SALE OF F/ASSET ', 4, 0, 0), (345, '220007', 'PROFIT/LOSS ON FIXED ASSETS ', 4, 0, 0), (346, '220008', 'REALIZED GAIN IN EXCHANGE RATE ', 4, 0, 0), (347, '220009', 'GAIN / LOSS ON EXCHANGE ', 4, 0, 0), (348, '220010', 'PRIOR YEAR ADJUSTMENT ', 4, 0, 0), (349, '220011', 'OTHER EXCEPTIONAL INCOME ', 4, 0, 0), (350, '300000', 'BASIC SALARY ', 3, 0, 0), (351, '300001', 'Housing Allowance', 3, 0, 0), (352, '300002', ' UTILITY ', 3, 0, 0), (353, '300003', 'RECREATION & CLUB FEES ', 3, 0, 0), (354, '300004', 'STAFF HOUSING ', 3, 0, 0), (355, '300005', 'Car Allowance', 3, 0, 0), (356, '300006', 'Fuel Expenses', 3, 0, 0), (357, '300007', 'TELEPHONE ALLOWANCE ', 3, 0, 0), (358, '300008', 'LEAVE TRAVEL AIR PASSAGE ', 3, 0, 0), (359, '300009', 'LEAVE TRAVEL ALLOWANCE ', 3, 0, 0), (360, '300010', 'STAFF MEDICAL INSURANCE ', 3, 0, 0), (361, '300011', 'SCHOOL FEES MANAGEMENT ', 3, 0, 0), (362, '300012', 'SOCIAL SECURITY NATIONALS (GOSI) ', 3, 0, 0), (363, '300013', 'PASSPORT/ VISA/ IQAMA RENEWALS ', 3, 0, 0), (364, '300014', 'VISA RENEWALS ', 3, 0, 0), (365, '300015', 'WORK PERMIT RENEWALS ', 3, 0, 0), (366, '300016', 'MEDICAL FOR IQAMA RENEWAL ', 3, 0, 0), (367, '300017', 'VISA FORM TYPING & OTHERS ', 3, 0, 0), (368, '300018', 'RECRUITMENT EXPENSES ', 3, 0, 0), (369, '300019', 'STAFF RELOCATION EXPENSES ', 3, 0, 0), (370, '300020', 'INSURANCE EXAM EXPS ', 3, 0, 0), (371, '300021', 'INSURANCE EXAM AWARDS ', 3, 0, 0), (372, '300022', 'STAFF PROFIT BONUS ', 3, 0, 0), (373, '300023', 'STAFF PERFORMANCE BONUS ', 3, 0, 0), (374, '300024', 'STAFF TRAINING ', 3, 0, 0), (375, '300025', 'STAFF TRAINING OTHERS ', 3, 0, 0), (376, '300026', 'CO CONTRIBUTION STAFF PENSION ', 3, 0, 0), (377, '300027', 'OTHER STAFF RELATED EXPS ', 3, 0, 0), (378, '300028', 'STAFF LEAVING INDEMINITY ', 3, 0, 0), (379, '300029', 'OFFICE RENT ', 3, 0, 0), (380, '300030', 'OFFICE WATER / ELECTRICITY ', 3, 0, 0), (381, '300031', 'OFFICE UPKEEP & MAINTENANCE ', 3, 0, 0), (382, '300032', 'OFFICE EQUIPMENT MAINTENANCE ', 3, 0, 0), (383, '300033', 'OFFICE RENOVATION ', 3, 0, 0), (384, '300034', 'OFFICE TELEPHONES ', 3, 0, 0), (385, '300035', 'OFFICE FAX CHARGES ', 3, 0, 0), (386, '300036', 'OFFICE MOBILE CHARGES ', 3, 0, 0), (387, '300037', 'ISDN/LEASE LINE COSTS ', 3, 0, 0), (388, '300038', 'POSTAGE/ COURIER EXPENSES ', 3, 0, 0), (389, '300039', 'IT EXPENSES', 3, 0, 0), (390, '300040', 'DEPRECIATION - OTHERS ', 3, 0, 0), (391, '300041', 'ADVERTISING ', 3, 0, 0), (392, '300042', 'SPONSORSHIP ', 3, 0, 0), (393, '300043', 'CHARITY / GIFTS ', 3, 0, 0), (394, '300044', 'BUSINESS PROMOTION ', 3, 0, 0), (395, '300045', 'MARKETING ', 3, 0, 0), (396, '300046', 'LEGAL & CONSULTANCY ', 3, 0, 0), (397, '300047', 'TAXATION FEES ', 3, 0, 0), (398, '300048', 'COMMERCIAL REGISTRATION ', 3, 0, 0), (399, '300049', 'CHAMBER OF COMMERCE ', 3, 0, 0), (400, '300050', 'OTHER FEES ', 3, 0, 0), (401, '300051', 'TRANSLATION CHARGES ', 3, 0, 0), (402, '300052', 'BROKERAGE TAX ', 3, 0, 0), (403, '300053', 'GOVT FEE ON BROKERAGES ', 3, 0, 0), (404, '300054', 'EXTERNAL AUDIT FEES ', 3, 0, 0), (405, '300055', 'INTERNAL AUDIT FEES ', 3, 0, 0), (406, '300056', 'BANK CHARGES ', 3, 0, 0), (407, '300057', 'CREDIT CARD CHARGES ', 3, 0, 0), (408, '300058', 'PRINTING ', 3, 0, 0), (409, '300059', 'ENVELOPS ', 3, 0, 0), (410, '300060', 'STATIONERY ', 3, 0, 0), (411, '300061', 'GENERAL STATIONERY ', 3, 0, 0), (412, '300062', 'BUSINESS CARDS ', 3, 0, 0), (413, '300063', 'NEWS PAPER & PERIODOCALS ', 3, 0, 0), (414, '300064', 'CO. MEMBERSHIP SUBSCRIPTION ', 3, 0, 0), (415, '300065', 'BUSINESS TRAVEL ', 3, 0, 0), (416, '300066', 'BUSINESS TRAVEL HOTEL ', 3, 0, 0), (417, '300067', 'BUSINESS TRAVEL INCIDENTAL ', 3, 0, 0), (418, '300068', 'OFFICE CAR PETROL EXPENSES ', 3, 0, 0), (419, '300069', 'CAR MAINTENACE COSTS ', 3, 0, 0), (420, '300070', 'CAR WASHING CHARGES ', 3, 0, 0), (421, '300071', 'CAR PARKING CHARGES ', 3, 0, 0), (422, '300072', 'CAR LEASING CHARGES ', 3, 0, 0), (423, '300073', 'CAR INSURANCE EXPENSES ', 3, 0, 0), (424, '300074', 'TAXI FARE EXPENSES ', 3, 0, 0), (425, '300075', 'ENTERTAINMENT - BUSINESS ', 3, 0, 0), (426, '300076', 'ENTERTAINMENT - STAFF ', 3, 0, 0), (427, '300077', 'ENTERTAINMENT - VISITORS ', 3, 0, 0), (428, '300078', 'CONFERENCE EXPENSES ', 3, 0, 0), (429, '300079', 'TECHNICAL RISK SURVEY COSTS ', 3, 0, 0), (430, '300080', 'DRINKING WATER ', 3, 0, 0), (431, '300081', 'OFFICE COFFEE TEA EXPENSES ', 3, 0, 0), (432, '300082', 'MISCELLANEOUS EXPENSES ', 3, 0, 0), (433, '300083', 'PROJECT EXPENSES ', 3, 0, 0), (434, '300084', 'OTHER EXPENSES ', 3, 0, 0), (435, '300085', 'TAXATION CHARGE FOR THE YEAR ', 3, 0, 0), (436, '300086', 'WITHHOLDING TAX CHARGE ', 3, 0, 0), (437, '300087', 'INVESTMENT EXPENSES ', 3, 0, 0), (438, '300088', 'BAD DEBTS WRITTEN OFF / PROVISION ', 3, 0, 0), (439, '300089', 'MANAGER''S FEES ', 3, 0, 0), (466, '300090', 'Unpaid leave', 3, 0, 0), (1, '310000', 'Employee Account', 3, 0, 0), (493, '310001', 'Festival Allowance', 3, 0, 0), (494, '310002', 'Deduction LOP', 3, 0, 0), (440, '400000', 'STATUTORY RESERVE ', 2, 0, 0), (441, '400001', 'CAPITAL RESERVE ', 2, 0, 0), (442, '400002', 'LEGAL RESERVE ', 2, 0, 0), (443, '400003', 'GENERAL RESERVE ', 2, 0, 0), (444, '400004', 'PROFIT/LOSS ', 2, 0, 0), (445, '400005', 'LOSS FOR THE CURRENT YEAR ', 2, 0, 0), (446, '400006', 'ACCRUED EXPENSES ', 2, 0, 0), (447, '400007', 'COMMISSION PAYABLE ', 2, 0, 0), (448, '400008', 'DEPRECIATION ON FIXED ASSETS ', 2, 0, 0), (449, '400009', 'DEPRECIATION - COMPUTERS ', 2, 0, 0), (450, '400010', 'DEPRECIATION - FURNITURE & FIXTURES ', 2, 0, 0), (451, '400011', 'ACCM DEPN- COMP. HARDWARE & SOFTWRE ', 2, 0, 0), (452, '400012', 'ACCUM. DEPN- FURN. FIXTURES & EQPT. ', 2, 0, 0), (453, '400013', 'ACCUM. DEPN- MOTOR VEHICLES ', 2, 0, 0), (454, '400014', 'DEPRECIATION - OTHERS ', 2, 0, 0), (455, '400015', 'ACC. DEPN- COMPUTER HARDWARE-HO ', 2, 0, 0), (456, '400016', 'ACC. DEPN- FURNS. FIXTRES. EQPT-HO ', 2, 0, 0), (457, '400017', 'ACCUM. DEPN- MOTOR VEHICLES- H.O. ', 2, 0, 0), (458, '400018', 'CLOSING BALANCE ACCOUNT ', 2, 0, 0), (506, 'CRP0001', 'Intergroup Shipping', 4, 5, 0), (507, 'CRP0002', 'Dulsco Qatar', 4, 5, 0), (510, 'CRP0004', 'Shutdown Maintenance Services', 4, 5, 0), (526, 'CRP0005', 'Techno Steel Trading & Contracting W.L.L', 4, 5, 0), (527, 'CRP0006', 'Al Shaghairi Trading Co W.L.L', 4, 5, 0), (529, 'CRP0008', 'Al Safa Polyclinic', 4, 5, 0), (530, 'CRP0009', 'Prismat Printing & Advertising W.L.L', 4, 5, 0), (532, 'CRP0011', 'Galfar Al Misnad Eng. & Cont.', 4, 5, 0), (533, 'CRP0012', 'Horeitia Global W.L.L', 4, 5, 0), (535, 'CRP0013', 'Savoy Global', 4, 5, 0), (537, 'CRP0014', 'Sri Lankan School ', 4, 5, 0), (540, 'CRP0015', 'International British School ', 4, 5, 0), (541, 'CRP0016', 'Petrofac Qatar ', 4, 5, 0), (542, 'CRP0017', 'Supreme Council of Information & Communication Technology (ICT)', 4, 5, 0), (543, 'CRP0018', 'QAPCO', 4, 5, 0), (544, 'CRP0019', 'IMALCO', 4, 5, 0), (545, 'CRP0020', 'Centerpoint', 4, 5, 0), (547, 'CRP0021', 'Petroserv ', 4, 5, 0), (548, 'CRP0022', 'Viventum Solutions', 4, 5, 0), (549, 'CRP0023', 'Wellcare ', 4, 5, 0), (550, 'CRP0024', 'Shanavas C. S', 4, 5, 0), (551, 'CRP0025', 'Vodafone', 4, 5, 0), (552, 'CRP0026', 'Qatari Businessmen Association', 4, 5, 0), (553, 'CRP0027', 'We Serve Group W.L.L', 4, 5, 0), (554, 'CRP0028', 'Kahraama', 4, 5, 0), (555, 'CRP0029', 'Amira Foods DMCC', 4, 5, 0), (556, 'CRP0030', 'Gulf Warehousing Company', 4, 5, 0), (557, 'CRP0031', 'Marija', 4, 5, 0), (558, 'CRP0032', 'Qatar University', 4, 5, 0), (559, 'CRP0033', 'RG Engineering &Trading Co.W.L.L', 4, 5, 0), (560, 'CRP0034', 'Qatar Foundation For Child & Women Protection', 4, 5, 0), (561, 'CRP0035', 'Milaha', 4, 5, 0), (562, 'CRP0036', 'Qatar -UAE Xchange', 4, 5, 0), (564, 'CRP0037', 'Baskin Robbins Qatar', 4, 5, 0), (565, 'CRP0038', 'M.E.S.Indian School', 4, 5, 0), (566, 'CRP0039', 'Group 10 International ', 4, 5, 0), (567, 'CRP0040', ' Al Ali Projects', 4, 5, 0), (568, 'CRP0041', 'Ali Jarah Holding', 4, 5, 0), (570, 'CRP0042', 'Media plus W.L.L', 4, 5, 0), (571, 'CRP0043', 'Baskin robbins', 4, 5, 0), (579, 'CRP0044', 'Qatar Airways', 4, 5, 0), (479, 'EMP001', 'Jerry Babu', 3, 1, 0), (504, 'EMP002', 'Mohamed Ajmal', 3, 1, 0), (509, 'EMP003', 'Jessica Sajan', 3, 1, 0), (511, 'EMP004', 'Sherin TP', 3, 1, 0), (546, 'IDL0001', 'TVS Prasad', 4, 5, 0), (569, 'IDL0002', 'Mohideen Pakeer', 4, 5, 0), (572, 'IDL0003', 'Ajay Kumar N A', 4, 5, 0), (573, 'IDL0004', ' Asafali M Padiyath', 4, 5, 0), (574, 'IDL0005', ' Rajeev Rajan', 4, 5, 0), (575, 'IDL0006', ' Mary Nisansala Kumari Jayaweera', 4, 5, 0), (576, 'IDL0007', ' Aboo Navas', 4, 5, 0), (577, 'IDL0008', ' Amanulla Thenkayathil', 4, 5, 0), (578, 'IDL0009', 'Waleed Alabbady', 4, 5, 0); -- -------------------------------------------------------- -- -- Table structure for table `chart_type` -- CREATE TABLE IF NOT EXISTS `chart_type` ( `id` int(11) NOT NULL AUTO_INCREMENT, `chart_type_name` varchar(25) NOT NULL, `sort` tinyint(4) NOT NULL, PRIMARY KEY (`id`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=6 ; -- -- Dumping data for table `chart_type` -- INSERT INTO `chart_type` (`id`, `chart_type_name`, `sort`) VALUES (1, 'Assets', 1), (2, 'Liabilities', 4), (3, 'Expense', 3), (4, 'Income', 2); -- -------------------------------------------------------- -- -- Table structure for table `cheque_info_transaction` -- CREATE TABLE IF NOT EXISTS `cheque_info_transaction` ( `cheque_id` int(11) NOT NULL AUTO_INCREMENT, `ref_id` int(11) NOT NULL, `cheque_date` date NOT NULL, `cheque_drawn` varchar(30) NOT NULL, `cheque_no` varchar(20) NOT NULL, PRIMARY KEY (`cheque_id`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=6 ; -- -- Dumping data for table `cheque_info_transaction` -- INSERT INTO `cheque_info_transaction` (`cheque_id`, `ref_id`, `cheque_date`, `cheque_drawn`, `cheque_no`) VALUES (1, 547, '2012-06-10', 'ibq', '708396'), (2, 548, '2012-06-19', 'IBQ', '708397'), (3, 549, '2012-06-10', 'ibq', '708396'), (4, 550, '2012-06-19', 'ibq', '708397'), (5, 559, '2012-06-16', 'IBQ', '961384'); -- -------------------------------------------------------- -- -- Table structure for table `company` -- CREATE TABLE IF NOT EXISTS `company` ( `company_id` int(11) NOT NULL AUTO_INCREMENT, `company_name` varchar(100) NOT NULL, `company_display_name` varchar(50) NOT NULL, `address` text NOT NULL, `city` varchar(100) NOT NULL, `country` varchar(100) NOT NULL, `contact_no` varchar(50) NOT NULL, `email` varchar(100) NOT NULL, `fax` varchar(50) NOT NULL, `website` varchar(50) NOT NULL, `logo` varchar(200) NOT NULL, `prefix_code` varchar(10) NOT NULL, `quotation_terms` text NOT NULL, `registration_terms` text NOT NULL, `placement_terms` text NOT NULL, `fiscal_year_id` int(11) NOT NULL, `footer` text NOT NULL, PRIMARY KEY (`company_id`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=2 ; -- -- Dumping data for table `company` -- INSERT INTO `company` (`company_id`, `company_name`, `company_display_name`, `address`, `city`, `country`, `contact_no`, `email`, `fax`, `website`, `logo`, `prefix_code`, `quotation_terms`, `registration_terms`, `placement_terms`, `fiscal_year_id`, `footer`) VALUES (1, 'Savoy Global WLL', 'Savoy Global', 'P.O Box 200203', 'Doha', 'Qatar', '+ 974 44323006', 'admin@savoyglobal.net', '+974 44322142', 'savoyglobal.net', 'savoy_header.png', 'SAV', 'Cancellation Policy\n\nCancellation beyond this point would result in a cancellation charge of 100%\n', 'Cancellation Policy\n\nCancellation beyond this point would result in a cancellation charge of 100%.\n\n', 'Cancellation Policy\n\nCancellation beyond this point would result in a cancellation charge of 100%\n\n\n', 1, ' Tel: + 974 44323006 | Fax: +974 44322142 | P.O Box 200203 | Email: admin@savoyglobal.net | Website: savoyglobal.net '); -- -------------------------------------------------------- -- -- Table structure for table `currency` -- CREATE TABLE IF NOT EXISTS `currency` ( `currency_id` int(11) NOT NULL AUTO_INCREMENT, `currency_name` varchar(100) NOT NULL, `currency_code` varchar(20) NOT NULL, `default_currency` int(11) NOT NULL, PRIMARY KEY (`currency_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=2 ; -- -- Dumping data for table `currency` -- INSERT INTO `currency` (`currency_id`, `currency_name`, `currency_code`, `default_currency`) VALUES (1, 'Qatar Riyal', 'QR', 1); -- -------------------------------------------------------- -- -- Table structure for table `customer` -- CREATE TABLE IF NOT EXISTS `customer` ( `customer_id` int(11) NOT NULL, `customer_type` int(11) NOT NULL, `customer_name` varchar(100) NOT NULL COMMENT 'Customer Name', `customer_no` varchar(30) NOT NULL, `customer_address` text NOT NULL, `customer_pobox` varchar(100) NOT NULL, `customer_city` varchar(100) NOT NULL, `customer_state` varchar(100) NOT NULL, `customer_country` varchar(100) NOT NULL, `customer_contact_no` varchar(60) NOT NULL, `customer_fax` varchar(30) NOT NULL, `customer_email` varchar(60) NOT NULL, `customer_status` enum('Active','Potential','Inactive') NOT NULL, PRIMARY KEY (`customer_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; -- -- Dumping data for table `customer` -- INSERT INTO `customer` (`customer_id`, `customer_type`, `customer_name`, `customer_no`, `customer_address`, `customer_pobox`, `customer_city`, `customer_state`, `customer_country`, `customer_contact_no`, `customer_fax`, `customer_email`, `customer_status`) VALUES (322, 0, 'Intergroup Shipping', 'CRP0001', 'Behind Gulf Cinemae, Office No: 125, 2ND Floor, P.O Box 3288', '', 'Doha', '', 'Qatar', '1', '', '', 'Active'), (328, 0, 'Dulsco Qatar', 'CRP0002', 'Behind Midmac Round about, Flat No 254, Second Floor', '253', 'Doha', 'Qatar', '', '1', '', '', 'Active'), (338, 0, 'Shutdown Maintenance Services (W.L.L)', 'CRP0004', '', '', '', '', '', '1', '', '', 'Active'), (347, 0, 'Techno Steel Trading & Contracting W.L.L', 'CRP0005', '', '', 'Doha', '', 'Qatar', '44764409', '44663963', 'georgy@technosteel.com.qa', 'Active'), (349, 0, 'Al Shaghairi Trading Co W.L.L(Electra)', 'CRP0006', '', '', 'Doha', 'Qatar', 'Qatar', '44431834', '444116511', '', 'Active'), (353, 0, 'Al Safa Polyclinic', 'CRP0008', '', '', 'Doha', 'Qatar', 'Qatar', '44322448', '44360572', '', 'Active'), (355, 0, 'PRISMAT Printing & Advertising W.L.L', 'CRP0009', '', '', 'Doha', '', 'Qatar', '7775 0840', ' 4460 2534', '', 'Active'), (359, 0, 'Galfar Al Misnad Eng. & Cont.', 'CRP0011', '', '', 'Doha', '', 'Qatar', '4467 7518', '4467 7519', '', 'Active'), (361, 0, 'Horeitia Global W.L.L', 'CRP0012', '', '', 'Doha', '', 'Qatar', ' 4467 2963', '4467 3111', '', 'Active'), (389, 0, 'Savoy Global', 'CRP0013', '', '', 'Doha', '', 'Qatar', '44323006', '44322142', 'www.savoyglobal.net', 'Active'), (394, 0, 'Sri Lankan School ', 'CRP0014', '', '', 'Doha', '', 'Qatar', '55916198', '', '', 'Active'), (400, 0, 'International British School ', 'CRP0015', '', '', 'Doha', '', 'Qatar', '44786837', '44786833', 'best.doha@yahoo.com', 'Active'), (408, 0, 'Petrofac Qatar ', 'CRP0016', '', '', 'Doha', '', 'Qatar', '44478800', '', '', 'Active'), (438, 0, 'Supreme Council of Information & Communication Technology (ICT)', 'CRP0017', '', '', 'Doha', '', 'Qatar', '44993582', '', '', 'Active'), (443, 0, 'QAPCO', 'CRP0018', '', '', 'Doha', '', 'Qatar', '44777232', '44770214', '', 'Active'), (448, 0, 'IMALCO', 'CRP0019', '', '', 'Doha', '', 'Qatar', '44418030', '44434979', '', 'Active'), (453, 0, 'Centerpoint', 'CRP0020', '', '', 'Doha', '', 'Qatar', '44289299', '', '', 'Active'), (461, 1, 'TVS Prasad', 'IDL0001', '', '', '', '', '', '33467191', '', '', 'Active'), (469, 0, 'Petroserv ', 'CRP0021', '', '', 'Doha', '', 'Qatar', '44190307', '44418249', '', 'Active'), (477, 0, 'Viventum Solutions', 'CRP0022', '', '', 'Doha', '', 'Qatar', '44662051', '44643947', '', 'Active'), (482, 0, 'Wellcare ', 'CRP0023', '', '', 'Doha', '', 'Qatar', '44620901', '44621749', '', 'Active'), (504, 0, 'Shanavas C. S', 'CRP0024', '', '', 'Doha', '', 'Qatar', ' 4428 3333', '4428 3336 ', ' shanavas.cs@shalmana.net', 'Active'), (510, 0, 'Vodafone', 'CRP0025', '', '', '', '', '', '1', '', '', 'Potential'), (512, 0, 'Qatari Businessmen Association', 'CRP0026', '', '', 'Doha', '', 'Qatar', '44353120', '', '', 'Potential'), (514, 0, 'We Serve Group W.L.L', 'CRP0027', '', '', 'Doha', '', 'Qatar', '44440969', '44440980', 'weserve@qatar.net.qa', 'Potential'), (516, 0, 'Kahraama', 'CRP0028', '', '', 'Doha', '', 'Qatar', '44845186', '', '', 'Potential'), (521, 0, 'Amira Foods DMCC', 'CRP0029', '', '', 'Doha', '', 'Qatar', '66829452', '2351755', '', 'Potential'), (523, 0, 'Gulf Warehousing Company', 'CRP0030', '', '', 'Doha', '', 'Qatar', '44508508', '44508555', '', 'Potential'), (525, 0, 'Marija', 'CRP0031', '', '22550', 'Doha', '', 'Qatar', '0', '', '', 'Active'), (527, 0, 'Qatar University', 'CRP0032', '', '', 'Doha', '', 'Qatar', '4403252', '', '', 'Potential'), (529, 0, 'RG Engineering &Trading Co.W.L.L', 'CRP0033', '', '31251', 'Doha', '', 'Qatar', '44318132', '', '', 'Active'), (531, 0, 'Qatar Foundation For Child & Women Protection', 'CRP0034', '', '', 'Doha', '', 'Qatar', '44650477', '', '', 'Potential'), (533, 0, 'Milaha', 'CRP0035', '', '', 'Doha', '', 'Qatar', ' 4494 9666', '', '', 'Potential'), (535, 0, 'Qatar -UAE Xchange', 'CRP0036', '', '31645', 'Doha', '', 'Qatar', '4430159', '4479701', '', 'Potential'), (539, 0, 'Baskin Robbins Qatar', 'CRP0037', '', '1772', 'Doha', '', 'Qatar', '3388800', ' 3381918', ' contact@gabros.ae', 'Active'), (542, 0, 'M.E.S.Indian School', 'CRP0038', '', '', 'Doha', '', 'Qatar', '44572888', '44681816', ' mesdoha@gmail.com', 'Active'), (551, 0, 'Group 10 International ', 'CRP0039', '', '38131', 'Doha', 'Qatar', '', '44170437', '44170436', '', 'Potential'), (557, 0, ' Al Ali Projects', 'CRP0040', '', '', 'Doha', '', 'Qatar', ' 66830306', '', '', 'Potential'), (560, 0, 'Ali Jarah Holding', 'CRP0041', '', '24141', 'Doha', '', 'Qatar', '44100413', '44444132', '', 'Active'), (563, 1, 'Mohideen Pakeer', 'IDL0002', '', '', 'Doha', '', 'Qatar', '33206708', '', 'mohideen.r@alijaah.com', 'Active'), (569, 0, 'Media plus W.L.L', 'CRP0042', '', '23143', 'Doha', '', '', '4324853', '4329426', '', 'Active'), (571, 0, 'Baskin robbins', 'CRP0043', '', '1772', 'Doha', '', 'Qatar', '44363290', '44367385', '', 'Active'), (578, 1, 'Ajay Kumar N A', 'IDL0003', '', '', 'Doha', '', 'Qatar', '0', '', '', 'Active'), (583, 1, ' Asafali M Padiyath', 'IDL0004', '', '', 'Doha', '', 'Qatar', '0', '', '', 'Active'), (588, 1, ' Rajeev Rajan', 'IDL0005', '', '', 'Doha', '', 'Qatar', '0', '', '', 'Active'), (593, 1, ' Mary Nisansala Kumari Jayaweera', 'IDL0006', '', '', 'Doha', '', 'Qatat', '0', '', '', 'Active'), (598, 1, ' Aboo Navas', 'IDL0007', '', '', 'Doha', '', 'Qatar', '0', '', '', 'Active'), (603, 1, ' Amanulla Thenkayathil', 'IDL0008', '', '', 'Doha', '', 'Qatar', '0', '', '', 'Active'), (608, 1, 'Waleed Alabbady', 'IDL0009', '', '', 'Doha', '', 'Qatar', '0', '', '', 'Active'), (613, 0, 'Qatar Airways', 'CRP0044', '', '22550', 'Doha', '', 'Qatar', '44302500', '', '', 'Active'); -- -------------------------------------------------------- -- -- Table structure for table `customer_corporate` -- CREATE TABLE IF NOT EXISTS `customer_corporate` ( `customer_id` int(11) NOT NULL, `customer_group_name` varchar(100) NOT NULL, `customer_business_activity` varchar(100) NOT NULL, `customer_website` varchar(100) NOT NULL, PRIMARY KEY (`customer_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; -- -- Dumping data for table `customer_corporate` -- INSERT INTO `customer_corporate` (`customer_id`, `customer_group_name`, `customer_business_activity`, `customer_website`) VALUES (322, '', '', ''), (328, '', '', ''), (338, '', '', ''), (347, '', '', ''), (349, '', '', ''), (353, '', '', ''), (355, '', '', ''), (359, '', '', ''), (361, '', '', ''), (389, '', '', ''), (394, '', '', ''), (400, '', '', ''), (408, '', '', ''), (438, '', '', ''), (443, '', '', ''), (448, '', '', ''), (453, '', '', ''), (469, '', '', ''), (477, '', '', ''), (482, '', '', ''), (504, '', '', ''), (510, '', '', ''), (512, '', '', ''), (514, '', '', ''), (516, '', '', ''), (521, '', '', ''), (523, '', '', ''), (525, 'Qatar Airways', '', ''), (527, '', '', ''), (529, '', '', ''), (531, '', '', ''), (533, '', '', ''), (535, '', '', ''), (539, '', '', ''), (542, '', '', ''), (551, '', '', ''), (557, '', '', ''), (560, '', '', ''), (569, '', '', ''), (571, '', '', ''), (613, '', '', ''); -- -------------------------------------------------------- -- -- Table structure for table `customer_corporate_contacts` -- CREATE TABLE IF NOT EXISTS `customer_corporate_contacts` ( `customer_corporate_contacts_id` int(11) NOT NULL AUTO_INCREMENT, `customer_id` int(11) NOT NULL, `contact_name` varchar(100) NOT NULL, `contact_mobile` varchar(25) NOT NULL, `contact_email` varchar(50) NOT NULL, `contact_phone` varchar(25) NOT NULL, `contact_designation` varchar(150) NOT NULL, PRIMARY KEY (`customer_corporate_contacts_id`), KEY `customer_id_2` (`customer_id`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=158 ; -- -- Dumping data for table `customer_corporate_contacts` -- INSERT INTO `customer_corporate_contacts` (`customer_corporate_contacts_id`, `customer_id`, `contact_name`, `contact_mobile`, `contact_email`, `contact_phone`, `contact_designation`) VALUES (4, 322, 'Jigar Shah', '', '', '', 'General Manager'), (71, 349, 'Mohammed Rifdy ', '55549505', 'rifdy@qatar.net.qa', '44431834', 'Sales Manager'), (72, 349, 'Anas .U.A', '55182981', 'anas@electraqatar', '44431834', 'Marketing Manager'), (85, 338, 'Safeer', '66112004', '', '', 'General Manager'), (86, 347, 'Georgy C.Joy', ' 6663 5308', 'georgy@technosteel.com.qa', ' 4476 4409', 'Sales Engineer'), (100, 361, 'Thomas Donbosco', '6600 1330', 'thomas@horeitiaglobal.net', '4467 2963', 'Marketing Executive'), (101, 361, 'Ullas K B', '5587 6463', 'ullas@horeitiaglobal.net', '4467 2963', 'Marketing Executive'), (102, 361, 'Joshua Daniel George', ' 6645 5911', 'joshua@horeitiaglobal.net', '4466 2963', 'Marketing Executive'), (103, 361, 'Dhiraj K', '5584 6966', 'dhiraj@horeitiaglobal.net', '4467 2963', 'Marketing Executive'), (104, 361, 'Basily George', '6675 5754', 'basily@horeitiaglobal.net', '4467 2963', 'Marketing Executive'), (105, 359, 'Vinesh George', '70200046', 'vinesh@galfarqatar.com.qa', '44677518', 'Executive Misnad Engg. & Contg. W.L.L'), (107, 355, 'Gladson James', ' 7036 2989', 'gladson@prismatgroup.com', '', 'Sales Executive'), (108, 353, 'Safeer TP', '66112004', 'safeer.tp@alsafahospital.com', '44322448', 'General Manager'), (109, 353, 'Rajesh PR', '33449097', 'sales@alsafahospital.com', '44426948', 'Business development Manager'), (110, 353, 'Niroop M', '66934505', 'admin@alsafahospital.com', '44426948', 'Hospital Administrator'), (111, 328, 'Dinesh', '', '', '', ''), (112, 389, 'Jerry Babu Basheer', '55196752', 'jerrybabu@savoyglobal.net', '44323006', 'Chief Executive Officer'), (114, 400, 'Shalima Ahmad', '55599851', 'best.doha@yahoo.com', '44786837', 'Principal'), (115, 408, 'Karthik', '55543047', 'karthik@petrofac-qatar.com', '44478800', 'General Manager'), (119, 443, 'Rammohan M. Rai ', '55839304', 'rrai@qapco.com.qa', '44777232', 'L&D Coordinator '), (120, 448, 'V.V. Aboo Backer Bavu ', '55512329', '', '', 'CEO '), (121, 453, 'K. Thayalan ', '55837094', 'thayalan@kailayapillai@cplmg.com', '44289299', 'Finance Manager '), (122, 469, 'Thanveer Salam ', '55705363', 'thanveer@petroserv-limited.com', '44190307', ''), (123, 477, 'Hassan Raza', '66603780', 'hassanraza@viventumqatar.com', '44662051', 'Divisional Manager'), (124, 482, 'Shani', '', '', '44620901', ''), (128, 510, 'Asim Mirza', '', '', '', ''), (129, 512, 'Nareeman', '', '', '44353120', 'Admin'), (132, 516, 'Aqueel Ahmed', '66637664', ' aahmed@km.com.qa', '', 'HR Dept'), (133, 521, 'Mohamed Iqbal.k', '66829452', 'iqbal.hameed@amirafoods.com', '', 'Sales Manager'), (134, 523, 'Johnson savariyappan', '77523526', 'johnson.savariyappan@gulfwarehousing.com', '', 'Human Resource Executive '), (135, 514, 'Jenny Antony', '55820181', 'jennyantony@qatar.net.qa', '', 'Managing Director'), (136, 514, 'Maria Yves A.Florendo', '55854382', 'sales@weserve.com.qa', '', 'Business Development Manager'), (140, 438, 'Kumara Badhuge ', '55920221', '', '', ''), (141, 529, 'Rajeev Ghakar', '5513677', 'gakhar29@gmail.com', '44318132', 'General Manager'), (142, 527, 'Fatema Rashid Said Al Saidi', '', 'falsaidi@qu.edu.qa', '', 'Human resources'), (143, 527, 'Nouf Abdelhameed M K Al-Kubaisi', '', ' n.alkubaisi@qu.edu.qa', '4403-3279', 'Human Resources'), (144, 527, ' Neda Asadollah Roohandeh', '', '', '44033884', ' Senior Career Councilor'), (145, 531, 'Maryam Al Ali', '55535579', 'maryamalali@qfcw', '', 'Director'), (146, 533, ' Helen Fernandez', ' 4494 9666', ' hfernandez@milaha.com', '', ' Training Coordinator'), (147, 535, 'Lakshmi Narayanan s', '55898103', 'lakshmi.n@qataruaeexchange.com.qa', '', 'General Manager'), (149, 551, 'Nihad Ali', '55806699', 'nihadali@group10inl.com', '44170437', 'Project Manager'), (150, 557, 'Zafar Khan', ' 66830306', ' zafarkhan.a@gmail.com', '', 'CEO'), (151, 560, 'Mohideen Pakeer', '33206708', 'mohideen.r@alijaah.com', '44100413', 'Officer-Procurement'), (153, 539, 'Moosa', '55548647', '', '', ''), (154, 569, 'Amanulla Vadakkangara', '5526275', 'ceo@mediaplus.com.qa', '4324853', 'CEO'), (155, 571, 'Moosa Kutty Olakara', '55548647', 'moosa.gicc@galadarigroup.com', '44363290', 'Manager Operations'), (156, 504, 'Shanavas C. S', ' 5541 0427', ' shanavas.cs@shalmana.net', ' 4428 3333', 'Sales Executive'), (157, 613, 'Mark Dickson', '5556 0938', 'mdickson@qatarairwas.com.qa', '', 'Senior Manager Group Learning & Dovelopment'); -- -------------------------------------------------------- -- -- Table structure for table `customer_file` -- CREATE TABLE IF NOT EXISTS `customer_file` ( `id` int(11) NOT NULL AUTO_INCREMENT, `customer_id` int(20) NOT NULL, `file_name` varchar(50) NOT NULL, `file_location` varchar(250) NOT NULL, PRIMARY KEY (`id`), KEY `customer_id` (`customer_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; -- -------------------------------------------------------- -- -- Table structure for table `customer_personal` -- CREATE TABLE IF NOT EXISTS `customer_personal` ( `customer_id` int(11) NOT NULL, `customer_dob` date NOT NULL, `customer_gender` enum('Male','Female') NOT NULL, `customer_profession` varchar(100) NOT NULL, `customer_marital_status` enum('Single','Married') NOT NULL, PRIMARY KEY (`customer_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; -- -- Dumping data for table `customer_personal` -- INSERT INTO `customer_personal` (`customer_id`, `customer_dob`, `customer_gender`, `customer_profession`, `customer_marital_status`) VALUES (461, '0000-00-00', '', '', ''), (563, '0000-00-00', '', '', ''), (578, '0000-00-00', '', '', ''), (583, '0000-00-00', '', '', ''), (588, '0000-00-00', '', '', ''), (593, '0000-00-00', '', '', ''), (598, '0000-00-00', '', '', ''), (603, '0000-00-00', '', '', ''), (608, '0000-00-00', '', '', ''); -- -------------------------------------------------------- -- -- Table structure for table `customer_transaction` -- CREATE TABLE IF NOT EXISTS `customer_transaction` ( `customer_transaction_id` int(11) NOT NULL AUTO_INCREMENT, `ref_id` int(11) NOT NULL, `transaction_date` date NOT NULL, `customer_account_code` varchar(20) NOT NULL, `memo` mediumtext NOT NULL, `amount` double NOT NULL, `allocated` double NOT NULL, PRIMARY KEY (`customer_transaction_id`), KEY `ref_id` (`ref_id`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=25 ; -- -- Dumping data for table `customer_transaction` -- INSERT INTO `customer_transaction` (`customer_transaction_id`, `ref_id`, `transaction_date`, `customer_account_code`, `memo`, `amount`, `allocated`) VALUES (1, 341, '2012-05-20', 'CRP0002', '', 5000, 0), (2, 342, '2012-05-20', 'CRP0002', '', 2000, 0), (3, 344, '2012-05-20', 'CRP0002', '', -2000, 0), (4, 343, '2012-05-20', 'CRP0002', '', -5000, 0), (5, 345, '2012-05-20', 'CRP0002', '', -5000, 0), (6, 346, '2012-05-20', 'CRP0002', '', -2000, 0), (7, 490, '2012-05-23', 'CRP0001', '', -1000, 0), (8, 491, '2012-05-23', 'CRP0005', '', -2250, 0), (9, 492, '2012-05-23', 'CRP0006', '', -1000, 0), (10, 493, '2012-05-23', 'CRP0012', '', -5000, 0), (11, 494, '2012-05-23', 'CRP0015', '', -3000, 0), (12, 495, '2012-05-23', 'CRP0017', '', -2000, 0), (13, 496, '2012-05-23', 'CRP0019', '', -1500, 0), (14, 497, '2012-05-23', 'CRP0020', '', -1000, 0), (15, 498, '2012-05-23', 'CRP0021', '', -1500, 0), (16, 547, '2012-06-13', 'CRP0038', '', 9000, 0), (17, 548, '2012-06-13', 'CRP0038', '', 9000, 0), (18, 549, '2012-06-13', 'CRP0038', '', -9000, 0), (19, 550, '2012-06-13', 'CRP0038', '', -9000, 0), (20, 559, '2012-06-25', 'CRP0011', '', -10000, 0), (21, 615, '2012-06-13', 'CRP0038', '', -9000, 0), (22, 618, '2012-06-13', 'CRP0038', '', -9000, 0), (23, 619, '2012-07-01', 'CRP0031', '', -250, 0), (24, 621, '2012-07-04', 'CRP0014', '', -2025, 0); -- -------------------------------------------------------- -- -- Table structure for table `daily_activity` -- CREATE TABLE IF NOT EXISTS `daily_activity` ( `daily_activity_id` int(11) NOT NULL, `employee_id` int(11) NOT NULL, `activity_date` date NOT NULL, `remarks` text NOT NULL, PRIMARY KEY (`daily_activity_id`), KEY `employee_id` (`employee_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; -- -------------------------------------------------------- -- -- Table structure for table `daily_activity_details` -- CREATE TABLE IF NOT EXISTS `daily_activity_details` ( `id` int(11) NOT NULL AUTO_INCREMENT, `daily_activity_id` int(11) NOT NULL, `customer_name` varchar(200) NOT NULL, `contact_person_name` varchar(200) NOT NULL, `time` varchar(20) NOT NULL, `contact_no` varchar(30) NOT NULL, `remarks` text NOT NULL, PRIMARY KEY (`id`), KEY `daily_activity_id` (`daily_activity_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; -- -------------------------------------------------------- -- -- Table structure for table `department` -- CREATE TABLE IF NOT EXISTS `department` ( `department_id` int(11) NOT NULL AUTO_INCREMENT, `department_name` varchar(100) NOT NULL, PRIMARY KEY (`department_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=4 ; -- -- Dumping data for table `department` -- INSERT INTO `department` (`department_id`, `department_name`) VALUES (1, 'Management'), (2, 'Finance'), (3, 'Administration'); -- -------------------------------------------------------- -- -- Table structure for table `designation` -- CREATE TABLE IF NOT EXISTS `designation` ( `designation_id` int(11) NOT NULL AUTO_INCREMENT, `designation_name` varchar(100) NOT NULL, PRIMARY KEY (`designation_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=5 ; -- -- Dumping data for table `designation` -- INSERT INTO `designation` (`designation_id`, `designation_name`) VALUES (1, 'CEO'), (2, 'Head - Training'), (3, 'Director'), (4, 'Adminstration'); -- -------------------------------------------------------- -- -- Table structure for table `document` -- CREATE TABLE IF NOT EXISTS `document` ( `document_id` int(11) NOT NULL, `document_category_id` int(11) NOT NULL, `document_name` varchar(100) NOT NULL, `description` text NOT NULL, `file_path` varchar(100) NOT NULL, PRIMARY KEY (`document_id`), KEY `document_category_id` (`document_category_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; -- -------------------------------------------------------- -- -- Table structure for table `document_category` -- CREATE TABLE IF NOT EXISTS `document_category` ( `document_category_id` int(11) NOT NULL AUTO_INCREMENT, `document_category_name` varchar(100) NOT NULL, PRIMARY KEY (`document_category_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=4 ; -- -- Dumping data for table `document_category` -- INSERT INTO `document_category` (`document_category_id`, `document_category_name`) VALUES (1, 'Official'), (3, 'Unofficial'); -- -------------------------------------------------------- -- -- Table structure for table `employee` -- CREATE TABLE IF NOT EXISTS `employee` ( `employee_id` int(11) NOT NULL, `employee_no` varchar(20) NOT NULL, `employee_name` varchar(200) NOT NULL, `employee_gender` enum('Male','Female') NOT NULL, `employee_dob` date NOT NULL, `employee_nationality` varchar(60) NOT NULL, `employee_branch_id` int(11) NOT NULL, `employee_designation_id` int(11) NOT NULL, `employee_department_id` int(11) NOT NULL, `employee_grade_id` int(11) NOT NULL, `employee_status_id` int(11) NOT NULL, `employee_local_address` text NOT NULL, `employee_permanent_address` text NOT NULL, `employee_contact_no` varchar(20) NOT NULL, `employee_email` varchar(50) NOT NULL, `employee_passport_no` varchar(50) NOT NULL, `employee_visa_type` varchar(100) NOT NULL, `employee_visa_expiry_date` date NOT NULL, `employee_labour_card_no` varchar(100) NOT NULL, `employee_labour_card_expiry_date` date NOT NULL, `employee_reporting_to` int(11) NOT NULL, PRIMARY KEY (`employee_id`), KEY `employee_designation_id` (`employee_designation_id`), KEY `employee_status_id` (`employee_status_id`), KEY `employee_grade_id` (`employee_grade_id`), KEY `employee_department_id` (`employee_department_id`), KEY `employee_branch_id` (`employee_branch_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; -- -- Dumping data for table `employee` -- INSERT INTO `employee` (`employee_id`, `employee_no`, `employee_name`, `employee_gender`, `employee_dob`, `employee_nationality`, `employee_branch_id`, `employee_designation_id`, `employee_department_id`, `employee_grade_id`, `employee_status_id`, `employee_local_address`, `employee_permanent_address`, `employee_contact_no`, `employee_email`, `employee_passport_no`, `employee_visa_type`, `employee_visa_expiry_date`, `employee_labour_card_no`, `employee_labour_card_expiry_date`, `employee_reporting_to`) VALUES (1, 'EMP001', 'Jerry Babu Basheer', 'Male', '1980-04-04', '', 1, 1, 3, 1, 1, '', '', '998541651651', '', '', '', '0000-00-00', '', '0000-00-00', 0), (321, 'EMP002', 'Mohamed Ajmal', 'Male', '1985-05-17', '', 1, 2, 1, 2, 1, '', '', '66147458', '', '', '', '0000-00-00', '', '0000-00-00', 0), (336, 'EMP003', 'Jessica Sajan', 'Female', '1972-03-04', '', 1, 3, 1, 1, 1, '', '', '55196752', '', '', '', '0000-00-00', '', '0000-00-00', 0), (340, 'EMP004', 'Sherin TP', 'Female', '1993-11-01', '', 1, 4, 3, 2, 1, '', '', '1', '', '', '', '0000-00-00', '', '0000-00-00', 0); -- -------------------------------------------------------- -- -- Table structure for table `employeecustomer` -- CREATE TABLE IF NOT EXISTS `employeecustomer` ( `employeecustomer_id` int(11) NOT NULL, `customer_allocation_date` date NOT NULL, `customer_id` int(11) NOT NULL, `description` text NOT NULL, `employee_id` int(11) NOT NULL, PRIMARY KEY (`employeecustomer_id`), KEY `customer_id` (`customer_id`), KEY `employee_id` (`employee_id`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `employeecustomer` -- INSERT INTO `employeecustomer` (`employeecustomer_id`, `customer_allocation_date`, `customer_id`, `description`, `employee_id`) VALUES (323, '2012-05-18', 322, '', 1), (329, '2012-05-18', 328, '', 1), (339, '2012-05-19', 338, '', 1), (348, '2012-05-20', 347, '', 1), (350, '2012-05-20', 349, '', 1), (354, '2012-05-20', 353, '', 1), (356, '2012-05-20', 355, '', 1), (360, '2012-05-20', 359, '', 1), (362, '2012-05-20', 361, '', 1), (390, '2012-05-22', 389, '', 1), (395, '2012-05-22', 394, '', 1), (401, '2012-05-22', 400, '', 1), (409, '2012-05-23', 408, '', 1), (439, '2012-05-23', 438, '', 1), (444, '2012-05-23', 443, '', 1), (449, '2012-05-23', 448, '', 1), (454, '2012-05-23', 453, '', 1), (462, '2012-05-23', 461, '', 1), (470, '2012-05-23', 469, '', 1), (478, '2012-05-23', 477, '', 1), (483, '2012-05-23', 482, '', 1), (505, '2012-05-29', 504, '', 1), (511, '2012-05-29', 510, '', 1), (513, '2012-05-29', 512, '', 1), (515, '2012-05-29', 514, '', 1), (517, '2012-05-30', 516, '', 1), (522, '2012-05-30', 521, '', 1), (524, '2012-05-30', 523, '', 1), (526, '2012-05-31', 525, '', 1), (528, '2012-06-02', 527, '', 1), (530, '2012-06-02', 529, '', 1), (532, '2012-06-03', 531, '', 1), (534, '2012-06-03', 533, '', 1), (536, '2012-06-03', 535, '', 1), (540, '2012-06-09', 539, '', 1), (543, '2012-06-10', 542, '', 1), (552, '2012-06-19', 551, '', 1), (558, '2012-06-25', 557, '', 1), (561, '2012-06-27', 560, '', 1), (564, '2012-06-28', 563, '', 1), (570, '2012-07-01', 569, '', 1), (572, '2012-07-01', 571, '', 1), (579, '2012-07-01', 578, 'Argon Global', 1), (584, '2012-07-01', 583, 'Baker Hughes', 1), (589, '2012-07-01', 588, 'MES Indian School', 1), (594, '2012-07-01', 593, 'Srilankan School', 1), (599, '2012-07-01', 598, 'Quality Group', 1), (604, '2012-07-01', 603, 'Media Plus', 1), (609, '2012-07-01', 608, '', 1), (614, '2012-07-01', 613, '', 1); -- -------------------------------------------------------- -- -- Table structure for table `employee_additional_certification` -- CREATE TABLE IF NOT EXISTS `employee_additional_certification` ( `employee_id` int(11) NOT NULL, `course` varchar(100) NOT NULL, `institute` varchar(100) NOT NULL, `yearofpassing` year(4) NOT NULL, KEY `employee_id` (`employee_id`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `employee_additional_certification` -- INSERT INTO `employee_additional_certification` (`employee_id`, `course`, `institute`, `yearofpassing`) VALUES (321, '', '', 0000), (336, '', '', 0000); -- -------------------------------------------------------- -- -- Table structure for table `employee_educational_qualification` -- CREATE TABLE IF NOT EXISTS `employee_educational_qualification` ( `employee_id` int(11) NOT NULL, `course` varchar(100) NOT NULL, `university` varchar(50) NOT NULL, `yearofpassing` year(4) NOT NULL, KEY `employee_id` (`employee_id`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `employee_educational_qualification` -- INSERT INTO `employee_educational_qualification` (`employee_id`, `course`, `university`, `yearofpassing`) VALUES (321, '', '', 0000), (336, '', '', 0000); -- -------------------------------------------------------- -- -- Table structure for table `employee_file` -- CREATE TABLE IF NOT EXISTS `employee_file` ( `id` int(11) NOT NULL AUTO_INCREMENT, `employee_id` int(20) NOT NULL, `file_name` varchar(50) NOT NULL, `file_location` varchar(250) NOT NULL, PRIMARY KEY (`id`), KEY `employee_id` (`employee_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; -- -------------------------------------------------------- -- -- Table structure for table `employee_professional_experience` -- CREATE TABLE IF NOT EXISTS `employee_professional_experience` ( `employee_id` int(11) NOT NULL, `employer` varchar(100) NOT NULL, `designation` varchar(100) NOT NULL, `period` varchar(20) NOT NULL, KEY `employee_id` (`employee_id`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `employee_professional_experience` -- INSERT INTO `employee_professional_experience` (`employee_id`, `employer`, `designation`, `period`) VALUES (321, '', '', ''), (336, '', '', ''); -- -------------------------------------------------------- -- -- Table structure for table `employee_salary` -- CREATE TABLE IF NOT EXISTS `employee_salary` ( `employee_salary_id` int(11) NOT NULL, `employee_id` int(11) NOT NULL, `wef_date` date NOT NULL, `basic_salary` varchar(30) NOT NULL, `from_ticket` varchar(100) NOT NULL, `to_ticket` varchar(100) NOT NULL, `return_ticket` int(11) NOT NULL, `no_tickets` int(11) NOT NULL, `currency_type` int(11) NOT NULL, `payment_method` varchar(8) NOT NULL, PRIMARY KEY (`employee_salary_id`), KEY `employee_id` (`employee_id`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -------------------------------------------------------- -- -- Table structure for table `employee_salary_allowdeduc` -- CREATE TABLE IF NOT EXISTS `employee_salary_allowdeduc` ( `employee_salary_id` int(11) NOT NULL, `allowdeduc_id` int(11) NOT NULL, `amount` double NOT NULL, KEY `employee_salary_id` (`employee_salary_id`), KEY `allowdeduc_id` (`allowdeduc_id`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -------------------------------------------------------- -- -- Table structure for table `employee_salary_medical` -- CREATE TABLE IF NOT EXISTS `employee_salary_medical` ( `employee_salary_id` int(11) NOT NULL, `type` varchar(100) NOT NULL, `company` varchar(100) NOT NULL, `policy` varchar(20) NOT NULL, `plan` varchar(100) NOT NULL, `sum` double NOT NULL, KEY `employee_salary_id` (`employee_salary_id`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -------------------------------------------------------- -- -- Table structure for table `employee_salary_slip` -- CREATE TABLE IF NOT EXISTS `employee_salary_slip` ( `employee_salary_slip_id` int(11) NOT NULL, `employee_id` int(11) NOT NULL, `salary_date` date NOT NULL, `pay_date` date NOT NULL, `basic_salary` double NOT NULL, `allowance_amount` double NOT NULL, `deduction_amount` double NOT NULL, `net_payment` double NOT NULL, `commission_amount` double NOT NULL, `paid_amount` double NOT NULL, `unpost` int(11) NOT NULL DEFAULT '1', PRIMARY KEY (`employee_salary_slip_id`), KEY `employee_id` (`employee_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; -- -------------------------------------------------------- -- -- Table structure for table `employee_salary_slip_allowdeduc` -- CREATE TABLE IF NOT EXISTS `employee_salary_slip_allowdeduc` ( `id` int(11) NOT NULL AUTO_INCREMENT, `employee_salary_slip_id` int(11) NOT NULL, `allowdeduc_id` int(11) NOT NULL, `amount` double NOT NULL, PRIMARY KEY (`id`), KEY `allowdeduc_id` (`allowdeduc_id`), KEY `employee_salary_slip_id` (`employee_salary_slip_id`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ; -- -------------------------------------------------------- -- -- Table structure for table `employee_target` -- CREATE TABLE IF NOT EXISTS `employee_target` ( `employee_target_id` int(11) NOT NULL, `employee_id` int(11) NOT NULL, `start_date` date NOT NULL, `end_date` date NOT NULL, `target` varchar(200) NOT NULL, `currency_id` int(11) NOT NULL, `target_type` varchar(30) NOT NULL, `remarks` text NOT NULL, PRIMARY KEY (`employee_target_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; -- -------------------------------------------------------- -- -- Table structure for table `expense_category` -- CREATE TABLE IF NOT EXISTS `expense_category` ( `expense_category_id` int(11) NOT NULL AUTO_INCREMENT, `expense_category_name` varchar(250) NOT NULL, PRIMARY KEY (`expense_category_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=7 ; -- -- Dumping data for table `expense_category` -- INSERT INTO `expense_category` (`expense_category_id`, `expense_category_name`) VALUES (4, 'Venue Rent'), (5, 'Trainer Fee'), (6, 'Mis Expenses'); -- -------------------------------------------------------- -- -- Table structure for table `fiscal_year` -- CREATE TABLE IF NOT EXISTS `fiscal_year` ( `fiscal_year_id` int(11) NOT NULL AUTO_INCREMENT, `fiscal_year_start` date NOT NULL, `fiscal_year_end` date NOT NULL, `closed` int(11) NOT NULL DEFAULT '0', PRIMARY KEY (`fiscal_year_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=2 ; -- -- Dumping data for table `fiscal_year` -- INSERT INTO `fiscal_year` (`fiscal_year_id`, `fiscal_year_start`, `fiscal_year_end`, `closed`) VALUES (1, '2012-04-01', '2013-03-31', 0); -- -------------------------------------------------------- -- -- Table structure for table `gl_trans` -- CREATE TABLE IF NOT EXISTS `gl_trans` ( `gl_trans_id` int(11) NOT NULL AUTO_INCREMENT, `ref_id` int(11) NOT NULL, `transaction_date` date NOT NULL, `account_code` varchar(20) NOT NULL, `memo` text NOT NULL, `amount` double NOT NULL, PRIMARY KEY (`gl_trans_id`), KEY `ref_id` (`ref_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=399 ; -- -- Dumping data for table `gl_trans` -- INSERT INTO `gl_trans` (`gl_trans_id`, `ref_id`, `transaction_date`, `account_code`, `memo`, `amount`) VALUES (237, 327, '2012-05-18', 'CRP0001', '', 1000), (238, 327, '2012-05-18', '200003', '', -1000), (241, 337, '2012-05-19', 'CRP0002', '', 2000), (242, 337, '2012-05-19', '200003', '', -2000), (243, 341, '2012-05-20', 'CRP0002', '', 5000), (244, 341, '2012-05-20', '100010', '', -5000), (245, 342, '2012-05-20', 'CRP0002', '', 2000), (246, 342, '2012-05-20', '100010', '', -2000), (247, 344, '2012-05-20', 'CRP0002', '', -2000), (248, 344, '2012-05-20', '100010', '', 2000), (250, 343, '2012-05-20', 'CRP0002', '', -5000), (251, 343, '2012-05-20', '100010', '', 5000), (253, 345, '2012-05-20', 'CRP0002', '', -5000), (254, 345, '2012-05-20', '100010', '', 5000), (255, 346, '2012-05-20', 'CRP0002', '', -2000), (256, 346, '2012-05-20', '100010', '', 2000), (257, 367, '2012-05-21', 'CRP0012', '', 5000), (258, 367, '2012-05-21', '200003', '', -5000), (259, 370, '2012-05-21', 'CRP0005', '', 1000), (260, 370, '2012-05-21', '200003', '', -1000), (261, 373, '2012-05-21', 'CRP0008', '', 1000), (262, 373, '2012-05-21', '200003', '', -1000), (263, 377, '2012-05-21', 'CRP0006', '', 1000), (264, 377, '2012-05-21', '200003', '', -1000), (273, 393, '2012-05-22', 'CRP0013', '', 0), (274, 393, '2012-05-22', '200003', '', 0), (275, 399, '2012-05-22', 'CRP0014', '', 2025), (276, 399, '2012-05-22', '200019', '', -2025), (277, 405, '2012-05-22', 'CRP0015', '', 3000), (278, 405, '2012-05-22', '200021', '', -3000), (279, 412, '2012-05-23', 'CRP0016', '', 1500), (280, 412, '2012-05-23', '200001', '', -1500), (281, 415, '2012-05-23', 'CRP0008', '', 1250), (282, 415, '2012-05-23', '200001', '', -1250), (283, 418, '2012-05-23', 'CRP0004', '', 0), (284, 418, '2012-05-23', '200001', '', 0), (285, 421, '2012-05-23', 'CRP0016', '', 2000), (286, 421, '2012-05-23', '200001', '', -2000), (287, 425, '2012-05-23', 'CRP0016', '', 1500), (288, 425, '2012-05-23', '200020', '', -1500), (289, 428, '2012-05-23', 'CRP0002', '', 2000), (290, 428, '2012-05-23', '200020', '', -2000), (291, 431, '2012-05-23', 'CRP0008', '', 1500), (292, 431, '2012-05-23', '200020', '', -1500), (293, 433, '2012-05-23', 'CRP0004', '', 1000), (294, 433, '2012-05-23', '200003', '', -1000), (295, 435, '2012-05-23', 'CRP0016', '', -1500), (296, 435, '2012-05-23', '200001', '', 1500), (297, 437, '2012-05-23', 'CRP0011', '', 5000), (298, 437, '2012-05-23', '200001', '', -5000), (299, 442, '2012-05-23', 'CRP0017', '', 2000), (300, 442, '2012-05-23', '200020', '', -2000), (301, 447, '2012-05-23', 'CRP0018', '', 0), (302, 447, '2012-05-23', '200020', '', 0), (303, 452, '2012-05-23', 'CRP0019', '', 1500), (304, 452, '2012-05-23', '200020', '', -1500), (305, 457, '2012-05-23', 'CRP0020', '', 1000), (306, 457, '2012-05-23', '200020', '', -1000), (307, 460, '2012-05-23', 'CRP0013', '', 0), (308, 460, '2012-05-23', '200020', '', 0), (309, 465, '2012-05-23', 'IDL0001', '', 2000), (310, 465, '2012-05-23', '200020', '', -2000), (311, 468, '2012-05-23', 'CRP0011', '', 5000), (312, 468, '2012-05-23', '200020', '', -5000), (313, 473, '2012-05-23', 'CRP0021', '', 1500), (314, 473, '2012-05-23', '200001', '', -1500), (315, 476, '2012-05-23', 'CRP0005', '', 1250), (316, 476, '2012-05-23', '200001', '', -1250), (317, 481, '2012-05-23', 'CRP0022', '', 3000), (318, 481, '2012-05-23', '200001', '', -3000), (319, 486, '2012-05-23', 'CRP0023', '', 0), (320, 486, '2012-05-23', '200001', '', 0), (321, 489, '2012-05-23', 'CRP0002', '', 3000), (322, 489, '2012-05-23', '200001', '', -3000), (323, 490, '2012-05-23', 'CRP0001', '', -1000), (324, 490, '2012-05-23', '100010', '', 1000), (325, 491, '2012-05-23', 'CRP0005', '', -2250), (326, 491, '2012-05-23', '100010', '', 2250), (327, 492, '2012-05-23', 'CRP0006', '', -1000), (328, 492, '2012-05-23', '100010', '', 1000), (329, 493, '2012-05-23', 'CRP0012', '', -5000), (330, 493, '2012-05-23', '100010', '', 5000), (331, 494, '2012-05-23', 'CRP0015', '', -3000), (332, 494, '2012-05-23', '100010', '', 3000), (333, 495, '2012-05-23', 'CRP0017', '', -2000), (334, 495, '2012-05-23', '100010', '', 2000), (335, 496, '2012-05-23', 'CRP0019', '', -1500), (336, 496, '2012-05-23', '100010', '', 1500), (337, 497, '2012-05-23', 'CRP0020', '', -1000), (338, 497, '2012-05-23', '100010', '', 1000), (339, 498, '2012-05-23', 'CRP0021', '', -1500), (340, 498, '2012-05-23', '100010', '', 1500), (341, 499, '2012-05-23', 'IDL0001', '', -2000), (342, 499, '2012-05-23', '100010', '', 2000), (347, 509, '2012-05-29', 'CRP0024', '', 1000), (348, 509, '2012-05-29', '200001', '', -1000), (349, 520, '2012-05-30', 'CRP0027', '', 2600), (350, 520, '2012-05-30', '200001', '', -2600), (351, 546, '2012-06-13', 'CRP0038', '', 18000), (352, 546, '2012-06-13', '200022', '', -18000), (353, 547, '2012-06-13', 'CRP0038', '', 9000), (354, 547, '2012-06-13', '100010', '', -9000), (355, 548, '2012-06-13', 'CRP0038', '', 9000), (356, 548, '2012-06-13', '100010', '', -9000), (357, 549, '2012-06-13', 'CRP0038', '', -9000), (358, 549, '2012-06-13', '100010', '', 9000), (359, 550, '2012-06-13', 'CRP0038', '', -9000), (360, 550, '2012-06-13', '100010', '', 9000), (361, 555, '2012-06-19', 'CRP0031', '', 250), (362, 555, '2012-06-19', '200001', '', -250), (363, 556, '2012-06-19', 'CRP0008', '', 1250), (364, 556, '2012-06-19', '200001', '', -1250), (365, 559, '2012-06-25', 'CRP0011', '', -10000), (366, 559, '2012-06-25', '100010', '', 10000), (367, 568, '2012-06-30', 'CRP0037', '', 7700), (368, 568, '2012-06-30', '200001', '', -7700), (369, 575, '2012-07-01', 'CRP0011', '', 1700), (370, 575, '2012-07-01', '200001', '', -1700), (371, 577, '2012-07-01', 'IDL0002', '', 0), (372, 577, '2012-07-01', '200001', '', 0), (373, 582, '2012-07-01', 'IDL0003', '', 0), (374, 582, '2012-07-01', '200001', '', 0), (375, 587, '2012-07-01', 'IDL0004', '', 0), (376, 587, '2012-07-01', '200001', '', 0), (377, 592, '2012-07-01', 'IDL0005', '', 0), (378, 592, '2012-07-01', '200001', '', 0), (379, 597, '2012-07-01', 'CRP0014', '', 0), (380, 597, '2012-07-01', '200001', '', 0), (381, 602, '2012-07-01', 'IDL0007', '', 0), (382, 602, '2012-07-01', '200001', '', 0), (383, 607, '2012-07-01', 'IDL0008', '', 0), (384, 607, '2012-07-01', '200001', '', 0), (385, 612, '2012-07-01', 'IDL0009', '', 500), (386, 612, '2012-07-01', '200001', '', -500), (387, 615, '2012-06-13', 'CRP0038', '', -9000), (388, 615, '2012-06-13', '100010', '', 9000), (390, 618, '2012-06-13', 'CRP0038', '', -9000), (391, 618, '2012-06-13', '100010', '', 9000), (393, 619, '2012-07-01', 'CRP0031', '', -250), (394, 619, '2012-07-01', '100010', '', 250), (395, 620, '2012-07-01', 'IDL0009', '', -500), (396, 620, '2012-07-01', '100010', '', 500), (397, 621, '2012-07-04', 'CRP0014', '', -2025), (398, 621, '2012-07-04', '100010', '', 2025); -- -------------------------------------------------------- -- -- Table structure for table `grade` -- CREATE TABLE IF NOT EXISTS `grade` ( `grade_id` int(11) NOT NULL AUTO_INCREMENT, `grade_name` varchar(100) NOT NULL, PRIMARY KEY (`grade_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=3 ; -- -- Dumping data for table `grade` -- INSERT INTO `grade` (`grade_id`, `grade_name`) VALUES (1, 'A'), (2, 'B'); -- -------------------------------------------------------- -- -- Table structure for table `holiday` -- CREATE TABLE IF NOT EXISTS `holiday` ( `holiday_id` int(11) NOT NULL AUTO_INCREMENT, `holiday_name` varchar(100) NOT NULL, PRIMARY KEY (`holiday_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=3 ; -- -- Dumping data for table `holiday` -- INSERT INTO `holiday` (`holiday_id`, `holiday_name`) VALUES (1, 'Summer Vacation'), (2, 'Vacation'); -- -------------------------------------------------------- -- -- Table structure for table `leave_allocation` -- CREATE TABLE IF NOT EXISTS `leave_allocation` ( `leave_allocation_id` int(11) NOT NULL, `employee_id` int(11) NOT NULL, `leave_allocation_year` year(4) NOT NULL, PRIMARY KEY (`leave_allocation_id`), KEY `employee_id` (`employee_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; -- -------------------------------------------------------- -- -- Table structure for table `leave_allocation_detail` -- CREATE TABLE IF NOT EXISTS `leave_allocation_detail` ( `leave_allocation_id` int(11) NOT NULL, `leave_type_id` int(11) NOT NULL, `leave_allocation_days` int(11) NOT NULL, KEY `leave_allocation_id` (`leave_allocation_id`), KEY `leave_type_id` (`leave_type_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; -- -------------------------------------------------------- -- -- Table structure for table `leave_application` -- CREATE TABLE IF NOT EXISTS `leave_application` ( `leave_application_id` int(11) NOT NULL, `employee_id` int(11) NOT NULL, `leave_type_id` int(11) NOT NULL, `from_date` date NOT NULL, `to_date` date NOT NULL, `remarks` text NOT NULL, `leave_status` varchar(100) NOT NULL DEFAULT 'Pending', PRIMARY KEY (`leave_application_id`), KEY `employee_id` (`employee_id`), KEY `leave_type_id` (`leave_type_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; -- -------------------------------------------------------- -- -- Table structure for table `leave_type` -- CREATE TABLE IF NOT EXISTS `leave_type` ( `leave_type_id` int(11) NOT NULL AUTO_INCREMENT, `leave_type_name` varchar(100) NOT NULL, PRIMARY KEY (`leave_type_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=4 ; -- -- Dumping data for table `leave_type` -- INSERT INTO `leave_type` (`leave_type_id`, `leave_type_name`) VALUES (1, 'Annual Leave'), (2, 'Emergency Leave'), (3, 'Sick Leave'); -- -------------------------------------------------------- -- -- Table structure for table `login_details` -- CREATE TABLE IF NOT EXISTS `login_details` ( `id` int(11) NOT NULL AUTO_INCREMENT, `username` varchar(30) DEFAULT NULL, `password` varchar(32) DEFAULT NULL, `login_time` datetime NOT NULL, `faillog_count` varchar(11) DEFAULT NULL, `userid` varchar(11) DEFAULT NULL, `failing_time` datetime NOT NULL, `ip_address` varchar(16) NOT NULL, `status` varchar(8) NOT NULL, PRIMARY KEY (`id`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=301 ; -- -- Dumping data for table `login_details` -- INSERT INTO `login_details` (`id`, `username`, `password`, `login_time`, `faillog_count`, `userid`, `failing_time`, `ip_address`, `status`) VALUES (1, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2012-05-11 14:18:44', NULL, '1', '0000-00-00 00:00:00', '192.168.1.118', 'Success'), (2, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2012-05-11 18:31:10', NULL, '1', '0000-00-00 00:00:00', '192.168.1.118', 'Success'), (3, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2012-05-12 09:54:21', NULL, '1', '0000-00-00 00:00:00', '127.0.0.1', 'Success'), (4, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2012-05-12 10:08:22', NULL, '1', '0000-00-00 00:00:00', '192.168.1.118', 'Success'), (5, 'admin', 'admi', '2012-05-12 11:06:03', NULL, '1', '2012-05-12 11:06:03', '192.168.1.115', 'failed'), (6, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2012-05-12 11:06:09', NULL, '1', '0000-00-00 00:00:00', '192.168.1.115', 'Success'), (7, 'admin', 'test1', '2012-05-12 11:35:38', NULL, '1', '2012-05-12 11:35:38', '192.168.1.118', 'failed'), (8, 'admin', 'sgms', '2012-05-12 11:35:40', NULL, '1', '2012-05-12 11:35:40', '192.168.1.118', 'failed'), (9, 'admin', 'test1', '2012-05-12 11:35:42', NULL, '1', '2012-05-12 11:35:42', '192.168.1.118', 'failed'), (10, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2012-05-12 11:35:44', NULL, '1', '0000-00-00 00:00:00', '192.168.1.118', 'Success'), (11, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2012-05-12 11:40:53', NULL, '1', '0000-00-00 00:00:00', '192.168.1.115', 'Success'), (12, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2012-05-12 12:27:31', NULL, '1', '0000-00-00 00:00:00', '192.168.1.118', 'Success'), (13, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2012-05-12 13:36:12', NULL, '1', '0000-00-00 00:00:00', '192.168.1.115', 'Success'), (14, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2012-05-12 15:38:27', NULL, '1', '0000-00-00 00:00:00', '192.168.1.118', 'Success'), (15, 'shan', '3e119ab537d3c4cc0c31b9277bfd785e', '2012-05-12 17:09:10', NULL, '7', '0000-00-00 00:00:00', '192.168.1.118', 'Success'), (16, 'shan', '3e119ab537d3c4cc0c31b9277bfd785e', '2012-05-12 17:09:48', NULL, '7', '0000-00-00 00:00:00', '192.168.1.118', 'Success'), (17, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2012-05-12 17:10:08', NULL, '1', '0000-00-00 00:00:00', '192.168.1.118', 'Success'), (18, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2012-05-14 15:44:12', NULL, '1', '0000-00-00 00:00:00', '192.168.1.118', 'Success'), (19, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2012-05-14 15:52:55', NULL, '1', '0000-00-00 00:00:00', '127.0.0.1', 'Success'), (20, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2012-05-14 17:18:43', NULL, '1', '0000-00-00 00:00:00', '192.168.1.118', 'Success'), (21, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2012-05-15 09:53:49', NULL, '1', '0000-00-00 00:00:00', '127.0.0.1', 'Success'), (22, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2012-05-15 11:11:35', NULL, '1', '0000-00-00 00:00:00', '192.168.1.118', 'Success'), (23, 'reshma', 'a66cfd3d771703664d7ba768b8a7f835', '2012-05-15 11:14:30', NULL, '8', '0000-00-00 00:00:00', '192.168.1.118', 'Success'), (24, 'reshma', 'a66cfd3d771703664d7ba768b8a7f835', '2012-05-15 11:20:09', NULL, '8', '0000-00-00 00:00:00', '127.0.0.1', 'Success'), (25, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2012-05-15 11:44:10', NULL, '1', '0000-00-00 00:00:00', '127.0.0.1', 'Success'), (26, 'shan', '3e119ab537d3c4cc0c31b9277bfd785e', '2012-05-15 11:45:47', NULL, '7', '0000-00-00 00:00:00', '127.0.0.1', 'Success'), (27, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2012-05-15 11:48:36', NULL, '1', '0000-00-00 00:00:00', '127.0.0.1', 'Success'), (28, 'reshma', 'a66cfd3d771703664d7ba768b8a7f835', '2012-05-15 12:04:39', NULL, '8', '0000-00-00 00:00:00', '127.0.0.1', 'Success'), (29, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2012-05-15 12:46:27', NULL, '1', '0000-00-00 00:00:00', '192.168.1.118', 'Success'), (30, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2012-05-15 13:38:12', NULL, '1', '0000-00-00 00:00:00', '192.168.1.118', 'Success'), (31, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2012-05-15 16:55:59', NULL, '1', '0000-00-00 00:00:00', '192.168.1.118', 'Success'), (32, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2012-05-16 13:21:00', NULL, '1', '0000-00-00 00:00:00', '192.168.1.118', 'Success'), (33, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2012-05-17 09:11:23', NULL, '1', '0000-00-00 00:00:00', '192.168.1.118', 'Success'), (34, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2012-05-17 09:25:11', NULL, '1', '0000-00-00 00:00:00', '192.168.1.118', 'Success'), (35, 'admin', 'sgms', '2012-05-17 14:09:49', NULL, '1', '2012-05-17 14:09:49', '122.167.200.193', 'failed'), (36, 'admin', 'sgms', '2012-05-17 14:09:54', NULL, '1', '2012-05-17 14:09:54', '122.167.200.193', 'failed'), (37, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2012-05-17 14:09:58', NULL, '1', '0000-00-00 00:00:00', '122.167.200.193', 'Success'), (38, 'admin', 'sgms', '2012-05-17 14:10:16', NULL, '1', '2012-05-17 14:10:16', '122.167.200.193', 'failed'), (39, 'admin', 'sgms', '2012-05-17 14:10:22', NULL, '1', '2012-05-17 14:10:22', '122.167.200.193', 'failed'), (40, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2012-05-17 14:10:26', NULL, '1', '0000-00-00 00:00:00', '122.167.200.193', 'Success'), (41, 'admin', '21232f297a57a5a743894a0e4a801fc3', '2012-05-17 14:12:42', NULL, '1', '0000-00-00 00:00:00', '122.167.200.193', 'Success'), (42, 'admin', 'c0d15e384cacae436f6f033ad30f0471', '2012-05-17 14:13:15', NULL, '1', '0000-00-00 00:00:00', '122.167.200.193', 'Success'), (43, 'admin', 'c0d15e384cacae436f6f033ad30f0471', '2012-05-17 14:17:15', NULL, '1', '0000-00-00 00:00:00', '178.152.33.221', 'Success'), (44, 'emp002', 'ajmalsavoy', '2012-05-17 14:52:44', NULL, '9', '2012-05-17 14:52:44', '178.152.33.221', 'failed'), (45, 'EMP002', 'ajmalsavoy', '2012-05-17 14:53:06', NULL, '9', '2012-05-17 14:53:06', '178.152.33.221', 'failed'), (46, 'admin', 'c0d15e384cacae436f6f033ad30f0471', '2012-05-17 14:53:20', NULL, '1', '0000-00-00 00:00:00', '178.152.33.221', 'Success'), (47, 'EMP002', '749c8553a5fc4d2b7b3d0e693b633f5b', '2012-05-17 14:54:23', NULL, '9', '0000-00-00 00:00:00', '178.152.33.221', 'Success'), (48, 'admin', 'c0d15e384cacae436f6f033ad30f0471', '2012-05-17 14:55:13', NULL, '1', '0000-00-00 00:00:00', '178.152.33.221', 'Success'), (49, 'admin', 'c0d15e384cacae436f6f033ad30f0471', '2012-05-17 15:15:14', NULL, '1', '0000-00-00 00:00:00', '178.152.33.221', 'Success'), (50, 'admin', 'c0d15e384cacae436f6f033ad30f0471', '2012-05-17 16:01:26', NULL, '1', '0000-00-00 00:00:00', '178.152.33.221', 'Success'), (51, 'admin', 'c0d15e384cacae436f6f033ad30f0471', '2012-05-17 16:07:09', NULL, '1', '0000-00-00 00:00:00', '178.152.33.221', 'Success'), (52, 'EMP002', 'AJMALSAVOY', '2012-05-17 16:12:09', NULL, '9', '2012-05-17 16:12:09', '178.152.33.221', 'failed'), (53, 'EMP002', '749c8553a5fc4d2b7b3d0e693b633f5b', '2012-05-17 16:12:28', NULL, '9', '0000-00-00 00:00:00', '178.152.33.221', 'Success'), (54, 'admin', 'c0d15e384cacae436f6f033ad30f0471', '2012-05-17 16:36:01', NULL, '1', '0000-00-00 00:00:00', '122.166.146.37', 'Success'), (55, 'EMP002', '749c8553a5fc4d2b7b3d0e693b633f5b', '2012-05-17 16:36:13', NULL, '9', '0000-00-00 00:00:00', '122.166.146.37', 'Success'), (56, 'admin', 'c0d15e384cacae436f6f033ad30f0471', '2012-05-17 17:37:42', NULL, '1', '0000-00-00 00:00:00', '122.166.146.37', 'Success'), (57, 'admin', 'c0d15e384cacae436f6f033ad30f0471', '2012-05-18 04:36:34', NULL, '1', '0000-00-00 00:00:00', '78.101.76.210', 'Success'), (58, 'EMP002', '749c8553a5fc4d2b7b3d0e693b633f5b', '2012-05-18 04:37:16', NULL, '9', '0000-00-00 00:00:00', '78.101.76.210', 'Success'), (59, 'admin', 'c0d15e384cacae436f6f033ad30f0471', '2012-05-18 04:37:59', NULL, '1', '0000-00-00 00:00:00', '78.101.76.210', 'Success'), (60, 'admin', 'c0d15e384cacae436f6f033ad30f0471', '2012-05-18 04:38:47', NULL, '1', '0000-00-00 00:00:00', '78.101.76.210', 'Success'), (61, 'admin', 'c0d15e384cacae436f6f033ad30f0471', '2012-05-18 10:18:13', NULL, '1', '0000-00-00 00:00:00', '122.166.155.174', 'Success'), (62, 'admin', 'c0d15e384cacae436f6f033ad30f0471', '2012-05-18 11:08:46', NULL, '1', '0000-00-00 00:00:00', '78.101.76.210', 'Success'), (63, 'admin', 'c0d15e384cacae436f6f033ad30f0471', '2012-05-18 11:47:41', NULL, '1', '0000-00-00 00:00:00', '122.166.155.174', 'Success'), (64, 'admin', 'c0d15e384cacae436f6f033ad30f0471', '2012-05-18 11:51:23', NULL, '1', '0000-00-00 00:00:00', '122.166.155.174', 'Success'), (65, 'admin', 'c0d15e384cacae436f6f033ad30f0471', '2012-05-18 12:01:51', NULL, '1', '0000-00-00 00:00:00', '78.101.76.210', 'Success'), (66, 'admin', 'c0d15e384cacae436f6f033ad30f0471', '2012-05-18 12:22:52', NULL, '1', '0000-00-00 00:00:00', '78.101.76.210', 'Success'), (67, 'admin', 'c0d15e384cacae436f6f033ad30f0471', '2012-05-18 12:41:38', NULL, '1', '0000-00-00 00:00:00', '78.101.76.210', 'Success'), (68, 'admin', 'c0d15e384cacae436f6f033ad30f0471', '2012-05-18 16:22:21', NULL, '1', '0000-00-00 00:00:00', '122.166.155.174', 'Success'), (69, 'admin', 'c0d15e384cacae436f6f033ad30f0471', '2012-05-18 17:49:53', NULL, '1', '0000-00-00 00:00:00', '80.76.162.14', 'Success'), (70, 'admin', 'c0d15e384cacae436f6f033ad30f0471', '2012-05-18 23:39:33', NULL, '1', '0000-00-00 00:00:00', '78.101.76.210', 'Success'), (71, 'admin', 'c0d15e384cacae436f6f033ad30f0471', '2012-05-19 09:18:16', NULL, '1', '0000-00-00 00:00:00', '122.167.201.86', 'Success'), (72, 'admin', 'c0d15e384cacae436f6f033ad30f0471', '2012-05-19 10:33:35', NULL, '1', '0000-00-00 00:00:00', '178.152.33.221', 'Success'), (73, 'admin', 'c0d15e384cacae436f6f033ad30f0471', '2012-05-19 11:35:44', NULL, '1', '0000-00-00 00:00:00', '122.167.201.86', 'Success'), (74, 'admin', 'c0d15e384cacae436f6f033ad30f0471', '2012-05-19 13:00:49', NULL, '1', '0000-00-00 00:00:00', '178.152.33.221', 'Success'), (75, 'EMP004', '587f628492e2f41e28655d0cd074499b', '2012-05-19 13:19:22', NULL, '11', '0000-00-00 00:00:00', '178.152.33.221', 'Success'), (76, 'admin', 'c0d15e384cacae436f6f033ad30f0471', '2012-05-19 13:20:12', NULL, '1', '0000-00-00 00:00:00', '178.152.33.221', 'Success'), (77, 'admin', 'c0d15e384cacae436f6f033ad30f0471', '2012-05-19 13:24:20', NULL, '1', '0000-00-00 00:00:00', '122.167.201.86', 'Success'), (78, 'admin', 'c0d15e384cacae436f6f033ad30f0471', '2012-05-19 13:55:49', NULL, '1', '0000-00-00 00:00:00', '178.152.33.221', 'Success'), (79, 'admin', 'c0d15e384cacae436f6f033ad30f0471', '2012-05-19 14:08:56', NULL, '1', '0000-00-00 00:00:00', '122.167.201.86', 'Success'), (80, 'admin', 'c0d15e384cacae436f6f033ad30f0471', '2012-05-19 14:13:14', NULL, '1', '0000-00-00 00:00:00', '178.152.33.221', 'Success'), (81, 'admin', 'c0d15e384cacae436f6f033ad30f0471', '2012-05-19 14:31:37', NULL, '1', '0000-00-00 00:00:00', '122.167.201.86', 'Success'), (82, 'EMP102', 'ajmalsavoy', '2012-05-19 14:53:55', NULL, 'NULL', '2012-05-19 14:53:55', '178.152.33.221', 'failed'), (83, 'EMP102', 'ajmalsavoy', '2012-05-19 14:54:07', NULL, 'NULL', '2012-05-19 14:54:07', '178.152.33.221', 'failed'), (84, 'admin', 'c0d15e384cacae436f6f033ad30f0471', '2012-05-19 14:54:25', NULL, '1', '0000-00-00 00:00:00', '178.152.33.221', 'Success'), (85, 'EMP002', '17f4dea54d1794a446924bc9d0faffb0', '2012-05-19 14:55:23', NULL, '9', '0000-00-00 00:00:00', '178.152.33.221', 'Success'), (86, 'admin', 'c0d15e384cacae436f6f033ad30f0471', '2012-05-19 15:04:17', NULL, '1', '0000-00-00 00:00:00', '178.152.33.221', 'Success'), (87, 'admin', 'c0d15e384cacae436f6f033ad30f0471', '2012-05-19 16:33:25', NULL, '1', '0000-00-00 00:00:00', '122.167.201.86', 'Success'), (88, 'admin', 'c0d15e384cacae436f6f033ad30f0471', '2012-05-20 00:15:28', NULL, '1', '0000-00-00 00:00:00', '78.101.76.210', 'Success'), (89, 'admin', 'c0d15e384cacae436f6f033ad30f0471', '2012-05-20 09:53:00', NULL, '1', '0000-00-00 00:00:00', '117.254.158.253', 'Success'), (90, 'EMP004', '587f628492e2f41e28655d0cd074499b', '2012-05-20 11:15:56', NULL, '11', '0000-00-00 00:00:00', '178.152.33.221', 'Success'), (91, 'admin', 'c0d15e384cacae436f6f033ad30f0471', '2012-05-20 11:18:31', NULL, '1', '0000-00-00 00:00:00', '178.152.33.221', 'Success'), (92, 'EPP004', 'SHERINSAVOY', '2012-05-20 11:24:11', NULL, 'NULL', '2012-05-20 11:24:11', '178.152.33.221', 'failed'), (93, 'EMP004', '587f628492e2f41e28655d0cd074499b', '2012-05-20 11:24:39', NULL, '11', '0000-00-00 00:00:00', '178.152.33.221', 'Success'), (94, 'admin', 'c0d15e384cacae436f6f033ad30f0471', '2012-05-20 11:32:28', NULL, '1', '0000-00-00 00:00:00', '178.152.33.221', 'Success'), (95, 'admin', 'c0d15e384cacae436f6f033ad30f0471', '2012-05-20 11:34:09', NULL, '1', '0000-00-00 00:00:00', '178.152.33.221', 'Success'), (96, 'EMP004', '587f628492e2f41e28655d0cd074499b', '2012-05-20 12:51:51', NULL, '11', '0000-00-00 00:00:00', '178.152.33.221', 'Success'), (97, 'EMP004', 'SHERINSAVOY', '2012-05-20 13:51:39', NULL, '11', '2012-05-20 13:51:39', '178.152.33.221', 'failed'), (98, 'EMP004', '587f628492e2f41e28655d0cd074499b', '2012-05-20 13:51:55', NULL, '11', '0000-00-00 00:00:00', '178.152.33.221', 'Success'), (99, 'EMP004', '587f628492e2f41e28655d0cd074499b', '2012-05-20 13:52:51', NULL, '11', '0000-00-00 00:00:00', '178.152.33.221', 'Success'), (100, 'admin', 'c0d15e384cacae436f6f033ad30f0471', '2012-05-20 16:39:59', NULL, '1', '0000-00-00 00:00:00', '178.152.33.221', 'Success'), (101, 'admin', 'c0d15e384cacae436f6f033ad30f0471', '2012-05-20 21:14:44', NULL, '1', '0000-00-00 00:00:00', '89.211.103.128', 'Success'), (102, 'EPP004', 'sherinsavoy', '2012-05-21 11:34:00', NULL, 'NULL', '2012-05-21 11:34:00', '178.152.33.221', 'failed'), (103, '', '', '2012-05-21 11:34:00', NULL, 'NULL', '2012-05-21 11:34:00', '0', 'failed'), (104, 'EMP004', '587f628492e2f41e28655d0cd074499b', '2012-05-21 11:34:17', NULL, '11', '0000-00-00 00:00:00', '178.152.33.221', 'Success'), (105, 'admin', 'c0d15e384cacae436f6f033ad30f0471', '2012-05-21 12:05:00', NULL, '1', '0000-00-00 00:00:00', '178.152.33.221', 'Success'), (106, 'admin', 'c0d15e384cacae436f6f033ad30f0471', '2012-05-21 13:56:06', NULL, '1', '0000-00-00 00:00:00', '122.172.204.17', 'Success'), (107, 'EMP004', 'SHERINSAVOY', '2012-05-21 14:12:00', NULL, '11', '2012-05-21 14:12:00', '178.152.33.221', 'failed'), (108, 'EMP004', '587f628492e2f41e28655d0cd074499b', '2012-05-21 14:12:23', NULL, '11', '0000-00-00 00:00:00', '178.152.33.221', 'Success'), (109, 'admin', 'swapnajerry', '2012-05-21 14:50:08', NULL, '1', '2012-05-21 14:50:08', '178.152.33.221', 'failed'), (110, 'admin', 'swapnajerry', '2012-05-21 14:50:25', NULL, '1', '2012-05-21 14:50:25', '178.152.33.221', 'failed'), (111, 'admin', 'c0d15e384cacae436f6f033ad30f0471', '2012-05-21 14:50:36', NULL, '1', '0000-00-00 00:00:00', '178.152.33.221', 'Success'), (112, 'admin', 'c0d15e384cacae436f6f033ad30f0471', '2012-05-21 18:13:29', NULL, '1', '0000-00-00 00:00:00', '178.152.33.221', 'Success'), (113, 'EMP004', '587f628492e2f41e28655d0cd074499b', '2012-05-21 18:28:53', NULL, '11', '0000-00-00 00:00:00', '178.152.33.221', 'Success'), (114, 'admin', 'c0d15e384cacae436f6f033ad30f0471', '2012-05-21 18:35:14', NULL, '1', '0000-00-00 00:00:00', '122.166.170.221', 'Success'), (115, 'admin', 'c0d15e384cacae436f6f033ad30f0471', '2012-05-21 18:38:21', NULL, '1', '0000-00-00 00:00:00', '122.166.170.221', 'Success'), (116, 'admin', 'admin', '2012-05-21 18:55:18', NULL, '1', '2012-05-21 18:55:18', '178.152.33.221', 'failed'), (117, 'admin', 'c0d15e384cacae436f6f033ad30f0471', '2012-05-21 18:55:29', NULL, '1', '0000-00-00 00:00:00', '178.152.33.221', 'Success'), (118, 'admin', 'c0d15e384cacae436f6f033ad30f0471', '2012-05-21 19:01:00', NULL, '1', '0000-00-00 00:00:00', '122.166.170.221', 'Success'), (119, 'admin', 'c0d15e384cacae436f6f033ad30f0471', '2012-05-21 19:28:34', NULL, '1', '0000-00-00 00:00:00', '122.166.170.221', 'Success'), (120, 'admin', 'c0d15e384cacae436f6f033ad30f0471', '2012-05-22 09:37:23', NULL, '1', '0000-00-00 00:00:00', '122.172.204.227', 'Success'), (121, 'admin', 'c0d15e384cacae436f6f033ad30f0471', '2012-05-22 11:05:42', NULL, '1', '0000-00-00 00:00:00', '178.152.33.221', 'Success'), (122, 'EMP004', '587f628492e2f41e28655d0cd074499b', '2012-05-22 12:20:32', NULL, '11', '0000-00-00 00:00:00', '178.152.33.221', 'Success'), (123, '', '', '2012-05-22 14:03:58', NULL, 'NULL', '2012-05-22 14:03:58', '178.152.33.221', 'failed'), (124, 'EMP004', 'SHERINSAVOY', '2012-05-22 14:04:27', NULL, '11', '2012-05-22 14:04:27', '178.152.33.221', 'failed'), (125, '', '', '2012-05-22 14:04:32', NULL, 'NULL', '2012-05-22 14:04:32', '178.152.33.221', 'failed'), (126, 'EMP004', '587f628492e2f41e28655d0cd074499b', '2012-05-22 14:05:00', NULL, '11', '0000-00-00 00:00:00', '178.152.33.221', 'Success'), (127, 'admin', 'c0d15e384cacae436f6f033ad30f0471', '2012-05-22 15:57:44', NULL, '1', '0000-00-00 00:00:00', '178.152.33.221', 'Success'), (128, 'admin', 'c0d15e384cacae436f6f033ad30f0471', '2012-05-22 16:22:46', NULL, '1', '0000-00-00 00:00:00', '122.172.204.227', 'Success'), (129, 'admin', 'c0d15e384cacae436f6f033ad30f0471', '2012-05-22 16:25:41', NULL, '1', '0000-00-00 00:00:00', '178.152.33.221', 'Success'), (130, 'admin', 'c0d15e384cacae436f6f033ad30f0471', '2012-05-23 11:02:18', NULL, '1', '0000-00-00 00:00:00', '178.152.33.221', 'Success'), (131, 'admin', 'c0d15e384cacae436f6f033ad30f0471', '2012-05-23 11:22:57', NULL, '1', '0000-00-00 00:00:00', '122.166.154.201', 'Success'), (132, 'admin', 'c0d15e384cacae436f6f033ad30f0471', '2012-05-23 12:13:29', NULL, '1', '0000-00-00 00:00:00', '178.152.33.221', 'Success'), (133, 'admin', 'adminsavoy', '2012-05-23 15:34:57', NULL, '1', '2012-05-23 15:34:57', '178.152.33.221', 'failed'), (134, 'admin', 'adminsavoy', '2012-05-23 15:35:16', NULL, '1', '2012-05-23 15:35:16', '178.152.33.221', 'failed'), (135, 'admin', 'adminsavoy', '2012-05-23 15:35:36', NULL, '1', '2012-05-23 15:35:36', '178.152.33.221', 'failed'), (136, 'EMP004', 'SHERINSAVOY', '2012-05-23 15:35:58', NULL, '11', '2012-05-23 15:35:58', '178.152.33.221', 'failed'), (137, 'EMP004', 'SGMS', '2012-05-23 15:37:03', NULL, '11', '2012-05-23 15:37:03', '178.152.33.221', 'failed'), (138, 'EMP004', 'ADMINSAVOY', '2012-05-23 15:37:20', NULL, '11', '2012-05-23 15:37:20', '178.152.33.221', 'failed'), (139, 'EMP004', 'SHERINSAVOY', '2012-05-23 15:37:34', NULL, '11', '2012-05-23 15:37:34', '178.152.33.221', 'failed'), (140, 'EMP004', 'ADMINSAVOY', '2012-05-23 15:37:53', NULL, '11', '2012-05-23 15:37:53', '178.152.33.221', 'failed'), (141, 'admin', 'c0d15e384cacae436f6f033ad30f0471', '2012-05-23 15:37:55', NULL, '1', '0000-00-00 00:00:00', '178.152.33.221', 'Success'), (142, 'admin', 'ADMINSAVOY', '2012-05-23 15:38:27', NULL, '1', '2012-05-23 15:38:27', '178.152.33.221', 'failed'), (143, 'EMP004', '587f628492e2f41e28655d0cd074499b', '2012-05-23 15:38:55', NULL, '11', '0000-00-00 00:00:00', '178.152.33.221', 'Success'), (144, 'admin', 'adminsavoy', '2012-05-23 16:13:18', NULL, '1', '2012-05-23 16:13:18', '178.152.33.221', 'failed'), (145, 'admin', 'adminsavoy', '2012-05-23 16:13:32', NULL, '1', '2012-05-23 16:13:32', '178.152.33.221', 'failed'), (146, 'EMP004', '587f628492e2f41e28655d0cd074499b', '2012-05-23 16:13:58', NULL, '11', '0000-00-00 00:00:00', '178.152.33.221', 'Success'), (147, 'admin', 'c0d15e384cacae436f6f033ad30f0471', '2012-05-23 16:41:07', NULL, '1', '0000-00-00 00:00:00', '122.166.154.201', 'Success'), (148, 'admin', 'c0d15e384cacae436f6f033ad30f0471', '2012-05-23 16:53:33', NULL, '1', '0000-00-00 00:00:00', '178.152.33.221', 'Success'), (149, 'admin', 'c0d15e384cacae436f6f033ad30f0471', '2012-05-23 17:50:59', NULL, '1', '0000-00-00 00:00:00', '122.166.154.201', 'Success'), (150, '', '', '2012-05-23 22:33:02', NULL, 'NULL', '2012-05-23 22:33:02', '0', 'failed'), (151, '', '', '2012-05-23 22:34:20', NULL, 'NULL', '2012-05-23 22:34:20', '0', 'failed'), (152, 'admin', 'c0d15e384cacae436f6f033ad30f0471', '2012-05-23 22:34:50', NULL, '1', '0000-00-00 00:00:00', '78.101.162.152', 'Success'), (153, 'admin', 'c0d15e384cacae436f6f033ad30f0471', '2012-05-23 22:47:46', NULL, '1', '0000-00-00 00:00:00', '78.101.162.152', 'Success'), (154, 'EMP004', '587f628492e2f41e28655d0cd074499b', '2012-05-24 11:34:26', NULL, '11', '0000-00-00 00:00:00', '178.152.33.221', 'Success'), (155, 'admin', 'c0d15e384cacae436f6f033ad30f0471', '2012-05-24 12:32:41', NULL, '1', '0000-00-00 00:00:00', '178.152.33.221', 'Success'), (156, 'admin', 'c0d15e384cacae436f6f033ad30f0471', '2012-05-24 17:51:39', NULL, '1', '0000-00-00 00:00:00', '78.101.237.72', 'Success'), (157, 'admin', 'c0d15e384cacae436f6f033ad30f0471', '2012-05-25 15:36:43', NULL, '1', '0000-00-00 00:00:00', '122.167.203.19', 'Success'), (158, 'admin', 'c0d15e384cacae436f6f033ad30f0471', '2012-05-28 09:56:21', NULL, '1', '0000-00-00 00:00:00', '122.166.147.8', 'Success'), (159, 'admin', 'c0d15e384cacae436f6f033ad30f0471', '2012-05-28 18:28:17', NULL, '1', '0000-00-00 00:00:00', '178.152.18.255', 'Success'), (160, 'admin', 'c0d15e384cacae436f6f033ad30f0471', '2012-05-28 18:45:57', NULL, '1', '0000-00-00 00:00:00', '178.152.18.255', 'Success'), (161, 'EMP004', 'SHERINSAVOY', '2012-05-29 12:12:45', NULL, '11', '2012-05-29 12:12:45', '178.152.33.221', 'failed'), (162, 'EMP004', '587f628492e2f41e28655d0cd074499b', '2012-05-29 12:13:07', NULL, '11', '0000-00-00 00:00:00', '178.152.33.221', 'Success'), (163, 'admin', 'SGMS', '2012-05-29 12:20:07', NULL, '1', '2012-05-29 12:20:07', '178.152.33.221', 'failed'), (164, 'admin', 'c0d15e384cacae436f6f033ad30f0471', '2012-05-29 12:20:28', NULL, '1', '0000-00-00 00:00:00', '178.152.33.221', 'Success'), (165, 'EMP004', 'SHERINSAVOY', '2012-05-29 14:04:35', NULL, '11', '2012-05-29 14:04:35', '178.152.33.221', 'failed'), (166, 'EMP004', '587f628492e2f41e28655d0cd074499b', '2012-05-29 14:04:51', NULL, '11', '0000-00-00 00:00:00', '178.152.33.221', 'Success'), (167, 'admin', 'c0d15e384cacae436f6f033ad30f0471', '2012-05-29 16:33:14', NULL, '1', '0000-00-00 00:00:00', '178.152.33.221', 'Success'), (168, 'admin', 'c0d15e384cacae436f6f033ad30f0471', '2012-05-29 16:35:08', NULL, '1', '0000-00-00 00:00:00', '178.152.33.221', 'Success'), (169, 'admin', 'c0d15e384cacae436f6f033ad30f0471', '2012-05-29 16:43:31', NULL, '1', '0000-00-00 00:00:00', '178.152.33.221', 'Success'), (170, 'EMP004', '587f628492e2f41e28655d0cd074499b', '2012-05-29 17:30:21', NULL, '11', '0000-00-00 00:00:00', '178.152.33.221', 'Success'), (171, 'EMP004', '587f628492e2f41e28655d0cd074499b', '2012-05-30 12:26:41', NULL, '11', '0000-00-00 00:00:00', '178.152.33.221', 'Success'), (172, 'emp101', 'ajmal', '2012-05-30 12:45:08', NULL, 'NULL', '2012-05-30 12:45:08', '178.152.33.221', 'failed'), (173, 'emp101', 'ajmalsavoy', '2012-05-30 12:45:15', NULL, 'NULL', '2012-05-30 12:45:15', '178.152.33.221', 'failed'), (174, 'admin', 'c0d15e384cacae436f6f033ad30f0471', '2012-05-30 14:17:53', NULL, '1', '0000-00-00 00:00:00', '178.152.33.221', 'Success'), (175, 'EMP102', 'ajmalsavoy', '2012-05-30 14:27:24', NULL, 'NULL', '2012-05-30 14:27:24', '178.152.33.221', 'failed'), (176, 'emp101', 'ajmalsavoy', '2012-05-30 14:27:50', NULL, 'NULL', '2012-05-30 14:27:50', '178.152.33.221', 'failed'), (177, 'EMP002', '749c8553a5fc4d2b7b3d0e693b633f5b', '2012-05-30 14:28:05', NULL, '9', '0000-00-00 00:00:00', '178.152.33.221', 'Success'), (178, 'EMP004', '587f628492e2f41e28655d0cd074499b', '2012-05-30 14:30:21', NULL, '11', '0000-00-00 00:00:00', '178.152.33.221', 'Success'), (179, 'admin', 'c0d15e384cacae436f6f033ad30f0471', '2012-05-30 14:31:28', NULL, '1', '0000-00-00 00:00:00', '122.167.201.225', 'Success'), (180, 'EMP004', 'sherin savoy', '2012-05-30 15:05:24', NULL, '11', '2012-05-30 15:05:24', '178.152.33.221', 'failed'), (181, 'EMP004', '587f628492e2f41e28655d0cd074499b', '2012-05-30 15:05:40', NULL, '11', '0000-00-00 00:00:00', '178.152.33.221', 'Success'), (182, 'admin', 'c0d15e384cacae436f6f033ad30f0471', '2012-05-30 15:13:07', NULL, '1', '0000-00-00 00:00:00', '178.152.33.221', 'Success'), (183, 'admin', 'c0d15e384cacae436f6f033ad30f0471', '2012-05-30 18:14:38', NULL, '1', '0000-00-00 00:00:00', '122.167.201.225', 'Success'), (184, 'EMP004', '587f628492e2f41e28655d0cd074499b', '2012-05-31 11:01:00', NULL, '11', '0000-00-00 00:00:00', '178.152.33.221', 'Success'), (185, 'admin', 'c0d15e384cacae436f6f033ad30f0471', '2012-05-31 11:08:25', NULL, '1', '0000-00-00 00:00:00', '178.152.33.221', 'Success'), (186, 'EMPOO4', 'sherinsavoy', '2012-05-31 11:23:14', NULL, 'NULL', '2012-05-31 11:23:14', '78.100.19.97', 'failed'), (187, 'EMPOO4', 'sherinsavoy', '2012-05-31 11:23:32', NULL, 'NULL', '2012-05-31 11:23:32', '78.100.19.97', 'failed'), (188, 'EMP004', '587f628492e2f41e28655d0cd074499b', '2012-05-31 11:23:55', NULL, '11', '0000-00-00 00:00:00', '78.100.19.97', 'Success'), (189, 'emp109', 'sherinsavoy', '2012-05-31 12:03:00', NULL, 'NULL', '2012-05-31 12:03:00', '78.100.19.97', 'failed'), (190, 'emp109', 'sherinsavoy', '2012-05-31 12:03:15', NULL, 'NULL', '2012-05-31 12:03:15', '78.100.19.97', 'failed'), (191, 'EMP004', 'SHERINSAVOY', '2012-05-31 13:04:22', NULL, '11', '2012-05-31 13:04:22', '178.152.33.221', 'failed'), (192, 'EMP004', 'shernsavoy', '2012-05-31 13:04:38', NULL, '11', '2012-05-31 13:04:38', '178.152.33.221', 'failed'), (193, 'EMP004', '587f628492e2f41e28655d0cd074499b', '2012-05-31 13:04:52', NULL, '11', '0000-00-00 00:00:00', '178.152.33.221', 'Success'), (194, 'admin', 'c0d15e384cacae436f6f033ad30f0471', '2012-05-31 15:08:47', NULL, '1', '0000-00-00 00:00:00', '122.167.201.93', 'Success'), (195, 'admin', 'c0d15e384cacae436f6f033ad30f0471', '2012-06-01 19:38:57', NULL, '1', '0000-00-00 00:00:00', '122.166.150.83', 'Success'), (196, 'admin', 'c0d15e384cacae436f6f033ad30f0471', '2012-06-01 19:39:48', NULL, '1', '0000-00-00 00:00:00', '78.100.182.154', 'Success'), (197, 'EMP004', '587f628492e2f41e28655d0cd074499b', '2012-06-02 13:13:58', NULL, '11', '0000-00-00 00:00:00', '178.152.33.221', 'Success'), (198, 'admin', 'c0d15e384cacae436f6f033ad30f0471', '2012-06-02 14:28:46', NULL, '1', '0000-00-00 00:00:00', '122.174.205.19', 'Success'), (199, 'EMP004', '587f628492e2f41e28655d0cd074499b', '2012-06-02 14:46:46', NULL, '11', '0000-00-00 00:00:00', '178.152.33.221', 'Success'), (200, 'emp109', 'sherinsavoy', '2012-06-02 17:35:04', NULL, 'NULL', '2012-06-02 17:35:04', '178.152.33.221', 'failed'), (201, 'emp109', 'sherinsavoy', '2012-06-02 17:35:22', NULL, 'NULL', '2012-06-02 17:35:22', '178.152.33.221', 'failed'), (202, 'EMP004', '587f628492e2f41e28655d0cd074499b', '2012-06-02 17:36:09', NULL, '11', '0000-00-00 00:00:00', '178.152.33.221', 'Success'), (203, 'emp102', 'ajmalsavoy', '2012-06-03 11:56:02', NULL, 'NULL', '2012-06-03 11:56:02', '178.152.33.221', 'failed'), (204, 'EMP102', 'ajmalsavoy', '2012-06-03 11:56:16', NULL, 'NULL', '2012-06-03 11:56:16', '178.152.33.221', 'failed'), (205, 'EMP102', 'savoyajmal', '2012-06-03 11:56:33', NULL, 'NULL', '2012-06-03 11:56:33', '178.152.33.221', 'failed'), (206, 'EMP101', 'ajmalsavoy', '2012-06-03 11:56:42', NULL, 'NULL', '2012-06-03 11:56:42', '178.152.33.221', 'failed'), (207, 'emp102', 'ajmalsavoy', '2012-06-03 11:57:32', NULL, 'NULL', '2012-06-03 11:57:32', '178.152.33.221', 'failed'), (208, 'EMP102', 'ajmalsavoy', '2012-06-03 11:57:43', NULL, 'NULL', '2012-06-03 11:57:43', '178.152.33.221', 'failed'), (209, 'EMP004', '587f628492e2f41e28655d0cd074499b', '2012-06-03 11:59:26', NULL, '11', '0000-00-00 00:00:00', '178.152.33.221', 'Success'), (210, 'emp002', '749c8553a5fc4d2b7b3d0e693b633f5b', '2012-06-03 12:03:29', NULL, '9', '0000-00-00 00:00:00', '178.152.33.221', 'Success'), (211, 'EMP004', 'SHERINSAVOY', '2012-06-03 13:36:23', NULL, '11', '2012-06-03 13:36:23', '178.152.33.221', 'failed'), (212, 'EMP004', '587f628492e2f41e28655d0cd074499b', '2012-06-03 13:36:44', NULL, '11', '0000-00-00 00:00:00', '178.152.33.221', 'Success'), (213, 'admin', 'c0d15e384cacae436f6f033ad30f0471', '2012-06-03 13:47:43', NULL, '1', '0000-00-00 00:00:00', '178.152.33.221', 'Success'), (214, 'emp002', '749c8553a5fc4d2b7b3d0e693b633f5b', '2012-06-03 14:27:50', NULL, '9', '0000-00-00 00:00:00', '178.152.33.221', 'Success'), (215, 'EMP004', '587f628492e2f41e28655d0cd074499b', '2012-06-03 14:56:31', NULL, '11', '0000-00-00 00:00:00', '178.152.33.221', 'Success'), (216, 'admin', 'c0d15e384cacae436f6f033ad30f0471', '2012-06-04 18:17:43', NULL, '1', '0000-00-00 00:00:00', '178.152.33.221', 'Success'), (217, 'EMP004', '587f628492e2f41e28655d0cd074499b', '2012-06-05 16:45:11', NULL, '11', '0000-00-00 00:00:00', '178.152.33.221', 'Success'), (218, 'admin', 'c0d15e384cacae436f6f033ad30f0471', '2012-06-05 17:40:14', NULL, '1', '0000-00-00 00:00:00', '178.152.33.221', 'Success'), (219, 'admin', 'c0d15e384cacae436f6f033ad30f0471', '2012-06-05 17:42:23', NULL, '1', '0000-00-00 00:00:00', '178.152.33.221', 'Success'), (220, 'admin', 'c0d15e384cacae436f6f033ad30f0471', '2012-06-06 09:35:43', NULL, '1', '0000-00-00 00:00:00', '117.204.116.77', 'Success'), (221, 'ep002', 'ajmalsavoy', '2012-06-07 13:20:05', NULL, 'NULL', '2012-06-07 13:20:05', '178.152.45.252', 'failed'), (222, 'emp002', '749c8553a5fc4d2b7b3d0e693b633f5b', '2012-06-07 13:20:22', NULL, '9', '0000-00-00 00:00:00', '178.152.45.252', 'Success'), (223, 'EMP004', '587f628492e2f41e28655d0cd074499b', '2012-06-07 13:21:58', NULL, '11', '0000-00-00 00:00:00', '178.152.45.252', 'Success'), (224, 'EMP004', '587f628492e2f41e28655d0cd074499b', '2012-06-07 13:31:14', NULL, '11', '0000-00-00 00:00:00', '178.152.45.252', 'Success'), (225, 'EMP004', '587f628492e2f41e28655d0cd074499b', '2012-06-09 14:14:02', NULL, '11', '0000-00-00 00:00:00', '178.152.45.252', 'Success'), (226, 'admin', 'test1', '2012-06-10 11:29:57', NULL, '1', '2012-06-10 11:29:57', '117.204.125.68', 'failed'), (227, 'EMP004', '587f628492e2f41e28655d0cd074499b', '2012-06-10 14:12:58', NULL, '11', '0000-00-00 00:00:00', '178.152.45.252', 'Success'), (228, 'admin', 'c0d15e384cacae436f6f033ad30f0471', '2012-06-13 12:26:30', NULL, '1', '0000-00-00 00:00:00', '117.204.117.175', 'Success'), (229, 'EMP004', 'SHERINSAVOY', '2012-06-13 14:20:13', NULL, '11', '2012-06-13 14:20:13', '78.100.98.8', 'failed'), (230, 'EMP004', '587f628492e2f41e28655d0cd074499b', '2012-06-13 14:20:29', NULL, '11', '0000-00-00 00:00:00', '78.100.98.8', 'Success'), (231, 'EMP004', '587f628492e2f41e28655d0cd074499b', '2012-06-13 14:20:49', NULL, '11', '0000-00-00 00:00:00', '78.100.98.8', 'Success'), (232, 'EMP004', '587f628492e2f41e28655d0cd074499b', '2012-06-13 16:29:53', NULL, '11', '0000-00-00 00:00:00', '178.152.45.252', 'Success'), (233, 'EMP004', 'SHERINSAVOY', '2012-06-13 16:44:24', NULL, '11', '2012-06-13 16:44:24', '178.152.45.252', 'failed'), (234, 'EMP004', '587f628492e2f41e28655d0cd074499b', '2012-06-13 16:44:37', NULL, '11', '0000-00-00 00:00:00', '178.152.45.252', 'Success'), (235, 'EMP004', '587f628492e2f41e28655d0cd074499b', '2012-06-13 16:47:25', NULL, '11', '0000-00-00 00:00:00', '178.152.45.252', 'Success'), (236, 'EMP004', '587f628492e2f41e28655d0cd074499b', '2012-06-13 17:00:57', NULL, '11', '0000-00-00 00:00:00', '78.100.115.41', 'Success'), (237, 'admin', 'c0d15e384cacae436f6f033ad30f0471', '2012-06-13 17:45:47', NULL, '1', '0000-00-00 00:00:00', '117.207.160.26', 'Success'), (238, 'EMP004', 'SHERINSAVOY', '2012-06-13 17:51:14', NULL, '11', '2012-06-13 17:51:14', '178.152.45.252', 'failed'), (239, 'EMP004', '587f628492e2f41e28655d0cd074499b', '2012-06-13 17:51:28', NULL, '11', '0000-00-00 00:00:00', '178.152.45.252', 'Success'), (240, 'EMP004', '587f628492e2f41e28655d0cd074499b', '2012-06-13 18:22:34', NULL, '11', '0000-00-00 00:00:00', '178.152.45.252', 'Success'), (241, 'admin', 'c0d15e384cacae436f6f033ad30f0471', '2012-06-13 18:26:11', NULL, '1', '0000-00-00 00:00:00', '122.174.192.118', 'Success'), (242, 'admin', 'c0d15e384cacae436f6f033ad30f0471', '2012-06-13 18:27:34', NULL, '1', '0000-00-00 00:00:00', '117.207.160.26', 'Success'), (243, 'admin', 'c0d15e384cacae436f6f033ad30f0471', '2012-06-13 19:20:23', NULL, '1', '0000-00-00 00:00:00', '122.174.192.118', 'Success'), (244, 'admin', 'c0d15e384cacae436f6f033ad30f0471', '2012-06-13 19:43:32', NULL, '1', '0000-00-00 00:00:00', '117.207.160.26', 'Success'), (245, 'admin', 'c0d15e384cacae436f6f033ad30f0471', '2012-06-13 20:07:52', NULL, '1', '0000-00-00 00:00:00', '117.207.160.26', 'Success'), (246, 'EMP004', '587f628492e2f41e28655d0cd074499b', '2012-06-14 10:36:25', NULL, '11', '0000-00-00 00:00:00', '178.152.45.252', 'Success'), (247, 'EMP004', '587f628492e2f41e28655d0cd074499b', '2012-06-14 10:39:39', NULL, '11', '0000-00-00 00:00:00', '178.152.211.117', 'Success'), (248, 'EMP004', '587f628492e2f41e28655d0cd074499b', '2012-06-14 12:08:25', NULL, '11', '0000-00-00 00:00:00', '178.152.45.252', 'Success'), (249, 'EMP004', '587f628492e2f41e28655d0cd074499b', '2012-06-14 12:52:55', NULL, '11', '0000-00-00 00:00:00', '178.152.45.252', 'Success'), (250, 'admin', 'c0d15e384cacae436f6f033ad30f0471', '2012-06-14 13:02:44', NULL, '1', '0000-00-00 00:00:00', '122.174.204.206', 'Success'), (251, 'EMP004', 'sherinnsavoy', '2012-06-16 11:00:40', NULL, '11', '2012-06-16 11:00:40', '178.152.45.252', 'failed'), (252, 'EMP004', '587f628492e2f41e28655d0cd074499b', '2012-06-16 11:00:52', NULL, '11', '0000-00-00 00:00:00', '178.152.45.252', 'Success'), (253, 'EMP004', 'SHERINSAVOY', '2012-06-18 17:07:53', NULL, '11', '2012-06-18 17:07:53', '178.152.45.252', 'failed'), (254, 'EMP004', '587f628492e2f41e28655d0cd074499b', '2012-06-18 17:08:05', NULL, '11', '0000-00-00 00:00:00', '178.152.45.252', 'Success'), (255, 'EMP004', '587f628492e2f41e28655d0cd074499b', '2012-06-18 17:08:08', NULL, '11', '0000-00-00 00:00:00', '178.152.45.252', 'Success'), (256, 'EMP004', '587f628492e2f41e28655d0cd074499b', '2012-06-18 17:43:50', NULL, '11', '0000-00-00 00:00:00', '178.152.45.252', 'Success'), (257, 'admin', 'c0d15e384cacae436f6f033ad30f0471', '2012-06-18 18:47:51', NULL, '1', '0000-00-00 00:00:00', '122.174.207.249', 'Success'), (258, 'EMP004', 'sherinsacoy', '2012-06-19 11:28:11', NULL, '11', '2012-06-19 11:28:11', '178.152.45.252', 'failed'), (259, 'EMP004', 'sherinsacoy', '2012-06-19 11:28:25', NULL, '11', '2012-06-19 11:28:25', '178.152.45.252', 'failed'), (260, 'EMP004', '587f628492e2f41e28655d0cd074499b', '2012-06-19 11:28:44', NULL, '11', '0000-00-00 00:00:00', '178.152.45.252', 'Success'), (261, 'EMP004', '587f628492e2f41e28655d0cd074499b', '2012-06-19 17:30:55', NULL, '11', '0000-00-00 00:00:00', '178.152.45.252', 'Success'), (262, 'admin', 'c0d15e384cacae436f6f033ad30f0471', '2012-06-19 18:44:52', NULL, '1', '0000-00-00 00:00:00', '59.93.0.147', 'Success'), (263, 'EMP004', 'sherinsavy', '2012-06-20 10:53:55', NULL, '11', '2012-06-20 10:53:55', '178.152.45.252', 'failed'), (264, 'EMP004', '587f628492e2f41e28655d0cd074499b', '2012-06-20 10:54:07', NULL, '11', '0000-00-00 00:00:00', '178.152.45.252', 'Success'), (265, 'admin', 'c0d15e384cacae436f6f033ad30f0471', '2012-06-23 14:07:53', NULL, '1', '0000-00-00 00:00:00', '122.174.202.17', 'Success'), (266, 'admin', 'c0d15e384cacae436f6f033ad30f0471', '2012-06-23 23:00:11', NULL, '1', '0000-00-00 00:00:00', '80.76.162.14', 'Success'), (267, 'EMP004', '587f628492e2f41e28655d0cd074499b', '2012-06-25 11:02:20', NULL, '11', '0000-00-00 00:00:00', '178.152.45.252', 'Success'), (268, 'admin', 'c0d15e384cacae436f6f033ad30f0471', '2012-06-25 15:39:01', NULL, '1', '0000-00-00 00:00:00', '122.174.217.184', 'Success'), (269, 'EMP004', '587f628492e2f41e28655d0cd074499b', '2012-06-27 15:53:04', NULL, '11', '0000-00-00 00:00:00', '178.152.45.252', 'Success'), (270, 'EMP004', '587f628492e2f41e28655d0cd074499b', '2012-06-28 14:23:03', NULL, '11', '0000-00-00 00:00:00', '178.152.45.252', 'Success'), (271, 'EMP004', '587f628492e2f41e28655d0cd074499b', '2012-06-28 16:17:36', NULL, '11', '0000-00-00 00:00:00', '178.152.45.252', 'Success'), (272, 'admin', 'c0d15e384cacae436f6f033ad30f0471', '2012-06-28 16:43:09', NULL, '1', '0000-00-00 00:00:00', '178.152.45.252', 'Success'), (273, 'emp109', 'sherinsavoy', '2012-06-28 16:45:55', NULL, 'NULL', '2012-06-28 16:45:55', '178.152.45.252', 'failed'), (274, 'EMP004', '587f628492e2f41e28655d0cd074499b', '2012-06-28 16:46:09', NULL, '11', '0000-00-00 00:00:00', '178.152.45.252', 'Success'), (275, '', '', '2012-06-28 16:46:09', NULL, 'NULL', '2012-06-28 16:46:09', '0', 'failed'), (276, 'admin', 'c0d15e384cacae436f6f033ad30f0471', '2012-06-30 15:53:58', NULL, '1', '0000-00-00 00:00:00', '122.174.207.119', 'Success'), (277, 'EMP004', '587f628492e2f41e28655d0cd074499b', '2012-06-30 17:00:51', NULL, '11', '0000-00-00 00:00:00', '178.152.45.252', 'Success'), (278, 'admin', 'c0d15e384cacae436f6f033ad30f0471', '2012-06-30 17:07:33', NULL, '1', '0000-00-00 00:00:00', '89.211.26.135', 'Success'), (279, 'EMP004', '587f628492e2f41e28655d0cd074499b', '2012-07-01 10:59:10', NULL, '11', '0000-00-00 00:00:00', '178.152.45.252', 'Success'), (280, 'emp101', 'swapnajerry', '2012-07-01 15:05:00', NULL, 'NULL', '2012-07-01 15:05:00', '178.152.45.252', 'failed'), (281, 'admin', 'c0d15e384cacae436f6f033ad30f0471', '2012-07-01 15:05:14', NULL, '1', '0000-00-00 00:00:00', '178.152.45.252', 'Success'), (282, 'EMP004', '587f628492e2f41e28655d0cd074499b', '2012-07-01 15:41:10', NULL, '11', '0000-00-00 00:00:00', '178.152.45.252', 'Success'), (283, 'admin', 'c0d15e384cacae436f6f033ad30f0471', '2012-07-01 16:19:14', NULL, '1', '0000-00-00 00:00:00', '178.152.45.252', 'Success'), (284, 'admin', 'c0d15e384cacae436f6f033ad30f0471', '2012-07-01 17:41:46', NULL, '1', '0000-00-00 00:00:00', '178.152.45.252', 'Success'), (285, 'admin', 'c0d15e384cacae436f6f033ad30f0471', '2012-07-01 17:47:56', NULL, '1', '0000-00-00 00:00:00', '178.152.45.252', 'Success'), (286, 'admin', 'c0d15e384cacae436f6f033ad30f0471', '2012-07-01 18:22:50', NULL, '1', '0000-00-00 00:00:00', '178.152.45.252', 'Success'), (287, 'admin', 'c0d15e384cacae436f6f033ad30f0471', '2012-07-04 15:17:59', NULL, '1', '0000-00-00 00:00:00', '178.152.45.252', 'Success'), (288, 'EMP004', '587f628492e2f41e28655d0cd074499b', '2012-07-04 15:23:21', NULL, '11', '0000-00-00 00:00:00', '178.152.45.252', 'Success'), (289, 'EMP004', '587f628492e2f41e28655d0cd074499b', '2012-07-08 17:07:44', NULL, '11', '0000-00-00 00:00:00', '178.152.45.252', 'Success'), (290, 'admin', 'c0d15e384cacae436f6f033ad30f0471', '2012-07-08 17:16:24', NULL, '1', '0000-00-00 00:00:00', '178.152.45.252', 'Success'), (291, 'admin', 'c0d15e384cacae436f6f033ad30f0471', '2012-07-08 18:56:31', NULL, '1', '0000-00-00 00:00:00', '178.152.45.252', 'Success'), (292, 'admin', 'c0d15e384cacae436f6f033ad30f0471', '2012-07-08 19:04:50', NULL, '1', '0000-00-00 00:00:00', '178.152.45.252', 'Success'), (293, 'EMP004', '587f628492e2f41e28655d0cd074499b', '2012-07-11 12:39:54', NULL, '11', '0000-00-00 00:00:00', '178.152.45.252', 'Success'), (294, 'admin', 'test1', '2012-07-11 13:55:57', NULL, '1', '2012-07-11 13:55:57', '178.152.45.252', 'failed'), (295, 'admin', 'c0d15e384cacae436f6f033ad30f0471', '2012-07-11 13:56:16', NULL, '1', '0000-00-00 00:00:00', '178.152.45.252', 'Success'), (296, 'EMP004', '587f628492e2f41e28655d0cd074499b', '2012-07-11 14:14:12', NULL, '11', '0000-00-00 00:00:00', '178.152.45.252', 'Success'), (297, 'EMP004', '587f628492e2f41e28655d0cd074499b', '2012-07-11 14:14:12', NULL, '11', '0000-00-00 00:00:00', '178.152.45.252', 'Success'), (298, 'admin', 'c0d15e384cacae436f6f033ad30f0471', '2012-07-11 14:20:56', NULL, '1', '0000-00-00 00:00:00', '122.174.210.140', 'Success'), (299, 'admin', 'c0d15e384cacae436f6f033ad30f0471', '2012-07-11 15:06:48', NULL, '1', '0000-00-00 00:00:00', '178.152.45.252', 'Success'), (300, 'admin', 'rib12345', '2012-07-11 15:28:19', NULL, '1', '2012-07-11 15:28:19', '178.152.45.252', 'failed'); -- -------------------------------------------------------- -- -- Table structure for table `main_account_settings` -- CREATE TABLE IF NOT EXISTS `main_account_settings` ( `main_account_settings_id` int(11) NOT NULL AUTO_INCREMENT, `project` double NOT NULL, `commission` varchar(10) NOT NULL, PRIMARY KEY (`main_account_settings_id`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=2 ; -- -- Dumping data for table `main_account_settings` -- INSERT INTO `main_account_settings` (`main_account_settings_id`, `project`, `commission`) VALUES (1, 200000, '400007'); -- -------------------------------------------------------- -- -- Table structure for table `master` -- CREATE TABLE IF NOT EXISTS `master` ( `masterid` int(11) NOT NULL AUTO_INCREMENT, `menu_id` int(11) NOT NULL, `creator_id` int(11) NOT NULL, `owner_id` int(11) NOT NULL, `created_time` datetime NOT NULL, `modified_time` datetime NOT NULL, PRIMARY KEY (`masterid`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=622 ; -- -- Dumping data for table `master` -- INSERT INTO `master` (`masterid`, `menu_id`, `creator_id`, `owner_id`, `created_time`, `modified_time`) VALUES (1, 0, 1, 1, '2012-04-27 16:48:16', '2012-05-10 15:15:57'), (321, 0, 1, 1, '2012-05-17 14:21:00', '0000-00-00 00:00:00'), (322, 0, 1, 1, '2012-05-18 04:40:45', '0000-00-00 00:00:00'), (323, 0, 1, 1, '2012-05-18 04:40:45', '0000-00-00 00:00:00'), (324, 0, 1, 1, '2012-05-18 04:43:18', '2012-05-19 15:07:03'), (325, 0, 1, 1, '2012-05-18 11:53:37', '0000-00-00 00:00:00'), (326, 0, 1, 1, '2012-05-18 11:54:41', '0000-00-00 00:00:00'), (327, 0, 1, 1, '2012-05-18 11:54:50', '0000-00-00 00:00:00'), (328, 0, 1, 1, '2012-05-18 11:57:48', '0000-00-00 00:00:00'), (329, 0, 1, 1, '2012-05-18 11:57:48', '0000-00-00 00:00:00'), (330, 0, 1, 340, '2012-05-18 12:03:56', '2012-05-21 14:32:27'), (331, 0, 1, 1, '2012-05-18 12:06:30', '2012-05-18 23:41:35'), (332, 0, 1, 1, '2012-05-18 12:06:38', '0000-00-00 00:00:00'), (333, 0, 1, 1, '2012-05-18 23:40:33', '0000-00-00 00:00:00'), (334, 0, 1, 1, '2012-05-18 23:40:33', '0000-00-00 00:00:00'), (335, 0, 1, 1, '2012-05-18 23:44:53', '0000-00-00 00:00:00'), (336, 0, 1, 1, '2012-05-19 10:42:53', '0000-00-00 00:00:00'), (337, 0, 1, 1, '2012-05-19 13:01:19', '0000-00-00 00:00:00'), (338, 0, 1, 1, '2012-05-19 13:14:16', '0000-00-00 00:00:00'), (339, 0, 1, 1, '2012-05-19 13:14:16', '0000-00-00 00:00:00'), (340, 0, 1, 1, '2012-05-19 13:15:46', '2012-05-19 13:16:23'), (341, 0, 11, 340, '2012-05-20 11:27:22', '0000-00-00 00:00:00'), (342, 0, 11, 340, '2012-05-20 11:28:49', '0000-00-00 00:00:00'), (343, 0, 1, 1, '2012-05-20 11:40:15', '0000-00-00 00:00:00'), (344, 0, 1, 1, '2012-05-20 11:40:56', '0000-00-00 00:00:00'), (345, 0, 11, 340, '2012-05-20 11:45:59', '0000-00-00 00:00:00'), (346, 0, 11, 340, '2012-05-20 11:48:14', '0000-00-00 00:00:00'), (347, 0, 11, 1, '2012-05-20 14:15:56', '0000-00-00 00:00:00'), (348, 0, 11, 1, '2012-05-20 14:15:56', '0000-00-00 00:00:00'), (349, 0, 11, 1, '2012-05-20 14:33:09', '0000-00-00 00:00:00'), (350, 0, 11, 1, '2012-05-20 14:33:09', '0000-00-00 00:00:00'), (351, 0, 11, 1, '2012-05-20 14:57:26', '0000-00-00 00:00:00'), (352, 0, 11, 1, '2012-05-20 14:57:26', '0000-00-00 00:00:00'), (353, 0, 11, 1, '2012-05-20 15:17:18', '0000-00-00 00:00:00'), (354, 0, 11, 1, '2012-05-20 15:17:18', '0000-00-00 00:00:00'), (355, 0, 11, 1, '2012-05-20 15:27:23', '0000-00-00 00:00:00'), (356, 0, 11, 1, '2012-05-20 15:27:23', '0000-00-00 00:00:00'), (357, 0, 11, 1, '2012-05-20 15:34:57', '0000-00-00 00:00:00'), (358, 0, 11, 1, '2012-05-20 15:34:57', '0000-00-00 00:00:00'), (359, 0, 11, 1, '2012-05-20 15:53:31', '0000-00-00 00:00:00'), (360, 0, 11, 1, '2012-05-20 15:53:31', '0000-00-00 00:00:00'), (361, 0, 11, 1, '2012-05-20 16:09:55', '0000-00-00 00:00:00'), (362, 0, 11, 1, '2012-05-20 16:09:55', '0000-00-00 00:00:00'), (363, 0, 11, 1, '2012-05-20 16:22:02', '0000-00-00 00:00:00'), (364, 0, 11, 1, '2012-05-20 16:22:02', '0000-00-00 00:00:00'), (365, 0, 11, 1, '2012-05-21 14:24:59', '0000-00-00 00:00:00'), (366, 0, 11, 1, '2012-05-21 14:25:55', '0000-00-00 00:00:00'), (367, 0, 11, 340, '2012-05-21 14:25:58', '0000-00-00 00:00:00'), (368, 0, 11, 1, '2012-05-21 14:40:31', '0000-00-00 00:00:00'), (369, 0, 11, 1, '2012-05-21 14:41:09', '0000-00-00 00:00:00'), (370, 0, 11, 340, '2012-05-21 14:41:11', '0000-00-00 00:00:00'), (371, 0, 11, 1, '2012-05-21 14:43:15', '0000-00-00 00:00:00'), (372, 0, 11, 1, '2012-05-21 14:43:45', '0000-00-00 00:00:00'), (373, 0, 11, 340, '2012-05-21 14:43:47', '0000-00-00 00:00:00'), (374, 0, 11, 1, '2012-05-21 14:45:51', '0000-00-00 00:00:00'), (375, 0, 11, 1, '2012-05-21 15:23:05', '0000-00-00 00:00:00'), (376, 0, 11, 1, '2012-05-21 15:23:45', '0000-00-00 00:00:00'), (377, 0, 11, 340, '2012-05-21 15:23:48', '0000-00-00 00:00:00'), (378, 0, 11, 1, '2012-05-21 15:25:45', '0000-00-00 00:00:00'), (379, 0, 11, 1, '2012-05-21 15:27:37', '0000-00-00 00:00:00'), (380, 0, 11, 1, '2012-05-21 15:28:28', '0000-00-00 00:00:00'), (381, 0, 11, 340, '2012-05-21 15:28:30', '0000-00-00 00:00:00'), (382, 0, 11, 1, '2012-05-21 15:40:33', '0000-00-00 00:00:00'), (383, 0, 11, 1, '2012-05-21 15:41:09', '0000-00-00 00:00:00'), (384, 0, 11, 340, '2012-05-21 15:41:11', '0000-00-00 00:00:00'), (385, 0, 1, 1, '2012-05-21 18:17:45', '0000-00-00 00:00:00'), (386, 0, 1, 1, '2012-05-21 18:17:45', '0000-00-00 00:00:00'), (387, 0, 1, 1, '2012-05-21 18:46:56', '0000-00-00 00:00:00'), (388, 0, 1, 1, '2012-05-21 18:46:56', '0000-00-00 00:00:00'), (389, 0, 11, 1, '2012-05-22 12:26:21', '0000-00-00 00:00:00'), (390, 0, 11, 1, '2012-05-22 12:26:21', '0000-00-00 00:00:00'), (391, 0, 11, 1, '2012-05-22 12:31:29', '0000-00-00 00:00:00'), (392, 0, 11, 1, '2012-05-22 12:32:36', '0000-00-00 00:00:00'), (393, 0, 11, 340, '2012-05-22 12:32:39', '0000-00-00 00:00:00'), (394, 0, 1, 1, '2012-05-22 15:25:28', '0000-00-00 00:00:00'), (395, 0, 1, 1, '2012-05-22 15:25:28', '0000-00-00 00:00:00'), (396, 0, 1, 1, '2012-05-22 15:30:21', '0000-00-00 00:00:00'), (397, 0, 1, 1, '2012-05-22 15:39:10', '0000-00-00 00:00:00'), (398, 0, 1, 1, '2012-05-22 15:39:58', '0000-00-00 00:00:00'), (399, 0, 1, 1, '2012-05-22 15:40:03', '0000-00-00 00:00:00'), (400, 0, 1, 1, '2012-05-22 16:27:58', '0000-00-00 00:00:00'), (401, 0, 1, 1, '2012-05-22 16:27:58', '0000-00-00 00:00:00'), (402, 0, 1, 1, '2012-05-22 16:55:49', '2012-05-22 17:07:22'), (403, 0, 1, 1, '2012-05-22 17:00:41', '2012-05-22 17:08:16'), (404, 0, 1, 1, '2012-05-22 17:01:10', '2012-05-22 17:08:46'), (405, 0, 1, 1, '2012-05-22 17:01:13', '0000-00-00 00:00:00'), (406, 0, 1, 1, '2012-05-22 17:22:42', '2012-05-29 16:54:34'), (407, 0, 1, 1, '2012-05-22 17:39:09', '2012-05-22 17:51:00'), (408, 0, 1, 1, '2012-05-23 11:16:58', '0000-00-00 00:00:00'), (409, 0, 1, 1, '2012-05-23 11:16:58', '0000-00-00 00:00:00'), (410, 0, 1, 1, '2012-05-23 11:19:01', '0000-00-00 00:00:00'), (411, 0, 1, 1, '2012-05-23 11:19:32', '0000-00-00 00:00:00'), (412, 0, 1, 1, '2012-05-23 11:19:35', '0000-00-00 00:00:00'), (413, 0, 1, 1, '2012-05-23 11:36:33', '0000-00-00 00:00:00'), (414, 0, 1, 1, '2012-05-23 11:37:25', '0000-00-00 00:00:00'), (415, 0, 1, 1, '2012-05-23 11:37:27', '0000-00-00 00:00:00'), (416, 0, 1, 1, '2012-05-23 11:40:25', '0000-00-00 00:00:00'), (417, 0, 1, 1, '2012-05-23 11:41:16', '0000-00-00 00:00:00'), (418, 0, 1, 1, '2012-05-23 11:41:20', '0000-00-00 00:00:00'), (419, 0, 1, 1, '2012-05-23 11:43:31', '0000-00-00 00:00:00'), (420, 0, 1, 1, '2012-05-23 11:43:54', '0000-00-00 00:00:00'), (421, 0, 1, 1, '2012-05-23 11:43:58', '0000-00-00 00:00:00'), (422, 0, 1, 1, '2012-05-23 11:51:29', '2012-05-23 20:16:44'), (423, 0, 1, 1, '2012-05-23 11:53:58', '0000-00-00 00:00:00'), (424, 0, 1, 1, '2012-05-23 11:54:31', '0000-00-00 00:00:00'), (425, 0, 1, 1, '2012-05-23 11:54:33', '0000-00-00 00:00:00'), (426, 0, 1, 1, '2012-05-23 11:56:44', '0000-00-00 00:00:00'), (427, 0, 1, 1, '2012-05-23 11:57:15', '0000-00-00 00:00:00'), (428, 0, 1, 1, '2012-05-23 11:57:17', '0000-00-00 00:00:00'), (429, 0, 1, 1, '2012-05-23 12:01:27', '0000-00-00 00:00:00'), (430, 0, 1, 1, '2012-05-23 12:02:44', '0000-00-00 00:00:00'), (431, 0, 1, 1, '2012-05-23 12:02:47', '0000-00-00 00:00:00'), (432, 0, 1, 1, '2012-05-23 12:29:21', '0000-00-00 00:00:00'), (433, 0, 1, 1, '2012-05-23 12:29:29', '0000-00-00 00:00:00'), (434, 0, 1, 1, '2012-05-23 12:34:30', '0000-00-00 00:00:00'), (435, 0, 1, 1, '2012-05-23 12:34:30', '0000-00-00 00:00:00'), (436, 0, 1, 1, '2012-05-23 12:39:31', '0000-00-00 00:00:00'), (437, 0, 1, 1, '2012-05-23 12:39:37', '0000-00-00 00:00:00'), (438, 0, 1, 1, '2012-05-23 12:57:50', '0000-00-00 00:00:00'), (439, 0, 1, 1, '2012-05-23 12:57:50', '0000-00-00 00:00:00'), (440, 0, 1, 1, '2012-05-23 13:02:44', '0000-00-00 00:00:00'), (441, 0, 1, 1, '2012-05-23 13:03:54', '2012-05-23 13:05:26'), (442, 0, 1, 1, '2012-05-23 13:04:01', '0000-00-00 00:00:00'), (443, 0, 1, 1, '2012-05-23 13:11:43', '0000-00-00 00:00:00'), (444, 0, 1, 1, '2012-05-23 13:11:43', '0000-00-00 00:00:00'), (445, 0, 1, 1, '2012-05-23 13:14:37', '0000-00-00 00:00:00'), (446, 0, 1, 1, '2012-05-23 13:15:08', '0000-00-00 00:00:00'), (447, 0, 1, 1, '2012-05-23 13:15:10', '0000-00-00 00:00:00'), (448, 0, 1, 1, '2012-05-23 13:21:50', '0000-00-00 00:00:00'), (449, 0, 1, 1, '2012-05-23 13:21:50', '0000-00-00 00:00:00'), (450, 0, 1, 1, '2012-05-23 13:23:59', '0000-00-00 00:00:00'), (451, 0, 1, 1, '2012-05-23 13:24:46', '0000-00-00 00:00:00'), (452, 0, 1, 1, '2012-05-23 13:24:49', '0000-00-00 00:00:00'), (453, 0, 1, 1, '2012-05-23 13:29:31', '0000-00-00 00:00:00'), (454, 0, 1, 1, '2012-05-23 13:29:31', '0000-00-00 00:00:00'), (455, 0, 1, 1, '2012-05-23 13:38:48', '0000-00-00 00:00:00'), (456, 0, 1, 1, '2012-05-23 13:39:23', '0000-00-00 00:00:00'), (457, 0, 1, 1, '2012-05-23 13:39:26', '0000-00-00 00:00:00'), (458, 0, 1, 1, '2012-05-23 13:41:31', '0000-00-00 00:00:00'), (459, 0, 1, 1, '2012-05-23 13:42:08', '0000-00-00 00:00:00'), (460, 0, 1, 1, '2012-05-23 13:42:10', '0000-00-00 00:00:00'), (461, 0, 1, 1, '2012-05-23 13:46:05', '0000-00-00 00:00:00'), (462, 0, 1, 1, '2012-05-23 13:46:05', '0000-00-00 00:00:00'), (463, 0, 1, 1, '2012-05-23 13:48:26', '0000-00-00 00:00:00'), (464, 0, 1, 1, '2012-05-23 13:49:52', '0000-00-00 00:00:00'), (465, 0, 1, 1, '2012-05-23 13:49:54', '0000-00-00 00:00:00'), (466, 0, 1, 1, '2012-05-23 13:57:00', '0000-00-00 00:00:00'), (467, 0, 1, 1, '2012-05-23 13:57:34', '0000-00-00 00:00:00'), (468, 0, 1, 1, '2012-05-23 13:57:36', '0000-00-00 00:00:00'), (469, 0, 1, 1, '2012-05-23 14:06:03', '0000-00-00 00:00:00'), (470, 0, 1, 1, '2012-05-23 14:06:03', '0000-00-00 00:00:00'), (471, 0, 1, 1, '2012-05-23 14:08:55', '0000-00-00 00:00:00'), (472, 0, 1, 1, '2012-05-23 14:09:19', '0000-00-00 00:00:00'), (473, 0, 1, 1, '2012-05-23 14:09:31', '0000-00-00 00:00:00'), (474, 0, 1, 1, '2012-05-23 14:11:10', '0000-00-00 00:00:00'), (475, 0, 1, 1, '2012-05-23 14:11:32', '0000-00-00 00:00:00'), (476, 0, 1, 1, '2012-05-23 14:11:34', '0000-00-00 00:00:00'), (477, 0, 1, 1, '2012-05-23 14:19:04', '0000-00-00 00:00:00'), (478, 0, 1, 1, '2012-05-23 14:19:04', '0000-00-00 00:00:00'), (479, 0, 1, 1, '2012-05-23 14:21:43', '0000-00-00 00:00:00'), (480, 0, 1, 1, '2012-05-23 14:22:18', '0000-00-00 00:00:00'), (481, 0, 1, 1, '2012-05-23 14:22:23', '0000-00-00 00:00:00'), (482, 0, 1, 1, '2012-05-23 14:27:51', '0000-00-00 00:00:00'), (483, 0, 1, 1, '2012-05-23 14:27:51', '0000-00-00 00:00:00'), (484, 0, 1, 1, '2012-05-23 14:29:59', '0000-00-00 00:00:00'), (485, 0, 1, 1, '2012-05-23 14:30:28', '0000-00-00 00:00:00'), (486, 0, 1, 1, '2012-05-23 14:30:30', '0000-00-00 00:00:00'), (487, 0, 1, 1, '2012-05-23 14:34:09', '0000-00-00 00:00:00'), (488, 0, 1, 1, '2012-05-23 14:35:02', '0000-00-00 00:00:00'), (489, 0, 1, 1, '2012-05-23 14:35:04', '0000-00-00 00:00:00'), (490, 0, 11, 340, '2012-05-23 15:56:59', '0000-00-00 00:00:00'), (491, 0, 11, 340, '2012-05-23 15:58:00', '0000-00-00 00:00:00'), (492, 0, 11, 340, '2012-05-23 15:58:34', '0000-00-00 00:00:00'), (493, 0, 11, 340, '2012-05-23 15:59:02', '0000-00-00 00:00:00'), (494, 0, 11, 340, '2012-05-23 15:59:55', '0000-00-00 00:00:00'), (495, 0, 11, 340, '2012-05-23 16:00:47', '0000-00-00 00:00:00'), (496, 0, 11, 340, '2012-05-23 16:01:17', '0000-00-00 00:00:00'), (497, 0, 11, 340, '2012-05-23 16:01:47', '0000-00-00 00:00:00'), (498, 0, 11, 340, '2012-05-23 16:02:23', '0000-00-00 00:00:00'), (499, 0, 11, 340, '2012-05-23 16:02:59', '0000-00-00 00:00:00'), (500, 0, 11, 1, '2012-05-29 12:15:48', '2012-07-01 15:32:26'), (501, 0, 11, 340, '2012-05-29 14:20:19', '2012-06-02 17:45:16'), (502, 0, 11, 1, '2012-05-29 14:22:35', '0000-00-00 00:00:00'), (503, 0, 11, 340, '2012-05-29 14:22:40', '0000-00-00 00:00:00'), (504, 0, 11, 1, '2012-05-29 14:30:36', '0000-00-00 00:00:00'), (505, 0, 11, 1, '2012-05-29 14:30:36', '0000-00-00 00:00:00'), (506, 0, 11, 1, '2012-05-29 14:32:43', '2012-05-29 16:46:29'), (507, 0, 11, 1, '2012-05-29 14:33:17', '2012-05-29 16:44:19'), (508, 0, 11, 340, '2012-05-29 14:33:30', '0000-00-00 00:00:00'), (509, 0, 1, 1, '2012-05-29 16:52:38', '0000-00-00 00:00:00'), (510, 0, 11, 1, '2012-05-29 17:47:39', '0000-00-00 00:00:00'), (511, 0, 11, 1, '2012-05-29 17:47:39', '0000-00-00 00:00:00'), (512, 0, 11, 1, '2012-05-29 18:16:03', '0000-00-00 00:00:00'), (513, 0, 11, 1, '2012-05-29 18:16:03', '0000-00-00 00:00:00'), (514, 0, 11, 1, '2012-05-29 18:55:47', '0000-00-00 00:00:00'), (515, 0, 11, 1, '2012-05-29 18:55:47', '0000-00-00 00:00:00'), (516, 0, 11, 1, '2012-05-30 12:35:07', '0000-00-00 00:00:00'), (517, 0, 11, 1, '2012-05-30 12:35:07', '0000-00-00 00:00:00'), (518, 0, 11, 1, '2012-05-30 12:50:43', '0000-00-00 00:00:00'), (519, 0, 11, 1, '2012-05-30 12:56:17', '0000-00-00 00:00:00'), (520, 0, 11, 340, '2012-05-30 12:56:24', '0000-00-00 00:00:00'), (521, 0, 11, 1, '2012-05-30 15:15:16', '0000-00-00 00:00:00'), (522, 0, 11, 1, '2012-05-30 15:15:16', '0000-00-00 00:00:00'), (523, 0, 11, 1, '2012-05-30 15:21:08', '0000-00-00 00:00:00'), (524, 0, 11, 1, '2012-05-30 15:21:08', '0000-00-00 00:00:00'), (525, 0, 11, 1, '2012-05-31 11:46:01', '0000-00-00 00:00:00'), (526, 0, 11, 1, '2012-05-31 11:46:01', '0000-00-00 00:00:00'), (527, 0, 11, 1, '2012-06-02 13:38:18', '0000-00-00 00:00:00'), (528, 0, 11, 1, '2012-06-02 13:38:18', '0000-00-00 00:00:00'), (529, 0, 11, 1, '2012-06-02 14:01:01', '0000-00-00 00:00:00'), (530, 0, 11, 1, '2012-06-02 14:01:01', '0000-00-00 00:00:00'), (531, 0, 11, 1, '2012-06-03 14:03:09', '0000-00-00 00:00:00'), (532, 0, 11, 1, '2012-06-03 14:03:09', '0000-00-00 00:00:00'), (533, 0, 11, 1, '2012-06-03 14:17:09', '0000-00-00 00:00:00'), (534, 0, 11, 1, '2012-06-03 14:17:09', '0000-00-00 00:00:00'), (535, 0, 11, 1, '2012-06-03 15:01:32', '0000-00-00 00:00:00'), (536, 0, 11, 1, '2012-06-03 15:01:32', '0000-00-00 00:00:00'), (537, 0, 11, 340, '2012-06-05 17:43:36', '0000-00-00 00:00:00'), (538, 0, 1, 1, '2012-06-05 17:54:44', '2012-06-05 17:55:23'), (539, 0, 11, 1, '2012-06-09 14:32:51', '0000-00-00 00:00:00'), (540, 0, 11, 1, '2012-06-09 14:32:51', '0000-00-00 00:00:00'), (541, 0, 11, 340, '2012-06-10 15:06:56', '0000-00-00 00:00:00'), (542, 0, 11, 1, '2012-06-10 15:15:05', '0000-00-00 00:00:00'), (543, 0, 11, 1, '2012-06-10 15:15:05', '0000-00-00 00:00:00'), (544, 0, 11, 1, '2012-06-13 11:40:12', '0000-00-00 00:00:00'), (545, 0, 11, 1, '2012-06-13 11:41:16', '0000-00-00 00:00:00'), (546, 0, 11, 340, '2012-06-13 11:41:22', '0000-00-00 00:00:00'), (547, 0, 11, 340, '2012-06-13 16:35:33', '0000-00-00 00:00:00'), (548, 0, 11, 340, '2012-06-13 16:43:14', '0000-00-00 00:00:00'), (549, 0, 11, 340, '2012-06-13 17:54:04', '0000-00-00 00:00:00'), (550, 0, 11, 340, '2012-06-13 17:55:54', '0000-00-00 00:00:00'), (551, 0, 11, 1, '2012-06-19 17:37:20', '0000-00-00 00:00:00'), (552, 0, 11, 1, '2012-06-19 17:37:20', '0000-00-00 00:00:00'), (553, 0, 11, 1, '2012-06-19 17:47:37', '2012-06-19 18:46:07'), (554, 0, 11, 1, '2012-06-19 17:48:53', '2012-06-19 18:46:22'), (555, 0, 11, 340, '2012-06-19 17:49:00', '0000-00-00 00:00:00'), (556, 0, 1, 1, '2012-06-19 18:49:24', '0000-00-00 00:00:00'), (557, 0, 11, 1, '2012-06-25 11:07:11', '0000-00-00 00:00:00'), (558, 0, 11, 1, '2012-06-25 11:07:12', '0000-00-00 00:00:00'), (559, 0, 11, 340, '2012-06-25 11:10:33', '0000-00-00 00:00:00'), (560, 0, 11, 1, '2012-06-27 16:02:11', '0000-00-00 00:00:00'), (561, 0, 11, 1, '2012-06-27 16:02:11', '0000-00-00 00:00:00'), (562, 0, 11, 1, '2012-06-28 16:52:15', '0000-00-00 00:00:00'), (563, 0, 11, 1, '2012-06-28 16:57:03', '0000-00-00 00:00:00'), (564, 0, 11, 1, '2012-06-28 16:57:03', '0000-00-00 00:00:00'), (565, 0, 11, 1, '2012-06-28 16:59:39', '0000-00-00 00:00:00'), (566, 0, 1, 1, '2012-06-30 17:14:36', '2012-06-30 17:17:29'), (567, 0, 1, 1, '2012-06-30 17:15:13', '0000-00-00 00:00:00'), (568, 0, 1, 1, '2012-06-30 17:15:23', '0000-00-00 00:00:00'), (569, 0, 11, 1, '2012-07-01 11:04:39', '0000-00-00 00:00:00'), (570, 0, 11, 1, '2012-07-01 11:04:39', '0000-00-00 00:00:00'), (571, 0, 11, 1, '2012-07-01 11:08:49', '0000-00-00 00:00:00'), (572, 0, 11, 1, '2012-07-01 11:08:49', '0000-00-00 00:00:00'), (573, 0, 1, 1, '2012-07-01 15:21:56', '2012-07-01 15:23:21'), (574, 0, 1, 1, '2012-07-01 15:23:51', '0000-00-00 00:00:00'), (575, 0, 1, 1, '2012-07-01 15:23:56', '0000-00-00 00:00:00'), (576, 0, 1, 1, '2012-07-01 15:27:34', '0000-00-00 00:00:00'), (577, 0, 1, 1, '2012-07-01 15:27:38', '0000-00-00 00:00:00'), (578, 0, 11, 1, '2012-07-01 15:55:22', '0000-00-00 00:00:00'), (579, 0, 11, 1, '2012-07-01 15:55:22', '0000-00-00 00:00:00'), (580, 0, 11, 1, '2012-07-01 16:01:54', '0000-00-00 00:00:00'), (581, 0, 11, 1, '2012-07-01 16:02:47', '0000-00-00 00:00:00'), (582, 0, 11, 340, '2012-07-01 16:02:52', '0000-00-00 00:00:00'), (583, 0, 11, 1, '2012-07-01 16:18:17', '0000-00-00 00:00:00'), (584, 0, 11, 1, '2012-07-01 16:18:17', '0000-00-00 00:00:00'), (585, 0, 11, 1, '2012-07-01 16:20:05', '0000-00-00 00:00:00'), (586, 0, 11, 1, '2012-07-01 16:20:30', '0000-00-00 00:00:00'), (587, 0, 11, 340, '2012-07-01 16:20:49', '0000-00-00 00:00:00'), (588, 0, 11, 1, '2012-07-01 16:22:48', '0000-00-00 00:00:00'), (589, 0, 11, 1, '2012-07-01 16:22:48', '0000-00-00 00:00:00'), (590, 0, 11, 1, '2012-07-01 17:05:03', '0000-00-00 00:00:00'), (591, 0, 11, 1, '2012-07-01 17:05:28', '0000-00-00 00:00:00'), (592, 0, 11, 340, '2012-07-01 17:05:32', '0000-00-00 00:00:00'), (593, 0, 11, 1, '2012-07-01 17:07:35', '0000-00-00 00:00:00'), (594, 0, 11, 1, '2012-07-01 17:07:35', '0000-00-00 00:00:00'), (595, 0, 11, 1, '2012-07-01 17:09:07', '0000-00-00 00:00:00'), (596, 0, 11, 1, '2012-07-01 17:09:32', '0000-00-00 00:00:00'), (597, 0, 11, 340, '2012-07-01 17:09:35', '0000-00-00 00:00:00'), (598, 0, 11, 1, '2012-07-01 17:13:53', '0000-00-00 00:00:00'), (599, 0, 11, 1, '2012-07-01 17:13:53', '0000-00-00 00:00:00'), (600, 0, 11, 1, '2012-07-01 17:15:02', '0000-00-00 00:00:00'), (601, 0, 11, 1, '2012-07-01 17:15:24', '0000-00-00 00:00:00'), (602, 0, 11, 340, '2012-07-01 17:15:27', '0000-00-00 00:00:00'), (603, 0, 11, 1, '2012-07-01 17:17:47', '0000-00-00 00:00:00'), (604, 0, 11, 1, '2012-07-01 17:17:47', '0000-00-00 00:00:00'), (605, 0, 11, 1, '2012-07-01 17:19:11', '0000-00-00 00:00:00'), (606, 0, 11, 1, '2012-07-01 17:19:53', '0000-00-00 00:00:00'), (607, 0, 11, 340, '2012-07-01 17:19:57', '0000-00-00 00:00:00'), (608, 0, 11, 1, '2012-07-01 17:21:30', '0000-00-00 00:00:00'), (609, 0, 11, 1, '2012-07-01 17:21:30', '0000-00-00 00:00:00'), (610, 0, 11, 1, '2012-07-01 17:23:59', '0000-00-00 00:00:00'), (611, 0, 11, 1, '2012-07-01 17:25:21', '0000-00-00 00:00:00'), (612, 0, 11, 340, '2012-07-01 17:25:34', '0000-00-00 00:00:00'), (613, 0, 11, 1, '2012-07-01 17:44:11', '0000-00-00 00:00:00'), (614, 0, 11, 1, '2012-07-01 17:44:11', '0000-00-00 00:00:00'), (615, 0, 1, 1, '2012-07-01 18:28:40', '0000-00-00 00:00:00'), (616, 0, 1, 1, '2012-07-01 18:28:57', '0000-00-00 00:00:00'), (617, 0, 1, 1, '2012-07-01 18:30:08', '0000-00-00 00:00:00'), (618, 0, 1, 1, '2012-07-01 18:33:57', '0000-00-00 00:00:00'), (619, 0, 11, 340, '2012-07-01 18:45:14', '0000-00-00 00:00:00'), (620, 0, 11, 340, '2012-07-01 18:45:50', '0000-00-00 00:00:00'), (621, 0, 11, 340, '2012-07-04 15:24:17', '0000-00-00 00:00:00'); -- -------------------------------------------------------- -- -- Table structure for table `menu` -- CREATE TABLE IF NOT EXISTS `menu` ( `menu_id` int(10) NOT NULL AUTO_INCREMENT, `module_id` int(10) NOT NULL, `caption` varchar(50) NOT NULL, `target` varchar(250) NOT NULL, `sort` int(11) NOT NULL, `imagepath` varchar(100) NOT NULL, `active` tinyint(1) NOT NULL DEFAULT '1', PRIMARY KEY (`menu_id`), KEY `Module_id` (`module_id`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=67 ; -- -- Dumping data for table `menu` -- INSERT INTO `menu` (`menu_id`, `module_id`, `caption`, `target`, `sort`, `imagepath`, `active`) VALUES (1, 2, 'Type of Activity', 'manage_activity_category', 1, '', 1), (2, 2, 'Projects', 'manage_activity', 2, '', 1), (3, 2, 'Company Details', 'manage_company', 4, '', 1), (4, 2, 'Branch', 'manage_branch', 5, '', 1), (5, 3, 'Customers', 'manage_customer', 1, 'Individual Customers.png', 1), (6, 3, 'Track Customers', 'manage_track_customer', 2, 'staff-customer.png', 1), (7, 4, 'Employee Customer Allocation', 'manage_employeecustomer', 1, 'staff-customer.png', 1), (8, 4, 'Sales Leads Management', 'manage_sales_lead', 2, 'Sales Leads.png', 1), (9, 4, 'Employee Target', 'manage_employee_target', 3, 'Employee Target.png', 1), (10, 4, 'Branch Target', 'manage_branch_target', 4, 'branch Target.png', 1), (11, 5, 'Proposals', 'manage_training_proposal', 2, 'Proposals.png', 1), (12, 5, 'Documents', 'manage_document', 5, 'Documents.png', 1), (13, 6, 'Employees', 'manage_employee', 1, 'empolyee.png', 1), (14, 6, 'Leave Allocation', 'manage_leave_allocation', 2, 'leave allocation.png', 1), (15, 6, 'Leave Application', 'manage_leave_application', 3, 'leave application.png', 1), (16, 6, 'Employee Salary Settings', 'manage_employee_salary', 6, 'Employee Salary settings.png', 1), (17, 6, 'Employee Salary Payment', 'manage_salary_payment', 7, 'Employee Salary Payment.png', 1), (18, 6, 'Pay Slip', 'manage_payslip', 8, 'pay slip.png', 1), (19, 6, 'Designations', 'manage_designation', 9, 'Designations.png', 1), (20, 6, 'Departments', 'manage_department', 10, 'dipartment.png', 1), (21, 6, 'Grade', 'manage_grade', 11, 'Grade.png', 1), (22, 6, 'Status', 'manage_status', 12, 'Status.png', 1), (23, 6, 'Allowance & Deductions', 'manage_allowdeduc', 13, 'Allowance & Deductions.png', 1), (24, 6, 'Leave Types', 'manage_leave_type', 14, 'leave application.png', 1), (25, 6, 'Holidays', 'manage_holiday', 15, 'Holidays.png', 1), (26, 7, 'Debit Note', 'manage_debit_note', 1, 'Debit Note.png', 1), (27, 7, 'Credit Note', 'manage_credit_note', 2, 'Credit Note.png', 1), (28, 7, 'Customer Payments', 'manage_customer_payment', 3, 'Customer Payments.png', 1), (29, 7, 'Payment Voucher', 'manage_payment_voucher', 4, 'voucher.png', 1), (30, 7, 'Receipt Voucher', 'manage_receipt_voucher', 5, 'voucher.png', 1), (31, 7, 'Bank Journal', 'manage_bank_journal', 6, 'Bank Journal.png', 1), (32, 7, 'Auto Journal', 'manage_auto_journal', 7, 'Bank Journal.png', 1), (33, 7, 'Journal Voucher', 'manage_jounal_voucher', 8, 'voucher.png', 1), (34, 7, 'Trial Balance Report', 'manage_trial_balance_report', 9, 'trial blnce.png', 1), (35, 7, 'Sub A/c Trial Balance', 'manage_sub_ac_trial_balance', 10, 'trial blnce sub.png', 1), (36, 7, 'Sub A/c Ledger', 'manage_sub_ac_ledger', 11, 'sub ledjer.png', 1), (37, 7, 'Statement of Account', 'manage_statement_account', 12, 'statement subacount.png', 1), (38, 7, 'Aging Summary', 'manage_aging_summary', 13, 'summary.png', 1), (39, 7, 'Aging report', 'manage_aging_report', 14, 'report.png', 1), (40, 7, 'Transaction Code', 'manage_transaction_code', 16, 'transaction.png', 1), (41, 7, 'Sub Accounts', 'manage_sub_account', 18, 'sub main ac.png', 1), (42, 7, 'Main Accounts', 'manage_main_account', 19, 'main ac.png', 1), (43, 7, 'Currency', 'manage_currency', 20, 'Currency.png', 1), (44, 7, 'Fiscal Year', 'manage_fiscal_year', 21, 'Fiscal Year.png', 1), (45, 7, 'Sub A/C Settings', 'manage_sub_account_settings', 22, 'sub main ac set.png', 1), (46, 7, 'Main Account Settings', 'manage_main_account_settings', 23, 'main ac set.png', 1), (47, 8, 'Business Report', 'manage_report', 1, 'Customer Reports.png', 1), (48, 9, 'Users', 'manage_user', 1, 'user settings.png', 1), (49, 9, 'User Profiles', 'manage_profile', 2, 'profile settings.png', 1), (50, 9, 'Reminders', 'manage_reminder', 3, 'reminder.png', 1), (51, 9, 'Alerts', 'manage_alert', 4, 'alert.png', 0), (52, 5, 'Quotation', 'manage_quotation_training', 2, 'Customer Payments.png', 1), (53, 5, 'Registration', 'manage_registration_training', 3, 'Debit Note.png', 1), (54, 6, 'Offer Letter', 'manage_offer_letter', 4, 'voucher.png', 1), (55, 6, 'Resume Management', 'manage_resume_management', 5, 'voucher.png', 1), (56, 2, 'Document Categories', 'manage_document_category', 3, 'Documents.png', 1), (57, 5, 'Calendar', 'manage_calendar', 6, 'voucher.png', 1), (58, 4, 'Daily Activity', 'manage_daily_activity', 5, 'user settings.png', 1), (59, 2, 'Source', 'manage_source', 3, '', 1), (60, 10, 'Proposals', 'manage_proposal_software', 1, 'proposal.png', 1), (61, 10, 'Placement', 'manage_placement', 2, 'placement.png', 1), (62, 7, 'Bank Accounts', 'manage_bank_account', 17, 'Bank Journal.png', 1), (63, 8, 'Sales Report', 'manage_report', 2, 'sales_report.gif', 1), (64, 8, 'HR Report', 'manage_report', 3, 'hr_report.png', 1), (65, 5, 'Cancellation', 'manage_cancellation_training', 4, 'cancelation.png', 1), (66, 2, 'Expense Category', 'manage_expense_category', 3, '', 1); -- -------------------------------------------------------- -- -- Table structure for table `modules` -- CREATE TABLE IF NOT EXISTS `modules` ( `module_id` int(10) NOT NULL AUTO_INCREMENT, `module_name` varchar(30) NOT NULL, `module_title` varchar(100) NOT NULL, `sort` int(11) NOT NULL, `active` tinyint(1) NOT NULL, PRIMARY KEY (`module_id`), UNIQUE KEY `module_name` (`module_name`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=11 ; -- -- Dumping data for table `modules` -- INSERT INTO `modules` (`module_id`, `module_name`, `module_title`, `sort`, `active`) VALUES (1, 'Home', 'Home', 1, 1), (2, 'Master', 'Master', 2, 1), (3, 'Customer', 'Customers', 3, 1), (4, 'Sales', 'Sales', 4, 1), (5, 'Training', 'Training', 5, 1), (6, 'HR', 'HR', 7, 1), (7, 'Accounting', 'Accounting', 8, 1), (8, 'Report', 'Reports', 9, 1), (9, 'Settings', 'Settings', 10, 1), (10, 'Software', 'Software', 6, 1); -- -------------------------------------------------------- -- -- Table structure for table `offer_letter` -- CREATE TABLE IF NOT EXISTS `offer_letter` ( `offer_letter_id` int(11) NOT NULL, `candidate_name` varchar(100) NOT NULL, `candidate_email` varchar(30) NOT NULL, `interview_date` date NOT NULL, `contact_no` varchar(15) NOT NULL, `designation_id` int(11) NOT NULL, `joining_date` date NOT NULL, `filename` varchar(50) NOT NULL, PRIMARY KEY (`offer_letter_id`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -------------------------------------------------------- -- -- Table structure for table `project` -- CREATE TABLE IF NOT EXISTS `project` ( `project_id` int(11) NOT NULL, `project_code` varchar(20) NOT NULL, `project_title` varchar(200) NOT NULL, `project_description` text NOT NULL, `project_date` date NOT NULL, PRIMARY KEY (`project_id`), UNIQUE KEY `project_code` (`project_code`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; -- -------------------------------------------------------- -- -- Table structure for table `refs` -- CREATE TABLE IF NOT EXISTS `refs` ( `ref_id` int(11) NOT NULL, `ref_transaction_type_id` int(11) NOT NULL, `ref_code` varchar(20) NOT NULL, PRIMARY KEY (`ref_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; -- -- Dumping data for table `refs` -- INSERT INTO `refs` (`ref_id`, `ref_transaction_type_id`, `ref_code`) VALUES (327, 6, 'DN/2012/1'), (337, 6, 'DN/2012/2'), (341, 1, 'PV/2012/1'), (342, 1, 'PV/2012/2'), (343, 3, 'JV/2012/1'), (344, 3, 'JV/2012/2'), (345, 2, 'RV/2012/1'), (346, 2, 'RV/2012/2'), (367, 6, 'DN/2012/3'), (370, 6, 'DN/2012/4'), (373, 6, 'DN/2012/5'), (377, 6, 'DN/2012/6'), (393, 6, 'DN/2012/7'), (399, 6, 'DN/2012/8'), (405, 6, 'DN/2012/9'), (412, 6, 'DN/2012/10'), (415, 6, 'DN/2012/11'), (418, 6, 'DN/2012/12'), (421, 6, 'DN/2012/13'), (425, 6, 'DN/2012/14'), (428, 6, 'DN/2012/15'), (431, 6, 'DN/2012/16'), (433, 6, 'DN/2012/17'), (435, 5, 'CN/2012/1'), (437, 6, 'DN/2012/18'), (442, 6, 'DN/2012/19'), (447, 6, 'DN/2012/20'), (452, 6, 'DN/2012/21'), (457, 6, 'DN/2012/22'), (460, 6, 'DN/2012/23'), (465, 6, 'DN/2012/24'), (468, 6, 'DN/2012/25'), (473, 6, 'DN/2012/26'), (476, 6, 'DN/2012/27'), (481, 6, 'DN/2012/28'), (486, 6, 'DN/2012/29'), (489, 6, 'DN/2012/30'), (490, 2, 'RV/2012/3'), (491, 2, 'RV/2012/4'), (492, 2, 'RV/2012/5'), (493, 2, 'RV/2012/6'), (494, 2, 'RV/2012/7'), (495, 2, 'RV/2012/8'), (496, 2, 'RV/2012/9'), (497, 2, 'RV/2012/10'), (498, 2, 'RV/2012/11'), (499, 2, 'RV/2012/12'), (509, 6, 'DN/2012/32'), (520, 6, 'DN/2012/33'), (546, 6, 'DN/2012/34'), (547, 1, 'PV/2012/3'), (548, 1, 'PV/2012/4'), (549, 2, 'RV/2012/13'), (550, 2, 'RV/2012/14'), (555, 6, 'DN/2012/35'), (556, 6, 'DN/2012/35'), (559, 2, 'RV/2012/15'), (568, 6, 'DN/2012/36'), (575, 6, 'DN/2012/37'), (577, 6, 'DN/2012/38'), (582, 6, 'DN/2012/39'), (587, 6, 'DN/2012/40'), (592, 6, 'DN/2012/41'), (597, 6, 'DN/2012/42'), (602, 6, 'DN/2012/43'), (607, 6, 'DN/2012/44'), (612, 6, 'DN/2012/45'), (615, 3, 'JV/2012/3'), (618, 3, 'JV/2012/5'), (619, 2, 'RV/2012/16'), (620, 2, 'RV/2012/17'), (621, 2, 'RV/2012/18'); -- -------------------------------------------------------- -- -- Table structure for table `refs_records` -- CREATE TABLE IF NOT EXISTS `refs_records` ( `ref_id` int(11) NOT NULL, `record_id` int(11) NOT NULL, `type` varchar(50) NOT NULL, PRIMARY KEY (`ref_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; -- -- Dumping data for table `refs_records` -- INSERT INTO `refs_records` (`ref_id`, `record_id`, `type`) VALUES (327, 326, 'registration'), (337, 331, 'registration'), (367, 366, 'registration'), (370, 369, 'registration'), (373, 372, 'registration'), (377, 376, 'registration'), (393, 392, 'registration'), (399, 398, 'registration'), (405, 404, 'registration'), (412, 411, 'registration'), (415, 414, 'registration'), (418, 417, 'registration'), (421, 420, 'registration'), (425, 424, 'registration'), (428, 427, 'registration'), (431, 430, 'registration'), (433, 432, 'registration'), (435, 434, 'cancellation'), (437, 436, 'registration'), (442, 441, 'registration'), (447, 446, 'registration'), (452, 451, 'registration'), (457, 456, 'registration'), (460, 459, 'registration'), (465, 464, 'registration'), (468, 467, 'registration'), (473, 472, 'registration'), (476, 475, 'registration'), (481, 480, 'registration'), (486, 485, 'registration'), (489, 488, 'registration'), (509, 507, 'registration'), (520, 519, 'registration'), (546, 545, 'registration'), (555, 554, 'registration'), (556, 502, 'registration'), (568, 567, 'registration'), (575, 574, 'registration'), (577, 576, 'registration'), (582, 581, 'registration'), (587, 586, 'registration'), (592, 591, 'registration'), (597, 596, 'registration'), (602, 601, 'registration'), (607, 606, 'registration'), (612, 611, 'registration'); -- -------------------------------------------------------- -- -- Table structure for table `reminder` -- CREATE TABLE IF NOT EXISTS `reminder` ( `reminder_id` int(10) NOT NULL, `reminder_date` date NOT NULL, `remind_before` int(10) NOT NULL, `reminder_subject` varchar(100) NOT NULL, `reminder_description` text NOT NULL, PRIMARY KEY (`reminder_id`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -------------------------------------------------------- -- -- Table structure for table `report` -- CREATE TABLE IF NOT EXISTS `report` ( `report_id` int(11) NOT NULL AUTO_INCREMENT, `report_label` varchar(200) NOT NULL, `report_target` varchar(200) NOT NULL, `report_sort` int(11) NOT NULL, `report_module_id` int(11) NOT NULL, PRIMARY KEY (`report_id`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=9 ; -- -- Dumping data for table `report` -- INSERT INTO `report` (`report_id`, `report_label`, `report_target`, `report_sort`, `report_module_id`) VALUES (1, 'Training', 'addformdisplay(''production_report_training'',''Report'');', 1, 47), (2, 'Software', 'addformdisplay(''production_report_software'',''Report'');', 2, 47), (3, 'Employee Target Report', 'addformdisplay(''employee_target_report'',''Report'')', 1, 63), (4, 'Leads Report', 'addformdisplay(''leads_report'',''Report'')', 3, 63), (5, 'Daily Activity Report', 'addformdisplay(''daily_activity_report'',''Report'')', 4, 63), (6, 'Salary Report', 'addformdisplay(''salary_report'',''Report'')', 7, 64), (7, 'Leave Report', 'addformdisplay(''leave_report'',''Report'')', 2, 64), (8, 'Branch Target Report', 'addformdisplay(''branch_target_report'',''Report'')', 2, 63); -- -------------------------------------------------------- -- -- Table structure for table `resume_management` -- CREATE TABLE IF NOT EXISTS `resume_management` ( `resume_management_id` int(11) NOT NULL, `candidate_name` varchar(100) NOT NULL, `qualification` text NOT NULL, `email` varchar(30) NOT NULL, `submission_date` date NOT NULL, `expected_salary` varchar(50) NOT NULL, `experience` varchar(50) NOT NULL, `contact_no` varchar(15) NOT NULL, `filename` varchar(50) NOT NULL, PRIMARY KEY (`resume_management_id`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -------------------------------------------------------- -- -- Table structure for table `sales_lead` -- CREATE TABLE IF NOT EXISTS `sales_lead` ( `sales_lead_id` int(11) NOT NULL, `lead_name` varchar(100) NOT NULL, `activity_id` int(11) NOT NULL, `contact_no` varchar(50) NOT NULL, `email` varchar(50) NOT NULL, `status` enum('Prospective','Lost','Converted') NOT NULL, `remarks` text NOT NULL, `employee_id` int(11) NOT NULL, `date` date NOT NULL, PRIMARY KEY (`sales_lead_id`), KEY `employee_id` (`employee_id`), KEY `activity_id` (`activity_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; -- -------------------------------------------------------- -- -- Table structure for table `software_placement` -- CREATE TABLE IF NOT EXISTS `software_placement` ( `placement_id` int(11) NOT NULL, `software_proposal_id` int(11) NOT NULL, `placement_date` date NOT NULL, `placement_status` enum('Ongoing','Completed','Cancelled') NOT NULL, `placement_remarks` text NOT NULL, `fie_location` varchar(100) NOT NULL, `terms_conditions` text NOT NULL, PRIMARY KEY (`placement_id`), KEY `software_proposal_id` (`software_proposal_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; -- -------------------------------------------------------- -- -- Table structure for table `software_placement_details` -- CREATE TABLE IF NOT EXISTS `software_placement_details` ( `id` int(11) NOT NULL AUTO_INCREMENT, `placement_id` int(11) NOT NULL, `description` text NOT NULL, `quantity` double NOT NULL, `price` double NOT NULL, `discount` double NOT NULL, PRIMARY KEY (`id`), KEY `placement_id` (`placement_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; -- -------------------------------------------------------- -- -- Table structure for table `software_placement_payment` -- CREATE TABLE IF NOT EXISTS `software_placement_payment` ( `placement_payment_id` int(11) NOT NULL AUTO_INCREMENT, `placement_id` int(11) NOT NULL, `amount` double NOT NULL, `payment_method` enum('Credit') NOT NULL, PRIMARY KEY (`placement_payment_id`), KEY `placement_id` (`placement_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; -- -------------------------------------------------------- -- -- Table structure for table `software_proposal` -- CREATE TABLE IF NOT EXISTS `software_proposal` ( `software_proposal_id` int(11) NOT NULL, `software_proposal_title` varchar(200) NOT NULL, `software_proposal_date` date NOT NULL, `activity_id` int(11) NOT NULL, `proposal_code` varchar(20) NOT NULL, `customer_id` int(11) NOT NULL, `source_id` int(12) NOT NULL, `software_proposal_remarks` text NOT NULL, `fie_location` varchar(100) NOT NULL, PRIMARY KEY (`software_proposal_id`), KEY `customer_id` (`customer_id`), KEY `activity_id` (`activity_id`), KEY `source_id` (`source_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; -- -------------------------------------------------------- -- -- Table structure for table `software_proposal_details` -- CREATE TABLE IF NOT EXISTS `software_proposal_details` ( `id` int(11) NOT NULL AUTO_INCREMENT, `software_proposal_id` int(11) NOT NULL, `description` text NOT NULL, `quantity` decimal(10,0) NOT NULL, `price` decimal(10,0) NOT NULL, `discount` decimal(10,0) NOT NULL, PRIMARY KEY (`id`), KEY `software_proposal_id` (`software_proposal_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; -- -------------------------------------------------------- -- -- Table structure for table `source` -- CREATE TABLE IF NOT EXISTS `source` ( `source_id` int(11) NOT NULL AUTO_INCREMENT, `source_name` varchar(100) NOT NULL, PRIMARY KEY (`source_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=6 ; -- -- Dumping data for table `source` -- INSERT INTO `source` (`source_id`, `source_name`) VALUES (2, 'Website'), (3, 'Direct Marketing'), (4, 'Email'), (5, 'Tele Marketing'); -- -------------------------------------------------------- -- -- Table structure for table `status` -- CREATE TABLE IF NOT EXISTS `status` ( `status_id` int(11) NOT NULL AUTO_INCREMENT, `status_name` varchar(100) NOT NULL, PRIMARY KEY (`status_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=3 ; -- -- Dumping data for table `status` -- INSERT INTO `status` (`status_id`, `status_name`) VALUES (1, 'Active'), (2, 'Inactive'); -- -------------------------------------------------------- -- -- Table structure for table `sub_account_settings` -- CREATE TABLE IF NOT EXISTS `sub_account_settings` ( `sub_account_settings_id` int(11) NOT NULL AUTO_INCREMENT, `customer` int(11) NOT NULL, `employee` int(11) NOT NULL, `profitloss` int(11) NOT NULL, `salary` varchar(10) NOT NULL, PRIMARY KEY (`sub_account_settings_id`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=2 ; -- -- Dumping data for table `sub_account_settings` -- INSERT INTO `sub_account_settings` (`sub_account_settings_id`, `customer`, `employee`, `profitloss`, `salary`) VALUES (1, 5, 1, 444, '300000'); -- -------------------------------------------------------- -- -- Table structure for table `training_cancellation` -- CREATE TABLE IF NOT EXISTS `training_cancellation` ( `training_cancellation_id` int(11) NOT NULL, `training_cancellation_code` varchar(20) NOT NULL, `training_registration_id` int(11) NOT NULL, `training_cancellation_date` date NOT NULL, `training_cancellation_amount` double NOT NULL, `remarks` text NOT NULL, PRIMARY KEY (`training_cancellation_id`), KEY `training_registration_id` (`training_registration_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; -- -- Dumping data for table `training_cancellation` -- INSERT INTO `training_cancellation` (`training_cancellation_id`, `training_cancellation_code`, `training_registration_id`, `training_cancellation_date`, `training_cancellation_amount`, `remarks`) VALUES (434, 'SAV/2012/T1/1/2/CL', 411, '2012-05-04', 1500, ''); -- -------------------------------------------------------- -- -- Table structure for table `training_proposal` -- CREATE TABLE IF NOT EXISTS `training_proposal` ( `training_id` int(11) NOT NULL, `training_title` varchar(200) NOT NULL, `training_date` varchar(100) NOT NULL, `activity_id` int(11) NOT NULL, `training_code` varchar(50) NOT NULL, `trainer` varchar(200) NOT NULL, `venue` varchar(200) NOT NULL, `remarks` text NOT NULL, PRIMARY KEY (`training_id`), KEY `activity_id` (`activity_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; -- -- Dumping data for table `training_proposal` -- INSERT INTO `training_proposal` (`training_id`, `training_title`, `training_date`, `activity_id`, `training_code`, `trainer`, `venue`, `remarks`) VALUES (324, 'Secret of successful selling', '2012-03-10', 9, 'SAV/2012/T2/1', 'Mohamed Ajmal', 'Ramada', ''), (396, 'Counselling ', '2012-04-25', 25, 'SAV/2012/T17/1', 'Jessica Sajan', 'Sri Lankan School ', ''), (402, 'Faculty Development Program', '2012-03-17', 27, 'SAV/2012/T19/1', 'Mohamed Ajmal', 'International British School', ''), (406, ' Workshop on Dynamic Business Managers', '2012-04-26', 7, 'SAV/2012/T1/1', 'Mohamed Ajmal', 'Holiday Villa ', ''), (422, 'Workshop on John Maxwell Leadership ', '2012-04-28', 26, 'SAV/2012/T18/1', 'Jessica Sajan', 'Ramada Plaza ', ''), (500, 'Dynamic Business Managers', '2012-06-30', 7, 'SAV/2012/T1/2', 'Mohamed Ajmal', 'Holiday Villa', ''), (537, 'Customer Service', '2012-06-15', 28, 'SAV/2012/T20/1', 'Mohamed Ajmal', 'Al Safa Polyclinic (In House)', ''), (541, 'Enhancing Interpersonal Skills & Customer Relationship Workshop', '2012-06-12', 28, 'SAV/2012/T20/2', 'Mohamed Ajmal', 'M.E.S.Indian School', 'Training Date:12-6-2012 to 19- 6- 2012, Time: 4.30 PM to 6:PM'); -- -------------------------------------------------------- -- -- Table structure for table `training_proposal_details` -- CREATE TABLE IF NOT EXISTS `training_proposal_details` ( `id` int(11) NOT NULL AUTO_INCREMENT, `training_id` int(11) NOT NULL, `customer_id` int(11) NOT NULL, `communication_date` date NOT NULL, `source_id` int(11) NOT NULL, `no_pax` int(11) NOT NULL, `fee_head` decimal(10,0) NOT NULL, `discount` decimal(10,0) NOT NULL, `proposal_file_location` varchar(200) NOT NULL, `remarks` text NOT NULL, PRIMARY KEY (`id`), KEY `training_id` (`training_id`), KEY `customer_id` (`customer_id`), KEY `source_id` (`source_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=84 ; -- -- Dumping data for table `training_proposal_details` -- INSERT INTO `training_proposal_details` (`id`, `training_id`, `customer_id`, `communication_date`, `source_id`, `no_pax`, `fee_head`, `discount`, `proposal_file_location`, `remarks`) VALUES (10, 324, 322, '2012-02-23', 3, 1, 1000, 0, '', ''), (11, 324, 328, '2012-03-17', 3, 2, 1000, 0, '', ''), (13, 324, 338, '2012-03-01', 3, 1, 1000, 0, '', ''), (14, 324, 361, '2012-03-01', 3, 6, 1000, 1000, '', ''), (15, 324, 347, '2012-03-01', 3, 1, 1000, 0, '', ''), (16, 324, 353, '2012-03-01', 3, 1, 1000, 0, '', ''), (17, 324, 355, '2012-03-01', 3, 1, 1000, 0, '', ''), (19, 324, 349, '2012-03-01', 3, 2, 1000, 1000, '', ''), (24, 324, 389, '2012-05-01', 3, 2, 1000, 2000, '', ''), (25, 396, 394, '2012-04-10', 3, 27, 75, 0, '', ''), (26, 402, 400, '2012-03-07', 3, 1, 3000, 0, '', ''), (27, 406, 359, '2012-03-16', 3, 5, 1500, 2500, '', ''), (29, 406, 408, '2012-05-10', 3, 1, 1500, 0, '', ''), (30, 406, 353, '2012-05-10', 3, 1, 1500, 250, '', ''), (31, 406, 338, '2012-03-10', 3, 1, 1500, 1500, '', ''), (32, 406, 408, '2012-03-10', 3, 2, 2000, 2000, '', ''), (33, 422, 408, '2012-04-20', 3, 1, 2000, 500, '', ''), (34, 422, 328, '2012-04-20', 3, 1, 2000, 0, '', ''), (35, 422, 353, '2012-04-20', 3, 1, 2000, 500, '', ''), (36, 422, 438, '2012-04-20', 3, 1, 2000, 0, '', ''), (37, 422, 443, '2012-04-20', 3, 1, 2000, 2000, '', ''), (38, 422, 448, '2012-04-20', 3, 1, 2000, 500, '', ''), (39, 422, 453, '2012-04-20', 3, 1, 2000, 1000, '', ''), (40, 422, 389, '2012-04-20', 3, 1, 2000, 2000, '', ''), (41, 422, 461, '2012-04-20', 3, 1, 2000, 0, '', ''), (42, 422, 359, '2012-04-20', 3, 5, 2000, 5000, '', ''), (43, 406, 469, '2012-04-20', 3, 1, 1500, 0, '', ''), (44, 406, 347, '2012-04-19', 3, 1, 1500, 250, '', ''), (45, 406, 477, '2012-04-20', 3, 2, 1500, 0, '', ''), (46, 406, 482, '2012-04-19', 3, 2, 1500, 3000, '', ''), (48, 406, 328, '2012-04-12', 3, 2, 1500, 0, '', ''), (49, 500, 353, '2012-05-29', 3, 1, 1500, 0, '', ''), (50, 500, 504, '2012-05-29', 3, 1, 1500, 0, '', ''), (51, 500, 469, '2012-05-29', 3, 1, 1500, 0, '', ''), (52, 500, 510, '2012-05-29', 3, 1, 1500, 0, '', ''), (53, 500, 443, '2012-05-29', 3, 1, 1500, 0, '', ''), (54, 500, 328, '2012-05-29', 3, 1, 1500, 0, '', ''), (55, 500, 359, '2012-05-29', 3, 1, 1500, 0, '', ''), (56, 500, 512, '2012-05-29', 3, 1, 1500, 0, '', ''), (57, 500, 516, '2012-05-30', 3, 1, 1500, 0, '', ''), (58, 500, 514, '2012-05-29', 3, 2, 1500, 400, '', ''), (59, 500, 521, '2012-05-30', 3, 1, 1500, 0, '', ''), (60, 500, 523, '2012-05-30', 3, 1, 1500, 0, '', ''), (61, 500, 448, '2012-05-30', 3, 1, 1500, 0, '', ''), (62, 500, 525, '2012-05-31', 3, 1, 1500, 1250, '', ''), (63, 500, 527, '2012-06-02', 3, 1, 1500, 0, '', ''), (64, 500, 438, '2012-06-02', 3, 1, 1500, 0, '', ''), (65, 500, 531, '2012-06-03', 3, 1, 1500, 0, '', ''), (66, 500, 533, '2012-06-03', 3, 1, 1500, 0, '', ''), (67, 500, 535, '2012-06-03', 3, 1, 1500, 0, '', ''), (68, 537, 539, '2012-06-09', 3, 1, 1500, 0, '', ''), (69, 541, 542, '2012-05-24', 3, 50, 400, 2000, '', 'Training Date:12 -6-2012 to 19-6-2012 Holiday :14,-6- 2012 ,15-6-2012 '), (71, 500, 539, '2012-06-07', 3, 1, 1500, 0, '', ''), (73, 500, 551, '2012-06-19', 3, 1, 1500, 0, '', ''), (74, 500, 359, '2012-06-24', 3, 1, 1500, 0, '', ''), (76, 500, 563, '2012-06-20', 3, 1, 1500, 1500, '', ''), (77, 500, 578, '2012-06-16', 3, 1, 1500, 1500, '', ''), (78, 500, 583, '2012-06-16', 3, 1, 1500, 1500, '', ''), (79, 500, 588, '2012-06-16', 3, 1, 1500, 1500, '', ''), (80, 500, 394, '2012-06-16', 3, 1, 1500, 1500, '', ''), (81, 500, 598, '2012-06-16', 3, 1, 1500, 1500, '', ''), (82, 500, 603, '2012-06-16', 3, 1, 1500, 1500, '', ''), (83, 500, 608, '2012-06-16', 3, 1, 1500, 1000, '', ''); -- -------------------------------------------------------- -- -- Table structure for table `training_proposal_expense` -- CREATE TABLE IF NOT EXISTS `training_proposal_expense` ( `id` int(11) NOT NULL AUTO_INCREMENT, `training_proposal_id` int(11) NOT NULL, `expense_category_id` int(11) NOT NULL, `amount` double NOT NULL, `description` text NOT NULL, PRIMARY KEY (`id`), KEY `training_proposal_id` (`training_proposal_id`), KEY `expense_category_id` (`expense_category_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=9 ; -- -- Dumping data for table `training_proposal_expense` -- INSERT INTO `training_proposal_expense` (`id`, `training_proposal_id`, `expense_category_id`, `amount`, `description`) VALUES (2, 406, 4, 2850, ''), (3, 406, 6, 2500, ''), (6, 541, 6, 1500, 'To Aboonavas'), (7, 541, 6, 6500, 'To Authorities'), (8, 500, 4, 4180, ''); -- -------------------------------------------------------- -- -- Table structure for table `training_proposal_file` -- CREATE TABLE IF NOT EXISTS `training_proposal_file` ( `id` int(11) NOT NULL AUTO_INCREMENT, `training_id` int(20) NOT NULL, `file_name` varchar(50) NOT NULL, `file_location` varchar(250) NOT NULL, PRIMARY KEY (`id`), KEY `customer_id` (`training_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=5 ; -- -- Dumping data for table `training_proposal_file` -- INSERT INTO `training_proposal_file` (`id`, `training_id`, `file_name`, `file_location`) VALUES (1, 500, 'Managerial Skills Workshop - Jun 30', './assets/uploads//2012-05-29-12-30-49SAVOY GLOBAL - Managerial Skills Workshop - Jun 30 (2).pdf'), (3, 537, 'Customer Service', './assets/uploads//2012-06-05-06-14-37SAVOY GLOBAL - Proposal to Al Safa Polyclinic.pdf'), (4, 541, 'M.E.S.Training Proposal', './assets/uploads//2012-06-13-11-52-24SAVOY GLOBAL - Proposal to MES.pdf'); -- -------------------------------------------------------- -- -- Table structure for table `training_quotation` -- CREATE TABLE IF NOT EXISTS `training_quotation` ( `training_quotation_id` int(11) NOT NULL AUTO_INCREMENT, `customer_training_id` int(11) NOT NULL, `quotation_code` varchar(20) NOT NULL, `quotation_date` date NOT NULL, `remarks` text NOT NULL, `terms_conditions` text NOT NULL, PRIMARY KEY (`training_quotation_id`), KEY `customer_training_id` (`customer_training_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=611 ; -- -- Dumping data for table `training_quotation` -- INSERT INTO `training_quotation` (`training_quotation_id`, `customer_training_id`, `quotation_code`, `quotation_date`, `remarks`, `terms_conditions`) VALUES (325, 10, 'SAV/2012/T2/1/1', '2012-02-23', '', 'If paid by cheque, confirmation of seat is subject to encashment of cheque. \n\n'), (330, 11, 'SAV/2012/T2/1/2', '2012-03-01', '', 'If paid by cheque, confirmation of seat is subject to encashment of cheque. \n\n'), (365, 14, 'SAV/2012/T2/1/4', '2012-03-01', '', 'If paid by cheque, confirmation of seat is subject to encashment of cheque. \n\n'), (368, 15, 'SAV/2012/T2/1/5', '2012-03-01', '', 'If paid by cheque, confirmation of seat is subject to encashment of cheque. \n\n'), (371, 16, 'SAV/2012/T2/1/6', '2012-03-01', '', 'If paid by cheque, confirmation of seat is subject to encashment of cheque. \n\n'), (374, 17, 'SAV/2012/T2/1/7', '2012-03-01', '', 'If paid by cheque, confirmation of seat is subject to encashment of cheque. \n\n'), (375, 19, 'SAV/2012/T2/1/8', '2012-03-04', '', 'If paid by cheque, confirmation of seat is subject to encashment of cheque. \n\n'), (378, 13, 'SAV/2012/T2/1/9', '2012-03-01', '', 'If paid by cheque, confirmation of seat is subject to encashment of cheque. \n\n'), (391, 24, 'SAV/2012/T2/1/10', '2012-03-01', '', 'If paid by cheque, confirmation of seat is subject to encashment of cheque.\n\n'), (397, 25, 'SAV/2012/T17/1/1', '2012-04-10', '', 'If paid by cheque, confirmation of seat is subject to encashment of cheque.\n\n'), (403, 26, 'SAV/2012/T19/1/1', '2012-03-07', '', 'If paid by cheque, confirmation of seat is subject to encashment of cheque.\n\n'), (407, 27, 'SAV/2012/T1/1/1', '2012-03-16', '', 'If paid by cheque, confirmation of seat is subject to encashment of cheque.\n\n'), (410, 29, 'SAV/2012/T1/1/2', '2012-05-10', '', 'If paid by cheque, confirmation of seat is subject to encashment of cheque.\n\n'), (413, 30, 'SAV/2012/T1/1/3', '2012-05-10', '', 'If paid by cheque, confirmation of seat is subject to encashment of cheque.\n\n'), (416, 31, 'SAV/2012/T1/1/4', '2012-03-10', '', 'If paid by cheque, confirmation of seat is subject to encashment of cheque.\n\n'), (419, 32, 'SAV/2012/T1/1/5', '2012-03-10', '', 'If paid by cheque, confirmation of seat is subject to encashment of cheque.\n\n'), (423, 33, 'SAV/2012/T18/1/1', '2012-04-20', '', 'If paid by cheque, confirmation of seat is subject to encashment of cheque.\n\n'), (426, 34, 'SAV/2012/T18/1/2', '2012-04-20', '', 'If paid by cheque, confirmation of seat is subject to encashment of cheque.\n\n'), (429, 35, 'SAV/2012/T18/1/3', '2012-04-20', '', 'If paid by cheque, confirmation of seat is subject to encashment of cheque.\n\n'), (440, 36, 'SAV/2012/T18/1/4', '2012-04-20', '', 'If paid by cheque, confirmation of seat is subject to encashment of cheque.\n\n'), (445, 37, 'SAV/2012/T18/1/5', '2012-04-20', '', 'If paid by cheque, confirmation of seat is subject to encashment of cheque.\n\n'), (450, 38, 'SAV/2012/T18/1/6', '2012-04-20', '', 'If paid by cheque, confirmation of seat is subject to encashment of cheque.\n\n'), (455, 39, 'SAV/2012/T18/1/7', '2012-04-20', '', 'If paid by cheque, confirmation of seat is subject to encashment of cheque.\n\n'), (458, 40, 'SAV/2012/T18/1/8', '2012-04-20', '', 'If paid by cheque, confirmation of seat is subject to encashment of cheque.\n\n'), (463, 41, 'SAV/2012/T18/1/9', '2012-04-20', '', 'If paid by cheque, confirmation of seat is subject to encashment of cheque.\n\n'), (466, 42, 'SAV/2012/T18/1/10', '2012-04-20', '', 'If paid by cheque, confirmation of seat is subject to encashment of cheque.\n\n'), (471, 43, 'SAV/2012/T1/1/6', '2012-04-20', '', 'If paid by cheque, confirmation of seat is subject to encashment of cheque.\n\n'), (474, 44, 'SAV/2012/T1/1/7', '2012-04-19', '', 'If paid by cheque, confirmation of seat is subject to encashment of cheque.\n\n'), (479, 45, 'SAV/2012/T1/1/8', '2012-04-20', '', 'If paid by cheque, confirmation of seat is subject to encashment of cheque.\n\n'), (484, 46, 'SAV/2012/T1/1/9', '2012-04-19', '', 'If paid by cheque, confirmation of seat is subject to encashment of cheque.\n\n'), (487, 48, 'SAV/2012/T1/1/10', '2012-04-12', '', 'If paid by cheque, confirmation of seat is subject to encashment of cheque.\n\n'), (501, 49, 'SAV/2012/T1/2/1', '2012-05-29', '', 'If paid by cheque, confirmation of seat is subject to encashment of cheque.\n\n'), (506, 50, 'SAV/2012/T1/2/2', '2012-05-29', '', 'If paid by cheque, confirmation of seat is subject to encashment of cheque.\n\n'), (518, 58, 'SAV/2012/T1/2/3', '2012-05-29', '', 'If paid by cheque, confirmation of seat is subject to encashment of cheque.\n\n'), (544, 69, 'SAV/2012/T20/2/1', '2012-05-24', '', 'Cancellation Policy\n\nCancellation beyond this point would result in a cancellation charge of 100%\n'), (553, 62, 'SAV/2012/T1/2/4', '2012-05-31', '', 'Cancellation Policy\n\nCancellation beyond this point would result in a cancellation charge of 100%\n'), (565, 76, 'SAV/2012/T1/2/5', '2012-06-20', '', 'Cancellation Policy\n\nCancellation beyond this point would result in a cancellation charge of 100%\n'), (566, 71, 'SAV/2012/T1/2/6', '2012-06-28', '', 'Cancellation Policy\n\nCancellation beyond this point would result in a cancellation charge of 100%\n'), (573, 74, 'SAV/2012/T1/2/7', '2012-06-28', '', 'Cancellation Policy\n\nCancellation beyond this point would result in a cancellation charge of 100%\n'), (580, 77, 'SAV/2012/T1/2/8', '2012-06-16', '', 'Cancellation Policy\n\nCancellation beyond this point would result in a cancellation charge of 100%\n'), (585, 78, 'SAV/2012/T1/2/9', '2012-06-16', '', 'Cancellation Policy\n\nCancellation beyond this point would result in a cancellation charge of 100%\n'), (590, 79, 'SAV/2012/T1/2/10', '2012-06-16', '', 'Cancellation Policy\n\nCancellation beyond this point would result in a cancellation charge of 100%\n'), (595, 80, 'SAV/2012/T1/2/11', '2012-06-16', '', 'Cancellation Policy\n\nCancellation beyond this point would result in a cancellation charge of 100%\n'), (600, 81, 'SAV/2012/T1/2/12', '2012-06-16', '', 'Cancellation Policy\n\nCancellation beyond this point would result in a cancellation charge of 100%\n'), (605, 82, 'SAV/2012/T1/2/13', '2012-06-16', '', 'Cancellation Policy\n\nCancellation beyond this point would result in a cancellation charge of 100%\n'), (610, 83, 'SAV/2012/T1/2/14', '2012-06-16', '', 'Cancellation Policy\n\nCancellation beyond this point would result in a cancellation charge of 100%\n'); -- -------------------------------------------------------- -- -- Table structure for table `training_quotation_details` -- CREATE TABLE IF NOT EXISTS `training_quotation_details` ( `id` int(11) NOT NULL AUTO_INCREMENT, `training_quotation_id` int(11) NOT NULL, `description` text NOT NULL, `no_pax` int(50) NOT NULL, `fee_head` double NOT NULL, `discount` double NOT NULL, PRIMARY KEY (`id`), KEY `training_quotation_id` (`training_quotation_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=53 ; -- -- Dumping data for table `training_quotation_details` -- INSERT INTO `training_quotation_details` (`id`, `training_quotation_id`, `description`, `no_pax`, `fee_head`, `discount`) VALUES (3, 325, ' Secret of successful selling \n 10-03-2012 \n Ramada ', 1, 1000, 0), (4, 330, ' Secret of successful selling \n 10-03-2012 \n Ramada ', 2, 1000, 0), (6, 365, ' Secret of successful selling \n 10-03-2012 \n Ramada ', 6, 1000, 1000), (7, 368, ' Secret of successful selling \n 10-03-2012 \n Ramada ', 1, 1000, 0), (8, 371, ' Secret of successful selling \n 10-03-2012 \n Ramada ', 1, 1000, 0), (9, 374, ' Secret of successful selling \n 10-03-2012 \n Ramada ', 1, 1000, 0), (10, 375, ' Secret of successful selling \n 10-03-2012 \n Ramada ', 2, 1000, 1000), (11, 378, ' Secret of successful selling \n 10-03-2012 \n Ramada ', 1, 1000, 0), (14, 391, ' Secret of successful selling \n 10-03-2012 \n Ramada ', 2, 1000, 2000), (15, 397, ' Counselling \n 25-04-2012 \n Sri Lankan School ', 27, 75, 0), (16, 403, ' Faculty Development Program\n 17-03-2012 \n International British School ', 1, 3000, 0), (17, 407, ' Workshop on Dynamic Business Managers \n 26-04-2012 \n Holiday Villa ', 5, 1500, 2500), (18, 410, ' Workshop on Dynamic Business Managers \n 26-04-2012 \n Holiday Villa ', 1, 1500, 0), (19, 413, ' Workshop on Dynamic Business Managers \n 26-04-2012 \n Holiday Villa ', 1, 1500, 250), (20, 416, ' Workshop on Dynamic Business Managers \n 26-04-2012 \n Holiday Villa ', 1, 1500, 1500), (21, 419, ' Workshop on Dynamic Business Managers \n 26-04-2012 \n Holiday Villa ', 2, 2000, 2000), (22, 423, ' Workshop on John Maxwell Leadership \n 28-04-2012 \n Ramada Plaza ', 1, 2000, 500), (23, 426, ' Workshop on John Maxwell Leadership \n 28-04-2012 \n Ramada Plaza ', 1, 2000, 0), (24, 429, ' Workshop on John Maxwell Leadership \n 28-04-2012 \n Ramada Plaza ', 1, 2000, 500), (25, 440, ' Workshop on John Maxwell Leadership \n 28-04-2012 \n Ramada Plaza ', 1, 2000, 0), (26, 445, ' Workshop on John Maxwell Leadership \n 28-04-2012 \n Ramada Plaza ', 1, 2000, 2000), (27, 450, ' Workshop on John Maxwell Leadership \n 28-04-2012 \n Ramada Plaza ', 1, 2000, 500), (28, 455, ' Workshop on John Maxwell Leadership \n 28-04-2012 \n Ramada Plaza ', 1, 2000, 1000), (29, 458, ' Workshop on John Maxwell Leadership \n 28-04-2012 \n Ramada Plaza ', 1, 2000, 2000), (30, 463, ' Workshop on John Maxwell Leadership \n 28-04-2012 \n Ramada Plaza ', 1, 2000, 0), (31, 466, ' Workshop on John Maxwell Leadership \n 28-04-2012 \n Ramada Plaza ', 5, 2000, 5000), (32, 471, ' Workshop on Dynamic Business Managers \n 26-04-2012 \n Holiday Villa ', 1, 1500, 0), (33, 474, ' Workshop on Dynamic Business Managers \n 26-04-2012 \n Holiday Villa ', 1, 1500, 250), (34, 479, ' Workshop on Dynamic Business Managers \n 26-04-2012 \n Holiday Villa ', 2, 1500, 0), (35, 484, ' Workshop on Dynamic Business Managers \n 26-04-2012 \n Holiday Villa ', 2, 1500, 3000), (36, 487, ' Workshop on Dynamic Business Managers \n 26-04-2012 \n Holiday Villa ', 2, 1500, 0), (37, 501, ' Dynamic Business Managers \n 30-06-2012 \n Holiday Villa ', 1, 1500, 0), (38, 506, ' Dynamic Business Managers \n 30-06-2012 \n Holiday Villa ', 1, 1500, 0), (39, 518, ' Dynamic Business Managers \n 30-06-2012 \n Holiday Villa ', 2, 1500, 400), (40, 544, ' Enhancing Interpersonal Skills & Customer Relationship Workshop \n 12-06-2012 \n M.E.S.Indian School ', 50, 400, 2000), (41, 553, ' Dynamic Business Managers \n 30-06-2012 \n Holiday Villa ', 1, 1500, 1250), (43, 565, ' Dynamic Business Managers \n 30-06-2012 \n Holiday Villa ', 1, 1500, 1500), (44, 566, ' Dynamic Business Managers \n 30-06-2012 \n Holiday Villa ', 7, 1500, 2800), (45, 573, ' Dynamic Business Managers \n 30-06-2012 \n Holiday Villa ', 2, 1500, 1300), (46, 580, ' Dynamic Business Managers \n 30-06-2012 \n Holiday Villa ', 1, 1500, 1500), (47, 585, ' Dynamic Business Managers \n 30-06-2012 \n Holiday Villa ', 1, 1500, 1500), (48, 590, ' Dynamic Business Managers \n 30-06-2012 \n Holiday Villa ', 1, 1500, 1500), (49, 595, ' Dynamic Business Managers \n 30-06-2012 \n Holiday Villa ', 1, 1500, 1500), (50, 600, ' Dynamic Business Managers \n 30-06-2012 \n Holiday Villa ', 1, 1500, 1500), (51, 605, ' Dynamic Business Managers \n 30-06-2012 \n Holiday Villa ', 1, 1500, 1500), (52, 610, ' Dynamic Business Managers \n 30-06-2012 \n Holiday Villa ', 1, 1500, 1000); -- -------------------------------------------------------- -- -- Table structure for table `training_quotation_participant` -- CREATE TABLE IF NOT EXISTS `training_quotation_participant` ( `id` int(11) NOT NULL AUTO_INCREMENT, `training_quotation_id` int(11) NOT NULL, `participant_name` varchar(200) NOT NULL, `participant_designation` varchar(200) NOT NULL, PRIMARY KEY (`id`), KEY `training_quotation_id` (`training_quotation_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=99 ; -- -- Dumping data for table `training_quotation_participant` -- INSERT INTO `training_quotation_participant` (`id`, `training_quotation_id`, `participant_name`, `participant_designation`) VALUES (8, 365, 'Basily George ', ''), (9, 365, 'Hafiz Hassan ', ''), (10, 365, 'Dhiraj K ', ''), (11, 365, 'Ullas K.B. ', ''), (12, 365, 'Thomas Donbosco ', ''), (13, 365, 'Joshua Daniel George ', ''), (14, 368, 'Georgy C.Joy ', ''), (15, 371, 'Rajesh. P.R. ', ''), (16, 374, 'Gladson James ', ''), (17, 375, 'Anas U.A ', ''), (18, 375, 'Mohammed Rifdy ', ''), (19, 378, 'Binesh Balu ', ''), (23, 391, 'Shiju Shankar', ''), (24, 391, 'Jawad Mohamed', ''), (25, 397, 'Sri Lankan School students', ''), (31, 407, 'Jayamohan Vijayamohanan ', ''), (32, 407, 'Ravindran Namasivayam ', ''), (33, 407, 'Lijo George ', ''), (34, 407, 'Seenivasan Natarajan ', ''), (35, 407, 'R. Murali ', ''), (36, 410, 'Karthik Ramaiah ', 'GM '), (37, 413, 'Rajesh P.R. ', ''), (38, 416, 'Binesh Balu ', ''), (39, 419, 'Rajesh Kumar ', ''), (40, 419, 'Mangode Rajesh ', ''), (41, 423, 'Karthik Ramaiah ', 'GM'), (42, 426, ' Mr. Joseph Mathew ', 'GM '), (43, 429, 'Safeer T.P ', 'GM '), (44, 440, 'Kumara Badhuge ', 'National Digitization Section Manager '), (45, 445, 'Rammohan M. Rai ', 'L&D Coordinator '), (46, 450, 'V.V. Aboo Backer Bavu ', 'CEO '), (47, 455, 'K. Thayalan ', 'Finance Manager '), (48, 458, 'Ashok Eapen ', 'Asst. Vice President '), (49, 463, 'TVS Prasad ', ''), (50, 466, 'Thommas Rajarathinam ', ''), (51, 466, 'Sheeju David ', ''), (52, 466, 'Jayakumar Kumaran Nair ', ''), (53, 466, 'Anwar Sadath ', ''), (54, 466, 'Vinod Nair ', ''), (55, 471, 'Thanveer Salam ', ''), (56, 474, 'Jayaraj K.R. ', ''), (57, 479, 'Viventum Solutions ', 'Divisional Manager '), (58, 479, ' Jens Cyriac ', ''), (59, 484, 'Ranjith Vijaya Sreedharan ', ''), (60, 484, 'Kurumthattil Thazhakuny Kasim ', ''), (61, 487, 'Dinesh Babu E ', ''), (62, 487, 'Alickdoddy Thaivelikkakathu Varghese ', ''), (65, 506, 'Shanavas C. S', 'Sales Executive '), (66, 518, 'Jenny Antony', 'Managing Director'), (67, 518, 'Maria Yves a.Florendo', 'Business Development Manager'), (68, 501, ' Niroop M', 'Hospital Administrator'), (69, 544, 'M.E.S.Indian School', ''), (71, 553, 'Marija Miglane', 'Senior Analyst Network Planning'), (73, 565, 'Mohideen Pakeer', 'Officer-Procurement'), (81, 566, 'Mr.Mossa Kutty Olakara', ''), (82, 566, 'Mr.Harsh Baijnath Singh', ''), (83, 566, 'Mr.Ali Pulimoottil Moidheen', ''), (84, 566, 'Mr.Saleem Vannathan Veetil', ''), (85, 566, 'Mr.Madhu Menon', ''), (86, 566, 'Mr.Abdussalim Vinniyam Parambath', ''), (87, 566, 'Mr.Ttalhat Tayaal Kakkat', ''), (90, 573, 'Mr. Salahudheen ', ''), (91, 573, 'Mr. Laxaman ', ''), (92, 580, ' Ajay Kumar N A', ''), (93, 585, ' Asafali M Padiyath', ''), (94, 590, ' Rajeev Rajan', ''), (95, 595, ' Mary Nisansala Kumari Jayaweera', ''), (96, 600, ' Aboo Navas', ''), (97, 605, ' Amanulla Thenkayathil', ''), (98, 610, 'Waleed Alabbady', ''); -- -------------------------------------------------------- -- -- Table structure for table `training_registration` -- CREATE TABLE IF NOT EXISTS `training_registration` ( `training_registration_id` int(11) NOT NULL, `training_quotation_id` int(11) NOT NULL, `training_registration_date` date NOT NULL, `remarks` text NOT NULL, `terms_conditions` text NOT NULL, PRIMARY KEY (`training_registration_id`), KEY `training_quotation_id` (`training_quotation_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; -- -- Dumping data for table `training_registration` -- INSERT INTO `training_registration` (`training_registration_id`, `training_quotation_id`, `training_registration_date`, `remarks`, `terms_conditions`) VALUES (326, 325, '2012-03-01', '', 'If paid by cheque, confirmation of seat is subject to encashment of cheque. \n\n'), (331, 330, '2012-03-04', '', 'If paid by cheque, confirmation of seat is subject to encashment of cheque. \n\n'), (366, 365, '2012-03-04', '', 'If paid by cheque, confirmation of seat is subject to encashment of cheque. \n\n'), (369, 368, '2012-05-04', '', 'If paid by cheque, confirmation of seat is subject to encashment of cheque. \n\n'), (372, 371, '2012-03-04', '', 'If paid by cheque, confirmation of seat is subject to encashment of cheque. \n\n'), (376, 375, '2012-03-04', '', 'If paid by cheque, confirmation of seat is subject to encashment of cheque. \n\n'), (392, 391, '2012-05-04', '', 'If paid by cheque, confirmation of seat is subject to encashment of cheque.\n\n'), (398, 397, '2012-05-15', '', 'If paid by cheque, confirmation of seat is subject to encashment of cheque.\n\n'), (404, 403, '2012-05-04', '', 'If paid by cheque, confirmation of seat is subject to encashment of cheque.\n\n'), (411, 410, '2012-05-04', '', 'If paid by cheque, confirmation of seat is subject to encashment of cheque.\n\n'), (414, 413, '2012-03-04', '', 'If paid by cheque, confirmation of seat is subject to encashment of cheque.\n\n'), (417, 416, '2012-03-04', '', 'If paid by cheque, confirmation of seat is subject to encashment of cheque.\n\n'), (420, 419, '2012-03-04', '', 'If paid by cheque, confirmation of seat is subject to encashment of cheque.\n\n'), (424, 423, '2012-04-14', '', 'If paid by cheque, confirmation of seat is subject to encashment of cheque.\n\n'), (427, 426, '2012-04-14', '', 'If paid by cheque, confirmation of seat is subject to encashment of cheque.\n\n'), (430, 429, '2012-04-14', '', 'If paid by cheque, confirmation of seat is subject to encashment of cheque.\n\n'), (432, 378, '2012-03-07', '', 'If paid by cheque, confirmation of seat is subject to encashment of cheque.\n\n'), (436, 407, '2012-04-18', '', 'If paid by cheque, confirmation of seat is subject to encashment of cheque.\n\n'), (441, 440, '2012-04-14', '', 'If paid by cheque, confirmation of seat is subject to encashment of cheque.\n\n'), (446, 445, '2012-04-10', '', 'If paid by cheque, confirmation of seat is subject to encashment of cheque.\n\n'), (451, 450, '2012-04-12', '', 'If paid by cheque, confirmation of seat is subject to encashment of cheque.\n\n'), (456, 455, '2012-04-10', '', 'If paid by cheque, confirmation of seat is subject to encashment of cheque.\n\n'), (459, 458, '2012-04-11', '', 'If paid by cheque, confirmation of seat is subject to encashment of cheque.\n\n'), (464, 463, '2012-04-12', '', 'If paid by cheque, confirmation of seat is subject to encashment of cheque.\n\n'), (467, 466, '2012-04-10', '', 'If paid by cheque, confirmation of seat is subject to encashment of cheque.\n\n'), (472, 471, '2012-04-04', '', 'If paid by cheque, confirmation of seat is subject to encashment of cheque.\n\n'), (475, 474, '2012-04-11', '', 'If paid by cheque, confirmation of seat is subject to encashment of cheque.\n\n'), (480, 479, '2012-05-09', '', 'If paid by cheque, confirmation of seat is subject to encashment of cheque.\n\n'), (485, 484, '2012-04-04', '', 'If paid by cheque, confirmation of seat is subject to encashment of cheque.\n\n'), (488, 487, '2012-04-04', '', 'If paid by cheque, confirmation of seat is subject to encashment of cheque.\n\n'), (502, 501, '2012-06-07', '', 'If paid by cheque, confirmation of seat is subject to encashment of cheque.\n\n'), (507, 506, '2012-06-07', '', 'If paid by cheque, confirmation of seat is subject to encashment of cheque.\n\n'), (519, 518, '2012-06-06', '', 'If paid by cheque, confirmation of seat is subject to encashment of cheque.\n\n'), (545, 544, '2012-06-02', '', 'Cancellation Policy\n\nCancellation beyond this point would result in a cancellation charge of 100%.\n\n'), (554, 553, '2012-06-25', '', 'Cancellation Policy\n\nCancellation beyond this point would result in a cancellation charge of 100%.\n\n'), (567, 566, '2012-06-28', '', 'Cancellation Policy\n\nCancellation beyond this point would result in a cancellation charge of 100%.\n\n'), (574, 573, '2012-07-28', '', 'Cancellation Policy\n\nCancellation beyond this point would result in a cancellation charge of 100%.\n\n'), (576, 565, '2012-07-28', '', 'Cancellation Policy\n\nCancellation beyond this point would result in a cancellation charge of 100%.\n\n'), (581, 580, '2012-06-25', '', 'Cancellation Policy\n\nCancellation beyond this point would result in a cancellation charge of 100%.\n\n'), (586, 585, '2012-06-24', '', 'Cancellation Policy\n\nCancellation beyond this point would result in a cancellation charge of 100%.\n\n'), (591, 590, '2012-06-24', '', 'Cancellation Policy\n\nCancellation beyond this point would result in a cancellation charge of 100%.\n\n'), (596, 595, '2012-06-24', '', 'Cancellation Policy\n\nCancellation beyond this point would result in a cancellation charge of 100%.\n\n'), (601, 600, '2012-06-24', '', 'Cancellation Policy\n\nCancellation beyond this point would result in a cancellation charge of 100%.\n\n'), (606, 605, '2012-06-24', '', 'Cancellation Policy\n\nCancellation beyond this point would result in a cancellation charge of 100%.\n\n'), (611, 610, '2012-06-24', '', 'Cancellation Policy\n\nCancellation beyond this point would result in a cancellation charge of 100%.\n\n'); -- -------------------------------------------------------- -- -- Table structure for table `training_registration_details` -- CREATE TABLE IF NOT EXISTS `training_registration_details` ( `id` int(11) NOT NULL AUTO_INCREMENT, `training_registration_id` int(11) NOT NULL, `description` text NOT NULL, `no_pax` int(50) NOT NULL, `fee_head` double NOT NULL, `discount` double NOT NULL, PRIMARY KEY (`id`), KEY `training_registration_id` (`training_registration_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=48 ; -- -- Dumping data for table `training_registration_details` -- INSERT INTO `training_registration_details` (`id`, `training_registration_id`, `description`, `no_pax`, `fee_head`, `discount`) VALUES (1, 326, ' Secret of successful selling \n 10-03-2012 \n Ramada ', 1, 1000, 0), (2, 331, ' Secret of successful selling \n 10-03-2012 \n Ramada ', 2, 1000, 0), (3, 366, ' Secret of successful selling \n 10-03-2012 \n Ramada ', 6, 1000, 1000), (4, 369, ' Secret of successful selling \n 10-03-2012 \n Ramada ', 1, 1000, 0), (5, 372, ' Secret of successful selling \n 10-03-2012 \n Ramada ', 1, 1000, 0), (6, 376, ' Secret of successful selling \n 10-03-2012 \n Ramada ', 2, 1000, 1000), (9, 392, ' Secret of successful selling \n 10-03-2012 \n Ramada ', 2, 1000, 2000), (10, 398, ' Counselling \n 25-04-2012 \n Sri Lankan School ', 27, 75, 0), (11, 404, ' Faculty Development Program\n 17-03-2012 \n International British School ', 1, 3000, 0), (12, 411, ' Workshop on Dynamic Business Managers \n 26-04-2012 \n Holiday Villa ', 1, 1500, 0), (13, 414, ' Workshop on Dynamic Business Managers \n 26-04-2012 \n Holiday Villa ', 1, 1500, 250), (14, 417, ' Workshop on Dynamic Business Managers \n 26-04-2012 \n Holiday Villa ', 1, 1500, 1500), (15, 420, ' Workshop on Dynamic Business Managers \n 26-04-2012 \n Holiday Villa ', 2, 2000, 2000), (16, 424, ' Workshop on John Maxwell Leadership \n 28-04-2012 \n Ramada Plaza ', 1, 2000, 500), (17, 427, ' Workshop on John Maxwell Leadership \n 28-04-2012 \n Ramada Plaza ', 1, 2000, 0), (18, 430, ' Workshop on John Maxwell Leadership \n 28-04-2012 \n Ramada Plaza ', 1, 2000, 500), (19, 432, ' Secret of successful selling \n 10-03-2012 \n Ramada ', 1, 1000, 0), (20, 436, ' Workshop on Dynamic Business Managers \n 26-04-2012 \n Holiday Villa ', 5, 1500, 2500), (21, 441, ' Workshop on John Maxwell Leadership \n 28-04-2012 \n Ramada Plaza ', 1, 2000, 0), (22, 446, ' Workshop on John Maxwell Leadership \n 28-04-2012 \n Ramada Plaza ', 1, 2000, 2000), (23, 451, ' Workshop on John Maxwell Leadership \n 28-04-2012 \n Ramada Plaza ', 1, 2000, 500), (24, 456, ' Workshop on John Maxwell Leadership \n 28-04-2012 \n Ramada Plaza ', 1, 2000, 1000), (25, 459, ' Workshop on John Maxwell Leadership \n 28-04-2012 \n Ramada Plaza ', 1, 2000, 2000), (26, 464, ' Workshop on John Maxwell Leadership \n 28-04-2012 \n Ramada Plaza ', 1, 2000, 0), (27, 467, ' Workshop on John Maxwell Leadership \n 28-04-2012 \n Ramada Plaza ', 5, 2000, 5000), (28, 472, ' Workshop on Dynamic Business Managers \n 26-04-2012 \n Holiday Villa ', 1, 1500, 0), (29, 475, ' Workshop on Dynamic Business Managers \n 26-04-2012 \n Holiday Villa ', 1, 1500, 250), (30, 480, ' Workshop on Dynamic Business Managers \n 26-04-2012 \n Holiday Villa ', 2, 1500, 0), (31, 485, ' Workshop on Dynamic Business Managers \n 26-04-2012 \n Holiday Villa ', 2, 1500, 3000), (32, 488, ' Workshop on Dynamic Business Managers \n 26-04-2012 \n Holiday Villa ', 2, 1500, 0), (33, 502, ' Dynamic Business Managers \n 30-06-2012 \n Holiday Villa ', 1, 1500, 0), (34, 507, ' Dynamic Business Managers \n 30-06-2012 \n Holiday Villa ', 1, 1500, 500), (35, 519, ' Dynamic Business Managers \n 30-06-2012 \n Holiday Villa ', 2, 1500, 400), (36, 545, ' Enhancing Interpersonal Skills & Customer Relationship Workshop \n 12-06-2012 \n M.E.S.Indian School ', 50, 400, 2000), (37, 554, ' Dynamic Business Managers \n 30-06-2012 \n Holiday Villa ', 1, 1500, 1250), (38, 567, ' Dynamic Business Managers \n 30-06-2012 \n Holiday Villa ', 7, 1500, 2800), (39, 574, ' Dynamic Business Managers \n 30-06-2012 \n Holiday Villa ', 2, 1500, 1300), (40, 576, ' Dynamic Business Managers \n 30-06-2012 \n Holiday Villa ', 1, 1500, 1500), (41, 581, ' Dynamic Business Managers \n 30-06-2012 \n Holiday Villa ', 1, 1500, 1500), (42, 586, ' Dynamic Business Managers \n 30-06-2012 \n Holiday Villa ', 1, 1500, 1500), (43, 591, ' Dynamic Business Managers \n 30-06-2012 \n Holiday Villa ', 1, 1500, 1500), (44, 596, ' Dynamic Business Managers \n 30-06-2012 \n Holiday Villa ', 1, 1500, 1500), (45, 601, ' Dynamic Business Managers \n 30-06-2012 \n Holiday Villa ', 1, 1500, 1500), (46, 606, ' Dynamic Business Managers \n 30-06-2012 \n Holiday Villa ', 1, 1500, 1500), (47, 611, ' Dynamic Business Managers \n 30-06-2012 \n Holiday Villa ', 1, 1500, 1000); -- -------------------------------------------------------- -- -- Table structure for table `training_registration_participant` -- CREATE TABLE IF NOT EXISTS `training_registration_participant` ( `id` int(11) NOT NULL AUTO_INCREMENT, `training_registration_id` int(11) NOT NULL, `participant_name` varchar(200) NOT NULL, `participant_designation` varchar(200) NOT NULL, PRIMARY KEY (`id`), KEY `training_registration_id` (`training_registration_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=83 ; -- -- Dumping data for table `training_registration_participant` -- INSERT INTO `training_registration_participant` (`id`, `training_registration_id`, `participant_name`, `participant_designation`) VALUES (8, 366, 'Basily George ', ''), (9, 366, 'Hafiz Hassan ', ''), (10, 366, 'Dhiraj K ', ''), (11, 366, 'Ullas K.B. ', ''), (12, 366, 'Thomas Donbosco ', ''), (13, 366, 'Joshua Daniel George ', ''), (14, 369, 'Georgy C.Joy ', ''), (15, 372, 'Rajesh. P.R. ', ''), (16, 376, 'Anas U.A ', ''), (17, 376, 'Mohammed Rifdy ', ''), (21, 392, 'Shiju Shankar', ''), (22, 392, 'Jawad Mohamed', ''), (23, 398, 'Sri Lankan School students', ''), (24, 411, 'Karthik Ramaiah ', 'GM '), (25, 414, 'Rajesh P.R. ', ''), (26, 417, 'Binesh Balu ', ''), (27, 420, 'Rajesh Kumar ', ''), (28, 420, 'Mangode Rajesh ', ''), (29, 424, 'Karthik Ramaiah ', 'GM'), (30, 427, ' Mr. Joseph Mathew ', 'GM '), (31, 430, 'Safeer T.P ', 'GM '), (32, 432, 'Binesh Balu ', 'Business Development Manager'), (33, 436, 'Jayamohan Vijayamohanan ', ''), (34, 436, 'Ravindran Namasivayam ', ''), (35, 436, 'Lijo George ', ''), (36, 436, 'Seenivasan Natarajan ', ''), (37, 436, 'R. Murali ', ''), (39, 441, 'Kumara Badhuge ', 'National Digitization Section Manager '), (40, 446, 'Rammohan M. Rai ', 'L&D Coordinator '), (41, 451, 'V.V. Aboo Backer Bavu ', 'CEO '), (42, 456, 'K. Thayalan ', 'Finance Manager '), (43, 459, 'Ashok Eapen ', 'Asst. Vice President '), (44, 464, 'TVS Prasad ', ''), (45, 467, 'Thommas Rajarathinam ', ''), (46, 467, 'Sheeju David ', ''), (47, 467, 'Jayakumar Kumaran Nair ', ''), (48, 467, 'Anwar Sadath ', ''), (49, 467, 'Vinod Nair ', ''), (50, 472, 'Thanveer Salam ', ''), (51, 475, 'Jayaraj K.R. ', ''), (52, 480, 'Viventum Solutions ', 'Divisional Manager '), (53, 480, ' Jens Cyriac ', ''), (54, 485, 'Ranjith Vijaya Sreedharan ', ''), (55, 485, 'Kurumthattil Thazhakuny Kasim ', ''), (56, 488, 'Dinesh Babu E ', ''), (57, 488, 'Alickdoddy Thaivelikkakathu Varghese ', ''), (58, 502, ' Niroop M', ''), (60, 507, 'Shanavas C. S', 'Sales Executive '), (61, 519, 'Jenny Antony', 'Managing Director'), (62, 519, 'Maria Yves a.Florendo', 'Business Development Manager'), (63, 545, 'M.E.S.Indian School', ''), (65, 554, 'Marija Miglane', 'Senior Analyst Network Planning'), (66, 567, 'Mr.Mossa Kutty Olakara', ''), (67, 567, 'Mr.Harsh Baijnath Singh', ''), (68, 567, 'Mr.Ali Pulimoottil Moidheen', ''), (69, 567, 'Mr.Saleem Vannathan Veetil', ''), (70, 567, 'Mr.Madhu Menon', ''), (71, 567, 'Mr.Abdussalim Vinniyam Parambath', ''), (72, 567, 'Mr.Ttalhat Tayaal Kakkat', ''), (73, 574, 'Mr. Salahudheen ', ''), (74, 574, 'Mr. Laxaman ', ''), (75, 576, 'Mohideen Pakeer', 'Officer-Procurement'), (76, 581, ' Ajay Kumar N A', ''), (77, 586, ' Asafali M Padiyath', ''), (78, 591, ' Rajeev Rajan', ''), (79, 596, ' Mary Nisansala Kumari Jayaweera', ''), (80, 601, ' Aboo Navas', ''), (81, 606, ' Amanulla Thenkayathil', ''), (82, 611, 'Waleed Alabbady', ''); -- -------------------------------------------------------- -- -- Table structure for table `training_registration_payment` -- CREATE TABLE IF NOT EXISTS `training_registration_payment` ( `training_registration_payment_id` int(11) NOT NULL AUTO_INCREMENT, `training_registration_id` int(11) NOT NULL, `amount` double NOT NULL, `payment_method` enum('Credit') NOT NULL, PRIMARY KEY (`training_registration_payment_id`), KEY `training_registration_id` (`training_registration_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=51 ; -- -- Dumping data for table `training_registration_payment` -- INSERT INTO `training_registration_payment` (`training_registration_payment_id`, `training_registration_id`, `amount`, `payment_method`) VALUES (1, 326, 1000, 'Credit'), (3, 331, 2000, 'Credit'), (4, 366, 5000, 'Credit'), (5, 369, 1000, 'Credit'), (6, 372, 1000, 'Credit'), (7, 376, 1000, 'Credit'), (10, 392, 0, 'Credit'), (11, 398, 2025, 'Credit'), (12, 404, 3000, 'Credit'), (13, 411, 1500, 'Credit'), (14, 414, 1250, 'Credit'), (15, 417, 0, 'Credit'), (16, 420, 2000, 'Credit'), (17, 424, 1500, 'Credit'), (18, 427, 2000, 'Credit'), (19, 430, 1500, 'Credit'), (20, 432, 1000, 'Credit'), (21, 436, 5000, 'Credit'), (22, 441, 2000, 'Credit'), (23, 446, 0, 'Credit'), (24, 451, 1500, 'Credit'), (25, 456, 1000, 'Credit'), (26, 459, 0, 'Credit'), (27, 464, 2000, 'Credit'), (28, 467, 5000, 'Credit'), (29, 472, 1500, 'Credit'), (30, 475, 1250, 'Credit'), (31, 480, 3000, 'Credit'), (32, 485, 0, 'Credit'), (33, 488, 3000, 'Credit'), (36, 507, 1000, 'Credit'), (37, 519, 2600, 'Credit'), (38, 545, 18000, 'Credit'), (39, 554, 250, 'Credit'), (40, 502, 1250, 'Credit'), (41, 567, 7700, 'Credit'), (42, 574, 1700, 'Credit'), (43, 576, 0, 'Credit'), (44, 581, 0, 'Credit'), (45, 586, 0, 'Credit'), (46, 591, 0, 'Credit'), (47, 596, 0, 'Credit'), (48, 601, 0, 'Credit'), (49, 606, 0, 'Credit'), (50, 611, 500, 'Credit'); -- -------------------------------------------------------- -- -- Table structure for table `transaction_code` -- CREATE TABLE IF NOT EXISTS `transaction_code` ( `transaction_code_id` int(11) NOT NULL AUTO_INCREMENT, `code` varchar(30) NOT NULL, `type` varchar(30) NOT NULL, `trans` tinyint(2) NOT NULL, PRIMARY KEY (`transaction_code_id`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=7 ; -- -- Dumping data for table `transaction_code` -- INSERT INTO `transaction_code` (`transaction_code_id`, `code`, `type`, `trans`) VALUES (1, 'PV', 'P', 1), (2, 'CN', 'C', 5), (3, 'DN', 'D', 6), (4, 'RV', 'R', 2), (5, 'BJ', 'B', 4), (6, 'JV', 'J', 3); -- -------------------------------------------------------- -- -- Table structure for table `transaction_type` -- CREATE TABLE IF NOT EXISTS `transaction_type` ( `transaction_type_id` tinyint(2) NOT NULL AUTO_INCREMENT, `transaction` varchar(30) NOT NULL, PRIMARY KEY (`transaction_type_id`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=7 ; -- -- Dumping data for table `transaction_type` -- INSERT INTO `transaction_type` (`transaction_type_id`, `transaction`) VALUES (1, 'Payment Voucher'), (2, 'Receipt Voucher'), (3, 'Journal Voucher'), (4, 'Bank Journal'), (5, 'Credit Note'), (6, 'Debit Note'); -- -------------------------------------------------------- -- -- Table structure for table `unposted_journal` -- CREATE TABLE IF NOT EXISTS `unposted_journal` ( `unposted_journal_id` int(11) NOT NULL AUTO_INCREMENT, `ref_id` int(11) NOT NULL, `payment_date` date NOT NULL, `account_code` varchar(30) NOT NULL, `amount` double(10,2) NOT NULL, `memo` tinytext NOT NULL, `unpost` tinyint(4) NOT NULL, PRIMARY KEY (`unposted_journal_id`), KEY `ref_id` (`ref_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=18 ; -- -- Dumping data for table `unposted_journal` -- INSERT INTO `unposted_journal` (`unposted_journal_id`, `ref_id`, `payment_date`, `account_code`, `amount`, `memo`, `unpost`) VALUES (1, 343, '2012-05-20', 'CRP0002', -5000.00, '', 1), (2, 343, '2012-05-20', '100010', 5000.00, '', 1), (4, 344, '2012-05-20', 'CRP0002', -2000.00, '', 1), (5, 344, '2012-05-20', '100010', 2000.00, '', 1), (6, 615, '2012-06-13', 'CRP0038', -9000.00, '', 1), (7, 615, '2012-06-13', '100010', 9000.00, '', 1), (15, 618, '2012-06-13', 'CRP0038', -9000.00, '', 1), (16, 618, '2012-06-13', '100010', 9000.00, '', 1); -- -------------------------------------------------------- -- -- Table structure for table `unposted_payment` -- CREATE TABLE IF NOT EXISTS `unposted_payment` ( `unposted_payment_id` int(11) NOT NULL AUTO_INCREMENT, `ref_id` int(11) NOT NULL, `bank_account_code` varchar(30) NOT NULL, `payment_date` date NOT NULL, `amount` double(10,2) NOT NULL, `other_account_code` varchar(30) NOT NULL, `memo` tinytext NOT NULL, `unpost` tinyint(4) NOT NULL, `payment_method` enum('Cash','Cheque') NOT NULL, PRIMARY KEY (`unposted_payment_id`), KEY `ref_id` (`ref_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=23 ; -- -- Dumping data for table `unposted_payment` -- INSERT INTO `unposted_payment` (`unposted_payment_id`, `ref_id`, `bank_account_code`, `payment_date`, `amount`, `other_account_code`, `memo`, `unpost`, `payment_method`) VALUES (1, 341, '100010', '2012-05-20', 5000.00, 'CRP0002', '', 1, ''), (2, 342, '100010', '2012-05-20', 2000.00, 'CRP0002', '', 1, ''), (3, 345, '100010', '2012-05-20', -5000.00, 'CRP0002', '', 1, ''), (4, 346, '100010', '2012-05-20', -2000.00, 'CRP0002', '', 1, ''), (5, 490, '100010', '2012-05-23', -1000.00, 'CRP0001', '', 1, 'Cash'), (6, 491, '100010', '2012-05-23', -2250.00, 'CRP0005', '', 1, 'Cash'), (7, 492, '100010', '2012-05-23', -1000.00, 'CRP0006', '', 1, 'Cash'), (8, 493, '100010', '2012-05-23', -5000.00, 'CRP0012', '', 1, 'Cash'), (9, 494, '100010', '2012-05-23', -3000.00, 'CRP0015', '', 1, 'Cash'), (10, 495, '100010', '2012-05-23', -2000.00, 'CRP0017', '', 1, 'Cash'), (11, 496, '100010', '2012-05-23', -1500.00, 'CRP0019', '', 1, 'Cash'), (12, 497, '100010', '2012-05-23', -1000.00, 'CRP0020', '', 1, 'Cash'), (13, 498, '100010', '2012-05-23', -1500.00, 'CRP0021', '', 1, 'Cash'), (14, 499, '100010', '2012-05-23', -2000.00, 'IDL0001', '', 1, 'Cash'), (15, 547, '100010', '2012-06-13', 9000.00, 'CRP0038', '', 1, 'Cheque'), (16, 548, '100010', '2012-06-13', 9000.00, 'CRP0038', '', 1, 'Cheque'), (17, 549, '100010', '2012-06-13', -9000.00, 'CRP0038', '', 1, 'Cheque'), (18, 550, '100010', '2012-06-13', -9000.00, 'CRP0038', '', 1, 'Cheque'), (19, 559, '100010', '2012-06-25', -10000.00, 'CRP0011', '', 1, 'Cheque'), (20, 619, '100010', '2012-07-01', -250.00, 'CRP0031', '', 1, 'Cash'), (21, 620, '100010', '2012-07-01', -500.00, 'IDL0009', '', 1, 'Cash'), (22, 621, '100010', '2012-07-04', -2025.00, 'CRP0014', '', 1, 'Cash'); -- -------------------------------------------------------- -- -- Table structure for table `user` -- CREATE TABLE IF NOT EXISTS `user` ( `user_id` int(11) NOT NULL AUTO_INCREMENT, `username` varchar(50) NOT NULL, `password` varchar(200) NOT NULL, `employee_id` int(11) NOT NULL, `user_modules` text NOT NULL, `modules_permission` text NOT NULL, `private` tinytext NOT NULL, PRIMARY KEY (`user_id`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=12 ; -- -- Dumping data for table `user` -- INSERT INTO `user` (`user_id`, `username`, `password`, `employee_id`, `user_modules`, `modules_permission`, `private`) VALUES (1, 'admin', 'c0d15e384cacae436f6f033ad30f0471', 1, '1,2,66,59,56,3,4,5,6,7,8,9,10,58,11,52,53,65,12,57,60,61,13,14,15,54,55,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,62,41,42,43,44,45,46,47,63,64,48,49,50,', '7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,', '0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'), (11, 'EMP004', '587f628492e2f41e28655d0cd074499b', 340, '1,2,56,66,59,3,4,5,6,7,8,9,10,58,52,11,53,65,12,57,60,61,13,14,15,54,55,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,62,41,42,43,44,45,46,47,63,64,48,49,50,', '7,7,7,0,7,7,7,7,0,0,0,0,0,0,7,7,7,7,7,7,7,0,7,7,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,6,0,0,0,0,0,0,6,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,', '0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,'), (10, 'EMP003', '38b87770f6b0f1eef88ab910ca8085ff', 336, '1,2,3,4,56,59,5,6,7,8,9,10,58,11,12,52,53,57,65,13,14,15,16,17,18,19,20,21,22,23,24,25,54,55,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,62,47,63,64,48,49,50,51,60,61,', '7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,0,0,', '0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,'), (9, 'EMP002', '749c8553a5fc4d2b7b3d0e693b633f5b', 321, '1,2,66,59,56,3,4,5,6,7,8,9,10,58,52,11,53,65,12,57,60,61,13,14,15,54,55,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,62,41,42,43,44,45,46,47,63,64,48,49,50,', '6,6,6,6,6,6,6,6,6,0,6,0,0,6,6,6,6,6,6,6,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,6,', '0,0,0,0,0,0,0,0,0,1,1,1,1,0,0,0,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,0,0,0,0,0,0,0,'); -- -------------------------------------------------------- -- -- Table structure for table `user_profile` -- CREATE TABLE IF NOT EXISTS `user_profile` ( `profile_id` int(11) NOT NULL AUTO_INCREMENT, `designation_id` int(11) NOT NULL, `profile_modules` text NOT NULL, `profile_modules_permission` text NOT NULL, `profile_modules_private` tinytext NOT NULL, PRIMARY KEY (`profile_id`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=9 ; -- -- Dumping data for table `user_profile` -- INSERT INTO `user_profile` (`profile_id`, `designation_id`, `profile_modules`, `profile_modules_permission`, `profile_modules_private`) VALUES (1, 1, '1,2,56,59,3,4,5,6,7,8,9,10,58,11,52,53,65,12,57,60,61,13,14,15,54,55,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,62,41,42,43,44,45,46,47,63,64,48,49,50,51,', '7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,', '1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,'), (6, 3, '1,2,59,56,3,4,5,6,7,8,9,10,58,11,52,53,65,12,57,60,61,13,14,15,54,55,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,62,41,42,43,44,45,46,47,63,64,48,49,50,', '7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,0,0,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,', '0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'), (7, 2, '1,2,59,56,3,4,5,6,7,8,9,10,58,52,11,53,65,12,57,60,61,13,14,15,54,55,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,62,41,42,43,44,45,46,47,63,64,48,49,50,', '6,6,6,6,6,6,6,4,0,4,0,0,4,6,6,6,6,6,6,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,6,', '1,1,1,1,1,1,0,1,0,0,0,0,1,0,0,0,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,'), (8, 4, '1,2,56,59,3,4,5,6,7,8,9,10,58,11,52,53,65,12,57,60,61,13,14,15,54,55,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,62,41,42,43,44,45,46,47,63,64,48,49,50,', '7,7,7,7,7,7,7,0,0,0,0,0,0,7,7,7,7,7,7,7,7,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,6,6,0,0,0,0,0,0,6,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,7,', '0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,'); -- -- Constraints for dumped tables -- -- -- Constraints for table `activity` -- ALTER TABLE `activity` ADD CONSTRAINT `activity_ibfk_1` FOREIGN KEY (`activity_category_id`) REFERENCES `activity_category` (`activity_category_id`) ON DELETE NO ACTION; -- -- Constraints for table `audit_trail` -- ALTER TABLE `audit_trail` ADD CONSTRAINT `audit_trail_ibfk_1` FOREIGN KEY (`ref_id`) REFERENCES `refs` (`ref_id`) ON DELETE CASCADE, ADD CONSTRAINT `audit_trail_ibfk_2` FOREIGN KEY (`fiscal_year`) REFERENCES `fiscal_year` (`fiscal_year_id`) ON DELETE NO ACTION; -- -- Constraints for table `auto_journal` -- ALTER TABLE `auto_journal` ADD CONSTRAINT `auto_journal_ibfk_1` FOREIGN KEY (`auto_journal_ref_id`) REFERENCES `auto_journal_main` (`auto_journal_main_id`) ON DELETE CASCADE; -- -- Constraints for table `bank_transaction` -- ALTER TABLE `bank_transaction` ADD CONSTRAINT `bank_transaction_ibfk_1` FOREIGN KEY (`ref_id`) REFERENCES `refs` (`ref_id`) ON DELETE CASCADE; -- -- Constraints for table `branch_target` -- ALTER TABLE `branch_target` ADD CONSTRAINT `branch_target_ibfk_1` FOREIGN KEY (`branch_target_id`) REFERENCES `master` (`masterid`) ON DELETE CASCADE, ADD CONSTRAINT `branch_target_ibfk_2` FOREIGN KEY (`branch_id`) REFERENCES `branch` (`branch_id`) ON DELETE CASCADE; -- -- Constraints for table `calendar` -- ALTER TABLE `calendar` ADD CONSTRAINT `calendar_ibfk_1` FOREIGN KEY (`event_id`) REFERENCES `master` (`masterid`) ON DELETE CASCADE; -- -- Constraints for table `customer` -- ALTER TABLE `customer` ADD CONSTRAINT `customer_ibfk_1` FOREIGN KEY (`customer_id`) REFERENCES `master` (`masterid`) ON DELETE CASCADE; -- -- Constraints for table `customer_corporate` -- ALTER TABLE `customer_corporate` ADD CONSTRAINT `customer_corporate_ibfk_1` FOREIGN KEY (`customer_id`) REFERENCES `customer` (`customer_id`) ON DELETE CASCADE; -- -- Constraints for table `customer_corporate_contacts` -- ALTER TABLE `customer_corporate_contacts` ADD CONSTRAINT `customer_corporate_contacts_ibfk_1` FOREIGN KEY (`customer_id`) REFERENCES `customer` (`customer_id`) ON DELETE CASCADE; -- -- Constraints for table `customer_file` -- ALTER TABLE `customer_file` ADD CONSTRAINT `customer_file_ibfk_1` FOREIGN KEY (`customer_id`) REFERENCES `customer` (`customer_id`) ON DELETE CASCADE; -- -- Constraints for table `customer_personal` -- ALTER TABLE `customer_personal` ADD CONSTRAINT `customer_personal_ibfk_1` FOREIGN KEY (`customer_id`) REFERENCES `customer` (`customer_id`) ON DELETE CASCADE; -- -- Constraints for table `customer_transaction` -- ALTER TABLE `customer_transaction` ADD CONSTRAINT `customer_transaction_ibfk_1` FOREIGN KEY (`ref_id`) REFERENCES `refs` (`ref_id`) ON DELETE CASCADE; -- -- Constraints for table `daily_activity` -- ALTER TABLE `daily_activity` ADD CONSTRAINT `daily_activity_ibfk_1` FOREIGN KEY (`daily_activity_id`) REFERENCES `master` (`masterid`) ON DELETE CASCADE; -- -- Constraints for table `daily_activity_details` -- ALTER TABLE `daily_activity_details` ADD CONSTRAINT `daily_activity_details_ibfk_1` FOREIGN KEY (`daily_activity_id`) REFERENCES `daily_activity` (`daily_activity_id`) ON DELETE CASCADE; -- -- Constraints for table `document` -- ALTER TABLE `document` ADD CONSTRAINT `document_ibfk_1` FOREIGN KEY (`document_id`) REFERENCES `master` (`masterid`) ON DELETE CASCADE, ADD CONSTRAINT `document_ibfk_2` FOREIGN KEY (`document_category_id`) REFERENCES `document_category` (`document_category_id`) ON DELETE NO ACTION; -- -- Constraints for table `employee` -- ALTER TABLE `employee` ADD CONSTRAINT `employee_ibfk_1` FOREIGN KEY (`employee_id`) REFERENCES `master` (`masterid`) ON DELETE CASCADE, ADD CONSTRAINT `employee_ibfk_2` FOREIGN KEY (`employee_designation_id`) REFERENCES `designation` (`designation_id`) ON DELETE NO ACTION, ADD CONSTRAINT `employee_ibfk_3` FOREIGN KEY (`employee_branch_id`) REFERENCES `branch` (`branch_id`) ON DELETE NO ACTION, ADD CONSTRAINT `employee_ibfk_4` FOREIGN KEY (`employee_department_id`) REFERENCES `department` (`department_id`) ON DELETE NO ACTION; -- -- Constraints for table `employeecustomer` -- ALTER TABLE `employeecustomer` ADD CONSTRAINT `employeecustomer_ibfk_2` FOREIGN KEY (`customer_id`) REFERENCES `customer` (`customer_id`) ON DELETE CASCADE, ADD CONSTRAINT `employeecustomer_ibfk_3` FOREIGN KEY (`employeecustomer_id`) REFERENCES `master` (`masterid`) ON DELETE CASCADE, ADD CONSTRAINT `employeecustomer_ibfk_4` FOREIGN KEY (`employee_id`) REFERENCES `employee` (`employee_id`) ON DELETE NO ACTION; -- -- Constraints for table `employee_additional_certification` -- ALTER TABLE `employee_additional_certification` ADD CONSTRAINT `employee_additional_certification_ibfk_1` FOREIGN KEY (`employee_id`) REFERENCES `employee` (`employee_id`) ON DELETE CASCADE; -- -- Constraints for table `employee_educational_qualification` -- ALTER TABLE `employee_educational_qualification` ADD CONSTRAINT `employee_educational_qualification_ibfk_1` FOREIGN KEY (`employee_id`) REFERENCES `employee` (`employee_id`) ON DELETE CASCADE; -- -- Constraints for table `employee_file` -- ALTER TABLE `employee_file` ADD CONSTRAINT `employee_file_ibfk_1` FOREIGN KEY (`employee_id`) REFERENCES `employee` (`employee_id`) ON DELETE CASCADE; -- -- Constraints for table `employee_professional_experience` -- ALTER TABLE `employee_professional_experience` ADD CONSTRAINT `employee_professional_experience_ibfk_1` FOREIGN KEY (`employee_id`) REFERENCES `employee` (`employee_id`) ON DELETE CASCADE; -- -- Constraints for table `employee_salary` -- ALTER TABLE `employee_salary` ADD CONSTRAINT `employee_salary_ibfk_1` FOREIGN KEY (`employee_salary_id`) REFERENCES `master` (`masterid`) ON DELETE CASCADE, ADD CONSTRAINT `employee_salary_ibfk_2` FOREIGN KEY (`employee_id`) REFERENCES `employee` (`employee_id`) ON DELETE CASCADE; -- -- Constraints for table `employee_salary_allowdeduc` -- ALTER TABLE `employee_salary_allowdeduc` ADD CONSTRAINT `employee_salary_allowdeduc_ibfk_1` FOREIGN KEY (`employee_salary_id`) REFERENCES `employee_salary` (`employee_salary_id`) ON DELETE CASCADE, ADD CONSTRAINT `employee_salary_allowdeduc_ibfk_2` FOREIGN KEY (`allowdeduc_id`) REFERENCES `allowdeduc` (`allowdeduc_id`) ON DELETE NO ACTION; -- -- Constraints for table `employee_salary_medical` -- ALTER TABLE `employee_salary_medical` ADD CONSTRAINT `employee_salary_medical_ibfk_1` FOREIGN KEY (`employee_salary_id`) REFERENCES `employee_salary` (`employee_salary_id`) ON DELETE CASCADE; -- -- Constraints for table `employee_salary_slip` -- ALTER TABLE `employee_salary_slip` ADD CONSTRAINT `employee_salary_slip_ibfk_1` FOREIGN KEY (`employee_salary_slip_id`) REFERENCES `master` (`masterid`) ON DELETE CASCADE, ADD CONSTRAINT `employee_salary_slip_ibfk_2` FOREIGN KEY (`employee_id`) REFERENCES `employee` (`employee_id`) ON DELETE NO ACTION; -- -- Constraints for table `employee_salary_slip_allowdeduc` -- ALTER TABLE `employee_salary_slip_allowdeduc` ADD CONSTRAINT `employee_salary_slip_allowdeduc_ibfk_1` FOREIGN KEY (`allowdeduc_id`) REFERENCES `allowdeduc` (`allowdeduc_id`) ON DELETE NO ACTION, ADD CONSTRAINT `employee_salary_slip_allowdeduc_ibfk_2` FOREIGN KEY (`employee_salary_slip_id`) REFERENCES `employee_salary_slip` (`employee_salary_slip_id`) ON DELETE CASCADE; -- -- Constraints for table `employee_target` -- ALTER TABLE `employee_target` ADD CONSTRAINT `employee_target_ibfk_1` FOREIGN KEY (`employee_target_id`) REFERENCES `master` (`masterid`) ON DELETE CASCADE; -- -- Constraints for table `gl_trans` -- ALTER TABLE `gl_trans` ADD CONSTRAINT `gl_trans_ibfk_1` FOREIGN KEY (`ref_id`) REFERENCES `refs` (`ref_id`) ON DELETE CASCADE; -- -- Constraints for table `leave_allocation` -- ALTER TABLE `leave_allocation` ADD CONSTRAINT `leave_allocation_ibfk_1` FOREIGN KEY (`leave_allocation_id`) REFERENCES `master` (`masterid`) ON DELETE CASCADE, ADD CONSTRAINT `leave_allocation_ibfk_2` FOREIGN KEY (`employee_id`) REFERENCES `employee` (`employee_id`) ON DELETE CASCADE; -- -- Constraints for table `leave_allocation_detail` -- ALTER TABLE `leave_allocation_detail` ADD CONSTRAINT `leave_allocation_detail_ibfk_1` FOREIGN KEY (`leave_allocation_id`) REFERENCES `leave_allocation` (`leave_allocation_id`) ON DELETE CASCADE, ADD CONSTRAINT `leave_allocation_detail_ibfk_2` FOREIGN KEY (`leave_type_id`) REFERENCES `leave_type` (`leave_type_id`) ON DELETE NO ACTION; -- -- Constraints for table `leave_application` -- ALTER TABLE `leave_application` ADD CONSTRAINT `leave_application_ibfk_1` FOREIGN KEY (`leave_application_id`) REFERENCES `master` (`masterid`) ON DELETE CASCADE, ADD CONSTRAINT `leave_application_ibfk_2` FOREIGN KEY (`employee_id`) REFERENCES `employee` (`employee_id`) ON DELETE CASCADE, ADD CONSTRAINT `leave_application_ibfk_3` FOREIGN KEY (`leave_type_id`) REFERENCES `leave_type` (`leave_type_id`) ON DELETE NO ACTION; -- -- Constraints for table `offer_letter` -- ALTER TABLE `offer_letter` ADD CONSTRAINT `offer_letter_ibfk_1` FOREIGN KEY (`offer_letter_id`) REFERENCES `master` (`masterid`) ON DELETE CASCADE; -- -- Constraints for table `project` -- ALTER TABLE `project` ADD CONSTRAINT `project_ibfk_1` FOREIGN KEY (`project_id`) REFERENCES `master` (`masterid`) ON DELETE CASCADE; -- -- Constraints for table `refs` -- ALTER TABLE `refs` ADD CONSTRAINT `refs_ibfk_1` FOREIGN KEY (`ref_id`) REFERENCES `master` (`masterid`) ON DELETE CASCADE; -- -- Constraints for table `refs_records` -- ALTER TABLE `refs_records` ADD CONSTRAINT `refs_records_ibfk_1` FOREIGN KEY (`ref_id`) REFERENCES `refs` (`ref_id`) ON DELETE CASCADE; -- -- Constraints for table `reminder` -- ALTER TABLE `reminder` ADD CONSTRAINT `reminder_ibfk_1` FOREIGN KEY (`reminder_id`) REFERENCES `master` (`masterid`) ON DELETE CASCADE; -- -- Constraints for table `resume_management` -- ALTER TABLE `resume_management` ADD CONSTRAINT `resume_management_ibfk_1` FOREIGN KEY (`resume_management_id`) REFERENCES `master` (`masterid`) ON DELETE CASCADE; -- -- Constraints for table `sales_lead` -- ALTER TABLE `sales_lead` ADD CONSTRAINT `sales_lead_ibfk_1` FOREIGN KEY (`sales_lead_id`) REFERENCES `master` (`masterid`) ON DELETE CASCADE, ADD CONSTRAINT `sales_lead_ibfk_2` FOREIGN KEY (`employee_id`) REFERENCES `employee` (`employee_id`) ON DELETE NO ACTION, ADD CONSTRAINT `sales_lead_ibfk_3` FOREIGN KEY (`activity_id`) REFERENCES `activity` (`activity_id`) ON DELETE NO ACTION; -- -- Constraints for table `software_placement` -- ALTER TABLE `software_placement` ADD CONSTRAINT `software_placement_ibfk_1` FOREIGN KEY (`placement_id`) REFERENCES `master` (`masterid`) ON DELETE CASCADE, ADD CONSTRAINT `software_placement_ibfk_2` FOREIGN KEY (`software_proposal_id`) REFERENCES `software_proposal` (`software_proposal_id`) ON DELETE NO ACTION; -- -- Constraints for table `software_placement_details` -- ALTER TABLE `software_placement_details` ADD CONSTRAINT `software_placement_details_ibfk_1` FOREIGN KEY (`placement_id`) REFERENCES `software_placement` (`placement_id`) ON DELETE CASCADE; -- -- Constraints for table `software_placement_payment` -- ALTER TABLE `software_placement_payment` ADD CONSTRAINT `software_placement_payment_ibfk_1` FOREIGN KEY (`placement_id`) REFERENCES `software_placement` (`placement_id`) ON DELETE CASCADE; -- -- Constraints for table `software_proposal` -- ALTER TABLE `software_proposal` ADD CONSTRAINT `software_proposal_ibfk_1` FOREIGN KEY (`customer_id`) REFERENCES `customer` (`customer_id`) ON DELETE NO ACTION, ADD CONSTRAINT `software_proposal_ibfk_2` FOREIGN KEY (`activity_id`) REFERENCES `activity` (`activity_id`) ON DELETE NO ACTION, ADD CONSTRAINT `software_proposal_ibfk_3` FOREIGN KEY (`software_proposal_id`) REFERENCES `master` (`masterid`) ON DELETE CASCADE, ADD CONSTRAINT `software_proposal_ibfk_4` FOREIGN KEY (`source_id`) REFERENCES `source` (`source_id`) ON DELETE NO ACTION; -- -- Constraints for table `software_proposal_details` -- ALTER TABLE `software_proposal_details` ADD CONSTRAINT `software_proposal_details_ibfk_1` FOREIGN KEY (`software_proposal_id`) REFERENCES `software_proposal` (`software_proposal_id`) ON DELETE CASCADE; -- -- Constraints for table `training_cancellation` -- ALTER TABLE `training_cancellation` ADD CONSTRAINT `training_cancellation_ibfk_1` FOREIGN KEY (`training_cancellation_id`) REFERENCES `master` (`masterid`) ON DELETE CASCADE, ADD CONSTRAINT `training_cancellation_ibfk_2` FOREIGN KEY (`training_registration_id`) REFERENCES `training_registration` (`training_registration_id`) ON DELETE NO ACTION; -- -- Constraints for table `training_proposal` -- ALTER TABLE `training_proposal` ADD CONSTRAINT `training_proposal_ibfk_1` FOREIGN KEY (`training_id`) REFERENCES `master` (`masterid`) ON DELETE CASCADE, ADD CONSTRAINT `training_proposal_ibfk_2` FOREIGN KEY (`activity_id`) REFERENCES `activity` (`activity_id`) ON DELETE NO ACTION; -- -- Constraints for table `training_proposal_details` -- ALTER TABLE `training_proposal_details` ADD CONSTRAINT `training_proposal_details_ibfk_1` FOREIGN KEY (`training_id`) REFERENCES `training_proposal` (`training_id`) ON DELETE CASCADE, ADD CONSTRAINT `training_proposal_details_ibfk_2` FOREIGN KEY (`customer_id`) REFERENCES `customer` (`customer_id`) ON DELETE NO ACTION, ADD CONSTRAINT `training_proposal_details_ibfk_3` FOREIGN KEY (`source_id`) REFERENCES `source` (`source_id`) ON DELETE NO ACTION; -- -- Constraints for table `training_proposal_expense` -- ALTER TABLE `training_proposal_expense` ADD CONSTRAINT `training_proposal_expense_ibfk_1` FOREIGN KEY (`training_proposal_id`) REFERENCES `training_proposal` (`training_id`) ON DELETE CASCADE, ADD CONSTRAINT `training_proposal_expense_ibfk_2` FOREIGN KEY (`expense_category_id`) REFERENCES `expense_category` (`expense_category_id`) ON DELETE NO ACTION; -- -- Constraints for table `training_proposal_file` -- ALTER TABLE `training_proposal_file` ADD CONSTRAINT `training_proposal_file_ibfk_1` FOREIGN KEY (`training_id`) REFERENCES `training_proposal` (`training_id`) ON DELETE CASCADE; -- -- Constraints for table `training_quotation` -- ALTER TABLE `training_quotation` ADD CONSTRAINT `training_quotation_ibfk_1` FOREIGN KEY (`customer_training_id`) REFERENCES `training_proposal_details` (`id`) ON DELETE NO ACTION; -- -- Constraints for table `training_quotation_details` -- ALTER TABLE `training_quotation_details` ADD CONSTRAINT `training_quotation_details_ibfk_1` FOREIGN KEY (`training_quotation_id`) REFERENCES `training_quotation` (`training_quotation_id`) ON DELETE CASCADE; -- -- Constraints for table `training_quotation_participant` -- ALTER TABLE `training_quotation_participant` ADD CONSTRAINT `training_quotation_participant_ibfk_1` FOREIGN KEY (`training_quotation_id`) REFERENCES `training_quotation` (`training_quotation_id`) ON DELETE CASCADE; -- -- Constraints for table `training_registration` -- ALTER TABLE `training_registration` ADD CONSTRAINT `training_registration_ibfk_1` FOREIGN KEY (`training_quotation_id`) REFERENCES `training_quotation` (`training_quotation_id`) ON DELETE NO ACTION, ADD CONSTRAINT `training_registration_ibfk_2` FOREIGN KEY (`training_registration_id`) REFERENCES `master` (`masterid`) ON DELETE CASCADE; -- -- Constraints for table `training_registration_details` -- ALTER TABLE `training_registration_details` ADD CONSTRAINT `training_registration_details_ibfk_1` FOREIGN KEY (`training_registration_id`) REFERENCES `training_registration` (`training_registration_id`) ON DELETE CASCADE; -- -- Constraints for table `training_registration_participant` -- ALTER TABLE `training_registration_participant` ADD CONSTRAINT `training_registration_participant_ibfk_1` FOREIGN KEY (`training_registration_id`) REFERENCES `training_registration` (`training_registration_id`) ON DELETE CASCADE; -- -- Constraints for table `training_registration_payment` -- ALTER TABLE `training_registration_payment` ADD CONSTRAINT `training_registration_payment_ibfk_1` FOREIGN KEY (`training_registration_id`) REFERENCES `training_registration` (`training_registration_id`) ON DELETE CASCADE; -- -- Constraints for table `unposted_journal` -- ALTER TABLE `unposted_journal` ADD CONSTRAINT `unposted_journal_ibfk_1` FOREIGN KEY (`ref_id`) REFERENCES `refs` (`ref_id`) ON DELETE CASCADE; -- -- Constraints for table `unposted_payment` -- ALTER TABLE `unposted_payment` ADD CONSTRAINT `unposted_payment_ibfk_1` FOREIGN KEY (`ref_id`) REFERENCES `refs` (`ref_id`) ON DELETE CASCADE; /*!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 */;