UPDATE `user` SET `last_login` = '2017-05-28 07:23:10', `ip_address` = '162.158.178.40'
WHERE `id` = '2';
UPDATE `user` SET `last_login` = '2017-05-28 09:37:27', `ip_address` = '162.158.22.5'
WHERE `id` = '2';
UPDATE `setting` SET `id` = '2', `title` = 'Dynamic Admin Panel', `address` = '98 Green Road, Farmgate, Dhaka-1215.', `email` = 'bdtask@gmail.com', `phone` = '0123456789', `logo` = 'assets/img/icons/2017-05-28/g.png', `favicon` = 'assets/img/icons/m.png', `language` = 'english', `site_align` = 'LTR', `footer_text` = '2017Â©Copyright'
WHERE `id` = '2';
UPDATE `setting` SET `id` = '2', `title` = 'Dynamic Admin Panel', `address` = '98 Green Road, Farmgate, Dhaka-1215.', `email` = 'bdtask@gmail.com', `phone` = '0123456789', `logo` = 'assets/img/icons/2017-05-28/g1.png', `favicon` = 'assets/img/icons/m.png', `language` = 'english', `site_align` = 'LTR', `footer_text` = '2017Â©Copyright'
WHERE `id` = '2';
UPDATE `setting` SET `id` = '2', `title` = 'Dynamic Admin Panel', `address` = '98 Green Road, Farmgate, Dhaka-1215.', `email` = 'bdtask@gmail.com', `phone` = '0123456789', `logo` = 'assets/img/icons/2017-05-28/g1.png', `favicon` = 'assets/img/icons/2017-05-28/1.png', `language` = 'english', `site_align` = 'LTR', `footer_text` = '2017Â©Copyright'
WHERE `id` = '2';
UPDATE `setting` SET `id` = '2', `title` = 'Dynamic Admin Panel', `address` = '98 Green Road, Farmgate, Dhaka-1215.', `email` = 'bdtask@gmail.com', `phone` = '0123456789', `logo` = 'assets/img/icons/2017-05-28/g1.png', `favicon` = 'assets/img/icons/2017-05-28/U.png', `language` = 'english', `site_align` = 'LTR', `footer_text` = '2017Â©Copyright'
WHERE `id` = '2';
UPDATE `setting` SET `id` = '2', `title` = 'Dynamic Admin Panel', `address` = '98 Green Road, Farmgate, Dhaka-1215.', `email` = 'bdtask@gmail.com', `phone` = '0123456789', `logo` = 'assets/img/icons/2017-05-28/4.png', `favicon` = 'assets/img/icons/2017-05-28/U.png', `language` = 'english', `site_align` = 'LTR', `footer_text` = '2017Â©Copyright'
WHERE `id` = '2';
UPDATE `setting` SET `id` = '2', `title` = 'Dynamic Admin Panel', `address` = '98 Green Road, Farmgate, Dhaka-1215.', `email` = 'bdtask@gmail.com', `phone` = '0123456789', `logo` = 'assets/img/icons/2017-05-28/4.png', `favicon` = 'assets/img/icons/2017-05-28/U.png', `language` = 'english', `site_align` = 'LTR', `footer_text` = '2017Â©Copyright'
WHERE `id` = '2';
DELETE FROM `module_permission`
WHERE `fk_user_id` IS NULL;
DELETE FROM `module_permission`
WHERE `fk_user_id` IS NULL;
DELETE FROM `module_permission`
WHERE `fk_user_id` IS NULL;
UPDATE `user` SET `last_login` = '2017-05-28 10:51:02', `ip_address` = '162.158.178.40'
WHERE `id` = '2';
UPDATE `user` SET `last_login` = '2017-05-28 10:58:29', `ip_address` = '162.158.22.5'
WHERE `id` = '2';
UPDATE `user` SET `last_login` = '2017-05-29 07:40:28', `ip_address` = '162.158.22.5'
WHERE `id` = '2';
UPDATE `user` SET `last_logout` = '2017-05-29 08:49:35'
WHERE `id` = '2';
UPDATE `user` SET `last_login` = '2018-05-06 07:33:32', `ip_address` = '::1'
WHERE `id` = '2';
SET FOREIGN_KEY_CHECKS = 0;

CREATE TABLE IF NOT EXISTS `sec_role` (
  `id` int(11) NOT NULL,
  `name` varchar(50) COLLATE utf8_unicode_ci NOT NULL,
  `isactive` tinyint(1) NOT NULL,
  `createby` varchar(50) COLLATE utf8_unicode_ci NOT NULL,
  `createdate` datetime NOT NULL,
  `updateby` varchar(50) COLLATE utf8_unicode_ci NOT NULL,
  `updatedate` datetime NOT NULL,
  PRIMARY KEY (`name`),
  UNIQUE KEY `ID` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
SET FOREIGN_KEY_CHECKS = 1;
INSERT INTO `module` (`id`, `name`, `description`, `image`, `directory`, `status`) VALUES (NULL, 'Role Details ', 'Multiple role', 'application/modules/role/assets/images/thumbnail.jpg', 'role', 1);
INSERT INTO `language` (`phrase`) VALUES ('role');
INSERT INTO `language` (`phrase`) VALUES ('add_role');
INSERT INTO `language` (`phrase`) VALUES ('role_list');
INSERT INTO `language` (`phrase`) VALUES ('name');
INSERT INTO `language` (`phrase`) VALUES ('isactive');
INSERT INTO `language` (`phrase`) VALUES ('set');
UPDATE `language` SET `english` = 'About'
WHERE `phrase` = 'about';
UPDATE `language` SET `english` = 'Action'
WHERE `phrase` = 'action';
UPDATE `language` SET `english` = 'Active'
WHERE `phrase` = 'active';
UPDATE `language` SET `english` = 'Address'
WHERE `phrase` = 'address';
UPDATE `language` SET `english` = 'Add Module'
WHERE `phrase` = 'add_module';
UPDATE `language` SET `english` = 'Add Module Permission'
WHERE `phrase` = 'add_module_permission';
UPDATE `language` SET `english` = 'Add Role'
WHERE `phrase` = 'add_role';
UPDATE `language` SET `english` = 'Add User'
WHERE `phrase` = 'add_user';
UPDATE `language` SET `english` = 'Admin'
WHERE `phrase` = 'admin';
UPDATE `language` SET `english` = 'Application Setting'
WHERE `phrase` = 'application_setting';
UPDATE `language` SET `english` = 'Application Title'
WHERE `phrase` = 'application_title';
UPDATE `language` SET `english` = 'Are You Sure ? '
WHERE `phrase` = 'are_you_sure';
UPDATE `language` SET `english` = 'Available'
WHERE `phrase` = 'available';
UPDATE `language` SET `english` = 'Backup and Restore'
WHERE `phrase` = 'backup_and_restore';
UPDATE `language` SET `english` = 'Backup Date'
WHERE `phrase` = 'backup_date';
UPDATE `language` SET `english` = 'Backup Now!'
WHERE `phrase` = 'backup_now';
UPDATE `language` SET `english` = 'Backup Successfully'
WHERE `phrase` = 'backup_successfully';
UPDATE `language` SET `english` = 'Captcha Word'
WHERE `phrase` = 'captcha';
UPDATE `language` SET `english` = 'Checked By'
WHERE `phrase` = 'checked_by';
UPDATE `language` SET `english` = 'Create'
WHERE `phrase` = 'create';
UPDATE `language` SET `english` = 'Dashboard'
WHERE `phrase` = 'dashboard';
UPDATE `language` SET `english` = 'Database Backup'
WHERE `phrase` = 'database_backup';
UPDATE `language` SET `english` = 'Data Import First'
WHERE `phrase` = 'data_import_first';
UPDATE `language` SET `english` = 'Data Import Successfully!'
WHERE `phrase` = 'data_import_successfully';
UPDATE `language` SET `english` = 'Data Import To Database'
WHERE `phrase` = 'data_import_to_database';
UPDATE `language` SET `english` = 'Image'
WHERE `phrase` = 'image';
UPDATE `language` SET `english` = 'Image Upload Successfully!'
WHERE `phrase` = 'image_upload_successfully';
UPDATE `language` SET `english` = 'Inactive'
WHERE `phrase` = 'inactive';
UPDATE `language` SET `english` = 'Inbox'
WHERE `phrase` = 'inbox';
UPDATE `language` SET `english` = 'Inbox Messages'
WHERE `phrase` = 'inbox_message';
UPDATE `language` SET `english` = 'Incoming File'
WHERE `phrase` = 'incoming_file';
UPDATE `language` SET `english` = 'Incorrect Email/Password'
WHERE `phrase` = 'incorrect_email_or_password';
UPDATE `language` SET `english` = 'Install'
WHERE `phrase` = 'install';
UPDATE `language` SET `english` = 'Internet Connection'
WHERE `phrase` = 'internet_connection';
UPDATE `language` SET `english` = 'Invalid File!'
WHERE `phrase` = 'invalid_file';
UPDATE `language` SET `english` = 'Invalid Module'
WHERE `phrase` = 'invalid_module';
UPDATE `language` SET `english` = 'IP Address'
WHERE `phrase` = 'ip_address';
UPDATE `language` SET `english` = 'Is Active'
WHERE `phrase` = 'isactive';
UPDATE `language` SET `english` = 'Language'
WHERE `phrase` = 'language';
UPDATE `language` SET `english` = 'Last Name'
WHERE `phrase` = 'lastname';
UPDATE `language` SET `english` = 'Last Login'
WHERE `phrase` = 'last_login';
UPDATE `language` SET `english` = 'Last Logout'
WHERE `phrase` = 'last_logout';
UPDATE `language` SET `english` = 'Left To Right'
WHERE `phrase` = 'left_to_right';
UPDATE `language` SET `english` = 'Login'
WHERE `phrase` = 'login';
UPDATE `language` SET `english` = 'Logo'
WHERE `phrase` = 'logo';
UPDATE `language` SET `english` = 'Logout'
WHERE `phrase` = 'logout';
UPDATE `language` SET `english` = 'Message'
WHERE `phrase` = 'message';
UPDATE `language` SET `english` = 'Message Details'
WHERE `phrase` = 'message_details';
UPDATE `language` SET `english` = 'Message Sent!'
WHERE `phrase` = 'message_sent';
UPDATE `language` SET `english` = 'Module'
WHERE `phrase` = 'module';
UPDATE `language` SET `english` = 'Module Added Successfully'
WHERE `phrase` = 'module_added_successfully';
UPDATE `language` SET `english` = 'Module List'
WHERE `phrase` = 'module_list';
UPDATE `language` SET `english` = 'Module Name'
WHERE `phrase` = 'module_name';
UPDATE `language` SET `english` = 'Module Permission'
WHERE `phrase` = 'module_permission';
UPDATE `language` SET `english` = 'Module Permission Added Successfully!'
WHERE `phrase` = 'module_permission_added_successfully';
UPDATE `language` SET `english` = 'Module Permission List'
WHERE `phrase` = 'module_permission_list';
UPDATE `language` SET `english` = 'Name'
WHERE `phrase` = 'name';
UPDATE `language` SET `english` = 'New'
WHERE `phrase` = 'new';
UPDATE `language` SET `english` = 'New Enquiry'
WHERE `phrase` = 'new_enquiry';
UPDATE `language` SET `english` = 'New Message'
WHERE `phrase` = 'new_message';
UPDATE `language` SET `english` = 'Not Available'
WHERE `phrase` = 'not_available';
UPDATE `language` SET `english` = 'No tables are registerd in config.php'
WHERE `phrase` = 'no_tables_are_registered_in_config';
UPDATE `language` SET `english` = 'Ok'
WHERE `phrase` = 'ok';
UPDATE `language` SET `english` = ' Ooops something went wrong...'
WHERE `phrase` = 'ooops_something_went_wrong';
UPDATE `language` SET `english` = 'Outgoing File'
WHERE `phrase` = 'outgoing_file';
UPDATE `language` SET `english` = 'Overwrite'
WHERE `phrase` = 'overwrite';
UPDATE `language` SET `english` = 'Password'
WHERE `phrase` = 'password';
UPDATE `language` SET `english` = 'Phone'
WHERE `phrase` = 'phone';
UPDATE `language` SET `english` = 'Please configure synchronizer settings'
WHERE `phrase` = 'please_configure_synchronizer_settings';
UPDATE `language` SET `english` = 'Please Contact With Admin'
WHERE `phrase` = 'please_contact_with_admin';
UPDATE `language` SET `english` = 'Please Try Again...'
WHERE `phrase` = 'please_try_again';
UPDATE `language` SET `english` = 'Please Wait...'
WHERE `phrase` = 'please_wait';
UPDATE `language` SET `english` = 'Preview'
WHERE `phrase` = 'preview';
UPDATE `language` SET `english` = 'Profile'
WHERE `phrase` = 'profile';
UPDATE `language` SET `english` = 'Profile Setting'
WHERE `phrase` = 'profile_setting';
UPDATE `language` SET `english` = 'Project Root'
WHERE `phrase` = 'project_root';
UPDATE `language` SET `english` = 'Read'
WHERE `phrase` = 'read';
UPDATE `language` SET `english` = 'Read/Unread'
WHERE `phrase` = 'read_unread';
UPDATE `language` SET `english` = 'Receiver Name'
WHERE `phrase` = 'receiver_name';
UPDATE `language` SET `english` = 'Remove Successfully!'
WHERE `phrase` = 'remove_successfully';
UPDATE `language` SET `english` = 'Reset'
WHERE `phrase` = 'reset';
UPDATE `language` SET `english` = 'Restore Now!'
WHERE `phrase` = 'restore_now';
UPDATE `language` SET `english` = 'Restore Successfully'
WHERE `phrase` = 'restore_successfully';
UPDATE `language` SET `english` = 'Right To Left'
WHERE `phrase` = 'right_to_left';
UPDATE `language` SET `english` = 'Role'
WHERE `phrase` = 'role';
UPDATE `language` SET `english` = 'Role List'
WHERE `phrase` = 'role_list';
UPDATE `language` SET `english` = 'Save'
WHERE `phrase` = 'save';
UPDATE `language` SET `english` = 'Save Successfully!'
WHERE `phrase` = 'save_successfully';
UPDATE `language` SET `english` = 'See All Messages'
WHERE `phrase` = 'see_all_message';
UPDATE `language` SET `english` = 'Select Option'
WHERE `phrase` = 'select_option';
UPDATE `language` SET `english` = 'Send'
WHERE `phrase` = 'send';
UPDATE `language` SET `english` = 'Sender Name'
WHERE `phrase` = 'sender_name';
UPDATE `language` SET `english` = 'Sent'
WHERE `phrase` = 'sent';
UPDATE `language` SET `english` = 'Sent Message'
WHERE `phrase` = 'sent_message';
UPDATE `language` SET `english` = 'Set'
WHERE `phrase` = 'set';
UPDATE `language` SET `english` = 'Setting'
WHERE `phrase` = 'setting';
UPDATE `language` SET `english` = 'Application Alignment'
WHERE `phrase` = 'site_align';
UPDATE `language` SET `english` = 'size'
WHERE `phrase` = 'size';
UPDATE `language` SET `english` = 'SL No.'
WHERE `phrase` = 'sl_no';
UPDATE `language` SET `english` = 'Status'
WHERE `phrase` = 'status';
INSERT INTO `sec_role` (`name`, `isactive`, `createby`, `createdate`) VALUES ('Super Admin', '1', '2', '2018-05-06 07:37:52');
INSERT INTO `sec_role` (`name`, `isactive`, `createby`, `createdate`) VALUES ('Store Admin', '1', '2', '2018-05-06 07:38:05');
INSERT INTO `sec_role` (`name`, `isactive`, `createby`, `createdate`) VALUES ('Store Admin', '1', '2', '2018-05-06 07:38:24');
INSERT INTO `sec_role` (`name`, `isactive`, `createby`, `createdate`) VALUES ('Store Admin', '1', '2', '2018-05-06 07:40:11');
INSERT INTO `sec_role` (`name`, `isactive`, `createby`, `createdate`) VALUES ('Purchase User', '1', '2', '2018-05-06 07:40:27');
INSERT INTO `sec_role` (`name`, `isactive`, `createby`, `createdate`) VALUES ('Pricing User', '1', '2', '2018-05-06 07:40:39');
INSERT INTO `sec_role` (`name`, `isactive`, `createby`, `createdate`) VALUES ('Store User', '1', '2', '2018-05-06 07:40:48');
UPDATE `user` SET `last_logout` = '2018-05-06 07:40:53'
WHERE `id` = '2';
UPDATE `user` SET `last_login` = '2018-05-06 07:41:03', `ip_address` = '::1'
WHERE `id` = '3';
UPDATE `user` SET `last_logout` = '2018-05-06 07:41:13'
WHERE `id` = '3';
UPDATE `user` SET `last_login` = '2018-05-06 07:41:20', `ip_address` = '::1'
WHERE `id` = '2';
UPDATE `user` SET `last_login` = '2018-05-06 07:43:29', `ip_address` = '::1'
WHERE `id` = '2';
DELETE FROM `module_permission`
WHERE `fk_user_id` = '1';
INSERT INTO `module_permission` (`create`, `delete`, `fk_module_id`, `fk_user_id`, `read`, `update`) VALUES ('1',0,'2','1','1','1');
UPDATE `user` SET `last_logout` = '2018-05-06 07:43:57'
WHERE `id` = '2';
UPDATE `user` SET `last_login` = '2018-05-06 07:44:06', `ip_address` = '::1'
WHERE `id` = '1';
UPDATE `user` SET `last_login` = '2018-05-06 08:09:28', `ip_address` = '::1'
WHERE `id` = '2';
INSERT INTO `language` (`phrase`) VALUES ('store');
UPDATE `language` SET `english` = 'Store'
WHERE `phrase` = 'store';
UPDATE `language` SET `english` = 'Subject'
WHERE `phrase` = 'subject';
UPDATE `language` SET `english` = 'Synchronize'
WHERE `phrase` = 'synchronize';
UPDATE `language` SET `english` = 'Tables are not available in database.sql'
WHERE `phrase` = 'tables_are_not_available_in_database';
UPDATE `language` SET `english` = 'Unable to download file! please check configuration'
WHERE `phrase` = 'unable_to_download_file_please_check_configuration';
UPDATE `language` SET `english` = 'Unable to import data! please check configuration / SQL file.'
WHERE `phrase` = 'unable_to_import_data_please_check_config_or_sql_file';
UPDATE `language` SET `english` = 'Unable to upload file! please check configuration'
WHERE `phrase` = 'unable_to_upload_file_please_check_configuration';
UPDATE `language` SET `english` = 'Uninstall'
WHERE `phrase` = 'uninstall';
UPDATE `language` SET `english` = 'Update'
WHERE `phrase` = 'update';
UPDATE `language` SET `english` = 'Update Module Permission'
WHERE `phrase` = 'update_module_permission';
UPDATE `language` SET `english` = 'Update Successfully'
WHERE `phrase` = 'update_successfully';
UPDATE `language` SET `english` = 'Upload Successfully!'
WHERE `phrase` = 'upload_successfully';
UPDATE `language` SET `english` = 'User'
WHERE `phrase` = 'user';
UPDATE `language` SET `english` = 'User Name'
WHERE `phrase` = 'username';
UPDATE `language` SET `english` = 'User Added Successfully!'
WHERE `phrase` = 'user_added_successfully';
UPDATE `language` SET `english` = 'User Agent'
WHERE `phrase` = 'user_agent';
UPDATE `language` SET `english` = 'User List'
WHERE `phrase` = 'user_list';
UPDATE `language` SET `english` = 'User Permission'
WHERE `phrase` = 'user_permission';
UPDATE `language` SET `english` = 'Welcome Back!'
WHERE `phrase` = 'welcome_back';
INSERT INTO `user` (`id`, `firstname`, `lastname`, `email`, `password`, `about`, `store_id`, `user_types`, `image`, `last_login`, `last_logout`, `ip_address`, `status`, `is_admin`) VALUES ('', 'kkr', 'Kabir', 'kkr@gmail.com', '202cb962ac59075b964b07152d234b70', 'This is Store admin', '1', '2', './assets/img/user/asdf.jpg', NULL, NULL, NULL, '1', 0);
DELETE FROM `module_permission`
WHERE `fk_user_id` = '7';
INSERT INTO `module_permission` (`create`, `delete`, `fk_module_id`, `fk_user_id`, `read`, `update`) VALUES ('1',0,'2','7','1',0);
UPDATE `user` SET `last_logout` = '2018-05-06 08:15:26'
WHERE `id` = '2';
UPDATE `user` SET `last_login` = '2018-05-06 08:15:44', `ip_address` = '::1'
WHERE `id` = '7';
UPDATE `user` SET `last_logout` = '2018-05-06 08:17:46'
WHERE `id` = '7';
UPDATE `user` SET `last_login` = '2018-05-06 08:17:54', `ip_address` = '::1'
WHERE `id` = '2';
INSERT INTO `user` (`id`, `firstname`, `lastname`, `email`, `password`, `about`, `store_id`, `user_types`, `image`, `last_login`, `last_logout`, `ip_address`, `status`, `is_admin`) VALUES ('', 'Hm', 'Isahaq', 'hmisahaq@yahoo.com', '202cb962ac59075b964b07152d234b70', 'sdfasdf', '1', '1', './assets/img/user/profile_img.png', NULL, NULL, NULL, '1', 0);
UPDATE `user` SET `last_logout` = '2018-05-06 08:18:41'
WHERE `id` = '2';
UPDATE `user` SET `last_login` = '2018-05-06 08:18:57', `ip_address` = '::1'
WHERE `id` = '8';
UPDATE `user` SET `last_logout` = '2018-05-06 08:19:25'
WHERE `id` = '8';
UPDATE `user` SET `last_login` = '2018-05-06 08:19:34', `ip_address` = '::1'
WHERE `id` = '2';
UPDATE `user` SET `last_logout` = '2018-05-06 08:20:17'
WHERE `id` = '2';
UPDATE `user` SET `last_login` = '2018-05-06 08:20:33', `ip_address` = '::1'
WHERE `id` = '7';
UPDATE `user` SET `last_logout` = '2018-05-06 08:27:52'
WHERE `id` = '7';
UPDATE `user` SET `last_login` = '2018-05-06 08:28:00', `ip_address` = '::1'
WHERE `id` = '2';
DELETE FROM `module_permission`
WHERE `fk_user_id` = '2';
INSERT INTO `module_permission` (`create`, `delete`, `fk_module_id`, `fk_user_id`, `read`, `update`) VALUES ('1',0,'2','2','1',0);
UPDATE `user` SET `last_logout` = '2018-05-06 09:04:51'
WHERE `id` = '2';
UPDATE `user` SET `last_login` = '2018-05-06 09:05:09', `ip_address` = '::1'
WHERE `id` = '7';
UPDATE `user` SET `last_logout` = '2018-05-06 09:05:43'
WHERE `id` = '7';
UPDATE `user` SET `last_login` = '2018-05-06 09:06:00', `ip_address` = '::1'
WHERE `id` = '8';
INSERT INTO `user` (`id`, `firstname`, `lastname`, `email`, `password`, `about`, `store_id`, `user_types`, `image`, `last_login`, `last_logout`, `ip_address`, `status`, `is_admin`) VALUES ('', 'Test', 'user', 'test@test.com', '202cb962ac59075b964b07152d234b70', 'store user', '2', '5', './assets/img/user/sdf.jpg', NULL, NULL, NULL, '1', 0);
DELETE FROM `module_permission`
WHERE `fk_user_id` = '5';
INSERT INTO `module_permission` (`create`, `delete`, `fk_module_id`, `fk_user_id`, `read`, `update`) VALUES ('1',0,'2','5','1',0);
UPDATE `user` SET `last_logout` = '2018-05-06 09:07:53'
WHERE `id` = '8';
UPDATE `user` SET `last_login` = '2018-05-06 09:08:22', `ip_address` = '::1'
WHERE `id` = '9';
UPDATE `user` SET `last_logout` = '2018-05-06 09:42:50'
WHERE `id` = '9';
UPDATE `user` SET `last_login` = '2018-05-06 09:42:59', `ip_address` = '::1'
WHERE `id` = '2';
DELETE FROM `module_permission`
WHERE `fk_user_id` = '7';
DELETE FROM `module_permission`
WHERE `fk_user_id` = '1';
INSERT INTO `module_permission` (`create`, `delete`, `fk_module_id`, `fk_user_id`, `read`, `update`) VALUES ('1','1','2','1','1','1');
DELETE FROM `module_permission`
WHERE `fk_user_id` = '2';
INSERT INTO `module_permission` (`create`, `delete`, `fk_module_id`, `fk_user_id`, `read`, `update`) VALUES ('1','1','2','2','1','1');
UPDATE `user` SET `last_logout` = '2018-05-06 09:53:25'
WHERE `id` = '2';
UPDATE `user` SET `last_login` = '2018-05-06 09:53:38', `ip_address` = '::1'
WHERE `id` = '7';
UPDATE `user` SET `last_logout` = '2018-05-06 09:54:18'
WHERE `id` = '7';
UPDATE `user` SET `last_login` = '2018-05-06 09:54:28', `ip_address` = '::1'
WHERE `id` = '2';
DELETE FROM `module_permission`
WHERE `fk_user_id` = '2';
DELETE FROM `module_permission`
WHERE `fk_user_id` = '2';
INSERT INTO `module_permission` (`create`, `delete`, `fk_module_id`, `fk_user_id`, `read`, `update`) VALUES ('1','1','2','2','1','1');
UPDATE `user` SET `last_logout` = '2018-05-06 09:55:36'
WHERE `id` = '2';
UPDATE `user` SET `last_login` = '2018-05-06 09:55:49', `ip_address` = '::1'
WHERE `id` = '7';
UPDATE `user` SET `last_logout` = '2018-05-06 10:02:46'
WHERE `id` = '7';
UPDATE `user` SET `last_login` = '2018-05-06 10:03:01', `ip_address` = '::1'
WHERE `id` = '7';
UPDATE `user` SET `last_logout` = '2018-05-06 10:03:21'
WHERE `id` = '7';
UPDATE `user` SET `last_login` = '2018-05-06 10:03:29', `ip_address` = '::1'
WHERE `id` = '2';
UPDATE `user` SET `last_logout` = '2018-05-06 10:05:12'
WHERE `id` = '2';
UPDATE `user` SET `last_login` = '2018-05-06 10:05:25', `ip_address` = '::1'
WHERE `id` = '7';
UPDATE `user` SET `last_logout` = '2018-05-06 10:05:38'
WHERE `id` = '7';
UPDATE `user` SET `last_login` = '2018-05-06 10:05:50', `ip_address` = '::1'
WHERE `id` = '2';
DELETE FROM `module_permission`
WHERE `fk_user_id` = '2';
INSERT INTO `module_permission` (`create`, `delete`, `fk_module_id`, `fk_user_id`, `read`, `update`) VALUES ('1',0,'2','2','1','1');
UPDATE `user` SET `last_logout` = '2018-05-06 10:06:05'
WHERE `id` = '2';
UPDATE `user` SET `last_login` = '2018-05-06 10:06:24', `ip_address` = '::1'
WHERE `id` = '7';
UPDATE `user` SET `last_logout` = '2018-05-06 10:24:31'
WHERE `id` = '7';
UPDATE `user` SET `last_login` = '2018-05-06 10:24:38', `ip_address` = '::1'
WHERE `id` = '2';
INSERT INTO `language` (`phrase`) VALUES ('add_store');
INSERT INTO `language` (`phrase`) VALUES ('list_store');
UPDATE `language` SET `english` = 'About'
WHERE `phrase` = 'about';
UPDATE `language` SET `english` = 'Action'
WHERE `phrase` = 'action';
UPDATE `language` SET `english` = 'Active'
WHERE `phrase` = 'active';
UPDATE `language` SET `english` = 'Address'
WHERE `phrase` = 'address';
UPDATE `language` SET `english` = 'Add Module'
WHERE `phrase` = 'add_module';
UPDATE `language` SET `english` = 'Add Module Permission'
WHERE `phrase` = 'add_module_permission';
UPDATE `language` SET `english` = 'Add Role'
WHERE `phrase` = 'add_role';
UPDATE `language` SET `english` = 'Add Store'
WHERE `phrase` = 'add_store';
UPDATE `language` SET `english` = 'Add User'
WHERE `phrase` = 'add_user';
UPDATE `language` SET `english` = 'Admin'
WHERE `phrase` = 'admin';
UPDATE `language` SET `english` = 'Application Setting'
WHERE `phrase` = 'application_setting';
UPDATE `language` SET `english` = 'Application Title'
WHERE `phrase` = 'application_title';
UPDATE `language` SET `english` = 'Are You Sure ? '
WHERE `phrase` = 'are_you_sure';
UPDATE `language` SET `english` = 'Available'
WHERE `phrase` = 'available';
UPDATE `language` SET `english` = 'Backup and Restore'
WHERE `phrase` = 'backup_and_restore';
UPDATE `language` SET `english` = 'Backup Date'
WHERE `phrase` = 'backup_date';
UPDATE `language` SET `english` = 'Backup Now!'
WHERE `phrase` = 'backup_now';
UPDATE `language` SET `english` = 'Backup Successfully'
WHERE `phrase` = 'backup_successfully';
UPDATE `language` SET `english` = 'Captcha Word'
WHERE `phrase` = 'captcha';
UPDATE `language` SET `english` = 'Checked By'
WHERE `phrase` = 'checked_by';
UPDATE `language` SET `english` = 'Create'
WHERE `phrase` = 'create';
UPDATE `language` SET `english` = 'Dashboard'
WHERE `phrase` = 'dashboard';
UPDATE `language` SET `english` = 'Database Backup'
WHERE `phrase` = 'database_backup';
UPDATE `language` SET `english` = 'Data Import First'
WHERE `phrase` = 'data_import_first';
UPDATE `language` SET `english` = 'Data Import Successfully!'
WHERE `phrase` = 'data_import_successfully';
UPDATE `language` SET `english` = 'Host Name'
WHERE `phrase` = 'hostname';
UPDATE `language` SET `english` = 'Image'
WHERE `phrase` = 'image';
UPDATE `language` SET `english` = 'Image Upload Successfully!'
WHERE `phrase` = 'image_upload_successfully';
UPDATE `language` SET `english` = 'Inactive'
WHERE `phrase` = 'inactive';
UPDATE `language` SET `english` = 'Inbox'
WHERE `phrase` = 'inbox';
UPDATE `language` SET `english` = 'Inbox Messages'
WHERE `phrase` = 'inbox_message';
UPDATE `language` SET `english` = 'Incoming File'
WHERE `phrase` = 'incoming_file';
UPDATE `language` SET `english` = 'Incorrect Email/Password'
WHERE `phrase` = 'incorrect_email_or_password';
UPDATE `language` SET `english` = 'Install'
WHERE `phrase` = 'install';
UPDATE `language` SET `english` = 'Internet Connection'
WHERE `phrase` = 'internet_connection';
UPDATE `language` SET `english` = 'Invalid File!'
WHERE `phrase` = 'invalid_file';
UPDATE `language` SET `english` = 'Invalid Module'
WHERE `phrase` = 'invalid_module';
UPDATE `language` SET `english` = 'IP Address'
WHERE `phrase` = 'ip_address';
UPDATE `language` SET `english` = 'Is Active'
WHERE `phrase` = 'isactive';
UPDATE `language` SET `english` = 'Language'
WHERE `phrase` = 'language';
UPDATE `language` SET `english` = 'Last Name'
WHERE `phrase` = 'lastname';
UPDATE `language` SET `english` = 'Last Login'
WHERE `phrase` = 'last_login';
UPDATE `language` SET `english` = 'Last Logout'
WHERE `phrase` = 'last_logout';
UPDATE `language` SET `english` = 'Left To Right'
WHERE `phrase` = 'left_to_right';
UPDATE `language` SET `english` = 'Store List'
WHERE `phrase` = 'list_store';
UPDATE `language` SET `english` = 'Login'
WHERE `phrase` = 'login';
UPDATE `language` SET `english` = 'Logo'
WHERE `phrase` = 'logo';
UPDATE `language` SET `english` = 'Logout'
WHERE `phrase` = 'logout';
UPDATE `language` SET `english` = 'Message'
WHERE `phrase` = 'message';
UPDATE `language` SET `english` = 'Message Details'
WHERE `phrase` = 'message_details';
SET FOREIGN_KEY_CHECKS = 0;

CREATE TABLE IF NOT EXISTS `store` (
  `store_id` int(11) NOT NULL AUTO_INCREMENT,
  `store_name` varchar(50) COLLATE utf8_unicode_ci NOT NULL,
  `store_code` varchar(3) COLLATE utf8_unicode_ci NOT NULL,
  `store_phone` varchar(50) COLLATE utf8_unicode_ci NOT NULL,
  `store_address` varchar(200) COLLATE utf8_unicode_ci NOT NULL,
  `createby` varchar(20) COLLATE utf8_unicode_ci NOT NULL,
  `createdate` datetime NOT NULL,
  `updateby` varchar(20) COLLATE utf8_unicode_ci NOT NULL,
  `updatedate` datetime NOT NULL,
  `isactive` tinyint(1) NOT NULL,
  PRIMARY KEY (`store_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
SET FOREIGN_KEY_CHECKS = 1;
INSERT INTO `module` (`id`, `name`, `description`, `image`, `directory`, `status`) VALUES (NULL, 'Store Management', 'Store Management System', 'application/modules/store/assets/images/thumbnail.jpg', 'store', 1);
INSERT INTO `language` (`phrase`) VALUES ('store_name');
INSERT INTO `language` (`phrase`) VALUES ('store_code');
UPDATE `language` SET `english` = 'SL No.'
WHERE `phrase` = 'sl_no';
UPDATE `language` SET `english` = 'Status'
WHERE `phrase` = 'status';
UPDATE `language` SET `english` = 'Store'
WHERE `phrase` = 'store';
UPDATE `language` SET `english` = 'Store Name'
WHERE `phrase` = 'store_code';
UPDATE `language` SET `english` = 'Store Code'
WHERE `phrase` = 'store_name';
UPDATE `language` SET `english` = 'Subject'
WHERE `phrase` = 'subject';
UPDATE `language` SET `english` = 'Synchronize'
WHERE `phrase` = 'synchronize';
UPDATE `language` SET `english` = 'Tables are not available in database.sql'
WHERE `phrase` = 'tables_are_not_available_in_database';
UPDATE `language` SET `english` = 'Unable to download file! please check configuration'
WHERE `phrase` = 'unable_to_download_file_please_check_configuration';
UPDATE `language` SET `english` = 'Unable to import data! please check configuration / SQL file.'
WHERE `phrase` = 'unable_to_import_data_please_check_config_or_sql_file';
UPDATE `language` SET `english` = 'Unable to upload file! please check configuration'
WHERE `phrase` = 'unable_to_upload_file_please_check_configuration';
UPDATE `language` SET `english` = 'Uninstall'
WHERE `phrase` = 'uninstall';
UPDATE `language` SET `english` = 'Update'
WHERE `phrase` = 'update';
UPDATE `language` SET `english` = 'Update Module Permission'
WHERE `phrase` = 'update_module_permission';
UPDATE `language` SET `english` = 'Update Successfully'
WHERE `phrase` = 'update_successfully';
UPDATE `language` SET `english` = 'Upload Successfully!'
WHERE `phrase` = 'upload_successfully';
UPDATE `language` SET `english` = 'User'
WHERE `phrase` = 'user';
UPDATE `language` SET `english` = 'User Name'
WHERE `phrase` = 'username';
UPDATE `language` SET `english` = 'User Added Successfully!'
WHERE `phrase` = 'user_added_successfully';
UPDATE `language` SET `english` = 'User Agent'
WHERE `phrase` = 'user_agent';
UPDATE `language` SET `english` = 'User List'
WHERE `phrase` = 'user_list';
UPDATE `language` SET `english` = 'User Permission'
WHERE `phrase` = 'user_permission';
UPDATE `language` SET `english` = 'Welcome Back!'
WHERE `phrase` = 'welcome_back';
INSERT INTO `language` (`phrase`) VALUES ('store_address');
UPDATE `language` SET `english` = 'SL No.'
WHERE `phrase` = 'sl_no';
UPDATE `language` SET `english` = 'Status'
WHERE `phrase` = 'status';
UPDATE `language` SET `english` = 'Store'
WHERE `phrase` = 'store';
UPDATE `language` SET `english` = 'Store Address'
WHERE `phrase` = 'store_address';
UPDATE `language` SET `english` = 'Store Name'
WHERE `phrase` = 'store_code';
UPDATE `language` SET `english` = 'Store Code'
WHERE `phrase` = 'store_name';
UPDATE `language` SET `english` = 'Subject'
WHERE `phrase` = 'subject';
UPDATE `language` SET `english` = 'Synchronize'
WHERE `phrase` = 'synchronize';
UPDATE `language` SET `english` = 'Tables are not available in database.sql'
WHERE `phrase` = 'tables_are_not_available_in_database';
UPDATE `language` SET `english` = 'Unable to download file! please check configuration'
WHERE `phrase` = 'unable_to_download_file_please_check_configuration';
UPDATE `language` SET `english` = 'Unable to import data! please check configuration / SQL file.'
WHERE `phrase` = 'unable_to_import_data_please_check_config_or_sql_file';
UPDATE `language` SET `english` = 'Unable to upload file! please check configuration'
WHERE `phrase` = 'unable_to_upload_file_please_check_configuration';
UPDATE `language` SET `english` = 'Uninstall'
WHERE `phrase` = 'uninstall';
UPDATE `language` SET `english` = 'Update'
WHERE `phrase` = 'update';
UPDATE `language` SET `english` = 'Update Module Permission'
WHERE `phrase` = 'update_module_permission';
UPDATE `language` SET `english` = 'Update Successfully'
WHERE `phrase` = 'update_successfully';
UPDATE `language` SET `english` = 'Upload Successfully!'
WHERE `phrase` = 'upload_successfully';
UPDATE `language` SET `english` = 'User'
WHERE `phrase` = 'user';
UPDATE `language` SET `english` = 'User Name'
WHERE `phrase` = 'username';
UPDATE `language` SET `english` = 'User Added Successfully!'
WHERE `phrase` = 'user_added_successfully';
UPDATE `language` SET `english` = 'User Agent'
WHERE `phrase` = 'user_agent';
UPDATE `language` SET `english` = 'User List'
WHERE `phrase` = 'user_list';
UPDATE `language` SET `english` = 'User Permission'
WHERE `phrase` = 'user_permission';
UPDATE `language` SET `english` = 'Welcome Back!'
WHERE `phrase` = 'welcome_back';
INSERT INTO `store` (`store_name`, `store_code`, `phone`, `store_address`, `createby`, `createdate`, `isactive`) VALUES (NULL, 'Bdtask', '02154', '98,Green Road', '2', '2018-05-06 11:07:44', 1);
INSERT INTO `store` (`store_name`, `store_code`, `store_phone`, `store_address`, `createby`, `createdate`, `isactive`) VALUES (NULL, 'sdfa', '34223', 'sdfasdf', '2', '2018-05-06 11:10:28', 1);
INSERT INTO `store` (`store_name`, `store_code`, `store_phone`, `store_address`, `createby`, `createdate`, `isactive`) VALUES (NULL, 'fasd', '2124962901', '2263 Broadway', '2', '2018-05-06 11:11:58', 1);
INSERT INTO `store` (`store_name`, `store_code`, `store_phone`, `store_address`, `createby`, `createdate`, `isactive`) VALUES (NULL, 'dfg', NULL, 'dfgdfg', '2', '2018-05-06 11:13:53', 1);
INSERT INTO `store` (`store_name`, `store_code`, `store_phone`, `store_address`, `createby`, `createdate`, `isactive`) VALUES ('423', 'sdfasdf', '23423', 'sdfasdf', '2', '2018-05-06 11:14:43', 1);
INSERT INTO `language` (`phrase`) VALUES ('store_phone');
UPDATE `language` SET `english` = 'SL No.'
WHERE `phrase` = 'sl_no';
UPDATE `language` SET `english` = 'Status'
WHERE `phrase` = 'status';
UPDATE `language` SET `english` = 'Store'
WHERE `phrase` = 'store';
UPDATE `language` SET `english` = 'Store Address'
WHERE `phrase` = 'store_address';
UPDATE `language` SET `english` = 'Store Name'
WHERE `phrase` = 'store_code';
UPDATE `language` SET `english` = 'Store Code'
WHERE `phrase` = 'store_name';
UPDATE `language` SET `english` = 'Store Phone'
WHERE `phrase` = 'store_phone';
UPDATE `language` SET `english` = 'Subject'
WHERE `phrase` = 'subject';
UPDATE `language` SET `english` = 'Synchronize'
WHERE `phrase` = 'synchronize';
UPDATE `language` SET `english` = 'Tables are not available in database.sql'
WHERE `phrase` = 'tables_are_not_available_in_database';
UPDATE `language` SET `english` = 'Unable to download file! please check configuration'
WHERE `phrase` = 'unable_to_download_file_please_check_configuration';
UPDATE `language` SET `english` = 'Unable to import data! please check configuration / SQL file.'
WHERE `phrase` = 'unable_to_import_data_please_check_config_or_sql_file';
UPDATE `language` SET `english` = 'Unable to upload file! please check configuration'
WHERE `phrase` = 'unable_to_upload_file_please_check_configuration';
UPDATE `language` SET `english` = 'Uninstall'
WHERE `phrase` = 'uninstall';
UPDATE `language` SET `english` = 'Update'
WHERE `phrase` = 'update';
UPDATE `language` SET `english` = 'Update Module Permission'
WHERE `phrase` = 'update_module_permission';
UPDATE `language` SET `english` = 'Update Successfully'
WHERE `phrase` = 'update_successfully';
UPDATE `language` SET `english` = 'Upload Successfully!'
WHERE `phrase` = 'upload_successfully';
UPDATE `language` SET `english` = 'User'
WHERE `phrase` = 'user';
UPDATE `language` SET `english` = 'User Name'
WHERE `phrase` = 'username';
UPDATE `language` SET `english` = 'User Added Successfully!'
WHERE `phrase` = 'user_added_successfully';
UPDATE `language` SET `english` = 'User Agent'
WHERE `phrase` = 'user_agent';
UPDATE `language` SET `english` = 'User List'
WHERE `phrase` = 'user_list';
UPDATE `language` SET `english` = 'User Permission'
WHERE `phrase` = 'user_permission';
UPDATE `language` SET `english` = 'Welcome Back!'
WHERE `phrase` = 'welcome_back';
DELETE FROM `store`
WHERE `store_id` = '1';
INSERT INTO `store` (`store_name`, `store_code`, `store_phone`, `store_address`, `createby`, `createdate`, `isactive`) VALUES ('bdt-01', 'Bdtask', '032464', '98,Green Road', '2', '2018-05-06 11:22:26', 1);
UPDATE `user` SET `last_logout` = '2018-05-06 11:36:56'
WHERE `id` = '2';
UPDATE `user` SET `last_login` = '2018-05-06 11:37:10', `ip_address` = '::1'
WHERE `id` = '7';
UPDATE `user` SET `last_logout` = '2018-05-06 11:37:16'
WHERE `id` = '7';
UPDATE `user` SET `last_login` = '2018-05-06 11:37:31', `ip_address` = '::1'
WHERE `id` = '8';
UPDATE `user` SET `last_logout` = '2018-05-06 11:37:47'
WHERE `id` = '8';
UPDATE `user` SET `last_login` = '2018-05-06 11:37:54', `ip_address` = '::1'
WHERE `id` = '2';
INSERT INTO `user` (`id`, `firstname`, `lastname`, `email`, `password`, `about`, `store_id`, `user_types`, `image`, `last_login`, `last_logout`, `ip_address`, `status`, `is_admin`) VALUES ('', 'alamin', 'khan', 'alamin@gmail.com', '202cb962ac59075b964b07152d234b70', 'Pricinge User', '2', '4', './assets/img/user/sdf1.jpg', NULL, NULL, NULL, '1', 0);
INSERT INTO `language` (`phrase`) VALUES ('user_role');
INSERT INTO `language` (`phrase`) VALUES ('add_user_role');
INSERT INTO `language` (`phrase`) VALUES ('user_role_list');
UPDATE `language` SET `english` = 'User Role'
WHERE `phrase` = 'user_role';
UPDATE `language` SET `english` = 'User Role List'
WHERE `phrase` = 'user_role_list';
UPDATE `language` SET `english` = 'Welcome Back!'
WHERE `phrase` = 'welcome_back';
UPDATE `language` SET `english` = 'About'
WHERE `phrase` = 'about';
UPDATE `language` SET `english` = 'Action'
WHERE `phrase` = 'action';
UPDATE `language` SET `english` = 'Active'
WHERE `phrase` = 'active';
UPDATE `language` SET `english` = 'Address'
WHERE `phrase` = 'address';
UPDATE `language` SET `english` = 'Add Module'
WHERE `phrase` = 'add_module';
UPDATE `language` SET `english` = 'Add Module Permission'
WHERE `phrase` = 'add_module_permission';
UPDATE `language` SET `english` = 'Add Role'
WHERE `phrase` = 'add_role';
UPDATE `language` SET `english` = 'Add Store'
WHERE `phrase` = 'add_store';
UPDATE `language` SET `english` = 'Add User'
WHERE `phrase` = 'add_user';
UPDATE `language` SET `english` = 'Add User Role'
WHERE `phrase` = 'add_user_role';
UPDATE `language` SET `english` = 'Admin'
WHERE `phrase` = 'admin';
UPDATE `language` SET `english` = 'Application Setting'
WHERE `phrase` = 'application_setting';
UPDATE `language` SET `english` = 'Application Title'
WHERE `phrase` = 'application_title';
UPDATE `language` SET `english` = 'Are You Sure ? '
WHERE `phrase` = 'are_you_sure';
UPDATE `language` SET `english` = 'Available'
WHERE `phrase` = 'available';
UPDATE `language` SET `english` = 'Backup and Restore'
WHERE `phrase` = 'backup_and_restore';
UPDATE `language` SET `english` = 'Backup Date'
WHERE `phrase` = 'backup_date';
UPDATE `language` SET `english` = 'Backup Now!'
WHERE `phrase` = 'backup_now';
UPDATE `language` SET `english` = 'Backup Successfully'
WHERE `phrase` = 'backup_successfully';
UPDATE `language` SET `english` = 'Captcha Word'
WHERE `phrase` = 'captcha';
UPDATE `language` SET `english` = 'Checked By'
WHERE `phrase` = 'checked_by';
UPDATE `language` SET `english` = 'Create'
WHERE `phrase` = 'create';
UPDATE `language` SET `english` = 'Dashboard'
WHERE `phrase` = 'dashboard';
UPDATE `language` SET `english` = 'Database Backup'
WHERE `phrase` = 'database_backup';
UPDATE `language` SET `english` = 'Data Import First'
WHERE `phrase` = 'data_import_first';
UPDATE `user` SET `last_logout` = '2018-05-06 14:15:06'
WHERE `id` = '2';
UPDATE `user` SET `last_login` = '2018-05-06 14:15:14', `ip_address` = '::1'
WHERE `id` = '2';
SET FOREIGN_KEY_CHECKS = 0;
CREATE TABLE IF NOT EXISTS `sec_userrole` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `user_id` varchar(50) COLLATE utf8_unicode_ci NOT NULL,
  `roleid` int(11) NOT NULL,
  `createby` varchar(50) COLLATE utf8_unicode_ci NOT NULL,
  `createdate` datetime NOT NULL,
  UNIQUE KEY `ID` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
SET FOREIGN_KEY_CHECKS = 1;
INSERT INTO `module` (`id`, `name`, `description`, `image`, `directory`, `status`) VALUES (NULL, 'User Role Details ', 'User role', 'application/modules/user_role/assets/images/thumbnail.jpg', 'user_role', 1);
INSERT INTO `sec_userrole` (`user_id`, `roleid`, `createby`, `createdate`) VALUES ('9', '4', '2', '2018-05-06 03:01:25');
INSERT INTO `sec_userrole` (`user_id`, `roleid`, `createby`, `createdate`) VALUES ('10', '2', '2', '2018-05-06 03:14:42');
DELETE FROM `module_permission`
WHERE `fk_user_id` = '2';
INSERT INTO `module_permission` (`create`, `delete`, `fk_module_id`, `fk_user_id`, `read`, `update`) VALUES (0,0,'2','2',0,0), ('1',0,'3','2','1',0), ('1','1','4','2','1',0);
UPDATE `user` SET `last_login` = '2018-05-07 06:00:56', `ip_address` = '::1'
WHERE `id` = '2';
UPDATE `user` SET `last_logout` = '2018-05-07 06:03:40'
WHERE `id` = '2';
UPDATE `user` SET `last_login` = '2018-05-07 06:13:45', `ip_address` = '::1'
WHERE `id` = '7';
UPDATE `user` SET `last_logout` = '2018-05-07 06:14:28'
WHERE `id` = '7';
UPDATE `user` SET `last_login` = '2018-05-07 06:21:14', `ip_address` = '::1'
WHERE `id` = '2';
INSERT INTO `sec_userrole` (`user_id`, `roleid`, `createby`, `createdate`) VALUES ('9', '2', '2', '2018-05-07 06:22:55');
UPDATE `user` SET `last_logout` = '2018-05-07 06:24:01'
WHERE `id` = '2';
UPDATE `user` SET `last_login` = '2018-05-07 06:28:52', `ip_address` = '::1'
WHERE `id` = '9';
UPDATE `user` SET `last_logout` = '2018-05-07 06:29:53'
WHERE `id` = '9';
UPDATE `user` SET `last_login` = '2018-05-07 06:32:42', `ip_address` = '::1'
WHERE `id` = '2';
UPDATE `user` SET `last_logout` = '2018-05-07 06:43:46'
WHERE `id` = '2';
UPDATE `user` SET `last_login` = '2018-05-07 06:47:31', `ip_address` = '::1'
WHERE `id` = '9';
UPDATE `user` SET `last_logout` = '2018-05-07 06:48:03'
WHERE `id` = '9';
UPDATE `user` SET `last_login` = '2018-05-07 06:48:19', `ip_address` = '::1'
WHERE `id` = '2';
DELETE FROM `module_permission`
WHERE `fk_user_id` = '4';
INSERT INTO `module_permission` (`create`, `delete`, `fk_module_id`, `fk_user_id`, `read`, `update`) VALUES (0,0,'2','4',0,0), ('1','1','3','4','1','1'), (0,0,'4','4',0,0);
UPDATE `user` SET `last_logout` = '2018-05-07 06:52:07'
WHERE `id` = '2';
UPDATE `user` SET `last_login` = '2018-05-07 06:52:21', `ip_address` = '::1'
WHERE `id` = '9';
UPDATE `user` SET `last_logout` = '2018-05-07 06:53:54'
WHERE `id` = '9';
UPDATE `user` SET `last_login` = '2018-05-07 06:54:00', `ip_address` = '::1'
WHERE `id` = '2';
UPDATE `user` SET `last_logout` = '2018-05-07 06:56:43'
WHERE `id` = '2';
UPDATE `user` SET `last_login` = '2018-05-07 06:56:58', `ip_address` = '::1'
WHERE `id` = '9';
UPDATE `user` SET `last_logout` = '2018-05-07 06:57:40'
WHERE `id` = '9';
UPDATE `user` SET `last_login` = '2018-05-07 06:57:47', `ip_address` = '::1'
WHERE `id` = '2';
UPDATE `user` SET `last_login` = '2018-05-07 06:58:32', `ip_address` = '::1'
WHERE `id` = '9';
DELETE FROM `sec_role`
WHERE `id` = '4';
UPDATE `user` SET `last_logout` = '2018-05-07 07:00:33'
WHERE `id` = '9';
UPDATE `user` SET `last_login` = '2018-05-07 07:00:50', `ip_address` = '::1'
WHERE `id` = '9';
DELETE FROM `module_permission`
WHERE `fk_user_id` = '4';
DELETE FROM `module_permission`
WHERE `fk_user_id` = '2';
INSERT INTO `module_permission` (`create`, `delete`, `fk_module_id`, `fk_user_id`, `read`, `update`) VALUES (0,'1','2','2',0,0), ('1','1','3','2','1',0), ('1','1','4','2','1',0);
UPDATE `user` SET `last_logout` = '2018-05-07 07:02:37'
WHERE `id` = '9';
UPDATE `user` SET `last_login` = '2018-05-07 07:02:55', `ip_address` = '::1'
WHERE `id` = '9';
DELETE FROM `module_permission`
WHERE `fk_user_id` = '2';
INSERT INTO `module_permission` (`create`, `delete`, `fk_module_id`, `fk_user_id`, `read`, `update`) VALUES ('1','1','2','2','1','1'), ('1','1','3','2','1','1'), ('1','1','4','2','1','1');
UPDATE `user` SET `last_logout` = '2018-05-07 07:03:50'
WHERE `id` = '9';
UPDATE `user` SET `last_login` = '2018-05-07 07:04:05', `ip_address` = '::1'
WHERE `id` = '9';
UPDATE `user` SET `last_logout` = '2018-05-07 07:06:37'
WHERE `id` = '9';
UPDATE `user` SET `last_login` = '2018-05-07 07:13:15', `ip_address` = '::1'
WHERE `id` = '9';
DELETE FROM `module_permission`
WHERE `fk_user_id` = '4';
INSERT INTO `module_permission` (`create`, `delete`, `fk_module_id`, `fk_user_id`, `read`, `update`) VALUES ('1','1','2','4','1','1'), (0,0,'3','4',0,0), (0,0,'4','4',0,0);
DELETE FROM `module_permission`
WHERE `fk_user_id` = '2';
INSERT INTO `module_permission` (`create`, `delete`, `fk_module_id`, `fk_user_id`, `read`, `update`) VALUES (0,0,'2','2',0,0), ('1','1','3','2','1','1'), ('1','1','4','2','1','1');
UPDATE `user` SET `last_logout` = '2018-05-07 07:15:06'
WHERE `id` = '9';
UPDATE `user` SET `last_login` = '2018-05-07 07:15:23', `ip_address` = '::1'
WHERE `id` = '9';
DELETE FROM `module_permission`
WHERE `fk_user_id` = '2';
INSERT INTO `module_permission` (`create`, `delete`, `fk_module_id`, `fk_user_id`, `read`, `update`) VALUES (0,'1','2','2','1',0), ('1','1','3','2','1','1'), ('1','1','4','2','1','1');
UPDATE `user` SET `last_logout` = '2018-05-07 07:16:26'
WHERE `id` = '9';
UPDATE `user` SET `last_login` = '2018-05-07 07:16:53', `ip_address` = '::1'
WHERE `id` = '9';
UPDATE `user` SET `last_logout` = '2018-05-07 07:53:07'
WHERE `id` = '9';
DELETE FROM `module_permission`
WHERE `fk_user_id` = '2';
INSERT INTO `module_permission` (`create`, `delete`, `fk_module_id`, `fk_user_id`, `read`, `update`) VALUES (0,'1','2','2',0,0), ('1','1','3','2','1','1'), ('1','1','4','2','1','1');
UPDATE `user` SET `last_login` = '2018-05-07 07:53:42', `ip_address` = '::1'
WHERE `id` = '9';
UPDATE `user` SET `last_logout` = '2018-05-07 08:00:57'
WHERE `id` = '9';
UPDATE `user` SET `last_login` = '2018-05-07 08:02:22', `ip_address` = '::1'
WHERE `id` = '9';
UPDATE `user` SET `last_logout` = '2018-05-07 08:04:18'
WHERE `id` = '9';
UPDATE `user` SET `last_login` = '2018-05-07 08:12:07', `ip_address` = '::1'
WHERE `id` = '9';
UPDATE `user` SET `last_logout` = '2018-05-07 08:12:37'
WHERE `id` = '9';
UPDATE `user` SET `last_login` = '2018-05-07 08:12:48', `ip_address` = '::1'
WHERE `id` = '9';
UPDATE `user` SET `last_logout` = '2018-05-07 08:14:19'
WHERE `id` = '9';
UPDATE `user` SET `last_login` = '2018-05-07 08:57:16', `ip_address` = '::1'
WHERE `id` = '9';
UPDATE `user` SET `last_logout` = '2018-05-07 08:59:00'
WHERE `id` = '9';
DELETE FROM `module_permission`
WHERE `fk_user_id` = '2';
INSERT INTO `module_permission` (`create`, `delete`, `fk_module_id`, `fk_user_id`, `read`, `update`) VALUES (0,'1','2','2','1',0), (0,0,'3','2',0,0), ('1','1','4','2','1','1');
DELETE FROM `module_permission`
WHERE `fk_user_id` = '4';
INSERT INTO `module_permission` (`create`, `delete`, `fk_module_id`, `fk_user_id`, `read`, `update`) VALUES (0,0,'2','4',0,0), (0,'1','3','4','1',0), (0,0,'4','4',0,0);
UPDATE `user` SET `last_login` = '2018-05-07 09:05:16', `ip_address` = '::1'
WHERE `id` = '9';
DELETE FROM `module_permission`
WHERE `fk_user_id` = '4';
INSERT INTO `module_permission` (`create`, `delete`, `fk_module_id`, `fk_user_id`, `read`, `update`) VALUES (0,0,'2','4',0,0), ('1','1','3','4','1',0), (0,0,'4','4',0,0);
DELETE FROM `module_permission`
WHERE `fk_user_id` = '4';
INSERT INTO `module_permission` (`create`, `delete`, `fk_module_id`, `fk_user_id`, `read`, `update`) VALUES (0,0,'2','4',0,0), ('1','1','3','4','1','1'), (0,0,'4','4',0,0);
UPDATE `user` SET `last_logout` = '2018-05-07 09:05:54'
WHERE `id` = '9';
UPDATE `user` SET `last_login` = '2018-05-07 09:06:11', `ip_address` = '::1'
WHERE `id` = '9';
DELETE FROM `module_permission`
WHERE `fk_user_id` = '2';
INSERT INTO `module_permission` (`create`, `delete`, `fk_module_id`, `fk_user_id`, `read`, `update`) VALUES (0,'1','2','2','1',0), (0,'1','3','2',0,0), ('1','1','4','2','1','1');
UPDATE `user` SET `last_logout` = '2018-05-07 09:07:05'
WHERE `id` = '9';
UPDATE `user` SET `last_login` = '2018-05-07 09:07:15', `ip_address` = '::1'
WHERE `id` = '9';
DELETE FROM `module_permission`
WHERE `fk_user_id` = '2';
INSERT INTO `module_permission` (`create`, `delete`, `fk_module_id`, `fk_user_id`, `read`, `update`) VALUES (0,'1','2','2','1',0), (0,0,'3','2',0,0), ('1','1','4','2','1','1');
UPDATE `user` SET `last_logout` = '2018-05-07 09:07:38'
WHERE `id` = '9';
UPDATE `user` SET `last_login` = '2018-05-07 09:07:49', `ip_address` = '::1'
WHERE `id` = '9';
DELETE FROM `module_permission`
WHERE `fk_user_id` = '4';
INSERT INTO `module_permission` (`create`, `delete`, `fk_module_id`, `fk_user_id`, `read`, `update`) VALUES ('1',0,'2','4','1',0), ('1','1','3','4','1','1'), (0,0,'4','4',0,0);
UPDATE `user` SET `last_logout` = '2018-05-07 10:07:19'
WHERE `id` = '9';
UPDATE `user` SET `last_login` = '2018-05-07 10:07:29', `ip_address` = '::1'
WHERE `id` = '9';
UPDATE `user` SET `last_login` = '2018-05-08 05:56:28', `ip_address` = '::1'
WHERE `id` = '2';
UPDATE `user` SET `last_logout` = '2018-05-08 06:09:46'
WHERE `id` = '2';
UPDATE `user` SET `last_login` = '2018-05-08 06:12:11', `ip_address` = '::1'
WHERE `id` = '9';
UPDATE `user` SET `last_logout` = '2018-05-08 06:16:52'
WHERE `id` = '9';
UPDATE `user` SET `last_login` = '2018-05-08 06:21:39', `ip_address` = '::1'
WHERE `id` = '2';
UPDATE `user` SET `last_login` = '2018-05-08 07:59:02', `ip_address` = '::1'
WHERE `id` = '9';
UPDATE `user` SET `last_logout` = '2018-05-08 08:00:20'
WHERE `id` = '9';
UPDATE `user` SET `last_login` = '2018-05-08 08:15:31', `ip_address` = '::1'
WHERE `id` = '9';
UPDATE `user` SET `last_logout` = '2018-05-08 08:21:56'
WHERE `id` = '9';
UPDATE `user` SET `last_login` = '2018-05-08 08:22:12', `ip_address` = '::1'
WHERE `id` = '9';
UPDATE `user` SET `last_logout` = '2018-05-08 08:23:01'
WHERE `id` = '9';
UPDATE `user` SET `last_login` = '2018-05-08 08:30:19', `ip_address` = '::1'
WHERE `id` = '9';
UPDATE `user` SET `last_logout` = '2018-05-08 08:31:17'
WHERE `id` = '9';
UPDATE `user` SET `last_login` = '2018-05-08 08:34:51', `ip_address` = '::1'
WHERE `id` = '9';
UPDATE `user` SET `last_logout` = '2018-05-08 08:36:50'
WHERE `id` = '9';
UPDATE `user` SET `last_login` = '2018-05-08 10:45:16', `ip_address` = '::1'
WHERE `id` = '9';
UPDATE `user` SET `last_logout` = '2018-05-08 10:46:33'
WHERE `id` = '9';
UPDATE `user` SET `last_login` = '2018-05-08 10:49:00', `ip_address` = '::1'
WHERE `id` = '9';
UPDATE `user` SET `last_logout` = '2018-05-08 10:59:07'
WHERE `id` = '9';
UPDATE `user` SET `last_login` = '2018-05-08 10:59:16', `ip_address` = '::1'
WHERE `id` = '2';
UPDATE `user` SET `last_logout` = '2018-05-08 10:59:36'
WHERE `id` = '2';
UPDATE `user` SET `last_login` = '2018-05-08 10:59:49', `ip_address` = '::1'
WHERE `id` = '9';
UPDATE `user` SET `last_logout` = '2018-05-08 11:02:18'
WHERE `id` = '9';
UPDATE `user` SET `last_login` = '2018-05-08 11:02:36', `ip_address` = '::1'
WHERE `id` = '9';
UPDATE `user` SET `last_logout` = '2018-05-08 11:02:42'
WHERE `id` = '9';
UPDATE `user` SET `last_login` = '2018-05-08 11:02:55', `ip_address` = '::1'
WHERE `id` = '8';
UPDATE `user` SET `last_logout` = '2018-05-08 11:08:14'
WHERE `id` = '8';
UPDATE `user` SET `last_login` = '2018-05-08 11:08:40', `ip_address` = '::1'
WHERE `id` = '9';
UPDATE `user` SET `last_logout` = '2018-05-08 11:15:56'
WHERE `id` = '9';
UPDATE `user` SET `last_login` = '2018-05-08 11:16:20', `ip_address` = '::1'
WHERE `id` = '2';
DELETE FROM `module_permission`
WHERE `role_id` = '4';
INSERT INTO `module_permission` (`create`, `delete`, `fk_module_id`, `read`, `role_id`, `update`) VALUES ('1',0,'2','1','4',0), (0,0,'3','1','4',0), (0,0,'4',0,'4',0);
UPDATE `user` SET `last_logout` = '2018-05-08 11:17:37'
WHERE `id` = '2';
UPDATE `user` SET `last_login` = '2018-05-08 11:17:51', `ip_address` = '::1'
WHERE `id` = '9';
UPDATE `user` SET `last_logout` = '2018-05-08 11:19:20'
WHERE `id` = '9';
UPDATE `user` SET `last_login` = '2018-05-08 11:21:29', `ip_address` = '::1'
WHERE `id` = '9';
UPDATE `user` SET `last_logout` = '2018-05-08 11:32:29'
WHERE `id` = '9';
UPDATE `user` SET `last_login` = '2018-05-08 11:32:37', `ip_address` = '::1'
WHERE `id` = '2';
UPDATE `user` SET `last_logout` = '2018-05-08 11:36:07'
WHERE `id` = '2';
UPDATE `user` SET `last_login` = '2018-05-08 11:36:19', `ip_address` = '::1'
WHERE `id` = '9';
UPDATE `user` SET `last_logout` = '2018-05-08 11:39:33'
WHERE `id` = '9';
UPDATE `user` SET `last_login` = '2018-05-08 11:39:42', `ip_address` = '::1'
WHERE `id` = '2';
UPDATE `user` SET `last_login` = '2018-05-08 11:51:26', `ip_address` = '::1'
WHERE `id` = '2';
UPDATE `store` SET `store_id` = '2', `store_name` = 'bdt-01', `store_code` = 'Bdt', `store_phone` = '032464', `store_address` = '98,Green Road ,Farmgate Dhaka', `createby` = '2', `createdate` = '2018-05-08 12:46:30', `isactive` = 1
WHERE `id` IS NULL;
UPDATE `store` SET `store_id` = '2', `store_name` = 'bdt-01', `store_code` = 'Bdt', `store_phone` = '032464', `store_address` = '98,Green Road', `createby` = '2', `createdate` = '2018-05-08 12:47:56', `isactive` = 1
WHERE `id` IS NULL;
UPDATE `store` SET `store_id` = '2', `store_name` = 'bdt-01', `store_code` = 'Bdt', `store_phone` = '032464', `store_address` = '98,Green Road sdfsdf', `createby` = '2', `createdate` = '2018-05-08 12:49:04', `isactive` = 1
WHERE `store_id` = '2';
UPDATE `store` SET `store_id` = '2', `store_name` = 'bdt-01', `store_code` = 'Bdt', `store_phone` = '032464', `store_address` = '98,Green Road Dhaka', `createby` = '2', `createdate` = '2018-05-08 12:57:39', `isactive` = 1
WHERE `store_id` = '2';
INSERT INTO `sec_userrole` (`user_id`, `roleid`, `createby`, `createdate`) VALUES ('7', '5', '2', '2018-05-08 12:58:15');
UPDATE `store` SET `store_id` = '2', `store_name` = 'bdt-01', `store_code` = 'Bdt', `store_phone` = '032464', `store_address` = '98,Green Road Dhaka s', `createby` = '2', `createdate` = '2018-05-08 12:59:42', `isactive` = 1
WHERE `store_id` = '2';
INSERT INTO `language` (`phrase`) VALUES ('role_name');
UPDATE `language` SET `english` = 'Preview'
WHERE `phrase` = 'preview';
UPDATE `language` SET `english` = 'Profile'
WHERE `phrase` = 'profile';
UPDATE `language` SET `english` = 'Profile Setting'
WHERE `phrase` = 'profile_setting';
UPDATE `language` SET `english` = 'Project Root'
WHERE `phrase` = 'project_root';
UPDATE `language` SET `english` = 'Read'
WHERE `phrase` = 'read';
UPDATE `language` SET `english` = 'Read/Unread'
WHERE `phrase` = 'read_unread';
UPDATE `language` SET `english` = 'Receiver Name'
WHERE `phrase` = 'receiver_name';
UPDATE `language` SET `english` = 'Remove Successfully!'
WHERE `phrase` = 'remove_successfully';
UPDATE `language` SET `english` = 'Reset'
WHERE `phrase` = 'reset';
UPDATE `language` SET `english` = 'Restore Now!'
WHERE `phrase` = 'restore_now';
UPDATE `language` SET `english` = 'Restore Successfully'
WHERE `phrase` = 'restore_successfully';
UPDATE `language` SET `english` = 'Right To Left'
WHERE `phrase` = 'right_to_left';
UPDATE `language` SET `english` = 'Role'
WHERE `phrase` = 'role';
UPDATE `language` SET `english` = 'Role List'
WHERE `phrase` = 'role_list';
UPDATE `language` SET `english` = 'Role Name'
WHERE `phrase` = 'role_name';
UPDATE `language` SET `english` = 'Save'
WHERE `phrase` = 'save';
UPDATE `language` SET `english` = 'Save Successfully!'
WHERE `phrase` = 'save_successfully';
UPDATE `language` SET `english` = 'See All Messages'
WHERE `phrase` = 'see_all_message';
UPDATE `language` SET `english` = 'Select Option'
WHERE `phrase` = 'select_option';
UPDATE `language` SET `english` = 'Send'
WHERE `phrase` = 'send';
UPDATE `language` SET `english` = 'Sender Name'
WHERE `phrase` = 'sender_name';
UPDATE `language` SET `english` = 'Sent'
WHERE `phrase` = 'sent';
UPDATE `language` SET `english` = 'Sent Message'
WHERE `phrase` = 'sent_message';
UPDATE `language` SET `english` = 'Set'
WHERE `phrase` = 'set';
UPDATE `language` SET `english` = 'Setting'
WHERE `phrase` = 'setting';
DELETE FROM `module_permission`
WHERE `role_id` = '1';
UPDATE `user` SET `last_login` = '2018-05-09 06:19:20', `ip_address` = '::1'
WHERE `id` = '2';
UPDATE `user` SET `last_logout` = '2018-05-09 06:32:08'
WHERE `id` = '2';
UPDATE `user` SET `last_login` = '2018-05-09 06:32:22', `ip_address` = '::1'
WHERE `id` = '8';
UPDATE `user` SET `last_logout` = '2018-05-09 06:32:28'
WHERE `id` = '8';
UPDATE `user` SET `last_login` = '2018-05-09 06:32:40', `ip_address` = '::1'
WHERE `id` = '9';
UPDATE `user` SET `last_logout` = '2018-05-09 06:32:45'
WHERE `id` = '9';
UPDATE `user` SET `last_login` = '2018-05-09 06:32:52', `ip_address` = '::1'
WHERE `id` = '2';
INSERT INTO `user` (`id`, `firstname`, `lastname`, `email`, `password`, `about`, `store_id`, `image`, `last_login`, `last_logout`, `ip_address`, `status`, `is_admin`) VALUES ('', 'tuhin', 'Sarkar', 'tuhin@gmail.com', '202cb962ac59075b964b07152d234b70', 'He is Super Admin', '2', './assets/img/user/Picture-of-person.png', NULL, NULL, NULL, '1', '1');
INSERT INTO `language` (`phrase`) VALUES ('user_type');
UPDATE `language` SET `english` = 'User Permission'
WHERE `phrase` = 'user_permission';
UPDATE `language` SET `english` = 'User Role'
WHERE `phrase` = 'user_role';
UPDATE `language` SET `english` = 'User Role List'
WHERE `phrase` = 'user_role_list';
UPDATE `language` SET `english` = 'User Type'
WHERE `phrase` = 'user_type';
UPDATE `language` SET `english` = 'Welcome Back!'
WHERE `phrase` = 'welcome_back';
INSERT INTO `language` (`phrase`) VALUES ('super_admin');
UPDATE `language` SET `english` = 'Application Alignment'
WHERE `phrase` = 'site_align';
UPDATE `language` SET `english` = 'size'
WHERE `phrase` = 'size';
UPDATE `language` SET `english` = 'SL No.'
WHERE `phrase` = 'sl_no';
UPDATE `language` SET `english` = 'Status'
WHERE `phrase` = 'status';
UPDATE `language` SET `english` = 'Store'
WHERE `phrase` = 'store';
UPDATE `language` SET `english` = 'Store Address'
WHERE `phrase` = 'store_address';
UPDATE `language` SET `english` = 'Store Name'
WHERE `phrase` = 'store_code';
UPDATE `language` SET `english` = 'Store Code'
WHERE `phrase` = 'store_name';
UPDATE `language` SET `english` = 'Store Phone'
WHERE `phrase` = 'store_phone';
UPDATE `language` SET `english` = 'Subject'
WHERE `phrase` = 'subject';
UPDATE `language` SET `english` = 'Super Admin'
WHERE `phrase` = 'super_admin';
UPDATE `language` SET `english` = 'Synchronize'
WHERE `phrase` = 'synchronize';
UPDATE `language` SET `english` = 'Tables are not available in database.sql'
WHERE `phrase` = 'tables_are_not_available_in_database';
UPDATE `language` SET `english` = 'Unable to download file! please check configuration'
WHERE `phrase` = 'unable_to_download_file_please_check_configuration';
UPDATE `language` SET `english` = 'Unable to import data! please check configuration / SQL file.'
WHERE `phrase` = 'unable_to_import_data_please_check_config_or_sql_file';
UPDATE `language` SET `english` = 'Unable to upload file! please check configuration'
WHERE `phrase` = 'unable_to_upload_file_please_check_configuration';
UPDATE `language` SET `english` = 'Uninstall'
WHERE `phrase` = 'uninstall';
UPDATE `language` SET `english` = 'Update'
WHERE `phrase` = 'update';
UPDATE `language` SET `english` = 'Update Module Permission'
WHERE `phrase` = 'update_module_permission';
UPDATE `language` SET `english` = 'Update Successfully'
WHERE `phrase` = 'update_successfully';
UPDATE `language` SET `english` = 'Upload Successfully!'
WHERE `phrase` = 'upload_successfully';
UPDATE `language` SET `english` = 'User'
WHERE `phrase` = 'user';
UPDATE `language` SET `english` = 'User Name'
WHERE `phrase` = 'username';
UPDATE `language` SET `english` = 'User Added Successfully!'
WHERE `phrase` = 'user_added_successfully';
UPDATE `language` SET `english` = 'User Agent'
WHERE `phrase` = 'user_agent';
UPDATE `user` SET `last_logout` = '2018-05-09 06:48:38'
WHERE `id` = '2';
UPDATE `user` SET `last_login` = '2018-05-09 06:48:54', `ip_address` = '::1'
WHERE `id` = '9';
UPDATE `user` SET `last_logout` = '2018-05-09 06:48:59'
WHERE `id` = '9';
UPDATE `user` SET `last_login` = '2018-05-09 06:49:05', `ip_address` = '::1'
WHERE `id` = '2';
INSERT INTO `user` (`id`, `firstname`, `lastname`, `email`, `password`, `about`, `store_id`, `image`, `last_login`, `last_logout`, `ip_address`, `status`, `is_admin`) VALUES ('', 'sabuj', 'm', 'sabuj@gmail.com', '202cb962ac59075b964b07152d234b70', 'sdfsadf', '2', '', NULL, NULL, NULL, '1', '0');
UPDATE `user` SET `last_logout` = '2018-05-09 06:50:57'
WHERE `id` = '2';
UPDATE `user` SET `last_login` = '2018-05-09 06:52:24', `ip_address` = '::1'
WHERE `id` = '2';
INSERT INTO `sec_userrole` (`user_id`, `roleid`, `createby`, `createdate`) VALUES ('12', '2', '2', '2018-05-09 06:55:47');
UPDATE `user` SET `last_logout` = '2018-05-09 06:55:52'
WHERE `id` = '2';
UPDATE `user` SET `last_login` = '2018-05-09 06:56:01', `ip_address` = '::1'
WHERE `id` = '12';
UPDATE `user` SET `last_logout` = '2018-05-09 06:56:13'
WHERE `id` = '12';
UPDATE `user` SET `last_login` = '2018-05-09 06:56:22', `ip_address` = '::1'
WHERE `id` = '2';
INSERT INTO `language` (`phrase`) VALUES ('sl');
INSERT INTO `language` (`phrase`) VALUES ('user_name');
UPDATE `language` SET `english` = 'Application Alignment'
WHERE `phrase` = 'site_align';
UPDATE `language` SET `english` = 'size'
WHERE `phrase` = 'size';
UPDATE `language` SET `english` = 'SL'
WHERE `phrase` = 'sl';
UPDATE `language` SET `english` = 'SL No.'
WHERE `phrase` = 'sl_no';
UPDATE `language` SET `english` = 'Status'
WHERE `phrase` = 'status';
UPDATE `language` SET `english` = 'Store'
WHERE `phrase` = 'store';
UPDATE `language` SET `english` = 'Store Address'
WHERE `phrase` = 'store_address';
UPDATE `language` SET `english` = 'Store Name'
WHERE `phrase` = 'store_code';
UPDATE `language` SET `english` = 'Store Code'
WHERE `phrase` = 'store_name';
UPDATE `language` SET `english` = 'Store Phone'
WHERE `phrase` = 'store_phone';
UPDATE `language` SET `english` = 'Subject'
WHERE `phrase` = 'subject';
UPDATE `language` SET `english` = 'Super Admin'
WHERE `phrase` = 'super_admin';
UPDATE `language` SET `english` = 'Synchronize'
WHERE `phrase` = 'synchronize';
UPDATE `language` SET `english` = 'Tables are not available in database.sql'
WHERE `phrase` = 'tables_are_not_available_in_database';
UPDATE `language` SET `english` = 'Unable to download file! please check configuration'
WHERE `phrase` = 'unable_to_download_file_please_check_configuration';
UPDATE `language` SET `english` = 'Unable to import data! please check configuration / SQL file.'
WHERE `phrase` = 'unable_to_import_data_please_check_config_or_sql_file';
UPDATE `language` SET `english` = 'Unable to upload file! please check configuration'
WHERE `phrase` = 'unable_to_upload_file_please_check_configuration';
UPDATE `language` SET `english` = 'Uninstall'
WHERE `phrase` = 'uninstall';
UPDATE `language` SET `english` = 'Update'
WHERE `phrase` = 'update';
UPDATE `language` SET `english` = 'Update Module Permission'
WHERE `phrase` = 'update_module_permission';
UPDATE `language` SET `english` = 'Update Successfully'
WHERE `phrase` = 'update_successfully';
UPDATE `language` SET `english` = 'Upload Successfully!'
WHERE `phrase` = 'upload_successfully';
UPDATE `language` SET `english` = 'User'
WHERE `phrase` = 'user';
UPDATE `language` SET `english` = 'User Name'
WHERE `phrase` = 'username';
UPDATE `language` SET `english` = 'User Added Successfully!'
WHERE `phrase` = 'user_added_successfully';
UPDATE `language` SET `english` = 'User Agent'
WHERE `phrase` = 'user_agent';
UPDATE `language` SET `english` = 'User List'
WHERE `phrase` = 'user_list';
UPDATE `language` SET `english` = 'User Name'
WHERE `phrase` = 'user_name';
UPDATE `language` SET `english` = 'User Permission'
WHERE `phrase` = 'user_permission';
UPDATE `language` SET `english` = 'User Role'
WHERE `phrase` = 'user_role';
UPDATE `language` SET `english` = 'User Role List'
WHERE `phrase` = 'user_role_list';
UPDATE `language` SET `english` = 'User Type'
WHERE `phrase` = 'user_type';
UPDATE `language` SET `english` = 'Welcome Back!'
WHERE `phrase` = 'welcome_back';
INSERT INTO `language` (`phrase`) VALUES ('create_user_role');
UPDATE `language` SET `english` = 'About'
WHERE `phrase` = 'about';
UPDATE `language` SET `english` = 'Action'
WHERE `phrase` = 'action';
UPDATE `language` SET `english` = 'Active'
WHERE `phrase` = 'active';
UPDATE `language` SET `english` = 'Address'
WHERE `phrase` = 'address';
UPDATE `language` SET `english` = 'Add Module'
WHERE `phrase` = 'add_module';
UPDATE `language` SET `english` = 'Add Module Permission'
WHERE `phrase` = 'add_module_permission';
UPDATE `language` SET `english` = 'Add Role'
WHERE `phrase` = 'add_role';
UPDATE `language` SET `english` = 'Add Store'
WHERE `phrase` = 'add_store';
UPDATE `language` SET `english` = 'Add User'
WHERE `phrase` = 'add_user';
UPDATE `language` SET `english` = 'Add User Role'
WHERE `phrase` = 'add_user_role';
UPDATE `language` SET `english` = 'Admin'
WHERE `phrase` = 'admin';
UPDATE `language` SET `english` = 'Application Setting'
WHERE `phrase` = 'application_setting';
UPDATE `language` SET `english` = 'Application Title'
WHERE `phrase` = 'application_title';
UPDATE `language` SET `english` = 'Are You Sure ? '
WHERE `phrase` = 'are_you_sure';
UPDATE `language` SET `english` = 'Available'
WHERE `phrase` = 'available';
UPDATE `language` SET `english` = 'Backup and Restore'
WHERE `phrase` = 'backup_and_restore';
UPDATE `language` SET `english` = 'Backup Date'
WHERE `phrase` = 'backup_date';
UPDATE `language` SET `english` = 'Backup Now!'
WHERE `phrase` = 'backup_now';
UPDATE `language` SET `english` = 'Backup Successfully'
WHERE `phrase` = 'backup_successfully';
UPDATE `language` SET `english` = 'Captcha Word'
WHERE `phrase` = 'captcha';
UPDATE `language` SET `english` = 'Checked By'
WHERE `phrase` = 'checked_by';
UPDATE `language` SET `english` = 'Create'
WHERE `phrase` = 'create';
UPDATE `language` SET `english` = 'Create User Role'
WHERE `phrase` = 'create_user_role';
UPDATE `language` SET `english` = 'Dashboard'
WHERE `phrase` = 'dashboard';
UPDATE `language` SET `english` = 'Database Backup'
WHERE `phrase` = 'database_backup';
DELETE FROM `sec_role`
WHERE `id` = '2';
INSERT INTO `sec_userrole` (`id`, `user_id`, `roleid`, `createby`, `createdate`) VALUES ('', '9', '5', '2', '2018-05-09 10:23:51');
DELETE FROM `module_permission`
WHERE `role_id` = '3';
INSERT INTO `module_permission` (`create`, `delete`, `fk_module_id`, `read`, `role_id`, `update`) VALUES (0,'1','2','1','3',0), (0,0,'3',0,'3',0), ('1','1','4','1','3','1');
DELETE FROM `module_permission`
WHERE `role_id` = '3';
INSERT INTO `module_permission` (`create`, `delete`, `fk_module_id`, `read`, `role_id`, `update`) VALUES (0,'1','2','1','3',0), (0,0,'3',0,'3',0), ('1','1','4','1','3','1');
INSERT INTO `sec_userrole` (`id`, `user_id`, `roleid`, `createby`, `createdate`) VALUES ('', '10', '5', '2', '2018-05-09 11:23:19');
UPDATE `sec_userrole` SET `id` = '5', `user_id` = '1', `roleid` = '3', `createby` = '2', `createdate` = '2018-05-09 11:24:10'
WHERE `id` = '5';
INSERT INTO `sec_userrole` (`id`, `user_id`, `roleid`, `createby`, `createdate`) VALUES ('', '12', '4', '2', '2018-05-09 11:26:12');
INSERT INTO `sec_userrole` (`id`, `user_id`, `roleid`, `createby`, `createdate`) VALUES ('', '3', '1', '2', '2018-05-09 11:30:16');
DELETE FROM `sec_userrole`
WHERE `id` = '1';
DELETE FROM `sec_userrole`
WHERE `id` = '1';
DELETE FROM `sec_userrole`
WHERE `id` = '1';
DELETE FROM `sec_role`
WHERE `id` = '5';
DELETE FROM `sec_userrole`
WHERE `id` = '1';
DELETE FROM `sec_userrole`
WHERE `id` = '4';
DELETE FROM `sec_userrole`
WHERE `id` = '9';
INSERT INTO `sec_userrole` (`id`, `user_id`, `roleid`, `createby`, `createdate`) VALUES ('', '7', '4', '2', '2018-05-09 11:43:10');
UPDATE `sec_userrole` SET `id` = '5', `user_id` = '1', `roleid` = '4', `createby` = '2', `createdate` = '2018-05-09 11:45:34'
WHERE `id` = '5';
UPDATE `sec_userrole` SET `id` = '5', `user_id` = '1', `roleid` = '1', `createby` = '2', `createdate` = '2018-05-09 11:45:42'
WHERE `id` = '5';
INSERT INTO `sec_userrole` (`id`, `user_id`, `roleid`, `createby`, `createdate`) VALUES ('', '9', '4', '2', '2018-05-09 11:46:01');
INSERT INTO `sec_userrole` (`id`, `user_id`, `roleid`, `createby`, `createdate`) VALUES ('', '9', '3', '2', '2018-05-09 11:47:03');
INSERT INTO `sec_userrole` (`id`, `user_id`, `roleid`, `createby`, `createdate`) VALUES ('', '7', '3', '2', '2018-05-09 11:53:23');
INSERT INTO `sec_role` (`name`, `isactive`, `createby`, `createdate`) VALUES ('Store Admin', '1', '2', '2018-05-09 12:16:22');
INSERT INTO `sec_role` (`name`, `isactive`, `createby`, `createdate`) VALUES ('test', '1', '2', '2018-05-09 12:17:36');
DELETE FROM `sec_role`
WHERE `id` = '7';
INSERT INTO `sec_role` (`name`, `isactive`, `createby`, `createdate`) VALUES ('test', '1', '2', '2018-05-09 12:18:28');
DELETE FROM `sec_role`
WHERE `id` = '8';
DELETE FROM `user`
WHERE `id` = '12'
AND `is_admin` NOT IN(1);
DELETE FROM `user`
WHERE `id` = '10'
AND `is_admin` NOT IN(1);
DELETE FROM `user`
WHERE `id` = '1'
AND `is_admin` NOT IN(1);
INSERT INTO `user` (`id`, `firstname`, `lastname`, `email`, `password`, `about`, `store_id`, `user_types`, `image`, `last_login`, `last_logout`, `ip_address`, `status`, `is_admin`) VALUES ('', 'alamin ', 'Khan', 'alamin@gmail.com', '202cb962ac59075b964b07152d234b70', 'dsfsadf', '2', '4', '', NULL, NULL, NULL, '1', 0);
UPDATE `user` SET `id` = '13', `firstname` = 'alamin ', `lastname` = 'Khan', `email` = 'alamin@gmail.com', `password` = '202cb962ac59075b964b07152d234b70', `about` = 'dsfsadf', `store_id` = '2', `user_types` = '4', `image` = './assets/img/user/Picture-of-person2.png', `last_login` = NULL, `last_logout` = NULL, `ip_address` = NULL, `status` = '1', `is_admin` = 0
WHERE `id` = '13';
UPDATE `user` SET `last_logout` = '2018-05-09 12:25:08'
WHERE `id` = '2';
UPDATE `user` SET `last_login` = '2018-05-09 12:25:58', `ip_address` = '::1'
WHERE `id` = '2';
INSERT INTO `sec_userrole` (`id`, `user_id`, `roleid`, `createby`, `createdate`) VALUES ('', '13', '4', '2', '2018-05-09 12:26:44');
UPDATE `user` SET `last_logout` = '2018-05-09 12:26:50'
WHERE `id` = '2';
UPDATE `user` SET `last_login` = '2018-05-09 12:27:05', `ip_address` = '::1'
WHERE `id` = '13';
UPDATE `user` SET `last_logout` = '2018-05-09 12:30:58'
WHERE `id` = '13';
UPDATE `user` SET `last_login` = '2018-05-09 12:31:07', `ip_address` = '::1'
WHERE `id` = '2';
INSERT INTO `language` (`phrase`) VALUES ('role_permission');
UPDATE `language` SET `english` = 'Please Wait...'
WHERE `phrase` = 'please_wait';
UPDATE `language` SET `english` = 'Preview'
WHERE `phrase` = 'preview';
UPDATE `language` SET `english` = 'Profile'
WHERE `phrase` = 'profile';
UPDATE `language` SET `english` = 'Profile Setting'
WHERE `phrase` = 'profile_setting';
UPDATE `language` SET `english` = 'Project Root'
WHERE `phrase` = 'project_root';
UPDATE `language` SET `english` = 'Read'
WHERE `phrase` = 'read';
UPDATE `language` SET `english` = 'Read/Unread'
WHERE `phrase` = 'read_unread';
UPDATE `language` SET `english` = 'Receiver Name'
WHERE `phrase` = 'receiver_name';
UPDATE `language` SET `english` = 'Remove Successfully!'
WHERE `phrase` = 'remove_successfully';
UPDATE `language` SET `english` = 'Reset'
WHERE `phrase` = 'reset';
UPDATE `language` SET `english` = 'Restore Now!'
WHERE `phrase` = 'restore_now';
UPDATE `language` SET `english` = 'Restore Successfully'
WHERE `phrase` = 'restore_successfully';
UPDATE `language` SET `english` = 'Right To Left'
WHERE `phrase` = 'right_to_left';
UPDATE `language` SET `english` = 'Role'
WHERE `phrase` = 'role';
UPDATE `language` SET `english` = 'Role List'
WHERE `phrase` = 'role_list';
UPDATE `language` SET `english` = 'Role Name'
WHERE `phrase` = 'role_name';
UPDATE `language` SET `english` = 'Role Permission'
WHERE `phrase` = 'role_permission';
UPDATE `language` SET `english` = 'Save'
WHERE `phrase` = 'save';
UPDATE `language` SET `english` = 'Save Successfully!'
WHERE `phrase` = 'save_successfully';
UPDATE `language` SET `english` = 'See All Messages'
WHERE `phrase` = 'see_all_message';
UPDATE `language` SET `english` = 'Select Option'
WHERE `phrase` = 'select_option';
UPDATE `language` SET `english` = 'Send'
WHERE `phrase` = 'send';
UPDATE `language` SET `english` = 'Sender Name'
WHERE `phrase` = 'sender_name';
UPDATE `language` SET `english` = 'Sent'
WHERE `phrase` = 'sent';
UPDATE `language` SET `english` = 'Sent Message'
WHERE `phrase` = 'sent_message';
INSERT INTO `language` (`phrase`) VALUES ('add_role_permission');
INSERT INTO `language` (`phrase`) VALUES ('role_permission_list');
UPDATE `language` SET `english` = 'About'
WHERE `phrase` = 'about';
UPDATE `language` SET `english` = 'Action'
WHERE `phrase` = 'action';
UPDATE `language` SET `english` = 'Active'
WHERE `phrase` = 'active';
UPDATE `language` SET `english` = 'Address'
WHERE `phrase` = 'address';
UPDATE `language` SET `english` = 'Add Module'
WHERE `phrase` = 'add_module';
UPDATE `language` SET `english` = 'Add Module Permission'
WHERE `phrase` = 'add_module_permission';
UPDATE `language` SET `english` = 'Add Role'
WHERE `phrase` = 'add_role';
UPDATE `language` SET `english` = 'Add Role Permission'
WHERE `phrase` = 'add_role_permission';
UPDATE `language` SET `english` = 'Add Store'
WHERE `phrase` = 'add_store';
UPDATE `language` SET `english` = 'Add User'
WHERE `phrase` = 'add_user';
UPDATE `language` SET `english` = 'Add User Role'
WHERE `phrase` = 'add_user_role';
UPDATE `language` SET `english` = 'Admin'
WHERE `phrase` = 'admin';
UPDATE `language` SET `english` = 'Application Setting'
WHERE `phrase` = 'application_setting';
UPDATE `language` SET `english` = 'Application Title'
WHERE `phrase` = 'application_title';
UPDATE `language` SET `english` = 'Are You Sure ? '
WHERE `phrase` = 'are_you_sure';
UPDATE `language` SET `english` = 'Available'
WHERE `phrase` = 'available';
UPDATE `language` SET `english` = 'Backup and Restore'
WHERE `phrase` = 'backup_and_restore';
UPDATE `language` SET `english` = 'Backup Date'
WHERE `phrase` = 'backup_date';
UPDATE `language` SET `english` = 'Backup Now!'
WHERE `phrase` = 'backup_now';
UPDATE `language` SET `english` = 'Backup Successfully'
WHERE `phrase` = 'backup_successfully';
UPDATE `language` SET `english` = 'Captcha Word'
WHERE `phrase` = 'captcha';
UPDATE `language` SET `english` = 'Checked By'
WHERE `phrase` = 'checked_by';
UPDATE `language` SET `english` = 'Create'
WHERE `phrase` = 'create';
UPDATE `language` SET `english` = 'Create User Role'
WHERE `phrase` = 'create_user_role';
UPDATE `language` SET `english` = 'Dashboard'
WHERE `phrase` = 'dashboard';
UPDATE `language` SET `english` = 'Please Try Again...'
WHERE `phrase` = 'please_try_again';
UPDATE `language` SET `english` = 'Please Wait...'
WHERE `phrase` = 'please_wait';
UPDATE `language` SET `english` = 'Preview'
WHERE `phrase` = 'preview';
UPDATE `language` SET `english` = 'Profile'
WHERE `phrase` = 'profile';
UPDATE `language` SET `english` = 'Profile Setting'
WHERE `phrase` = 'profile_setting';
UPDATE `language` SET `english` = 'Project Root'
WHERE `phrase` = 'project_root';
UPDATE `language` SET `english` = 'Read'
WHERE `phrase` = 'read';
UPDATE `language` SET `english` = 'Read/Unread'
WHERE `phrase` = 'read_unread';
UPDATE `language` SET `english` = 'Receiver Name'
WHERE `phrase` = 'receiver_name';
UPDATE `language` SET `english` = 'Remove Successfully!'
WHERE `phrase` = 'remove_successfully';
UPDATE `language` SET `english` = 'Reset'
WHERE `phrase` = 'reset';
UPDATE `language` SET `english` = 'Restore Now!'
WHERE `phrase` = 'restore_now';
UPDATE `language` SET `english` = 'Restore Successfully'
WHERE `phrase` = 'restore_successfully';
UPDATE `language` SET `english` = 'Right To Left'
WHERE `phrase` = 'right_to_left';
UPDATE `language` SET `english` = 'Role'
WHERE `phrase` = 'role';
UPDATE `language` SET `english` = 'Role List'
WHERE `phrase` = 'role_list';
UPDATE `language` SET `english` = 'Role Name'
WHERE `phrase` = 'role_name';
UPDATE `language` SET `english` = 'Role Permission'
WHERE `phrase` = 'role_permission';
UPDATE `language` SET `english` = 'Role Permission List'
WHERE `phrase` = 'role_permission_list';
UPDATE `language` SET `english` = 'Save'
WHERE `phrase` = 'save';
UPDATE `language` SET `english` = 'Save Successfully!'
WHERE `phrase` = 'save_successfully';
UPDATE `language` SET `english` = 'See All Messages'
WHERE `phrase` = 'see_all_message';
UPDATE `language` SET `english` = 'Select Option'
WHERE `phrase` = 'select_option';
UPDATE `language` SET `english` = 'Send'
WHERE `phrase` = 'send';
UPDATE `language` SET `english` = 'Sender Name'
WHERE `phrase` = 'sender_name';
UPDATE `module` SET `id` = '2', `status` = 0
WHERE `id` = '2';
DELETE FROM `module_permission`
WHERE `role_id` = '4';
INSERT INTO `module_permission` (`create`, `delete`, `fk_module_id`, `read`, `role_id`, `update`) VALUES ('1',0,'3','1','4',0), ('1',0,'4','1','4',0);
DELETE FROM `module_permission`
WHERE `role_id` = '3';
INSERT INTO `module_permission` (`create`, `delete`, `fk_module_id`, `read`, `role_id`, `update`) VALUES ('1','1','3','1','3',0), (0,0,'4',0,'3',0);
DELETE FROM `module_permission`
WHERE `role_id` = '6';
INSERT INTO `module_permission` (`create`, `delete`, `fk_module_id`, `read`, `role_id`, `update`) VALUES (0,0,'3',0,'6',0), ('1','1','4',0,'6','1');
DELETE FROM `sec_userrole`
WHERE `id` = '1';
DELETE FROM `sec_userrole`
WHERE `id` = '2';
DELETE FROM `sec_userrole`
WHERE `id` = '3';
INSERT INTO `sec_userrole` (`id`, `user_id`, `roleid`, `createby`, `createdate`) VALUES ('', '3', '4', '2', '2018-05-09 12:45:47');
INSERT INTO `sec_userrole` (`id`, `user_id`, `roleid`, `createby`, `createdate`) VALUES ('', '9', '6', '2', '2018-05-09 12:45:59');
INSERT INTO `sec_userrole` (`id`, `user_id`, `roleid`, `createby`, `createdate`) VALUES ('', '9', '4', '2', '2018-05-09 12:46:19');
UPDATE `user` SET `last_logout` = '2018-05-09 12:46:30'
WHERE `id` = '2';
UPDATE `user` SET `last_login` = '2018-05-09 12:46:44', `ip_address` = '::1'
WHERE `id` = '9';
UPDATE `user` SET `last_logout` = '2018-05-09 12:47:03'
WHERE `id` = '9';
UPDATE `user` SET `last_login` = '2018-05-09 12:47:14', `ip_address` = '::1'
WHERE `id` = '2';
DELETE FROM `module_permission`
WHERE `role_id` = '3';
INSERT INTO `module_permission` (`create`, `delete`, `fk_module_id`, `read`, `role_id`, `update`) VALUES (0,0,'3',0,'3',0), (0,0,'4','1','3',0);
INSERT INTO `sec_userrole` (`id`, `user_id`, `roleid`, `createby`, `createdate`) VALUES ('', '7', '3', '2', '2018-05-09 12:47:53');
UPDATE `user` SET `last_logout` = '2018-05-09 12:48:08'
WHERE `id` = '2';
UPDATE `user` SET `last_login` = '2018-05-09 12:48:21', `ip_address` = '::1'
WHERE `id` = '7';
UPDATE `user` SET `last_logout` = '2018-05-09 12:48:33'
WHERE `id` = '7';
UPDATE `user` SET `last_login` = '2018-05-09 12:48:38', `ip_address` = '::1'
WHERE `id` = '2';
INSERT INTO `sec_role` (`name`, `isactive`, `createby`, `createdate`) VALUES ('Test Role', '1', '2', '2018-05-09 01:07:18');
DELETE FROM `role_permission`
WHERE `role_id` = '9';
INSERT INTO `role_permission` (`create`, `delete`, `fk_module_id`, `read`, `role_id`, `update`) VALUES (0,0,'3','1','9',0), (0,0,'4',0,'9',0);
INSERT INTO `user` (`id`, `firstname`, `lastname`, `email`, `password`, `about`, `store_id`, `user_types`, `image`, `last_login`, `last_logout`, `ip_address`, `status`, `is_admin`) VALUES ('', 'isahaq', 'm', 'isahaq@gmail.com', '202cb962ac59075b964b07152d234b70', 'sdfasdf', '2', '9', './assets/img/user/sdf2.jpg', NULL, NULL, NULL, '1', 0);
UPDATE `user` SET `last_logout` = '2018-05-09 13:08:23'
WHERE `id` = '2';
UPDATE `user` SET `last_login` = '2018-05-09 13:08:48', `ip_address` = '::1'
WHERE `id` = '2';
INSERT INTO `sec_userrole` (`id`, `user_id`, `roleid`, `createby`, `createdate`) VALUES ('', '14', '9', '2', '2018-05-09 01:08:59');
UPDATE `user` SET `last_logout` = '2018-05-09 13:09:04'
WHERE `id` = '2';
UPDATE `user` SET `last_login` = '2018-05-09 13:09:17', `ip_address` = '::1'
WHERE `id` = '14';
UPDATE `user` SET `last_logout` = '2018-05-09 13:09:26'
WHERE `id` = '14';
UPDATE `user` SET `last_login` = '2018-05-09 13:09:34', `ip_address` = '::1'
WHERE `id` = '2';
INSERT INTO `user` (`id`, `firstname`, `lastname`, `email`, `password`, `about`, `store_id`, `user_types`, `image`, `last_login`, `last_logout`, `ip_address`, `status`, `is_admin`) VALUES ('', 'a', 'b', 'a@g.c', '202cb962ac59075b964b07152d234b70', 'sdfasdf', '2', '0', './assets/img/user/df.jpg', NULL, NULL, NULL, '1', 0);
UPDATE `user` SET `last_logout` = '2018-05-09 13:40:01'
WHERE `id` = '2';
UPDATE `user` SET `last_login` = '2018-05-09 13:58:22', `ip_address` = '::1'
WHERE `id` = '2';
INSERT INTO `user` (`id`, `firstname`, `lastname`, `email`, `password`, `about`, `store_id`, `user_types`, `image`, `last_login`, `last_logout`, `ip_address`, `status`, `is_admin`) VALUES ('', 'b', 'c', 'b@g.com', '202cb962ac59075b964b07152d234b70', 'sdf', '2', '1', './assets/img/user/sdf3.jpg', NULL, NULL, NULL, '1', 0);
UPDATE `user` SET `last_logout` = '2018-05-09 13:59:09'
WHERE `id` = '2';
UPDATE `user` SET `last_login` = '2018-05-09 13:59:22', `ip_address` = '::1'
WHERE `id` = '16';
UPDATE `user` SET `last_logout` = '2018-05-09 13:59:34'
WHERE `id` = '16';
UPDATE `user` SET `last_login` = '2018-05-09 14:01:17', `ip_address` = '::1'
WHERE `id` = '2';
UPDATE `user` SET `last_logout` = '2018-05-09 14:13:31'
WHERE `id` = '2';
UPDATE `user` SET `last_login` = '2018-05-09 14:14:37', `ip_address` = '::1'
WHERE `id` = '2';
UPDATE `user` SET `last_logout` = '2018-05-09 14:51:10'
WHERE `id` = '2';
UPDATE `user` SET `last_login` = '2018-05-09 14:53:57', `ip_address` = '::1'
WHERE `id` = '15';
UPDATE `user` SET `last_logout` = '2018-05-09 14:54:21'
WHERE `id` = '15';
UPDATE `user` SET `last_login` = '2018-05-09 14:54:46', `ip_address` = '::1'
WHERE `id` = '2';
INSERT INTO `sec_userrole` (`id`, `user_id`, `roleid`, `createby`, `createdate`) VALUES ('', '15', '3', '2', '2018-05-09 02:55:36');
UPDATE `user` SET `last_logout` = '2018-05-09 14:55:42'
WHERE `id` = '2';
UPDATE `user` SET `last_login` = '2018-05-09 14:55:55', `ip_address` = '::1'
WHERE `id` = '15';
UPDATE `user` SET `last_logout` = '2018-05-09 14:56:07'
WHERE `id` = '15';
UPDATE `user` SET `last_login` = '2018-05-09 14:56:15', `ip_address` = '::1'
WHERE `id` = '2';
INSERT INTO `user` (`id`, `firstname`, `lastname`, `email`, `password`, `about`, `store_id`, `user_types`, `image`, `last_login`, `last_logout`, `ip_address`, `status`, `is_admin`) VALUES ('', 'u', 'sd', 'u@s.c', '202cb962ac59075b964b07152d234b70', 'sdf', '2', '1', '', NULL, NULL, NULL, '1', 0);
UPDATE `user` SET `last_logout` = '2018-05-09 15:02:38'
WHERE `id` = '2';
UPDATE `user` SET `last_login` = '2018-05-09 15:02:58', `ip_address` = '::1'
WHERE `id` = '17';
UPDATE `user` SET `last_logout` = '2018-05-09 15:03:31'
WHERE `id` = '17';
UPDATE `user` SET `last_login` = '2018-05-09 15:04:19', `ip_address` = '::1'
WHERE `id` = '2';
UPDATE `user` SET `id` = '17', `firstname` = 'u', `lastname` = 'sd', `email` = 'u@s.c', `password` = '202cb962ac59075b964b07152d234b70', `about` = 'sdf', `store_id` = '2', `user_types` = '0', `image` = '', `last_login` = NULL, `last_logout` = NULL, `ip_address` = NULL, `status` = '1', `is_admin` = 0
WHERE `id` = '17';
UPDATE `user` SET `last_logout` = '2018-05-09 15:04:45'
WHERE `id` = '2';
UPDATE `user` SET `last_login` = '2018-05-09 15:05:04', `ip_address` = '::1'
WHERE `id` = '17';
UPDATE `message` SET `id` = '10', `receiver_status` = 1
WHERE `id` = '10';
UPDATE `user` SET `last_logout` = '2018-05-09 15:19:47'
WHERE `id` = '17';
UPDATE `user` SET `last_login` = '2018-05-09 15:19:53', `ip_address` = '::1'
WHERE `id` = '2';
INSERT INTO `language` (`phrase`) VALUES ('permission_error');
UPDATE `language` SET `english` = 'Logout'
WHERE `phrase` = 'logout';
UPDATE `language` SET `english` = 'Message'
WHERE `phrase` = 'message';
UPDATE `language` SET `english` = 'Message Details'
WHERE `phrase` = 'message_details';
UPDATE `language` SET `english` = 'Message Sent!'
WHERE `phrase` = 'message_sent';
UPDATE `language` SET `english` = 'Module'
WHERE `phrase` = 'module';
UPDATE `language` SET `english` = 'Module Added Successfully'
WHERE `phrase` = 'module_added_successfully';
UPDATE `language` SET `english` = 'Module List'
WHERE `phrase` = 'module_list';
UPDATE `language` SET `english` = 'Module Name'
WHERE `phrase` = 'module_name';
UPDATE `language` SET `english` = 'Module Permission'
WHERE `phrase` = 'module_permission';
UPDATE `language` SET `english` = 'Module Permission Added Successfully!'
WHERE `phrase` = 'module_permission_added_successfully';
UPDATE `language` SET `english` = 'Module Permission List'
WHERE `phrase` = 'module_permission_list';
UPDATE `language` SET `english` = 'Name'
WHERE `phrase` = 'name';
UPDATE `language` SET `english` = 'New'
WHERE `phrase` = 'new';
UPDATE `language` SET `english` = 'New Enquiry'
WHERE `phrase` = 'new_enquiry';
UPDATE `language` SET `english` = 'New Message'
WHERE `phrase` = 'new_message';
UPDATE `language` SET `english` = 'Not Available'
WHERE `phrase` = 'not_available';
UPDATE `language` SET `english` = 'No tables are registerd in config.php'
WHERE `phrase` = 'no_tables_are_registered_in_config';
UPDATE `language` SET `english` = 'Ok'
WHERE `phrase` = 'ok';
UPDATE `language` SET `english` = ' Ooops something went wrong...'
WHERE `phrase` = 'ooops_something_went_wrong';
UPDATE `language` SET `english` = 'Outgoing File'
WHERE `phrase` = 'outgoing_file';
UPDATE `language` SET `english` = 'Overwrite'
WHERE `phrase` = 'overwrite';
UPDATE `language` SET `english` = 'Password'
WHERE `phrase` = 'password';
UPDATE `language` SET `english` = 'You Have No Permission'
WHERE `phrase` = 'permission_error';
UPDATE `language` SET `english` = 'Phone'
WHERE `phrase` = 'phone';
UPDATE `language` SET `english` = 'Please configure synchronizer settings'
WHERE `phrase` = 'please_configure_synchronizer_settings';
UPDATE `user` SET `last_logout` = '2018-05-09 15:30:34'
WHERE `id` = '2';
UPDATE `user` SET `last_login` = '2018-05-10 06:13:49', `ip_address` = '::1'
WHERE `id` = '2';
UPDATE `module` SET `id` = '4', `status` = 0
WHERE `id` = '4';
UPDATE `module` SET `id` = '4', `status` = 1
WHERE `id` = '4';
UPDATE `store` SET `id` = '2', `isactive` = 0
WHERE `store_id` IS NULL;
UPDATE `store` SET `store_id` = '2', `isactive` = 0
WHERE `store_id` = '2';
UPDATE `store` SET `store_id` = '2', `isactive` = 0
WHERE `store_id` = '2';
UPDATE `store` SET `store_id` = '2', `isactive` = 0
WHERE `store_id` = '2';
UPDATE `store` SET `store_id` = '2', `isactive` = 0
WHERE `store_id` = '2';
UPDATE `store` SET `store_id` = '2', `isactive` = 1
WHERE `store_id` = '2';
UPDATE `store` SET `store_id` = '2', `isactive` = 0
WHERE `store_id` = '2';
UPDATE `store` SET `store_id` = '2', `isactive` = 1
WHERE `store_id` = '2';
UPDATE `store` SET `store_id` = '2', `isactive` = 0
WHERE `store_id` = '2';
UPDATE `store` SET `store_id` = '2', `isactive` = 1
WHERE `store_id` = '2';
UPDATE `store` SET `store_id` = '2', `isactive` = 0
WHERE `store_id` = '2';
UPDATE `store` SET `store_id` = '2', `isactive` = 1
WHERE `store_id` = '2';
SET FOREIGN_KEY_CHECKS = 0;
CREATE TABLE IF NOT EXISTS `employee` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `image` varchar(100) COLLATE utf8_unicode_ci NOT NULL,
  `employeeno` varchar(50) COLLATE utf8_unicode_ci NOT NULL,
  `name` varchar(50) COLLATE utf8_unicode_ci NOT NULL,
  `store_id` varchar(10) COLLATE utf8_unicode_ci NOT NULL,
  `designation` int(11) NOT NULL,
  `CardNo` varchar(50) COLLATE utf8_unicode_ci NOT NULL,
  `department` int(11) NOT NULL,
  `isactive` tinyint(1) NOT NULL,
  `createby` varchar(50) COLLATE utf8_unicode_ci NOT NULL,
  `createdate` datetime NOT NULL,
  `updateby` varchar(50) COLLATE utf8_unicode_ci NOT NULL,
  `updatedate` datetime NOT NULL,
  PRIMARY KEY (`employeeno`),
  UNIQUE KEY `ID` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
SET FOREIGN_KEY_CHECKS = 1;
INSERT INTO `module` (`id`, `name`, `description`, `image`, `directory`, `status`) VALUES (NULL, 'Employee Management', 'Simple Employee Management System', 'application/modules/employee/assets/images/thumbnail.jpg', 'employee', 1);
INSERT INTO `language` (`phrase`) VALUES ('employee');
INSERT INTO `language` (`phrase`) VALUES ('add');
INSERT INTO `language` (`phrase`) VALUES ('list');
UPDATE `language` SET `english` = 'About'
WHERE `phrase` = 'about';
UPDATE `language` SET `english` = 'Action'
WHERE `phrase` = 'action';
UPDATE `language` SET `english` = 'Active'
WHERE `phrase` = 'active';
UPDATE `language` SET `english` = 'Add '
WHERE `phrase` = 'add';
UPDATE `language` SET `english` = 'Address'
WHERE `phrase` = 'address';
UPDATE `language` SET `english` = 'Add Module'
WHERE `phrase` = 'add_module';
UPDATE `language` SET `english` = 'Add Module Permission'
WHERE `phrase` = 'add_module_permission';
UPDATE `language` SET `english` = 'Add Role'
WHERE `phrase` = 'add_role';
UPDATE `language` SET `english` = 'Add Role Permission'
WHERE `phrase` = 'add_role_permission';
UPDATE `language` SET `english` = 'Add Store'
WHERE `phrase` = 'add_store';
UPDATE `language` SET `english` = 'Add User'
WHERE `phrase` = 'add_user';
UPDATE `language` SET `english` = 'Add User Role'
WHERE `phrase` = 'add_user_role';
UPDATE `language` SET `english` = 'Admin'
WHERE `phrase` = 'admin';
UPDATE `language` SET `english` = 'Application Setting'
WHERE `phrase` = 'application_setting';
UPDATE `language` SET `english` = 'Application Title'
WHERE `phrase` = 'application_title';
UPDATE `language` SET `english` = 'Are You Sure ? '
WHERE `phrase` = 'are_you_sure';
UPDATE `language` SET `english` = 'Available'
WHERE `phrase` = 'available';
UPDATE `language` SET `english` = 'Backup and Restore'
WHERE `phrase` = 'backup_and_restore';
UPDATE `language` SET `english` = 'Backup Date'
WHERE `phrase` = 'backup_date';
UPDATE `language` SET `english` = 'Backup Now!'
WHERE `phrase` = 'backup_now';
UPDATE `language` SET `english` = 'Backup Successfully'
WHERE `phrase` = 'backup_successfully';
UPDATE `language` SET `english` = 'Captcha Word'
WHERE `phrase` = 'captcha';
UPDATE `language` SET `english` = 'Checked By'
WHERE `phrase` = 'checked_by';
UPDATE `language` SET `english` = 'Create'
WHERE `phrase` = 'create';
UPDATE `language` SET `english` = 'Create User Role'
WHERE `phrase` = 'create_user_role';
UPDATE `language` SET `english` = 'Dashboard'
WHERE `phrase` = 'dashboard';
UPDATE `language` SET `english` = 'Database Backup'
WHERE `phrase` = 'database_backup';
UPDATE `language` SET `english` = 'Data Import First'
WHERE `phrase` = 'data_import_first';
UPDATE `language` SET `english` = 'Data Import Successfully!'
WHERE `phrase` = 'data_import_successfully';
UPDATE `language` SET `english` = 'Data Import To Database'
WHERE `phrase` = 'data_import_to_database';
UPDATE `language` SET `english` = 'Data Synchronize'
WHERE `phrase` = 'data_synchronize';
UPDATE `language` SET `english` = 'Data Synchronizer'
WHERE `phrase` = 'data_synchronizer';
UPDATE `language` SET `english` = 'Data Upload to Server'
WHERE `phrase` = 'data_upload_to_server';
UPDATE `language` SET `english` = 'Date'
WHERE `phrase` = 'date';
UPDATE `language` SET `english` = 'Delete'
WHERE `phrase` = 'delete';
UPDATE `language` SET `english` = 'Delete Successfully!'
WHERE `phrase` = 'delete_successfully';
UPDATE `language` SET `english` = 'Delete Successfully!'
WHERE `phrase` = 'delete_successfully';
UPDATE `language` SET `english` = 'Description'
WHERE `phrase` = 'description';
UPDATE `language` SET `english` = 'Module Direcotory'
WHERE `phrase` = 'directory';
UPDATE `language` SET `english` = 'Download'
WHERE `phrase` = 'download';
UPDATE `language` SET `english` = 'Download Data from Server'
WHERE `phrase` = 'download_data_from_server';
UPDATE `language` SET `english` = 'Download Successfully'
WHERE `phrase` = 'download_successfully';
UPDATE `language` SET `english` = 'Email Address'
WHERE `phrase` = 'email';
UPDATE `language` SET `english` = 'Employee'
WHERE `phrase` = 'employee';
UPDATE `language` SET `english` = 'Enquiry'
WHERE `phrase` = 'enquiry';
UPDATE `language` SET `english` = 'Enquiry Information'
WHERE `phrase` = 'enquiry_information';
UPDATE `language` SET `english` = 'Favicon'
WHERE `phrase` = 'favicon';
UPDATE `language` SET `english` = 'File Name'
WHERE `phrase` = 'filename';
UPDATE `language` SET `english` = 'File Information'
WHERE `phrase` = 'file_information';
UPDATE `language` SET `english` = 'First Name'
WHERE `phrase` = 'firstname';
UPDATE `language` SET `english` = 'Footer Text'
WHERE `phrase` = 'footer_text';
UPDATE `language` SET `english` = 'FTP Debug'
WHERE `phrase` = 'ftp_debug';
UPDATE `language` SET `english` = 'FTP Port'
WHERE `phrase` = 'ftp_port';
UPDATE `language` SET `english` = 'Data Synchronize [FTP Setting]'
WHERE `phrase` = 'ftp_setting';
UPDATE `language` SET `english` = 'Home'
WHERE `phrase` = 'home';
UPDATE `language` SET `english` = 'Host Name'
WHERE `phrase` = 'hostname';
UPDATE `language` SET `english` = 'Image'
WHERE `phrase` = 'image';
UPDATE `language` SET `english` = 'Image Upload Successfully!'
WHERE `phrase` = 'image_upload_successfully';
UPDATE `language` SET `english` = 'Inactive'
WHERE `phrase` = 'inactive';
UPDATE `language` SET `english` = 'Inbox'
WHERE `phrase` = 'inbox';
UPDATE `language` SET `english` = 'Inbox Messages'
WHERE `phrase` = 'inbox_message';
UPDATE `language` SET `english` = 'Incoming File'
WHERE `phrase` = 'incoming_file';
UPDATE `language` SET `english` = 'Incorrect Email/Password'
WHERE `phrase` = 'incorrect_email_or_password';
UPDATE `language` SET `english` = 'Install'
WHERE `phrase` = 'install';
UPDATE `language` SET `english` = 'Internet Connection'
WHERE `phrase` = 'internet_connection';
UPDATE `language` SET `english` = 'Invalid File!'
WHERE `phrase` = 'invalid_file';
UPDATE `language` SET `english` = 'Invalid Module'
WHERE `phrase` = 'invalid_module';
UPDATE `language` SET `english` = 'IP Address'
WHERE `phrase` = 'ip_address';
UPDATE `language` SET `english` = 'Is Active'
WHERE `phrase` = 'isactive';
UPDATE `language` SET `english` = 'Language'
WHERE `phrase` = 'language';
UPDATE `language` SET `english` = 'Last Name'
WHERE `phrase` = 'lastname';
UPDATE `language` SET `english` = 'Last Login'
WHERE `phrase` = 'last_login';
UPDATE `language` SET `english` = 'Last Logout'
WHERE `phrase` = 'last_logout';
UPDATE `language` SET `english` = 'Left To Right'
WHERE `phrase` = 'left_to_right';
UPDATE `language` SET `english` = 'List'
WHERE `phrase` = 'list';
UPDATE `language` SET `english` = 'See All Messages'
WHERE `phrase` = 'see_all_message';
UPDATE `language` SET `english` = 'Select Option'
WHERE `phrase` = 'select_option';
UPDATE `language` SET `english` = 'Send'
WHERE `phrase` = 'send';
UPDATE `language` SET `english` = 'Sender Name'
WHERE `phrase` = 'sender_name';
UPDATE `language` SET `english` = 'Sent'
WHERE `phrase` = 'sent';
UPDATE `language` SET `english` = 'Sent Message'
WHERE `phrase` = 'sent_message';
UPDATE `language` SET `english` = 'Set'
WHERE `phrase` = 'set';
UPDATE `language` SET `english` = 'Setting'
WHERE `phrase` = 'setting';
UPDATE `language` SET `english` = 'Application Alignment'
WHERE `phrase` = 'site_align';
UPDATE `language` SET `english` = 'size'
WHERE `phrase` = 'size';
UPDATE `language` SET `english` = 'SL'
WHERE `phrase` = 'sl';
UPDATE `language` SET `english` = 'SL No.'
WHERE `phrase` = 'sl_no';
UPDATE `language` SET `english` = 'Status'
WHERE `phrase` = 'status';
UPDATE `language` SET `english` = 'Store'
WHERE `phrase` = 'store';
UPDATE `language` SET `english` = 'Store Address'
WHERE `phrase` = 'store_address';
UPDATE `language` SET `english` = 'Store Code'
WHERE `phrase` = 'store_code';
UPDATE `language` SET `english` = 'Store Name'
WHERE `phrase` = 'store_name';
UPDATE `language` SET `english` = 'Store Phone'
WHERE `phrase` = 'store_phone';
UPDATE `language` SET `english` = 'Subject'
WHERE `phrase` = 'subject';
UPDATE `language` SET `english` = 'Super Admin'
WHERE `phrase` = 'super_admin';
UPDATE `language` SET `english` = 'Synchronize'
WHERE `phrase` = 'synchronize';
UPDATE `language` SET `english` = 'Tables are not available in database.sql'
WHERE `phrase` = 'tables_are_not_available_in_database';
UPDATE `language` SET `english` = 'Unable to download file! please check configuration'
WHERE `phrase` = 'unable_to_download_file_please_check_configuration';
UPDATE `language` SET `english` = 'Unable to import data! please check configuration / SQL file.'
WHERE `phrase` = 'unable_to_import_data_please_check_config_or_sql_file';
UPDATE `language` SET `english` = 'Unable to upload file! please check configuration'
WHERE `phrase` = 'unable_to_upload_file_please_check_configuration';
INSERT INTO `language` (`phrase`) VALUES ('designation');
INSERT INTO `language` (`phrase`) VALUES ('cardno');
INSERT INTO `language` (`phrase`) VALUES ('department');
UPDATE `language` SET `english` = 'About'
WHERE `phrase` = 'about';
UPDATE `language` SET `english` = 'Action'
WHERE `phrase` = 'action';
UPDATE `language` SET `english` = 'Active'
WHERE `phrase` = 'active';
UPDATE `language` SET `english` = 'Add '
WHERE `phrase` = 'add';
UPDATE `language` SET `english` = 'Address'
WHERE `phrase` = 'address';
UPDATE `language` SET `english` = 'Add Module'
WHERE `phrase` = 'add_module';
UPDATE `language` SET `english` = 'Add Module Permission'
WHERE `phrase` = 'add_module_permission';
UPDATE `language` SET `english` = 'Add Role'
WHERE `phrase` = 'add_role';
UPDATE `language` SET `english` = 'Add Role Permission'
WHERE `phrase` = 'add_role_permission';
UPDATE `language` SET `english` = 'Add Store'
WHERE `phrase` = 'add_store';
UPDATE `language` SET `english` = 'Add User'
WHERE `phrase` = 'add_user';
UPDATE `language` SET `english` = 'Add User Role'
WHERE `phrase` = 'add_user_role';
UPDATE `language` SET `english` = 'Admin'
WHERE `phrase` = 'admin';
UPDATE `language` SET `english` = 'Application Setting'
WHERE `phrase` = 'application_setting';
UPDATE `language` SET `english` = 'Application Title'
WHERE `phrase` = 'application_title';
UPDATE `language` SET `english` = 'Are You Sure ? '
WHERE `phrase` = 'are_you_sure';
UPDATE `language` SET `english` = 'Available'
WHERE `phrase` = 'available';
UPDATE `language` SET `english` = 'Backup and Restore'
WHERE `phrase` = 'backup_and_restore';
UPDATE `language` SET `english` = 'Backup Date'
WHERE `phrase` = 'backup_date';
UPDATE `language` SET `english` = 'Backup Now!'
WHERE `phrase` = 'backup_now';
UPDATE `language` SET `english` = 'Backup Successfully'
WHERE `phrase` = 'backup_successfully';
UPDATE `language` SET `english` = 'Captcha Word'
WHERE `phrase` = 'captcha';
UPDATE `language` SET `english` = 'NID'
WHERE `phrase` = 'cardno';
UPDATE `language` SET `english` = 'Checked By'
WHERE `phrase` = 'checked_by';
UPDATE `language` SET `english` = 'Create'
WHERE `phrase` = 'create';
UPDATE `language` SET `english` = 'Create User Role'
WHERE `phrase` = 'create_user_role';
UPDATE `language` SET `english` = 'Dashboard'
WHERE `phrase` = 'dashboard';
UPDATE `language` SET `english` = 'Database Backup'
WHERE `phrase` = 'database_backup';
UPDATE `language` SET `english` = 'Data Import First'
WHERE `phrase` = 'data_import_first';
UPDATE `language` SET `english` = 'Data Import Successfully!'
WHERE `phrase` = 'data_import_successfully';
UPDATE `language` SET `english` = 'Data Import To Database'
WHERE `phrase` = 'data_import_to_database';
UPDATE `language` SET `english` = 'Data Synchronize'
WHERE `phrase` = 'data_synchronize';
UPDATE `language` SET `english` = 'Data Synchronizer'
WHERE `phrase` = 'data_synchronizer';
UPDATE `language` SET `english` = 'Data Upload to Server'
WHERE `phrase` = 'data_upload_to_server';
UPDATE `language` SET `english` = 'Date'
WHERE `phrase` = 'date';
UPDATE `language` SET `english` = 'Delete'
WHERE `phrase` = 'delete';
UPDATE `language` SET `english` = 'Delete Successfully!'
WHERE `phrase` = 'delete_successfully';
UPDATE `language` SET `english` = 'Delete Successfully!'
WHERE `phrase` = 'delete_successfully';
UPDATE `language` SET `english` = 'Department'
WHERE `phrase` = 'department';
UPDATE `language` SET `english` = 'Description'
WHERE `phrase` = 'description';
UPDATE `language` SET `english` = 'Designation'
WHERE `phrase` = 'designation';
UPDATE `language` SET `english` = 'Module Direcotory'
WHERE `phrase` = 'directory';
UPDATE `language` SET `english` = 'Download'
WHERE `phrase` = 'download';
UPDATE `language` SET `english` = 'Download Data from Server'
WHERE `phrase` = 'download_data_from_server';
UPDATE `language` SET `english` = 'Download Successfully'
WHERE `phrase` = 'download_successfully';
UPDATE `language` SET `english` = 'Email Address'
WHERE `phrase` = 'email';
UPDATE `language` SET `english` = 'Employee'
WHERE `phrase` = 'employee';
UPDATE `language` SET `english` = 'Enquiry'
WHERE `phrase` = 'enquiry';
UPDATE `language` SET `english` = 'Enquiry Information'
WHERE `phrase` = 'enquiry_information';
UPDATE `language` SET `english` = 'Favicon'
WHERE `phrase` = 'favicon';
INSERT INTO `employee` (`id`, `employeeno`, `name`, `store_id`, `designation`, `image`, `CardNo`, `department`, `isactive`) VALUES ('', '', 'teas', 'sdfsad', 'sdfsdf', './application/modules/employee/assets/images/employee/2018-05-10/1.jpg', '345234', 'dsfas', '1');
INSERT INTO `employee` (`id`, `employeeno`, `name`, `store_id`, `designation`, `image`, `CardNo`, `department`, `isactive`) VALUES ('', '', 'sdfa', '23423', '324', './application/modules/employee/assets/images/employee/2018-05-10/a1.jpg', '234', '234', '1');
INSERT INTO `employee` (`id`, `employeeno`, `name`, `store_id`, `designation`, `image`, `CardNo`, `department`, `isactive`) VALUES ('', '', 'sdf', 'sdf', 'sdf', '', '234234', 'dsfasdf', '1');
INSERT INTO `employee` (`id`, `employeeno`, `name`, `store_id`, `designation`, `image`, `CardNo`, `department`, `isactive`) VALUES ('', '', 'sdf', '3432', 'sdf', '', 'sdfsd', 'sdf', '1');
INSERT INTO `employee` (`id`, `employeeno`, `name`, `store_id`, `designation`, `image`, `CardNo`, `department`, `isactive`) VALUES ('', '', 'sdfas', 'sdfasd', '2344', '', 'sdf', 'sdf', '1');
INSERT INTO `employee` (`id`, `employeeno`, `name`, `store_id`, `designation`, `image`, `CardNo`, `department`, `isactive`) VALUES ('', '', 'sdf', 'sdf', 'sdf', './application/modules/employee/assets/images/employee/2018-05-10/12.jpg', '23432', 'sdf', '1');
INSERT INTO `employee` (`id`, `employeeno`, `name`, `store_id`, `designation`, `image`, `CardNo`, `department`, `isactive`) VALUES ('', '', 'sdf', 'sdf', 'sdf', './application/modules/employee/assets/images/employee/2018-05-10/13.jpg', 'sdf', 'sdf', '1');
INSERT INTO `employee` (`id`, `employeeno`, `name`, `store_id`, `designation`, `image`, `CardNo`, `department`, `isactive`) VALUES ('', '', 'sdf', 'dsf', 'sdfs', './application/modules/employee/assets/images/employee/2018-05-10/a3.jpg', '343', 'dsfsd', '1');
INSERT INTO `employee` (`id`, `employeeno`, `name`, `store_id`, `designation`, `image`, `CardNo`, `department`, `isactive`) VALUES ('', NULL, 'sdf', 'sdfsad', 'sdf', './application/modules/employee/assets/images/employee/2018-05-10/15.jpg', '32423', 'dsfasd', '1');
DELETE FROM `employee`
WHERE `id` = '1';
INSERT INTO `employee` (`id`, `employeeno`, `name`, `store_id`, `designation`, `image`, `CardNo`, `department`, `isactive`) VALUES ('', NULL, 'sdf', 'dsfsad', 'sdf', './application/modules/employee/assets/images/employee/2018-05-10/a5.jpg', 'dfa', 'sdf', '1');
INSERT INTO `employee` (`id`, `employeeno`, `name`, `store_id`, `designation`, `image`, `CardNo`, `department`, `isactive`) VALUES ('', NULL, 'sdfs', 'sdfsadf', 'sdf', './application/modules/employee/assets/images/employee/2018-05-10/17.jpg', '3432', 'sdfsadf', '1');
INSERT INTO `employee` (`id`, `employeeno`, `name`, `store_id`, `designation`, `image`, `CardNo`, `department`, `isactive`) VALUES ('', 12412, 'sdfas', 'sdfsd', 'sdf', './application/modules/employee/assets/images/employee/2018-05-10/a7.jpg', '234234', 'sdf', '1');
INSERT INTO `employee` (`id`, `employeeno`, `name`, `store_id`, `designation`, `image`, `CardNo`, `department`, `isactive`) VALUES ('', 12412, 'sdf', '234234', 'sdfs', '', '234234', 'sdfasdf', '1');
INSERT INTO `employee` (`id`, `employeeno`, `name`, `store_id`, `designation`, `image`, `CardNo`, `department`, `isactive`) VALUES ('', 12412, 'sadfasd', 'fsdfasdf', '24234', './application/modules/employee/assets/images/employee/2018-05-10/18.jpg', 'sdfasd', 'sdf', '1');
INSERT INTO `employee` (`id`, `employeeno`, `name`, `store_id`, `designation`, `image`, `CardNo`, `department`, `isactive`) VALUES ('', 112412, 'sdfasdf', 'sdfs', 'sdfsa', '', '32424', '3244', '1');
INSERT INTO `employee` (`id`, `employeeno`, `name`, `store_id`, `designation`, `image`, `CardNo`, `department`, `isactive`) VALUES ('', 'PG8TEPFG', 'sdfsadf', 'sdfasdf', 'sdfasdf', './application/modules/employee/assets/images/employee/2018-05-10/.jpeg', '24234', 'ssdfsa', '1');
DELETE FROM `employee`
WHERE `id` = '12';
UPDATE `employee` SET `id` = '9', `employeeno` = '12412', `name` = 'Test', `store_id` = 'bdtask', `designation` = 'Chairman', `image` = './application/modules/employee/assets/images/employee/2018-05-10/a7.jpg', `CardNo` = '16546156', `department` = 'IT', `isactive` = '1'
WHERE `id` = '9';
UPDATE `employee` SET `id` = '9', `employeeno` = '12412', `name` = 'Test', `store_id` = 'bdtask', `designation` = 'Chairman', `image` = './application/modules/employee/assets/images/employee/2018-05-10/a7.jpg', `CardNo` = '16546156', `department` = 'IT', `isactive` = '0'
WHERE `id` = '9';
UPDATE `employee` SET `id` = '9', `employeeno` = '12412', `name` = 'Test', `store_id` = 'bdtask', `designation` = 'Chairman', `image` = './application/modules/employee/assets/images/employee/2018-05-10/a7.jpg', `CardNo` = '16546156', `department` = 'IT', `isactive` = '1'
WHERE `id` = '9';
INSERT INTO `sec_role` (`id`, `name`, `isactive`, `createby`, `createdate`) VALUES ('', 'a', '1', '2', '2018-05-10 11:47:41');
DELETE FROM `sec_role`
WHERE `id` = '10';
INSERT INTO `sec_role` (`id`, `name`, `isactive`, `createby`, `createdate`) VALUES ('', 'sdfasdf', '1', '2', '2018-05-10 11:54:47');
DELETE FROM `sec_role`
WHERE `id` = '11';
INSERT INTO `sec_role` (`id`, `name`, `isactive`, `createby`, `createdate`) VALUES ('', 'sadfasdfasdf', '1', '2', '2018-05-10 11:56:57');
DELETE FROM `sec_role`
WHERE `id` = '12';
INSERT INTO `sec_role` (`id`, `name`, `isactive`, `createby`, `createdate`) VALUES ('', 'sdafasdf', '1', '2', '2018-05-10 12:00:23');
DELETE FROM `sec_role`
WHERE `id` = '13';
INSERT INTO `sec_role` (`id`, `name`, `isactive`, `createby`, `createdate`) VALUES ('', 'eeee', '1', '2', '2018-05-10 12:02:45');
DELETE FROM `sec_role`
WHERE `id` = '14';
INSERT INTO `sec_role` (`id`, `name`, `isactive`, `createby`, `createdate`) VALUES ('', 'sdfasdf', '1', '2', '2018-05-10 12:03:32');
DELETE FROM `sec_role`
WHERE `id` = '15';
INSERT INTO `sec_role` (`id`, `name`, `isactive`, `createby`, `createdate`) VALUES ('', 'sdfsadf', '1', '2', '2018-05-10 12:03:46');
UPDATE `sec_role` SET `id` = '16', `name` = 'yyyyy', `isactive` = '1', `createby` = '2', `createdate` = '2018-05-10 12:03:53'
WHERE `id` = '16';
DELETE FROM `sec_role`
WHERE `id` = '16';
SET FOREIGN_KEY_CHECKS = 0;
CREATE TABLE IF NOT EXISTS `customer` (
  `customer_id` int(11) NOT NULL AUTO_INCREMENT,
  `customer_code` varchar(10) COLLATE utf8_unicode_ci NOT NULL,
  `store_id` int(11) NOT NULL COMMENT 'This is Store ID',
  `customer_name` varchar(50) COLLATE utf8_unicode_ci NOT NULL,
  `customer_phone` varchar(50) COLLATE utf8_unicode_ci NOT NULL,
  `customer_address` varchar(200) COLLATE utf8_unicode_ci NOT NULL,
  `customer_cnic` varchar(32) COLLATE utf8_unicode_ci NOT NULL,
  `job_designation` varchar(120) COLLATE utf8_unicode_ci NOT NULL,
  `business_address` varchar(200) COLLATE utf8_unicode_ci NOT NULL,
  `createby` varchar(20) COLLATE utf8_unicode_ci NOT NULL,
  `createdate` datetime NOT NULL,
  `updateby` varchar(20) COLLATE utf8_unicode_ci NOT NULL,
  `updatedate` datetime NOT NULL,
  `isactive` tinyint(1) NOT NULL,
  PRIMARY KEY (`customer_id`),
  UNIQUE KEY `customer_code_unique` (`customer_code`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
SET FOREIGN_KEY_CHECKS = 1;
INSERT INTO `module` (`id`, `name`, `description`, `image`, `directory`, `status`) VALUES (NULL, 'Customer Management', 'Customer Information', 'application/modules/customer/assets/images/thumbnail.jpg', 'customer', 1);
INSERT INTO `language` (`phrase`) VALUES ('customer');
UPDATE `language` SET `english` = 'Create User Role'
WHERE `phrase` = 'create_user_role';
UPDATE `language` SET `english` = 'Customer'
WHERE `phrase` = 'customer';
UPDATE `language` SET `english` = 'Dashboard'
WHERE `phrase` = 'dashboard';
UPDATE `language` SET `english` = 'Database Backup'
WHERE `phrase` = 'database_backup';
UPDATE `language` SET `english` = 'Data Import First'
WHERE `phrase` = 'data_import_first';
UPDATE `language` SET `english` = 'Data Import Successfully!'
WHERE `phrase` = 'data_import_successfully';
UPDATE `language` SET `english` = 'Data Import To Database'
WHERE `phrase` = 'data_import_to_database';
UPDATE `language` SET `english` = 'Data Synchronize'
WHERE `phrase` = 'data_synchronize';
UPDATE `language` SET `english` = 'Data Synchronizer'
WHERE `phrase` = 'data_synchronizer';
UPDATE `language` SET `english` = 'Data Upload to Server'
WHERE `phrase` = 'data_upload_to_server';
UPDATE `language` SET `english` = 'Date'
WHERE `phrase` = 'date';
UPDATE `language` SET `english` = 'Delete'
WHERE `phrase` = 'delete';
UPDATE `language` SET `english` = 'Delete Successfully!'
WHERE `phrase` = 'delete_successfully';
UPDATE `language` SET `english` = 'Delete Successfully!'
WHERE `phrase` = 'delete_successfully';
UPDATE `language` SET `english` = 'Department'
WHERE `phrase` = 'department';
UPDATE `language` SET `english` = 'Description'
WHERE `phrase` = 'description';
UPDATE `language` SET `english` = 'Designation'
WHERE `phrase` = 'designation';
UPDATE `language` SET `english` = 'Module Direcotory'
WHERE `phrase` = 'directory';
UPDATE `language` SET `english` = 'Download'
WHERE `phrase` = 'download';
UPDATE `language` SET `english` = 'Download Data from Server'
WHERE `phrase` = 'download_data_from_server';
UPDATE `language` SET `english` = 'Download Successfully'
WHERE `phrase` = 'download_successfully';
UPDATE `language` SET `english` = 'Email Address'
WHERE `phrase` = 'email';
UPDATE `language` SET `english` = 'Employee'
WHERE `phrase` = 'employee';
UPDATE `language` SET `english` = 'Enquiry'
WHERE `phrase` = 'enquiry';
UPDATE `language` SET `english` = 'Enquiry Information'
WHERE `phrase` = 'enquiry_information';
INSERT INTO `language` (`phrase`) VALUES ('customer_code');
INSERT INTO `language` (`phrase`) VALUES ('customer_name');
UPDATE `language` SET `english` = 'Create User Role'
WHERE `phrase` = 'create_user_role';
UPDATE `language` SET `english` = 'Customer'
WHERE `phrase` = 'customer';
UPDATE `language` SET `english` = 'Customer Code'
WHERE `phrase` = 'customer_code';
UPDATE `language` SET `english` = 'Customer Name'
WHERE `phrase` = 'customer_name';
UPDATE `language` SET `english` = 'Dashboard'
WHERE `phrase` = 'dashboard';
UPDATE `language` SET `english` = 'Database Backup'
WHERE `phrase` = 'database_backup';
UPDATE `language` SET `english` = 'Data Import First'
WHERE `phrase` = 'data_import_first';
UPDATE `language` SET `english` = 'Data Import Successfully!'
WHERE `phrase` = 'data_import_successfully';
UPDATE `language` SET `english` = 'Data Import To Database'
WHERE `phrase` = 'data_import_to_database';
UPDATE `language` SET `english` = 'Data Synchronize'
WHERE `phrase` = 'data_synchronize';
UPDATE `language` SET `english` = 'Data Synchronizer'
WHERE `phrase` = 'data_synchronizer';
UPDATE `language` SET `english` = 'Data Upload to Server'
WHERE `phrase` = 'data_upload_to_server';
UPDATE `language` SET `english` = 'Date'
WHERE `phrase` = 'date';
UPDATE `language` SET `english` = 'Delete'
WHERE `phrase` = 'delete';
UPDATE `language` SET `english` = 'Delete Successfully!'
WHERE `phrase` = 'delete_successfully';
UPDATE `language` SET `english` = 'Delete Successfully!'
WHERE `phrase` = 'delete_successfully';
UPDATE `language` SET `english` = 'Department'
WHERE `phrase` = 'department';
UPDATE `language` SET `english` = 'Description'
WHERE `phrase` = 'description';
UPDATE `language` SET `english` = 'Designation'
WHERE `phrase` = 'designation';
UPDATE `language` SET `english` = 'Module Direcotory'
WHERE `phrase` = 'directory';
UPDATE `language` SET `english` = 'Download'
WHERE `phrase` = 'download';
UPDATE `language` SET `english` = 'Download Data from Server'
WHERE `phrase` = 'download_data_from_server';
UPDATE `language` SET `english` = 'Download Successfully'
WHERE `phrase` = 'download_successfully';
UPDATE `language` SET `english` = 'Email Address'
WHERE `phrase` = 'email';
UPDATE `language` SET `english` = 'Employee'
WHERE `phrase` = 'employee';
INSERT INTO `language` (`phrase`) VALUES ('business_address');
INSERT INTO `language` (`phrase`) VALUES ('customer_cnic');
UPDATE `language` SET `english` = 'Create'
WHERE `phrase` = 'create';
UPDATE `language` SET `english` = 'Create User Role'
WHERE `phrase` = 'create_user_role';
UPDATE `language` SET `english` = 'Customer'
WHERE `phrase` = 'customer';
UPDATE `language` SET `english` = 'Customer CNC'
WHERE `phrase` = 'customer_cnic';
UPDATE `language` SET `english` = 'Customer Code'
WHERE `phrase` = 'customer_code';
UPDATE `language` SET `english` = 'Customer Name'
WHERE `phrase` = 'customer_name';
UPDATE `language` SET `english` = 'Dashboard'
WHERE `phrase` = 'dashboard';
UPDATE `language` SET `english` = 'Database Backup'
WHERE `phrase` = 'database_backup';
UPDATE `language` SET `english` = 'Data Import First'
WHERE `phrase` = 'data_import_first';
UPDATE `language` SET `english` = 'Data Import Successfully!'
WHERE `phrase` = 'data_import_successfully';
UPDATE `language` SET `english` = 'Data Import To Database'
WHERE `phrase` = 'data_import_to_database';
UPDATE `language` SET `english` = 'Data Synchronize'
WHERE `phrase` = 'data_synchronize';
UPDATE `language` SET `english` = 'Data Synchronizer'
WHERE `phrase` = 'data_synchronizer';
UPDATE `language` SET `english` = 'Data Upload to Server'
WHERE `phrase` = 'data_upload_to_server';
UPDATE `language` SET `english` = 'Date'
WHERE `phrase` = 'date';
UPDATE `language` SET `english` = 'Delete'
WHERE `phrase` = 'delete';
UPDATE `language` SET `english` = 'Delete Successfully!'
WHERE `phrase` = 'delete_successfully';
UPDATE `language` SET `english` = 'Delete Successfully!'
WHERE `phrase` = 'delete_successfully';
UPDATE `language` SET `english` = 'Department'
WHERE `phrase` = 'department';
UPDATE `language` SET `english` = 'Description'
WHERE `phrase` = 'description';
UPDATE `language` SET `english` = 'Designation'
WHERE `phrase` = 'designation';
UPDATE `language` SET `english` = 'Module Direcotory'
WHERE `phrase` = 'directory';
UPDATE `language` SET `english` = 'Download'
WHERE `phrase` = 'download';
UPDATE `language` SET `english` = 'Download Data from Server'
WHERE `phrase` = 'download_data_from_server';
UPDATE `language` SET `english` = 'Download Successfully'
WHERE `phrase` = 'download_successfully';
UPDATE `language` SET `english` = 'About'
WHERE `phrase` = 'about';
UPDATE `language` SET `english` = 'Action'
WHERE `phrase` = 'action';
UPDATE `language` SET `english` = 'Active'
WHERE `phrase` = 'active';
UPDATE `language` SET `english` = 'Add '
WHERE `phrase` = 'add';
UPDATE `language` SET `english` = 'Address'
WHERE `phrase` = 'address';
UPDATE `language` SET `english` = 'Add Module'
WHERE `phrase` = 'add_module';
UPDATE `language` SET `english` = 'Add Module Permission'
WHERE `phrase` = 'add_module_permission';
UPDATE `language` SET `english` = 'Add Role'
WHERE `phrase` = 'add_role';
UPDATE `language` SET `english` = 'Add Role Permission'
WHERE `phrase` = 'add_role_permission';
UPDATE `language` SET `english` = 'Add Store'
WHERE `phrase` = 'add_store';
UPDATE `language` SET `english` = 'Add User'
WHERE `phrase` = 'add_user';
UPDATE `language` SET `english` = 'Add User Role'
WHERE `phrase` = 'add_user_role';
UPDATE `language` SET `english` = 'Admin'
WHERE `phrase` = 'admin';
UPDATE `language` SET `english` = 'Application Setting'
WHERE `phrase` = 'application_setting';
UPDATE `language` SET `english` = 'Application Title'
WHERE `phrase` = 'application_title';
UPDATE `language` SET `english` = 'Are You Sure ? '
WHERE `phrase` = 'are_you_sure';
UPDATE `language` SET `english` = 'Available'
WHERE `phrase` = 'available';
UPDATE `language` SET `english` = 'Backup and Restore'
WHERE `phrase` = 'backup_and_restore';
UPDATE `language` SET `english` = 'Backup Date'
WHERE `phrase` = 'backup_date';
UPDATE `language` SET `english` = 'Backup Now!'
WHERE `phrase` = 'backup_now';
UPDATE `language` SET `english` = 'Backup Successfully'
WHERE `phrase` = 'backup_successfully';
UPDATE `language` SET `english` = 'Business Address'
WHERE `phrase` = 'business_address';
UPDATE `language` SET `english` = 'Captcha Word'
WHERE `phrase` = 'captcha';
UPDATE `language` SET `english` = 'NID'
WHERE `phrase` = 'cardno';
UPDATE `language` SET `english` = 'Checked By'
WHERE `phrase` = 'checked_by';
INSERT INTO `customer` (`customer_id`, `customer_code`, `customer_name`, `customer_phone`, `store_id`, `job_designation`, `customer_address`, `customer_cnic`, `business_address`, `isactive`) VALUES ('', '12354', 'Alamin', '324234', 'Mohammadpur store', 'rrr', 'dfgdsg', 'dfgdf', 'gdfgsdfg', '1');
UPDATE `customer` SET `customer_id` = '1', `customer_code` = '12354', `customer_name` = 'Alamin', `customer_phone` = '324234', `store_id` = '2', `job_designation` = 'rrr', `customer_address` = 'dfgdsg', `customer_cnic` = 'dfgdf', `business_address` = 'gdfgsdfg', `isactive` = '1'
WHERE `customer_id` = '1';
UPDATE `customer` SET `customer_id` = '1', `isactive` = 0
WHERE `customer_id` = '1';
UPDATE `customer` SET `customer_id` = '1', `isactive` = 1
WHERE `customer_id` = '1';
UPDATE `employee` SET `customer_id` = '13', `isactive` = 0
WHERE `id` IS NULL;
UPDATE `employee` SET `id` = '13', `isactive` = 0
WHERE `id` = '13';
UPDATE `employee` SET `id` = '13', `isactive` = 1
WHERE `id` = '13';
UPDATE `employee` SET `id` = '13', `isactive` = 0
WHERE `id` = '13';
UPDATE `employee` SET `id` = '13', `isactive` = 1
WHERE `id` = '13';
DELETE FROM `role_permission`
WHERE `role_id` = '9';
INSERT INTO `role_permission` (`create`, `delete`, `fk_module_id`, `read`, `role_id`, `update`) VALUES ('1','1','3','1','9','1'), (0,0,'4',0,'9',0), ('1','1','5','1','9','1'), (0,0,'6',0,'9',0);
INSERT INTO `user` (`id`, `firstname`, `lastname`, `email`, `password`, `about`, `store_id`, `user_types`, `image`, `last_login`, `last_logout`, `ip_address`, `status`, `is_admin`) VALUES ('', 'jakir', 'a', 'jakir@gmail.com', '202cb962ac59075b964b07152d234b70', 'sdfsdf', '2', '0', './assets/img/user/45d12880620b7f674818da95b41075f2.png', NULL, NULL, NULL, '1', 0);
INSERT INTO `sec_userrole` (`id`, `user_id`, `roleid`, `createby`, `createdate`) VALUES ('', '18', '9', '2', '2018-05-10 03:31:11');
UPDATE `user` SET `last_logout` = '2018-05-10 15:31:39'
WHERE `id` = '2';
UPDATE `user` SET `last_login` = '2018-05-10 15:32:39', `ip_address` = '::1'
WHERE `id` = '2';
UPDATE `user` SET `last_logout` = '2018-05-10 15:35:46'
WHERE `id` = '2';
UPDATE `user` SET `last_login` = '2018-05-10 15:36:17', `ip_address` = '::1'
WHERE `id` = '18';
UPDATE `user` SET `last_logout` = '2018-05-10 15:36:48'
WHERE `id` = '18';
UPDATE `user` SET `last_login` = '2018-05-10 15:36:57', `ip_address` = '::1'
WHERE `id` = '2';
UPDATE `sec_role` SET `id` = '9', `isactive` = 0
WHERE `id` = '9';
UPDATE `user` SET `last_logout` = '2018-05-10 15:37:45'
WHERE `id` = '2';
UPDATE `user` SET `last_login` = '2018-05-10 15:38:18', `ip_address` = '::1'
WHERE `id` = '18';
UPDATE `user` SET `last_logout` = '2018-05-10 15:38:28'
WHERE `id` = '18';
UPDATE `user` SET `last_login` = '2018-05-10 15:38:45', `ip_address` = '::1'
WHERE `id` = '2';
UPDATE `sec_role` SET `id` = '9', `isactive` = 1
WHERE `id` = '9';
UPDATE `user` SET `last_logout` = '2018-05-10 15:39:02'
WHERE `id` = '2';
UPDATE `user` SET `last_login` = '2018-05-10 15:39:16', `ip_address` = '::1'
WHERE `id` = '18';
UPDATE `user` SET `last_logout` = '2018-05-10 15:40:03'
WHERE `id` = '18';
UPDATE `user` SET `last_login` = '2018-05-10 15:40:10', `ip_address` = '::1'
WHERE `id` = '2';
UPDATE `user` SET `last_login` = '2018-05-12 06:06:57', `ip_address` = '::1'
WHERE `id` = '2';
UPDATE `user` SET `last_logout` = '2018-05-12 06:08:57'
WHERE `id` = '2';
UPDATE `user` SET `last_login` = '2018-05-12 06:09:05', `ip_address` = '::1'
WHERE `id` = '2';
UPDATE `user` SET `last_logout` = '2018-05-12 06:09:10'
WHERE `id` = '2';
UPDATE `user` SET `last_login` = '2018-05-12 06:09:25', `ip_address` = '::1'
WHERE `id` = '7';
UPDATE `user` SET `last_logout` = '2018-05-12 06:09:34'
WHERE `id` = '7';
UPDATE `user` SET `last_login` = '2018-05-12 06:13:32', `ip_address` = '::1'
WHERE `id` = '2';
UPDATE `user` SET `last_logout` = '2018-05-12 06:13:39'
WHERE `id` = '2';
UPDATE `user` SET `last_login` = '2018-05-12 06:13:53', `ip_address` = '::1'
WHERE `id` = '2';
UPDATE `user` SET `last_logout` = '2018-05-12 06:15:02'
WHERE `id` = '2';
UPDATE `user` SET `last_login` = '2018-05-12 06:15:10', `ip_address` = '::1'
WHERE `id` = '2';
UPDATE `user` SET `last_logout` = '2018-05-12 06:15:26'
WHERE `id` = '2';
UPDATE `user` SET `last_login` = '2018-05-12 06:15:54', `ip_address` = '::1'
WHERE `id` = '7';
UPDATE `user` SET `last_logout` = '2018-05-12 06:16:05'
WHERE `id` = '7';
UPDATE `user` SET `last_login` = '2018-05-12 06:16:15', `ip_address` = '::1'
WHERE `id` = '2';
INSERT INTO `user` (`id`, `firstname`, `lastname`, `email`, `password`, `about`, `store_id`, `is_admin`, `image`, `last_login`, `last_logout`, `ip_address`, `status`) VALUES ('', 'kamrul', 'Hasan', 'kamrul@gmail.com', '202cb962ac59075b964b07152d234b70', 'sdfsdf', '2', '0', './assets/img/user/2b6dcc22ad0f3aec8a67a247daee9e40.jpg', NULL, NULL, NULL, '1');
INSERT INTO `sec_userrole` (`id`, `user_id`, `roleid`, `createby`, `createdate`) VALUES ('', '19', '9', '2', '2018-05-12 06:20:02');
DELETE FROM `sec_userrole`
WHERE `id` = '11';
INSERT INTO `sec_userrole` (`id`, `user_id`, `roleid`, `createby`, `createdate`) VALUES ('', '19', '9', '2', '2018-05-12 06:21:21');
UPDATE `user` SET `last_logout` = '2018-05-12 06:24:02'
WHERE `id` = '2';
UPDATE `user` SET `last_login` = '2018-05-12 06:24:17', `ip_address` = '::1'
WHERE `id` = '19';
UPDATE `user` SET `last_logout` = '2018-05-12 06:24:28'
WHERE `id` = '19';
UPDATE `user` SET `last_login` = '2018-05-12 06:24:36', `ip_address` = '::1'
WHERE `id` = '2';
INSERT INTO `language` (`phrase`) VALUES ('product_name');
INSERT INTO `language` (`phrase`) VALUES ('product_category');
INSERT INTO `language` (`phrase`) VALUES ('product');
INSERT INTO `language` (`phrase`) VALUES ('product_details');
INSERT INTO `language` (`phrase`) VALUES ('price');
UPDATE `language` SET `english` = 'New Message'
WHERE `phrase` = 'new_message';
UPDATE `language` SET `english` = 'Not Available'
WHERE `phrase` = 'not_available';
UPDATE `language` SET `english` = 'No tables are registerd in config.php'
WHERE `phrase` = 'no_tables_are_registered_in_config';
UPDATE `language` SET `english` = 'Ok'
WHERE `phrase` = 'ok';
UPDATE `language` SET `english` = ' Ooops something went wrong...'
WHERE `phrase` = 'ooops_something_went_wrong';
UPDATE `language` SET `english` = 'Outgoing File'
WHERE `phrase` = 'outgoing_file';
UPDATE `language` SET `english` = 'Overwrite'
WHERE `phrase` = 'overwrite';
UPDATE `language` SET `english` = 'Password'
WHERE `phrase` = 'password';
UPDATE `language` SET `english` = 'You Have No Permission'
WHERE `phrase` = 'permission_error';
UPDATE `language` SET `english` = 'Phone'
WHERE `phrase` = 'phone';
UPDATE `language` SET `english` = 'Please configure synchronizer settings'
WHERE `phrase` = 'please_configure_synchronizer_settings';
UPDATE `language` SET `english` = 'Please Contact With Admin'
WHERE `phrase` = 'please_contact_with_admin';
UPDATE `language` SET `english` = 'Please Try Again...'
WHERE `phrase` = 'please_try_again';
UPDATE `language` SET `english` = 'Please Wait...'
WHERE `phrase` = 'please_wait';
UPDATE `language` SET `english` = 'Preview'
WHERE `phrase` = 'preview';
UPDATE `language` SET `english` = 'Price'
WHERE `phrase` = 'price';
UPDATE `language` SET `english` = 'Product'
WHERE `phrase` = 'product';
UPDATE `language` SET `english` = 'Product Category'
WHERE `phrase` = 'product_category';
UPDATE `language` SET `english` = 'Product Details'
WHERE `phrase` = 'product_details';
UPDATE `language` SET `english` = 'Product Name'
WHERE `phrase` = 'product_name';
UPDATE `language` SET `english` = 'Profile'
WHERE `phrase` = 'profile';
UPDATE `language` SET `english` = 'Profile Setting'
WHERE `phrase` = 'profile_setting';
UPDATE `language` SET `english` = 'Project Root'
WHERE `phrase` = 'project_root';
UPDATE `language` SET `english` = 'Read'
WHERE `phrase` = 'read';
UPDATE `language` SET `english` = 'Read/Unread'
WHERE `phrase` = 'read_unread';
UPDATE `user` SET `last_logout` = '2018-05-12 07:39:30'
WHERE `id` = '2';
UPDATE `user` SET `last_login` = '2018-05-12 07:39:40', `ip_address` = '::1'
WHERE `id` = '2';
SET FOREIGN_KEY_CHECKS = 0;
CREATE TABLE IF NOT EXISTS `product` (
  `product_id` bigint(20) NOT NULL AUTO_INCREMENT,
  `category_id` int(11) NOT NULL,
  `product_name` varchar(200) COLLATE utf8_unicode_ci NOT NULL,
  `product_details` varchar(250) COLLATE utf8_unicode_ci NOT NULL,
  `isactive` tinyint(1) NOT NULL,
  `price` float NOT NULL,
  `createby` varchar(20) COLLATE utf8_unicode_ci NOT NULL,
  `createdate` datetime NOT NULL,
  `updateby` varchar(20) COLLATE utf8_unicode_ci NOT NULL,
  `updatedate` datetime NOT NULL,
  PRIMARY KEY (`product_id`),
  KEY `fk_category_id` (`category_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
SET FOREIGN_KEY_CHECKS = 1;
INSERT INTO `module` (`id`, `name`, `description`, `image`, `directory`, `status`) VALUES (NULL, 'Product Management', 'Product Information', 'application/modules/product/assets/images/thumbnail.jpg', 'product', 1);
INSERT INTO `product` (`product_id`, `product_name`, `product_details`, `category_id`, `price`, `createby`, `createdate`, `updateby`, `updatedate`, `isactive`) VALUES ('', 'Test Product', 'sadfsadf', 'Test Category', '20', '2', '2018-05-12 07:50:17', '', '', 1);
UPDATE `product` SET `product_id` = '1', `isactive` = 0
WHERE `product_id` = '1';
UPDATE `product` SET `product_id` = '1', `product_name` = 'Test Product', `product_details` = 'this is test', `category_id` = '1', `price` = '20', `createby` = '2', `createdate` = '2018-05-12 08:12:21', `updateby` = '2', `updatedate` = '2018-05-12 08:12:21', `isactive` = 1
WHERE `product_id` = '1';
UPDATE `product` SET `product_id` = '1', `isactive` = 0
WHERE `product_id` = '1';
UPDATE `product` SET `product_id` = '1', `isactive` = 1
WHERE `product_id` = '1';
INSERT INTO `language` (`phrase`) VALUES ('category');
INSERT INTO `language` (`phrase`) VALUES ('category_name');
UPDATE `language` SET `english` = 'About'
WHERE `phrase` = 'about';
UPDATE `language` SET `english` = 'Action'
WHERE `phrase` = 'action';
UPDATE `language` SET `english` = 'Active'
WHERE `phrase` = 'active';
UPDATE `language` SET `english` = 'Add '
WHERE `phrase` = 'add';
UPDATE `language` SET `english` = 'Address'
WHERE `phrase` = 'address';
UPDATE `language` SET `english` = 'Add Module'
WHERE `phrase` = 'add_module';
UPDATE `language` SET `english` = 'Add Module Permission'
WHERE `phrase` = 'add_module_permission';
UPDATE `language` SET `english` = 'Add Role'
WHERE `phrase` = 'add_role';
UPDATE `language` SET `english` = 'Add Role Permission'
WHERE `phrase` = 'add_role_permission';
UPDATE `language` SET `english` = 'Add Store'
WHERE `phrase` = 'add_store';
UPDATE `language` SET `english` = 'Add User'
WHERE `phrase` = 'add_user';
UPDATE `language` SET `english` = 'Add User Role'
WHERE `phrase` = 'add_user_role';
UPDATE `language` SET `english` = 'Admin'
WHERE `phrase` = 'admin';
UPDATE `language` SET `english` = 'Application Setting'
WHERE `phrase` = 'application_setting';
UPDATE `language` SET `english` = 'Application Title'
WHERE `phrase` = 'application_title';
UPDATE `language` SET `english` = 'Are You Sure ? '
WHERE `phrase` = 'are_you_sure';
UPDATE `language` SET `english` = 'Available'
WHERE `phrase` = 'available';
UPDATE `language` SET `english` = 'Backup and Restore'
WHERE `phrase` = 'backup_and_restore';
UPDATE `language` SET `english` = 'Backup Date'
WHERE `phrase` = 'backup_date';
UPDATE `language` SET `english` = 'Backup Now!'
WHERE `phrase` = 'backup_now';
UPDATE `language` SET `english` = 'Backup Successfully'
WHERE `phrase` = 'backup_successfully';
UPDATE `language` SET `english` = 'Business Address'
WHERE `phrase` = 'business_address';
UPDATE `language` SET `english` = 'Captcha Word'
WHERE `phrase` = 'captcha';
UPDATE `language` SET `english` = 'NID'
WHERE `phrase` = 'cardno';
UPDATE `language` SET `english` = 'Category'
WHERE `phrase` = 'category';
UPDATE `language` SET `english` = 'Category Name'
WHERE `phrase` = 'category_name';
UPDATE `language` SET `english` = 'Checked By'
WHERE `phrase` = 'checked_by';
UPDATE `language` SET `english` = 'Create'
WHERE `phrase` = 'create';
UPDATE `language` SET `english` = 'Create User Role'
WHERE `phrase` = 'create_user_role';
UPDATE `language` SET `english` = 'Customer'
WHERE `phrase` = 'customer';
UPDATE `language` SET `english` = 'Customer CNC'
WHERE `phrase` = 'customer_cnic';
UPDATE `language` SET `english` = 'Customer Code'
WHERE `phrase` = 'customer_code';
UPDATE `language` SET `english` = 'Customer Name'
WHERE `phrase` = 'customer_name';
UPDATE `language` SET `english` = 'Dashboard'
WHERE `phrase` = 'dashboard';
UPDATE `language` SET `english` = 'Database Backup'
WHERE `phrase` = 'database_backup';
UPDATE `language` SET `english` = 'Data Import First'
WHERE `phrase` = 'data_import_first';
UPDATE `language` SET `english` = 'Data Import Successfully!'
WHERE `phrase` = 'data_import_successfully';
UPDATE `language` SET `english` = 'Data Import To Database'
WHERE `phrase` = 'data_import_to_database';
UPDATE `language` SET `english` = 'Data Synchronize'
WHERE `phrase` = 'data_synchronize';
UPDATE `language` SET `english` = 'Data Synchronizer'
WHERE `phrase` = 'data_synchronizer';
UPDATE `language` SET `english` = 'Data Upload to Server'
WHERE `phrase` = 'data_upload_to_server';
UPDATE `language` SET `english` = 'Date'
WHERE `phrase` = 'date';
UPDATE `language` SET `english` = 'Delete'
WHERE `phrase` = 'delete';
UPDATE `language` SET `english` = 'Delete Successfully!'
WHERE `phrase` = 'delete_successfully';
UPDATE `language` SET `english` = 'Delete Successfully!'
WHERE `phrase` = 'delete_successfully';
UPDATE `language` SET `english` = 'Department'
WHERE `phrase` = 'department';
UPDATE `language` SET `english` = 'Description'
WHERE `phrase` = 'description';
UPDATE `language` SET `english` = 'Designation'
WHERE `phrase` = 'designation';
UPDATE `language` SET `english` = 'Module Direcotory'
WHERE `phrase` = 'directory';
UPDATE `language` SET `english` = 'Download'
WHERE `phrase` = 'download';
SET FOREIGN_KEY_CHECKS = 0;
CREATE TABLE IF NOT EXISTS `product_category` (
  `category_id` int(11) NOT NULL AUTO_INCREMENT,
  `category_name` varchar(200) COLLATE utf8_unicode_ci NOT NULL,
  `is_active` tinyint(1) NOT NULL,
  `createby` varchar(20) COLLATE utf8_unicode_ci NOT NULL,
  `createdate` datetime NOT NULL,
  `updateby` varchar(20) COLLATE utf8_unicode_ci NOT NULL,
  `updatedate` datetime NOT NULL,
  PRIMARY KEY (`category_id`),
  UNIQUE KEY `category_name_unique` (`category_name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
SET FOREIGN_KEY_CHECKS = 1;
INSERT INTO `module` (`id`, `name`, `description`, `image`, `directory`, `status`) VALUES (NULL, 'category Management', 'category Information', 'application/modules/category/assets/images/thumbnail.jpg', 'category', 1);
INSERT INTO `category` (`category_id`, `category_name`, `createby`, `createdate`, `updateby`, `updatedate`, `is_active`) VALUES ('', 'Test Category', '2', '2018-05-12 08:40:31', '', '', 1);
INSERT INTO `category` (`category_id`, `category_name`, `createby`, `createdate`, `updateby`, `updatedate`, `is_active`) VALUES ('', 'sdfasdf', '2', '2018-05-12 08:42:16', '', '', 1);
INSERT INTO `product_category` (`category_id`, `category_name`, `createby`, `createdate`, `updateby`, `updatedate`, `is_active`) VALUES ('', 'Test Ca', '2', '2018-05-12 08:43:25', '', '', 1);
UPDATE `product_category` SET `category_id` = '1', `isactive` = 1
WHERE `category_id` = '1';
UPDATE `product_category` SET `category_id` = '1', `isactive` = 1
WHERE `category_id` = '1';
UPDATE `product_category` SET `category_id` = '1', `isactive` = 1
WHERE `category_id` = '1';
UPDATE `product_category` SET `category_id` = '1', `is_active` = 1
WHERE `category_id` = '1';
UPDATE `product_category` SET `category_id` = '1', `is_active` = 1
WHERE `category_id` = '1';
UPDATE `product_category` SET `category_id` = '1', `is_active` = 0
WHERE `category_id` = '1';
UPDATE `product_category` SET `category_id` = '1', `category_name` = 'Test Category', `createby` = '2', `createdate` = '2018-05-12 08:45:04', `updateby` = '2', `updatedate` = '2018-05-12 08:45:04', `is_active` = 1
WHERE `category_id` = '1';
INSERT INTO `product` (`product_id`, `product_name`, `product_details`, `category_id`, `price`, `createby`, `createdate`, `updateby`, `updatedate`, `isactive`) VALUES ('', 'Second product', 'sdfsdf', '1', '223', '2', '2018-05-12 08:53:00', '', '', 1);
INSERT INTO `product_category` (`category_id`, `category_name`, `createby`, `createdate`, `updateby`, `updatedate`, `is_active`) VALUES ('', 'Second Category', '2', '2018-05-12 08:53:19', '', '', 1);
UPDATE `product` SET `product_id` = '2', `product_name` = 'Second product', `product_details` = 'sdfsdf', `category_id` = '2', `price` = '223', `createby` = '2', `createdate` = '2018-05-12 08:53:37', `updateby` = '2', `updatedate` = '2018-05-12 08:53:37', `isactive` = 1
WHERE `product_id` = '2';
UPDATE `product_category` SET `category_id` = '1', `is_active` = 0
WHERE `category_id` = '1';
UPDATE `product_category` SET `category_id` = '1', `is_active` = 1
WHERE `category_id` = '1';
DELETE FROM `product_category`
WHERE `category_id` = '1';
INSERT INTO `employee` (`id`, `employeeno`, `name`, `store_id`, `designation`, `image`, `CardNo`, `department`, `isactive`, `createby`, `createdate`, `updateby`, `updatedate`) VALUES ('', 'P3Q0LHJ4', 'S.M Malek', 'Test Store', 'Keeper', './application/modules/employee/assets/images/employee/2018-05-12/2.jpg', '234234', 'sdafasd', '1', '2', '2018-05-12 09:04:13', '', '');
UPDATE `employee` SET `id` = '14', `employeeno` = 'P3Q0LHJ4', `name` = 'S.M Malek', `store_id` = 'Test Store', `designation` = 'Keeper', `image` = './application/modules/employee/assets/images/employee/2018-05-12/2.jpg', `CardNo` = '2342343444', `department` = 'sdafasd', `isactive` = '1', `createby` = '2', `createdate` = '2018-05-12 09:04:53', `updateby` = '2', `updatedate` = '2018-05-12 09:04:53'
WHERE `id` = '14';
UPDATE `employee` SET `id` = '14', `employeeno` = 'P3Q0LHJ4', `name` = 'S.M Malek', `store_id` = '2', `designation` = 'Keeper', `image` = './application/modules/employee/assets/images/employee/2018-05-12/2.jpg', `CardNo` = '2342343444', `department` = 'sdafasd', `isactive` = '1', `createby` = '2', `createdate` = '2018-05-12 09:12:24', `updateby` = '2', `updatedate` = '2018-05-12 09:12:24'
WHERE `id` = '14';
UPDATE `employee` SET `id` = '13', `employeeno` = 'PG8TEPFG', `name` = 'sdfsadf', `store_id` = '2', `designation` = 'sdfsdf', `image` = './application/modules/employee/assets/images/employee/2018-05-10/.jpeg', `CardNo` = '24234', `department` = 'sdf', `isactive` = '1', `createby` = '2', `createdate` = '2018-05-12 09:12:49', `updateby` = '2', `updatedate` = '2018-05-12 09:12:49'
WHERE `id` = '13';
UPDATE `employee` SET `id` = '9', `employeeno` = '12412', `name` = 'Test', `store_id` = '2', `designation` = 'Chairman', `image` = './application/modules/employee/assets/images/employee/2018-05-10/a7.jpg', `CardNo` = '16546156', `department` = 'IT', `isactive` = '1', `createby` = '2', `createdate` = '2018-05-12 09:13:02', `updateby` = '2', `updatedate` = '2018-05-12 09:13:02'
WHERE `id` = '9';
SET FOREIGN_KEY_CHECKS = 0;
CREATE TABLE IF NOT EXISTS `supplier` (
  `supplier_id` int(11) NOT NULL AUTO_INCREMENT,
  `supplier_name` varchar(200) COLLATE utf8_unicode_ci NOT NULL,
  `address` varchar(150) COLLATE utf8_unicode_ci NOT NULL,
  `phone` varchar(100) COLLATE utf8_unicode_ci NOT NULL,
  `email` varchar(50) COLLATE utf8_unicode_ci NOT NULL,
  `isactive` tinyint(1) NOT NULL,
  `createby` int(11) NOT NULL,
  `createdate` datetime NOT NULL,
  `updateby` int(11) NOT NULL,
  `updatedate` datetime NOT NULL,
  PRIMARY KEY (`supplier_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
SET FOREIGN_KEY_CHECKS = 1;
INSERT INTO `module` (`id`, `name`, `description`, `image`, `directory`, `status`) VALUES (NULL, 'supplier Management', 'supplier Information', 'application/modules/supplier/assets/images/thumbnail.jpg', 'supplier', 1);
INSERT INTO `language` (`phrase`) VALUES ('supplier');
INSERT INTO `language` (`phrase`) VALUES ('suppliser_name');
UPDATE `language` SET `english` = 'SL'
WHERE `phrase` = 'sl';
UPDATE `language` SET `english` = 'SL No.'
WHERE `phrase` = 'sl_no';
UPDATE `language` SET `english` = 'Status'
WHERE `phrase` = 'status';
UPDATE `language` SET `english` = 'Store'
WHERE `phrase` = 'store';
UPDATE `language` SET `english` = 'Store Address'
WHERE `phrase` = 'store_address';
UPDATE `language` SET `english` = 'Store Code'
WHERE `phrase` = 'store_code';
UPDATE `language` SET `english` = 'Store Name'
WHERE `phrase` = 'store_name';
UPDATE `language` SET `english` = 'Store Phone'
WHERE `phrase` = 'store_phone';
UPDATE `language` SET `english` = 'Subject'
WHERE `phrase` = 'subject';
UPDATE `language` SET `english` = 'Super Admin'
WHERE `phrase` = 'super_admin';
UPDATE `language` SET `english` = 'Supplier'
WHERE `phrase` = 'supplier';
UPDATE `language` SET `english` = 'Supplier Name'
WHERE `phrase` = 'suppliser_name';
UPDATE `language` SET `english` = 'Synchronize'
WHERE `phrase` = 'synchronize';
UPDATE `language` SET `english` = 'Tables are not available in database.sql'
WHERE `phrase` = 'tables_are_not_available_in_database';
UPDATE `language` SET `english` = 'Unable to download file! please check configuration'
WHERE `phrase` = 'unable_to_download_file_please_check_configuration';
UPDATE `language` SET `english` = 'Unable to import data! please check configuration / SQL file.'
WHERE `phrase` = 'unable_to_import_data_please_check_config_or_sql_file';
UPDATE `language` SET `english` = 'Unable to upload file! please check configuration'
WHERE `phrase` = 'unable_to_upload_file_please_check_configuration';
UPDATE `language` SET `english` = 'Uninstall'
WHERE `phrase` = 'uninstall';
UPDATE `language` SET `english` = 'Update'
WHERE `phrase` = 'update';
UPDATE `language` SET `english` = 'Update Module Permission'
WHERE `phrase` = 'update_module_permission';
UPDATE `language` SET `english` = 'Update Successfully'
WHERE `phrase` = 'update_successfully';
UPDATE `language` SET `english` = 'Upload Successfully!'
WHERE `phrase` = 'upload_successfully';
UPDATE `language` SET `english` = 'User'
WHERE `phrase` = 'user';
UPDATE `language` SET `english` = 'User Name'
WHERE `phrase` = 'username';
UPDATE `language` SET `english` = 'User Added Successfully!'
WHERE `phrase` = 'user_added_successfully';
INSERT INTO `supplier` (`supplier_id`, `supplier_name`, `phone`, `address`, `email`, `isactive`, `createby`, `createdate`, `updateby`, `updatedate`) VALUES ('', 'sdfsd', '32453', 'sdf', 'adsdfmin@example.com', 1, '2', '2018-05-12 11:32:16', '', '');
UPDATE `supplier` SET `supplier_id` = '1', `isactive` = 0
WHERE `supplier_id` = '1';
UPDATE `supplier` SET `supplier_id` = '1', `isactive` = 1
WHERE `supplier_id` = '1';
INSERT INTO `language` (`phrase`) VALUES ('purchase_order');
INSERT INTO `language` (`phrase`) VALUES ('stock_ctn');
INSERT INTO `language` (`phrase`) VALUES ('quantity');
INSERT INTO `language` (`phrase`) VALUES ('total');
INSERT INTO `language` (`phrase`) VALUES ('grand_total');
INSERT INTO `language` (`phrase`) VALUES ('add_new_item');
INSERT INTO `language` (`phrase`) VALUES ('submit_and_add_another');
UPDATE `language` SET `english` = 'About'
WHERE `phrase` = 'about';
UPDATE `language` SET `english` = 'Action'
WHERE `phrase` = 'action';
UPDATE `language` SET `english` = 'Active'
WHERE `phrase` = 'active';
UPDATE `language` SET `english` = 'Add '
WHERE `phrase` = 'add';
UPDATE `language` SET `english` = 'Address'
WHERE `phrase` = 'address';
UPDATE `language` SET `english` = 'Add Module'
WHERE `phrase` = 'add_module';
UPDATE `language` SET `english` = 'Add Module Permission'
WHERE `phrase` = 'add_module_permission';
UPDATE `language` SET `english` = 'Add New Product'
WHERE `phrase` = 'add_new_item';
UPDATE `language` SET `english` = 'Add Role'
WHERE `phrase` = 'add_role';
UPDATE `language` SET `english` = 'Add Role Permission'
WHERE `phrase` = 'add_role_permission';
UPDATE `language` SET `english` = 'Add Store'
WHERE `phrase` = 'add_store';
UPDATE `language` SET `english` = 'Add User'
WHERE `phrase` = 'add_user';
UPDATE `language` SET `english` = 'Add User Role'
WHERE `phrase` = 'add_user_role';
UPDATE `language` SET `english` = 'Admin'
WHERE `phrase` = 'admin';
UPDATE `language` SET `english` = 'Application Setting'
WHERE `phrase` = 'application_setting';
UPDATE `language` SET `english` = 'Application Title'
WHERE `phrase` = 'application_title';
UPDATE `language` SET `english` = 'Are You Sure ? '
WHERE `phrase` = 'are_you_sure';
UPDATE `language` SET `english` = 'Available'
WHERE `phrase` = 'available';
UPDATE `language` SET `english` = 'Backup and Restore'
WHERE `phrase` = 'backup_and_restore';
UPDATE `language` SET `english` = 'Backup Date'
WHERE `phrase` = 'backup_date';
UPDATE `language` SET `english` = 'Backup Now!'
WHERE `phrase` = 'backup_now';
UPDATE `language` SET `english` = 'Backup Successfully'
WHERE `phrase` = 'backup_successfully';
UPDATE `language` SET `english` = 'Business Address'
WHERE `phrase` = 'business_address';
UPDATE `language` SET `english` = 'Captcha Word'
WHERE `phrase` = 'captcha';
UPDATE `language` SET `english` = 'NID'
WHERE `phrase` = 'cardno';
UPDATE `language` SET `english` = 'Download'
WHERE `phrase` = 'download';
UPDATE `language` SET `english` = 'Download Data from Server'
WHERE `phrase` = 'download_data_from_server';
UPDATE `language` SET `english` = 'Download Successfully'
WHERE `phrase` = 'download_successfully';
UPDATE `language` SET `english` = 'Email Address'
WHERE `phrase` = 'email';
UPDATE `language` SET `english` = 'Employee'
WHERE `phrase` = 'employee';
UPDATE `language` SET `english` = 'Enquiry'
WHERE `phrase` = 'enquiry';
UPDATE `language` SET `english` = 'Enquiry Information'
WHERE `phrase` = 'enquiry_information';
UPDATE `language` SET `english` = 'Favicon'
WHERE `phrase` = 'favicon';
UPDATE `language` SET `english` = 'File Name'
WHERE `phrase` = 'filename';
UPDATE `language` SET `english` = 'File Information'
WHERE `phrase` = 'file_information';
UPDATE `language` SET `english` = 'First Name'
WHERE `phrase` = 'firstname';
UPDATE `language` SET `english` = 'Footer Text'
WHERE `phrase` = 'footer_text';
UPDATE `language` SET `english` = 'FTP Debug'
WHERE `phrase` = 'ftp_debug';
UPDATE `language` SET `english` = 'FTP Port'
WHERE `phrase` = 'ftp_port';
UPDATE `language` SET `english` = 'Data Synchronize [FTP Setting]'
WHERE `phrase` = 'ftp_setting';
UPDATE `language` SET `english` = 'Grand Total'
WHERE `phrase` = 'grand_total';
UPDATE `language` SET `english` = 'Home'
WHERE `phrase` = 'home';
UPDATE `language` SET `english` = 'Host Name'
WHERE `phrase` = 'hostname';
UPDATE `language` SET `english` = 'Image'
WHERE `phrase` = 'image';
UPDATE `language` SET `english` = 'Image Upload Successfully!'
WHERE `phrase` = 'image_upload_successfully';
UPDATE `language` SET `english` = 'Inactive'
WHERE `phrase` = 'inactive';
UPDATE `language` SET `english` = 'Inbox'
WHERE `phrase` = 'inbox';
UPDATE `language` SET `english` = 'Inbox Messages'
WHERE `phrase` = 'inbox_message';
UPDATE `language` SET `english` = 'Incoming File'
WHERE `phrase` = 'incoming_file';
UPDATE `language` SET `english` = 'Incorrect Email/Password'
WHERE `phrase` = 'incorrect_email_or_password';
UPDATE `language` SET `english` = 'Profile Setting'
WHERE `phrase` = 'profile_setting';
UPDATE `language` SET `english` = 'Project Root'
WHERE `phrase` = 'project_root';
UPDATE `language` SET `english` = 'Puchase Order'
WHERE `phrase` = 'purchase_order';
UPDATE `language` SET `english` = 'Qty'
WHERE `phrase` = 'quantity';
UPDATE `language` SET `english` = 'Read'
WHERE `phrase` = 'read';
UPDATE `language` SET `english` = 'Read/Unread'
WHERE `phrase` = 'read_unread';
UPDATE `language` SET `english` = 'Receiver Name'
WHERE `phrase` = 'receiver_name';
UPDATE `language` SET `english` = 'Remove Successfully!'
WHERE `phrase` = 'remove_successfully';
UPDATE `language` SET `english` = 'Reset'
WHERE `phrase` = 'reset';
UPDATE `language` SET `english` = 'Restore Now!'
WHERE `phrase` = 'restore_now';
UPDATE `language` SET `english` = 'Restore Successfully'
WHERE `phrase` = 'restore_successfully';
UPDATE `language` SET `english` = 'Right To Left'
WHERE `phrase` = 'right_to_left';
UPDATE `language` SET `english` = 'Role'
WHERE `phrase` = 'role';
UPDATE `language` SET `english` = 'Role List'
WHERE `phrase` = 'role_list';
UPDATE `language` SET `english` = 'Role Name'
WHERE `phrase` = 'role_name';
UPDATE `language` SET `english` = 'Role Permission'
WHERE `phrase` = 'role_permission';
UPDATE `language` SET `english` = 'Role Permission List'
WHERE `phrase` = 'role_permission_list';
UPDATE `language` SET `english` = 'Save'
WHERE `phrase` = 'save';
UPDATE `language` SET `english` = 'Save Successfully!'
WHERE `phrase` = 'save_successfully';
UPDATE `language` SET `english` = 'See All Messages'
WHERE `phrase` = 'see_all_message';
UPDATE `language` SET `english` = 'Select Option'
WHERE `phrase` = 'select_option';
UPDATE `language` SET `english` = 'Send'
WHERE `phrase` = 'send';
UPDATE `language` SET `english` = 'Sender Name'
WHERE `phrase` = 'sender_name';
UPDATE `language` SET `english` = 'Sent'
WHERE `phrase` = 'sent';
UPDATE `language` SET `english` = 'Sent Message'
WHERE `phrase` = 'sent_message';
UPDATE `language` SET `english` = 'Set'
WHERE `phrase` = 'set';
UPDATE `language` SET `english` = 'Setting'
WHERE `phrase` = 'setting';
UPDATE `language` SET `english` = 'Application Alignment'
WHERE `phrase` = 'site_align';
UPDATE `language` SET `english` = 'size'
WHERE `phrase` = 'size';
UPDATE `language` SET `english` = 'SL'
WHERE `phrase` = 'sl';
UPDATE `language` SET `english` = 'SL No.'
WHERE `phrase` = 'sl_no';
UPDATE `language` SET `english` = 'Status'
WHERE `phrase` = 'status';
UPDATE `language` SET `english` = 'Stock Qty'
WHERE `phrase` = 'stock_ctn';
UPDATE `language` SET `english` = 'Store'
WHERE `phrase` = 'store';
UPDATE `language` SET `english` = 'Store Address'
WHERE `phrase` = 'store_address';
UPDATE `language` SET `english` = 'Store Code'
WHERE `phrase` = 'store_code';
UPDATE `language` SET `english` = 'Store Name'
WHERE `phrase` = 'store_name';
UPDATE `language` SET `english` = 'Store Phone'
WHERE `phrase` = 'store_phone';
UPDATE `language` SET `english` = 'Subject'
WHERE `phrase` = 'subject';
UPDATE `language` SET `english` = ''
WHERE `phrase` = 'submit_and_add_another';
UPDATE `language` SET `english` = 'Super Admin'
WHERE `phrase` = 'super_admin';
UPDATE `language` SET `english` = 'Supplier'
WHERE `phrase` = 'supplier';
UPDATE `language` SET `english` = 'Supplier Name'
WHERE `phrase` = 'supplier_name';
UPDATE `language` SET `english` = 'Synchronize'
WHERE `phrase` = 'synchronize';
UPDATE `language` SET `english` = 'Tables are not available in database.sql'
WHERE `phrase` = 'tables_are_not_available_in_database';
UPDATE `language` SET `english` = 'Total'
WHERE `phrase` = 'total';
UPDATE `language` SET `english` = 'Unable to download file! please check configuration'
WHERE `phrase` = 'unable_to_download_file_please_check_configuration';
UPDATE `language` SET `english` = 'Unable to import data! please check configuration / SQL file.'
WHERE `phrase` = 'unable_to_import_data_please_check_config_or_sql_file';
UPDATE `language` SET `english` = 'Unable to upload file! please check configuration'
WHERE `phrase` = 'unable_to_upload_file_please_check_configuration';
UPDATE `language` SET `english` = 'Uninstall'
WHERE `phrase` = 'uninstall';
SET FOREIGN_KEY_CHECKS = 0;
CREATE TABLE IF NOT EXISTS `purchase_order` (
  `po_no` bigint(20) NOT NULL AUTO_INCREMENT,
  `store_id` int(11) NOT NULL,
  `warehouse_id` int(11) NOT NULL,
  `createby` varchar(20) COLLATE utf8_unicode_ci NOT NULL,
  `createdate` datetime NOT NULL,
  `isapproved` tinyint(1) NOT NULL,
  `supplier_id` int(11) NOT NULL,
  `total_amnt` float NOT NULL,
  `is_received` tinyint(1) NOT NULL,
  `updateby` varchar(20) COLLATE utf8_unicode_ci NOT NULL,
  `updatedate` datetime NOT NULL,
  PRIMARY KEY (`po_no`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;


CREATE TABLE IF NOT EXISTS `purchase_order_details` (
  `row_id` bigint(20) NOT NULL AUTO_INCREMENT,
  `po_no` bigint(20) NOT NULL,
  `product_id` bigint(20) NOT NULL,
  `order_qty` int(11) NOT NULL,
  `receive_qty` int(11) NOT NULL,
  `product_rate` float NOT NULL,
  PRIMARY KEY (`row_id`),
  KEY `fk_po_no1` (`po_no`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
SET FOREIGN_KEY_CHECKS = 1;
INSERT INTO `module` (`id`, `name`, `description`, `image`, `directory`, `status`) VALUES (NULL, 'purchase_order Management', 'purchase_order Information', 'application/modules/purchase_order/assets/images/thumbnail.jpg', 'purchase_order', 1);
ALTER TABLE `language`
	ADD `submit` TEXT;
INSERT INTO `language` (`phrase`) VALUES ('submit');
UPDATE `language` SET `english` = 'Set'
WHERE `phrase` = 'set';
UPDATE `language` SET `english` = 'Setting'
WHERE `phrase` = 'setting';
UPDATE `language` SET `english` = 'Application Alignment'
WHERE `phrase` = 'site_align';
UPDATE `language` SET `english` = 'size'
WHERE `phrase` = 'size';
UPDATE `language` SET `english` = 'SL'
WHERE `phrase` = 'sl';
UPDATE `language` SET `english` = 'SL No.'
WHERE `phrase` = 'sl_no';
UPDATE `language` SET `english` = 'Status'
WHERE `phrase` = 'status';
UPDATE `language` SET `english` = 'Stock Qty'
WHERE `phrase` = 'stock_ctn';
UPDATE `language` SET `english` = 'Store'
WHERE `phrase` = 'store';
UPDATE `language` SET `english` = 'Store Address'
WHERE `phrase` = 'store_address';
UPDATE `language` SET `english` = 'Store Code'
WHERE `phrase` = 'store_code';
UPDATE `language` SET `english` = 'Store Name'
WHERE `phrase` = 'store_name';
UPDATE `language` SET `english` = 'Store Phone'
WHERE `phrase` = 'store_phone';
UPDATE `language` SET `english` = 'Subject'
WHERE `phrase` = 'subject';
UPDATE `language` SET `english` = 'Submit '
WHERE `phrase` = 'submit';
UPDATE `language` SET `english` = 'Submit and Another'
WHERE `phrase` = 'submit_and_add_another';
UPDATE `language` SET `english` = 'Super Admin'
WHERE `phrase` = 'super_admin';
UPDATE `language` SET `english` = 'Supplier'
WHERE `phrase` = 'supplier';
UPDATE `language` SET `english` = 'Supplier Name'
WHERE `phrase` = 'supplier_name';
UPDATE `language` SET `english` = 'Synchronize'
WHERE `phrase` = 'synchronize';
UPDATE `language` SET `english` = 'Tables are not available in database.sql'
WHERE `phrase` = 'tables_are_not_available_in_database';
UPDATE `language` SET `english` = 'Total'
WHERE `phrase` = 'total';
UPDATE `language` SET `english` = 'Unable to download file! please check configuration'
WHERE `phrase` = 'unable_to_download_file_please_check_configuration';
UPDATE `language` SET `english` = 'Unable to import data! please check configuration / SQL file.'
WHERE `phrase` = 'unable_to_import_data_please_check_config_or_sql_file';
UPDATE `language` SET `english` = 'Unable to upload file! please check configuration'
WHERE `phrase` = 'unable_to_upload_file_please_check_configuration';
INSERT INTO `purchase_order` (`po_no`, `supplier_id`, `total_amnt`, `createby`, `purchase_date`, `createdate`) VALUES ('20180512122022', NULL, NULL, '2', NULL, '2018-05-12 12:20:22');
INSERT INTO `purchase_order` (`po_no`, `supplier_id`, `total_amnt`, `createby`, `purchase_date`, `createdate`) VALUES ('20180512122023', NULL, NULL, '2', NULL, '2018-05-12 12:20:23');
INSERT INTO `purchase_order` (`po_no`, `supplier_id`, `total_amnt`, `createby`, `purchase_date`, `createdate`) VALUES ('20180512122057', NULL, NULL, '2', NULL, '2018-05-12 12:20:57');
INSERT INTO `supplier_ledger` (`transaction_id`, `chalan_no`, `supplier_id`, `amount`, `date`, `description`, `status`) VALUES (NULL, NULL, NULL, NULL, NULL, NULL, 1);
INSERT INTO `purchase_order` (`po_no`, `supplier_id`, `total_amnt`, `createby`, `purchase_date`, `createdate`) VALUES ('20180512122059', NULL, NULL, '2', NULL, '2018-05-12 12:20:59');
INSERT INTO `supplier_ledger` (`transaction_id`, `chalan_no`, `supplier_id`, `amount`, `date`, `description`, `status`) VALUES (NULL, NULL, NULL, NULL, NULL, NULL, 1);
INSERT INTO `product_purchase` (`purchase_id`, `chalan_no`, `supplier_id`, `grand_total_amount`, `total_discount`, `purchase_date`, `purchase_details`, `status`) VALUES ('20180512122245', NULL, NULL, NULL, NULL, NULL, NULL, 1);
INSERT INTO `supplier_ledger` (`transaction_id`, `chalan_no`, `supplier_id`, `amount`, `date`, `description`, `status`) VALUES ('20180512122245', NULL, NULL, NULL, NULL, NULL, 1);
INSERT INTO `product_purchase` (`purchase_id`, `chalan_no`, `supplier_id`, `grand_total_amount`, `total_discount`, `purchase_date`, `purchase_details`, `status`) VALUES ('20180512122250', NULL, NULL, NULL, NULL, NULL, NULL, 1);
INSERT INTO `supplier_ledger` (`transaction_id`, `chalan_no`, `supplier_id`, `amount`, `date`, `description`, `status`) VALUES ('20180512122250', NULL, NULL, NULL, NULL, NULL, 1);
UPDATE `user` SET `last_login` = '2018-05-13 05:41:47', `ip_address` = '::1'
WHERE `id` = '2';
INSERT INTO `purchase_order` (`po_no`, `supplier_id`, `total_amnt`, `createby`, `purchase_date`, `createdate`) VALUES ('20180513054852', '3', '9.00', '2', '2018-05-13', '2018-05-13 05:48:52');
INSERT INTO `purchase_order` (`po_no`, `supplier_id`, `total_amnt`, `createby`, `purchase_date`, `createdate`) VALUES ('20180513054938', '12', '144.00', '2', '2018-05-13', '2018-05-13 05:49:38');
INSERT INTO `purchase_order` (`po_no`, `supplier_id`, `total_amnt`, `createby`, `purchase_date`, `createdate`) VALUES ('20180513055009', '2', '69.00', '2', '2018-05-13', '2018-05-13 05:50:09');
INSERT INTO `purchase_order` (`po_no`, `supplier_id`, `total_amnt`, `createby`, `purchase_date`, `createdate`) VALUES ('20180513055107', '3', '102.00', '2', '2018-05-13', '2018-05-13 05:51:07');
INSERT INTO `purchase_order` (`po_no`, `supplier_id`, `total_amnt`, `createby`, `purchase_date`, `createdate`) VALUES ('20180513055117', '3', '102.00', '2', '2018-05-13', '2018-05-13 05:51:17');
INSERT INTO `purchase_order` (`po_no`, `supplier_id`, `total_amnt`, `createby`, `purchase_date`, `createdate`) VALUES ('20180513055551', '3', '12.00', '2', '2018-05-13', '2018-05-13 05:55:51');
INSERT INTO `purchase_order` (`po_no`, `supplier_id`, `total_amnt`, `createby`, `purchase_date`, `createdate`) VALUES ('20180513055716', '2', '6.00', '2', '2018-05-13', '2018-05-13 05:57:16');
INSERT INTO `purchase_order` (`po_no`, `supplier_id`, `total_amnt`, `createby`, `purchase_date`, `createdate`) VALUES ('20180513055924', '2', '12.00', '2', '2018-05-13', '2018-05-13 05:59:24');
INSERT INTO `product_purchase_details` (`purchase_detail_id`, `purchase_id`, `product_id`, `quantity`, `rate`, `total_amount`, `discount`, `batch_id`, `expeire_date`, `status`) VALUES ('Ih2I1yYM5Nnja4b', NULL, '3', '3', '4', '12.00', NULL, NULL, NULL, 1);
INSERT INTO `purchase_order` (`po_no`, `supplier_id`, `total_amnt`, `createby`, `purchase_date`, `createdate`) VALUES ('20180513060320', '3', '136.00', '2', '2018-05-13', '2018-05-13 06:03:20');
INSERT INTO `purchase_order` (`po_no`, `supplier_id`, `total_amnt`, `createby`, `purchase_date`, `createdate`) VALUES ('20180513060516', '2', '6.00', '2', '2018-05-13', '2018-05-13 06:05:16');
INSERT INTO `purchase_order` (`po_no`, `supplier_id`, `total_amnt`, `createby`, `purchase_date`, `createdate`) VALUES (1, '2', '9.00', '2', '2018-05-13', '2018-05-13 06:07:03');
INSERT INTO `purchase_order` (`po_no`, `supplier_id`, `total_amnt`, `createby`, `purchase_date`, `createdate`) VALUES (1, '3', '9.00', '2', '2018-05-13', 2);
INSERT INTO `purchase_order` (`po_no`, `supplier_id`, `total_amnt`, `createby`, `purchase_date`, `createdate`) VALUES ('20180513060841', '3', '12.00', '2', '2018-05-13', '2018-05-13 06:08:41');
INSERT INTO `purchase_order` (`po_no`, `supplier_id`, `total_amnt`, `createby`, `purchase_date`, `createdate`) VALUES ('20180513061024', '3', '12.00', '2', '2018-05-13', '2018-05-13 06:10:24');
INSERT INTO `purchase_order` (`po_no`, `supplier_id`, `total_amnt`, `createby`, `purchase_date`, `createdate`) VALUES ('20180513061143', '3', '12.00', '2', '2018-05-13', '2018-05-13 06:11:43');
INSERT INTO `purchase_order` (`po_no`, `supplier_id`, `total_amnt`, `createby`, `purchase_date`, `createdate`) VALUES ('20180513061339', '3', '9.00', '2', '09-05-2018', '2018-05-13 06:13:39');
INSERT INTO `purchase_order` (`po_no`, `supplier_id`, `total_amnt`, `createby`, `purchase_date`, `createdate`) VALUES ('20180513061452', '3', '16.00', '2', '2018-05-13', '2018-05-13 06:14:52');
INSERT INTO `purchase_order` (`po_no`) VALUES ('20180513061649');
INSERT INTO `purchase_order` (`po_no`, `supplier_id`) VALUES ('20180513061732', '3');
INSERT INTO `purchase_order` (`po_no`, `supplier_id`, `total_amnt`) VALUES ('20180513061803', '3', '30.00');
INSERT INTO `purchase_order` (`po_no`, `supplier_id`, `total_amnt`, `createby`) VALUES ('20180513061837', '3', '18.00', '2');
INSERT INTO `purchase_order` (`po_no`, `supplier_id`, `total_amnt`, `createby`, `createdate`) VALUES ('20180513061949', '1', '12.00', '2', '2018-05-13 06:19:49');
INSERT INTO `purchase_order` (`po_no`, `supplier_id`, `total_amnt`, `createby`, `createdate`) VALUES ('20180513062723', '4', '32.00', '2', '2018-05-13 06:27:23');
INSERT INTO `purchase_order_details` (`row_id`, `po_no`, `product_id`, `order_qty`, `product_rate`) VALUES ('CMEQQVWtrg8N5fN', '20180513062723', '4', '4', '8');
INSERT INTO `purchase_order` (`po_no`, `supplier_id`, `total_amnt`, `createby`, `createdate`) VALUES ('20180513062945', '3', '32.00', '2', '2018-05-13 06:29:45');
INSERT INTO `purchase_order_details` (`row_id`, `po_no`, `product_id`, `order_qty`, `product_rate`) VALUES ('1', '20180513062945', '3', '4', '8');
INSERT INTO `purchase_order` (`po_no`, `supplier_id`, `total_amnt`, `createby`, `createdate`) VALUES ('20180513063135', '3', '9.00', '2', '2018-05-13 06:31:35');
INSERT INTO `purchase_order_details` (`row_id`, `po_no`, `product_id`, `order_qty`, `product_rate`) VALUES ('28', '20180513063135', '3', '3', '3');
INSERT INTO `purchase_order` (`po_no`, `supplier_id`, `total_amnt`, `createby`, `createdate`) VALUES ('20180513063343', '3', '12.00', '2', '2018-05-13 06:33:43');
INSERT INTO `purchase_order_details` (`row_id`, `po_no`, `product_id`, `order_qty`, `product_rate`) VALUES ('8813', '20180513063343', '3', '3', '4');
INSERT INTO `purchase_order` (`po_no`, `supplier_id`, `total_amnt`, `createby`, `createdate`) VALUES ('20180513063621', '3', '136.00', '2', '2018-05-13 06:36:21');
INSERT INTO `purchase_order_details` (`row_id`, `po_no`, `product_id`, `order_qty`, `product_rate`) VALUES ('366726457376837', '20180513063621', '3', '4', '34');
INSERT INTO `purchase_order` (`po_no`, `supplier_id`, `total_amnt`, `createby`, `createdate`) VALUES ('20180513064344', '3', '20.00', '2', '2018-05-13 06:43:44');
INSERT INTO `purchase_order_details` (`row_id`, `po_no`, `product_id`, `order_qty`, `product_rate`) VALUES ('651139744289851', '20180513064344', '3', '4', '5');
DELETE FROM `purchase_order`
WHERE `po_no` = '20180513062723';
INSERT INTO `language` (`phrase`) VALUES ('order_no');
UPDATE `language` SET `english` = 'Module Permission List'
WHERE `phrase` = 'module_permission_list';
UPDATE `language` SET `english` = 'Name'
WHERE `phrase` = 'name';
UPDATE `language` SET `english` = 'New'
WHERE `phrase` = 'new';
UPDATE `language` SET `english` = 'New Enquiry'
WHERE `phrase` = 'new_enquiry';
UPDATE `language` SET `english` = 'New Message'
WHERE `phrase` = 'new_message';
UPDATE `language` SET `english` = 'Not Available'
WHERE `phrase` = 'not_available';
UPDATE `language` SET `english` = 'No tables are registerd in config.php'
WHERE `phrase` = 'no_tables_are_registered_in_config';
UPDATE `language` SET `english` = 'Ok'
WHERE `phrase` = 'ok';
UPDATE `language` SET `english` = ' Ooops something went wrong...'
WHERE `phrase` = 'ooops_something_went_wrong';
UPDATE `language` SET `english` = 'Order NO'
WHERE `phrase` = 'order_no';
UPDATE `language` SET `english` = 'Outgoing File'
WHERE `phrase` = 'outgoing_file';
UPDATE `language` SET `english` = 'Overwrite'
WHERE `phrase` = 'overwrite';
UPDATE `language` SET `english` = 'Password'
WHERE `phrase` = 'password';
UPDATE `language` SET `english` = 'You Have No Permission'
WHERE `phrase` = 'permission_error';
UPDATE `language` SET `english` = 'Phone'
WHERE `phrase` = 'phone';
UPDATE `language` SET `english` = 'Please configure synchronizer settings'
WHERE `phrase` = 'please_configure_synchronizer_settings';
UPDATE `language` SET `english` = 'Please Contact With Admin'
WHERE `phrase` = 'please_contact_with_admin';
UPDATE `language` SET `english` = 'Please Try Again...'
WHERE `phrase` = 'please_try_again';
UPDATE `language` SET `english` = 'Please Wait...'
WHERE `phrase` = 'please_wait';
UPDATE `language` SET `english` = 'Preview'
WHERE `phrase` = 'preview';
UPDATE `language` SET `english` = 'Price'
WHERE `phrase` = 'price';
UPDATE `language` SET `english` = 'Product'
WHERE `phrase` = 'product';
UPDATE `language` SET `english` = 'Product Category'
WHERE `phrase` = 'product_category';
UPDATE `language` SET `english` = 'Product Details'
WHERE `phrase` = 'product_details';
UPDATE `language` SET `english` = 'Product Name'
WHERE `phrase` = 'product_name';
INSERT INTO `language` (`phrase`) VALUES ('warehouse');
UPDATE `language` SET `english` = 'Unable to upload file! please check configuration'
WHERE `phrase` = 'unable_to_upload_file_please_check_configuration';
UPDATE `language` SET `english` = 'Uninstall'
WHERE `phrase` = 'uninstall';
UPDATE `language` SET `english` = 'Update'
WHERE `phrase` = 'update';
UPDATE `language` SET `english` = 'Update Module Permission'
WHERE `phrase` = 'update_module_permission';
UPDATE `language` SET `english` = 'Update Successfully'
WHERE `phrase` = 'update_successfully';
UPDATE `language` SET `english` = 'Upload Successfully!'
WHERE `phrase` = 'upload_successfully';
UPDATE `language` SET `english` = 'User'
WHERE `phrase` = 'user';
UPDATE `language` SET `english` = 'User Name'
WHERE `phrase` = 'username';
UPDATE `language` SET `english` = 'User Added Successfully!'
WHERE `phrase` = 'user_added_successfully';
UPDATE `language` SET `english` = 'User Agent'
WHERE `phrase` = 'user_agent';
UPDATE `language` SET `english` = 'User List'
WHERE `phrase` = 'user_list';
UPDATE `language` SET `english` = 'User Name'
WHERE `phrase` = 'user_name';
UPDATE `language` SET `english` = 'User Permission'
WHERE `phrase` = 'user_permission';
UPDATE `language` SET `english` = 'User Role'
WHERE `phrase` = 'user_role';
UPDATE `language` SET `english` = 'User Role List'
WHERE `phrase` = 'user_role_list';
UPDATE `language` SET `english` = 'User Type'
WHERE `phrase` = 'user_type';
UPDATE `language` SET `english` = 'Warehouse'
WHERE `phrase` = 'warehouse';
UPDATE `language` SET `english` = 'Welcome Back!'
WHERE `phrase` = 'welcome_back';
INSERT INTO `language` (`phrase`) VALUES ('assign_role');
UPDATE `language` SET `english` = 'About'
WHERE `phrase` = 'about';
UPDATE `language` SET `english` = 'Action'
WHERE `phrase` = 'action';
UPDATE `language` SET `english` = 'Active'
WHERE `phrase` = 'active';
UPDATE `language` SET `english` = 'Add '
WHERE `phrase` = 'add';
UPDATE `language` SET `english` = 'Address'
WHERE `phrase` = 'address';
UPDATE `language` SET `english` = 'Add Module'
WHERE `phrase` = 'add_module';
UPDATE `language` SET `english` = 'Add Module Permission'
WHERE `phrase` = 'add_module_permission';
UPDATE `language` SET `english` = 'Add New Product'
WHERE `phrase` = 'add_new_item';
UPDATE `language` SET `english` = 'Add Role'
WHERE `phrase` = 'add_role';
UPDATE `language` SET `english` = 'Add Role Permission'
WHERE `phrase` = 'add_role_permission';
UPDATE `language` SET `english` = 'Add Store'
WHERE `phrase` = 'add_store';
UPDATE `language` SET `english` = 'Add User'
WHERE `phrase` = 'add_user';
UPDATE `language` SET `english` = 'Add User Role'
WHERE `phrase` = 'add_user_role';
UPDATE `language` SET `english` = 'Admin'
WHERE `phrase` = 'admin';
UPDATE `language` SET `english` = 'Application Setting'
WHERE `phrase` = 'application_setting';
UPDATE `language` SET `english` = 'Application Title'
WHERE `phrase` = 'application_title';
UPDATE `language` SET `english` = 'Are You Sure ? '
WHERE `phrase` = 'are_you_sure';
UPDATE `language` SET `english` = 'Assign Role'
WHERE `phrase` = 'assign_role';
UPDATE `language` SET `english` = 'Available'
WHERE `phrase` = 'available';
UPDATE `language` SET `english` = 'Backup and Restore'
WHERE `phrase` = 'backup_and_restore';
UPDATE `language` SET `english` = 'Backup Date'
WHERE `phrase` = 'backup_date';
UPDATE `language` SET `english` = 'Backup Now!'
WHERE `phrase` = 'backup_now';
UPDATE `language` SET `english` = 'Backup Successfully'
WHERE `phrase` = 'backup_successfully';
UPDATE `language` SET `english` = 'Business Address'
WHERE `phrase` = 'business_address';
UPDATE `language` SET `english` = 'Captcha Word'
WHERE `phrase` = 'captcha';
SET FOREIGN_KEY_CHECKS = 0;

CREATE TABLE IF NOT EXISTS `warehouse` (
  `warehouse_id` int(11) NOT NULL AUTO_INCREMENT,
  `warehouse_name` varchar(50) COLLATE utf8_unicode_ci NOT NULL,
  `warehouse_code` varchar(3) COLLATE utf8_unicode_ci NOT NULL,
  `warehouse_phone` varchar(50) COLLATE utf8_unicode_ci NOT NULL,
  `warehouse_address` varchar(200) COLLATE utf8_unicode_ci NOT NULL,
  `createby` varchar(20) COLLATE utf8_unicode_ci NOT NULL,
  `createdate` datetime NOT NULL,
  `updateby` varchar(20) COLLATE utf8_unicode_ci NOT NULL,
  `updatedate` datetime NOT NULL,
  `isactive` tinyint(1) NOT NULL,
  PRIMARY KEY (`warehouse_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
SET FOREIGN_KEY_CHECKS = 1;
INSERT INTO `module` (`id`, `name`, `description`, `image`, `directory`, `status`) VALUES (NULL, 'warehouse Management', 'warehouse Management System', 'application/modules/warehouse/assets/images/thumbnail.jpg', 'warehouse', 1);
INSERT INTO `language` (`phrase`) VALUES ('add_warehouse');
INSERT INTO `language` (`phrase`) VALUES ('list_warehouse');
INSERT INTO `language` (`phrase`) VALUES ('warehouse_name');
INSERT INTO `language` (`phrase`) VALUES ('warehouse_code');
INSERT INTO `language` (`phrase`) VALUES ('warehouse_phone');
INSERT INTO `language` (`phrase`) VALUES ('warehouse_address');
UPDATE `language` SET `english` = 'About'
WHERE `phrase` = 'about';
UPDATE `language` SET `english` = 'Action'
WHERE `phrase` = 'action';
UPDATE `language` SET `english` = 'Active'
WHERE `phrase` = 'active';
UPDATE `language` SET `english` = 'Add '
WHERE `phrase` = 'add';
UPDATE `language` SET `english` = 'Address'
WHERE `phrase` = 'address';
UPDATE `language` SET `english` = 'Add Module'
WHERE `phrase` = 'add_module';
UPDATE `language` SET `english` = 'Add Module Permission'
WHERE `phrase` = 'add_module_permission';
UPDATE `language` SET `english` = 'Add New Product'
WHERE `phrase` = 'add_new_item';
UPDATE `language` SET `english` = 'Add Role'
WHERE `phrase` = 'add_role';
UPDATE `language` SET `english` = 'Add Role Permission'
WHERE `phrase` = 'add_role_permission';
UPDATE `language` SET `english` = 'Add Store'
WHERE `phrase` = 'add_store';
UPDATE `language` SET `english` = 'Add User'
WHERE `phrase` = 'add_user';
UPDATE `language` SET `english` = 'Add User Role'
WHERE `phrase` = 'add_user_role';
UPDATE `language` SET `english` = 'Add Warehouse'
WHERE `phrase` = 'add_warehouse';
UPDATE `language` SET `english` = 'Admin'
WHERE `phrase` = 'admin';
UPDATE `language` SET `english` = 'Application Setting'
WHERE `phrase` = 'application_setting';
UPDATE `language` SET `english` = 'Application Title'
WHERE `phrase` = 'application_title';
UPDATE `language` SET `english` = 'Are You Sure ? '
WHERE `phrase` = 'are_you_sure';
UPDATE `language` SET `english` = 'Assign Role'
WHERE `phrase` = 'assign_role';
UPDATE `language` SET `english` = 'Available'
WHERE `phrase` = 'available';
UPDATE `language` SET `english` = 'Backup and Restore'
WHERE `phrase` = 'backup_and_restore';
UPDATE `language` SET `english` = 'Backup Date'
WHERE `phrase` = 'backup_date';
UPDATE `language` SET `english` = 'Backup Now!'
WHERE `phrase` = 'backup_now';
UPDATE `language` SET `english` = 'Backup Successfully'
WHERE `phrase` = 'backup_successfully';
UPDATE `language` SET `english` = 'Business Address'
WHERE `phrase` = 'business_address';
UPDATE `language` SET `english` = 'Incoming File'
WHERE `phrase` = 'incoming_file';
UPDATE `language` SET `english` = 'Incorrect Email/Password'
WHERE `phrase` = 'incorrect_email_or_password';
UPDATE `language` SET `english` = 'Install'
WHERE `phrase` = 'install';
UPDATE `language` SET `english` = 'Internet Connection'
WHERE `phrase` = 'internet_connection';
UPDATE `language` SET `english` = 'Invalid File!'
WHERE `phrase` = 'invalid_file';
UPDATE `language` SET `english` = 'Invalid Module'
WHERE `phrase` = 'invalid_module';
UPDATE `language` SET `english` = 'IP Address'
WHERE `phrase` = 'ip_address';
UPDATE `language` SET `english` = 'Is Active'
WHERE `phrase` = 'isactive';
UPDATE `language` SET `english` = 'Language'
WHERE `phrase` = 'language';
UPDATE `language` SET `english` = 'Last Name'
WHERE `phrase` = 'lastname';
UPDATE `language` SET `english` = 'Last Login'
WHERE `phrase` = 'last_login';
UPDATE `language` SET `english` = 'Last Logout'
WHERE `phrase` = 'last_logout';
UPDATE `language` SET `english` = 'Left To Right'
WHERE `phrase` = 'left_to_right';
UPDATE `language` SET `english` = 'List'
WHERE `phrase` = 'list';
UPDATE `language` SET `english` = 'Store List'
WHERE `phrase` = 'list_store';
UPDATE `language` SET `english` = 'Warehouse list'
WHERE `phrase` = 'list_warehouse';
UPDATE `language` SET `english` = 'Login'
WHERE `phrase` = 'login';
UPDATE `language` SET `english` = 'Logo'
WHERE `phrase` = 'logo';
UPDATE `language` SET `english` = 'Logout'
WHERE `phrase` = 'logout';
UPDATE `language` SET `english` = 'Message'
WHERE `phrase` = 'message';
UPDATE `language` SET `english` = 'Message Details'
WHERE `phrase` = 'message_details';
UPDATE `language` SET `english` = 'Message Sent!'
WHERE `phrase` = 'message_sent';
UPDATE `language` SET `english` = 'Module'
WHERE `phrase` = 'module';
UPDATE `language` SET `english` = 'Module Added Successfully'
WHERE `phrase` = 'module_added_successfully';
UPDATE `language` SET `english` = 'Module List'
WHERE `phrase` = 'module_list';
UPDATE `language` SET `english` = 'Total'
WHERE `phrase` = 'total';
UPDATE `language` SET `english` = 'Unable to download file! please check configuration'
WHERE `phrase` = 'unable_to_download_file_please_check_configuration';
UPDATE `language` SET `english` = 'Unable to import data! please check configuration / SQL file.'
WHERE `phrase` = 'unable_to_import_data_please_check_config_or_sql_file';
UPDATE `language` SET `english` = 'Unable to upload file! please check configuration'
WHERE `phrase` = 'unable_to_upload_file_please_check_configuration';
UPDATE `language` SET `english` = 'Uninstall'
WHERE `phrase` = 'uninstall';
UPDATE `language` SET `english` = 'Update'
WHERE `phrase` = 'update';
UPDATE `language` SET `english` = 'Update Module Permission'
WHERE `phrase` = 'update_module_permission';
UPDATE `language` SET `english` = 'Update Successfully'
WHERE `phrase` = 'update_successfully';
UPDATE `language` SET `english` = 'Upload Successfully!'
WHERE `phrase` = 'upload_successfully';
UPDATE `language` SET `english` = 'User'
WHERE `phrase` = 'user';
UPDATE `language` SET `english` = 'User Name'
WHERE `phrase` = 'username';
UPDATE `language` SET `english` = 'User Added Successfully!'
WHERE `phrase` = 'user_added_successfully';
UPDATE `language` SET `english` = 'User Agent'
WHERE `phrase` = 'user_agent';
UPDATE `language` SET `english` = 'User List'
WHERE `phrase` = 'user_list';
UPDATE `language` SET `english` = 'User Name'
WHERE `phrase` = 'user_name';
UPDATE `language` SET `english` = 'User Permission'
WHERE `phrase` = 'user_permission';
UPDATE `language` SET `english` = 'User Role'
WHERE `phrase` = 'user_role';
UPDATE `language` SET `english` = 'User Role List'
WHERE `phrase` = 'user_role_list';
UPDATE `language` SET `english` = 'User Type'
WHERE `phrase` = 'user_type';
UPDATE `language` SET `english` = 'Warehouse'
WHERE `phrase` = 'warehouse';
UPDATE `language` SET `english` = 'Warehouse Address'
WHERE `phrase` = 'warehouse_address';
UPDATE `language` SET `english` = 'Warehouse code'
WHERE `phrase` = 'warehouse_code';
UPDATE `language` SET `english` = 'Warehouse Name'
WHERE `phrase` = 'warehouse_name';
UPDATE `language` SET `english` = 'Warehouse Phone'
WHERE `phrase` = 'warehouse_phone';
UPDATE `language` SET `english` = 'Welcome Back!'
WHERE `phrase` = 'welcome_back';
INSERT INTO `warehouse` (`warehouse_id`, `warehouse_name`, `warehouse_code`, `warehouse_phone`, `warehouse_address`, `createby`, `createdate`, `isactive`) VALUES ('', 'Bdtask', '324234', '324234', '98,green road farmgate', '2', '2018-05-13 08:47:06', 1);
UPDATE `warehouse` SET `warehouse_id` = '1', `isactive` = 0
WHERE `warehouse_id` = '1';
UPDATE `warehouse` SET `warehouse_id` = '1', `isactive` = 1
WHERE `warehouse_id` = '1';
INSERT INTO `purchase_order` (`po_no`, `supplier_id`, `total_amnt`, `store_id`, `warehouse_id`, `createby`, `createdate`) VALUES ('20180513095632', '1', '180.00', '2', '', '2', '2018-05-13 09:56:32');
INSERT INTO `purchase_order_details` (`row_id`, `po_no`, `product_id`, `order_qty`, `product_rate`) VALUES ('666411691944842', '20180513095632', '2', '2', '90');
INSERT INTO `purchase_order` (`po_no`, `supplier_id`, `total_amnt`, `store_id`, `warehouse_id`, `createby`, `createdate`) VALUES ('20180513100515', '1', '1365.00', '2', '1', '2', '2018-05-13 10:05:15');
INSERT INTO `purchase_order_details` (`row_id`, `po_no`, `product_id`, `order_qty`, `product_rate`) VALUES ('568849686235715', '20180513100515', '3', '3', '455');
INSERT INTO `accesslog` (`row_id`, `po_no`, `product_id`, `order_qty`, `product_rate`) VALUES ('568849686235715', '20180513100515', '3', '3', '455');
INSERT INTO `purchase_order` (`po_no`, `supplier_id`, `total_amnt`, `store_id`, `warehouse_id`, `createby`, `createdate`) VALUES ('20180513100556', '1', '220.00', '2', '', '2', '2018-05-13 10:05:56');
INSERT INTO `purchase_order_details` (`row_id`, `po_no`, `product_id`, `order_qty`, `product_rate`) VALUES ('238244464765993', '20180513100556', '3', '4', '55');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('purchase order', 'create', '11', '2', '2018-05-13 10:05:56');
INSERT INTO `purchase_order` (`po_no`, `supplier_id`, `total_amnt`, `store_id`, `warehouse_id`, `createby`, `createdate`) VALUES ('20180513101115', '1', '1156.00', '2', '', '2', '2018-05-13 10:11:15');
INSERT INTO `purchase_order_details` (`row_id`, `po_no`, `product_id`, `order_qty`, `product_rate`) VALUES ('635432255745369', '20180513101115', '2', '34', '34');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('purchase order', 'create', 'Orde Id-20180513101115total amount-1156.00', '2', '2018-05-13 10:11:15');
INSERT INTO `customer` (`customer_id`, `customer_code`, `customer_name`, `customer_phone`, `store_id`, `job_designation`, `customer_address`, `customer_cnic`, `business_address`, `isactive`, `createby`, `createdate`, `updateby`, `updatedate`) VALUES ('', '1235', 'Habib', '23434', 'Bdtask', 'dsfsdf', 'sadf', 'sdfasd', 'sdfasdf', '1', '2', '2018-05-13 10:27:35', '', '');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Customer', 'create', '', '2', '2018-05-13 10:27:35');
INSERT INTO `customer` (`customer_id`, `customer_code`, `customer_name`, `customer_phone`, `store_id`, `job_designation`, `customer_address`, `customer_cnic`, `business_address`, `isactive`, `createby`, `createdate`, `updateby`, `updatedate`) VALUES ('', '234', 'YYY', '3432434', '111', 'sdfasdf', 'sdafasd', 'sadfa', 'sadfasdf', '1', '2', '2018-05-13 10:29:29', '', '');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Customer', 'create', '', '2', '2018-05-13 10:29:29');
INSERT INTO `customer` (`customer_id`, `customer_code`, `customer_name`, `customer_phone`, `store_id`, `job_designation`, `customer_address`, `customer_cnic`, `business_address`, `isactive`, `createby`, `createdate`, `updateby`, `updatedate`) VALUES ('', '324234', 'sssssss', '34', '234', '24', 'sdf', 'sdf', 'sdfas', '1', '2', '2018-05-13 10:31:52', '', '');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Customer', 'create', '', '2', '2018-05-13 10:31:52');
INSERT INTO `customer` (`customer_id`, `customer_code`, `customer_name`, `customer_phone`, `store_id`, `job_designation`, `customer_address`, `customer_cnic`, `business_address`, `isactive`, `createby`, `createdate`, `updateby`, `updatedate`) VALUES ('', '23423', 'uu', '345', '234', '324', '234', '324', '34', '1', '2', '2018-05-13 10:32:50', '', '');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Customer', 'create', 5, '2', '2018-05-13 10:32:50');
DELETE FROM `customer`
WHERE `customer_id` = '5';
DELETE FROM `customer`
WHERE `customer_id` = '4';
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Customer', 'delete', '4', '2', '2018-05-13 10:35:36');
DELETE FROM `customer`
WHERE `customer_id` = '3';
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Customer', 'delete', 'customer ID :3', '2', '2018-05-13 10:36:20');
UPDATE `customer` SET `customer_id` = '2', `customer_code` = '1235', `customer_name` = 'Habib', `customer_phone` = '23434', `store_id` = '3', `job_designation` = 'dsfsdf', `customer_address` = 'sadf', `customer_cnic` = 'sdfasd', `business_address` = 'sdfasdf', `isactive` = '1', `createby` = '2', `createdate` = '2018-05-13 10:37:30', `updateby` = '2', `updatedate` = '2018-05-13 10:37:30'
WHERE `customer_id` = '2';
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Customer', 'update', 'customer ID :', '2', '2018-05-13 10:37:30');
UPDATE `customer` SET `customer_id` = '1', `customer_code` = '12354', `customer_name` = 'Alamin', `customer_phone` = '324234', `store_id` = '2', `job_designation` = 'ttt', `customer_address` = 'dfgdsg', `customer_cnic` = 'dfgdf', `business_address` = 'gdfgsdfg', `isactive` = '1', `createby` = '2', `createdate` = '2018-05-13 10:39:15', `updateby` = '2', `updatedate` = '2018-05-13 10:39:15'
WHERE `customer_id` = '1';
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Customer', 'update', 'customer ID :1', '2', '2018-05-13 10:39:15');
INSERT INTO `product` (`product_id`, `product_name`, `product_details`, `category_id`, `price`, `createby`, `createdate`, `updateby`, `updatedate`, `isactive`) VALUES ('', 'Bitcoin', '32423', '2', '12', '2', '2018-05-13 10:41:30', '', '', 1);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Product', 'create', 'product ID :3', '2', '2018-05-13 10:41:30');
DELETE FROM `product`
WHERE `product_id` = '3';
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Product', 'delete', 'product ID :3', '2', '2018-05-13 10:43:11');
INSERT INTO `store` (`store_id`, `store_name`, `store_code`, `store_phone`, `store_address`, `createby`, `createdate`, `isactive`) VALUES ('', 'ttt', '33', '234234', '23423', '2', '2018-05-13 10:46:05', 1);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Store', 'create', 'Store ID :3', '2', '2018-05-13 10:46:05');
DELETE FROM `store`
WHERE `store_id` = '3';
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Store', 'delete', 'Store ID :3', '2', '2018-05-13 10:47:56');
INSERT INTO `supplier` (`supplier_id`, `supplier_name`, `phone`, `address`, `email`, `isactive`, `createby`, `createdate`, `updateby`, `updatedate`) VALUES ('', 'ste', '324', 'sdfas', 'admisn@example.com', 1, '2', '2018-05-13 10:50:41', '', '');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Supplier', 'create', 'Supplier ID :2', '2', '2018-05-13 10:50:41');
INSERT INTO `supplier` (`supplier_id`, `supplier_name`, `phone`, `address`, `email`, `isactive`, `createby`, `createdate`, `updateby`, `updatedate`) VALUES ('', 'ste', '324', 'dhanmondi', 'admisn@example.com', 1, '2', '2018-05-13 10:52:00', '', '');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Supplier', 'create', 'Supplier ID :3', '2', '2018-05-13 10:52:00');
INSERT INTO `supplier` (`supplier_id`, `supplier_name`, `phone`, `address`, `email`, `isactive`, `createby`, `createdate`, `updateby`, `updatedate`) VALUES ('', 'ste', '32433', 'dhanmondi', 'admisn@example.com', 1, '2', '2018-05-13 10:52:54', '', '');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Supplier', 'create', 'Supplier ID :4', '2', '2018-05-13 10:52:54');
INSERT INTO `supplier` (`supplier_id`, `supplier_name`, `phone`, `address`, `email`, `isactive`, `createby`, `createdate`, `updateby`, `updatedate`) VALUES ('', 'uuu', '32433', 'dhanmondi', 'admisn@example.com', 1, '2', '2018-05-13 10:55:58', '', '');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Supplier', 'create', 'Supplier ID :5', '2', '2018-05-13 10:55:58');
UPDATE `supplier` SET `supplier_id` = '5', `supplier_name` = 'oooo', `phone` = '32433', `address` = 'dhanmondi', `email` = 'admisn@example.com', `isactive` = 1, `createby` = '2', `createdate` = '2018-05-13 10:57:03', `updateby` = '2', `updatedate` = '2018-05-13 10:57:03'
WHERE `supplier_id` = '5';
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Supplier', 'update', 'Supplier ID :5', '2', '2018-05-13 10:57:03');
DELETE FROM `supplier`
WHERE `supplier_id` = '5';
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Supplier', 'delete', 'Supplier ID :5', '2', '2018-05-13 10:57:46');
INSERT INTO `warehouse` (`warehouse_id`, `warehouse_name`, `warehouse_code`, `warehouse_phone`, `warehouse_address`, `createby`, `createdate`, `isactive`) VALUES ('', 'test', '3422', '324234', 'sdfsdf', '2', '2018-05-13 11:00:22', 1);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Warehouse', 'delete', 'Warehouse ID :2', '2', '2018-05-13 11:00:22');
UPDATE `warehouse` SET `warehouse_id` = '2', `warehouse_name` = 'test', `warehouse_code` = '342', `warehouse_phone` = '234', `warehouse_address` = 'sdfsdf', `createby` = '2', `createdate` = '2018-05-13 11:01:09', `isactive` = 1
WHERE `warehouse_id` = '2';
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Warehouse', 'update', 'Warehouse ID :2', '2', '2018-05-13 11:01:09');
DELETE FROM `purchase_order`
WHERE `po_no` = '20180513062945';
DELETE FROM `supplier`
WHERE `supplier_id` = '4';
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Supplier', 'delete', 'Supplier ID :4', '2', '2018-05-13 12:02:46');
DELETE FROM `supplier`
WHERE `supplier_id` = '3';
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Supplier', 'delete', 'Supplier ID :3', '2', '2018-05-13 12:02:49');
INSERT INTO `product` (`product_id`, `product_name`, `product_details`, `category_id`, `price`, `createby`, `createdate`, `updateby`, `updatedate`, `isactive`) VALUES ('', 'xxxxxx', '234234', '2', '2123', '2', '2018-05-13 12:54:51', '', '', 1);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Product', 'create', 'product ID :4', '2', '2018-05-13 12:54:51');
UPDATE `user` SET `last_login` = '2018-05-14 05:43:27', `ip_address` = '::1'
WHERE `id` = '2';
INSERT INTO `product` (`product_id`, `product_name`, `product_details`, `price`, `createby`, `createdate`, `updateby`, `updatedate`, `isactive`) VALUES ('', 'kkr', 'sdf', '23', '2', '2018-05-14 08:31:12', '', '', 1);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Product', 'create', 'product ID :5', '2', '2018-05-14 08:31:12');
INSERT INTO `purchase_order` (`po_no`, `supplier_id`, `total_amnt`, `store_id`, `warehouse_id`, `createby`, `createdate`) VALUES ('20180514084546', '', '40.00', '', '', '2', '2018-05-14 08:45:46');
INSERT INTO `purchase_order_details` (`row_id`, `po_no`, `product_id`, `order_qty`, `product_rate`) VALUES ('374793621988559', '20180514084546', '1', '4', '10');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('purchase order', 'create', 'Orde Id-20180514084546 total amount-40.00', '2', '2018-05-14 08:45:46');
INSERT INTO `purchase_order` (`po_no`, `supplier_id`, `total_amnt`, `store_id`, `warehouse_id`, `createby`, `createdate`) VALUES ('20180514093237', '', '600.00', '', '', '2', '2018-05-14 09:32:37');
INSERT INTO `purchase_order_details` (`row_id`, `po_no`, `product_id`, `order_qty`, `product_rate`) VALUES ('747261942392181', '20180514093237', '4', '6', '100');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('purchase order', 'create', 'Orde Id-20180514093237 total amount-600.00', '2', '2018-05-14 09:32:38');
INSERT INTO `purchase_order` (`po_no`, `supplier_id`, `total_amnt`, `store_id`, `warehouse_id`, `createby`, `createdate`) VALUES ('20180514093316', '', '120.00', '', '', '2', '2018-05-14 09:33:16');
INSERT INTO `purchase_order_details` (`row_id`, `po_no`, `product_id`, `order_qty`, `product_rate`) VALUES ('838255176883977', '20180514093316', '1', '6', '20');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('purchase order', 'create', 'Orde Id-20180514093316 total amount-120.00', '2', '2018-05-14 09:33:16');
INSERT INTO `purchase_order` (`po_no`, `supplier_id`, `total_amnt`, `store_id`, `warehouse_id`, `createby`, `createdate`) VALUES ('20180514100849', '', '776.00', '', '', '2', '2018-05-14 10:08:49');
INSERT INTO `purchase_order_details` (`row_id`, `po_no`, `product_id`, `order_qty`, `product_rate`) VALUES ('755476521212864', '20180514100849', '4', '2', '30');
INSERT INTO `purchase_order_details` (`row_id`, `po_no`, `product_id`, `order_qty`, `product_rate`) VALUES ('618118329394865', '20180514100849', '1', '20', '25');
INSERT INTO `purchase_order_details` (`row_id`, `po_no`, `product_id`, `order_qty`, `product_rate`) VALUES ('797671885483862', '20180514100849', '2', '6', '36');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('purchase order', 'create', 'Orde Id-20180514100849 total amount-776.00', '2', '2018-05-14 10:08:49');
INSERT INTO `language` (`phrase`) VALUES ('check_receive');
INSERT INTO `language` (`phrase`) VALUES ('receive');
INSERT INTO `language` (`phrase`) VALUES ('order_qty');
INSERT INTO `language` (`phrase`) VALUES ('receive_quantity');
UPDATE `language` SET `english` = 'Captcha Word'
WHERE `phrase` = 'captcha';
UPDATE `language` SET `english` = 'NID'
WHERE `phrase` = 'cardno';
UPDATE `language` SET `english` = 'Category'
WHERE `phrase` = 'category';
UPDATE `language` SET `english` = 'Category Name'
WHERE `phrase` = 'category_name';
UPDATE `language` SET `english` = 'Checked By'
WHERE `phrase` = 'checked_by';
UPDATE `language` SET `english` = 'Check_receive'
WHERE `phrase` = 'check_receive';
UPDATE `language` SET `english` = 'Create'
WHERE `phrase` = 'create';
UPDATE `language` SET `english` = 'Create User Role'
WHERE `phrase` = 'create_user_role';
UPDATE `language` SET `english` = 'Customer'
WHERE `phrase` = 'customer';
UPDATE `language` SET `english` = 'Customer CNC'
WHERE `phrase` = 'customer_cnic';
UPDATE `language` SET `english` = 'Customer Code'
WHERE `phrase` = 'customer_code';
UPDATE `language` SET `english` = 'Customer Name'
WHERE `phrase` = 'customer_name';
UPDATE `language` SET `english` = 'Dashboard'
WHERE `phrase` = 'dashboard';
UPDATE `language` SET `english` = 'Database Backup'
WHERE `phrase` = 'database_backup';
UPDATE `language` SET `english` = 'Data Import First'
WHERE `phrase` = 'data_import_first';
UPDATE `language` SET `english` = 'Data Import Successfully!'
WHERE `phrase` = 'data_import_successfully';
UPDATE `language` SET `english` = 'Data Import To Database'
WHERE `phrase` = 'data_import_to_database';
UPDATE `language` SET `english` = 'Data Synchronize'
WHERE `phrase` = 'data_synchronize';
UPDATE `language` SET `english` = 'Data Synchronizer'
WHERE `phrase` = 'data_synchronizer';
UPDATE `language` SET `english` = 'Data Upload to Server'
WHERE `phrase` = 'data_upload_to_server';
UPDATE `language` SET `english` = 'Date'
WHERE `phrase` = 'date';
UPDATE `language` SET `english` = 'Delete'
WHERE `phrase` = 'delete';
UPDATE `language` SET `english` = 'Delete Successfully!'
WHERE `phrase` = 'delete_successfully';
UPDATE `language` SET `english` = 'Delete Successfully!'
WHERE `phrase` = 'delete_successfully';
UPDATE `language` SET `english` = 'Department'
WHERE `phrase` = 'department';
UPDATE `language` SET `english` = 'Module List'
WHERE `phrase` = 'module_list';
UPDATE `language` SET `english` = 'Module Name'
WHERE `phrase` = 'module_name';
UPDATE `language` SET `english` = 'Module Permission'
WHERE `phrase` = 'module_permission';
UPDATE `language` SET `english` = 'Module Permission Added Successfully!'
WHERE `phrase` = 'module_permission_added_successfully';
UPDATE `language` SET `english` = 'Module Permission List'
WHERE `phrase` = 'module_permission_list';
UPDATE `language` SET `english` = 'Name'
WHERE `phrase` = 'name';
UPDATE `language` SET `english` = 'New'
WHERE `phrase` = 'new';
UPDATE `language` SET `english` = 'New Enquiry'
WHERE `phrase` = 'new_enquiry';
UPDATE `language` SET `english` = 'New Message'
WHERE `phrase` = 'new_message';
UPDATE `language` SET `english` = 'Not Available'
WHERE `phrase` = 'not_available';
UPDATE `language` SET `english` = 'No tables are registerd in config.php'
WHERE `phrase` = 'no_tables_are_registered_in_config';
UPDATE `language` SET `english` = 'Ok'
WHERE `phrase` = 'ok';
UPDATE `language` SET `english` = ' Ooops something went wrong...'
WHERE `phrase` = 'ooops_something_went_wrong';
UPDATE `language` SET `english` = 'Order NO'
WHERE `phrase` = 'order_no';
UPDATE `language` SET `english` = 'Order QTY'
WHERE `phrase` = 'order_qty';
UPDATE `language` SET `english` = 'Outgoing File'
WHERE `phrase` = 'outgoing_file';
UPDATE `language` SET `english` = 'Overwrite'
WHERE `phrase` = 'overwrite';
UPDATE `language` SET `english` = 'Password'
WHERE `phrase` = 'password';
UPDATE `language` SET `english` = 'You Have No Permission'
WHERE `phrase` = 'permission_error';
UPDATE `language` SET `english` = 'Phone'
WHERE `phrase` = 'phone';
UPDATE `language` SET `english` = 'Please configure synchronizer settings'
WHERE `phrase` = 'please_configure_synchronizer_settings';
UPDATE `language` SET `english` = 'Please Contact With Admin'
WHERE `phrase` = 'please_contact_with_admin';
UPDATE `language` SET `english` = 'Please Try Again...'
WHERE `phrase` = 'please_try_again';
UPDATE `language` SET `english` = 'Please Wait...'
WHERE `phrase` = 'please_wait';
UPDATE `language` SET `english` = 'Preview'
WHERE `phrase` = 'preview';
UPDATE `language` SET `english` = 'Price'
WHERE `phrase` = 'price';
UPDATE `language` SET `english` = 'Product'
WHERE `phrase` = 'product';
UPDATE `language` SET `english` = 'Product Category'
WHERE `phrase` = 'product_category';
UPDATE `language` SET `english` = 'Product Details'
WHERE `phrase` = 'product_details';
UPDATE `language` SET `english` = 'Product Name'
WHERE `phrase` = 'product_name';
UPDATE `language` SET `english` = 'Profile'
WHERE `phrase` = 'profile';
UPDATE `language` SET `english` = 'Profile Setting'
WHERE `phrase` = 'profile_setting';
UPDATE `language` SET `english` = 'Project Root'
WHERE `phrase` = 'project_root';
UPDATE `language` SET `english` = 'Puchase Order'
WHERE `phrase` = 'purchase_order';
UPDATE `language` SET `english` = 'Qty'
WHERE `phrase` = 'quantity';
UPDATE `language` SET `english` = 'Read'
WHERE `phrase` = 'read';
UPDATE `language` SET `english` = 'Read/Unread'
WHERE `phrase` = 'read_unread';
UPDATE `language` SET `english` = 'Receive'
WHERE `phrase` = 'receive';
UPDATE `language` SET `english` = 'Receiver Name'
WHERE `phrase` = 'receiver_name';
UPDATE `language` SET `english` = 'Receive QTY'
WHERE `phrase` = 'receive_quantity';
UPDATE `language` SET `english` = 'Remove Successfully!'
WHERE `phrase` = 'remove_successfully';
UPDATE `language` SET `english` = 'Reset'
WHERE `phrase` = 'reset';
UPDATE `language` SET `english` = 'Restore Now!'
WHERE `phrase` = 'restore_now';
UPDATE `language` SET `english` = 'Restore Successfully'
WHERE `phrase` = 'restore_successfully';
UPDATE `language` SET `english` = 'Right To Left'
WHERE `phrase` = 'right_to_left';
UPDATE `language` SET `english` = 'Role'
WHERE `phrase` = 'role';
UPDATE `language` SET `english` = 'Role List'
WHERE `phrase` = 'role_list';
UPDATE `language` SET `english` = 'Role Name'
WHERE `phrase` = 'role_name';
UPDATE `language` SET `english` = 'Role Permission'
WHERE `phrase` = 'role_permission';
UPDATE `language` SET `english` = 'Role Permission List'
WHERE `phrase` = 'role_permission_list';
INSERT INTO `language` (`phrase`) VALUES ('order_date');
UPDATE `language` SET `english` = 'Module List'
WHERE `phrase` = 'module_list';
UPDATE `language` SET `english` = 'Module Name'
WHERE `phrase` = 'module_name';
UPDATE `language` SET `english` = 'Module Permission'
WHERE `phrase` = 'module_permission';
UPDATE `language` SET `english` = 'Module Permission Added Successfully!'
WHERE `phrase` = 'module_permission_added_successfully';
UPDATE `language` SET `english` = 'Module Permission List'
WHERE `phrase` = 'module_permission_list';
UPDATE `language` SET `english` = 'Name'
WHERE `phrase` = 'name';
UPDATE `language` SET `english` = 'New'
WHERE `phrase` = 'new';
UPDATE `language` SET `english` = 'New Enquiry'
WHERE `phrase` = 'new_enquiry';
UPDATE `language` SET `english` = 'New Message'
WHERE `phrase` = 'new_message';
UPDATE `language` SET `english` = 'Not Available'
WHERE `phrase` = 'not_available';
UPDATE `language` SET `english` = 'No tables are registerd in config.php'
WHERE `phrase` = 'no_tables_are_registered_in_config';
UPDATE `language` SET `english` = 'Ok'
WHERE `phrase` = 'ok';
UPDATE `language` SET `english` = ' Ooops something went wrong...'
WHERE `phrase` = 'ooops_something_went_wrong';
UPDATE `language` SET `english` = 'Order Date'
WHERE `phrase` = 'order_date';
UPDATE `language` SET `english` = 'Order NO'
WHERE `phrase` = 'order_no';
UPDATE `language` SET `english` = 'Order QTY'
WHERE `phrase` = 'order_qty';
UPDATE `language` SET `english` = 'Outgoing File'
WHERE `phrase` = 'outgoing_file';
UPDATE `language` SET `english` = 'Overwrite'
WHERE `phrase` = 'overwrite';
UPDATE `language` SET `english` = 'Password'
WHERE `phrase` = 'password';
UPDATE `language` SET `english` = 'You Have No Permission'
WHERE `phrase` = 'permission_error';
UPDATE `language` SET `english` = 'Phone'
WHERE `phrase` = 'phone';
UPDATE `language` SET `english` = 'Please configure synchronizer settings'
WHERE `phrase` = 'please_configure_synchronizer_settings';
UPDATE `language` SET `english` = 'Please Contact With Admin'
WHERE `phrase` = 'please_contact_with_admin';
UPDATE `language` SET `english` = 'Please Try Again...'
WHERE `phrase` = 'please_try_again';
UPDATE `language` SET `english` = 'Please Wait...'
WHERE `phrase` = 'please_wait';
INSERT INTO `purchase_order` (`po_no`, `supplier_id`, `total_amnt`, `store_id`, `warehouse_id`, `createby`, `createdate`) VALUES ('20180514122943', '2', '250.00', '2', '', '2', '2018-05-14 12:29:43');
INSERT INTO `purchase_order_details` (`row_id`, `po_no`, `product_id`, `order_qty`, `product_rate`) VALUES ('823129511711253', '20180514122943', '2', '2', '20');
INSERT INTO `purchase_order_details` (`row_id`, `po_no`, `product_id`, `order_qty`, `product_rate`) VALUES ('897563412493624', '20180514122943', '1', '3', '30');
INSERT INTO `purchase_order_details` (`row_id`, `po_no`, `product_id`, `order_qty`, `product_rate`) VALUES ('681338747563216', '20180514122943', '4', '4', '30');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('purchase order', 'create', 'Orde Id-20180514122943 total amount-250.00', '2', '2018-05-14 12:29:43');
INSERT INTO `language` (`phrase`) VALUES ('storewarehouse');
UPDATE `language` SET `english` = 'Role Permission List'
WHERE `phrase` = 'role_permission_list';
UPDATE `language` SET `english` = 'Save'
WHERE `phrase` = 'save';
UPDATE `language` SET `english` = 'Save Successfully!'
WHERE `phrase` = 'save_successfully';
UPDATE `language` SET `english` = 'See All Messages'
WHERE `phrase` = 'see_all_message';
UPDATE `language` SET `english` = 'Select Option'
WHERE `phrase` = 'select_option';
UPDATE `language` SET `english` = 'Send'
WHERE `phrase` = 'send';
UPDATE `language` SET `english` = 'Sender Name'
WHERE `phrase` = 'sender_name';
UPDATE `language` SET `english` = 'Sent'
WHERE `phrase` = 'sent';
UPDATE `language` SET `english` = 'Sent Message'
WHERE `phrase` = 'sent_message';
UPDATE `language` SET `english` = 'Set'
WHERE `phrase` = 'set';
UPDATE `language` SET `english` = 'Setting'
WHERE `phrase` = 'setting';
UPDATE `language` SET `english` = 'Application Alignment'
WHERE `phrase` = 'site_align';
UPDATE `language` SET `english` = 'size'
WHERE `phrase` = 'size';
UPDATE `language` SET `english` = 'SL'
WHERE `phrase` = 'sl';
UPDATE `language` SET `english` = 'SL No.'
WHERE `phrase` = 'sl_no';
UPDATE `language` SET `english` = 'Status'
WHERE `phrase` = 'status';
UPDATE `language` SET `english` = 'Stock Qty'
WHERE `phrase` = 'stock_ctn';
UPDATE `language` SET `english` = 'Store'
WHERE `phrase` = 'store';
UPDATE `language` SET `english` = 'Store/warehouse'
WHERE `phrase` = 'storewarehouse';
UPDATE `language` SET `english` = 'Store Address'
WHERE `phrase` = 'store_address';
UPDATE `language` SET `english` = 'Store Code'
WHERE `phrase` = 'store_code';
UPDATE `language` SET `english` = 'Store Name'
WHERE `phrase` = 'store_name';
UPDATE `language` SET `english` = 'Store Phone'
WHERE `phrase` = 'store_phone';
UPDATE `language` SET `english` = 'Subject'
WHERE `phrase` = 'subject';
UPDATE `language` SET `english` = 'Submit '
WHERE `phrase` = 'submit';
DELETE FROM `role_permission`
WHERE `role_id` = '9';
INSERT INTO `role_permission` (`create`, `delete`, `fk_module_id`, `read`, `role_id`, `update`) VALUES ('1','1','3','1','9','1'), (0,0,'4',0,'9',0), ('1','1','5','1','9','1'), (0,0,'6',0,'9',0), (0,0,'7',0,'9',0), (0,0,'8',0,'9',0), (0,0,'9',0,'9',0), (0,0,'10','1','9',0), (0,0,'11',0,'9',0);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Role Permission', 'update', 'Role id :9', '2', '2018-05-14 13:38:15');
UPDATE `user` SET `last_logout` = '2018-05-14 13:38:20'
WHERE `id` = '2';
UPDATE `user` SET `last_login` = '2018-05-14 13:38:31', `ip_address` = '::1'
WHERE `id` = '9';
UPDATE `user` SET `last_logout` = '2018-05-14 13:38:46'
WHERE `id` = '9';
UPDATE `user` SET `last_login` = '2018-05-14 13:38:56', `ip_address` = '::1'
WHERE `id` = '2';
INSERT INTO `user` (`id`, `firstname`, `lastname`, `email`, `password`, `about`, `store_id`, `is_admin`, `image`, `last_login`, `last_logout`, `ip_address`, `status`) VALUES ('', 'ww', 'rr', 'w@gmail.com', '202cb962ac59075b964b07152d234b70', 'sdfsd', '2', '0', './assets/img/user/1451456913_brodie.jpg', NULL, NULL, NULL, '1');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('User', 'create', 'User ID :20', '2', '2018-05-14 13:39:51');
INSERT INTO `sec_userrole` (`id`, `user_id`, `roleid`, `createby`, `createdate`) VALUES ('', '20', '9', '2', '2018-05-14 01:40:22');
UPDATE `user` SET `last_logout` = '2018-05-14 13:40:26'
WHERE `id` = '2';
UPDATE `user` SET `last_login` = '2018-05-14 13:40:37', `ip_address` = '::1'
WHERE `id` = '20';
UPDATE `user` SET `last_logout` = '2018-05-14 13:41:33'
WHERE `id` = '20';
UPDATE `user` SET `last_login` = '2018-05-14 13:41:41', `ip_address` = '::1'
WHERE `id` = '2';
UPDATE `user` SET `last_login` = '2018-05-15 05:43:58', `ip_address` = '::1'
WHERE `id` = '2';
INSERT INTO `purchase_order` (`po_no`, `supplier_id`, `total_amnt`, `store_id`, `warehouse_id`, `createby`, `createdate`) VALUES ('20180515060421', '1', '195.00', '', '1', '2', '2018-05-15 06:04:21');
INSERT INTO `purchase_order_details` (`row_id`, `po_no`, `product_id`, `order_qty`, `product_rate`) VALUES ('575387216862522', '20180515060421', '1', '2', '30');
INSERT INTO `purchase_order_details` (`row_id`, `po_no`, `product_id`, `order_qty`, `product_rate`) VALUES ('633576394471897', '20180515060421', '2', '3', '45');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('purchase order', 'create', 'Orde Id-20180515060421 total amount-195.00', '2', '2018-05-15 06:04:21');
INSERT INTO `purchase_receive` (`receive_id`, `po_no`, `supplier_id`, `total_amnt`, `store_id`, `warehouse_id`, `voucher_no`, `receive_by`, `receive_date`) VALUES ('20180515070137', '{po_no}', '1', '120.00', '', '1', 1000, '2', '2018-05-15 07:01:37');
INSERT INTO `purchase_receive_details` (`receive_id`, `product_id`, `receive_qty`) VALUES ('20180515070137', '1', '1');
INSERT INTO `purchase_receive_details` (`receive_id`, `product_id`, `receive_qty`) VALUES ('20180515070137', '2', '2');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('purchase order receive', 'create', 'Orde Id- total amount-120.00', '2', '2018-05-15 07:01:37');
INSERT INTO `purchase_receive` (`receive_id`, `po_no`, `supplier_id`, `store_id`, `warehouse_id`, `voucher_no`, `receive_by`, `receive_date`) VALUES ('20180515070328', '{po_no}', '2', '2', '', 1000, '2', '2018-05-15 07:03:28');
INSERT INTO `purchase_receive_details` (`receive_id`, `product_id`, `receive_qty`) VALUES ('20180515070328', '1', '1');
INSERT INTO `purchase_receive_details` (`receive_id`, `product_id`, `receive_qty`) VALUES ('20180515070328', '2', '1');
INSERT INTO `purchase_receive_details` (`receive_id`, `product_id`, `receive_qty`) VALUES ('20180515070328', '4', '1');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('purchase order receive', 'create', 'Orde Id- total amount-80.00', '2', '2018-05-15 07:03:28');
INSERT INTO `purchase_receive` (`receive_id`, `po_no`, `supplier_id`, `store_id`, `voucher_no`, `receive_by`, `receive_date`) VALUES ('20180515070539', '{po_no}', '2', '2', 1000, '2', '2018-05-15 07:05:39');
INSERT INTO `purchase_receive_details` (`receive_id`, `product_id`, `receive_qty`) VALUES ('20180515070539', '1', '1');
INSERT INTO `purchase_receive_details` (`receive_id`, `product_id`, `receive_qty`) VALUES ('20180515070539', '2', '1');
INSERT INTO `purchase_receive_details` (`receive_id`, `product_id`, `receive_qty`) VALUES ('20180515070539', '4', '1');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('purchase order receive', 'create', 'Orde Id- total amount-80.00', '2', '2018-05-15 07:05:39');
INSERT INTO `purchase_receive` (`receive_id`, `po_no`, `supplier_id`, `store_id`, `voucher_no`, `receive_by`, `receive_date`) VALUES ('20180515070752', '20180514122943', '2', '2', 1001, '2', '2018-05-15 07:07:52');
INSERT INTO `purchase_receive_details` (`receive_id`, `product_id`, `receive_qty`) VALUES ('20180515070752', '1', '2');
INSERT INTO `purchase_receive_details` (`receive_id`, `product_id`, `receive_qty`) VALUES ('20180515070752', '2', '1');
INSERT INTO `purchase_receive_details` (`receive_id`, `product_id`, `receive_qty`) VALUES ('20180515070752', '4', '1');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('purchase order receive', 'create', 'Orde Id- total amount-110.00', '2', '2018-05-15 07:07:53');
UPDATE `customer` SET `customer_id` = '2', `isactive` = 0
WHERE `customer_id` = '2';
UPDATE `customer` SET `customer_id` = '2', `isactive` = 1
WHERE `customer_id` = '2';
INSERT INTO `purchase_order` (`po_no`, `supplier_id`, `total_amnt`, `store_id`, `warehouse_id`, `createby`, `createdate`) VALUES ('20180515075023', '2', '920.00', '', '2', '2', '2018-05-15 07:50:23');
INSERT INTO `purchase_order_details` (`row_id`, `po_no`, `product_id`, `order_qty`, `product_rate`) VALUES ('646332593171862', '20180515075023', '4', '23', '40');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('purchase order', 'create', 'Orde Id-20180515075023 total amount-920.00', '2', '2018-05-15 07:50:23');
UPDATE `purchase_order` SET `po_no` = '20180515075023', `isapproved` = 1
WHERE `po_no` = '20180515075023';
UPDATE `purchase_order` SET `po_no` = '20180515075023', `isapproved` = 0
WHERE `po_no` = '20180515075023';
INSERT INTO `language` (`phrase`) VALUES ('successfully_approved');
UPDATE `language` SET `english` = 'Submit and Another'
WHERE `phrase` = 'submit_and_add_another';
UPDATE `language` SET `english` = 'Successfully Approved'
WHERE `phrase` = 'successfully_approved';
UPDATE `language` SET `english` = 'Super Admin'
WHERE `phrase` = 'super_admin';
UPDATE `language` SET `english` = 'Supplier'
WHERE `phrase` = 'supplier';
UPDATE `language` SET `english` = 'Supplier Name'
WHERE `phrase` = 'supplier_name';
UPDATE `language` SET `english` = 'Synchronize'
WHERE `phrase` = 'synchronize';
UPDATE `language` SET `english` = 'Tables are not available in database.sql'
WHERE `phrase` = 'tables_are_not_available_in_database';
UPDATE `language` SET `english` = 'Total'
WHERE `phrase` = 'total';
UPDATE `language` SET `english` = 'Unable to download file! please check configuration'
WHERE `phrase` = 'unable_to_download_file_please_check_configuration';
UPDATE `language` SET `english` = 'Unable to import data! please check configuration / SQL file.'
WHERE `phrase` = 'unable_to_import_data_please_check_config_or_sql_file';
UPDATE `language` SET `english` = 'Unable to upload file! please check configuration'
WHERE `phrase` = 'unable_to_upload_file_please_check_configuration';
UPDATE `language` SET `english` = 'Uninstall'
WHERE `phrase` = 'uninstall';
UPDATE `language` SET `english` = 'Update'
WHERE `phrase` = 'update';
UPDATE `language` SET `english` = 'Update Module Permission'
WHERE `phrase` = 'update_module_permission';
UPDATE `language` SET `english` = 'Update Successfully'
WHERE `phrase` = 'update_successfully';
UPDATE `language` SET `english` = 'Upload Successfully!'
WHERE `phrase` = 'upload_successfully';
UPDATE `language` SET `english` = 'User'
WHERE `phrase` = 'user';
UPDATE `language` SET `english` = 'User Name'
WHERE `phrase` = 'username';
UPDATE `language` SET `english` = 'User Added Successfully!'
WHERE `phrase` = 'user_added_successfully';
UPDATE `language` SET `english` = 'User Agent'
WHERE `phrase` = 'user_agent';
UPDATE `language` SET `english` = 'User List'
WHERE `phrase` = 'user_list';
UPDATE `language` SET `english` = 'User Name'
WHERE `phrase` = 'user_name';
UPDATE `language` SET `english` = 'User Permission'
WHERE `phrase` = 'user_permission';
UPDATE `language` SET `english` = 'User Role'
WHERE `phrase` = 'user_role';
UPDATE `language` SET `english` = 'User Role List'
WHERE `phrase` = 'user_role_list';
INSERT INTO `language` (`phrase`) VALUES ('disapprove');
INSERT INTO `language` (`phrase`) VALUES ('approved');
UPDATE `language` SET `english` = 'About'
WHERE `phrase` = 'about';
UPDATE `language` SET `english` = 'Action'
WHERE `phrase` = 'action';
UPDATE `language` SET `english` = 'Active'
WHERE `phrase` = 'active';
UPDATE `language` SET `english` = 'Add '
WHERE `phrase` = 'add';
UPDATE `language` SET `english` = 'Address'
WHERE `phrase` = 'address';
UPDATE `language` SET `english` = 'Add Module'
WHERE `phrase` = 'add_module';
UPDATE `language` SET `english` = 'Add Module Permission'
WHERE `phrase` = 'add_module_permission';
UPDATE `language` SET `english` = 'Add New Product'
WHERE `phrase` = 'add_new_item';
UPDATE `language` SET `english` = 'Add Role'
WHERE `phrase` = 'add_role';
UPDATE `language` SET `english` = 'Add Role Permission'
WHERE `phrase` = 'add_role_permission';
UPDATE `language` SET `english` = 'Add Store'
WHERE `phrase` = 'add_store';
UPDATE `language` SET `english` = 'Add User'
WHERE `phrase` = 'add_user';
UPDATE `language` SET `english` = 'Add User Role'
WHERE `phrase` = 'add_user_role';
UPDATE `language` SET `english` = 'Add Warehouse'
WHERE `phrase` = 'add_warehouse';
UPDATE `language` SET `english` = 'Admin'
WHERE `phrase` = 'admin';
UPDATE `language` SET `english` = 'Application Setting'
WHERE `phrase` = 'application_setting';
UPDATE `language` SET `english` = 'Application Title'
WHERE `phrase` = 'application_title';
UPDATE `language` SET `english` = 'Approved'
WHERE `phrase` = 'approved';
UPDATE `language` SET `english` = 'Are You Sure ? '
WHERE `phrase` = 'are_you_sure';
UPDATE `language` SET `english` = 'Assign Role'
WHERE `phrase` = 'assign_role';
UPDATE `language` SET `english` = 'Available'
WHERE `phrase` = 'available';
UPDATE `language` SET `english` = 'Backup and Restore'
WHERE `phrase` = 'backup_and_restore';
UPDATE `language` SET `english` = 'Backup Date'
WHERE `phrase` = 'backup_date';
UPDATE `language` SET `english` = 'Backup Now!'
WHERE `phrase` = 'backup_now';
UPDATE `language` SET `english` = 'Backup Successfully'
WHERE `phrase` = 'backup_successfully';
UPDATE `language` SET `english` = 'Department'
WHERE `phrase` = 'department';
UPDATE `language` SET `english` = 'Description'
WHERE `phrase` = 'description';
UPDATE `language` SET `english` = 'Designation'
WHERE `phrase` = 'designation';
UPDATE `language` SET `english` = 'Module Direcotory'
WHERE `phrase` = 'directory';
UPDATE `language` SET `english` = 'Disapprove'
WHERE `phrase` = 'disapprove';
UPDATE `language` SET `english` = 'Download'
WHERE `phrase` = 'download';
UPDATE `language` SET `english` = 'Download Data from Server'
WHERE `phrase` = 'download_data_from_server';
UPDATE `language` SET `english` = 'Download Successfully'
WHERE `phrase` = 'download_successfully';
UPDATE `language` SET `english` = 'Email Address'
WHERE `phrase` = 'email';
UPDATE `language` SET `english` = 'Employee'
WHERE `phrase` = 'employee';
UPDATE `language` SET `english` = 'Enquiry'
WHERE `phrase` = 'enquiry';
UPDATE `language` SET `english` = 'Enquiry Information'
WHERE `phrase` = 'enquiry_information';
UPDATE `language` SET `english` = 'Favicon'
WHERE `phrase` = 'favicon';
UPDATE `language` SET `english` = 'File Name'
WHERE `phrase` = 'filename';
UPDATE `language` SET `english` = 'File Information'
WHERE `phrase` = 'file_information';
UPDATE `language` SET `english` = 'First Name'
WHERE `phrase` = 'firstname';
UPDATE `language` SET `english` = 'Footer Text'
WHERE `phrase` = 'footer_text';
UPDATE `language` SET `english` = 'FTP Debug'
WHERE `phrase` = 'ftp_debug';
UPDATE `language` SET `english` = 'FTP Port'
WHERE `phrase` = 'ftp_port';
UPDATE `language` SET `english` = 'Data Synchronize [FTP Setting]'
WHERE `phrase` = 'ftp_setting';
UPDATE `language` SET `english` = 'Grand Total'
WHERE `phrase` = 'grand_total';
UPDATE `language` SET `english` = 'Home'
WHERE `phrase` = 'home';
UPDATE `language` SET `english` = 'Host Name'
WHERE `phrase` = 'hostname';
UPDATE `language` SET `english` = 'Image'
WHERE `phrase` = 'image';
UPDATE `language` SET `english` = 'Image Upload Successfully!'
WHERE `phrase` = 'image_upload_successfully';
UPDATE `language` SET `english` = 'About'
WHERE `phrase` = 'about';
UPDATE `language` SET `english` = 'Action'
WHERE `phrase` = 'action';
UPDATE `language` SET `english` = 'Active'
WHERE `phrase` = 'active';
UPDATE `language` SET `english` = 'Add '
WHERE `phrase` = 'add';
UPDATE `language` SET `english` = 'Address'
WHERE `phrase` = 'address';
UPDATE `language` SET `english` = 'Add Module'
WHERE `phrase` = 'add_module';
UPDATE `language` SET `english` = 'Add Module Permission'
WHERE `phrase` = 'add_module_permission';
UPDATE `language` SET `english` = 'Add New Product'
WHERE `phrase` = 'add_new_item';
UPDATE `language` SET `english` = 'Add Role'
WHERE `phrase` = 'add_role';
UPDATE `language` SET `english` = 'Add Role Permission'
WHERE `phrase` = 'add_role_permission';
UPDATE `language` SET `english` = 'Add Store'
WHERE `phrase` = 'add_store';
UPDATE `language` SET `english` = 'Add User'
WHERE `phrase` = 'add_user';
UPDATE `language` SET `english` = 'Add User Role'
WHERE `phrase` = 'add_user_role';
UPDATE `language` SET `english` = 'Add Warehouse'
WHERE `phrase` = 'add_warehouse';
UPDATE `language` SET `english` = 'Admin'
WHERE `phrase` = 'admin';
UPDATE `language` SET `english` = 'Application Setting'
WHERE `phrase` = 'application_setting';
UPDATE `language` SET `english` = 'Application Title'
WHERE `phrase` = 'application_title';
UPDATE `language` SET `english` = 'Approve'
WHERE `phrase` = 'approved';
UPDATE `language` SET `english` = 'Are You Sure ? '
WHERE `phrase` = 'are_you_sure';
UPDATE `language` SET `english` = 'Assign Role'
WHERE `phrase` = 'assign_role';
UPDATE `language` SET `english` = 'Available'
WHERE `phrase` = 'available';
UPDATE `language` SET `english` = 'Backup and Restore'
WHERE `phrase` = 'backup_and_restore';
UPDATE `language` SET `english` = 'Backup Date'
WHERE `phrase` = 'backup_date';
UPDATE `language` SET `english` = 'Backup Now!'
WHERE `phrase` = 'backup_now';
UPDATE `language` SET `english` = 'Backup Successfully'
WHERE `phrase` = 'backup_successfully';
UPDATE `purchase_order` SET `po_no` = '20180515075023', `isapproved` = 1
WHERE `po_no` = '20180515075023';
UPDATE `purchase_order` SET `po_no` = '20180515075023', `isapproved` = 0
WHERE `po_no` = '20180515075023';
UPDATE `purchase_order` SET `po_no` = '20180515075023', `isapproved` = 1
WHERE `po_no` = '20180515075023';
UPDATE `user` SET `last_logout` = '2018-05-15 08:56:49'
WHERE `id` = '2';
UPDATE `user` SET `last_login` = '2018-05-15 08:57:08', `ip_address` = '::1'
WHERE `id` = '9';
UPDATE `user` SET `last_logout` = '2018-05-15 08:57:16'
WHERE `id` = '9';
UPDATE `user` SET `last_login` = '2018-05-15 08:57:24', `ip_address` = '::1'
WHERE `id` = '2';
DELETE FROM `role_permission`
WHERE `role_id` = '6';
INSERT INTO `role_permission` (`create`, `delete`, `fk_module_id`, `read`, `role_id`, `update`) VALUES (0,0,'3',0,'6',0), ('1','1','4',0,'6','1'), (0,0,'5',0,'6',0), (0,0,'6',0,'6',0), (0,0,'7',0,'6',0), (0,0,'8',0,'6',0), (0,0,'9',0,'6',0), ('1','1','10','1','6','1'), (0,0,'11',0,'6',0);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Role Permission', 'update', 'Role id :6', '2', '2018-05-15 08:57:53');
UPDATE `user` SET `last_logout` = '2018-05-15 08:58:35'
WHERE `id` = '2';
UPDATE `user` SET `last_login` = '2018-05-15 08:59:05', `ip_address` = '::1'
WHERE `id` = '9';
UPDATE `user` SET `last_logout` = '2018-05-15 09:04:56'
WHERE `id` = '9';
UPDATE `user` SET `last_login` = '2018-05-15 09:05:11', `ip_address` = '::1'
WHERE `id` = '2';
INSERT INTO `language` (`phrase`) VALUES ('receive_list');
UPDATE `language` SET `english` = 'Please Try Again...'
WHERE `phrase` = 'please_try_again';
UPDATE `language` SET `english` = 'Please Wait...'
WHERE `phrase` = 'please_wait';
UPDATE `language` SET `english` = 'Preview'
WHERE `phrase` = 'preview';
UPDATE `language` SET `english` = 'Price'
WHERE `phrase` = 'price';
UPDATE `language` SET `english` = 'Product'
WHERE `phrase` = 'product';
UPDATE `language` SET `english` = 'Product Category'
WHERE `phrase` = 'product_category';
UPDATE `language` SET `english` = 'Product Details'
WHERE `phrase` = 'product_details';
UPDATE `language` SET `english` = 'Product Name'
WHERE `phrase` = 'product_name';
UPDATE `language` SET `english` = 'Profile'
WHERE `phrase` = 'profile';
UPDATE `language` SET `english` = 'Profile Setting'
WHERE `phrase` = 'profile_setting';
UPDATE `language` SET `english` = 'Project Root'
WHERE `phrase` = 'project_root';
UPDATE `language` SET `english` = 'Puchase Order'
WHERE `phrase` = 'purchase_order';
UPDATE `language` SET `english` = 'Qty'
WHERE `phrase` = 'quantity';
UPDATE `language` SET `english` = 'Read'
WHERE `phrase` = 'read';
UPDATE `language` SET `english` = 'Read/Unread'
WHERE `phrase` = 'read_unread';
UPDATE `language` SET `english` = 'Receive'
WHERE `phrase` = 'receive';
UPDATE `language` SET `english` = 'Receiver Name'
WHERE `phrase` = 'receiver_name';
UPDATE `language` SET `english` = 'Receive List'
WHERE `phrase` = 'receive_list';
UPDATE `language` SET `english` = 'Receive QTY'
WHERE `phrase` = 'receive_quantity';
UPDATE `language` SET `english` = 'Remove Successfully!'
WHERE `phrase` = 'remove_successfully';
UPDATE `language` SET `english` = 'Reset'
WHERE `phrase` = 'reset';
UPDATE `language` SET `english` = 'Restore Now!'
WHERE `phrase` = 'restore_now';
UPDATE `language` SET `english` = 'Restore Successfully'
WHERE `phrase` = 'restore_successfully';
UPDATE `language` SET `english` = 'Right To Left'
WHERE `phrase` = 'right_to_left';
UPDATE `language` SET `english` = 'Role'
WHERE `phrase` = 'role';
INSERT INTO `language` (`phrase`) VALUES ('voucher_no');
UPDATE `language` SET `english` = 'User Permission'
WHERE `phrase` = 'user_permission';
UPDATE `language` SET `english` = 'User Role'
WHERE `phrase` = 'user_role';
UPDATE `language` SET `english` = 'User Role List'
WHERE `phrase` = 'user_role_list';
UPDATE `language` SET `english` = 'User Type'
WHERE `phrase` = 'user_type';
UPDATE `language` SET `english` = 'Voucher No'
WHERE `phrase` = 'voucher_no';
UPDATE `language` SET `english` = 'Warehouse'
WHERE `phrase` = 'warehouse';
UPDATE `language` SET `english` = 'Warehouse Address'
WHERE `phrase` = 'warehouse_address';
UPDATE `language` SET `english` = 'Warehouse code'
WHERE `phrase` = 'warehouse_code';
UPDATE `language` SET `english` = 'Warehouse Name'
WHERE `phrase` = 'warehouse_name';
UPDATE `language` SET `english` = 'Warehouse Phone'
WHERE `phrase` = 'warehouse_phone';
UPDATE `language` SET `english` = 'Welcome Back!'
WHERE `phrase` = 'welcome_back';
UPDATE `user` SET `last_logout` = '2018-05-15 10:30:33'
WHERE `id` = '2';
UPDATE `user` SET `last_login` = '2018-05-15 10:31:06', `ip_address` = '::1'
WHERE `id` = '9';
UPDATE `user` SET `last_logout` = '2018-05-15 10:31:44'
WHERE `id` = '9';
UPDATE `user` SET `last_login` = '2018-05-15 10:31:51', `ip_address` = '::1'
WHERE `id` = '2';
UPDATE `purchase_order` SET `po_no` = '20180515075023', `supplier_id` = '2', `total_amnt` = '980.00', `store_id` = '', `warehouse_id` = '2', `createdate` = '2018-05-13 10:50:41', `updateby` = '2', `updatedate` = '2018-05-15 12:10:38'
WHERE `po_no` = '20180515075023';
UPDATE `purchase_order_details` SET `row_id` = '642591926945519', `po_no` = '20180515075023', `product_id` = '4', `order_qty` = '23', `product_rate` = '40'
WHERE `po_no` = '20180515075023';
UPDATE `purchase_order_details` SET `row_id` = '398988288576482', `po_no` = '20180515075023', `product_id` = '1', `order_qty` = '2', `product_rate` = '30'
WHERE `po_no` = '20180515075023';
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('purchase order', 'create', 'Orde Id-20180515075023 total amount-980.00', '2', '2018-05-15 12:10:38');
UPDATE `purchase_order` SET `po_no` = '20180515060421', `supplier_id` = '1', `total_amnt` = '210.00', `store_id` = '', `warehouse_id` = '1', `createdate` = '2018-05-12 11:32:16', `updateby` = '2', `updatedate` = '2018-05-15 12:11:58'
WHERE `po_no` = '20180515060421';
UPDATE `purchase_order_details` SET `row_id` = '142339287744516', `po_no` = '20180515060421', `product_id` = '1', `order_qty` = '2', `product_rate` = '30'
WHERE `po_no` = '20180515060421';
UPDATE `purchase_order_details` SET `row_id` = '836272789781195', `po_no` = '20180515060421', `product_id` = '2', `order_qty` = '3', `product_rate` = '45'
WHERE `po_no` = '20180515060421';
UPDATE `purchase_order_details` SET `row_id` = '696291628573669', `po_no` = '20180515060421', `product_id` = '4', `order_qty` = '3', `product_rate` = '5'
WHERE `po_no` = '20180515060421';
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('purchase order', 'create', 'Orde Id-20180515060421 total amount-210.00', '2', '2018-05-15 12:11:58');
UPDATE `purchase_order` SET `po_no` = '20180514122943', `supplier_id` = '2', `total_amnt` = '60.00', `store_id` = '2', `warehouse_id` = '', `createdate` = '2018-05-13 10:50:41', `updateby` = '2', `updatedate` = '2018-05-15 12:24:17'
WHERE `po_no` = '20180514122943';
UPDATE `purchase_order_details` SET `row_id` = '514986474259892', `po_no` = '20180514122943', `product_id` = '1', `order_qty` = '2', `product_rate` = '30'
WHERE `po_no` = '20180514122943';
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('purchase order', 'create', 'Orde Id-20180514122943 total amount-60.00', '2', '2018-05-15 12:24:17');
DELETE FROM `purchase_order`
WHERE `po_no` = '20180514100849';
DELETE FROM `purchase_order_details`
WHERE `po_no` = '20180514100849';
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('purchase order', 'delete', 'Orde Id-20180514100849', '2', '2018-05-15 12:28:08');
DELETE FROM `purchase_order`
WHERE `po_no` = '20180514093316';
DELETE FROM `purchase_order_details`
WHERE `po_no` = '20180514093316';
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('purchase order', 'delete', 'Orde Id-20180514093316', '2', '2018-05-15 12:29:05');
DELETE FROM `purchase_order`
WHERE `po_no` = '20180514093237';
DELETE FROM `purchase_order_details`
WHERE `po_no` = '20180514093237';
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('purchase order', 'delete', 'Orde Id-20180514093237', '2', '2018-05-15 12:29:25');
DELETE FROM `purchase_order`
WHERE `po_no` = '20180514084546';
DELETE FROM `purchase_order_details`
WHERE `po_no` = '20180514084546';
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('purchase order', 'delete', 'Orde Id-20180514084546', '2', '2018-05-15 12:29:29');
DELETE FROM `purchase_order`
WHERE `po_no` = '20180513064344';
DELETE FROM `purchase_order_details`
WHERE `po_no` = '20180513064344';
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('purchase order', 'delete', 'Orde Id-20180513064344', '2', '2018-05-15 12:29:33');
DELETE FROM `purchase_order`
WHERE `po_no` = '20180513063621';
DELETE FROM `purchase_order_details`
WHERE `po_no` = '20180513063621';
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('purchase order', 'delete', 'Orde Id-20180513063621', '2', '2018-05-15 12:29:38');
DELETE FROM `purchase_order`
WHERE `po_no` = '20180513063343';
DELETE FROM `purchase_order_details`
WHERE `po_no` = '20180513063343';
DELETE FROM `purchase_order`
WHERE `po_no` = '20180513063135';
DELETE FROM `purchase_order_details`
WHERE `po_no` = '20180513063135';
UPDATE `purchase_order` SET `po_no` = '20180514122943', `supplier_id` = '2', `total_amnt` = '110.00', `store_id` = '2', `warehouse_id` = '', `createdate` = '2018-05-13 10:50:41', `updateby` = '2', `updatedate` = '2018-05-15 12:30:37'
WHERE `po_no` = '20180514122943';
UPDATE `purchase_order_details` SET `row_id` = '274381262789999', `po_no` = '20180514122943', `product_id` = '1', `order_qty` = '3', `product_rate` = '30'
WHERE `po_no` = '20180514122943';
UPDATE `purchase_order_details` SET `row_id` = '961798966237248', `po_no` = '20180514122943', `product_id` = '2', `order_qty` = '1', `product_rate` = '20'
WHERE `po_no` = '20180514122943';
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('purchase order', 'create', 'Orde Id-20180514122943 total amount-110.00', '2', '2018-05-15 12:30:37');
UPDATE `purchase_order` SET `po_no` = '20180514122943', `supplier_id` = '2', `total_amnt` = '190.00', `store_id` = '2', `warehouse_id` = '', `createdate` = '2018-05-13 10:50:41', `updateby` = '2', `updatedate` = '2018-05-15 12:33:58'
WHERE `po_no` = '20180514122943';
UPDATE `purchase_order_details` SET `row_id` = '638363341817122', `po_no` = '20180514122943', `product_id` = '1', `order_qty` = '3', `product_rate` = '30'
WHERE `po_no` = '20180514122943';
UPDATE `purchase_order_details` SET `row_id` = '349851493638228', `po_no` = '20180514122943', `product_id` = '2', `order_qty` = '2', `product_rate` = '20'
WHERE `po_no` = '20180514122943';
UPDATE `purchase_order_details` SET `row_id` = '323777129739467', `po_no` = '20180514122943', `product_id` = '4', `order_qty` = '2', `product_rate` = '30'
WHERE `po_no` = '20180514122943';
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('purchase order', 'create', 'Orde Id-20180514122943 total amount-190.00', '2', '2018-05-15 12:33:58');
UPDATE `purchase_order` SET `po_no` = '20180515075023', `supplier_id` = '2', `total_amnt` = '60.00', `store_id` = '', `warehouse_id` = '2', `createdate` = '2018-05-13 10:50:41', `updateby` = '2', `updatedate` = '2018-05-15 12:34:35'
WHERE `po_no` = '20180515075023';
UPDATE `purchase_order_details` SET `row_id` = '285275877459881', `po_no` = '20180515075023', `product_id` = '1', `order_qty` = '2', `product_rate` = '30'
WHERE `po_no` = '20180515075023';
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('purchase order', 'create', 'Orde Id-20180515075023 total amount-60.00', '2', '2018-05-15 12:34:35');
INSERT INTO `purchase_receive` (`receive_id`, `po_no`, `supplier_id`, `store_id`, `warehouse_id`, `voucher_no`, `receive_by`, `receive_date`) VALUES ('20180515124354', '20180515075023', '2', '', '2', 1002, '2', '2018-05-15 12:43:54');
INSERT INTO `purchase_receive_details` (`receive_id`, `product_id`, `receive_qty`) VALUES ('20180515124354', '1', '2');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('purchase order receive', 'create', 'Orde Id- total amount-60.00', '2', '2018-05-15 12:43:54');
DELETE FROM `purchase_receive`
WHERE `receive_id` = '20180515124354';
DELETE FROM `purchase_receive_details`
WHERE `receive_id` = '20180515124354';
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('purchase Receive', 'delete', 'Receive Id-20180515124354', '2', '2018-05-15 12:44:13');
INSERT INTO `purchase_receive` (`receive_id`, `po_no`, `supplier_id`, `store_id`, `warehouse_id`, `voucher_no`, `receive_by`, `receive_date`) VALUES ('20180515124700', '20180515075023', '2', '', '2', 1000, '2', '2018-05-15 12:47:00');
INSERT INTO `purchase_receive_details` (`receive_id`, `product_id`, `receive_qty`) VALUES ('20180515124700', '1', '2');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('purchase order receive', 'create', 'Orde Id- total amount-60.00', '2', '2018-05-15 12:47:00');
DELETE FROM `purchase_receive`
WHERE `receive_id` = '20180515124700';
DELETE FROM `purchase_receive_details`
WHERE `receive_id` = '20180515124700';
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('purchase Receive', 'delete', 'Receive Id-20180515124700', '2', '2018-05-15 12:47:14');
INSERT INTO `purchase_receive` (`receive_id`, `po_no`, `supplier_id`, `store_id`, `warehouse_id`, `voucher_no`, `receive_by`, `receive_date`) VALUES ('20180515124729', '20180515075023', '2', '', '2', 1000, '2', '2018-05-15 12:47:29');
INSERT INTO `purchase_receive_details` (`receive_id`, `product_id`, `receive_qty`) VALUES ('20180515124729', '1', '2');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('purchase order receive', 'create', 'Orde Id- total amount-60.00', '2', '2018-05-15 12:47:29');
INSERT INTO `language` (`phrase`) VALUES ('purchase_price');
INSERT INTO `language` (`phrase`) VALUES ('minimum_price');
INSERT INTO `language` (`phrase`) VALUES ('retail_price');
INSERT INTO `language` (`phrase`) VALUES ('block_price');
UPDATE `language` SET `english` = 'Block Price'
WHERE `phrase` = 'block_price';
UPDATE `language` SET `english` = 'Business Address'
WHERE `phrase` = 'business_address';
UPDATE `language` SET `english` = 'Captcha Word'
WHERE `phrase` = 'captcha';
UPDATE `language` SET `english` = 'NID'
WHERE `phrase` = 'cardno';
UPDATE `language` SET `english` = 'Category'
WHERE `phrase` = 'category';
UPDATE `language` SET `english` = 'Category Name'
WHERE `phrase` = 'category_name';
UPDATE `language` SET `english` = 'Checked By'
WHERE `phrase` = 'checked_by';
UPDATE `language` SET `english` = 'Check_receive'
WHERE `phrase` = 'check_receive';
UPDATE `language` SET `english` = 'Create'
WHERE `phrase` = 'create';
UPDATE `language` SET `english` = 'Create User Role'
WHERE `phrase` = 'create_user_role';
UPDATE `language` SET `english` = 'Customer'
WHERE `phrase` = 'customer';
UPDATE `language` SET `english` = 'Customer CNC'
WHERE `phrase` = 'customer_cnic';
UPDATE `language` SET `english` = 'Customer Code'
WHERE `phrase` = 'customer_code';
UPDATE `language` SET `english` = 'Customer Name'
WHERE `phrase` = 'customer_name';
UPDATE `language` SET `english` = 'Dashboard'
WHERE `phrase` = 'dashboard';
UPDATE `language` SET `english` = 'Database Backup'
WHERE `phrase` = 'database_backup';
UPDATE `language` SET `english` = 'Data Import First'
WHERE `phrase` = 'data_import_first';
UPDATE `language` SET `english` = 'Data Import Successfully!'
WHERE `phrase` = 'data_import_successfully';
UPDATE `language` SET `english` = 'Data Import To Database'
WHERE `phrase` = 'data_import_to_database';
UPDATE `language` SET `english` = 'Data Synchronize'
WHERE `phrase` = 'data_synchronize';
UPDATE `language` SET `english` = 'Data Synchronizer'
WHERE `phrase` = 'data_synchronizer';
UPDATE `language` SET `english` = 'Data Upload to Server'
WHERE `phrase` = 'data_upload_to_server';
UPDATE `language` SET `english` = 'Date'
WHERE `phrase` = 'date';
UPDATE `language` SET `english` = 'Delete'
WHERE `phrase` = 'delete';
UPDATE `language` SET `english` = 'Delete Successfully!'
WHERE `phrase` = 'delete_successfully';
UPDATE `language` SET `english` = 'Message Sent!'
WHERE `phrase` = 'message_sent';
UPDATE `language` SET `english` = 'Minimum Price'
WHERE `phrase` = 'minimum_price';
UPDATE `language` SET `english` = 'Module'
WHERE `phrase` = 'module';
UPDATE `language` SET `english` = 'Module Added Successfully'
WHERE `phrase` = 'module_added_successfully';
UPDATE `language` SET `english` = 'Module List'
WHERE `phrase` = 'module_list';
UPDATE `language` SET `english` = 'Module Name'
WHERE `phrase` = 'module_name';
UPDATE `language` SET `english` = 'Module Permission'
WHERE `phrase` = 'module_permission';
UPDATE `language` SET `english` = 'Module Permission Added Successfully!'
WHERE `phrase` = 'module_permission_added_successfully';
UPDATE `language` SET `english` = 'Module Permission List'
WHERE `phrase` = 'module_permission_list';
UPDATE `language` SET `english` = 'Name'
WHERE `phrase` = 'name';
UPDATE `language` SET `english` = 'New'
WHERE `phrase` = 'new';
UPDATE `language` SET `english` = 'New Enquiry'
WHERE `phrase` = 'new_enquiry';
UPDATE `language` SET `english` = 'New Message'
WHERE `phrase` = 'new_message';
UPDATE `language` SET `english` = 'Not Available'
WHERE `phrase` = 'not_available';
UPDATE `language` SET `english` = 'No tables are registerd in config.php'
WHERE `phrase` = 'no_tables_are_registered_in_config';
UPDATE `language` SET `english` = 'Ok'
WHERE `phrase` = 'ok';
UPDATE `language` SET `english` = ' Ooops something went wrong...'
WHERE `phrase` = 'ooops_something_went_wrong';
UPDATE `language` SET `english` = 'Order Date'
WHERE `phrase` = 'order_date';
UPDATE `language` SET `english` = 'Order NO'
WHERE `phrase` = 'order_no';
UPDATE `language` SET `english` = 'Order QTY'
WHERE `phrase` = 'order_qty';
UPDATE `language` SET `english` = 'Outgoing File'
WHERE `phrase` = 'outgoing_file';
UPDATE `language` SET `english` = 'Overwrite'
WHERE `phrase` = 'overwrite';
UPDATE `language` SET `english` = 'Password'
WHERE `phrase` = 'password';
UPDATE `language` SET `english` = 'You Have No Permission'
WHERE `phrase` = 'permission_error';
UPDATE `language` SET `english` = 'Phone'
WHERE `phrase` = 'phone';
UPDATE `language` SET `english` = 'Please configure synchronizer settings'
WHERE `phrase` = 'please_configure_synchronizer_settings';
UPDATE `language` SET `english` = 'Please Contact With Admin'
WHERE `phrase` = 'please_contact_with_admin';
UPDATE `language` SET `english` = 'Please Try Again...'
WHERE `phrase` = 'please_try_again';
UPDATE `language` SET `english` = 'Please Wait...'
WHERE `phrase` = 'please_wait';
UPDATE `language` SET `english` = 'Preview'
WHERE `phrase` = 'preview';
UPDATE `language` SET `english` = 'Price'
WHERE `phrase` = 'price';
UPDATE `language` SET `english` = 'Product'
WHERE `phrase` = 'product';
UPDATE `language` SET `english` = 'Product Category'
WHERE `phrase` = 'product_category';
UPDATE `language` SET `english` = 'Product Details'
WHERE `phrase` = 'product_details';
UPDATE `language` SET `english` = 'Product Name'
WHERE `phrase` = 'product_name';
UPDATE `language` SET `english` = 'Profile'
WHERE `phrase` = 'profile';
UPDATE `language` SET `english` = 'Profile Setting'
WHERE `phrase` = 'profile_setting';
UPDATE `language` SET `english` = 'Project Root'
WHERE `phrase` = 'project_root';
UPDATE `language` SET `english` = 'Puchase Order'
WHERE `phrase` = 'purchase_order';
UPDATE `language` SET `english` = 'Purchase Price'
WHERE `phrase` = 'purchase_price';
UPDATE `language` SET `english` = 'Qty'
WHERE `phrase` = 'quantity';
UPDATE `language` SET `english` = 'Read'
WHERE `phrase` = 'read';
UPDATE `language` SET `english` = 'Read/Unread'
WHERE `phrase` = 'read_unread';
UPDATE `language` SET `english` = 'Receive'
WHERE `phrase` = 'receive';
UPDATE `language` SET `english` = 'Receiver Name'
WHERE `phrase` = 'receiver_name';
UPDATE `language` SET `english` = 'Receive List'
WHERE `phrase` = 'receive_list';
UPDATE `language` SET `english` = 'Receive QTY'
WHERE `phrase` = 'receive_quantity';
UPDATE `language` SET `english` = 'Remove Successfully!'
WHERE `phrase` = 'remove_successfully';
UPDATE `language` SET `english` = 'Reset'
WHERE `phrase` = 'reset';
UPDATE `language` SET `english` = 'Restore Now!'
WHERE `phrase` = 'restore_now';
UPDATE `language` SET `english` = 'Restore Successfully'
WHERE `phrase` = 'restore_successfully';
UPDATE `language` SET `english` = 'Retail Price'
WHERE `phrase` = 'retail_price';
UPDATE `language` SET `english` = 'Right To Left'
WHERE `phrase` = 'right_to_left';
UPDATE `language` SET `english` = 'Role'
WHERE `phrase` = 'role';
UPDATE `language` SET `english` = 'Role List'
WHERE `phrase` = 'role_list';
UPDATE `language` SET `english` = 'Role Name'
WHERE `phrase` = 'role_name';
UPDATE `language` SET `english` = 'Role Permission'
WHERE `phrase` = 'role_permission';
UPDATE `language` SET `english` = 'Role Permission List'
WHERE `phrase` = 'role_permission_list';
UPDATE `language` SET `english` = 'Save'
WHERE `phrase` = 'save';
UPDATE `language` SET `english` = 'Save Successfully!'
WHERE `phrase` = 'save_successfully';
UPDATE `language` SET `english` = 'See All Messages'
WHERE `phrase` = 'see_all_message';
UPDATE `language` SET `english` = 'Select Option'
WHERE `phrase` = 'select_option';
UPDATE `language` SET `english` = 'Send'
WHERE `phrase` = 'send';
UPDATE `language` SET `english` = 'Sender Name'
WHERE `phrase` = 'sender_name';
UPDATE `language` SET `english` = 'Sent'
WHERE `phrase` = 'sent';
UPDATE `language` SET `english` = 'Sent Message'
WHERE `phrase` = 'sent_message';
UPDATE `language` SET `english` = 'Set'
WHERE `phrase` = 'set';
UPDATE `language` SET `english` = 'Setting'
WHERE `phrase` = 'setting';
UPDATE `language` SET `english` = 'Application Alignment'
WHERE `phrase` = 'site_align';
UPDATE `language` SET `english` = 'size'
WHERE `phrase` = 'size';
UPDATE `language` SET `english` = 'SL'
WHERE `phrase` = 'sl';
UPDATE `language` SET `english` = 'SL No.'
WHERE `phrase` = 'sl_no';
UPDATE `language` SET `english` = 'Status'
WHERE `phrase` = 'status';
UPDATE `language` SET `english` = 'Stock Qty'
WHERE `phrase` = 'stock_ctn';
UPDATE `language` SET `english` = 'Store'
WHERE `phrase` = 'store';
INSERT INTO `product` (`product_id`, `product_name`, `product_details`, `purchase_price`, `block_price`, `minimum_price`, `retail_price`, `createby`, `createdate`, `updateby`, `updatedate`, `isactive`) VALUES ('', 'Mango', 'sdfsdf', '25', '28', '30', '35', '2', '2018-05-15 13:36:08', '', '', 1);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Product', 'create', 'product ID :6', '2', '2018-05-15 13:36:08');
UPDATE `product` SET `product_id` = '6', `isactive` = 0
WHERE `product_id` = '6';
UPDATE `product` SET `product_id` = '6', `isactive` = 1
WHERE `product_id` = '6';
UPDATE `product` SET `product_id` = '6', `isactive` = 0
WHERE `product_id` = '6';
UPDATE `product` SET `product_id` = '6', `isactive` = 1
WHERE `product_id` = '6';
INSERT INTO `language` (`phrase`) VALUES ('a');
INSERT INTO `language` (`phrase`) VALUES ('in');
UPDATE `language` SET `english` = 'A'
WHERE `phrase` = 'a';
UPDATE `language` SET `english` = 'About'
WHERE `phrase` = 'about';
UPDATE `language` SET `english` = 'Action'
WHERE `phrase` = 'action';
UPDATE `language` SET `english` = 'Active'
WHERE `phrase` = 'active';
UPDATE `language` SET `english` = 'Add '
WHERE `phrase` = 'add';
UPDATE `language` SET `english` = 'Address'
WHERE `phrase` = 'address';
UPDATE `language` SET `english` = 'Add Module'
WHERE `phrase` = 'add_module';
UPDATE `language` SET `english` = 'Add Module Permission'
WHERE `phrase` = 'add_module_permission';
UPDATE `language` SET `english` = 'Add New Product'
WHERE `phrase` = 'add_new_item';
UPDATE `language` SET `english` = 'Add Role'
WHERE `phrase` = 'add_role';
UPDATE `language` SET `english` = 'Add Role Permission'
WHERE `phrase` = 'add_role_permission';
UPDATE `language` SET `english` = 'Add Store'
WHERE `phrase` = 'add_store';
UPDATE `language` SET `english` = 'Add User'
WHERE `phrase` = 'add_user';
UPDATE `language` SET `english` = 'Add User Role'
WHERE `phrase` = 'add_user_role';
UPDATE `language` SET `english` = 'Add Warehouse'
WHERE `phrase` = 'add_warehouse';
UPDATE `language` SET `english` = 'Admin'
WHERE `phrase` = 'admin';
UPDATE `language` SET `english` = 'Application Setting'
WHERE `phrase` = 'application_setting';
UPDATE `language` SET `english` = 'Application Title'
WHERE `phrase` = 'application_title';
UPDATE `language` SET `english` = 'Approve'
WHERE `phrase` = 'approved';
UPDATE `language` SET `english` = 'Are You Sure ? '
WHERE `phrase` = 'are_you_sure';
UPDATE `language` SET `english` = 'Assign Role'
WHERE `phrase` = 'assign_role';
UPDATE `language` SET `english` = 'Available'
WHERE `phrase` = 'available';
UPDATE `language` SET `english` = 'Backup and Restore'
WHERE `phrase` = 'backup_and_restore';
UPDATE `language` SET `english` = 'Backup Date'
WHERE `phrase` = 'backup_date';
UPDATE `language` SET `english` = 'Backup Now!'
WHERE `phrase` = 'backup_now';
UPDATE `language` SET `english` = 'Image'
WHERE `phrase` = 'image';
UPDATE `language` SET `english` = 'Image Upload Successfully!'
WHERE `phrase` = 'image_upload_successfully';
UPDATE `language` SET `english` = 'In A'
WHERE `phrase` = 'in';
UPDATE `language` SET `english` = 'Inactive'
WHERE `phrase` = 'inactive';
UPDATE `language` SET `english` = 'Inbox'
WHERE `phrase` = 'inbox';
UPDATE `language` SET `english` = 'Inbox Messages'
WHERE `phrase` = 'inbox_message';
UPDATE `language` SET `english` = 'Incoming File'
WHERE `phrase` = 'incoming_file';
UPDATE `language` SET `english` = 'Incorrect Email/Password'
WHERE `phrase` = 'incorrect_email_or_password';
UPDATE `language` SET `english` = 'Install'
WHERE `phrase` = 'install';
UPDATE `language` SET `english` = 'Internet Connection'
WHERE `phrase` = 'internet_connection';
UPDATE `language` SET `english` = 'Invalid File!'
WHERE `phrase` = 'invalid_file';
UPDATE `language` SET `english` = 'Invalid Module'
WHERE `phrase` = 'invalid_module';
UPDATE `language` SET `english` = 'IP Address'
WHERE `phrase` = 'ip_address';
UPDATE `language` SET `english` = 'Is Active'
WHERE `phrase` = 'isactive';
UPDATE `language` SET `english` = 'Language'
WHERE `phrase` = 'language';
UPDATE `language` SET `english` = 'Last Name'
WHERE `phrase` = 'lastname';
UPDATE `language` SET `english` = 'Last Login'
WHERE `phrase` = 'last_login';
UPDATE `language` SET `english` = 'Last Logout'
WHERE `phrase` = 'last_logout';
UPDATE `language` SET `english` = 'Left To Right'
WHERE `phrase` = 'left_to_right';
UPDATE `language` SET `english` = 'List'
WHERE `phrase` = 'list';
UPDATE `language` SET `english` = 'Store List'
WHERE `phrase` = 'list_store';
UPDATE `language` SET `english` = 'Warehouse list'
WHERE `phrase` = 'list_warehouse';
UPDATE `language` SET `english` = 'Login'
WHERE `phrase` = 'login';
UPDATE `language` SET `english` = 'Logo'
WHERE `phrase` = 'logo';
UPDATE `language` SET `english` = 'Logout'
WHERE `phrase` = 'logout';
UPDATE `product` SET `product_id` = '6', `isactive` = 0
WHERE `product_id` = '6';
UPDATE `product` SET `product_id` = '6', `isactive` = 1
WHERE `product_id` = '6';
INSERT INTO `warehouse` (`warehouse_id`, `warehouse_name`, `warehouse_code`, `warehouse_phone`, `warehouse_address`, `createby`, `createdate`, `isactive`) VALUES ('', 'dfsdfs', '234', '234234', 'dsfasdf', '2', '2018-05-15 14:23:01', 1);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Warehouse', 'create', 'Warehouse ID :3', '2', '2018-05-15 14:23:01');
INSERT INTO `product` (`product_id`, `product_name`, `product_details`, `purchase_price`, `block_price`, `minimum_price`, `retail_price`, `createby`, `createdate`, `updateby`, `updatedate`, `isactive`) VALUES ('', 'Coconut', 'Etc', '45', '48', '50', '55', '2', '2018-05-15 14:34:04', '', '', 1);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Product', 'create', 'product ID :7', '2', '2018-05-15 14:34:04');
INSERT INTO `purchase_order` (`po_no`, `supplier_id`, `total_amnt`, `store_id`, `warehouse_id`, `createby`, `createdate`) VALUES ('20180515143434', '2', '900.00', '2', '', '2', '2018-05-15 14:34:34');
INSERT INTO `purchase_order_details` (`row_id`, `po_no`, `product_id`, `order_qty`, `product_rate`) VALUES ('358548248919322', '20180515143434', '7', '20', '45');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('purchase order', 'create', 'Orde Id-20180515143434 total amount-900.00', '2', '2018-05-15 14:34:34');
UPDATE `purchase_order` SET `po_no` = '20180515143434', `isapproved` = 1
WHERE `po_no` = '20180515143434';
UPDATE `purchase_order` SET `po_no` = '20180515143434', `isapproved` = 0
WHERE `po_no` = '20180515143434';
UPDATE `user` SET `last_logout` = '2018-05-15 15:18:14'
WHERE `id` = '2';
UPDATE `user` SET `last_login` = '2018-05-15 15:18:30', `ip_address` = '::1'
WHERE `id` = '9';
UPDATE `user` SET `last_logout` = '2018-05-15 15:18:47'
WHERE `id` = '9';
UPDATE `user` SET `last_login` = '2018-05-15 15:18:57', `ip_address` = '::1'
WHERE `id` = '2';
DELETE FROM `role_permission`
WHERE `role_id` = '4';
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Role Permission', 'update', 'Role id :4', '2', '2018-05-15 15:19:49');
DELETE FROM `role_permission`
WHERE `role_id` = '3';
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Role Permission', 'update', 'Role id :3', '2', '2018-05-15 15:19:54');
DELETE FROM `role_permission`
WHERE `role_id` = '9';
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Role Permission', 'update', 'Role id :9', '2', '2018-05-15 15:19:57');
DELETE FROM `role_permission`
WHERE `role_id` = '6';
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Role Permission', 'update', 'Role id :6', '2', '2018-05-15 15:20:00');
DELETE FROM `sec_userrole`
WHERE `id` = '4';
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('User Role', 'update', 'Role id :4', '2', '2018-05-15 15:21:09');
DELETE FROM `sec_userrole`
WHERE `id` = '6';
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('User Role', 'update', 'Role id :6', '2', '2018-05-15 15:21:12');
DELETE FROM `sec_userrole`
WHERE `id` = '7';
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('User Role', 'update', 'Role id :7', '2', '2018-05-15 15:21:14');
DELETE FROM `sec_userrole`
WHERE `id` = '9';
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('User Role', 'update', 'Role id :9', '2', '2018-05-15 15:21:18');
INSERT INTO `sec_role` (`id`, `name`, `isactive`, `createby`, `createdate`) VALUES ('', 'Super Admin', '1', '2', '2018-05-15 03:22:44');
INSERT INTO `sec_role` (`id`, `name`, `isactive`, `createby`, `createdate`) VALUES ('', 'Store Admin', '1', '2', '2018-05-15 03:22:59');
INSERT INTO `sec_role` (`id`, `name`, `isactive`, `createby`, `createdate`) VALUES ('', 'Store User', '1', '2', '2018-05-15 03:23:22');
INSERT INTO `sec_role` (`id`, `name`, `isactive`, `createby`, `createdate`) VALUES ('', 'Purchase User', '1', '2', '2018-05-15 03:23:32');
INSERT INTO `sec_role` (`id`, `name`, `isactive`, `createby`, `createdate`) VALUES ('', 'Pricing User', '1', '2', '2018-05-15 03:23:45');
DELETE FROM `role_permission`
WHERE `role_id` = '2';
INSERT INTO `role_permission` (`create`, `delete`, `fk_module_id`, `read`, `role_id`, `update`) VALUES (0,0,'8',0,'2',0), (0,0,'6',0,'2',0), (0,0,'5',0,'2',0), (0,0,'7',0,'2',0), (0,0,'10',0,'2',0), ('1','1','3','1','2','1'), (0,0,'9',0,'2',0), (0,0,'4',0,'2',0), (0,0,'11',0,'2',0);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Role Permission', 'create', 'Role id :1', '2', '2018-05-15 15:24:20');
INSERT INTO `sec_userrole` (`id`, `user_id`, `roleid`, `createby`, `createdate`) VALUES ('', '9', '2', '2', '2018-05-15 03:24:36');
UPDATE `user` SET `last_logout` = '2018-05-15 15:24:40'
WHERE `id` = '2';
UPDATE `user` SET `last_login` = '2018-05-15 15:24:53', `ip_address` = '::1'
WHERE `id` = '9';
UPDATE `user` SET `last_logout` = '2018-05-15 15:25:02'
WHERE `id` = '9';
UPDATE `user` SET `last_login` = '2018-05-15 15:25:11', `ip_address` = '::1'
WHERE `id` = '2';
DELETE FROM `role_permission`
WHERE `role_id` = '2';
INSERT INTO `role_permission` (`create`, `delete`, `fk_module_id`, `read`, `role_id`, `update`) VALUES ('1','1','3','1','2','1'), (0,0,'4',0,'2',0), (0,0,'5',0,'2',0), (0,0,'6',0,'2',0), (0,0,'7',0,'2',0), (0,0,'8',0,'2',0), (0,0,'9',0,'2',0), ('1','1','10','1','2','1'), (0,0,'11',0,'2',0);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Role Permission', 'update', 'Role id :2', '2', '2018-05-15 15:25:33');
UPDATE `user` SET `last_logout` = '2018-05-15 15:25:36'
WHERE `id` = '2';
UPDATE `user` SET `last_login` = '2018-05-15 15:25:48', `ip_address` = '::1'
WHERE `id` = '9';
UPDATE `user` SET `last_logout` = '2018-05-15 15:32:12'
WHERE `id` = '9';
UPDATE `user` SET `last_login` = '2018-05-15 15:32:32', `ip_address` = '::1'
WHERE `id` = '2';
DELETE FROM `role_permission`
WHERE `role_id` = '3';
INSERT INTO `role_permission` (`create`, `delete`, `fk_module_id`, `read`, `role_id`, `update`) VALUES (0,0,'8',0,'3',0), (0,0,'6',0,'3',0), (0,0,'5',0,'3',0), (0,0,'7',0,'3',0), ('1','1','10','1','3','1'), (0,0,'3',0,'3',0), (0,0,'9',0,'3',0), (0,0,'4',0,'3',0), (0,0,'11',0,'3',0);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Role Permission', 'create', 'Role id :19', '2', '2018-05-15 15:33:18');
INSERT INTO `sec_userrole` (`id`, `user_id`, `roleid`, `createby`, `createdate`) VALUES ('', '7', '3', '2', '2018-05-15 03:33:39');
UPDATE `user` SET `last_logout` = '2018-05-15 15:33:43'
WHERE `id` = '2';
UPDATE `user` SET `last_login` = '2018-05-15 15:33:57', `ip_address` = '::1'
WHERE `id` = '7';
UPDATE `user` SET `last_login` = '2018-05-16 06:07:59', `ip_address` = '::1'
WHERE `id` = '2';
UPDATE `user` SET `last_logout` = '2018-05-16 06:46:24'
WHERE `id` = '2';
UPDATE `user` SET `last_login` = '2018-05-16 06:46:39', `ip_address` = '::1'
WHERE `id` = '9';
UPDATE `user` SET `last_logout` = '2018-05-16 06:46:53'
WHERE `id` = '9';
UPDATE `user` SET `last_login` = '2018-05-16 06:47:06', `ip_address` = '::1'
WHERE `id` = '7';
UPDATE `user` SET `last_logout` = '2018-05-16 06:57:55'
WHERE `id` = '7';
UPDATE `user` SET `last_login` = '2018-05-16 06:58:05', `ip_address` = '::1'
WHERE `id` = '2';
UPDATE `user` SET `last_logout` = '2018-05-16 07:02:30'
WHERE `id` = '2';
UPDATE `user` SET `last_login` = '2018-05-16 07:02:50', `ip_address` = '::1'
WHERE `id` = '7';
UPDATE `user` SET `last_logout` = '2018-05-16 07:03:12'
WHERE `id` = '7';
UPDATE `user` SET `last_login` = '2018-05-16 07:03:30', `ip_address` = '::1'
WHERE `id` = '9';
UPDATE `user` SET `last_logout` = '2018-05-16 07:04:07'
WHERE `id` = '9';
UPDATE `user` SET `last_login` = '2018-05-16 07:04:15', `ip_address` = '::1'
WHERE `id` = '2';
INSERT INTO `language` (`phrase`) VALUES ('receive_qty');
UPDATE `language` SET `english` = 'You Have No Permission'
WHERE `phrase` = 'permission_error';
UPDATE `language` SET `english` = 'Phone'
WHERE `phrase` = 'phone';
UPDATE `language` SET `english` = 'Please configure synchronizer settings'
WHERE `phrase` = 'please_configure_synchronizer_settings';
UPDATE `language` SET `english` = 'Please Contact With Admin'
WHERE `phrase` = 'please_contact_with_admin';
UPDATE `language` SET `english` = 'Please Try Again...'
WHERE `phrase` = 'please_try_again';
UPDATE `language` SET `english` = 'Please Wait...'
WHERE `phrase` = 'please_wait';
UPDATE `language` SET `english` = 'Preview'
WHERE `phrase` = 'preview';
UPDATE `language` SET `english` = 'Price'
WHERE `phrase` = 'price';
UPDATE `language` SET `english` = 'Product'
WHERE `phrase` = 'product';
UPDATE `language` SET `english` = 'Product Category'
WHERE `phrase` = 'product_category';
UPDATE `language` SET `english` = 'Product Details'
WHERE `phrase` = 'product_details';
UPDATE `language` SET `english` = 'Product Name'
WHERE `phrase` = 'product_name';
UPDATE `language` SET `english` = 'Profile'
WHERE `phrase` = 'profile';
UPDATE `language` SET `english` = 'Profile Setting'
WHERE `phrase` = 'profile_setting';
UPDATE `language` SET `english` = 'Project Root'
WHERE `phrase` = 'project_root';
UPDATE `language` SET `english` = 'Puchase Order'
WHERE `phrase` = 'purchase_order';
UPDATE `language` SET `english` = 'Purchase Price'
WHERE `phrase` = 'purchase_price';
UPDATE `language` SET `english` = 'Qty'
WHERE `phrase` = 'quantity';
UPDATE `language` SET `english` = 'Read'
WHERE `phrase` = 'read';
UPDATE `language` SET `english` = 'Read/Unread'
WHERE `phrase` = 'read_unread';
UPDATE `language` SET `english` = 'Receive'
WHERE `phrase` = 'receive';
UPDATE `language` SET `english` = 'Receiver Name'
WHERE `phrase` = 'receiver_name';
UPDATE `language` SET `english` = 'Receive List'
WHERE `phrase` = 'receive_list';
UPDATE `language` SET `english` = 'Receive QTY'
WHERE `phrase` = 'receive_qty';
UPDATE `language` SET `english` = 'Receive QTY'
WHERE `phrase` = 'receive_quantity';
INSERT INTO `language` (`phrase`) VALUES ('sale');
UPDATE `language` SET `english` = 'Remove Successfully!'
WHERE `phrase` = 'remove_successfully';
UPDATE `language` SET `english` = 'Reset'
WHERE `phrase` = 'reset';
UPDATE `language` SET `english` = 'Restore Now!'
WHERE `phrase` = 'restore_now';
UPDATE `language` SET `english` = 'Restore Successfully'
WHERE `phrase` = 'restore_successfully';
UPDATE `language` SET `english` = 'Retail Price'
WHERE `phrase` = 'retail_price';
UPDATE `language` SET `english` = 'Right To Left'
WHERE `phrase` = 'right_to_left';
UPDATE `language` SET `english` = 'Role'
WHERE `phrase` = 'role';
UPDATE `language` SET `english` = 'Role List'
WHERE `phrase` = 'role_list';
UPDATE `language` SET `english` = 'Role Name'
WHERE `phrase` = 'role_name';
UPDATE `language` SET `english` = 'Role Permission'
WHERE `phrase` = 'role_permission';
UPDATE `language` SET `english` = 'Role Permission List'
WHERE `phrase` = 'role_permission_list';
UPDATE `language` SET `english` = 'Sales'
WHERE `phrase` = 'sale';
UPDATE `language` SET `english` = 'Save'
WHERE `phrase` = 'save';
UPDATE `language` SET `english` = 'Save Successfully!'
WHERE `phrase` = 'save_successfully';
UPDATE `language` SET `english` = 'See All Messages'
WHERE `phrase` = 'see_all_message';
UPDATE `language` SET `english` = 'Select Option'
WHERE `phrase` = 'select_option';
UPDATE `language` SET `english` = 'Send'
WHERE `phrase` = 'send';
UPDATE `language` SET `english` = 'Sender Name'
WHERE `phrase` = 'sender_name';
UPDATE `language` SET `english` = 'Sent'
WHERE `phrase` = 'sent';
UPDATE `language` SET `english` = 'Sent Message'
WHERE `phrase` = 'sent_message';
UPDATE `language` SET `english` = 'Set'
WHERE `phrase` = 'set';
UPDATE `language` SET `english` = 'Setting'
WHERE `phrase` = 'setting';
UPDATE `language` SET `english` = 'Application Alignment'
WHERE `phrase` = 'site_align';
UPDATE `language` SET `english` = 'size'
WHERE `phrase` = 'size';
UPDATE `language` SET `english` = 'SL'
WHERE `phrase` = 'sl';
SET FOREIGN_KEY_CHECKS = 0;
CREATE TABLE IF NOT EXISTS `sales_parent` (
  `sale_id` bigint(20) NOT NULL AUTO_INCREMENT,
  `sale_type_id` tinyint(4) NOT NULL,
  `store_id` int(11) NOT NULL,
  `invoice_no` varchar(20) COLLATE utf8_unicode_ci NOT NULL,
  `customer_id` int(11) NOT NULL,
  `salesman` int(11) NOT NULL,
  `sales_date` date NOT NULL,
  `sales_time` time NOT NULL,
  `lease_id` int(11) NOT NULL,
  `gurrantor_1` int(11) NOT NULL,
  `gurrantor_2` int(11) NOT NULL,
  `inquiry_officer` int(11) NOT NULL,
  `total_amnt` float NOT NULL,
  `advance_amnt` int(11) NOT NULL,
  `updateby` int(11) NOT NULL,
  `updatedate` datetime NOT NULL,
  PRIMARY KEY (`sale_id`),
  UNIQUE KEY `invoice_no` (`invoice_no`),
  KEY `sale_type_id` (`sale_type_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;



CREATE TABLE IF NOT EXISTS `sale_details` (
  `sale_id` bigint(20) NOT NULL,
  `product_id` int(11) NOT NULL,
  `qty` int(11) NOT NULL,
  `sell_price` float NOT NULL,
  `sale_type_id` tinyint(4) NOT NULL,
  UNIQUE KEY `sale_id` (`sale_id`,`product_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;


CREATE TABLE IF NOT EXISTS `sale_type` (
  `sale_type_id` tinyint(4) NOT NULL AUTO_INCREMENT,
  `sale_type` varchar(100) COLLATE utf8_unicode_ci NOT NULL,
  `shortcode` varchar(3) COLLATE utf8_unicode_ci NOT NULL,
  `createby` int(11) NOT NULL,
  `createdate` datetime NOT NULL,
  `updateby` int(11) NOT NULL,
  `upadatedate` datetime NOT NULL,
  `isactive` tinyint(1) NOT NULL DEFAULT '1',
  PRIMARY KEY (`sale_type_id`),
  UNIQUE KEY `shortcode` (`shortcode`)
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
SET FOREIGN_KEY_CHECKS = 1;
INSERT INTO `module` (`id`, `name`, `description`, `image`, `directory`, `status`) VALUES (NULL, 'sale Management', 'sale Information', 'application/modules/sale/assets/images/thumbnail.jpg', 'sale', 1);
INSERT INTO `language` (`phrase`) VALUES ('cashsale');
UPDATE `language` SET `english` = 'Backup Successfully'
WHERE `phrase` = 'backup_successfully';
UPDATE `language` SET `english` = 'Block Price'
WHERE `phrase` = 'block_price';
UPDATE `language` SET `english` = 'Business Address'
WHERE `phrase` = 'business_address';
UPDATE `language` SET `english` = 'Captcha Word'
WHERE `phrase` = 'captcha';
UPDATE `language` SET `english` = 'NID'
WHERE `phrase` = 'cardno';
UPDATE `language` SET `english` = 'Cash Sale'
WHERE `phrase` = 'cashsale';
UPDATE `language` SET `english` = 'Category'
WHERE `phrase` = 'category';
UPDATE `language` SET `english` = 'Category Name'
WHERE `phrase` = 'category_name';
UPDATE `language` SET `english` = 'Checked By'
WHERE `phrase` = 'checked_by';
UPDATE `language` SET `english` = 'Check_receive'
WHERE `phrase` = 'check_receive';
UPDATE `language` SET `english` = 'Create'
WHERE `phrase` = 'create';
UPDATE `language` SET `english` = 'Create User Role'
WHERE `phrase` = 'create_user_role';
UPDATE `language` SET `english` = 'Customer'
WHERE `phrase` = 'customer';
UPDATE `language` SET `english` = 'Customer CNC'
WHERE `phrase` = 'customer_cnic';
UPDATE `language` SET `english` = 'Customer Code'
WHERE `phrase` = 'customer_code';
UPDATE `language` SET `english` = 'Customer Name'
WHERE `phrase` = 'customer_name';
UPDATE `language` SET `english` = 'Dashboard'
WHERE `phrase` = 'dashboard';
UPDATE `language` SET `english` = 'Database Backup'
WHERE `phrase` = 'database_backup';
UPDATE `language` SET `english` = 'Data Import First'
WHERE `phrase` = 'data_import_first';
UPDATE `language` SET `english` = 'Data Import Successfully!'
WHERE `phrase` = 'data_import_successfully';
UPDATE `language` SET `english` = 'Data Import To Database'
WHERE `phrase` = 'data_import_to_database';
UPDATE `language` SET `english` = 'Data Synchronize'
WHERE `phrase` = 'data_synchronize';
UPDATE `language` SET `english` = 'Data Synchronizer'
WHERE `phrase` = 'data_synchronizer';
UPDATE `language` SET `english` = 'Data Upload to Server'
WHERE `phrase` = 'data_upload_to_server';
UPDATE `language` SET `english` = 'Date'
WHERE `phrase` = 'date';
INSERT INTO `language` (`phrase`) VALUES ('invoice_id');
INSERT INTO `language` (`phrase`) VALUES ('sales_man');
UPDATE `language` SET `english` = 'Host Name'
WHERE `phrase` = 'hostname';
UPDATE `language` SET `english` = 'Image'
WHERE `phrase` = 'image';
UPDATE `language` SET `english` = 'Image Upload Successfully!'
WHERE `phrase` = 'image_upload_successfully';
UPDATE `language` SET `english` = 'In A'
WHERE `phrase` = 'in';
UPDATE `language` SET `english` = 'Inactive'
WHERE `phrase` = 'inactive';
UPDATE `language` SET `english` = 'Inbox'
WHERE `phrase` = 'inbox';
UPDATE `language` SET `english` = 'Inbox Messages'
WHERE `phrase` = 'inbox_message';
UPDATE `language` SET `english` = 'Incoming File'
WHERE `phrase` = 'incoming_file';
UPDATE `language` SET `english` = 'Incorrect Email/Password'
WHERE `phrase` = 'incorrect_email_or_password';
UPDATE `language` SET `english` = 'Install'
WHERE `phrase` = 'install';
UPDATE `language` SET `english` = 'Internet Connection'
WHERE `phrase` = 'internet_connection';
UPDATE `language` SET `english` = 'Invalid File!'
WHERE `phrase` = 'invalid_file';
UPDATE `language` SET `english` = 'Invalid Module'
WHERE `phrase` = 'invalid_module';
UPDATE `language` SET `english` = 'Invoice ID'
WHERE `phrase` = 'invoice_id';
UPDATE `language` SET `english` = 'IP Address'
WHERE `phrase` = 'ip_address';
UPDATE `language` SET `english` = 'Is Active'
WHERE `phrase` = 'isactive';
UPDATE `language` SET `english` = 'Language'
WHERE `phrase` = 'language';
UPDATE `language` SET `english` = 'Last Name'
WHERE `phrase` = 'lastname';
UPDATE `language` SET `english` = 'Last Login'
WHERE `phrase` = 'last_login';
UPDATE `language` SET `english` = 'Last Logout'
WHERE `phrase` = 'last_logout';
UPDATE `language` SET `english` = 'Left To Right'
WHERE `phrase` = 'left_to_right';
UPDATE `language` SET `english` = 'List'
WHERE `phrase` = 'list';
UPDATE `language` SET `english` = 'Store List'
WHERE `phrase` = 'list_store';
UPDATE `language` SET `english` = 'Warehouse list'
WHERE `phrase` = 'list_warehouse';
UPDATE `language` SET `english` = 'Login'
WHERE `phrase` = 'login';
UPDATE `language` SET `english` = 'Receive QTY'
WHERE `phrase` = 'receive_qty';
UPDATE `language` SET `english` = 'Receive QTY'
WHERE `phrase` = 'receive_quantity';
UPDATE `language` SET `english` = 'Remove Successfully!'
WHERE `phrase` = 'remove_successfully';
UPDATE `language` SET `english` = 'Reset'
WHERE `phrase` = 'reset';
UPDATE `language` SET `english` = 'Restore Now!'
WHERE `phrase` = 'restore_now';
UPDATE `language` SET `english` = 'Restore Successfully'
WHERE `phrase` = 'restore_successfully';
UPDATE `language` SET `english` = 'Retail Price'
WHERE `phrase` = 'retail_price';
UPDATE `language` SET `english` = 'Right To Left'
WHERE `phrase` = 'right_to_left';
UPDATE `language` SET `english` = 'Role'
WHERE `phrase` = 'role';
UPDATE `language` SET `english` = 'Role List'
WHERE `phrase` = 'role_list';
UPDATE `language` SET `english` = 'Role Name'
WHERE `phrase` = 'role_name';
UPDATE `language` SET `english` = 'Role Permission'
WHERE `phrase` = 'role_permission';
UPDATE `language` SET `english` = 'Role Permission List'
WHERE `phrase` = 'role_permission_list';
UPDATE `language` SET `english` = 'Sales'
WHERE `phrase` = 'sale';
UPDATE `language` SET `english` = 'Sales Man'
WHERE `phrase` = 'sales_man';
UPDATE `language` SET `english` = 'Save'
WHERE `phrase` = 'save';
UPDATE `language` SET `english` = 'Save Successfully!'
WHERE `phrase` = 'save_successfully';
UPDATE `language` SET `english` = 'See All Messages'
WHERE `phrase` = 'see_all_message';
UPDATE `language` SET `english` = 'Select Option'
WHERE `phrase` = 'select_option';
UPDATE `language` SET `english` = 'Send'
WHERE `phrase` = 'send';
UPDATE `language` SET `english` = 'Sender Name'
WHERE `phrase` = 'sender_name';
UPDATE `language` SET `english` = 'Sent'
WHERE `phrase` = 'sent';
UPDATE `language` SET `english` = 'Sent Message'
WHERE `phrase` = 'sent_message';
UPDATE `language` SET `english` = 'Set'
WHERE `phrase` = 'set';
UPDATE `language` SET `english` = 'Setting'
WHERE `phrase` = 'setting';
INSERT INTO `language` (`phrase`) VALUES ('total_amount');
UPDATE `language` SET `english` = 'Application Alignment'
WHERE `phrase` = 'site_align';
UPDATE `language` SET `english` = 'size'
WHERE `phrase` = 'size';
UPDATE `language` SET `english` = 'SL'
WHERE `phrase` = 'sl';
UPDATE `language` SET `english` = 'SL No.'
WHERE `phrase` = 'sl_no';
UPDATE `language` SET `english` = 'Status'
WHERE `phrase` = 'status';
UPDATE `language` SET `english` = 'Stock Qty'
WHERE `phrase` = 'stock_ctn';
UPDATE `language` SET `english` = 'Store'
WHERE `phrase` = 'store';
UPDATE `language` SET `english` = 'Store/warehouse'
WHERE `phrase` = 'storewarehouse';
UPDATE `language` SET `english` = 'Store Address'
WHERE `phrase` = 'store_address';
UPDATE `language` SET `english` = 'Store Code'
WHERE `phrase` = 'store_code';
UPDATE `language` SET `english` = 'Store Name'
WHERE `phrase` = 'store_name';
UPDATE `language` SET `english` = 'Store Phone'
WHERE `phrase` = 'store_phone';
UPDATE `language` SET `english` = 'Subject'
WHERE `phrase` = 'subject';
UPDATE `language` SET `english` = 'Submit '
WHERE `phrase` = 'submit';
UPDATE `language` SET `english` = 'Submit and Another'
WHERE `phrase` = 'submit_and_add_another';
UPDATE `language` SET `english` = 'Successfully Approved'
WHERE `phrase` = 'successfully_approved';
UPDATE `language` SET `english` = 'Super Admin'
WHERE `phrase` = 'super_admin';
UPDATE `language` SET `english` = 'Supplier'
WHERE `phrase` = 'supplier';
UPDATE `language` SET `english` = 'Supplier Name'
WHERE `phrase` = 'supplier_name';
UPDATE `language` SET `english` = 'Synchronize'
WHERE `phrase` = 'synchronize';
UPDATE `language` SET `english` = 'Tables are not available in database.sql'
WHERE `phrase` = 'tables_are_not_available_in_database';
UPDATE `language` SET `english` = 'Total'
WHERE `phrase` = 'total';
UPDATE `language` SET `english` = 'Total Amount'
WHERE `phrase` = 'total_amount';
UPDATE `language` SET `english` = 'Unable to download file! please check configuration'
WHERE `phrase` = 'unable_to_download_file_please_check_configuration';
UPDATE `language` SET `english` = 'Unable to import data! please check configuration / SQL file.'
WHERE `phrase` = 'unable_to_import_data_please_check_config_or_sql_file';
INSERT INTO `sales_parent` (`sale_id`, `invoice_no`, `customer_id`, `sale_type_id`, `store_id`, `warehouse_id`, `salesman`, `sales_date`, `sales_time`, `total_amnt`) VALUES ('20180516105138', '1000', '1', '1', '0', NULL, '2', '16-05-2018', '10:51:38', '275.00');
INSERT INTO `sale_details` (`sale_id`, `product_id`, `qty`, `sell_price`, `sale_type_id`) VALUES ('20180516105138', '7', '5', '55', '1');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Sales', 'create', 'invoice_no-1000 total amount-275.00', '2', '2018-05-16 10:51:38');
INSERT INTO `sales_parent` (`sale_id`, `invoice_no`, `customer_id`, `sale_type_id`, `store_id`, `salesman`, `sales_date`, `sales_time`, `total_amnt`) VALUES ('20180516105656', '1000', '2', '1', '0', '2', '16-05-2018', '10:56:56', '550.00');
INSERT INTO `sale_details` (`sale_id`, `product_id`, `qty`, `sell_price`, `sale_type_id`) VALUES ('20180516105656', '7', '10', '55', '1');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Sales', 'create', 'invoice_no-1000 total amount-550.00', '2', '2018-05-16 10:56:56');
UPDATE `user` SET `last_logout` = '2018-05-16 11:24:49'
WHERE `id` IS NULL;
UPDATE `user` SET `last_login` = '2018-05-16 11:24:58', `ip_address` = '::1'
WHERE `id` = '2';
INSERT INTO `sales_parent` (`sale_id`, `invoice_no`, `customer_id`, `sale_type_id`, `store_id`, `salesman`, `sales_date`, `sales_time`, `total_amnt`) VALUES ('20180516112747', '1001', '1', '1', '0', '2', '2018-05-16', '11:27:47', '700.00');
INSERT INTO `sale_details` (`sale_id`, `product_id`, `qty`, `sell_price`, `sale_type_id`) VALUES ('20180516112747', '6', '20', '35', '1');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Sales', 'create', 'invoice_no-1001 total amount-700.00', '2', '2018-05-16 11:27:47');
INSERT INTO `language` (`phrase`) VALUES ('paid_amount');
INSERT INTO `language` (`phrase`) VALUES ('remaining_amnt');
UPDATE `language` SET `english` = 'Overwrite'
WHERE `phrase` = 'overwrite';
UPDATE `language` SET `english` = 'Paid Amount'
WHERE `phrase` = 'paid_amount';
UPDATE `language` SET `english` = 'Password'
WHERE `phrase` = 'password';
UPDATE `language` SET `english` = 'You Have No Permission'
WHERE `phrase` = 'permission_error';
UPDATE `language` SET `english` = 'Phone'
WHERE `phrase` = 'phone';
UPDATE `language` SET `english` = 'Please configure synchronizer settings'
WHERE `phrase` = 'please_configure_synchronizer_settings';
UPDATE `language` SET `english` = 'Please Contact With Admin'
WHERE `phrase` = 'please_contact_with_admin';
UPDATE `language` SET `english` = 'Please Try Again...'
WHERE `phrase` = 'please_try_again';
UPDATE `language` SET `english` = 'Please Wait...'
WHERE `phrase` = 'please_wait';
UPDATE `language` SET `english` = 'Preview'
WHERE `phrase` = 'preview';
UPDATE `language` SET `english` = 'Price'
WHERE `phrase` = 'price';
UPDATE `language` SET `english` = 'Product'
WHERE `phrase` = 'product';
UPDATE `language` SET `english` = 'Product Category'
WHERE `phrase` = 'product_category';
UPDATE `language` SET `english` = 'Product Details'
WHERE `phrase` = 'product_details';
UPDATE `language` SET `english` = 'Product Name'
WHERE `phrase` = 'product_name';
UPDATE `language` SET `english` = 'Profile'
WHERE `phrase` = 'profile';
UPDATE `language` SET `english` = 'Profile Setting'
WHERE `phrase` = 'profile_setting';
UPDATE `language` SET `english` = 'Project Root'
WHERE `phrase` = 'project_root';
UPDATE `language` SET `english` = 'Puchase Order'
WHERE `phrase` = 'purchase_order';
UPDATE `language` SET `english` = 'Purchase Price'
WHERE `phrase` = 'purchase_price';
UPDATE `language` SET `english` = 'Qty'
WHERE `phrase` = 'quantity';
UPDATE `language` SET `english` = 'Read'
WHERE `phrase` = 'read';
UPDATE `language` SET `english` = 'Read/Unread'
WHERE `phrase` = 'read_unread';
UPDATE `language` SET `english` = 'Receive'
WHERE `phrase` = 'receive';
UPDATE `language` SET `english` = 'Receiver Name'
WHERE `phrase` = 'receiver_name';
UPDATE `language` SET `english` = 'Receive List'
WHERE `phrase` = 'receive_list';
UPDATE `language` SET `english` = 'Receive QTY'
WHERE `phrase` = 'receive_qty';
UPDATE `language` SET `english` = 'Receive QTY'
WHERE `phrase` = 'receive_quantity';
UPDATE `language` SET `english` = 'Remainig Amount'
WHERE `phrase` = 'remaining_amnt';
UPDATE `language` SET `english` = 'Remove Successfully!'
WHERE `phrase` = 'remove_successfully';
UPDATE `language` SET `english` = 'Reset'
WHERE `phrase` = 'reset';
UPDATE `language` SET `english` = 'Restore Now!'
WHERE `phrase` = 'restore_now';
UPDATE `language` SET `english` = 'Restore Successfully'
WHERE `phrase` = 'restore_successfully';
UPDATE `language` SET `english` = 'Retail Price'
WHERE `phrase` = 'retail_price';
UPDATE `language` SET `english` = 'Right To Left'
WHERE `phrase` = 'right_to_left';
UPDATE `language` SET `english` = 'Role'
WHERE `phrase` = 'role';
UPDATE `language` SET `english` = 'Role List'
WHERE `phrase` = 'role_list';
UPDATE `language` SET `english` = 'Role Name'
WHERE `phrase` = 'role_name';
UPDATE `language` SET `english` = 'Role Permission'
WHERE `phrase` = 'role_permission';
UPDATE `language` SET `english` = 'Role Permission List'
WHERE `phrase` = 'role_permission_list';
UPDATE `language` SET `english` = 'Sales'
WHERE `phrase` = 'sale';
UPDATE `language` SET `english` = 'Sales Man'
WHERE `phrase` = 'sales_man';
UPDATE `language` SET `english` = 'Save'
WHERE `phrase` = 'save';
UPDATE `language` SET `english` = 'Save Successfully!'
WHERE `phrase` = 'save_successfully';
UPDATE `language` SET `english` = 'See All Messages'
WHERE `phrase` = 'see_all_message';
UPDATE `language` SET `english` = 'Select Option'
WHERE `phrase` = 'select_option';
UPDATE `language` SET `english` = 'Send'
WHERE `phrase` = 'send';
UPDATE `language` SET `english` = 'Sender Name'
WHERE `phrase` = 'sender_name';
UPDATE `language` SET `english` = 'Sent'
WHERE `phrase` = 'sent';
UPDATE `language` SET `english` = 'Sent Message'
WHERE `phrase` = 'sent_message';
UPDATE `user` SET `last_logout` = '2018-05-16 12:19:58'
WHERE `id` IS NULL;
UPDATE `user` SET `last_login` = '2018-05-16 12:20:06', `ip_address` = '::1'
WHERE `id` = '2';
INSERT INTO `purchase_receive` (`receive_id`, `po_no`, `supplier_id`, `store_id`, `warehouse_id`, `voucher_no`, `receive_by`, `receive_date`) VALUES ('20180516142918', '20180515143434', '2', '2', '', 1001, '2', '2018-05-16 14:29:18');
INSERT INTO `purchase_receive_details` (`receive_id`, `product_id`, `receive_qty`, `product_rate`) VALUES ('20180516142918', '7', '15', '45');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('purchase order receive', 'create', 'Orde Id- total amount-675.00', '2', '2018-05-16 14:29:18');
UPDATE `user` SET `last_login` = '2018-05-17 05:43:32', `ip_address` = '::1'
WHERE `id` = '2';
INSERT INTO `sales_parent` (`sale_id`, `invoice_no`, `customer_id`, `sale_type_id`, `store_id`, `salesman`, `sales_date`, `sales_time`, `total_amnt`) VALUES ('20180517065731', '1002', '2', '2', '0', '2', '2018-05-17', '06:57:31', '305.00');
INSERT INTO `payment_collection` (`id`, `sale_id`, `invoice_no`, `customer_id`, `paid_amnt`, `due_amnt`, `receive_by`, `payment_date`) VALUES ('201805170631', '20180517065731', '1002', '2', '300', NULL, '2', '2018-05-17');
INSERT INTO `sale_details` (`sale_id`, `product_id`, `qty`, `sell_price`, `sale_type_id`) VALUES ('20180517065731', '7', '3', '55', '2');
INSERT INTO `sale_details` (`sale_id`, `product_id`, `qty`, `sell_price`, `sale_type_id`) VALUES ('20180517065731', '6', '4', '35', '2');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Sales', 'create', 'invoice_no-1002 total amount-305.00', '2', '2018-05-17 06:57:31');
INSERT INTO `sales_parent` (`sale_id`, `invoice_no`, `customer_id`, `sale_type_id`, `store_id`, `salesman`, `sales_date`, `sales_time`, `total_amnt`) VALUES ('20180517070246', '1003', '2', '2', '0', '2', '2018-05-17', '07:02:46', '215.00');
INSERT INTO `sales_parent` (`sale_id`, `invoice_no`, `customer_id`, `sale_type_id`, `store_id`, `salesman`, `sales_date`, `sales_time`, `total_amnt`) VALUES ('20180517070421', '1004', '1', '2', '0', '2', '2018-05-17', '07:04:21', '270.00');
INSERT INTO `sales_parent` (`sale_id`, `invoice_no`, `customer_id`, `sale_type_id`, `store_id`, `salesman`, `sales_date`, `sales_time`, `total_amnt`) VALUES ('20180517070700', '1005', '2', '2', '0', '2', '2018-05-17', '07:07:00', '250.00');
INSERT INTO `sales_parent` (`sale_id`, `invoice_no`, `customer_id`, `sale_type_id`, `store_id`, `salesman`, `sales_date`, `sales_time`, `total_amnt`) VALUES ('20180517070844', '1006', '2', '2', '0', '2', '2018-05-17', '07:08:44', '490.00');
INSERT INTO `sales_parent` (`sale_id`, `invoice_no`, `customer_id`, `sale_type_id`, `store_id`, `salesman`, `sales_date`, `sales_time`, `total_amnt`) VALUES ('20180517070917', '1006', '2', '2', '0', '2', '2018-05-17', '07:09:17', '490.00');
INSERT INTO `payment_collection` (`id`, `sale_id`, `invoice_no`, `customer_id`, `paid_amnt`, `due_amnt`, `receive_by`, `payment_date`) VALUES ('201805170717', '20180517070917', '1006', '2', '450', '40.00', '2', '2018-05-17');
INSERT INTO `sale_details` (`sale_id`, `product_id`, `qty`, `sell_price`, `sale_type_id`) VALUES ('20180517070917', '7', '7', '55', '2');
INSERT INTO `sale_details` (`sale_id`, `product_id`, `qty`, `sell_price`, `sale_type_id`) VALUES ('20180517070917', '6', '3', '35', '2');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Sales', 'create', 'invoice_no-1006 total amount-490.00', '2', '2018-05-17 07:09:17');
INSERT INTO `sales_parent` (`sale_id`, `invoice_no`, `customer_id`, `sale_type_id`, `store_id`, `salesman`, `sales_date`, `sales_time`, `total_amnt`) VALUES ('20180517071008', '1007', '2', '1', '0', '2', '2018-05-17', '07:10:08', '165.00');
INSERT INTO `payment_collection` (`id`, `sale_id`, `invoice_no`, `customer_id`, `paid_amnt`, `due_amnt`, `receive_by`, `payment_date`) VALUES ('201805170708', '20180517071008', '1007', '2', '165.00', NULL, '2', '2018-05-17');
INSERT INTO `sale_details` (`sale_id`, `product_id`, `qty`, `sell_price`, `sale_type_id`) VALUES ('20180517071008', '7', '3', '55', '1');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Sales', 'create', 'invoice_no-1007 total amount-165.00', '2', '2018-05-17 07:10:08');
INSERT INTO `sales_parent` (`sale_id`, `invoice_no`, `customer_id`, `sale_type_id`, `store_id`, `salesman`, `sales_date`, `sales_time`, `total_amnt`) VALUES ('20180517071228', '1008', '2', '1', '0', '2', '2018-05-17', '07:12:28', '110.00');
INSERT INTO `sales_parent` (`sale_id`, `invoice_no`, `customer_id`, `sale_type_id`, `store_id`, `salesman`, `sales_date`, `sales_time`, `total_amnt`) VALUES ('20180517071302', '1008', '2', '1', '0', '2', '2018-05-17', '07:13:02', '110.00');
INSERT INTO `payment_collection` (`id`, `sale_id`, `invoice_no`, `customer_id`, `paid_amnt`, `due_amnt`, `receive_by`, `payment_date`) VALUES ('201805170702', '20180517071302', '1008', '2', '110.00', NULL, '2', '2018-05-17');
INSERT INTO `sale_details` (`sale_id`, `product_id`, `qty`, `sell_price`, `sale_type_id`) VALUES ('20180517071302', '7', '2', '55', '1');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Sales', 'create', 'invoice_no-1008 total amount-110.00', '2', '2018-05-17 07:13:02');
INSERT INTO `sales_parent` (`sale_id`, `invoice_no`, `customer_id`, `sale_type_id`, `store_id`, `salesman`, `sales_date`, `sales_time`, `total_amnt`) VALUES ('20180517071744', '1009', '2', '2', '0', '2', '2018-05-17', '07:17:44', '1800.00');
INSERT INTO `sale_details` (`sale_id`, `product_id`, `qty`, `sell_price`, `sale_type_id`) VALUES ('20180517071744', '7', '20', '55', '2');
INSERT INTO `sale_details` (`sale_id`, `product_id`, `qty`, `sell_price`, `sale_type_id`) VALUES ('20180517071744', '6', '20', '35', '2');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Sales', 'create', 'invoice_no-1009 total amount-1800.00', '2', '2018-05-17 07:17:45');
INSERT INTO `sales_parent` (`sale_id`, `invoice_no`, `customer_id`, `sale_type_id`, `store_id`, `salesman`, `sales_date`, `sales_time`, `total_amnt`) VALUES ('20180517072210', '1010', '2', '1', '0', '2', '2018-05-17', '07:22:10', '110.00');
INSERT INTO `payment_collection` (`id`, `sale_id`, `invoice_no`, `customer_id`, `paid_amnt`, `due_amnt`, `receive_by`, `payment_date`) VALUES ('201805170710', '20180517072210', '1010', '2', '110.00', NULL, '2', '2018-05-17');
INSERT INTO `sale_details` (`sale_id`, `product_id`, `qty`, `sell_price`, `sale_type_id`) VALUES ('20180517072210', '7', '2', '55', '1');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Sales', 'create', 'invoice_no-1010 total amount-110.00', '2', '2018-05-17 07:22:11');
INSERT INTO `sales_parent` (`sale_id`, `invoice_no`, `customer_id`, `sale_type_id`, `store_id`, `salesman`, `sales_date`, `sales_time`, `total_amnt`) VALUES ('20180517072341', '1011', '2', '1', '0', '2', '2018-05-17', '07:23:41', '165.00');
INSERT INTO `payment_collection` (`id`, `sale_id`, `invoice_no`, `customer_id`, `paid_amnt`, `due_amnt`, `receive_by`, `payment_date`) VALUES ('201805170741', '20180517072341', '1011', '2', '165.00', NULL, '2', '2018-05-17');
INSERT INTO `sale_details` (`sale_id`, `product_id`, `qty`, `sell_price`, `sale_type_id`) VALUES ('20180517072341', '7', '3', '55', '1');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Sales', 'create', 'invoice_no-1011 total amount-165.00', '2', '2018-05-17 07:23:41');
INSERT INTO `sales_parent` (`sale_id`, `invoice_no`, `customer_id`, `sale_type_id`, `store_id`, `salesman`, `sales_date`, `sales_time`, `total_amnt`) VALUES ('20180517072528', '1012', '1', '1', '0', '2', '2018-05-17', '07:25:28', '110.00');
INSERT INTO `payment_collection` (`id`, `sale_id`, `invoice_no`, `customer_id`, `paid_amnt`, `due_amnt`, `receive_by`, `payment_date`) VALUES ('201805170728', '20180517072528', '1012', '1', '110.00', NULL, '2', '2018-05-17');
INSERT INTO `sale_details` (`sale_id`, `product_id`, `qty`, `sell_price`, `sale_type_id`) VALUES ('20180517072528', '7', '2', '55', '1');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Sales', 'create', 'invoice_no-1012 total amount-110.00', '2', '2018-05-17 07:25:28');
INSERT INTO `sales_parent` (`sale_id`, `invoice_no`, `customer_id`, `sale_type_id`, `store_id`, `salesman`, `sales_date`, `sales_time`, `total_amnt`) VALUES ('20180517072732', '1013', '2', '1', '0', '2', '2018-05-17', '07:27:32', '550.00');
INSERT INTO `payment_collection` (`id`, `sale_id`, `invoice_no`, `customer_id`, `paid_amnt`, `due_amnt`, `receive_by`, `payment_date`) VALUES ('201805170732', '20180517072732', '1013', '2', '550.00', NULL, '2', '2018-05-17');
INSERT INTO `sale_details` (`sale_id`, `product_id`, `qty`, `sell_price`, `sale_type_id`) VALUES ('20180517072732', '7', '10', '55', '1');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Sales', 'create', 'invoice_no-1013 total amount-550.00', '2', '2018-05-17 07:27:33');
INSERT INTO `sales_parent` (`sale_id`, `invoice_no`, `customer_id`, `sale_type_id`, `store_id`, `salesman`, `sales_date`, `sales_time`, `total_amnt`) VALUES ('20180517072810', '1014', '2', '2', '0', '2', '2018-05-17', '07:28:10', '105.00');
INSERT INTO `payment_collection` (`id`, `sale_id`, `invoice_no`, `customer_id`, `paid_amnt`, `due_amnt`, `receive_by`, `payment_date`) VALUES ('201805170710', '20180517072810', '1014', '2', '100', '5.00', '2', '2018-05-17');
INSERT INTO `sale_details` (`sale_id`, `product_id`, `qty`, `sell_price`, `sale_type_id`) VALUES ('20180517072810', '6', '3', '35', '2');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Sales', 'create', 'invoice_no-1014 total amount-105.00', '2', '2018-05-17 07:28:10');
INSERT INTO `sales_parent` (`sale_id`, `invoice_no`, `customer_id`, `sale_type_id`, `store_id`, `salesman`, `sales_date`, `sales_time`, `total_amnt`) VALUES ('20180517072913', '1015', '2', '1', '0', '2', '2018-05-17', '07:29:13', '165.00');
INSERT INTO `payment_collection` (`id`, `sale_id`, `invoice_no`, `customer_id`, `paid_amnt`, `due_amnt`, `receive_by`, `payment_date`) VALUES ('201805170713', '20180517072913', '1015', '2', '165.00', NULL, '2', '2018-05-17');
INSERT INTO `sale_details` (`sale_id`, `product_id`, `qty`, `sell_price`, `sale_type_id`) VALUES ('20180517072913', '7', '3', '55', '1');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Sales', 'create', 'invoice_no-1015 total amount-165.00', '2', '2018-05-17 07:29:13');
INSERT INTO `purchase_order` (`po_no`, `supplier_id`, `total_amnt`, `store_id`, `warehouse_id`, `createby`, `createdate`) VALUES ('20180517074220', '2', '1500.00', '2', '', '2', '2018-05-17 07:42:20');
INSERT INTO `purchase_order_details` (`row_id`, `po_no`, `product_id`, `order_qty`, `product_rate`) VALUES ('537622134685174', '20180517074220', '4', '30', '50');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('purchase order', 'create', 'Orde Id-20180517074220 total amount-1500.00', '2', '2018-05-17 07:42:21');
INSERT INTO `purchase_receive` (`receive_id`, `po_no`, `supplier_id`, `store_id`, `warehouse_id`, `voucher_no`, `receive_by`, `receive_date`) VALUES ('20180517074242', '20180517074220', '2', '2', '', 1002, '2', '2018-05-17 07:42:42');
INSERT INTO `purchase_receive_details` (`receive_id`, `product_id`, `receive_qty`, `product_rate`) VALUES ('20180517074242', '4', '30', '50');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('purchase order receive', 'create', 'Orde Id- total amount-1500.00', '2', '2018-05-17 07:42:42');
INSERT INTO `sales_parent` (`sale_id`, `invoice_no`, `customer_id`, `sale_type_id`, `store_id`, `salesman`, `sales_date`, `sales_time`, `total_amnt`) VALUES ('20180517074317', '1016', '2', '1', '0', '2', '2018-05-17', '07:43:17', '125.00');
INSERT INTO `payment_collection` (`id`, `sale_id`, `invoice_no`, `customer_id`, `paid_amnt`, `due_amnt`, `receive_by`, `payment_date`) VALUES ('201805170717', '20180517074317', '1016', '2', '125.00', NULL, '2', '2018-05-17');
INSERT INTO `sale_details` (`sale_id`, `product_id`, `qty`, `sell_price`, `sale_type_id`) VALUES ('20180517074317', '4', '5', '25', '1');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Sales', 'create', 'invoice_no-1016 total amount-125.00', '2', '2018-05-17 07:43:17');
INSERT INTO `language` (`phrase`) VALUES ('lease');
UPDATE `language` SET `english` = 'Host Name'
WHERE `phrase` = 'hostname';
UPDATE `language` SET `english` = 'Image'
WHERE `phrase` = 'image';
UPDATE `language` SET `english` = 'Image Upload Successfully!'
WHERE `phrase` = 'image_upload_successfully';
UPDATE `language` SET `english` = 'In A'
WHERE `phrase` = 'in';
UPDATE `language` SET `english` = 'Inactive'
WHERE `phrase` = 'inactive';
UPDATE `language` SET `english` = 'Inbox'
WHERE `phrase` = 'inbox';
UPDATE `language` SET `english` = 'Inbox Messages'
WHERE `phrase` = 'inbox_message';
UPDATE `language` SET `english` = 'Incoming File'
WHERE `phrase` = 'incoming_file';
UPDATE `language` SET `english` = 'Incorrect Email/Password'
WHERE `phrase` = 'incorrect_email_or_password';
UPDATE `language` SET `english` = 'Install'
WHERE `phrase` = 'install';
UPDATE `language` SET `english` = 'Internet Connection'
WHERE `phrase` = 'internet_connection';
UPDATE `language` SET `english` = 'Invalid File!'
WHERE `phrase` = 'invalid_file';
UPDATE `language` SET `english` = 'Invalid Module'
WHERE `phrase` = 'invalid_module';
UPDATE `language` SET `english` = 'Invoice ID'
WHERE `phrase` = 'invoice_id';
UPDATE `language` SET `english` = 'IP Address'
WHERE `phrase` = 'ip_address';
UPDATE `language` SET `english` = 'Is Active'
WHERE `phrase` = 'isactive';
UPDATE `language` SET `english` = 'Language'
WHERE `phrase` = 'language';
UPDATE `language` SET `english` = 'Last Name'
WHERE `phrase` = 'lastname';
UPDATE `language` SET `english` = 'Last Login'
WHERE `phrase` = 'last_login';
UPDATE `language` SET `english` = 'Last Logout'
WHERE `phrase` = 'last_logout';
UPDATE `language` SET `english` = 'Lease'
WHERE `phrase` = 'lease';
UPDATE `language` SET `english` = 'Left To Right'
WHERE `phrase` = 'left_to_right';
UPDATE `language` SET `english` = 'List'
WHERE `phrase` = 'list';
UPDATE `language` SET `english` = 'Store List'
WHERE `phrase` = 'list_store';
UPDATE `language` SET `english` = 'Warehouse list'
WHERE `phrase` = 'list_warehouse';
SET FOREIGN_KEY_CHECKS = 0;
CREATE TABLE IF NOT EXISTS `lease` (
  `lease_id` int(11) NOT NULL AUTO_INCREMENT,
  `package_code` varchar(15) COLLATE utf8_unicode_ci NOT NULL,
  `package_name` varchar(120) COLLATE utf8_unicode_ci NOT NULL,
  `lease_duration` int(11) NOT NULL,
  `advance` decimal(2,2) NOT NULL,
  `markup` decimal(2,2) NOT NULL,
  `grace_period` tinyint(2) NOT NULL COMMENT 'if customer wants to settle within the grace period then he will not be charged for the current month''s lease',
  `isactive` tinyint(1) NOT NULL,
  `createby` varchar(20) COLLATE utf8_unicode_ci NOT NULL,
  `createdate` datetime NOT NULL,
  `updateby` varchar(20) COLLATE utf8_unicode_ci NOT NULL,
  `updatedate` datetime NOT NULL,
  PRIMARY KEY (`lease_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;



CREATE TABLE IF NOT EXISTS `lease_product_map` (
  `row_id` bigint(20) NOT NULL AUTO_INCREMENT,
  `lease_id` int(11) NOT NULL,
  `product_id` bigint(20) NOT NULL,
  PRIMARY KEY (`row_id`),
  KEY `fk_lease_id1` (`lease_id`),
  KEY `fk_prod_id1` (`product_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;


CREATE TABLE IF NOT EXISTS `lease_store_map` (
  `row_id` bigint(20) NOT NULL AUTO_INCREMENT,
  `lease_id` int(11) NOT NULL,
  `store_id` int(11) NOT NULL,
  PRIMARY KEY (`row_id`),
  KEY `fk_store_lease_id1` (`lease_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
SET FOREIGN_KEY_CHECKS = 1;
INSERT INTO `module` (`id`, `name`, `description`, `image`, `directory`, `status`) VALUES (NULL, 'lease Management', 'lease Information', 'application/modules/lease/assets/images/thumbnail.jpg', 'lease', 1);
INSERT INTO `language` (`phrase`) VALUES ('pakage_code');
INSERT INTO `language` (`phrase`) VALUES ('pakage_name');
INSERT INTO `language` (`phrase`) VALUES ('duration');
INSERT INTO `language` (`phrase`) VALUES ('advance');
INSERT INTO `language` (`phrase`) VALUES ('markup');
UPDATE `language` SET `english` = 'A'
WHERE `phrase` = 'a';
UPDATE `language` SET `english` = 'About'
WHERE `phrase` = 'about';
UPDATE `language` SET `english` = 'Action'
WHERE `phrase` = 'action';
UPDATE `language` SET `english` = 'Active'
WHERE `phrase` = 'active';
UPDATE `language` SET `english` = 'Add '
WHERE `phrase` = 'add';
UPDATE `language` SET `english` = 'Address'
WHERE `phrase` = 'address';
UPDATE `language` SET `english` = 'Add Module'
WHERE `phrase` = 'add_module';
UPDATE `language` SET `english` = 'Add Module Permission'
WHERE `phrase` = 'add_module_permission';
UPDATE `language` SET `english` = 'Add New Product'
WHERE `phrase` = 'add_new_item';
UPDATE `language` SET `english` = 'Add Role'
WHERE `phrase` = 'add_role';
UPDATE `language` SET `english` = 'Add Role Permission'
WHERE `phrase` = 'add_role_permission';
UPDATE `language` SET `english` = 'Add Store'
WHERE `phrase` = 'add_store';
UPDATE `language` SET `english` = 'Add User'
WHERE `phrase` = 'add_user';
UPDATE `language` SET `english` = 'Add User Role'
WHERE `phrase` = 'add_user_role';
UPDATE `language` SET `english` = 'Add Warehouse'
WHERE `phrase` = 'add_warehouse';
UPDATE `language` SET `english` = 'Admin'
WHERE `phrase` = 'admin';
UPDATE `language` SET `english` = 'Advance'
WHERE `phrase` = 'advance';
UPDATE `language` SET `english` = 'Application Setting'
WHERE `phrase` = 'application_setting';
UPDATE `language` SET `english` = 'Application Title'
WHERE `phrase` = 'application_title';
UPDATE `language` SET `english` = 'Approve'
WHERE `phrase` = 'approved';
UPDATE `language` SET `english` = 'Are You Sure ? '
WHERE `phrase` = 'are_you_sure';
UPDATE `language` SET `english` = 'Assign Role'
WHERE `phrase` = 'assign_role';
UPDATE `language` SET `english` = 'Available'
WHERE `phrase` = 'available';
UPDATE `language` SET `english` = 'Backup and Restore'
WHERE `phrase` = 'backup_and_restore';
UPDATE `language` SET `english` = 'Backup Date'
WHERE `phrase` = 'backup_date';
UPDATE `language` SET `english` = 'Date'
WHERE `phrase` = 'date';
UPDATE `language` SET `english` = 'Delete'
WHERE `phrase` = 'delete';
UPDATE `language` SET `english` = 'Delete Successfully!'
WHERE `phrase` = 'delete_successfully';
UPDATE `language` SET `english` = 'Delete Successfully!'
WHERE `phrase` = 'delete_successfully';
UPDATE `language` SET `english` = 'Department'
WHERE `phrase` = 'department';
UPDATE `language` SET `english` = 'Description'
WHERE `phrase` = 'description';
UPDATE `language` SET `english` = 'Designation'
WHERE `phrase` = 'designation';
UPDATE `language` SET `english` = 'Module Direcotory'
WHERE `phrase` = 'directory';
UPDATE `language` SET `english` = 'Disapprove'
WHERE `phrase` = 'disapprove';
UPDATE `language` SET `english` = 'Download'
WHERE `phrase` = 'download';
UPDATE `language` SET `english` = 'Download Data from Server'
WHERE `phrase` = 'download_data_from_server';
UPDATE `language` SET `english` = 'Download Successfully'
WHERE `phrase` = 'download_successfully';
UPDATE `language` SET `english` = 'Duration'
WHERE `phrase` = 'duration';
UPDATE `language` SET `english` = 'Email Address'
WHERE `phrase` = 'email';
UPDATE `language` SET `english` = 'Employee'
WHERE `phrase` = 'employee';
UPDATE `language` SET `english` = 'Enquiry'
WHERE `phrase` = 'enquiry';
UPDATE `language` SET `english` = 'Enquiry Information'
WHERE `phrase` = 'enquiry_information';
UPDATE `language` SET `english` = 'Favicon'
WHERE `phrase` = 'favicon';
UPDATE `language` SET `english` = 'File Name'
WHERE `phrase` = 'filename';
UPDATE `language` SET `english` = 'File Information'
WHERE `phrase` = 'file_information';
UPDATE `language` SET `english` = 'First Name'
WHERE `phrase` = 'firstname';
UPDATE `language` SET `english` = 'Footer Text'
WHERE `phrase` = 'footer_text';
UPDATE `language` SET `english` = 'FTP Debug'
WHERE `phrase` = 'ftp_debug';
UPDATE `language` SET `english` = 'FTP Port'
WHERE `phrase` = 'ftp_port';
UPDATE `language` SET `english` = 'Data Synchronize [FTP Setting]'
WHERE `phrase` = 'ftp_setting';
UPDATE `language` SET `english` = 'Store List'
WHERE `phrase` = 'list_store';
UPDATE `language` SET `english` = 'Warehouse list'
WHERE `phrase` = 'list_warehouse';
UPDATE `language` SET `english` = 'Login'
WHERE `phrase` = 'login';
UPDATE `language` SET `english` = 'Logo'
WHERE `phrase` = 'logo';
UPDATE `language` SET `english` = 'Logout'
WHERE `phrase` = 'logout';
UPDATE `language` SET `english` = 'Markup'
WHERE `phrase` = 'markup';
UPDATE `language` SET `english` = 'Message'
WHERE `phrase` = 'message';
UPDATE `language` SET `english` = 'Message Details'
WHERE `phrase` = 'message_details';
UPDATE `language` SET `english` = 'Message Sent!'
WHERE `phrase` = 'message_sent';
UPDATE `language` SET `english` = 'Minimum Price'
WHERE `phrase` = 'minimum_price';
UPDATE `language` SET `english` = 'Module'
WHERE `phrase` = 'module';
UPDATE `language` SET `english` = 'Module Added Successfully'
WHERE `phrase` = 'module_added_successfully';
UPDATE `language` SET `english` = 'Module List'
WHERE `phrase` = 'module_list';
UPDATE `language` SET `english` = 'Module Name'
WHERE `phrase` = 'module_name';
UPDATE `language` SET `english` = 'Module Permission'
WHERE `phrase` = 'module_permission';
UPDATE `language` SET `english` = 'Module Permission Added Successfully!'
WHERE `phrase` = 'module_permission_added_successfully';
UPDATE `language` SET `english` = 'Module Permission List'
WHERE `phrase` = 'module_permission_list';
UPDATE `language` SET `english` = 'Name'
WHERE `phrase` = 'name';
UPDATE `language` SET `english` = 'New'
WHERE `phrase` = 'new';
UPDATE `language` SET `english` = 'New Enquiry'
WHERE `phrase` = 'new_enquiry';
UPDATE `language` SET `english` = 'New Message'
WHERE `phrase` = 'new_message';
UPDATE `language` SET `english` = 'Not Available'
WHERE `phrase` = 'not_available';
UPDATE `language` SET `english` = 'No tables are registerd in config.php'
WHERE `phrase` = 'no_tables_are_registered_in_config';
UPDATE `language` SET `english` = 'Ok'
WHERE `phrase` = 'ok';
UPDATE `language` SET `english` = ' Ooops something went wrong...'
WHERE `phrase` = 'ooops_something_went_wrong';
UPDATE `language` SET `english` = 'Order Date'
WHERE `phrase` = 'order_date';
UPDATE `language` SET `english` = 'Order NO'
WHERE `phrase` = 'order_no';
UPDATE `language` SET `english` = 'Order QTY'
WHERE `phrase` = 'order_qty';
UPDATE `language` SET `english` = 'Outgoing File'
WHERE `phrase` = 'outgoing_file';
UPDATE `language` SET `english` = 'Overwrite'
WHERE `phrase` = 'overwrite';
UPDATE `language` SET `english` = 'Paid Amount'
WHERE `phrase` = 'paid_amount';
UPDATE `language` SET `english` = 'Package  Code'
WHERE `phrase` = 'pakage_code';
UPDATE `language` SET `english` = 'Package Name'
WHERE `phrase` = 'pakage_name';
UPDATE `language` SET `english` = 'Password'
WHERE `phrase` = 'password';
UPDATE `language` SET `english` = 'You Have No Permission'
WHERE `phrase` = 'permission_error';
UPDATE `language` SET `english` = 'Phone'
WHERE `phrase` = 'phone';
UPDATE `language` SET `english` = 'Please configure synchronizer settings'
WHERE `phrase` = 'please_configure_synchronizer_settings';
UPDATE `language` SET `english` = 'Please Contact With Admin'
WHERE `phrase` = 'please_contact_with_admin';
UPDATE `language` SET `english` = 'Please Try Again...'
WHERE `phrase` = 'please_try_again';
UPDATE `language` SET `english` = 'Please Wait...'
WHERE `phrase` = 'please_wait';
UPDATE `language` SET `english` = 'Preview'
WHERE `phrase` = 'preview';
UPDATE `language` SET `english` = 'Price'
WHERE `phrase` = 'price';
UPDATE `language` SET `english` = 'Product'
WHERE `phrase` = 'product';
UPDATE `language` SET `english` = 'Product Category'
WHERE `phrase` = 'product_category';
UPDATE `language` SET `english` = 'Product Details'
WHERE `phrase` = 'product_details';
UPDATE `language` SET `english` = 'Product Name'
WHERE `phrase` = 'product_name';
UPDATE `language` SET `english` = 'Profile'
WHERE `phrase` = 'profile';
UPDATE `language` SET `english` = 'Profile Setting'
WHERE `phrase` = 'profile_setting';
UPDATE `language` SET `english` = 'Project Root'
WHERE `phrase` = 'project_root';
UPDATE `language` SET `english` = 'Puchase Order'
WHERE `phrase` = 'purchase_order';
INSERT INTO `sales_parent` (`sale_id`, `invoice_no`, `customer_id`, `sale_type_id`, `store_id`, `salesman`, `sales_date`, `sales_time`, `total_amnt`) VALUES ('20180517124314', NULL, NULL, NULL, '0', '2', NULL, '12:43:14', NULL);
INSERT INTO `payment_collection` (`id`, `sale_id`, `invoice_no`, `customer_id`, `paid_amnt`, `due_amnt`, `receive_by`, `payment_date`) VALUES ('201805171214', '20180517124314', NULL, NULL, NULL, NULL, '2', NULL);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Sales', 'create', 'invoice_no- total amount-', '2', '2018-05-17 12:43:14');
UPDATE `user` SET `last_logout` = '2018-05-17 13:56:48'
WHERE `id` = '2';
UPDATE `user` SET `last_login` = '2018-05-17 14:09:37', `ip_address` = '::1'
WHERE `id` = '2';
INSERT INTO `sales_parent` (`sale_id`, `invoice_no`, `customer_id`, `sale_type_id`, `store_id`, `salesman`, `sales_date`, `sales_time`, `total_amnt`) VALUES ('20180517144110', NULL, NULL, NULL, '0', '2', NULL, '14:41:10', NULL);
INSERT INTO `payment_collection` (`id`, `sale_id`, `invoice_no`, `customer_id`, `paid_amnt`, `due_amnt`, `receive_by`, `payment_date`) VALUES ('201805171410', '20180517144110', NULL, NULL, NULL, NULL, '2', NULL);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Sales', 'create', 'invoice_no- total amount-', '2', '2018-05-17 14:41:10');
UPDATE `user` SET `last_login` = '2018-05-19 05:19:49', `ip_address` = '::1'
WHERE `id` = '2';
INSERT INTO `store` (`store_id`, `store_name`, `store_code`, `store_phone`, `store_address`, `createby`, `createdate`, `isactive`) VALUES ('', 'test store', '324324', '234234', 'sdfsdf', '2', '2018-05-19 08:34:52', 1);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Store', 'create', 'Store ID :3', '2', '2018-05-19 08:34:52');
UPDATE `user` SET `last_login` = '2018-05-20 05:21:53', `ip_address` = '::1'
WHERE `id` = '2';
INSERT INTO `lease` (`package_code`, `package_name`, `lease_duration`, `advance`, `markup`, `grace_period`, `isactive`, `createby`, `createdate`) VALUES (NULL, NULL, NULL, '20', '80', NULL, 1, '2', '2018-05-20 05:41:52');
INSERT INTO `lease_store_map` (`lease_id`, `store_id`) VALUES (0, '2');
INSERT INTO `lease_store_map` (`lease_id`, `store_id`) VALUES (0, '3');
INSERT INTO `lease_product_map` (`lease_id`, `product_id`) VALUES (0, '1');
INSERT INTO `lease_product_map` (`lease_id`, `product_id`) VALUES (0, '2');
INSERT INTO `lease_product_map` (`lease_id`, `product_id`) VALUES (0, '4');
INSERT INTO `lease_product_map` (`lease_id`, `product_id`) VALUES (0, '5');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('leases', 'create', 'Lease Id-0', '2', '2018-05-20 05:41:52');
INSERT INTO `lease` (`package_code`, `package_name`, `lease_duration`, `advance`, `markup`, `isactive`, `createby`, `createdate`) VALUES ('pk123', 'Eid Package', '12', '20', '60', 1, '2', '2018-05-20 05:47:52');
INSERT INTO `lease_store_map` (`lease_id`, `store_id`) VALUES (1, '2');
INSERT INTO `lease_store_map` (`lease_id`, `store_id`) VALUES (1, '3');
INSERT INTO `lease_product_map` (`lease_id`, `product_id`) VALUES (1, '1');
INSERT INTO `lease_product_map` (`lease_id`, `product_id`) VALUES (1, '2');
INSERT INTO `lease_product_map` (`lease_id`, `product_id`) VALUES (1, '4');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('leases', 'create', 'Lease Id-1', '2', '2018-05-20 05:47:53');
INSERT INTO `lease` (`package_code`, `package_name`, `lease_duration`, `advance`, `markup`, `isactive`, `createby`, `createdate`) VALUES ('osdf', 'Ramadan', '8', '40', '60', 1, '2', '2018-05-20 05:58:40');
INSERT INTO `lease_store_map` (`lease_id`, `store_id`) VALUES (2, '2');
INSERT INTO `lease_store_map` (`lease_id`, `store_id`) VALUES (2, '3');
INSERT INTO `lease_product_map` (`lease_id`, `product_id`) VALUES (2, '5');
INSERT INTO `lease_product_map` (`lease_id`, `product_id`) VALUES (2, '6');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('leases', 'create', 'Lease Id-2', '2', '2018-05-20 05:58:40');
UPDATE `lease` SET `lease_id` = '2', `isactive` = 0
WHERE `lease_id` = '2';
UPDATE `lease` SET `lease_id` = '2', `isactive` = 1
WHERE `lease_id` = '2';
INSERT INTO `language` (`phrase`) VALUES ('update_lease');
UPDATE `language` SET `english` = 'Supplier'
WHERE `phrase` = 'supplier';
UPDATE `language` SET `english` = 'Supplier Name'
WHERE `phrase` = 'supplier_name';
UPDATE `language` SET `english` = 'Synchronize'
WHERE `phrase` = 'synchronize';
UPDATE `language` SET `english` = 'Tables are not available in database.sql'
WHERE `phrase` = 'tables_are_not_available_in_database';
UPDATE `language` SET `english` = 'Total'
WHERE `phrase` = 'total';
UPDATE `language` SET `english` = 'Total Amount'
WHERE `phrase` = 'total_amount';
UPDATE `language` SET `english` = 'Unable to download file! please check configuration'
WHERE `phrase` = 'unable_to_download_file_please_check_configuration';
UPDATE `language` SET `english` = 'Unable to import data! please check configuration / SQL file.'
WHERE `phrase` = 'unable_to_import_data_please_check_config_or_sql_file';
UPDATE `language` SET `english` = 'Unable to upload file! please check configuration'
WHERE `phrase` = 'unable_to_upload_file_please_check_configuration';
UPDATE `language` SET `english` = 'Uninstall'
WHERE `phrase` = 'uninstall';
UPDATE `language` SET `english` = 'Update'
WHERE `phrase` = 'update';
UPDATE `language` SET `english` = 'Lease Update'
WHERE `phrase` = 'update_lease';
UPDATE `language` SET `english` = 'Update Module Permission'
WHERE `phrase` = 'update_module_permission';
UPDATE `language` SET `english` = 'Update Successfully'
WHERE `phrase` = 'update_successfully';
UPDATE `language` SET `english` = 'Upload Successfully!'
WHERE `phrase` = 'upload_successfully';
UPDATE `language` SET `english` = 'User'
WHERE `phrase` = 'user';
UPDATE `language` SET `english` = 'User Name'
WHERE `phrase` = 'username';
UPDATE `language` SET `english` = 'User Added Successfully!'
WHERE `phrase` = 'user_added_successfully';
UPDATE `language` SET `english` = 'User Agent'
WHERE `phrase` = 'user_agent';
UPDATE `language` SET `english` = 'User List'
WHERE `phrase` = 'user_list';
UPDATE `language` SET `english` = 'User Name'
WHERE `phrase` = 'user_name';
UPDATE `language` SET `english` = 'User Permission'
WHERE `phrase` = 'user_permission';
UPDATE `language` SET `english` = 'User Role'
WHERE `phrase` = 'user_role';
UPDATE `language` SET `english` = 'User Role List'
WHERE `phrase` = 'user_role_list';
UPDATE `language` SET `english` = 'User Type'
WHERE `phrase` = 'user_type';
UPDATE `lease` SET `lease_id` = '2', `package_code` = '123', `package_name` = 'Ramadan', `lease_duration` = '8', `advance` = '0.99', `markup` = '0.99', `isactive` = 1, `updateby` = '2', `updatedate` = '2018-05-20 07:09:13'
WHERE `lease_id` = '2';
DELETE FROM `lease_store_map`
WHERE `lease_id` = '2';
INSERT INTO `lease_store_map` (`lease_id`, `store_id`) VALUES ('2', '2');
DELETE FROM `lease_store_map`
WHERE `lease_id` = '2';
INSERT INTO `lease_store_map` (`lease_id`, `store_id`) VALUES ('2', '3');
DELETE FROM `lease_product_map`
WHERE `lease_id` = '2';
INSERT INTO `lease_product_map` (`lease_id`, `product_id`) VALUES ('2', '5');
DELETE FROM `lease_product_map`
WHERE `lease_id` = '2';
INSERT INTO `lease_product_map` (`lease_id`, `product_id`) VALUES ('2', '6');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('leases', 'update', 'Lease Id-2', '2', '2018-05-20 07:09:13');
UPDATE `lease` SET `lease_id` = '1', `package_code` = 'pk123', `package_name` = 'Eid Package', `lease_duration` = '12', `advance` = '0.99', `markup` = '0.99', `isactive` = 1, `updateby` = '2', `updatedate` = '2018-05-20 07:12:23'
WHERE `lease_id` = '1';
DELETE FROM `lease_store_map`
WHERE `lease_id` = '1';
INSERT INTO `lease_store_map` (`lease_id`, `store_id`) VALUES ('1', '2');
DELETE FROM `lease_store_map`
WHERE `lease_id` = '1';
INSERT INTO `lease_store_map` (`lease_id`, `store_id`) VALUES ('1', '3');
UPDATE `lease` SET `lease_id` = '1', `package_code` = 'pk123', `package_name` = 'Eid Package', `lease_duration` = '12', `advance` = '0.99', `markup` = '0.99', `isactive` = 1, `updateby` = '2', `updatedate` = '2018-05-20 07:13:22'
WHERE `lease_id` = '1';
DELETE FROM `lease_store_map`
WHERE `lease_id` = '1';
INSERT INTO `lease_store_map` (`lease_id`, `store_id`) VALUES ('1', '3');
UPDATE `lease` SET `lease_id` = '1', `package_code` = 'pk123', `package_name` = 'Eid Package', `lease_duration` = '12', `advance` = '0.99', `markup` = '0.99', `isactive` = 1, `updateby` = '2', `updatedate` = '2018-05-20 07:14:19'
WHERE `lease_id` = '1';
DELETE FROM `lease_store_map`
WHERE `lease_id` = '1';
INSERT INTO `lease_store_map` (`lease_id`, `store_id`) VALUES ('1', '3');
UPDATE `lease` SET `lease_id` = '1', `package_code` = 'pk123', `package_name` = 'Eid Package', `lease_duration` = '12', `advance` = '0.99', `markup` = '0.99', `isactive` = 1, `updateby` = '2', `updatedate` = '2018-05-20 07:14:23'
WHERE `lease_id` = '1';
DELETE FROM `lease_store_map`
WHERE `lease_id` = '1';
INSERT INTO `lease_store_map` (`lease_id`, `store_id`) VALUES ('1', '3');
UPDATE `lease` SET `lease_id` = '1', `package_code` = 'pk123', `package_name` = 'Eid Package', `lease_duration` = '12', `advance` = '0.99', `markup` = '0.99', `isactive` = 1, `updateby` = '2', `updatedate` = '2018-05-20 07:14:33'
WHERE `lease_id` = '1';
DELETE FROM `lease_store_map`
WHERE `lease_id` = '1';
INSERT INTO `lease_store_map` (`lease_id`, `store_id`) VALUES ('1', '3');
DELETE FROM `lease_product_map`
WHERE `lease_id` = '1';
INSERT INTO `lease_product_map` (`lease_id`, `product_id`) VALUES ('1', '1');
DELETE FROM `lease_product_map`
WHERE `lease_id` = '1';
INSERT INTO `lease_product_map` (`lease_id`, `product_id`) VALUES ('1', '2');
DELETE FROM `lease_product_map`
WHERE `lease_id` = '1';
INSERT INTO `lease_product_map` (`lease_id`, `product_id`) VALUES ('1', '4');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('leases', 'update', 'Lease Id-1', '2', '2018-05-20 07:14:33');
UPDATE `lease` SET `lease_id` = '1', `package_code` = 'pk123', `package_name` = 'Eid Package', `lease_duration` = '12', `advance` = '0.99', `markup` = '0.99', `isactive` = 1, `updateby` = '2', `updatedate` = '2018-05-20 07:15:33'
WHERE `lease_id` = '1';
DELETE FROM `lease_store_map`
WHERE `lease_id` = '1';
INSERT INTO `lease_store_map` (`lease_id`, `store_id`) VALUES ('1', '3');
DELETE FROM `lease_product_map`
WHERE `lease_id` = '1';
INSERT INTO `lease_product_map` (`lease_id`, `product_id`) VALUES ('1', '2');
DELETE FROM `lease_product_map`
WHERE `lease_id` = '1';
INSERT INTO `lease_product_map` (`lease_id`, `product_id`) VALUES ('1', '4');
DELETE FROM `lease_product_map`
WHERE `lease_id` = '1';
INSERT INTO `lease_product_map` (`lease_id`, `product_id`) VALUES ('1', '5');
DELETE FROM `lease_product_map`
WHERE `lease_id` = '1';
INSERT INTO `lease_product_map` (`lease_id`, `product_id`) VALUES ('1', '6');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('leases', 'update', 'Lease Id-1', '2', '2018-05-20 07:15:33');
INSERT INTO `lease` (`package_code`, `package_name`, `lease_duration`, `advance`, `markup`, `isactive`, `createby`, `createdate`) VALUES ('23423', 'sdasdf', '4', '23', '50', 1, '2', '2018-05-20 07:18:28');
INSERT INTO `lease_store_map` (`lease_id`, `store_id`) VALUES (3, '2');
INSERT INTO `lease_store_map` (`lease_id`, `store_id`) VALUES (3, '3');
INSERT INTO `lease_product_map` (`lease_id`, `product_id`) VALUES (3, '1');
INSERT INTO `lease_product_map` (`lease_id`, `product_id`) VALUES (3, '2');
INSERT INTO `lease_product_map` (`lease_id`, `product_id`) VALUES (3, '4');
INSERT INTO `lease_product_map` (`lease_id`, `product_id`) VALUES (3, '5');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('leases', 'create', 'Lease Id-3', '2', '2018-05-20 07:18:29');
UPDATE `lease` SET `lease_id` = '3', `package_code` = '23423', `package_name` = 'sdasdf', `lease_duration` = '4', `advance` = '0.99', `markup` = '0.99', `isactive` = 1, `updateby` = '2', `updatedate` = '2018-05-20 07:20:02'
WHERE `lease_id` = '3';
DELETE FROM `lease_store_map`
WHERE `lease_id` = '3';
INSERT INTO `lease_store_map` (`lease_id`, `store_id`) VALUES ('3', '2');
DELETE FROM `lease_store_map`
WHERE `lease_id` = '3';
INSERT INTO `lease_store_map` (`lease_id`, `store_id`) VALUES ('3', '3');
DELETE FROM `lease_product_map`
WHERE `lease_id` = '3';
INSERT INTO `lease_product_map` (`lease_id`, `product_id`) VALUES ('3', '1');
DELETE FROM `lease_product_map`
WHERE `lease_id` = '3';
INSERT INTO `lease_product_map` (`lease_id`, `product_id`) VALUES ('3', '2');
DELETE FROM `lease_product_map`
WHERE `lease_id` = '3';
INSERT INTO `lease_product_map` (`lease_id`, `product_id`) VALUES ('3', '4');
DELETE FROM `lease_product_map`
WHERE `lease_id` = '3';
INSERT INTO `lease_product_map` (`lease_id`, `product_id`) VALUES ('3', '5');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('leases', 'update', 'Lease Id-3', '2', '2018-05-20 07:20:02');
INSERT INTO `lease` (`package_code`, `package_name`, `lease_duration`, `advance`, `markup`, `isactive`, `createby`, `createdate`) VALUES ('ewrwer', '2derfsadf', '2', '23', '34', 1, '2', '2018-05-20 07:23:20');
INSERT INTO `lease_store_map` (`lease_id`, `store_id`) VALUES (4, '3');
INSERT INTO `lease_product_map` (`lease_id`, `product_id`) VALUES (4, '5');
INSERT INTO `lease_product_map` (`lease_id`, `product_id`) VALUES (4, '6');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('leases', 'create', 'Lease Id-4', '2', '2018-05-20 07:23:20');
UPDATE `lease` SET `lease_id` = '4', `package_code` = 'ewrwer', `package_name` = '2derfsadf', `lease_duration` = '2', `advance` = '0.99', `markup` = '0.99', `isactive` = 1, `updateby` = '2', `updatedate` = '2018-05-20 07:23:59'
WHERE `lease_id` = '4';
DELETE FROM `lease_store_map`
WHERE `lease_id` = '4';
INSERT INTO `lease_store_map` (`lease_id`, `store_id`) VALUES ('4', '3');
DELETE FROM `lease_product_map`
WHERE `lease_id` = '4';
INSERT INTO `lease_product_map` (`lease_id`, `product_id`) VALUES ('4', '5');
DELETE FROM `lease_product_map`
WHERE `lease_id` = '4';
INSERT INTO `lease_product_map` (`lease_id`, `product_id`) VALUES ('4', '6');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('leases', 'update', 'Lease Id-4', '2', '2018-05-20 07:23:59');
DELETE FROM `lease`
WHERE `lease_id` = '4';
DELETE FROM `lease_product_map`
WHERE `lease_id` = '4';
DELETE FROM `lease_store_map`
WHERE `lease_id` = '4';
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Lease ', 'delete', 'Lease Id-4', '2', '2018-05-20 07:25:00');
DELETE FROM `lease`
WHERE `lease_id` = '3';
DELETE FROM `lease_product_map`
WHERE `lease_id` = '3';
DELETE FROM `lease_store_map`
WHERE `lease_id` = '3';
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Lease ', 'delete', 'Lease Id-3', '2', '2018-05-20 07:25:24');
UPDATE `lease` SET `lease_id` = '2', `package_code` = '123', `package_name` = 'Ramadan', `lease_duration` = '8', `advance` = '0.99', `markup` = '0.99', `isactive` = 1, `updateby` = '2', `updatedate` = '2018-05-20 07:29:48'
WHERE `lease_id` = '2';
DELETE FROM `lease_store_map`
WHERE `lease_id` = '2';
INSERT INTO `lease_store_map` (`lease_id`, `store_id`) VALUES ('2', '3');
DELETE FROM `lease_product_map`
WHERE `lease_id` = '2';
INSERT INTO `lease_product_map` (`lease_id`, `product_id`) VALUES ('2', '2');
DELETE FROM `lease_product_map`
WHERE `lease_id` = '2';
INSERT INTO `lease_product_map` (`lease_id`, `product_id`) VALUES ('2', '4');
DELETE FROM `lease_product_map`
WHERE `lease_id` = '2';
INSERT INTO `lease_product_map` (`lease_id`, `product_id`) VALUES ('2', '5');
DELETE FROM `lease_product_map`
WHERE `lease_id` = '2';
INSERT INTO `lease_product_map` (`lease_id`, `product_id`) VALUES ('2', '6');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('leases', 'update', 'Lease Id-2', '2', '2018-05-20 07:29:49');
UPDATE `lease` SET `lease_id` = '2', `package_code` = '123', `package_name` = 'Ramadan', `lease_duration` = '8', `advance` = '0.99', `markup` = '0.99', `isactive` = 1, `updateby` = '2', `updatedate` = '2018-05-20 07:32:42'
WHERE `lease_id` = '2';
DELETE FROM `lease_store_map`
WHERE `lease_id` = '2';
DELETE FROM `lease_product_map`
WHERE `lease_id` = '2';
INSERT INTO `lease_store_map` (`lease_id`, `store_id`) VALUES ('2', '3');
INSERT INTO `lease_product_map` (`lease_id`, `product_id`) VALUES ('2', '1');
INSERT INTO `lease_product_map` (`lease_id`, `product_id`) VALUES ('2', '2');
INSERT INTO `lease_product_map` (`lease_id`, `product_id`) VALUES ('2', '4');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('leases', 'update', 'Lease Id-2', '2', '2018-05-20 07:32:42');
UPDATE `lease` SET `lease_id` = '2', `package_code` = '123', `package_name` = 'Ramadan', `lease_duration` = '8', `advance` = '0.99', `markup` = '0.99', `isactive` = 1, `updateby` = '2', `updatedate` = '2018-05-20 07:33:44'
WHERE `lease_id` = '2';
DELETE FROM `lease_store_map`
WHERE `lease_id` = '2';
DELETE FROM `lease_product_map`
WHERE `lease_id` = '2';
INSERT INTO `lease_store_map` (`lease_id`, `store_id`) VALUES ('2', '2');
INSERT INTO `lease_store_map` (`lease_id`, `store_id`) VALUES ('2', '3');
INSERT INTO `lease_product_map` (`lease_id`, `product_id`) VALUES ('2', '5');
INSERT INTO `lease_product_map` (`lease_id`, `product_id`) VALUES ('2', '6');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('leases', 'update', 'Lease Id-2', '2', '2018-05-20 07:33:44');
INSERT INTO `language` (`phrase`) VALUES ('inquiry_officer');
UPDATE `language` SET `english` = 'Grand Total'
WHERE `phrase` = 'grand_total';
UPDATE `language` SET `english` = 'Home'
WHERE `phrase` = 'home';
UPDATE `language` SET `english` = 'Host Name'
WHERE `phrase` = 'hostname';
UPDATE `language` SET `english` = 'Image'
WHERE `phrase` = 'image';
UPDATE `language` SET `english` = 'Image Upload Successfully!'
WHERE `phrase` = 'image_upload_successfully';
UPDATE `language` SET `english` = 'In A'
WHERE `phrase` = 'in';
UPDATE `language` SET `english` = 'Inactive'
WHERE `phrase` = 'inactive';
UPDATE `language` SET `english` = 'Inbox'
WHERE `phrase` = 'inbox';
UPDATE `language` SET `english` = 'Inbox Messages'
WHERE `phrase` = 'inbox_message';
UPDATE `language` SET `english` = 'Incoming File'
WHERE `phrase` = 'incoming_file';
UPDATE `language` SET `english` = 'Incorrect Email/Password'
WHERE `phrase` = 'incorrect_email_or_password';
UPDATE `language` SET `english` = 'Inquiry Officer'
WHERE `phrase` = 'inquiry_officer';
UPDATE `language` SET `english` = 'Install'
WHERE `phrase` = 'install';
UPDATE `language` SET `english` = 'Internet Connection'
WHERE `phrase` = 'internet_connection';
UPDATE `language` SET `english` = 'Invalid File!'
WHERE `phrase` = 'invalid_file';
UPDATE `language` SET `english` = 'Invalid Module'
WHERE `phrase` = 'invalid_module';
UPDATE `language` SET `english` = 'Invoice ID'
WHERE `phrase` = 'invoice_id';
UPDATE `language` SET `english` = 'IP Address'
WHERE `phrase` = 'ip_address';
UPDATE `language` SET `english` = 'Is Active'
WHERE `phrase` = 'isactive';
UPDATE `language` SET `english` = 'Language'
WHERE `phrase` = 'language';
UPDATE `language` SET `english` = 'Last Name'
WHERE `phrase` = 'lastname';
UPDATE `language` SET `english` = 'Last Login'
WHERE `phrase` = 'last_login';
UPDATE `language` SET `english` = 'Last Logout'
WHERE `phrase` = 'last_logout';
UPDATE `language` SET `english` = 'Lease'
WHERE `phrase` = 'lease';
UPDATE `language` SET `english` = 'Left To Right'
WHERE `phrase` = 'left_to_right';
INSERT INTO `language` (`phrase`) VALUES ('lease_package');
UPDATE `language` SET `english` = 'Grand Total'
WHERE `phrase` = 'grand_total';
UPDATE `language` SET `english` = 'Home'
WHERE `phrase` = 'home';
UPDATE `language` SET `english` = 'Host Name'
WHERE `phrase` = 'hostname';
UPDATE `language` SET `english` = 'Image'
WHERE `phrase` = 'image';
UPDATE `language` SET `english` = 'Image Upload Successfully!'
WHERE `phrase` = 'image_upload_successfully';
UPDATE `language` SET `english` = 'In A'
WHERE `phrase` = 'in';
UPDATE `language` SET `english` = 'Inactive'
WHERE `phrase` = 'inactive';
UPDATE `language` SET `english` = 'Inbox'
WHERE `phrase` = 'inbox';
UPDATE `language` SET `english` = 'Inbox Messages'
WHERE `phrase` = 'inbox_message';
UPDATE `language` SET `english` = 'Incoming File'
WHERE `phrase` = 'incoming_file';
UPDATE `language` SET `english` = 'Incorrect Email/Password'
WHERE `phrase` = 'incorrect_email_or_password';
UPDATE `language` SET `english` = 'Inquiry Officer'
WHERE `phrase` = 'inquiry_officer';
UPDATE `language` SET `english` = 'Install'
WHERE `phrase` = 'install';
UPDATE `language` SET `english` = 'Internet Connection'
WHERE `phrase` = 'internet_connection';
UPDATE `language` SET `english` = 'Invalid File!'
WHERE `phrase` = 'invalid_file';
UPDATE `language` SET `english` = 'Invalid Module'
WHERE `phrase` = 'invalid_module';
UPDATE `language` SET `english` = 'Invoice ID'
WHERE `phrase` = 'invoice_id';
UPDATE `language` SET `english` = 'IP Address'
WHERE `phrase` = 'ip_address';
UPDATE `language` SET `english` = 'Is Active'
WHERE `phrase` = 'isactive';
UPDATE `language` SET `english` = 'Language'
WHERE `phrase` = 'language';
UPDATE `language` SET `english` = 'Last Name'
WHERE `phrase` = 'lastname';
UPDATE `language` SET `english` = 'Last Login'
WHERE `phrase` = 'last_login';
UPDATE `language` SET `english` = 'Last Logout'
WHERE `phrase` = 'last_logout';
UPDATE `language` SET `english` = 'Lease'
WHERE `phrase` = 'lease';
UPDATE `language` SET `english` = 'Lease Package'
WHERE `phrase` = 'lease_package';
DELETE FROM `role_permission`
WHERE `role_id` = '2';
INSERT INTO `role_permission` (`create`, `delete`, `fk_module_id`, `read`, `role_id`, `update`) VALUES ('1','1','3','1','2','1'), (0,0,'4',0,'2',0), (0,0,'5',0,'2',0), (0,0,'6',0,'2',0), (0,0,'7',0,'2',0), (0,0,'8',0,'2',0), (0,0,'9',0,'2',0), ('1','1','10','1','2','1'), (0,0,'11',0,'2',0), ('1','1','12','1','2','1'), (0,0,'13',0,'2',0);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Role Permission', 'update', 'Role id :2', '2', '2018-05-20 08:32:46');
UPDATE `user` SET `last_logout` = '2018-05-20 08:32:52'
WHERE `id` = '2';
UPDATE `user` SET `last_login` = '2018-05-20 08:33:07', `ip_address` = '::1'
WHERE `id` = '9';
UPDATE `user` SET `last_logout` = '2018-05-20 08:41:28'
WHERE `id` = '9';
UPDATE `user` SET `last_login` = '2018-05-20 08:41:45', `ip_address` = '::1'
WHERE `id` = '9';
UPDATE `user` SET `last_logout` = '2018-05-20 08:43:42'
WHERE `id` = '9';
UPDATE `user` SET `last_login` = '2018-05-20 08:43:50', `ip_address` = '::1'
WHERE `id` = '2';
UPDATE `user` SET `last_logout` = '2018-05-20 09:28:48'
WHERE `id` = '2';
UPDATE `user` SET `last_login` = '2018-05-20 09:29:02', `ip_address` = '::1'
WHERE `id` = '9';
UPDATE `user` SET `last_logout` = '2018-05-20 09:44:36'
WHERE `id` = '9';
UPDATE `user` SET `last_login` = '2018-05-20 09:44:43', `ip_address` = '::1'
WHERE `id` = '2';
UPDATE `purchase_order` SET `po_no` = '20180514122943', `supplier_id` = '2', `total_amnt` = '250.00', `store_id` = '2', `warehouse_id` = '', `createdate` = '2018-05-13 10:50:41', `updateby` = '2', `updatedate` = '2018-05-20 09:48:31'
WHERE `po_no` = '20180514122943';
DELETE FROM `purchase_order_details`
WHERE `po_no` = '20180514122943';
INSERT INTO `purchase_order_details` (`row_id`, `po_no`, `product_id`, `order_qty`, `product_rate`) VALUES ('494864996536898', '20180514122943', '4', '4', '30');
INSERT INTO `purchase_order_details` (`row_id`, `po_no`, `product_id`, `order_qty`, `product_rate`) VALUES ('258471926752913', '20180514122943', '2', '2', '20');
INSERT INTO `purchase_order_details` (`row_id`, `po_no`, `product_id`, `order_qty`, `product_rate`) VALUES ('712471673353574', '20180514122943', '1', '3', '30');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('purchase Receive', 'update', 'Receive Id-20180514122943 total amount-250.00', '2', '2018-05-20 09:48:31');
UPDATE `purchase_order` SET `po_no` = '20180514122943', `supplier_id` = '2', `total_amnt` = '430.00', `store_id` = '2', `warehouse_id` = '', `createdate` = '2018-05-13 10:50:41', `updateby` = '2', `updatedate` = '2018-05-20 09:49:13'
WHERE `po_no` = '20180514122943';
DELETE FROM `purchase_order_details`
WHERE `po_no` = '20180514122943';
INSERT INTO `purchase_order_details` (`row_id`, `po_no`, `product_id`, `order_qty`, `product_rate`) VALUES ('859574836388711', '20180514122943', '2', '2', '20');
INSERT INTO `purchase_order_details` (`row_id`, `po_no`, `product_id`, `order_qty`, `product_rate`) VALUES ('872748419814899', '20180514122943', '4', '4', '30');
INSERT INTO `purchase_order_details` (`row_id`, `po_no`, `product_id`, `order_qty`, `product_rate`) VALUES ('747668678836938', '20180514122943', '1', '3', '30');
INSERT INTO `purchase_order_details` (`row_id`, `po_no`, `product_id`, `order_qty`, `product_rate`) VALUES ('399193924178154', '20180514122943', '7', '4', '45');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('purchase Receive', 'update', 'Receive Id-20180514122943 total amount-430.00', '2', '2018-05-20 09:49:14');
INSERT INTO `purchase_order` (`po_no`, `supplier_id`, `total_amnt`, `store_id`, `warehouse_id`, `createby`, `createdate`) VALUES ('20180520095432', '1', '7000.00', '', '2', '2', '2018-05-20 09:54:32');
INSERT INTO `purchase_order_details` (`po_no`, `product_id`, `order_qty`, `product_rate`) VALUES ('20180520095432', '7', '100', '45');
INSERT INTO `purchase_order_details` (`po_no`, `product_id`, `order_qty`, `product_rate`) VALUES ('20180520095432', '6', '100', '25');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('purchase order', 'create', 'Orde Id-20180520095432 total amount-7000.00', '2', '2018-05-20 09:54:32');
INSERT INTO `purchase_order` (`po_no`, `supplier_id`, `total_amnt`, `store_id`, `warehouse_id`, `createby`, `createdate`) VALUES ('20180520095550', '2', '1200.00', '', '2', '2', '2018-05-20 09:55:50');
INSERT INTO `purchase_order_details` (`po_no`, `product_id`, `order_qty`, `product_rate`) VALUES ('20180520095550', '7', '10', '45');
INSERT INTO `purchase_order_details` (`po_no`, `product_id`, `order_qty`, `product_rate`) VALUES ('20180520095550', '6', '30', '25');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('purchase order', 'create', 'Orde Id-20180520095550 total amount-1200.00', '2', '2018-05-20 09:55:50');
INSERT INTO `purchase_order` (`po_no`, `supplier_id`, `total_amnt`, `store_id`, `warehouse_id`, `createby`, `createdate`) VALUES ('20180520095758', '1', '7000.00', '', '2', '2', '2018-05-20 09:57:58');
INSERT INTO `purchase_order_details` (`po_no`, `product_id`, `order_qty`, `product_rate`) VALUES ('20180520095758', '7', '100', '45');
INSERT INTO `purchase_order_details` (`po_no`, `product_id`, `order_qty`, `product_rate`) VALUES ('20180520095758', '6', '100', '25');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('purchase order', 'create', 'Orde Id-20180520095758 total amount-7000.00', '2', '2018-05-20 09:57:58');
UPDATE `purchase_order` SET `po_no` = '20180520095758', `supplier_id` = '1', `total_amnt` = '7015.00', `store_id` = '', `warehouse_id` = '2', `createdate` = '2018-05-12 11:32:16', `updateby` = '2', `updatedate` = '2018-05-20 09:59:11'
WHERE `po_no` = '20180520095758';
DELETE FROM `purchase_order_details`
WHERE `po_no` = '20180520095758';
INSERT INTO `purchase_order_details` (`row_id`, `po_no`, `product_id`, `order_qty`, `product_rate`) VALUES ('447774927885217', '20180520095758', '7', '100', '45');
INSERT INTO `purchase_order_details` (`row_id`, `po_no`, `product_id`, `order_qty`, `product_rate`) VALUES ('838887645724418', '20180520095758', '6', '100', '25');
INSERT INTO `purchase_order_details` (`row_id`, `po_no`, `product_id`, `order_qty`, `product_rate`) VALUES ('579541167458542', '20180520095758', '1', '3', '5');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('purchase Receive', 'update', 'Receive Id-20180520095758 total amount-7015.00', '2', '2018-05-20 09:59:11');
INSERT INTO `purchase_order` (`po_no`, `supplier_id`, `total_amnt`, `store_id`, `warehouse_id`, `createby`, `createdate`) VALUES ('20180520100119', '2', '2100.00', '2', '', '2', '2018-05-20 10:01:19');
INSERT INTO `purchase_order_details` (`po_no`, `product_id`, `order_qty`, `product_rate`) VALUES ('20180520100119', '6', '30', '25');
INSERT INTO `purchase_order_details` (`po_no`, `product_id`, `order_qty`, `product_rate`) VALUES ('20180520100119', '7', '30', '45');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('purchase order', 'create', 'Orde Id-20180520100119 total amount-2100.00', '2', '2018-05-20 10:01:19');
INSERT INTO `language` (`phrase`) VALUES ('payment');
UPDATE `language` SET `english` = 'Ok'
WHERE `phrase` = 'ok';
UPDATE `language` SET `english` = ' Ooops something went wrong...'
WHERE `phrase` = 'ooops_something_went_wrong';
UPDATE `language` SET `english` = 'Order Date'
WHERE `phrase` = 'order_date';
UPDATE `language` SET `english` = 'Order NO'
WHERE `phrase` = 'order_no';
UPDATE `language` SET `english` = 'Order QTY'
WHERE `phrase` = 'order_qty';
UPDATE `language` SET `english` = 'Outgoing File'
WHERE `phrase` = 'outgoing_file';
UPDATE `language` SET `english` = 'Overwrite'
WHERE `phrase` = 'overwrite';
UPDATE `language` SET `english` = 'Paid Amount'
WHERE `phrase` = 'paid_amount';
UPDATE `language` SET `english` = 'Package  Code'
WHERE `phrase` = 'pakage_code';
UPDATE `language` SET `english` = 'Package Name'
WHERE `phrase` = 'pakage_name';
UPDATE `language` SET `english` = 'Password'
WHERE `phrase` = 'password';
UPDATE `language` SET `english` = 'Payment'
WHERE `phrase` = 'payment';
UPDATE `language` SET `english` = 'You Have No Permission'
WHERE `phrase` = 'permission_error';
UPDATE `language` SET `english` = 'Phone'
WHERE `phrase` = 'phone';
UPDATE `language` SET `english` = 'Please configure synchronizer settings'
WHERE `phrase` = 'please_configure_synchronizer_settings';
UPDATE `language` SET `english` = 'Please Contact With Admin'
WHERE `phrase` = 'please_contact_with_admin';
UPDATE `language` SET `english` = 'Please Try Again...'
WHERE `phrase` = 'please_try_again';
UPDATE `language` SET `english` = 'Please Wait...'
WHERE `phrase` = 'please_wait';
UPDATE `language` SET `english` = 'Preview'
WHERE `phrase` = 'preview';
UPDATE `language` SET `english` = 'Price'
WHERE `phrase` = 'price';
UPDATE `language` SET `english` = 'Product'
WHERE `phrase` = 'product';
UPDATE `language` SET `english` = 'Product Category'
WHERE `phrase` = 'product_category';
UPDATE `language` SET `english` = 'Product Details'
WHERE `phrase` = 'product_details';
UPDATE `language` SET `english` = 'Product Name'
WHERE `phrase` = 'product_name';
UPDATE `language` SET `english` = 'Profile'
WHERE `phrase` = 'profile';
SET FOREIGN_KEY_CHECKS = 0;
CREATE TABLE IF NOT EXISTS `payment_collection` (
  `id` bigint(20) NOT NULL AUTO_INCREMENT,
  `sale_id` bigint(20) NOT NULL,
  `invoice_no` varchar(20) COLLATE utf8_unicode_ci NOT NULL,
  `customer_id` int(11) NOT NULL,
  `paid_amnt` float NOT NULL,
  `payment_date` datetime NOT NULL,
  `due_amnt` float NOT NULL,
  `receive_by` int(11) NOT NULL,
  `updateby` int(11) NOT NULL,
  `updatedate` datetime NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
SET FOREIGN_KEY_CHECKS = 1;
INSERT INTO `module` (`id`, `name`, `description`, `image`, `directory`, `status`) VALUES (NULL, 'payment Management', 'payment Management System', 'application/modules/payment/assets/images/thumbnail.jpg', 'payment', 1);
INSERT INTO `language` (`phrase`) VALUES ('invoice_no');
UPDATE `language` SET `english` = 'Grand Total'
WHERE `phrase` = 'grand_total';
UPDATE `language` SET `english` = 'Home'
WHERE `phrase` = 'home';
UPDATE `language` SET `english` = 'Host Name'
WHERE `phrase` = 'hostname';
UPDATE `language` SET `english` = 'Image'
WHERE `phrase` = 'image';
UPDATE `language` SET `english` = 'Image Upload Successfully!'
WHERE `phrase` = 'image_upload_successfully';
UPDATE `language` SET `english` = 'In A'
WHERE `phrase` = 'in';
UPDATE `language` SET `english` = 'Inactive'
WHERE `phrase` = 'inactive';
UPDATE `language` SET `english` = 'Inbox'
WHERE `phrase` = 'inbox';
UPDATE `language` SET `english` = 'Inbox Messages'
WHERE `phrase` = 'inbox_message';
UPDATE `language` SET `english` = 'Incoming File'
WHERE `phrase` = 'incoming_file';
UPDATE `language` SET `english` = 'Incorrect Email/Password'
WHERE `phrase` = 'incorrect_email_or_password';
UPDATE `language` SET `english` = 'Inquiry Officer'
WHERE `phrase` = 'inquiry_officer';
UPDATE `language` SET `english` = 'Install'
WHERE `phrase` = 'install';
UPDATE `language` SET `english` = 'Internet Connection'
WHERE `phrase` = 'internet_connection';
UPDATE `language` SET `english` = 'Invalid File!'
WHERE `phrase` = 'invalid_file';
UPDATE `language` SET `english` = 'Invalid Module'
WHERE `phrase` = 'invalid_module';
UPDATE `language` SET `english` = 'Invoice ID'
WHERE `phrase` = 'invoice_id';
UPDATE `language` SET `english` = 'Invoice No'
WHERE `phrase` = 'invoice_no';
UPDATE `language` SET `english` = 'IP Address'
WHERE `phrase` = 'ip_address';
UPDATE `language` SET `english` = 'Is Active'
WHERE `phrase` = 'isactive';
UPDATE `language` SET `english` = 'Language'
WHERE `phrase` = 'language';
UPDATE `language` SET `english` = 'Last Name'
WHERE `phrase` = 'lastname';
UPDATE `language` SET `english` = 'Last Login'
WHERE `phrase` = 'last_login';
UPDATE `language` SET `english` = 'Last Logout'
WHERE `phrase` = 'last_logout';
UPDATE `language` SET `english` = 'Lease'
WHERE `phrase` = 'lease';
INSERT INTO `purchase_receive` (`receive_id`, `po_no`, `supplier_id`, `store_id`, `warehouse_id`, `voucher_no`, `receive_by`, `receive_date`) VALUES ('20180520103550', '20180520100119', '2', '2', '', 1003, '2', '2018-05-20 10:35:50');
INSERT INTO `purchase_receive_details` (`receive_id`, `product_id`, `receive_qty`, `product_rate`) VALUES ('20180520103550', '6', '30', '25');
INSERT INTO `purchase_receive_details` (`receive_id`, `product_id`, `receive_qty`, `product_rate`) VALUES ('20180520103550', '7', '30', '45');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('purchase order receive', 'create', 'Orde Id- total amount-2100.00', '2', '2018-05-20 10:35:50');
INSERT INTO `purchase_receive` (`receive_id`, `po_no`, `supplier_id`, `store_id`, `warehouse_id`, `voucher_no`, `receive_by`, `receive_date`) VALUES ('20180520103631', '20180520095758', '1', '', '2', 1004, '2', '2018-05-20 10:36:31');
INSERT INTO `purchase_receive_details` (`receive_id`, `product_id`, `receive_qty`, `product_rate`) VALUES ('20180520103631', '7', '100', '45');
INSERT INTO `purchase_receive_details` (`receive_id`, `product_id`, `receive_qty`, `product_rate`) VALUES ('20180520103631', '6', '100', '25');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('purchase order receive', 'create', 'Orde Id- total amount-7000.00', '2', '2018-05-20 10:36:32');
INSERT INTO `sales_parent` (`sale_id`, `invoice_no`, `customer_id`, `sale_type_id`, `store_id`, `salesman`, `sales_date`, `sales_time`, `lease_id`, `inquiry_officer`, `total_amnt`) VALUES ('20180520103702', '1017', '2', '1', '0', '2', '2018-05-20', '10:37:02', NULL, NULL, '725.00');
INSERT INTO `payment_collection` (`id`, `sale_id`, `invoice_no`, `customer_id`, `paid_amnt`, `due_amnt`, `receive_by`, `payment_date`) VALUES ('201805201002', '20180520103702', '1017', '2', '725.00', NULL, '2', '2018-05-20');
INSERT INTO `sale_details` (`sale_id`, `product_id`, `qty`, `sell_price`, `sale_type_id`) VALUES ('20180520103702', '7', '10', '55', '1');
INSERT INTO `sale_details` (`sale_id`, `product_id`, `qty`, `sell_price`, `sale_type_id`) VALUES ('20180520103702', '6', '5', '35', '1');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Sales', 'create', 'invoice_no-1017 total amount-725.00', '2', '2018-05-20 10:37:02');
INSERT INTO `sales_parent` (`sale_id`, `invoice_no`, `customer_id`, `sale_type_id`, `store_id`, `salesman`, `sales_date`, `sales_time`, `lease_id`, `inquiry_officer`, `total_amnt`) VALUES ('20180520103834', '1017', '1', '1', '0', '2', '2018-05-20', '10:38:34', NULL, NULL, '550.00');
INSERT INTO `payment_collection` (`sale_id`, `invoice_no`, `customer_id`, `paid_amnt`, `due_amnt`, `receive_by`, `payment_date`) VALUES ('20180520103834', '1017', '1', '550.00', NULL, '2', '2018-05-20');
INSERT INTO `sale_details` (`sale_id`, `product_id`, `qty`, `sell_price`, `sale_type_id`) VALUES ('20180520103834', '7', '10', '55', '1');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Sales', 'create', 'invoice_no-1017 total amount-550.00', '2', '2018-05-20 10:38:34');
INSERT INTO `sales_parent` (`sale_id`, `invoice_no`, `customer_id`, `sale_type_id`, `store_id`, `salesman`, `sales_date`, `sales_time`, `lease_id`, `inquiry_officer`, `total_amnt`) VALUES ('20180520103941', '1017', '2', '1', '0', '2', '2018-05-20', '10:39:41', NULL, NULL, '275.00');
INSERT INTO `payment_collection` (`sale_id`, `invoice_no`, `customer_id`, `paid_amnt`, `due_amnt`, `receive_by`, `payment_date`) VALUES ('20180520103941', '1017', '2', '275.00', NULL, '2', '2018-05-20');
INSERT INTO `sale_details` (`sale_id`, `product_id`, `qty`, `sell_price`, `sale_type_id`) VALUES ('20180520103941', '7', '5', '55', '1');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Sales', 'create', 'invoice_no-1017 total amount-275.00', '2', '2018-05-20 10:39:41');
INSERT INTO `language` (`phrase`) VALUES ('due_amnt');
UPDATE `language` SET `english` = 'Date'
WHERE `phrase` = 'date';
UPDATE `language` SET `english` = 'Delete'
WHERE `phrase` = 'delete';
UPDATE `language` SET `english` = 'Delete Successfully!'
WHERE `phrase` = 'delete_successfully';
UPDATE `language` SET `english` = 'Delete Successfully!'
WHERE `phrase` = 'delete_successfully';
UPDATE `language` SET `english` = 'Department'
WHERE `phrase` = 'department';
UPDATE `language` SET `english` = 'Description'
WHERE `phrase` = 'description';
UPDATE `language` SET `english` = 'Designation'
WHERE `phrase` = 'designation';
UPDATE `language` SET `english` = 'Module Direcotory'
WHERE `phrase` = 'directory';
UPDATE `language` SET `english` = 'Disapprove'
WHERE `phrase` = 'disapprove';
UPDATE `language` SET `english` = 'Download'
WHERE `phrase` = 'download';
UPDATE `language` SET `english` = 'Download Data from Server'
WHERE `phrase` = 'download_data_from_server';
UPDATE `language` SET `english` = 'Download Successfully'
WHERE `phrase` = 'download_successfully';
UPDATE `language` SET `english` = 'Due Amount'
WHERE `phrase` = 'due_amnt';
UPDATE `language` SET `english` = 'Duration'
WHERE `phrase` = 'duration';
UPDATE `language` SET `english` = 'Email Address'
WHERE `phrase` = 'email';
UPDATE `language` SET `english` = 'Employee'
WHERE `phrase` = 'employee';
UPDATE `language` SET `english` = 'Enquiry'
WHERE `phrase` = 'enquiry';
UPDATE `language` SET `english` = 'Enquiry Information'
WHERE `phrase` = 'enquiry_information';
UPDATE `language` SET `english` = 'Favicon'
WHERE `phrase` = 'favicon';
UPDATE `language` SET `english` = 'File Name'
WHERE `phrase` = 'filename';
UPDATE `language` SET `english` = 'File Information'
WHERE `phrase` = 'file_information';
UPDATE `language` SET `english` = 'First Name'
WHERE `phrase` = 'firstname';
UPDATE `language` SET `english` = 'Footer Text'
WHERE `phrase` = 'footer_text';
UPDATE `language` SET `english` = 'FTP Debug'
WHERE `phrase` = 'ftp_debug';
UPDATE `language` SET `english` = 'FTP Port'
WHERE `phrase` = 'ftp_port';
DELETE FROM `purchase_order`
WHERE `po_no` = '20180517074317';
DELETE FROM `purchase_order_details`
WHERE `po_no` = '20180517074317';
DELETE FROM `sale`
WHERE `sale_id` = '20180517074317';
DELETE FROM `sale_details`
WHERE `sale_id` = '20180517074317';
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('sale ', 'delete', 'sales id-20180517074317', '2', '2018-05-20 10:56:58');
DELETE FROM `sale`
WHERE `sale_id` = '20180517074317';
DELETE FROM `sale_details`
WHERE `sale_id` = '20180517074317';
DELETE FROM `sale`
WHERE `sale_id` = '20180516105656';
DELETE FROM `sale_details`
WHERE `sale_id` = '20180516105656';
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('sale ', 'delete', 'sales id-20180516105656', '2', '2018-05-20 10:57:15');
DELETE FROM `sales_parent`
WHERE `sale_id` = '20180516105656';
DELETE FROM `sale_details`
WHERE `sale_id` = '20180516105656';
DELETE FROM `sales_parent`
WHERE `sale_id` = '20180517065731';
DELETE FROM `sale_details`
WHERE `sale_id` = '20180517065731';
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('sale ', 'delete', 'sales id-20180517065731', '2', '2018-05-20 10:57:57');
DELETE FROM `sales_parent`
WHERE `sale_id` = '20180516112747';
DELETE FROM `sale_details`
WHERE `sale_id` = '20180516112747';
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('sale ', 'delete', 'sales id-20180516112747', '2', '2018-05-20 10:58:04');
INSERT INTO `language` (`phrase`) VALUES ('cash_sale_list');
INSERT INTO `language` (`phrase`) VALUES ('credit_sale_list');
INSERT INTO `language` (`phrase`) VALUES ('lease_sale_list');
UPDATE `language` SET `english` = 'Backup Now!'
WHERE `phrase` = 'backup_now';
UPDATE `language` SET `english` = 'Backup Successfully'
WHERE `phrase` = 'backup_successfully';
UPDATE `language` SET `english` = 'Block Price'
WHERE `phrase` = 'block_price';
UPDATE `language` SET `english` = 'Business Address'
WHERE `phrase` = 'business_address';
UPDATE `language` SET `english` = 'Captcha Word'
WHERE `phrase` = 'captcha';
UPDATE `language` SET `english` = 'NID'
WHERE `phrase` = 'cardno';
UPDATE `language` SET `english` = 'Cash Sale'
WHERE `phrase` = 'cashsale';
UPDATE `language` SET `english` = 'Cash Sale List'
WHERE `phrase` = 'cash_sale_list';
UPDATE `language` SET `english` = 'Category'
WHERE `phrase` = 'category';
UPDATE `language` SET `english` = 'Category Name'
WHERE `phrase` = 'category_name';
UPDATE `language` SET `english` = 'Checked By'
WHERE `phrase` = 'checked_by';
UPDATE `language` SET `english` = 'Check_receive'
WHERE `phrase` = 'check_receive';
UPDATE `language` SET `english` = 'Create'
WHERE `phrase` = 'create';
UPDATE `language` SET `english` = 'Create User Role'
WHERE `phrase` = 'create_user_role';
UPDATE `language` SET `english` = 'Credit Sale List'
WHERE `phrase` = 'credit_sale_list';
UPDATE `language` SET `english` = 'Customer'
WHERE `phrase` = 'customer';
UPDATE `language` SET `english` = 'Customer CNC'
WHERE `phrase` = 'customer_cnic';
UPDATE `language` SET `english` = 'Customer Code'
WHERE `phrase` = 'customer_code';
UPDATE `language` SET `english` = 'Customer Name'
WHERE `phrase` = 'customer_name';
UPDATE `language` SET `english` = 'Dashboard'
WHERE `phrase` = 'dashboard';
UPDATE `language` SET `english` = 'Database Backup'
WHERE `phrase` = 'database_backup';
UPDATE `language` SET `english` = 'Data Import First'
WHERE `phrase` = 'data_import_first';
UPDATE `language` SET `english` = 'Data Import Successfully!'
WHERE `phrase` = 'data_import_successfully';
UPDATE `language` SET `english` = 'Data Import To Database'
WHERE `phrase` = 'data_import_to_database';
UPDATE `language` SET `english` = 'Data Synchronize'
WHERE `phrase` = 'data_synchronize';
UPDATE `language` SET `english` = 'Last Login'
WHERE `phrase` = 'last_login';
UPDATE `language` SET `english` = 'Last Logout'
WHERE `phrase` = 'last_logout';
UPDATE `language` SET `english` = 'Lease'
WHERE `phrase` = 'lease';
UPDATE `language` SET `english` = 'Lease Package'
WHERE `phrase` = 'lease_package';
UPDATE `language` SET `english` = 'Lease Sale List'
WHERE `phrase` = 'lease_sale_list';
UPDATE `language` SET `english` = 'Left To Right'
WHERE `phrase` = 'left_to_right';
UPDATE `language` SET `english` = 'List'
WHERE `phrase` = 'list';
UPDATE `language` SET `english` = 'Store List'
WHERE `phrase` = 'list_store';
UPDATE `language` SET `english` = 'Warehouse list'
WHERE `phrase` = 'list_warehouse';
UPDATE `language` SET `english` = 'Login'
WHERE `phrase` = 'login';
UPDATE `language` SET `english` = 'Logo'
WHERE `phrase` = 'logo';
UPDATE `language` SET `english` = 'Logout'
WHERE `phrase` = 'logout';
UPDATE `language` SET `english` = 'Markup'
WHERE `phrase` = 'markup';
UPDATE `language` SET `english` = 'Message'
WHERE `phrase` = 'message';
UPDATE `language` SET `english` = 'Message Details'
WHERE `phrase` = 'message_details';
UPDATE `language` SET `english` = 'Message Sent!'
WHERE `phrase` = 'message_sent';
UPDATE `language` SET `english` = 'Minimum Price'
WHERE `phrase` = 'minimum_price';
UPDATE `language` SET `english` = 'Module'
WHERE `phrase` = 'module';
UPDATE `language` SET `english` = 'Module Added Successfully'
WHERE `phrase` = 'module_added_successfully';
UPDATE `language` SET `english` = 'Module List'
WHERE `phrase` = 'module_list';
UPDATE `language` SET `english` = 'Module Name'
WHERE `phrase` = 'module_name';
UPDATE `language` SET `english` = 'Module Permission'
WHERE `phrase` = 'module_permission';
UPDATE `language` SET `english` = 'Module Permission Added Successfully!'
WHERE `phrase` = 'module_permission_added_successfully';
UPDATE `language` SET `english` = 'Module Permission List'
WHERE `phrase` = 'module_permission_list';
UPDATE `language` SET `english` = 'Name'
WHERE `phrase` = 'name';
INSERT INTO `language` (`phrase`) VALUES ('to');
UPDATE `language` SET `english` = 'Store Code'
WHERE `phrase` = 'store_code';
UPDATE `language` SET `english` = 'Store Name'
WHERE `phrase` = 'store_name';
UPDATE `language` SET `english` = 'Store Phone'
WHERE `phrase` = 'store_phone';
UPDATE `language` SET `english` = 'Subject'
WHERE `phrase` = 'subject';
UPDATE `language` SET `english` = 'Submit '
WHERE `phrase` = 'submit';
UPDATE `language` SET `english` = 'Submit and Another'
WHERE `phrase` = 'submit_and_add_another';
UPDATE `language` SET `english` = 'Successfully Approved'
WHERE `phrase` = 'successfully_approved';
UPDATE `language` SET `english` = 'Super Admin'
WHERE `phrase` = 'super_admin';
UPDATE `language` SET `english` = 'Supplier'
WHERE `phrase` = 'supplier';
UPDATE `language` SET `english` = 'Supplier Name'
WHERE `phrase` = 'supplier_name';
UPDATE `language` SET `english` = 'Synchronize'
WHERE `phrase` = 'synchronize';
UPDATE `language` SET `english` = 'Tables are not available in database.sql'
WHERE `phrase` = 'tables_are_not_available_in_database';
UPDATE `language` SET `english` = 'To'
WHERE `phrase` = 'to';
UPDATE `language` SET `english` = 'Total'
WHERE `phrase` = 'total';
UPDATE `language` SET `english` = 'Total Amount'
WHERE `phrase` = 'total_amount';
UPDATE `language` SET `english` = 'Unable to download file! please check configuration'
WHERE `phrase` = 'unable_to_download_file_please_check_configuration';
UPDATE `language` SET `english` = 'Unable to import data! please check configuration / SQL file.'
WHERE `phrase` = 'unable_to_import_data_please_check_config_or_sql_file';
UPDATE `language` SET `english` = 'Unable to upload file! please check configuration'
WHERE `phrase` = 'unable_to_upload_file_please_check_configuration';
UPDATE `language` SET `english` = 'Uninstall'
WHERE `phrase` = 'uninstall';
UPDATE `language` SET `english` = 'Update'
WHERE `phrase` = 'update';
UPDATE `language` SET `english` = 'Lease Update'
WHERE `phrase` = 'update_lease';
UPDATE `language` SET `english` = 'Update Module Permission'
WHERE `phrase` = 'update_module_permission';
UPDATE `language` SET `english` = 'Update Successfully'
WHERE `phrase` = 'update_successfully';
UPDATE `language` SET `english` = 'Upload Successfully!'
WHERE `phrase` = 'upload_successfully';
UPDATE `language` SET `english` = 'User'
WHERE `phrase` = 'user';
UPDATE `setting` SET `id` = '2', `title` = 'Multi Store Management', `address` = '98 Green Road, Farmgate, Dhaka-1215.', `email` = 'bdtask@gmail.com', `phone` = '0123456789', `logo` = 'assets/img/icons/logo.png', `favicon` = 'assets/img/icons/m.png', `language` = 'english', `site_align` = 'LTR', `footer_text` = '2017Â©Copyright'
WHERE `id` = '2';
UPDATE `user` SET `last_logout` = '2018-05-20 11:53:41'
WHERE `id` = '2';
UPDATE `user` SET `last_login` = '2018-05-20 11:53:57', `ip_address` = '::1'
WHERE `id` = '9';
UPDATE `user` SET `last_logout` = '2018-05-20 11:57:57'
WHERE `id` = '9';
UPDATE `user` SET `last_login` = '2018-05-20 11:58:04', `ip_address` = '::1'
WHERE `id` = '2';
INSERT INTO `sales_parent` (`sale_id`, `invoice_no`, `customer_id`, `sale_type_id`, `store_id`, `salesman`, `sales_date`, `sales_time`, `lease_id`, `inquiry_officer`, `total_amnt`) VALUES ('20180520122412', '1017', '1', '1', '0', '2', '2018-05-20', '12:24:12', NULL, NULL, '445.00');
INSERT INTO `payment_collection` (`sale_id`, `invoice_no`, `customer_id`, `paid_amnt`, `due_amnt`, `receive_by`, `payment_date`) VALUES ('20180520122412', '1017', '1', '445.00', NULL, '2', '2018-05-20');
INSERT INTO `sale_details` (`sale_id`, `product_id`, `qty`, `sell_price`, `sale_type_id`) VALUES ('20180520122412', '7', '4', '55', '1');
INSERT INTO `sale_details` (`sale_id`, `product_id`, `qty`, `sell_price`, `sale_type_id`) VALUES ('20180520122412', '6', '5', '35', '1');
INSERT INTO `sale_details` (`sale_id`, `product_id`, `qty`, `sell_price`, `sale_type_id`) VALUES ('20180520122412', '1', '1', '50', '1');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Sales', 'create', 'invoice_no-1017 total amount-445.00', '2', '2018-05-20 12:24:13');
INSERT INTO `sales_parent` (`sale_id`, `invoice_no`, `customer_id`, `sale_type_id`, `store_id`, `salesman`, `sales_date`, `sales_time`, `lease_id`, `inquiry_officer`, `total_amnt`) VALUES ('20180520122655', '1017', '2', '1', '0', '2', '2018-05-20', '12:26:55', NULL, NULL, '725.00');
INSERT INTO `payment_collection` (`sale_id`, `invoice_no`, `customer_id`, `paid_amnt`, `due_amnt`, `receive_by`, `payment_date`) VALUES ('20180520122655', '1017', '2', '725.00', NULL, '2', '2018-05-20');
INSERT INTO `sale_details` (`sale_id`, `product_id`, `qty`, `sell_price`, `sale_type_id`) VALUES ('20180520122655', '6', '5', '35', '1');
INSERT INTO `sale_details` (`sale_id`, `product_id`, `qty`, `sell_price`, `sale_type_id`) VALUES ('20180520122655', '7', '10', '55', '1');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Sales', 'create', 'invoice_no-1017 total amount-725.00', '2', '2018-05-20 12:26:55');
INSERT INTO `sales_parent` (`sale_id`, `invoice_no`, `customer_id`, `sale_type_id`, `store_id`, `salesman`, `sales_date`, `sales_time`, `lease_id`, `inquiry_officer`, `total_amnt`) VALUES ('20180520122832', '1017', '2', '1', '0', '2', '2018-05-20', '12:28:32', NULL, NULL, '535.00');
INSERT INTO `payment_collection` (`sale_id`, `invoice_no`, `customer_id`, `paid_amnt`, `due_amnt`, `receive_by`, `payment_date`) VALUES ('20180520122832', '1017', '2', '535.00', NULL, '2', '2018-05-20');
INSERT INTO `sale_details` (`sale_id`, `product_id`, `qty`, `sell_price`, `sale_type_id`) VALUES ('20180520122832', '7', '4', '55', '1');
INSERT INTO `sale_details` (`sale_id`, `product_id`, `qty`, `sell_price`, `sale_type_id`) VALUES ('20180520122832', '6', '9', '35', '1');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Sales', 'create', 'invoice_no-1017 total amount-535.00', '2', '2018-05-20 12:28:33');
INSERT INTO `sales_parent` (`sale_id`, `invoice_no`, `customer_id`, `sale_type_id`, `store_id`, `salesman`, `sales_date`, `sales_time`, `lease_id`, `inquiry_officer`, `total_amnt`) VALUES ('20180520123130', '1017', '2', '1', '0', '2', '2018-05-20', '12:31:30', NULL, NULL, '270.00');
INSERT INTO `payment_collection` (`sale_id`, `invoice_no`, `customer_id`, `paid_amnt`, `due_amnt`, `receive_by`, `payment_date`) VALUES ('20180520123130', '1017', '2', '270.00', NULL, '2', '2018-05-20');
INSERT INTO `sale_details` (`sale_id`, `product_id`, `qty`, `sell_price`, `sale_type_id`) VALUES ('20180520123130', '6', '3', '35', '1');
INSERT INTO `sale_details` (`sale_id`, `product_id`, `qty`, `sell_price`, `sale_type_id`) VALUES ('20180520123130', '7', '3', '55', '1');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Sales', 'create', 'invoice_no-1017 total amount-270.00', '2', '2018-05-20 12:31:31');
UPDATE `user` SET `last_logout` = '2018-05-20 12:33:52'
WHERE `id` = '2';
UPDATE `user` SET `last_login` = '2018-05-20 12:34:07', `ip_address` = '::1'
WHERE `id` = '9';
INSERT INTO `sales_parent` (`sale_id`, `invoice_no`, `customer_id`, `sale_type_id`, `store_id`, `salesman`, `sales_date`, `sales_time`, `lease_id`, `inquiry_officer`, `total_amnt`) VALUES ('20180520123733', '1018', '2', '2', '2', '9', '2018-05-20', '12:37:33', NULL, NULL, '560.00');
INSERT INTO `payment_collection` (`sale_id`, `invoice_no`, `customer_id`, `paid_amnt`, `due_amnt`, `receive_by`, `payment_date`) VALUES ('20180520123733', '1018', '2', '500', '60.00', '9', '2018-05-20');
INSERT INTO `sale_details` (`sale_id`, `product_id`, `qty`, `sell_price`, `sale_type_id`) VALUES ('20180520123733', '7', '7', '55', '2');
INSERT INTO `sale_details` (`sale_id`, `product_id`, `qty`, `sell_price`, `sale_type_id`) VALUES ('20180520123733', '6', '5', '35', '2');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Sales', 'create', 'invoice_no-1018 total amount-560.00', '9', '2018-05-20 12:37:33');
DELETE FROM `sales_parent`
WHERE `sale_id` = '20180517072810';
DELETE FROM `sale_details`
WHERE `sale_id` = '20180517072810';
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('sale ', 'delete', 'sales id-20180517072810', '9', '2018-05-20 13:19:24');
DELETE FROM `sales_parent`
WHERE `sale_id` = '20180517071744';
DELETE FROM `sale_details`
WHERE `sale_id` = '20180517071744';
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('sale ', 'delete', 'sales id-20180517071744', '9', '2018-05-20 13:19:32');
DELETE FROM `sales_parent`
WHERE `sale_id` = '20180517070844';
DELETE FROM `sale_details`
WHERE `sale_id` = '20180517070844';
DELETE FROM `sales_parent`
WHERE `sale_id` = '20180517070700';
DELETE FROM `sale_details`
WHERE `sale_id` = '20180517070700';
DELETE FROM `sales_parent`
WHERE `sale_id` = '20180517070421';
DELETE FROM `sale_details`
WHERE `sale_id` = '20180517070421';
DELETE FROM `sales_parent`
WHERE `sale_id` = '20180517074317';
DELETE FROM `sale_details`
WHERE `sale_id` = '20180517074317';
DELETE FROM `sales_parent`
WHERE `sale_id` = '20180517072913';
DELETE FROM `sale_details`
WHERE `sale_id` = '20180517072913';
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('sale ', 'delete', 'sales id-20180517072913', '9', '2018-05-20 13:20:08');
DELETE FROM `sales_parent`
WHERE `sale_id` = '20180517072732';
DELETE FROM `sale_details`
WHERE `sale_id` = '20180517072732';
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('sale ', 'delete', 'sales id-20180517072732', '9', '2018-05-20 13:20:12');
DELETE FROM `sales_parent`
WHERE `sale_id` = '20180517072528';
DELETE FROM `sale_details`
WHERE `sale_id` = '20180517072528';
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('sale ', 'delete', 'sales id-20180517072528', '9', '2018-05-20 13:20:16');
DELETE FROM `sales_parent`
WHERE `sale_id` = '20180517070246';
DELETE FROM `sale_details`
WHERE `sale_id` = '20180517070246';
DELETE FROM `sales_parent`
WHERE `sale_id` = '20180517072341';
DELETE FROM `sale_details`
WHERE `sale_id` = '20180517072341';
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('sale ', 'delete', 'sales id-20180517072341', '9', '2018-05-20 13:20:40');
DELETE FROM `sales_parent`
WHERE `sale_id` = '20180517072210';
DELETE FROM `sale_details`
WHERE `sale_id` = '20180517072210';
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('sale ', 'delete', 'sales id-20180517072210', '9', '2018-05-20 13:20:43');
DELETE FROM `sales_parent`
WHERE `sale_id` = '20180517071228';
DELETE FROM `sale_details`
WHERE `sale_id` = '20180517071228';
DELETE FROM `sales_parent`
WHERE `sale_id` = '20180517071008';
DELETE FROM `sale_details`
WHERE `sale_id` = '20180517071008';
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('sale ', 'delete', 'sales id-20180517071008', '9', '2018-05-20 13:20:52');
UPDATE `user` SET `last_login` = '2018-05-21 05:41:52', `ip_address` = '::1'
WHERE `id` = '2';
INSERT INTO `lease` (`package_code`, `package_name`, `lease_duration`, `advance`, `markup`, `isactive`, `createby`, `createdate`) VALUES ('123', 'special', '10', '30', '50', 1, '2', '2018-05-21 06:18:14');
INSERT INTO `lease_store_map` (`lease_id`, `store_id`) VALUES (3, '2');
INSERT INTO `lease_store_map` (`lease_id`, `store_id`) VALUES (3, '3');
INSERT INTO `lease_product_map` (`lease_id`, `product_id`) VALUES (3, '5');
INSERT INTO `lease_product_map` (`lease_id`, `product_id`) VALUES (3, '6');
INSERT INTO `lease_product_map` (`lease_id`, `product_id`) VALUES (3, '7');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('leases', 'create', 'Lease Id-3', '2', '2018-05-21 06:18:14');
UPDATE `lease` SET `lease_id` = '3', `package_code` = '123', `package_name` = 'special', `lease_duration` = '10', `advance` = '10', `markup` = '0.99', `isactive` = 1, `updateby` = '2', `updatedate` = '2018-05-21 06:21:29'
WHERE `lease_id` = '3';
DELETE FROM `lease_store_map`
WHERE `lease_id` = '3';
DELETE FROM `lease_product_map`
WHERE `lease_id` = '3';
INSERT INTO `lease_store_map` (`lease_id`, `store_id`) VALUES ('3', '2');
INSERT INTO `lease_store_map` (`lease_id`, `store_id`) VALUES ('3', '3');
INSERT INTO `lease_product_map` (`lease_id`, `product_id`) VALUES ('3', '5');
INSERT INTO `lease_product_map` (`lease_id`, `product_id`) VALUES ('3', '6');
INSERT INTO `lease_product_map` (`lease_id`, `product_id`) VALUES ('3', '7');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('leases', 'update', 'Lease Id-3', '2', '2018-05-21 06:21:30');
UPDATE `user` SET `last_logout` = '2018-05-21 06:35:34'
WHERE `id` IS NULL;
UPDATE `user` SET `last_login` = '2018-05-21 06:36:05', `ip_address` = '::1'
WHERE `id` = '2';
INSERT INTO `language` (`phrase`) VALUES ('advance_amount');
UPDATE `language` SET `english` = 'A'
WHERE `phrase` = 'a';
UPDATE `language` SET `english` = 'About'
WHERE `phrase` = 'about';
UPDATE `language` SET `english` = 'Action'
WHERE `phrase` = 'action';
UPDATE `language` SET `english` = 'Active'
WHERE `phrase` = 'active';
UPDATE `language` SET `english` = 'Add '
WHERE `phrase` = 'add';
UPDATE `language` SET `english` = 'Address'
WHERE `phrase` = 'address';
UPDATE `language` SET `english` = 'Add Module'
WHERE `phrase` = 'add_module';
UPDATE `language` SET `english` = 'Add Module Permission'
WHERE `phrase` = 'add_module_permission';
UPDATE `language` SET `english` = 'Add New Product'
WHERE `phrase` = 'add_new_item';
UPDATE `language` SET `english` = 'Add Role'
WHERE `phrase` = 'add_role';
UPDATE `language` SET `english` = 'Add Role Permission'
WHERE `phrase` = 'add_role_permission';
UPDATE `language` SET `english` = 'Add Store'
WHERE `phrase` = 'add_store';
UPDATE `language` SET `english` = 'Add User'
WHERE `phrase` = 'add_user';
UPDATE `language` SET `english` = 'Add User Role'
WHERE `phrase` = 'add_user_role';
UPDATE `language` SET `english` = 'Add Warehouse'
WHERE `phrase` = 'add_warehouse';
UPDATE `language` SET `english` = 'Admin'
WHERE `phrase` = 'admin';
UPDATE `language` SET `english` = 'Advance'
WHERE `phrase` = 'advance';
UPDATE `language` SET `english` = 'Advance amount'
WHERE `phrase` = 'advance_amount';
UPDATE `language` SET `english` = 'Application Setting'
WHERE `phrase` = 'application_setting';
UPDATE `language` SET `english` = 'Application Title'
WHERE `phrase` = 'application_title';
UPDATE `language` SET `english` = 'Approve'
WHERE `phrase` = 'approved';
UPDATE `language` SET `english` = 'Are You Sure ? '
WHERE `phrase` = 'are_you_sure';
UPDATE `language` SET `english` = 'Assign Role'
WHERE `phrase` = 'assign_role';
UPDATE `language` SET `english` = 'Available'
WHERE `phrase` = 'available';
UPDATE `language` SET `english` = 'Backup and Restore'
WHERE `phrase` = 'backup_and_restore';
UPDATE `user` SET `last_logout` = '2018-05-21 06:48:40'
WHERE `id` = '2';
UPDATE `user` SET `last_login` = '2018-05-21 06:49:20', `ip_address` = '::1'
WHERE `id` = '9';
INSERT INTO `sales_parent` (`sale_id`, `invoice_no`, `customer_id`, `sale_type_id`, `store_id`, `salesman`, `sales_date`, `sales_time`, `advance_amnt`, `lease_id`, `inquiry_officer`, `total_amnt`) VALUES ('20180521065014', '1019', '1', '3', '2', '9', '2018-05-21', '06:50:14', '40', '3', '11', '340.00');
INSERT INTO `payment_collection` (`sale_id`, `invoice_no`, `customer_id`, `paid_amnt`, `due_amnt`, `receive_by`, `payment_date`) VALUES ('20180521065014', '1019', '1', '340.00', '300.00', '9', '2018-05-21');
INSERT INTO `sale_details` (`sale_id`, `product_id`, `qty`, `sell_price`, `sale_type_id`) VALUES ('20180521065014', '6', '5', '35', '3');
INSERT INTO `sale_details` (`sale_id`, `product_id`, `qty`, `sell_price`, `sale_type_id`) VALUES ('20180521065014', '7', '3', '55', '3');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Sales', 'create', 'invoice_no-1019 total amount-340.00', '9', '2018-05-21 06:50:14');
UPDATE `user` SET `last_logout` = '2018-05-21 06:57:52'
WHERE `id` = '9';
UPDATE `user` SET `last_login` = '2018-05-21 06:57:59', `ip_address` = '::1'
WHERE `id` = '2';
UPDATE `user` SET `last_logout` = '2018-05-21 07:34:53'
WHERE `id` = '2';
UPDATE `user` SET `last_login` = '2018-05-21 07:35:08', `ip_address` = '::1'
WHERE `id` = '9';
UPDATE `user` SET `last_logout` = '2018-05-21 10:54:41'
WHERE `id` = '9';
UPDATE `user` SET `last_login` = '2018-05-21 10:54:50', `ip_address` = '::1'
WHERE `id` = '2';
UPDATE `user` SET `last_logout` = '2018-05-21 10:55:25'
WHERE `id` = '2';
UPDATE `user` SET `last_login` = '2018-05-21 10:56:10', `ip_address` = '::1'
WHERE `id` = '9';
UPDATE `user` SET `last_logout` = '2018-05-21 11:14:31'
WHERE `id` = '9';
UPDATE `user` SET `last_login` = '2018-05-21 11:14:40', `ip_address` = '::1'
WHERE `id` = '2';
UPDATE `sales_parent` SET `sale_id` = '20180520123130', `invoice_no` = '1017', `customer_id` = '2', `sale_type_id` = '1', `store_id` = '0', `salesman` = NULL, `sales_date` = '2018-05-20', `sales_time` = '12:11:29', `advance_amnt` = NULL, `lease_id` = NULL, `inquiry_officer` = NULL, `total_amnt` = '295.00'
WHERE `sale_id` = '20180520123130';
UPDATE `payment_collection` SET `sale_id` = '20180520123130', `invoice_no` = '1017', `customer_id` = '2', `paid_amnt` = '295.00', `due_amnt` = NULL, `receive_by` = '2', `payment_date` = '2018-05-20'
WHERE `sale_id` = '20180520123130';
DELETE FROM `sale_details`
WHERE `sale_id` = '20180520123130';
INSERT INTO `sale_details` (`sale_id`, `product_id`, `qty`, `sell_price`, `sale_type_id`) VALUES ('20180520123130', '6', '3', '35', '1');
INSERT INTO `sale_details` (`sale_id`, `product_id`, `qty`, `sell_price`, `sale_type_id`) VALUES ('20180520123130', '7', '3', '55', '1');
INSERT INTO `sale_details` (`sale_id`, `product_id`, `qty`, `sell_price`, `sale_type_id`) VALUES ('20180520123130', '1', '1', '25', '1');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Sales', 'update', 'invoice_no-1017 total amount-295.00', '2', '2018-05-21 12:11:29');
UPDATE `sales_parent` SET `sale_id` = '20180520123130', `invoice_no` = '1017', `customer_id` = '2', `sale_type_id` = '1', `store_id` = '0', `salesman` = '9', `sales_date` = '2018-05-20', `sales_time` = '12:17:17', `advance_amnt` = NULL, `lease_id` = NULL, `inquiry_officer` = NULL, `total_amnt` = '270.00', `updateby` = '2', `updatedate` = '2018-05-21 12:17:17'
WHERE `sale_id` = '20180520123130';
UPDATE `payment_collection` SET `sale_id` = '20180520123130', `invoice_no` = '1017', `customer_id` = '2', `paid_amnt` = '270.00', `due_amnt` = NULL, `receive_by` = '2', `payment_date` = '2018-05-20'
WHERE `sale_id` = '20180520123130';
DELETE FROM `sale_details`
WHERE `sale_id` = '20180520123130';
INSERT INTO `sale_details` (`sale_id`, `product_id`, `qty`, `sell_price`, `sale_type_id`) VALUES ('20180520123130', '6', '3', '35', '1');
INSERT INTO `sale_details` (`sale_id`, `product_id`, `qty`, `sell_price`, `sale_type_id`) VALUES ('20180520123130', '7', '3', '55', '1');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Sales', 'update', 'invoice_no-1017 total amount-270.00', '2', '2018-05-21 12:17:17');
UPDATE `sales_parent` SET `sale_id` = '20180520123130', `invoice_no` = '1017', `customer_id` = '2', `sale_type_id` = '1', `store_id` = '0', `salesman` = '9', `sales_date` = '2018-05-20', `sales_time` = '12:22:28', `advance_amnt` = NULL, `lease_id` = NULL, `inquiry_officer` = NULL, `total_amnt` = '270', `updateby` = '2', `updatedate` = '2018-05-21 12:22:28'
WHERE `sale_id` = '20180520123130';
UPDATE `payment_collection` SET `sale_id` = '20180520123130', `invoice_no` = '1017', `customer_id` = '2', `paid_amnt` = '270', `due_amnt` = NULL, `receive_by` = '2', `payment_date` = '2018-05-20'
WHERE `sale_id` = '20180520123130';
DELETE FROM `sale_details`
WHERE `sale_id` = '20180520123130';
INSERT INTO `sale_details` (`sale_id`, `product_id`, `qty`, `sell_price`, `sale_type_id`) VALUES ('20180520123130', '6', '3', '35', '1');
INSERT INTO `sale_details` (`sale_id`, `product_id`, `qty`, `sell_price`, `sale_type_id`) VALUES ('20180520123130', '7', '3', '55', '1');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Sales', 'update', 'invoice_no-1017 total amount-270', '2', '2018-05-21 12:22:28');
UPDATE `sales_parent` SET `sale_id` = '20180520123130', `invoice_no` = '1017', `customer_id` = '2', `sale_type_id` = '1', `store_id` = '0', `salesman` = '9', `sales_date` = '2018-05-20', `sales_time` = '12:23:51', `advance_amnt` = NULL, `lease_id` = NULL, `inquiry_officer` = NULL, `total_amnt` = '270', `updateby` = '2', `updatedate` = '2018-05-21 12:23:51'
WHERE `sale_id` = '20180520123130';
UPDATE `payment_collection` SET `sale_id` = '20180520123130', `invoice_no` = '1017', `customer_id` = '2', `paid_amnt` = '270', `due_amnt` = NULL, `receive_by` = '2', `payment_date` = '2018-05-20'
WHERE `sale_id` = '20180520123130';
DELETE FROM `sale_details`
WHERE `sale_id` = '20180520123130';
INSERT INTO `sale_details` (`sale_id`, `product_id`, `qty`, `sell_price`, `sale_type_id`) VALUES ('20180520123130', '6', '3', '35', '1');
INSERT INTO `sale_details` (`sale_id`, `product_id`, `qty`, `sell_price`, `sale_type_id`) VALUES ('20180520123130', '7', '3', '55', '1');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Sales', 'update', 'invoice_no-1017 total amount-270', '2', '2018-05-21 12:23:52');
UPDATE `sales_parent` SET `sale_id` = '20180520123733', `invoice_no` = '1018', `customer_id` = '2', `sale_type_id` = '2', `store_id` = '0', `salesman` = '9', `sales_date` = '2018-05-20', `sales_time` = '12:59:38', `advance_amnt` = NULL, `lease_id` = NULL, `inquiry_officer` = NULL, `total_amnt` = '560', `updateby` = '2', `updatedate` = '2018-05-21 12:59:38'
WHERE `sale_id` = '20180520123733';
UPDATE `payment_collection` SET `sale_id` = '20180520123733', `invoice_no` = '1018', `customer_id` = '2', `paid_amnt` = '560', `due_amnt` = '0.00', `receive_by` = '2', `payment_date` = '2018-05-20'
WHERE `sale_id` = '20180520123733';
DELETE FROM `sale_details`
WHERE `sale_id` = '20180520123733';
INSERT INTO `sale_details` (`sale_id`, `product_id`, `qty`, `sell_price`, `sale_type_id`) VALUES ('20180520123733', '6', '5', '35', '2');
INSERT INTO `sale_details` (`sale_id`, `product_id`, `qty`, `sell_price`, `sale_type_id`) VALUES ('20180520123733', '7', '7', '55', '2');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Sales', 'update', 'invoice_no-1018 total amount-560', '2', '2018-05-21 12:59:39');
UPDATE `user` SET `last_login` = '2018-05-22 05:43:42', `ip_address` = '::1'
WHERE `id` = '2';
UPDATE `user` SET `last_logout` = '2018-05-22 06:56:58'
WHERE `id` = '2';
UPDATE `user` SET `last_login` = '2018-05-22 06:57:22', `ip_address` = '::1'
WHERE `id` = '9';
UPDATE `user` SET `last_logout` = '2018-05-22 07:03:03'
WHERE `id` = '9';
UPDATE `user` SET `last_login` = '2018-05-22 07:03:20', `ip_address` = '::1'
WHERE `id` = '2';
UPDATE `user` SET `last_logout` = '2018-05-22 07:09:06'
WHERE `id` = '2';
UPDATE `user` SET `last_login` = '2018-05-22 07:09:25', `ip_address` = '::1'
WHERE `id` = '9';
UPDATE `user` SET `last_logout` = '2018-05-22 07:11:08'
WHERE `id` = '9';
UPDATE `user` SET `last_login` = '2018-05-22 07:11:27', `ip_address` = '::1'
WHERE `id` = '2';
UPDATE `user` SET `last_logout` = '2018-05-22 07:12:46'
WHERE `id` = '2';
UPDATE `user` SET `last_login` = '2018-05-22 07:12:56', `ip_address` = '::1'
WHERE `id` = '2';
INSERT INTO `language` (`phrase`) VALUES ('gurrantor_name');
INSERT INTO `language` (`phrase`) VALUES ('gurrantor_code');
INSERT INTO `language` (`phrase`) VALUES ('gurrantor_phone');
INSERT INTO `language` (`phrase`) VALUES ('gurrantor_address');
INSERT INTO `language` (`phrase`) VALUES ('gurrantor_cnic');
UPDATE `language` SET `english` = 'Footer Text'
WHERE `phrase` = 'footer_text';
UPDATE `language` SET `english` = 'FTP Debug'
WHERE `phrase` = 'ftp_debug';
UPDATE `language` SET `english` = 'FTP Port'
WHERE `phrase` = 'ftp_port';
UPDATE `language` SET `english` = 'Data Synchronize [FTP Setting]'
WHERE `phrase` = 'ftp_setting';
UPDATE `language` SET `english` = 'Grand Total'
WHERE `phrase` = 'grand_total';
UPDATE `language` SET `english` = 'Gurrantor Address'
WHERE `phrase` = 'gurrantor_address';
UPDATE `language` SET `english` = 'Gurrantor  CNIC'
WHERE `phrase` = 'gurrantor_cnic';
UPDATE `language` SET `english` = 'Gurrantor  Code'
WHERE `phrase` = 'gurrantor_code';
UPDATE `language` SET `english` = 'Gurrantor  Name'
WHERE `phrase` = 'gurrantor_name';
UPDATE `language` SET `english` = 'Gurrantor  Phone'
WHERE `phrase` = 'gurrantor_phone';
UPDATE `language` SET `english` = 'Home'
WHERE `phrase` = 'home';
UPDATE `language` SET `english` = 'Host Name'
WHERE `phrase` = 'hostname';
UPDATE `language` SET `english` = 'Image'
WHERE `phrase` = 'image';
UPDATE `language` SET `english` = 'Image Upload Successfully!'
WHERE `phrase` = 'image_upload_successfully';
UPDATE `language` SET `english` = 'In A'
WHERE `phrase` = 'in';
UPDATE `language` SET `english` = 'Inactive'
WHERE `phrase` = 'inactive';
UPDATE `language` SET `english` = 'Inbox'
WHERE `phrase` = 'inbox';
UPDATE `language` SET `english` = 'Inbox Messages'
WHERE `phrase` = 'inbox_message';
UPDATE `language` SET `english` = 'Incoming File'
WHERE `phrase` = 'incoming_file';
UPDATE `language` SET `english` = 'Incorrect Email/Password'
WHERE `phrase` = 'incorrect_email_or_password';
UPDATE `language` SET `english` = 'Inquiry Officer'
WHERE `phrase` = 'inquiry_officer';
UPDATE `language` SET `english` = 'Install'
WHERE `phrase` = 'install';
UPDATE `language` SET `english` = 'Internet Connection'
WHERE `phrase` = 'internet_connection';
UPDATE `language` SET `english` = 'Invalid File!'
WHERE `phrase` = 'invalid_file';
UPDATE `language` SET `english` = 'Invalid Module'
WHERE `phrase` = 'invalid_module';
INSERT INTO `gurrantor` (`gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`, `updateby`, `updatedate`) VALUES ('234', NULL, '234234', '2', '234', '234', '324', '324', 1, '2', '2018-05-22 11:27:55', '', '');
INSERT INTO `gurrantor` (`gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`, `updateby`, `updatedate`) VALUES ('234', NULL, '234234', '2', '234', '234', '324', '324', 1, '2', '2018-05-22 11:28:42', '', '');
INSERT INTO `gurrantor` (`gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`, `updateby`, `updatedate`) VALUES ('3423', NULL, '324', '2', '234', '324', '324', '324', 1, '2', '2018-05-22 11:29:01', '', '');
INSERT INTO `gurrantor` (`gurrantor_code`, `gurrantor_name`, `gurrantor_phone`) VALUES ('234', NULL, '32423');
INSERT INTO `gurrantor` (`gurrantor_code`, `gurrantor_name`, `gurrantor_phone`) VALUES ('1', NULL, '1');
INSERT INTO `gurrantor` (`gurrantor_code`, `gurrantor_name`, `gurrantor_phone`) VALUES ('32', NULL, '32');
INSERT INTO `gurrantor` (`gurrantor_code`, `gurrantor_name`, `gurrantor_phone`) VALUES ('324', NULL, '324');
INSERT INTO `gurrantor` (`gurrantor_code`, `gurrantor_name`, `gurrantor_phone`) VALUES ('234', NULL, '324');
INSERT INTO `gurrantor` (`gurrantor_id`, `gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`, `updateby`, `updatedate`) VALUES (NULL, '234', '23234234', '324', '2', '234', '234', '234', '234', 1, '2', '2018-05-22 11:47:25', '', '');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Gurrantor', 'create', 0, '2', '2018-05-22 11:47:25');
INSERT INTO `gurrantor` (`gurrantor_id`, `gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES (NULL, '223434', '234234234', '23423', '2', '23423', '32423', '324234', '324234', 1, '2', '2018-05-22 11:49:14');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Gurrantor', 'create', 3, '2', '2018-05-22 11:49:14');
UPDATE `user` SET `last_logout` = '2018-05-22 12:14:31'
WHERE `id` IS NULL;
UPDATE `user` SET `last_login` = '2018-05-22 12:14:40', `ip_address` = '::1'
WHERE `id` = '2';
INSERT INTO `gurrantor` (`gurrantor_id`, `gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES (NULL, '2345', 'Jaman', '234234', '2', 'Ck', '42323', '323423', 'sdfasd', 1, '2', '2018-05-22 12:46:09');
INSERT INTO `customer_gurrantor_map` (`lease_id`, `customer_id`, `gurrantor_id`) VALUES ('2', '1', 4);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Gurrantor', 'create', 4, '2', '2018-05-22 12:46:09');
INSERT INTO `gurrantor` (`gurrantor_id`, `gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES (NULL, '667', 'kamruzzam', '234234', '2', 'Developer', 'sdfas', '32423', 'sdfsad', 1, '2', '2018-05-22 12:50:41');
INSERT INTO `customer_gurrantor_map` (`lease_id`, `customer_id`, `gurrantor_id`) VALUES ('2', '2', 5);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Gurrantor', 'create', 5, '2', '2018-05-22 12:50:41');
UPDATE `user` SET `last_logout` = '2018-05-22 13:06:51'
WHERE `id` = '2';
UPDATE `user` SET `last_logout` = '2018-05-22 13:06:55'
WHERE `id` IS NULL;
UPDATE `user` SET `last_login` = '2018-05-23 05:49:46', `ip_address` = '::1'
WHERE `id` = '2';
UPDATE `user` SET `last_login` = '2018-05-23 05:49:46', `ip_address` = '::1'
WHERE `id` = '2';
INSERT INTO `gurrantor` (`gurrantor_id`, `gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES (NULL, 'ttt', 'tttt', '43535', '2', 'gdsfg', 'dfsgdf', '345', 'dsfgsdf', 1, '2', '2018-05-23 05:53:57');
INSERT INTO `customer_gurrantor_map` (`lease_id`, `customer_id`, `gurrantor_id`) VALUES ('2', '2', 6);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Gurrantor', 'create', 6, '2', '2018-05-23 05:53:57');
INSERT INTO `gurrantor` (`gurrantor_id`, `gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES (NULL, 'yy', 'uuu', '435', '2', 'dfgdsf', 'fdgdf', '345', 'dfg', 1, '2', '2018-05-23 06:11:45');
INSERT INTO `customer_gurrantor_map` (`lease_id`, `customer_id`, `gurrantor_id`) VALUES ('2', '1', 7);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Gurrantor', 'create', 7, '2', '2018-05-23 06:11:45');
INSERT INTO `gurrantor` (`gurrantor_id`, `gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES (NULL, 'ooo', 'www', '435', '2', 'dfg', 'fdg', '435', 'dfg', 1, '2', '2018-05-23 06:15:40');
INSERT INTO `customer_gurrantor_map` (`lease_id`, `customer_id`, `gurrantor_id`) VALUES ('1', '1', 8);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Gurrantor', 'create', 8, '2', '2018-05-23 06:15:40');
INSERT INTO `gurrantor` (`gurrantor_id`, `gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES (NULL, 'll', 'hh', '453', '2', '4dgf', 'dfg', 'dfg', 'dfg', 1, '2', '2018-05-23 06:18:35');
INSERT INTO `customer_gurrantor_map` (`lease_id`, `customer_id`, `gurrantor_id`) VALUES ('3', '1', 9);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Gurrantor', 'create', 9, '2', '2018-05-23 06:18:35');
INSERT INTO `gurrantor` (`gurrantor_id`, `gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES (NULL, 'nnn', 'ggg', '4332', '2', '234', 'dsfas', '24', 'dfsas', 1, '2', '2018-05-23 06:37:21');
INSERT INTO `customer_gurrantor_map` (`lease_id`, `customer_id`, `gurrantor_id`) VALUES ('1', '1', 10);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Gurrantor', 'create', 10, '2', '2018-05-23 06:37:21');
INSERT INTO `gurrantor` (`gurrantor_id`, `gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES (NULL, 'tttt', 'bb', '423', '2', '234', 'sdfa', 'sdf', 'sdf', 1, '2', '2018-05-23 06:39:32');
INSERT INTO `customer_gurrantor_map` (`lease_id`, `customer_id`, `gurrantor_id`) VALUES ('1', '1', 11);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Gurrantor', 'create', 11, '2', '2018-05-23 06:39:32');
INSERT INTO `sales_parent` (`sale_id`, `invoice_no`, `customer_id`, `sale_type_id`, `store_id`, `salesman`, `sales_date`, `sales_time`, `gurrantor_1`, `gurrantor_2`, `advance_amnt`, `lease_id`, `inquiry_officer`, `total_amnt`) VALUES ('20180523070622', '1020', '1', '3', '2', '2', '2018-05-23', '07:06:22', 1, '10', '40', '2', '9', '140.00');
INSERT INTO `payment_collection` (`sale_id`, `invoice_no`, `customer_id`, `paid_amnt`, `due_amnt`, `receive_by`, `payment_date`) VALUES ('20180523070622', '1020', '1', '140.00', '100.00', '2', '2018-05-23');
INSERT INTO `sale_details` (`sale_id`, `product_id`, `qty`, `sell_price`, `sale_type_id`) VALUES ('20180523070622', '6', '4', '35', '3');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Sales', 'create', 'invoice_no-1020 total amount-140.00', '2', '2018-05-23 07:06:22');
INSERT INTO `sales_parent` (`sale_id`, `invoice_no`, `customer_id`, `sale_type_id`, `store_id`, `salesman`, `sales_date`, `sales_time`, `gurrantor_1`, `gurrantor_2`, `advance_amnt`, `lease_id`, `inquiry_officer`, `total_amnt`) VALUES ('20180523070845', '1021', '1', '3', '2', '2', '2018-05-23', '07:08:45', Array, '4', '120', '2', '9', '140.00');
INSERT INTO `payment_collection` (`sale_id`, `invoice_no`, `customer_id`, `paid_amnt`, `due_amnt`, `receive_by`, `payment_date`) VALUES ('20180523070845', '1021', '1', '140.00', '20.00', '2', '2018-05-23');
INSERT INTO `sale_details` (`sale_id`, `product_id`, `qty`, `sell_price`, `sale_type_id`) VALUES ('20180523070845', '6', '4', '35', '3');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Sales', 'create', 'invoice_no-1021 total amount-140.00', '2', '2018-05-23 07:08:45');
INSERT INTO `sales_parent` (`sale_id`, `invoice_no`, `customer_id`, `sale_type_id`, `store_id`, `salesman`, `sales_date`, `sales_time`, `gurrantor_1`, `gurrantor_2`, `advance_amnt`, `lease_id`, `inquiry_officer`, `total_amnt`) VALUES ('20180523071951', '1021', '1', '3', '2', '2', '2018-05-23', '07:19:51', '8', '10', '60', '2', '11', '70.00');
INSERT INTO `payment_collection` (`sale_id`, `invoice_no`, `customer_id`, `paid_amnt`, `due_amnt`, `receive_by`, `payment_date`) VALUES ('20180523071951', '1021', '1', '70.00', '10.00', '2', '2018-05-23');
INSERT INTO `sale_details` (`sale_id`, `product_id`, `qty`, `sell_price`, `sale_type_id`) VALUES ('20180523071951', '6', '2', '35', '3');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Sales', 'create', 'invoice_no-1021 total amount-70.00', '2', '2018-05-23 07:19:51');
INSERT INTO `gurrantor` (`gurrantor_id`, `gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES (NULL, '23423423', 'hhhhh', '234523', '2', 'sdfasdf', 'sadfasdfas', '234234', 'sdfasdf', 1, '2', '2018-05-23 08:46:54');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Gurrantor', 'create', 12, '2', '2018-05-23 08:46:54');
INSERT INTO `lease` (`package_code`, `package_name`, `lease_duration`, `advance`, `markup`, `isactive`, `createby`, `createdate`) VALUES ('we434', 'jtest', '10', '0.20', '0.60', 1, '2', '2018-05-23 08:57:49');
INSERT INTO `lease_store_map` (`lease_id`, `store_id`) VALUES (4, '2');
INSERT INTO `lease_store_map` (`lease_id`, `store_id`) VALUES (4, '3');
INSERT INTO `lease_product_map` (`lease_id`, `product_id`) VALUES (4, '6');
INSERT INTO `lease_product_map` (`lease_id`, `product_id`) VALUES (4, '7');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('leases', 'create', 'Lease Id-4', '2', '2018-05-23 08:57:50');
UPDATE `lease` SET `lease_id` = '4', `package_code` = 'we434', `package_name` = 'jtest', `lease_duration` = '10', `advance` = 0.4, `markup` = 0.6, `isactive` = 1, `updateby` = '2', `updatedate` = '2018-05-23 09:52:56'
WHERE `lease_id` = '4';
DELETE FROM `lease_store_map`
WHERE `lease_id` = '4';
DELETE FROM `lease_product_map`
WHERE `lease_id` = '4';
INSERT INTO `lease_store_map` (`lease_id`, `store_id`) VALUES ('4', '2');
INSERT INTO `lease_store_map` (`lease_id`, `store_id`) VALUES ('4', '3');
INSERT INTO `lease_product_map` (`lease_id`, `product_id`) VALUES ('4', '6');
INSERT INTO `lease_product_map` (`lease_id`, `product_id`) VALUES ('4', '7');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('leases', 'update', 'Lease Id-4', '2', '2018-05-23 09:52:57');
INSERT INTO `gurrantor` (`gurrantor_id`, `gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES (NULL, 'u78785', 'sdfasdf', '32423', '2', 'sdfa', 'sdfas', '3542342', 'sdf', 1, '2', '2018-05-23 10:38:25');
INSERT INTO `gurrantor` (`gurrantor_id`, `gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES (NULL, 'jkkj', 'sdfasdf', '234', '2', '324234', 'sdfasdf', 'sadfsd', 'sdf', 1, '2', '2018-05-23 10:48:22');
INSERT INTO `gurrantor` (`gurrantor_id`, `gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES (NULL, '234234234', 'sdfadsf', '32423', '2', '234234', 'sdfasdf', '32423', 'sdfasdf', 1, '2', '2018-05-23 10:52:09');
INSERT INTO `gurrantor` (`gurrantor_id`, `gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES (NULL, '45645645', 'sadfasdf', '234234', '2', 'sdfasdf', 'sdfasdf', 'sdafsdf', 'sadf', 1, '2', '2018-05-23 10:53:35');
INSERT INTO `gurrantor` (`gurrantor_id`, `gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES (NULL, '34oop', 'Isahaq', '05649', '2', 'hdsadf', 'sdfsdf', '234234324', 'sdfasdf', 1, '2', '2018-05-23 11:03:52');
INSERT INTO `gurrantor` (`gurrantor_id`, `gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES (NULL, '9343434', 'Sabuj', '2345234', '2', 'dsfasdfsadf', 'sdfasdf', '23423423', 'dsfasdf', 1, '2', '2018-05-23 11:08:17');
INSERT INTO `sales_parent` (`sale_id`, `invoice_no`, `customer_id`, `sale_type_id`, `store_id`, `salesman`, `sales_date`, `sales_time`, `gurrantor_1`, `gurrantor_2`, `advance_amnt`, `lease_id`, `inquiry_officer`, `total_amnt`) VALUES ('20180523110852', '1022', '2', '3', '2', '2', '2018-05-23', '11:08:52', '5', NULL, '42', '4', '9', '105.00');
INSERT INTO `payment_collection` (`sale_id`, `invoice_no`, `customer_id`, `paid_amnt`, `due_amnt`, `receive_by`, `payment_date`) VALUES ('20180523110852', '1022', '2', '105.00', '63.00', '2', '2018-05-23');
INSERT INTO `customer_gurrantor_map` (`lease_id`, `customer_id`, `gurrantor_id`) VALUES (NULL, NULL, NULL);
INSERT INTO `sale_details` (`sale_id`, `product_id`, `qty`, `sell_price`, `sale_type_id`) VALUES ('20180523110852', '6', '3', '35', '3');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Sales', 'create', 'invoice_no-1022 total amount-105.00', '2', '2018-05-23 11:08:52');
INSERT INTO `gurrantor` (`gurrantor_id`, `gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES (NULL, 'test898', 'Jahangir', '32423423', '2', 'sdfasdf', 'sdafasdf', '45235423', 'sdfasdf', 1, '2', '2018-05-23 11:12:10');
INSERT INTO `sales_parent` (`sale_id`, `invoice_no`, `customer_id`, `sale_type_id`, `store_id`, `salesman`, `sales_date`, `sales_time`, `gurrantor_1`, `gurrantor_2`, `advance_amnt`, `lease_id`, `inquiry_officer`, `total_amnt`) VALUES ('20180523111230', '1022', '2', '3', '2', '2', '2018-05-23', '11:12:30', '5', NULL, '42', '4', '9', '105.00');
INSERT INTO `payment_collection` (`sale_id`, `invoice_no`, `customer_id`, `paid_amnt`, `due_amnt`, `receive_by`, `payment_date`) VALUES ('20180523111230', '1022', '2', '105.00', '63.00', '2', '2018-05-23');
INSERT INTO `customer_gurrantor_map` (`lease_id`, `customer_id`, `gurrantor_id`) VALUES ('4', '2', NULL);
INSERT INTO `sale_details` (`sale_id`, `product_id`, `qty`, `sell_price`, `sale_type_id`) VALUES ('20180523111230', '6', '3', '35', '3');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Sales', 'create', 'invoice_no-1022 total amount-105.00', '2', '2018-05-23 11:12:31');
INSERT INTO `gurrantor` (`gurrantor_id`, `gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES (NULL, '3021', 'Naem', '234234', '2', 'Old', '435234', '23423', 'sdfsadf', 1, '2', '2018-05-23 11:16:37');
INSERT INTO `sales_parent` (`sale_id`, `invoice_no`, `customer_id`, `sale_type_id`, `store_id`, `salesman`, `sales_date`, `sales_time`, `gurrantor_1`, `gurrantor_2`, `advance_amnt`, `lease_id`, `inquiry_officer`, `total_amnt`) VALUES ('20180523111657', '1022', '2', '3', '2', '2', '2018-05-23', '11:16:57', '5', NULL, '28', '4', '13', '70.00');
INSERT INTO `payment_collection` (`sale_id`, `invoice_no`, `customer_id`, `paid_amnt`, `due_amnt`, `receive_by`, `payment_date`) VALUES ('20180523111657', '1022', '2', '70.00', '42.00', '2', '2018-05-23');
INSERT INTO `customer_gurrantor_map` (`lease_id`, `customer_id`, `gurrantor_id`) VALUES ('4', '2', '5');
INSERT INTO `sale_details` (`sale_id`, `product_id`, `qty`, `sell_price`, `sale_type_id`) VALUES ('20180523111657', '6', '2', '35', '3');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Sales', 'create', 'invoice_no-1022 total amount-70.00', '2', '2018-05-23 11:16:57');
INSERT INTO `gurrantor` (`gurrantor_id`, `gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES (NULL, '43423423', 'hsd', '234234', '2', '324234', 'dsfsadf', 'sdfasdf', 'dsfsadf', 1, '2', '2018-05-23 11:20:51');
INSERT INTO `sales_parent` (`sale_id`, `invoice_no`, `customer_id`, `sale_type_id`, `store_id`, `salesman`, `sales_date`, `sales_time`, `gurrantor_1`, `gurrantor_2`, `advance_amnt`, `lease_id`, `inquiry_officer`, `total_amnt`) VALUES ('20180523112113', '1022', '2', '3', '2', '2', '2018-05-23', '11:21:13', NULL, NULL, '28', '4', '9', '70.00');
INSERT INTO `payment_collection` (`sale_id`, `invoice_no`, `customer_id`, `paid_amnt`, `due_amnt`, `receive_by`, `payment_date`) VALUES ('20180523112113', '1022', '2', '70.00', '42.00', '2', '2018-05-23');
INSERT INTO `sale_details` (`sale_id`, `product_id`, `qty`, `sell_price`, `sale_type_id`) VALUES ('20180523112113', '6', '2', '35', '3');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Sales', 'create', 'invoice_no-1022 total amount-70.00', '2', '2018-05-23 11:21:13');
INSERT INTO `gurrantor` (`gurrantor_id`, `gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES (NULL, '340000', 'Hasan', '23423', '2', 'jj', 'sdfasd', '32423', 'sadfasdf', 1, '2', '2018-05-23 11:25:14');
INSERT INTO `sales_parent` (`sale_id`, `invoice_no`, `customer_id`, `sale_type_id`, `store_id`, `salesman`, `sales_date`, `sales_time`, `gurrantor_1`, `gurrantor_2`, `advance_amnt`, `lease_id`, `inquiry_officer`, `total_amnt`) VALUES ('20180523112533', '1022', '2', '3', '2', '2', '2018-05-23', '11:25:33', '6', NULL, '14', '4', '11', '35.00');
INSERT INTO `payment_collection` (`sale_id`, `invoice_no`, `customer_id`, `paid_amnt`, `due_amnt`, `receive_by`, `payment_date`) VALUES ('20180523112533', '1022', '2', '35.00', '21.00', '2', '2018-05-23');
INSERT INTO `customer_gurrantor_map` (`lease_id`, `customer_id`, `gurrantor_id`) VALUES ('4', '2', '6');
INSERT INTO `sale_details` (`sale_id`, `product_id`, `qty`, `sell_price`, `sale_type_id`) VALUES ('20180523112533', '6', '1', '35', '3');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Sales', 'create', 'invoice_no-1022 total amount-35.00', '2', '2018-05-23 11:25:33');
INSERT INTO `gurrantor` (`gurrantor_id`, `gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES (NULL, '097', 'sujon', '23423', '2', 'adsdfasdf', 'sdfasdf', '234234', 'sdfasdf', 1, '2', '2018-05-23 11:27:50');
INSERT INTO `gurrantor` (`gurrantor_id`, `gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES (NULL, '888', 'Mahmud', '234234', '2', 'sdfasdf', 'sdfasdf', '23423', 'sdfasdf', 1, '2', '2018-05-23 11:31:25');
INSERT INTO `sales_parent` (`sale_id`, `invoice_no`, `customer_id`, `sale_type_id`, `store_id`, `salesman`, `sales_date`, `sales_time`, `gurrantor_1`, `gurrantor_2`, `advance_amnt`, `lease_id`, `inquiry_officer`, `total_amnt`) VALUES ('20180523113139', '1022', '2', '3', '2', '2', '2018-05-23', '11:31:39', '24', '6', '42', '4', '13', '105.00');
INSERT INTO `payment_collection` (`sale_id`, `invoice_no`, `customer_id`, `paid_amnt`, `due_amnt`, `receive_by`, `payment_date`) VALUES ('20180523113139', '1022', '2', '105.00', '63.00', '2', '2018-05-23');
INSERT INTO `customer_gurrantor_map` (`lease_id`, `customer_id`, `gurrantor_id`) VALUES ('4', '2', '24');
INSERT INTO `customer_gurrantor_map` (`lease_id`, `customer_id`, `gurrantor_id`) VALUES ('4', '2', '6');
INSERT INTO `sale_details` (`sale_id`, `product_id`, `qty`, `sell_price`, `sale_type_id`) VALUES ('20180523113139', '6', '3', '35', '3');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Sales', 'create', 'invoice_no-1022 total amount-105.00', '2', '2018-05-23 11:31:39');
INSERT INTO `sales_parent` (`sale_id`, `invoice_no`, `customer_id`, `sale_type_id`, `store_id`, `salesman`, `sales_date`, `sales_time`, `gurrantor_1`, `gurrantor_2`, `advance_amnt`, `lease_id`, `inquiry_officer`, `total_amnt`) VALUES ('20180523113343', '1023', '2', '3', '2', '2', '2018-05-23', '11:33:43', '5', '24', '194', '4', '13', '485.00');
INSERT INTO `payment_collection` (`sale_id`, `invoice_no`, `customer_id`, `paid_amnt`, `due_amnt`, `receive_by`, `payment_date`) VALUES ('20180523113343', '1023', '2', '485.00', '291.00', '2', '2018-05-23');
INSERT INTO `customer_gurrantor_map` (`lease_id`, `customer_id`, `gurrantor_id`) VALUES ('4', '2', '5');
INSERT INTO `customer_gurrantor_map` (`lease_id`, `customer_id`, `gurrantor_id`) VALUES ('4', '2', '24');
INSERT INTO `sale_details` (`sale_id`, `product_id`, `qty`, `sell_price`, `sale_type_id`) VALUES ('20180523113343', '6', '6', '35', '3');
INSERT INTO `sale_details` (`sale_id`, `product_id`, `qty`, `sell_price`, `sale_type_id`) VALUES ('20180523113343', '7', '5', '55', '3');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Sales', 'create', 'invoice_no-1023 total amount-485.00', '2', '2018-05-23 11:33:43');
INSERT INTO `language` (`phrase`) VALUES ('stockmovment');
UPDATE `language` SET `english` = 'SL No.'
WHERE `phrase` = 'sl_no';
UPDATE `language` SET `english` = 'Status'
WHERE `phrase` = 'status';
UPDATE `language` SET `english` = 'Stock Movement'
WHERE `phrase` = 'stockmovment';
UPDATE `language` SET `english` = 'Stock Qty'
WHERE `phrase` = 'stock_ctn';
UPDATE `language` SET `english` = 'Store'
WHERE `phrase` = 'store';
UPDATE `language` SET `english` = 'Store/warehouse'
WHERE `phrase` = 'storewarehouse';
UPDATE `language` SET `english` = 'Store Address'
WHERE `phrase` = 'store_address';
UPDATE `language` SET `english` = 'Store Code'
WHERE `phrase` = 'store_code';
UPDATE `language` SET `english` = 'Store Name'
WHERE `phrase` = 'store_name';
UPDATE `language` SET `english` = 'Store Phone'
WHERE `phrase` = 'store_phone';
UPDATE `language` SET `english` = 'Subject'
WHERE `phrase` = 'subject';
UPDATE `language` SET `english` = 'Submit '
WHERE `phrase` = 'submit';
UPDATE `language` SET `english` = 'Submit and Another'
WHERE `phrase` = 'submit_and_add_another';
UPDATE `language` SET `english` = 'Successfully Approved'
WHERE `phrase` = 'successfully_approved';
UPDATE `language` SET `english` = 'Super Admin'
WHERE `phrase` = 'super_admin';
UPDATE `language` SET `english` = 'Supplier'
WHERE `phrase` = 'supplier';
UPDATE `language` SET `english` = 'Supplier Name'
WHERE `phrase` = 'supplier_name';
UPDATE `language` SET `english` = 'Synchronize'
WHERE `phrase` = 'synchronize';
UPDATE `language` SET `english` = 'Tables are not available in database.sql'
WHERE `phrase` = 'tables_are_not_available_in_database';
UPDATE `language` SET `english` = 'To'
WHERE `phrase` = 'to';
UPDATE `language` SET `english` = 'Total'
WHERE `phrase` = 'total';
UPDATE `language` SET `english` = 'Total Amount'
WHERE `phrase` = 'total_amount';
UPDATE `language` SET `english` = 'Unable to download file! please check configuration'
WHERE `phrase` = 'unable_to_download_file_please_check_configuration';
UPDATE `language` SET `english` = 'Unable to import data! please check configuration / SQL file.'
WHERE `phrase` = 'unable_to_import_data_please_check_config_or_sql_file';
UPDATE `language` SET `english` = 'Unable to upload file! please check configuration'
WHERE `phrase` = 'unable_to_upload_file_please_check_configuration';
SET FOREIGN_KEY_CHECKS = 0;
CREATE TABLE IF NOT EXISTS `stock_movement` (
  `movement_id` int(11) NOT NULL AUTO_INCREMENT,
  `proposal_code` varchar(20) COLLATE utf8_unicode_ci NOT NULL,
  `issue_code` varchar(20) COLLATE utf8_unicode_ci NOT NULL,
  `for_store_id` int(11) NOT NULL,
  `from_store_id` int(11) NOT NULL,
  `for_warehouse` int(11) NOT NULL,
  `from_warehouse` int(11) NOT NULL,
  `proposal_datetime` datetime NOT NULL,
  `proposal_by` int(11) NOT NULL,
  `issue_datetime` datetime NOT NULL,
  `issue_by` int(11) NOT NULL,
  `proposal_remarks` varchar(250) COLLATE utf8_unicode_ci NOT NULL,
  `issue_remarks` varchar(250) COLLATE utf8_unicode_ci NOT NULL,
  `receive_by` int(11) NOT NULL,
  `receive_datetime` datetime NOT NULL,
  `receive_remarks` varchar(250) COLLATE utf8_unicode_ci NOT NULL,
  `is_proposed` tinyint(1) NOT NULL,
  `is_issued` tinyint(1) NOT NULL,
  `is_received` tinyint(1) NOT NULL,
  PRIMARY KEY (`movement_id`),
  UNIQUE KEY `proposal_code_unique` (`proposal_code`),
  UNIQUE KEY `issue_code_unique` (`issue_code`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;


CREATE TABLE IF NOT EXISTS `stock_movement_details` (
  `movement_id` int(11) NOT NULL,
  `product_id` int(11) NOT NULL,
  `proposal_qty` int(11) NOT NULL,
  `issue_qty` int(11) NOT NULL,
  `received_qty` int(11) NOT NULL,
  UNIQUE KEY `movement_id` (`movement_id`,`product_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
SET FOREIGN_KEY_CHECKS = 1;
INSERT INTO `module` (`id`, `name`, `description`, `image`, `directory`, `status`) VALUES (NULL, 'stockmovment Management', 'stockmovment Information', 'application/modules/stockmovment/assets/images/thumbnail.jpg', 'stockmovment', 1);
INSERT INTO `language` (`phrase`) VALUES ('proposal_code');
INSERT INTO `language` (`phrase`) VALUES ('issue_code');
INSERT INTO `language` (`phrase`) VALUES ('issue_date');
INSERT INTO `language` (`phrase`) VALUES ('for_store');
INSERT INTO `language` (`phrase`) VALUES ('from_store');
INSERT INTO `language` (`phrase`) VALUES ('issue_by');
UPDATE `language` SET `english` = 'Footer Text'
WHERE `phrase` = 'footer_text';
UPDATE `language` SET `english` = 'For Store'
WHERE `phrase` = 'for_store';
UPDATE `language` SET `english` = 'From Store'
WHERE `phrase` = 'from_store';
UPDATE `language` SET `english` = 'FTP Debug'
WHERE `phrase` = 'ftp_debug';
UPDATE `language` SET `english` = 'FTP Port'
WHERE `phrase` = 'ftp_port';
UPDATE `language` SET `english` = 'Data Synchronize [FTP Setting]'
WHERE `phrase` = 'ftp_setting';
UPDATE `language` SET `english` = 'Grand Total'
WHERE `phrase` = 'grand_total';
UPDATE `language` SET `english` = 'Gurrantor Address'
WHERE `phrase` = 'gurrantor_address';
UPDATE `language` SET `english` = 'Gurrantor  CNIC'
WHERE `phrase` = 'gurrantor_cnic';
UPDATE `language` SET `english` = 'Gurrantor  Code'
WHERE `phrase` = 'gurrantor_code';
UPDATE `language` SET `english` = 'Gurrantor  Name'
WHERE `phrase` = 'gurrantor_name';
UPDATE `language` SET `english` = 'Gurrantor  Phone'
WHERE `phrase` = 'gurrantor_phone';
UPDATE `language` SET `english` = 'Home'
WHERE `phrase` = 'home';
UPDATE `language` SET `english` = 'Host Name'
WHERE `phrase` = 'hostname';
UPDATE `language` SET `english` = 'Image'
WHERE `phrase` = 'image';
UPDATE `language` SET `english` = 'Image Upload Successfully!'
WHERE `phrase` = 'image_upload_successfully';
UPDATE `language` SET `english` = 'In A'
WHERE `phrase` = 'in';
UPDATE `language` SET `english` = 'Inactive'
WHERE `phrase` = 'inactive';
UPDATE `language` SET `english` = 'Inbox'
WHERE `phrase` = 'inbox';
UPDATE `language` SET `english` = 'Inbox Messages'
WHERE `phrase` = 'inbox_message';
UPDATE `language` SET `english` = 'Incoming File'
WHERE `phrase` = 'incoming_file';
UPDATE `language` SET `english` = 'Incorrect Email/Password'
WHERE `phrase` = 'incorrect_email_or_password';
UPDATE `language` SET `english` = 'Inquiry Officer'
WHERE `phrase` = 'inquiry_officer';
UPDATE `language` SET `english` = 'Install'
WHERE `phrase` = 'install';
UPDATE `language` SET `english` = 'Internet Connection'
WHERE `phrase` = 'internet_connection';
UPDATE `language` SET `english` = 'Invalid File!'
WHERE `phrase` = 'invalid_file';
UPDATE `language` SET `english` = 'Invalid Module'
WHERE `phrase` = 'invalid_module';
UPDATE `language` SET `english` = 'Invoice ID'
WHERE `phrase` = 'invoice_id';
UPDATE `language` SET `english` = 'Invoice No'
WHERE `phrase` = 'invoice_no';
UPDATE `language` SET `english` = 'IP Address'
WHERE `phrase` = 'ip_address';
UPDATE `language` SET `english` = 'Is Active'
WHERE `phrase` = 'isactive';
UPDATE `language` SET `english` = 'Issue By'
WHERE `phrase` = 'issue_by';
UPDATE `language` SET `english` = 'Issue Code'
WHERE `phrase` = 'issue_code';
UPDATE `language` SET `english` = 'Issue Date'
WHERE `phrase` = 'issue_date';
UPDATE `language` SET `english` = 'Language'
WHERE `phrase` = 'language';
UPDATE `language` SET `english` = 'Last Name'
WHERE `phrase` = 'lastname';
UPDATE `language` SET `english` = 'Last Login'
WHERE `phrase` = 'last_login';
UPDATE `language` SET `english` = 'Last Logout'
WHERE `phrase` = 'last_logout';
UPDATE `language` SET `english` = 'Lease'
WHERE `phrase` = 'lease';
UPDATE `language` SET `english` = 'Lease Package'
WHERE `phrase` = 'lease_package';
UPDATE `language` SET `english` = 'Lease Sale List'
WHERE `phrase` = 'lease_sale_list';
UPDATE `language` SET `english` = 'Left To Right'
WHERE `phrase` = 'left_to_right';
UPDATE `language` SET `english` = 'List'
WHERE `phrase` = 'list';
UPDATE `language` SET `english` = 'Store List'
WHERE `phrase` = 'list_store';
UPDATE `language` SET `english` = 'Warehouse list'
WHERE `phrase` = 'list_warehouse';
UPDATE `language` SET `english` = 'Login'
WHERE `phrase` = 'login';
UPDATE `language` SET `english` = 'Logo'
WHERE `phrase` = 'logo';
UPDATE `language` SET `english` = 'Logout'
WHERE `phrase` = 'logout';
UPDATE `language` SET `english` = 'Markup'
WHERE `phrase` = 'markup';
UPDATE `language` SET `english` = 'Message'
WHERE `phrase` = 'message';
UPDATE `language` SET `english` = 'Package Name'
WHERE `phrase` = 'pakage_name';
UPDATE `language` SET `english` = 'Password'
WHERE `phrase` = 'password';
UPDATE `language` SET `english` = 'Payment'
WHERE `phrase` = 'payment';
UPDATE `language` SET `english` = 'You Have No Permission'
WHERE `phrase` = 'permission_error';
UPDATE `language` SET `english` = 'Phone'
WHERE `phrase` = 'phone';
UPDATE `language` SET `english` = 'Please configure synchronizer settings'
WHERE `phrase` = 'please_configure_synchronizer_settings';
UPDATE `language` SET `english` = 'Please Contact With Admin'
WHERE `phrase` = 'please_contact_with_admin';
UPDATE `language` SET `english` = 'Please Try Again...'
WHERE `phrase` = 'please_try_again';
UPDATE `language` SET `english` = 'Please Wait...'
WHERE `phrase` = 'please_wait';
UPDATE `language` SET `english` = 'Preview'
WHERE `phrase` = 'preview';
UPDATE `language` SET `english` = 'Price'
WHERE `phrase` = 'price';
UPDATE `language` SET `english` = 'Product'
WHERE `phrase` = 'product';
UPDATE `language` SET `english` = 'Product Category'
WHERE `phrase` = 'product_category';
UPDATE `language` SET `english` = 'Product Details'
WHERE `phrase` = 'product_details';
UPDATE `language` SET `english` = 'Product Name'
WHERE `phrase` = 'product_name';
UPDATE `language` SET `english` = 'Profile'
WHERE `phrase` = 'profile';
UPDATE `language` SET `english` = 'Profile Setting'
WHERE `phrase` = 'profile_setting';
UPDATE `language` SET `english` = 'Project Root'
WHERE `phrase` = 'project_root';
UPDATE `language` SET `english` = 'Proposal Code'
WHERE `phrase` = 'proposal_code';
UPDATE `language` SET `english` = 'Puchase Order'
WHERE `phrase` = 'purchase_order';
UPDATE `language` SET `english` = 'Purchase Price'
WHERE `phrase` = 'purchase_price';
UPDATE `language` SET `english` = 'Qty'
WHERE `phrase` = 'quantity';
UPDATE `language` SET `english` = 'Read'
WHERE `phrase` = 'read';
UPDATE `language` SET `english` = 'Read/Unread'
WHERE `phrase` = 'read_unread';
UPDATE `language` SET `english` = 'Receive'
WHERE `phrase` = 'receive';
UPDATE `user` SET `last_login` = '2018-05-24 05:36:46', `ip_address` = '::1'
WHERE `id` = '2';
INSERT INTO `language` (`phrase`) VALUES ('product_code');
INSERT INTO `language` (`phrase`) VALUES ('proposal_qty');
UPDATE `language` SET `english` = 'Package Name'
WHERE `phrase` = 'pakage_name';
UPDATE `language` SET `english` = 'Password'
WHERE `phrase` = 'password';
UPDATE `language` SET `english` = 'Payment'
WHERE `phrase` = 'payment';
UPDATE `language` SET `english` = 'You Have No Permission'
WHERE `phrase` = 'permission_error';
UPDATE `language` SET `english` = 'Phone'
WHERE `phrase` = 'phone';
UPDATE `language` SET `english` = 'Please configure synchronizer settings'
WHERE `phrase` = 'please_configure_synchronizer_settings';
UPDATE `language` SET `english` = 'Please Contact With Admin'
WHERE `phrase` = 'please_contact_with_admin';
UPDATE `language` SET `english` = 'Please Try Again...'
WHERE `phrase` = 'please_try_again';
UPDATE `language` SET `english` = 'Please Wait...'
WHERE `phrase` = 'please_wait';
UPDATE `language` SET `english` = 'Preview'
WHERE `phrase` = 'preview';
UPDATE `language` SET `english` = 'Price'
WHERE `phrase` = 'price';
UPDATE `language` SET `english` = 'Product'
WHERE `phrase` = 'product';
UPDATE `language` SET `english` = 'Product Category'
WHERE `phrase` = 'product_category';
UPDATE `language` SET `english` = 'Product Code'
WHERE `phrase` = 'product_code';
UPDATE `language` SET `english` = 'Product Details'
WHERE `phrase` = 'product_details';
UPDATE `language` SET `english` = 'Product Name'
WHERE `phrase` = 'product_name';
UPDATE `language` SET `english` = 'Profile'
WHERE `phrase` = 'profile';
UPDATE `language` SET `english` = 'Profile Setting'
WHERE `phrase` = 'profile_setting';
UPDATE `language` SET `english` = 'Project Root'
WHERE `phrase` = 'project_root';
UPDATE `language` SET `english` = 'Proposal Code'
WHERE `phrase` = 'proposal_code';
UPDATE `language` SET `english` = 'Proposal QTY'
WHERE `phrase` = 'proposal_qty';
UPDATE `language` SET `english` = 'Puchase Order'
WHERE `phrase` = 'purchase_order';
UPDATE `language` SET `english` = 'Purchase Price'
WHERE `phrase` = 'purchase_price';
UPDATE `language` SET `english` = 'Qty'
WHERE `phrase` = 'quantity';
UPDATE `language` SET `english` = 'Read'
WHERE `phrase` = 'read';
INSERT INTO `product` (`product_id`, `product_name`, `product_code`, `product_details`, `purchase_price`, `block_price`, `minimum_price`, `retail_price`, `createby`, `createdate`, `updateby`, `updatedate`, `isactive`) VALUES ('', 'A', 'a-1', 'dsfsd', '20', '21', '23', '25', '2', '2018-05-24 06:43:06', '', '', 1);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Product', 'create', 'product ID :8', '2', '2018-05-24 06:43:06');
INSERT INTO `language` (`phrase`) VALUES ('please_choose_another_p_code');
UPDATE `language` SET `english` = 'Package Name'
WHERE `phrase` = 'pakage_name';
UPDATE `language` SET `english` = 'Password'
WHERE `phrase` = 'password';
UPDATE `language` SET `english` = 'Payment'
WHERE `phrase` = 'payment';
UPDATE `language` SET `english` = 'You Have No Permission'
WHERE `phrase` = 'permission_error';
UPDATE `language` SET `english` = 'Phone'
WHERE `phrase` = 'phone';
UPDATE `language` SET `english` = 'Please another Product Code!!!'
WHERE `phrase` = 'please_choose_another_p_code';
UPDATE `language` SET `english` = 'Please configure synchronizer settings'
WHERE `phrase` = 'please_configure_synchronizer_settings';
UPDATE `language` SET `english` = 'Please Contact With Admin'
WHERE `phrase` = 'please_contact_with_admin';
UPDATE `language` SET `english` = 'Please Try Again...'
WHERE `phrase` = 'please_try_again';
UPDATE `language` SET `english` = 'Please Wait...'
WHERE `phrase` = 'please_wait';
UPDATE `language` SET `english` = 'Preview'
WHERE `phrase` = 'preview';
UPDATE `language` SET `english` = 'Price'
WHERE `phrase` = 'price';
UPDATE `language` SET `english` = 'Product'
WHERE `phrase` = 'product';
UPDATE `language` SET `english` = 'Product Category'
WHERE `phrase` = 'product_category';
UPDATE `language` SET `english` = 'Product Code'
WHERE `phrase` = 'product_code';
UPDATE `language` SET `english` = 'Product Details'
WHERE `phrase` = 'product_details';
UPDATE `language` SET `english` = 'Product Name'
WHERE `phrase` = 'product_name';
UPDATE `language` SET `english` = 'Profile'
WHERE `phrase` = 'profile';
UPDATE `language` SET `english` = 'Profile Setting'
WHERE `phrase` = 'profile_setting';
UPDATE `language` SET `english` = 'Project Root'
WHERE `phrase` = 'project_root';
UPDATE `language` SET `english` = 'Proposal Code'
WHERE `phrase` = 'proposal_code';
UPDATE `language` SET `english` = 'Proposal QTY'
WHERE `phrase` = 'proposal_qty';
UPDATE `language` SET `english` = 'Puchase Order'
WHERE `phrase` = 'purchase_order';
UPDATE `language` SET `english` = 'Purchase Price'
WHERE `phrase` = 'purchase_price';
UPDATE `language` SET `english` = 'Qty'
WHERE `phrase` = 'quantity';
INSERT INTO `product` (`product_id`, `product_name`, `product_code`, `product_details`, `purchase_price`, `block_price`, `minimum_price`, `retail_price`, `createby`, `createdate`, `updateby`, `updatedate`, `isactive`) VALUES ('', 'B', 'a-1', 'sadfsdf', '15', '17', '18', '20', '2', '2018-05-24 06:46:28', '', '', 1);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Product', 'create', 'product ID :9', '2', '2018-05-24 06:46:28');
INSERT INTO `stock_movement` (`proposal_code`, `issue_code`, `for_store_id`, `from_store_id`, `proposal_datetime`, `proposal_by`) VALUES ('pt-1000', '', '2', '3', '2018-05-24', '2');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Stockmovment', 'create', 'Stockmovment ID :1', '2', '2018-05-24 08:23:49');
INSERT INTO `stock_movement` (`proposal_code`, `issue_code`, `for_store_id`, `from_store_id`, `proposal_datetime`, `proposal_by`) VALUES ('pl', '2', '2', '2', '2018-05-24', '2');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Stockmovment', 'create', 'Stockmovment ID :1', '2', '2018-05-24 08:30:38');
INSERT INTO `stock_movement` (`proposal_code`, `for_store_id`, `from_store_id`, `proposal_datetime`, `proposal_by`) VALUES ('p-1', '2', '2', '2018-05-24 03:28', '2');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Stockmovment', 'create', 'Stockmovment ID :2', '2', '2018-05-24 10:06:26');
INSERT INTO `stock_movement` (`proposal_code`, `for_store_id`, `from_store_id`, `proposal_datetime`, `proposal_by`) VALUES ('p-2', '2', '3', '2018-05-24 10:17', '2');
INSERT INTO `stock_movement` (`proposal_code`, `for_store_id`, `from_store_id`, `proposal_datetime`, `proposal_by`) VALUES ('p-2', '2', '2', '2018-05-25 01:09', '2');
INSERT INTO `stock_movement` (`proposal_code`, `for_store_id`, `from_store_id`, `proposal_datetime`, `proposal_by`) VALUES ('p-2', '2', '4', '2018-05-25 01:09', '2');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Stockmovment', 'create', 'Stockmovment ID :5', '2', '2018-05-24 10:14:04');
INSERT INTO `stock_movement` (`proposal_code`, `for_store_id`, `from_store_id`, `proposal_datetime`, `proposal_by`) VALUES ('p-0001', '2', '1', '2018-05-25 06:35', '2');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Stockmovment', 'create', 'Stockmovment ID :1', '2', '2018-05-24 10:16:11');
INSERT INTO `language` (`phrase`) VALUES ('proposal_datetime');
UPDATE `language` SET `english` = 'Package Name'
WHERE `phrase` = 'pakage_name';
UPDATE `language` SET `english` = 'Password'
WHERE `phrase` = 'password';
UPDATE `language` SET `english` = 'Payment'
WHERE `phrase` = 'payment';
UPDATE `language` SET `english` = 'You Have No Permission'
WHERE `phrase` = 'permission_error';
UPDATE `language` SET `english` = 'Phone'
WHERE `phrase` = 'phone';
UPDATE `language` SET `english` = 'Please another Product Code!!!'
WHERE `phrase` = 'please_choose_another_p_code';
UPDATE `language` SET `english` = 'Please configure synchronizer settings'
WHERE `phrase` = 'please_configure_synchronizer_settings';
UPDATE `language` SET `english` = 'Please Contact With Admin'
WHERE `phrase` = 'please_contact_with_admin';
UPDATE `language` SET `english` = 'Please Try Again...'
WHERE `phrase` = 'please_try_again';
UPDATE `language` SET `english` = 'Please Wait...'
WHERE `phrase` = 'please_wait';
UPDATE `language` SET `english` = 'Preview'
WHERE `phrase` = 'preview';
UPDATE `language` SET `english` = 'Price'
WHERE `phrase` = 'price';
UPDATE `language` SET `english` = 'Product'
WHERE `phrase` = 'product';
UPDATE `language` SET `english` = 'Product Category'
WHERE `phrase` = 'product_category';
UPDATE `language` SET `english` = 'Product Code'
WHERE `phrase` = 'product_code';
UPDATE `language` SET `english` = 'Product Details'
WHERE `phrase` = 'product_details';
UPDATE `language` SET `english` = 'Product Name'
WHERE `phrase` = 'product_name';
UPDATE `language` SET `english` = 'Profile'
WHERE `phrase` = 'profile';
UPDATE `language` SET `english` = 'Profile Setting'
WHERE `phrase` = 'profile_setting';
UPDATE `language` SET `english` = 'Project Root'
WHERE `phrase` = 'project_root';
UPDATE `language` SET `english` = 'Proposal Code'
WHERE `phrase` = 'proposal_code';
UPDATE `language` SET `english` = 'Proposal Date'
WHERE `phrase` = 'proposal_datetime';
UPDATE `language` SET `english` = 'Proposal QTY'
WHERE `phrase` = 'proposal_qty';
UPDATE `language` SET `english` = 'Puchase Order'
WHERE `phrase` = 'purchase_order';
UPDATE `language` SET `english` = 'Purchase Price'
WHERE `phrase` = 'purchase_price';
INSERT INTO `stock_movement` (`proposal_code`, `for_store_id`, `from_store_id`, `proposal_datetime`, `proposal_by`) VALUES ('p-2', '2', '3', '2018-05-24 07:38', '2');
INSERT INTO `stock_movement_details` (`movement_id`, `product_id`, `proposal_qty`) VALUES (2, '8', '5');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Stockmovment', 'create', 'Stockmovment ID :2', '2', '2018-05-24 10:35:19');
INSERT INTO `product` (`product_id`, `product_name`, `product_code`, `product_details`, `purchase_price`, `block_price`, `minimum_price`, `retail_price`, `createby`, `createdate`, `updateby`, `updatedate`, `isactive`) VALUES ('', 'Orange', 'o-12', 'This is product details', '120', '125', '130', '150', '2', '2018-05-24 10:36:31', '', '', 1);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Product', 'create', 'product ID :10', '2', '2018-05-24 10:36:31');
INSERT INTO `stock_movement` (`proposal_code`, `for_store_id`, `from_store_id`, `proposal_datetime`, `proposal_by`) VALUES ('p-3', '2', '2', '2018-05-24 10:39:27', '2');
INSERT INTO `stock_movement_details` (`movement_id`, `product_id`, `proposal_qty`) VALUES (3, '10', '10');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Stockmovment', 'create', 'Stockmovment ID :3', '2', '2018-05-24 10:39:46');
INSERT INTO `stock_movement` (`proposal_code`, `for_store_id`, `from_store_id`, `proposal_datetime`, `proposal_by`) VALUES ('p-4', '2', '2', '2018-05-24 10:39:51', '2');
INSERT INTO `stock_movement_details` (`movement_id`, `product_id`, `proposal_qty`) VALUES (4, '8', '4');
INSERT INTO `stock_movement_details` (`movement_id`, `product_id`, `proposal_qty`) VALUES (4, '8', '5');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Stockmovment', 'create', 'Stockmovment ID :4', '2', '2018-05-24 10:40:15');
INSERT INTO `stock_movement` (`proposal_code`, `for_store_id`, `from_store_id`, `proposal_datetime`, `proposal_by`) VALUES ('p-5', '2', '3', '2018-05-24 10:46:03', '2');
INSERT INTO `stock_movement` (`proposal_code`, `for_store_id`, `from_store_id`, `proposal_datetime`, `proposal_by`) VALUES ('p-5', '2', '3', '2018-05-24 10:46:03', '2');
INSERT INTO `stock_movement` (`proposal_code`, `for_store_id`, `from_store_id`, `proposal_datetime`, `proposal_by`) VALUES ('p-5', '2', '2', '2018-05-24 10:49:41', '2');
INSERT INTO `stock_movement_details` (`movement_id`, `product_id`, `proposal_qty`) VALUES (7, '10', '33');
INSERT INTO `stock_movement_details` (`movement_id`, `product_id`, `proposal_qty`) VALUES (7, '8', '3');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Stockmovment', 'create', 'Stockmovment ID :7', '2', '2018-05-24 10:50:09');
INSERT INTO `message` (`id`, `sender_id`, `receiver_id`, `subject`, `message`, `datetime`, `sender_status`, `receiver_status`) VALUES (NULL, '2', '9', 'test information', '<p><span xss=removed>dsfsdf</span></p>', '2018-05-24 12:14:42', 1, 0);
UPDATE `user` SET `last_logout` = '2018-05-24 12:14:51'
WHERE `id` = '2';
UPDATE `user` SET `last_login` = '2018-05-24 12:15:24', `ip_address` = '::1'
WHERE `id` = '9';
UPDATE `message` SET `id` = '12', `receiver_status` = 1
WHERE `id` = '12';
UPDATE `message` SET `id` = '12', `receiver_status` = 1
WHERE `id` = '12';
INSERT INTO `message` (`id`, `sender_id`, `receiver_id`, `subject`, `message`, `datetime`, `sender_status`, `receiver_status`) VALUES (NULL, '9', '2', 'dfgdfgdfsg', '<p>dfgsdfgfg</p>', '2018-05-24 12:19:51', 1, 0);
UPDATE `user` SET `last_logout` = '2018-05-24 12:19:54'
WHERE `id` = '9';
UPDATE `user` SET `last_login` = '2018-05-24 12:20:02', `ip_address` = '::1'
WHERE `id` = '2';
UPDATE `message` SET `id` = '13', `receiver_status` = 1
WHERE `id` = '13';
UPDATE `user` SET `last_logout` = '2018-05-24 13:34:03'
WHERE `id` = '2';
UPDATE `user` SET `last_login` = '2018-05-24 13:34:19', `ip_address` = '::1'
WHERE `id` = '9';
UPDATE `user` SET `last_logout` = '2018-05-24 13:34:27'
WHERE `id` = '9';
UPDATE `user` SET `last_login` = '2018-05-24 13:34:34', `ip_address` = '::1'
WHERE `id` = '2';
UPDATE `user` SET `last_login` = '2018-05-26 05:30:06', `ip_address` = '::1'
WHERE `id` = '2';
INSERT INTO `customer` (`customer_id`, `customer_code`, `customer_name`, `customer_phone`, `job_designation`, `customer_address`, `customer_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES (NULL, '1234', 'Habbibullah', '32423', 'Programmar', 'dsfasdf', NULL, 'sdfsadf', 1, '2', '2018-05-26 06:37:16');
INSERT INTO `customer` (`customer_id`, `customer_code`, `customer_name`, `customer_phone`, `job_designation`, `customer_address`, `customer_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES (NULL, '1234', 'Habbibullah', '32423', 'Programmar', 'dsfasdf', NULL, 'sdfsadf', 1, '2', '2018-05-26 06:37:18');
INSERT INTO `customer` (`customer_id`, `customer_code`, `customer_name`, `customer_phone`, `job_designation`, `customer_address`, `customer_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES (NULL, '1234', 'Habbibullah', '32423', 'Programmar', 'dsfasdf', NULL, 'sdfsadf', 1, '2', '2018-05-26 06:37:24');
INSERT INTO `customer` (`customer_id`, `customer_code`, `customer_name`, `customer_phone`, `job_designation`, `customer_address`, `customer_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES (NULL, '23423', 'rrrrrrrrrr', '234234', '234234', 'dsfasd', NULL, 'sadfasdf', 1, '2', '2018-05-26 06:40:20');
INSERT INTO `customer` (`customer_id`, `customer_code`, `customer_name`, `customer_phone`, `job_designation`, `customer_address`, `customer_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES (NULL, '23423', 'rrrrrrrrrr', '234234', '234234', 'dsfasd', NULL, 'sadfasdf', 1, '2', '2018-05-26 06:40:22');
INSERT INTO `customer` (`customer_id`, `customer_code`, `customer_name`, `customer_phone`, `job_designation`, `customer_address`, `customer_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES (NULL, '2342342', '23423', 's234234', 'sdfasdfas', 'dsfsadfas', NULL, 'sdfasdf', 1, '2', '2018-05-26 06:44:35');
INSERT INTO `customer` (`customer_id`, `customer_code`, `customer_name`, `customer_phone`, `job_designation`, `customer_address`, `customer_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES (NULL, '56323', 'Jahangir Alom', '23423432', 'Senior Developer', 'Mpur', NULL, 'dsfasdf', 1, '2', '2018-05-26 06:49:16');
INSERT INTO `customer` (`customer_id`, `customer_code`, `customer_name`, `customer_phone`, `job_designation`, `customer_address`, `customer_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES (NULL, '234234', 'dsfsdf', '23423', 'sdfasdf', '324', NULL, 'sdfasdf', 1, '2', '2018-05-26 06:50:47');
INSERT INTO `customer` (`customer_code`, `customer_name`, `customer_phone`, `job_designation`, `customer_address`, `customer_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('0876343', 'jfss', '34534', 'dfsgsdfg', 'dfgsdfgs', NULL, 'dfsgsdfg', 1, '2', '2018-05-26 06:51:32');
INSERT INTO `customer` (`customer_code`, `customer_name`, `customer_phone`, `job_designation`, `customer_address`, `customer_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('5645645', 'dfgsdfgsdf', '32453453', 'sdfgsdf', 'fdsgdsfg', NULL, 'dfsgsdfg', 1, '2', '2018-05-26 06:52:58');
INSERT INTO `customer` (`customer_code`, `customer_name`, `customer_phone`, `job_designation`, `store_id`, `customer_address`, `customer_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('234234234234', 'asdfsdaf', '76678', 'fdgdsfg', '2', 'dfgsdfg', NULL, 'dfgdsfg', 1, '2', '2018-05-26 06:54:45');
INSERT INTO `customer` (`customer_code`, `customer_name`, `customer_phone`, `job_designation`, `store_id`, `customer_address`, `customer_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('3242332423', 'dsfasdf', '32423423', 'dfgsdfgdsfg', '2', 'dsfsdf', NULL, 'dfgdsfg', 1, '2', '2018-05-26 06:58:14');
INSERT INTO `customer` (`customer_code`, `customer_name`, `customer_phone`, `job_designation`, `store_id`, `customer_address`, `customer_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('3242332423', 'dsfasdf', '32423423', 'dfgsdfgdsfg', '2', 'dsfsdf', NULL, 'dfgdsfg', 1, '2', '2018-05-26 07:01:53');
INSERT INTO `customer` (`customer_code`, `customer_name`, `customer_phone`, `job_designation`, `store_id`, `customer_address`, `customer_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('234234', 'sdfasdf', '234234', 'sdfsad', '2', 'sdfsad', NULL, 'sdfsdf', 1, '2', '2018-05-26 07:02:22');
INSERT INTO `customer` (`customer_code`, `customer_name`, `customer_phone`, `job_designation`, `store_id`, `customer_address`, `customer_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('00076867', 'fgsdfgdsfg', '345345', 'gsdfgfsd', '2', 'fdgsdfg', NULL, 'dfgsdf', 1, '2', '2018-05-26 07:06:12');
INSERT INTO `customer` (`customer_code`, `customer_name`, `customer_phone`, `job_designation`, `store_id`, `customer_address`, `customer_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('00076867', 'fgsdfgdsfg', '345345', 'gsdfgfsd', '2', 'fdgsdfg', '345345', 'dfgsdf', 1, '2', '2018-05-26 07:06:59');
INSERT INTO `customer` (`customer_code`, `customer_name`, `customer_phone`, `job_designation`, `store_id`, `customer_address`, `customer_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('11111', 'Imran Hossain', '234235', 'Chairman', '2', 'dhaka', '7674564', 'dsfsadf', 1, '2', '2018-05-26 07:18:40');
INSERT INTO `customer` (`customer_code`, `customer_name`, `customer_phone`, `job_designation`, `store_id`, `customer_address`, `customer_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('23423', 'dfgsdfg', '345345', 'dfgsdfg', '2', 'dsfdfg', '56546456', 'dfgsdfg', 1, '2', '2018-05-26 07:21:07');
INSERT INTO `customer` (`customer_code`, `customer_name`, `customer_phone`, `job_designation`, `store_id`, `customer_address`, `customer_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('23423', 'dfgsdfg', '345345', 'dfgsdfg', '2', 'dsfdfg', '56546456', 'dfgsdfg', 1, '2', '2018-05-26 07:23:02');
INSERT INTO `customer` (`customer_code`, `customer_name`, `customer_phone`, `job_designation`, `store_id`, `customer_address`, `customer_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('999999', '45345345', 'dft435345', '34534', '2', '345345', '534543', '345345', 1, '2', '2018-05-26 07:23:20');
INSERT INTO `customer` (`customer_code`, `customer_name`, `customer_phone`, `job_designation`, `store_id`, `customer_address`, `customer_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('324234234234', 'dfsdfsadfa', '5345', 'fgsdfgd', '2', 'dfgsdfg', '5464567', 'dfgsdfg', 1, '2', '2018-05-26 07:24:56');
INSERT INTO `customer` (`customer_code`, `customer_name`, `customer_phone`, `job_designation`, `store_id`, `customer_address`, `customer_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('4534666666', 'jakir', '324234', 'sdfsadf', '2', 'fsadf', '23423', 'sdfsadf', 1, '2', '2018-05-26 07:26:58');
INSERT INTO `customer` (`customer_code`, `customer_name`, `customer_phone`, `job_designation`, `store_id`, `customer_address`, `customer_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('23423423423', 'dsfsadfas', '234234', 'sdfasd', '2', 'dfsdf', '324234234', 'sdfasdf', 1, '2', '2018-05-26 07:28:33');
INSERT INTO `customer` (`customer_code`, `customer_name`, `customer_phone`, `job_designation`, `store_id`, `customer_address`, `customer_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('23423423423', 'dsfsadfas', '234234', 'sdfasd', '2', 'dfsdf', '324234234', 'sdfasdf', 1, '2', '2018-05-26 07:30:09');
INSERT INTO `customer` (`customer_code`, `customer_name`, `customer_phone`, `job_designation`, `store_id`, `customer_address`, `customer_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('675756345', 'fdgsdfg', '676545', 'dfgsdf', '2', 'dfgsdfg', '56454645', 'dfgsdfg', 1, '2', '2018-05-26 07:30:30');
INSERT INTO `gurrantor` (`gurrantor_id`, `gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES (NULL, '2342', 'dsfsadfasd', '234234', '2', 'asdfasd', 'sdfasd', '234234', 'sdfasdf', 1, '2', '2018-05-26 07:32:16');
INSERT INTO `customer` (`customer_code`, `customer_name`, `customer_phone`, `job_designation`, `store_id`, `customer_address`, `customer_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('23423423', 'gdsg5sdf', '534534', '34534', '2', '34534', '345345', '34534', 1, '2', '2018-05-26 07:33:51');
INSERT INTO `customer` (`customer_code`, `customer_name`, `customer_phone`, `job_designation`, `store_id`, `customer_address`, `customer_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('09876', 'Hamidur', '0454', 'Developer', '2', 'pak', '15454', 'dfsadjflk', 1, '2', '2018-05-26 07:34:36');
INSERT INTO `customer` (`customer_code`, `customer_name`, `customer_phone`, `job_designation`, `store_id`, `customer_address`, `customer_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('8765655', 'Mubins', '34342', '324234', '2', 'Mpur', '87393', 'sdfsdaf', 1, '2', '2018-05-26 07:39:56');
INSERT INTO `customer` (`customer_code`, `customer_name`, `customer_phone`, `job_designation`, `store_id`, `customer_address`, `customer_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('8765655', 'Mubins', '34342', '324234', '2', 'Mpur', '87393', 'sdfsdaf', 1, '2', '2018-05-26 07:39:58');
INSERT INTO `customer` (`customer_code`, `customer_name`, `customer_phone`, `job_designation`, `store_id`, `customer_address`, `customer_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('8765655', 'Mubins', '34342', '324234', '2', 'Mpur', '87393', 'sdfsdaf', 1, '2', '2018-05-26 07:41:40');
INSERT INTO `customer` (`customer_code`, `customer_name`, `customer_phone`, `job_designation`, `store_id`, `customer_address`, `customer_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('3424234234', 'Mans', '234234', '24234', '2', 'sdfasdf', '423423', 'sdfasdf', 1, '2', '2018-05-26 07:42:06');
INSERT INTO `customer` (`customer_code`, `customer_name`, `customer_phone`, `job_designation`, `store_id`, `customer_address`, `customer_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('3424234234', 'Mans', '234234', '24234', '2', 'sdfasdf', '423423', 'sdfasdf', 1, '2', '2018-05-26 07:42:07');
INSERT INTO `customer` (`customer_code`, `customer_name`, `customer_phone`, `job_designation`, `store_id`, `customer_address`, `customer_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('45345345', 'jkfdsdfgsdf', '34534534', 'dfgsdfgsdfg', '2', 'dfgsdfgsdf', '345345', 'dfsgdfg', 1, '2', '2018-05-26 07:45:19');
INSERT INTO `customer` (`customer_code`, `customer_name`, `customer_phone`, `job_designation`, `store_id`, `customer_address`, `customer_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('3423423', 'Sumon', '234234', 'sadfasdf', '2', 'dsfsadfasd', '234234324234', 'sdfasdf', 1, '2', '2018-05-26 07:47:32');
INSERT INTO `customer` (`customer_code`, `customer_name`, `customer_phone`, `job_designation`, `store_id`, `customer_address`, `customer_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('00234', 'Motiur', '23434234', 'Chairman', '2', 'Mirpur', '546546435', 'dsfasdf', 1, '2', '2018-05-26 07:49:50');
INSERT INTO `sales_parent` (`sale_id`, `invoice_no`, `customer_id`, `sale_type_id`, `store_id`, `salesman`, `sales_date`, `sales_time`, `gurrantor_1`, `gurrantor_2`, `advance_amnt`, `lease_id`, `inquiry_officer`, `total_amnt`) VALUES ('20180526075013', '1024', '22', '1', '2', '2', '2018-05-26', '07:50:13', NULL, NULL, NULL, NULL, NULL, '110.00');
INSERT INTO `payment_collection` (`sale_id`, `invoice_no`, `customer_id`, `paid_amnt`, `due_amnt`, `receive_by`, `payment_date`) VALUES ('20180526075013', '1024', '22', '110.00', NULL, '2', '2018-05-26');
INSERT INTO `sale_details` (`sale_id`, `product_id`, `qty`, `sell_price`, `sale_type_id`) VALUES ('20180526075013', '7', '2', '55', '1');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Sales', 'create', 'invoice_no-1024 total amount-110.00', '2', '2018-05-26 07:50:13');
INSERT INTO `customer` (`customer_code`, `customer_name`, `customer_phone`, `job_designation`, `store_id`, `customer_address`, `customer_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('565443', 'Test customer', '324234234', 'hj', '2', 'asddfasdf', '325324523', 'sdf', 1, '2', '2018-05-26 07:58:04');
INSERT INTO `sales_parent` (`sale_id`, `invoice_no`, `customer_id`, `sale_type_id`, `store_id`, `salesman`, `sales_date`, `sales_time`, `gurrantor_1`, `gurrantor_2`, `advance_amnt`, `lease_id`, `inquiry_officer`, `total_amnt`) VALUES ('20180526075847', '1024', '23', '1', '2', '2', '2018-05-26', '07:58:47', NULL, NULL, NULL, NULL, NULL, '105.00');
INSERT INTO `payment_collection` (`sale_id`, `invoice_no`, `customer_id`, `paid_amnt`, `due_amnt`, `receive_by`, `payment_date`) VALUES ('20180526075847', '1024', '23', '105.00', NULL, '2', '2018-05-26');
INSERT INTO `sale_details` (`sale_id`, `product_id`, `qty`, `sell_price`, `sale_type_id`) VALUES ('20180526075847', '6', '3', '35', '1');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Sales', 'create', 'invoice_no-1024 total amount-105.00', '2', '2018-05-26 07:58:47');
INSERT INTO `sales_parent` (`sale_id`, `invoice_no`, `customer_id`, `sale_type_id`, `store_id`, `salesman`, `sales_date`, `sales_time`, `gurrantor_1`, `gurrantor_2`, `advance_amnt`, `lease_id`, `inquiry_officer`, `total_amnt`) VALUES ('20180526075919', '1024', '14', '1', '2', '2', '2018-05-26', '07:59:19', NULL, NULL, NULL, NULL, NULL, '175.00');
INSERT INTO `payment_collection` (`sale_id`, `invoice_no`, `customer_id`, `paid_amnt`, `due_amnt`, `receive_by`, `payment_date`) VALUES ('20180526075919', '1024', '14', '175.00', NULL, '2', '2018-05-26');
INSERT INTO `sale_details` (`sale_id`, `product_id`, `qty`, `sell_price`, `sale_type_id`) VALUES ('20180526075919', '6', '5', '35', '1');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Sales', 'create', 'invoice_no-1024 total amount-175.00', '2', '2018-05-26 07:59:19');
INSERT INTO `sales_parent` (`sale_id`, `invoice_no`, `customer_id`, `sale_type_id`, `store_id`, `salesman`, `sales_date`, `sales_time`, `gurrantor_1`, `gurrantor_2`, `advance_amnt`, `lease_id`, `inquiry_officer`, `total_amnt`) VALUES ('20180526080040', '1024', '1', '1', '2', '2', '2018-05-26', '08:00:40', NULL, NULL, NULL, NULL, NULL, '105.00');
INSERT INTO `payment_collection` (`sale_id`, `invoice_no`, `customer_id`, `paid_amnt`, `due_amnt`, `receive_by`, `payment_date`) VALUES ('20180526080040', '1024', '1', '105.00', NULL, '2', '2018-05-26');
INSERT INTO `sale_details` (`sale_id`, `product_id`, `qty`, `sell_price`, `sale_type_id`) VALUES ('20180526080040', '6', '3', '35', '1');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Sales', 'create', 'invoice_no-1024 total amount-105.00', '2', '2018-05-26 08:00:40');
INSERT INTO `sales_parent` (`sale_id`, `invoice_no`, `customer_id`, `sale_type_id`, `store_id`, `salesman`, `sales_date`, `sales_time`, `gurrantor_1`, `gurrantor_2`, `advance_amnt`, `lease_id`, `inquiry_officer`, `total_amnt`) VALUES ('20180526080055', '1024', '1', '1', '2', '2', '2018-05-26', '08:00:55', NULL, NULL, NULL, NULL, NULL, '105.00');
INSERT INTO `payment_collection` (`sale_id`, `invoice_no`, `customer_id`, `paid_amnt`, `due_amnt`, `receive_by`, `payment_date`) VALUES ('20180526080055', '1024', '1', '105.00', NULL, '2', '2018-05-26');
INSERT INTO `sale_details` (`sale_id`, `product_id`, `qty`, `sell_price`, `sale_type_id`) VALUES ('20180526080055', '6', '3', '35', '1');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Sales', 'create', 'invoice_no-1024 total amount-105.00', '2', '2018-05-26 08:00:55');
INSERT INTO `sales_parent` (`sale_id`, `invoice_no`, `customer_id`, `sale_type_id`, `store_id`, `salesman`, `sales_date`, `sales_time`, `gurrantor_1`, `gurrantor_2`, `advance_amnt`, `lease_id`, `inquiry_officer`, `total_amnt`) VALUES ('20180526080229', '1024', '1', '1', '2', '2', '2018-05-26', '08:02:29', NULL, NULL, NULL, NULL, NULL, '70.00');
INSERT INTO `payment_collection` (`sale_id`, `invoice_no`, `customer_id`, `paid_amnt`, `due_amnt`, `receive_by`, `payment_date`) VALUES ('20180526080229', '1024', '1', '70.00', NULL, '2', '2018-05-26');
INSERT INTO `sale_details` (`sale_id`, `product_id`, `qty`, `sell_price`, `sale_type_id`) VALUES ('20180526080229', '6', '2', '35', '1');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Sales', 'create', 'invoice_no-1024 total amount-70.00', '2', '2018-05-26 08:02:29');
INSERT INTO `sales_parent` (`sale_id`, `invoice_no`, `customer_id`, `sale_type_id`, `store_id`, `salesman`, `sales_date`, `sales_time`, `gurrantor_1`, `gurrantor_2`, `advance_amnt`, `lease_id`, `inquiry_officer`, `total_amnt`) VALUES ('20180526082556', '1024', '2', '2', '2', '2', '2018-05-26', '08:25:56', NULL, NULL, NULL, NULL, NULL, '70.00');
INSERT INTO `payment_collection` (`sale_id`, `invoice_no`, `customer_id`, `paid_amnt`, `due_amnt`, `receive_by`, `payment_date`) VALUES ('20180526082556', '1024', '2', '60', '10.00', '2', '2018-05-26');
INSERT INTO `sale_details` (`sale_id`, `product_id`, `qty`, `sell_price`, `sale_type_id`) VALUES ('20180526082556', '6', '2', '35', '2');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Sales', 'create', 'invoice_no-1024 total amount-70.00', '2', '2018-05-26 08:25:56');
INSERT INTO `sales_parent` (`sale_id`, `invoice_no`, `customer_id`, `sale_type_id`, `store_id`, `salesman`, `sales_date`, `sales_time`, `gurrantor_1`, `gurrantor_2`, `advance_amnt`, `lease_id`, `inquiry_officer`, `total_amnt`) VALUES ('20180526082632', '1024', '1', '3', '2', '2', '2018-05-26', '08:26:32', '8', '10', '69.3', '3', '2', '70.00');
INSERT INTO `payment_collection` (`sale_id`, `invoice_no`, `customer_id`, `paid_amnt`, `due_amnt`, `receive_by`, `payment_date`) VALUES ('20180526082632', '1024', '1', '70.00', '0.70', '2', '2018-05-26');
INSERT INTO `customer_gurrantor_map` (`lease_id`, `customer_id`, `gurrantor_id`) VALUES ('3', '1', '8');
INSERT INTO `customer_gurrantor_map` (`lease_id`, `customer_id`, `gurrantor_id`) VALUES ('3', '1', '10');
INSERT INTO `sale_details` (`sale_id`, `product_id`, `qty`, `sell_price`, `sale_type_id`) VALUES ('20180526082632', '6', '2', '35', '3');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Sales', 'create', 'invoice_no-1024 total amount-70.00', '2', '2018-05-26 08:26:32');
UPDATE `user` SET `last_login` = '2018-05-26 10:28:47', `ip_address` = '::1'
WHERE `id` = '2';
INSERT INTO `language` (`phrase`) VALUES ('product_info');
UPDATE `language` SET `english` = 'Package Name'
WHERE `phrase` = 'pakage_name';
UPDATE `language` SET `english` = 'Password'
WHERE `phrase` = 'password';
UPDATE `language` SET `english` = 'Payment'
WHERE `phrase` = 'payment';
UPDATE `language` SET `english` = 'You Have No Permission'
WHERE `phrase` = 'permission_error';
UPDATE `language` SET `english` = 'Phone'
WHERE `phrase` = 'phone';
UPDATE `language` SET `english` = 'Please another Product Code!!!'
WHERE `phrase` = 'please_choose_another_p_code';
UPDATE `language` SET `english` = 'Please configure synchronizer settings'
WHERE `phrase` = 'please_configure_synchronizer_settings';
UPDATE `language` SET `english` = 'Please Contact With Admin'
WHERE `phrase` = 'please_contact_with_admin';
UPDATE `language` SET `english` = 'Please Try Again...'
WHERE `phrase` = 'please_try_again';
UPDATE `language` SET `english` = 'Please Wait...'
WHERE `phrase` = 'please_wait';
UPDATE `language` SET `english` = 'Preview'
WHERE `phrase` = 'preview';
UPDATE `language` SET `english` = 'Price'
WHERE `phrase` = 'price';
UPDATE `language` SET `english` = 'Product'
WHERE `phrase` = 'product';
UPDATE `language` SET `english` = 'Product Category'
WHERE `phrase` = 'product_category';
UPDATE `language` SET `english` = 'Product Code'
WHERE `phrase` = 'product_code';
UPDATE `language` SET `english` = 'Product Details'
WHERE `phrase` = 'product_details';
UPDATE `language` SET `english` = 'Product Info'
WHERE `phrase` = 'product_info';
UPDATE `language` SET `english` = 'Product Name'
WHERE `phrase` = 'product_name';
UPDATE `language` SET `english` = 'Profile'
WHERE `phrase` = 'profile';
UPDATE `language` SET `english` = 'Profile Setting'
WHERE `phrase` = 'profile_setting';
UPDATE `language` SET `english` = 'Project Root'
WHERE `phrase` = 'project_root';
UPDATE `language` SET `english` = 'Proposal Code'
WHERE `phrase` = 'proposal_code';
UPDATE `language` SET `english` = 'Proposal Date'
WHERE `phrase` = 'proposal_datetime';
UPDATE `language` SET `english` = 'Proposal QTY'
WHERE `phrase` = 'proposal_qty';
UPDATE `language` SET `english` = 'Puchase Order'
WHERE `phrase` = 'purchase_order';
INSERT INTO `product_category` (`category_id`, `category_name`, `isactive`) VALUES ('', 'Test', 1);
INSERT INTO `language` (`phrase`) VALUES ('category_list');
UPDATE `language` SET `english` = 'Backup Date'
WHERE `phrase` = 'backup_date';
UPDATE `language` SET `english` = 'Backup Now!'
WHERE `phrase` = 'backup_now';
UPDATE `language` SET `english` = 'Backup Successfully'
WHERE `phrase` = 'backup_successfully';
UPDATE `language` SET `english` = 'Block Price'
WHERE `phrase` = 'block_price';
UPDATE `language` SET `english` = 'Business Address'
WHERE `phrase` = 'business_address';
UPDATE `language` SET `english` = 'Captcha Word'
WHERE `phrase` = 'captcha';
UPDATE `language` SET `english` = 'NID'
WHERE `phrase` = 'cardno';
UPDATE `language` SET `english` = 'Cash Sale'
WHERE `phrase` = 'cashsale';
UPDATE `language` SET `english` = 'Cash Sale List'
WHERE `phrase` = 'cash_sale_list';
UPDATE `language` SET `english` = 'Category'
WHERE `phrase` = 'category';
UPDATE `language` SET `english` = 'Category List'
WHERE `phrase` = 'category_list';
UPDATE `language` SET `english` = 'Category Name'
WHERE `phrase` = 'category_name';
UPDATE `language` SET `english` = 'Checked By'
WHERE `phrase` = 'checked_by';
UPDATE `language` SET `english` = 'Check_receive'
WHERE `phrase` = 'check_receive';
UPDATE `language` SET `english` = 'Create'
WHERE `phrase` = 'create';
UPDATE `language` SET `english` = 'Create User Role'
WHERE `phrase` = 'create_user_role';
UPDATE `language` SET `english` = 'Credit Sale List'
WHERE `phrase` = 'credit_sale_list';
UPDATE `language` SET `english` = 'Customer'
WHERE `phrase` = 'customer';
UPDATE `language` SET `english` = 'Customer CNC'
WHERE `phrase` = 'customer_cnic';
UPDATE `language` SET `english` = 'Customer Code'
WHERE `phrase` = 'customer_code';
UPDATE `language` SET `english` = 'Customer Name'
WHERE `phrase` = 'customer_name';
UPDATE `language` SET `english` = 'Dashboard'
WHERE `phrase` = 'dashboard';
UPDATE `language` SET `english` = 'Database Backup'
WHERE `phrase` = 'database_backup';
UPDATE `language` SET `english` = 'Data Import First'
WHERE `phrase` = 'data_import_first';
UPDATE `language` SET `english` = 'Data Import Successfully!'
WHERE `phrase` = 'data_import_successfully';
UPDATE `product_category` SET `category_id` = '1', `isactive` = 1
WHERE `category_id` = '1';
UPDATE `product_category` SET `category_id` = '1', `isactive` = 1
WHERE `category_id` = '1';
INSERT INTO `language` (`phrase`) VALUES ('add_product');
INSERT INTO `language` (`phrase`) VALUES ('product_list');
UPDATE `language` SET `english` = 'A'
WHERE `phrase` = 'a';
UPDATE `language` SET `english` = 'About'
WHERE `phrase` = 'about';
UPDATE `language` SET `english` = 'Action'
WHERE `phrase` = 'action';
UPDATE `language` SET `english` = 'Active'
WHERE `phrase` = 'active';
UPDATE `language` SET `english` = 'Add '
WHERE `phrase` = 'add';
UPDATE `language` SET `english` = 'Address'
WHERE `phrase` = 'address';
UPDATE `language` SET `english` = 'Add Module'
WHERE `phrase` = 'add_module';
UPDATE `language` SET `english` = 'Add Module Permission'
WHERE `phrase` = 'add_module_permission';
UPDATE `language` SET `english` = 'Add New Product'
WHERE `phrase` = 'add_new_item';
UPDATE `language` SET `english` = 'Add Product'
WHERE `phrase` = 'add_product';
UPDATE `language` SET `english` = 'Add Role'
WHERE `phrase` = 'add_role';
UPDATE `language` SET `english` = 'Add Role Permission'
WHERE `phrase` = 'add_role_permission';
UPDATE `language` SET `english` = 'Add Store'
WHERE `phrase` = 'add_store';
UPDATE `language` SET `english` = 'Add User'
WHERE `phrase` = 'add_user';
UPDATE `language` SET `english` = 'Add User Role'
WHERE `phrase` = 'add_user_role';
UPDATE `language` SET `english` = 'Add Warehouse'
WHERE `phrase` = 'add_warehouse';
UPDATE `language` SET `english` = 'Admin'
WHERE `phrase` = 'admin';
UPDATE `language` SET `english` = 'Advance'
WHERE `phrase` = 'advance';
UPDATE `language` SET `english` = 'Advance amount'
WHERE `phrase` = 'advance_amount';
UPDATE `language` SET `english` = 'Application Setting'
WHERE `phrase` = 'application_setting';
UPDATE `language` SET `english` = 'Application Title'
WHERE `phrase` = 'application_title';
UPDATE `language` SET `english` = 'Approve'
WHERE `phrase` = 'approved';
UPDATE `language` SET `english` = 'Are You Sure ? '
WHERE `phrase` = 'are_you_sure';
UPDATE `language` SET `english` = 'Assign Role'
WHERE `phrase` = 'assign_role';
UPDATE `language` SET `english` = 'Available'
WHERE `phrase` = 'available';
UPDATE `language` SET `english` = 'Paid Amount'
WHERE `phrase` = 'paid_amount';
UPDATE `language` SET `english` = 'Package  Code'
WHERE `phrase` = 'pakage_code';
UPDATE `language` SET `english` = 'Package Name'
WHERE `phrase` = 'pakage_name';
UPDATE `language` SET `english` = 'Password'
WHERE `phrase` = 'password';
UPDATE `language` SET `english` = 'Payment'
WHERE `phrase` = 'payment';
UPDATE `language` SET `english` = 'You Have No Permission'
WHERE `phrase` = 'permission_error';
UPDATE `language` SET `english` = 'Phone'
WHERE `phrase` = 'phone';
UPDATE `language` SET `english` = 'Please another Product Code!!!'
WHERE `phrase` = 'please_choose_another_p_code';
UPDATE `language` SET `english` = 'Please configure synchronizer settings'
WHERE `phrase` = 'please_configure_synchronizer_settings';
UPDATE `language` SET `english` = 'Please Contact With Admin'
WHERE `phrase` = 'please_contact_with_admin';
UPDATE `language` SET `english` = 'Please Try Again...'
WHERE `phrase` = 'please_try_again';
UPDATE `language` SET `english` = 'Please Wait...'
WHERE `phrase` = 'please_wait';
UPDATE `language` SET `english` = 'Preview'
WHERE `phrase` = 'preview';
UPDATE `language` SET `english` = 'Price'
WHERE `phrase` = 'price';
UPDATE `language` SET `english` = 'Product'
WHERE `phrase` = 'product';
UPDATE `language` SET `english` = 'Product Category'
WHERE `phrase` = 'product_category';
UPDATE `language` SET `english` = 'Product Code'
WHERE `phrase` = 'product_code';
UPDATE `language` SET `english` = 'Product Details'
WHERE `phrase` = 'product_details';
UPDATE `language` SET `english` = 'Product Info'
WHERE `phrase` = 'product_info';
UPDATE `language` SET `english` = 'Product List'
WHERE `phrase` = 'product_list';
UPDATE `language` SET `english` = 'Product Name'
WHERE `phrase` = 'product_name';
UPDATE `language` SET `english` = 'Profile'
WHERE `phrase` = 'profile';
UPDATE `language` SET `english` = 'Profile Setting'
WHERE `phrase` = 'profile_setting';
UPDATE `language` SET `english` = 'Project Root'
WHERE `phrase` = 'project_root';
UPDATE `language` SET `english` = 'Proposal Code'
WHERE `phrase` = 'proposal_code';
INSERT INTO `language` (`phrase`) VALUES ('model_name');
INSERT INTO `language` (`phrase`) VALUES ('model');
UPDATE `language` SET `english` = 'Markup'
WHERE `phrase` = 'markup';
UPDATE `language` SET `english` = 'Message'
WHERE `phrase` = 'message';
UPDATE `language` SET `english` = 'Message Details'
WHERE `phrase` = 'message_details';
UPDATE `language` SET `english` = 'Message Sent!'
WHERE `phrase` = 'message_sent';
UPDATE `language` SET `english` = 'Minimum Price'
WHERE `phrase` = 'minimum_price';
UPDATE `language` SET `english` = 'Model'
WHERE `phrase` = 'model';
UPDATE `language` SET `english` = 'Model Name'
WHERE `phrase` = 'model_name';
UPDATE `language` SET `english` = 'Module'
WHERE `phrase` = 'module';
UPDATE `language` SET `english` = 'Module Added Successfully'
WHERE `phrase` = 'module_added_successfully';
UPDATE `language` SET `english` = 'Module List'
WHERE `phrase` = 'module_list';
UPDATE `language` SET `english` = 'Module Name'
WHERE `phrase` = 'module_name';
UPDATE `language` SET `english` = 'Module Permission'
WHERE `phrase` = 'module_permission';
UPDATE `language` SET `english` = 'Module Permission Added Successfully!'
WHERE `phrase` = 'module_permission_added_successfully';
UPDATE `language` SET `english` = 'Module Permission List'
WHERE `phrase` = 'module_permission_list';
UPDATE `language` SET `english` = 'Name'
WHERE `phrase` = 'name';
UPDATE `language` SET `english` = 'New'
WHERE `phrase` = 'new';
UPDATE `language` SET `english` = 'New Enquiry'
WHERE `phrase` = 'new_enquiry';
UPDATE `language` SET `english` = 'New Message'
WHERE `phrase` = 'new_message';
UPDATE `language` SET `english` = 'Not Available'
WHERE `phrase` = 'not_available';
UPDATE `language` SET `english` = 'No tables are registerd in config.php'
WHERE `phrase` = 'no_tables_are_registered_in_config';
UPDATE `language` SET `english` = 'Ok'
WHERE `phrase` = 'ok';
UPDATE `language` SET `english` = ' Ooops something went wrong...'
WHERE `phrase` = 'ooops_something_went_wrong';
UPDATE `language` SET `english` = 'Order Date'
WHERE `phrase` = 'order_date';
UPDATE `language` SET `english` = 'Order NO'
WHERE `phrase` = 'order_no';
UPDATE `language` SET `english` = 'Order QTY'
WHERE `phrase` = 'order_qty';
INSERT INTO `product_model` (`model_id`, `model_name`, `isactive`) VALUES ('', 'Test Model', 1);
UPDATE `product_model` SET `model_id` = '1', `isactive` = 1
WHERE `model_id` = '1';
UPDATE `product_model` SET `model_id` = '1', `isactive` = 1
WHERE `model_id` = '1';
INSERT INTO `language` (`phrase`) VALUES ('add_model');
UPDATE `language` SET `english` = 'A'
WHERE `phrase` = 'a';
UPDATE `language` SET `english` = 'About'
WHERE `phrase` = 'about';
UPDATE `language` SET `english` = 'Action'
WHERE `phrase` = 'action';
UPDATE `language` SET `english` = 'Active'
WHERE `phrase` = 'active';
UPDATE `language` SET `english` = 'Add '
WHERE `phrase` = 'add';
UPDATE `language` SET `english` = 'Address'
WHERE `phrase` = 'address';
UPDATE `language` SET `english` = 'Add Model'
WHERE `phrase` = 'add_model';
UPDATE `language` SET `english` = 'Add Module'
WHERE `phrase` = 'add_module';
UPDATE `language` SET `english` = 'Add Module Permission'
WHERE `phrase` = 'add_module_permission';
UPDATE `language` SET `english` = 'Add New Product'
WHERE `phrase` = 'add_new_item';
UPDATE `language` SET `english` = 'Add Product'
WHERE `phrase` = 'add_product';
UPDATE `language` SET `english` = 'Add Role'
WHERE `phrase` = 'add_role';
UPDATE `language` SET `english` = 'Add Role Permission'
WHERE `phrase` = 'add_role_permission';
UPDATE `language` SET `english` = 'Add Store'
WHERE `phrase` = 'add_store';
UPDATE `language` SET `english` = 'Add User'
WHERE `phrase` = 'add_user';
UPDATE `language` SET `english` = 'Add User Role'
WHERE `phrase` = 'add_user_role';
UPDATE `language` SET `english` = 'Add Warehouse'
WHERE `phrase` = 'add_warehouse';
UPDATE `language` SET `english` = 'Admin'
WHERE `phrase` = 'admin';
UPDATE `language` SET `english` = 'Advance'
WHERE `phrase` = 'advance';
UPDATE `language` SET `english` = 'Advance amount'
WHERE `phrase` = 'advance_amount';
UPDATE `language` SET `english` = 'Application Setting'
WHERE `phrase` = 'application_setting';
UPDATE `language` SET `english` = 'Application Title'
WHERE `phrase` = 'application_title';
UPDATE `language` SET `english` = 'Approve'
WHERE `phrase` = 'approved';
UPDATE `language` SET `english` = 'Are You Sure ? '
WHERE `phrase` = 'are_you_sure';
UPDATE `language` SET `english` = 'Assign Role'
WHERE `phrase` = 'assign_role';
INSERT INTO `language` (`phrase`) VALUES ('brand');
UPDATE `language` SET `english` = 'Available'
WHERE `phrase` = 'available';
UPDATE `language` SET `english` = 'Backup and Restore'
WHERE `phrase` = 'backup_and_restore';
UPDATE `language` SET `english` = 'Backup Date'
WHERE `phrase` = 'backup_date';
UPDATE `language` SET `english` = 'Backup Now!'
WHERE `phrase` = 'backup_now';
UPDATE `language` SET `english` = 'Backup Successfully'
WHERE `phrase` = 'backup_successfully';
UPDATE `language` SET `english` = 'Block Price'
WHERE `phrase` = 'block_price';
UPDATE `language` SET `english` = 'Brand'
WHERE `phrase` = 'brand';
UPDATE `language` SET `english` = 'Business Address'
WHERE `phrase` = 'business_address';
UPDATE `language` SET `english` = 'Captcha Word'
WHERE `phrase` = 'captcha';
UPDATE `language` SET `english` = 'NID'
WHERE `phrase` = 'cardno';
UPDATE `language` SET `english` = 'Cash Sale'
WHERE `phrase` = 'cashsale';
UPDATE `language` SET `english` = 'Cash Sale List'
WHERE `phrase` = 'cash_sale_list';
UPDATE `language` SET `english` = 'Category'
WHERE `phrase` = 'category';
UPDATE `language` SET `english` = 'Category List'
WHERE `phrase` = 'category_list';
UPDATE `language` SET `english` = 'Category Name'
WHERE `phrase` = 'category_name';
UPDATE `language` SET `english` = 'Checked By'
WHERE `phrase` = 'checked_by';
UPDATE `language` SET `english` = 'Check_receive'
WHERE `phrase` = 'check_receive';
UPDATE `language` SET `english` = 'Create'
WHERE `phrase` = 'create';
UPDATE `language` SET `english` = 'Create User Role'
WHERE `phrase` = 'create_user_role';
UPDATE `language` SET `english` = 'Credit Sale List'
WHERE `phrase` = 'credit_sale_list';
UPDATE `language` SET `english` = 'Customer'
WHERE `phrase` = 'customer';
UPDATE `language` SET `english` = 'Customer CNC'
WHERE `phrase` = 'customer_cnic';
UPDATE `language` SET `english` = 'Customer Code'
WHERE `phrase` = 'customer_code';
UPDATE `language` SET `english` = 'Customer Name'
WHERE `phrase` = 'customer_name';
UPDATE `language` SET `english` = 'Dashboard'
WHERE `phrase` = 'dashboard';
INSERT INTO `language` (`phrase`) VALUES ('brand_name');
INSERT INTO `language` (`phrase`) VALUES ('brand_list');
UPDATE `language` SET `english` = 'Available'
WHERE `phrase` = 'available';
UPDATE `language` SET `english` = 'Backup and Restore'
WHERE `phrase` = 'backup_and_restore';
UPDATE `language` SET `english` = 'Backup Date'
WHERE `phrase` = 'backup_date';
UPDATE `language` SET `english` = 'Backup Now!'
WHERE `phrase` = 'backup_now';
UPDATE `language` SET `english` = 'Backup Successfully'
WHERE `phrase` = 'backup_successfully';
UPDATE `language` SET `english` = 'Block Price'
WHERE `phrase` = 'block_price';
UPDATE `language` SET `english` = 'Brand'
WHERE `phrase` = 'brand';
UPDATE `language` SET `english` = 'Brand List'
WHERE `phrase` = 'brand_list';
UPDATE `language` SET `english` = 'Brand Name'
WHERE `phrase` = 'brand_name';
UPDATE `language` SET `english` = 'Business Address'
WHERE `phrase` = 'business_address';
UPDATE `language` SET `english` = 'Captcha Word'
WHERE `phrase` = 'captcha';
UPDATE `language` SET `english` = 'NID'
WHERE `phrase` = 'cardno';
UPDATE `language` SET `english` = 'Cash Sale'
WHERE `phrase` = 'cashsale';
UPDATE `language` SET `english` = 'Cash Sale List'
WHERE `phrase` = 'cash_sale_list';
UPDATE `language` SET `english` = 'Category'
WHERE `phrase` = 'category';
UPDATE `language` SET `english` = 'Category List'
WHERE `phrase` = 'category_list';
UPDATE `language` SET `english` = 'Category Name'
WHERE `phrase` = 'category_name';
UPDATE `language` SET `english` = 'Checked By'
WHERE `phrase` = 'checked_by';
UPDATE `language` SET `english` = 'Check_receive'
WHERE `phrase` = 'check_receive';
UPDATE `language` SET `english` = 'Create'
WHERE `phrase` = 'create';
UPDATE `language` SET `english` = 'Create User Role'
WHERE `phrase` = 'create_user_role';
UPDATE `language` SET `english` = 'Credit Sale List'
WHERE `phrase` = 'credit_sale_list';
UPDATE `language` SET `english` = 'Customer'
WHERE `phrase` = 'customer';
UPDATE `language` SET `english` = 'Customer CNC'
WHERE `phrase` = 'customer_cnic';
UPDATE `language` SET `english` = 'Customer Code'
WHERE `phrase` = 'customer_code';
INSERT INTO `product_brand` (`brand_id`, `brand_name`, `isactive`) VALUES ('', 'Test Brand', 1);
UPDATE `product_brand` SET `brand_id` = '1', `isactive` = 1
WHERE `brand_id` = '1';
UPDATE `product_brand` SET `brand_id` = '1', `isactive` = 1
WHERE `brand_id` = '1';
INSERT INTO `product_brand` (`brand_id`, `brand_name`, `isactive`) VALUES ('', 'sdf', 1);
DELETE FROM `product_brand`
WHERE `brand_id` = '2';
INSERT INTO `language` (`phrase`) VALUES ('unit_name');
INSERT INTO `language` (`phrase`) VALUES ('unit');
INSERT INTO `language` (`phrase`) VALUES ('add_unit');
INSERT INTO `language` (`phrase`) VALUES ('unit_list');
UPDATE `language` SET `english` = 'A'
WHERE `phrase` = 'a';
UPDATE `language` SET `english` = 'About'
WHERE `phrase` = 'about';
UPDATE `language` SET `english` = 'Action'
WHERE `phrase` = 'action';
UPDATE `language` SET `english` = 'Active'
WHERE `phrase` = 'active';
UPDATE `language` SET `english` = 'Add '
WHERE `phrase` = 'add';
UPDATE `language` SET `english` = 'Address'
WHERE `phrase` = 'address';
UPDATE `language` SET `english` = 'Add Model'
WHERE `phrase` = 'add_model';
UPDATE `language` SET `english` = 'Add Module'
WHERE `phrase` = 'add_module';
UPDATE `language` SET `english` = 'Add Module Permission'
WHERE `phrase` = 'add_module_permission';
UPDATE `language` SET `english` = 'Add New Product'
WHERE `phrase` = 'add_new_item';
UPDATE `language` SET `english` = 'Add Product'
WHERE `phrase` = 'add_product';
UPDATE `language` SET `english` = 'Add Role'
WHERE `phrase` = 'add_role';
UPDATE `language` SET `english` = 'Add Role Permission'
WHERE `phrase` = 'add_role_permission';
UPDATE `language` SET `english` = 'Add Store'
WHERE `phrase` = 'add_store';
UPDATE `language` SET `english` = 'Add Unit'
WHERE `phrase` = 'add_unit';
UPDATE `language` SET `english` = 'Add User'
WHERE `phrase` = 'add_user';
UPDATE `language` SET `english` = 'Add User Role'
WHERE `phrase` = 'add_user_role';
UPDATE `language` SET `english` = 'Add Warehouse'
WHERE `phrase` = 'add_warehouse';
UPDATE `language` SET `english` = 'Admin'
WHERE `phrase` = 'admin';
UPDATE `language` SET `english` = 'Advance'
WHERE `phrase` = 'advance';
UPDATE `language` SET `english` = 'Advance amount'
WHERE `phrase` = 'advance_amount';
UPDATE `language` SET `english` = 'Application Setting'
WHERE `phrase` = 'application_setting';
UPDATE `language` SET `english` = 'Application Title'
WHERE `phrase` = 'application_title';
UPDATE `language` SET `english` = 'Approve'
WHERE `phrase` = 'approved';
UPDATE `language` SET `english` = 'Are You Sure ? '
WHERE `phrase` = 'are_you_sure';
UPDATE `language` SET `english` = 'Store'
WHERE `phrase` = 'store';
UPDATE `language` SET `english` = 'Store/warehouse'
WHERE `phrase` = 'storewarehouse';
UPDATE `language` SET `english` = 'Store Address'
WHERE `phrase` = 'store_address';
UPDATE `language` SET `english` = 'Store Code'
WHERE `phrase` = 'store_code';
UPDATE `language` SET `english` = 'Store Name'
WHERE `phrase` = 'store_name';
UPDATE `language` SET `english` = 'Store Phone'
WHERE `phrase` = 'store_phone';
UPDATE `language` SET `english` = 'Subject'
WHERE `phrase` = 'subject';
UPDATE `language` SET `english` = 'Submit '
WHERE `phrase` = 'submit';
UPDATE `language` SET `english` = 'Submit and Another'
WHERE `phrase` = 'submit_and_add_another';
UPDATE `language` SET `english` = 'Successfully Approved'
WHERE `phrase` = 'successfully_approved';
UPDATE `language` SET `english` = 'Super Admin'
WHERE `phrase` = 'super_admin';
UPDATE `language` SET `english` = 'Supplier'
WHERE `phrase` = 'supplier';
UPDATE `language` SET `english` = 'Supplier Name'
WHERE `phrase` = 'supplier_name';
UPDATE `language` SET `english` = 'Synchronize'
WHERE `phrase` = 'synchronize';
UPDATE `language` SET `english` = 'Tables are not available in database.sql'
WHERE `phrase` = 'tables_are_not_available_in_database';
UPDATE `language` SET `english` = 'To'
WHERE `phrase` = 'to';
UPDATE `language` SET `english` = 'Total'
WHERE `phrase` = 'total';
UPDATE `language` SET `english` = 'Total Amount'
WHERE `phrase` = 'total_amount';
UPDATE `language` SET `english` = 'Unable to download file! please check configuration'
WHERE `phrase` = 'unable_to_download_file_please_check_configuration';
UPDATE `language` SET `english` = 'Unable to import data! please check configuration / SQL file.'
WHERE `phrase` = 'unable_to_import_data_please_check_config_or_sql_file';
UPDATE `language` SET `english` = 'Unable to upload file! please check configuration'
WHERE `phrase` = 'unable_to_upload_file_please_check_configuration';
UPDATE `language` SET `english` = 'Uninstall'
WHERE `phrase` = 'uninstall';
UPDATE `language` SET `english` = 'Unit Mesurement'
WHERE `phrase` = 'unit';
UPDATE `language` SET `english` = 'Unit List'
WHERE `phrase` = 'unit_list';
UPDATE `language` SET `english` = 'Unit Name'
WHERE `phrase` = 'unit_name';
INSERT INTO `product_unit` (`unit_id`, `unit_name`, `isactive`) VALUES ('', 'Test', 1);
UPDATE `product_unit` SET `unit_id` = '1', `isactive` = 1
WHERE `unit_id` = '1';
UPDATE `product_unit` SET `unit_id` = '1', `isactive` = 1
WHERE `unit_id` = '1';
INSERT INTO `product_unit` (`unit_id`, `unit_name`, `isactive`) VALUES ('', 'sdf', 1);
DELETE FROM `product_unit`
WHERE `unit_id` = '2';
INSERT INTO `sales_parent` (`sale_id`, `invoice_no`, `customer_id`, `sale_type_id`, `store_id`, `salesman`, `sales_date`, `sales_time`, `gurrantor_1`, `gurrantor_2`, `advance_amnt`, `lease_id`, `inquiry_officer`, `total_amnt`) VALUES ('20180526123101', '1025', '2', '1', '2', '2', '2018-05-26', '12:31:01', NULL, NULL, NULL, NULL, NULL, '105.00');
INSERT INTO `payment_collection` (`sale_id`, `invoice_no`, `customer_id`, `paid_amnt`, `due_amnt`, `receive_by`, `payment_date`) VALUES ('20180526123101', '1025', '2', '105.00', NULL, '2', '2018-05-26');
INSERT INTO `sale_details` (`sale_id`, `product_id`, `qty`, `sell_price`, `sale_type_id`) VALUES ('20180526123101', '6', '3', '35', '1');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Sales', 'create', 'invoice_no-1025 total amount-105.00', '2', '2018-05-26 12:31:01');
INSERT INTO `customer` (`customer_code`, `customer_name`, `customer_phone`, `job_designation`, `store_id`, `customer_address`, `customer_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('234234', 'Abul Kasem', '234234', 'Professor', '2', 'Dhanmondi', '234234234', 'sdfasdf', 1, '2', '2018-05-26 12:31:50');
INSERT INTO `sales_parent` (`sale_id`, `invoice_no`, `customer_id`, `sale_type_id`, `store_id`, `salesman`, `sales_date`, `sales_time`, `gurrantor_1`, `gurrantor_2`, `advance_amnt`, `lease_id`, `inquiry_officer`, `total_amnt`) VALUES ('20180526123204', '1026', '24', '1', '2', '2', '2018-05-26', '12:32:04', NULL, NULL, NULL, NULL, NULL, '165.00');
INSERT INTO `payment_collection` (`sale_id`, `invoice_no`, `customer_id`, `paid_amnt`, `due_amnt`, `receive_by`, `payment_date`) VALUES ('20180526123204', '1026', '24', '165.00', NULL, '2', '2018-05-26');
INSERT INTO `sale_details` (`sale_id`, `product_id`, `qty`, `sell_price`, `sale_type_id`) VALUES ('20180526123204', '7', '3', '55', '1');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Sales', 'create', 'invoice_no-1026 total amount-165.00', '2', '2018-05-26 12:32:04');
INSERT INTO `product` (`product_id`, `product_name`, `product_code`, `model_name`, `category_name`, `brand_name`, `unit_name`, `product_details`, `purchase_price`, `block_price`, `minimum_price`, `retail_price`, `createby`, `createdate`, `updateby`, `updatedate`, `isactive`) VALUES ('', 'Multa', 'pro-0001', '1', '1', '1', '1', '1', '1', '1', '1', '1', '2', '2018-05-26 12:58:56', '', '', 1);
INSERT INTO `product` (`product_id`, `product_name`, `product_code`, `model`, `category`, `brand`, `unit`, `product_details`, `purchase_price`, `block_price`, `minimum_price`, `retail_price`, `createby`, `createdate`, `updateby`, `updatedate`, `isactive`) VALUES ('', 'Banana', 'pro-0001', '1', '1', '1', '1', 'adsfsdf', '0', '0', '0', '0', '2', '2018-05-26 13:00:59', '', '', 1);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Product', 'create', 'product ID :11', '2', '2018-05-26 13:00:59');
UPDATE `user` SET `last_login` = '2018-05-27 05:42:57', `ip_address` = '::1'
WHERE `id` = '2';
INSERT INTO `product` (`product_id`, `product_name`, `product_code`, `model`, `category`, `brand`, `unit`, `product_details`, `purchase_price`, `block_price`, `minimum_price`, `retail_price`, `createby`, `createdate`, `updateby`, `updatedate`, `isactive`) VALUES ('', 'Modem', 'pro-2', '2', '2', '2', '2', 'dsfasf', NULL, NULL, NULL, NULL, '2', '2018-05-27 07:17:06', '', '', 1);
INSERT INTO `product` (`product_id`, `product_name`, `product_code`, `model`, `category`, `brand`, `unit`, `product_details`, `purchase_price`, `block_price`, `minimum_price`, `retail_price`, `createby`, `createdate`, `updateby`, `updatedate`, `isactive`) VALUES ('', 'modem', 'pro-2', '1', '1', '1', '1', 'sdfasd', '0', '0', '0', '0', '2', '2018-05-27 07:18:04', '', '', 1);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Product', 'create', 'product ID :12', '2', '2018-05-27 07:18:05');
UPDATE `product` SET `product_id` = '12', `product_name` = 'modem', `product_code` = 'pro-2', `category` = '1', `model` = '1', `unit` = '1', `brand` = '1', `product_details` = 'sdfasd', `purchase_price` = '10', `minimum_price` = '15', `retail_price` = '18', `block_price` = '12', `isactive` = '1'
WHERE `product_id` IN('12');
UPDATE `product` SET `product_id` = '11', `product_name` = 'Banana', `product_code` = 'pro-0001', `category` = '1', `model` = '1', `unit` = '1', `brand` = '1', `product_details` = 'adsfsdf', `purchase_price` = '0', `minimum_price` = '0', `retail_price` = '0', `block_price` = '0', `isactive` = '1'
WHERE `product_id` IN('11');
UPDATE `product` SET `product_id` = '10', `product_name` = 'Orange', `product_code` = 'o-12', `category` = '0', `model` = '0', `unit` = '0', `brand` = '0', `product_details` = 'This is product details', `purchase_price` = '120', `minimum_price` = '130', `retail_price` = '150', `block_price` = '125', `isactive` = '1'
WHERE `product_id` IN('10');
UPDATE `product` SET `product_id` = '9', `product_name` = 'B', `product_code` = 'a-1', `category` = '0', `model` = '0', `unit` = '0', `brand` = '0', `product_details` = 'sadfsdf', `purchase_price` = '15', `minimum_price` = '18', `retail_price` = '20', `block_price` = '17', `isactive` = '1'
WHERE `product_id` IN('9');
UPDATE `product` SET `product_id` = '8', `product_name` = 'A', `product_code` = 'a-1', `category` = '0', `model` = '0', `unit` = '0', `brand` = '0', `product_details` = 'dsfsd', `purchase_price` = '20', `minimum_price` = '23', `retail_price` = '25', `block_price` = '21', `isactive` = '1'
WHERE `product_id` IN('8');
UPDATE `product` SET `product_id` = '7', `product_name` = 'Coconut', `product_code` = '', `category` = '0', `model` = '0', `unit` = '0', `brand` = '0', `product_details` = 'Etc', `purchase_price` = '45', `minimum_price` = '50', `retail_price` = '55', `block_price` = '48', `isactive` = '1'
WHERE `product_id` IN('7');
UPDATE `product` SET `product_id` = '6', `product_name` = 'Mango', `product_code` = '', `category` = '0', `model` = '0', `unit` = '0', `brand` = '0', `product_details` = 'sdfsdf', `purchase_price` = '25', `minimum_price` = '30', `retail_price` = '35', `block_price` = '28', `isactive` = '1'
WHERE `product_id` IN('6');
UPDATE `product` SET `product_id` = '5', `product_name` = 'kkr', `product_code` = '', `category` = '0', `model` = '0', `unit` = '0', `brand` = '0', `product_details` = 'sdf', `purchase_price` = '0', `minimum_price` = '0', `retail_price` = '0', `block_price` = '0', `isactive` = '1'
WHERE `product_id` IN('5');
UPDATE `product` SET `product_id` = '4', `product_name` = 'xxxxxx', `product_code` = '', `category` = '0', `model` = '0', `unit` = '0', `brand` = '0', `product_details` = '234234', `purchase_price` = '0', `minimum_price` = '0', `retail_price` = '0', `block_price` = '0', `isactive` = '1'
WHERE `product_id` IN('4');
UPDATE `product` SET `product_id` = '2', `product_name` = 'Second product', `product_code` = '', `category` = '0', `model` = '0', `unit` = '0', `brand` = '0', `product_details` = 'sdfsdf', `purchase_price` = '0', `minimum_price` = '0', `retail_price` = '0', `block_price` = '0', `isactive` = '1'
WHERE `product_id` IN('2');
UPDATE `product` SET `product_id` = '12', `product_name` = 'modem', `product_code` = 'pro-2', `category` = '1', `model` = '1', `unit` = '1', `brand` = '1', `product_details` = 'sdfasd', `purchase_price` = '12', `minimum_price` = '15', `retail_price` = '18', `block_price` = '12', `isactive` = '1'
WHERE `product_id` IN('12');
UPDATE `product` SET `product_id` = '11', `product_name` = 'Banana', `product_code` = 'pro-0001', `category` = '1', `model` = '1', `unit` = '1', `brand` = '1', `product_details` = 'adsfsdf', `purchase_price` = '0', `minimum_price` = '0', `retail_price` = '0', `block_price` = '0', `isactive` = '1'
WHERE `product_id` IN('11');
UPDATE `product` SET `product_id` = '10', `product_name` = 'Orange', `product_code` = 'o-12', `category` = '0', `model` = '0', `unit` = '0', `brand` = '0', `product_details` = 'This is product details', `purchase_price` = '120', `minimum_price` = '130', `retail_price` = '150', `block_price` = '125', `isactive` = '1'
WHERE `product_id` IN('10');
UPDATE `product` SET `product_id` = '9', `product_name` = 'B', `product_code` = 'a-1', `category` = '0', `model` = '0', `unit` = '0', `brand` = '0', `product_details` = 'sadfsdf', `purchase_price` = '15', `minimum_price` = '18', `retail_price` = '20', `block_price` = '17', `isactive` = '1'
WHERE `product_id` IN('9');
UPDATE `product` SET `product_id` = '8', `product_name` = 'A', `product_code` = 'a-1', `category` = '0', `model` = '0', `unit` = '0', `brand` = '0', `product_details` = 'dsfsd', `purchase_price` = '20', `minimum_price` = '23', `retail_price` = '25', `block_price` = '21', `isactive` = '1'
WHERE `product_id` IN('8');
UPDATE `product` SET `product_id` = '7', `product_name` = 'Coconut', `product_code` = '', `category` = '0', `model` = '0', `unit` = '0', `brand` = '0', `product_details` = 'Etc', `purchase_price` = '45', `minimum_price` = '50', `retail_price` = '55', `block_price` = '48', `isactive` = '1'
WHERE `product_id` IN('7');
UPDATE `product` SET `product_id` = '6', `product_name` = 'Mango', `product_code` = '', `category` = '0', `model` = '0', `unit` = '0', `brand` = '0', `product_details` = 'sdfsdf', `purchase_price` = '25', `minimum_price` = '30', `retail_price` = '35', `block_price` = '28', `isactive` = '1'
WHERE `product_id` IN('6');
UPDATE `product` SET `product_id` = '5', `product_name` = 'kkr', `product_code` = '', `category` = '0', `model` = '0', `unit` = '0', `brand` = '0', `product_details` = 'sdf', `purchase_price` = '0', `minimum_price` = '0', `retail_price` = '0', `block_price` = '0', `isactive` = '1'
WHERE `product_id` IN('5');
UPDATE `product` SET `product_id` = '4', `product_name` = 'xxxxxx', `product_code` = '', `category` = '0', `model` = '0', `unit` = '0', `brand` = '0', `product_details` = '234234', `purchase_price` = '0', `minimum_price` = '0', `retail_price` = '0', `block_price` = '0', `isactive` = '1'
WHERE `product_id` IN('4');
UPDATE `product` SET `product_id` = '2', `product_name` = 'Second product', `product_code` = '', `category` = '0', `model` = '0', `unit` = '0', `brand` = '0', `product_details` = 'sdfsdf', `purchase_price` = '0', `minimum_price` = '0', `retail_price` = '0', `block_price` = '0', `isactive` = '1'
WHERE `product_id` IN('2');
UPDATE `product` SET `product_id` = '1', `product_name` = 'Test Product', `product_code` = '', `category` = '0', `model` = '0', `unit` = '0', `brand` = '0', `product_details` = 'this is test', `purchase_price` = '4', `minimum_price` = '5', `retail_price` = '6', `block_price` = '4', `isactive` = '1'
WHERE `product_id` IN('1');
UPDATE `product` SET `product_id` = '1', `product_name` = 'Test Product', `product_code` = '234', `category` = '0', `model` = '0', `unit` = '0', `brand` = '0', `product_details` = 'this is test', `purchase_price` = '4', `minimum_price` = '5', `retail_price` = '6', `block_price` = '4', `isactive` = '1'
WHERE `product_id` IN('1');
UPDATE `product` SET `product_id` = '12', `isactive` = 0
WHERE `product_id` = '12';
UPDATE `product` SET `product_id` = '12', `isactive` = 1
WHERE `product_id` = '12';
DELETE FROM `product`
WHERE `product_id` = '1';
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Product', 'delete', 'product ID :1', '2', '2018-05-27 07:27:56');
UPDATE `product_category` SET `category_id` = '1', `isactive` = 1
WHERE `category_id` = '1';
UPDATE `product` SET `product_id` = '12', `product_name` = 'modem', `product_code` = 'pro-2', `category` = '1', `model` = '1', `unit` = '1', `brand` = '1', `product_details` = 'sdfasd', `purchase_price` = '12', `minimum_price` = '15', `retail_price` = '18', `block_price` = '12', `isactive` = '1'
WHERE `product_id` IN('12');
UPDATE `product` SET `product_id` = '11', `product_name` = 'Banana', `product_code` = 'pro-0001', `category` = '1', `model` = '1', `unit` = '1', `brand` = '1', `product_details` = 'adsfsdf', `purchase_price` = '13', `minimum_price` = '15', `retail_price` = '20', `block_price` = '14', `isactive` = '1'
WHERE `product_id` IN('11');
UPDATE `product` SET `product_id` = '10', `product_name` = 'Orange', `product_code` = 'o-12', `category` = '0', `model` = '0', `unit` = '0', `brand` = '0', `product_details` = 'This is product details', `purchase_price` = '120', `minimum_price` = '130', `retail_price` = '150', `block_price` = '125', `isactive` = '1'
WHERE `product_id` IN('10');
UPDATE `product` SET `product_id` = '9', `product_name` = 'B', `product_code` = 'a-1', `category` = '0', `model` = '0', `unit` = '0', `brand` = '0', `product_details` = 'sadfsdf', `purchase_price` = '15', `minimum_price` = '18', `retail_price` = '20', `block_price` = '17', `isactive` = '1'
WHERE `product_id` IN('9');
UPDATE `product` SET `product_id` = '8', `product_name` = 'A', `product_code` = 'a-1', `category` = '0', `model` = '0', `unit` = '0', `brand` = '0', `product_details` = 'dsfsd', `purchase_price` = '20', `minimum_price` = '23', `retail_price` = '25', `block_price` = '21', `isactive` = '1'
WHERE `product_id` IN('8');
UPDATE `product` SET `product_id` = '7', `product_name` = 'Coconut', `product_code` = '', `category` = '0', `model` = '0', `unit` = '0', `brand` = '0', `product_details` = 'Etc', `purchase_price` = '45', `minimum_price` = '50', `retail_price` = '55', `block_price` = '48', `isactive` = '1'
WHERE `product_id` IN('7');
UPDATE `product` SET `product_id` = '6', `product_name` = 'Mango', `product_code` = '', `category` = '0', `model` = '0', `unit` = '0', `brand` = '0', `product_details` = 'sdfsdf', `purchase_price` = '25', `minimum_price` = '30', `retail_price` = '35', `block_price` = '28', `isactive` = '1'
WHERE `product_id` IN('6');
UPDATE `product` SET `product_id` = '5', `product_name` = 'kkr', `product_code` = '', `category` = '0', `model` = '0', `unit` = '0', `brand` = '0', `product_details` = 'sdf', `purchase_price` = '0', `minimum_price` = '0', `retail_price` = '0', `block_price` = '0', `isactive` = '1'
WHERE `product_id` IN('5');
UPDATE `product` SET `product_id` = '4', `product_name` = 'xxxxxx', `product_code` = '', `category` = '0', `model` = '0', `unit` = '0', `brand` = '0', `product_details` = '234234', `purchase_price` = '0', `minimum_price` = '0', `retail_price` = '0', `block_price` = '0', `isactive` = '1'
WHERE `product_id` IN('4');
UPDATE `product` SET `product_id` = '2', `product_name` = 'Second product', `product_code` = '', `category` = '0', `model` = '0', `unit` = '0', `brand` = '0', `product_details` = 'sdfsdf', `purchase_price` = '0', `minimum_price` = '0', `retail_price` = '0', `block_price` = '0', `isactive` = '1'
WHERE `product_id` IN('2');
INSERT INTO `product_brand` (`brand_id`, `brand_name`, `isactive`) VALUES ('', 'Second', 1);
UPDATE `product` SET `product_id` = '12', `product_name` = 'Test+Second+Test Model', `product_code` = 'pro-2', `model` = 'Test Model', `category` = 'Test', `brand` = 'Second', `unit` = 'Test', `product_details` = 'sdfasd', `purchase_price` = '12', `block_price` = '12', `minimum_price` = '15', `retail_price` = '18', `createby` = '2', `createdate` = '2018-05-27 09:55:53', `updateby` = '2', `updatedate` = '2018-05-27 09:55:53', `isactive` = 1
WHERE `product_id` = '12';
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Product', 'update', 'product ID :12', '2', '2018-05-27 09:55:53');
UPDATE `product` SET `product_id` = '12', `isactive` = 0
WHERE `product_id` = '12';
UPDATE `product` SET `product_id` = '12', `isactive` = 1
WHERE `product_id` = '12';
UPDATE `product` SET `product_id` = '12', `isactive` = 0
WHERE `product_id` = '12';
UPDATE `product` SET `product_id` = '12', `product_name` = 'Test+Second+Test Model', `product_code` = 'pro-2', `category` = 'Test', `model` = 'Test Model', `unit` = 'Test', `brand` = 'Second', `product_details` = 'sdfasd', `purchase_price` = '12', `minimum_price` = '16', `retail_price` = '18', `block_price` = '12', `isactive` = '0'
WHERE `product_id` IN('12');
UPDATE `product` SET `product_id` = '11', `product_name` = 'Banana', `product_code` = 'pro-0001', `category` = '1', `model` = '1', `unit` = '1', `brand` = '1', `product_details` = 'adsfsdf', `purchase_price` = '13', `minimum_price` = '15', `retail_price` = '20', `block_price` = '14', `isactive` = '1'
WHERE `product_id` IN('11');
UPDATE `product` SET `product_id` = '10', `product_name` = 'Orange', `product_code` = 'o-12', `category` = '0', `model` = '0', `unit` = '0', `brand` = '0', `product_details` = 'This is product details', `purchase_price` = '120', `minimum_price` = '130', `retail_price` = '150', `block_price` = '125', `isactive` = '1'
WHERE `product_id` IN('10');
UPDATE `product` SET `product_id` = '9', `product_name` = 'B', `product_code` = 'a-1', `category` = '0', `model` = '0', `unit` = '0', `brand` = '0', `product_details` = 'sadfsdf', `purchase_price` = '15', `minimum_price` = '18', `retail_price` = '20', `block_price` = '17', `isactive` = '1'
WHERE `product_id` IN('9');
UPDATE `product` SET `product_id` = '8', `product_name` = 'A', `product_code` = 'a-1', `category` = '0', `model` = '0', `unit` = '0', `brand` = '0', `product_details` = 'dsfsd', `purchase_price` = '20', `minimum_price` = '23', `retail_price` = '25', `block_price` = '21', `isactive` = '1'
WHERE `product_id` IN('8');
UPDATE `product` SET `product_id` = '7', `product_name` = 'Coconut', `product_code` = '', `category` = '0', `model` = '0', `unit` = '0', `brand` = '0', `product_details` = 'Etc', `purchase_price` = '45', `minimum_price` = '50', `retail_price` = '55', `block_price` = '48', `isactive` = '1'
WHERE `product_id` IN('7');
UPDATE `product` SET `product_id` = '6', `product_name` = 'Mango', `product_code` = '', `category` = '0', `model` = '0', `unit` = '0', `brand` = '0', `product_details` = 'sdfsdf', `purchase_price` = '25', `minimum_price` = '30', `retail_price` = '35', `block_price` = '28', `isactive` = '1'
WHERE `product_id` IN('6');
UPDATE `product` SET `product_id` = '5', `product_name` = 'kkr', `product_code` = '', `category` = '0', `model` = '0', `unit` = '0', `brand` = '0', `product_details` = 'sdf', `purchase_price` = '0', `minimum_price` = '0', `retail_price` = '0', `block_price` = '0', `isactive` = '1'
WHERE `product_id` IN('5');
UPDATE `product` SET `product_id` = '4', `product_name` = 'xxxxxx', `product_code` = '', `category` = '0', `model` = '0', `unit` = '0', `brand` = '0', `product_details` = '234234', `purchase_price` = '0', `minimum_price` = '0', `retail_price` = '0', `block_price` = '0', `isactive` = '1'
WHERE `product_id` IN('4');
UPDATE `product` SET `product_id` = '2', `product_name` = 'Second product', `product_code` = '', `category` = '0', `model` = '0', `unit` = '0', `brand` = '0', `product_details` = 'sdfsdf', `purchase_price` = '0', `minimum_price` = '0', `retail_price` = '0', `block_price` = '0', `isactive` = '1'
WHERE `product_id` IN('2');
UPDATE `product` SET `product_id` = '12', `product_name` = 'Test+Second+Test Model', `product_code` = 'pro-2', `category` = 'Test', `model` = 'Test Model', `unit` = 'Test', `brand` = 'Second', `product_details` = 'sdfasd', `purchase_price` = '12', `minimum_price` = '15', `retail_price` = '18', `block_price` = '12', `isactive` = '0'
WHERE `product_id` IN('12');
UPDATE `product` SET `product_id` = '11', `product_name` = 'Banana', `product_code` = 'pro-0001', `category` = '1', `model` = '1', `unit` = '1', `brand` = '1', `product_details` = 'adsfsdf', `purchase_price` = '13', `minimum_price` = '15', `retail_price` = '20', `block_price` = '14', `isactive` = '1'
WHERE `product_id` IN('11');
UPDATE `product` SET `product_id` = '10', `product_name` = 'Orange', `product_code` = 'o-12', `category` = '0', `model` = '0', `unit` = '0', `brand` = '0', `product_details` = 'This is product details', `purchase_price` = '120', `minimum_price` = '130', `retail_price` = '150', `block_price` = '125', `isactive` = '1'
WHERE `product_id` IN('10');
UPDATE `product` SET `product_id` = '9', `product_name` = 'B', `product_code` = 'a-1', `category` = '0', `model` = '0', `unit` = '0', `brand` = '0', `product_details` = 'sadfsdf', `purchase_price` = '15', `minimum_price` = '18', `retail_price` = '20', `block_price` = '17', `isactive` = '1'
WHERE `product_id` IN('9');
UPDATE `product` SET `product_id` = '8', `product_name` = 'A', `product_code` = 'a-1', `category` = '0', `model` = '0', `unit` = '0', `brand` = '0', `product_details` = 'dsfsd', `purchase_price` = '20', `minimum_price` = '23', `retail_price` = '25', `block_price` = '21', `isactive` = '1'
WHERE `product_id` IN('8');
UPDATE `product` SET `product_id` = '7', `product_name` = 'Coconut', `product_code` = '', `category` = '0', `model` = '0', `unit` = '0', `brand` = '0', `product_details` = 'Etc', `purchase_price` = '45', `minimum_price` = '50', `retail_price` = '55', `block_price` = '48', `isactive` = '1'
WHERE `product_id` IN('7');
UPDATE `product` SET `product_id` = '6', `product_name` = 'Mango', `product_code` = '', `category` = '0', `model` = '0', `unit` = '0', `brand` = '0', `product_details` = 'sdfsdf', `purchase_price` = '25', `minimum_price` = '30', `retail_price` = '35', `block_price` = '28', `isactive` = '1'
WHERE `product_id` IN('6');
UPDATE `product` SET `product_id` = '5', `product_name` = 'kkr', `product_code` = '', `category` = '0', `model` = '0', `unit` = '0', `brand` = '0', `product_details` = 'sdf', `purchase_price` = '0', `minimum_price` = '0', `retail_price` = '0', `block_price` = '0', `isactive` = '1'
WHERE `product_id` IN('5');
UPDATE `product` SET `product_id` = '4', `product_name` = 'xxxxxx', `product_code` = '', `category` = '0', `model` = '0', `unit` = '0', `brand` = '0', `product_details` = '234234', `purchase_price` = '0', `minimum_price` = '0', `retail_price` = '0', `block_price` = '0', `isactive` = '1'
WHERE `product_id` IN('4');
UPDATE `product` SET `product_id` = '2', `product_name` = 'Second product', `product_code` = '', `category` = '0', `model` = '0', `unit` = '0', `brand` = '0', `product_details` = 'sdfsdf', `purchase_price` = '0', `minimum_price` = '0', `retail_price` = '0', `block_price` = '0', `isactive` = '1'
WHERE `product_id` IN('2');
UPDATE `product` SET `product_id` = '12', `product_name` = 'Test+Second+Test Model', `product_code` = 'pro-2', `category` = 'Test', `model` = 'Test Model', `unit` = 'Test', `brand` = 'Second', `product_details` = 'sdfasd', `purchase_price` = '12', `minimum_price` = '16', `retail_price` = '18', `block_price` = '12', `isactive` = '0'
WHERE `product_id` IN('12');
UPDATE `product` SET `product_id` = '11', `product_name` = 'Banana', `product_code` = 'pro-0001', `category` = '1', `model` = '1', `unit` = '1', `brand` = '1', `product_details` = 'adsfsdf', `purchase_price` = '13', `minimum_price` = '15', `retail_price` = '20', `block_price` = '14', `isactive` = '1'
WHERE `product_id` IN('11');
UPDATE `product` SET `product_id` = '10', `product_name` = 'Orange', `product_code` = 'o-12', `category` = '0', `model` = '0', `unit` = '0', `brand` = '0', `product_details` = 'This is product details', `purchase_price` = '120', `minimum_price` = '130', `retail_price` = '150', `block_price` = '125', `isactive` = '1'
WHERE `product_id` IN('10');
UPDATE `product` SET `product_id` = '9', `product_name` = 'B', `product_code` = 'a-1', `category` = '0', `model` = '0', `unit` = '0', `brand` = '0', `product_details` = 'sadfsdf', `purchase_price` = '15', `minimum_price` = '18', `retail_price` = '20', `block_price` = '17', `isactive` = '1'
WHERE `product_id` IN('9');
UPDATE `product` SET `product_id` = '8', `product_name` = 'A', `product_code` = 'a-1', `category` = '0', `model` = '0', `unit` = '0', `brand` = '0', `product_details` = 'dsfsd', `purchase_price` = '20', `minimum_price` = '23', `retail_price` = '25', `block_price` = '21', `isactive` = '1'
WHERE `product_id` IN('8');
UPDATE `product` SET `product_id` = '7', `product_name` = 'Coconut', `product_code` = '', `category` = '0', `model` = '0', `unit` = '0', `brand` = '0', `product_details` = 'Etc', `purchase_price` = '45', `minimum_price` = '50', `retail_price` = '55', `block_price` = '48', `isactive` = '1'
WHERE `product_id` IN('7');
UPDATE `product` SET `product_id` = '6', `product_name` = 'Mango', `product_code` = '', `category` = '0', `model` = '0', `unit` = '0', `brand` = '0', `product_details` = 'sdfsdf', `purchase_price` = '25', `minimum_price` = '30', `retail_price` = '35', `block_price` = '28', `isactive` = '1'
WHERE `product_id` IN('6');
UPDATE `product` SET `product_id` = '5', `product_name` = 'kkr', `product_code` = '', `category` = '0', `model` = '0', `unit` = '0', `brand` = '0', `product_details` = 'sdf', `purchase_price` = '0', `minimum_price` = '0', `retail_price` = '0', `block_price` = '0', `isactive` = '1'
WHERE `product_id` IN('5');
UPDATE `product` SET `product_id` = '4', `product_name` = 'xxxxxx', `product_code` = '', `category` = '0', `model` = '0', `unit` = '0', `brand` = '0', `product_details` = '234234', `purchase_price` = '0', `minimum_price` = '0', `retail_price` = '0', `block_price` = '0', `isactive` = '1'
WHERE `product_id` IN('4');
UPDATE `product` SET `product_id` = '2', `product_name` = 'Second product', `product_code` = '', `category` = '0', `model` = '0', `unit` = '0', `brand` = '0', `product_details` = 'sdfsdf', `purchase_price` = '0', `minimum_price` = '0', `retail_price` = '0', `block_price` = '0', `isactive` = '1'
WHERE `product_id` IN('2');
UPDATE `product` SET `product_id` = '12', `product_name` = 'Test+Second+Test Model', `product_code` = 'pro-2', `category` = 'Test', `model` = 'Test Model', `unit` = 'Test', `brand` = 'Second', `product_details` = 'sdfasd', `purchase_price` = '12', `minimum_price` = '16', `retail_price` = '19', `block_price` = '12', `isactive` = '0'
WHERE `product_id` IN('12');
UPDATE `product` SET `product_id` = '11', `product_name` = 'Banana', `product_code` = 'pro-0001', `category` = '1', `model` = '1', `unit` = '1', `brand` = '1', `product_details` = 'adsfsdf', `purchase_price` = '13', `minimum_price` = '15', `retail_price` = '20', `block_price` = '14', `isactive` = '1'
WHERE `product_id` IN('11');
UPDATE `product` SET `product_id` = '10', `product_name` = 'Orange', `product_code` = 'o-12', `category` = '0', `model` = '0', `unit` = '0', `brand` = '0', `product_details` = 'This is product details', `purchase_price` = '120', `minimum_price` = '130', `retail_price` = '150', `block_price` = '125', `isactive` = '1'
WHERE `product_id` IN('10');
UPDATE `product` SET `product_id` = '9', `product_name` = 'B', `product_code` = 'a-1', `category` = '0', `model` = '0', `unit` = '0', `brand` = '0', `product_details` = 'sadfsdf', `purchase_price` = '15', `minimum_price` = '18', `retail_price` = '20', `block_price` = '17', `isactive` = '1'
WHERE `product_id` IN('9');
UPDATE `product` SET `product_id` = '8', `product_name` = 'A', `product_code` = 'a-1', `category` = '0', `model` = '0', `unit` = '0', `brand` = '0', `product_details` = 'dsfsd', `purchase_price` = '20', `minimum_price` = '23', `retail_price` = '25', `block_price` = '21', `isactive` = '1'
WHERE `product_id` IN('8');
UPDATE `product` SET `product_id` = '7', `product_name` = 'Coconut', `product_code` = '', `category` = '0', `model` = '0', `unit` = '0', `brand` = '0', `product_details` = 'Etc', `purchase_price` = '45', `minimum_price` = '50', `retail_price` = '55', `block_price` = '48', `isactive` = '1'
WHERE `product_id` IN('7');
UPDATE `product` SET `product_id` = '6', `product_name` = 'Mango', `product_code` = '', `category` = '0', `model` = '0', `unit` = '0', `brand` = '0', `product_details` = 'sdfsdf', `purchase_price` = '25', `minimum_price` = '30', `retail_price` = '35', `block_price` = '28', `isactive` = '1'
WHERE `product_id` IN('6');
UPDATE `product` SET `product_id` = '5', `product_name` = 'kkr', `product_code` = '', `category` = '0', `model` = '0', `unit` = '0', `brand` = '0', `product_details` = 'sdf', `purchase_price` = '0', `minimum_price` = '0', `retail_price` = '0', `block_price` = '0', `isactive` = '1'
WHERE `product_id` IN('5');
UPDATE `product` SET `product_id` = '4', `product_name` = 'xxxxxx', `product_code` = '', `category` = '0', `model` = '0', `unit` = '0', `brand` = '0', `product_details` = '234234', `purchase_price` = '0', `minimum_price` = '0', `retail_price` = '0', `block_price` = '0', `isactive` = '1'
WHERE `product_id` IN('4');
UPDATE `product` SET `product_id` = '2', `product_name` = 'Second product', `product_code` = '', `category` = '0', `model` = '0', `unit` = '0', `brand` = '0', `product_details` = 'sdfsdf', `purchase_price` = '0', `minimum_price` = '0', `retail_price` = '0', `block_price` = '0', `isactive` = '1'
WHERE `product_id` IN('2');
INSERT INTO `language` (`phrase`) VALUES ('pur_price');
INSERT INTO `language` (`phrase`) VALUES ('min_price');
INSERT INTO `language` (`phrase`) VALUES ('retprice');
INSERT INTO `language` (`phrase`) VALUES ('bl_price');
UPDATE `language` SET `english` = 'Assign Role'
WHERE `phrase` = 'assign_role';
UPDATE `language` SET `english` = 'Available'
WHERE `phrase` = 'available';
UPDATE `language` SET `english` = 'Backup and Restore'
WHERE `phrase` = 'backup_and_restore';
UPDATE `language` SET `english` = 'Backup Date'
WHERE `phrase` = 'backup_date';
UPDATE `language` SET `english` = 'Backup Now!'
WHERE `phrase` = 'backup_now';
UPDATE `language` SET `english` = 'Backup Successfully'
WHERE `phrase` = 'backup_successfully';
UPDATE `language` SET `english` = 'Block Price'
WHERE `phrase` = 'block_price';
UPDATE `language` SET `english` = 'BL Price'
WHERE `phrase` = 'bl_price';
UPDATE `language` SET `english` = 'Brand'
WHERE `phrase` = 'brand';
UPDATE `language` SET `english` = 'Brand List'
WHERE `phrase` = 'brand_list';
UPDATE `language` SET `english` = 'Brand Name'
WHERE `phrase` = 'brand_name';
UPDATE `language` SET `english` = 'Business Address'
WHERE `phrase` = 'business_address';
UPDATE `language` SET `english` = 'Captcha Word'
WHERE `phrase` = 'captcha';
UPDATE `language` SET `english` = 'NID'
WHERE `phrase` = 'cardno';
UPDATE `language` SET `english` = 'Cash Sale'
WHERE `phrase` = 'cashsale';
UPDATE `language` SET `english` = 'Cash Sale List'
WHERE `phrase` = 'cash_sale_list';
UPDATE `language` SET `english` = 'Category'
WHERE `phrase` = 'category';
UPDATE `language` SET `english` = 'Category List'
WHERE `phrase` = 'category_list';
UPDATE `language` SET `english` = 'Category Name'
WHERE `phrase` = 'category_name';
UPDATE `language` SET `english` = 'Checked By'
WHERE `phrase` = 'checked_by';
UPDATE `language` SET `english` = 'Check_receive'
WHERE `phrase` = 'check_receive';
UPDATE `language` SET `english` = 'Create'
WHERE `phrase` = 'create';
UPDATE `language` SET `english` = 'Create User Role'
WHERE `phrase` = 'create_user_role';
UPDATE `language` SET `english` = 'Credit Sale List'
WHERE `phrase` = 'credit_sale_list';
UPDATE `language` SET `english` = 'Customer'
WHERE `phrase` = 'customer';
UPDATE `language` SET `english` = 'List'
WHERE `phrase` = 'list';
UPDATE `language` SET `english` = 'Store List'
WHERE `phrase` = 'list_store';
UPDATE `language` SET `english` = 'Warehouse list'
WHERE `phrase` = 'list_warehouse';
UPDATE `language` SET `english` = 'Login'
WHERE `phrase` = 'login';
UPDATE `language` SET `english` = 'Logo'
WHERE `phrase` = 'logo';
UPDATE `language` SET `english` = 'Logout'
WHERE `phrase` = 'logout';
UPDATE `language` SET `english` = 'Markup'
WHERE `phrase` = 'markup';
UPDATE `language` SET `english` = 'Message'
WHERE `phrase` = 'message';
UPDATE `language` SET `english` = 'Message Details'
WHERE `phrase` = 'message_details';
UPDATE `language` SET `english` = 'Message Sent!'
WHERE `phrase` = 'message_sent';
UPDATE `language` SET `english` = 'Minimum Price'
WHERE `phrase` = 'minimum_price';
UPDATE `language` SET `english` = 'Min Price'
WHERE `phrase` = 'min_price';
UPDATE `language` SET `english` = 'Model'
WHERE `phrase` = 'model';
UPDATE `language` SET `english` = 'Model Name'
WHERE `phrase` = 'model_name';
UPDATE `language` SET `english` = 'Module'
WHERE `phrase` = 'module';
UPDATE `language` SET `english` = 'Module Added Successfully'
WHERE `phrase` = 'module_added_successfully';
UPDATE `language` SET `english` = 'Module List'
WHERE `phrase` = 'module_list';
UPDATE `language` SET `english` = 'Module Name'
WHERE `phrase` = 'module_name';
UPDATE `language` SET `english` = 'Module Permission'
WHERE `phrase` = 'module_permission';
UPDATE `language` SET `english` = 'Module Permission Added Successfully!'
WHERE `phrase` = 'module_permission_added_successfully';
UPDATE `language` SET `english` = 'Module Permission List'
WHERE `phrase` = 'module_permission_list';
UPDATE `language` SET `english` = 'Name'
WHERE `phrase` = 'name';
UPDATE `language` SET `english` = 'New'
WHERE `phrase` = 'new';
UPDATE `language` SET `english` = 'New Enquiry'
WHERE `phrase` = 'new_enquiry';
UPDATE `language` SET `english` = 'New Message'
WHERE `phrase` = 'new_message';
UPDATE `language` SET `english` = 'Product Code'
WHERE `phrase` = 'product_code';
UPDATE `language` SET `english` = 'Product Details'
WHERE `phrase` = 'product_details';
UPDATE `language` SET `english` = 'Product Info'
WHERE `phrase` = 'product_info';
UPDATE `language` SET `english` = 'Product List'
WHERE `phrase` = 'product_list';
UPDATE `language` SET `english` = 'Product Name'
WHERE `phrase` = 'product_name';
UPDATE `language` SET `english` = 'Profile'
WHERE `phrase` = 'profile';
UPDATE `language` SET `english` = 'Profile Setting'
WHERE `phrase` = 'profile_setting';
UPDATE `language` SET `english` = 'Project Root'
WHERE `phrase` = 'project_root';
UPDATE `language` SET `english` = 'Proposal Code'
WHERE `phrase` = 'proposal_code';
UPDATE `language` SET `english` = 'Proposal Date'
WHERE `phrase` = 'proposal_datetime';
UPDATE `language` SET `english` = 'Proposal QTY'
WHERE `phrase` = 'proposal_qty';
UPDATE `language` SET `english` = 'Puchase Order'
WHERE `phrase` = 'purchase_order';
UPDATE `language` SET `english` = 'Purchase Price'
WHERE `phrase` = 'purchase_price';
UPDATE `language` SET `english` = 'Pur Price'
WHERE `phrase` = 'pur_price';
UPDATE `language` SET `english` = 'Qty'
WHERE `phrase` = 'quantity';
UPDATE `language` SET `english` = 'Read'
WHERE `phrase` = 'read';
UPDATE `language` SET `english` = 'Read/Unread'
WHERE `phrase` = 'read_unread';
UPDATE `language` SET `english` = 'Receive'
WHERE `phrase` = 'receive';
UPDATE `language` SET `english` = 'Receiver Name'
WHERE `phrase` = 'receiver_name';
UPDATE `language` SET `english` = 'Receive List'
WHERE `phrase` = 'receive_list';
UPDATE `language` SET `english` = 'Receive QTY'
WHERE `phrase` = 'receive_qty';
UPDATE `language` SET `english` = 'Receive QTY'
WHERE `phrase` = 'receive_quantity';
UPDATE `language` SET `english` = 'Remainig Amount'
WHERE `phrase` = 'remaining_amnt';
UPDATE `language` SET `english` = 'Remove Successfully!'
WHERE `phrase` = 'remove_successfully';
UPDATE `language` SET `english` = 'Reset'
WHERE `phrase` = 'reset';
UPDATE `language` SET `english` = 'Restore Now!'
WHERE `phrase` = 'restore_now';
UPDATE `language` SET `english` = 'Restore Successfully'
WHERE `phrase` = 'restore_successfully';
UPDATE `language` SET `english` = 'Retail Price'
WHERE `phrase` = 'retail_price';
UPDATE `language` SET `english` = 'Retl Price'
WHERE `phrase` = 'retprice';
UPDATE `language` SET `english` = 'Right To Left'
WHERE `phrase` = 'right_to_left';
UPDATE `language` SET `english` = 'Role'
WHERE `phrase` = 'role';
UPDATE `language` SET `english` = 'Role List'
WHERE `phrase` = 'role_list';
UPDATE `language` SET `english` = 'Role Name'
WHERE `phrase` = 'role_name';
UPDATE `language` SET `english` = 'Role Permission'
WHERE `phrase` = 'role_permission';
UPDATE `language` SET `english` = 'Role Permission List'
WHERE `phrase` = 'role_permission_list';
UPDATE `language` SET `english` = 'Sales'
WHERE `phrase` = 'sale';
UPDATE `language` SET `english` = 'Sales Man'
WHERE `phrase` = 'sales_man';
UPDATE `language` SET `english` = 'Save'
WHERE `phrase` = 'save';
UPDATE `language` SET `english` = 'Save Successfully!'
WHERE `phrase` = 'save_successfully';
UPDATE `language` SET `english` = 'See All Messages'
WHERE `phrase` = 'see_all_message';
UPDATE `language` SET `english` = 'Select Option'
WHERE `phrase` = 'select_option';
UPDATE `language` SET `english` = 'Send'
WHERE `phrase` = 'send';
UPDATE `language` SET `english` = 'Sender Name'
WHERE `phrase` = 'sender_name';
UPDATE `language` SET `english` = 'Sent'
WHERE `phrase` = 'sent';
UPDATE `language` SET `english` = 'Sent Message'
WHERE `phrase` = 'sent_message';
UPDATE `language` SET `english` = 'Set'
WHERE `phrase` = 'set';
UPDATE `language` SET `english` = 'Setting'
WHERE `phrase` = 'setting';
UPDATE `language` SET `english` = 'Application Alignment'
WHERE `phrase` = 'site_align';
UPDATE `language` SET `english` = 'size'
WHERE `phrase` = 'size';
UPDATE `language` SET `english` = 'SL'
WHERE `phrase` = 'sl';
INSERT INTO `customer` (`customer_code`, `customer_name`, `customer_phone`, `job_designation`, `store_id`, `customer_address`, `customer_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('mir123', 'Minhaz Ahmad', '324234234', 'Members', '2', '2263 Broadway', '234234234234', 'sdfsadf', 1, '2', '2018-05-27 10:32:14');
INSERT INTO `sales_parent` (`sale_id`, `invoice_no`, `customer_id`, `sale_type_id`, `store_id`, `salesman`, `sales_date`, `sales_time`, `gurrantor_1`, `gurrantor_2`, `advance_amnt`, `lease_id`, `inquiry_officer`, `total_amnt`) VALUES ('20180527103226', '1027', '25', '1', '2', '2', '2018-05-27', '10:32:26', NULL, NULL, NULL, NULL, NULL, '70.00');
INSERT INTO `payment_collection` (`sale_id`, `invoice_no`, `customer_id`, `paid_amnt`, `due_amnt`, `receive_by`, `payment_date`) VALUES ('20180527103226', '1027', '25', '70.00', NULL, '2', '2018-05-27');
INSERT INTO `sale_details` (`sale_id`, `product_id`, `qty`, `sell_price`, `sale_type_id`) VALUES ('20180527103226', '6', '2', '35', '1');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Sales', 'create', 'invoice_no-1027 total amount-70.00', '2', '2018-05-27 10:32:26');
INSERT INTO `user` (`id`, `firstname`, `lastname`, `email`, `password`, `about`, `store_id`, `is_admin`, `image`, `last_login`, `last_logout`, `ip_address`, `status`) VALUES ('', 'Mahmud', 'Ahmad', 'm@gmail.com', '202cb962ac59075b964b07152d234b70', 'dsfalsdkjf', '3', '0', './assets/img/user/5c01eb694a7c9797acec38fc5bffc610.jpg', NULL, NULL, NULL, '1');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('User', 'create', 'User ID :21', '2', '2018-05-27 10:38:38');
INSERT INTO `sec_userrole` (`id`, `user_id`, `roleid`, `createby`, `createdate`) VALUES ('', '21', '2', '2', '2018-05-27 10:39:03');
UPDATE `user` SET `last_logout` = '2018-05-27 10:39:09'
WHERE `id` = '2';
UPDATE `user` SET `last_login` = '2018-05-27 10:39:27', `ip_address` = '::1'
WHERE `id` = '21';
UPDATE `user` SET `last_logout` = '2018-05-27 11:51:28'
WHERE `id` = '21';
UPDATE `user` SET `last_login` = '2018-05-27 11:51:34', `ip_address` = '::1'
WHERE `id` = '2';
INSERT INTO `language` (`phrase`) VALUES ('cash');
INSERT INTO `language` (`phrase`) VALUES ('credit');
INSERT INTO `language` (`phrase`) VALUES ('customer_type');
UPDATE `language` SET `english` = 'Assign Role'
WHERE `phrase` = 'assign_role';
UPDATE `language` SET `english` = 'Available'
WHERE `phrase` = 'available';
UPDATE `language` SET `english` = 'Backup and Restore'
WHERE `phrase` = 'backup_and_restore';
UPDATE `language` SET `english` = 'Backup Date'
WHERE `phrase` = 'backup_date';
UPDATE `language` SET `english` = 'Backup Now!'
WHERE `phrase` = 'backup_now';
UPDATE `language` SET `english` = 'Backup Successfully'
WHERE `phrase` = 'backup_successfully';
UPDATE `language` SET `english` = 'Block Price'
WHERE `phrase` = 'block_price';
UPDATE `language` SET `english` = 'BL Price'
WHERE `phrase` = 'bl_price';
UPDATE `language` SET `english` = 'Brand'
WHERE `phrase` = 'brand';
UPDATE `language` SET `english` = 'Brand List'
WHERE `phrase` = 'brand_list';
UPDATE `language` SET `english` = 'Brand Name'
WHERE `phrase` = 'brand_name';
UPDATE `language` SET `english` = 'Business Address'
WHERE `phrase` = 'business_address';
UPDATE `language` SET `english` = 'Captcha Word'
WHERE `phrase` = 'captcha';
UPDATE `language` SET `english` = 'NID'
WHERE `phrase` = 'cardno';
UPDATE `language` SET `english` = 'Cash'
WHERE `phrase` = 'cash';
UPDATE `language` SET `english` = 'Cash Sale'
WHERE `phrase` = 'cashsale';
UPDATE `language` SET `english` = 'Cash Sale List'
WHERE `phrase` = 'cash_sale_list';
UPDATE `language` SET `english` = 'Category'
WHERE `phrase` = 'category';
UPDATE `language` SET `english` = 'Category List'
WHERE `phrase` = 'category_list';
UPDATE `language` SET `english` = 'Category Name'
WHERE `phrase` = 'category_name';
UPDATE `language` SET `english` = 'Checked By'
WHERE `phrase` = 'checked_by';
UPDATE `language` SET `english` = 'Check_receive'
WHERE `phrase` = 'check_receive';
UPDATE `language` SET `english` = 'Create'
WHERE `phrase` = 'create';
UPDATE `language` SET `english` = 'Create User Role'
WHERE `phrase` = 'create_user_role';
UPDATE `language` SET `english` = 'Credit'
WHERE `phrase` = 'credit';
UPDATE `language` SET `english` = 'Credit Sale List'
WHERE `phrase` = 'credit_sale_list';
UPDATE `language` SET `english` = 'Customer'
WHERE `phrase` = 'customer';
UPDATE `language` SET `english` = 'Customer CNC'
WHERE `phrase` = 'customer_cnic';
UPDATE `language` SET `english` = 'Customer Code'
WHERE `phrase` = 'customer_code';
UPDATE `language` SET `english` = 'Customer Name'
WHERE `phrase` = 'customer_name';
UPDATE `language` SET `english` = 'Customer Type'
WHERE `phrase` = 'customer_type';
UPDATE `language` SET `english` = 'Dashboard'
WHERE `phrase` = 'dashboard';
UPDATE `language` SET `english` = 'Database Backup'
WHERE `phrase` = 'database_backup';
UPDATE `language` SET `english` = 'Data Import First'
WHERE `phrase` = 'data_import_first';
UPDATE `language` SET `english` = 'Data Import Successfully!'
WHERE `phrase` = 'data_import_successfully';
UPDATE `language` SET `english` = 'Data Import To Database'
WHERE `phrase` = 'data_import_to_database';
UPDATE `language` SET `english` = 'Data Synchronize'
WHERE `phrase` = 'data_synchronize';
UPDATE `language` SET `english` = 'Data Synchronizer'
WHERE `phrase` = 'data_synchronizer';
UPDATE `language` SET `english` = 'Data Upload to Server'
WHERE `phrase` = 'data_upload_to_server';
UPDATE `language` SET `english` = 'Date'
WHERE `phrase` = 'date';
UPDATE `language` SET `english` = 'Delete'
WHERE `phrase` = 'delete';
UPDATE `language` SET `english` = 'Delete Successfully!'
WHERE `phrase` = 'delete_successfully';
UPDATE `language` SET `english` = 'Delete Successfully!'
WHERE `phrase` = 'delete_successfully';
UPDATE `language` SET `english` = 'Department'
WHERE `phrase` = 'department';
UPDATE `language` SET `english` = 'Description'
WHERE `phrase` = 'description';
UPDATE `language` SET `english` = 'Designation'
WHERE `phrase` = 'designation';
UPDATE `language` SET `english` = 'Module Direcotory'
WHERE `phrase` = 'directory';
UPDATE `language` SET `english` = 'Disapprove'
WHERE `phrase` = 'disapprove';
UPDATE `language` SET `english` = 'Download'
WHERE `phrase` = 'download';
UPDATE `language` SET `english` = 'Download Data from Server'
WHERE `phrase` = 'download_data_from_server';
INSERT INTO `customer` (`customer_id`, `customer_code`, `customer_name`, `type`, `customer_phone`, `store_id`, `job_designation`, `customer_address`, `customer_cnic`, `business_address`, `isactive`, `createby`, `createdate`, `updateby`, `updatedate`) VALUES ('', '1356', 'Kamrul Hasan', '1', '23423423', '3', 'jasdf', 'sdfasdf', '234234234', 'sdfasdf', '1', '2', '2018-05-27 12:14:58', '', '');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Customer', 'create', 26, '2', '2018-05-27 12:14:58');
INSERT INTO `customer` (`customer_code`, `customer_name`, `customer_phone`, `type`, `job_designation`, `store_id`, `customer_address`, `customer_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('54645343', 'wwww', '4234234', '4234234', '2', '2', 'sdfadsf', '234234234234', 'sdfsadf', 1, '2', '2018-05-27 12:25:12');
INSERT INTO `customer` (`customer_code`, `customer_name`, `customer_phone`, `type`, `job_designation`, `store_id`, `customer_address`, `customer_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('8888', 'Jabbar', '234234234', '234234234', '2', '2', 'sdfsdaf', '98877734', 'sdfsadf', 1, '2', '2018-05-27 12:27:03');
INSERT INTO `customer` (`customer_code`, `customer_name`, `customer_phone`, `type`, `job_designation`, `store_id`, `customer_address`, `customer_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('1234123234', 'Humayun', '234234234', '234234234', '3', '2', 'dsfasdf', '24234234', 'sdfsadf', 1, '2', '2018-05-27 12:35:14');
INSERT INTO `language` (`phrase`) VALUES ('code');
UPDATE `language` SET `english` = 'Assign Role'
WHERE `phrase` = 'assign_role';
UPDATE `language` SET `english` = 'Available'
WHERE `phrase` = 'available';
UPDATE `language` SET `english` = 'Backup and Restore'
WHERE `phrase` = 'backup_and_restore';
UPDATE `language` SET `english` = 'Backup Date'
WHERE `phrase` = 'backup_date';
UPDATE `language` SET `english` = 'Backup Now!'
WHERE `phrase` = 'backup_now';
UPDATE `language` SET `english` = 'Backup Successfully'
WHERE `phrase` = 'backup_successfully';
UPDATE `language` SET `english` = 'Block Price'
WHERE `phrase` = 'block_price';
UPDATE `language` SET `english` = 'BL Price'
WHERE `phrase` = 'bl_price';
UPDATE `language` SET `english` = 'Brand'
WHERE `phrase` = 'brand';
UPDATE `language` SET `english` = 'Brand List'
WHERE `phrase` = 'brand_list';
UPDATE `language` SET `english` = 'Brand Name'
WHERE `phrase` = 'brand_name';
UPDATE `language` SET `english` = 'Business Address'
WHERE `phrase` = 'business_address';
UPDATE `language` SET `english` = 'Captcha Word'
WHERE `phrase` = 'captcha';
UPDATE `language` SET `english` = 'NID'
WHERE `phrase` = 'cardno';
UPDATE `language` SET `english` = 'Cash'
WHERE `phrase` = 'cash';
UPDATE `language` SET `english` = 'Cash Sale'
WHERE `phrase` = 'cashsale';
UPDATE `language` SET `english` = 'Cash Sale List'
WHERE `phrase` = 'cash_sale_list';
UPDATE `language` SET `english` = 'Category'
WHERE `phrase` = 'category';
UPDATE `language` SET `english` = 'Category List'
WHERE `phrase` = 'category_list';
UPDATE `language` SET `english` = 'Category Name'
WHERE `phrase` = 'category_name';
UPDATE `language` SET `english` = 'Checked By'
WHERE `phrase` = 'checked_by';
UPDATE `language` SET `english` = 'Check_receive'
WHERE `phrase` = 'check_receive';
UPDATE `language` SET `english` = 'Code'
WHERE `phrase` = 'code';
UPDATE `language` SET `english` = 'Create'
WHERE `phrase` = 'create';
UPDATE `language` SET `english` = 'Create User Role'
WHERE `phrase` = 'create_user_role';
INSERT INTO `language` (`phrase`) VALUES ('cnic');
UPDATE `language` SET `english` = 'Assign Role'
WHERE `phrase` = 'assign_role';
UPDATE `language` SET `english` = 'Available'
WHERE `phrase` = 'available';
UPDATE `language` SET `english` = 'Backup and Restore'
WHERE `phrase` = 'backup_and_restore';
UPDATE `language` SET `english` = 'Backup Date'
WHERE `phrase` = 'backup_date';
UPDATE `language` SET `english` = 'Backup Now!'
WHERE `phrase` = 'backup_now';
UPDATE `language` SET `english` = 'Backup Successfully'
WHERE `phrase` = 'backup_successfully';
UPDATE `language` SET `english` = 'Block Price'
WHERE `phrase` = 'block_price';
UPDATE `language` SET `english` = 'BL Price'
WHERE `phrase` = 'bl_price';
UPDATE `language` SET `english` = 'Brand'
WHERE `phrase` = 'brand';
UPDATE `language` SET `english` = 'Brand List'
WHERE `phrase` = 'brand_list';
UPDATE `language` SET `english` = 'Brand Name'
WHERE `phrase` = 'brand_name';
UPDATE `language` SET `english` = 'Business Address'
WHERE `phrase` = 'business_address';
UPDATE `language` SET `english` = 'Captcha Word'
WHERE `phrase` = 'captcha';
UPDATE `language` SET `english` = 'NID'
WHERE `phrase` = 'cardno';
UPDATE `language` SET `english` = 'Cash'
WHERE `phrase` = 'cash';
UPDATE `language` SET `english` = 'Cash Sale'
WHERE `phrase` = 'cashsale';
UPDATE `language` SET `english` = 'Cash Sale List'
WHERE `phrase` = 'cash_sale_list';
UPDATE `language` SET `english` = 'Category'
WHERE `phrase` = 'category';
UPDATE `language` SET `english` = 'Category List'
WHERE `phrase` = 'category_list';
UPDATE `language` SET `english` = 'Category Name'
WHERE `phrase` = 'category_name';
UPDATE `language` SET `english` = 'Checked By'
WHERE `phrase` = 'checked_by';
UPDATE `language` SET `english` = 'Check_receive'
WHERE `phrase` = 'check_receive';
UPDATE `language` SET `english` = 'CNIC'
WHERE `phrase` = 'cnic';
UPDATE `language` SET `english` = 'Code'
WHERE `phrase` = 'code';
UPDATE `language` SET `english` = 'Create'
WHERE `phrase` = 'create';
UPDATE `user` SET `last_login` = '2018-05-28 05:22:20', `ip_address` = '::1'
WHERE `id` = '2';
INSERT INTO `language` (`phrase`) VALUES ('um');
UPDATE `language` SET `english` = 'Total'
WHERE `phrase` = 'total';
UPDATE `language` SET `english` = 'Total Amount'
WHERE `phrase` = 'total_amount';
UPDATE `language` SET `english` = 'U/M'
WHERE `phrase` = 'um';
UPDATE `language` SET `english` = 'Unable to download file! please check configuration'
WHERE `phrase` = 'unable_to_download_file_please_check_configuration';
UPDATE `language` SET `english` = 'Unable to import data! please check configuration / SQL file.'
WHERE `phrase` = 'unable_to_import_data_please_check_config_or_sql_file';
UPDATE `language` SET `english` = 'Unable to upload file! please check configuration'
WHERE `phrase` = 'unable_to_upload_file_please_check_configuration';
UPDATE `language` SET `english` = 'Uninstall'
WHERE `phrase` = 'uninstall';
UPDATE `language` SET `english` = 'Unit of Measurement'
WHERE `phrase` = 'unit';
UPDATE `language` SET `english` = 'Unit List'
WHERE `phrase` = 'unit_list';
UPDATE `language` SET `english` = 'Unit Name'
WHERE `phrase` = 'unit_name';
UPDATE `language` SET `english` = 'Update'
WHERE `phrase` = 'update';
UPDATE `language` SET `english` = 'Lease Update'
WHERE `phrase` = 'update_lease';
UPDATE `language` SET `english` = 'Update Module Permission'
WHERE `phrase` = 'update_module_permission';
UPDATE `language` SET `english` = 'Update Successfully'
WHERE `phrase` = 'update_successfully';
UPDATE `language` SET `english` = 'Upload Successfully!'
WHERE `phrase` = 'upload_successfully';
UPDATE `language` SET `english` = 'User'
WHERE `phrase` = 'user';
UPDATE `language` SET `english` = 'User Name'
WHERE `phrase` = 'username';
UPDATE `language` SET `english` = 'User Added Successfully!'
WHERE `phrase` = 'user_added_successfully';
UPDATE `language` SET `english` = 'User Agent'
WHERE `phrase` = 'user_agent';
UPDATE `language` SET `english` = 'User List'
WHERE `phrase` = 'user_list';
UPDATE `language` SET `english` = 'User Name'
WHERE `phrase` = 'user_name';
UPDATE `language` SET `english` = 'User Permission'
WHERE `phrase` = 'user_permission';
UPDATE `language` SET `english` = 'User Role'
WHERE `phrase` = 'user_role';
UPDATE `language` SET `english` = 'User Role List'
WHERE `phrase` = 'user_role_list';
UPDATE `language` SET `english` = 'User Type'
WHERE `phrase` = 'user_type';
INSERT INTO `product` (`product_id`, `product_name`, `product_code`, `model`, `category`, `brand`, `unit`, `product_details`, `purchase_price`, `block_price`, `minimum_price`, `retail_price`, `createby`, `createdate`, `updateby`, `updatedate`, `isactive`) VALUES ('', 'Test-Second-Test Model', 'pro-3', 'Test Model', 'Test', 'Second', 'Test', 'measurement test', '0', '0', '0', '0', '2', '2018-05-28 05:40:44', '', '', 1);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Product', 'create', 'product ID :13', '2', '2018-05-28 05:40:44');
UPDATE `product` SET `product_id` = '13', `product_name` = 'Test-Second-Test Model', `product_code` = 'pro-3', `model` = 'Test Model', `category` = 'Test', `brand` = 'Second', `unit` = 'Test', `product_details` = 'measurement testss', `purchase_price` = '0', `block_price` = '0', `minimum_price` = '0', `retail_price` = '0', `createby` = '2', `createdate` = '2018-05-28 05:42:55', `updateby` = '2', `updatedate` = '2018-05-28 05:42:55', `isactive` = 1
WHERE `product_id` = '13';
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Product', 'update', 'product ID :13', '2', '2018-05-28 05:42:55');
UPDATE `product` SET `product_id` = '13', `product_name` = 'Test-Second-Test Model', `product_code` = 'pro-3', `category` = 'Test', `model` = 'Test Model', `unit` = 'Test', `brand` = 'Second', `product_details` = 'measurement testss', `purchase_price` = '5', `minimum_price` = '7', `retail_price` = '10', `block_price` = '6', `isactive` = '1'
WHERE `product_id` IN('13');
UPDATE `product` SET `product_id` = '12', `product_name` = 'Test+Second+Test Model', `product_code` = 'pro-2', `category` = 'Test', `model` = 'Test Model', `unit` = 'Test', `brand` = 'Second', `product_details` = 'sdfasd', `purchase_price` = '12', `minimum_price` = '16', `retail_price` = '19', `block_price` = '12', `isactive` = '0'
WHERE `product_id` IN('12');
UPDATE `product` SET `product_id` = '11', `product_name` = 'Banana', `product_code` = 'pro-0001', `category` = '1', `model` = '1', `unit` = '1', `brand` = '1', `product_details` = 'adsfsdf', `purchase_price` = '13', `minimum_price` = '15', `retail_price` = '20', `block_price` = '14', `isactive` = '1'
WHERE `product_id` IN('11');
UPDATE `product` SET `product_id` = '10', `product_name` = 'Orange', `product_code` = 'o-12', `category` = '0', `model` = '0', `unit` = '0', `brand` = '0', `product_details` = 'This is product details', `purchase_price` = '120', `minimum_price` = '130', `retail_price` = '150', `block_price` = '125', `isactive` = '1'
WHERE `product_id` IN('10');
UPDATE `product` SET `product_id` = '9', `product_name` = 'B', `product_code` = 'a-1', `category` = '0', `model` = '0', `unit` = '0', `brand` = '0', `product_details` = 'sadfsdf', `purchase_price` = '15', `minimum_price` = '18', `retail_price` = '20', `block_price` = '17', `isactive` = '1'
WHERE `product_id` IN('9');
UPDATE `product` SET `product_id` = '8', `product_name` = 'A', `product_code` = 'a-1', `category` = '0', `model` = '0', `unit` = '0', `brand` = '0', `product_details` = 'dsfsd', `purchase_price` = '20', `minimum_price` = '23', `retail_price` = '25', `block_price` = '21', `isactive` = '1'
WHERE `product_id` IN('8');
UPDATE `product` SET `product_id` = '7', `product_name` = 'Coconut', `product_code` = '', `category` = '0', `model` = '0', `unit` = '0', `brand` = '0', `product_details` = 'Etc', `purchase_price` = '45', `minimum_price` = '50', `retail_price` = '55', `block_price` = '48', `isactive` = '1'
WHERE `product_id` IN('7');
UPDATE `product` SET `product_id` = '6', `product_name` = 'Mango', `product_code` = '', `category` = '0', `model` = '0', `unit` = '0', `brand` = '0', `product_details` = 'sdfsdf', `purchase_price` = '25', `minimum_price` = '30', `retail_price` = '35', `block_price` = '28', `isactive` = '1'
WHERE `product_id` IN('6');
UPDATE `product` SET `product_id` = '5', `product_name` = 'kkr', `product_code` = '', `category` = '0', `model` = '0', `unit` = '0', `brand` = '0', `product_details` = 'sdf', `purchase_price` = '0', `minimum_price` = '0', `retail_price` = '0', `block_price` = '0', `isactive` = '1'
WHERE `product_id` IN('5');
UPDATE `product` SET `product_id` = '4', `product_name` = 'xxxxxx', `product_code` = '', `category` = '0', `model` = '0', `unit` = '0', `brand` = '0', `product_details` = '234234', `purchase_price` = '0', `minimum_price` = '0', `retail_price` = '0', `block_price` = '0', `isactive` = '1'
WHERE `product_id` IN('4');
UPDATE `product` SET `product_id` = '13', `product_name` = 'Test-Second-Test Model', `product_code` = 'pro-3', `model` = 'Test Model', `category` = 'Test', `brand` = 'Second', `unit` = 'Test', `product_details` = 'measurement test', `purchase_price` = '5', `block_price` = '6', `minimum_price` = '7', `retail_price` = '10', `createby` = '2', `createdate` = '2018-05-28 05:43:38', `updateby` = '2', `updatedate` = '2018-05-28 05:43:38', `isactive` = 1
WHERE `product_id` = '13';
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Product', 'update', 'product ID :13', '2', '2018-05-28 05:43:38');
UPDATE `language` SET `english` = 'Module Permission List'
WHERE `phrase` = 'module_permission_list';
UPDATE `language` SET `english` = 'Name'
WHERE `phrase` = 'name';
UPDATE `language` SET `english` = 'New'
WHERE `phrase` = 'new';
UPDATE `language` SET `english` = 'New Enquiry'
WHERE `phrase` = 'new_enquiry';
UPDATE `language` SET `english` = 'New Message'
WHERE `phrase` = 'new_message';
UPDATE `language` SET `english` = 'Not Available'
WHERE `phrase` = 'not_available';
UPDATE `language` SET `english` = 'No tables are registerd in config.php'
WHERE `phrase` = 'no_tables_are_registered_in_config';
UPDATE `language` SET `english` = 'Ok'
WHERE `phrase` = 'ok';
UPDATE `language` SET `english` = ' Ooops something went wrong...'
WHERE `phrase` = 'ooops_something_went_wrong';
UPDATE `language` SET `english` = 'Order Date'
WHERE `phrase` = 'order_date';
UPDATE `language` SET `english` = 'Order NO'
WHERE `phrase` = 'order_no';
UPDATE `language` SET `english` = 'Order QTY'
WHERE `phrase` = 'order_qty';
UPDATE `language` SET `english` = 'Outgoing File'
WHERE `phrase` = 'outgoing_file';
UPDATE `language` SET `english` = 'Overwrite'
WHERE `phrase` = 'overwrite';
UPDATE `language` SET `english` = 'Paid Amount'
WHERE `phrase` = 'paid_amount';
UPDATE `language` SET `english` = 'Package  Code'
WHERE `phrase` = 'pakage_code';
UPDATE `language` SET `english` = 'Package Name'
WHERE `phrase` = 'pakage_name';
UPDATE `language` SET `english` = 'Password'
WHERE `phrase` = 'password';
UPDATE `language` SET `english` = 'Receiving '
WHERE `phrase` = 'payment';
UPDATE `language` SET `english` = 'You Have No Permission'
WHERE `phrase` = 'permission_error';
UPDATE `language` SET `english` = 'Phone'
WHERE `phrase` = 'phone';
UPDATE `language` SET `english` = 'Please another Product Code!!!'
WHERE `phrase` = 'please_choose_another_p_code';
UPDATE `language` SET `english` = 'Please configure synchronizer settings'
WHERE `phrase` = 'please_configure_synchronizer_settings';
UPDATE `language` SET `english` = 'Please Contact With Admin'
WHERE `phrase` = 'please_contact_with_admin';
UPDATE `language` SET `english` = 'Please Try Again...'
WHERE `phrase` = 'please_try_again';
INSERT INTO `gurrantor` (`gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('gur1', 'soykot', '234234', NULL, 'Md', 'sdfsdaf', '0312asdf', 'sdfsdf', 1, '2', '2018-05-28 06:03:46');
INSERT INTO `gurrantor` (`gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('gur2', 'Salman', '23423', '2', 'Senior Executive', 'dsfsdf', '545432', 'sdfsdf', 1, '2', '2018-05-28 06:03:46');
INSERT INTO `gurrantor` (`gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('2344536456', 'g1', '23423234', NULL, '34234234234234', 'fsdarasf', '234234300234234', 'cvfdasdf', 1, '2', '2018-05-28 06:14:34');
INSERT INTO `gurrantor` (`gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('2340090234234', 'g2', '32423', '2', 'fsdafasdf', 'sdfasdf', 's324234', 'sdafasdf', 1, '2', '2018-05-28 06:14:34');
INSERT INTO `gurrantor` (`gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('00234324', 'gt1', '323', NULL, 'ds', 'sdfsda', '22222222222', 'dfsad', 1, '2', '2018-05-28 06:18:48');
INSERT INTO `gurrantor` (`gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('6556565', 'g1g', '22222323123', NULL, 'sdfasdf', 'sdfasdf', '0011122', 'sdfas', 1, '2', '2018-05-28 06:21:02');
INSERT INTO `gurrantor` (`gurrantor_id`, `gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES (NULL, '0067655', 'e2', '234234', '2', 'dsfasdf', 'fsadfasdf', '10000002', 'sdfsadf', 1, '2', '2018-05-28 06:23:12');
INSERT INTO `gurrantor` (`gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('445534', 'H1', '23423424234', NULL, 'sasdfasdf', 'sdfasd', '4234234234', 'dfasdf', 1, '2', '2018-05-28 06:29:02');
INSERT INTO `gurrantor` (`gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('4535345345345', 'H2', '23423423', '2', 'sdafasdf', 'fasdfas', '23423422312312', 'fasdfasdf', 1, '2', '2018-05-28 06:29:02');
INSERT INTO `gurrantor` (`gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('0123', 'r1', '32', NULL, 'sdfg', 'fdgdfg', '100001', 'sdfgsdfg', 1, '2', '2018-05-28 06:32:56');
INSERT INTO `gurrantor` (`gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('00999', 't2', '4234', '2', '324', '234', '003210', 'fsdf', 1, '2', '2018-05-28 06:37:30');
INSERT INTO `gurrantor` (`gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('099999', 't1', '234234', NULL, '324', '32423', '03212', 'sdfs', 1, '2', '2018-05-28 06:37:30');
INSERT INTO `gurrantor` (`gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('2', 'g2', '234234', '2', 'sdfsda', 'sadfasd', 'sdfsadf', 'sdfsdf', 1, '2', '2018-05-28 06:42:02');
INSERT INTO `gurrantor` (`gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('1', 'g1', '324234', NULL, 'sdfsdf', 'fsdf', 'dsfasdfsad', 'fsdfsda', 1, '2', '2018-05-28 06:42:02');
INSERT INTO `gurrantor` (`gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('324234', 'ttytryrty', 'r5345345', '2', 'sdfsdf', 'sdfsdf', '5435345', 'dsfsdf', 1, '2', '2018-05-28 07:12:04');
INSERT INTO `gurrantor` (`gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('5646', 'tryrtyrt', '3456345', '2', 'dsfsdf', 'sdfsdf', '375', 'sdfsdf', 1, '2', '2018-05-28 07:12:04');
INSERT INTO `gurrantor` (`gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('7', 'j1', '32432', NULL, 'sdfa', 'sdfsd', '23432324', 'sdfsd', 1, '2', '2018-05-28 07:29:03');
INSERT INTO `gurrantor` (`gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('456', 'h4', '34', '2', 'dgdsf', 'dfgsdf', '232', 'dfgdfg', 1, '2', '2018-05-28 07:31:17');
INSERT INTO `gurrantor` (`gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('657', 'h3', '45', NULL, 'fdgdf', 'dfgdsf', '231', 'gfdgdf', 1, '2', '2018-05-28 07:31:17');
INSERT INTO `gurrantor` (`gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('532', 'r1', '234', NULL, 'sdfs', 'sdfsda', '3456', 'sdfsda', 1, '2', '2018-05-28 07:33:59');
INSERT INTO `gurrantor` (`gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('3221', 'r2', '1233', '2', 'fsdf', 'fsdfsd', '7423', 'sdfsadf', 1, '2', '2018-05-28 07:33:59');
INSERT INTO `gurrantor` (`gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('0067', 'y', '534', NULL, 'dfgd', 'dfgdsf', '45345345', 'dfgdf', 1, '2', '2018-05-28 07:40:55');
INSERT INTO `gurrantor` (`gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('056', 'z', '432', '2', 'dfgd', 'gdfg', '23122', 'dfgdfg', 1, '2', '2018-05-28 07:40:55');
INSERT INTO `gurrantor` (`gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('5', 'dsg', '34', NULL, 'dfg', 'dfg', '63223', 'dfg', 1, '2', '2018-05-28 07:41:29');
INSERT INTO `gurrantor` (`gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('6', 'ss', '346', '2', 'dfgs', 'dfg', '0231', 'dsfgdsf', 1, '2', '2018-05-28 07:41:29');
INSERT INTO `gurrantor` (`gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('087', 'u', '3423', NULL, 'dfsd', 'sdfsdf', '56345', 'sdfsdf', 1, '2', '2018-05-28 07:45:06');
INSERT INTO `gurrantor` (`gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('086', 's', '3123', '2', 'sdfsd', 'dsfsd', '3412', 'sdfs', 1, '2', '2018-05-28 07:45:06');
INSERT INTO `gurrantor` (`gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('563', 'isahaq', '56', '2', 'dfdfg', 'dfgdsf', '888', 'fdgdfg', 1, '2', '2018-05-28 07:47:14');
INSERT INTO `gurrantor` (`gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('546', 'kamal', '231', '2', 'dfgsdf', 'dfgdfg', '666', 'dfgsdfg', 1, '2', '2018-05-28 07:47:14');
INSERT INTO `gurrantor` (`gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('1236', 'jahid', '324234', '2', 'hsdfgdsf', 'fdgsdfg', '6455645', 'gfsdfg', 1, '2', '2018-05-28 07:50:08');
INSERT INTO `gurrantor` (`gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('2367', 'alom', '234324', '2', 'dsfg', 'dfsgsd', '456457', 'dsfgsdf', 1, '2', '2018-05-28 07:50:08');
INSERT INTO `sales_parent` (`sale_id`, `invoice_no`, `customer_id`, `sale_type_id`, `store_id`, `salesman`, `sales_date`, `sales_time`, `gurrantor_1`, `gurrantor_2`, `advance_amnt`, `lease_id`, `inquiry_officer`, `total_amnt`) VALUES ('20180528075219', '1028', '23', '3', '2', '2', '2018-05-28', '07:52:19', '12', '11', '346.5', '3', '9', '350.00');
INSERT INTO `payment_collection` (`sale_id`, `invoice_no`, `customer_id`, `paid_amnt`, `due_amnt`, `receive_by`, `payment_date`) VALUES ('20180528075219', '1028', '23', '350.00', '3.50', '2', '2018-05-28');
INSERT INTO `customer_gurrantor_map` (`lease_id`, `customer_id`, `gurrantor_id`) VALUES ('3', '23', '12');
INSERT INTO `customer_gurrantor_map` (`lease_id`, `customer_id`, `gurrantor_id`) VALUES ('3', '23', '11');
INSERT INTO `sale_details` (`sale_id`, `product_id`, `qty`, `sell_price`, `sale_type_id`) VALUES ('20180528075219', '6', '10', '35', '3');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Sales', 'create', 'invoice_no-1028 total amount-350.00', '2', '2018-05-28 07:52:19');
INSERT INTO `language` (`phrase`) VALUES ('contact');
UPDATE `language` SET `english` = 'Assign Role'
WHERE `phrase` = 'assign_role';
UPDATE `language` SET `english` = 'Available'
WHERE `phrase` = 'available';
UPDATE `language` SET `english` = 'Backup and Restore'
WHERE `phrase` = 'backup_and_restore';
UPDATE `language` SET `english` = 'Backup Date'
WHERE `phrase` = 'backup_date';
UPDATE `language` SET `english` = 'Backup Now!'
WHERE `phrase` = 'backup_now';
UPDATE `language` SET `english` = 'Backup Successfully'
WHERE `phrase` = 'backup_successfully';
UPDATE `language` SET `english` = 'Block Price'
WHERE `phrase` = 'block_price';
UPDATE `language` SET `english` = 'BL Price'
WHERE `phrase` = 'bl_price';
UPDATE `language` SET `english` = 'Brand'
WHERE `phrase` = 'brand';
UPDATE `language` SET `english` = 'Brand List'
WHERE `phrase` = 'brand_list';
UPDATE `language` SET `english` = 'Brand Name'
WHERE `phrase` = 'brand_name';
UPDATE `language` SET `english` = 'Business Address'
WHERE `phrase` = 'business_address';
UPDATE `language` SET `english` = 'Captcha Word'
WHERE `phrase` = 'captcha';
UPDATE `language` SET `english` = 'NID'
WHERE `phrase` = 'cardno';
UPDATE `language` SET `english` = 'Cash'
WHERE `phrase` = 'cash';
UPDATE `language` SET `english` = 'Cash Sale'
WHERE `phrase` = 'cashsale';
UPDATE `language` SET `english` = 'Cash Sale List'
WHERE `phrase` = 'cash_sale_list';
UPDATE `language` SET `english` = 'Category'
WHERE `phrase` = 'category';
UPDATE `language` SET `english` = 'Category List'
WHERE `phrase` = 'category_list';
UPDATE `language` SET `english` = 'Category Name'
WHERE `phrase` = 'category_name';
UPDATE `language` SET `english` = 'Checked By'
WHERE `phrase` = 'checked_by';
UPDATE `language` SET `english` = 'Check_receive'
WHERE `phrase` = 'check_receive';
UPDATE `language` SET `english` = 'CNIC'
WHERE `phrase` = 'cnic';
UPDATE `language` SET `english` = 'Code'
WHERE `phrase` = 'code';
UPDATE `language` SET `english` = 'Contact No'
WHERE `phrase` = 'contact';
INSERT INTO `customer` (`customer_id`, `customer_code`, `customer_name`, `type`, `customer_phone`, `store_id`, `job_designation`, `customer_address`, `customer_cnic`, `business_address`, `isactive`, `createby`, `createdate`, `updateby`, `updatedate`) VALUES ('', 'cust-123', 'user', '1', '23432', '2', 'sdf', 'sdfsad', '2349923', 'dsfsdaf', '1', '2', '2018-05-28 08:36:22', '', '');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Customer', 'create', 30, '2', '2018-05-28 08:36:22');
INSERT INTO `customer` (`customer_id`, `customer_code`, `customer_name`, `type`, `customer_phone`, `store_id`, `job_designation`, `customer_address`, `customer_cnic`, `business_address`, `isactive`, `createby`, `createdate`, `updateby`, `updatedate`) VALUES ('', 'cc-124', 'jakaria', '1', '342324', '3', 'junior programmar', 'sadfsdf', '3223', 'sdfsdf', '1', '2', '2018-05-28 08:47:02', '', '');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Customer', 'create', 31, '2', '2018-05-28 08:47:03');
UPDATE `user` SET `last_logout` = '2018-05-28 09:04:33'
WHERE `id` = '2';
UPDATE `user` SET `last_login` = '2018-05-28 09:04:43', `ip_address` = '::1'
WHERE `id` = '2';
UPDATE `user` SET `last_login` = '2018-05-29 08:06:28', `ip_address` = '::1'
WHERE `id` = '2';
INSERT INTO `customer` (`customer_code`, `customer_name`, `customer_phone`, `type`, `job_designation`, `store_id`, `customer_address`, `customer_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('ls-1', 'Hasan', '01582', '3', 'sdfasdf', '2', 'sadfasdf', '2345', 'sdfasdf', 1, '2', '2018-05-29 08:07:22');
INSERT INTO `language` (`phrase`) VALUES ('package_amount');
UPDATE `language` SET `english` = 'Module Permission Added Successfully!'
WHERE `phrase` = 'module_permission_added_successfully';
UPDATE `language` SET `english` = 'Module Permission List'
WHERE `phrase` = 'module_permission_list';
UPDATE `language` SET `english` = 'Name'
WHERE `phrase` = 'name';
UPDATE `language` SET `english` = 'New'
WHERE `phrase` = 'new';
UPDATE `language` SET `english` = 'New Enquiry'
WHERE `phrase` = 'new_enquiry';
UPDATE `language` SET `english` = 'New Message'
WHERE `phrase` = 'new_message';
UPDATE `language` SET `english` = 'Not Available'
WHERE `phrase` = 'not_available';
UPDATE `language` SET `english` = 'No tables are registerd in config.php'
WHERE `phrase` = 'no_tables_are_registered_in_config';
UPDATE `language` SET `english` = 'Ok'
WHERE `phrase` = 'ok';
UPDATE `language` SET `english` = ' Ooops something went wrong...'
WHERE `phrase` = 'ooops_something_went_wrong';
UPDATE `language` SET `english` = 'Order Date'
WHERE `phrase` = 'order_date';
UPDATE `language` SET `english` = 'Order NO'
WHERE `phrase` = 'order_no';
UPDATE `language` SET `english` = 'Order QTY'
WHERE `phrase` = 'order_qty';
UPDATE `language` SET `english` = 'Outgoing File'
WHERE `phrase` = 'outgoing_file';
UPDATE `language` SET `english` = 'Overwrite'
WHERE `phrase` = 'overwrite';
UPDATE `language` SET `english` = 'Package Amount'
WHERE `phrase` = 'package_amount';
UPDATE `language` SET `english` = 'Paid Amount'
WHERE `phrase` = 'paid_amount';
UPDATE `language` SET `english` = 'Package  Code'
WHERE `phrase` = 'pakage_code';
UPDATE `language` SET `english` = 'Package Name'
WHERE `phrase` = 'pakage_name';
UPDATE `language` SET `english` = 'Password'
WHERE `phrase` = 'password';
UPDATE `language` SET `english` = 'Receiving '
WHERE `phrase` = 'payment';
UPDATE `language` SET `english` = 'You Have No Permission'
WHERE `phrase` = 'permission_error';
UPDATE `language` SET `english` = 'Phone'
WHERE `phrase` = 'phone';
UPDATE `language` SET `english` = 'Please another Product Code!!!'
WHERE `phrase` = 'please_choose_another_p_code';
UPDATE `language` SET `english` = 'Please configure synchronizer settings'
WHERE `phrase` = 'please_configure_synchronizer_settings';
INSERT INTO `gurrantor` (`gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('t22', 'Mubin', '34234', '2', 'Design', 'dsfdsaf', '34324', 'fsdf', 1, '2', '2018-05-29 09:59:19');
INSERT INTO `gurrantor` (`gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('t33', 'Tuhin', '32423', '2', 'Develop', 'dsfsd', '324324', 'sdfsdf', 1, '2', '2018-05-29 09:59:19');
INSERT INTO `sales_parent` (`sale_id`, `invoice_no`, `customer_id`, `sale_type_id`, `store_id`, `salesman`, `sales_date`, `sales_time`, `gurrantor_1`, `gurrantor_2`, `advance_amnt`, `lease_id`, `inquiry_officer`, `installment_amnt`, `total_amnt`) VALUES ('20180529100007', '1029', '2', '3', '2', '2', '2018-05-29', '10:00:07', '14', '13', '72', '4', '9', '244.80', '180.00');
INSERT INTO `payment_collection` (`sale_id`, `invoice_no`, `customer_id`, `paid_amnt`, `due_amnt`, `receive_by`, `payment_date`) VALUES ('20180529100007', '1029', '2', '180.00', NULL, '2', '2018-05-29');
INSERT INTO `customer_gurrantor_map` (`lease_id`, `customer_id`, `gurrantor_id`) VALUES ('4', '2', '14');
INSERT INTO `customer_gurrantor_map` (`lease_id`, `customer_id`, `gurrantor_id`) VALUES ('4', '2', '13');
INSERT INTO `sale_details` (`sale_id`, `product_id`, `qty`, `sell_price`, `sale_type_id`) VALUES ('20180529100007', '6', '2', '35', '3');
INSERT INTO `sale_details` (`sale_id`, `product_id`, `qty`, `sell_price`, `sale_type_id`) VALUES ('20180529100007', '7', '2', '55', '3');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Sales', 'create', 'invoice_no-1029 total amount-180.00', '2', '2018-05-29 10:00:07');
INSERT INTO `gurrantor` (`gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('gc-1', 'TEst1', '234324', '2', 'sdfsadf', 'sdfsa', '23443', 'sdfsadf', 1, '2', '2018-05-29 10:40:24');
INSERT INTO `gurrantor` (`gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('gc-2', 'Test2', '234234', '2', 'dsfasdf', 'fasdfasdd', '123123123', 'dsfasdf', 1, '2', '2018-05-29 10:40:24');
INSERT INTO `gurrantor` (`gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('gc-3', 'gur1', '32423', '2', 'sdfsdf', 'dsfasdf', '234234', 'sdfasdfsdf', 1, '2', '2018-05-29 10:45:53');
INSERT INTO `gurrantor` (`gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('gc-4', 'gur2', '324', '2', 'dsfsdf', 'dsfasdf', '23123123', 'sdfsdf', 1, '2', '2018-05-29 10:45:53');
INSERT INTO `sales_parent` (`sale_id`, `invoice_no`, `customer_id`, `sale_type_id`, `store_id`, `salesman`, `sales_date`, `sales_time`, `gurrantor_1`, `gurrantor_2`, `advance_amnt`, `lease_id`, `inquiry_officer`, `installment_amnt`, `total_amnt`) VALUES ('20180529104624', '1030', '2', '3', '2', '2', '2018-05-29', '10:46:24', '18', '17', '42', '4', '13', '142.80', '105.00');
INSERT INTO `payment_collection` (`sale_id`, `invoice_no`, `customer_id`, `receive_amnt`, `due_amnt`, `receive_by`, `receive_date`) VALUES ('20180529104624', '1030', '2', '105.00', NULL, '2', '2018-05-29');
INSERT INTO `customer_gurrantor_map` (`lease_id`, `customer_id`, `gurrantor_id`) VALUES ('4', '2', '18');
INSERT INTO `customer_gurrantor_map` (`lease_id`, `customer_id`, `gurrantor_id`) VALUES ('4', '2', '17');
INSERT INTO `sale_details` (`sale_id`, `product_id`, `qty`, `sell_price`, `sale_type_id`) VALUES ('20180529104624', '6', '3', '35', '3');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Sales', 'create', 'invoice_no-1030 total amount-105.00', '2', '2018-05-29 10:46:25');
INSERT INTO `language` (`phrase`) VALUES ('supplier_code');
UPDATE `language` SET `english` = 'Sent'
WHERE `phrase` = 'sent';
UPDATE `language` SET `english` = 'Sent Message'
WHERE `phrase` = 'sent_message';
UPDATE `language` SET `english` = 'Set'
WHERE `phrase` = 'set';
UPDATE `language` SET `english` = 'Setting'
WHERE `phrase` = 'setting';
UPDATE `language` SET `english` = 'Application Alignment'
WHERE `phrase` = 'site_align';
UPDATE `language` SET `english` = 'size'
WHERE `phrase` = 'size';
UPDATE `language` SET `english` = 'SL'
WHERE `phrase` = 'sl';
UPDATE `language` SET `english` = 'SL No.'
WHERE `phrase` = 'sl_no';
UPDATE `language` SET `english` = 'Status'
WHERE `phrase` = 'status';
UPDATE `language` SET `english` = 'Stock Movement'
WHERE `phrase` = 'stockmovment';
UPDATE `language` SET `english` = 'Stock Qty'
WHERE `phrase` = 'stock_ctn';
UPDATE `language` SET `english` = 'Store'
WHERE `phrase` = 'store';
UPDATE `language` SET `english` = 'Store/warehouse'
WHERE `phrase` = 'storewarehouse';
UPDATE `language` SET `english` = 'Store Address'
WHERE `phrase` = 'store_address';
UPDATE `language` SET `english` = 'Store Code'
WHERE `phrase` = 'store_code';
UPDATE `language` SET `english` = 'Store Name'
WHERE `phrase` = 'store_name';
UPDATE `language` SET `english` = 'Store Phone'
WHERE `phrase` = 'store_phone';
UPDATE `language` SET `english` = 'Subject'
WHERE `phrase` = 'subject';
UPDATE `language` SET `english` = 'Submit '
WHERE `phrase` = 'submit';
UPDATE `language` SET `english` = 'Submit and Another'
WHERE `phrase` = 'submit_and_add_another';
UPDATE `language` SET `english` = 'Successfully Approved'
WHERE `phrase` = 'successfully_approved';
UPDATE `language` SET `english` = 'Super Admin'
WHERE `phrase` = 'super_admin';
UPDATE `language` SET `english` = 'Supplier'
WHERE `phrase` = 'supplier';
UPDATE `language` SET `english` = 'Supplier Code'
WHERE `phrase` = 'supplier_code';
UPDATE `language` SET `english` = 'Supplier Name'
WHERE `phrase` = 'supplier_name';
INSERT INTO `supplier` (`supplier_id`, `supplier_name`, `supplier_code`, `phone`, `address`, `email`, `isactive`, `createby`, `createdate`, `updateby`, `updatedate`) VALUES ('', 'Mohsin', 'sup-1', '3423423', 'sdfsdf', 'mohsin@gmail.com', 1, '2', '2018-05-29 11:46:45', '', '');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Supplier', 'create', 'Supplier ID :3', '2', '2018-05-29 11:46:45');
INSERT INTO `gurrantor` (`gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('gc-5', 'werwer', '2124962901', '2', '', '2263 Broadway', '45345345435', '2263 Broadway', 1, '2', '2018-05-29 12:18:56');
INSERT INTO `gurrantor` (`gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('gc-6', 'sdfasdf', '2124962901', '2', '', '', '45345345345', '', 1, '2', '2018-05-29 12:18:56');
INSERT INTO `gurrantor` (`gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('gc-7', 'jahangir', '324234', '2', 'sdf', 'sdfasd', '23423', 'sdfasdf', 1, '2', '2018-05-29 13:04:48');
INSERT INTO `gurrantor` (`gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('gc-8', 'Muhit', '34654', '2', 'sdfas', 'sdfsadf', '2343222', 'sdfsdaf', 1, '2', '2018-05-29 13:04:48');
INSERT INTO `sales_parent` (`sale_id`, `invoice_no`, `customer_id`, `sale_type_id`, `store_id`, `salesman`, `sales_date`, `sales_time`, `gurrantor_1`, `gurrantor_2`, `advance_amnt`, `lease_id`, `inquiry_officer`, `installment_amnt`, `package_price`, `total_amnt`) VALUES ('20180529130510', '1031', '2', '3', '2', '2', '2018-05-29', '13:05:10', '22', '21', '28', '4', '9', '67.20', '95.2', '70.00');
INSERT INTO `payment_collection` (`sale_id`, `invoice_no`, `customer_id`, `receive_amnt`, `due_amnt`, `receive_by`, `receive_date`) VALUES ('20180529130510', '1031', '2', '28', '67.20', '2', '2018-05-29');
INSERT INTO `customer_gurrantor_map` (`lease_id`, `customer_id`, `gurrantor_id`) VALUES ('4', '2', '22');
INSERT INTO `customer_gurrantor_map` (`lease_id`, `customer_id`, `gurrantor_id`) VALUES ('4', '2', '21');
INSERT INTO `sale_details` (`sale_id`, `product_id`, `qty`, `sell_price`, `sale_type_id`) VALUES ('20180529130510', '6', '2', '35', '3');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Sales', 'create', 'invoice_no-1031 total amount-70.00', '2', '2018-05-29 13:05:11');
UPDATE `user` SET `last_login` = '2018-05-30 05:30:40', `ip_address` = '::1'
WHERE `id` = '2';
INSERT INTO `sales_parent` (`sale_id`, `invoice_no`, `customer_id`, `sale_type_id`, `store_id`, `salesman`, `sales_date`, `sales_time`, `gurrantor_1`, `gurrantor_2`, `advance_amnt`, `lease_id`, `inquiry_officer`, `remaining_amnt`, `installment_amnt`, `package_price`, `total_amnt`) VALUES ('20180530071203', '1032', '2', '2', '2', '2', '2018-05-30', '07:12:03', NULL, NULL, '150', NULL, NULL, '25.00', '25.00', 0, '175.00');
INSERT INTO `payment_collection` (`sale_id`, `invoice_no`, `customer_id`, `receive_amnt`, `due_amnt`, `receive_by`, `receive_date`) VALUES ('20180530071203', '1032', '2', '150', '25.00', '2', '2018-05-30');
INSERT INTO `sale_details` (`sale_id`, `product_id`, `qty`, `sell_price`, `sale_type_id`) VALUES ('20180530071203', '6', '5', '35', '2');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Sales', 'create', 'invoice_no-1032 total amount-175.00', '2', '2018-05-30 07:12:03');
INSERT INTO `language` (`phrase`) VALUES ('receive_amnt');
UPDATE `language` SET `english` = 'Receiver Name'
WHERE `phrase` = 'receiver_name';
UPDATE `language` SET `english` = 'Receive Amount'
WHERE `phrase` = 'receive_amnt';
UPDATE `language` SET `english` = 'Receive List'
WHERE `phrase` = 'receive_list';
UPDATE `language` SET `english` = 'Receive QTY'
WHERE `phrase` = 'receive_qty';
UPDATE `language` SET `english` = 'Receive QTY'
WHERE `phrase` = 'receive_quantity';
UPDATE `language` SET `english` = 'Remainig Amount'
WHERE `phrase` = 'remaining_amnt';
UPDATE `language` SET `english` = 'Remove Successfully!'
WHERE `phrase` = 'remove_successfully';
UPDATE `language` SET `english` = 'Reset'
WHERE `phrase` = 'reset';
UPDATE `language` SET `english` = 'Restore Now!'
WHERE `phrase` = 'restore_now';
UPDATE `language` SET `english` = 'Restore Successfully'
WHERE `phrase` = 'restore_successfully';
UPDATE `language` SET `english` = 'Retail Price'
WHERE `phrase` = 'retail_price';
UPDATE `language` SET `english` = 'Retl Price'
WHERE `phrase` = 'retprice';
UPDATE `language` SET `english` = 'Right To Left'
WHERE `phrase` = 'right_to_left';
UPDATE `language` SET `english` = 'Role'
WHERE `phrase` = 'role';
UPDATE `language` SET `english` = 'Role List'
WHERE `phrase` = 'role_list';
UPDATE `language` SET `english` = 'Role Name'
WHERE `phrase` = 'role_name';
UPDATE `language` SET `english` = 'Role Permission'
WHERE `phrase` = 'role_permission';
UPDATE `language` SET `english` = 'Role Permission List'
WHERE `phrase` = 'role_permission_list';
UPDATE `language` SET `english` = 'Sales'
WHERE `phrase` = 'sale';
UPDATE `language` SET `english` = 'Sales Man'
WHERE `phrase` = 'sales_man';
UPDATE `language` SET `english` = 'Save'
WHERE `phrase` = 'save';
UPDATE `language` SET `english` = 'Save Successfully!'
WHERE `phrase` = 'save_successfully';
UPDATE `language` SET `english` = 'See All Messages'
WHERE `phrase` = 'see_all_message';
UPDATE `language` SET `english` = 'Select Option'
WHERE `phrase` = 'select_option';
UPDATE `language` SET `english` = 'Send'
WHERE `phrase` = 'send';
INSERT INTO `payment_collection` (`id`, `invoice_no`, `customer_id`, `receive_amnt`, `receive_date`, `receive_by`) VALUES ('', '1032', '2', '25', '2018-05-30 07:46:03', '2');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('payment', 'create', 'payment ID :33', '2', '2018-05-30 07:46:03');
INSERT INTO `language` (`phrase`) VALUES ('recovery_received');
INSERT INTO `language` (`phrase`) VALUES ('recoveryreceive');
UPDATE `language` SET `english` = 'Receiver Name'
WHERE `phrase` = 'receiver_name';
UPDATE `language` SET `english` = 'Receive Amount'
WHERE `phrase` = 'receive_amnt';
UPDATE `language` SET `english` = 'Receive List'
WHERE `phrase` = 'receive_list';
UPDATE `language` SET `english` = 'Receive QTY'
WHERE `phrase` = 'receive_qty';
UPDATE `language` SET `english` = 'Receive QTY'
WHERE `phrase` = 'receive_quantity';
UPDATE `language` SET `english` = ''
WHERE `phrase` = 'recoveryreceive';
UPDATE `language` SET `english` = 'Recovery Receive'
WHERE `phrase` = 'recovery_received';
UPDATE `language` SET `english` = 'Remainig Amount'
WHERE `phrase` = 'remaining_amnt';
UPDATE `language` SET `english` = 'Remove Successfully!'
WHERE `phrase` = 'remove_successfully';
UPDATE `language` SET `english` = 'Reset'
WHERE `phrase` = 'reset';
UPDATE `language` SET `english` = 'Restore Now!'
WHERE `phrase` = 'restore_now';
UPDATE `language` SET `english` = 'Restore Successfully'
WHERE `phrase` = 'restore_successfully';
UPDATE `language` SET `english` = 'Retail Price'
WHERE `phrase` = 'retail_price';
UPDATE `language` SET `english` = 'Retl Price'
WHERE `phrase` = 'retprice';
UPDATE `language` SET `english` = 'Right To Left'
WHERE `phrase` = 'right_to_left';
UPDATE `language` SET `english` = 'Role'
WHERE `phrase` = 'role';
UPDATE `language` SET `english` = 'Role List'
WHERE `phrase` = 'role_list';
UPDATE `language` SET `english` = 'Role Name'
WHERE `phrase` = 'role_name';
UPDATE `language` SET `english` = 'Role Permission'
WHERE `phrase` = 'role_permission';
UPDATE `language` SET `english` = 'Role Permission List'
WHERE `phrase` = 'role_permission_list';
UPDATE `language` SET `english` = 'Sales'
WHERE `phrase` = 'sale';
UPDATE `language` SET `english` = 'Sales Man'
WHERE `phrase` = 'sales_man';
UPDATE `language` SET `english` = 'Save'
WHERE `phrase` = 'save';
UPDATE `language` SET `english` = 'Save Successfully!'
WHERE `phrase` = 'save_successfully';
UPDATE `language` SET `english` = 'See All Messages'
WHERE `phrase` = 'see_all_message';
INSERT INTO `language` (`phrase`) VALUES ('installment_amount');
INSERT INTO `language` (`phrase`) VALUES ('final_statement');
INSERT INTO `language` (`phrase`) VALUES ('over_due_amount');
UPDATE `language` SET `english` = 'Disapprove'
WHERE `phrase` = 'disapprove';
UPDATE `language` SET `english` = 'Download'
WHERE `phrase` = 'download';
UPDATE `language` SET `english` = 'Download Data from Server'
WHERE `phrase` = 'download_data_from_server';
UPDATE `language` SET `english` = 'Download Successfully'
WHERE `phrase` = 'download_successfully';
UPDATE `language` SET `english` = 'Due Amount'
WHERE `phrase` = 'due_amnt';
UPDATE `language` SET `english` = 'Duration'
WHERE `phrase` = 'duration';
UPDATE `language` SET `english` = 'Email Address'
WHERE `phrase` = 'email';
UPDATE `language` SET `english` = 'Employee'
WHERE `phrase` = 'employee';
UPDATE `language` SET `english` = 'Enquiry'
WHERE `phrase` = 'enquiry';
UPDATE `language` SET `english` = 'Enquiry Information'
WHERE `phrase` = 'enquiry_information';
UPDATE `language` SET `english` = 'Favicon'
WHERE `phrase` = 'favicon';
UPDATE `language` SET `english` = 'File Name'
WHERE `phrase` = 'filename';
UPDATE `language` SET `english` = 'File Information'
WHERE `phrase` = 'file_information';
UPDATE `language` SET `english` = 'Final Statement Amount'
WHERE `phrase` = 'final_statement';
UPDATE `language` SET `english` = 'First Name'
WHERE `phrase` = 'firstname';
UPDATE `language` SET `english` = 'Footer Text'
WHERE `phrase` = 'footer_text';
UPDATE `language` SET `english` = 'For Store'
WHERE `phrase` = 'for_store';
UPDATE `language` SET `english` = 'From Store'
WHERE `phrase` = 'from_store';
UPDATE `language` SET `english` = 'FTP Debug'
WHERE `phrase` = 'ftp_debug';
UPDATE `language` SET `english` = 'FTP Port'
WHERE `phrase` = 'ftp_port';
UPDATE `language` SET `english` = 'Data Synchronize [FTP Setting]'
WHERE `phrase` = 'ftp_setting';
UPDATE `language` SET `english` = 'Grand Total'
WHERE `phrase` = 'grand_total';
UPDATE `language` SET `english` = 'Gurrantor Address'
WHERE `phrase` = 'gurrantor_address';
UPDATE `language` SET `english` = 'Gurrantor  CNIC'
WHERE `phrase` = 'gurrantor_cnic';
UPDATE `language` SET `english` = 'Gurrantor  Code'
WHERE `phrase` = 'gurrantor_code';
UPDATE `language` SET `english` = 'Gurrantor  Name'
WHERE `phrase` = 'gurrantor_name';
UPDATE `language` SET `english` = 'Gurrantor  Phone'
WHERE `phrase` = 'gurrantor_phone';
UPDATE `language` SET `english` = 'Home'
WHERE `phrase` = 'home';
UPDATE `language` SET `english` = 'Host Name'
WHERE `phrase` = 'hostname';
UPDATE `language` SET `english` = 'Image'
WHERE `phrase` = 'image';
UPDATE `language` SET `english` = 'Image Upload Successfully!'
WHERE `phrase` = 'image_upload_successfully';
UPDATE `language` SET `english` = 'In A'
WHERE `phrase` = 'in';
UPDATE `language` SET `english` = 'Inactive'
WHERE `phrase` = 'inactive';
UPDATE `language` SET `english` = 'Inbox'
WHERE `phrase` = 'inbox';
UPDATE `language` SET `english` = 'Inbox Messages'
WHERE `phrase` = 'inbox_message';
UPDATE `language` SET `english` = 'Incoming File'
WHERE `phrase` = 'incoming_file';
UPDATE `language` SET `english` = 'Incorrect Email/Password'
WHERE `phrase` = 'incorrect_email_or_password';
UPDATE `language` SET `english` = 'Inquiry Officer'
WHERE `phrase` = 'inquiry_officer';
UPDATE `language` SET `english` = 'Install'
WHERE `phrase` = 'install';
UPDATE `language` SET `english` = 'Installment Amount'
WHERE `phrase` = 'installment_amount';
UPDATE `language` SET `english` = 'Internet Connection'
WHERE `phrase` = 'internet_connection';
UPDATE `language` SET `english` = 'Invalid File!'
WHERE `phrase` = 'invalid_file';
UPDATE `language` SET `english` = 'Invalid Module'
WHERE `phrase` = 'invalid_module';
UPDATE `language` SET `english` = 'Invoice ID'
WHERE `phrase` = 'invoice_id';
UPDATE `language` SET `english` = 'Invoice No'
WHERE `phrase` = 'invoice_no';
UPDATE `language` SET `english` = 'IP Address'
WHERE `phrase` = 'ip_address';
UPDATE `language` SET `english` = 'Is Active'
WHERE `phrase` = 'isactive';
UPDATE `language` SET `english` = 'Issue By'
WHERE `phrase` = 'issue_by';
UPDATE `language` SET `english` = 'Issue Code'
WHERE `phrase` = 'issue_code';
UPDATE `language` SET `english` = 'Issue Date'
WHERE `phrase` = 'issue_date';
UPDATE `language` SET `english` = 'Module Name'
WHERE `phrase` = 'module_name';
UPDATE `language` SET `english` = 'Module Permission'
WHERE `phrase` = 'module_permission';
UPDATE `language` SET `english` = 'Module Permission Added Successfully!'
WHERE `phrase` = 'module_permission_added_successfully';
UPDATE `language` SET `english` = 'Module Permission List'
WHERE `phrase` = 'module_permission_list';
UPDATE `language` SET `english` = 'Name'
WHERE `phrase` = 'name';
UPDATE `language` SET `english` = 'New'
WHERE `phrase` = 'new';
UPDATE `language` SET `english` = 'New Enquiry'
WHERE `phrase` = 'new_enquiry';
UPDATE `language` SET `english` = 'New Message'
WHERE `phrase` = 'new_message';
UPDATE `language` SET `english` = 'Not Available'
WHERE `phrase` = 'not_available';
UPDATE `language` SET `english` = 'No tables are registerd in config.php'
WHERE `phrase` = 'no_tables_are_registered_in_config';
UPDATE `language` SET `english` = 'Ok'
WHERE `phrase` = 'ok';
UPDATE `language` SET `english` = ' Ooops something went wrong...'
WHERE `phrase` = 'ooops_something_went_wrong';
UPDATE `language` SET `english` = 'Order Date'
WHERE `phrase` = 'order_date';
UPDATE `language` SET `english` = 'Order NO'
WHERE `phrase` = 'order_no';
UPDATE `language` SET `english` = 'Order QTY'
WHERE `phrase` = 'order_qty';
UPDATE `language` SET `english` = 'Outgoing File'
WHERE `phrase` = 'outgoing_file';
UPDATE `language` SET `english` = 'Overwrite'
WHERE `phrase` = 'overwrite';
UPDATE `language` SET `english` = 'Over Due Amount'
WHERE `phrase` = 'over_due_amount';
UPDATE `language` SET `english` = 'Package Amount'
WHERE `phrase` = 'package_amount';
UPDATE `language` SET `english` = 'Paid Amount'
WHERE `phrase` = 'paid_amount';
UPDATE `language` SET `english` = 'Package  Code'
WHERE `phrase` = 'pakage_code';
UPDATE `language` SET `english` = 'Package Name'
WHERE `phrase` = 'pakage_name';
UPDATE `language` SET `english` = 'Password'
WHERE `phrase` = 'password';
UPDATE `language` SET `english` = 'Receiving '
WHERE `phrase` = 'payment';
UPDATE `language` SET `english` = 'You Have No Permission'
WHERE `phrase` = 'permission_error';
INSERT INTO `gurrantor` (`gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('gc-9', 'jakaria', '32424', '2', 'j', 'sdfasd', '234234', 'dsfsdf', 1, '2', '2018-05-30 08:55:35');
INSERT INTO `gurrantor` (`gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('gc-10', 'Habibullah', '324234', '2', 'k', 'sdfsd', '324234', 'dsfsdf', 1, '2', '2018-05-30 08:55:35');
INSERT INTO `sales_parent` (`sale_id`, `invoice_no`, `customer_id`, `sale_type_id`, `store_id`, `salesman`, `sales_date`, `sales_time`, `gurrantor_1`, `gurrantor_2`, `advance_amnt`, `lease_id`, `inquiry_officer`, `remaining_amnt`, `installment_amnt`, `package_price`, `total_amnt`) VALUES ('20180530085608', '1033', '2', '3', '2', '2', '2018-05-30', '08:56:08', '24', '23', '72', '4', '11', '172.80', '172.80', '244.8', '180.00');
INSERT INTO `payment_collection` (`sale_id`, `invoice_no`, `customer_id`, `receive_amnt`, `due_amnt`, `receive_by`, `receive_date`) VALUES ('20180530085608', '1033', '2', '72', '172.80', '2', '2018-05-30');
INSERT INTO `customer_gurrantor_map` (`lease_id`, `customer_id`, `gurrantor_id`) VALUES ('4', '2', '24');
INSERT INTO `customer_gurrantor_map` (`lease_id`, `customer_id`, `gurrantor_id`) VALUES ('4', '2', '23');
INSERT INTO `sale_details` (`sale_id`, `product_id`, `qty`, `sell_price`, `sale_type_id`) VALUES ('20180530085608', '6', '2', '35', '3');
INSERT INTO `sale_details` (`sale_id`, `product_id`, `qty`, `sell_price`, `sale_type_id`) VALUES ('20180530085608', '7', '2', '55', '3');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Sales', 'create', 'invoice_no-1033 total amount-180.00', '2', '2018-05-30 08:56:08');
INSERT INTO `gurrantor` (`gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('gc-11', 'q', '3242', '2', 'sdfsdf', 'sdf', '2342211123', 'fsdaf', 1, '2', '2018-05-30 09:18:07');
INSERT INTO `gurrantor` (`gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('gc-12', 't', '234', '2', 'dsfsdf', 'sdfsda', '213123123', 'sdf', 1, '2', '2018-05-30 09:18:07');
INSERT INTO `sales_parent` (`sale_id`, `invoice_no`, `customer_id`, `sale_type_id`, `store_id`, `salesman`, `sales_date`, `sales_time`, `gurrantor_1`, `gurrantor_2`, `advance_amnt`, `lease_id`, `inquiry_officer`, `remaining_amnt`, `installment_amnt`, `package_price`, `total_amnt`) VALUES ('20180530091834', '1034', '2', '3', '2', '2', '2018-05-30', '09:18:34', '26', '25', '64', '4', '11', '153.60', '153.60', '217.6', '160.00');
INSERT INTO `payment_collection` (`sale_id`, `invoice_no`, `customer_id`, `receive_amnt`, `due_amnt`, `receive_by`, `receive_date`) VALUES ('20180530091834', '1034', '2', '64', '153.60', '2', '2018-05-30');
INSERT INTO `customer_gurrantor_map` (`lease_id`, `customer_id`, `gurrantor_id`) VALUES ('4', '2', '26');
INSERT INTO `customer_gurrantor_map` (`lease_id`, `customer_id`, `gurrantor_id`) VALUES ('4', '2', '25');
INSERT INTO `sale_details` (`sale_id`, `product_id`, `qty`, `sell_price`, `sale_type_id`) VALUES ('20180530091834', '6', '3', '35', '3');
INSERT INTO `sale_details` (`sale_id`, `product_id`, `qty`, `sell_price`, `sale_type_id`) VALUES ('20180530091834', '7', '1', '55', '3');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Sales', 'create', 'invoice_no-1034 total amount-160.00', '2', '2018-05-30 09:18:35');
INSERT INTO `lease` (`package_code`, `package_name`, `lease_duration`, `advance`, `markup`, `isactive`, `createby`, `createdate`) VALUES ('13654', 'New Year', '12', 0.2, 0.3, 1, '2', '2018-05-30 11:25:30');
INSERT INTO `lease_store_map` (`lease_id`, `store_id`) VALUES (5, '2');
INSERT INTO `lease_store_map` (`lease_id`, `store_id`) VALUES (5, '3');
INSERT INTO `lease_product_map` (`lease_id`, `product_id`) VALUES (5, '6');
INSERT INTO `lease_product_map` (`lease_id`, `product_id`) VALUES (5, '7');
INSERT INTO `lease_product_map` (`lease_id`, `product_id`) VALUES (5, '11');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('leases', 'create', 'Lease Id-5', '2', '2018-05-30 11:25:30');
INSERT INTO `gurrantor` (`gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('gc-13', 'kawser', '324324', '2', 'fsdfsd', 'sdf', '234234', 'sadfs', 1, '2', '2018-05-30 11:26:16');
INSERT INTO `gurrantor` (`gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('gc-14', 'Safiq', '234234', '2', 'sdfasdf', 'asdfsdf', '234234', 'dfsdf', 1, '2', '2018-05-30 11:26:16');
INSERT INTO `gurrantor` (`gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('gc-15', 'j', '32423', '2', 'sdfasdf', 'sdfsad', '423432', 'dsfasdf', 1, '2', '2018-05-30 11:28:19');
INSERT INTO `gurrantor` (`gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('gc-16', 's', '234234', '2', 'sdfasdf', 'fsadfa', '543453', 'sdfasdf', 1, '2', '2018-05-30 11:28:19');
INSERT INTO `gurrantor` (`gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('gc-17', 'yu', '4432', '2', 'sdfsdf', 'fsdf', '324234', 'fsdfsda', 1, '2', '2018-05-30 11:52:39');
INSERT INTO `gurrantor` (`gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('gc-18', 'uy', '234234', '2', 'sdfasd', 'sadfasd', '123412', 'fsdfsadf', 1, '2', '2018-05-30 11:52:39');
INSERT INTO `sales_parent` (`sale_id`, `invoice_no`, `customer_id`, `sale_type_id`, `store_id`, `salesman`, `sales_date`, `sales_time`, `gurrantor_1`, `gurrantor_2`, `advance_amnt`, `lease_id`, `inquiry_officer`, `remaining_amnt`, `installment_amnt`, `package_price`, `total_amnt`) VALUES ('20180530115343', '1035', '2', '3', '2', '2', '2018-05-30', '11:53:43', '32', '31', '69', '5', '13', '358.80', '358.80', '427.8', '345.00');
INSERT INTO `payment_collection` (`sale_id`, `invoice_no`, `customer_id`, `receive_amnt`, `due_amnt`, `receive_by`, `receive_date`) VALUES ('20180530115343', '1035', '2', '69', '358.80', '2', '2018-05-30');
INSERT INTO `customer_gurrantor_map` (`lease_id`, `customer_id`, `gurrantor_id`) VALUES ('5', '2', '32');
INSERT INTO `customer_gurrantor_map` (`lease_id`, `customer_id`, `gurrantor_id`) VALUES ('5', '2', '31');
INSERT INTO `sale_details` (`sale_id`, `product_id`, `qty`, `sell_price`, `sale_type_id`) VALUES ('20180530115343', '6', '2', '35', '3');
INSERT INTO `sale_details` (`sale_id`, `product_id`, `qty`, `sell_price`, `sale_type_id`) VALUES ('20180530115343', '7', '5', '55', '3');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Sales', 'create', 'invoice_no-1035 total amount-345.00', '2', '2018-05-30 11:53:43');
INSERT INTO `gurrantor` (`gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('gc-19', 'cad', '34234', '2', 'sdfsd', 'sdf', '34235', 'fsdf', 1, '2', '2018-05-30 12:14:35');
INSERT INTO `gurrantor` (`gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('gc-20', 'dag', '567543', '2', 'dsfsd', 'sdfsd', '23452', 'sdfsdf', 1, '2', '2018-05-30 12:14:35');
INSERT INTO `sales_parent` (`sale_id`, `invoice_no`, `customer_id`, `sale_type_id`, `store_id`, `salesman`, `sales_date`, `sales_time`, `gurrantor_1`, `gurrantor_2`, `advance_amnt`, `lease_id`, `inquiry_officer`, `remaining_amnt`, `installment_amnt`, `package_price`, `total_amnt`) VALUES ('20180530121620', '1036', '2', '3', '2', '2', '2018-05-30', '12:16:20', '34', '33', '62', '5', '13', '322.40', '322.40', '384.4', '310.00');
INSERT INTO `payment_collection` (`sale_id`, `invoice_no`, `customer_id`, `receive_amnt`, `due_amnt`, `receive_by`, `receive_date`) VALUES ('20180530121620', '1036', '2', '62', '322.40', '2', '2018-05-30');
INSERT INTO `customer_gurrantor_map` (`lease_id`, `customer_id`, `gurrantor_id`) VALUES ('5', '2', '34');
INSERT INTO `customer_gurrantor_map` (`lease_id`, `customer_id`, `gurrantor_id`) VALUES ('5', '2', '33');
INSERT INTO `sale_details` (`sale_id`, `product_id`, `qty`, `sell_price`, `sale_type_id`) VALUES ('20180530121620', '6', '1', '35', '3');
INSERT INTO `sale_details` (`sale_id`, `product_id`, `qty`, `sell_price`, `sale_type_id`) VALUES ('20180530121620', '7', '5', '55', '3');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Sales', 'create', 'invoice_no-1036 total amount-310.00', '2', '2018-05-30 12:16:21');
INSERT INTO `gurrantor` (`gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('gc-21', 'kjjh', '435', '2', 'dfgdsfg', 'gdsfg', '53453', 'gdsfg', 1, '2', '2018-05-30 12:19:10');
INSERT INTO `gurrantor` (`gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('gc-22', 'dfgdsfg', '34234', '2', 'dfgsdf', 'sdfgdsf', '2346211', 'dsfgsd', 1, '2', '2018-05-30 12:19:10');
INSERT INTO `sales_parent` (`sale_id`, `invoice_no`, `customer_id`, `sale_type_id`, `store_id`, `salesman`, `sales_date`, `sales_time`, `gurrantor_1`, `gurrantor_2`, `advance_amnt`, `lease_id`, `inquiry_officer`, `remaining_amnt`, `installment_amnt`, `package_price`, `total_amnt`) VALUES ('20180530121944', '1037', '2', '3', '2', '2', '2018-05-30', '12:19:44', '36', '35', '47', '5', '11', '20.37', '20.37', '291.4', '235.00');
INSERT INTO `payment_collection` (`sale_id`, `invoice_no`, `customer_id`, `receive_amnt`, `due_amnt`, `receive_by`, `receive_date`) VALUES ('20180530121944', '1037', '2', '47', '244.40', '2', '2018-05-30');
INSERT INTO `customer_gurrantor_map` (`lease_id`, `customer_id`, `gurrantor_id`) VALUES ('5', '2', '36');
INSERT INTO `customer_gurrantor_map` (`lease_id`, `customer_id`, `gurrantor_id`) VALUES ('5', '2', '35');
INSERT INTO `sale_details` (`sale_id`, `product_id`, `qty`, `sell_price`, `sale_type_id`) VALUES ('20180530121944', '6', '2', '35', '3');
INSERT INTO `sale_details` (`sale_id`, `product_id`, `qty`, `sell_price`, `sale_type_id`) VALUES ('20180530121944', '7', '3', '55', '3');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Sales', 'create', 'invoice_no-1037 total amount-235.00', '2', '2018-05-30 12:19:44');
INSERT INTO `payment_collection` (`id`, `invoice_no`, `customer_id`, `receive_amnt`, `receive_date`, `receive_by`) VALUES ('', '1037', '2', '20.37', '2018-05-30 12:32:19', '2');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('recovery', 'create', 'payment ID :39', '2', '2018-05-30 12:32:19');
INSERT INTO `payment_collection` (`id`, `invoice_no`, `customer_id`, `receive_amnt`, `receive_date`, `receive_by`) VALUES ('', '1037', '2', '20', '2018-05-30 12:46:02', '2');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('recovery', 'create', 'payment ID :40', '2', '2018-05-30 12:46:02');
INSERT INTO `payment_collection` (`id`, `invoice_no`, `customer_id`, `receive_amnt`, `receive_date`, `receive_by`) VALUES ('', '1037', '2', '20.74', '2018-05-30 12:48:47', '2');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('recovery', 'create', 'payment ID :41', '2', '2018-05-30 12:48:47');
UPDATE `user` SET `last_login` = '2018-05-31 05:51:25', `ip_address` = '::1'
WHERE `id` = '2';
UPDATE `sales_parent` SET `invoice_no` = '1037', `is_lease_settled` = '1'
WHERE `invoice_no` = '1037';
INSERT INTO `payment_collection` (`id`, `invoice_no`, `customer_id`, `receive_amnt`, `receive_date`, `receive_by`) VALUES ('', '1037', '2', '', '2018-05-31 06:51:16', '2');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('recovery', 'create', 'payment ID :42', '2', '2018-05-31 06:51:16');
UPDATE `sales_parent` SET `invoice_no` = '1037', `is_lease_settled` = '1'
WHERE `invoice_no` = '1037';
INSERT INTO `payment_collection` (`id`, `invoice_no`, `customer_id`, `receive_amnt`, `receive_date`, `receive_by`) VALUES ('', '1037', '2', '125.36', '2018-05-31 06:55:02', '2');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('recovery', 'create', 'payment ID :43', '2', '2018-05-31 06:55:02');
INSERT INTO `payment_collection` (`id`, `invoice_no`, `customer_id`, `receive_amnt`, `receive_date`, `receive_by`) VALUES ('', '1031', '2', '65', '2018-05-31 07:00:00', '2');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('recovery', 'create', 'payment ID :44', '2', '2018-05-31 07:00:00');
INSERT INTO `payment_collection` (`id`, `invoice_no`, `customer_id`, `receive_amnt`, `receive_date`, `receive_by`) VALUES ('', '1031', '2', '82', '2018-05-31 07:00:23', '2');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('recovery', 'create', 'payment ID :45', '2', '2018-05-31 07:00:23');
INSERT INTO `payment_collection` (`id`, `invoice_no`, `customer_id`, `receive_amnt`, `receive_date`, `receive_by`) VALUES ('', '1031', '2', '60', '2018-05-31 07:01:46', '2');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('recovery', 'create', 'payment ID :46', '2', '2018-05-31 07:01:46');
INSERT INTO `payment_collection` (`id`, `invoice_no`, `customer_id`, `receive_amnt`, `receive_date`, `receive_by`) VALUES ('', '1031', '2', '60', '2018-05-31 07:02:05', '2');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('recovery', 'create', 'payment ID :47', '2', '2018-05-31 07:02:05');
INSERT INTO `language` (`phrase`) VALUES ('require_install');
UPDATE `language` SET `english` = 'Read'
WHERE `phrase` = 'read';
UPDATE `language` SET `english` = 'Read/Unread'
WHERE `phrase` = 'read_unread';
UPDATE `language` SET `english` = 'Receive'
WHERE `phrase` = 'receive';
UPDATE `language` SET `english` = 'Receiver Name'
WHERE `phrase` = 'receiver_name';
UPDATE `language` SET `english` = 'Receive Amount'
WHERE `phrase` = 'receive_amnt';
UPDATE `language` SET `english` = 'Receive List'
WHERE `phrase` = 'receive_list';
UPDATE `language` SET `english` = 'Receive QTY'
WHERE `phrase` = 'receive_qty';
UPDATE `language` SET `english` = 'Receive QTY'
WHERE `phrase` = 'receive_quantity';
UPDATE `language` SET `english` = 'Recovery Receive'
WHERE `phrase` = 'recovery_received';
UPDATE `language` SET `english` = 'Remainig Amount'
WHERE `phrase` = 'remaining_amnt';
UPDATE `language` SET `english` = 'Remove Successfully!'
WHERE `phrase` = 'remove_successfully';
UPDATE `language` SET `english` = 'Require Installment'
WHERE `phrase` = 'require_install';
UPDATE `language` SET `english` = 'Reset'
WHERE `phrase` = 'reset';
UPDATE `language` SET `english` = 'Restore Now!'
WHERE `phrase` = 'restore_now';
UPDATE `language` SET `english` = 'Restore Successfully'
WHERE `phrase` = 'restore_successfully';
UPDATE `language` SET `english` = 'Retail Price'
WHERE `phrase` = 'retail_price';
UPDATE `language` SET `english` = 'Retl Price'
WHERE `phrase` = 'retprice';
UPDATE `language` SET `english` = 'Right To Left'
WHERE `phrase` = 'right_to_left';
UPDATE `language` SET `english` = 'Role'
WHERE `phrase` = 'role';
UPDATE `language` SET `english` = 'Role List'
WHERE `phrase` = 'role_list';
UPDATE `language` SET `english` = 'Role Name'
WHERE `phrase` = 'role_name';
UPDATE `language` SET `english` = 'Role Permission'
WHERE `phrase` = 'role_permission';
UPDATE `language` SET `english` = 'Role Permission List'
WHERE `phrase` = 'role_permission_list';
UPDATE `language` SET `english` = 'Sales'
WHERE `phrase` = 'sale';
UPDATE `language` SET `english` = 'Sales Man'
WHERE `phrase` = 'sales_man';
INSERT INTO `gurrantor` (`gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('gc-23', 'Harun', '0173.154', '2', 'testman', 'asdfasdfk', '154002', 'sdkfldskjflkj', 1, '2', '2018-05-31 07:12:24');
INSERT INTO `gurrantor` (`gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('gc-24', 'Rafiq', '97987897', '2', 'jfsdlkfj', 'jkllkj', '234234234', 'llkj', 1, '2', '2018-05-31 07:12:24');
INSERT INTO `sales_parent` (`sale_id`, `invoice_no`, `customer_id`, `sale_type_id`, `store_id`, `salesman`, `sales_date`, `sales_time`, `gurrantor_1`, `gurrantor_2`, `advance_amnt`, `lease_id`, `inquiry_officer`, `remaining_amnt`, `installment_amnt`, `package_price`, `total_amnt`) VALUES ('20180531071313', '1038', '2', '3', '2', '2', '2018-05-31', '07:13:13', '38', '37', '62', '5', '13', '26.87', '26.87', '384.4', '310.00');
INSERT INTO `payment_collection` (`sale_id`, `invoice_no`, `customer_id`, `receive_amnt`, `due_amnt`, `receive_by`, `receive_date`) VALUES ('20180531071313', '1038', '2', '62', '322.40', '2', '2018-05-31');
INSERT INTO `customer_gurrantor_map` (`lease_id`, `customer_id`, `gurrantor_id`) VALUES ('5', '2', '38');
INSERT INTO `customer_gurrantor_map` (`lease_id`, `customer_id`, `gurrantor_id`) VALUES ('5', '2', '37');
INSERT INTO `sale_details` (`sale_id`, `product_id`, `qty`, `sell_price`, `sale_type_id`) VALUES ('20180531071313', '6', '1', '35', '3');
INSERT INTO `sale_details` (`sale_id`, `product_id`, `qty`, `sell_price`, `sale_type_id`) VALUES ('20180531071313', '7', '5', '55', '3');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Sales', 'create', 'invoice_no-1038 total amount-310.00', '2', '2018-05-31 07:13:14');
INSERT INTO `payment_collection` (`id`, `invoice_no`, `customer_id`, `receive_amnt`, `receive_date`, `receive_by`) VALUES ('', '1038', '2', '26.87', '2018-05-31 07:13:48', '2');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('recovery', 'create', 'payment ID :49', '2', '2018-05-31 07:13:48');
INSERT INTO `payment_collection` (`id`, `invoice_no`, `customer_id`, `receive_amnt`, `receive_date`, `receive_by`) VALUES ('', '1031', '2', '70', '2018-05-31 07:21:02', '2');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('recovery', 'create', 'payment ID :50', '2', '2018-05-31 07:21:02');
INSERT INTO `payment_collection` (`id`, `invoice_no`, `customer_id`, `receive_amnt`, `receive_date`, `receive_by`) VALUES ('', '1031', '2', '68.2', '2018-05-31 07:21:19', '2');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('recovery', 'create', 'payment ID :51', '2', '2018-05-31 07:21:19');
INSERT INTO `payment_collection` (`id`, `invoice_no`, `customer_id`, `receive_amnt`, `receive_date`, `receive_by`) VALUES ('', '1031', '2', '65.2', '2018-05-31 07:21:37', '2');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('recovery', 'create', 'payment ID :52', '2', '2018-05-31 07:21:37');
INSERT INTO `payment_collection` (`id`, `invoice_no`, `customer_id`, `receive_amnt`, `receive_date`, `receive_by`) VALUES ('', '1031', '2', '67.2', '2018-05-31 07:22:05', '2');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('recovery', 'create', 'payment ID :53', '2', '2018-05-31 07:22:05');
INSERT INTO `payment_collection` (`id`, `invoice_no`, `customer_id`, `receive_amnt`, `receive_date`, `receive_by`) VALUES ('', '1031', '2', '67.2', '2018-05-31 07:22:22', '2');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('recovery', 'create', 'payment ID :54', '2', '2018-05-31 07:22:22');
UPDATE `sales_parent` SET `invoice_no` = '1031', `is_lease_settled` = NULL
WHERE `invoice_no` = '1031';
INSERT INTO `payment_collection` (`id`, `invoice_no`, `customer_id`, `receive_amnt`, `receive_date`, `receive_by`) VALUES ('', '1031', '2', '67.2', '2018-05-31 07:22:35', '2');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('recovery', 'create', 'payment ID :55', '2', '2018-05-31 07:22:35');
INSERT INTO `lease` (`package_code`, `package_name`, `lease_duration`, `advance`, `markup`, `isactive`, `createby`, `createdate`) VALUES ('324234', 'Test', '3', 0.2, 0.4, 1, '2', '2018-05-31 07:26:49');
INSERT INTO `lease_store_map` (`lease_id`, `store_id`) VALUES (6, '2');
INSERT INTO `lease_store_map` (`lease_id`, `store_id`) VALUES (6, '3');
INSERT INTO `lease_product_map` (`lease_id`, `product_id`) VALUES (6, '6');
INSERT INTO `lease_product_map` (`lease_id`, `product_id`) VALUES (6, '7');
INSERT INTO `lease_product_map` (`lease_id`, `product_id`) VALUES (6, '10');
INSERT INTO `lease_product_map` (`lease_id`, `product_id`) VALUES (6, '13');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('leases', 'create', 'Lease Id-6', '2', '2018-05-31 07:26:49');
INSERT INTO `gurrantor` (`gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('gc-25', 'Sumon', '2342', '2', 'dsfasdfsdf', 'asdf', '3454435', 'fsadf', 1, '2', '2018-05-31 07:27:27');
INSERT INTO `gurrantor` (`gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('gc-26', 'Monjur', '234', '2', 'asdfasdf', 'asdfasd', '345345345', 'sadfasdf', 1, '2', '2018-05-31 07:27:27');
INSERT INTO `sales_parent` (`sale_id`, `invoice_no`, `customer_id`, `sale_type_id`, `store_id`, `salesman`, `sales_date`, `sales_time`, `gurrantor_1`, `gurrantor_2`, `advance_amnt`, `lease_id`, `inquiry_officer`, `remaining_amnt`, `installment_amnt`, `package_price`, `total_amnt`) VALUES ('20180531072814', '1039', '2', '3', '2', '2', '2018-05-31', '07:28:14', '40', '39', '84', '6', '11', '156.80', '156.80', '554.4', '420.00');
INSERT INTO `payment_collection` (`sale_id`, `invoice_no`, `customer_id`, `receive_amnt`, `due_amnt`, `receive_by`, `receive_date`) VALUES ('20180531072814', '1039', '2', '84', '470.40', '2', '2018-05-31');
INSERT INTO `customer_gurrantor_map` (`lease_id`, `customer_id`, `gurrantor_id`) VALUES ('6', '2', '40');
INSERT INTO `customer_gurrantor_map` (`lease_id`, `customer_id`, `gurrantor_id`) VALUES ('6', '2', '39');
INSERT INTO `sale_details` (`sale_id`, `product_id`, `qty`, `sell_price`, `sale_type_id`) VALUES ('20180531072814', '6', '1', '35', '3');
INSERT INTO `sale_details` (`sale_id`, `product_id`, `qty`, `sell_price`, `sale_type_id`) VALUES ('20180531072814', '7', '7', '55', '3');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Sales', 'create', 'invoice_no-1039 total amount-420.00', '2', '2018-05-31 07:28:14');
INSERT INTO `payment_collection` (`id`, `invoice_no`, `customer_id`, `receive_amnt`, `receive_date`, `receive_by`) VALUES ('', '1039', '2', '156.8', '2018-05-31 07:28:49', '2');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('recovery', 'create', 'payment ID :57', '2', '2018-05-31 07:28:49');
INSERT INTO `payment_collection` (`id`, `invoice_no`, `customer_id`, `receive_amnt`, `receive_date`, `receive_by`) VALUES ('', '1039', '2', '156.8', '2018-05-31 07:29:07', '2');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('recovery', 'create', 'payment ID :58', '2', '2018-05-31 07:29:07');
UPDATE `sales_parent` SET `invoice_no` = '1039', `is_lease_settled` = NULL
WHERE `invoice_no` = '1039';
INSERT INTO `payment_collection` (`id`, `invoice_no`, `customer_id`, `receive_amnt`, `receive_date`, `receive_by`) VALUES ('', '1039', '2', '156.8', '2018-05-31 07:29:19', '2');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('recovery', 'create', 'payment ID :59', '2', '2018-05-31 07:29:19');
INSERT INTO `gurrantor` (`gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('gc-27', 'rt', '23423', '2', 'sdfsdf', 'asdfsd', '4234', 'sdfsd', 1, '2', '2018-05-31 07:32:58');
INSERT INTO `gurrantor` (`gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('gc-28', 'tr', '32423', '2', 'sdfsadf', 'fsadfa', '3412', 'fsdfa', 1, '2', '2018-05-31 07:32:58');
INSERT INTO `sales_parent` (`sale_id`, `invoice_no`, `customer_id`, `sale_type_id`, `store_id`, `salesman`, `sales_date`, `sales_time`, `gurrantor_1`, `gurrantor_2`, `advance_amnt`, `lease_id`, `inquiry_officer`, `remaining_amnt`, `installment_amnt`, `package_price`, `total_amnt`) VALUES ('20180531073331', '1040', '2', '3', '2', '2', '2018-05-31', '07:33:31', '42', '41', '62', '6', '11', '115.73', '115.73', '409.2', '310.00');
INSERT INTO `payment_collection` (`sale_id`, `invoice_no`, `customer_id`, `receive_amnt`, `due_amnt`, `receive_by`, `receive_date`) VALUES ('20180531073331', '1040', '2', '62', '347.20', '2', '2018-05-31');
INSERT INTO `customer_gurrantor_map` (`lease_id`, `customer_id`, `gurrantor_id`) VALUES ('6', '2', '42');
INSERT INTO `customer_gurrantor_map` (`lease_id`, `customer_id`, `gurrantor_id`) VALUES ('6', '2', '41');
INSERT INTO `sale_details` (`sale_id`, `product_id`, `qty`, `sell_price`, `sale_type_id`) VALUES ('20180531073331', '6', '1', '35', '3');
INSERT INTO `sale_details` (`sale_id`, `product_id`, `qty`, `sell_price`, `sale_type_id`) VALUES ('20180531073331', '7', '5', '55', '3');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Sales', 'create', 'invoice_no-1040 total amount-310.00', '2', '2018-05-31 07:33:31');
INSERT INTO `payment_collection` (`id`, `invoice_no`, `customer_id`, `receive_amnt`, `receive_date`, `receive_by`) VALUES ('', '1040', '2', '115.73', '2018-05-31 07:33:51', '2');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('recovery', 'create', 'payment ID :61', '2', '2018-05-31 07:33:51');
INSERT INTO `payment_collection` (`id`, `invoice_no`, `customer_id`, `receive_amnt`, `receive_date`, `receive_by`) VALUES ('', '1040', '2', '115.3', '2018-05-31 07:34:07', '2');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('recovery', 'create', 'payment ID :62', '2', '2018-05-31 07:34:07');
UPDATE `sales_parent` SET `invoice_no` = '1040', `is_lease_settled` = NULL
WHERE `invoice_no` = '1040';
INSERT INTO `payment_collection` (`id`, `invoice_no`, `customer_id`, `receive_amnt`, `receive_date`, `receive_by`) VALUES ('', '1040', '2', '116', '2018-05-31 07:34:29', '2');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('recovery', 'create', 'payment ID :63', '2', '2018-05-31 07:34:29');
INSERT INTO `gurrantor` (`gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('gc-29', 'gh', '234', '2', 'sdf', 'sdf', '4234', 'dfasdf', 1, '2', '2018-05-31 07:35:37');
INSERT INTO `gurrantor` (`gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('gc-30', 'jg', '234', '2', 'sdf', 'sdfas', '23412', 'sadf', 1, '2', '2018-05-31 07:35:37');
INSERT INTO `sales_parent` (`sale_id`, `invoice_no`, `customer_id`, `sale_type_id`, `store_id`, `salesman`, `sales_date`, `sales_time`, `gurrantor_1`, `gurrantor_2`, `advance_amnt`, `lease_id`, `inquiry_officer`, `remaining_amnt`, `installment_amnt`, `package_price`, `total_amnt`) VALUES ('20180531073605', '1041', '2', '3', '2', '2', '2018-05-31', '07:36:05', '44', '43', '55', '6', '13', '102.67', '102.67', '363', '275.00');
INSERT INTO `payment_collection` (`sale_id`, `invoice_no`, `customer_id`, `receive_amnt`, `due_amnt`, `receive_by`, `receive_date`) VALUES ('20180531073605', '1041', '2', '55', '308.00', '2', '2018-05-31');
INSERT INTO `customer_gurrantor_map` (`lease_id`, `customer_id`, `gurrantor_id`) VALUES ('6', '2', '44');
INSERT INTO `customer_gurrantor_map` (`lease_id`, `customer_id`, `gurrantor_id`) VALUES ('6', '2', '43');
INSERT INTO `sale_details` (`sale_id`, `product_id`, `qty`, `sell_price`, `sale_type_id`) VALUES ('20180531073605', '7', '5', '55', '3');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Sales', 'create', 'invoice_no-1041 total amount-275.00', '2', '2018-05-31 07:36:05');
INSERT INTO `payment_collection` (`id`, `invoice_no`, `customer_id`, `receive_amnt`, `receive_date`, `receive_by`) VALUES ('', '1041', '2', '102.67', '2018-05-31 07:36:24', '2');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('recovery', 'create', 'payment ID :65', '2', '2018-05-31 07:36:24');
INSERT INTO `payment_collection` (`id`, `invoice_no`, `customer_id`, `receive_amnt`, `receive_date`, `receive_by`) VALUES ('', '1041', '2', '102.67', '2018-05-31 07:36:39', '2');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('recovery', 'create', 'payment ID :66', '2', '2018-05-31 07:36:39');
UPDATE `sales_parent` SET `invoice_no` = '1041', `is_lease_settled` = 1
WHERE `invoice_no` = '1041';
INSERT INTO `payment_collection` (`id`, `invoice_no`, `customer_id`, `receive_amnt`, `receive_date`, `receive_by`) VALUES ('', '1041', '2', '102.67', '2018-05-31 07:36:51', '2');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('recovery', 'create', 'payment ID :67', '2', '2018-05-31 07:36:51');
INSERT INTO `gurrantor` (`gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('gc-31', 'jfds', '23423', '2', 'sdfsdf', 'fsdf', '234', 'fsdafs', 1, '2', '2018-05-31 07:40:36');
INSERT INTO `gurrantor` (`gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('gc-32', 'sdfasd', '234234', '2', 'sdfasd', 'sdfsad', '23423', 'dfsadf', 1, '2', '2018-05-31 07:40:36');
INSERT INTO `sales_parent` (`sale_id`, `invoice_no`, `customer_id`, `sale_type_id`, `store_id`, `salesman`, `sales_date`, `sales_time`, `gurrantor_1`, `gurrantor_2`, `advance_amnt`, `lease_id`, `inquiry_officer`, `remaining_amnt`, `installment_amnt`, `package_price`, `total_amnt`) VALUES ('20180531074054', '1042', '2', '3', '2', '2', '2018-05-31', '07:40:54', '46', '45', '33', '6', '11', '61.60', '61.60', '217.8', '165.00');
INSERT INTO `payment_collection` (`sale_id`, `invoice_no`, `customer_id`, `receive_amnt`, `due_amnt`, `receive_by`, `receive_date`) VALUES ('20180531074054', '1042', '2', '33', '184.80', '2', '2018-05-31');
INSERT INTO `customer_gurrantor_map` (`lease_id`, `customer_id`, `gurrantor_id`) VALUES ('6', '2', '46');
INSERT INTO `customer_gurrantor_map` (`lease_id`, `customer_id`, `gurrantor_id`) VALUES ('6', '2', '45');
INSERT INTO `sale_details` (`sale_id`, `product_id`, `qty`, `sell_price`, `sale_type_id`) VALUES ('20180531074054', '7', '3', '55', '3');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Sales', 'create', 'invoice_no-1042 total amount-165.00', '2', '2018-05-31 07:40:54');
UPDATE `sales_parent` SET `invoice_no` = '1042', `is_lease_settled` = 1
WHERE `invoice_no` = '1042';
INSERT INTO `payment_collection` (`id`, `invoice_no`, `customer_id`, `receive_amnt`, `receive_date`, `receive_by`) VALUES ('', '1042', '2', '132', '2018-05-31 07:41:42', '2');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('recovery', 'create', 'payment ID :69', '2', '2018-05-31 07:41:42');
UPDATE `purchase_order` SET `po_no` = '20180520100119', `isapproved` = 1
WHERE `po_no` = '20180520100119';
INSERT INTO `purchase_receive` (`receive_id`, `po_no`, `supplier_id`, `store_id`, `warehouse_id`, `voucher_no`, `receive_by`, `receive_date`) VALUES ('20180531074257', '20180520100119', '2', '2', '', 1005, '2', '2018-05-31 07:42:57');
INSERT INTO `purchase_receive_details` (`receive_id`, `product_id`, `receive_qty`, `product_rate`) VALUES ('20180531074257', '6', '30', '25');
INSERT INTO `purchase_receive_details` (`receive_id`, `product_id`, `receive_qty`, `product_rate`) VALUES ('20180531074257', '7', '30', '45');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('purchase order receive', 'create', 'Orde Id- total amount-2100.00', '2', '2018-05-31 07:42:57');
INSERT INTO `payment_collection` (`id`, `invoice_no`, `customer_id`, `receive_amnt`, `receive_date`, `receive_by`) VALUES ('', '1029', '2', '240.8', '2018-05-31 07:46:17', '2');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('recovery', 'create', 'payment ID :70', '2', '2018-05-31 07:46:17');
INSERT INTO `gurrantor` (`gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('gc-33', 'ha', '324234', '2', 'sdfsadf', 'sdfasdsad', '32423', 'sdfsad', 1, '2', '2018-05-31 07:56:38');
INSERT INTO `gurrantor` (`gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('gc-34', 'gasd', '32423', '2', 'sdfasdf', 'sdfsdf', '343232', 'sdf', 1, '2', '2018-05-31 07:56:38');
INSERT INTO `sales_parent` (`sale_id`, `invoice_no`, `customer_id`, `sale_type_id`, `store_id`, `salesman`, `sales_date`, `sales_time`, `gurrantor_1`, `gurrantor_2`, `advance_amnt`, `lease_id`, `inquiry_officer`, `remaining_amnt`, `installment_amnt`, `package_price`, `total_amnt`) VALUES ('20180531075714', '1043', '2', '3', '2', '2', '2018-05-31', '07:57:14', '48', '47', '54', '6', '13', '100.80', '100.80', '356.4', '270.00');
INSERT INTO `payment_collection` (`sale_id`, `invoice_no`, `customer_id`, `receive_amnt`, `due_amnt`, `receive_by`, `receive_date`) VALUES ('20180531075714', '1043', '2', '54', '302.40', '2', '2018-05-31');
INSERT INTO `customer_gurrantor_map` (`lease_id`, `customer_id`, `gurrantor_id`) VALUES ('6', '2', '48');
INSERT INTO `customer_gurrantor_map` (`lease_id`, `customer_id`, `gurrantor_id`) VALUES ('6', '2', '47');
INSERT INTO `sale_details` (`sale_id`, `product_id`, `qty`, `sell_price`, `sale_type_id`) VALUES ('20180531075714', '6', '3', '35', '3');
INSERT INTO `sale_details` (`sale_id`, `product_id`, `qty`, `sell_price`, `sale_type_id`) VALUES ('20180531075714', '7', '3', '55', '3');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Sales', 'create', 'invoice_no-1043 total amount-270.00', '2', '2018-05-31 07:57:14');
INSERT INTO `language` (`phrase`) VALUES ('final_settlement');
UPDATE `language` SET `english` = 'Disapprove'
WHERE `phrase` = 'disapprove';
UPDATE `language` SET `english` = 'Download'
WHERE `phrase` = 'download';
UPDATE `language` SET `english` = 'Download Data from Server'
WHERE `phrase` = 'download_data_from_server';
UPDATE `language` SET `english` = 'Download Successfully'
WHERE `phrase` = 'download_successfully';
UPDATE `language` SET `english` = 'Due Amount'
WHERE `phrase` = 'due_amnt';
UPDATE `language` SET `english` = 'Duration'
WHERE `phrase` = 'duration';
UPDATE `language` SET `english` = 'Email Address'
WHERE `phrase` = 'email';
UPDATE `language` SET `english` = 'Employee'
WHERE `phrase` = 'employee';
UPDATE `language` SET `english` = 'Enquiry'
WHERE `phrase` = 'enquiry';
UPDATE `language` SET `english` = 'Enquiry Information'
WHERE `phrase` = 'enquiry_information';
UPDATE `language` SET `english` = 'Favicon'
WHERE `phrase` = 'favicon';
UPDATE `language` SET `english` = 'File Name'
WHERE `phrase` = 'filename';
UPDATE `language` SET `english` = 'File Information'
WHERE `phrase` = 'file_information';
UPDATE `language` SET `english` = 'Final Settlement Amount'
WHERE `phrase` = 'final_settlement';
UPDATE `language` SET `english` = 'Final Statement Amount'
WHERE `phrase` = 'final_statement';
UPDATE `language` SET `english` = 'First Name'
WHERE `phrase` = 'firstname';
UPDATE `language` SET `english` = 'Footer Text'
WHERE `phrase` = 'footer_text';
UPDATE `language` SET `english` = 'For Store'
WHERE `phrase` = 'for_store';
UPDATE `language` SET `english` = 'From Store'
WHERE `phrase` = 'from_store';
UPDATE `language` SET `english` = 'FTP Debug'
WHERE `phrase` = 'ftp_debug';
UPDATE `language` SET `english` = 'FTP Port'
WHERE `phrase` = 'ftp_port';
UPDATE `language` SET `english` = 'Data Synchronize [FTP Setting]'
WHERE `phrase` = 'ftp_setting';
UPDATE `language` SET `english` = 'Grand Total'
WHERE `phrase` = 'grand_total';
UPDATE `language` SET `english` = 'Gurrantor Address'
WHERE `phrase` = 'gurrantor_address';
UPDATE `language` SET `english` = 'Gurrantor  CNIC'
WHERE `phrase` = 'gurrantor_cnic';
INSERT INTO `payment_collection` (`id`, `invoice_no`, `customer_id`, `receive_amnt`, `receive_date`, `receive_by`) VALUES ('', '1043', '2', '100.8', '2018-05-31 10:27:02', '2');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('recovery', 'create', 'payment ID :72', '2', '2018-05-31 10:27:02');
INSERT INTO `payment_collection` (`id`, `invoice_no`, `customer_id`, `receive_amnt`, `receive_date`, `receive_by`) VALUES ('', '1043', '2', '201.60', '2018-05-31', '2');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('recovery', 'create', 'payment ID :73', '2', '2018-05-31 12:12:49');
INSERT INTO `language` (`phrase`) VALUES ('final_settlement_discount');
UPDATE `language` SET `english` = 'Disapprove'
WHERE `phrase` = 'disapprove';
UPDATE `language` SET `english` = 'Download'
WHERE `phrase` = 'download';
UPDATE `language` SET `english` = 'Download Data from Server'
WHERE `phrase` = 'download_data_from_server';
UPDATE `language` SET `english` = 'Download Successfully'
WHERE `phrase` = 'download_successfully';
UPDATE `language` SET `english` = 'Due Amount'
WHERE `phrase` = 'due_amnt';
UPDATE `language` SET `english` = 'Duration'
WHERE `phrase` = 'duration';
UPDATE `language` SET `english` = 'Email Address'
WHERE `phrase` = 'email';
UPDATE `language` SET `english` = 'Employee'
WHERE `phrase` = 'employee';
UPDATE `language` SET `english` = 'Enquiry'
WHERE `phrase` = 'enquiry';
UPDATE `language` SET `english` = 'Enquiry Information'
WHERE `phrase` = 'enquiry_information';
UPDATE `language` SET `english` = 'Favicon'
WHERE `phrase` = 'favicon';
UPDATE `language` SET `english` = 'File Name'
WHERE `phrase` = 'filename';
UPDATE `language` SET `english` = 'File Information'
WHERE `phrase` = 'file_information';
UPDATE `language` SET `english` = 'Final Settlement Amount'
WHERE `phrase` = 'final_settlement';
UPDATE `language` SET `english` = 'Final Settlement Discount'
WHERE `phrase` = 'final_settlement_discount';
UPDATE `language` SET `english` = 'Final Statement Amount'
WHERE `phrase` = 'final_statement';
UPDATE `language` SET `english` = 'First Name'
WHERE `phrase` = 'firstname';
UPDATE `language` SET `english` = 'Footer Text'
WHERE `phrase` = 'footer_text';
UPDATE `language` SET `english` = 'For Store'
WHERE `phrase` = 'for_store';
UPDATE `language` SET `english` = 'From Store'
WHERE `phrase` = 'from_store';
UPDATE `language` SET `english` = 'FTP Debug'
WHERE `phrase` = 'ftp_debug';
UPDATE `language` SET `english` = 'FTP Port'
WHERE `phrase` = 'ftp_port';
UPDATE `language` SET `english` = 'Data Synchronize [FTP Setting]'
WHERE `phrase` = 'ftp_setting';
UPDATE `language` SET `english` = 'Grand Total'
WHERE `phrase` = 'grand_total';
UPDATE `language` SET `english` = 'Gurrantor Address'
WHERE `phrase` = 'gurrantor_address';
UPDATE `user` SET `last_login` = '2018-06-02 09:09:16', `ip_address` = '::1'
WHERE `id` = '2';
UPDATE `user` SET `last_logout` = '2018-06-02 09:10:23'
WHERE `id` = '2';
UPDATE `user` SET `last_login` = '2018-06-02 10:07:21', `ip_address` = '::1'
WHERE `id` = '2';
UPDATE `user` SET `last_logout` = '2018-06-02 10:15:45'
WHERE `id` = '2';
UPDATE `user` SET `last_login` = '2018-06-02 10:19:08', `ip_address` = '::1'
WHERE `id` = '2';
INSERT INTO `gurrantor` (`gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('gc-1', 'g1', '23432', '2', 'dsfasdf', 'fsadf', '234234', 'asdfasdf', 1, '2', '2018-06-02 10:28:38');
INSERT INTO `gurrantor` (`gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('gc-2', 'g2', '23423', '2', 'dsfasd', 'sadfsdf', '1231', 'sdfasdf', 1, '2', '2018-06-02 10:28:38');
INSERT INTO `language` (`phrase`) VALUES ('package_amount');
UPDATE `language` SET `english` = 'Module Permission Added Successfully!'
WHERE `phrase` = 'module_permission_added_successfully';
UPDATE `language` SET `english` = 'Module Permission List'
WHERE `phrase` = 'module_permission_list';
UPDATE `language` SET `english` = 'Name'
WHERE `phrase` = 'name';
UPDATE `language` SET `english` = 'New'
WHERE `phrase` = 'new';
UPDATE `language` SET `english` = 'New Enquiry'
WHERE `phrase` = 'new_enquiry';
UPDATE `language` SET `english` = 'New Message'
WHERE `phrase` = 'new_message';
UPDATE `language` SET `english` = 'Not Available'
WHERE `phrase` = 'not_available';
UPDATE `language` SET `english` = 'No tables are registerd in config.php'
WHERE `phrase` = 'no_tables_are_registered_in_config';
UPDATE `language` SET `english` = 'Ok'
WHERE `phrase` = 'ok';
UPDATE `language` SET `english` = ' Ooops something went wrong...'
WHERE `phrase` = 'ooops_something_went_wrong';
UPDATE `language` SET `english` = 'Order Date'
WHERE `phrase` = 'order_date';
UPDATE `language` SET `english` = 'Order NO'
WHERE `phrase` = 'order_no';
UPDATE `language` SET `english` = 'Order QTY'
WHERE `phrase` = 'order_qty';
UPDATE `language` SET `english` = 'Outgoing File'
WHERE `phrase` = 'outgoing_file';
UPDATE `language` SET `english` = 'Overwrite'
WHERE `phrase` = 'overwrite';
UPDATE `language` SET `english` = 'Package Amount'
WHERE `phrase` = 'package_amount';
UPDATE `language` SET `english` = 'Paid Amount'
WHERE `phrase` = 'paid_amount';
UPDATE `language` SET `english` = 'Package  Code'
WHERE `phrase` = 'pakage_code';
UPDATE `language` SET `english` = 'Package Name'
WHERE `phrase` = 'pakage_name';
UPDATE `language` SET `english` = 'Password'
WHERE `phrase` = 'password';
UPDATE `language` SET `english` = 'Receiving '
WHERE `phrase` = 'payment';
UPDATE `language` SET `english` = 'You Have No Permission'
WHERE `phrase` = 'permission_error';
UPDATE `language` SET `english` = 'Phone'
WHERE `phrase` = 'phone';
UPDATE `language` SET `english` = 'Please another Product Code!!!'
WHERE `phrase` = 'please_choose_another_p_code';
UPDATE `language` SET `english` = 'Please configure synchronizer settings'
WHERE `phrase` = 'please_configure_synchronizer_settings';
INSERT INTO `language` (`phrase`) VALUES ('recovery_received');
INSERT INTO `language` (`phrase`) VALUES ('require_install');
INSERT INTO `language` (`phrase`) VALUES ('installment_amount');
INSERT INTO `language` (`phrase`) VALUES ('over_due_amount');
INSERT INTO `language` (`phrase`) VALUES ('final_settlement');
INSERT INTO `language` (`phrase`) VALUES ('final_settlement_discount');
INSERT INTO `language` (`phrase`) VALUES ('receive_amnt');
UPDATE `language` SET `english` = 'Disapprove'
WHERE `phrase` = 'disapprove';
UPDATE `language` SET `english` = 'Download'
WHERE `phrase` = 'download';
UPDATE `language` SET `english` = 'Download Data from Server'
WHERE `phrase` = 'download_data_from_server';
UPDATE `language` SET `english` = 'Download Successfully'
WHERE `phrase` = 'download_successfully';
UPDATE `language` SET `english` = 'Due Amount'
WHERE `phrase` = 'due_amnt';
UPDATE `language` SET `english` = 'Duration'
WHERE `phrase` = 'duration';
UPDATE `language` SET `english` = 'Email Address'
WHERE `phrase` = 'email';
UPDATE `language` SET `english` = 'Employee'
WHERE `phrase` = 'employee';
UPDATE `language` SET `english` = 'Enquiry'
WHERE `phrase` = 'enquiry';
UPDATE `language` SET `english` = 'Enquiry Information'
WHERE `phrase` = 'enquiry_information';
UPDATE `language` SET `english` = 'Favicon'
WHERE `phrase` = 'favicon';
UPDATE `language` SET `english` = 'File Name'
WHERE `phrase` = 'filename';
UPDATE `language` SET `english` = 'File Information'
WHERE `phrase` = 'file_information';
UPDATE `language` SET `english` = 'Final Settlement Amount'
WHERE `phrase` = 'final_settlement';
UPDATE `language` SET `english` = 'Final Settlement Discount'
WHERE `phrase` = 'final_settlement_discount';
UPDATE `language` SET `english` = 'First Name'
WHERE `phrase` = 'firstname';
UPDATE `language` SET `english` = 'Footer Text'
WHERE `phrase` = 'footer_text';
UPDATE `language` SET `english` = 'For Store'
WHERE `phrase` = 'for_store';
UPDATE `language` SET `english` = 'From Store'
WHERE `phrase` = 'from_store';
UPDATE `language` SET `english` = 'FTP Debug'
WHERE `phrase` = 'ftp_debug';
UPDATE `language` SET `english` = 'FTP Port'
WHERE `phrase` = 'ftp_port';
UPDATE `language` SET `english` = 'Data Synchronize [FTP Setting]'
WHERE `phrase` = 'ftp_setting';
UPDATE `language` SET `english` = 'Grand Total'
WHERE `phrase` = 'grand_total';
UPDATE `language` SET `english` = 'Gurrantor Address'
WHERE `phrase` = 'gurrantor_address';
UPDATE `language` SET `english` = 'Gurrantor  CNIC'
WHERE `phrase` = 'gurrantor_cnic';
UPDATE `language` SET `english` = 'Gurrantor  Code'
WHERE `phrase` = 'gurrantor_code';
UPDATE `language` SET `english` = 'Gurrantor  Name'
WHERE `phrase` = 'gurrantor_name';
UPDATE `language` SET `english` = 'Gurrantor  Phone'
WHERE `phrase` = 'gurrantor_phone';
UPDATE `language` SET `english` = 'Home'
WHERE `phrase` = 'home';
UPDATE `language` SET `english` = 'Host Name'
WHERE `phrase` = 'hostname';
UPDATE `language` SET `english` = 'Image'
WHERE `phrase` = 'image';
UPDATE `language` SET `english` = 'Image Upload Successfully!'
WHERE `phrase` = 'image_upload_successfully';
UPDATE `language` SET `english` = 'In A'
WHERE `phrase` = 'in';
UPDATE `language` SET `english` = 'Inactive'
WHERE `phrase` = 'inactive';
UPDATE `language` SET `english` = 'Inbox'
WHERE `phrase` = 'inbox';
UPDATE `language` SET `english` = 'Inbox Messages'
WHERE `phrase` = 'inbox_message';
UPDATE `language` SET `english` = 'Incoming File'
WHERE `phrase` = 'incoming_file';
UPDATE `language` SET `english` = 'Incorrect Email/Password'
WHERE `phrase` = 'incorrect_email_or_password';
UPDATE `language` SET `english` = 'Inquiry Officer'
WHERE `phrase` = 'inquiry_officer';
UPDATE `language` SET `english` = 'Install'
WHERE `phrase` = 'install';
UPDATE `language` SET `english` = 'Installment Amount'
WHERE `phrase` = 'installment_amount';
UPDATE `language` SET `english` = 'Internet Connection'
WHERE `phrase` = 'internet_connection';
UPDATE `language` SET `english` = 'Invalid File!'
WHERE `phrase` = 'invalid_file';
UPDATE `language` SET `english` = 'Invalid Module'
WHERE `phrase` = 'invalid_module';
UPDATE `language` SET `english` = 'Invoice ID'
WHERE `phrase` = 'invoice_id';
UPDATE `language` SET `english` = 'Invoice No'
WHERE `phrase` = 'invoice_no';
UPDATE `language` SET `english` = 'IP Address'
WHERE `phrase` = 'ip_address';
UPDATE `language` SET `english` = 'Is Active'
WHERE `phrase` = 'isactive';
UPDATE `language` SET `english` = 'Issue By'
WHERE `phrase` = 'issue_by';
UPDATE `language` SET `english` = 'Issue Code'
WHERE `phrase` = 'issue_code';
UPDATE `language` SET `english` = 'Module List'
WHERE `phrase` = 'module_list';
UPDATE `language` SET `english` = 'Module Name'
WHERE `phrase` = 'module_name';
UPDATE `language` SET `english` = 'Module Permission'
WHERE `phrase` = 'module_permission';
UPDATE `language` SET `english` = 'Module Permission Added Successfully!'
WHERE `phrase` = 'module_permission_added_successfully';
UPDATE `language` SET `english` = 'Module Permission List'
WHERE `phrase` = 'module_permission_list';
UPDATE `language` SET `english` = 'Name'
WHERE `phrase` = 'name';
UPDATE `language` SET `english` = 'New'
WHERE `phrase` = 'new';
UPDATE `language` SET `english` = 'New Enquiry'
WHERE `phrase` = 'new_enquiry';
UPDATE `language` SET `english` = 'New Message'
WHERE `phrase` = 'new_message';
UPDATE `language` SET `english` = 'Not Available'
WHERE `phrase` = 'not_available';
UPDATE `language` SET `english` = 'No tables are registerd in config.php'
WHERE `phrase` = 'no_tables_are_registered_in_config';
UPDATE `language` SET `english` = 'Ok'
WHERE `phrase` = 'ok';
UPDATE `language` SET `english` = ' Ooops something went wrong...'
WHERE `phrase` = 'ooops_something_went_wrong';
UPDATE `language` SET `english` = 'Order Date'
WHERE `phrase` = 'order_date';
UPDATE `language` SET `english` = 'Order NO'
WHERE `phrase` = 'order_no';
UPDATE `language` SET `english` = 'Order QTY'
WHERE `phrase` = 'order_qty';
UPDATE `language` SET `english` = 'Outgoing File'
WHERE `phrase` = 'outgoing_file';
UPDATE `language` SET `english` = 'Overwrite'
WHERE `phrase` = 'overwrite';
UPDATE `language` SET `english` = 'Over Due Amount'
WHERE `phrase` = 'over_due_amount';
UPDATE `language` SET `english` = 'Package Amount'
WHERE `phrase` = 'package_amount';
UPDATE `language` SET `english` = 'Paid Amount'
WHERE `phrase` = 'paid_amount';
UPDATE `language` SET `english` = 'Package  Code'
WHERE `phrase` = 'pakage_code';
UPDATE `language` SET `english` = 'Package Name'
WHERE `phrase` = 'pakage_name';
UPDATE `language` SET `english` = 'Password'
WHERE `phrase` = 'password';
UPDATE `language` SET `english` = 'Receiving '
WHERE `phrase` = 'payment';
UPDATE `language` SET `english` = 'Qty'
WHERE `phrase` = 'quantity';
UPDATE `language` SET `english` = 'Read'
WHERE `phrase` = 'read';
UPDATE `language` SET `english` = 'Read/Unread'
WHERE `phrase` = 'read_unread';
UPDATE `language` SET `english` = 'Receive'
WHERE `phrase` = 'receive';
UPDATE `language` SET `english` = 'Receiver Name'
WHERE `phrase` = 'receiver_name';
UPDATE `language` SET `english` = 'Receive Amount'
WHERE `phrase` = 'receive_amnt';
UPDATE `language` SET `english` = 'Receive List'
WHERE `phrase` = 'receive_list';
UPDATE `language` SET `english` = 'Receive QTY'
WHERE `phrase` = 'receive_qty';
UPDATE `language` SET `english` = 'Receive QTY'
WHERE `phrase` = 'receive_quantity';
UPDATE `language` SET `english` = ''
WHERE `phrase` = 'recovery_received';
UPDATE `language` SET `english` = 'Remainig Amount'
WHERE `phrase` = 'remaining_amnt';
UPDATE `language` SET `english` = 'Remove Successfully!'
WHERE `phrase` = 'remove_successfully';
UPDATE `language` SET `english` = 'Require Installment'
WHERE `phrase` = 'require_install';
UPDATE `language` SET `english` = 'Reset'
WHERE `phrase` = 'reset';
UPDATE `language` SET `english` = 'Restore Now!'
WHERE `phrase` = 'restore_now';
UPDATE `language` SET `english` = 'Restore Successfully'
WHERE `phrase` = 'restore_successfully';
UPDATE `language` SET `english` = 'Retail Price'
WHERE `phrase` = 'retail_price';
UPDATE `language` SET `english` = 'Retl Price'
WHERE `phrase` = 'retprice';
UPDATE `language` SET `english` = 'Right To Left'
WHERE `phrase` = 'right_to_left';
UPDATE `language` SET `english` = 'Role'
WHERE `phrase` = 'role';
UPDATE `language` SET `english` = 'Role List'
WHERE `phrase` = 'role_list';
UPDATE `language` SET `english` = 'Role Name'
WHERE `phrase` = 'role_name';
UPDATE `language` SET `english` = 'Role Permission'
WHERE `phrase` = 'role_permission';
UPDATE `language` SET `english` = 'Role Permission List'
WHERE `phrase` = 'role_permission_list';
UPDATE `language` SET `english` = 'Sales'
WHERE `phrase` = 'sale';
UPDATE `language` SET `english` = 'Qty'
WHERE `phrase` = 'quantity';
UPDATE `language` SET `english` = 'Read'
WHERE `phrase` = 'read';
UPDATE `language` SET `english` = 'Read/Unread'
WHERE `phrase` = 'read_unread';
UPDATE `language` SET `english` = 'Receive'
WHERE `phrase` = 'receive';
UPDATE `language` SET `english` = 'Receiver Name'
WHERE `phrase` = 'receiver_name';
UPDATE `language` SET `english` = 'Receive Amount'
WHERE `phrase` = 'receive_amnt';
UPDATE `language` SET `english` = 'Receive List'
WHERE `phrase` = 'receive_list';
UPDATE `language` SET `english` = 'Receive QTY'
WHERE `phrase` = 'receive_qty';
UPDATE `language` SET `english` = 'Receive QTY'
WHERE `phrase` = 'receive_quantity';
UPDATE `language` SET `english` = 'Recovery Received'
WHERE `phrase` = 'recovery_received';
UPDATE `language` SET `english` = 'Remainig Amount'
WHERE `phrase` = 'remaining_amnt';
UPDATE `language` SET `english` = 'Remove Successfully!'
WHERE `phrase` = 'remove_successfully';
UPDATE `language` SET `english` = 'Require Installment'
WHERE `phrase` = 'require_install';
UPDATE `language` SET `english` = 'Reset'
WHERE `phrase` = 'reset';
UPDATE `language` SET `english` = 'Restore Now!'
WHERE `phrase` = 'restore_now';
UPDATE `language` SET `english` = 'Restore Successfully'
WHERE `phrase` = 'restore_successfully';
UPDATE `language` SET `english` = 'Retail Price'
WHERE `phrase` = 'retail_price';
UPDATE `language` SET `english` = 'Retl Price'
WHERE `phrase` = 'retprice';
UPDATE `language` SET `english` = 'Right To Left'
WHERE `phrase` = 'right_to_left';
UPDATE `language` SET `english` = 'Role'
WHERE `phrase` = 'role';
UPDATE `language` SET `english` = 'Role List'
WHERE `phrase` = 'role_list';
UPDATE `language` SET `english` = 'Role Name'
WHERE `phrase` = 'role_name';
UPDATE `language` SET `english` = 'Role Permission'
WHERE `phrase` = 'role_permission';
UPDATE `language` SET `english` = 'Role Permission List'
WHERE `phrase` = 'role_permission_list';
UPDATE `language` SET `english` = 'Sales'
WHERE `phrase` = 'sale';
INSERT INTO `gurrantor` (`gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('gc-3', 'ret', '345', '2', 'dafsdfs', 'sdfasd', '234234', 'sdfasdf', 1, '2', '2018-06-02 10:38:29');
INSERT INTO `gurrantor` (`gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('gc-4', 'ert', '23412', '2', 'sdfasdf', 'fasdf', '23423', 'asdf', 1, '2', '2018-06-02 10:38:29');
INSERT INTO `sales_parent` (`sale_id`, `invoice_no`, `customer_id`, `sale_type_id`, `store_id`, `salesman`, `sales_date`, `sales_time`, `gurrantor_1`, `gurrantor_2`, `advance_amnt`, `lease_id`, `inquiry_officer`, `remaining_amnt`, `installment_amnt`, `package_price`, `total_amnt`) VALUES ('20180602103844', '1029', '2', '3', '2', '2', '2018-06-02', '10:38:44', '18', '17', '70', '4', '9', '16.80', '16.80', '238', '175.00');
INSERT INTO `payment_collection` (`sale_id`, `invoice_no`, `customer_id`, `receive_amnt`, `due_amnt`, `receive_by`, `receive_date`) VALUES ('20180602103844', '1029', '2', '70', '168.00', '2', '2018-06-02');
INSERT INTO `customer_gurrantor_map` (`lease_id`, `customer_id`, `gurrantor_id`) VALUES ('4', '2', '18');
INSERT INTO `customer_gurrantor_map` (`lease_id`, `customer_id`, `gurrantor_id`) VALUES ('4', '2', '17');
INSERT INTO `sale_details` (`sale_id`, `product_id`, `qty`, `sell_price`, `sale_type_id`) VALUES ('20180602103844', '6', '5', '35', '3');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Sales', 'create', 'invoice_no-1029 total amount-175.00', '2', '2018-06-02 10:38:44');
INSERT INTO `gurrantor` (`gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('gc-5', 'fdg', '325421', '2', 'sdfsdf', 'fsdf', '34231', 'dsafsdf', 1, '2', '2018-06-02 10:43:20');
INSERT INTO `gurrantor` (`gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('gc-6', 'dfgsd', '3423', '2', 'sdfsad', 'sdfas', '123123', 'sdfsadf', 1, '2', '2018-06-02 10:43:20');
INSERT INTO `sales_parent` (`sale_id`, `invoice_no`, `customer_id`, `sale_type_id`, `store_id`, `salesman`, `sales_date`, `sales_time`, `gurrantor_1`, `gurrantor_2`, `advance_amnt`, `lease_id`, `inquiry_officer`, `remaining_amnt`, `installment_amnt`, `package_price`, `total_amnt`) VALUES ('20180602104338', '1029', '2', '3', '2', '2', '2018-06-02', '10:43:38', '20', '19', '70', '4', '9', '16.80', '16.80', '238', '175.00');
INSERT INTO `payment_collection` (`sale_id`, `invoice_no`, `customer_id`, `receive_amnt`, `due_amnt`, `receive_by`, `receive_date`) VALUES ('20180602104338', '1029', '2', '70', '168.00', '2', '2018-06-02');
INSERT INTO `customer_gurrantor_map` (`lease_id`, `customer_id`, `gurrantor_id`) VALUES ('4', '2', '20');
INSERT INTO `customer_gurrantor_map` (`lease_id`, `customer_id`, `gurrantor_id`) VALUES ('4', '2', '19');
INSERT INTO `sale_details` (`sale_id`, `product_id`, `qty`, `sell_price`, `sale_type_id`) VALUES ('20180602104338', '6', '5', '35', '3');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Sales', 'create', 'invoice_no-1029 total amount-175.00', '2', '2018-06-02 10:43:38');
INSERT INTO `gurrantor` (`gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('gc-7', 'fdfg', '435', '2', 'dfgsdf', '', '32234', '', 1, '2', '2018-06-02 10:47:17');
INSERT INTO `gurrantor` (`gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('gc-8', 'dfga', '3452', '2', 'dfgsdfg', '', '234234', '', 1, '2', '2018-06-02 10:47:17');
INSERT INTO `sales_parent` (`sale_id`, `invoice_no`, `customer_id`, `sale_type_id`, `store_id`, `salesman`, `sales_date`, `sales_time`, `gurrantor_1`, `gurrantor_2`, `advance_amnt`, `lease_id`, `inquiry_officer`, `remaining_amnt`, `installment_amnt`, `package_price`, `total_amnt`) VALUES ('20180602104736', '1030', '2', '3', '2', '2', '2018-06-02', '10:47:36', '22', '21', '28', '4', '9', '6.72', '6.72', '95.2', '70.00');
INSERT INTO `payment_collection` (`sale_id`, `invoice_no`, `customer_id`, `receive_amnt`, `due_amnt`, `receive_by`, `receive_date`) VALUES ('20180602104736', '1030', '2', '28', '67.20', '2', '2018-06-02');
INSERT INTO `customer_gurrantor_map` (`lease_id`, `customer_id`, `gurrantor_id`) VALUES ('4', '2', '22');
INSERT INTO `customer_gurrantor_map` (`lease_id`, `customer_id`, `gurrantor_id`) VALUES ('4', '2', '21');
INSERT INTO `sale_details` (`sale_id`, `product_id`, `qty`, `sell_price`, `sale_type_id`) VALUES ('20180602104736', '6', '2', '35', '3');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Sales', 'create', 'invoice_no-1030 total amount-70.00', '2', '2018-06-02 10:47:37');
INSERT INTO `payment_collection` (`id`, `invoice_no`, `customer_id`, `receive_amnt`, `receive_date`, `receive_by`) VALUES ('', '1030', '2', '6.72', '2018-06-02', '2');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('recovery', 'create', 'payment ID :31', '2', '2018-06-02 11:32:04');
INSERT INTO `payment_collection` (`id`, `invoice_no`, `customer_id`, `receive_amnt`, `receive_date`, `receive_by`) VALUES ('', '1030', '2', '6', '2018-06-02', '2');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('recovery', 'create', 'payment ID :32', '2', '2018-06-02 11:32:26');
INSERT INTO `payment_collection` (`id`, `invoice_no`, `customer_id`, `receive_amnt`, `receive_date`, `receive_by`) VALUES ('', '1030', '2', '6', '2018-06-02', '2');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('recovery', 'create', 'payment ID :33', '2', '2018-06-02 11:34:53');
INSERT INTO `payment_collection` (`id`, `invoice_no`, `customer_id`, `receive_amnt`, `receive_date`, `receive_by`) VALUES ('', '1030', '2', '16', '2018-06-02', '2');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('recovery', 'create', 'payment ID :34', '2', '2018-06-02 11:48:09');
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
INSERT INTO `payment_collection` (`id`, `invoice_no`, `customer_id`, `receive_amnt`, `receive_date`, `receive_by`) VALUES ('', '1030', '2', '0', '2018-06-02', '2');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('recovery', 'create', 'payment ID :35', '2', '2018-06-02 12:03:47');
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
INSERT INTO `payment_collection` (`id`, `invoice_no`, `customer_id`, `receive_amnt`, `receive_date`, `receive_by`) VALUES ('', '1030', '2', '5.12', '2018-06-02', '2');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('recovery', 'create', 'payment ID :36', '2', '2018-06-02 12:04:11');
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
INSERT INTO `payment_collection` (`id`, `invoice_no`, `customer_id`, `receive_amnt`, `receive_date`, `receive_by`) VALUES ('', '1030', '2', '7', '2018-06-02', '2');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('recovery', 'create', 'payment ID :37', '2', '2018-06-02 12:04:34');
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
INSERT INTO `payment_collection` (`id`, `invoice_no`, `customer_id`, `receive_amnt`, `receive_date`, `receive_by`) VALUES ('', '1030', '2', '6.74', '2018-06-02', '2');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('recovery', 'create', 'payment ID :38', '2', '2018-06-02 12:04:57');
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
INSERT INTO `payment_collection` (`id`, `invoice_no`, `customer_id`, `receive_amnt`, `receive_date`, `receive_by`) VALUES ('', '1030', '2', '6.80', '2018-06-02', '2');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('recovery', 'create', 'payment ID :39', '2', '2018-06-02 12:05:22');
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
INSERT INTO `language` (`phrase`) VALUES ('credit_receive');
UPDATE `language` SET `english` = 'Create'
WHERE `phrase` = 'create';
UPDATE `language` SET `english` = 'Create User Role'
WHERE `phrase` = 'create_user_role';
UPDATE `language` SET `english` = 'Credit'
WHERE `phrase` = 'credit';
UPDATE `language` SET `english` = 'Credit Receive'
WHERE `phrase` = 'credit_receive';
UPDATE `language` SET `english` = 'Credit Sale List'
WHERE `phrase` = 'credit_sale_list';
UPDATE `language` SET `english` = 'Customer'
WHERE `phrase` = 'customer';
UPDATE `language` SET `english` = 'Customer CNC'
WHERE `phrase` = 'customer_cnic';
UPDATE `language` SET `english` = 'Customer Code'
WHERE `phrase` = 'customer_code';
UPDATE `language` SET `english` = 'Customer Name'
WHERE `phrase` = 'customer_name';
UPDATE `language` SET `english` = 'Customer Type'
WHERE `phrase` = 'customer_type';
UPDATE `language` SET `english` = 'Dashboard'
WHERE `phrase` = 'dashboard';
UPDATE `language` SET `english` = 'Database Backup'
WHERE `phrase` = 'database_backup';
UPDATE `language` SET `english` = 'Data Import First'
WHERE `phrase` = 'data_import_first';
UPDATE `language` SET `english` = 'Data Import Successfully!'
WHERE `phrase` = 'data_import_successfully';
UPDATE `language` SET `english` = 'Data Import To Database'
WHERE `phrase` = 'data_import_to_database';
UPDATE `language` SET `english` = 'Data Synchronize'
WHERE `phrase` = 'data_synchronize';
UPDATE `language` SET `english` = 'Data Synchronizer'
WHERE `phrase` = 'data_synchronizer';
UPDATE `language` SET `english` = 'Data Upload to Server'
WHERE `phrase` = 'data_upload_to_server';
UPDATE `language` SET `english` = 'Date'
WHERE `phrase` = 'date';
UPDATE `language` SET `english` = 'Delete'
WHERE `phrase` = 'delete';
UPDATE `language` SET `english` = 'Delete Successfully!'
WHERE `phrase` = 'delete_successfully';
UPDATE `language` SET `english` = 'Delete Successfully!'
WHERE `phrase` = 'delete_successfully';
UPDATE `language` SET `english` = 'Department'
WHERE `phrase` = 'department';
UPDATE `language` SET `english` = 'Description'
WHERE `phrase` = 'description';
UPDATE `language` SET `english` = 'Designation'
WHERE `phrase` = 'designation';
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
UPDATE `user` SET `last_login` = '2018-06-03 06:03:03', `ip_address` = '::1'
WHERE `id` = '2';
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
INSERT INTO `gurrantor` (`gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('gc-9', 'test1', '34223', '2', 'sdfasd', 'sdfasd', '4523', 'sdfsdfsa', 1, '2', '2018-06-03 06:50:46');
INSERT INTO `gurrantor` (`gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('gc-10', 'test2', '23123', '2', 'sdfasdf', 'fsdafsadf', '34123', 'dfsdfsdaf', 1, '2', '2018-06-03 06:50:46');
INSERT INTO `sales_parent` (`sale_id`, `invoice_no`, `customer_id`, `sale_type_id`, `store_id`, `salesman`, `sales_date`, `sales_time`, `gurrantor_1`, `gurrantor_2`, `advance_amnt`, `lease_id`, `inquiry_officer`, `remaining_amnt`, `installment_amnt`, `package_price`, `total_amnt`) VALUES ('20180603065144', '1031', '2', '3', '2', '2', '2018-06-03', '06:51:44', '24', '23', '180', '4', '9', '43.20', '43.20', '612', '450.00');
INSERT INTO `payment_collection` (`sale_id`, `invoice_no`, `customer_id`, `receive_amnt`, `due_amnt`, `receive_by`, `receive_date`) VALUES ('20180603065144', '1031', '2', '180', '432.00', '2', '2018-06-03');
INSERT INTO `customer_gurrantor_map` (`lease_id`, `customer_id`, `gurrantor_id`) VALUES ('4', '2', '24');
INSERT INTO `customer_gurrantor_map` (`lease_id`, `customer_id`, `gurrantor_id`) VALUES ('4', '2', '23');
INSERT INTO `sale_details` (`sale_id`, `product_id`, `qty`, `sell_price`, `sale_type_id`) VALUES ('20180603065144', '6', '5', '35', '3');
INSERT INTO `sale_details` (`sale_id`, `product_id`, `qty`, `sell_price`, `sale_type_id`) VALUES ('20180603065144', '7', '5', '55', '3');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Sales', 'create', 'invoice_no-1031 total amount-450.00', '2', '2018-06-03 06:51:44');
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
INSERT INTO `payment_collection` (`id`, `invoice_no`, `customer_id`, `receive_amnt`, `receive_date`, `receive_by`) VALUES ('', '1031', '2', '41', '2018-06-03', '2');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('recovery', 'create', 'payment ID :41', '2', '2018-06-03 07:01:05');
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
INSERT INTO `payment_collection` (`id`, `invoice_no`, `customer_id`, `receive_amnt`, `receive_date`, `receive_by`) VALUES ('', '1031', '2', '45.4', '2018-06-03', '2');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('recovery', 'create', 'payment ID :42', '2', '2018-06-03 07:03:46');
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
INSERT INTO `payment_collection` (`id`, `invoice_no`, `customer_id`, `receive_amnt`, `receive_date`, `receive_by`) VALUES ('', '1031', '2', '45', '2018-06-03', '2');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('recovery', 'create', 'payment ID :43', '2', '2018-06-03 07:04:07');
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
INSERT INTO `payment_collection` (`id`, `invoice_no`, `customer_id`, `receive_amnt`, `receive_date`, `receive_by`) VALUES ('', '1018', '2', '20', '2018-06-03', '2');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('payment', 'create', 'payment ID :44', '2', '2018-06-03 07:22:42');
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
INSERT INTO `language` (`phrase`) VALUES ('add_recovery_receiving');
INSERT INTO `language` (`phrase`) VALUES ('add_credit_receiving');
UPDATE `language` SET `english` = 'A'
WHERE `phrase` = 'a';
UPDATE `language` SET `english` = 'About'
WHERE `phrase` = 'about';
UPDATE `language` SET `english` = 'Action'
WHERE `phrase` = 'action';
UPDATE `language` SET `english` = 'Active'
WHERE `phrase` = 'active';
UPDATE `language` SET `english` = 'Add '
WHERE `phrase` = 'add';
UPDATE `language` SET `english` = 'Address'
WHERE `phrase` = 'address';
UPDATE `language` SET `english` = 'Add Credit Receiving'
WHERE `phrase` = 'add_credit_receiving';
UPDATE `language` SET `english` = 'Add Model'
WHERE `phrase` = 'add_model';
UPDATE `language` SET `english` = 'Add Module'
WHERE `phrase` = 'add_module';
UPDATE `language` SET `english` = 'Add Module Permission'
WHERE `phrase` = 'add_module_permission';
UPDATE `language` SET `english` = 'Add New Product'
WHERE `phrase` = 'add_new_item';
UPDATE `language` SET `english` = 'Add Product'
WHERE `phrase` = 'add_product';
UPDATE `language` SET `english` = 'Add Recovery Receiving'
WHERE `phrase` = 'add_recovery_receiving';
UPDATE `language` SET `english` = 'Add Role'
WHERE `phrase` = 'add_role';
UPDATE `language` SET `english` = 'Add Role Permission'
WHERE `phrase` = 'add_role_permission';
UPDATE `language` SET `english` = 'Add Store'
WHERE `phrase` = 'add_store';
UPDATE `language` SET `english` = 'Add Unit'
WHERE `phrase` = 'add_unit';
UPDATE `language` SET `english` = 'Add User'
WHERE `phrase` = 'add_user';
UPDATE `language` SET `english` = 'Add User Role'
WHERE `phrase` = 'add_user_role';
UPDATE `language` SET `english` = 'Add Warehouse'
WHERE `phrase` = 'add_warehouse';
UPDATE `language` SET `english` = 'Admin'
WHERE `phrase` = 'admin';
UPDATE `language` SET `english` = 'Advance'
WHERE `phrase` = 'advance';
UPDATE `language` SET `english` = 'Advance amount'
WHERE `phrase` = 'advance_amount';
UPDATE `language` SET `english` = 'Application Setting'
WHERE `phrase` = 'application_setting';
UPDATE `language` SET `english` = 'Application Title'
WHERE `phrase` = 'application_title';
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
INSERT INTO `language` (`phrase`) VALUES ('report');
UPDATE `language` SET `english` = 'Puchase Order'
WHERE `phrase` = 'purchase_order';
UPDATE `language` SET `english` = 'Purchase Price'
WHERE `phrase` = 'purchase_price';
UPDATE `language` SET `english` = 'Pur Price'
WHERE `phrase` = 'pur_price';
UPDATE `language` SET `english` = 'Qty'
WHERE `phrase` = 'quantity';
UPDATE `language` SET `english` = 'Read'
WHERE `phrase` = 'read';
UPDATE `language` SET `english` = 'Read/Unread'
WHERE `phrase` = 'read_unread';
UPDATE `language` SET `english` = 'Receive'
WHERE `phrase` = 'receive';
UPDATE `language` SET `english` = 'Receiver Name'
WHERE `phrase` = 'receiver_name';
UPDATE `language` SET `english` = 'Receive Amount'
WHERE `phrase` = 'receive_amnt';
UPDATE `language` SET `english` = 'Receive List'
WHERE `phrase` = 'receive_list';
UPDATE `language` SET `english` = 'Receive QTY'
WHERE `phrase` = 'receive_qty';
UPDATE `language` SET `english` = 'Receive QTY'
WHERE `phrase` = 'receive_quantity';
UPDATE `language` SET `english` = 'Recovery Received'
WHERE `phrase` = 'recovery_received';
UPDATE `language` SET `english` = 'Remainig Amount'
WHERE `phrase` = 'remaining_amnt';
UPDATE `language` SET `english` = 'Remove Successfully!'
WHERE `phrase` = 'remove_successfully';
UPDATE `language` SET `english` = 'Report'
WHERE `phrase` = 'report';
UPDATE `language` SET `english` = 'Require Installment'
WHERE `phrase` = 'require_install';
UPDATE `language` SET `english` = 'Reset'
WHERE `phrase` = 'reset';
UPDATE `language` SET `english` = 'Restore Now!'
WHERE `phrase` = 'restore_now';
UPDATE `language` SET `english` = 'Restore Successfully'
WHERE `phrase` = 'restore_successfully';
UPDATE `language` SET `english` = 'Retail Price'
WHERE `phrase` = 'retail_price';
UPDATE `language` SET `english` = 'Retl Price'
WHERE `phrase` = 'retprice';
UPDATE `language` SET `english` = 'Right To Left'
WHERE `phrase` = 'right_to_left';
UPDATE `language` SET `english` = 'Role'
WHERE `phrase` = 'role';
UPDATE `language` SET `english` = 'Role List'
WHERE `phrase` = 'role_list';
INSERT INTO `customer` (`customer_code`, `customer_name`, `customer_phone`, `type`, `job_designation`, `store_id`, `customer_address`, `customer_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('ls-2', 'Golam Rabbi', '3423', '3', 'sdfasdf', '2', 'dfsdf', '4534523', 'sdfasd', 1, '2', '2018-06-03 08:29:52');
INSERT INTO `sales_parent` (`sale_id`, `invoice_no`, `customer_id`, `sale_type_id`, `store_id`, `salesman`, `sales_date`, `sales_time`, `gurrantor_1`, `gurrantor_2`, `advance_amnt`, `lease_id`, `inquiry_officer`, `remaining_amnt`, `installment_amnt`, `package_price`, `total_amnt`) VALUES ('20180603083008', '1032', '3', '3', '2', '2', '2018-06-03', '08:30:08', NULL, NULL, '70', '4', '14', '16.80', '16.80', '238', '175.00');
INSERT INTO `payment_collection` (`sale_id`, `invoice_no`, `customer_id`, `receive_amnt`, `due_amnt`, `receive_by`, `receive_date`) VALUES ('20180603083008', '1032', '3', '70', '168.00', '2', '2018-06-03');
INSERT INTO `sale_details` (`sale_id`, `product_id`, `qty`, `sell_price`, `sale_type_id`) VALUES ('20180603083008', '6', '5', '35', '3');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Sales', 'create', 'invoice_no-1032 total amount-175.00', '2', '2018-06-03 08:30:08');
INSERT INTO `language` (`phrase`) VALUES ('recovery');
UPDATE `language` SET `english` = 'Puchase Order'
WHERE `phrase` = 'purchase_order';
UPDATE `language` SET `english` = 'Purchase Price'
WHERE `phrase` = 'purchase_price';
UPDATE `language` SET `english` = 'Pur Price'
WHERE `phrase` = 'pur_price';
UPDATE `language` SET `english` = 'Qty'
WHERE `phrase` = 'quantity';
UPDATE `language` SET `english` = 'Read'
WHERE `phrase` = 'read';
UPDATE `language` SET `english` = 'Read/Unread'
WHERE `phrase` = 'read_unread';
UPDATE `language` SET `english` = 'Receive'
WHERE `phrase` = 'receive';
UPDATE `language` SET `english` = 'Receiver Name'
WHERE `phrase` = 'receiver_name';
UPDATE `language` SET `english` = 'Receive Amount'
WHERE `phrase` = 'receive_amnt';
UPDATE `language` SET `english` = 'Receive List'
WHERE `phrase` = 'receive_list';
UPDATE `language` SET `english` = 'Receive QTY'
WHERE `phrase` = 'receive_qty';
UPDATE `language` SET `english` = 'Receive QTY'
WHERE `phrase` = 'receive_quantity';
UPDATE `language` SET `english` = 'Recovery'
WHERE `phrase` = 'recovery';
UPDATE `language` SET `english` = 'Recovery Received'
WHERE `phrase` = 'recovery_received';
UPDATE `language` SET `english` = 'Remainig Amount'
WHERE `phrase` = 'remaining_amnt';
UPDATE `language` SET `english` = 'Remove Successfully!'
WHERE `phrase` = 'remove_successfully';
UPDATE `language` SET `english` = 'Report'
WHERE `phrase` = 'report';
UPDATE `language` SET `english` = 'Require Installment'
WHERE `phrase` = 'require_install';
UPDATE `language` SET `english` = 'Reset'
WHERE `phrase` = 'reset';
UPDATE `language` SET `english` = 'Restore Now!'
WHERE `phrase` = 'restore_now';
UPDATE `language` SET `english` = 'Restore Successfully'
WHERE `phrase` = 'restore_successfully';
UPDATE `language` SET `english` = 'Retail Price'
WHERE `phrase` = 'retail_price';
UPDATE `language` SET `english` = 'Retl Price'
WHERE `phrase` = 'retprice';
UPDATE `language` SET `english` = 'Right To Left'
WHERE `phrase` = 'right_to_left';
UPDATE `language` SET `english` = 'Role'
WHERE `phrase` = 'role';
INSERT INTO `language` (`phrase`) VALUES ('surplus');
INSERT INTO `language` (`phrase`) VALUES ('deficit');
UPDATE `language` SET `english` = 'Code'
WHERE `phrase` = 'code';
UPDATE `language` SET `english` = 'Contact No'
WHERE `phrase` = 'contact';
UPDATE `language` SET `english` = 'Create'
WHERE `phrase` = 'create';
UPDATE `language` SET `english` = 'Create User Role'
WHERE `phrase` = 'create_user_role';
UPDATE `language` SET `english` = 'Credit'
WHERE `phrase` = 'credit';
UPDATE `language` SET `english` = 'Credit Receive'
WHERE `phrase` = 'credit_receive';
UPDATE `language` SET `english` = 'Credit Sale List'
WHERE `phrase` = 'credit_sale_list';
UPDATE `language` SET `english` = 'Customer'
WHERE `phrase` = 'customer';
UPDATE `language` SET `english` = 'Customer CNC'
WHERE `phrase` = 'customer_cnic';
UPDATE `language` SET `english` = 'Customer Code'
WHERE `phrase` = 'customer_code';
UPDATE `language` SET `english` = 'Customer Name'
WHERE `phrase` = 'customer_name';
UPDATE `language` SET `english` = 'Customer Type'
WHERE `phrase` = 'customer_type';
UPDATE `language` SET `english` = 'Dashboard'
WHERE `phrase` = 'dashboard';
UPDATE `language` SET `english` = 'Database Backup'
WHERE `phrase` = 'database_backup';
UPDATE `language` SET `english` = 'Data Import First'
WHERE `phrase` = 'data_import_first';
UPDATE `language` SET `english` = 'Data Import Successfully!'
WHERE `phrase` = 'data_import_successfully';
UPDATE `language` SET `english` = 'Data Import To Database'
WHERE `phrase` = 'data_import_to_database';
UPDATE `language` SET `english` = 'Data Synchronize'
WHERE `phrase` = 'data_synchronize';
UPDATE `language` SET `english` = 'Data Synchronizer'
WHERE `phrase` = 'data_synchronizer';
UPDATE `language` SET `english` = 'Data Upload to Server'
WHERE `phrase` = 'data_upload_to_server';
UPDATE `language` SET `english` = 'Date'
WHERE `phrase` = 'date';
UPDATE `language` SET `english` = 'Deficit'
WHERE `phrase` = 'deficit';
UPDATE `language` SET `english` = 'Delete'
WHERE `phrase` = 'delete';
UPDATE `language` SET `english` = 'Delete Successfully!'
WHERE `phrase` = 'delete_successfully';
UPDATE `language` SET `english` = 'Delete Successfully!'
WHERE `phrase` = 'delete_successfully';
UPDATE `language` SET `english` = 'Store/warehouse'
WHERE `phrase` = 'storewarehouse';
UPDATE `language` SET `english` = 'Store Address'
WHERE `phrase` = 'store_address';
UPDATE `language` SET `english` = 'Store Code'
WHERE `phrase` = 'store_code';
UPDATE `language` SET `english` = 'Store Name'
WHERE `phrase` = 'store_name';
UPDATE `language` SET `english` = 'Store Phone'
WHERE `phrase` = 'store_phone';
UPDATE `language` SET `english` = 'Subject'
WHERE `phrase` = 'subject';
UPDATE `language` SET `english` = 'Submit '
WHERE `phrase` = 'submit';
UPDATE `language` SET `english` = 'Submit and Another'
WHERE `phrase` = 'submit_and_add_another';
UPDATE `language` SET `english` = 'Successfully Approved'
WHERE `phrase` = 'successfully_approved';
UPDATE `language` SET `english` = 'Super Admin'
WHERE `phrase` = 'super_admin';
UPDATE `language` SET `english` = 'Supplier'
WHERE `phrase` = 'supplier';
UPDATE `language` SET `english` = 'Supplier Name'
WHERE `phrase` = 'supplier_name';
UPDATE `language` SET `english` = 'Surplus'
WHERE `phrase` = 'surplus';
UPDATE `language` SET `english` = 'Synchronize'
WHERE `phrase` = 'synchronize';
UPDATE `language` SET `english` = 'Tables are not available in database.sql'
WHERE `phrase` = 'tables_are_not_available_in_database';
UPDATE `language` SET `english` = 'To'
WHERE `phrase` = 'to';
UPDATE `language` SET `english` = 'Total'
WHERE `phrase` = 'total';
UPDATE `language` SET `english` = 'Total Amount'
WHERE `phrase` = 'total_amount';
UPDATE `language` SET `english` = 'U/M'
WHERE `phrase` = 'um';
UPDATE `language` SET `english` = 'Unable to download file! please check configuration'
WHERE `phrase` = 'unable_to_download_file_please_check_configuration';
UPDATE `language` SET `english` = 'Unable to import data! please check configuration / SQL file.'
WHERE `phrase` = 'unable_to_import_data_please_check_config_or_sql_file';
UPDATE `language` SET `english` = 'Unable to upload file! please check configuration'
WHERE `phrase` = 'unable_to_upload_file_please_check_configuration';
UPDATE `language` SET `english` = 'Uninstall'
WHERE `phrase` = 'uninstall';
UPDATE `language` SET `english` = 'Unit of Measurement'
WHERE `phrase` = 'unit';
UPDATE `language` SET `english` = 'Unit List'
WHERE `phrase` = 'unit_list';
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
INSERT INTO `payment_collection` (`id`, `invoice_no`, `customer_id`, `receive_amnt`, `receive_date`, `receive_by`) VALUES ('', '1032', '3', '15', '2018-06-03', '2');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('recovery', 'create', 'payment ID :46', '2', '2018-06-03 11:23:02');
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
UPDATE `user` SET `last_login` = '2018-06-04 05:36:14', `ip_address` = '::1'
WHERE `id` = '2';
INSERT INTO `language` (`phrase`) VALUES ('recovery_summary_report');
UPDATE `language` SET `english` = 'Proposal QTY'
WHERE `phrase` = 'proposal_qty';
UPDATE `language` SET `english` = 'Puchase Order'
WHERE `phrase` = 'purchase_order';
UPDATE `language` SET `english` = 'Purchase Price'
WHERE `phrase` = 'purchase_price';
UPDATE `language` SET `english` = 'Pur Price'
WHERE `phrase` = 'pur_price';
UPDATE `language` SET `english` = 'Qty'
WHERE `phrase` = 'quantity';
UPDATE `language` SET `english` = 'Read'
WHERE `phrase` = 'read';
UPDATE `language` SET `english` = 'Read/Unread'
WHERE `phrase` = 'read_unread';
UPDATE `language` SET `english` = 'Receive'
WHERE `phrase` = 'receive';
UPDATE `language` SET `english` = 'Receiver Name'
WHERE `phrase` = 'receiver_name';
UPDATE `language` SET `english` = 'Receive Amount'
WHERE `phrase` = 'receive_amnt';
UPDATE `language` SET `english` = 'Receive List'
WHERE `phrase` = 'receive_list';
UPDATE `language` SET `english` = 'Receive QTY'
WHERE `phrase` = 'receive_qty';
UPDATE `language` SET `english` = 'Receive QTY'
WHERE `phrase` = 'receive_quantity';
UPDATE `language` SET `english` = 'Recovery'
WHERE `phrase` = 'recovery';
UPDATE `language` SET `english` = 'Recovery Received'
WHERE `phrase` = 'recovery_received';
UPDATE `language` SET `english` = 'Recovery Summary Report'
WHERE `phrase` = 'recovery_summary_report';
UPDATE `language` SET `english` = 'Remainig Amount'
WHERE `phrase` = 'remaining_amnt';
UPDATE `language` SET `english` = 'Remove Successfully!'
WHERE `phrase` = 'remove_successfully';
UPDATE `language` SET `english` = 'Report'
WHERE `phrase` = 'report';
UPDATE `language` SET `english` = 'Require Installment'
WHERE `phrase` = 'require_install';
UPDATE `language` SET `english` = 'Reset'
WHERE `phrase` = 'reset';
UPDATE `language` SET `english` = 'Restore Now!'
WHERE `phrase` = 'restore_now';
UPDATE `language` SET `english` = 'Restore Successfully'
WHERE `phrase` = 'restore_successfully';
UPDATE `language` SET `english` = 'Retail Price'
WHERE `phrase` = 'retail_price';
UPDATE `language` SET `english` = 'Retl Price'
WHERE `phrase` = 'retprice';
INSERT INTO `language` (`phrase`) VALUES ('ac_wise_achivement');
INSERT INTO `language` (`phrase`) VALUES ('amount_wise_achivement');
INSERT INTO `language` (`phrase`) VALUES ('remaning_ac');
INSERT INTO `language` (`phrase`) VALUES ('remaning_amount');
UPDATE `language` SET `english` = 'A'
WHERE `phrase` = 'a';
UPDATE `language` SET `english` = 'About'
WHERE `phrase` = 'about';
UPDATE `language` SET `english` = 'Action'
WHERE `phrase` = 'action';
UPDATE `language` SET `english` = 'Active'
WHERE `phrase` = 'active';
UPDATE `language` SET `english` = 'A/C Wise Achievement'
WHERE `phrase` = 'ac_wise_achivement';
UPDATE `language` SET `english` = 'Add '
WHERE `phrase` = 'add';
UPDATE `language` SET `english` = 'Address'
WHERE `phrase` = 'address';
UPDATE `language` SET `english` = 'Add Credit Receiving'
WHERE `phrase` = 'add_credit_receiving';
UPDATE `language` SET `english` = 'Add Model'
WHERE `phrase` = 'add_model';
UPDATE `language` SET `english` = 'Add Module'
WHERE `phrase` = 'add_module';
UPDATE `language` SET `english` = 'Add Module Permission'
WHERE `phrase` = 'add_module_permission';
UPDATE `language` SET `english` = 'Add New Product'
WHERE `phrase` = 'add_new_item';
UPDATE `language` SET `english` = 'Add Product'
WHERE `phrase` = 'add_product';
UPDATE `language` SET `english` = 'Add Recovery Receiving'
WHERE `phrase` = 'add_recovery_receiving';
UPDATE `language` SET `english` = 'Add Role'
WHERE `phrase` = 'add_role';
UPDATE `language` SET `english` = 'Add Role Permission'
WHERE `phrase` = 'add_role_permission';
UPDATE `language` SET `english` = 'Add Store'
WHERE `phrase` = 'add_store';
UPDATE `language` SET `english` = 'Add Unit'
WHERE `phrase` = 'add_unit';
UPDATE `language` SET `english` = 'Add User'
WHERE `phrase` = 'add_user';
UPDATE `language` SET `english` = 'Add User Role'
WHERE `phrase` = 'add_user_role';
UPDATE `language` SET `english` = 'Add Warehouse'
WHERE `phrase` = 'add_warehouse';
UPDATE `language` SET `english` = 'Admin'
WHERE `phrase` = 'admin';
UPDATE `language` SET `english` = 'Advance'
WHERE `phrase` = 'advance';
UPDATE `language` SET `english` = 'Advance amount'
WHERE `phrase` = 'advance_amount';
UPDATE `language` SET `english` = 'Amount Wise Achievement'
WHERE `phrase` = 'amount_wise_achivement';
UPDATE `language` SET `english` = 'Proposal Code'
WHERE `phrase` = 'proposal_code';
UPDATE `language` SET `english` = 'Proposal Date'
WHERE `phrase` = 'proposal_datetime';
UPDATE `language` SET `english` = 'Proposal QTY'
WHERE `phrase` = 'proposal_qty';
UPDATE `language` SET `english` = 'Puchase Order'
WHERE `phrase` = 'purchase_order';
UPDATE `language` SET `english` = 'Purchase Price'
WHERE `phrase` = 'purchase_price';
UPDATE `language` SET `english` = 'Pur Price'
WHERE `phrase` = 'pur_price';
UPDATE `language` SET `english` = 'Qty'
WHERE `phrase` = 'quantity';
UPDATE `language` SET `english` = 'Read'
WHERE `phrase` = 'read';
UPDATE `language` SET `english` = 'Read/Unread'
WHERE `phrase` = 'read_unread';
UPDATE `language` SET `english` = 'Receive'
WHERE `phrase` = 'receive';
UPDATE `language` SET `english` = 'Receiver Name'
WHERE `phrase` = 'receiver_name';
UPDATE `language` SET `english` = 'Receive Amount'
WHERE `phrase` = 'receive_amnt';
UPDATE `language` SET `english` = 'Receive List'
WHERE `phrase` = 'receive_list';
UPDATE `language` SET `english` = 'Receive QTY'
WHERE `phrase` = 'receive_qty';
UPDATE `language` SET `english` = 'Receive QTY'
WHERE `phrase` = 'receive_quantity';
UPDATE `language` SET `english` = 'Recovery'
WHERE `phrase` = 'recovery';
UPDATE `language` SET `english` = 'Recovery Received'
WHERE `phrase` = 'recovery_received';
UPDATE `language` SET `english` = 'Recovery Summary Report'
WHERE `phrase` = 'recovery_summary_report';
UPDATE `language` SET `english` = 'Remainig Amount'
WHERE `phrase` = 'remaining_amnt';
UPDATE `language` SET `english` = 'Remaining A/C'
WHERE `phrase` = 'remaning_ac';
UPDATE `language` SET `english` = 'Remaining Amount'
WHERE `phrase` = 'remaning_amount';
UPDATE `language` SET `english` = 'Remove Successfully!'
WHERE `phrase` = 'remove_successfully';
UPDATE `language` SET `english` = 'Report'
WHERE `phrase` = 'report';
UPDATE `language` SET `english` = 'Require Installment'
WHERE `phrase` = 'require_install';
UPDATE `language` SET `english` = 'Reset'
WHERE `phrase` = 'reset';
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
INSERT INTO `payment_collection` (`id`, `invoice_no`, `customer_id`, `receive_amnt`, `receive_date`, `receive_by`, `isinstallment`) VALUES ('', '1032', '3', '16', '2018-06-04', '2', 1);
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
INSERT INTO `payment_collection` (`id`, `invoice_no`, `customer_id`, `receive_amnt`, `receive_date`, `receive_by`, `is_installment`) VALUES ('', '1032', '3', '16', '2018-06-04', '2', 1);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('recovery', 'create', 'payment ID :47', '2', '2018-06-04 07:15:07');
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
INSERT INTO `gurrantor` (`gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('gc-11', 'gh', '423', '2', 'dfgsdfg', 'gdsfgdsf', '34545', 'gsdfg', 1, '2', '2018-06-04 07:15:50');
INSERT INTO `gurrantor` (`gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('gc-12', 'hd', '4453', '2', 'dfgsdf', 'gsdfgsdf', '345345', 'dsfgsdfg', 1, '2', '2018-06-04 07:15:50');
INSERT INTO `sales_parent` (`sale_id`, `invoice_no`, `customer_id`, `sale_type_id`, `store_id`, `salesman`, `sales_date`, `sales_time`, `gurrantor_1`, `gurrantor_2`, `advance_amnt`, `lease_id`, `inquiry_officer`, `remaining_amnt`, `installment_amnt`, `package_price`, `total_amnt`) VALUES ('20180604071606', '1033', '3', '3', '2', '2', '2018-06-04', '07:16:06', '26', '25', '28', '4', '11', '6.72', '6.72', '95.2', '70.00');
INSERT INTO `payment_collection` (`sale_id`, `invoice_no`, `customer_id`, `receive_amnt`, `due_amnt`, `receive_by`, `receive_date`) VALUES ('20180604071606', '1033', '3', '28', '67.20', '2', '2018-06-04');
INSERT INTO `customer_gurrantor_map` (`lease_id`, `customer_id`, `gurrantor_id`) VALUES ('4', '3', '26');
INSERT INTO `customer_gurrantor_map` (`lease_id`, `customer_id`, `gurrantor_id`) VALUES ('4', '3', '25');
INSERT INTO `sale_details` (`sale_id`, `product_id`, `qty`, `sell_price`, `sale_type_id`) VALUES ('20180604071606', '6', '2', '35', '3');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Sales', 'create', 'invoice_no-1033 total amount-70.00', '2', '2018-06-04 07:16:06');
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
INSERT INTO `payment_collection` (`id`, `invoice_no`, `customer_id`, `receive_amnt`, `receive_date`, `receive_by`, `is_installment`) VALUES ('', '1033', '3', '15', '2018-06-04', '2', 1);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('recovery', 'create', 'payment ID :49', '2', '2018-06-04 07:30:57');
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
INSERT INTO `payment_collection` (`id`, `invoice_no`, `customer_id`, `receive_amnt`, `receive_date`, `receive_by`, `is_installment`) VALUES ('', '1033', '3', '5.16', '2018-06-04', '2', 1);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('recovery', 'create', 'payment ID :50', '2', '2018-06-04 07:39:10');
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
INSERT INTO `payment_collection` (`id`, `invoice_no`, `customer_id`, `receive_amnt`, `receive_date`, `receive_by`, `is_installment`) VALUES ('', '1033', '3', '6.72', '2018-06-04', '2', 1);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('recovery', 'create', 'payment ID :51', '2', '2018-06-04 07:44:17');
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
INSERT INTO `language` (`phrase`) VALUES ('target');
INSERT INTO `language` (`phrase`) VALUES ('achievement');
INSERT INTO `language` (`phrase`) VALUES ('remaining');
INSERT INTO `language` (`phrase`) VALUES ('account');
INSERT INTO `language` (`phrase`) VALUES ('amount');
UPDATE `language` SET `english` = 'A'
WHERE `phrase` = 'a';
UPDATE `language` SET `english` = 'About'
WHERE `phrase` = 'about';
UPDATE `language` SET `english` = 'Account'
WHERE `phrase` = 'account';
UPDATE `language` SET `english` = 'Achievement'
WHERE `phrase` = 'achievement';
UPDATE `language` SET `english` = 'Action'
WHERE `phrase` = 'action';
UPDATE `language` SET `english` = 'Active'
WHERE `phrase` = 'active';
UPDATE `language` SET `english` = 'A/C Wise Achievement'
WHERE `phrase` = 'ac_wise_achivement';
UPDATE `language` SET `english` = 'Add '
WHERE `phrase` = 'add';
UPDATE `language` SET `english` = 'Address'
WHERE `phrase` = 'address';
UPDATE `language` SET `english` = 'Add Credit Receiving'
WHERE `phrase` = 'add_credit_receiving';
UPDATE `language` SET `english` = 'Add Model'
WHERE `phrase` = 'add_model';
UPDATE `language` SET `english` = 'Add Module'
WHERE `phrase` = 'add_module';
UPDATE `language` SET `english` = 'Add Module Permission'
WHERE `phrase` = 'add_module_permission';
UPDATE `language` SET `english` = 'Add New Product'
WHERE `phrase` = 'add_new_item';
UPDATE `language` SET `english` = 'Add Product'
WHERE `phrase` = 'add_product';
UPDATE `language` SET `english` = 'Add Recovery Receiving'
WHERE `phrase` = 'add_recovery_receiving';
UPDATE `language` SET `english` = 'Add Role'
WHERE `phrase` = 'add_role';
UPDATE `language` SET `english` = 'Add Role Permission'
WHERE `phrase` = 'add_role_permission';
UPDATE `language` SET `english` = 'Add Store'
WHERE `phrase` = 'add_store';
UPDATE `language` SET `english` = 'Add Unit'
WHERE `phrase` = 'add_unit';
UPDATE `language` SET `english` = 'Add User'
WHERE `phrase` = 'add_user';
UPDATE `language` SET `english` = 'Add User Role'
WHERE `phrase` = 'add_user_role';
UPDATE `language` SET `english` = 'Add Warehouse'
WHERE `phrase` = 'add_warehouse';
UPDATE `language` SET `english` = 'Admin'
WHERE `phrase` = 'admin';
UPDATE `language` SET `english` = 'Advance'
WHERE `phrase` = 'advance';
UPDATE `language` SET `english` = 'Advance amount'
WHERE `phrase` = 'advance_amount';
UPDATE `language` SET `english` = 'Amount'
WHERE `phrase` = 'amount';
UPDATE `language` SET `english` = 'Amount Wise Achievement'
WHERE `phrase` = 'amount_wise_achivement';
UPDATE `language` SET `english` = 'Application Setting'
WHERE `phrase` = 'application_setting';
UPDATE `language` SET `english` = 'Application Title'
WHERE `phrase` = 'application_title';
UPDATE `language` SET `english` = 'Approve'
WHERE `phrase` = 'approved';
UPDATE `language` SET `english` = 'Are You Sure ? '
WHERE `phrase` = 'are_you_sure';
UPDATE `language` SET `english` = 'Assign Role'
WHERE `phrase` = 'assign_role';
UPDATE `language` SET `english` = 'Available'
WHERE `phrase` = 'available';
UPDATE `language` SET `english` = 'Backup and Restore'
WHERE `phrase` = 'backup_and_restore';
UPDATE `language` SET `english` = 'Backup Date'
WHERE `phrase` = 'backup_date';
UPDATE `language` SET `english` = 'Backup Now!'
WHERE `phrase` = 'backup_now';
UPDATE `language` SET `english` = 'Backup Successfully'
WHERE `phrase` = 'backup_successfully';
UPDATE `language` SET `english` = 'Block Price'
WHERE `phrase` = 'block_price';
UPDATE `language` SET `english` = 'BL Price'
WHERE `phrase` = 'bl_price';
UPDATE `language` SET `english` = 'Brand'
WHERE `phrase` = 'brand';
UPDATE `language` SET `english` = 'Brand List'
WHERE `phrase` = 'brand_list';
UPDATE `language` SET `english` = 'Brand Name'
WHERE `phrase` = 'brand_name';
UPDATE `language` SET `english` = 'Business Address'
WHERE `phrase` = 'business_address';
UPDATE `language` SET `english` = 'Captcha Word'
WHERE `phrase` = 'captcha';
UPDATE `language` SET `english` = 'NID'
WHERE `phrase` = 'cardno';
UPDATE `language` SET `english` = 'Cash'
WHERE `phrase` = 'cash';
UPDATE `language` SET `english` = 'Cash Sale'
WHERE `phrase` = 'cashsale';
UPDATE `language` SET `english` = 'Cash Sale List'
WHERE `phrase` = 'cash_sale_list';
UPDATE `language` SET `english` = 'Category'
WHERE `phrase` = 'category';
UPDATE `language` SET `english` = 'Profile'
WHERE `phrase` = 'profile';
UPDATE `language` SET `english` = 'Profile Setting'
WHERE `phrase` = 'profile_setting';
UPDATE `language` SET `english` = 'Project Root'
WHERE `phrase` = 'project_root';
UPDATE `language` SET `english` = 'Proposal Code'
WHERE `phrase` = 'proposal_code';
UPDATE `language` SET `english` = 'Proposal Date'
WHERE `phrase` = 'proposal_datetime';
UPDATE `language` SET `english` = 'Proposal QTY'
WHERE `phrase` = 'proposal_qty';
UPDATE `language` SET `english` = 'Puchase Order'
WHERE `phrase` = 'purchase_order';
UPDATE `language` SET `english` = 'Purchase Price'
WHERE `phrase` = 'purchase_price';
UPDATE `language` SET `english` = 'Pur Price'
WHERE `phrase` = 'pur_price';
UPDATE `language` SET `english` = 'Qty'
WHERE `phrase` = 'quantity';
UPDATE `language` SET `english` = 'Read'
WHERE `phrase` = 'read';
UPDATE `language` SET `english` = 'Read/Unread'
WHERE `phrase` = 'read_unread';
UPDATE `language` SET `english` = 'Receive'
WHERE `phrase` = 'receive';
UPDATE `language` SET `english` = 'Receiver Name'
WHERE `phrase` = 'receiver_name';
UPDATE `language` SET `english` = 'Receive Amount'
WHERE `phrase` = 'receive_amnt';
UPDATE `language` SET `english` = 'Receive List'
WHERE `phrase` = 'receive_list';
UPDATE `language` SET `english` = 'Receive QTY'
WHERE `phrase` = 'receive_qty';
UPDATE `language` SET `english` = 'Receive QTY'
WHERE `phrase` = 'receive_quantity';
UPDATE `language` SET `english` = 'Recovery'
WHERE `phrase` = 'recovery';
UPDATE `language` SET `english` = 'Recovery Received'
WHERE `phrase` = 'recovery_received';
UPDATE `language` SET `english` = 'Recovery Summary Report'
WHERE `phrase` = 'recovery_summary_report';
UPDATE `language` SET `english` = 'Remaining'
WHERE `phrase` = 'remaining';
UPDATE `language` SET `english` = 'Remainig Amount'
WHERE `phrase` = 'remaining_amnt';
UPDATE `language` SET `english` = 'Remaining A/C'
WHERE `phrase` = 'remaning_ac';
UPDATE `language` SET `english` = 'Remaining Amount'
WHERE `phrase` = 'remaning_amount';
UPDATE `language` SET `english` = 'Setting'
WHERE `phrase` = 'setting';
UPDATE `language` SET `english` = 'Application Alignment'
WHERE `phrase` = 'site_align';
UPDATE `language` SET `english` = 'size'
WHERE `phrase` = 'size';
UPDATE `language` SET `english` = 'SL'
WHERE `phrase` = 'sl';
UPDATE `language` SET `english` = 'SL No.'
WHERE `phrase` = 'sl_no';
UPDATE `language` SET `english` = 'Status'
WHERE `phrase` = 'status';
UPDATE `language` SET `english` = 'Stock Movement'
WHERE `phrase` = 'stockmovment';
UPDATE `language` SET `english` = 'Stock Qty'
WHERE `phrase` = 'stock_ctn';
UPDATE `language` SET `english` = 'Store'
WHERE `phrase` = 'store';
UPDATE `language` SET `english` = 'Store/warehouse'
WHERE `phrase` = 'storewarehouse';
UPDATE `language` SET `english` = 'Store Address'
WHERE `phrase` = 'store_address';
UPDATE `language` SET `english` = 'Store Code'
WHERE `phrase` = 'store_code';
UPDATE `language` SET `english` = 'Store Name'
WHERE `phrase` = 'store_name';
UPDATE `language` SET `english` = 'Store Phone'
WHERE `phrase` = 'store_phone';
UPDATE `language` SET `english` = 'Subject'
WHERE `phrase` = 'subject';
UPDATE `language` SET `english` = 'Submit '
WHERE `phrase` = 'submit';
UPDATE `language` SET `english` = 'Submit and Another'
WHERE `phrase` = 'submit_and_add_another';
UPDATE `language` SET `english` = 'Successfully Approved'
WHERE `phrase` = 'successfully_approved';
UPDATE `language` SET `english` = 'Super Admin'
WHERE `phrase` = 'super_admin';
UPDATE `language` SET `english` = 'Supplier'
WHERE `phrase` = 'supplier';
UPDATE `language` SET `english` = 'Supplier Name'
WHERE `phrase` = 'supplier_name';
UPDATE `language` SET `english` = 'Surplus'
WHERE `phrase` = 'surplus';
UPDATE `language` SET `english` = 'Synchronize'
WHERE `phrase` = 'synchronize';
UPDATE `language` SET `english` = 'Tables are not available in database.sql'
WHERE `phrase` = 'tables_are_not_available_in_database';
UPDATE `language` SET `english` = 'Target'
WHERE `phrase` = 'target';
INSERT INTO `language` (`phrase`) VALUES ('branches');
UPDATE `language` SET `english` = 'Advance amount'
WHERE `phrase` = 'advance_amount';
UPDATE `language` SET `english` = 'Amount'
WHERE `phrase` = 'amount';
UPDATE `language` SET `english` = 'Amount Wise Achievement'
WHERE `phrase` = 'amount_wise_achivement';
UPDATE `language` SET `english` = 'Application Setting'
WHERE `phrase` = 'application_setting';
UPDATE `language` SET `english` = 'Application Title'
WHERE `phrase` = 'application_title';
UPDATE `language` SET `english` = 'Approve'
WHERE `phrase` = 'approved';
UPDATE `language` SET `english` = 'Are You Sure ? '
WHERE `phrase` = 'are_you_sure';
UPDATE `language` SET `english` = 'Assign Role'
WHERE `phrase` = 'assign_role';
UPDATE `language` SET `english` = 'Available'
WHERE `phrase` = 'available';
UPDATE `language` SET `english` = 'Backup and Restore'
WHERE `phrase` = 'backup_and_restore';
UPDATE `language` SET `english` = 'Backup Date'
WHERE `phrase` = 'backup_date';
UPDATE `language` SET `english` = 'Backup Now!'
WHERE `phrase` = 'backup_now';
UPDATE `language` SET `english` = 'Backup Successfully'
WHERE `phrase` = 'backup_successfully';
UPDATE `language` SET `english` = 'Block Price'
WHERE `phrase` = 'block_price';
UPDATE `language` SET `english` = 'BL Price'
WHERE `phrase` = 'bl_price';
UPDATE `language` SET `english` = 'Branches'
WHERE `phrase` = 'branches';
UPDATE `language` SET `english` = 'Brand'
WHERE `phrase` = 'brand';
UPDATE `language` SET `english` = 'Brand List'
WHERE `phrase` = 'brand_list';
UPDATE `language` SET `english` = 'Brand Name'
WHERE `phrase` = 'brand_name';
UPDATE `language` SET `english` = 'Business Address'
WHERE `phrase` = 'business_address';
UPDATE `language` SET `english` = 'Captcha Word'
WHERE `phrase` = 'captcha';
UPDATE `language` SET `english` = 'NID'
WHERE `phrase` = 'cardno';
UPDATE `language` SET `english` = 'Cash'
WHERE `phrase` = 'cash';
UPDATE `language` SET `english` = 'Cash Sale'
WHERE `phrase` = 'cashsale';
UPDATE `language` SET `english` = 'Cash Sale List'
WHERE `phrase` = 'cash_sale_list';
UPDATE `user` SET `last_logout` = '2018-06-04 10:32:16'
WHERE `id` = '2';
UPDATE `user` SET `last_login` = '2018-06-04 10:32:43', `ip_address` = '::1'
WHERE `id` = '9';
INSERT INTO `gurrantor` (`gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('gc-13', 'dfgfdg', '6453', '2', 'dfgdfg', 'dfgs', '5345243', 'gdfgsdf', 1, '9', '2018-06-04 10:33:39');
INSERT INTO `gurrantor` (`gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('gc-14', 'tretert', '534532', '2', 'fdgsdfg', 'dfgdf', '66743563', 'gdfg', 1, '9', '2018-06-04 10:33:39');
INSERT INTO `sales_parent` (`sale_id`, `invoice_no`, `customer_id`, `sale_type_id`, `store_id`, `salesman`, `sales_date`, `sales_time`, `gurrantor_1`, `gurrantor_2`, `advance_amnt`, `lease_id`, `inquiry_officer`, `remaining_amnt`, `installment_amnt`, `package_price`, `total_amnt`) VALUES ('20180604103421', '1034', '2', '3', '2', '9', '2018-06-04', '10:34:21', '28', '27', '262', '4', '11', '62.88', '62.88', '890.8', '655.00');
INSERT INTO `payment_collection` (`sale_id`, `invoice_no`, `customer_id`, `receive_amnt`, `due_amnt`, `receive_by`, `receive_date`) VALUES ('20180604103421', '1034', '2', '262', '628.80', '9', '2018-06-04');
INSERT INTO `customer_gurrantor_map` (`lease_id`, `customer_id`, `gurrantor_id`) VALUES ('4', '2', '28');
INSERT INTO `customer_gurrantor_map` (`lease_id`, `customer_id`, `gurrantor_id`) VALUES ('4', '2', '27');
INSERT INTO `sale_details` (`sale_id`, `product_id`, `qty`, `sell_price`, `sale_type_id`) VALUES ('20180604103421', '7', '10', '55', '3');
INSERT INTO `sale_details` (`sale_id`, `product_id`, `qty`, `sell_price`, `sale_type_id`) VALUES ('20180604103421', '6', '3', '35', '3');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Sales', 'create', 'invoice_no-1034 total amount-655.00', '9', '2018-06-04 10:34:22');
UPDATE `user` SET `last_logout` = '2018-06-04 10:34:37'
WHERE `id` = '9';
UPDATE `user` SET `last_login` = '2018-06-04 10:34:48', `ip_address` = '::1'
WHERE `id` = '2';
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
INSERT INTO `payment_collection` (`id`, `invoice_no`, `customer_id`, `receive_amnt`, `receive_date`, `receive_by`, `is_installment`) VALUES ('', '1034', '2', '60', '2018-06-04', '2', 1);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('recovery', 'create', 'payment ID :53', '2', '2018-06-04 10:35:18');
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
INSERT INTO `customer` (`customer_code`, `customer_name`, `customer_phone`, `type`, `job_designation`, `store_id`, `customer_address`, `customer_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('ls-3', 'Yahia', '56456', '3', 'dfgsd', '2', 'dgsdfg', '674534', 'dsgsdfg', 1, '2', '2018-06-04 10:40:50');
INSERT INTO `gurrantor` (`gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('gc-15', 'kjl', '4324', '2', 'sdfsa', 'fasdf', '53453', 'asdf', 1, '2', '2018-06-04 10:41:11');
INSERT INTO `gurrantor` (`gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('gc-16', 'klfs', '213', '2', 'dfsadfsad', 'sdafasdf', '67754', 'asdfasd', 1, '2', '2018-06-04 10:41:11');
INSERT INTO `sales_parent` (`sale_id`, `invoice_no`, `customer_id`, `sale_type_id`, `store_id`, `salesman`, `sales_date`, `sales_time`, `gurrantor_1`, `gurrantor_2`, `advance_amnt`, `lease_id`, `inquiry_officer`, `remaining_amnt`, `installment_amnt`, `package_price`, `total_amnt`) VALUES ('20180604104138', '1035', '4', '3', '2', '2', '2018-06-04', '10:41:38', '30', '29', '80', '4', '14', '19.20', '19.20', '272', '200.00');
INSERT INTO `payment_collection` (`sale_id`, `invoice_no`, `customer_id`, `receive_amnt`, `due_amnt`, `receive_by`, `receive_date`) VALUES ('20180604104138', '1035', '4', '80', '192.00', '2', '2018-06-04');
INSERT INTO `customer_gurrantor_map` (`lease_id`, `customer_id`, `gurrantor_id`) VALUES ('4', '4', '30');
INSERT INTO `customer_gurrantor_map` (`lease_id`, `customer_id`, `gurrantor_id`) VALUES ('4', '4', '29');
INSERT INTO `sale_details` (`sale_id`, `product_id`, `qty`, `sell_price`, `sale_type_id`) VALUES ('20180604104138', '7', '3', '55', '3');
INSERT INTO `sale_details` (`sale_id`, `product_id`, `qty`, `sell_price`, `sale_type_id`) VALUES ('20180604104138', '6', '1', '35', '3');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Sales', 'create', 'invoice_no-1035 total amount-200.00', '2', '2018-06-04 10:41:38');
INSERT INTO `store` (`store_id`, `store_name`, `store_code`, `store_phone`, `store_address`, `createby`, `createdate`, `isactive`) VALUES ('', 'Uttara', '45353', '7657567', 'gdfsgsdfg', '2', '2018-06-04 10:42:07', 1);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Store', 'create', 'Store ID :4', '2', '2018-06-04 10:42:08');
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
INSERT INTO `payment_collection` (`id`, `invoice_no`, `customer_id`, `receive_amnt`, `receive_date`, `receive_by`, `is_installment`) VALUES ('', '1035', '4', '19.2', '2018-06-04', '2', 1);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('recovery', 'create', 'payment ID :55', '2', '2018-06-04 10:42:50');
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
INSERT INTO `payment_collection` (`id`, `invoice_no`, `customer_id`, `receive_amnt`, `receive_date`, `receive_by`, `is_installment`) VALUES ('', '1035', '4', '12', '2018-06-04', '2', 1);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('recovery', 'create', 'payment ID :56', '2', '2018-06-04 10:43:31');
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
INSERT INTO `gurrantor` (`gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('gc-17', 'fdgsdfg', '5654', '2', 'fdgdfg', 'dfgsdf', '673213', 'sdfgsdf', 1, '2', '2018-06-04 10:45:27');
INSERT INTO `gurrantor` (`gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('gc-18', 'dfgdsfg', '4563', '2', 'fdgdsfg', 'gsdfg', '434324', 'gsdfg', 1, '2', '2018-06-04 10:45:27');
INSERT INTO `sales_parent` (`sale_id`, `invoice_no`, `customer_id`, `sale_type_id`, `store_id`, `salesman`, `sales_date`, `sales_time`, `gurrantor_1`, `gurrantor_2`, `advance_amnt`, `lease_id`, `inquiry_officer`, `remaining_amnt`, `installment_amnt`, `package_price`, `total_amnt`) VALUES ('20180604104557', '1036', '3', '3', '2', '2', '2018-06-04', '10:45:57', '32', '31', '58', '4', '13', '13.92', '13.92', '197.2', '145.00');
INSERT INTO `payment_collection` (`sale_id`, `invoice_no`, `customer_id`, `receive_amnt`, `due_amnt`, `receive_by`, `receive_date`) VALUES ('20180604104557', '1036', '3', '58', '139.20', '2', '2018-06-04');
INSERT INTO `customer_gurrantor_map` (`lease_id`, `customer_id`, `gurrantor_id`) VALUES ('4', '3', '32');
INSERT INTO `customer_gurrantor_map` (`lease_id`, `customer_id`, `gurrantor_id`) VALUES ('4', '3', '31');
INSERT INTO `sale_details` (`sale_id`, `product_id`, `qty`, `sell_price`, `sale_type_id`) VALUES ('20180604104557', '7', '2', '55', '3');
INSERT INTO `sale_details` (`sale_id`, `product_id`, `qty`, `sell_price`, `sale_type_id`) VALUES ('20180604104557', '6', '1', '35', '3');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Sales', 'create', 'invoice_no-1036 total amount-145.00', '2', '2018-06-04 10:45:57');
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
INSERT INTO `payment_collection` (`id`, `invoice_no`, `customer_id`, `receive_amnt`, `receive_date`, `receive_by`, `is_installment`) VALUES ('', '1036', '3', '10', '2018-06-04', '2', 1);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('recovery', 'create', 'payment ID :58', '2', '2018-06-04 10:46:38');
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
INSERT INTO `payment_collection` (`id`, `invoice_no`, `customer_id`, `receive_amnt`, `receive_date`, `receive_by`, `is_installment`) VALUES ('', '1036', '3', '24', '2018-06-04', '2', 1);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('recovery', 'create', 'payment ID :59', '2', '2018-06-04 10:47:42');
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
INSERT INTO `payment_collection` (`id`, `invoice_no`, `customer_id`, `receive_amnt`, `receive_date`, `receive_by`, `is_installment`) VALUES ('', '1036', '3', '6.16', '2018-06-04', '2', 1);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('recovery', 'create', 'payment ID :60', '2', '2018-06-04 10:50:02');
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
INSERT INTO `payment_collection` (`id`, `invoice_no`, `customer_id`, `receive_amnt`, `receive_date`, `receive_by`, `is_installment`) VALUES ('', '1035', '4', '31.2', '2018-06-04', '2', 1);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('recovery', 'create', 'payment ID :61', '2', '2018-06-04 10:52:09');
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
UPDATE `user` SET `last_login` = '2018-06-05 05:43:32', `ip_address` = '::1'
WHERE `id` = '2';
INSERT INTO `language` (`phrase`) VALUES ('search');
UPDATE `language` SET `english` = 'Remaining Amount'
WHERE `phrase` = 'remaning_amount';
UPDATE `language` SET `english` = 'Remove Successfully!'
WHERE `phrase` = 'remove_successfully';
UPDATE `language` SET `english` = 'Report'
WHERE `phrase` = 'report';
UPDATE `language` SET `english` = 'Require Installment'
WHERE `phrase` = 'require_install';
UPDATE `language` SET `english` = 'Reset'
WHERE `phrase` = 'reset';
UPDATE `language` SET `english` = 'Restore Now!'
WHERE `phrase` = 'restore_now';
UPDATE `language` SET `english` = 'Restore Successfully'
WHERE `phrase` = 'restore_successfully';
UPDATE `language` SET `english` = 'Retail Price'
WHERE `phrase` = 'retail_price';
UPDATE `language` SET `english` = 'Retl Price'
WHERE `phrase` = 'retprice';
UPDATE `language` SET `english` = 'Right To Left'
WHERE `phrase` = 'right_to_left';
UPDATE `language` SET `english` = 'Role'
WHERE `phrase` = 'role';
UPDATE `language` SET `english` = 'Role List'
WHERE `phrase` = 'role_list';
UPDATE `language` SET `english` = 'Role Name'
WHERE `phrase` = 'role_name';
UPDATE `language` SET `english` = 'Role Permission'
WHERE `phrase` = 'role_permission';
UPDATE `language` SET `english` = 'Role Permission List'
WHERE `phrase` = 'role_permission_list';
UPDATE `language` SET `english` = 'Sales'
WHERE `phrase` = 'sale';
UPDATE `language` SET `english` = 'Sales Man'
WHERE `phrase` = 'sales_man';
UPDATE `language` SET `english` = 'Save'
WHERE `phrase` = 'save';
UPDATE `language` SET `english` = 'Save Successfully!'
WHERE `phrase` = 'save_successfully';
UPDATE `language` SET `english` = 'Search'
WHERE `phrase` = 'search';
UPDATE `language` SET `english` = 'See All Messages'
WHERE `phrase` = 'see_all_message';
UPDATE `language` SET `english` = 'Select Option'
WHERE `phrase` = 'select_option';
UPDATE `language` SET `english` = 'Send'
WHERE `phrase` = 'send';
UPDATE `language` SET `english` = 'Sender Name'
WHERE `phrase` = 'sender_name';
UPDATE `language` SET `english` = 'Sent'
WHERE `phrase` = 'sent';
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
INSERT INTO `payment_collection` (`id`, `invoice_no`, `customer_id`, `receive_amnt`, `receive_date`, `receive_by`, `is_installment`) VALUES ('', '1035', '4', '32.3', '2018-06-05', '2', 1);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('recovery', 'create', 'payment ID :62', '2', '2018-06-05 07:38:34');
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
INSERT INTO `payment_collection` (`id`, `invoice_no`, `customer_id`, `receive_amnt`, `receive_date`, `receive_by`, `is_installment`) VALUES ('', '1035', '4', '15.6', '2018-06-05', '2', 1);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('recovery', 'create', 'payment ID :63', '2', '2018-06-05 07:39:00');
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
INSERT INTO `payment_collection` (`id`, `invoice_no`, `customer_id`, `receive_amnt`, `receive_date`, `receive_by`, `is_installment`) VALUES ('', '1034', '2', '1', '2018-06-05', '2', 1);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('recovery', 'create', 'payment ID :64', '2', '2018-06-05 07:39:58');
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
INSERT INTO `payment_collection` (`id`, `invoice_no`, `customer_id`, `receive_amnt`, `receive_date`, `receive_by`, `is_installment`) VALUES ('', '1034', '2', '64', '2018-06-05', '2', 1);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('recovery', 'create', 'payment ID :65', '2', '2018-06-05 07:40:40');
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
INSERT INTO `payment_collection` (`id`, `invoice_no`, `customer_id`, `receive_amnt`, `receive_date`, `receive_by`, `is_installment`) VALUES ('', '1036', '3', '1', '2018-06-05', '2', 1);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('recovery', 'create', 'payment ID :66', '2', '2018-06-05 07:41:14');
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
INSERT INTO `payment_collection` (`id`, `invoice_no`, `customer_id`, `receive_amnt`, `receive_date`, `receive_by`, `is_installment`) VALUES ('', '1036', '3', '15', '2018-06-05', '2', 1);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('recovery', 'create', 'payment ID :67', '2', '2018-06-05 07:41:37');
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
INSERT INTO `gurrantor` (`gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('gc-19', 'd435345', '3242', '2', 'sdfsad', 'fasdf', '234', 'sdfasdf', 1, '2', '2018-06-05 07:44:51');
INSERT INTO `gurrantor` (`gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('gc-20', '345', '234', '2', 'fsdfasd', 'asdfsd', '324', 'asdf', 1, '2', '2018-06-05 07:44:51');
INSERT INTO `sales_parent` (`sale_id`, `invoice_no`, `customer_id`, `sale_type_id`, `store_id`, `salesman`, `sales_date`, `sales_time`, `gurrantor_1`, `gurrantor_2`, `advance_amnt`, `lease_id`, `inquiry_officer`, `remaining_amnt`, `installment_amnt`, `package_price`, `total_amnt`) VALUES ('20180605074505', '1037', '4', '3', '2', '2', '2018-06-05', '07:45:05', '34', '33', '88', '4', '9', '21.12', '21.12', '299.2', '220.00');
INSERT INTO `payment_collection` (`sale_id`, `invoice_no`, `customer_id`, `receive_amnt`, `due_amnt`, `receive_by`, `receive_date`) VALUES ('20180605074505', '1037', '4', '88', '211.20', '2', '2018-06-05');
INSERT INTO `customer_gurrantor_map` (`lease_id`, `customer_id`, `gurrantor_id`) VALUES ('4', '4', '34');
INSERT INTO `customer_gurrantor_map` (`lease_id`, `customer_id`, `gurrantor_id`) VALUES ('4', '4', '33');
INSERT INTO `sale_details` (`sale_id`, `product_id`, `qty`, `sell_price`, `sale_type_id`) VALUES ('20180605074505', '7', '4', '55', '3');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Sales', 'create', 'invoice_no-1037 total amount-220.00', '2', '2018-06-05 07:45:06');
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
INSERT INTO `payment_collection` (`id`, `invoice_no`, `customer_id`, `receive_amnt`, `receive_date`, `receive_by`, `is_installment`) VALUES ('', '1037', '4', '20', '2018-06-05', '2', 1);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('recovery', 'create', 'payment ID :69', '2', '2018-06-05 07:46:16');
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
INSERT INTO `payment_collection` (`id`, `invoice_no`, `customer_id`, `receive_amnt`, `receive_date`, `receive_by`, `is_installment`) VALUES ('', '1037', '4', '41.12', '2018-06-05', '2', 1);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('recovery', 'create', 'payment ID :70', '2', '2018-06-05 07:46:51');
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
INSERT INTO `payment_collection` (`id`, `invoice_no`, `customer_id`, `receive_amnt`, `receive_date`, `receive_by`, `is_installment`) VALUES ('', '1033', '3', '7', '2018-06-05', '2', 1);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('recovery', 'create', 'payment ID :71', '2', '2018-06-05 07:52:11');
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
INSERT INTO `payment_collection` (`id`, `invoice_no`, `customer_id`, `receive_amnt`, `receive_date`, `receive_by`, `is_installment`) VALUES ('', '1036', '3', '16', '2018-06-05', '2', 1);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('recovery', 'create', 'payment ID :72', '2', '2018-06-05 07:53:04');
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
INSERT INTO `payment_collection` (`id`, `invoice_no`, `customer_id`, `receive_amnt`, `receive_date`, `receive_by`, `is_installment`) VALUES ('', '1037', '4', '1', '2018-06-05', '2', 1);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('recovery', 'create', 'payment ID :73', '2', '2018-06-05 07:53:46');
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
INSERT INTO `payment_collection` (`id`, `invoice_no`, `customer_id`, `receive_amnt`, `receive_date`, `receive_by`, `is_installment`) VALUES ('', '1037', '4', '40', '2018-06-05', '2', 1);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('recovery', 'create', 'payment ID :74', '2', '2018-06-05 07:54:17');
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
INSERT INTO `gurrantor` (`gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('gc-21', 'sss', '345', '2', 'dfgdsfg', 'gdfgsd', '45324', 'dsfgsd', 1, '2', '2018-06-05 07:56:49');
INSERT INTO `gurrantor` (`gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('gc-22', 'dfgsdfg', '4234', '2', 'dfgsdf', 'fgsdfg', '234213', 'fgsdfg', 1, '2', '2018-06-05 07:56:49');
INSERT INTO `sales_parent` (`sale_id`, `invoice_no`, `customer_id`, `sale_type_id`, `store_id`, `salesman`, `sales_date`, `sales_time`, `gurrantor_1`, `gurrantor_2`, `advance_amnt`, `lease_id`, `inquiry_officer`, `remaining_amnt`, `installment_amnt`, `package_price`, `total_amnt`) VALUES ('20180605075745', '1000', '4', '3', '2', '2', '2018-06-05', '07:57:45', '36', '35', '124', '4', '14', '29.76', '29.76', '421.6', '310.00');
INSERT INTO `payment_collection` (`sale_id`, `invoice_no`, `customer_id`, `receive_amnt`, `due_amnt`, `receive_by`, `receive_date`) VALUES ('20180605075745', '1000', '4', '124', '297.60', '2', '2018-06-05');
INSERT INTO `customer_gurrantor_map` (`lease_id`, `customer_id`, `gurrantor_id`) VALUES ('4', '4', '36');
INSERT INTO `customer_gurrantor_map` (`lease_id`, `customer_id`, `gurrantor_id`) VALUES ('4', '4', '35');
INSERT INTO `sale_details` (`sale_id`, `product_id`, `qty`, `sell_price`, `sale_type_id`) VALUES ('20180605075745', '6', '1', '35', '3');
INSERT INTO `sale_details` (`sale_id`, `product_id`, `qty`, `sell_price`, `sale_type_id`) VALUES ('20180605075745', '7', '5', '55', '3');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Sales', 'create', 'invoice_no-1000 total amount-310.00', '2', '2018-06-05 07:57:45');
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
INSERT INTO `payment_collection` (`id`, `invoice_no`, `customer_id`, `receive_amnt`, `receive_date`, `receive_by`, `is_installment`) VALUES ('', '1000', '4', '30', '2018-06-05', '2', 1);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('recovery', 'create', 'payment ID :2', '2', '2018-06-05 07:58:13');
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
INSERT INTO `payment_collection` (`id`, `invoice_no`, `customer_id`, `receive_amnt`, `receive_date`, `receive_by`, `is_installment`) VALUES ('', '1000', '4', '10', '2018-06-05', '2', 1);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('recovery', 'create', 'payment ID :3', '2', '2018-06-05 07:59:01');
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
INSERT INTO `payment_collection` (`id`, `invoice_no`, `customer_id`, `receive_amnt`, `receive_date`, `receive_by`, `is_installment`) VALUES ('', '1000', '4', '29.76', '2018-06-05', '2', 1);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('recovery', 'create', 'payment ID :4', '2', '2018-06-05 08:00:51');
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
INSERT INTO `payment_collection` (`id`, `invoice_no`, `customer_id`, `receive_amnt`, `receive_date`, `receive_by`, `is_installment`) VALUES ('', '1000', '4', '20', '2018-06-05', '2', 1);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('recovery', 'create', 'payment ID :5', '2', '2018-06-05 08:07:03');
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
INSERT INTO `payment_collection` (`id`, `invoice_no`, `customer_id`, `receive_amnt`, `receive_date`, `receive_by`, `is_installment`) VALUES ('', '1000', '4', '50', '2018-06-05', '2', 1);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('recovery', 'create', 'payment ID :6', '2', '2018-06-05 08:11:39');
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
INSERT INTO `gurrantor` (`gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('gc-23', 'kldsf', '3453', '2', 'dfgdfg', 'gsdfg', '45345', 'gdsfgsdf', 1, '2', '2018-06-05 08:21:03');
INSERT INTO `gurrantor` (`gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('gc-24', 'dfgdfg', '23423', '2', 'dfgdsf', 'dsfgsdf', '345345', 'gdfg', 1, '2', '2018-06-05 08:21:03');
INSERT INTO `sales_parent` (`sale_id`, `invoice_no`, `customer_id`, `sale_type_id`, `store_id`, `salesman`, `sales_date`, `sales_time`, `gurrantor_1`, `gurrantor_2`, `advance_amnt`, `lease_id`, `inquiry_officer`, `remaining_amnt`, `installment_amnt`, `package_price`, `total_amnt`) VALUES ('20180605082139', '1001', '3', '3', '2', '2', '2018-06-05', '08:21:39', '38', '37', '158', '4', '11', '37.92', '37.92', '537.2', '395.00');
INSERT INTO `payment_collection` (`sale_id`, `invoice_no`, `customer_id`, `receive_amnt`, `due_amnt`, `receive_by`, `receive_date`) VALUES ('20180605082139', '1001', '3', '158', '379.20', '2', '2018-06-05');
INSERT INTO `customer_gurrantor_map` (`lease_id`, `customer_id`, `gurrantor_id`) VALUES ('4', '3', '38');
INSERT INTO `customer_gurrantor_map` (`lease_id`, `customer_id`, `gurrantor_id`) VALUES ('4', '3', '37');
INSERT INTO `sale_details` (`sale_id`, `product_id`, `qty`, `sell_price`, `sale_type_id`) VALUES ('20180605082139', '6', '5', '35', '3');
INSERT INTO `sale_details` (`sale_id`, `product_id`, `qty`, `sell_price`, `sale_type_id`) VALUES ('20180605082139', '7', '4', '55', '3');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Sales', 'create', 'invoice_no-1001 total amount-395.00', '2', '2018-06-05 08:21:40');
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
INSERT INTO `payment_collection` (`id`, `invoice_no`, `customer_id`, `receive_amnt`, `receive_date`, `receive_by`, `is_installment`) VALUES ('', '1001', '3', '30', '2018-06-05', '2', 1);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('recovery', 'create', 'payment ID :8', '2', '2018-06-05 08:22:24');
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
INSERT INTO `gurrantor` (`gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('gc-25', 'gjhj', '345345', '2', 'dfgsdfgd', 'dsfg', '3212', 'gdsfg', 1, '2', '2018-06-05 09:25:37');
INSERT INTO `gurrantor` (`gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('gc-26', 'kfgdf', '34534', '2', 'fgsdfg', 'dsfgsdf', '2356', 'sdfgdsf', 1, '2', '2018-06-05 09:25:37');
INSERT INTO `sales_parent` (`sale_id`, `invoice_no`, `customer_id`, `sale_type_id`, `store_id`, `salesman`, `sales_date`, `sales_time`, `gurrantor_1`, `gurrantor_2`, `advance_amnt`, `lease_id`, `inquiry_officer`, `remaining_amnt`, `installment_amnt`, `package_price`, `total_amnt`) VALUES ('20180605092552', '1002', '2', '3', '2', '2', '2018-06-05', '09:25:52', '40', '39', '56', '4', '13', '13.44', '13.44', '190.4', '140.00');
INSERT INTO `payment_collection` (`sale_id`, `invoice_no`, `customer_id`, `receive_amnt`, `due_amnt`, `receive_by`, `receive_date`) VALUES ('20180605092552', '1002', '2', '56', '134.40', '2', '2018-06-05');
INSERT INTO `customer_gurrantor_map` (`lease_id`, `customer_id`, `gurrantor_id`) VALUES ('4', '2', '40');
INSERT INTO `customer_gurrantor_map` (`lease_id`, `customer_id`, `gurrantor_id`) VALUES ('4', '2', '39');
INSERT INTO `sale_details` (`sale_id`, `product_id`, `qty`, `sell_price`, `sale_type_id`) VALUES ('20180605092552', '6', '4', '35', '3');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Sales', 'create', 'invoice_no-1002 total amount-140.00', '2', '2018-06-05 09:25:53');
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
INSERT INTO `payment_collection` (`id`, `invoice_no`, `customer_id`, `receive_amnt`, `receive_date`, `receive_by`, `is_installment`) VALUES ('', '1002', '2', '10', '2018-06-05', '2', 1);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('recovery', 'create', 'payment ID :10', '2', '2018-06-05 09:26:38');
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
INSERT INTO `payment_collection` (`id`, `invoice_no`, `customer_id`, `receive_amnt`, `receive_date`, `receive_by`, `is_installment`) VALUES ('', '1002', '2', '30', '2018-06-05', '2', 1);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('recovery', 'create', 'payment ID :11', '2', '2018-06-05 09:27:08');
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
UPDATE `user` SET `last_login` = '2018-06-06 06:36:35', `ip_address` = '::1'
WHERE `id` = '2';
INSERT INTO `store` (`store_id`, `store_name`, `store_code`, `store_phone`, `store_address`, `createby`, `createdate`, `isactive`) VALUES ('', 'Bdtask', '32434', '543534', 'sdfasdf', '2', '2018-06-06 06:41:24', 1);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Store', 'create', 'Store ID :5', '2', '2018-06-06 06:41:24');
INSERT INTO `language` (`phrase`) VALUES ('supplier_code');
UPDATE `language` SET `english` = 'Sent Message'
WHERE `phrase` = 'sent_message';
UPDATE `language` SET `english` = 'Set'
WHERE `phrase` = 'set';
UPDATE `language` SET `english` = 'Setting'
WHERE `phrase` = 'setting';
UPDATE `language` SET `english` = 'Application Alignment'
WHERE `phrase` = 'site_align';
UPDATE `language` SET `english` = 'size'
WHERE `phrase` = 'size';
UPDATE `language` SET `english` = 'SL'
WHERE `phrase` = 'sl';
UPDATE `language` SET `english` = 'SL No.'
WHERE `phrase` = 'sl_no';
UPDATE `language` SET `english` = 'Status'
WHERE `phrase` = 'status';
UPDATE `language` SET `english` = 'Stock Movement'
WHERE `phrase` = 'stockmovment';
UPDATE `language` SET `english` = 'Stock Qty'
WHERE `phrase` = 'stock_ctn';
UPDATE `language` SET `english` = 'Store'
WHERE `phrase` = 'store';
UPDATE `language` SET `english` = 'Store/warehouse'
WHERE `phrase` = 'storewarehouse';
UPDATE `language` SET `english` = 'Store Address'
WHERE `phrase` = 'store_address';
UPDATE `language` SET `english` = 'Store Code'
WHERE `phrase` = 'store_code';
UPDATE `language` SET `english` = 'Store Name'
WHERE `phrase` = 'store_name';
UPDATE `language` SET `english` = 'Store Phone'
WHERE `phrase` = 'store_phone';
UPDATE `language` SET `english` = 'Subject'
WHERE `phrase` = 'subject';
UPDATE `language` SET `english` = 'Submit '
WHERE `phrase` = 'submit';
UPDATE `language` SET `english` = 'Submit and Another'
WHERE `phrase` = 'submit_and_add_another';
UPDATE `language` SET `english` = 'Successfully Approved'
WHERE `phrase` = 'successfully_approved';
UPDATE `language` SET `english` = 'Super Admin'
WHERE `phrase` = 'super_admin';
UPDATE `language` SET `english` = 'Supplier'
WHERE `phrase` = 'supplier';
UPDATE `language` SET `english` = 'Supplier Code'
WHERE `phrase` = 'supplier_code';
UPDATE `language` SET `english` = 'Supplier Name'
WHERE `phrase` = 'supplier_name';
UPDATE `language` SET `english` = 'Surplus'
WHERE `phrase` = 'surplus';
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
INSERT INTO `payment_collection` (`id`, `invoice_no`, `customer_id`, `receive_amnt`, `receive_date`, `receive_by`, `is_installment`) VALUES ('', '1002', '2', '15', '2018-06-06', '2', 1);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('recovery', 'create', 'payment ID :12', '2', '2018-06-06 08:09:01');
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
INSERT INTO `customer` (`customer_code`, `customer_name`, `customer_phone`, `type`, `job_designation`, `store_id`, `customer_address`, `customer_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('ls-4', 'Mosleh Uddin', '324234', '3', 'sdfasd', '2', 'sdfasdf', '45333213', 'fsdf', 1, '2', '2018-06-06 08:21:04');
INSERT INTO `gurrantor` (`gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('gc-27', 'Jumboo', '234234', '2', 'sdfasd', 'dfasd', '234234', 'sdfsdf', 1, '2', '2018-06-06 08:21:35');
INSERT INTO `gurrantor` (`gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('gc-28', 'John st', '234', '2', 'fsdfas', 'fsadf', '3453324', 'sdf', 1, '2', '2018-06-06 08:21:35');
INSERT INTO `sales_parent` (`sale_id`, `invoice_no`, `customer_id`, `sale_type_id`, `store_id`, `salesman`, `sales_date`, `sales_time`, `gurrantor_1`, `gurrantor_2`, `advance_amnt`, `lease_id`, `inquiry_officer`, `remaining_amnt`, `installment_amnt`, `package_price`, `total_amnt`) VALUES ('20180606082207', '1003', '5', '3', '2', '2', '2018-06-06', '08:22:07', '42', '41', '188', '4', '14', '45.12', '45.12', '639.2', '470.00');
INSERT INTO `payment_collection` (`sale_id`, `invoice_no`, `customer_id`, `receive_amnt`, `due_amnt`, `receive_by`, `receive_date`) VALUES ('20180606082207', '1003', '5', '188', '451.20', '2', '2018-06-06');
INSERT INTO `customer_gurrantor_map` (`lease_id`, `customer_id`, `gurrantor_id`) VALUES ('4', '5', '42');
INSERT INTO `customer_gurrantor_map` (`lease_id`, `customer_id`, `gurrantor_id`) VALUES ('4', '5', '41');
INSERT INTO `sale_details` (`sale_id`, `product_id`, `qty`, `sell_price`, `sale_type_id`) VALUES ('20180606082207', '6', '4', '35', '3');
INSERT INTO `sale_details` (`sale_id`, `product_id`, `qty`, `sell_price`, `sale_type_id`) VALUES ('20180606082207', '7', '6', '55', '3');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Sales', 'create', 'invoice_no-1003 total amount-470.00', '2', '2018-06-06 08:22:07');
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
INSERT INTO `payment_collection` (`id`, `invoice_no`, `customer_id`, `receive_amnt`, `receive_date`, `receive_by`, `is_installment`) VALUES ('', '1003', '5', '50', '2018-06-06', '2', 1);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('recovery', 'create', 'payment ID :14', '2', '2018-06-06 08:23:20');
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
INSERT INTO `language` (`phrase`) VALUES ('recovery_summary_report_datewise');
UPDATE `language` SET `english` = 'Product Name'
WHERE `phrase` = 'product_name';
UPDATE `language` SET `english` = 'Profile'
WHERE `phrase` = 'profile';
UPDATE `language` SET `english` = 'Profile Setting'
WHERE `phrase` = 'profile_setting';
UPDATE `language` SET `english` = 'Project Root'
WHERE `phrase` = 'project_root';
UPDATE `language` SET `english` = 'Proposal Code'
WHERE `phrase` = 'proposal_code';
UPDATE `language` SET `english` = 'Proposal Date'
WHERE `phrase` = 'proposal_datetime';
UPDATE `language` SET `english` = 'Proposal QTY'
WHERE `phrase` = 'proposal_qty';
UPDATE `language` SET `english` = 'Puchase Order'
WHERE `phrase` = 'purchase_order';
UPDATE `language` SET `english` = 'Purchase Price'
WHERE `phrase` = 'purchase_price';
UPDATE `language` SET `english` = 'Pur Price'
WHERE `phrase` = 'pur_price';
UPDATE `language` SET `english` = 'Qty'
WHERE `phrase` = 'quantity';
UPDATE `language` SET `english` = 'Read'
WHERE `phrase` = 'read';
UPDATE `language` SET `english` = 'Read/Unread'
WHERE `phrase` = 'read_unread';
UPDATE `language` SET `english` = 'Receive'
WHERE `phrase` = 'receive';
UPDATE `language` SET `english` = 'Receiver Name'
WHERE `phrase` = 'receiver_name';
UPDATE `language` SET `english` = 'Receive Amount'
WHERE `phrase` = 'receive_amnt';
UPDATE `language` SET `english` = 'Receive List'
WHERE `phrase` = 'receive_list';
UPDATE `language` SET `english` = 'Receive QTY'
WHERE `phrase` = 'receive_qty';
UPDATE `language` SET `english` = 'Receive QTY'
WHERE `phrase` = 'receive_quantity';
UPDATE `language` SET `english` = 'Recovery'
WHERE `phrase` = 'recovery';
UPDATE `language` SET `english` = 'Recovery Received'
WHERE `phrase` = 'recovery_received';
UPDATE `language` SET `english` = 'Recovery Summary Report'
WHERE `phrase` = 'recovery_summary_report';
UPDATE `language` SET `english` = 'Recovery Summary Report Datewise'
WHERE `phrase` = 'recovery_summary_report_datewise';
UPDATE `language` SET `english` = 'Remaining'
WHERE `phrase` = 'remaining';
UPDATE `language` SET `english` = 'Remainig Amount'
WHERE `phrase` = 'remaining_amnt';
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
INSERT INTO `payment_collection` (`id`, `invoice_no`, `customer_id`, `receive_amnt`, `receive_date`, `receive_by`, `is_installment`) VALUES ('', '1003', '5', '55', '2018-06-06', '2', 1);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('recovery', 'create', 'payment ID :15', '2', '2018-06-06 09:26:49');
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
INSERT INTO `language` (`phrase`) VALUES ('proposed_by');
UPDATE `language` SET `english` = 'Product Name'
WHERE `phrase` = 'product_name';
UPDATE `language` SET `english` = 'Profile'
WHERE `phrase` = 'profile';
UPDATE `language` SET `english` = 'Profile Setting'
WHERE `phrase` = 'profile_setting';
UPDATE `language` SET `english` = 'Project Root'
WHERE `phrase` = 'project_root';
UPDATE `language` SET `english` = 'Proposal Code'
WHERE `phrase` = 'proposal_code';
UPDATE `language` SET `english` = 'Proposal Date'
WHERE `phrase` = 'proposal_datetime';
UPDATE `language` SET `english` = 'Proposal QTY'
WHERE `phrase` = 'proposal_qty';
UPDATE `language` SET `english` = 'Proposed By'
WHERE `phrase` = 'proposed_by';
UPDATE `language` SET `english` = 'Puchase Order'
WHERE `phrase` = 'purchase_order';
UPDATE `language` SET `english` = 'Purchase Price'
WHERE `phrase` = 'purchase_price';
UPDATE `language` SET `english` = 'Pur Price'
WHERE `phrase` = 'pur_price';
UPDATE `language` SET `english` = 'Qty'
WHERE `phrase` = 'quantity';
UPDATE `language` SET `english` = 'Read'
WHERE `phrase` = 'read';
UPDATE `language` SET `english` = 'Read/Unread'
WHERE `phrase` = 'read_unread';
UPDATE `language` SET `english` = 'Receive'
WHERE `phrase` = 'receive';
UPDATE `language` SET `english` = 'Receiver Name'
WHERE `phrase` = 'receiver_name';
UPDATE `language` SET `english` = 'Receive Amount'
WHERE `phrase` = 'receive_amnt';
UPDATE `language` SET `english` = 'Receive List'
WHERE `phrase` = 'receive_list';
UPDATE `language` SET `english` = 'Receive QTY'
WHERE `phrase` = 'receive_qty';
UPDATE `language` SET `english` = 'Receive QTY'
WHERE `phrase` = 'receive_quantity';
UPDATE `language` SET `english` = 'Recovery'
WHERE `phrase` = 'recovery';
UPDATE `language` SET `english` = 'Recovery Received'
WHERE `phrase` = 'recovery_received';
UPDATE `language` SET `english` = 'Recovery Summary Report'
WHERE `phrase` = 'recovery_summary_report';
UPDATE `language` SET `english` = 'Recovery Summary Report Datewise'
WHERE `phrase` = 'recovery_summary_report_datewise';
UPDATE `language` SET `english` = 'Remaining'
WHERE `phrase` = 'remaining';
UPDATE `user` SET `last_logout` = '2018-06-06 11:28:45'
WHERE `id` = '2';
UPDATE `user` SET `last_login` = '2018-06-06 11:29:23', `ip_address` = '::1'
WHERE `id` = '9';
UPDATE `user` SET `last_logout` = '2018-06-06 11:36:58'
WHERE `id` = '9';
UPDATE `user` SET `last_logout` = '2018-06-06 11:36:58'
WHERE `id` = '9';
UPDATE `user` SET `last_login` = '2018-06-06 11:37:41', `ip_address` = '::1'
WHERE `id` = '8';
UPDATE `user` SET `last_logout` = '2018-06-06 11:47:06'
WHERE `id` = '8';
UPDATE `user` SET `last_login` = '2018-06-06 11:47:13', `ip_address` = '::1'
WHERE `id` = '2';
UPDATE `user` SET `last_login` = '2018-06-07 05:29:50', `ip_address` = '::1'
WHERE `id` = '2';
INSERT INTO `purchase_receive` (`receive_id`, `store_id`, `voucher_no`, `receive_date`) VALUES ('20180607054614', '2', 1005, '2018-06-07 05:46:14');
INSERT INTO `purchase_receive` (`receive_id`, `store_id`, `voucher_no`, `receive_date`) VALUES ('201806070514', '2', 1005, '2018-06-07 05:46:14');
INSERT INTO `purchase_receive_details` (`receive_id`, `product_id`, `receive_qty`) VALUES ('20180607054614', '8', '3');
INSERT INTO `purchase_receive_details` (`receive_id`, `product_id`, `receive_qty`) VALUES ('201806070514', '8', -3);
INSERT INTO `purchase_receive_details` (`receive_id`, `product_id`, `receive_qty`) VALUES ('20180607054614', '10', '3');
INSERT INTO `purchase_receive_details` (`receive_id`, `product_id`, `receive_qty`) VALUES ('201806070514', '10', -3);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('stockmovement ', 'create', 'receive_id-', '2', '2018-06-07 05:46:14');
INSERT INTO `purchase_receive` (`receive_id`, `store_id`, `voucher_no`, `receive_date`) VALUES ('20180607055159', '2', 1006, '2018-06-07 05:51:59');
INSERT INTO `purchase_receive` (`receive_id`, `store_id`, `voucher_no`, `receive_date`) VALUES ('201806070559', '2', 1006, '2018-06-07 05:51:59');
INSERT INTO `purchase_receive_details` (`receive_id`, `product_id`, `receive_qty`) VALUES ('20180607055159', '8', '3');
INSERT INTO `purchase_receive_details` (`receive_id`, `product_id`, `receive_qty`) VALUES ('201806070559', '8', -3);
INSERT INTO `purchase_receive_details` (`receive_id`, `product_id`, `receive_qty`) VALUES ('20180607055159', '10', '3');
INSERT INTO `purchase_receive_details` (`receive_id`, `product_id`, `receive_qty`) VALUES ('201806070559', '10', -3);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('stockmovement ', 'create', 'receive_id-', '2', '2018-06-07 05:51:59');
INSERT INTO `purchase_receive` (`receive_id`, `store_id`, `voucher_no`, `receive_date`) VALUES ('20180607055249', '2', 1007, '2018-06-07 05:52:49');
INSERT INTO `purchase_receive` (`receive_id`, `store_id`, `voucher_no`, `receive_date`) VALUES ('201806070549', '2', 1007, '2018-06-07 05:52:49');
INSERT INTO `purchase_receive_details` (`receive_id`, `product_id`, `receive_qty`) VALUES ('20180607055249', '8', '3');
INSERT INTO `purchase_receive_details` (`receive_id`, `product_id`, `receive_qty`) VALUES ('201806070549', '8', -3);
INSERT INTO `purchase_receive_details` (`receive_id`, `product_id`, `receive_qty`) VALUES ('20180607055249', '10', '3');
INSERT INTO `purchase_receive_details` (`receive_id`, `product_id`, `receive_qty`) VALUES ('201806070549', '10', -3);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('stockmovement ', 'create', 'receive_id-', '2', '2018-06-07 05:52:49');
INSERT INTO `purchase_receive` (`receive_id`, `store_id`, `voucher_no`, `receive_date`) VALUES ('20180607055437', '2', 1008, '2018-06-07 05:54:37');
INSERT INTO `purchase_receive_details` (`receive_id`, `product_id`, `receive_qty`) VALUES ('20180607055437', '8', '3');
INSERT INTO `purchase_receive_details` (`receive_id`, `product_id`, `receive_qty`) VALUES ('201806070537', '8', -3);
INSERT INTO `purchase_receive_details` (`receive_id`, `product_id`, `receive_qty`) VALUES ('20180607055437', '10', '3');
INSERT INTO `purchase_receive_details` (`receive_id`, `product_id`, `receive_qty`) VALUES ('201806070537', '10', -3);
INSERT INTO `purchase_receive` (`receive_id`, `store_id`, `voucher_no`, `receive_date`) VALUES ('201806070537', '2', 1008, '2018-06-07 05:54:37');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('stockmovement ', 'create', 'receive_id-', '2', '2018-06-07 05:54:38');
INSERT INTO `purchase_receive` (`receive_id`, `store_id`, `voucher_no`, `receive_date`) VALUES ('20180607055526', '2', 1009, '2018-06-07 05:55:26');
INSERT INTO `purchase_receive_details` (`receive_id`, `product_id`, `receive_qty`) VALUES ('20180607055526', '8', '3');
INSERT INTO `purchase_receive_details` (`receive_id`, `product_id`, `receive_qty`) VALUES ('201806070526', '8', -3);
INSERT INTO `purchase_receive_details` (`receive_id`, `product_id`, `receive_qty`) VALUES ('20180607055526', '10', '3');
INSERT INTO `purchase_receive_details` (`receive_id`, `product_id`, `receive_qty`) VALUES ('201806070526', '10', -3);
INSERT INTO `purchase_receive` (`receive_id`, `store_id`, `voucher_no`, `receive_date`) VALUES ('201806070526', '2', 1010, '2018-06-07 05:55:26');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('stockmovement ', 'create', 'receive_id-', '2', '2018-06-07 05:55:26');
INSERT INTO `purchase_receive` (`receive_id`, `store_id`, `voucher_no`, `receive_date`) VALUES ('20180607060142', '2', 1011, '2018-06-07 06:01:42');
INSERT INTO `purchase_receive_details` (`receive_id`, `product_id`, `receive_qty`) VALUES ('20180607060142', '8', '3');
INSERT INTO `purchase_receive_details` (`receive_id`, `product_id`, `receive_qty`) VALUES ('201806070642', '8', -3);
INSERT INTO `purchase_receive_details` (`receive_id`, `product_id`, `receive_qty`) VALUES ('20180607060142', '10', '3');
INSERT INTO `purchase_receive_details` (`receive_id`, `product_id`, `receive_qty`) VALUES ('201806070642', '10', -3);
INSERT INTO `purchase_receive` (`receive_id`, `store_id`, `voucher_no`, `receive_date`) VALUES ('201806070642', '2', 1011, '2018-06-07 06:01:42');
UPDATE  SET `movement_id` = '7', `is_received` = 1
WHERE `movement_id` = '7';
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('stockmovement ', 'create', 'receive_id-', '2', '2018-06-07 06:01:42');
INSERT INTO `purchase_receive` (`receive_id`, `store_id`, `voucher_no`, `receive_date`) VALUES ('20180607060317', '2', 1012, '2018-06-07 06:03:17');
INSERT INTO `purchase_receive_details` (`receive_id`, `product_id`, `receive_qty`) VALUES ('20180607060317', '8', '3');
INSERT INTO `purchase_receive_details` (`receive_id`, `product_id`, `receive_qty`) VALUES ('201806070617', '8', -3);
INSERT INTO `purchase_receive_details` (`receive_id`, `product_id`, `receive_qty`) VALUES ('20180607060317', '10', '3');
INSERT INTO `purchase_receive_details` (`receive_id`, `product_id`, `receive_qty`) VALUES ('201806070617', '10', -3);
INSERT INTO `purchase_receive` (`receive_id`, `store_id`, `voucher_no`, `receive_date`) VALUES ('201806070617', '2', 1012, '2018-06-07 06:03:17');
UPDATE `stock_movement` SET `movement_id` = '7', `is_received` = 1
WHERE `movement_id` = '7';
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('stockmovement ', 'create', 'receive_id-', '2', '2018-06-07 06:03:17');
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
INSERT INTO `gurrantor` (`gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('gc-29', 'hhjdg', '5234', '2', 'fdgdfgdfgd', '', '45435', '', 1, '2', '2018-06-07 07:01:46');
INSERT INTO `gurrantor` (`gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('gc-30', 'fasdfds', '32345', '2', 'fgdfgdfg', '', '623432', '', 1, '2', '2018-06-07 07:01:46');
INSERT INTO `sales_parent` (`sale_id`, `invoice_no`, `customer_id`, `sale_type_id`, `store_id`, `salesman`, `sales_date`, `sales_time`, `gurrantor_1`, `gurrantor_2`, `advance_amnt`, `lease_id`, `inquiry_officer`, `remaining_amnt`, `installment_amnt`, `package_price`, `total_amnt`) VALUES ('20180607070231', '1004', '5', '3', '2', '2', '2018-06-07', '07:02:31', '44', '43', '166', '4', '14', '39.84', '39.84', '564.4', '415.00');
INSERT INTO `payment_collection` (`sale_id`, `invoice_no`, `customer_id`, `receive_amnt`, `due_amnt`, `receive_by`, `receive_date`) VALUES ('20180607070231', '1004', '5', '166', '398.40', '2', '2018-06-07');
INSERT INTO `customer_gurrantor_map` (`lease_id`, `customer_id`, `gurrantor_id`) VALUES ('4', '5', '44');
INSERT INTO `customer_gurrantor_map` (`lease_id`, `customer_id`, `gurrantor_id`) VALUES ('4', '5', '43');
INSERT INTO `sale_details` (`sale_id`, `product_id`, `qty`, `sell_price`, `sale_type_id`) VALUES ('20180607070231', '6', '4', '35', '3');
INSERT INTO `sale_details` (`sale_id`, `product_id`, `qty`, `sell_price`, `sale_type_id`) VALUES ('20180607070231', '7', '5', '55', '3');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Sales', 'create', 'invoice_no-1004 total amount-415.00', '2', '2018-06-07 07:02:31');
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
INSERT INTO `payment_collection` (`id`, `invoice_no`, `customer_id`, `receive_amnt`, `receive_date`, `receive_by`, `is_installment`) VALUES ('', '1004', '5', '10', '2018-06-07', '2', 1);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('recovery', 'create', 'payment ID :17', '2', '2018-06-07 07:03:16');
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
UPDATE `purchase_order` SET `po_no` = '20180520100119', `isapproved` = 1
WHERE `po_no` = '20180520100119';
UPDATE `purchase_order` SET `po_no` = '20180520100119', `isapproved` = 0
WHERE `po_no` = '20180520100119';
INSERT INTO `language` (`phrase`) VALUES ('overdue_analysis');
UPDATE `language` SET `english` = 'Order QTY'
WHERE `phrase` = 'order_qty';
UPDATE `language` SET `english` = 'Outgoing File'
WHERE `phrase` = 'outgoing_file';
UPDATE `language` SET `english` = 'Over Due Analysis'
WHERE `phrase` = 'overdue_analysis';
UPDATE `language` SET `english` = 'Overwrite'
WHERE `phrase` = 'overwrite';
UPDATE `language` SET `english` = 'Over Due Amount'
WHERE `phrase` = 'over_due_amount';
UPDATE `language` SET `english` = 'Package Amount'
WHERE `phrase` = 'package_amount';
UPDATE `language` SET `english` = 'Paid Amount'
WHERE `phrase` = 'paid_amount';
UPDATE `language` SET `english` = 'Package  Code'
WHERE `phrase` = 'pakage_code';
UPDATE `language` SET `english` = 'Package Name'
WHERE `phrase` = 'pakage_name';
UPDATE `language` SET `english` = 'Password'
WHERE `phrase` = 'password';
UPDATE `language` SET `english` = 'Receiving '
WHERE `phrase` = 'payment';
UPDATE `language` SET `english` = 'You Have No Permission'
WHERE `phrase` = 'permission_error';
UPDATE `language` SET `english` = 'Phone'
WHERE `phrase` = 'phone';
UPDATE `language` SET `english` = 'Please another Product Code!!!'
WHERE `phrase` = 'please_choose_another_p_code';
UPDATE `language` SET `english` = 'Please configure synchronizer settings'
WHERE `phrase` = 'please_configure_synchronizer_settings';
UPDATE `language` SET `english` = 'Please Contact With Admin'
WHERE `phrase` = 'please_contact_with_admin';
UPDATE `language` SET `english` = 'Please Try Again...'
WHERE `phrase` = 'please_try_again';
UPDATE `language` SET `english` = 'Please Wait...'
WHERE `phrase` = 'please_wait';
UPDATE `language` SET `english` = 'Preview'
WHERE `phrase` = 'preview';
UPDATE `language` SET `english` = 'Price'
WHERE `phrase` = 'price';
UPDATE `language` SET `english` = 'Product'
WHERE `phrase` = 'product';
UPDATE `language` SET `english` = 'Product Category'
WHERE `phrase` = 'product_category';
UPDATE `language` SET `english` = 'Product Code'
WHERE `phrase` = 'product_code';
UPDATE `language` SET `english` = 'Product Details'
WHERE `phrase` = 'product_details';
UPDATE `language` SET `english` = 'Product Info'
WHERE `phrase` = 'product_info';
INSERT INTO `gurrantor` (`gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('gc-31', 'fgdfg', '43234', '2', 'dfg', '', '435', '', 1, '2', '2018-06-07 08:19:21');
INSERT INTO `gurrantor` (`gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('gc-32', 'jgfsfdg', '76856', '2', 'dfgdfg', '', '3423', '', 1, '2', '2018-06-07 08:19:21');
INSERT INTO `sales_parent` (`sale_id`, `invoice_no`, `customer_id`, `sale_type_id`, `store_id`, `salesman`, `sales_date`, `sales_time`, `gurrantor_1`, `gurrantor_2`, `advance_amnt`, `lease_id`, `inquiry_officer`, `remaining_amnt`, `installment_amnt`, `package_price`, `total_amnt`) VALUES ('20180607082015', '1005', '4', '3', '2', '2', '2018-06-07', '08:20:15', '46', '45', '693', '2', '11', '1.74', '1.74', '706.93', '700.00');
INSERT INTO `payment_collection` (`sale_id`, `invoice_no`, `customer_id`, `receive_amnt`, `due_amnt`, `receive_by`, `receive_date`) VALUES ('20180607082015', '1005', '4', '693', '13.93', '2', '2018-06-07');
INSERT INTO `customer_gurrantor_map` (`lease_id`, `customer_id`, `gurrantor_id`) VALUES ('2', '4', '46');
INSERT INTO `customer_gurrantor_map` (`lease_id`, `customer_id`, `gurrantor_id`) VALUES ('2', '4', '45');
INSERT INTO `sale_details` (`sale_id`, `product_id`, `qty`, `sell_price`, `sale_type_id`) VALUES ('20180607082015', '6', '20', '35', '3');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Sales', 'create', 'invoice_no-1005 total amount-700.00', '2', '2018-06-07 08:20:15');
UPDATE `user` SET `last_login` = '2018-06-07 12:18:42', `ip_address` = '::1'
WHERE `id` = '2';
UPDATE `user` SET `last_login` = '2018-06-09 05:09:46', `ip_address` = '::1'
WHERE `id` = '2';
INSERT INTO `gurrantor` (`gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('gc-33', 'rewr', '65345', '2', 'dfgdfg', 'dsfgsd', '32134', 'gsdfg', 1, '2', '2018-06-09 08:34:18');
INSERT INTO `gurrantor` (`gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('gc-34', 'tydfgfds', '23523', '2', 'dfg', 'fgsdf', '5463423', 'sdfg', 1, '2', '2018-06-09 08:34:18');
INSERT INTO `sales_parent` (`sale_id`, `invoice_no`, `customer_id`, `sale_type_id`, `store_id`, `salesman`, `sales_date`, `sales_time`, `gurrantor_1`, `gurrantor_2`, `advance_amnt`, `lease_id`, `inquiry_officer`, `remaining_amnt`, `installment_amnt`, `package_price`, `total_amnt`) VALUES ('20180609083521', '1006', '4', '3', '2', '2', '2018-06-09', '08:35:21', '48', '47', '140', '4', '13', '33.60', '33.60', '476', '350.00');
INSERT INTO `payment_collection` (`sale_id`, `invoice_no`, `customer_id`, `receive_amnt`, `due_amnt`, `receive_by`, `receive_date`) VALUES ('20180609083521', '1006', '4', '140', '336.00', '2', '2018-06-09');
INSERT INTO `customer_gurrantor_map` (`lease_id`, `customer_id`, `gurrantor_id`) VALUES ('4', '4', '48');
INSERT INTO `customer_gurrantor_map` (`lease_id`, `customer_id`, `gurrantor_id`) VALUES ('4', '4', '47');
INSERT INTO `sale_details` (`sale_id`, `product_id`, `qty`, `sell_price`, `sale_type_id`) VALUES ('20180609083521', '6', '10', '35', '3');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Sales', 'create', 'invoice_no-1006 total amount-350.00', '2', '2018-06-09 08:35:21');
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
INSERT INTO `payment_collection` (`id`, `invoice_no`, `customer_id`, `receive_amnt`, `receive_date`, `receive_by`, `is_installment`) VALUES ('', '1006', '4', '10', '2018-06-09', '2', 1);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('recovery', 'create', 'payment ID :20', '2', '2018-06-09 08:46:55');
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
INSERT INTO `gurrantor` (`gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('gc-35', 'lfd', '23412', '2', 'dfgsd', 'fdgsdf', '57432', 'dsfgsdf', 1, '2', '2018-06-09 10:08:01');
INSERT INTO `gurrantor` (`gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('gc-36', 'sdfu', '34234', '2', 'fgdsfg', 'gdsfg', '6783', 'gsdfg', 1, '2', '2018-06-09 10:08:01');
INSERT INTO `sales_parent` (`sale_id`, `invoice_no`, `customer_id`, `sale_type_id`, `store_id`, `salesman`, `sales_date`, `sales_time`, `gurrantor_1`, `gurrantor_2`, `advance_amnt`, `lease_id`, `inquiry_officer`, `remaining_amnt`, `installment_amnt`, `package_price`, `total_amnt`) VALUES ('20180609100840', '1007', '4', '3', '2', '2', '2018-06-09', '10:08:40', '50', '49', '172', '4', '9', '41.28', '41.28', '584.8', '430.00');
INSERT INTO `payment_collection` (`sale_id`, `invoice_no`, `customer_id`, `receive_amnt`, `due_amnt`, `receive_by`, `receive_date`) VALUES ('20180609100840', '1007', '4', '172', '412.80', '2', '2018-06-09');
INSERT INTO `customer_gurrantor_map` (`lease_id`, `customer_id`, `gurrantor_id`) VALUES ('4', '4', '50');
INSERT INTO `customer_gurrantor_map` (`lease_id`, `customer_id`, `gurrantor_id`) VALUES ('4', '4', '49');
INSERT INTO `sale_details` (`sale_id`, `product_id`, `qty`, `sell_price`, `sale_type_id`) VALUES ('20180609100840', '6', '6', '35', '3');
INSERT INTO `sale_details` (`sale_id`, `product_id`, `qty`, `sell_price`, `sale_type_id`) VALUES ('20180609100840', '7', '4', '55', '3');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Sales', 'create', 'invoice_no-1007 total amount-430.00', '2', '2018-06-09 10:08:40');
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
INSERT INTO `payment_collection` (`id`, `invoice_no`, `customer_id`, `receive_amnt`, `receive_date`, `receive_by`, `is_installment`) VALUES ('', '1007', '4', '30', '2018-06-09', '2', 1);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('recovery', 'create', 'payment ID :22', '2', '2018-06-09 10:09:10');
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
INSERT INTO `payment_collection` (`id`, `invoice_no`, `customer_id`, `receive_amnt`, `receive_date`, `receive_by`, `is_installment`) VALUES ('', '1005', '4', '1.75', '2018-06-09', '2', 1);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('recovery', 'create', 'payment ID :23', '2', '2018-06-09 10:53:20');
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
UPDATE `user` SET `last_login` = '2018-06-10 05:11:53', `ip_address` = '::1'
WHERE `id` = '2';
UPDATE `user` SET `last_login` = '2018-06-11 05:16:41', `ip_address` = '::1'
WHERE `id` = '2';
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
INSERT INTO `language` (`phrase`) VALUES ('gurrantor');
UPDATE `language` SET `english` = 'First Name'
WHERE `phrase` = 'firstname';
UPDATE `language` SET `english` = 'Footer Text'
WHERE `phrase` = 'footer_text';
UPDATE `language` SET `english` = 'For Store'
WHERE `phrase` = 'for_store';
UPDATE `language` SET `english` = 'From Store'
WHERE `phrase` = 'from_store';
UPDATE `language` SET `english` = 'FTP Debug'
WHERE `phrase` = 'ftp_debug';
UPDATE `language` SET `english` = 'FTP Port'
WHERE `phrase` = 'ftp_port';
UPDATE `language` SET `english` = 'Data Synchronize [FTP Setting]'
WHERE `phrase` = 'ftp_setting';
UPDATE `language` SET `english` = 'Grand Total'
WHERE `phrase` = 'grand_total';
UPDATE `language` SET `english` = 'Gurrantor'
WHERE `phrase` = 'gurrantor';
UPDATE `language` SET `english` = 'Gurrantor Address'
WHERE `phrase` = 'gurrantor_address';
UPDATE `language` SET `english` = 'Gurrantor  CNIC'
WHERE `phrase` = 'gurrantor_cnic';
UPDATE `language` SET `english` = 'Gurrantor  Code'
WHERE `phrase` = 'gurrantor_code';
UPDATE `language` SET `english` = 'Gurrantor  Name'
WHERE `phrase` = 'gurrantor_name';
UPDATE `language` SET `english` = 'Gurrantor  Phone'
WHERE `phrase` = 'gurrantor_phone';
UPDATE `language` SET `english` = 'Home'
WHERE `phrase` = 'home';
UPDATE `language` SET `english` = 'Host Name'
WHERE `phrase` = 'hostname';
UPDATE `language` SET `english` = 'Image'
WHERE `phrase` = 'image';
UPDATE `language` SET `english` = 'Image Upload Successfully!'
WHERE `phrase` = 'image_upload_successfully';
UPDATE `language` SET `english` = 'In A'
WHERE `phrase` = 'in';
UPDATE `language` SET `english` = 'Inactive'
WHERE `phrase` = 'inactive';
UPDATE `language` SET `english` = 'Inbox'
WHERE `phrase` = 'inbox';
UPDATE `language` SET `english` = 'Inbox Messages'
WHERE `phrase` = 'inbox_message';
UPDATE `language` SET `english` = 'Incoming File'
WHERE `phrase` = 'incoming_file';
UPDATE `language` SET `english` = 'Incorrect Email/Password'
WHERE `phrase` = 'incorrect_email_or_password';
UPDATE `language` SET `english` = 'Inquiry Officer'
WHERE `phrase` = 'inquiry_officer';
INSERT INTO `language` (`phrase`) VALUES ('g_contact');
UPDATE `language` SET `english` = 'First Name'
WHERE `phrase` = 'firstname';
UPDATE `language` SET `english` = 'Footer Text'
WHERE `phrase` = 'footer_text';
UPDATE `language` SET `english` = 'For Store'
WHERE `phrase` = 'for_store';
UPDATE `language` SET `english` = 'From Store'
WHERE `phrase` = 'from_store';
UPDATE `language` SET `english` = 'FTP Debug'
WHERE `phrase` = 'ftp_debug';
UPDATE `language` SET `english` = 'FTP Port'
WHERE `phrase` = 'ftp_port';
UPDATE `language` SET `english` = 'Data Synchronize [FTP Setting]'
WHERE `phrase` = 'ftp_setting';
UPDATE `language` SET `english` = 'Grand Total'
WHERE `phrase` = 'grand_total';
UPDATE `language` SET `english` = 'Gurrantor'
WHERE `phrase` = 'gurrantor';
UPDATE `language` SET `english` = 'Gurrantor Address'
WHERE `phrase` = 'gurrantor_address';
UPDATE `language` SET `english` = 'Gurrantor  CNIC'
WHERE `phrase` = 'gurrantor_cnic';
UPDATE `language` SET `english` = 'Gurrantor  Code'
WHERE `phrase` = 'gurrantor_code';
UPDATE `language` SET `english` = 'Gurrantor  Name'
WHERE `phrase` = 'gurrantor_name';
UPDATE `language` SET `english` = 'Gurrantor  Phone'
WHERE `phrase` = 'gurrantor_phone';
UPDATE `language` SET `english` = 'G Contact'
WHERE `phrase` = 'g_contact';
UPDATE `language` SET `english` = 'Home'
WHERE `phrase` = 'home';
UPDATE `language` SET `english` = 'Host Name'
WHERE `phrase` = 'hostname';
UPDATE `language` SET `english` = 'Image'
WHERE `phrase` = 'image';
UPDATE `language` SET `english` = 'Image Upload Successfully!'
WHERE `phrase` = 'image_upload_successfully';
UPDATE `language` SET `english` = 'In A'
WHERE `phrase` = 'in';
UPDATE `language` SET `english` = 'Inactive'
WHERE `phrase` = 'inactive';
UPDATE `language` SET `english` = 'Inbox'
WHERE `phrase` = 'inbox';
UPDATE `language` SET `english` = 'Inbox Messages'
WHERE `phrase` = 'inbox_message';
UPDATE `language` SET `english` = 'Incoming File'
WHERE `phrase` = 'incoming_file';
UPDATE `language` SET `english` = 'Incorrect Email/Password'
WHERE `phrase` = 'incorrect_email_or_password';
INSERT INTO `language` (`phrase`) VALUES ('install_no');
UPDATE `language` SET `english` = 'Inquiry Officer'
WHERE `phrase` = 'inquiry_officer';
UPDATE `language` SET `english` = 'Install'
WHERE `phrase` = 'install';
UPDATE `language` SET `english` = 'Installment Amount'
WHERE `phrase` = 'installment_amount';
UPDATE `language` SET `english` = 'Install No'
WHERE `phrase` = 'install_no';
UPDATE `language` SET `english` = 'Internet Connection'
WHERE `phrase` = 'internet_connection';
UPDATE `language` SET `english` = 'Invalid File!'
WHERE `phrase` = 'invalid_file';
UPDATE `language` SET `english` = 'Invalid Module'
WHERE `phrase` = 'invalid_module';
UPDATE `language` SET `english` = 'Invoice ID'
WHERE `phrase` = 'invoice_id';
UPDATE `language` SET `english` = 'Invoice No'
WHERE `phrase` = 'invoice_no';
UPDATE `language` SET `english` = 'IP Address'
WHERE `phrase` = 'ip_address';
UPDATE `language` SET `english` = 'Is Active'
WHERE `phrase` = 'isactive';
UPDATE `language` SET `english` = 'Issue By'
WHERE `phrase` = 'issue_by';
UPDATE `language` SET `english` = 'Issue Code'
WHERE `phrase` = 'issue_code';
UPDATE `language` SET `english` = 'Issue Date'
WHERE `phrase` = 'issue_date';
UPDATE `language` SET `english` = 'Language'
WHERE `phrase` = 'language';
UPDATE `language` SET `english` = 'Last Name'
WHERE `phrase` = 'lastname';
UPDATE `language` SET `english` = 'Last Login'
WHERE `phrase` = 'last_login';
UPDATE `language` SET `english` = 'Last Logout'
WHERE `phrase` = 'last_logout';
UPDATE `language` SET `english` = 'Lease'
WHERE `phrase` = 'lease';
UPDATE `language` SET `english` = 'Lease Package'
WHERE `phrase` = 'lease_package';
UPDATE `language` SET `english` = 'Lease Sale List'
WHERE `phrase` = 'lease_sale_list';
UPDATE `language` SET `english` = 'Left To Right'
WHERE `phrase` = 'left_to_right';
UPDATE `language` SET `english` = 'List'
WHERE `phrase` = 'list';
UPDATE `language` SET `english` = 'Store List'
WHERE `phrase` = 'list_store';
UPDATE `language` SET `english` = 'Warehouse list'
WHERE `phrase` = 'list_warehouse';
INSERT INTO `language` (`phrase`) VALUES ('lease_amount');
INSERT INTO `language` (`phrase`) VALUES ('installment_amnt');
INSERT INTO `language` (`phrase`) VALUES ('total_receive');
UPDATE `language` SET `english` = 'Inquiry Officer'
WHERE `phrase` = 'inquiry_officer';
UPDATE `language` SET `english` = 'Install'
WHERE `phrase` = 'install';
UPDATE `language` SET `english` = 'Installment Amount'
WHERE `phrase` = 'installment_amnt';
UPDATE `language` SET `english` = 'Installment Amount'
WHERE `phrase` = 'installment_amount';
UPDATE `language` SET `english` = 'Install No'
WHERE `phrase` = 'install_no';
UPDATE `language` SET `english` = 'Internet Connection'
WHERE `phrase` = 'internet_connection';
UPDATE `language` SET `english` = 'Invalid File!'
WHERE `phrase` = 'invalid_file';
UPDATE `language` SET `english` = 'Invalid Module'
WHERE `phrase` = 'invalid_module';
UPDATE `language` SET `english` = 'Invoice ID'
WHERE `phrase` = 'invoice_id';
UPDATE `language` SET `english` = 'Invoice No'
WHERE `phrase` = 'invoice_no';
UPDATE `language` SET `english` = 'IP Address'
WHERE `phrase` = 'ip_address';
UPDATE `language` SET `english` = 'Is Active'
WHERE `phrase` = 'isactive';
UPDATE `language` SET `english` = 'Issue By'
WHERE `phrase` = 'issue_by';
UPDATE `language` SET `english` = 'Issue Code'
WHERE `phrase` = 'issue_code';
UPDATE `language` SET `english` = 'Issue Date'
WHERE `phrase` = 'issue_date';
UPDATE `language` SET `english` = 'Language'
WHERE `phrase` = 'language';
UPDATE `language` SET `english` = 'Last Name'
WHERE `phrase` = 'lastname';
UPDATE `language` SET `english` = 'Last Login'
WHERE `phrase` = 'last_login';
UPDATE `language` SET `english` = 'Last Logout'
WHERE `phrase` = 'last_logout';
UPDATE `language` SET `english` = 'Lease'
WHERE `phrase` = 'lease';
UPDATE `language` SET `english` = 'Lease Amount'
WHERE `phrase` = 'lease_amount';
UPDATE `language` SET `english` = 'Lease Package'
WHERE `phrase` = 'lease_package';
UPDATE `language` SET `english` = 'Lease Sale List'
WHERE `phrase` = 'lease_sale_list';
UPDATE `language` SET `english` = 'Left To Right'
WHERE `phrase` = 'left_to_right';
UPDATE `language` SET `english` = 'List'
WHERE `phrase` = 'list';
UPDATE `language` SET `english` = 'Submit '
WHERE `phrase` = 'submit';
UPDATE `language` SET `english` = 'Submit and Another'
WHERE `phrase` = 'submit_and_add_another';
UPDATE `language` SET `english` = 'Successfully Approved'
WHERE `phrase` = 'successfully_approved';
UPDATE `language` SET `english` = 'Super Admin'
WHERE `phrase` = 'super_admin';
UPDATE `language` SET `english` = 'Supplier'
WHERE `phrase` = 'supplier';
UPDATE `language` SET `english` = 'Supplier Code'
WHERE `phrase` = 'supplier_code';
UPDATE `language` SET `english` = 'Supplier Name'
WHERE `phrase` = 'supplier_name';
UPDATE `language` SET `english` = 'Surplus'
WHERE `phrase` = 'surplus';
UPDATE `language` SET `english` = 'Synchronize'
WHERE `phrase` = 'synchronize';
UPDATE `language` SET `english` = 'Tables are not available in database.sql'
WHERE `phrase` = 'tables_are_not_available_in_database';
UPDATE `language` SET `english` = 'Target'
WHERE `phrase` = 'target';
UPDATE `language` SET `english` = 'To'
WHERE `phrase` = 'to';
UPDATE `language` SET `english` = 'Total'
WHERE `phrase` = 'total';
UPDATE `language` SET `english` = 'Total Amount'
WHERE `phrase` = 'total_amount';
UPDATE `language` SET `english` = 'Total Receive'
WHERE `phrase` = 'total_receive';
UPDATE `language` SET `english` = 'U/M'
WHERE `phrase` = 'um';
UPDATE `language` SET `english` = 'Unable to download file! please check configuration'
WHERE `phrase` = 'unable_to_download_file_please_check_configuration';
UPDATE `language` SET `english` = 'Unable to import data! please check configuration / SQL file.'
WHERE `phrase` = 'unable_to_import_data_please_check_config_or_sql_file';
UPDATE `language` SET `english` = 'Unable to upload file! please check configuration'
WHERE `phrase` = 'unable_to_upload_file_please_check_configuration';
UPDATE `language` SET `english` = 'Uninstall'
WHERE `phrase` = 'uninstall';
UPDATE `language` SET `english` = 'Unit of Measurement'
WHERE `phrase` = 'unit';
UPDATE `language` SET `english` = 'Unit List'
WHERE `phrase` = 'unit_list';
UPDATE `language` SET `english` = 'Unit Name'
WHERE `phrase` = 'unit_name';
UPDATE `language` SET `english` = 'Update'
WHERE `phrase` = 'update';
UPDATE `language` SET `english` = 'Lease Update'
WHERE `phrase` = 'update_lease';
INSERT INTO `language` (`phrase`) VALUES ('branch_wise_ov_du_analisis');
UPDATE `language` SET `english` = 'Advance amount'
WHERE `phrase` = 'advance_amount';
UPDATE `language` SET `english` = 'Amount'
WHERE `phrase` = 'amount';
UPDATE `language` SET `english` = 'Amount Wise Achievement'
WHERE `phrase` = 'amount_wise_achivement';
UPDATE `language` SET `english` = 'Application Setting'
WHERE `phrase` = 'application_setting';
UPDATE `language` SET `english` = 'Application Title'
WHERE `phrase` = 'application_title';
UPDATE `language` SET `english` = 'Approve'
WHERE `phrase` = 'approved';
UPDATE `language` SET `english` = 'Are You Sure ? '
WHERE `phrase` = 'are_you_sure';
UPDATE `language` SET `english` = 'Assign Role'
WHERE `phrase` = 'assign_role';
UPDATE `language` SET `english` = 'Available'
WHERE `phrase` = 'available';
UPDATE `language` SET `english` = 'Backup and Restore'
WHERE `phrase` = 'backup_and_restore';
UPDATE `language` SET `english` = 'Backup Date'
WHERE `phrase` = 'backup_date';
UPDATE `language` SET `english` = 'Backup Now!'
WHERE `phrase` = 'backup_now';
UPDATE `language` SET `english` = 'Backup Successfully'
WHERE `phrase` = 'backup_successfully';
UPDATE `language` SET `english` = 'Block Price'
WHERE `phrase` = 'block_price';
UPDATE `language` SET `english` = 'BL Price'
WHERE `phrase` = 'bl_price';
UPDATE `language` SET `english` = 'Branches'
WHERE `phrase` = 'branches';
UPDATE `language` SET `english` = 'Branch Wise Due Analysis'
WHERE `phrase` = 'branch_wise_ov_du_analisis';
UPDATE `language` SET `english` = 'Brand'
WHERE `phrase` = 'brand';
UPDATE `language` SET `english` = 'Brand List'
WHERE `phrase` = 'brand_list';
UPDATE `language` SET `english` = 'Brand Name'
WHERE `phrase` = 'brand_name';
UPDATE `language` SET `english` = 'Business Address'
WHERE `phrase` = 'business_address';
UPDATE `language` SET `english` = 'Captcha Word'
WHERE `phrase` = 'captcha';
UPDATE `language` SET `english` = 'NID'
WHERE `phrase` = 'cardno';
UPDATE `language` SET `english` = 'Cash'
WHERE `phrase` = 'cash';
UPDATE `language` SET `english` = 'Cash Sale'
WHERE `phrase` = 'cashsale';
INSERT INTO `language` (`phrase`) VALUES ('over_due');
UPDATE `language` SET `english` = 'Not Available'
WHERE `phrase` = 'not_available';
UPDATE `language` SET `english` = 'No tables are registerd in config.php'
WHERE `phrase` = 'no_tables_are_registered_in_config';
UPDATE `language` SET `english` = 'Ok'
WHERE `phrase` = 'ok';
UPDATE `language` SET `english` = ' Ooops something went wrong...'
WHERE `phrase` = 'ooops_something_went_wrong';
UPDATE `language` SET `english` = 'Order Date'
WHERE `phrase` = 'order_date';
UPDATE `language` SET `english` = 'Order NO'
WHERE `phrase` = 'order_no';
UPDATE `language` SET `english` = 'Order QTY'
WHERE `phrase` = 'order_qty';
UPDATE `language` SET `english` = 'Outgoing File'
WHERE `phrase` = 'outgoing_file';
UPDATE `language` SET `english` = 'Over Due Analysis'
WHERE `phrase` = 'overdue_analysis';
UPDATE `language` SET `english` = 'Overwrite'
WHERE `phrase` = 'overwrite';
UPDATE `language` SET `english` = 'Over Due'
WHERE `phrase` = 'over_due';
UPDATE `language` SET `english` = 'Over Due Amount'
WHERE `phrase` = 'over_due_amount';
UPDATE `language` SET `english` = 'Package Amount'
WHERE `phrase` = 'package_amount';
UPDATE `language` SET `english` = 'Paid Amount'
WHERE `phrase` = 'paid_amount';
UPDATE `language` SET `english` = 'Package  Code'
WHERE `phrase` = 'pakage_code';
UPDATE `language` SET `english` = 'Package Name'
WHERE `phrase` = 'pakage_name';
UPDATE `language` SET `english` = 'Password'
WHERE `phrase` = 'password';
UPDATE `language` SET `english` = 'Receiving '
WHERE `phrase` = 'payment';
UPDATE `language` SET `english` = 'You Have No Permission'
WHERE `phrase` = 'permission_error';
UPDATE `language` SET `english` = 'Phone'
WHERE `phrase` = 'phone';
UPDATE `language` SET `english` = 'Please another Product Code!!!'
WHERE `phrase` = 'please_choose_another_p_code';
UPDATE `language` SET `english` = 'Please configure synchronizer settings'
WHERE `phrase` = 'please_configure_synchronizer_settings';
UPDATE `language` SET `english` = 'Please Contact With Admin'
WHERE `phrase` = 'please_contact_with_admin';
UPDATE `language` SET `english` = 'Please Try Again...'
WHERE `phrase` = 'please_try_again';
UPDATE `language` SET `english` = 'Please Wait...'
WHERE `phrase` = 'please_wait';
INSERT INTO `language` (`phrase`) VALUES ('days');
UPDATE `language` SET `english` = 'Data Synchronizer'
WHERE `phrase` = 'data_synchronizer';
UPDATE `language` SET `english` = 'Data Upload to Server'
WHERE `phrase` = 'data_upload_to_server';
UPDATE `language` SET `english` = 'Date'
WHERE `phrase` = 'date';
UPDATE `language` SET `english` = 'Days'
WHERE `phrase` = 'days';
UPDATE `language` SET `english` = 'Deficit'
WHERE `phrase` = 'deficit';
UPDATE `language` SET `english` = 'Delete'
WHERE `phrase` = 'delete';
UPDATE `language` SET `english` = 'Delete Successfully!'
WHERE `phrase` = 'delete_successfully';
UPDATE `language` SET `english` = 'Delete Successfully!'
WHERE `phrase` = 'delete_successfully';
UPDATE `language` SET `english` = 'Department'
WHERE `phrase` = 'department';
UPDATE `language` SET `english` = 'Description'
WHERE `phrase` = 'description';
UPDATE `language` SET `english` = 'Designation'
WHERE `phrase` = 'designation';
UPDATE `language` SET `english` = 'Module Direcotory'
WHERE `phrase` = 'directory';
UPDATE `language` SET `english` = 'Disapprove'
WHERE `phrase` = 'disapprove';
UPDATE `language` SET `english` = 'Download'
WHERE `phrase` = 'download';
UPDATE `language` SET `english` = 'Download Data from Server'
WHERE `phrase` = 'download_data_from_server';
UPDATE `language` SET `english` = 'Download Successfully'
WHERE `phrase` = 'download_successfully';
UPDATE `language` SET `english` = 'Due Amount'
WHERE `phrase` = 'due_amnt';
UPDATE `language` SET `english` = 'Duration'
WHERE `phrase` = 'duration';
UPDATE `language` SET `english` = 'Email Address'
WHERE `phrase` = 'email';
UPDATE `language` SET `english` = 'Employee'
WHERE `phrase` = 'employee';
UPDATE `language` SET `english` = 'Enquiry'
WHERE `phrase` = 'enquiry';
UPDATE `language` SET `english` = 'Enquiry Information'
WHERE `phrase` = 'enquiry_information';
UPDATE `language` SET `english` = 'Favicon'
WHERE `phrase` = 'favicon';
UPDATE `language` SET `english` = 'File Name'
WHERE `phrase` = 'filename';
UPDATE `language` SET `english` = 'File Information'
WHERE `phrase` = 'file_information';
INSERT INTO `language` (`phrase`) VALUES ('last_payment_date');
UPDATE `language` SET `english` = 'Incoming File'
WHERE `phrase` = 'incoming_file';
UPDATE `language` SET `english` = 'Incorrect Email/Password'
WHERE `phrase` = 'incorrect_email_or_password';
UPDATE `language` SET `english` = 'Inquiry Officer'
WHERE `phrase` = 'inquiry_officer';
UPDATE `language` SET `english` = 'Install'
WHERE `phrase` = 'install';
UPDATE `language` SET `english` = 'Installment Amount'
WHERE `phrase` = 'installment_amnt';
UPDATE `language` SET `english` = 'Installment Amount'
WHERE `phrase` = 'installment_amount';
UPDATE `language` SET `english` = 'Install No'
WHERE `phrase` = 'install_no';
UPDATE `language` SET `english` = 'Internet Connection'
WHERE `phrase` = 'internet_connection';
UPDATE `language` SET `english` = 'Invalid File!'
WHERE `phrase` = 'invalid_file';
UPDATE `language` SET `english` = 'Invalid Module'
WHERE `phrase` = 'invalid_module';
UPDATE `language` SET `english` = 'Invoice ID'
WHERE `phrase` = 'invoice_id';
UPDATE `language` SET `english` = 'Invoice No'
WHERE `phrase` = 'invoice_no';
UPDATE `language` SET `english` = 'IP Address'
WHERE `phrase` = 'ip_address';
UPDATE `language` SET `english` = 'Is Active'
WHERE `phrase` = 'isactive';
UPDATE `language` SET `english` = 'Issue By'
WHERE `phrase` = 'issue_by';
UPDATE `language` SET `english` = 'Issue Code'
WHERE `phrase` = 'issue_code';
UPDATE `language` SET `english` = 'Issue Date'
WHERE `phrase` = 'issue_date';
UPDATE `language` SET `english` = 'Language'
WHERE `phrase` = 'language';
UPDATE `language` SET `english` = 'Last Name'
WHERE `phrase` = 'lastname';
UPDATE `language` SET `english` = 'Last Login'
WHERE `phrase` = 'last_login';
UPDATE `language` SET `english` = 'Last Logout'
WHERE `phrase` = 'last_logout';
UPDATE `language` SET `english` = 'Last Payment Date'
WHERE `phrase` = 'last_payment_date';
UPDATE `language` SET `english` = 'Lease'
WHERE `phrase` = 'lease';
UPDATE `language` SET `english` = 'Lease Amount'
WHERE `phrase` = 'lease_amount';
UPDATE `language` SET `english` = 'Lease Package'
WHERE `phrase` = 'lease_package';
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
UPDATE `user` SET `last_login` = '2018-06-12 05:15:54', `ip_address` = '::1'
WHERE `id` = '2';
INSERT INTO `product` (`product_id`, `product_name`, `product_code`, `model`, `category`, `brand`, `unit`, `product_details`, `purchase_price`, `block_price`, `minimum_price`, `retail_price`, `createby`, `createdate`, `updateby`, `updatedate`, `isactive`) VALUES ('', 'Test-Second-Test Model', 'pro-4', 'Test Model', 'Test', 'Second', 'Test', 'sdfsdf', '0', '0', '0', '0', '2', '2018-06-12 07:45:21', '', '', 1);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Product', 'create', 'product ID :14', '2', '2018-06-12 07:45:21');
INSERT INTO `language` (`phrase`) VALUES ('location');
UPDATE `language` SET `english` = 'Lease Sale List'
WHERE `phrase` = 'lease_sale_list';
UPDATE `language` SET `english` = 'Left To Right'
WHERE `phrase` = 'left_to_right';
UPDATE `language` SET `english` = 'List'
WHERE `phrase` = 'list';
UPDATE `language` SET `english` = 'Store List'
WHERE `phrase` = 'list_store';
UPDATE `language` SET `english` = 'Warehouse list'
WHERE `phrase` = 'list_warehouse';
UPDATE `language` SET `english` = 'Location'
WHERE `phrase` = 'location';
UPDATE `language` SET `english` = 'Login'
WHERE `phrase` = 'login';
UPDATE `language` SET `english` = 'Logo'
WHERE `phrase` = 'logo';
UPDATE `language` SET `english` = 'Logout'
WHERE `phrase` = 'logout';
UPDATE `language` SET `english` = 'Markup'
WHERE `phrase` = 'markup';
UPDATE `language` SET `english` = 'Message'
WHERE `phrase` = 'message';
UPDATE `language` SET `english` = 'Message Details'
WHERE `phrase` = 'message_details';
UPDATE `language` SET `english` = 'Message Sent!'
WHERE `phrase` = 'message_sent';
UPDATE `language` SET `english` = 'Minimum Price'
WHERE `phrase` = 'minimum_price';
UPDATE `language` SET `english` = 'Min Price'
WHERE `phrase` = 'min_price';
UPDATE `language` SET `english` = 'Model'
WHERE `phrase` = 'model';
UPDATE `language` SET `english` = 'Model Name'
WHERE `phrase` = 'model_name';
UPDATE `language` SET `english` = 'Module'
WHERE `phrase` = 'module';
UPDATE `language` SET `english` = 'Module Added Successfully'
WHERE `phrase` = 'module_added_successfully';
UPDATE `language` SET `english` = 'Module List'
WHERE `phrase` = 'module_list';
UPDATE `language` SET `english` = 'Module Name'
WHERE `phrase` = 'module_name';
UPDATE `language` SET `english` = 'Module Permission'
WHERE `phrase` = 'module_permission';
UPDATE `language` SET `english` = 'Module Permission Added Successfully!'
WHERE `phrase` = 'module_permission_added_successfully';
UPDATE `language` SET `english` = 'Module Permission List'
WHERE `phrase` = 'module_permission_list';
UPDATE `language` SET `english` = 'Name'
WHERE `phrase` = 'name';
INSERT INTO `language` (`phrase`) VALUES ('discount');
UPDATE `language` SET `english` = 'Data Synchronizer'
WHERE `phrase` = 'data_synchronizer';
UPDATE `language` SET `english` = 'Data Upload to Server'
WHERE `phrase` = 'data_upload_to_server';
UPDATE `language` SET `english` = 'Date'
WHERE `phrase` = 'date';
UPDATE `language` SET `english` = 'Days'
WHERE `phrase` = 'days';
UPDATE `language` SET `english` = 'Deficit'
WHERE `phrase` = 'deficit';
UPDATE `language` SET `english` = 'Delete'
WHERE `phrase` = 'delete';
UPDATE `language` SET `english` = 'Delete Successfully!'
WHERE `phrase` = 'delete_successfully';
UPDATE `language` SET `english` = 'Delete Successfully!'
WHERE `phrase` = 'delete_successfully';
UPDATE `language` SET `english` = 'Department'
WHERE `phrase` = 'department';
UPDATE `language` SET `english` = 'Description'
WHERE `phrase` = 'description';
UPDATE `language` SET `english` = 'Designation'
WHERE `phrase` = 'designation';
UPDATE `language` SET `english` = 'Module Direcotory'
WHERE `phrase` = 'directory';
UPDATE `language` SET `english` = 'Disapprove'
WHERE `phrase` = 'disapprove';
UPDATE `language` SET `english` = 'Disc'
WHERE `phrase` = 'discount';
UPDATE `language` SET `english` = 'Download'
WHERE `phrase` = 'download';
UPDATE `language` SET `english` = 'Download Data from Server'
WHERE `phrase` = 'download_data_from_server';
UPDATE `language` SET `english` = 'Download Successfully'
WHERE `phrase` = 'download_successfully';
UPDATE `language` SET `english` = 'Due Amount'
WHERE `phrase` = 'due_amnt';
UPDATE `language` SET `english` = 'Duration'
WHERE `phrase` = 'duration';
UPDATE `language` SET `english` = 'Email Address'
WHERE `phrase` = 'email';
UPDATE `language` SET `english` = 'Employee'
WHERE `phrase` = 'employee';
UPDATE `language` SET `english` = 'Enquiry'
WHERE `phrase` = 'enquiry';
UPDATE `language` SET `english` = 'Enquiry Information'
WHERE `phrase` = 'enquiry_information';
UPDATE `language` SET `english` = 'Favicon'
WHERE `phrase` = 'favicon';
UPDATE `language` SET `english` = 'File Name'
WHERE `phrase` = 'filename';
INSERT INTO `purchase_order` (`po_no`, `supplier_id`, `total_amnt`, `store_id`, `warehouse_id`, `createby`, `createdate`) VALUES ('20180612103148', '2', '330.00', Array, 0, '2', '2018-06-12 10:31:48');
INSERT INTO `purchase_order` (`po_no`, `supplier_id`, `total_amnt`, `store_id`, `warehouse_id`, `createby`, `createdate`) VALUES ('20180612103148', '2', '330.00', Array, 0, '2', '2018-06-12 10:31:48');
INSERT INTO `purchase_order_details` (`row_id`, `po_no`, `product_id`, `order_qty`, `product_rate`, `discount`) VALUES ('239846289485788', '20180612103148', '6', '6', '25', '20');
INSERT INTO `purchase_order_details` (`row_id`, `po_no`, `product_id`, `order_qty`, `product_rate`, `discount`) VALUES ('191782865891232', '20180612103148', '7', '5', '45', '25');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('purchase order', 'create', 'Orde Id-20180612103148 total amount-330.00', '2', '2018-06-12 10:31:48');
INSERT INTO `purchase_order` (`po_no`, `supplier_id`, `total_amnt`, `store_id`, `warehouse_id`, `createby`, `createdate`) VALUES ('20180612103551', '2', '180.00', '3', 0, '2', '2018-06-12 10:35:51');
INSERT INTO `purchase_order` (`po_no`, `supplier_id`, `total_amnt`, `store_id`, `warehouse_id`, `createby`, `createdate`) VALUES ('20180612103551', '2', '180.00', '5', 0, '2', '2018-06-12 10:35:51');
INSERT INTO `purchase_order_details` (`row_id`, `po_no`, `product_id`, `order_qty`, `product_rate`, `discount`) VALUES ('379939572574169', '20180612103551', '6', '2', '25', '');
INSERT INTO `purchase_order_details` (`row_id`, `po_no`, `product_id`, `order_qty`, `product_rate`, `discount`) VALUES ('582913794657961', '20180612103551', '7', '3', '45', '5');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('purchase order', 'create', 'Orde Id-20180612103551 total amount-180.00', '2', '2018-06-12 10:35:51');
INSERT INTO `purchase_order` (`po_no`, `supplier_id`, `total_amnt`, `store_id`, `warehouse_id`, `createby`, `createdate`) VALUES ('20180612103748', '2', '225.00', '2', 0, '2', '2018-06-12 10:37:48');
INSERT INTO `purchase_order` (`po_no`, `supplier_id`, `total_amnt`, `store_id`, `warehouse_id`, `createby`, `createdate`) VALUES ('20180612103748', '2', '225.00', '5', 0, '2', '2018-06-12 10:37:48');
INSERT INTO `purchase_order_details` (`row_id`, `po_no`, `product_id`, `order_qty`, `product_rate`, `discount`) VALUES ('786782978448368', '20180612103748', '6', '3', '25', '10');
INSERT INTO `purchase_order_details` (`row_id`, `po_no`, `product_id`, `order_qty`, `product_rate`, `discount`) VALUES ('462566891118584', '20180612103748', '7', '4', '45', '20');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('purchase order', 'create', 'Orde Id-20180612103748 total amount-225.00', '2', '2018-06-12 10:37:48');
UPDATE `purchase_order` SET `po_no` = '20180612103748', `isapproved` = 1
WHERE `po_no` = '20180612103748';
UPDATE `purchase_order` SET `po_no` = '20180612103748', `isapproved` = 0
WHERE `po_no` = '20180612103748';
INSERT INTO `purchase_order` (`po_no`, `supplier_id`, `total_amnt`, `store_id`, `warehouse_id`, `createby`, `createdate`, `isapproved`) VALUES ('20180612104319', '2', '160.00', '2', 0, '2', '2018-06-12 10:43:19', 0);
INSERT INTO `purchase_order` (`po_no`, `supplier_id`, `total_amnt`, `store_id`, `warehouse_id`, `createby`, `createdate`, `isapproved`) VALUES ('20180612104319', '2', '160.00', '4', 0, '2', '2018-06-12 10:43:19', 0);
INSERT INTO `purchase_order_details` (`row_id`, `po_no`, `product_id`, `order_qty`, `product_rate`, `discount`) VALUES ('724284392333716', '20180612104319', '6', '3', '25', '5');
INSERT INTO `purchase_order_details` (`row_id`, `po_no`, `product_id`, `order_qty`, `product_rate`, `discount`) VALUES ('819838539866524', '20180612104319', '7', '2', '45', '');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('purchase order', 'create', 'Orde Id-20180612104319 total amount-160.00', '2', '2018-06-12 10:43:19');
INSERT INTO `purchase_order` (`po_no`, `supplier_id`, `total_amnt`, `store_id`, `warehouse_id`, `createby`, `createdate`, `isapproved`) VALUES ('20180612105558', '2', '300.00', '2', 0, '2', '2018-06-12 10:55:58', 0);
INSERT INTO `purchase_order` (`po_no`, `supplier_id`, `total_amnt`, `store_id`, `warehouse_id`, `createby`, `createdate`, `isapproved`) VALUES ('20180612105558', '2', '300.00', '5', 0, '2', '2018-06-12 10:55:58', 0);
INSERT INTO `purchase_order_details` (`row_id`, `po_no`, `product_id`, `order_qty`, `product_rate`, `discount`) VALUES ('262725725568883', '20180612105558', '6', '6', '25', '10');
INSERT INTO `purchase_order_details` (`row_id`, `po_no`, `product_id`, `order_qty`, `product_rate`, `discount`) VALUES ('678757431597387', '20180612105558', '7', '4', '45', '20');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('purchase order', 'create', 'Orde Id-20180612105558 total amount-300.00', '2', '2018-06-12 10:55:58');
DELETE FROM `purchase_order`
WHERE `po_no` = '0';
DELETE FROM `purchase_order_details`
WHERE `po_no` = '0';
INSERT INTO `purchase_order` (`po_no`, `supplier_id`, `total_amnt`, `store_id`, `warehouse_id`, `createby`, `createdate`, `isapproved`) VALUES ('20180612124820', '1', '619.00', Array, NULL, '2', '2018-06-12 12:48:20', 0);
INSERT INTO `purchase_order_details` (`row_id`, `po_no`, `product_id`, `order_qty`, `product_rate`, `discount`, `store_id`) VALUES ('585652212628589', '20180612124820', '6', '7', '25', '10', '5');
INSERT INTO `purchase_order_details` (`row_id`, `po_no`, `product_id`, `order_qty`, `product_rate`, `discount`, `store_id`) VALUES ('168284139243155', '20180612124820', '7', '5', '45', '12', '5');
INSERT INTO `purchase_order_details` (`row_id`, `po_no`, `product_id`, `order_qty`, `product_rate`, `discount`, `store_id`) VALUES ('191422256478695', '20180612124820', '6', '3', '25', '5', '2');
INSERT INTO `purchase_order_details` (`row_id`, `po_no`, `product_id`, `order_qty`, `product_rate`, `discount`, `store_id`) VALUES ('967497215835626', '20180612124820', '7', '4', '45', '9', '2');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('purchase order', 'create', 'Orde Id-20180612124820 total amount-619.00', '2', '2018-06-12 12:48:21');
UPDATE `user` SET `last_login` = '2018-06-23 05:50:34', `ip_address` = '::1'
WHERE `id` = '2';
INSERT INTO `sales_parent` (`sale_id`, `invoice_no`, `customer_id`, `sale_type_id`, `store_id`, `salesman`, `sales_date`, `sales_time`, `gurrantor_1`, `gurrantor_2`, `advance_amnt`, `lease_id`, `inquiry_officer`, `remaining_amnt`, `installment_amnt`, `package_price`, `total_amnt`) VALUES ('20180623075123', '1008', '1', '1', '2', '2', '2018-06-23', '07:51:23', NULL, NULL, '', NULL, NULL, 0, 0, 0, '105.00');
INSERT INTO `payment_collection` (`sale_id`, `invoice_no`, `customer_id`, `receive_amnt`, `due_amnt`, `receive_by`, `receive_date`) VALUES ('20180623075123', '1008', '1', '105.00', NULL, '2', '2018-06-23');
INSERT INTO `sale_details` (`sale_id`, `product_id`, `qty`, `sell_price`, `sale_type_id`) VALUES ('20180623075123', '6', '3', '35', '1');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Sales', 'create', 'invoice_no-1008 total amount-105.00', '2', '2018-06-23 07:51:23');
INSERT INTO `sales_parent` (`sale_id`, `invoice_no`, `customer_id`, `sale_type_id`, `store_id`, `salesman`, `sales_date`, `sales_time`, `gurrantor_1`, `gurrantor_2`, `advance_amnt`, `lease_id`, `inquiry_officer`, `remaining_amnt`, `installment_amnt`, `package_price`, `total_amnt`) VALUES ('20180623075145', '1009', '4', '2', '2', '2', '2018-06-23', '07:51:45', NULL, NULL, '75', NULL, NULL, 0, 0, 0, '105.00');
INSERT INTO `payment_collection` (`sale_id`, `invoice_no`, `customer_id`, `receive_amnt`, `due_amnt`, `receive_by`, `receive_date`) VALUES ('20180623075145', '1009', '4', '75', '30.00', '2', '2018-06-23');
INSERT INTO `sale_details` (`sale_id`, `product_id`, `qty`, `sell_price`, `sale_type_id`) VALUES ('20180623075145', '6', '3', '35', '2');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Sales', 'create', 'invoice_no-1009 total amount-105.00', '2', '2018-06-23 07:51:45');
INSERT INTO `language` (`phrase`) VALUES ('creditsale');
INSERT INTO `language` (`phrase`) VALUES ('leasesale');
UPDATE `language` SET `english` = 'Cash Sale List'
WHERE `phrase` = 'cash_sale_list';
UPDATE `language` SET `english` = 'Category'
WHERE `phrase` = 'category';
UPDATE `language` SET `english` = 'Category List'
WHERE `phrase` = 'category_list';
UPDATE `language` SET `english` = 'Category Name'
WHERE `phrase` = 'category_name';
UPDATE `language` SET `english` = 'Checked By'
WHERE `phrase` = 'checked_by';
UPDATE `language` SET `english` = 'Check_receive'
WHERE `phrase` = 'check_receive';
UPDATE `language` SET `english` = 'CNIC'
WHERE `phrase` = 'cnic';
UPDATE `language` SET `english` = 'Code'
WHERE `phrase` = 'code';
UPDATE `language` SET `english` = 'Contact No'
WHERE `phrase` = 'contact';
UPDATE `language` SET `english` = 'Create'
WHERE `phrase` = 'create';
UPDATE `language` SET `english` = 'Create User Role'
WHERE `phrase` = 'create_user_role';
UPDATE `language` SET `english` = 'Credit'
WHERE `phrase` = 'credit';
UPDATE `language` SET `english` = 'Credit Sale'
WHERE `phrase` = 'creditsale';
UPDATE `language` SET `english` = 'Credit Receive'
WHERE `phrase` = 'credit_receive';
UPDATE `language` SET `english` = 'Credit Sale List'
WHERE `phrase` = 'credit_sale_list';
UPDATE `language` SET `english` = 'Customer'
WHERE `phrase` = 'customer';
UPDATE `language` SET `english` = 'Customer CNC'
WHERE `phrase` = 'customer_cnic';
UPDATE `language` SET `english` = 'Customer Code'
WHERE `phrase` = 'customer_code';
UPDATE `language` SET `english` = 'Customer Name'
WHERE `phrase` = 'customer_name';
UPDATE `language` SET `english` = 'Customer Type'
WHERE `phrase` = 'customer_type';
UPDATE `language` SET `english` = 'Dashboard'
WHERE `phrase` = 'dashboard';
UPDATE `language` SET `english` = 'Database Backup'
WHERE `phrase` = 'database_backup';
UPDATE `language` SET `english` = 'Data Import First'
WHERE `phrase` = 'data_import_first';
UPDATE `language` SET `english` = 'Data Import Successfully!'
WHERE `phrase` = 'data_import_successfully';
UPDATE `language` SET `english` = 'Data Import To Database'
WHERE `phrase` = 'data_import_to_database';
UPDATE `language` SET `english` = 'Lease Sale'
WHERE `phrase` = 'leasesale';
UPDATE `language` SET `english` = 'Lease Amount'
WHERE `phrase` = 'lease_amount';
UPDATE `language` SET `english` = 'Lease Package'
WHERE `phrase` = 'lease_package';
UPDATE `language` SET `english` = 'Lease Sale List'
WHERE `phrase` = 'lease_sale_list';
UPDATE `language` SET `english` = 'Left To Right'
WHERE `phrase` = 'left_to_right';
UPDATE `language` SET `english` = 'List'
WHERE `phrase` = 'list';
UPDATE `language` SET `english` = 'Store List'
WHERE `phrase` = 'list_store';
UPDATE `language` SET `english` = 'Warehouse list'
WHERE `phrase` = 'list_warehouse';
UPDATE `language` SET `english` = 'Location'
WHERE `phrase` = 'location';
UPDATE `language` SET `english` = 'Login'
WHERE `phrase` = 'login';
UPDATE `language` SET `english` = 'Logo'
WHERE `phrase` = 'logo';
UPDATE `language` SET `english` = 'Logout'
WHERE `phrase` = 'logout';
UPDATE `language` SET `english` = 'Markup'
WHERE `phrase` = 'markup';
UPDATE `language` SET `english` = 'Message'
WHERE `phrase` = 'message';
UPDATE `language` SET `english` = 'Message Details'
WHERE `phrase` = 'message_details';
UPDATE `language` SET `english` = 'Message Sent!'
WHERE `phrase` = 'message_sent';
UPDATE `language` SET `english` = 'Minimum Price'
WHERE `phrase` = 'minimum_price';
UPDATE `language` SET `english` = 'Min Price'
WHERE `phrase` = 'min_price';
UPDATE `language` SET `english` = 'Model'
WHERE `phrase` = 'model';
UPDATE `language` SET `english` = 'Model Name'
WHERE `phrase` = 'model_name';
UPDATE `language` SET `english` = 'Module'
WHERE `phrase` = 'module';
UPDATE `language` SET `english` = 'Module Added Successfully'
WHERE `phrase` = 'module_added_successfully';
UPDATE `language` SET `english` = 'Module List'
WHERE `phrase` = 'module_list';
UPDATE `language` SET `english` = 'Module Name'
WHERE `phrase` = 'module_name';
UPDATE `language` SET `english` = 'Module Permission'
WHERE `phrase` = 'module_permission';
INSERT INTO `purchase_order` (`po_no`, `supplier_id`, `total_amnt`, `store_id`, `warehouse_id`, `createby`, `createdate`, `isapproved`) VALUES ('20180623084403', '2', '1040.00', 0, 0, '2', '2018-06-23 08:44:03', 0);
INSERT INTO `purchase_order_details` (`row_id`, `po_no`, `product_id`, `order_qty`, `product_rate`, `discount`, `store_id`) VALUES ('755983945455529', '20180623084403', '6', '20', '25', '20', '5');
INSERT INTO `purchase_order_details` (`row_id`, `po_no`, `product_id`, `order_qty`, `product_rate`, `discount`, `store_id`) VALUES ('188578811872511', '20180623084403', '7', '10', '45', '30', '5');
INSERT INTO `purchase_order_details` (`row_id`, `po_no`, `product_id`, `order_qty`, `product_rate`, `discount`, `store_id`) VALUES ('595763132173247', '20180623084403', '13', '30', '5', '10', '2');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('purchase order', 'create', 'Orde Id-20180623084403 total amount-1040.00', '2', '2018-06-23 08:44:03');
UPDATE `purchase_order` SET `po_no` = '20180623084403', `isapproved` = 1
WHERE `po_no` = '20180623084403';
UPDATE `purchase_order` SET `po_no` = '20180623084403', `isapproved` = 0
WHERE `po_no` = '20180623084403';
UPDATE `purchase_order` SET `po_no` = '20180623084403', `isapproved` = 1
WHERE `po_no` = '20180623084403';
DELETE FROM `purchase_receive`
WHERE `receive_id` = '201806070617';
DELETE FROM `purchase_receive_details`
WHERE `receive_id` = '201806070617';
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('purchase Receive', 'delete', 'Receive Id-201806070617', '2', '2018-06-23 10:39:08');
DELETE FROM `purchase_receive`
WHERE `receive_id` = '20180607060317';
DELETE FROM `purchase_receive_details`
WHERE `receive_id` = '20180607060317';
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('purchase Receive', 'delete', 'Receive Id-20180607060317', '2', '2018-06-23 10:39:12');
INSERT INTO `purchase_receive` (`receive_id`, `po_no`, `supplier_id`, `store_id`, `warehouse_id`, `voucher_no`, `receive_by`, `receive_date`) VALUES ('20180623110710', '20180612105558', '2', '2', '', 1012, '2', '2018-06-23 11:07:10');
INSERT INTO `purchase_receive_details` (`receive_id`, `product_id`, `receive_qty`, `product_rate`) VALUES ('20180623110710', '6', '4', '25');
INSERT INTO `purchase_receive_details` (`receive_id`, `product_id`, `receive_qty`, `product_rate`) VALUES ('20180623110710', '7', '2', '45');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('purchase order receive', 'create', 'Orde Id- total amount-190.00', '2', '2018-06-23 11:07:10');
INSERT INTO `purchase_receive` (`receive_id`, `po_no`, `supplier_id`, `store_id`, `warehouse_id`, `voucher_no`, `receive_by`, `receive_date`) VALUES ('20180623110736', '20180623084403', '2', '4', '', 1013, '2', '2018-06-23 11:07:36');
INSERT INTO `purchase_receive_details` (`receive_id`, `product_id`, `receive_qty`, `product_rate`) VALUES ('20180623110736', '7', '4', '45');
INSERT INTO `purchase_receive_details` (`receive_id`, `product_id`, `receive_qty`, `product_rate`) VALUES ('20180623110736', '13', '6', '5');
INSERT INTO `purchase_receive_details` (`receive_id`, `product_id`, `receive_qty`, `product_rate`) VALUES ('20180623110736', '6', '7', '25');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('purchase order receive', 'create', 'Orde Id- total amount-385.00', '2', '2018-06-23 11:07:36');
INSERT INTO `language` (`phrase`) VALUES ('oreder_list');
UPDATE `language` SET `english` = 'Module Permission Added Successfully!'
WHERE `phrase` = 'module_permission_added_successfully';
UPDATE `language` SET `english` = 'Module Permission List'
WHERE `phrase` = 'module_permission_list';
UPDATE `language` SET `english` = 'Name'
WHERE `phrase` = 'name';
UPDATE `language` SET `english` = 'New'
WHERE `phrase` = 'new';
UPDATE `language` SET `english` = 'New Enquiry'
WHERE `phrase` = 'new_enquiry';
UPDATE `language` SET `english` = 'New Message'
WHERE `phrase` = 'new_message';
UPDATE `language` SET `english` = 'Not Available'
WHERE `phrase` = 'not_available';
UPDATE `language` SET `english` = 'No tables are registerd in config.php'
WHERE `phrase` = 'no_tables_are_registered_in_config';
UPDATE `language` SET `english` = 'Ok'
WHERE `phrase` = 'ok';
UPDATE `language` SET `english` = ' Ooops something went wrong...'
WHERE `phrase` = 'ooops_something_went_wrong';
UPDATE `language` SET `english` = 'Order Date'
WHERE `phrase` = 'order_date';
UPDATE `language` SET `english` = 'Order NO'
WHERE `phrase` = 'order_no';
UPDATE `language` SET `english` = 'Order QTY'
WHERE `phrase` = 'order_qty';
UPDATE `language` SET `english` = 'Order List'
WHERE `phrase` = 'oreder_list';
UPDATE `language` SET `english` = 'Outgoing File'
WHERE `phrase` = 'outgoing_file';
UPDATE `language` SET `english` = 'Over Due Analysis'
WHERE `phrase` = 'overdue_analysis';
UPDATE `language` SET `english` = 'Overwrite'
WHERE `phrase` = 'overwrite';
UPDATE `language` SET `english` = 'Over Due'
WHERE `phrase` = 'over_due';
UPDATE `language` SET `english` = 'Over Due Amount'
WHERE `phrase` = 'over_due_amount';
UPDATE `language` SET `english` = 'Package Amount'
WHERE `phrase` = 'package_amount';
UPDATE `language` SET `english` = 'Paid Amount'
WHERE `phrase` = 'paid_amount';
UPDATE `language` SET `english` = 'Package  Code'
WHERE `phrase` = 'pakage_code';
UPDATE `language` SET `english` = 'Package Name'
WHERE `phrase` = 'pakage_name';
UPDATE `language` SET `english` = 'Password'
WHERE `phrase` = 'password';
UPDATE `language` SET `english` = 'Receiving '
WHERE `phrase` = 'payment';
INSERT INTO `stock_movement` (`proposal_code`, `for_store_id`, `from_store_id`, `proposal_datetime`, `proposal_by`) VALUES ('p-6', '2', '3', '2018-06-23 11:38:41', '2');
INSERT INTO `stock_movement_details` (`movement_id`, `product_id`, `proposal_qty`) VALUES (8, '6', '3');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Stockmovment', 'create', 'Stockmovment ID :8', '2', '2018-06-23 11:38:55');
INSERT INTO `stock_movement` (`proposal_code`, `for_store_id`, `from_store_id`, `proposal_datetime`, `proposal_by`) VALUES ('p-7', '2', '4', '2018-06-23 11:39:55', '2');
INSERT INTO `stock_movement_details` (`movement_id`, `product_id`, `proposal_qty`) VALUES (9, '6', '2');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Stockmovment', 'create', 'Stockmovment ID :9', '2', '2018-06-23 11:40:15');
INSERT INTO `stock_movement` (`proposal_code`, `for_store_id`, `from_store_id`, `proposal_datetime`, `proposal_by`) VALUES ('p-8', '2', '3', '2018-06-23 12:04:35', '2');
INSERT INTO `stock_movement_details` (`movement_id`, `product_id`, `proposal_qty`) VALUES (10, '6', '12');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Stockmovment', 'create', 'Stockmovment ID :10', '2', '2018-06-23 12:04:54');
UPDATE `user` SET `last_logout` = '2018-06-23 12:06:15'
WHERE `id` = '2';
UPDATE `user` SET `last_login` = '2018-06-23 12:07:56', `ip_address` = '::1'
WHERE `id` = '21';
UPDATE `user` SET `last_logout` = '2018-06-23 12:08:50'
WHERE `id` = '21';
UPDATE `user` SET `last_login` = '2018-06-23 12:09:18', `ip_address` = '::1'
WHERE `id` = '8';
UPDATE `user` SET `last_logout` = '2018-06-23 12:09:59'
WHERE `id` = '8';
UPDATE `user` SET `last_login` = '2018-06-23 12:10:37', `ip_address` = '::1'
WHERE `id` = '9';
UPDATE `user` SET `last_logout` = '2018-06-23 12:10:53'
WHERE `id` = '9';
UPDATE `user` SET `last_login` = '2018-06-23 12:11:36', `ip_address` = '::1'
WHERE `id` = '2';
INSERT INTO `sec_userrole` (`id`, `user_id`, `roleid`, `createby`, `createdate`) VALUES ('', '6', '4', '2', '2018-06-23 12:13:13');
INSERT INTO `sec_userrole` (`id`, `user_id`, `roleid`, `createby`, `createdate`) VALUES ('', '6', '2', '2', '2018-06-23 12:13:26');
INSERT INTO `user` (`id`, `firstname`, `lastname`, `email`, `password`, `about`, `store_id`, `is_admin`, `image`, `last_login`, `last_logout`, `ip_address`, `status`) VALUES ('', 'Rafiq', 'Mia', 'rafiq@gmail.com', '202cb962ac59075b964b07152d234b70', 'sdfdfsdf', '4', '1', '', NULL, NULL, NULL, '1');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('User', 'create', 'User ID :22', '2', '2018-06-23 12:32:24');
DELETE FROM `role_permission`
WHERE `role_id` = '3';
INSERT INTO `role_permission` (`create`, `delete`, `fk_module_id`, `read`, `role_id`, `update`) VALUES (0,0,'3',0,'3',0), (0,0,'4',0,'3',0), (0,0,'5',0,'3',0), (0,0,'6',0,'3',0), (0,0,'7',0,'3',0), (0,0,'8',0,'3',0), (0,0,'9',0,'3',0), ('1','1','10','1','3','1'), (0,0,'11',0,'3',0), (0,0,'12',0,'3',0), (0,0,'13',0,'3',0), (0,0,'14',0,'3',0), ('1','1','15','1','3','1');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Role Permission', 'update', 'Role id :3', '2', '2018-06-23 12:33:25');
INSERT INTO `user` (`id`, `firstname`, `lastname`, `email`, `password`, `about`, `store_id`, `is_admin`, `image`, `last_login`, `last_logout`, `ip_address`, `status`) VALUES ('', 'uzzal', 'mia', 'uzzal@gmail.com', '202cb962ac59075b964b07152d234b70', 'sdfasdf', '3', '0', './assets/img/user/asdf1.jpg', NULL, NULL, NULL, '1');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('User', 'create', 'User ID :23', '2', '2018-06-23 12:35:42');
INSERT INTO `sec_userrole` (`id`, `user_id`, `roleid`, `createby`, `createdate`) VALUES ('', '23', '3', '2', '2018-06-23 12:36:57');
UPDATE `user` SET `last_logout` = '2018-06-23 12:37:00'
WHERE `id` = '2';
UPDATE `user` SET `last_login` = '2018-06-23 12:37:17', `ip_address` = '::1'
WHERE `id` = '23';
INSERT INTO `purchase_receive` (`receive_id`, `store_id`, `voucher_no`, `receive_date`) VALUES ('20180623123755', '2', 1014, '2018-06-23 12:37:55');
INSERT INTO `purchase_receive_details` (`receive_id`, `product_id`, `receive_qty`) VALUES ('20180623123755', '6', '3');
INSERT INTO `purchase_receive_details` (`receive_id`, `product_id`, `receive_qty`) VALUES ('201806231255', '6', -3);
INSERT INTO `purchase_receive` (`receive_id`, `store_id`, `voucher_no`, `receive_date`) VALUES ('201806231255', '3', 1014, '2018-06-23 12:37:55');
UPDATE `stock_movement` SET `movement_id` = '8', `is_received` = 1
WHERE `movement_id` = '8';
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('stockmovement ', 'create', 'receive_id-', '23', '2018-06-23 12:37:55');
UPDATE `user` SET `last_logout` = '2018-06-23 12:38:06'
WHERE `id` = '23';
UPDATE `user` SET `last_login` = '2018-06-23 12:38:15', `ip_address` = '::1'
WHERE `id` = '2';
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
UPDATE `user` SET `last_login` = '2018-06-24 05:40:22', `ip_address` = '::1'
WHERE `id` = '2';
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
DELETE FROM `role_permission`
WHERE `role_id` = '4';
INSERT INTO `role_permission` (`create`, `delete`, `fk_module_id`, `read`, `role_id`, `update`) VALUES (0,0,'8',0,'4',0), (0,0,'6',0,'4',0), (0,0,'5',0,'4',0), (0,0,'13',0,'4',0), (0,0,'14',0,'4',0), (0,0,'7',0,'4',0), (0,0,'10',0,'4',0), (0,0,'12',0,'4',0), (0,0,'15',0,'4',0), (0,0,'3',0,'4',0), (0,0,'9',0,'4',0), (0,0,'4',0,'4',0), (0,0,'11',0,'4',0);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Role Permission', 'create', 'Role id :52', '2', '2018-06-24 10:57:15');
DELETE FROM `role_permission`
WHERE `role_id` = '3';
INSERT INTO `role_permission` (`create`, `delete`, `fk_module_id`, `read`, `role_id`, `update`) VALUES (0,0,'3',0,'3',0), (0,0,'4',0,'3',0), (0,0,'5',0,'3',0), (0,0,'6',0,'3',0), (0,0,'7',0,'3',0), (0,0,'8',0,'3',0), (0,0,'9',0,'3',0), ('1',0,'10','1','3','1'), (0,0,'11',0,'3',0), (0,0,'12',0,'3',0), (0,0,'13',0,'3',0), (0,0,'14',0,'3',0), ('1','1','15','1','3','1');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Role Permission', 'update', 'Role id :3', '2', '2018-06-24 12:46:41');
UPDATE `user` SET `last_login` = '2018-06-25 05:15:56', `ip_address` = '::1'
WHERE `id` = '2';
DELETE FROM `role_permission`
WHERE `role_id` IS NULL;
INSERT INTO `role_permission` (`create`, `delete`, `fk_module_id`, `read`, `role_id`, `update`) VALUES (0,0,'3',0,'3',0), (0,0,'4',0,'3',0), (0,0,'5',0,'3',0), (0,0,'6',0,'3',0), (0,0,'7',0,'3',0), (0,0,'8',0,'3',0), (0,0,'9',0,'3',0), ('1','1','10','1','3','1'), (0,0,'11',0,'3',0), (0,0,'12',0,'3',0);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Role Permission', 'create', 'Role id :78', '2', '2018-06-25 06:45:55');
DELETE FROM `role_permission`
WHERE `role_id` IS NULL;
INSERT INTO `role_permission` (`create`, `delete`, `fk_module_id`, `read`, `role_id`, `update`) VALUES (0,0,'3',0,'3',0), (0,0,'4',0,'3',0), (0,0,'5',0,'3',0), (0,0,'6',0,'3',0), (0,0,'7',0,'3',0), (0,0,'8',0,'3',0), (0,0,'9',0,'3',0), ('1','1','10','1','3','1'), (0,0,'11',0,'3',0), (0,0,'12',0,'3',0);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Role Permission', 'create', 'Role id :88', '2', '2018-06-25 06:46:03');
DELETE FROM `role_permission`
WHERE `role_id` IS NULL;
INSERT INTO `role_permission` (`create`, `delete`, `fk_module_id`, `read`, `role_id`, `update`) VALUES (0,0,'3',0,'3',0), (0,0,'4',0,'3',0), (0,0,'5',0,'3',0), (0,0,'6',0,'3',0), (0,0,'7',0,'3',0), (0,0,'8',0,'3',0), (0,0,'9',0,'3',0), ('1','1','10','1','3','1'), (0,0,'11',0,'3',0), (0,0,'12',0,'3',0);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Role Permission', 'create', 'Role id :98', '2', '2018-06-25 06:51:07');
DELETE FROM `role_permission`
WHERE `role_id` IS NULL;
INSERT INTO `role_permission` (`create`, `delete`, `fk_module_id`, `read`, `role_id`, `update`) VALUES (0,0,'3',0,'3',0), (0,0,'4',0,'3',0), (0,0,'5',0,'3',0), (0,0,'6',0,'3',0), (0,0,'7',0,'3',0), (0,0,'8',0,'3',0), (0,0,'9',0,'3',0), ('1','1','10','1','3','1'), (0,0,'11',0,'3',0), (0,0,'12',0,'3',0);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Role Permission', 'create', 'Role id :108', '2', '2018-06-25 06:51:15');
DELETE FROM `role_permission`
WHERE `role_id` IS NULL;
INSERT INTO `role_permission` (`create`, `delete`, `fk_module_id`, `read`, `role_id`, `update`) VALUES (0,0,'3',0,'3',0), (0,0,'4',0,'3',0), (0,0,'5',0,'3',0), (0,0,'6',0,'3',0), (0,0,'7',0,'3',0), (0,0,'8',0,'3',0), (0,0,'9',0,'3',0), ('1','1','10','1','3','1'), (0,0,'11',0,'3',0), (0,0,'12',0,'3',0);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Role Permission', 'create', 'Role id :118', '2', '2018-06-25 07:01:19');
DELETE FROM `role_permission`
WHERE `role_id` IS NULL;
DELETE FROM `role_permission`
WHERE `role_id` IS NULL;
DELETE FROM `role_permission`
WHERE `role_id` IS NULL;
INSERT INTO `role_permission` (`create`, `delete`, `fk_module_id`, `read`, `role_id`, `update`) VALUES (0,0,'3',0,'3',0), (0,0,'4',0,'3',0), (0,0,'5',0,'3',0), (0,0,'6',0,'3',0), (0,0,'7',0,'3',0), (0,0,'8',0,'3',0), (0,0,'9',0,'3',0), ('1','1','10','1','3','1'), (0,0,'11',0,'3',0), (0,0,'12',0,'3',0);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Role Permission', 'create', 'Role id :128', '2', '2018-06-25 07:02:55');
DELETE FROM `role_permission`
WHERE `role_id` IS NULL;
INSERT INTO `role_permission` (`create`, `delete`, `fk_module_id`, `read`, `role_id`, `update`) VALUES (0,0,'3',0,'1',0), (0,0,'4',0,'1',0), (0,0,'5',0,'1',0), (0,0,'6',0,'1',0), (0,0,'7',0,'1',0), (0,0,'8',0,'1',0), (0,0,'9',0,'1',0), (0,0,'10',0,'1',0), (0,0,'11',0,'1',0), ('1',0,'12','1','1','1');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Role Permission', 'create', 'Role id :138', '2', '2018-06-25 07:07:57');
DELETE FROM `role_permission`
WHERE `role_id` IS NULL;
INSERT INTO `role_permission` (`create`, `delete`, `fk_module_id`, `read`, `role_id`, `update`) VALUES (0,0,'3',0,'1',0), (0,0,'4',0,'1',0), (0,0,'5',0,'1',0), (0,0,'6',0,'1',0), (0,0,'7',0,'1',0), (0,0,'8',0,'1',0), (0,0,'9',0,'1',0), (0,0,'10',0,'1',0), (0,0,'11',0,'1',0), (0,0,'12',0,'1',0);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Role Permission', 'create', 'Role id :148', '2', '2018-06-25 07:08:08');
DELETE FROM `role_permission`
WHERE `role_id` IS NULL;
INSERT INTO `role_permission` (`create`, `delete`, `fk_module_id`, `read`, `role_id`, `update`) VALUES (0,0,'3',0,'1',0), (0,0,'4',0,'1',0), (0,0,'5',0,'1',0), (0,0,'6',0,'1',0), (0,0,'7',0,'1',0), (0,0,'8',0,'1',0), (0,0,'9',0,'1',0), (0,0,'10',0,'1',0), (0,0,'11',0,'1',0), (0,0,'12',0,'1',0);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Role Permission', 'create', 'Role id :158', '2', '2018-06-25 07:08:19');
DELETE FROM `role_permission`
WHERE `role_id` IS NULL;
INSERT INTO `role_permission` (`create`, `delete`, `fk_module_id`, `read`, `role_id`, `update`) VALUES (0,0,'3',0,'1',0), (0,0,'4',0,'1',0), (0,0,'5',0,'1',0), (0,0,'6',0,'1',0), (0,0,'7',0,'1',0), (0,0,'8',0,'1',0), (0,0,'9',0,'1',0), (0,0,'10',0,'1',0), (0,0,'11',0,'1',0), (0,0,'12',0,'1',0);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Role Permission', 'create', 'Role id :168', '2', '2018-06-25 07:08:28');
DELETE FROM `role_permission`
WHERE `role_id` = '1';
INSERT INTO `role_permission` (`create`, `delete`, `fk_module_id`, `read`, `role_id`, `update`) VALUES (0,0,'3',0,'1',0), (0,0,'4',0,'1',0), (0,0,'5',0,'1',0), (0,0,'6',0,'1',0), (0,0,'7',0,'1',0), (0,0,'8',0,'1',0), (0,0,'9',0,'1',0), (0,0,'10',0,'1',0), (0,0,'11',0,'1',0), (0,0,'12',0,'1',0), (0,0,'13',0,'1',0), (0,0,'14',0,'1',0), (0,0,'15',0,'1',0);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Role Permission', 'update', 'Role id :1', '2', '2018-06-25 07:08:42');
DELETE FROM `role_permission`
WHERE `role_id` IS NULL;
DELETE FROM `role_permission`
WHERE `role_id` IS NULL;
INSERT INTO `role_permission` (`create`, `delete`, `fk_module_id`, `read`, `role_id`, `update`) VALUES (0,0,'3',0,'3',0), (0,0,'4',0,'3',0), (0,0,'5',0,'3',0), (0,0,'6',0,'3',0), (0,0,'7',0,'3',0), (0,0,'8',0,'3',0), (0,0,'9',0,'3',0), ('1','1','10','1','3','1'), (0,0,'11',0,'3',0), ('1',0,'12','1','3','1');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Role Permission', 'create', 'Role id :191', '2', '2018-06-25 07:30:02');
DELETE FROM `role_permission`
WHERE `role_id` = '3';
INSERT INTO `role_permission` (`create`, `delete`, `fk_module_id`, `read`, `role_id`, `update`) VALUES (0,0,'8',0,'3',0), (0,0,'6',0,'3',0), (0,0,'5',0,'3',0), (0,0,'13',0,'3',0), (0,0,'14',0,'3',0), (0,0,'7',0,'3',0), ('1','1','10','1','3','1'), (0,0,'12',0,'3',0), ('1','1','15','1','3','1'), (0,0,'3',0,'3',0), (0,0,'9',0,'3',0), (0,0,'4',0,'3',0), (0,0,'11',0,'3',0);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Role Permission', 'create', 'Role id :201', '2', '2018-06-25 09:52:44');
DELETE FROM `role_permission`
WHERE `role_id` = '5';
INSERT INTO `role_permission` (`create`, `delete`, `fk_module_id`, `read`, `role_id`, `update`) VALUES (0,0,'8',0,'5',0), (0,0,'6',0,'5',0), ('1','1','5','1','5','1'), ('1','1','13','1','5','1'), (0,0,'14',0,'5',0), (0,0,'7',0,'5',0), (0,0,'10',0,'5',0), (0,0,'12',0,'5',0), (0,0,'15',0,'5',0), (0,0,'3',0,'5',0), (0,0,'9',0,'5',0), (0,0,'4',0,'5',0), (0,0,'11',0,'5',0);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Role Permission', 'create', 'Role id :214', '2', '2018-06-25 10:42:29');
DELETE FROM `role_permission`
WHERE `role_id` IS NULL;
INSERT INTO `role_permission` (`create`, `delete`, `fk_module_id`, `read`, `role_id`, `update`) VALUES (0,0,'3',0,'3',0), (0,0,'4',0,'3',0), (0,0,'5',0,'3',0), (0,0,'6',0,'3',0), (0,0,'7',0,'3',0), (0,0,'8',0,'3',0), (0,0,'9',0,'3',0), ('1','1','10','1','3','1'), (0,0,'11',0,'3',0), ('1',0,'12',0,'3',0);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Role Permission', 'create', 'Role id :227', '2', '2018-06-25 10:50:04');
DELETE FROM `role_permission`
WHERE `role_id` IS NULL;
INSERT INTO `role_permission` (`create`, `delete`, `fk_module_id`, `read`, `role_id`, `update`) VALUES (0,0,'3',0,'3',0), (0,0,'4',0,'3',0), (0,0,'5',0,'3',0), ('1','1','6','1','3','1'), ('1',0,'7',0,'3',0), ('1','1','8','1','3','1'), (0,0,'9',0,'3',0), (0,0,'10',0,'3',0), (0,0,'11',0,'3',0), (0,0,'12',0,'3',0);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Role Permission', 'create', 'Role id :237', '2', '2018-06-25 10:58:34');
DELETE FROM `role_permission`
WHERE `role_id` = '3';
INSERT INTO `role_permission` (`create`, `delete`, `fk_module_id`, `read`, `role_id`, `update`) VALUES (0,0,'8',0,'3',0), (0,0,'6',0,'3',0), (0,0,'5',0,'3',0), (0,0,'13',0,'3',0), (0,0,'14',0,'3',0), (0,0,'7',0,'3',0), ('1','1','10','1','3','1'), ('1',0,'12','1','3',0), ('1','1','15','1','3','1'), (0,0,'3',0,'3',0), (0,0,'9',0,'3',0), (0,0,'4',0,'3',0), (0,0,'11',0,'3',0);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Role Permission', 'create', 'Role id :247', '2', '2018-06-25 11:00:08');
INSERT INTO `language` (`phrase`) VALUES ('store_procedure');
UPDATE `language` SET `english` = 'Stock Movement'
WHERE `phrase` = 'stockmovment';
UPDATE `language` SET `english` = 'Stock Qty'
WHERE `phrase` = 'stock_ctn';
UPDATE `language` SET `english` = 'Store'
WHERE `phrase` = 'store';
UPDATE `language` SET `english` = 'Store/warehouse'
WHERE `phrase` = 'storewarehouse';
UPDATE `language` SET `english` = 'Store Address'
WHERE `phrase` = 'store_address';
UPDATE `language` SET `english` = 'Store Code'
WHERE `phrase` = 'store_code';
UPDATE `language` SET `english` = 'Store Name'
WHERE `phrase` = 'store_name';
UPDATE `language` SET `english` = 'Store Phone'
WHERE `phrase` = 'store_phone';
UPDATE `language` SET `english` = 'Store Procedure'
WHERE `phrase` = 'store_procedure';
UPDATE `language` SET `english` = 'Subject'
WHERE `phrase` = 'subject';
UPDATE `language` SET `english` = 'Submit '
WHERE `phrase` = 'submit';
UPDATE `language` SET `english` = 'Submit and Another'
WHERE `phrase` = 'submit_and_add_another';
UPDATE `language` SET `english` = 'Successfully Approved'
WHERE `phrase` = 'successfully_approved';
UPDATE `language` SET `english` = 'Super Admin'
WHERE `phrase` = 'super_admin';
UPDATE `language` SET `english` = 'Supplier'
WHERE `phrase` = 'supplier';
UPDATE `language` SET `english` = 'Supplier Code'
WHERE `phrase` = 'supplier_code';
UPDATE `language` SET `english` = 'Supplier Name'
WHERE `phrase` = 'supplier_name';
UPDATE `language` SET `english` = 'Surplus'
WHERE `phrase` = 'surplus';
UPDATE `language` SET `english` = 'Synchronize'
WHERE `phrase` = 'synchronize';
UPDATE `language` SET `english` = 'Tables are not available in database.sql'
WHERE `phrase` = 'tables_are_not_available_in_database';
UPDATE `language` SET `english` = 'Target'
WHERE `phrase` = 'target';
UPDATE `language` SET `english` = 'To'
WHERE `phrase` = 'to';
UPDATE `language` SET `english` = 'Total'
WHERE `phrase` = 'total';
UPDATE `language` SET `english` = 'Total Amount'
WHERE `phrase` = 'total_amount';
UPDATE `language` SET `english` = 'Total Receive'
WHERE `phrase` = 'total_receive';
CALL GetAllProducts();
CALL GetAllProducts();
CALL GetAllProducts();
CALL GetAllProducts();
CALL GetAllProducts();
CALL GetAllProducts();
CALL GetAllProducts();
DELETE FROM `role_permission`
WHERE `role_id` = '3';
INSERT INTO `role_permission` (`create`, `delete`, `fk_module_id`, `read`, `role_id`, `update`) VALUES (0,0,'8',0,'3',0), (0,0,'6',0,'3',0), (0,0,'5',0,'3',0), (0,0,'13',0,'3',0), (0,0,'14',0,'3',0), (0,0,'7',0,'3',0), ('1','1','10','1','3','1'), ('1','1','12','1','3','1'), ('1','1','15','1','3','1'), (0,0,'3',0,'3',0), (0,0,'9',0,'3',0), (0,0,'4',0,'3',0), (0,0,'11',0,'3',0);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Role Permission', 'create', 'Role id :260', '2', '2018-06-25 13:50:41');
DELETE FROM `role_permission`
WHERE `role_id` = '3';
INSERT INTO `role_permission` (`create`, `delete`, `fk_module_id`, `read`, `role_id`, `update`) VALUES (0,0,'8',0,'3',0), (0,0,'6',0,'3',0), (0,0,'5',0,'3',0), (0,0,'13',0,'3',0), (0,0,'14',0,'3',0), (0,0,'7',0,'3',0), ('1','1','10','1','3','1'), ('1',0,'12','1','3',0), ('1','1','15','1','3','1'), (0,0,'3',0,'3',0), (0,0,'9',0,'3',0), (0,0,'4',0,'3',0), (0,0,'11',0,'3',0);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Role Permission', 'create', 'Role id :273', '2', '2018-06-25 13:50:52');
DELETE FROM `role_permission`
WHERE `role_id` = '3';
INSERT INTO `role_permission` (`create`, `delete`, `fk_module_id`, `read`, `role_id`, `update`) VALUES (0,0,'8',0,'3',0), (0,0,'6',0,'3',0), (0,0,'5',0,'3',0), (0,0,'13',0,'3',0), (0,0,'14',0,'3',0), (0,0,'7',0,'3',0), ('1','1','10','1','3','1'), ('1','1','12','1','3','1'), ('1','1','15','1','3','1'), (0,0,'3',0,'3',0), (0,0,'9',0,'3',0), (0,0,'4',0,'3',0), (0,0,'11',0,'3',0);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Role Permission', 'create', 'Role id :286', '2', '2018-06-25 13:51:01');
CALL GetAllProducts();
CALL GetAllProducts();
CALL GetAllProducts();
CALL GetAllProducts();
CALL GetAllProducts();
CALL GetAllProducts();
CALL GetAllProducts();
CALL GetAllProducts();
CALL GetAllProducts();
CALL GetAllProducts();
CALL GetAllProducts();
CALL GetAllProducts();
CALL GetAllProducts();
CALL GetAllProducts();
CALL GetAllProducts();
CALL GetAllProducts();
CALL GetAllProducts();
UPDATE `user` SET `last_login` = '2018-06-26 05:12:28', `ip_address` = '::1'
WHERE `id` = '2';
CALL GetAllProducts();
CALL GetAllProducts();
UPDATE `supplier` SET `supplier_id` = '2', `isactive` = 0
WHERE `supplier_id` = '2';
UPDATE `supplier` SET `supplier_id` = '2', `isactive` = 1
WHERE `supplier_id` = '2';
CALL GetAllProducts();
CALL customer_info('5');
CALL GetAllProducts();
CALL customer_info('5');
CALL customer_info('4');
CALL customer_info('3');
CALL GetAllProducts();
CALL customer_info('3');
CALL customer_info('2');
CALL GetAllProducts();
CALL customer_info('2');
UPDATE `user` SET `last_logout` = '2018-06-26 11:40:22'
WHERE `id` = '2';
UPDATE `user` SET `last_login` = '2018-06-26 11:40:42', `ip_address` = '::1'
WHERE `id` = '9';
UPDATE `user` SET `last_login` = '2018-06-26 11:41:23', `ip_address` = '::1'
WHERE `id` = '2';
UPDATE `user` SET `last_login` = '2018-06-26 11:48:13', `ip_address` = '::1'
WHERE `id` = '2';
UPDATE `user` SET `last_logout` = '2018-06-26 11:56:51'
WHERE `id` IS NULL;
UPDATE `user` SET `last_login` = '2018-06-26 11:58:53', `ip_address` = '::1'
WHERE `id` = '23';
UPDATE `user` SET `last_logout` = '2018-06-26 12:04:14'
WHERE `id` = '2';
UPDATE `user` SET `last_login` = '2018-06-26 12:04:21', `ip_address` = '::1'
WHERE `id` = '2';
DELETE FROM `role_permission`
WHERE `role_id` = '3';
INSERT INTO `role_permission` (`create`, `delete`, `fk_module_id`, `read`, `role_id`, `update`) VALUES (0,0,'3',0,'3',0), (0,0,'4',0,'3',0), (0,0,'5',0,'3',0), (0,0,'6',0,'3',0), (0,0,'7',0,'3',0), (0,0,'8',0,'3',0), (0,0,'9',0,'3',0), (0,'1','10','1','3','1'), (0,0,'11',0,'3',0), ('1','1','12','1','3','1'), (0,0,'13',0,'3',0), (0,0,'14',0,'3',0), ('1','1','15','1','3','1');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Role Permission', 'update', 'Role id :3', '2', '2018-06-26 12:05:07');
UPDATE `user` SET `last_logout` = '2018-06-26 12:05:17'
WHERE `id` = '23';
UPDATE `user` SET `last_login` = '2018-06-26 12:05:45', `ip_address` = '::1'
WHERE `id` = '23';
DELETE FROM `role_permission`
WHERE `role_id` = '3';
INSERT INTO `role_permission` (`create`, `delete`, `fk_module_id`, `read`, `role_id`, `update`) VALUES (0,0,'3',0,'3',0), (0,0,'4',0,'3',0), (0,0,'5',0,'3',0), (0,0,'6',0,'3',0), (0,'1','7',0,'3',0), (0,0,'8',0,'3',0), (0,0,'9',0,'3',0), (0,'1','10','1','3','1'), (0,0,'11',0,'3',0), ('1','1','12','1','3','1'), (0,0,'13',0,'3',0), (0,0,'14',0,'3',0), ('1','1','15','1','3','1');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Role Permission', 'update', 'Role id :3', '2', '2018-06-26 12:58:03');
UPDATE `user` SET `last_logout` = '2018-06-26 12:58:10'
WHERE `id` = '23';
UPDATE `user` SET `last_login` = '2018-06-26 12:58:30', `ip_address` = '::1'
WHERE `id` = '23';
DELETE FROM `role_permission`
WHERE `role_id` = '3';
INSERT INTO `role_permission` (`create`, `delete`, `fk_module_id`, `read`, `role_id`, `update`) VALUES (0,0,'3',0,'3',0), (0,0,'4',0,'3',0), (0,0,'5',0,'3',0), (0,0,'6',0,'3',0), ('1','1','7',0,'3',0), (0,0,'8',0,'3',0), (0,0,'9',0,'3',0), (0,'1','10','1','3','1'), (0,0,'11',0,'3',0), ('1','1','12','1','3','1'), (0,0,'13',0,'3',0), (0,0,'14',0,'3',0), ('1','1','15','1','3','1');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Role Permission', 'update', 'Role id :3', '2', '2018-06-26 12:59:49');
UPDATE `user` SET `last_logout` = '2018-06-26 12:59:57'
WHERE `id` = '23';
UPDATE `user` SET `last_login` = '2018-06-26 13:00:14', `ip_address` = '::1'
WHERE `id` = '23';
DELETE FROM `role_permission`
WHERE `role_id` = '3';
INSERT INTO `role_permission` (`create`, `delete`, `fk_module_id`, `read`, `role_id`, `update`) VALUES (0,0,'3',0,'3',0), (0,0,'4',0,'3',0), (0,0,'5',0,'3',0), (0,0,'6',0,'3',0), ('1','1','7','1','3','1'), (0,0,'8',0,'3',0), (0,0,'9',0,'3',0), (0,'1','10','1','3','1'), (0,0,'11',0,'3',0), ('1','1','12','1','3','1'), (0,0,'13',0,'3',0), (0,0,'14',0,'3',0), ('1','1','15','1','3','1');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Role Permission', 'update', 'Role id :3', '2', '2018-06-26 13:02:21');
UPDATE `user` SET `last_logout` = '2018-06-26 13:02:25'
WHERE `id` = '23';
UPDATE `user` SET `last_login` = '2018-06-26 13:02:45', `ip_address` = '::1'
WHERE `id` = '23';
CALL customer_info('2');
UPDATE `user` SET `last_logout` = '2018-06-26 13:42:22'
WHERE `id` = '23';
UPDATE `user` SET `last_login` = '2018-06-26 13:42:31', `ip_address` = '::1'
WHERE `id` = '2';
CALL GetAllProducts();
UPDATE `user` SET `last_login` = '2018-06-27 05:29:15', `ip_address` = '::1'
WHERE `id` = '2';
CALL customer_info('2');
CALL GetAllProducts();
CALL customer_info('2');
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
CALL GetAllProducts();
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
UPDATE `user` SET `last_login` = '2018-06-27 10:53:51', `ip_address` = '::1'
WHERE `id` = '2';
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
DELETE FROM `role_permission`
WHERE `role_id` = '2';
INSERT INTO `role_permission` (`create`, `delete`, `fk_module_id`, `read`, `role_id`, `update`) VALUES (0,0,'8',0,'2',0), (0,0,'6',0,'2',0), (0,0,'5',0,'2',0), (0,0,'13',0,'2',0), (0,0,'14',0,'2',0), (0,0,'7',0,'2',0), ('1','1','10','1','2','1'), (0,0,'12','1','2',0), (0,0,'15',0,'2',0), ('1','1','3','1','2','1'), (0,0,'9',0,'2',0), (0,0,'4',0,'2',0), (0,0,'11',0,'2',0);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Role Permission', 'create', 'Role id :351', '2', '2018-06-27 12:07:36');
UPDATE `user` SET `last_logout` = '2018-06-27 12:08:45'
WHERE `id` = '2';
UPDATE `user` SET `last_login` = '2018-06-27 12:09:06', `ip_address` = '::1'
WHERE `id` = '23';
UPDATE `user` SET `last_logout` = '2018-06-27 12:10:42'
WHERE `id` = '23';
UPDATE `user` SET `last_login` = '2018-06-27 12:11:13', `ip_address` = '::1'
WHERE `id` = '23';
UPDATE `user` SET `last_login` = '2018-06-27 12:14:37', `ip_address` = '::1'
WHERE `id` = '2';
DELETE FROM `role_permission`
WHERE `role_id` = '3';
INSERT INTO `role_permission` (`create`, `delete`, `fk_module_id`, `read`, `role_id`, `update`) VALUES (0,0,'8',0,'3',0), (0,0,'6',0,'3',0), (0,0,'5',0,'3',0), (0,0,'13',0,'3',0), (0,0,'14',0,'3',0), ('1','1','7','1','3','1'), (0,'1','10','1','3','1'), (0,0,'12','1','3',0), ('1','1','15','1','3','1'), (0,0,'3',0,'3',0), (0,0,'9',0,'3',0), (0,0,'4',0,'3',0), (0,0,'11',0,'3',0);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Role Permission', 'create', 'Role id :364', '2', '2018-06-27 12:15:14');
UPDATE `user` SET `last_logout` = '2018-06-27 12:15:28'
WHERE `id` = '23';
UPDATE `user` SET `last_login` = '2018-06-27 12:15:50', `ip_address` = '::1'
WHERE `id` = '23';
DELETE FROM `role_permission`
WHERE `role_id` = '3';
INSERT INTO `role_permission` (`create`, `delete`, `fk_module_id`, `read`, `role_id`, `update`) VALUES (0,0,'8',0,'3',0), (0,0,'6',0,'3',0), (0,0,'5',0,'3',0), (0,0,'13',0,'3',0), (0,0,'14',0,'3',0), ('1','1','7','1','3','1'), (0,'1','10','1','3','1'), ('1','1','12','1','3','1'), ('1','1','15','1','3','1'), (0,0,'3',0,'3',0), (0,0,'9',0,'3',0), (0,0,'4',0,'3',0), (0,0,'11',0,'3',0);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Role Permission', 'create', 'Role id :377', '2', '2018-06-27 12:16:16');
UPDATE `user` SET `last_logout` = '2018-06-27 12:16:24'
WHERE `id` = '23';
UPDATE `user` SET `last_login` = '2018-06-27 12:16:34', `ip_address` = '::1'
WHERE `id` = '2';
UPDATE `user` SET `last_login` = '2018-06-28 05:42:45', `ip_address` = '::1'
WHERE `id` = '2';
UPDATE `user` SET `last_login` = '2018-06-28 05:49:51', `ip_address` = '::1'
WHERE `id` = '2';
UPDATE `user` SET `last_login` = '2018-06-28 07:55:00', `ip_address` = '::1'
WHERE `id` = '2';
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
CALL get_store_stock();
CALL GetAllProducts();
CALL get_store_stock(0,@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
DROP TABLE `stock_movement`;
DROP TABLE `stock_movement_details`;
DELETE FROM `module`
WHERE `id` = '15';
DELETE FROM `role_permission`
WHERE `fk_module_id` = '15';
CALL get_store_stock(0,@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
INSERT INTO `language` (`phrase`) VALUES ('stock');
UPDATE `language` SET `english` = 'Stock'
WHERE `phrase` = 'stock';
UPDATE `language` SET `english` = 'Stock Movement'
WHERE `phrase` = 'stockmovment';
UPDATE `language` SET `english` = 'Stock Qty'
WHERE `phrase` = 'stock_ctn';
UPDATE `language` SET `english` = 'Store'
WHERE `phrase` = 'store';
UPDATE `language` SET `english` = 'Store/warehouse'
WHERE `phrase` = 'storewarehouse';
UPDATE `language` SET `english` = 'Store Address'
WHERE `phrase` = 'store_address';
UPDATE `language` SET `english` = 'Store Code'
WHERE `phrase` = 'store_code';
UPDATE `language` SET `english` = 'Store Name'
WHERE `phrase` = 'store_name';
UPDATE `language` SET `english` = 'Store Phone'
WHERE `phrase` = 'store_phone';
UPDATE `language` SET `english` = 'Store Procedure'
WHERE `phrase` = 'store_procedure';
UPDATE `language` SET `english` = 'Subject'
WHERE `phrase` = 'subject';
UPDATE `language` SET `english` = 'Submit '
WHERE `phrase` = 'submit';
UPDATE `language` SET `english` = 'Submit and Another'
WHERE `phrase` = 'submit_and_add_another';
UPDATE `language` SET `english` = 'Successfully Approved'
WHERE `phrase` = 'successfully_approved';
UPDATE `language` SET `english` = 'Super Admin'
WHERE `phrase` = 'super_admin';
UPDATE `language` SET `english` = 'Supplier'
WHERE `phrase` = 'supplier';
UPDATE `language` SET `english` = 'Supplier Code'
WHERE `phrase` = 'supplier_code';
UPDATE `language` SET `english` = 'Supplier Name'
WHERE `phrase` = 'supplier_name';
UPDATE `language` SET `english` = 'Surplus'
WHERE `phrase` = 'surplus';
UPDATE `language` SET `english` = 'Synchronize'
WHERE `phrase` = 'synchronize';
UPDATE `language` SET `english` = 'Tables are not available in database.sql'
WHERE `phrase` = 'tables_are_not_available_in_database';
UPDATE `language` SET `english` = 'Target'
WHERE `phrase` = 'target';
UPDATE `language` SET `english` = 'To'
WHERE `phrase` = 'to';
UPDATE `language` SET `english` = 'Total'
WHERE `phrase` = 'total';
UPDATE `language` SET `english` = 'Total Amount'
WHERE `phrase` = 'total_amount';
SET FOREIGN_KEY_CHECKS = 0;
CREATE TABLE IF NOT EXISTS `test` (
  `test_id` int(11) NOT NULL AUTO_INCREMENT,
  `test_name` varchar(50) COLLATE utf8_unicode_ci NOT NULL,
  PRIMARY KEY (`test_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
SET FOREIGN_KEY_CHECKS = 1;
INSERT INTO `module` (`id`, `name`, `description`, `image`, `directory`, `status`) VALUES (NULL, 'stock Management', 'stock Management System', 'application/modules/stock/assets/images/thumbnail.jpg', 'stock', 1);
CALL get_store_stock(0,@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock(0,@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock(0,@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock(0,@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock(0,@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock(0,@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock(0,@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock(0,@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock(0,@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock(0,@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock(0,@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock(0,@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock(0,@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock(0,@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock(0,@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock(0,@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock(0,@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock(0,@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock(0,@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock(0,@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock(0,@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock(0,@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock(0,@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock(0,@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock(0,@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock(0,@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock(0,@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock(0,@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock(0,@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock(0,@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock(0,@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock(0,@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock(0,@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock(0,@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock(0,@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock(0,@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock(0,@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock(0,@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock(0,@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock(0,@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock(0,@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock(0,@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock(0,@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock(0,@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock(0,@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock(0,@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock(0,@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock(0,@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock(0,@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock(0,@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock(0,@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock(0,@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock(0,@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock(0,@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock(0,@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock(0,@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock(0,@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
INSERT INTO `language` (`phrase`) VALUES ('inqty');
INSERT INTO `language` (`phrase`) VALUES ('outqty');
UPDATE `language` SET `english` = 'Inbox'
WHERE `phrase` = 'inbox';
UPDATE `language` SET `english` = 'Inbox Messages'
WHERE `phrase` = 'inbox_message';
UPDATE `language` SET `english` = 'Incoming File'
WHERE `phrase` = 'incoming_file';
UPDATE `language` SET `english` = 'Incorrect Email/Password'
WHERE `phrase` = 'incorrect_email_or_password';
UPDATE `language` SET `english` = 'In QTY'
WHERE `phrase` = 'inqty';
UPDATE `language` SET `english` = 'Inquiry Officer'
WHERE `phrase` = 'inquiry_officer';
UPDATE `language` SET `english` = 'Install'
WHERE `phrase` = 'install';
UPDATE `language` SET `english` = 'Installment Amount'
WHERE `phrase` = 'installment_amnt';
UPDATE `language` SET `english` = 'Installment Amount'
WHERE `phrase` = 'installment_amount';
UPDATE `language` SET `english` = 'Install No'
WHERE `phrase` = 'install_no';
UPDATE `language` SET `english` = 'Internet Connection'
WHERE `phrase` = 'internet_connection';
UPDATE `language` SET `english` = 'Invalid File!'
WHERE `phrase` = 'invalid_file';
UPDATE `language` SET `english` = 'Invalid Module'
WHERE `phrase` = 'invalid_module';
UPDATE `language` SET `english` = 'Invoice ID'
WHERE `phrase` = 'invoice_id';
UPDATE `language` SET `english` = 'Invoice No'
WHERE `phrase` = 'invoice_no';
UPDATE `language` SET `english` = 'IP Address'
WHERE `phrase` = 'ip_address';
UPDATE `language` SET `english` = 'Is Active'
WHERE `phrase` = 'isactive';
UPDATE `language` SET `english` = 'Issue By'
WHERE `phrase` = 'issue_by';
UPDATE `language` SET `english` = 'Issue Code'
WHERE `phrase` = 'issue_code';
UPDATE `language` SET `english` = 'Issue Date'
WHERE `phrase` = 'issue_date';
UPDATE `language` SET `english` = 'Language'
WHERE `phrase` = 'language';
UPDATE `language` SET `english` = 'Last Name'
WHERE `phrase` = 'lastname';
UPDATE `language` SET `english` = 'Last Login'
WHERE `phrase` = 'last_login';
UPDATE `language` SET `english` = 'Last Logout'
WHERE `phrase` = 'last_logout';
UPDATE `language` SET `english` = 'Last Payment Date'
WHERE `phrase` = 'last_payment_date';
UPDATE `language` SET `english` = 'Module Permission'
WHERE `phrase` = 'module_permission';
UPDATE `language` SET `english` = 'Module Permission Added Successfully!'
WHERE `phrase` = 'module_permission_added_successfully';
UPDATE `language` SET `english` = 'Module Permission List'
WHERE `phrase` = 'module_permission_list';
UPDATE `language` SET `english` = 'Name'
WHERE `phrase` = 'name';
UPDATE `language` SET `english` = 'New'
WHERE `phrase` = 'new';
UPDATE `language` SET `english` = 'New Enquiry'
WHERE `phrase` = 'new_enquiry';
UPDATE `language` SET `english` = 'New Message'
WHERE `phrase` = 'new_message';
UPDATE `language` SET `english` = 'Not Available'
WHERE `phrase` = 'not_available';
UPDATE `language` SET `english` = 'No tables are registerd in config.php'
WHERE `phrase` = 'no_tables_are_registered_in_config';
UPDATE `language` SET `english` = 'Ok'
WHERE `phrase` = 'ok';
UPDATE `language` SET `english` = ' Ooops something went wrong...'
WHERE `phrase` = 'ooops_something_went_wrong';
UPDATE `language` SET `english` = 'Order Date'
WHERE `phrase` = 'order_date';
UPDATE `language` SET `english` = 'Order NO'
WHERE `phrase` = 'order_no';
UPDATE `language` SET `english` = 'Order QTY'
WHERE `phrase` = 'order_qty';
UPDATE `language` SET `english` = 'Order List'
WHERE `phrase` = 'oreder_list';
UPDATE `language` SET `english` = 'Outgoing File'
WHERE `phrase` = 'outgoing_file';
UPDATE `language` SET `english` = 'Out Qty'
WHERE `phrase` = 'outqty';
UPDATE `language` SET `english` = 'Over Due Analysis'
WHERE `phrase` = 'overdue_analysis';
UPDATE `language` SET `english` = 'Overwrite'
WHERE `phrase` = 'overwrite';
UPDATE `language` SET `english` = 'Over Due'
WHERE `phrase` = 'over_due';
UPDATE `language` SET `english` = 'Over Due Amount'
WHERE `phrase` = 'over_due_amount';
UPDATE `language` SET `english` = 'Package Amount'
WHERE `phrase` = 'package_amount';
UPDATE `language` SET `english` = 'Paid Amount'
WHERE `phrase` = 'paid_amount';
UPDATE `language` SET `english` = 'Package  Code'
WHERE `phrase` = 'pakage_code';
UPDATE `language` SET `english` = 'Package Name'
WHERE `phrase` = 'pakage_name';
CALL get_store_stock(0,@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock(0,@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock(0,@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock(0,@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock(0,@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock(0,@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock(0,@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock(0,@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock(0,@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock(0,@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock(0,@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock(0,@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock(0,@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock(0,@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock(0,@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock(0,@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock(0,@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock(0,@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock(0,@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock(0,@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock(0,@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock(0,@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock(0,@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock(0,@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock(0,@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock(0,@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock(0,@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock(0,@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock(0,@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock(0,@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock(0,@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock(0,@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock(0,@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock(0,@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock(0,@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock(0,@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock(0,@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock(0,@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock(0,@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock(0,@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock(0,@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock(0,@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock(0,@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock(0,@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock(0,@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock(0,@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock(0,@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock(0,@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock(0,@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock(0,@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock(0,@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock(0,@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock(0,@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock(0,@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock(0,@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock(0,store_id,stock_date,prod_id,in_qty,outqty,rem);
CALL get_store_stock(0,store_id,stock_date,prod_id,in_qty,outqty,rem);
CALL get_store_stock(0,store_id,stock_date,prod_id,in_qty,outqty,rem);
CALL get_store_stock(0,store_id,stock_date,prod_id,in_qty,outqty,rem);
CALL get_store_stock(0,@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock(0,@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock(0,@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock(0,@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock(0,@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock(0,@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock(0,@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock(*);
CALL get_store_stock('*');
CALL get_store_stock(0,0,0,0,0,0,0);
CALL get_store_stock(0,0,0,0,0,0,0);
CALL get_store_stock(0,@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock(0,@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock(0,@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock(0,@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock(0,@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock(0,@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock(0,@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock(0,@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock(0,@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock(0,@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock(0,@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock(0,@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock(0,@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock(0,@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock(0,@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock(0,@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock(0,@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock(0,@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock(0,@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock(0,@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock(0,@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock(0,@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock(0,@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock(0,@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock(0,@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
DELETE FROM `store`
WHERE `store_id` = '5';
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Store', 'delete', 'Store ID :5', '2', '2018-06-28 14:41:08');
UPDATE `user` SET `last_login` = '2018-06-29 04:57:59', `ip_address` = '::1'
WHERE `id` = '2';
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
UPDATE `product_model` SET `model_id` = '1', `isactive` = 1
WHERE `model_id` = '1';
UPDATE `product_model` SET `model_id` = '1', `isactive` = 1
WHERE `model_id` = '1';
UPDATE `product_model` SET `model_id` = '1', `isactive` = 1
WHERE `model_id` = '1';
UPDATE `customer` SET `customer_id` = '5', `isactive` = 0
WHERE `customer_id` = '5';
UPDATE `customer` SET `customer_id` = '5', `isactive` = 1
WHERE `customer_id` = '5';
UPDATE `product_model` SET `model_id` = '1', `isactive` = 0
WHERE `model_id` = '1';
UPDATE `product_model` SET `model_id` = '1', `isactive` = 1
WHERE `model_id` = '1';
UPDATE `product_brand` SET `brand_id` = '2', `isactive` = 1
WHERE `brand_id` = '2';
UPDATE `product_category` SET `category_id` = '1', `isactive` = 0
WHERE `category_id` = '1';
UPDATE `product_category` SET `category_id` = '1', `isactive` = 1
WHERE `category_id` = '1';
UPDATE `product_brand` SET `brand_id` = '2', `isactive` = 1
WHERE `brand_id` = '2';
UPDATE `product_brand` SET `brand_id` = '2', `isactive` = 0
WHERE `brand_id` = '2';
UPDATE `product_brand` SET `brand_id` = '2', `isactive` = 1
WHERE `brand_id` = '2';
UPDATE `product_unit` SET `unit_id` = '1', `isactive` = 1
WHERE `unit_id` = '1';
UPDATE `product_unit` SET `unit_id` = '1', `isactive` = 0
WHERE `unit_id` = '1';
UPDATE `product_unit` SET `unit_id` = '1', `isactive` = 1
WHERE `unit_id` = '1';
INSERT INTO `purchase_order` (`po_no`, `supplier_id`, `total_amnt`, `store_id`, `warehouse_id`, `createby`, `createdate`, `isapproved`) VALUES ('20180629065013', '2', '2075.00', 0, 0, '2', '2018-06-29 06:50:13', 0);
INSERT INTO `purchase_order_details` (`row_id`, `po_no`, `product_id`, `order_qty`, `product_rate`, `discount`, `store_id`) VALUES ('223678268712225', '20180629065013', '7', '20', '45', '', '2');
INSERT INTO `purchase_order_details` (`row_id`, `po_no`, `product_id`, `order_qty`, `product_rate`, `discount`, `store_id`) VALUES ('151716469765694', '20180629065013', '13', '10', '5', '', '3');
INSERT INTO `purchase_order_details` (`row_id`, `po_no`, `product_id`, `order_qty`, `product_rate`, `discount`, `store_id`) VALUES ('952254923713362', '20180629065013', '7', '25', '45', '', '4');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('purchase order', 'create', 'Orde Id-20180629065013 total amount-2075.00', '2', '2018-06-29 06:50:13');
UPDATE `purchase_order` SET `po_no` = '20180629065013', `supplier_id` = '2', `total_amnt` = '2146.00', `store_id` = 0, `warehouse_id` = 0, `createby` = '2', `createdate` = '2018-06-29 08:47:37', `isapproved` = 0
WHERE `po_no` = '20180629065013';
DELETE FROM `purchase_order_details`
WHERE `po_no` = '20180629065013';
INSERT INTO `purchase_order_details` (`row_id`, `po_no`, `product_id`, `order_qty`, `product_rate`, `discount`, `store_id`) VALUES ('114989262365794', '20180629065013', '7', '20', '45', '0', '2');
INSERT INTO `purchase_order_details` (`row_id`, `po_no`, `product_id`, `order_qty`, `product_rate`, `discount`, `store_id`) VALUES ('985597536729695', '20180629065013', '13', '10', '5', '0', '3');
INSERT INTO `purchase_order_details` (`row_id`, `po_no`, `product_id`, `order_qty`, `product_rate`, `discount`, `store_id`) VALUES ('543457424815575', '20180629065013', '7', '25', '45', '0', '4');
INSERT INTO `purchase_order_details` (`row_id`, `po_no`, `product_id`, `order_qty`, `product_rate`, `discount`, `store_id`) VALUES ('344696871812325', '20180629065013', '6', '3', '25', '4', '2');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('purchase Receive', 'update', 'Receive Id-20180629065013 total amount-2146.00', '2', '2018-06-29 08:47:37');
INSERT INTO `language` (`phrase`) VALUES ('select');
UPDATE `language` SET `english` = 'Restore Successfully'
WHERE `phrase` = 'restore_successfully';
UPDATE `language` SET `english` = 'Retail Price'
WHERE `phrase` = 'retail_price';
UPDATE `language` SET `english` = 'Retl Price'
WHERE `phrase` = 'retprice';
UPDATE `language` SET `english` = 'Right To Left'
WHERE `phrase` = 'right_to_left';
UPDATE `language` SET `english` = 'Role'
WHERE `phrase` = 'role';
UPDATE `language` SET `english` = 'Role List'
WHERE `phrase` = 'role_list';
UPDATE `language` SET `english` = 'Role Name'
WHERE `phrase` = 'role_name';
UPDATE `language` SET `english` = 'Role Permission'
WHERE `phrase` = 'role_permission';
UPDATE `language` SET `english` = 'Role Permission List'
WHERE `phrase` = 'role_permission_list';
UPDATE `language` SET `english` = 'Sales'
WHERE `phrase` = 'sale';
UPDATE `language` SET `english` = 'Sales Man'
WHERE `phrase` = 'sales_man';
UPDATE `language` SET `english` = 'Save'
WHERE `phrase` = 'save';
UPDATE `language` SET `english` = 'Save Successfully!'
WHERE `phrase` = 'save_successfully';
UPDATE `language` SET `english` = 'Search'
WHERE `phrase` = 'search';
UPDATE `language` SET `english` = 'See All Messages'
WHERE `phrase` = 'see_all_message';
UPDATE `language` SET `english` = 'Select'
WHERE `phrase` = 'select';
UPDATE `language` SET `english` = 'Select Option'
WHERE `phrase` = 'select_option';
UPDATE `language` SET `english` = 'Send'
WHERE `phrase` = 'send';
UPDATE `language` SET `english` = 'Sender Name'
WHERE `phrase` = 'sender_name';
UPDATE `language` SET `english` = 'Sent'
WHERE `phrase` = 'sent';
UPDATE `language` SET `english` = 'Sent Message'
WHERE `phrase` = 'sent_message';
UPDATE `language` SET `english` = 'Set'
WHERE `phrase` = 'set';
UPDATE `language` SET `english` = 'Setting'
WHERE `phrase` = 'setting';
UPDATE `language` SET `english` = 'Application Alignment'
WHERE `phrase` = 'site_align';
UPDATE `language` SET `english` = 'size'
WHERE `phrase` = 'size';
INSERT INTO `purchase_receive` (`receive_id`, `po_no`, `supplier_id`, `store_id`, `warehouse_id`, `voucher_no`, `receive_by`, `receive_date`) VALUES ('20180629111230', '20180629065013', '2', 0, 0, 1015, '2', '2018-06-29 11:12:30');
INSERT INTO `purchase_receive_details` (`receive_id`, `product_id`, `receive_qty`, `product_rate`, `store_id`, `discount`) VALUES ('20180629111230', '7', '20', '45', '2', '');
INSERT INTO `purchase_receive_details` (`receive_id`, `product_id`, `receive_qty`, `product_rate`, `store_id`, `discount`) VALUES ('20180629111230', '6', '3', '25', '2', '');
INSERT INTO `purchase_receive_details` (`receive_id`, `product_id`, `receive_qty`, `product_rate`, `store_id`, `discount`) VALUES ('20180629111230', '13', '10', '5', '3', '');
INSERT INTO `purchase_receive_details` (`receive_id`, `product_id`, `receive_qty`, `product_rate`, `store_id`, `discount`) VALUES ('20180629111230', '7', '25', '45', '4', '25');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('purchase order receive', 'create', 'Orde Id- total amount-2125.00', '2', '2018-06-29 11:12:30');
INSERT INTO `purchase_receive` (`receive_id`, `po_no`, `supplier_id`, `store_id`, `warehouse_id`, `voucher_no`, `receive_by`, `receive_date`) VALUES ('20180629114050', '', '2', 0, 0, 1016, '2', '2018-06-29 11:40:50');
INSERT INTO `purchase_receive_details` (`receive_id`, `product_id`, `receive_qty`, `product_rate`, `store_id`, `discount`) VALUES ('20180629114050', '7', '1', '25', '2', '2');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('purchase order receive', 'create', 'Orde Id- total amount-68.00', '2', '2018-06-29 11:40:50');
INSERT INTO `purchase_order` (`po_no`, `supplier_id`, `total_amnt`, `store_id`, `warehouse_id`, `createby`, `createdate`, `isapproved`) VALUES ('20180629114146', '1', '542.00', 0, 0, '2', '2018-06-29 11:41:46', 0);
INSERT INTO `purchase_order_details` (`row_id`, `po_no`, `product_id`, `order_qty`, `product_rate`, `discount`, `store_id`) VALUES ('511353946929455', '20180629114146', '7', '10', '45', '5', '3');
INSERT INTO `purchase_order_details` (`row_id`, `po_no`, `product_id`, `order_qty`, `product_rate`, `discount`, `store_id`) VALUES ('475217151832134', '20180629114146', '6', '4', '25', '3', '2');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('purchase order', 'create', 'Orde Id-20180629114146 total amount-542.00', '2', '2018-06-29 11:41:47');
INSERT INTO `purchase_receive` (`receive_id`, `po_no`, `supplier_id`, `store_id`, `warehouse_id`, `voucher_no`, `receive_by`, `receive_date`) VALUES ('20180629114242', '20180629114146', '1', 0, 0, 1017, '2', '2018-06-29 11:42:42');
INSERT INTO `purchase_receive_details` (`receive_id`, `product_id`, `receive_qty`, `product_rate`, `store_id`, `discount`) VALUES ('20180629114242', '7', '2', '25', '2', '');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('purchase order receive', 'create', 'Orde Id- total amount-90.00', '2', '2018-06-29 11:42:42');
INSERT INTO `purchase_receive` (`receive_id`, `po_no`, `supplier_id`, `store_id`, `warehouse_id`, `voucher_no`, `receive_by`, `receive_date`) VALUES ('20180629114655', '20180629114146', '1', 0, 0, 1018, '2', '2018-06-29 11:46:55');
INSERT INTO `purchase_receive_details` (`receive_id`, `product_id`, `receive_qty`, `product_rate`, `store_id`, `discount`) VALUES ('20180629114655', '6', '1', '25', '2', '');
INSERT INTO `purchase_receive_details` (`receive_id`, `product_id`, `receive_qty`, `product_rate`, `store_id`, `discount`) VALUES ('20180629114655', '7', '', '45', '3', '');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('purchase order receive', 'create', 'Orde Id- total amount-25.00', '2', '2018-06-29 11:46:55');
INSERT INTO `purchase_order` (`po_no`, `supplier_id`, `total_amnt`, `store_id`, `warehouse_id`, `createby`, `createdate`, `isapproved`) VALUES ('20180629120153', '1', '25.00', 0, 0, '2', '2018-06-29 12:01:53', 0);
INSERT INTO `purchase_order_details` (`row_id`, `po_no`, `product_id`, `order_qty`, `product_rate`, `discount`, `store_id`) VALUES ('567879927927544', '20180629120153', '6', '1', '25', '', '2');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('purchase order', 'create', 'Orde Id-20180629120153 total amount-25.00', '2', '2018-06-29 12:01:53');
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
UPDATE `user` SET `last_login` = '2018-06-30 05:17:46', `ip_address` = '::1'
WHERE `id` = '2';
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
UPDATE `language` SET `english` = 'Cash Sale List'
WHERE `phrase` = 'cash_sale_list';
UPDATE `language` SET `english` = 'Category'
WHERE `phrase` = 'category';
UPDATE `language` SET `english` = 'Category List'
WHERE `phrase` = 'category_list';
UPDATE `language` SET `english` = 'Category Name'
WHERE `phrase` = 'category_name';
UPDATE `language` SET `english` = 'Checked By'
WHERE `phrase` = 'checked_by';
UPDATE `language` SET `english` = 'Check_receive'
WHERE `phrase` = 'check_receive';
UPDATE `language` SET `english` = 'CNIC'
WHERE `phrase` = 'cnic';
UPDATE `language` SET `english` = 'Code'
WHERE `phrase` = 'code';
UPDATE `language` SET `english` = 'Contact#'
WHERE `phrase` = 'contact';
UPDATE `language` SET `english` = 'Create'
WHERE `phrase` = 'create';
UPDATE `language` SET `english` = 'Create User Role'
WHERE `phrase` = 'create_user_role';
UPDATE `language` SET `english` = 'Credit'
WHERE `phrase` = 'credit';
UPDATE `language` SET `english` = 'Credit Sale'
WHERE `phrase` = 'creditsale';
UPDATE `language` SET `english` = 'Credit Receive'
WHERE `phrase` = 'credit_receive';
UPDATE `language` SET `english` = 'Credit Sale List'
WHERE `phrase` = 'credit_sale_list';
UPDATE `language` SET `english` = 'Customer'
WHERE `phrase` = 'customer';
UPDATE `language` SET `english` = 'Customer CNC'
WHERE `phrase` = 'customer_cnic';
UPDATE `language` SET `english` = 'Customer Code'
WHERE `phrase` = 'customer_code';
UPDATE `language` SET `english` = 'Customer Name'
WHERE `phrase` = 'customer_name';
UPDATE `language` SET `english` = 'Customer Type'
WHERE `phrase` = 'customer_type';
UPDATE `language` SET `english` = 'Dashboard'
WHERE `phrase` = 'dashboard';
UPDATE `language` SET `english` = 'Database Backup'
WHERE `phrase` = 'database_backup';
UPDATE `language` SET `english` = 'Data Import First'
WHERE `phrase` = 'data_import_first';
UPDATE `language` SET `english` = 'Data Import Successfully!'
WHERE `phrase` = 'data_import_successfully';
UPDATE `language` SET `english` = 'Data Import To Database'
WHERE `phrase` = 'data_import_to_database';
INSERT INTO `customer` (`customer_code`, `customer_name`, `customer_phone`, `type`, `job_designation`, `store_id`, `customer_address`, `customer_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('cr-5', 'kajol', '23423', '3', 'sdfasd', '2', 'dsfds', '5434234', 'fsdaf', 1, '2', '2018-06-30 05:48:28');
INSERT INTO `customer` (`customer_code`, `customer_name`, `customer_phone`, `type`, `job_designation`, `store_id`, `customer_address`, `customer_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('cr-5', 'kajol', '23423', '3', 'sdfasd', '2', 'dsfds', '5434234', 'fsdaf', 1, '2', '2018-06-30 05:48:36');
INSERT INTO `customer` (`customer_code`, `customer_name`, `customer_phone`, `type`, `job_designation`, `store_id`, `customer_address`, `customer_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('cr-6', 'hj', '453', '3', 'dfgdf', '2', 'fgdsf', '3452', 'gsdfg', 1, '2', '2018-06-30 05:54:16');
INSERT INTO `customer` (`customer_code`, `customer_name`, `customer_phone`, `type`, `job_designation`, `store_id`, `customer_address`, `customer_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('cc-2', 'naem', '3424', '1', NULL, '2', NULL, '435435', NULL, 1, '2', '2018-06-30 06:05:19');
DROP TABLE `stock_movement`;
DROP TABLE `stock_movement_details`;
DELETE FROM `module`
WHERE `id` = '15';
DELETE FROM `role_permission`
WHERE `fk_module_id` = '15';
INSERT INTO `module` (`id`, `name`, `description`, `image`, `directory`, `status`) VALUES (NULL, 'stockmovment Management', 'stockmovment Information', 'application/modules/stockmovment/assets/images/thumbnail.jpg', 'stockmovment', 1);
DELETE FROM `sec_userrole`
WHERE `user_id` = '23';
INSERT INTO `sec_userrole` (`user_id`, `roleid`, `createby`, `createdate`) VALUES ('23', '2', '2', '2018-06-30 07:57:37');
INSERT INTO `sec_userrole` (`user_id`, `roleid`, `createby`, `createdate`) VALUES ('23', '3', '2', '2018-06-30 07:57:37');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('User Role', 'update', 'Role id :', '2', '2018-06-30 07:57:37');
INSERT INTO `supplier` (`supplier_id`, `supplier_name`, `supplier_code`, `phone`, `address`, `email`, `contact_per_name`, `c_p_contact`, `isactive`, `createby`, `createdate`, `updateby`, `updatedate`) VALUES ('', 'Abul Hossain', 'sup-3', '34234', 'Dhanmondi', 'Abulhossain@gmail.com', 'Mahmud', '346456345', 1, '2', '2018-06-30 08:32:04', '', '');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Supplier', 'create', 'Supplier ID :3', '2', '2018-06-30 08:32:04');
INSERT INTO `language` (`phrase`) VALUES ('contact_per_name');
INSERT INTO `language` (`phrase`) VALUES ('c_p_contact');
UPDATE `language` SET `english` = 'Cash Sale List'
WHERE `phrase` = 'cash_sale_list';
UPDATE `language` SET `english` = 'Category'
WHERE `phrase` = 'category';
UPDATE `language` SET `english` = 'Category List'
WHERE `phrase` = 'category_list';
UPDATE `language` SET `english` = 'Category Name'
WHERE `phrase` = 'category_name';
UPDATE `language` SET `english` = 'Checked By'
WHERE `phrase` = 'checked_by';
UPDATE `language` SET `english` = 'Check_receive'
WHERE `phrase` = 'check_receive';
UPDATE `language` SET `english` = 'CNIC'
WHERE `phrase` = 'cnic';
UPDATE `language` SET `english` = 'Code'
WHERE `phrase` = 'code';
UPDATE `language` SET `english` = 'Contact#'
WHERE `phrase` = 'contact';
UPDATE `language` SET `english` = 'Contact Person '
WHERE `phrase` = 'contact_per_name';
UPDATE `language` SET `english` = 'Create'
WHERE `phrase` = 'create';
UPDATE `language` SET `english` = 'Create User Role'
WHERE `phrase` = 'create_user_role';
UPDATE `language` SET `english` = 'Credit'
WHERE `phrase` = 'credit';
UPDATE `language` SET `english` = 'Credit Sale'
WHERE `phrase` = 'creditsale';
UPDATE `language` SET `english` = 'Credit Receive'
WHERE `phrase` = 'credit_receive';
UPDATE `language` SET `english` = 'Credit Sale List'
WHERE `phrase` = 'credit_sale_list';
UPDATE `language` SET `english` = 'Customer'
WHERE `phrase` = 'customer';
UPDATE `language` SET `english` = 'Customer CNC'
WHERE `phrase` = 'customer_cnic';
UPDATE `language` SET `english` = 'Customer Code'
WHERE `phrase` = 'customer_code';
UPDATE `language` SET `english` = 'Customer Name'
WHERE `phrase` = 'customer_name';
UPDATE `language` SET `english` = 'Customer Type'
WHERE `phrase` = 'customer_type';
UPDATE `language` SET `english` = 'Person Contact#'
WHERE `phrase` = 'c_p_contact';
UPDATE `language` SET `english` = 'Dashboard'
WHERE `phrase` = 'dashboard';
UPDATE `language` SET `english` = 'Database Backup'
WHERE `phrase` = 'database_backup';
UPDATE `language` SET `english` = 'Data Import First'
WHERE `phrase` = 'data_import_first';
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
INSERT INTO `customer` (`customer_id`, `customer_code`, `customer_name`, `type`, `customer_phone`, `store_id`, `job_designation`, `customer_address`, `customer_cnic`, `business_address`, `isactive`, `createby`, `createdate`, `updateby`, `updatedate`) VALUES ('', 'cc-2', 'dfsdf', '1', '432432', '4', 'fsdf', 'sdfsdf', '324234', 'sdfsdf', '1', '2', '2018-06-30 09:58:15', '', '');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Customer', 'create', 9, '2', '2018-06-30 09:58:15');
INSERT INTO `customer` (`customer_code`, `customer_name`, `customer_phone`, `type`, `job_designation`, `store_id`, `customer_address`, `customer_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('cc-2', 'fdgdsg', '34543', '1', NULL, '2', NULL, '2342342', NULL, 1, '2', '2018-06-30 10:09:28');
INSERT INTO `purchase_order` (`po_no`, `supplier_id`, `total_amnt`, `store_id`, `warehouse_id`, `createby`, `createdate`, `isapproved`) VALUES ('20180630104049', '1', '3425.00', 0, 0, '2', '2018-06-30 10:40:49', 0);
INSERT INTO `purchase_order_details` (`row_id`, `po_no`, `product_id`, `order_qty`, `product_rate`, `discount`, `store_id`) VALUES ('254183447513541', '20180630104049', '6', '50', '25', '50', '2');
INSERT INTO `purchase_order_details` (`row_id`, `po_no`, `product_id`, `order_qty`, `product_rate`, `discount`, `store_id`) VALUES ('138554655382894', '20180630104049', '7', '50', '45', '25', '2');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('purchase order', 'create', 'Orde Id-20180630104049 total amount-3425.00', '2', '2018-06-30 10:40:49');
INSERT INTO `purchase_receive` (`receive_id`, `po_no`, `supplier_id`, `store_id`, `warehouse_id`, `voucher_no`, `receive_by`, `receive_date`) VALUES ('20180630104145', '20180630104049', '1', 0, 0, 1000, '2', '2018-06-30 10:41:45');
INSERT INTO `purchase_receive_details` (`receive_id`, `product_id`, `receive_qty`, `product_rate`, `store_id`, `discount`) VALUES ('20180630104145', '7', '50', '45', '2', '');
INSERT INTO `purchase_receive_details` (`receive_id`, `product_id`, `receive_qty`, `product_rate`, `store_id`, `discount`) VALUES ('20180630104145', '6', '50', '25', '2', '');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('purchase order receive', 'create', 'Orde Id- total amount-3500.00', '2', '2018-06-30 10:41:45');
UPDATE `user` SET `last_logout` = '2018-06-30 10:46:24'
WHERE `id` = '2';
UPDATE `user` SET `last_login` = '2018-06-30 10:46:44', `ip_address` = '::1'
WHERE `id` = '23';
UPDATE `user` SET `last_login` = '2018-06-30 10:47:48', `ip_address` = '::1'
WHERE `id` = '2';
DELETE FROM `role_permission`
WHERE `role_id` = '2';
INSERT INTO `role_permission` (`create`, `delete`, `fk_module_id`, `read`, `role_id`, `update`) VALUES ('1','1','3','1','2','1'), (0,0,'4',0,'2',0), (0,0,'5',0,'2',0), (0,0,'6',0,'2',0), (0,0,'7',0,'2',0), (0,0,'8',0,'2',0), (0,0,'9',0,'2',0), ('1','1','10','1','2','1'), (0,0,'11',0,'2',0), ('1','1','12','1','2','1'), (0,0,'13',0,'2',0), (0,0,'14',0,'2',0), (0,0,'16',0,'2',0), ('1','1','17','1','2','1');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Role Permission', 'update', 'Role id :2', '2', '2018-06-30 10:50:02');
UPDATE `user` SET `last_logout` = '2018-06-30 10:50:12'
WHERE `id` = '23';
UPDATE `user` SET `last_login` = '2018-06-30 10:50:30', `ip_address` = '::1'
WHERE `id` = '23';
INSERT INTO `stock_movement` (`proposal_code`, `for_store_id`, `from_store_id`, `proposal_datetime`, `proposal_by`) VALUES ('p-0001', '3', '2', '2018-06-30 10:50:34', '23');
INSERT INTO `stock_movement_details` (`movement_id`, `product_id`, `proposal_qty`) VALUES (1, '6', '20');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Stockmovment', 'create', 'Stockmovment ID :1', '23', '2018-06-30 10:51:10');
INSERT INTO `purchase_receive` (`receive_id`, `store_id`, `voucher_no`, `receive_date`) VALUES ('20180630105140', '3', 1001, '2018-06-30 10:51:40');
INSERT INTO `purchase_receive_details` (`receive_id`, `product_id`, `receive_qty`) VALUES ('20180630105140', '6', '20');
INSERT INTO `purchase_receive_details` (`receive_id`, `product_id`, `receive_qty`) VALUES ('201806301040', '6', -20);
INSERT INTO `purchase_receive` (`receive_id`, `store_id`, `voucher_no`, `receive_date`) VALUES ('201806301040', '2', 1001, '2018-06-30 10:51:40');
UPDATE `stock_movement` SET `movement_id` = '1', `is_received` = 1
WHERE `movement_id` = '1';
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('stockmovement ', 'create', 'receive_id-', '2', '2018-06-30 10:51:41');
INSERT INTO `stock_movement` (`proposal_code`, `for_store_id`, `from_store_id`, `proposal_datetime`, `proposal_by`) VALUES ('p-2', '2', '3', '2018-06-30 11:07:48', '2');
INSERT INTO `stock_movement` (`proposal_code`, `for_store_id`, `from_store_id`, `proposal_datetime`, `proposal_by`) VALUES ('p-2', '2', '3', '2018-06-30 11:08:10', '2');
INSERT INTO `stock_movement` (`proposal_code`, `for_store_id`, `from_store_id`, `proposal_datetime`, `proposal_by`) VALUES ('p-2', '3', '2', '2018-06-30 11:12:24', '23');
INSERT INTO `stock_movement` (`proposal_code`, `for_store_id`, `from_store_id`, `proposal_datetime`, `proposal_by`) VALUES ('p-2', '3', '2', '2018-06-30 11:13:16', '23');
INSERT INTO `stock_movement` (`proposal_code`, `for_store_id`, `from_store_id`, `proposal_datetime`, `proposal_by`) VALUES ('p-2', '3', '2', '2018-06-30 11:15:20', '23');
INSERT INTO `stock_movement` (`proposal_code`, `for_store_id`, `from_store_id`, `proposal_datetime`, `proposal_by`) VALUES ('p-2', '3', '2', '2018-06-30 11:19:54', '23');
INSERT INTO `stock_movement` (`proposal_code`, `for_store_id`, `from_store_id`, `proposal_datetime`, `proposal_by`) VALUES ('p-2', '3', '2', '2018-06-30 11:21:08', '23');
INSERT INTO `stock_movement_details` (`movement_id`, `product_id`, `proposal_qty`) VALUES (8, '6', '10');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Stockmovment', 'create', 'Stockmovment ID :8', '23', '2018-06-30 11:21:20');
INSERT INTO `purchase_receive` (`receive_id`, `store_id`, `voucher_no`, `receive_date`) VALUES ('20180630112143', '3', 1002, '2018-06-30 11:21:43');
INSERT INTO `purchase_receive_details` (`receive_id`, `product_id`, `receive_qty`, `store_id`) VALUES ('20180630112143', '6', '10', '3');
INSERT INTO `purchase_receive_details` (`receive_id`, `product_id`, `receive_qty`, `store_id`) VALUES ('20180630112143', '6', -10, '2');
INSERT INTO `purchase_receive` (`receive_id`, `store_id`, `voucher_no`, `receive_date`) VALUES ('20180630112143', '2', 1002, '2018-06-30 11:21:43');
UPDATE `stock_movement` SET `movement_id` = '8', `is_received` = 1
WHERE `movement_id` = '8';
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('stockmovement ', 'create', 'receive_id-', '2', '2018-06-30 11:21:43');
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
UPDATE `user` SET `last_logout` = '2018-06-30 11:35:20'
WHERE `id` = '23';
UPDATE `user` SET `last_login` = '2018-06-30 11:35:29', `ip_address` = '::1'
WHERE `id` = '2';
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
INSERT INTO `sales_parent` (`sale_id`, `invoice_no`, `customer_id`, `sale_type_id`, `store_id`, `salesman`, `sales_date`, `sales_time`, `gurrantor_1`, `gurrantor_2`, `advance_amnt`, `lease_id`, `inquiry_officer`, `remaining_amnt`, `installment_amnt`, `package_price`, `total_amnt`) VALUES ('20180630115711', '1000', '1', '1', '2', '2', '2018-06-30', '11:57:11', NULL, NULL, '', NULL, NULL, 0, 0, 0, '70.00');
INSERT INTO `payment_collection` (`sale_id`, `invoice_no`, `customer_id`, `receive_amnt`, `due_amnt`, `receive_by`, `receive_date`) VALUES ('20180630115711', '1000', '1', '70.00', NULL, '2', '2018-06-30');
INSERT INTO `sale_details` (`sale_id`, `product_id`, `qty`, `sell_price`, `sale_type_id`) VALUES ('20180630115711', '6', '2', '35', '1');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Sales', 'create', 'invoice_no-1000 total amount-70.00', '2', '2018-06-30 11:57:11');
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
UPDATE `user` SET `last_logout` = '2018-06-30 12:03:40'
WHERE `id` = '2';
UPDATE `user` SET `last_login` = '2018-06-30 12:03:59', `ip_address` = '::1'
WHERE `id` = '23';
INSERT INTO `stock_movement` (`proposal_code`, `for_store_id`, `from_store_id`, `proposal_datetime`, `proposal_by`) VALUES ('p-3', '3', '2', '2018-06-30 12:04:03', '23');
INSERT INTO `stock_movement_details` (`movement_id`, `product_id`, `proposal_qty`) VALUES (9, '6', '3');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Stockmovment', 'create', 'Stockmovment ID :9', '23', '2018-06-30 12:05:08');
INSERT INTO `purchase_receive` (`receive_id`, `store_id`, `voucher_no`, `receive_date`) VALUES ('20180630120540', '3', 1003, '2018-06-30 12:05:40');
INSERT INTO `purchase_receive_details` (`receive_id`, `product_id`, `receive_qty`, `store_id`) VALUES ('20180630120540', '6', '3', '3');
INSERT INTO `purchase_receive_details` (`receive_id`, `product_id`, `receive_qty`, `store_id`) VALUES ('20180630120540', '6', -3, '2');
INSERT INTO `purchase_receive` (`receive_id`, `store_id`, `voucher_no`, `receive_date`) VALUES ('20180630120540', '2', 1003, '2018-06-30 12:05:40');
UPDATE `stock_movement` SET `movement_id` = '9', `is_received` = 1
WHERE `movement_id` = '9';
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('stockmovement ', 'create', 'receive_id-', '2', '2018-06-30 12:05:40');
INSERT INTO `language` (`phrase`) VALUES ('remark');
UPDATE `language` SET `english` = 'Proposal QTY'
WHERE `phrase` = 'proposal_qty';
UPDATE `language` SET `english` = 'Proposed By'
WHERE `phrase` = 'proposed_by';
UPDATE `language` SET `english` = 'Puchase Order'
WHERE `phrase` = 'purchase_order';
UPDATE `language` SET `english` = 'Purchase Price'
WHERE `phrase` = 'purchase_price';
UPDATE `language` SET `english` = 'Pur Price'
WHERE `phrase` = 'pur_price';
UPDATE `language` SET `english` = 'Qty'
WHERE `phrase` = 'quantity';
UPDATE `language` SET `english` = 'Read'
WHERE `phrase` = 'read';
UPDATE `language` SET `english` = 'Read/Unread'
WHERE `phrase` = 'read_unread';
UPDATE `language` SET `english` = 'Receive'
WHERE `phrase` = 'receive';
UPDATE `language` SET `english` = 'Receiver Name'
WHERE `phrase` = 'receiver_name';
UPDATE `language` SET `english` = 'Receive Amount'
WHERE `phrase` = 'receive_amnt';
UPDATE `language` SET `english` = 'Receive List'
WHERE `phrase` = 'receive_list';
UPDATE `language` SET `english` = 'Receive QTY'
WHERE `phrase` = 'receive_qty';
UPDATE `language` SET `english` = 'Receive QTY'
WHERE `phrase` = 'receive_quantity';
UPDATE `language` SET `english` = 'Recovery'
WHERE `phrase` = 'recovery';
UPDATE `language` SET `english` = 'Recovery Received'
WHERE `phrase` = 'recovery_received';
UPDATE `language` SET `english` = 'Recovery Summary Report'
WHERE `phrase` = 'recovery_summary_report';
UPDATE `language` SET `english` = 'Recovery Summary Report Datewise'
WHERE `phrase` = 'recovery_summary_report_datewise';
UPDATE `language` SET `english` = 'Remaining'
WHERE `phrase` = 'remaining';
UPDATE `language` SET `english` = 'Remainig Amount'
WHERE `phrase` = 'remaining_amnt';
UPDATE `language` SET `english` = 'Remaining A/C'
WHERE `phrase` = 'remaning_ac';
UPDATE `language` SET `english` = 'Remaining Amount'
WHERE `phrase` = 'remaning_amount';
UPDATE `language` SET `english` = 'Remark'
WHERE `phrase` = 'remark';
UPDATE `language` SET `english` = 'Remove Successfully!'
WHERE `phrase` = 'remove_successfully';
UPDATE `language` SET `english` = 'Report'
WHERE `phrase` = 'report';
INSERT INTO `stock_movement` (`proposal_code`, `for_store_id`, `from_store_id`, `proposal_datetime`, `proposal_by`) VALUES ('p-4', '3', '2', '2018-06-30 14:05:05', '23');
INSERT INTO `stock_movement_details` (`movement_id`, `product_id`, `proposal_qty`) VALUES (10, '7', '5');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Stockmovment', 'create', 'Stockmovment ID :10', '23', '2018-06-30 14:05:19');
INSERT INTO `purchase_receive` (`receive_id`, `store_id`, `voucher_no`, `receive_date`) VALUES ('20180630140553', '3', 1004, '2018-06-30 14:05:53');
INSERT INTO `purchase_receive_details` (`receive_id`, `product_id`, `receive_qty`, `store_id`) VALUES ('20180630140553', '7', '5', '3');
INSERT INTO `purchase_receive_details` (`receive_id`, `product_id`, `receive_qty`, `store_id`) VALUES ('20180630140553', '7', -5, '2');
INSERT INTO `purchase_receive` (`receive_id`, `store_id`, `voucher_no`, `receive_date`) VALUES ('20180630140553', '2', 1004, '2018-06-30 14:05:53');
UPDATE `stock_movement` SET `movement_id` = '10', `is_received` = 1
WHERE `movement_id` = '10';
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('stockmovement ', 'create', 'receive_id-', '2', '2018-06-30 14:05:53');
UPDATE `stock_movement` SET `movement_id` = '10', `proposal_code` = 'p-4', `for_store_id` = '2', `from_store_id` = '2', `proposal_datetime` = '2018-06-30 14:05:05', `proposal_by` = '23', `issue_by` = '2', `issue_code` = 'is-1', `issue_datetime` = '2018-06-30 14:07:00', `issue_remarks` = 'sdfasdf', `is_issued` = 1
WHERE `movement_id` = '10';
UPDATE `stock_movement` SET `movement_id` = '10', `proposal_code` = 'p-4', `for_store_id` = '2', `from_store_id` = '2', `proposal_datetime` = '2018-06-30 14:05:05', `proposal_by` = '23', `issue_by` = '2', `issue_code` = 'is-1', `issue_datetime` = '2018-06-30 14:10:55', `issue_remarks` = 'sdfasdf', `is_issued` = 1
WHERE `movement_id` = '10';
UPDATE `stock_movement` SET `movement_id` = '10', `proposal_code` = 'p-4', `for_store_id` = '2', `from_store_id` = '2', `proposal_datetime` = '2018-06-30 14:05:05', `proposal_by` = '23', `issue_by` = '2', `issue_code` = 'is-1', `issue_datetime` = '2018-06-30 14:11:05', `issue_remarks` = 'sdfasdf', `is_issued` = 1
WHERE `movement_id` = '10';
UPDATE `stock_movement_details` SET `title` = 'Add ', `Stockmovment` = 
WHERE `movement_id` = '10'
AND `product_id` = '7';
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Stockmovment', 'issue', 'Stockmovment ID :10', '2', '2018-06-30 14:11:06');
UPDATE `stock_movement` SET `movement_id` = '9', `proposal_code` = 'p-3', `for_store_id` = '2', `from_store_id` = '2', `proposal_datetime` = '2018-06-30 12:04:03', `proposal_by` = '23', `issue_by` = '2', `issue_code` = 'is-2', `issue_datetime` = '2018-06-30 14:12:24', `issue_remarks` = 'sdfsadf', `is_issued` = 1
WHERE `movement_id` = '9';
UPDATE `stock_movement_details` SET `movement_id` = '9', `product_id` = '6', `issue_qty` = NULL
WHERE `movement_id` = '9'
AND `product_id` = '6';
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Stockmovment', 'issue', 'Stockmovment ID :9', '2', '2018-06-30 14:12:24');
UPDATE `stock_movement` SET `movement_id` = '8', `proposal_code` = 'p-2', `for_store_id` = '2', `from_store_id` = '2', `proposal_datetime` = '2018-06-30 11:21:08', `proposal_by` = '23', `issue_by` = '2', `issue_code` = 'is-2', `issue_datetime` = '2018-06-30 14:27:18', `issue_remarks` = 'sdfsdf', `is_issued` = 1
WHERE `movement_id` = '8';
UPDATE `stock_movement` SET `movement_id` = '8', `proposal_code` = 'p-2', `for_store_id` = '2', `from_store_id` = '2', `proposal_datetime` = '2018-06-30 11:21:08', `proposal_by` = '23', `issue_by` = '2', `issue_code` = 'is-2', `issue_datetime` = '2018-06-30 14:28:17', `issue_remarks` = 'sdfsdfsdf', `is_issued` = 1
WHERE `movement_id` = '8';
INSERT INTO `stock_movement` (`proposal_code`, `for_store_id`, `from_store_id`, `proposal_datetime`, `proposal_by`) VALUES ('p-5', '3', '2', '2018-06-30 14:30:00', '23');
INSERT INTO `stock_movement_details` (`movement_id`, `product_id`, `proposal_qty`) VALUES (11, '7', '5');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Stockmovment', 'create', 'Stockmovment ID :11', '23', '2018-06-30 14:30:15');
UPDATE `stock_movement` SET `movement_id` = '11', `proposal_code` = 'p-5', `for_store_id` = '2', `from_store_id` = '2', `proposal_datetime` = '2018-06-30 14:30:00', `proposal_by` = '23', `issue_by` = '2', `issue_code` = 'is-1', `issue_datetime` = '2018-06-30 14:30:28', `issue_remarks` = 'sdfasdfsdf', `is_issued` = 1
WHERE `movement_id` = '11';
UPDATE `stock_movement` SET `movement_id` = '11', `proposal_code` = 'p-5', `for_store_id` = '2', `from_store_id` = '2', `proposal_datetime` = '2018-06-30 14:30:00', `proposal_by` = '23', `issue_by` = '2', `issue_code` = 'is-1', `issue_datetime` = '2018-06-30 14:46:53', `issue_remarks` = 'yyy', `is_issued` = 1
WHERE `movement_id` = '11';
UPDATE `stock_movement` SET `movement_id` = '11', `proposal_code` = 'p-5', `for_store_id` = '2', `from_store_id` = '2', `proposal_datetime` = '2018-06-30 14:30:00', `proposal_by` = '23', `issue_by` = '2', `issue_code` = 'is-1', `issue_datetime` = '2018-06-30 14:47:33', `issue_remarks` = 'ttt', `is_issued` = 1
WHERE `movement_id` = '11';
UPDATE `stock_movement` SET `movement_id` = '11', `proposal_code` = 'p-5', `for_store_id` = '2', `from_store_id` = '2', `proposal_datetime` = '2018-06-30 14:30:00', `proposal_by` = '23', `issue_by` = '2', `issue_code` = 'is-1', `issue_datetime` = '2018-06-30 14:48:22', `issue_remarks` = 'sdfasdfa', `is_issued` = 1
WHERE `movement_id` = '11';
UPDATE `user` SET `last_login` = '2018-07-01 05:22:13', `ip_address` = '::1'
WHERE `id` = '2';
UPDATE `user` SET `last_login` = '2018-07-01 05:25:52', `ip_address` = '::1'
WHERE `id` = '23';
INSERT INTO `stock_movement` (`proposal_code`, `for_store_id`, `from_store_id`, `proposal_datetime`, `proposal_by`) VALUES ('p-6', '3', '2', '2018-07-01 05:37:28', '23');
INSERT INTO `stock_movement_details` (`movement_id`, `product_id`, `proposal_qty`) VALUES (12, '6', '5');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Stockmovment', 'create', 'Stockmovment ID :12', '23', '2018-07-01 05:37:43');
UPDATE `stock_movement` SET `movement_id` = '12', `proposal_code` = 'p-6', `for_store_id` = '2', `from_store_id` = '2', `proposal_datetime` = '2018-07-01 05:37:28', `proposal_by` = '23', `issue_by` = '2', `issue_code` = 'is-1', `issue_datetime` = '2018-07-01 05:38:49', `issue_remarks` = 'test remark', `is_issued` = 1
WHERE `movement_id` = '12';
UPDATE `stock_movement` SET `movement_id` = '12', `proposal_code` = 'p-6', `for_store_id` = '2', `from_store_id` = '2', `proposal_datetime` = '2018-07-01 05:37:28', `proposal_by` = '23', `issue_by` = '2', `issue_code` = 'is-1', `issue_datetime` = '2018-07-01 05:47:49', `issue_remarks` = 'dsfsdf', `is_issued` = 1
WHERE `movement_id` = '12';
UPDATE `stock_movement` SET `movement_id` = '12', `proposal_code` = 'p-6', `for_store_id` = '2', `from_store_id` = '2', `proposal_datetime` = '2018-07-01 05:37:28', `proposal_by` = '23', `issue_by` = '2', `issue_code` = 'is-1', `issue_datetime` = '2018-07-01 05:51:54', `issue_remarks` = 'dsfsdf', `is_issued` = 1
WHERE `movement_id` = '12';
UPDATE `stock_movement` SET `movement_id` = '12', `proposal_code` = 'p-6', `for_store_id` = '2', `from_store_id` = '2', `proposal_datetime` = '2018-07-01 05:37:28', `proposal_by` = '23', `issue_by` = '2', `issue_code` = 'is-1', `issue_datetime` = '2018-07-01 05:56:16', `issue_remarks` = 'sdfasdfasdf', `is_issued` = 1
WHERE `movement_id` = '12';
UPDATE `stock_movement` SET `movement_id` = '12', `proposal_code` = 'p-6', `for_store_id` = '2', `from_store_id` = '2', `proposal_datetime` = '2018-07-01 05:37:28', `proposal_by` = '23', `issue_by` = '2', `issue_code` = 'is-1', `issue_datetime` = '2018-07-01 05:58:55', `issue_remarks` = '', `is_issued` = 1
WHERE `movement_id` = '12';
INSERT INTO `stock_movement` (`proposal_code`, `for_store_id`, `from_store_id`, `proposal_datetime`, `proposal_by`) VALUES ('p-0001', '3', '2', '2018-07-01 06:32:43', '23');
INSERT INTO `stock_movement_details` (`movement_id`, `product_id`, `proposal_qty`) VALUES (1, '6', '10');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Stockmovment', 'create', 'Stockmovment ID :1', '23', '2018-07-01 06:33:00');
UPDATE `stock_movement` SET `movement_id` = '1', `proposal_code` = 'p-0001', `for_store_id` = '2', `from_store_id` = '2', `proposal_datetime` = '2018-07-01 06:32:43', `proposal_by` = '23', `issue_by` = '2', `issue_code` = 'is-1', `issue_datetime` = '2018-07-01 06:34:09', `issue_remarks` = 'sdfasdf', `is_issued` = 1
WHERE `movement_id` = '1';
INSERT INTO `stock_movement_details` (`movement_id`, `product_id`, `issue_qty`) VALUES ('1', '6', '10');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Stockmovment', 'issue', 'Stockmovment ID :1', '2', '2018-07-01 06:34:09');
INSERT INTO `stock_movement` (`proposal_code`, `for_store_id`, `from_store_id`, `proposal_datetime`, `proposal_by`) VALUES ('p-2', '3', '2', '2018-07-01 06:40:44', '23');
INSERT INTO `stock_movement_details` (`movement_id`, `product_id`, `proposal_qty`) VALUES (2, '6', '4');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Stockmovment', 'create', 'Stockmovment ID :2', '23', '2018-07-01 06:41:01');
UPDATE `stock_movement` SET `movement_id` = '2', `proposal_code` = 'p-2', `for_store_id` = '2', `from_store_id` = '2', `proposal_datetime` = '2018-07-01 06:40:44', `proposal_by` = '23', `issue_by` = '2', `issue_code` = 'is-1', `issue_datetime` = '2018-07-01 06:41:18', `issue_remarks` = 'dsfdsaf', `is_issued` = 1
WHERE `movement_id` = '2';
UPDATE `stock_movement` SET `movement_id` = '2', `proposal_code` = 'p-2', `for_store_id` = '3', `from_store_id` = '2', `proposal_datetime` = '2018-07-01 06:40:44', `proposal_by` = '23', `issue_by` = '2', `for_warehouse` = 0, `from_warehouse` = 0, `issue_code` = 'is-1', `issue_datetime` = '2018-07-01 06:50:44', `issue_remarks` = 'sdfasdf', `is_issued` = 1
WHERE `movement_id` = '2';
UPDATE `stock_movement` SET `movement_id` = '2', `proposal_code` = 'p-2', `for_store_id` = '3', `from_store_id` = '2', `proposal_datetime` = '2018-07-01 06:40:44', `proposal_by` = '23', `issue_by` = '2', `for_warehouse` = 0, `from_warehouse` = 0, `issue_code` = 'is-1', `issue_datetime` = '2018-07-01 06:51:56', `issue_remarks` = 'dsfsd', `is_issued` = 1
WHERE `movement_id` = '2';
UPDATE `stock_movement` SET `movement_id` = '2', `proposal_code` = 'p-2', `for_store_id` = '3', `from_store_id` = '2', `proposal_datetime` = '2018-07-01 06:40:44', `proposal_by` = '23', `issue_by` = '2', `for_warehouse` = 0, `from_warehouse` = 0, `issue_code` = 'is-1', `issue_datetime` = '2018-07-01 06:53:07', `issue_remarks` = 'sdfsadf', `is_issued` = 1
WHERE `movement_id` = '2';
UPDATE `stock_movement` SET `movement_id` = '2', `proposal_code` = 'p-2', `for_store_id` = '3', `from_store_id` = '2', `proposal_datetime` = '2018-07-01 06:40:44', `proposal_by` = '23', `issue_by` = '2', `for_warehouse` = 0, `from_warehouse` = 0, `issue_code` = 'is-2', `issue_datetime` = '2018-07-01 07:00:00', `issue_remarks` = 'sdafsdf', `is_issued` = 1
WHERE `movement_id` = '2';
INSERT INTO `stock_movement_details` (`movement_id`, `product_id`, `issue_qty`, `proposal_qty`, `received_qty`) VALUES ('2', '6', '4', NULL, 0);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Stockmovment', 'issue', 'Stockmovment ID :2', '2', '2018-07-01 07:00:00');
INSERT INTO `stock_movement` (`proposal_code`, `for_store_id`, `from_store_id`, `proposal_datetime`, `proposal_by`) VALUES ('p-3', '3', '2', '2018-07-01 07:01:32', '23');
INSERT INTO `stock_movement_details` (`movement_id`, `product_id`, `proposal_qty`) VALUES (3, '6', '3');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Stockmovment', 'create', 'Stockmovment ID :3', '23', '2018-07-01 07:01:44');
UPDATE `stock_movement` SET `movement_id` = '3', `proposal_code` = 'p-3', `for_store_id` = '3', `from_store_id` = '2', `proposal_datetime` = '2018-07-01 07:01:32', `proposal_by` = '23', `issue_by` = '2', `for_warehouse` = 0, `from_warehouse` = 0, `issue_code` = 'is-3', `issue_datetime` = '2018-07-01 07:01:54', `issue_remarks` = 'sdfasdf', `is_issued` = 1
WHERE `movement_id` = '3';
INSERT INTO `stock_movement_details` (`movement_id`, `product_id`, `issue_qty`, `received_qty`) VALUES ('3', '6', '3', 0);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Stockmovment', 'issue', 'Stockmovment ID :3', '2', '2018-07-01 07:01:54');
UPDATE `stock_movement` SET `movement_id` = '3', `proposal_code` = 'p-3', `for_store_id` = '3', `from_store_id` = '2', `proposal_datetime` = '2018-07-01 07:01:32', `proposal_by` = '23', `issue_by` = '2', `for_warehouse` = 0, `from_warehouse` = 0, `issue_code` = 'is-3', `issue_datetime` = '2018-07-01 07:04:59', `issue_remarks` = '', `is_issued` = 1
WHERE `movement_id` = '3';
UPDATE `stock_movement` SET `movement_id` = '3', `proposal_code` = 'p-3', `for_store_id` = '3', `from_store_id` = '2', `proposal_datetime` = '2018-07-01 07:01:32', `proposal_by` = '23', `issue_by` = '2', `for_warehouse` = 0, `from_warehouse` = 0, `issue_code` = 'is-3', `issue_datetime` = '2018-07-01 07:06:44', `issue_remarks` = 'dsfasdf', `is_issued` = 1
WHERE `movement_id` = '3';
UPDATE `stock_movement` SET `movement_id` = '3', `proposal_code` = 'p-3', `for_store_id` = '3', `from_store_id` = '2', `proposal_datetime` = '2018-07-01 07:01:32', `proposal_by` = '23', `issue_by` = '2', `for_warehouse` = 0, `from_warehouse` = 0, `issue_code` = 'is-3', `issue_datetime` = '2018-07-01 07:07:07', `issue_remarks` = 'dsfasdf', `is_issued` = 1
WHERE `movement_id` = '3';
INSERT INTO `stock_movement_details` (`movement_id`, `product_id`, `issue_qty`, `received_qty`, `proposal_qty`) VALUES ('3', '6', '3', 0, 0);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Stockmovment', 'issue', 'Stockmovment ID :3', '2', '2018-07-01 07:07:07');
UPDATE `stock_movement` SET `movement_id` = '3', `proposal_code` = 'p-3', `for_store_id` = '3', `from_store_id` = '2', `proposal_datetime` = '2018-07-01 07:01:32', `proposal_by` = '23', `issue_by` = '2', `for_warehouse` = 0, `from_warehouse` = 0, `issue_code` = 'is-3', `issue_datetime` = '2018-07-01 07:07:58', `issue_remarks` = 'sdfasdf', `is_issued` = 1
WHERE `movement_id` = '3';
INSERT INTO `stock_movement_details` (`movement_id`, `product_id`, `issue_qty`, `received_qty`, `proposal_qty`) VALUES ('3', '6', '3', 0, 0);
UPDATE `stock_movement` SET `movement_id` = '3', `proposal_code` = 'p-3', `for_store_id` = '3', `from_store_id` = '2', `proposal_datetime` = '2018-07-01 07:01:32', `proposal_by` = '23', `issue_by` = '2', `for_warehouse` = 0, `from_warehouse` = 0, `issue_code` = 'is-3', `issue_datetime` = '2018-07-01 07:21:22', `issue_remarks` = 'sdfasdf', `is_issued` = 1
WHERE `movement_id` = '3';
INSERT INTO `stock_movement_details` (`movement_id`, `product_id`, `issue_qty`, `received_qty`, `proposal_qty`) VALUES ('3', '6', '3', 0, 0);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Stockmovment', 'issue', 'Stockmovment ID :3', '2', '2018-07-01 07:21:22');
INSERT INTO `stock_movement` (`proposal_code`, `for_store_id`, `from_store_id`, `proposal_datetime`, `proposal_by`) VALUES ('p-0001', '3', '2', '2018-07-01 07:22:52', '23');
INSERT INTO `stock_movement_details` (`movement_id`, `product_id`, `proposal_qty`) VALUES (1, '6', '5');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Stockmovment', 'create', 'Stockmovment ID :1', '23', '2018-07-01 07:23:02');
UPDATE `stock_movement` SET `movement_id` = '1', `proposal_code` = 'p-0001', `for_store_id` = '3', `from_store_id` = '2', `proposal_datetime` = '2018-07-01 07:22:52', `proposal_by` = '23', `issue_by` = '2', `for_warehouse` = 0, `from_warehouse` = 0, `issue_code` = 'is-1', `issue_datetime` = '2018-07-01 07:23:34', `issue_remarks` = 'sdfsadf', `is_issued` = 1
WHERE `movement_id` = '1';
INSERT INTO `stock_movement_details` (`movement_id`, `product_id`, `issue_qty`, `received_qty`, `proposal_qty`) VALUES ('1', '6', '5', 0, 0);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Stockmovment', 'issue', 'Stockmovment ID :1', '2', '2018-07-01 07:23:34');
INSERT INTO `purchase_receive` (`receive_id`, `store_id`, `voucher_no`, `receive_date`) VALUES ('20180701074429', '3', 1005, '2018-07-01 07:44:29');
INSERT INTO `purchase_receive_details` (`receive_id`, `product_id`, `receive_qty`, `store_id`) VALUES ('20180701074429', '6', '5', '3');
INSERT INTO `purchase_receive_details` (`receive_id`, `product_id`, `receive_qty`, `store_id`) VALUES ('20180701074429', '6', -5, '2');
INSERT INTO `purchase_receive` (`receive_id`, `store_id`, `voucher_no`, `receive_date`) VALUES ('20180701074429', '2', 1005, '2018-07-01 07:44:29');
UPDATE `stock_movement` SET `movement_id` = '1', `is_received` = 1
WHERE `movement_id` = '1';
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('stockmovement ', 'create', 'receive_id-', '23', '2018-07-01 07:44:29');
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
INSERT INTO `purchase_order` (`po_no`, `supplier_id`, `total_amnt`, `store_id`, `warehouse_id`, `createby`, `createdate`, `isapproved`) VALUES ('20180701080440', '3', '250.00', 0, 0, '23', '2018-07-01 08:04:40', 0);
INSERT INTO `purchase_order_details` (`row_id`, `po_no`, `product_id`, `order_qty`, `product_rate`, `discount`, `store_id`) VALUES ('438236968296233', '20180701080440', '6', '10', '25', '', '3');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('purchase order', 'create', 'Orde Id-20180701080440 total amount-250.00', '23', '2018-07-01 08:04:41');
INSERT INTO `purchase_receive` (`receive_id`, `po_no`, `supplier_id`, `store_id`, `warehouse_id`, `voucher_no`, `receive_by`, `receive_date`) VALUES ('20180701080509', '20180701080440', '3', 0, 0, 1006, '2', '2018-07-01 08:05:09');
INSERT INTO `purchase_receive_details` (`receive_id`, `product_id`, `receive_qty`, `product_rate`, `store_id`, `discount`) VALUES ('20180701080509', '6', '10', '25', '3', '');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('purchase order receive', 'create', 'Orde Id- total amount-250.00', '2', '2018-07-01 08:05:09');
INSERT INTO `language` (`phrase`) VALUES ('return');
UPDATE `language` SET `english` = 'Require Installment'
WHERE `phrase` = 'require_install';
UPDATE `language` SET `english` = 'Reset'
WHERE `phrase` = 'reset';
UPDATE `language` SET `english` = 'Restore Now!'
WHERE `phrase` = 'restore_now';
UPDATE `language` SET `english` = 'Restore Successfully'
WHERE `phrase` = 'restore_successfully';
UPDATE `language` SET `english` = 'Retail Price'
WHERE `phrase` = 'retail_price';
UPDATE `language` SET `english` = 'Retl Price'
WHERE `phrase` = 'retprice';
UPDATE `language` SET `english` = 'Return'
WHERE `phrase` = 'return';
UPDATE `language` SET `english` = 'Right To Left'
WHERE `phrase` = 'right_to_left';
UPDATE `language` SET `english` = 'Role'
WHERE `phrase` = 'role';
UPDATE `language` SET `english` = 'Role List'
WHERE `phrase` = 'role_list';
UPDATE `language` SET `english` = 'Role Name'
WHERE `phrase` = 'role_name';
UPDATE `language` SET `english` = 'Role Permission'
WHERE `phrase` = 'role_permission';
UPDATE `language` SET `english` = 'Role Permission List'
WHERE `phrase` = 'role_permission_list';
UPDATE `language` SET `english` = 'Sales'
WHERE `phrase` = 'sale';
UPDATE `language` SET `english` = 'Sales Man'
WHERE `phrase` = 'sales_man';
UPDATE `language` SET `english` = 'Save'
WHERE `phrase` = 'save';
UPDATE `language` SET `english` = 'Save Successfully!'
WHERE `phrase` = 'save_successfully';
UPDATE `language` SET `english` = 'Search'
WHERE `phrase` = 'search';
UPDATE `language` SET `english` = 'See All Messages'
WHERE `phrase` = 'see_all_message';
UPDATE `language` SET `english` = 'Select'
WHERE `phrase` = 'select';
UPDATE `language` SET `english` = 'Select Option'
WHERE `phrase` = 'select_option';
UPDATE `language` SET `english` = 'Send'
WHERE `phrase` = 'send';
UPDATE `language` SET `english` = 'Sender Name'
WHERE `phrase` = 'sender_name';
UPDATE `language` SET `english` = 'Sent'
WHERE `phrase` = 'sent';
UPDATE `language` SET `english` = 'Sent Message'
WHERE `phrase` = 'sent_message';
SET FOREIGN_KEY_CHECKS = 0;
CREATE TABLE IF NOT EXISTS `test` (
  `test_id` int(11) NOT NULL AUTO_INCREMENT,
  
  PRIMARY KEY (`test_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
SET FOREIGN_KEY_CHECKS = 1;
INSERT INTO `module` (`id`, `name`, `description`, `image`, `directory`, `status`) VALUES (NULL, 'Return', 'return Information', 'application/modules/return/assets/images/thumbnail.jpg', 'return', 1);
INSERT INTO `language` (`phrase`) VALUES ('please_input_correct_invoice_no');
UPDATE `language` SET `english` = 'Package  Code'
WHERE `phrase` = 'pakage_code';
UPDATE `language` SET `english` = 'Package Name'
WHERE `phrase` = 'pakage_name';
UPDATE `language` SET `english` = 'Password'
WHERE `phrase` = 'password';
UPDATE `language` SET `english` = 'Receiving '
WHERE `phrase` = 'payment';
UPDATE `language` SET `english` = 'You Have No Permission'
WHERE `phrase` = 'permission_error';
UPDATE `language` SET `english` = 'Phone'
WHERE `phrase` = 'phone';
UPDATE `language` SET `english` = 'Please another Product Code!!!'
WHERE `phrase` = 'please_choose_another_p_code';
UPDATE `language` SET `english` = 'Please configure synchronizer settings'
WHERE `phrase` = 'please_configure_synchronizer_settings';
UPDATE `language` SET `english` = 'Please Contact With Admin'
WHERE `phrase` = 'please_contact_with_admin';
UPDATE `language` SET `english` = 'Please Input a correct invoice number'
WHERE `phrase` = 'please_input_correct_invoice_no';
UPDATE `language` SET `english` = 'Please Try Again...'
WHERE `phrase` = 'please_try_again';
UPDATE `language` SET `english` = 'Please Wait...'
WHERE `phrase` = 'please_wait';
UPDATE `language` SET `english` = 'Preview'
WHERE `phrase` = 'preview';
UPDATE `language` SET `english` = 'Price'
WHERE `phrase` = 'price';
UPDATE `language` SET `english` = 'Product'
WHERE `phrase` = 'product';
UPDATE `language` SET `english` = 'Product Category'
WHERE `phrase` = 'product_category';
UPDATE `language` SET `english` = 'Product Code'
WHERE `phrase` = 'product_code';
UPDATE `language` SET `english` = 'Product Details'
WHERE `phrase` = 'product_details';
UPDATE `language` SET `english` = 'Product Info'
WHERE `phrase` = 'product_info';
UPDATE `language` SET `english` = 'Product List'
WHERE `phrase` = 'product_list';
UPDATE `language` SET `english` = 'Product Name'
WHERE `phrase` = 'product_name';
UPDATE `language` SET `english` = 'Profile'
WHERE `phrase` = 'profile';
UPDATE `language` SET `english` = 'Profile Setting'
WHERE `phrase` = 'profile_setting';
UPDATE `language` SET `english` = 'Project Root'
WHERE `phrase` = 'project_root';
UPDATE `language` SET `english` = 'Proposal Code'
WHERE `phrase` = 'proposal_code';
INSERT INTO `language` (`phrase`) VALUES ('sales_return_form');
UPDATE `language` SET `english` = 'Report'
WHERE `phrase` = 'report';
UPDATE `language` SET `english` = 'Require Installment'
WHERE `phrase` = 'require_install';
UPDATE `language` SET `english` = 'Reset'
WHERE `phrase` = 'reset';
UPDATE `language` SET `english` = 'Restore Now!'
WHERE `phrase` = 'restore_now';
UPDATE `language` SET `english` = 'Restore Successfully'
WHERE `phrase` = 'restore_successfully';
UPDATE `language` SET `english` = 'Retail Price'
WHERE `phrase` = 'retail_price';
UPDATE `language` SET `english` = 'Retl Price'
WHERE `phrase` = 'retprice';
UPDATE `language` SET `english` = 'Return'
WHERE `phrase` = 'return';
UPDATE `language` SET `english` = 'Right To Left'
WHERE `phrase` = 'right_to_left';
UPDATE `language` SET `english` = 'Role'
WHERE `phrase` = 'role';
UPDATE `language` SET `english` = 'Role List'
WHERE `phrase` = 'role_list';
UPDATE `language` SET `english` = 'Role Name'
WHERE `phrase` = 'role_name';
UPDATE `language` SET `english` = 'Role Permission'
WHERE `phrase` = 'role_permission';
UPDATE `language` SET `english` = 'Role Permission List'
WHERE `phrase` = 'role_permission_list';
UPDATE `language` SET `english` = 'Sales'
WHERE `phrase` = 'sale';
UPDATE `language` SET `english` = 'Sales Man'
WHERE `phrase` = 'sales_man';
UPDATE `language` SET `english` = 'Sales Return Form'
WHERE `phrase` = 'sales_return_form';
UPDATE `language` SET `english` = 'Save'
WHERE `phrase` = 'save';
UPDATE `language` SET `english` = 'Save Successfully!'
WHERE `phrase` = 'save_successfully';
UPDATE `language` SET `english` = 'Search'
WHERE `phrase` = 'search';
UPDATE `language` SET `english` = 'See All Messages'
WHERE `phrase` = 'see_all_message';
UPDATE `language` SET `english` = 'Select'
WHERE `phrase` = 'select';
UPDATE `language` SET `english` = 'Select Option'
WHERE `phrase` = 'select_option';
UPDATE `language` SET `english` = 'Send'
WHERE `phrase` = 'send';
UPDATE `language` SET `english` = 'Sender Name'
WHERE `phrase` = 'sender_name';
INSERT INTO `language` (`phrase`) VALUES ('sale_qty');
INSERT INTO `language` (`phrase`) VALUES ('return_qty');
UPDATE `language` SET `english` = 'Report'
WHERE `phrase` = 'report';
UPDATE `language` SET `english` = 'Require Installment'
WHERE `phrase` = 'require_install';
UPDATE `language` SET `english` = 'Reset'
WHERE `phrase` = 'reset';
UPDATE `language` SET `english` = 'Restore Now!'
WHERE `phrase` = 'restore_now';
UPDATE `language` SET `english` = 'Restore Successfully'
WHERE `phrase` = 'restore_successfully';
UPDATE `language` SET `english` = 'Retail Price'
WHERE `phrase` = 'retail_price';
UPDATE `language` SET `english` = 'Retl Price'
WHERE `phrase` = 'retprice';
UPDATE `language` SET `english` = 'Return'
WHERE `phrase` = 'return';
UPDATE `language` SET `english` = 'Ret.Qty'
WHERE `phrase` = 'return_qty';
UPDATE `language` SET `english` = 'Right To Left'
WHERE `phrase` = 'right_to_left';
UPDATE `language` SET `english` = 'Role'
WHERE `phrase` = 'role';
UPDATE `language` SET `english` = 'Role List'
WHERE `phrase` = 'role_list';
UPDATE `language` SET `english` = 'Role Name'
WHERE `phrase` = 'role_name';
UPDATE `language` SET `english` = 'Role Permission'
WHERE `phrase` = 'role_permission';
UPDATE `language` SET `english` = 'Role Permission List'
WHERE `phrase` = 'role_permission_list';
UPDATE `language` SET `english` = 'Sales'
WHERE `phrase` = 'sale';
UPDATE `language` SET `english` = 'Sales Man'
WHERE `phrase` = 'sales_man';
UPDATE `language` SET `english` = 'Sales Return Form'
WHERE `phrase` = 'sales_return_form';
UPDATE `language` SET `english` = 'Sal.Qty'
WHERE `phrase` = 'sale_qty';
UPDATE `language` SET `english` = 'Save'
WHERE `phrase` = 'save';
UPDATE `language` SET `english` = 'Save Successfully!'
WHERE `phrase` = 'save_successfully';
UPDATE `language` SET `english` = 'Search'
WHERE `phrase` = 'search';
UPDATE `language` SET `english` = 'See All Messages'
WHERE `phrase` = 'see_all_message';
UPDATE `language` SET `english` = 'Select'
WHERE `phrase` = 'select';
UPDATE `language` SET `english` = 'Select Option'
WHERE `phrase` = 'select_option';
INSERT INTO `language` (`phrase`) VALUES ('reason');
UPDATE `language` SET `english` = 'Proposal Date'
WHERE `phrase` = 'proposal_datetime';
UPDATE `language` SET `english` = 'Proposal QTY'
WHERE `phrase` = 'proposal_qty';
UPDATE `language` SET `english` = 'Proposed By'
WHERE `phrase` = 'proposed_by';
UPDATE `language` SET `english` = 'Puchase Order'
WHERE `phrase` = 'purchase_order';
UPDATE `language` SET `english` = 'Purchase Price'
WHERE `phrase` = 'purchase_price';
UPDATE `language` SET `english` = 'Pur Price'
WHERE `phrase` = 'pur_price';
UPDATE `language` SET `english` = 'Qty'
WHERE `phrase` = 'quantity';
UPDATE `language` SET `english` = 'Read'
WHERE `phrase` = 'read';
UPDATE `language` SET `english` = 'Read/Unread'
WHERE `phrase` = 'read_unread';
UPDATE `language` SET `english` = 'Reason'
WHERE `phrase` = 'reason';
UPDATE `language` SET `english` = 'Receive'
WHERE `phrase` = 'receive';
UPDATE `language` SET `english` = 'Receiver Name'
WHERE `phrase` = 'receiver_name';
UPDATE `language` SET `english` = 'Receive Amount'
WHERE `phrase` = 'receive_amnt';
UPDATE `language` SET `english` = 'Receive List'
WHERE `phrase` = 'receive_list';
UPDATE `language` SET `english` = 'Receive QTY'
WHERE `phrase` = 'receive_qty';
UPDATE `language` SET `english` = 'Receive QTY'
WHERE `phrase` = 'receive_quantity';
UPDATE `language` SET `english` = 'Recovery'
WHERE `phrase` = 'recovery';
UPDATE `language` SET `english` = 'Recovery Received'
WHERE `phrase` = 'recovery_received';
UPDATE `language` SET `english` = 'Recovery Summary Report'
WHERE `phrase` = 'recovery_summary_report';
UPDATE `language` SET `english` = 'Recovery Summary Report Datewise'
WHERE `phrase` = 'recovery_summary_report_datewise';
UPDATE `language` SET `english` = 'Remaining'
WHERE `phrase` = 'remaining';
UPDATE `language` SET `english` = 'Remainig Amount'
WHERE `phrase` = 'remaining_amnt';
UPDATE `language` SET `english` = 'Remaining A/C'
WHERE `phrase` = 'remaning_ac';
UPDATE `language` SET `english` = 'Remaining Amount'
WHERE `phrase` = 'remaning_amount';
UPDATE `language` SET `english` = 'Remark'
WHERE `phrase` = 'remark';
INSERT INTO `sales_parent` (`sale_id`, `invoice_no`, `customer_id`, `sale_type_id`, `store_id`, `salesman`, `sales_date`, `sales_time`, `gurrantor_1`, `gurrantor_2`, `advance_amnt`, `lease_id`, `inquiry_officer`, `remaining_amnt`, `installment_amnt`, `package_price`, `total_amnt`) VALUES ('20180701112752', '1001', '1', '1', '2', '2', '2018-07-01', '11:27:52', NULL, NULL, '', NULL, NULL, 0, 0, 0, '450.00');
INSERT INTO `payment_collection` (`sale_id`, `invoice_no`, `customer_id`, `receive_amnt`, `due_amnt`, `receive_by`, `receive_date`) VALUES ('20180701112752', '1001', '1', '450.00', NULL, '2', '2018-07-01');
INSERT INTO `sale_details` (`sale_id`, `product_id`, `qty`, `sell_price`, `sale_type_id`) VALUES ('20180701112752', '6', '5', '35', '1');
INSERT INTO `sale_details` (`sale_id`, `product_id`, `qty`, `sell_price`, `sale_type_id`) VALUES ('20180701112752', '7', '5', '55', '1');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Sales', 'create', 'invoice_no-1001 total amount-450.00', '2', '2018-07-01 11:27:52');
INSERT INTO `sales_return` (`invoice_no`, `customer_id`, `store_id`, `sale_type_id`, `return_date`, `totalamount`, `return_reason`, `createby`, `createdate`) VALUES ('1001', '1', NULL, '1', '2018-07-01', '325.00', 'test', '2', '2018-07-01 12:18:25');
INSERT INTO `sales_return_details` (`sreturn_id`, `product_id`, `qty`, `product_rate`) VALUES (0, '6', NULL, '35');
INSERT INTO `sales_return_details` (`sreturn_id`, `product_id`, `qty`, `product_rate`) VALUES (0, '7', NULL, '55');
INSERT INTO `sales_return` (`invoice_no`, `customer_id`, `store_id`, `sale_type_id`, `return_date`, `totalamount`, `return_reason`, `createby`, `createdate`) VALUES ('1001', '1', '2', '1', '2018-07-01', '270.00', 'yy', '2', '2018-07-01 12:22:59');
INSERT INTO `sales_return_details` (`sreturn_id`, `product_id`, `qty`, `product_rate`) VALUES (1, '6', NULL, '35');
INSERT INTO `sales_return_details` (`sreturn_id`, `product_id`, `qty`, `product_rate`) VALUES (1, '7', NULL, '55');
INSERT INTO `sales_return` (`invoice_no`, `customer_id`, `store_id`, `sale_type_id`, `return_date`, `totalamount`, `return_reason`, `createby`, `createdate`) VALUES ('1001', '1', '2', '1', '2018-07-01', '235.00', 'tt', '2', '2018-07-01 12:24:28');
INSERT INTO `sales_return` (`invoice_no`, `customer_id`, `store_id`, `sale_type_id`, `return_date`, `totalamount`, `return_reason`, `createby`, `createdate`) VALUES ('1001', '1', '2', '1', '2018-07-01', '235.00', 'tt', '2', '2018-07-01 12:25:52');
INSERT INTO `sales_return_details` (`sreturn_id`, `product_id`, `qty`, `product_rate`) VALUES (2, '6', '2', '35');
INSERT INTO `sales_return_details` (`sreturn_id`, `product_id`, `qty`, `product_rate`) VALUES (2, '7', '3', '55');
INSERT INTO `language` (`phrase`) VALUES ('purchase_qty');
UPDATE `language` SET `english` = 'Proposal Date'
WHERE `phrase` = 'proposal_datetime';
UPDATE `language` SET `english` = 'Proposal QTY'
WHERE `phrase` = 'proposal_qty';
UPDATE `language` SET `english` = 'Proposed By'
WHERE `phrase` = 'proposed_by';
UPDATE `language` SET `english` = 'Puchase Order'
WHERE `phrase` = 'purchase_order';
UPDATE `language` SET `english` = 'Purchase Price'
WHERE `phrase` = 'purchase_price';
UPDATE `language` SET `english` = 'Pur.QTY'
WHERE `phrase` = 'purchase_qty';
UPDATE `language` SET `english` = 'Pur Price'
WHERE `phrase` = 'pur_price';
UPDATE `language` SET `english` = 'Qty'
WHERE `phrase` = 'quantity';
UPDATE `language` SET `english` = 'Read'
WHERE `phrase` = 'read';
UPDATE `language` SET `english` = 'Read/Unread'
WHERE `phrase` = 'read_unread';
UPDATE `language` SET `english` = 'Reason'
WHERE `phrase` = 'reason';
UPDATE `language` SET `english` = 'Receive'
WHERE `phrase` = 'receive';
UPDATE `language` SET `english` = 'Receiver Name'
WHERE `phrase` = 'receiver_name';
UPDATE `language` SET `english` = 'Receive Amount'
WHERE `phrase` = 'receive_amnt';
UPDATE `language` SET `english` = 'Receive List'
WHERE `phrase` = 'receive_list';
UPDATE `language` SET `english` = 'Receive QTY'
WHERE `phrase` = 'receive_qty';
UPDATE `language` SET `english` = 'Receive QTY'
WHERE `phrase` = 'receive_quantity';
UPDATE `language` SET `english` = 'Recovery'
WHERE `phrase` = 'recovery';
UPDATE `language` SET `english` = 'Recovery Received'
WHERE `phrase` = 'recovery_received';
UPDATE `language` SET `english` = 'Recovery Summary Report'
WHERE `phrase` = 'recovery_summary_report';
UPDATE `language` SET `english` = 'Recovery Summary Report Datewise'
WHERE `phrase` = 'recovery_summary_report_datewise';
UPDATE `language` SET `english` = 'Remaining'
WHERE `phrase` = 'remaining';
UPDATE `language` SET `english` = 'Remainig Amount'
WHERE `phrase` = 'remaining_amnt';
UPDATE `language` SET `english` = 'Remaining A/C'
WHERE `phrase` = 'remaning_ac';
UPDATE `language` SET `english` = 'Remaining Amount'
WHERE `phrase` = 'remaning_amount';
INSERT INTO `language` (`phrase`) VALUES ('purchase_return');
UPDATE `language` SET `english` = 'Proposal Date'
WHERE `phrase` = 'proposal_datetime';
UPDATE `language` SET `english` = 'Proposal QTY'
WHERE `phrase` = 'proposal_qty';
UPDATE `language` SET `english` = 'Proposed By'
WHERE `phrase` = 'proposed_by';
UPDATE `language` SET `english` = 'Puchase Order'
WHERE `phrase` = 'purchase_order';
UPDATE `language` SET `english` = 'Purchase Price'
WHERE `phrase` = 'purchase_price';
UPDATE `language` SET `english` = 'Pur.QTY'
WHERE `phrase` = 'purchase_qty';
UPDATE `language` SET `english` = 'Purchase Return'
WHERE `phrase` = 'purchase_return';
UPDATE `language` SET `english` = 'Pur Price'
WHERE `phrase` = 'pur_price';
UPDATE `language` SET `english` = 'Qty'
WHERE `phrase` = 'quantity';
UPDATE `language` SET `english` = 'Read'
WHERE `phrase` = 'read';
UPDATE `language` SET `english` = 'Read/Unread'
WHERE `phrase` = 'read_unread';
UPDATE `language` SET `english` = 'Reason'
WHERE `phrase` = 'reason';
UPDATE `language` SET `english` = 'Receive'
WHERE `phrase` = 'receive';
UPDATE `language` SET `english` = 'Receiver Name'
WHERE `phrase` = 'receiver_name';
UPDATE `language` SET `english` = 'Receive Amount'
WHERE `phrase` = 'receive_amnt';
UPDATE `language` SET `english` = 'Receive List'
WHERE `phrase` = 'receive_list';
UPDATE `language` SET `english` = 'Receive QTY'
WHERE `phrase` = 'receive_qty';
UPDATE `language` SET `english` = 'Receive QTY'
WHERE `phrase` = 'receive_quantity';
UPDATE `language` SET `english` = 'Recovery'
WHERE `phrase` = 'recovery';
UPDATE `language` SET `english` = 'Recovery Received'
WHERE `phrase` = 'recovery_received';
UPDATE `language` SET `english` = 'Recovery Summary Report'
WHERE `phrase` = 'recovery_summary_report';
UPDATE `language` SET `english` = 'Recovery Summary Report Datewise'
WHERE `phrase` = 'recovery_summary_report_datewise';
UPDATE `language` SET `english` = 'Remaining'
WHERE `phrase` = 'remaining';
UPDATE `language` SET `english` = 'Remainig Amount'
WHERE `phrase` = 'remaining_amnt';
UPDATE `language` SET `english` = 'Remaining A/C'
WHERE `phrase` = 'remaning_ac';
INSERT INTO `language` (`phrase`) VALUES ('return_date');
UPDATE `language` SET `english` = 'Remaining Amount'
WHERE `phrase` = 'remaning_amount';
UPDATE `language` SET `english` = 'Remark'
WHERE `phrase` = 'remark';
UPDATE `language` SET `english` = 'Remove Successfully!'
WHERE `phrase` = 'remove_successfully';
UPDATE `language` SET `english` = 'Report'
WHERE `phrase` = 'report';
UPDATE `language` SET `english` = 'Require Installment'
WHERE `phrase` = 'require_install';
UPDATE `language` SET `english` = 'Reset'
WHERE `phrase` = 'reset';
UPDATE `language` SET `english` = 'Restore Now!'
WHERE `phrase` = 'restore_now';
UPDATE `language` SET `english` = 'Restore Successfully'
WHERE `phrase` = 'restore_successfully';
UPDATE `language` SET `english` = 'Retail Price'
WHERE `phrase` = 'retail_price';
UPDATE `language` SET `english` = 'Retl Price'
WHERE `phrase` = 'retprice';
UPDATE `language` SET `english` = 'Return'
WHERE `phrase` = 'return';
UPDATE `language` SET `english` = 'Return Date'
WHERE `phrase` = 'return_date';
UPDATE `language` SET `english` = 'Ret.Qty'
WHERE `phrase` = 'return_qty';
UPDATE `language` SET `english` = 'Right To Left'
WHERE `phrase` = 'right_to_left';
UPDATE `language` SET `english` = 'Role'
WHERE `phrase` = 'role';
UPDATE `language` SET `english` = 'Role List'
WHERE `phrase` = 'role_list';
UPDATE `language` SET `english` = 'Role Name'
WHERE `phrase` = 'role_name';
UPDATE `language` SET `english` = 'Role Permission'
WHERE `phrase` = 'role_permission';
UPDATE `language` SET `english` = 'Role Permission List'
WHERE `phrase` = 'role_permission_list';
UPDATE `language` SET `english` = 'Sales'
WHERE `phrase` = 'sale';
UPDATE `language` SET `english` = 'Sales Man'
WHERE `phrase` = 'sales_man';
UPDATE `language` SET `english` = 'Sales Return Form'
WHERE `phrase` = 'sales_return_form';
UPDATE `language` SET `english` = 'Sal.Qty'
WHERE `phrase` = 'sale_qty';
UPDATE `language` SET `english` = 'Save'
WHERE `phrase` = 'save';
UPDATE `language` SET `english` = 'Save Successfully!'
WHERE `phrase` = 'save_successfully';
INSERT INTO `purchase_return` (`po_no`, `supplier_id`, `sale_type_id`, `return_date`, `totalamount`, `return_reason`, `createby`, `createdate`) VALUES ('20180630104049', '1', NULL, '', '1400.00', NULL, '2', '2018-07-01 14:15:32');
INSERT INTO `sales_return_details` (`preturn_id`, `product_id`, `qty`, `store_id`, `product_rate`) VALUES (0, '7', NULL, Array, '45');
INSERT INTO `sales_return_details` (`preturn_id`, `product_id`, `qty`, `store_id`, `product_rate`) VALUES (0, '6', NULL, Array, '25');
INSERT INTO `purchase_return` (`po_no`, `supplier_id`, `sale_type_id`, `return_date`, `totalamount`, `return_reason`, `createby`, `createdate`) VALUES ('20180630104049', '1', NULL, '', '165.00', 'fdgsfdgsdfg', '2', '2018-07-01 14:18:19');
INSERT INTO `sales_return_details` (`preturn_id`, `product_id`, `qty`, `store_id`, `product_rate`) VALUES (0, '7', NULL, Array, '45');
INSERT INTO `sales_return_details` (`preturn_id`, `product_id`, `qty`, `store_id`, `product_rate`) VALUES (0, '6', NULL, Array, '25');
INSERT INTO `purchase_return` (`po_no`, `supplier_id`, `sale_type_id`, `return_date`, `totalamount`, `return_reason`, `createby`, `createdate`) VALUES ('20180630104049', '1', NULL, '2018-07-01', '235.00', 'sdfsdf', '2', '2018-07-01 14:18:45');
INSERT INTO `sales_return_details` (`preturn_id`, `product_id`, `qty`, `store_id`, `product_rate`) VALUES (0, '7', NULL, Array, '45');
INSERT INTO `sales_return_details` (`preturn_id`, `product_id`, `qty`, `store_id`, `product_rate`) VALUES (0, '6', NULL, Array, '25');
INSERT INTO `purchase_return` (`po_no`, `supplier_id`, `return_date`, `totalamount`, `return_reason`, `createby`, `createdate`) VALUES ('20180630104049', '1', '2018-07-01', '235.00', 'sdfasdf', '2', '2018-07-01 14:19:28');
INSERT INTO `sales_return_details` (`preturn_id`, `product_id`, `qty`, `store_id`, `product_rate`) VALUES (1, '7', NULL, Array, '45');
INSERT INTO `sales_return_details` (`preturn_id`, `product_id`, `qty`, `store_id`, `product_rate`) VALUES (1, '6', NULL, Array, '25');
INSERT INTO `purchase_return` (`po_no`, `supplier_id`, `return_date`, `totalamount`, `return_reason`, `createby`, `createdate`) VALUES ('20180630104049', '1', '', '825.00', 'sdfasdf', '2', '2018-07-01 14:23:19');
INSERT INTO `sales_return_details` (`preturn_id`, `product_id`, `qty`, `store_id`, `product_rate`) VALUES (2, '7', '10', Array, '45');
INSERT INTO `sales_return_details` (`preturn_id`, `product_id`, `qty`, `store_id`, `product_rate`) VALUES (2, '6', '15', Array, '25');
INSERT INTO `purchase_return` (`po_no`, `supplier_id`, `return_date`, `totalamount`, `return_reason`, `createby`, `createdate`) VALUES ('20180630104049', '1', '', '950.00', 'sdfasdfasdf', '2', '2018-07-01 14:25:30');
INSERT INTO `purchase_return_details` (`preturn_id`, `product_id`, `qty`, `store_id`, `product_rate`) VALUES (1, '7', '10', Array, '45');
INSERT INTO `purchase_return_details` (`preturn_id`, `product_id`, `qty`, `store_id`, `product_rate`) VALUES (1, '6', '20', Array, '25');
INSERT INTO `purchase_return` (`po_no`, `supplier_id`, `return_date`, `totalamount`, `return_reason`, `createby`, `createdate`) VALUES ('20180630104049', '1', '', '235.00', 'sdfasdf', '2', '2018-07-01 14:30:15');
INSERT INTO `purchase_return_details` (`preturn_id`, `product_id`, `qty`, `store_id`, `product_rate`) VALUES (1, '7', '3', Array, '45');
INSERT INTO `purchase_return_details` (`preturn_id`, `product_id`, `qty`, `store_id`, `product_rate`) VALUES (1, '6', '4', Array, '25');
INSERT INTO `purchase_return` (`po_no`, `supplier_id`, `return_date`, `totalamount`, `return_reason`, `createby`, `createdate`) VALUES ('20180630104049', '1', '', '210.00', 'sdfsdafsdfsdaf', '2', '2018-07-01 14:34:18');
INSERT INTO `purchase_return_details` (`preturn_id`, `product_id`, `qty`, `store_id`, `product_rate`) VALUES (2, '7', '3', Array, '45');
INSERT INTO `purchase_return_details` (`preturn_id`, `product_id`, `qty`, `store_id`, `product_rate`) VALUES (2, '6', '3', Array, '25');
INSERT INTO `purchase_return` (`po_no`, `supplier_id`, `return_date`, `totalamount`, `return_reason`, `createby`, `createdate`) VALUES ('20180701080440', '3', '2018-07-01', '125.00', 'sdfdsf', '2', '2018-07-01 14:35:19');
INSERT INTO `purchase_return` (`po_no`, `supplier_id`, `return_date`, `totalamount`, `return_reason`, `createby`, `createdate`) VALUES ('20180701080440', '3', '2018-07-01', '125.00', 'sdfdsf', '2', '2018-07-01 14:46:19');
INSERT INTO `purchase_return_details` (`preturn_id`, `product_id`, `qty`, `store_id`, `product_rate`) VALUES (4, '6', '5', Array, '25');
INSERT INTO `purchase_return` (`po_no`, `supplier_id`, `return_date`, `totalamount`, `return_reason`, `createby`, `createdate`) VALUES ('20180630104049', '1', '2018-07-01', '235.00', 'dsfsdaf', '2', '2018-07-01 14:49:04');
INSERT INTO `purchase_return` (`po_no`, `supplier_id`, `return_date`, `totalamount`, `return_reason`, `createby`, `createdate`) VALUES ('20180630104049', '1', '2018-07-01', '305.00', 'sdfasdf', '2', '2018-07-01 14:53:32');
INSERT INTO `purchase_return` (`po_no`, `supplier_id`, `return_date`, `totalamount`, `return_reason`, `createby`, `createdate`) VALUES ('20180630104049', '1', '2018-07-01', '305.00', 'sdfasdf', '2', '2018-07-01 14:53:46');
INSERT INTO `purchase_return_details` (`preturn_id`, `product_id`, `qty`, `store_id`, `product_rate`) VALUES (7, '7', '4', Array, '45');
UPDATE `user` SET `last_login` = '2018-07-02 05:29:16', `ip_address` = '::1'
WHERE `id` = '2';
INSERT INTO `purchase_return` (`po_no`, `supplier_id`, `return_date`, `totalamount`, `return_reason`, `createby`, `createdate`) VALUES ('20180630104049', '1', '2018-07-02', '325.00', 'sdfsadf', '2', '2018-07-02 05:47:25');
INSERT INTO `purchase_return_details` (`preturn_id`, `product_id`, `qty`, `store_id`, `product_rate`) VALUES (8, '7', '5', '2', '45');
INSERT INTO `purchase_return_details` (`preturn_id`, `product_id`, `qty`, `store_id`, `product_rate`) VALUES (8, '6', '4', '2', '25');
INSERT INTO `language` (`phrase`) VALUES ('sale_return_list');
UPDATE `language` SET `english` = 'Remaining Amount'
WHERE `phrase` = 'remaning_amount';
UPDATE `language` SET `english` = 'Remark'
WHERE `phrase` = 'remark';
UPDATE `language` SET `english` = 'Remove Successfully!'
WHERE `phrase` = 'remove_successfully';
UPDATE `language` SET `english` = 'Report'
WHERE `phrase` = 'report';
UPDATE `language` SET `english` = 'Require Installment'
WHERE `phrase` = 'require_install';
UPDATE `language` SET `english` = 'Reset'
WHERE `phrase` = 'reset';
UPDATE `language` SET `english` = 'Restore Now!'
WHERE `phrase` = 'restore_now';
UPDATE `language` SET `english` = 'Restore Successfully'
WHERE `phrase` = 'restore_successfully';
UPDATE `language` SET `english` = 'Retail Price'
WHERE `phrase` = 'retail_price';
UPDATE `language` SET `english` = 'Retl Price'
WHERE `phrase` = 'retprice';
UPDATE `language` SET `english` = 'Return'
WHERE `phrase` = 'return';
UPDATE `language` SET `english` = 'Return Date'
WHERE `phrase` = 'return_date';
UPDATE `language` SET `english` = 'Ret.Qty'
WHERE `phrase` = 'return_qty';
UPDATE `language` SET `english` = 'Right To Left'
WHERE `phrase` = 'right_to_left';
UPDATE `language` SET `english` = 'Role'
WHERE `phrase` = 'role';
UPDATE `language` SET `english` = 'Role List'
WHERE `phrase` = 'role_list';
UPDATE `language` SET `english` = 'Role Name'
WHERE `phrase` = 'role_name';
UPDATE `language` SET `english` = 'Role Permission'
WHERE `phrase` = 'role_permission';
UPDATE `language` SET `english` = 'Role Permission List'
WHERE `phrase` = 'role_permission_list';
UPDATE `language` SET `english` = 'Sales'
WHERE `phrase` = 'sale';
UPDATE `language` SET `english` = 'Sales Man'
WHERE `phrase` = 'sales_man';
UPDATE `language` SET `english` = 'Sales Return Form'
WHERE `phrase` = 'sales_return_form';
UPDATE `language` SET `english` = 'Sal.Qty'
WHERE `phrase` = 'sale_qty';
UPDATE `language` SET `english` = 'Sales Return List'
WHERE `phrase` = 'sale_return_list';
UPDATE `language` SET `english` = 'Save'
WHERE `phrase` = 'save';
INSERT INTO `sales_return` (`invoice_no`, `customer_id`, `store_id`, `sale_type_id`, `return_date`, `totalamount`, `return_reason`, `createby`, `createdate`) VALUES ('1001', '1', '2', '1', '2018-07-02', '325.00', 'sdfasdfsadf', '2', '2018-07-02 06:01:14');
INSERT INTO `sales_return_details` (`sreturn_id`, `product_id`, `qty`, `product_rate`) VALUES (1, '6', '3', '35');
INSERT INTO `sales_return_details` (`sreturn_id`, `product_id`, `qty`, `product_rate`) VALUES (1, '7', '4', '55');
INSERT INTO `language` (`phrase`) VALUES ('purchase_return_list');
UPDATE `language` SET `english` = 'Proposal Date'
WHERE `phrase` = 'proposal_datetime';
UPDATE `language` SET `english` = 'Proposal QTY'
WHERE `phrase` = 'proposal_qty';
UPDATE `language` SET `english` = 'Proposed By'
WHERE `phrase` = 'proposed_by';
UPDATE `language` SET `english` = 'Puchase Order'
WHERE `phrase` = 'purchase_order';
UPDATE `language` SET `english` = 'Purchase Price'
WHERE `phrase` = 'purchase_price';
UPDATE `language` SET `english` = 'Pur.QTY'
WHERE `phrase` = 'purchase_qty';
UPDATE `language` SET `english` = 'Purchase Return'
WHERE `phrase` = 'purchase_return';
UPDATE `language` SET `english` = 'Purchase Return List'
WHERE `phrase` = 'purchase_return_list';
UPDATE `language` SET `english` = 'Pur Price'
WHERE `phrase` = 'pur_price';
UPDATE `language` SET `english` = 'Qty'
WHERE `phrase` = 'quantity';
UPDATE `language` SET `english` = 'Read'
WHERE `phrase` = 'read';
UPDATE `language` SET `english` = 'Read/Unread'
WHERE `phrase` = 'read_unread';
UPDATE `language` SET `english` = 'Reason'
WHERE `phrase` = 'reason';
UPDATE `language` SET `english` = 'Receive'
WHERE `phrase` = 'receive';
UPDATE `language` SET `english` = 'Receiver Name'
WHERE `phrase` = 'receiver_name';
UPDATE `language` SET `english` = 'Receive Amount'
WHERE `phrase` = 'receive_amnt';
UPDATE `language` SET `english` = 'Receive List'
WHERE `phrase` = 'receive_list';
UPDATE `language` SET `english` = 'Receive QTY'
WHERE `phrase` = 'receive_qty';
UPDATE `language` SET `english` = 'Receive QTY'
WHERE `phrase` = 'receive_quantity';
UPDATE `language` SET `english` = 'Recovery'
WHERE `phrase` = 'recovery';
UPDATE `language` SET `english` = 'Recovery Received'
WHERE `phrase` = 'recovery_received';
UPDATE `language` SET `english` = 'Recovery Summary Report'
WHERE `phrase` = 'recovery_summary_report';
UPDATE `language` SET `english` = 'Recovery Summary Report Datewise'
WHERE `phrase` = 'recovery_summary_report_datewise';
UPDATE `language` SET `english` = 'Remaining'
WHERE `phrase` = 'remaining';
UPDATE `language` SET `english` = 'Remainig Amount'
WHERE `phrase` = 'remaining_amnt';
INSERT INTO `language` (`phrase`) VALUES ('sales_return_view');
UPDATE `language` SET `english` = 'Remaining A/C'
WHERE `phrase` = 'remaning_ac';
UPDATE `language` SET `english` = 'Remaining Amount'
WHERE `phrase` = 'remaning_amount';
UPDATE `language` SET `english` = 'Remark'
WHERE `phrase` = 'remark';
UPDATE `language` SET `english` = 'Remove Successfully!'
WHERE `phrase` = 'remove_successfully';
UPDATE `language` SET `english` = 'Report'
WHERE `phrase` = 'report';
UPDATE `language` SET `english` = 'Require Installment'
WHERE `phrase` = 'require_install';
UPDATE `language` SET `english` = 'Reset'
WHERE `phrase` = 'reset';
UPDATE `language` SET `english` = 'Restore Now!'
WHERE `phrase` = 'restore_now';
UPDATE `language` SET `english` = 'Restore Successfully'
WHERE `phrase` = 'restore_successfully';
UPDATE `language` SET `english` = 'Retail Price'
WHERE `phrase` = 'retail_price';
UPDATE `language` SET `english` = 'Retl Price'
WHERE `phrase` = 'retprice';
UPDATE `language` SET `english` = 'Return'
WHERE `phrase` = 'return';
UPDATE `language` SET `english` = 'Return Date'
WHERE `phrase` = 'return_date';
UPDATE `language` SET `english` = 'Ret.Qty'
WHERE `phrase` = 'return_qty';
UPDATE `language` SET `english` = 'Right To Left'
WHERE `phrase` = 'right_to_left';
UPDATE `language` SET `english` = 'Role'
WHERE `phrase` = 'role';
UPDATE `language` SET `english` = 'Role List'
WHERE `phrase` = 'role_list';
UPDATE `language` SET `english` = 'Role Name'
WHERE `phrase` = 'role_name';
UPDATE `language` SET `english` = 'Role Permission'
WHERE `phrase` = 'role_permission';
UPDATE `language` SET `english` = 'Role Permission List'
WHERE `phrase` = 'role_permission_list';
UPDATE `language` SET `english` = 'Sales'
WHERE `phrase` = 'sale';
UPDATE `language` SET `english` = 'Sales Man'
WHERE `phrase` = 'sales_man';
UPDATE `language` SET `english` = 'Sales Return Form'
WHERE `phrase` = 'sales_return_form';
UPDATE `language` SET `english` = 'Sales Return view'
WHERE `phrase` = 'sales_return_view';
UPDATE `language` SET `english` = 'Sal.Qty'
WHERE `phrase` = 'sale_qty';
INSERT INTO `language` (`phrase`) VALUES ('purchase_return_view');
UPDATE `language` SET `english` = 'Proposal Date'
WHERE `phrase` = 'proposal_datetime';
UPDATE `language` SET `english` = 'Proposal QTY'
WHERE `phrase` = 'proposal_qty';
UPDATE `language` SET `english` = 'Proposed By'
WHERE `phrase` = 'proposed_by';
UPDATE `language` SET `english` = 'Puchase Order'
WHERE `phrase` = 'purchase_order';
UPDATE `language` SET `english` = 'Purchase Price'
WHERE `phrase` = 'purchase_price';
UPDATE `language` SET `english` = 'Pur.QTY'
WHERE `phrase` = 'purchase_qty';
UPDATE `language` SET `english` = 'Purchase Return'
WHERE `phrase` = 'purchase_return';
UPDATE `language` SET `english` = 'Purchase Return List'
WHERE `phrase` = 'purchase_return_list';
UPDATE `language` SET `english` = 'Purchase Return veiw'
WHERE `phrase` = 'purchase_return_view';
UPDATE `language` SET `english` = 'Pur Price'
WHERE `phrase` = 'pur_price';
UPDATE `language` SET `english` = 'Qty'
WHERE `phrase` = 'quantity';
UPDATE `language` SET `english` = 'Read'
WHERE `phrase` = 'read';
UPDATE `language` SET `english` = 'Read/Unread'
WHERE `phrase` = 'read_unread';
UPDATE `language` SET `english` = 'Reason'
WHERE `phrase` = 'reason';
UPDATE `language` SET `english` = 'Receive'
WHERE `phrase` = 'receive';
UPDATE `language` SET `english` = 'Receiver Name'
WHERE `phrase` = 'receiver_name';
UPDATE `language` SET `english` = 'Receive Amount'
WHERE `phrase` = 'receive_amnt';
UPDATE `language` SET `english` = 'Receive List'
WHERE `phrase` = 'receive_list';
UPDATE `language` SET `english` = 'Receive QTY'
WHERE `phrase` = 'receive_qty';
UPDATE `language` SET `english` = 'Receive QTY'
WHERE `phrase` = 'receive_quantity';
UPDATE `language` SET `english` = 'Recovery'
WHERE `phrase` = 'recovery';
UPDATE `language` SET `english` = 'Recovery Received'
WHERE `phrase` = 'recovery_received';
UPDATE `language` SET `english` = 'Recovery Summary Report'
WHERE `phrase` = 'recovery_summary_report';
UPDATE `language` SET `english` = 'Recovery Summary Report Datewise'
WHERE `phrase` = 'recovery_summary_report_datewise';
UPDATE `language` SET `english` = 'Remaining'
WHERE `phrase` = 'remaining';
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
INSERT INTO `purchase_return` (`po_no`, `supplier_id`, `return_date`, `totalamount`, `return_reason`, `createby`, `createdate`) VALUES ('20180630104049', '1', '', '125.00', 'test purchase return', '2', '2018-07-02 08:00:34');
INSERT INTO `purchase_return_details` (`preturn_id`, `product_id`, `qty`, `store_id`, `product_rate`) VALUES (1, '7', '5', '2', '45');
INSERT INTO `purchase_return_details` (`preturn_id`, `product_id`, `qty`, `store_id`, `product_rate`) VALUES (1, '6', NULL, '2', '25');
INSERT INTO `purchase_return` (`po_no`, `supplier_id`, `return_date`, `totalamount`, `return_reason`, `createby`, `createdate`) VALUES ('20180630104049', '1', '2018-07-02', '100.00', 'sdfsdf', '2', '2018-07-02 08:03:18');
INSERT INTO `purchase_return_details` (`preturn_id`, `product_id`, `qty`, `store_id`, `product_rate`) VALUES (2, '7', '4', '2', '45');
INSERT INTO `purchase_return_details` (`preturn_id`, `product_id`, `qty`, `store_id`, `product_rate`) VALUES (2, '6', NULL, '2', '25');
INSERT INTO `purchase_return` (`po_no`, `supplier_id`, `return_date`, `totalamount`, `return_reason`, `createby`, `createdate`) VALUES ('20180630104049', '1', '', '125.00', 'ghfdpppppppp', '2', '2018-07-02 08:11:36');
INSERT INTO `purchase_return_details` (`preturn_id`, `product_id`, `qty`, `store_id`, `product_rate`) VALUES (3, '6', '5', '2', '25');
INSERT INTO `purchase_return` (`po_no`, `supplier_id`, `return_date`, `totalamount`, `return_reason`, `createby`, `createdate`) VALUES ('20180630104049', '1', '2018-07-02', '150.00', 'test info', '2', '2018-07-02 08:13:19');
INSERT INTO `purchase_return_details` (`preturn_id`, `product_id`, `qty`, `store_id`, `product_rate`) VALUES (1, '6', '6', '2', '25');
INSERT INTO `sales_return` (`invoice_no`, `customer_id`, `store_id`, `sale_type_id`, `return_date`, `totalamount`, `return_reason`, `createby`, `createdate`) VALUES ('1001', '1', '2', '1', '2018-07-02', '165.00', 'coconut return qty 5 ret 3 price 55', '2', '2018-07-02 08:14:17');
INSERT INTO `sales_return_details` (`sreturn_id`, `product_id`, `qty`, `product_rate`) VALUES (2, '6', '3', '35');
INSERT INTO `sales_return_details` (`sreturn_id`, `product_id`, `qty`, `product_rate`) VALUES (2, '7', NULL, '55');
INSERT INTO `sales_return` (`invoice_no`, `customer_id`, `store_id`, `sale_type_id`, `return_date`, `totalamount`, `return_reason`, `createby`, `createdate`) VALUES ('1001', '1', '2', '1', '2018-07-02', '275.00', 'yyy', '2', '2018-07-02 08:19:23');
INSERT INTO `sales_return_details` (`sreturn_id`, `product_id`, `qty`, `product_rate`) VALUES (3, '7', '5', '55');
UPDATE `user` SET `last_logout` = '2018-07-02 08:56:53'
WHERE `id` = '2';
UPDATE `user` SET `last_login` = '2018-07-02 08:57:06', `ip_address` = '::1'
WHERE `id` = '2';
UPDATE `user` SET `last_login` = '2018-07-02 09:05:06', `ip_address` = '::1'
WHERE `id` = '23';
DELETE FROM `role_permission`
WHERE `role_id` = '2';
INSERT INTO `role_permission` (`create`, `delete`, `fk_module_id`, `read`, `role_id`, `update`) VALUES (0,0,'8',0,'2',0), (0,0,'6',0,'2',0), (0,0,'5',0,'2',0), (0,0,'13',0,'2',0), (0,0,'14',0,'2',0), (0,0,'7',0,'2',0), ('1','1','10','1','2','1'), ('1','1','18','1','2','1'), ('1','1','12','1','2','1'), (0,0,'16',0,'2',0), ('1','1','17','1','2','1'), ('1','1','3','1','2','1'), (0,0,'9',0,'2',0), (0,0,'4',0,'2',0), (0,0,'11',0,'2',0);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Role Permission', 'create', 'Role id :313', '2', '2018-07-02 09:05:46');
UPDATE `user` SET `last_logout` = '2018-07-02 09:06:01'
WHERE `id` = '23';
UPDATE `user` SET `last_login` = '2018-07-02 09:06:15', `ip_address` = '::1'
WHERE `id` = '23';
SET FOREIGN_KEY_CHECKS = 0;
CREATE TABLE IF NOT EXISTS `test` (
  `test_id` int(11) NOT NULL AUTO_INCREMENT,
  
  PRIMARY KEY (`test_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
SET FOREIGN_KEY_CHECKS = 1;
INSERT INTO `module` (`id`, `name`, `description`, `image`, `directory`, `status`) VALUES (NULL, 'Reports', 'Reports Information', 'application/modules/reports/assets/images/thumbnail.jpg', 'reports', 1);
INSERT INTO `language` (`phrase`) VALUES ('reports');
UPDATE `language` SET `english` = 'Remainig Amount'
WHERE `phrase` = 'remaining_amnt';
UPDATE `language` SET `english` = 'Remaining A/C'
WHERE `phrase` = 'remaning_ac';
UPDATE `language` SET `english` = 'Remaining Amount'
WHERE `phrase` = 'remaning_amount';
UPDATE `language` SET `english` = 'Remark'
WHERE `phrase` = 'remark';
UPDATE `language` SET `english` = 'Remove Successfully!'
WHERE `phrase` = 'remove_successfully';
UPDATE `language` SET `english` = 'Report'
WHERE `phrase` = 'report';
UPDATE `language` SET `english` = 'Reports'
WHERE `phrase` = 'reports';
UPDATE `language` SET `english` = 'Require Installment'
WHERE `phrase` = 'require_install';
UPDATE `language` SET `english` = 'Reset'
WHERE `phrase` = 'reset';
UPDATE `language` SET `english` = 'Restore Now!'
WHERE `phrase` = 'restore_now';
UPDATE `language` SET `english` = 'Restore Successfully'
WHERE `phrase` = 'restore_successfully';
UPDATE `language` SET `english` = 'Retail Price'
WHERE `phrase` = 'retail_price';
UPDATE `language` SET `english` = 'Retl Price'
WHERE `phrase` = 'retprice';
UPDATE `language` SET `english` = 'Return'
WHERE `phrase` = 'return';
UPDATE `language` SET `english` = 'Return Date'
WHERE `phrase` = 'return_date';
UPDATE `language` SET `english` = 'Ret.Qty'
WHERE `phrase` = 'return_qty';
UPDATE `language` SET `english` = 'Right To Left'
WHERE `phrase` = 'right_to_left';
UPDATE `language` SET `english` = 'Role'
WHERE `phrase` = 'role';
UPDATE `language` SET `english` = 'Role List'
WHERE `phrase` = 'role_list';
UPDATE `language` SET `english` = 'Role Name'
WHERE `phrase` = 'role_name';
UPDATE `language` SET `english` = 'Role Permission'
WHERE `phrase` = 'role_permission';
UPDATE `language` SET `english` = 'Role Permission List'
WHERE `phrase` = 'role_permission_list';
UPDATE `language` SET `english` = 'Sales'
WHERE `phrase` = 'sale';
UPDATE `language` SET `english` = 'Sales Man'
WHERE `phrase` = 'sales_man';
UPDATE `language` SET `english` = 'Sales Return Form'
WHERE `phrase` = 'sales_return_form';
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
INSERT INTO `language` (`phrase`) VALUES ('test');
UPDATE `language` SET `english` = 'Store Address'
WHERE `phrase` = 'store_address';
UPDATE `language` SET `english` = 'Store Code'
WHERE `phrase` = 'store_code';
UPDATE `language` SET `english` = 'Store Name'
WHERE `phrase` = 'store_name';
UPDATE `language` SET `english` = 'Store Phone'
WHERE `phrase` = 'store_phone';
UPDATE `language` SET `english` = 'Store Procedure'
WHERE `phrase` = 'store_procedure';
UPDATE `language` SET `english` = 'Subject'
WHERE `phrase` = 'subject';
UPDATE `language` SET `english` = 'Submit '
WHERE `phrase` = 'submit';
UPDATE `language` SET `english` = 'Submit and Another'
WHERE `phrase` = 'submit_and_add_another';
UPDATE `language` SET `english` = 'Successfully Approved'
WHERE `phrase` = 'successfully_approved';
UPDATE `language` SET `english` = 'Super Admin'
WHERE `phrase` = 'super_admin';
UPDATE `language` SET `english` = 'Supplier'
WHERE `phrase` = 'supplier';
UPDATE `language` SET `english` = 'Supplier Code'
WHERE `phrase` = 'supplier_code';
UPDATE `language` SET `english` = 'Supplier Name'
WHERE `phrase` = 'supplier_name';
UPDATE `language` SET `english` = 'Surplus'
WHERE `phrase` = 'surplus';
UPDATE `language` SET `english` = 'Synchronize'
WHERE `phrase` = 'synchronize';
UPDATE `language` SET `english` = 'Tables are not available in database.sql'
WHERE `phrase` = 'tables_are_not_available_in_database';
UPDATE `language` SET `english` = 'Target'
WHERE `phrase` = 'target';
UPDATE `language` SET `english` = ''
WHERE `phrase` = 'test';
UPDATE `language` SET `english` = 'To'
WHERE `phrase` = 'to';
UPDATE `language` SET `english` = 'Total'
WHERE `phrase` = 'total';
UPDATE `language` SET `english` = 'Total Amount'
WHERE `phrase` = 'total_amount';
UPDATE `language` SET `english` = 'Total Receive'
WHERE `phrase` = 'total_receive';
UPDATE `language` SET `english` = 'U/M'
WHERE `phrase` = 'um';
UPDATE `language` SET `english` = 'Unable to download file! please check configuration'
WHERE `phrase` = 'unable_to_download_file_please_check_configuration';
UPDATE `language` SET `english` = 'Unable to import data! please check configuration / SQL file.'
WHERE `phrase` = 'unable_to_import_data_please_check_config_or_sql_file';
INSERT INTO `language` (`phrase`) VALUES ('recovery_list');
UPDATE `language` SET `english` = 'Proposal Date'
WHERE `phrase` = 'proposal_datetime';
UPDATE `language` SET `english` = 'Proposal QTY'
WHERE `phrase` = 'proposal_qty';
UPDATE `language` SET `english` = 'Proposed By'
WHERE `phrase` = 'proposed_by';
UPDATE `language` SET `english` = 'Puchase Order'
WHERE `phrase` = 'purchase_order';
UPDATE `language` SET `english` = 'Purchase Price'
WHERE `phrase` = 'purchase_price';
UPDATE `language` SET `english` = 'Pur.QTY'
WHERE `phrase` = 'purchase_qty';
UPDATE `language` SET `english` = 'Purchase Return'
WHERE `phrase` = 'purchase_return';
UPDATE `language` SET `english` = 'Purchase Return List'
WHERE `phrase` = 'purchase_return_list';
UPDATE `language` SET `english` = 'Purchase Return veiw'
WHERE `phrase` = 'purchase_return_view';
UPDATE `language` SET `english` = 'Pur Price'
WHERE `phrase` = 'pur_price';
UPDATE `language` SET `english` = 'Qty'
WHERE `phrase` = 'quantity';
UPDATE `language` SET `english` = 'Read'
WHERE `phrase` = 'read';
UPDATE `language` SET `english` = 'Read/Unread'
WHERE `phrase` = 'read_unread';
UPDATE `language` SET `english` = 'Reason'
WHERE `phrase` = 'reason';
UPDATE `language` SET `english` = 'Receive'
WHERE `phrase` = 'receive';
UPDATE `language` SET `english` = 'Receiver Name'
WHERE `phrase` = 'receiver_name';
UPDATE `language` SET `english` = 'Receive Amount'
WHERE `phrase` = 'receive_amnt';
UPDATE `language` SET `english` = 'Receive List'
WHERE `phrase` = 'receive_list';
UPDATE `language` SET `english` = 'Receive QTY'
WHERE `phrase` = 'receive_qty';
UPDATE `language` SET `english` = 'Receive QTY'
WHERE `phrase` = 'receive_quantity';
UPDATE `language` SET `english` = 'Recovery'
WHERE `phrase` = 'recovery';
UPDATE `language` SET `english` = 'Recovery List'
WHERE `phrase` = 'recovery_list';
UPDATE `language` SET `english` = 'Recovery Received'
WHERE `phrase` = 'recovery_received';
UPDATE `language` SET `english` = 'Recovery Summary Report'
WHERE `phrase` = 'recovery_summary_report';
UPDATE `language` SET `english` = 'Recovery Summary Report Datewise'
WHERE `phrase` = 'recovery_summary_report_datewise';
INSERT INTO `gurrantor` (`gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('gc-37', 'mm3', '434', '2', 'd32432', 'sdfsa', '56546', 'sdfsda', 1, '2', '2018-07-02 12:28:24');
INSERT INTO `gurrantor` (`gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('gc-38', 'sadfasdf', '6434', '2', 'dsf', 'dsf', '654321', 'asdfsdf', 1, '2', '2018-07-02 12:28:24');
INSERT INTO `sales_parent` (`sale_id`, `invoice_no`, `customer_id`, `sale_type_id`, `store_id`, `salesman`, `sales_date`, `sales_time`, `gurrantor_1`, `gurrantor_2`, `advance_amnt`, `lease_id`, `inquiry_officer`, `remaining_amnt`, `installment_amnt`, `package_price`, `total_amnt`) VALUES ('20180702122844', '1002', '5', '3', '2', '2', '2018-07-02', '12:28:44', '52', '51', '138.6', '3', '11', '0.28', '0.28', '141.386', '140.00');
INSERT INTO `payment_collection` (`sale_id`, `invoice_no`, `customer_id`, `receive_amnt`, `due_amnt`, `receive_by`, `receive_date`) VALUES ('20180702122844', '1002', '5', '138.6', '2.79', '2', '2018-07-02');
INSERT INTO `customer_gurrantor_map` (`lease_id`, `customer_id`, `gurrantor_id`) VALUES ('3', '5', '52');
INSERT INTO `customer_gurrantor_map` (`lease_id`, `customer_id`, `gurrantor_id`) VALUES ('3', '5', '51');
INSERT INTO `sale_details` (`sale_id`, `product_id`, `qty`, `sell_price`, `sale_type_id`) VALUES ('20180702122844', '6', '4', '35', '3');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Sales', 'create', 'invoice_no-1002 total amount-140.00', '2', '2018-07-02 12:28:44');
INSERT INTO `language` (`phrase`) VALUES ('find');
UPDATE `language` SET `english` = 'Enquiry Information'
WHERE `phrase` = 'enquiry_information';
UPDATE `language` SET `english` = 'Favicon'
WHERE `phrase` = 'favicon';
UPDATE `language` SET `english` = 'File Name'
WHERE `phrase` = 'filename';
UPDATE `language` SET `english` = 'File Information'
WHERE `phrase` = 'file_information';
UPDATE `language` SET `english` = 'Final Settlement Amount'
WHERE `phrase` = 'final_settlement';
UPDATE `language` SET `english` = 'Final Settlement Discount'
WHERE `phrase` = 'final_settlement_discount';
UPDATE `language` SET `english` = 'Find'
WHERE `phrase` = 'find';
UPDATE `language` SET `english` = 'First Name'
WHERE `phrase` = 'firstname';
UPDATE `language` SET `english` = 'Footer Text'
WHERE `phrase` = 'footer_text';
UPDATE `language` SET `english` = 'For Store'
WHERE `phrase` = 'for_store';
UPDATE `language` SET `english` = 'From Store'
WHERE `phrase` = 'from_store';
UPDATE `language` SET `english` = 'FTP Debug'
WHERE `phrase` = 'ftp_debug';
UPDATE `language` SET `english` = 'FTP Port'
WHERE `phrase` = 'ftp_port';
UPDATE `language` SET `english` = 'Data Synchronize [FTP Setting]'
WHERE `phrase` = 'ftp_setting';
UPDATE `language` SET `english` = 'Grand Total'
WHERE `phrase` = 'grand_total';
UPDATE `language` SET `english` = 'Gurrantor'
WHERE `phrase` = 'gurrantor';
UPDATE `language` SET `english` = 'Gurrantor Address'
WHERE `phrase` = 'gurrantor_address';
UPDATE `language` SET `english` = 'Gurrantor  CNIC'
WHERE `phrase` = 'gurrantor_cnic';
UPDATE `language` SET `english` = 'Gurrantor  Code'
WHERE `phrase` = 'gurrantor_code';
UPDATE `language` SET `english` = 'Gurrantor  Name'
WHERE `phrase` = 'gurrantor_name';
UPDATE `language` SET `english` = 'Gurrantor  Phone'
WHERE `phrase` = 'gurrantor_phone';
UPDATE `language` SET `english` = 'G Contact'
WHERE `phrase` = 'g_contact';
UPDATE `language` SET `english` = 'Home'
WHERE `phrase` = 'home';
UPDATE `language` SET `english` = 'Host Name'
WHERE `phrase` = 'hostname';
UPDATE `language` SET `english` = 'Image'
WHERE `phrase` = 'image';
INSERT INTO `gurrantor` (`gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('gc-39', 'ty', '74435', '2', 'dsfsadf', 'fasdfasd', '54463', 'fasdf', 1, '2', '2018-07-02 14:34:18');
INSERT INTO `gurrantor` (`gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('gc-40', 'ytrwret', '34534', '2', 'sdafasdf', 'asdfasd', '3453425', 'sdfdsaf', 1, '2', '2018-07-02 14:34:18');
INSERT INTO `sales_parent` (`sale_id`, `invoice_no`, `customer_id`, `sale_type_id`, `store_id`, `salesman`, `sales_date`, `sales_time`, `gurrantor_1`, `gurrantor_2`, `advance_amnt`, `lease_id`, `inquiry_officer`, `remaining_amnt`, `installment_amnt`, `package_price`, `total_amnt`) VALUES ('20180702143510', '1003', '2', '3', '2', '2', '2018-07-02', '14:35:10', '54', '53', '166', '4', '11', '39.84', '39.84', '564.4', '415.00');
INSERT INTO `payment_collection` (`sale_id`, `invoice_no`, `customer_id`, `receive_amnt`, `due_amnt`, `receive_by`, `receive_date`) VALUES ('20180702143510', '1003', '2', '166', '398.40', '2', '2018-07-02');
INSERT INTO `customer_gurrantor_map` (`lease_id`, `customer_id`, `gurrantor_id`) VALUES ('4', '2', '54');
INSERT INTO `customer_gurrantor_map` (`lease_id`, `customer_id`, `gurrantor_id`) VALUES ('4', '2', '53');
INSERT INTO `sale_details` (`sale_id`, `product_id`, `qty`, `sell_price`, `sale_type_id`) VALUES ('20180702143510', '6', '4', '35', '3');
INSERT INTO `sale_details` (`sale_id`, `product_id`, `qty`, `sell_price`, `sale_type_id`) VALUES ('20180702143510', '7', '5', '55', '3');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Sales', 'create', 'invoice_no-1003 total amount-415.00', '2', '2018-07-02 14:35:10');
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
UPDATE `sales_parent` SET `invoice_no` = '', `is_lease_settled` = 1
WHERE `invoice_no` = '';
INSERT INTO `payment_collection` (`id`, `invoice_no`, `customer_id`, `receive_amnt`, `receive_date`, `receive_by`, `is_installment`) VALUES ('', '1003', '2', '39.84', '2018-07-02', '2', 1);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('recovery', 'create', 'payment ID :2', '2', '2018-07-02 14:37:41');
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
UPDATE `user` SET `last_login` = '2018-07-03 05:49:07', `ip_address` = '::1'
WHERE `id` = '2';
INSERT INTO `gurrantor` (`gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('gc-41', 'yuyr', '3243', '2', 'dfsdf', 'fsadf', '5446546', 'd', 1, '2', '2018-07-03 08:49:22');
INSERT INTO `gurrantor` (`gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('gc-42', 'tyuirtret', '32135', '2', 'dsfasd', 'asdfasdf', '76543523', 'sfasdf', 1, '2', '2018-07-03 08:49:22');
INSERT INTO `sales_parent` (`sale_id`, `invoice_no`, `customer_id`, `sale_type_id`, `store_id`, `salesman`, `sales_date`, `sales_time`, `gurrantor_1`, `gurrantor_2`, `advance_amnt`, `lease_id`, `inquiry_officer`, `remaining_amnt`, `installment_amnt`, `package_price`, `total_amnt`) VALUES ('20180703084954', '1004', '3', '3', '2', '2', '2018-07-03', '08:49:54', '56', '55', '891', '3', '11', '1.79', '1.79', '908.91', '900.00');
INSERT INTO `payment_collection` (`sale_id`, `invoice_no`, `customer_id`, `receive_amnt`, `due_amnt`, `receive_by`, `receive_date`) VALUES ('20180703084954', '1004', '3', '891', '17.91', '2', '2018-07-03');
INSERT INTO `customer_gurrantor_map` (`lease_id`, `customer_id`, `gurrantor_id`) VALUES ('3', '3', '56');
INSERT INTO `customer_gurrantor_map` (`lease_id`, `customer_id`, `gurrantor_id`) VALUES ('3', '3', '55');
INSERT INTO `sale_details` (`sale_id`, `product_id`, `qty`, `sell_price`, `sale_type_id`) VALUES ('20180703084954', '6', '10', '35', '3');
INSERT INTO `sale_details` (`sale_id`, `product_id`, `qty`, `sell_price`, `sale_type_id`) VALUES ('20180703084954', '7', '10', '55', '3');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Sales', 'create', 'invoice_no-1004 total amount-900.00', '2', '2018-07-03 08:49:54');
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
INSERT INTO `gurrantor` (`gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('gc-43', 'uuuio', '4357', '2', 'sdfasd', 'sdfsad', '34423', 'sdfasdf', 1, '2', '2018-07-03 08:51:22');
INSERT INTO `gurrantor` (`gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('gc-44', 'erterdfg', '123521', '2', 'sdfsdaf', 'fsadf', '463452', 'sdf', 1, '2', '2018-07-03 08:51:22');
INSERT INTO `sales_parent` (`sale_id`, `invoice_no`, `customer_id`, `sale_type_id`, `store_id`, `salesman`, `sales_date`, `sales_time`, `gurrantor_1`, `gurrantor_2`, `advance_amnt`, `lease_id`, `inquiry_officer`, `remaining_amnt`, `installment_amnt`, `package_price`, `total_amnt`) VALUES ('20180703085156', '1005', '3', '3', '2', '2', '2018-07-03', '08:51:56', '58', '57', '290', '4', '11', '69.60', '69.60', '986', '725.00');
INSERT INTO `payment_collection` (`sale_id`, `invoice_no`, `customer_id`, `receive_amnt`, `due_amnt`, `receive_by`, `receive_date`) VALUES ('20180703085156', '1005', '3', '290', '696.00', '2', '2018-07-03');
INSERT INTO `customer_gurrantor_map` (`lease_id`, `customer_id`, `gurrantor_id`) VALUES ('4', '3', '58');
INSERT INTO `customer_gurrantor_map` (`lease_id`, `customer_id`, `gurrantor_id`) VALUES ('4', '3', '57');
INSERT INTO `sale_details` (`sale_id`, `product_id`, `qty`, `sell_price`, `sale_type_id`) VALUES ('20180703085156', '6', '5', '35', '3');
INSERT INTO `sale_details` (`sale_id`, `product_id`, `qty`, `sell_price`, `sale_type_id`) VALUES ('20180703085156', '7', '10', '55', '3');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Sales', 'create', 'invoice_no-1005 total amount-725.00', '2', '2018-07-03 08:51:56');
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
INSERT INTO `payment_collection` (`id`, `invoice_no`, `customer_id`, `receive_amnt`, `receive_date`, `receive_by`, `is_installment`) VALUES ('', '1005', '3', '50', '2018-07-03', '2', 1);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('recovery', 'create', 'payment ID :5', '2', '2018-07-03 08:52:18');
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
SET FOREIGN_KEY_CHECKS = 0;
CREATE TABLE IF NOT EXISTS `test` (
  `test_id` int(11) NOT NULL AUTO_INCREMENT,
  
  PRIMARY KEY (`test_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
SET FOREIGN_KEY_CHECKS = 1;
INSERT INTO `module` (`id`, `name`, `description`, `image`, `directory`, `status`) VALUES (NULL, 'Accounts', 'Accounts Information', 'application/modules/accounts/assets/images/thumbnail.jpg', 'accounts', 1);
INSERT INTO `language` (`phrase`) VALUES ('accounts');
INSERT INTO `language` (`phrase`) VALUES ('c_o_a');
INSERT INTO `language` (`phrase`) VALUES ('invoice');
UPDATE `language` SET `english` = 'A'
WHERE `phrase` = 'a';
UPDATE `language` SET `english` = 'About'
WHERE `phrase` = 'about';
UPDATE `language` SET `english` = 'Account'
WHERE `phrase` = 'account';
UPDATE `language` SET `english` = 'Accounts'
WHERE `phrase` = 'accounts';
UPDATE `language` SET `english` = 'Achievement'
WHERE `phrase` = 'achievement';
UPDATE `language` SET `english` = 'Action'
WHERE `phrase` = 'action';
UPDATE `language` SET `english` = 'Active'
WHERE `phrase` = 'active';
UPDATE `language` SET `english` = 'A/C Wise Achievement'
WHERE `phrase` = 'ac_wise_achivement';
UPDATE `language` SET `english` = 'Add '
WHERE `phrase` = 'add';
UPDATE `language` SET `english` = 'Address'
WHERE `phrase` = 'address';
UPDATE `language` SET `english` = 'Add Credit Receiving'
WHERE `phrase` = 'add_credit_receiving';
UPDATE `language` SET `english` = 'Add Model'
WHERE `phrase` = 'add_model';
UPDATE `language` SET `english` = 'Add Module'
WHERE `phrase` = 'add_module';
UPDATE `language` SET `english` = 'Add Module Permission'
WHERE `phrase` = 'add_module_permission';
UPDATE `language` SET `english` = 'Add New Product'
WHERE `phrase` = 'add_new_item';
UPDATE `language` SET `english` = 'Add Product'
WHERE `phrase` = 'add_product';
UPDATE `language` SET `english` = 'Add Recovery Receiving'
WHERE `phrase` = 'add_recovery_receiving';
UPDATE `language` SET `english` = 'Add Role'
WHERE `phrase` = 'add_role';
UPDATE `language` SET `english` = 'Add Role Permission'
WHERE `phrase` = 'add_role_permission';
UPDATE `language` SET `english` = 'Add Store'
WHERE `phrase` = 'add_store';
UPDATE `language` SET `english` = 'Add Unit'
WHERE `phrase` = 'add_unit';
UPDATE `language` SET `english` = 'Add User'
WHERE `phrase` = 'add_user';
UPDATE `language` SET `english` = 'Add User Role'
WHERE `phrase` = 'add_user_role';
UPDATE `language` SET `english` = 'Add Warehouse'
WHERE `phrase` = 'add_warehouse';
UPDATE `language` SET `english` = 'Admin'
WHERE `phrase` = 'admin';
UPDATE `language` SET `english` = 'Cash Sale'
WHERE `phrase` = 'cashsale';
UPDATE `language` SET `english` = 'Cash Sale List'
WHERE `phrase` = 'cash_sale_list';
UPDATE `language` SET `english` = 'Category'
WHERE `phrase` = 'category';
UPDATE `language` SET `english` = 'Category List'
WHERE `phrase` = 'category_list';
UPDATE `language` SET `english` = 'Category Name'
WHERE `phrase` = 'category_name';
UPDATE `language` SET `english` = 'Checked By'
WHERE `phrase` = 'checked_by';
UPDATE `language` SET `english` = 'Check_receive'
WHERE `phrase` = 'check_receive';
UPDATE `language` SET `english` = 'CNIC'
WHERE `phrase` = 'cnic';
UPDATE `language` SET `english` = 'Code'
WHERE `phrase` = 'code';
UPDATE `language` SET `english` = 'Contact#'
WHERE `phrase` = 'contact';
UPDATE `language` SET `english` = 'Contact Person '
WHERE `phrase` = 'contact_per_name';
UPDATE `language` SET `english` = 'Create'
WHERE `phrase` = 'create';
UPDATE `language` SET `english` = 'Create User Role'
WHERE `phrase` = 'create_user_role';
UPDATE `language` SET `english` = 'Credit'
WHERE `phrase` = 'credit';
UPDATE `language` SET `english` = 'Credit Sale'
WHERE `phrase` = 'creditsale';
UPDATE `language` SET `english` = 'Credit Receive'
WHERE `phrase` = 'credit_receive';
UPDATE `language` SET `english` = 'Credit Sale List'
WHERE `phrase` = 'credit_sale_list';
UPDATE `language` SET `english` = 'Customer'
WHERE `phrase` = 'customer';
UPDATE `language` SET `english` = 'Customer CNC'
WHERE `phrase` = 'customer_cnic';
UPDATE `language` SET `english` = 'Customer Code'
WHERE `phrase` = 'customer_code';
UPDATE `language` SET `english` = 'Customer Name'
WHERE `phrase` = 'customer_name';
UPDATE `language` SET `english` = 'Customer Type'
WHERE `phrase` = 'customer_type';
UPDATE `language` SET `english` = 'Chart Of Accounts'
WHERE `phrase` = 'c_o_a';
UPDATE `language` SET `english` = 'Person Contact#'
WHERE `phrase` = 'c_p_contact';
UPDATE `language` SET `english` = 'Dashboard'
WHERE `phrase` = 'dashboard';
INSERT INTO `language` (`phrase`) VALUES ('customer_transaction');
INSERT INTO `language` (`phrase`) VALUES ('money_receipt');
INSERT INTO `language` (`phrase`) VALUES ('debit_voucher');
INSERT INTO `language` (`phrase`) VALUES ('credit_voucher');
INSERT INTO `language` (`phrase`) VALUES ('contra_voucher');
INSERT INTO `language` (`phrase`) VALUES ('journal_voucher');
INSERT INTO `language` (`phrase`) VALUES ('voucher_approval');
INSERT INTO `language` (`phrase`) VALUES ('check_status');
INSERT INTO `language` (`phrase`) VALUES ('account_report');
INSERT INTO `language` (`phrase`) VALUES ('voucher_report');
INSERT INTO `language` (`phrase`) VALUES ('cash_book');
INSERT INTO `language` (`phrase`) VALUES ('bank_book');
INSERT INTO `language` (`phrase`) VALUES ('income_expense');
INSERT INTO `language` (`phrase`) VALUES ('general_ledger');
INSERT INTO `language` (`phrase`) VALUES ('trial_balance');
INSERT INTO `language` (`phrase`) VALUES ('profit_loss');
INSERT INTO `language` (`phrase`) VALUES ('receipt_payment');
INSERT INTO `language` (`phrase`) VALUES ('all_voucher');
INSERT INTO `language` (`phrase`) VALUES ('cash_flow');
INSERT INTO `language` (`phrase`) VALUES ('stmt_of_financial_position');
INSERT INTO `language` (`phrase`) VALUES ('stmt_changes_equity');
INSERT INTO `language` (`phrase`) VALUES ('coa_print');
UPDATE `language` SET `english` = 'A'
WHERE `phrase` = 'a';
UPDATE `language` SET `english` = 'About'
WHERE `phrase` = 'about';
UPDATE `language` SET `english` = 'Account'
WHERE `phrase` = 'account';
UPDATE `language` SET `english` = 'Accounts'
WHERE `phrase` = 'accounts';
UPDATE `language` SET `english` = 'Account Reports'
WHERE `phrase` = 'account_report';
UPDATE `language` SET `english` = 'Achievement'
WHERE `phrase` = 'achievement';
UPDATE `language` SET `english` = 'Action'
WHERE `phrase` = 'action';
UPDATE `language` SET `english` = 'Active'
WHERE `phrase` = 'active';
UPDATE `language` SET `english` = 'A/C Wise Achievement'
WHERE `phrase` = 'ac_wise_achivement';
UPDATE `language` SET `english` = 'Add '
WHERE `phrase` = 'add';
UPDATE `language` SET `english` = 'Address'
WHERE `phrase` = 'address';
UPDATE `language` SET `english` = 'Add Credit Receiving'
WHERE `phrase` = 'add_credit_receiving';
UPDATE `language` SET `english` = 'Add Model'
WHERE `phrase` = 'add_model';
UPDATE `language` SET `english` = 'Add Module'
WHERE `phrase` = 'add_module';
UPDATE `language` SET `english` = 'Add Module Permission'
WHERE `phrase` = 'add_module_permission';
UPDATE `language` SET `english` = 'Add New Product'
WHERE `phrase` = 'add_new_item';
UPDATE `language` SET `english` = 'Add Product'
WHERE `phrase` = 'add_product';
UPDATE `language` SET `english` = 'Add Recovery Receiving'
WHERE `phrase` = 'add_recovery_receiving';
UPDATE `language` SET `english` = 'Add Role'
WHERE `phrase` = 'add_role';
UPDATE `language` SET `english` = 'Add Role Permission'
WHERE `phrase` = 'add_role_permission';
UPDATE `language` SET `english` = 'Add Store'
WHERE `phrase` = 'add_store';
UPDATE `language` SET `english` = 'Add Unit'
WHERE `phrase` = 'add_unit';
UPDATE `language` SET `english` = 'Add User'
WHERE `phrase` = 'add_user';
UPDATE `language` SET `english` = 'Add User Role'
WHERE `phrase` = 'add_user_role';
UPDATE `language` SET `english` = 'Add Warehouse'
WHERE `phrase` = 'add_warehouse';
UPDATE `language` SET `english` = 'Admin'
WHERE `phrase` = 'admin';
UPDATE `language` SET `english` = 'Advance'
WHERE `phrase` = 'advance';
UPDATE `language` SET `english` = 'Advance amount'
WHERE `phrase` = 'advance_amount';
UPDATE `language` SET `english` = 'All Voucher'
WHERE `phrase` = 'all_voucher';
UPDATE `language` SET `english` = 'Amount'
WHERE `phrase` = 'amount';
UPDATE `language` SET `english` = 'Amount Wise Achievement'
WHERE `phrase` = 'amount_wise_achivement';
UPDATE `language` SET `english` = 'Application Setting'
WHERE `phrase` = 'application_setting';
UPDATE `language` SET `english` = 'Application Title'
WHERE `phrase` = 'application_title';
UPDATE `language` SET `english` = 'Approve'
WHERE `phrase` = 'approved';
UPDATE `language` SET `english` = 'Are You Sure ? '
WHERE `phrase` = 'are_you_sure';
UPDATE `language` SET `english` = 'Assign Role'
WHERE `phrase` = 'assign_role';
UPDATE `language` SET `english` = 'Available'
WHERE `phrase` = 'available';
UPDATE `language` SET `english` = 'Backup and Restore'
WHERE `phrase` = 'backup_and_restore';
UPDATE `language` SET `english` = 'Backup Date'
WHERE `phrase` = 'backup_date';
UPDATE `language` SET `english` = 'Backup Now!'
WHERE `phrase` = 'backup_now';
UPDATE `language` SET `english` = 'Backup Successfully'
WHERE `phrase` = 'backup_successfully';
UPDATE `language` SET `english` = 'Bank Book'
WHERE `phrase` = 'bank_book';
UPDATE `language` SET `english` = 'Block Price'
WHERE `phrase` = 'block_price';
UPDATE `language` SET `english` = 'BL Price'
WHERE `phrase` = 'bl_price';
UPDATE `language` SET `english` = 'Branches'
WHERE `phrase` = 'branches';
UPDATE `language` SET `english` = 'Branch Wise Due Analysis'
WHERE `phrase` = 'branch_wise_ov_du_analisis';
UPDATE `language` SET `english` = 'Brand'
WHERE `phrase` = 'brand';
UPDATE `language` SET `english` = 'Brand List'
WHERE `phrase` = 'brand_list';
UPDATE `language` SET `english` = 'Brand Name'
WHERE `phrase` = 'brand_name';
UPDATE `language` SET `english` = 'Business Address'
WHERE `phrase` = 'business_address';
UPDATE `language` SET `english` = 'Captcha Word'
WHERE `phrase` = 'captcha';
UPDATE `language` SET `english` = 'NID'
WHERE `phrase` = 'cardno';
UPDATE `language` SET `english` = 'Cash'
WHERE `phrase` = 'cash';
UPDATE `language` SET `english` = 'Cash Sale'
WHERE `phrase` = 'cashsale';
UPDATE `language` SET `english` = 'Cash Book'
WHERE `phrase` = 'cash_book';
UPDATE `language` SET `english` = 'Cash Flow'
WHERE `phrase` = 'cash_flow';
UPDATE `language` SET `english` = 'Cash Sale List'
WHERE `phrase` = 'cash_sale_list';
UPDATE `language` SET `english` = 'Category'
WHERE `phrase` = 'category';
UPDATE `language` SET `english` = 'Category List'
WHERE `phrase` = 'category_list';
UPDATE `language` SET `english` = 'Category Name'
WHERE `phrase` = 'category_name';
UPDATE `language` SET `english` = 'Checked By'
WHERE `phrase` = 'checked_by';
UPDATE `language` SET `english` = 'Check_receive'
WHERE `phrase` = 'check_receive';
UPDATE `language` SET `english` = 'Check Status'
WHERE `phrase` = 'check_status';
UPDATE `language` SET `english` = 'CNIC'
WHERE `phrase` = 'cnic';
UPDATE `language` SET `english` = 'COA Print'
WHERE `phrase` = 'coa_print';
UPDATE `language` SET `english` = 'Code'
WHERE `phrase` = 'code';
UPDATE `language` SET `english` = 'Contact#'
WHERE `phrase` = 'contact';
UPDATE `language` SET `english` = 'Contact Person '
WHERE `phrase` = 'contact_per_name';
UPDATE `language` SET `english` = 'Contra Voucher'
WHERE `phrase` = 'contra_voucher';
UPDATE `language` SET `english` = 'Create'
WHERE `phrase` = 'create';
UPDATE `language` SET `english` = 'Create User Role'
WHERE `phrase` = 'create_user_role';
UPDATE `language` SET `english` = 'Credit'
WHERE `phrase` = 'credit';
UPDATE `language` SET `english` = 'Credit Sale'
WHERE `phrase` = 'creditsale';
UPDATE `language` SET `english` = 'Credit Receive'
WHERE `phrase` = 'credit_receive';
UPDATE `language` SET `english` = 'Credit Sale List'
WHERE `phrase` = 'credit_sale_list';
UPDATE `language` SET `english` = 'Credit Voucher'
WHERE `phrase` = 'credit_voucher';
UPDATE `language` SET `english` = 'Customer'
WHERE `phrase` = 'customer';
UPDATE `language` SET `english` = 'Customer CNC'
WHERE `phrase` = 'customer_cnic';
UPDATE `language` SET `english` = 'Customer Code'
WHERE `phrase` = 'customer_code';
UPDATE `language` SET `english` = 'Customer Name'
WHERE `phrase` = 'customer_name';
UPDATE `language` SET `english` = 'Customer Transaction'
WHERE `phrase` = 'customer_transaction';
UPDATE `language` SET `english` = 'Customer Type'
WHERE `phrase` = 'customer_type';
UPDATE `language` SET `english` = 'Chart Of Accounts'
WHERE `phrase` = 'c_o_a';
UPDATE `language` SET `english` = 'Person Contact#'
WHERE `phrase` = 'c_p_contact';
UPDATE `language` SET `english` = 'Dashboard'
WHERE `phrase` = 'dashboard';
UPDATE `language` SET `english` = 'Database Backup'
WHERE `phrase` = 'database_backup';
UPDATE `language` SET `english` = 'Data Import First'
WHERE `phrase` = 'data_import_first';
UPDATE `language` SET `english` = 'Data Import Successfully!'
WHERE `phrase` = 'data_import_successfully';
UPDATE `language` SET `english` = 'Data Import To Database'
WHERE `phrase` = 'data_import_to_database';
UPDATE `language` SET `english` = 'Data Synchronize'
WHERE `phrase` = 'data_synchronize';
UPDATE `language` SET `english` = 'Data Synchronizer'
WHERE `phrase` = 'data_synchronizer';
UPDATE `language` SET `english` = 'Data Upload to Server'
WHERE `phrase` = 'data_upload_to_server';
UPDATE `language` SET `english` = 'Date'
WHERE `phrase` = 'date';
UPDATE `language` SET `english` = 'Days'
WHERE `phrase` = 'days';
UPDATE `language` SET `english` = 'Debit Voucher'
WHERE `phrase` = 'debit_voucher';
UPDATE `language` SET `english` = 'Deficit'
WHERE `phrase` = 'deficit';
UPDATE `language` SET `english` = 'Delete'
WHERE `phrase` = 'delete';
UPDATE `language` SET `english` = 'Delete Successfully!'
WHERE `phrase` = 'delete_successfully';
UPDATE `language` SET `english` = 'Delete Successfully!'
WHERE `phrase` = 'delete_successfully';
UPDATE `language` SET `english` = 'Department'
WHERE `phrase` = 'department';
UPDATE `language` SET `english` = 'FTP Port'
WHERE `phrase` = 'ftp_port';
UPDATE `language` SET `english` = 'Data Synchronize [FTP Setting]'
WHERE `phrase` = 'ftp_setting';
UPDATE `language` SET `english` = 'General Ledger'
WHERE `phrase` = 'general_ledger';
UPDATE `language` SET `english` = 'Grand Total'
WHERE `phrase` = 'grand_total';
UPDATE `language` SET `english` = 'Gurrantor'
WHERE `phrase` = 'gurrantor';
UPDATE `language` SET `english` = 'Gurrantor Address'
WHERE `phrase` = 'gurrantor_address';
UPDATE `language` SET `english` = 'Gurrantor  CNIC'
WHERE `phrase` = 'gurrantor_cnic';
UPDATE `language` SET `english` = 'Gurrantor  Code'
WHERE `phrase` = 'gurrantor_code';
UPDATE `language` SET `english` = 'Gurrantor  Name'
WHERE `phrase` = 'gurrantor_name';
UPDATE `language` SET `english` = 'Gurrantor  Phone'
WHERE `phrase` = 'gurrantor_phone';
UPDATE `language` SET `english` = 'G Contact'
WHERE `phrase` = 'g_contact';
UPDATE `language` SET `english` = 'Home'
WHERE `phrase` = 'home';
UPDATE `language` SET `english` = 'Host Name'
WHERE `phrase` = 'hostname';
UPDATE `language` SET `english` = 'Image'
WHERE `phrase` = 'image';
UPDATE `language` SET `english` = 'Image Upload Successfully!'
WHERE `phrase` = 'image_upload_successfully';
UPDATE `language` SET `english` = 'In A'
WHERE `phrase` = 'in';
UPDATE `language` SET `english` = 'Inactive'
WHERE `phrase` = 'inactive';
UPDATE `language` SET `english` = 'Inbox'
WHERE `phrase` = 'inbox';
UPDATE `language` SET `english` = 'Inbox Messages'
WHERE `phrase` = 'inbox_message';
UPDATE `language` SET `english` = 'Income/Expense'
WHERE `phrase` = 'income_expense';
UPDATE `language` SET `english` = 'Incoming File'
WHERE `phrase` = 'incoming_file';
UPDATE `language` SET `english` = 'Incorrect Email/Password'
WHERE `phrase` = 'incorrect_email_or_password';
UPDATE `language` SET `english` = 'In QTY'
WHERE `phrase` = 'inqty';
UPDATE `language` SET `english` = 'Inquiry Officer'
WHERE `phrase` = 'inquiry_officer';
UPDATE `language` SET `english` = 'Install'
WHERE `phrase` = 'install';
UPDATE `language` SET `english` = 'Installment Amount'
WHERE `phrase` = 'installment_amnt';
UPDATE `language` SET `english` = 'Installment Amount'
WHERE `phrase` = 'installment_amount';
UPDATE `language` SET `english` = 'Install No'
WHERE `phrase` = 'install_no';
UPDATE `language` SET `english` = 'Internet Connection'
WHERE `phrase` = 'internet_connection';
UPDATE `language` SET `english` = 'Invalid File!'
WHERE `phrase` = 'invalid_file';
UPDATE `language` SET `english` = 'Invalid Module'
WHERE `phrase` = 'invalid_module';
UPDATE `language` SET `english` = 'Invoice'
WHERE `phrase` = 'invoice';
UPDATE `language` SET `english` = 'Invoice ID'
WHERE `phrase` = 'invoice_id';
UPDATE `language` SET `english` = 'Invoice No'
WHERE `phrase` = 'invoice_no';
UPDATE `language` SET `english` = 'IP Address'
WHERE `phrase` = 'ip_address';
UPDATE `language` SET `english` = 'Is Active'
WHERE `phrase` = 'isactive';
UPDATE `language` SET `english` = 'Issue By'
WHERE `phrase` = 'issue_by';
UPDATE `language` SET `english` = 'Issue Code'
WHERE `phrase` = 'issue_code';
UPDATE `language` SET `english` = 'Issue Date'
WHERE `phrase` = 'issue_date';
UPDATE `language` SET `english` = 'Journal Voucher'
WHERE `phrase` = 'journal_voucher';
UPDATE `language` SET `english` = 'Language'
WHERE `phrase` = 'language';
UPDATE `language` SET `english` = 'Last Name'
WHERE `phrase` = 'lastname';
UPDATE `language` SET `english` = 'Last Login'
WHERE `phrase` = 'last_login';
UPDATE `language` SET `english` = 'Last Logout'
WHERE `phrase` = 'last_logout';
UPDATE `language` SET `english` = 'Last Payment Date'
WHERE `phrase` = 'last_payment_date';
UPDATE `language` SET `english` = 'Lease'
WHERE `phrase` = 'lease';
UPDATE `language` SET `english` = 'Lease Sale'
WHERE `phrase` = 'leasesale';
UPDATE `language` SET `english` = 'Lease Amount'
WHERE `phrase` = 'lease_amount';
UPDATE `language` SET `english` = 'Lease Package'
WHERE `phrase` = 'lease_package';
UPDATE `language` SET `english` = 'Lease Sale List'
WHERE `phrase` = 'lease_sale_list';
UPDATE `language` SET `english` = 'Left To Right'
WHERE `phrase` = 'left_to_right';
UPDATE `language` SET `english` = 'List'
WHERE `phrase` = 'list';
UPDATE `language` SET `english` = 'Store List'
WHERE `phrase` = 'list_store';
UPDATE `language` SET `english` = 'Warehouse list'
WHERE `phrase` = 'list_warehouse';
UPDATE `language` SET `english` = 'Location'
WHERE `phrase` = 'location';
UPDATE `language` SET `english` = 'Login'
WHERE `phrase` = 'login';
UPDATE `language` SET `english` = 'Logo'
WHERE `phrase` = 'logo';
UPDATE `language` SET `english` = 'Logout'
WHERE `phrase` = 'logout';
UPDATE `language` SET `english` = 'Markup'
WHERE `phrase` = 'markup';
UPDATE `language` SET `english` = 'Message'
WHERE `phrase` = 'message';
UPDATE `language` SET `english` = 'Message Details'
WHERE `phrase` = 'message_details';
UPDATE `language` SET `english` = 'Message Sent!'
WHERE `phrase` = 'message_sent';
UPDATE `language` SET `english` = 'Minimum Price'
WHERE `phrase` = 'minimum_price';
UPDATE `language` SET `english` = 'Min Price'
WHERE `phrase` = 'min_price';
UPDATE `language` SET `english` = 'Model'
WHERE `phrase` = 'model';
UPDATE `language` SET `english` = 'Model Name'
WHERE `phrase` = 'model_name';
UPDATE `language` SET `english` = 'Module'
WHERE `phrase` = 'module';
UPDATE `language` SET `english` = 'Module Added Successfully'
WHERE `phrase` = 'module_added_successfully';
UPDATE `language` SET `english` = 'Module List'
WHERE `phrase` = 'module_list';
UPDATE `language` SET `english` = 'Module Name'
WHERE `phrase` = 'module_name';
UPDATE `language` SET `english` = 'Module Permission'
WHERE `phrase` = 'module_permission';
UPDATE `language` SET `english` = 'Module Permission Added Successfully!'
WHERE `phrase` = 'module_permission_added_successfully';
UPDATE `language` SET `english` = 'Module Permission List'
WHERE `phrase` = 'module_permission_list';
UPDATE `language` SET `english` = 'Money Receipt'
WHERE `phrase` = 'money_receipt';
UPDATE `language` SET `english` = 'Name'
WHERE `phrase` = 'name';
UPDATE `language` SET `english` = 'Please another Product Code!!!'
WHERE `phrase` = 'please_choose_another_p_code';
UPDATE `language` SET `english` = 'Please configure synchronizer settings'
WHERE `phrase` = 'please_configure_synchronizer_settings';
UPDATE `language` SET `english` = 'Please Contact With Admin'
WHERE `phrase` = 'please_contact_with_admin';
UPDATE `language` SET `english` = 'Please Input a correct invoice number'
WHERE `phrase` = 'please_input_correct_invoice_no';
UPDATE `language` SET `english` = 'Please Try Again...'
WHERE `phrase` = 'please_try_again';
UPDATE `language` SET `english` = 'Please Wait...'
WHERE `phrase` = 'please_wait';
UPDATE `language` SET `english` = 'Preview'
WHERE `phrase` = 'preview';
UPDATE `language` SET `english` = 'Price'
WHERE `phrase` = 'price';
UPDATE `language` SET `english` = 'Product'
WHERE `phrase` = 'product';
UPDATE `language` SET `english` = 'Product Category'
WHERE `phrase` = 'product_category';
UPDATE `language` SET `english` = 'Product Code'
WHERE `phrase` = 'product_code';
UPDATE `language` SET `english` = 'Product Details'
WHERE `phrase` = 'product_details';
UPDATE `language` SET `english` = 'Product Info'
WHERE `phrase` = 'product_info';
UPDATE `language` SET `english` = 'Product List'
WHERE `phrase` = 'product_list';
UPDATE `language` SET `english` = 'Product Name'
WHERE `phrase` = 'product_name';
UPDATE `language` SET `english` = 'Profile'
WHERE `phrase` = 'profile';
UPDATE `language` SET `english` = 'Profile Setting'
WHERE `phrase` = 'profile_setting';
UPDATE `language` SET `english` = 'Profit/Loss'
WHERE `phrase` = 'profit_loss';
UPDATE `language` SET `english` = 'Project Root'
WHERE `phrase` = 'project_root';
UPDATE `language` SET `english` = 'Proposal Code'
WHERE `phrase` = 'proposal_code';
UPDATE `language` SET `english` = 'Proposal Date'
WHERE `phrase` = 'proposal_datetime';
UPDATE `language` SET `english` = 'Proposal QTY'
WHERE `phrase` = 'proposal_qty';
UPDATE `language` SET `english` = 'Proposed By'
WHERE `phrase` = 'proposed_by';
UPDATE `language` SET `english` = 'Puchase Order'
WHERE `phrase` = 'purchase_order';
UPDATE `language` SET `english` = 'Purchase Price'
WHERE `phrase` = 'purchase_price';
UPDATE `language` SET `english` = 'Pur.QTY'
WHERE `phrase` = 'purchase_qty';
UPDATE `language` SET `english` = 'Purchase Return'
WHERE `phrase` = 'purchase_return';
UPDATE `language` SET `english` = 'Purchase Return List'
WHERE `phrase` = 'purchase_return_list';
UPDATE `language` SET `english` = 'Purchase Return veiw'
WHERE `phrase` = 'purchase_return_view';
UPDATE `language` SET `english` = 'Pur Price'
WHERE `phrase` = 'pur_price';
UPDATE `language` SET `english` = 'Qty'
WHERE `phrase` = 'quantity';
UPDATE `language` SET `english` = 'Read'
WHERE `phrase` = 'read';
UPDATE `language` SET `english` = 'Read/Unread'
WHERE `phrase` = 'read_unread';
UPDATE `language` SET `english` = 'Reason'
WHERE `phrase` = 'reason';
UPDATE `language` SET `english` = 'Receipt Payment'
WHERE `phrase` = 'receipt_payment';
UPDATE `language` SET `english` = 'Receive'
WHERE `phrase` = 'receive';
UPDATE `language` SET `english` = 'Receiver Name'
WHERE `phrase` = 'receiver_name';
UPDATE `language` SET `english` = 'Receive Amount'
WHERE `phrase` = 'receive_amnt';
UPDATE `language` SET `english` = 'Receive List'
WHERE `phrase` = 'receive_list';
UPDATE `language` SET `english` = 'Receive QTY'
WHERE `phrase` = 'receive_qty';
UPDATE `language` SET `english` = 'Receive QTY'
WHERE `phrase` = 'receive_quantity';
UPDATE `language` SET `english` = 'Recovery'
WHERE `phrase` = 'recovery';
UPDATE `language` SET `english` = 'Recovery List'
WHERE `phrase` = 'recovery_list';
UPDATE `language` SET `english` = 'Recovery Received'
WHERE `phrase` = 'recovery_received';
UPDATE `language` SET `english` = 'Recovery Summary Report'
WHERE `phrase` = 'recovery_summary_report';
UPDATE `language` SET `english` = 'Recovery Summary Report Datewise'
WHERE `phrase` = 'recovery_summary_report_datewise';
UPDATE `language` SET `english` = 'Remaining'
WHERE `phrase` = 'remaining';
UPDATE `language` SET `english` = 'Remainig Amount'
WHERE `phrase` = 'remaining_amnt';
UPDATE `language` SET `english` = 'Remaining A/C'
WHERE `phrase` = 'remaning_ac';
UPDATE `language` SET `english` = 'Remaining Amount'
WHERE `phrase` = 'remaning_amount';
UPDATE `language` SET `english` = 'Save'
WHERE `phrase` = 'save';
UPDATE `language` SET `english` = 'Save Successfully!'
WHERE `phrase` = 'save_successfully';
UPDATE `language` SET `english` = 'Search'
WHERE `phrase` = 'search';
UPDATE `language` SET `english` = 'See All Messages'
WHERE `phrase` = 'see_all_message';
UPDATE `language` SET `english` = 'Select'
WHERE `phrase` = 'select';
UPDATE `language` SET `english` = 'Select Option'
WHERE `phrase` = 'select_option';
UPDATE `language` SET `english` = 'Send'
WHERE `phrase` = 'send';
UPDATE `language` SET `english` = 'Sender Name'
WHERE `phrase` = 'sender_name';
UPDATE `language` SET `english` = 'Sent'
WHERE `phrase` = 'sent';
UPDATE `language` SET `english` = 'Sent Message'
WHERE `phrase` = 'sent_message';
UPDATE `language` SET `english` = 'Set'
WHERE `phrase` = 'set';
UPDATE `language` SET `english` = 'Setting'
WHERE `phrase` = 'setting';
UPDATE `language` SET `english` = 'Application Alignment'
WHERE `phrase` = 'site_align';
UPDATE `language` SET `english` = 'size'
WHERE `phrase` = 'size';
UPDATE `language` SET `english` = 'SL'
WHERE `phrase` = 'sl';
UPDATE `language` SET `english` = 'SL No.'
WHERE `phrase` = 'sl_no';
UPDATE `language` SET `english` = 'Status'
WHERE `phrase` = 'status';
UPDATE `language` SET `english` = 'Stmt Of Changes Equity'
WHERE `phrase` = 'stmt_changes_equity';
UPDATE `language` SET `english` = 'Stmt Of Financial Position'
WHERE `phrase` = 'stmt_of_financial_position';
UPDATE `language` SET `english` = 'Stock'
WHERE `phrase` = 'stock';
UPDATE `language` SET `english` = 'Stock Movement'
WHERE `phrase` = 'stockmovment';
UPDATE `language` SET `english` = 'Stock Qty'
WHERE `phrase` = 'stock_ctn';
UPDATE `language` SET `english` = 'Store'
WHERE `phrase` = 'store';
UPDATE `language` SET `english` = 'Store/warehouse'
WHERE `phrase` = 'storewarehouse';
UPDATE `language` SET `english` = 'Store Address'
WHERE `phrase` = 'store_address';
UPDATE `language` SET `english` = 'Store Code'
WHERE `phrase` = 'store_code';
UPDATE `language` SET `english` = 'Store Name'
WHERE `phrase` = 'store_name';
UPDATE `language` SET `english` = 'Store Phone'
WHERE `phrase` = 'store_phone';
UPDATE `language` SET `english` = 'Store Procedure'
WHERE `phrase` = 'store_procedure';
UPDATE `language` SET `english` = 'Subject'
WHERE `phrase` = 'subject';
UPDATE `language` SET `english` = 'Submit '
WHERE `phrase` = 'submit';
UPDATE `language` SET `english` = 'Submit and Another'
WHERE `phrase` = 'submit_and_add_another';
UPDATE `language` SET `english` = 'Successfully Approved'
WHERE `phrase` = 'successfully_approved';
UPDATE `language` SET `english` = 'Super Admin'
WHERE `phrase` = 'super_admin';
UPDATE `language` SET `english` = 'Supplier'
WHERE `phrase` = 'supplier';
UPDATE `language` SET `english` = 'Supplier Code'
WHERE `phrase` = 'supplier_code';
UPDATE `language` SET `english` = 'Supplier Name'
WHERE `phrase` = 'supplier_name';
UPDATE `language` SET `english` = 'Surplus'
WHERE `phrase` = 'surplus';
UPDATE `language` SET `english` = 'Synchronize'
WHERE `phrase` = 'synchronize';
UPDATE `language` SET `english` = 'Tables are not available in database.sql'
WHERE `phrase` = 'tables_are_not_available_in_database';
UPDATE `language` SET `english` = 'Target'
WHERE `phrase` = 'target';
UPDATE `language` SET `english` = ''
WHERE `phrase` = 'test';
UPDATE `language` SET `english` = 'To'
WHERE `phrase` = 'to';
UPDATE `language` SET `english` = 'Total'
WHERE `phrase` = 'total';
UPDATE `language` SET `english` = 'Total Amount'
WHERE `phrase` = 'total_amount';
UPDATE `language` SET `english` = 'Total Receive'
WHERE `phrase` = 'total_receive';
UPDATE `language` SET `english` = 'Trial Balance'
WHERE `phrase` = 'trial_balance';
UPDATE `language` SET `english` = 'U/M'
WHERE `phrase` = 'um';
UPDATE `language` SET `english` = 'Unable to download file! please check configuration'
WHERE `phrase` = 'unable_to_download_file_please_check_configuration';
UPDATE `language` SET `english` = 'Unable to import data! please check configuration / SQL file.'
WHERE `phrase` = 'unable_to_import_data_please_check_config_or_sql_file';
UPDATE `language` SET `english` = 'Unable to upload file! please check configuration'
WHERE `phrase` = 'unable_to_upload_file_please_check_configuration';
UPDATE `language` SET `english` = 'Uninstall'
WHERE `phrase` = 'uninstall';
UPDATE `language` SET `english` = 'Unit of Measurement'
WHERE `phrase` = 'unit';
UPDATE `language` SET `english` = 'Unit List'
WHERE `phrase` = 'unit_list';
UPDATE `language` SET `english` = 'Unit Name'
WHERE `phrase` = 'unit_name';
UPDATE `language` SET `english` = 'Update'
WHERE `phrase` = 'update';
UPDATE `language` SET `english` = 'Lease Update'
WHERE `phrase` = 'update_lease';
UPDATE `language` SET `english` = 'Update Module Permission'
WHERE `phrase` = 'update_module_permission';
UPDATE `language` SET `english` = 'Update Successfully'
WHERE `phrase` = 'update_successfully';
UPDATE `language` SET `english` = 'Upload Successfully!'
WHERE `phrase` = 'upload_successfully';
UPDATE `language` SET `english` = 'User'
WHERE `phrase` = 'user';
UPDATE `language` SET `english` = 'User Name'
WHERE `phrase` = 'username';
UPDATE `language` SET `english` = 'User Added Successfully!'
WHERE `phrase` = 'user_added_successfully';
UPDATE `language` SET `english` = 'User Agent'
WHERE `phrase` = 'user_agent';
UPDATE `language` SET `english` = 'User List'
WHERE `phrase` = 'user_list';
UPDATE `language` SET `english` = 'User Name'
WHERE `phrase` = 'user_name';
UPDATE `language` SET `english` = 'User Permission'
WHERE `phrase` = 'user_permission';
UPDATE `language` SET `english` = 'User Role'
WHERE `phrase` = 'user_role';
UPDATE `language` SET `english` = 'User Role List'
WHERE `phrase` = 'user_role_list';
UPDATE `language` SET `english` = 'User Type'
WHERE `phrase` = 'user_type';
UPDATE `language` SET `english` = 'Voucher Approval'
WHERE `phrase` = 'voucher_approval';
UPDATE `language` SET `english` = 'Voucher No'
WHERE `phrase` = 'voucher_no';
UPDATE `language` SET `english` = 'Voucher Report'
WHERE `phrase` = 'voucher_report';
UPDATE `language` SET `english` = 'Warehouse'
WHERE `phrase` = 'warehouse';
UPDATE `language` SET `english` = 'Warehouse Address'
WHERE `phrase` = 'warehouse_address';
UPDATE `user` SET `last_login` = '2018-07-03 14:51:28', `ip_address` = '::1'
WHERE `id` = '2';
UPDATE `user` SET `last_login` = '2018-07-04 05:45:33', `ip_address` = '::1'
WHERE `id` = '2';
INSERT INTO `purchase_order` (`po_no`, `supplier_id`, `total_amnt`, `store_id`, `warehouse_id`, `createby`, `createdate`, `isapproved`) VALUES ('20180704084206', '1', '125.00', 0, 0, '2', '2018-07-04 08:42:06', 0);
INSERT INTO `purchase_order_details` (`row_id`, `po_no`, `product_id`, `order_qty`, `product_rate`, `discount`, `store_id`) VALUES ('184457859867455', '20180704084206', '6', '5', '25', '', '2');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('purchase order', 'create', 'Orde Id-20180704084206 total amount-125.00', '2', '2018-07-04 08:42:06');
INSERT INTO `purchase_receive` (`receive_id`, `po_no`, `supplier_id`, `store_id`, `warehouse_id`, `voucher_no`, `receive_by`, `receive_date`) VALUES ('20180704084240', '20180704084206', '1', 0, 0, 1007, '2', '2018-07-04 08:42:40');
INSERT INTO `purchase_receive_details` (`receive_id`, `product_id`, `receive_qty`, `product_rate`, `store_id`, `discount`) VALUES ('20180704084240', '6', '5', '25', '2', '');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('purchase order receive', 'create', 'Orde Id- total amount-125.00', '2', '2018-07-04 08:42:40');
ALTER TABLE `language`
	ADD `accounts` TEXT;
INSERT INTO `language` (`phrase`) VALUES ('accounts');
INSERT INTO `language` (`phrase`) VALUES ('c_o_a');
UPDATE `language` SET `english` = 'A'
WHERE `phrase` = 'a';
UPDATE `language` SET `english` = 'About'
WHERE `phrase` = 'about';
UPDATE `language` SET `english` = 'Account'
WHERE `phrase` = 'account';
UPDATE `language` SET `english` = 'Accounts'
WHERE `phrase` = 'accounts';
UPDATE `language` SET `english` = 'Achievement'
WHERE `phrase` = 'achievement';
UPDATE `language` SET `english` = 'Action'
WHERE `phrase` = 'action';
UPDATE `language` SET `english` = 'Active'
WHERE `phrase` = 'active';
UPDATE `language` SET `english` = 'A/C Wise Achievement'
WHERE `phrase` = 'ac_wise_achivement';
UPDATE `language` SET `english` = 'Add '
WHERE `phrase` = 'add';
UPDATE `language` SET `english` = 'Address'
WHERE `phrase` = 'address';
UPDATE `language` SET `english` = 'Add Credit Receiving'
WHERE `phrase` = 'add_credit_receiving';
UPDATE `language` SET `english` = 'Add Model'
WHERE `phrase` = 'add_model';
UPDATE `language` SET `english` = 'Add Module'
WHERE `phrase` = 'add_module';
UPDATE `language` SET `english` = 'Add Module Permission'
WHERE `phrase` = 'add_module_permission';
UPDATE `language` SET `english` = 'Add New Product'
WHERE `phrase` = 'add_new_item';
UPDATE `language` SET `english` = 'Add Product'
WHERE `phrase` = 'add_product';
UPDATE `language` SET `english` = 'Add Recovery Receiving'
WHERE `phrase` = 'add_recovery_receiving';
UPDATE `language` SET `english` = 'Add Role'
WHERE `phrase` = 'add_role';
UPDATE `language` SET `english` = 'Add Role Permission'
WHERE `phrase` = 'add_role_permission';
UPDATE `language` SET `english` = 'Add Store'
WHERE `phrase` = 'add_store';
UPDATE `language` SET `english` = 'Add Unit'
WHERE `phrase` = 'add_unit';
UPDATE `language` SET `english` = 'Add User'
WHERE `phrase` = 'add_user';
UPDATE `language` SET `english` = 'Add User Role'
WHERE `phrase` = 'add_user_role';
UPDATE `language` SET `english` = 'Add Warehouse'
WHERE `phrase` = 'add_warehouse';
UPDATE `language` SET `english` = 'Admin'
WHERE `phrase` = 'admin';
UPDATE `language` SET `english` = 'Cash Sale'
WHERE `phrase` = 'cashsale';
UPDATE `language` SET `english` = 'Cash Sale List'
WHERE `phrase` = 'cash_sale_list';
UPDATE `language` SET `english` = 'Category'
WHERE `phrase` = 'category';
UPDATE `language` SET `english` = 'Category List'
WHERE `phrase` = 'category_list';
UPDATE `language` SET `english` = 'Category Name'
WHERE `phrase` = 'category_name';
UPDATE `language` SET `english` = 'Checked By'
WHERE `phrase` = 'checked_by';
UPDATE `language` SET `english` = 'Check_receive'
WHERE `phrase` = 'check_receive';
UPDATE `language` SET `english` = 'CNIC'
WHERE `phrase` = 'cnic';
UPDATE `language` SET `english` = 'Code'
WHERE `phrase` = 'code';
UPDATE `language` SET `english` = 'Contact#'
WHERE `phrase` = 'contact';
UPDATE `language` SET `english` = 'Contact Person '
WHERE `phrase` = 'contact_per_name';
UPDATE `language` SET `english` = 'Create'
WHERE `phrase` = 'create';
UPDATE `language` SET `english` = 'Create User Role'
WHERE `phrase` = 'create_user_role';
UPDATE `language` SET `english` = 'Credit'
WHERE `phrase` = 'credit';
UPDATE `language` SET `english` = 'Credit Sale'
WHERE `phrase` = 'creditsale';
UPDATE `language` SET `english` = 'Credit Receive'
WHERE `phrase` = 'credit_receive';
UPDATE `language` SET `english` = 'Credit Sale List'
WHERE `phrase` = 'credit_sale_list';
UPDATE `language` SET `english` = 'Customer'
WHERE `phrase` = 'customer';
UPDATE `language` SET `english` = 'Customer CNC'
WHERE `phrase` = 'customer_cnic';
UPDATE `language` SET `english` = 'Customer Code'
WHERE `phrase` = 'customer_code';
UPDATE `language` SET `english` = 'Customer Name'
WHERE `phrase` = 'customer_name';
UPDATE `language` SET `english` = 'Customer Type'
WHERE `phrase` = 'customer_type';
UPDATE `language` SET `english` = 'Chart of Accounts'
WHERE `phrase` = 'c_o_a';
UPDATE `language` SET `english` = 'Person Contact#'
WHERE `phrase` = 'c_p_contact';
UPDATE `language` SET `english` = 'Dashboard'
WHERE `phrase` = 'dashboard';
INSERT INTO `language` (`phrase`) VALUES ('customer_transaction');
UPDATE `language` SET `english` = 'Cash Sale'
WHERE `phrase` = 'cashsale';
UPDATE `language` SET `english` = 'Cash Sale List'
WHERE `phrase` = 'cash_sale_list';
UPDATE `language` SET `english` = 'Category'
WHERE `phrase` = 'category';
UPDATE `language` SET `english` = 'Category List'
WHERE `phrase` = 'category_list';
UPDATE `language` SET `english` = 'Category Name'
WHERE `phrase` = 'category_name';
UPDATE `language` SET `english` = 'Checked By'
WHERE `phrase` = 'checked_by';
UPDATE `language` SET `english` = 'Check_receive'
WHERE `phrase` = 'check_receive';
UPDATE `language` SET `english` = 'CNIC'
WHERE `phrase` = 'cnic';
UPDATE `language` SET `english` = 'Code'
WHERE `phrase` = 'code';
UPDATE `language` SET `english` = 'Contact#'
WHERE `phrase` = 'contact';
UPDATE `language` SET `english` = 'Contact Person '
WHERE `phrase` = 'contact_per_name';
UPDATE `language` SET `english` = 'Create'
WHERE `phrase` = 'create';
UPDATE `language` SET `english` = 'Create User Role'
WHERE `phrase` = 'create_user_role';
UPDATE `language` SET `english` = 'Credit'
WHERE `phrase` = 'credit';
UPDATE `language` SET `english` = 'Credit Sale'
WHERE `phrase` = 'creditsale';
UPDATE `language` SET `english` = 'Credit Receive'
WHERE `phrase` = 'credit_receive';
UPDATE `language` SET `english` = 'Credit Sale List'
WHERE `phrase` = 'credit_sale_list';
UPDATE `language` SET `english` = 'Customer'
WHERE `phrase` = 'customer';
UPDATE `language` SET `english` = 'Customer CNC'
WHERE `phrase` = 'customer_cnic';
UPDATE `language` SET `english` = 'Customer Code'
WHERE `phrase` = 'customer_code';
UPDATE `language` SET `english` = 'Customer Name'
WHERE `phrase` = 'customer_name';
UPDATE `language` SET `english` = 'Customer Transaction'
WHERE `phrase` = 'customer_transaction';
UPDATE `language` SET `english` = 'Customer Type'
WHERE `phrase` = 'customer_type';
UPDATE `language` SET `english` = 'Chart of Accounts'
WHERE `phrase` = 'c_o_a';
UPDATE `language` SET `english` = 'Person Contact#'
WHERE `phrase` = 'c_p_contact';
INSERT INTO `language` (`phrase`) VALUES ('money_receipt');
INSERT INTO `language` (`phrase`) VALUES ('debit_voucher');
UPDATE `user` SET `last_login` = '2018-07-05 05:26:59', `ip_address` = '::1'
WHERE `id` = '2';
UPDATE `user` SET `last_login` = '2018-07-05 06:13:59', `ip_address` = '::1'
WHERE `id` = '2';
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
INSERT INTO `language` (`phrase`) VALUES ('receive_by');
UPDATE `language` SET `english` = 'Product List'
WHERE `phrase` = 'product_list';
UPDATE `language` SET `english` = 'Product Name'
WHERE `phrase` = 'product_name';
UPDATE `language` SET `english` = 'Profile'
WHERE `phrase` = 'profile';
UPDATE `language` SET `english` = 'Profile Setting'
WHERE `phrase` = 'profile_setting';
UPDATE `language` SET `english` = 'Project Root'
WHERE `phrase` = 'project_root';
UPDATE `language` SET `english` = 'Proposal Code'
WHERE `phrase` = 'proposal_code';
UPDATE `language` SET `english` = 'Proposal Date'
WHERE `phrase` = 'proposal_datetime';
UPDATE `language` SET `english` = 'Proposal QTY'
WHERE `phrase` = 'proposal_qty';
UPDATE `language` SET `english` = 'Proposed By'
WHERE `phrase` = 'proposed_by';
UPDATE `language` SET `english` = 'Puchase Order'
WHERE `phrase` = 'purchase_order';
UPDATE `language` SET `english` = 'Purchase Price'
WHERE `phrase` = 'purchase_price';
UPDATE `language` SET `english` = 'Pur.QTY'
WHERE `phrase` = 'purchase_qty';
UPDATE `language` SET `english` = 'Purchase Return'
WHERE `phrase` = 'purchase_return';
UPDATE `language` SET `english` = 'Purchase Return List'
WHERE `phrase` = 'purchase_return_list';
UPDATE `language` SET `english` = 'Purchase Return veiw'
WHERE `phrase` = 'purchase_return_view';
UPDATE `language` SET `english` = 'Pur Price'
WHERE `phrase` = 'pur_price';
UPDATE `language` SET `english` = 'Qty'
WHERE `phrase` = 'quantity';
UPDATE `language` SET `english` = 'Read'
WHERE `phrase` = 'read';
UPDATE `language` SET `english` = 'Read/Unread'
WHERE `phrase` = 'read_unread';
UPDATE `language` SET `english` = 'Reason'
WHERE `phrase` = 'reason';
UPDATE `language` SET `english` = 'Receive'
WHERE `phrase` = 'receive';
UPDATE `language` SET `english` = 'Receiver Name'
WHERE `phrase` = 'receiver_name';
UPDATE `language` SET `english` = 'Receive Amount'
WHERE `phrase` = 'receive_amnt';
UPDATE `language` SET `english` = 'Received By'
WHERE `phrase` = 'receive_by';
UPDATE `language` SET `english` = 'Receive List'
WHERE `phrase` = 'receive_list';
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
UPDATE `language` SET `english` = 'Dashboard'
WHERE `phrase` = 'dashboard';
UPDATE `language` SET `english` = 'Database Backup'
WHERE `phrase` = 'database_backup';
UPDATE `language` SET `english` = 'Data Import First'
WHERE `phrase` = 'data_import_first';
UPDATE `language` SET `english` = 'Data Import Successfully!'
WHERE `phrase` = 'data_import_successfully';
UPDATE `language` SET `english` = 'Data Import To Database'
WHERE `phrase` = 'data_import_to_database';
UPDATE `language` SET `english` = 'Data Synchronize'
WHERE `phrase` = 'data_synchronize';
UPDATE `language` SET `english` = 'Data Synchronizer'
WHERE `phrase` = 'data_synchronizer';
UPDATE `language` SET `english` = 'Data Upload to Server'
WHERE `phrase` = 'data_upload_to_server';
UPDATE `language` SET `english` = 'Date'
WHERE `phrase` = 'date';
UPDATE `language` SET `english` = 'Days'
WHERE `phrase` = 'days';
UPDATE `language` SET `english` = 'Debit Voucher'
WHERE `phrase` = 'debit_voucher';
UPDATE `language` SET `english` = 'Deficit'
WHERE `phrase` = 'deficit';
UPDATE `language` SET `english` = 'Delete'
WHERE `phrase` = 'delete';
UPDATE `language` SET `english` = 'Delete Successfully!'
WHERE `phrase` = 'delete_successfully';
UPDATE `language` SET `english` = 'Delete Successfully!'
WHERE `phrase` = 'delete_successfully';
UPDATE `language` SET `english` = 'Department'
WHERE `phrase` = 'department';
UPDATE `language` SET `english` = 'Description'
WHERE `phrase` = 'description';
UPDATE `language` SET `english` = 'Designation'
WHERE `phrase` = 'designation';
UPDATE `language` SET `english` = 'Module Direcotory'
WHERE `phrase` = 'directory';
UPDATE `language` SET `english` = 'Disapprove'
WHERE `phrase` = 'disapprove';
UPDATE `language` SET `english` = 'Disc'
WHERE `phrase` = 'discount';
UPDATE `language` SET `english` = 'Download'
WHERE `phrase` = 'download';
UPDATE `language` SET `english` = 'Download Data from Server'
WHERE `phrase` = 'download_data_from_server';
UPDATE `language` SET `english` = 'Download Successfully'
WHERE `phrase` = 'download_successfully';
UPDATE `language` SET `english` = 'Due Amount'
WHERE `phrase` = 'due_amnt';
UPDATE `language` SET `english` = 'G Contact'
WHERE `phrase` = 'g_contact';
UPDATE `language` SET `english` = 'Home'
WHERE `phrase` = 'home';
UPDATE `language` SET `english` = 'Host Name'
WHERE `phrase` = 'hostname';
UPDATE `language` SET `english` = 'Image'
WHERE `phrase` = 'image';
UPDATE `language` SET `english` = 'Image Upload Successfully!'
WHERE `phrase` = 'image_upload_successfully';
UPDATE `language` SET `english` = 'In A'
WHERE `phrase` = 'in';
UPDATE `language` SET `english` = 'Inactive'
WHERE `phrase` = 'inactive';
UPDATE `language` SET `english` = 'Inbox'
WHERE `phrase` = 'inbox';
UPDATE `language` SET `english` = 'Inbox Messages'
WHERE `phrase` = 'inbox_message';
UPDATE `language` SET `english` = 'Incoming File'
WHERE `phrase` = 'incoming_file';
UPDATE `language` SET `english` = 'Incorrect Email/Password'
WHERE `phrase` = 'incorrect_email_or_password';
UPDATE `language` SET `english` = 'In QTY'
WHERE `phrase` = 'inqty';
UPDATE `language` SET `english` = 'Inquiry Officer'
WHERE `phrase` = 'inquiry_officer';
UPDATE `language` SET `english` = 'Install'
WHERE `phrase` = 'install';
UPDATE `language` SET `english` = 'Installment Amount'
WHERE `phrase` = 'installment_amnt';
UPDATE `language` SET `english` = 'Installment Amount'
WHERE `phrase` = 'installment_amount';
UPDATE `language` SET `english` = '# of Install No'
WHERE `phrase` = 'install_no';
UPDATE `language` SET `english` = 'Internet Connection'
WHERE `phrase` = 'internet_connection';
UPDATE `language` SET `english` = 'Invalid File!'
WHERE `phrase` = 'invalid_file';
UPDATE `language` SET `english` = 'Invalid Module'
WHERE `phrase` = 'invalid_module';
UPDATE `language` SET `english` = 'Invoice ID'
WHERE `phrase` = 'invoice_id';
UPDATE `language` SET `english` = 'Invoice No'
WHERE `phrase` = 'invoice_no';
UPDATE `language` SET `english` = 'IP Address'
WHERE `phrase` = 'ip_address';
UPDATE `language` SET `english` = 'Is Active'
WHERE `phrase` = 'isactive';
UPDATE `language` SET `english` = 'Issue By'
WHERE `phrase` = 'issue_by';
UPDATE `language` SET `english` = 'G Contact'
WHERE `phrase` = 'g_contact';
UPDATE `language` SET `english` = 'Home'
WHERE `phrase` = 'home';
UPDATE `language` SET `english` = 'Host Name'
WHERE `phrase` = 'hostname';
UPDATE `language` SET `english` = 'Image'
WHERE `phrase` = 'image';
UPDATE `language` SET `english` = 'Image Upload Successfully!'
WHERE `phrase` = 'image_upload_successfully';
UPDATE `language` SET `english` = 'In A'
WHERE `phrase` = 'in';
UPDATE `language` SET `english` = 'Inactive'
WHERE `phrase` = 'inactive';
UPDATE `language` SET `english` = 'Inbox'
WHERE `phrase` = 'inbox';
UPDATE `language` SET `english` = 'Inbox Messages'
WHERE `phrase` = 'inbox_message';
UPDATE `language` SET `english` = 'Incoming File'
WHERE `phrase` = 'incoming_file';
UPDATE `language` SET `english` = 'Incorrect Email/Password'
WHERE `phrase` = 'incorrect_email_or_password';
UPDATE `language` SET `english` = 'In QTY'
WHERE `phrase` = 'inqty';
UPDATE `language` SET `english` = 'Inquiry Officer'
WHERE `phrase` = 'inquiry_officer';
UPDATE `language` SET `english` = 'Install'
WHERE `phrase` = 'install';
UPDATE `language` SET `english` = 'Installment Amount'
WHERE `phrase` = 'installment_amnt';
UPDATE `language` SET `english` = 'Installment Amount'
WHERE `phrase` = 'installment_amount';
UPDATE `language` SET `english` = '# of Installment'
WHERE `phrase` = 'install_no';
UPDATE `language` SET `english` = 'Internet Connection'
WHERE `phrase` = 'internet_connection';
UPDATE `language` SET `english` = 'Invalid File!'
WHERE `phrase` = 'invalid_file';
UPDATE `language` SET `english` = 'Invalid Module'
WHERE `phrase` = 'invalid_module';
UPDATE `language` SET `english` = 'Invoice ID'
WHERE `phrase` = 'invoice_id';
UPDATE `language` SET `english` = 'Invoice No'
WHERE `phrase` = 'invoice_no';
UPDATE `language` SET `english` = 'IP Address'
WHERE `phrase` = 'ip_address';
UPDATE `language` SET `english` = 'Is Active'
WHERE `phrase` = 'isactive';
UPDATE `language` SET `english` = 'Issue By'
WHERE `phrase` = 'issue_by';
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
UPDATE `user` SET `last_login` = '2018-07-06 05:22:34', `ip_address` = '::1'
WHERE `id` = '2';
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
INSERT INTO `payment_collection` (`id`, `invoice_no`, `customer_id`, `receive_amnt`, `receive_date`, `receive_by`, `is_installment`) VALUES ('', '1003', '2', '30', '2018-07-06', '2', 1);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('recovery', 'create', 'payment ID :6', '2', '2018-07-06 07:39:16');
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
UPDATE `user` SET `last_login` = '2018-07-07 06:10:55', `ip_address` = '::1'
WHERE `id` = '2';
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
INSERT INTO `payment_collection` (`id`, `invoice_no`, `customer_id`, `receive_amnt`, `receive_date`, `receive_by`, `is_installment`) VALUES ('', '1005', '3', '20', '2018-07-07', '2', 1);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('recovery', 'create', 'payment ID :7', '2', '2018-07-07 08:19:36');
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
INSERT INTO `acc_coa` (`HeadCode`, `HeadName`, `PHeadName`, `HeadLevel`, `IsActive`, `IsTransaction`, `IsGL`, `HeadType`, `IsBudget`, `CreateBy`) VALUES ('10205', 'Test Acount', 'Account Receivable', '2', '1', NULL, NULL, 'A', 0, NULL);
INSERT INTO `acc_coa` (`HeadCode`, `HeadName`, `PHeadName`, `HeadLevel`, `IsActive`, `IsTransaction`, `IsGL`, `HeadType`, `IsBudget`, `CreateBy`) VALUES ('10205', 'Home', 'Account Receivable', '2', '1', NULL, NULL, 'A', 0, '2');
INSERT INTO `acc_coa` (`HeadCode`, `HeadName`, `PHeadName`, `HeadLevel`, `IsActive`, `IsTransaction`, `IsGL`, `HeadType`, `IsBudget`, `CreateBy`, `CreateDate`) VALUES ('10205', 'Home', 'Account Receivable', '2', '1', NULL, NULL, 'A', 0, '2', '2018-07-07 10:21:16');
INSERT INTO `acc_coa` (`HeadCode`, `HeadName`, `PHeadName`, `HeadLevel`, `IsActive`, `IsTransaction`, `IsGL`, `HeadType`, `IsBudget`, `CreateBy`, `CreateDate`) VALUES ('10205', 'HOme', 'Account Receivable', '2', '1', 0, 0, 'A', 0, '2', '2018-07-07 10:26:06');
INSERT INTO `acc_coa` (`HeadCode`, `HeadName`, `PHeadName`, `HeadLevel`, `IsActive`, `IsTransaction`, `IsGL`, `HeadType`, `IsBudget`, `CreateBy`, `CreateDate`) VALUES ('10205', 'HOme', 'Account Receivable', '2', '1', 0, 0, 'A', 0, '2', '2018-07-07 10:26:27');
INSERT INTO `acc_coa` (`HeadCode`, `HeadName`, `PHeadName`, `HeadLevel`, `IsActive`, `IsTransaction`, `IsGL`, `HeadType`, `IsBudget`, `CreateBy`, `CreateDate`) VALUES ('103', 'Test', 'Assets', '0', '1', 0, 0, 'A', 0, '2', '2018-07-07 10:36:01');
INSERT INTO `acc_coa` (`HeadCode`, `HeadName`, `PHeadName`, `HeadLevel`, `IsActive`, `IsTransaction`, `IsGL`, `HeadType`, `IsBudget`, `CreateBy`, `CreateDate`) VALUES ('10205', 'jtest', 'Current Asset', '1', '1', 0, 0, 'A', 0, '2', '2018-07-07 10:36:36');
INSERT INTO `acc_coa` (`HeadCode`, `HeadName`, `PHeadName`, `HeadLevel`, `IsActive`, `IsTransaction`, `IsGL`, `HeadType`, `IsBudget`, `CreateBy`, `CreateDate`) VALUES ('1020501', 'Happy', 'jtest', '1', '1', 0, 0, 'A', 0, '2', '2018-07-07 10:38:13');
INSERT INTO `acc_coa` (`HeadCode`, `HeadName`, `PHeadName`, `HeadLevel`, `IsActive`, `IsTransaction`, `IsGL`, `HeadType`, `IsBudget`, `CreateBy`, `CreateDate`) VALUES ('102050101', 'Hasan', 'Happy', '1', '1', 0, 0, 'A', 0, '2', '2018-07-07 10:38:46');
INSERT INTO `acc_coa` (`HeadCode`, `HeadName`, `PHeadName`, `HeadLevel`, `IsActive`, `IsTransaction`, `IsGL`, `HeadType`, `IsBudget`, `CreateBy`, `CreateDate`) VALUES ('10205010101', 'Jahangir', 'Hasan', '1', '1', 0, 0, 'A', 0, '2', '2018-07-07 10:40:56');
INSERT INTO `language` (`phrase`) VALUES ('credit_voucher');
INSERT INTO `language` (`phrase`) VALUES ('contra_voucher');
INSERT INTO `language` (`phrase`) VALUES ('journal_voucher');
INSERT INTO `language` (`phrase`) VALUES ('voucher_approval');
INSERT INTO `language` (`phrase`) VALUES ('check_status');
INSERT INTO `language` (`phrase`) VALUES ('account_report');
INSERT INTO `language` (`phrase`) VALUES ('voucher_report');
INSERT INTO `language` (`phrase`) VALUES ('cash_book');
INSERT INTO `language` (`phrase`) VALUES ('bank_book');
INSERT INTO `language` (`phrase`) VALUES ('income_expense');
INSERT INTO `language` (`phrase`) VALUES ('general_ledger');
INSERT INTO `language` (`phrase`) VALUES ('trial_balance');
INSERT INTO `language` (`phrase`) VALUES ('profit_loss');
INSERT INTO `language` (`phrase`) VALUES ('receipt_payment');
INSERT INTO `language` (`phrase`) VALUES ('all_voucher');
INSERT INTO `language` (`phrase`) VALUES ('cash_flow');
INSERT INTO `language` (`phrase`) VALUES ('stmt_of_financial_position');
INSERT INTO `language` (`phrase`) VALUES ('stmt_changes_equity');
INSERT INTO `language` (`phrase`) VALUES ('coa_print');
UPDATE `language` SET `english` = 'A'
WHERE `phrase` = 'a';
UPDATE `language` SET `english` = 'About'
WHERE `phrase` = 'about';
UPDATE `language` SET `english` = 'Account'
WHERE `phrase` = 'account';
UPDATE `language` SET `english` = 'Accounts'
WHERE `phrase` = 'accounts';
UPDATE `language` SET `english` = 'Account Reports'
WHERE `phrase` = 'account_report';
UPDATE `language` SET `english` = 'Achievement'
WHERE `phrase` = 'achievement';
UPDATE `language` SET `english` = 'Action'
WHERE `phrase` = 'action';
UPDATE `language` SET `english` = 'Active'
WHERE `phrase` = 'active';
UPDATE `language` SET `english` = 'A/C Wise Achievement'
WHERE `phrase` = 'ac_wise_achivement';
UPDATE `language` SET `english` = 'Add '
WHERE `phrase` = 'add';
UPDATE `language` SET `english` = 'Address'
WHERE `phrase` = 'address';
UPDATE `language` SET `english` = 'Add Credit Receiving'
WHERE `phrase` = 'add_credit_receiving';
UPDATE `language` SET `english` = 'Add Model'
WHERE `phrase` = 'add_model';
UPDATE `language` SET `english` = 'Add Module'
WHERE `phrase` = 'add_module';
UPDATE `language` SET `english` = 'Add Module Permission'
WHERE `phrase` = 'add_module_permission';
UPDATE `language` SET `english` = 'Add New Product'
WHERE `phrase` = 'add_new_item';
UPDATE `language` SET `english` = 'Add Product'
WHERE `phrase` = 'add_product';
UPDATE `language` SET `english` = 'Add Recovery Receiving'
WHERE `phrase` = 'add_recovery_receiving';
UPDATE `language` SET `english` = 'Add Role'
WHERE `phrase` = 'add_role';
UPDATE `language` SET `english` = 'Add Role Permission'
WHERE `phrase` = 'add_role_permission';
UPDATE `language` SET `english` = 'Add Store'
WHERE `phrase` = 'add_store';
UPDATE `language` SET `english` = 'Add Unit'
WHERE `phrase` = 'add_unit';
UPDATE `language` SET `english` = 'Add User'
WHERE `phrase` = 'add_user';
UPDATE `language` SET `english` = 'Add User Role'
WHERE `phrase` = 'add_user_role';
UPDATE `language` SET `english` = 'Add Warehouse'
WHERE `phrase` = 'add_warehouse';
UPDATE `language` SET `english` = 'Admin'
WHERE `phrase` = 'admin';
UPDATE `language` SET `english` = 'Advance'
WHERE `phrase` = 'advance';
UPDATE `language` SET `english` = 'Advance amount'
WHERE `phrase` = 'advance_amount';
UPDATE `language` SET `english` = 'All Voucher'
WHERE `phrase` = 'all_voucher';
UPDATE `language` SET `english` = 'Amount'
WHERE `phrase` = 'amount';
UPDATE `language` SET `english` = 'Amount Wise Achievement'
WHERE `phrase` = 'amount_wise_achivement';
UPDATE `language` SET `english` = 'Application Setting'
WHERE `phrase` = 'application_setting';
UPDATE `language` SET `english` = 'Application Title'
WHERE `phrase` = 'application_title';
UPDATE `language` SET `english` = 'Approve'
WHERE `phrase` = 'approved';
UPDATE `language` SET `english` = 'Are You Sure ? '
WHERE `phrase` = 'are_you_sure';
UPDATE `language` SET `english` = 'Assign Role'
WHERE `phrase` = 'assign_role';
UPDATE `language` SET `english` = 'Available'
WHERE `phrase` = 'available';
UPDATE `language` SET `english` = 'Backup and Restore'
WHERE `phrase` = 'backup_and_restore';
UPDATE `language` SET `english` = 'Backup Date'
WHERE `phrase` = 'backup_date';
UPDATE `language` SET `english` = 'Backup Now!'
WHERE `phrase` = 'backup_now';
UPDATE `language` SET `english` = 'Backup Successfully'
WHERE `phrase` = 'backup_successfully';
UPDATE `language` SET `english` = 'Bank Book'
WHERE `phrase` = 'bank_book';
UPDATE `language` SET `english` = 'Block Price'
WHERE `phrase` = 'block_price';
UPDATE `language` SET `english` = 'BL Price'
WHERE `phrase` = 'bl_price';
UPDATE `language` SET `english` = 'Branches'
WHERE `phrase` = 'branches';
UPDATE `language` SET `english` = 'Branch Wise Due Analysis'
WHERE `phrase` = 'branch_wise_ov_du_analisis';
UPDATE `language` SET `english` = 'Brand'
WHERE `phrase` = 'brand';
UPDATE `language` SET `english` = 'Brand List'
WHERE `phrase` = 'brand_list';
UPDATE `language` SET `english` = 'Brand Name'
WHERE `phrase` = 'brand_name';
UPDATE `language` SET `english` = 'Business Address'
WHERE `phrase` = 'business_address';
UPDATE `language` SET `english` = 'Captcha Word'
WHERE `phrase` = 'captcha';
UPDATE `language` SET `english` = 'NID'
WHERE `phrase` = 'cardno';
UPDATE `language` SET `english` = 'Cash'
WHERE `phrase` = 'cash';
UPDATE `language` SET `english` = 'Cash Sale'
WHERE `phrase` = 'cashsale';
UPDATE `language` SET `english` = 'Cash book'
WHERE `phrase` = 'cash_book';
UPDATE `language` SET `english` = 'Cash Flow'
WHERE `phrase` = 'cash_flow';
UPDATE `language` SET `english` = 'Cash Sale List'
WHERE `phrase` = 'cash_sale_list';
UPDATE `language` SET `english` = 'Category'
WHERE `phrase` = 'category';
UPDATE `language` SET `english` = 'Category List'
WHERE `phrase` = 'category_list';
UPDATE `language` SET `english` = 'Category Name'
WHERE `phrase` = 'category_name';
UPDATE `language` SET `english` = 'Checked By'
WHERE `phrase` = 'checked_by';
UPDATE `language` SET `english` = 'Check_receive'
WHERE `phrase` = 'check_receive';
UPDATE `language` SET `english` = 'Check Status'
WHERE `phrase` = 'check_status';
UPDATE `language` SET `english` = 'CNIC'
WHERE `phrase` = 'cnic';
UPDATE `language` SET `english` = 'Coa Print'
WHERE `phrase` = 'coa_print';
UPDATE `language` SET `english` = 'Code'
WHERE `phrase` = 'code';
UPDATE `language` SET `english` = 'Contact#'
WHERE `phrase` = 'contact';
UPDATE `language` SET `english` = 'Contact Person '
WHERE `phrase` = 'contact_per_name';
UPDATE `language` SET `english` = 'Contra voucher'
WHERE `phrase` = 'contra_voucher';
UPDATE `language` SET `english` = 'Create'
WHERE `phrase` = 'create';
UPDATE `language` SET `english` = 'Create User Role'
WHERE `phrase` = 'create_user_role';
UPDATE `language` SET `english` = 'Credit'
WHERE `phrase` = 'credit';
UPDATE `language` SET `english` = 'Credit Sale'
WHERE `phrase` = 'creditsale';
UPDATE `language` SET `english` = 'Credit Receive'
WHERE `phrase` = 'credit_receive';
UPDATE `language` SET `english` = 'Credit Sale List'
WHERE `phrase` = 'credit_sale_list';
UPDATE `language` SET `english` = 'Credit Voucher'
WHERE `phrase` = 'credit_voucher';
UPDATE `language` SET `english` = 'Customer'
WHERE `phrase` = 'customer';
UPDATE `language` SET `english` = 'Customer CNC'
WHERE `phrase` = 'customer_cnic';
UPDATE `language` SET `english` = 'Customer Code'
WHERE `phrase` = 'customer_code';
UPDATE `language` SET `english` = 'Customer Name'
WHERE `phrase` = 'customer_name';
UPDATE `language` SET `english` = 'Customer Transaction'
WHERE `phrase` = 'customer_transaction';
UPDATE `language` SET `english` = 'Customer Type'
WHERE `phrase` = 'customer_type';
UPDATE `language` SET `english` = 'Chart of Accounts'
WHERE `phrase` = 'c_o_a';
UPDATE `language` SET `english` = 'Person Contact#'
WHERE `phrase` = 'c_p_contact';
UPDATE `language` SET `english` = 'Dashboard'
WHERE `phrase` = 'dashboard';
UPDATE `language` SET `english` = 'Database Backup'
WHERE `phrase` = 'database_backup';
UPDATE `language` SET `english` = 'Data Import First'
WHERE `phrase` = 'data_import_first';
UPDATE `language` SET `english` = 'Data Import Successfully!'
WHERE `phrase` = 'data_import_successfully';
UPDATE `language` SET `english` = 'Data Import To Database'
WHERE `phrase` = 'data_import_to_database';
UPDATE `language` SET `english` = 'Data Synchronize'
WHERE `phrase` = 'data_synchronize';
UPDATE `language` SET `english` = 'Data Synchronizer'
WHERE `phrase` = 'data_synchronizer';
UPDATE `language` SET `english` = 'Data Upload to Server'
WHERE `phrase` = 'data_upload_to_server';
UPDATE `language` SET `english` = 'Date'
WHERE `phrase` = 'date';
UPDATE `language` SET `english` = 'Days'
WHERE `phrase` = 'days';
UPDATE `language` SET `english` = 'Debit Voucher'
WHERE `phrase` = 'debit_voucher';
UPDATE `language` SET `english` = 'Deficit'
WHERE `phrase` = 'deficit';
UPDATE `language` SET `english` = 'Delete'
WHERE `phrase` = 'delete';
UPDATE `language` SET `english` = 'Delete Successfully!'
WHERE `phrase` = 'delete_successfully';
UPDATE `language` SET `english` = 'Delete Successfully!'
WHERE `phrase` = 'delete_successfully';
UPDATE `language` SET `english` = 'Department'
WHERE `phrase` = 'department';
UPDATE `language` SET `english` = 'FTP Port'
WHERE `phrase` = 'ftp_port';
UPDATE `language` SET `english` = 'Data Synchronize [FTP Setting]'
WHERE `phrase` = 'ftp_setting';
UPDATE `language` SET `english` = 'General Ledger'
WHERE `phrase` = 'general_ledger';
UPDATE `language` SET `english` = 'Grand Total'
WHERE `phrase` = 'grand_total';
UPDATE `language` SET `english` = 'Gurrantor'
WHERE `phrase` = 'gurrantor';
UPDATE `language` SET `english` = 'Gurrantor Address'
WHERE `phrase` = 'gurrantor_address';
UPDATE `language` SET `english` = 'Gurrantor  CNIC'
WHERE `phrase` = 'gurrantor_cnic';
UPDATE `language` SET `english` = 'Gurrantor  Code'
WHERE `phrase` = 'gurrantor_code';
UPDATE `language` SET `english` = 'Gurrantor  Name'
WHERE `phrase` = 'gurrantor_name';
UPDATE `language` SET `english` = 'Gurrantor  Phone'
WHERE `phrase` = 'gurrantor_phone';
UPDATE `language` SET `english` = 'G Contact'
WHERE `phrase` = 'g_contact';
UPDATE `language` SET `english` = 'Home'
WHERE `phrase` = 'home';
UPDATE `language` SET `english` = 'Host Name'
WHERE `phrase` = 'hostname';
UPDATE `language` SET `english` = 'Image'
WHERE `phrase` = 'image';
UPDATE `language` SET `english` = 'Image Upload Successfully!'
WHERE `phrase` = 'image_upload_successfully';
UPDATE `language` SET `english` = 'In A'
WHERE `phrase` = 'in';
UPDATE `language` SET `english` = 'Inactive'
WHERE `phrase` = 'inactive';
UPDATE `language` SET `english` = 'Inbox'
WHERE `phrase` = 'inbox';
UPDATE `language` SET `english` = 'Inbox Messages'
WHERE `phrase` = 'inbox_message';
UPDATE `language` SET `english` = 'Income Expense'
WHERE `phrase` = 'income_expense';
UPDATE `language` SET `english` = 'Incoming File'
WHERE `phrase` = 'incoming_file';
UPDATE `language` SET `english` = 'Incorrect Email/Password'
WHERE `phrase` = 'incorrect_email_or_password';
UPDATE `language` SET `english` = 'In QTY'
WHERE `phrase` = 'inqty';
UPDATE `language` SET `english` = 'Inquiry Officer'
WHERE `phrase` = 'inquiry_officer';
UPDATE `language` SET `english` = 'Install'
WHERE `phrase` = 'install';
UPDATE `language` SET `english` = 'Installment Amount'
WHERE `phrase` = 'installment_amnt';
UPDATE `language` SET `english` = 'Installment Amount'
WHERE `phrase` = 'installment_amount';
UPDATE `language` SET `english` = '# of Installment'
WHERE `phrase` = 'install_no';
UPDATE `language` SET `english` = 'Internet Connection'
WHERE `phrase` = 'internet_connection';
UPDATE `language` SET `english` = 'Invalid File!'
WHERE `phrase` = 'invalid_file';
UPDATE `language` SET `english` = 'Invalid Module'
WHERE `phrase` = 'invalid_module';
UPDATE `language` SET `english` = 'Invoice ID'
WHERE `phrase` = 'invoice_id';
UPDATE `language` SET `english` = 'Invoice No'
WHERE `phrase` = 'invoice_no';
UPDATE `language` SET `english` = 'IP Address'
WHERE `phrase` = 'ip_address';
UPDATE `language` SET `english` = 'Is Active'
WHERE `phrase` = 'isactive';
UPDATE `language` SET `english` = 'Issue By'
WHERE `phrase` = 'issue_by';
UPDATE `language` SET `english` = 'Issue Code'
WHERE `phrase` = 'issue_code';
UPDATE `language` SET `english` = 'Issue Date'
WHERE `phrase` = 'issue_date';
UPDATE `language` SET `english` = 'Journal Voucher'
WHERE `phrase` = 'journal_voucher';
UPDATE `language` SET `english` = 'Language'
WHERE `phrase` = 'language';
UPDATE `language` SET `english` = 'Last Name'
WHERE `phrase` = 'lastname';
UPDATE `language` SET `english` = 'Last Login'
WHERE `phrase` = 'last_login';
UPDATE `language` SET `english` = 'Last Logout'
WHERE `phrase` = 'last_logout';
UPDATE `language` SET `english` = 'Last Payment Date'
WHERE `phrase` = 'last_payment_date';
UPDATE `language` SET `english` = 'Lease'
WHERE `phrase` = 'lease';
UPDATE `language` SET `english` = 'Lease Sale'
WHERE `phrase` = 'leasesale';
UPDATE `language` SET `english` = 'Lease Amount'
WHERE `phrase` = 'lease_amount';
UPDATE `language` SET `english` = 'Lease Package'
WHERE `phrase` = 'lease_package';
UPDATE `language` SET `english` = 'Lease Sale List'
WHERE `phrase` = 'lease_sale_list';
UPDATE `language` SET `english` = 'Left To Right'
WHERE `phrase` = 'left_to_right';
UPDATE `language` SET `english` = 'List'
WHERE `phrase` = 'list';
UPDATE `language` SET `english` = 'Store List'
WHERE `phrase` = 'list_store';
UPDATE `language` SET `english` = 'Warehouse list'
WHERE `phrase` = 'list_warehouse';
UPDATE `language` SET `english` = 'Location'
WHERE `phrase` = 'location';
UPDATE `language` SET `english` = 'Login'
WHERE `phrase` = 'login';
UPDATE `language` SET `english` = 'Logo'
WHERE `phrase` = 'logo';
UPDATE `language` SET `english` = 'Logout'
WHERE `phrase` = 'logout';
UPDATE `language` SET `english` = 'Markup'
WHERE `phrase` = 'markup';
UPDATE `language` SET `english` = 'Message'
WHERE `phrase` = 'message';
UPDATE `language` SET `english` = 'Message Details'
WHERE `phrase` = 'message_details';
UPDATE `language` SET `english` = 'Message Sent!'
WHERE `phrase` = 'message_sent';
UPDATE `language` SET `english` = 'Minimum Price'
WHERE `phrase` = 'minimum_price';
UPDATE `language` SET `english` = 'Min Price'
WHERE `phrase` = 'min_price';
UPDATE `language` SET `english` = 'Model'
WHERE `phrase` = 'model';
UPDATE `language` SET `english` = 'Model Name'
WHERE `phrase` = 'model_name';
UPDATE `language` SET `english` = 'Module'
WHERE `phrase` = 'module';
UPDATE `language` SET `english` = 'Module Added Successfully'
WHERE `phrase` = 'module_added_successfully';
UPDATE `language` SET `english` = 'Module List'
WHERE `phrase` = 'module_list';
UPDATE `language` SET `english` = 'Module Name'
WHERE `phrase` = 'module_name';
UPDATE `language` SET `english` = 'Module Permission'
WHERE `phrase` = 'module_permission';
UPDATE `language` SET `english` = 'Module Permission Added Successfully!'
WHERE `phrase` = 'module_permission_added_successfully';
UPDATE `language` SET `english` = 'Module Permission List'
WHERE `phrase` = 'module_permission_list';
UPDATE `language` SET `english` = 'Money Receipt'
WHERE `phrase` = 'money_receipt';
UPDATE `language` SET `english` = 'Name'
WHERE `phrase` = 'name';
UPDATE `language` SET `english` = 'New'
WHERE `phrase` = 'new';
UPDATE `language` SET `english` = 'Please configure synchronizer settings'
WHERE `phrase` = 'please_configure_synchronizer_settings';
UPDATE `language` SET `english` = 'Please Contact With Admin'
WHERE `phrase` = 'please_contact_with_admin';
UPDATE `language` SET `english` = 'Please Input a correct invoice number'
WHERE `phrase` = 'please_input_correct_invoice_no';
UPDATE `language` SET `english` = 'Please Try Again...'
WHERE `phrase` = 'please_try_again';
UPDATE `language` SET `english` = 'Please Wait...'
WHERE `phrase` = 'please_wait';
UPDATE `language` SET `english` = 'Preview'
WHERE `phrase` = 'preview';
UPDATE `language` SET `english` = 'Price'
WHERE `phrase` = 'price';
UPDATE `language` SET `english` = 'Product'
WHERE `phrase` = 'product';
UPDATE `language` SET `english` = 'Product Category'
WHERE `phrase` = 'product_category';
UPDATE `language` SET `english` = 'Product Code'
WHERE `phrase` = 'product_code';
UPDATE `language` SET `english` = 'Product Details'
WHERE `phrase` = 'product_details';
UPDATE `language` SET `english` = 'Product Info'
WHERE `phrase` = 'product_info';
UPDATE `language` SET `english` = 'Product List'
WHERE `phrase` = 'product_list';
UPDATE `language` SET `english` = 'Product Name'
WHERE `phrase` = 'product_name';
UPDATE `language` SET `english` = 'Profile'
WHERE `phrase` = 'profile';
UPDATE `language` SET `english` = 'Profile Setting'
WHERE `phrase` = 'profile_setting';
UPDATE `language` SET `english` = 'Profit Loss'
WHERE `phrase` = 'profit_loss';
UPDATE `language` SET `english` = 'Project Root'
WHERE `phrase` = 'project_root';
UPDATE `language` SET `english` = 'Proposal Code'
WHERE `phrase` = 'proposal_code';
UPDATE `language` SET `english` = 'Proposal Date'
WHERE `phrase` = 'proposal_datetime';
UPDATE `language` SET `english` = 'Proposal QTY'
WHERE `phrase` = 'proposal_qty';
UPDATE `language` SET `english` = 'Proposed By'
WHERE `phrase` = 'proposed_by';
UPDATE `language` SET `english` = 'Puchase Order'
WHERE `phrase` = 'purchase_order';
UPDATE `language` SET `english` = 'Purchase Price'
WHERE `phrase` = 'purchase_price';
UPDATE `language` SET `english` = 'Pur.QTY'
WHERE `phrase` = 'purchase_qty';
UPDATE `language` SET `english` = 'Purchase Return'
WHERE `phrase` = 'purchase_return';
UPDATE `language` SET `english` = 'Purchase Return List'
WHERE `phrase` = 'purchase_return_list';
UPDATE `language` SET `english` = 'Purchase Return veiw'
WHERE `phrase` = 'purchase_return_view';
UPDATE `language` SET `english` = 'Pur Price'
WHERE `phrase` = 'pur_price';
UPDATE `language` SET `english` = 'Qty'
WHERE `phrase` = 'quantity';
UPDATE `language` SET `english` = 'Read'
WHERE `phrase` = 'read';
UPDATE `language` SET `english` = 'Read/Unread'
WHERE `phrase` = 'read_unread';
UPDATE `language` SET `english` = 'Reason'
WHERE `phrase` = 'reason';
UPDATE `language` SET `english` = 'Receipt Payment'
WHERE `phrase` = 'receipt_payment';
UPDATE `language` SET `english` = 'Receive'
WHERE `phrase` = 'receive';
UPDATE `language` SET `english` = 'Receiver Name'
WHERE `phrase` = 'receiver_name';
UPDATE `language` SET `english` = 'Receive Amount'
WHERE `phrase` = 'receive_amnt';
UPDATE `language` SET `english` = 'Received By'
WHERE `phrase` = 'receive_by';
UPDATE `language` SET `english` = 'Receive List'
WHERE `phrase` = 'receive_list';
UPDATE `language` SET `english` = 'Receive QTY'
WHERE `phrase` = 'receive_qty';
UPDATE `language` SET `english` = 'Receive QTY'
WHERE `phrase` = 'receive_quantity';
UPDATE `language` SET `english` = 'Recovery'
WHERE `phrase` = 'recovery';
UPDATE `language` SET `english` = 'Recovery List'
WHERE `phrase` = 'recovery_list';
UPDATE `language` SET `english` = 'Recovery Received'
WHERE `phrase` = 'recovery_received';
UPDATE `language` SET `english` = 'Recovery Summary Report'
WHERE `phrase` = 'recovery_summary_report';
UPDATE `language` SET `english` = 'Recovery Summary Report Datewise'
WHERE `phrase` = 'recovery_summary_report_datewise';
UPDATE `language` SET `english` = 'Remaining'
WHERE `phrase` = 'remaining';
UPDATE `language` SET `english` = 'Remainig Amount'
WHERE `phrase` = 'remaining_amnt';
UPDATE `language` SET `english` = 'Remaining A/C'
WHERE `phrase` = 'remaning_ac';
UPDATE `language` SET `english` = 'Remaining Amount'
WHERE `phrase` = 'remaning_amount';
UPDATE `language` SET `english` = 'Save'
WHERE `phrase` = 'save';
UPDATE `language` SET `english` = 'Save Successfully!'
WHERE `phrase` = 'save_successfully';
UPDATE `language` SET `english` = 'Search'
WHERE `phrase` = 'search';
UPDATE `language` SET `english` = 'See All Messages'
WHERE `phrase` = 'see_all_message';
UPDATE `language` SET `english` = 'Select'
WHERE `phrase` = 'select';
UPDATE `language` SET `english` = 'Select Option'
WHERE `phrase` = 'select_option';
UPDATE `language` SET `english` = 'Send'
WHERE `phrase` = 'send';
UPDATE `language` SET `english` = 'Sender Name'
WHERE `phrase` = 'sender_name';
UPDATE `language` SET `english` = 'Sent'
WHERE `phrase` = 'sent';
UPDATE `language` SET `english` = 'Sent Message'
WHERE `phrase` = 'sent_message';
UPDATE `language` SET `english` = 'Set'
WHERE `phrase` = 'set';
UPDATE `language` SET `english` = 'Setting'
WHERE `phrase` = 'setting';
UPDATE `language` SET `english` = 'Application Alignment'
WHERE `phrase` = 'site_align';
UPDATE `language` SET `english` = 'size'
WHERE `phrase` = 'size';
UPDATE `language` SET `english` = 'SL'
WHERE `phrase` = 'sl';
UPDATE `language` SET `english` = 'SL No.'
WHERE `phrase` = 'sl_no';
UPDATE `language` SET `english` = 'Status'
WHERE `phrase` = 'status';
UPDATE `language` SET `english` = 'Stmt of Change Equity'
WHERE `phrase` = 'stmt_changes_equity';
UPDATE `language` SET `english` = 'Stmt of Financial Position'
WHERE `phrase` = 'stmt_of_financial_position';
UPDATE `language` SET `english` = 'Stock'
WHERE `phrase` = 'stock';
UPDATE `language` SET `english` = 'Stock Movement'
WHERE `phrase` = 'stockmovment';
UPDATE `language` SET `english` = 'Stock Qty'
WHERE `phrase` = 'stock_ctn';
UPDATE `language` SET `english` = 'Store'
WHERE `phrase` = 'store';
UPDATE `language` SET `english` = 'Store/warehouse'
WHERE `phrase` = 'storewarehouse';
UPDATE `language` SET `english` = 'Store Address'
WHERE `phrase` = 'store_address';
UPDATE `language` SET `english` = 'Store Code'
WHERE `phrase` = 'store_code';
UPDATE `language` SET `english` = 'Store Name'
WHERE `phrase` = 'store_name';
UPDATE `language` SET `english` = 'Store Phone'
WHERE `phrase` = 'store_phone';
UPDATE `language` SET `english` = 'Store Procedure'
WHERE `phrase` = 'store_procedure';
UPDATE `language` SET `english` = 'Subject'
WHERE `phrase` = 'subject';
UPDATE `language` SET `english` = 'Submit '
WHERE `phrase` = 'submit';
UPDATE `language` SET `english` = 'Submit and Another'
WHERE `phrase` = 'submit_and_add_another';
UPDATE `language` SET `english` = 'Successfully Approved'
WHERE `phrase` = 'successfully_approved';
UPDATE `language` SET `english` = 'Super Admin'
WHERE `phrase` = 'super_admin';
UPDATE `language` SET `english` = 'Supplier'
WHERE `phrase` = 'supplier';
UPDATE `language` SET `english` = 'Supplier Code'
WHERE `phrase` = 'supplier_code';
UPDATE `language` SET `english` = 'Supplier Name'
WHERE `phrase` = 'supplier_name';
UPDATE `language` SET `english` = 'Surplus'
WHERE `phrase` = 'surplus';
UPDATE `language` SET `english` = 'Synchronize'
WHERE `phrase` = 'synchronize';
UPDATE `language` SET `english` = 'Tables are not available in database.sql'
WHERE `phrase` = 'tables_are_not_available_in_database';
UPDATE `language` SET `english` = 'Target'
WHERE `phrase` = 'target';
UPDATE `language` SET `english` = ''
WHERE `phrase` = 'test';
UPDATE `language` SET `english` = 'To'
WHERE `phrase` = 'to';
UPDATE `language` SET `english` = 'Total'
WHERE `phrase` = 'total';
UPDATE `language` SET `english` = 'Total Amount'
WHERE `phrase` = 'total_amount';
UPDATE `language` SET `english` = 'Total Receive'
WHERE `phrase` = 'total_receive';
UPDATE `language` SET `english` = 'Trial Balance'
WHERE `phrase` = 'trial_balance';
UPDATE `language` SET `english` = 'U/M'
WHERE `phrase` = 'um';
UPDATE `language` SET `english` = 'Unable to download file! please check configuration'
WHERE `phrase` = 'unable_to_download_file_please_check_configuration';
UPDATE `language` SET `english` = 'Unable to import data! please check configuration / SQL file.'
WHERE `phrase` = 'unable_to_import_data_please_check_config_or_sql_file';
INSERT INTO `acc_coa` (`HeadCode`, `HeadName`, `PHeadName`, `HeadLevel`, `IsActive`, `IsTransaction`, `IsGL`, `HeadType`, `IsBudget`, `CreateBy`, `CreateDate`) VALUES ('1020501010101', 'Arafat', 'Jahangir', '1', '1', 0, 0, 'A', 0, '2', '2018-07-07 10:54:47');
UPDATE `language` SET `english` = 'Unable to upload file! please check configuration'
WHERE `phrase` = 'unable_to_upload_file_please_check_configuration';
UPDATE `language` SET `english` = 'Uninstall'
WHERE `phrase` = 'uninstall';
UPDATE `language` SET `english` = 'Unit of Measurement'
WHERE `phrase` = 'unit';
UPDATE `language` SET `english` = 'Unit List'
WHERE `phrase` = 'unit_list';
UPDATE `language` SET `english` = 'Unit Name'
WHERE `phrase` = 'unit_name';
UPDATE `language` SET `english` = 'Update'
WHERE `phrase` = 'update';
UPDATE `language` SET `english` = 'Lease Update'
WHERE `phrase` = 'update_lease';
UPDATE `language` SET `english` = 'Update Module Permission'
WHERE `phrase` = 'update_module_permission';
UPDATE `language` SET `english` = 'Update Successfully'
WHERE `phrase` = 'update_successfully';
UPDATE `language` SET `english` = 'Upload Successfully!'
WHERE `phrase` = 'upload_successfully';
UPDATE `language` SET `english` = 'User'
WHERE `phrase` = 'user';
UPDATE `language` SET `english` = 'User Name'
WHERE `phrase` = 'username';
UPDATE `language` SET `english` = 'User Added Successfully!'
WHERE `phrase` = 'user_added_successfully';
UPDATE `language` SET `english` = 'User Agent'
WHERE `phrase` = 'user_agent';
UPDATE `language` SET `english` = 'User List'
WHERE `phrase` = 'user_list';
UPDATE `language` SET `english` = 'User Name'
WHERE `phrase` = 'user_name';
UPDATE `language` SET `english` = 'User Permission'
WHERE `phrase` = 'user_permission';
UPDATE `language` SET `english` = 'User Role'
WHERE `phrase` = 'user_role';
UPDATE `language` SET `english` = 'User Role List'
WHERE `phrase` = 'user_role_list';
UPDATE `language` SET `english` = 'User Type'
WHERE `phrase` = 'user_type';
UPDATE `language` SET `english` = 'Voucher Approval'
WHERE `phrase` = 'voucher_approval';
UPDATE `language` SET `english` = 'Voucher No'
WHERE `phrase` = 'voucher_no';
UPDATE `language` SET `english` = 'Voucher Report'
WHERE `phrase` = 'voucher_report';
UPDATE `language` SET `english` = 'Warehouse'
WHERE `phrase` = 'warehouse';
UPDATE `language` SET `english` = 'Warehouse Address'
WHERE `phrase` = 'warehouse_address';
UPDATE `acc_coa` SET `HeadCode` = '1020501010101', `HeadName` = 'Tuhin', `PHeadName` = 'Jahangir', `HeadLevel` = '1', `IsActive` = '1', `IsTransaction` = 0, `IsGL` = 0, `HeadType` = 'A', `IsBudget` = 0, `CreateBy` = '2', `CreateDate` = '2018-07-07 11:40:25'
WHERE `HeadCode` = '1020501010101';
UPDATE `acc_coa` SET `HeadCode` = '1020501010101', `HeadName` = 'Alamin', `PHeadName` = 'Jahangir', `HeadLevel` = '1', `IsActive` = '1', `IsTransaction` = 0, `IsGL` = 0, `HeadType` = 'A', `IsBudget` = 0, `CreateBy` = '2', `CreateDate` = '2018-07-07 11:40:46'
WHERE `HeadCode` = '1020501010101';
INSERT INTO `acc_coa` (`HeadCode`, `HeadName`, `PHeadName`, `HeadLevel`, `IsActive`, `IsTransaction`, `IsGL`, `HeadType`, `IsBudget`, `CreateBy`, `CreateDate`) VALUES ('1020501010102', 'Mubin', 'Jahangir', '1', '1', 0, 0, 'A', 0, '2', '2018-07-07 11:41:50');
UPDATE `acc_coa` SET `HeadCode` = '1020501', `HeadName` = 'Tarek', `PHeadName` = 'jtest', `HeadLevel` = '1', `IsActive` = '1', `IsTransaction` = 0, `IsGL` = 0, `HeadType` = 'A', `IsBudget` = 0, `CreateBy` = '2', `CreateDate` = '2018-07-07 11:42:18'
WHERE `HeadCode` = '1020501';
UPDATE `acc_coa` SET `HeadCode` = '102050101', `HeadName` = 'Mubin', `PHeadName` = 'Tarek', `HeadLevel` = '1', `IsActive` = '1', `IsTransaction` = 0, `IsGL` = 0, `HeadType` = 'A', `IsBudget` = 0, `CreateBy` = '2', `CreateDate` = '2018-07-07 11:48:59'
WHERE `HeadCode` = '102050101';
UPDATE `acc_coa` SET `HeadCode` = '102050101', `HeadName` = 'mubin', `PHeadName` = 'Tarek', `HeadLevel` = '1', `IsActive` = '1', `IsTransaction` = 0, `IsGL` = 0, `HeadType` = 'A', `IsBudget` = 0, `CreateBy` = '2', `CreateDate` = '2018-07-07 11:49:21'
WHERE `HeadCode` = '102050101';
INSERT INTO `acc_coa` (`HeadCode`, `HeadName`, `PHeadName`, `HeadLevel`, `IsActive`, `IsTransaction`, `IsGL`, `HeadType`, `IsBudget`, `CreateBy`, `CreateDate`) VALUES ('1020502', 'Hm', 'jtest', '1', '1', 0, 0, 'A', 0, '2', '2018-07-07 11:50:49');
INSERT INTO `acc_coa` (`HeadCode`, `HeadName`, `PHeadName`, `HeadLevel`, `IsActive`, `IsTransaction`, `IsGL`, `HeadType`, `IsBudget`, `CreateBy`, `CreateDate`) VALUES ('102050201', 'Kabir', 'Hm', '1', '1', 0, 0, 'A', 0, '2', '2018-07-07 11:51:06');
UPDATE `acc_coa` SET `HeadCode` = '1020501', `HeadName` = 'Abdus samad', `PHeadName` = 'jtest', `HeadLevel` = '1', `IsActive` = '1', `IsTransaction` = 0, `IsGL` = 0, `HeadType` = 'A', `IsBudget` = 0, `CreateBy` = '2', `CreateDate` = '2018-07-07 11:59:44'
WHERE `HeadCode` = '1020501';
UPDATE `acc_coa` SET `HeadCode` = '1020502', `HeadName` = 'Mahbub', `PHeadName` = 'jtest', `HeadLevel` = '1', `IsActive` = '1', `IsTransaction` = 0, `IsGL` = 0, `HeadType` = 'A', `IsBudget` = 0, `CreateBy` = '2', `CreateDate` = '2018-07-07 12:00:13'
WHERE `HeadCode` = '1020502';
UPDATE `acc_coa` SET `HeadCode` = '10205', `HeadName` = 'hhhh', `PHeadName` = 'Current Asset', `HeadLevel` = '1', `IsActive` = '1', `IsTransaction` = 0, `IsGL` = 0, `HeadType` = 'A', `IsBudget` = 0, `CreateBy` = '2', `CreateDate` = '2018-07-07 12:17:52'
WHERE `HeadCode` = '10205';
UPDATE `acc_coa` SET `PHeadName` = 'hhhh'
WHERE `PHeadName` = 'jtest';
UPDATE `acc_coa` SET `HeadCode` = '10205', `HeadName` = 'Qtest', `PHeadName` = 'Current Asset', `HeadLevel` = '1', `IsActive` = '1', `IsTransaction` = 0, `IsGL` = 0, `HeadType` = 'A', `IsBudget` = 0, `CreateBy` = '2', `CreateDate` = '2018-07-07 12:18:23'
WHERE `HeadCode` = '10205';
UPDATE `acc_coa` SET `PHeadName` = 'Qtest'
WHERE `PHeadName` = 'hhhh';
INSERT INTO `acc_coa` (`HeadCode`, `HeadName`, `PHeadName`, `HeadLevel`, `IsActive`, `IsTransaction`, `IsGL`, `HeadType`, `IsBudget`, `CreateBy`, `CreateDate`) VALUES ('1020401', 'Nsupplier', 'Office Supplies', '2', '1', 0, 0, 'A', 0, '2', '2018-07-07 12:33:44');
UPDATE `acc_coa` SET `HeadCode` = '10204', `HeadName` = 'Supplies', `PHeadName` = 'Current Asset', `HeadLevel` = '2', `IsActive` = '1', `IsTransaction` = 0, `IsGL` = 0, `HeadType` = 'A', `IsBudget` = 0, `CreateBy` = '2', `CreateDate` = '2018-07-07 12:34:07'
WHERE `HeadCode` = '10204';
UPDATE `acc_coa` SET `PHeadName` = 'Supplies'
WHERE `PHeadName` = 'Office Supplies';
INSERT INTO `customer` (`customer_code`, `customer_name`, `customer_phone`, `type`, `job_designation`, `store_id`, `customer_address`, `customer_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('cr-1', '34534', '56456', '3', 'gsdfgsdf', '2', 'gfdgdsfgsdf', '2354', 'gsdfg', 1, '2', '2018-07-07 13:07:45');
INSERT INTO `customer` (`customer_code`, `customer_name`, `customer_phone`, `type`, `job_designation`, `store_id`, `customer_address`, `customer_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('cr-1', 'fgdfgdfg', '3423532', '2', 'gdf', '2', 'fgdfgsdf', '4534645', 'dfgsdfg', 1, '2', '2018-07-07 13:08:18');
INSERT INTO `customer` (`customer_code`, `customer_name`, `customer_phone`, `type`, `job_designation`, `store_id`, `customer_address`, `customer_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('ls-5', 'hj', '4535634', '3', 'gdfsgsdf', '2', 'fgsdf', '64565466', 'gsdfg', 1, '2', '2018-07-07 13:35:25');
INSERT INTO `customer` (`customer_code`, `customer_name`, `customer_phone`, `type`, `job_designation`, `store_id`, `customer_address`, `customer_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('cr-2', 'hhhyyyy', '56435', '2', 'dfgdfg', '2', '34534', '6457567', 'dfgdsfg', 1, '2', '2018-07-07 13:35:47');
UPDATE `acc_coa` SET `HeadCode` = '401', `HeadName` = 'Store Expenses', `PHeadName` = 'Expence', `HeadLevel` = '1', `IsActive` = '1', `IsTransaction` = 0, `IsGL` = 0, `HeadType` = 'E', `IsBudget` = 0, `CreateBy` = '2', `CreateDate` = '2018-07-07 13:38:59'
WHERE `HeadCode` = '401';
UPDATE `acc_coa` SET `PHeadName` = 'Store Expenses'
WHERE `PHeadName` = 'Academic Expenses';
UPDATE `acc_coa` SET `HeadCode` = '402', `HeadName` = 'Non Store Expenses', `PHeadName` = 'Expence', `HeadLevel` = '1', `IsActive` = '1', `IsTransaction` = 0, `IsGL` = 0, `HeadType` = 'E', `IsBudget` = 0, `CreateBy` = '2', `CreateDate` = '2018-07-07 13:40:02'
WHERE `HeadCode` = '402';
UPDATE `acc_coa` SET `PHeadName` = 'Non Store Expenses'
WHERE `PHeadName` = 'Non Academic Expenses';
UPDATE `acc_coa` SET `HeadCode` = '301', `HeadName` = 'Store Income', `PHeadName` = 'Income', `HeadLevel` = '1', `IsActive` = '1', `IsTransaction` = 0, `IsGL` = 0, `HeadType` = 'I', `IsBudget` = 0, `CreateBy` = '2', `CreateDate` = '2018-07-07 13:40:37'
WHERE `HeadCode` = '301';
UPDATE `acc_coa` SET `PHeadName` = 'Store Income'
WHERE `PHeadName` = 'Academic Income';
UPDATE `acc_coa` SET `HeadCode` = '302', `HeadName` = 'Other Income', `PHeadName` = 'Income', `HeadLevel` = '1', `IsActive` = '1', `IsTransaction` = 0, `IsGL` = 0, `HeadType` = 'I', `IsBudget` = 0, `CreateBy` = '2', `CreateDate` = '2018-07-07 13:40:57'
WHERE `HeadCode` = '302';
UPDATE `acc_coa` SET `PHeadName` = 'Other Income'
WHERE `PHeadName` = 'Non Academic Income';
UPDATE `acc_coa` SET `HeadCode` = '402', `HeadName` = 'Other Expenses', `PHeadName` = 'Expence', `HeadLevel` = '1', `IsActive` = '1', `IsTransaction` = 0, `IsGL` = 0, `HeadType` = 'E', `IsBudget` = 0, `CreateBy` = '2', `CreateDate` = '2018-07-07 14:00:16'
WHERE `HeadCode` = '402';
UPDATE `acc_coa` SET `PHeadName` = 'Other Expenses'
WHERE `PHeadName` = 'Non Store Expenses';
INSERT INTO `acc_coa` (`HeadCode`, `HeadName`, `PHeadName`, `HeadLevel`, `IsActive`, `IsTransaction`, `IsGL`, `HeadType`, `IsBudget`, `CreateBy`, `CreateDate`) VALUES ('102030101', 'Test', 'Customer Receivable', '3', '1', 0, '1', 'A', 0, '2', '2018-07-07 14:43:40');
INSERT INTO `acc_coa` (`HeadCode`, `HeadName`, `PHeadName`, `HeadLevel`, `IsActive`, `IsTransaction`, `IsGL`, `HeadType`, `IsBudget`, `CreateBy`, `CreateDate`) VALUES ('102030101', 'ttete', 'Customer Receivable', '3', '1', 0, '1', 'A', 0, '2', '2018-07-07 14:44:02');
INSERT INTO `acc_coa` (`HeadCode`, `HeadName`, `PHeadName`, `HeadLevel`, `IsActive`, `IsTransaction`, `IsGL`, `HeadType`, `IsBudget`, `CreateBy`, `CreateDate`) VALUES ('10107', 'Inventory', 'Non Current Assets', '1', '1', 0, 0, 'A', 0, '2', '2018-07-07 15:21:58');
UPDATE `user` SET `last_login` = '2018-07-08 05:48:23', `ip_address` = '::1'
WHERE `id` = '2';
INSERT INTO `acc_coa` (`HeadCode`, `HeadName`, `PHeadName`, `HeadLevel`, `IsActive`, `IsTransaction`, `IsGL`, `HeadType`, `IsBudget`, `CreateBy`, `CreateDate`) VALUES (102010101, 'Tuhin', 'Cash In Hand', 3, 1, 1, 0, 'A', 0, '2', '2018-07-08 06:28:16');
INSERT INTO `acc_coa` (`HeadCode`, `HeadName`, `PHeadName`, `HeadLevel`, `IsActive`, `IsTransaction`, `IsGL`, `HeadType`, `IsBudget`, `CreateBy`, `CreateDate`) VALUES ('30101', 'Cash Sale', 'Store Income', '1', '1', 0, 0, 'I', 0, '2', '2018-07-08 07:50:39');
INSERT INTO `acc_coa` (`HeadCode`, `HeadName`, `PHeadName`, `HeadLevel`, `IsActive`, `IsTransaction`, `IsGL`, `HeadType`, `IsBudget`, `CreateBy`, `CreateDate`) VALUES ('30102', 'Credit Sale', 'Store Income', '1', '1', 0, 0, 'I', 0, '2', '2018-07-08 07:50:59');
UPDATE `acc_coa` SET `HeadCode` = '30101', `HeadName` = 'Cash Sale', `PHeadName` = 'Store Income', `HeadLevel` = '1', `IsActive` = '1', `IsTransaction` = '1', `IsGL` = '1', `HeadType` = 'I', `IsBudget` = 0, `CreateBy` = '2', `CreateDate` = '2018-07-08 07:51:26'
WHERE `HeadCode` = '30101';
UPDATE `acc_coa` SET `PHeadName` = 'Cash Sale'
WHERE `PHeadName` = 'Cash Sale';
UPDATE `acc_coa` SET `HeadCode` = '30102', `HeadName` = 'Credit Sale', `PHeadName` = 'Store Income', `HeadLevel` = '1', `IsActive` = '1', `IsTransaction` = '1', `IsGL` = '1', `HeadType` = 'I', `IsBudget` = 0, `CreateBy` = '2', `CreateDate` = '2018-07-08 07:51:34'
WHERE `HeadCode` = '30102';
UPDATE `acc_coa` SET `PHeadName` = 'Credit Sale'
WHERE `PHeadName` = 'Credit Sale';
INSERT INTO `acc_coa` (`HeadCode`, `HeadName`, `PHeadName`, `HeadLevel`, `IsActive`, `IsTransaction`, `IsGL`, `HeadType`, `IsBudget`, `CreateBy`, `CreateDate`) VALUES ('30103', 'Lease Sale', 'Store Income', '1', '1', '1', '1', 'I', 0, '2', '2018-07-08 07:51:52');
INSERT INTO `acc_coa` (`HeadCode`, `HeadName`, `PHeadName`, `HeadLevel`, `IsActive`, `IsTransaction`, `IsGL`, `HeadType`, `IsBudget`, `CreateBy`, `CreateDate`) VALUES ('30104', 'Cost of Sale', 'Store Income', '1', '1', '1', '1', 'I', 0, '2', '2018-07-08 07:52:10');
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
INSERT INTO `sales_parent` (`sale_id`, `invoice_no`, `customer_id`, `sale_type_id`, `store_id`, `salesman`, `sales_date`, `sales_time`, `gurrantor_1`, `gurrantor_2`, `advance_amnt`, `lease_id`, `inquiry_officer`, `remaining_amnt`, `installment_amnt`, `package_price`, `total_amnt`) VALUES ('20180708081822', '1006', '1', '1', '2', '2', '2018-07-08', '08:18:22', NULL, NULL, '', NULL, NULL, 0, 0, 0, '70.00');
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1006', 'CV', NULL, 30101, 'CV For Invoice No1006', 0, '', '2', 1, '2', '2018-07-08 08:18:22', 1);
INSERT INTO `payment_collection` (`sale_id`, `invoice_no`, `customer_id`, `receive_amnt`, `due_amnt`, `receive_by`, `receive_date`) VALUES ('20180708081822', '1006', '1', '70.00', NULL, '2', '2018-07-08');
INSERT INTO `sale_details` (`sale_id`, `product_id`, `qty`, `sell_price`, `sale_type_id`) VALUES ('20180708081822', '6', '2', '35', '1');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Sales', 'create', 'invoice_no-1006 total amount-70.00', '2', '2018-07-08 08:18:23');
INSERT INTO `sales_parent` (`sale_id`, `invoice_no`, `customer_id`, `sale_type_id`, `store_id`, `salesman`, `sales_date`, `sales_time`, `gurrantor_1`, `gurrantor_2`, `advance_amnt`, `lease_id`, `inquiry_officer`, `remaining_amnt`, `installment_amnt`, `package_price`, `total_amnt`) VALUES ('20180708082236', '1007', '1', '1', '2', '2', '2018-07-08', '08:22:36', NULL, NULL, '', NULL, NULL, 0, 0, 0, '105.00');
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1007', 'CV', '2018-07-08 08:22:36', 30101, 'CV For Invoice No1007', 0, '105.00', '2', 1, '2', '2018-07-08 08:22:36', 1);
INSERT INTO `payment_collection` (`sale_id`, `invoice_no`, `customer_id`, `receive_amnt`, `due_amnt`, `receive_by`, `receive_date`) VALUES ('20180708082236', '1007', '1', '105.00', NULL, '2', '2018-07-08');
INSERT INTO `sale_details` (`sale_id`, `product_id`, `qty`, `sell_price`, `sale_type_id`) VALUES ('20180708082236', '6', '3', '35', '1');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Sales', 'create', 'invoice_no-1007 total amount-105.00', '2', '2018-07-08 08:22:36');
INSERT INTO `sales_parent` (`sale_id`, `invoice_no`, `customer_id`, `sale_type_id`, `store_id`, `salesman`, `sales_date`, `sales_time`, `gurrantor_1`, `gurrantor_2`, `advance_amnt`, `lease_id`, `inquiry_officer`, `remaining_amnt`, `installment_amnt`, `package_price`, `total_amnt`) VALUES ('20180708083040', '1008', '1', '1', '2', '2', '2018-07-08', '08:30:40', NULL, NULL, '', NULL, NULL, 0, 0, 0, '165.00');
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1008', 'CV', '2018-07-08 08:30:40', 30101, 'CV For Invoice No1008', 0, '165.00', '2', 1, '2', '2018-07-08 08:30:40', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1008', 'CV', '2018-07-08 08:30:40', 1020101, 'CV For Invoice No1008', '165.00', 0, '2', 1, '2', '2018-07-08 08:30:40', 1);
INSERT INTO `payment_collection` (`sale_id`, `invoice_no`, `customer_id`, `receive_amnt`, `due_amnt`, `receive_by`, `receive_date`) VALUES ('20180708083040', '1008', '1', '165.00', NULL, '2', '2018-07-08');
INSERT INTO `sale_details` (`sale_id`, `product_id`, `qty`, `sell_price`, `sale_type_id`) VALUES ('20180708083040', '7', '3', '55', '1');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Sales', 'create', 'invoice_no-1008 total amount-165.00', '2', '2018-07-08 08:30:40');
INSERT INTO `sales_parent` (`sale_id`, `invoice_no`, `customer_id`, `sale_type_id`, `store_id`, `salesman`, `sales_date`, `sales_time`, `gurrantor_1`, `gurrantor_2`, `advance_amnt`, `lease_id`, `inquiry_officer`, `remaining_amnt`, `installment_amnt`, `package_price`, `total_amnt`) VALUES ('20180708095545', '1009', '1', '1', '2', '2', '2018-07-08', '09:55:45', NULL, NULL, '', NULL, NULL, 0, 0, 0, '450.00');
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1009', 'CV', '2018-07-08 09:55:45', 30101, 'CV For Invoice No1009', 0, '450.00', '2', 1, '2', '2018-07-08 09:55:45', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1009', 'CV', '2018-07-08 09:55:45', 1020101, 'CV For Invoice No1009', '450.00', 0, '2', 1, '2', '2018-07-08 09:55:45', 1);
INSERT INTO `payment_collection` (`sale_id`, `invoice_no`, `customer_id`, `receive_amnt`, `due_amnt`, `receive_by`, `receive_date`) VALUES ('20180708095545', '1009', '1', '450.00', NULL, '2', '2018-07-08');
INSERT INTO `sale_details` (`sale_id`, `product_id`, `qty`, `sell_price`, `sale_type_id`) VALUES ('20180708095545', '6', '5', '35', '1');
INSERT INTO `sale_details` (`sale_id`, `product_id`, `qty`, `sell_price`, `sale_type_id`) VALUES ('20180708095545', '7', '5', '55', '1');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Sales', 'create', 'invoice_no-1009 total amount-450.00', '2', '2018-07-08 09:55:45');
INSERT INTO `acc_coa` (`HeadCode`, `HeadName`, `PHeadName`, `HeadLevel`, `IsActive`, `IsTransaction`, `IsGL`, `HeadType`, `IsBudget`, `CreateBy`, `CreateDate`) VALUES ('403', 'Cost of Sale', 'Expence', '0', '1', 0, 0, 'E', 0, '2', '2018-07-08 10:15:17');
UPDATE `acc_coa` SET `HeadCode` = '403', `HeadName` = 'Cost of Sale', `PHeadName` = 'Expence', `HeadLevel` = '0', `IsActive` = '1', `IsTransaction` = '1', `IsGL` = 0, `HeadType` = 'E', `IsBudget` = 0, `CreateBy` = '2', `CreateDate` = '2018-07-08 10:37:16'
WHERE `HeadCode` = '403';
UPDATE `acc_coa` SET `PHeadName` = 'Cost of Sale'
WHERE `PHeadName` = 'Cost of Sale';
INSERT INTO `sales_parent` (`sale_id`, `invoice_no`, `customer_id`, `sale_type_id`, `store_id`, `salesman`, `sales_date`, `sales_time`, `gurrantor_1`, `gurrantor_2`, `advance_amnt`, `lease_id`, `inquiry_officer`, `remaining_amnt`, `installment_amnt`, `package_price`, `total_amnt`) VALUES ('20180708104144', '1010', '1', '1', '2', '2', '2018-07-08', '10:41:44', NULL, NULL, '', NULL, NULL, 0, 0, 0, '325.00');
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1010', 'IV', '2018-07-08 10:41:44', 30101, 'IV For Invoice No1010', 0, '325.00', '2', 1, '2', '2018-07-08 10:41:44', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1010', 'IV', '2018-07-08 10:41:44', 403, 'IV For Invoice No1010', 75, 0, '2', 1, '2', '2018-07-08 10:41:44', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1010', 'IV', '2018-07-08 10:41:44', 10107, 'IV For Invoice No1010', 0, 75, '2', 1, '2', '2018-07-08 10:41:44', 1);
INSERT INTO `payment_collection` (`sale_id`, `invoice_no`, `customer_id`, `receive_amnt`, `due_amnt`, `receive_by`, `receive_date`) VALUES ('20180708104144', '1010', '1', '325.00', NULL, '2', '2018-07-08');
INSERT INTO `sale_details` (`sale_id`, `product_id`, `qty`, `sell_price`, `sale_type_id`) VALUES ('20180708104144', '6', '3', '35', '1');
INSERT INTO `sale_details` (`sale_id`, `product_id`, `qty`, `sell_price`, `sale_type_id`) VALUES ('20180708104144', '7', '4', '55', '1');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Sales', 'create', 'invoice_no-1010 total amount-325.00', '2', '2018-07-08 10:41:45');
INSERT INTO `acc_coa` (`HeadCode`, `HeadName`, `PHeadName`, `HeadLevel`, `IsActive`, `IsTransaction`, `IsGL`, `HeadType`, `IsBudget`, `IsDepreciation`, `DepreciationRate`, `CreateBy`, `CreateDate`) VALUES ('1020301000001', 'cc-1-Hasan', 'Student Receivable', '4', '1', '1', '0', 'A', '0', '0', '0', '2', '2018-07-08 11:15:58');
INSERT INTO `customer` (`customer_code`, `customer_name`, `customer_phone`, `type`, `job_designation`, `store_id`, `customer_address`, `customer_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('cc-1', 'Hasan', '234234', '1', NULL, '2', NULL, '2342534', NULL, 1, '2', '2018-07-08 11:15:58');
INSERT INTO `sales_parent` (`sale_id`, `invoice_no`, `customer_id`, `sale_type_id`, `store_id`, `salesman`, `sales_date`, `sales_time`, `gurrantor_1`, `gurrantor_2`, `advance_amnt`, `lease_id`, `inquiry_officer`, `remaining_amnt`, `installment_amnt`, `package_price`, `total_amnt`) VALUES ('20180708111614', '1011', '0', '1', '2', '2', '2018-07-08', '11:16:14', NULL, NULL, '', NULL, NULL, 0, 0, 0, '140.00');
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1011', 'IV', '2018-07-08 11:16:14', 30101, 'IV For Invoice No1011', 0, '140.00', '2', 1, '2', '2018-07-08 11:16:14', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1011', 'IV', '2018-07-08 11:16:14', 1020101, 'IV For Invoice No1011', '140.00', 0, '2', 1, '2', '2018-07-08 11:16:14', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1011', 'IV', '2018-07-08 11:16:14', 403, 'IV For Invoice No1011', 20, 0, '2', 1, '2', '2018-07-08 11:16:14', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1011', 'IV', '2018-07-08 11:16:14', 10107, 'IV For Invoice No1011', 0, 20, '2', 1, '2', '2018-07-08 11:16:14', 1);
INSERT INTO `payment_collection` (`sale_id`, `invoice_no`, `customer_id`, `receive_amnt`, `due_amnt`, `receive_by`, `receive_date`) VALUES ('20180708111614', '1011', '0', '140.00', NULL, '2', '2018-07-08');
INSERT INTO `sale_details` (`sale_id`, `product_id`, `qty`, `sell_price`, `sale_type_id`) VALUES ('20180708111614', '6', '4', '35', '1');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Sales', 'create', 'invoice_no-1011 total amount-140.00', '2', '2018-07-08 11:16:15');
INSERT INTO `acc_coa` (`HeadCode`, `HeadName`, `PHeadName`, `HeadLevel`, `IsActive`, `IsTransaction`, `IsGL`, `HeadType`, `IsBudget`, `IsDepreciation`, `DepreciationRate`, `CreateBy`, `CreateDate`) VALUES (1020301000002, 'cr-3-kpr', 'Student Receivable', '4', '1', '1', '0', 'A', '0', '0', '0', '2', '2018-07-08 12:01:43');
INSERT INTO `customer` (`customer_code`, `customer_name`, `customer_phone`, `type`, `job_designation`, `store_id`, `customer_address`, `customer_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('cr-3', 'kpr', '23423', '2', 'Chairman', '2', 'sadfsadf', '654634', 'sdfsdf', 1, '2', '2018-07-08 12:01:43');
INSERT INTO `acc_coa` (`HeadCode`, `HeadName`, `PHeadName`, `HeadLevel`, `IsActive`, `IsTransaction`, `IsGL`, `HeadType`, `IsBudget`, `IsDepreciation`, `DepreciationRate`, `CreateBy`, `CreateDate`) VALUES (1020301000003, 'cr-4-Isahaq', 'Customer Receivable', '4', '1', '1', '0', 'A', '0', '0', '0', '2', '2018-07-08 12:46:06');
INSERT INTO `customer` (`customer_id`, `customer_code`, `customer_name`, `type`, `customer_phone`, `store_id`, `job_designation`, `customer_address`, `customer_cnic`, `business_address`, `isactive`, `createby`, `createdate`, `updateby`, `updatedate`) VALUES ('', 'cr-4', 'Isahaq', '2', '01921239916', '5', 'programmar', 'sdfsad', '34324234', 'sdfasdf', '1', '2', '2018-07-08 12:46:06', '', '');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Customer', 'create', 12, '2', '2018-07-08 12:46:06');
INSERT INTO `gurrantor` (`gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('gc-37', 'jakir', '2342', '2', 'sdfsd', 'sdf', '54645', 'sdfsdf', 1, '2', '2018-07-08 12:52:21');
INSERT INTO `gurrantor` (`gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('gc-38', 'mukul', '345', '2', 'sdfs', 'fsdf', '2134356', 'sdfsadf', 1, '2', '2018-07-08 12:52:21');
INSERT INTO `sales_parent` (`sale_id`, `invoice_no`, `customer_id`, `sale_type_id`, `store_id`, `salesman`, `sales_date`, `sales_time`, `gurrantor_1`, `gurrantor_2`, `advance_amnt`, `lease_id`, `inquiry_officer`, `remaining_amnt`, `installment_amnt`, `package_price`, `total_amnt`) VALUES ('20180708125616', '1012', '12', '3', '2', '2', '2018-07-08', '12:56:16', '52', '51', '122', '4', '3', '29.28', '29.28', '414.8', '305.00');
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1012', 'leaseIV', '2018-07-08 12:56:16', '1020301000003', 'leaseIV For Invoice No1012', '122', 0, '2', 1, '2', '2018-07-08 12:56:16', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1012', 'LSIV', '2018-07-08 12:56:16', '1020301000003', 'LSIV For Invoice No1012', 0, '414.8', '2', 1, '2', '2018-07-08 12:56:16', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1012', 'LSIV', '2018-07-08 12:56:16', 1020101, 'LSIV For Invoice No1012', '122', 0, '2', 1, '2', '2018-07-08 12:56:16', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1012', 'LSIV', '2018-07-08 12:56:16', 30102, 'LSIV For Invoice No1012', 0, '414.8', '2', 1, '2', '2018-07-08 12:56:16', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1012', 'LSIV', '2018-07-08 12:56:16', 403, 'LSIV For Invoice No1012', 65, 0, '2', 1, '2', '2018-07-08 12:56:16', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1012', 'LSIV', '2018-07-08 12:56:16', 10107, 'LSIV For Invoice No1012', 0, 65, '2', 1, '2', '2018-07-08 12:56:16', 1);
INSERT INTO `payment_collection` (`sale_id`, `invoice_no`, `customer_id`, `receive_amnt`, `due_amnt`, `receive_by`, `receive_date`) VALUES ('20180708125616', '1012', '12', '122', '292.80', '2', '2018-07-08');
INSERT INTO `customer_gurrantor_map` (`lease_id`, `customer_id`, `gurrantor_id`) VALUES ('4', '12', '52');
INSERT INTO `customer_gurrantor_map` (`lease_id`, `customer_id`, `gurrantor_id`) VALUES ('4', '12', '51');
INSERT INTO `sale_details` (`sale_id`, `product_id`, `qty`, `sell_price`, `sale_type_id`) VALUES ('20180708125616', '6', '4', '35', '3');
INSERT INTO `sale_details` (`sale_id`, `product_id`, `qty`, `sell_price`, `sale_type_id`) VALUES ('20180708125616', '7', '3', '55', '3');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Sales', 'create', 'invoice_no-1012 total amount-305.00', '2', '2018-07-08 12:56:16');
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
INSERT INTO `payment_collection` (`id`, `invoice_no`, `customer_id`, `receive_amnt`, `receive_date`, `receive_by`, `is_installment`) VALUES ('', '1012', '12', '29.28', '2018-07-08', '2', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1012', 'RECVIV', '2018-07-08', 1020101, 'RECVIV For Invoice No1012', '29.28', 0, '2', 1, '2', '2018-07-08', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1012', 'RECVIV', '2018-07-08', '1020301000003', 'RECVIV For Invoice No1012', 0, '29.28', '2', 1, '2', '2018-07-08', 1);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('recovery', 'create', 'payment ID :15', '2', '2018-07-08 13:39:30');
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
INSERT INTO `language` (`phrase`) VALUES ('stock_qty');
INSERT INTO `language` (`phrase`) VALUES ('stock_value');
UPDATE `language` SET `english` = 'Save'
WHERE `phrase` = 'save';
UPDATE `language` SET `english` = 'Save Successfully!'
WHERE `phrase` = 'save_successfully';
UPDATE `language` SET `english` = 'Search'
WHERE `phrase` = 'search';
UPDATE `language` SET `english` = 'See All Messages'
WHERE `phrase` = 'see_all_message';
UPDATE `language` SET `english` = 'Select'
WHERE `phrase` = 'select';
UPDATE `language` SET `english` = 'Select Option'
WHERE `phrase` = 'select_option';
UPDATE `language` SET `english` = 'Send'
WHERE `phrase` = 'send';
UPDATE `language` SET `english` = 'Sender Name'
WHERE `phrase` = 'sender_name';
UPDATE `language` SET `english` = 'Sent'
WHERE `phrase` = 'sent';
UPDATE `language` SET `english` = 'Sent Message'
WHERE `phrase` = 'sent_message';
UPDATE `language` SET `english` = 'Set'
WHERE `phrase` = 'set';
UPDATE `language` SET `english` = 'Setting'
WHERE `phrase` = 'setting';
UPDATE `language` SET `english` = 'Application Alignment'
WHERE `phrase` = 'site_align';
UPDATE `language` SET `english` = 'size'
WHERE `phrase` = 'size';
UPDATE `language` SET `english` = 'SL'
WHERE `phrase` = 'sl';
UPDATE `language` SET `english` = 'SL No.'
WHERE `phrase` = 'sl_no';
UPDATE `language` SET `english` = 'Status'
WHERE `phrase` = 'status';
UPDATE `language` SET `english` = 'Stmt of Change Equity'
WHERE `phrase` = 'stmt_changes_equity';
UPDATE `language` SET `english` = 'Stmt of Financial Position'
WHERE `phrase` = 'stmt_of_financial_position';
UPDATE `language` SET `english` = 'Stock'
WHERE `phrase` = 'stock';
UPDATE `language` SET `english` = 'Stock Movement'
WHERE `phrase` = 'stockmovment';
UPDATE `language` SET `english` = 'Stock Qty'
WHERE `phrase` = 'stock_ctn';
UPDATE `language` SET `english` = 'Stock Qty'
WHERE `phrase` = 'stock_qty';
UPDATE `language` SET `english` = 'Stock Value'
WHERE `phrase` = 'stock_value';
UPDATE `language` SET `english` = 'Store'
WHERE `phrase` = 'store';
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
INSERT INTO `product` (`product_id`, `product_name`, `product_code`, `model`, `category`, `brand`, `unit`, `product_details`, `purchase_price`, `block_price`, `minimum_price`, `retail_price`, `createby`, `createdate`, `updateby`, `updatedate`, `isactive`) VALUES ('', 'Test-Second-Test Model', 'pro-10', 'Test Model', 'Test', 'Second', 'Test', 'New Product', '0', '0', '0', '0', '2', '2018-07-08 14:38:07', '', '', 1);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Product', 'create', 'product ID :20', '2', '2018-07-08 14:38:07');
UPDATE `product` SET `product_id` = '20', `product_name` = 'Test-Second-Test Model', `product_code` = 'pro-10', `category` = 'Test', `model` = 'Test Model', `unit` = 'Test', `brand` = 'Second', `product_details` = 'New Product', `purchase_price` = '20', `minimum_price` = '25', `retail_price` = '28', `block_price` = '22', `isactive` = '1'
WHERE `product_id` IN('20');
UPDATE `product` SET `product_id` = '19', `product_name` = 'AC-Eco star-5100', `product_code` = 'pro-9', `category` = 'AC', `model` = '5100', `unit` = 'Ea', `brand` = 'Eco star', `product_details` = '', `purchase_price` = '50000', `minimum_price` = '40000', `retail_price` = '45000', `block_price` = '0', `isactive` = '1'
WHERE `product_id` IN('19');
UPDATE `product` SET `product_id` = '18', `product_name` = 'Led-Eco star-30D2000', `product_code` = 'pro-8', `category` = 'Led', `model` = '30D2000', `unit` = 'Ea', `brand` = 'Eco star', `product_details` = '', `purchase_price` = '40000', `minimum_price` = '45000', `retail_price` = '55000', `block_price` = '44000', `isactive` = '1'
WHERE `product_id` IN('18');
UPDATE `product` SET `product_id` = '17', `product_name` = 'Led-Eco star-20Dl2000', `product_code` = 'pro-7', `category` = 'Led', `model` = '20Dl2000', `unit` = 'Ea', `brand` = 'Eco star', `product_details` = '', `purchase_price` = '20000', `minimum_price` = '22000', `retail_price` = '23000', `block_price` = '43000', `isactive` = '1'
WHERE `product_id` IN('17');
UPDATE `product` SET `product_id` = '16', `product_name` = 'Ref-Dawlance-9175', `product_code` = 'pro-6', `category` = 'Ref', `model` = '9175', `unit` = 'Ea', `brand` = 'Dawlance', `product_details` = '', `purchase_price` = '1500', `minimum_price` = '2000', `retail_price` = '2500', `block_price` = '1900', `isactive` = '1'
WHERE `product_id` IN('16');
UPDATE `product` SET `product_id` = '15', `product_name` = 'Ref-Dawlance-9170', `product_code` = 'pro-5', `category` = 'Ref', `model` = '9170', `unit` = 'Ea', `brand` = 'Dawlance', `product_details` = '', `purchase_price` = '0', `minimum_price` = '0', `retail_price` = '0', `block_price` = '21000', `isactive` = '1'
WHERE `product_id` IN('15');
UPDATE `product` SET `product_id` = '14', `product_name` = 'Test-Second-Test Model', `product_code` = 'pro-4', `category` = 'Test', `model` = 'Test Model', `unit` = 'Test', `brand` = 'Second', `product_details` = '', `purchase_price` = '1000', `minimum_price` = '1200', `retail_price` = '1500', `block_price` = '1100', `isactive` = '1'
WHERE `product_id` IN('14');
UPDATE `product` SET `product_id` = '13', `product_name` = 'Test-Second-Test Model', `product_code` = 'pro-3', `category` = 'Test', `model` = 'Test Model', `unit` = 'Test', `brand` = 'Second', `product_details` = '', `purchase_price` = '5', `minimum_price` = '7', `retail_price` = '10', `block_price` = '0', `isactive` = '1'
WHERE `product_id` IN('13');
UPDATE `product` SET `product_id` = '12', `product_name` = 'Test+Second+Test Model', `product_code` = 'pro-2', `category` = 'Test', `model` = 'Test Model', `unit` = 'Test', `brand` = 'Second', `product_details` = '', `purchase_price` = '12', `minimum_price` = '16', `retail_price` = '19', `block_price` = '0', `isactive` = '1'
WHERE `product_id` IN('12');
UPDATE `product` SET `product_id` = '11', `product_name` = 'Banana', `product_code` = 'pro-0001', `category` = '1', `model` = '1', `unit` = '1', `brand` = '1', `product_details` = 'sdfsdf', `purchase_price` = '100', `minimum_price` = '110', `retail_price` = '120', `block_price` = '0', `isactive` = '1'
WHERE `product_id` IN('11');
INSERT INTO `purchase_order` (`po_no`, `supplier_id`, `total_amnt`, `store_id`, `warehouse_id`, `createby`, `createdate`, `isapproved`) VALUES ('20180708143946', '1', '600.00', 0, 0, '2', '2018-07-08 14:39:46', 0);
INSERT INTO `purchase_order_details` (`row_id`, `po_no`, `product_id`, `order_qty`, `product_rate`, `discount`, `store_id`) VALUES ('639133693164259', '20180708143946', '12', '50', '12', '', '2');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('purchase order', 'create', 'Orde Id-20180708143946 total amount-600.00', '2', '2018-07-08 14:39:46');
INSERT INTO `purchase_receive` (`receive_id`, `po_no`, `supplier_id`, `store_id`, `warehouse_id`, `voucher_no`, `receive_by`, `receive_date`) VALUES ('20180708143958', '20180708143946', '1', 0, 0, 1007, '2', '2018-07-08 14:39:58');
INSERT INTO `purchase_receive_details` (`receive_id`, `product_id`, `receive_qty`, `product_rate`, `store_id`, `discount`) VALUES ('20180708143958', '12', '50', '12', '2', '');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('purchase order receive', 'create', 'Orde Id- total amount-600.00', '2', '2018-07-08 14:39:58');
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
INSERT INTO `sales_parent` (`sale_id`, `invoice_no`, `customer_id`, `sale_type_id`, `store_id`, `salesman`, `sales_date`, `sales_time`, `gurrantor_1`, `gurrantor_2`, `advance_amnt`, `lease_id`, `inquiry_officer`, `remaining_amnt`, `installment_amnt`, `package_price`, `total_amnt`) VALUES ('20180708144056', '1013', '1', '1', '2', '2', '2018-07-08', '14:40:56', NULL, NULL, '', NULL, NULL, 0, 0, 0, '475.00');
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1013', 'CIV', '2018-07-08 14:40:56', 30101, 'CIV For Invoice No1013', 0, '475.00', '2', 1, '2', '2018-07-08 14:40:56', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1013', 'CIV', '2018-07-08 14:40:56', 1020101, 'CIV For Invoice No1013', '475.00', 0, '2', 1, '2', '2018-07-08 14:40:56', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1013', 'CIV', '2018-07-08 14:40:56', 403, 'CIV For Invoice No1013', 300, 0, '2', 1, '2', '2018-07-08 14:40:56', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1013', 'CIV', '2018-07-08 14:40:56', 10107, 'CIV For Invoice No1013', 0, 300, '2', 1, '2', '2018-07-08 14:40:56', 1);
INSERT INTO `payment_collection` (`sale_id`, `invoice_no`, `customer_id`, `receive_amnt`, `due_amnt`, `receive_by`, `receive_date`) VALUES ('20180708144056', '1013', '1', '475.00', NULL, '2', '2018-07-08');
INSERT INTO `sale_details` (`sale_id`, `product_id`, `qty`, `sell_price`, `sale_type_id`) VALUES ('20180708144056', '12', '25', '19', '1');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Sales', 'create', 'invoice_no-1013 total amount-475.00', '2', '2018-07-08 14:40:56');
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
UPDATE `user` SET `last_login` = '2018-07-09 06:03:00', `ip_address` = '::1'
WHERE `id` = '2';
INSERT INTO `language` (`phrase`) VALUES ('add_more');
UPDATE `language` SET `english` = 'A'
WHERE `phrase` = 'a';
UPDATE `language` SET `english` = 'About'
WHERE `phrase` = 'about';
UPDATE `language` SET `english` = 'Account'
WHERE `phrase` = 'account';
UPDATE `language` SET `english` = 'Accounts'
WHERE `phrase` = 'accounts';
UPDATE `language` SET `english` = 'Account Reports'
WHERE `phrase` = 'account_report';
UPDATE `language` SET `english` = 'Achievement'
WHERE `phrase` = 'achievement';
UPDATE `language` SET `english` = 'Action'
WHERE `phrase` = 'action';
UPDATE `language` SET `english` = 'Active'
WHERE `phrase` = 'active';
UPDATE `language` SET `english` = 'A/C Wise Achievement'
WHERE `phrase` = 'ac_wise_achivement';
UPDATE `language` SET `english` = 'Add '
WHERE `phrase` = 'add';
UPDATE `language` SET `english` = 'Address'
WHERE `phrase` = 'address';
UPDATE `language` SET `english` = 'Add Credit Receiving'
WHERE `phrase` = 'add_credit_receiving';
UPDATE `language` SET `english` = 'Add Model'
WHERE `phrase` = 'add_model';
UPDATE `language` SET `english` = 'Add Module'
WHERE `phrase` = 'add_module';
UPDATE `language` SET `english` = 'Add Module Permission'
WHERE `phrase` = 'add_module_permission';
UPDATE `language` SET `english` = 'Add more'
WHERE `phrase` = 'add_more';
UPDATE `language` SET `english` = 'Add New Product'
WHERE `phrase` = 'add_new_item';
UPDATE `language` SET `english` = 'Add Product'
WHERE `phrase` = 'add_product';
UPDATE `language` SET `english` = 'Add Recovery Receiving'
WHERE `phrase` = 'add_recovery_receiving';
UPDATE `language` SET `english` = 'Add Role'
WHERE `phrase` = 'add_role';
UPDATE `language` SET `english` = 'Add Role Permission'
WHERE `phrase` = 'add_role_permission';
UPDATE `language` SET `english` = 'Add Store'
WHERE `phrase` = 'add_store';
UPDATE `language` SET `english` = 'Add Unit'
WHERE `phrase` = 'add_unit';
UPDATE `language` SET `english` = 'Add User'
WHERE `phrase` = 'add_user';
UPDATE `language` SET `english` = 'Add User Role'
WHERE `phrase` = 'add_user_role';
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('15205', 'DV', '2018-07-09', '10201020201', 'sdfasdf', 0, '350.00', '2', 1, '2', '2018-07-09 14:44:37', 0);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('15205', 'DV', '2018-07-09', '10201020201', 'sdfasdf', 0, '350.00', '2', 1, '2', '2018-07-09 14:48:34', 0);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('152054', 'DV', '2018-07-09', '10201020201', 'sdfasdf', 0, '25.00', '2', 1, '2', '2018-07-09 14:49:04', 0);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1520543', 'DV', '2018-07-09', '10201020201', 'sdfasdf', 0, '55.00', '2', 1, '2', '2018-07-09 14:49:52', 0);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1520543', 'DV', '2018-07-09', '301030308', 'sdfasdf', '3', 0, '2', 1, '2', '2018-07-09 14:52:28', 0);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1520543', 'DV', '2018-07-09', '301030304', 'sdfasdf', '0', 0, '2', 1, '2', '2018-07-09 14:52:28', 0);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('4000', 'DV', '2018-07-09', '1020101', 'This is test', 0, '95.00', '2', 1, '2', '2018-07-09 15:12:49', 0);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('4000', 'DV', '2018-07-09', '301030308', 'This is test', '25', 0, '2', 1, '2', '2018-07-09 15:12:49', 0);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('4000', 'DV', '2018-07-09', '301030302', 'This is test', '70', 0, '2', 1, '2', '2018-07-09 15:12:49', 0);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('234234', 'DV', '2018-07-09', '1020101', 'sdafsdsadf', 0, '300.00', '2', 1, '2', '2018-07-09 15:17:46', 0);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('234234', 'DV', '2018-07-09', '301030308', 'sdafsdsadf', '300', 0, '2', 1, '2', '2018-07-09 15:17:46', 0);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('7879', 'DV', '2018-07-09', '1020101', 'dsfgsdf', 0, '34.00', '2', 1, '2', '2018-07-09 15:20:49', 0);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('7879', 'DV', '2018-07-09', '301030307', 'dsfgsdf', '34', 0, '2', 1, '2', '2018-07-09 15:20:49', 0);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('345', 'DV', '2018-07-09', '1020101', 'sdfasd', 0, '34.00', '2', 1, '2', '2018-07-09 15:21:58', 0);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('345', 'DV', '2018-07-09', '4021403', 'sdfasd', '34', 0, '2', 1, '2', '2018-07-09 15:21:58', 0);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('DV-1', 'DV', '2018-07-09', '1020101', 'ugfsdf', 0, '34.00', '2', 1, '2', '2018-07-09 15:34:11', 0);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('DV-1', 'DV', '2018-07-09', '301030307', 'ugfsdf', '34', 0, '2', 1, '2', '2018-07-09 15:34:11', 0);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('CR-1', 'DV', '2018-07-09', '1020101', 'Credit Data', NULL, 0, '2', 1, '2', '2018-07-09 15:54:48', 0);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('CR-1', 'DV', '2018-07-09', '301030307', 'Credit Data', '3', 0, '2', 1, '2', '2018-07-09 15:54:48', 0);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('CR-1', 'DV', '2018-07-09', '301030303', 'Credit Data', '5', 0, '2', 1, '2', '2018-07-09 15:54:48', 0);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('CV-1', 'DV', '2018-07-09', '1020101', 'sdfsdaf', NULL, 0, '2', 1, '2', '2018-07-09 15:58:43', 0);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('CV-1', 'DV', '2018-07-09', '301030307', 'sdfsdaf', 0, '5', '2', 1, '2', '2018-07-09 15:58:43', 0);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('CV-1', 'DV', '2018-07-09', '301030308', 'sdfsdaf', 0, '0', '2', 1, '2', '2018-07-09 15:58:43', 0);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('CV-2', 'DV', '2018-07-09', '1020101', 'sdfsdf', NULL, 0, '2', 1, '2', '2018-07-09 15:59:54', 0);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('CV-2', 'DV', '2018-07-09', '301030308', 'sdfsdf', 0, '150', '2', 1, '2', '2018-07-09 15:59:54', 0);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('CV-2', 'DV', '2018-07-09', '301030304', 'sdfsdf', 0, '75', '2', 1, '2', '2018-07-09 15:59:54', 0);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('CV-3', 'DV', '2018-07-09', '1020101', 'sdfsadf', '200.00', 0, '2', 1, '2', '2018-07-09 16:01:02', 0);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('CV-3', 'DV', '2018-07-09', '301030307', 'sdfsadf', 0, '120', '2', 1, '2', '2018-07-09 16:01:02', 0);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('CV-3', 'DV', '2018-07-09', '301030308', 'sdfsadf', 0, '80', '2', 1, '2', '2018-07-09 16:01:02', 0);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('Contra-1', 'DV', '2018-07-09', NULL, 'Contra test', '100.00', 0, '2', 1, '2', '2018-07-09 16:43:10', 0);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('Contra-1', 'DV', '2018-07-09', '301030308', 'Contra test', 0, '100', '2', 1, '2', '2018-07-09 16:43:10', 0);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('Contra-1', 'DV', '2018-07-09', '301030303', 'Contra test', 0, '0', '2', 1, '2', '2018-07-09 16:43:10', 0);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('Contra-2', 'DV', '2018-07-09', NULL, 'dfssdf', '50.00', 0, '2', 1, '2', '2018-07-09 16:45:47', 0);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('Contra-2', 'DV', '2018-07-09', '301030308', 'dfssdf', 0, '50', '2', 1, '2', '2018-07-09 16:45:47', 0);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('Contra-2', 'DV', '2018-07-09', '301030303', 'dfssdf', 0, '0', '2', 1, '2', '2018-07-09 16:45:47', 0);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('Contra-3', 'Contra', '2018-07-09', '301030308', 'sdfsdf', '25', '0', '2', 1, '2', '2018-07-09 16:50:10', 0);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('Contra-3', 'Contra', '2018-07-09', '301020303', 'sdfsdf', '5', '25', '2', 1, '2', '2018-07-09 16:50:10', 0);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('Contra-1', 'Contra', '2018-07-09', '301030308', 'sdfsdf', '30', '0', '2', 1, '2', '2018-07-09 16:51:50', 0);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('Contra-1', 'Contra', '2018-07-09', '', 'sdfsdf', '0', '30', '2', 1, '2', '2018-07-09 16:51:50', 0);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('Journal-1', 'Contra', '2018-07-09', '301030308', 'sdafasdf', '150', '0', '2', 1, '2', '2018-07-09 17:00:50', 0);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('Journal-1', 'Contra', '2018-07-09', '301030303', 'sdafasdf', '5', '150', '2', 1, '2', '2018-07-09 17:00:50', 0);
INSERT INTO `language` (`phrase`) VALUES ('debit');
UPDATE `acc_transaction` SET `VNo` = 'CR-1', `IsAppove` = 0
WHERE `VNo` = 'CR-1';
UPDATE `acc_transaction` SET `VNo` = 'CR-1', `IsAppove` = 0
WHERE `VNo` = 'CR-1';
UPDATE `acc_transaction` SET `VNo` = 'CR-1', `IsAppove` = 0
WHERE `VNo` = 'CR-1';
UPDATE `acc_transaction` SET `VNo` = 'CR-1', `IsAppove` = 0
WHERE `VNo` = 'CR-1';
UPDATE `acc_transaction` SET `VNo` = 'CR-1', `IsAppove` = 1
WHERE `VNo` = 'CR-1';
UPDATE `acc_transaction` SET `VNo` = 'CV-1', `IsAppove` = 1
WHERE `VNo` = 'CV-1';
UPDATE `acc_transaction` SET `VNo` = 'CV-2', `IsAppove` = 1
WHERE `VNo` = 'CV-2';
UPDATE `user` SET `last_login` = '2018-07-10 05:57:19', `ip_address` = '::1'
WHERE `id` = '2';
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('DV-2', 'DV', '2018-07-10', '1020101', 'fgsdfg', 0, '650.00', '2', 1, '2', '2018-07-10 06:33:30', 0);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('DV-2', 'DV', '2018-07-10', '301030307', 'fgsdfg', '150', 0, '2', 1, '2', '2018-07-10 06:33:30', 0);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('DV-2', 'DV', '2018-07-10', '301030404', 'fgsdfg', '200', 0, '2', 1, '2', '2018-07-10 06:33:30', 0);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('DV-2', 'DV', '2018-07-10', '301030304', 'fgsdfg', '300', 0, '2', 1, '2', '2018-07-10 06:33:30', 0);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('DV-3', 'DV', '2018-07-10', '10201020201', 'this is third', 0, '1800.00', '2', 1, '2', '2018-07-10 06:45:14', 0);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('DV-3', 'DV', '2018-07-10', '4021403', 'this is third', '220', 0, '2', 1, '2', '2018-07-10 06:45:14', 0);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('DV-3', 'DV', '2018-07-10', '301030307', 'this is third', '1580', 0, '2', 1, '2', '2018-07-10 06:45:14', 0);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('DV-4', 'DV', '2018-07-10', '10201020201', 'sdfsadf', 0, '68.00', '2', 1, '2', '2018-07-10 06:51:40', 0);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('DV-4', 'DV', '2018-07-10', '301030307', 'sdfsadf', '34', 0, '2', 1, '2', '2018-07-10 06:51:40', 0);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('DV-4', 'DV', '2018-07-10', '301030308', 'sdfsadf', '34', 0, '2', 1, '2', '2018-07-10 06:51:40', 0);
INSERT INTO `stock_movement` (`proposal_code`, `for_store_id`, `from_store_id`, `proposal_datetime`, `proposal_by`) VALUES ('p-2', '2', '3', '2018-07-10 07:15:46', '2');
INSERT INTO `stock_movement_details` (`movement_id`, `product_id`, `proposal_qty`) VALUES (2, '6', '5');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Stockmovment', 'create', 'Stockmovment ID :2', '2', '2018-07-10 07:15:58');
INSERT INTO `language` (`phrase`) VALUES ('issue_qty');
INSERT INTO `stock_movement` (`proposal_code`, `for_store_id`, `from_store_id`, `proposal_datetime`, `proposal_by`) VALUES ('p-3', '2', '3', '2018-07-10 08:02:55', '2');
INSERT INTO `stock_movement_details` (`movement_id`, `product_id`, `proposal_qty`) VALUES (3, '6', '5');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Stockmovment', 'create', 'Stockmovment ID :3', '2', '2018-07-10 08:03:23');
UPDATE `user` SET `id` = '21', `firstname` = 'Mahmud', `lastname` = 'Ahmad', `email` = 'm@gmail.com', `password` = '202cb962ac59075b964b07152d234b70', `about` = 'dsfalsdkjf', `store_id` = '2', `is_admin` = '0', `image` = './assets/img/user/5c01eb694a7c9797acec38fc5bffc610.jpg', `last_login` = NULL, `last_logout` = NULL, `ip_address` = NULL, `status` = '1'
WHERE `id` = '21';
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('User', 'update', 'User ID :21', '2', '2018-07-10 08:04:23');
UPDATE `user` SET `last_logout` = '2018-07-10 08:04:26'
WHERE `id` = '2';
UPDATE `user` SET `last_login` = '2018-07-10 08:04:57', `ip_address` = '::1'
WHERE `id` = '21';
UPDATE `stock_movement` SET `movement_id` = '3', `proposal_code` = 'p-3', `for_store_id` = '2', `from_store_id` = '3', `proposal_datetime` = '2018-07-10 08:02:55', `proposal_by` = '2', `issue_by` = '21', `for_warehouse` = 0, `from_warehouse` = 0, `issue_code` = 'is-3', `issue_datetime` = '2018-07-10 08:05:46', `issue_remarks` = 'dfsdf', `is_issued` = 1
WHERE `movement_id` = '3';
UPDATE `stock_movement_details` SET `movement_id` = '3', `product_id` = '6', `proposal_qty` = '5', `issue_qty` = '4', `received_qty` = 0
WHERE `movement_id` = '3'
AND `product_id` = '6';
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Stockmovment', 'issue', 'Stockmovment ID :3', '21', '2018-07-10 08:05:46');
UPDATE `user` SET `last_logout` = '2018-07-10 08:06:51'
WHERE `id` = '21';
UPDATE `user` SET `last_login` = '2018-07-10 08:06:58', `ip_address` = '::1'
WHERE `id` = '2';
UPDATE `stock_movement` SET `movement_id` = '3', `proposal_code` = 'p-3', `for_store_id` = '2', `from_store_id` = '3', `proposal_datetime` = '2018-07-10 08:02:55', `proposal_by` = NULL, `issue_by` = '2', `for_warehouse` = 0, `from_warehouse` = 0, `issue_code` = NULL, `issue_datetime` = '2018-07-10 08:31:42', `issue_remarks` = NULL, `is_issued` = 1, `is_received` = 1, `is_proposed` = 1
WHERE `movement_id` = '3';
UPDATE `stock_movement` SET `movement_id` = '2', `proposal_code` = 'p-2', `for_store_id` = '2', `from_store_id` = '3', `proposal_datetime` = '2018-07-10 07:15:46', `proposal_by` = NULL, `issue_by` = '2', `for_warehouse` = 0, `from_warehouse` = 0, `issue_code` = NULL, `issue_datetime` = '2018-07-10 08:34:30', `issue_remarks` = NULL, `is_issued` = 1, `is_received` = 1, `is_proposed` = 1
WHERE `movement_id` = '2';
UPDATE `user` SET `last_logout` = '2018-07-10 08:35:04'
WHERE `id` = '2';
UPDATE `user` SET `last_login` = '2018-07-10 08:35:19', `ip_address` = '::1'
WHERE `id` = '2';
INSERT INTO `stock_movement` (`proposal_code`, `for_store_id`, `from_store_id`, `proposal_datetime`, `proposal_by`) VALUES ('p-4', '2', '5', '2018-07-10 08:35:23', '2');
INSERT INTO `stock_movement_details` (`movement_id`, `product_id`, `proposal_qty`) VALUES (4, '6', '6');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Stockmovment', 'create', 'Stockmovment ID :4', '2', '2018-07-10 08:35:41');
UPDATE `user` SET `last_logout` = '2018-07-10 08:35:51'
WHERE `id` = '2';
UPDATE `user` SET `last_login` = '2018-07-10 08:36:08', `ip_address` = '::1'
WHERE `id` = '21';
UPDATE `stock_movement` SET `movement_id` = '4', `proposal_code` = 'p-4', `for_store_id` = '2', `from_store_id` = '5', `proposal_datetime` = '2018-07-10 08:35:23', `proposal_by` = '2', `issue_by` = '21', `for_warehouse` = 0, `from_warehouse` = 0, `issue_code` = 'is-4', `issue_datetime` = '2018-07-10 08:36:23', `issue_remarks` = 'fdgsdfg', `is_issued` = 1
WHERE `movement_id` = '4';
UPDATE `stock_movement_details` SET `movement_id` = '4', `product_id` = '6', `proposal_qty` = '6', `issue_qty` = '5', `received_qty` = 0
WHERE `movement_id` = '4'
AND `product_id` = '6';
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Stockmovment', 'issue', 'Stockmovment ID :4', '21', '2018-07-10 08:36:23');
UPDATE `user` SET `last_logout` = '2018-07-10 08:36:28'
WHERE `id` = '21';
UPDATE `user` SET `last_login` = '2018-07-10 08:36:35', `ip_address` = '::1'
WHERE `id` = '2';
UPDATE `stock_movement` SET `movement_id` = '4', `proposal_code` = 'p-4', `for_store_id` = '2', `from_store_id` = '5', `proposal_datetime` = '2018-07-10 08:35:23', `proposal_by` = NULL, `issue_by` = '2', `for_warehouse` = 0, `from_warehouse` = 0, `issue_code` = NULL, `issue_datetime` = '2018-07-10 08:36:53', `issue_remarks` = NULL, `is_issued` = 1, `is_received` = 1, `is_proposed` = 1
WHERE `movement_id` = '4';
UPDATE `user` SET `last_logout` = '2018-07-10 08:41:35'
WHERE `id` = '2';
UPDATE `user` SET `last_login` = '2018-07-10 08:41:43', `ip_address` = '::1'
WHERE `id` = '2';
UPDATE `user` SET `last_logout` = '2018-07-10 08:42:30'
WHERE `id` = '2';
UPDATE `user` SET `last_login` = '2018-07-10 08:42:44', `ip_address` = '::1'
WHERE `id` = '21';
INSERT INTO `stock_movement` (`proposal_code`, `for_store_id`, `from_store_id`, `proposal_datetime`, `proposal_by`) VALUES ('p-5', '2', '3', '2018-07-10 08:43:33', '21');
INSERT INTO `stock_movement_details` (`movement_id`, `product_id`, `proposal_qty`) VALUES (5, '6', '6');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Stockmovment', 'create', 'Stockmovment ID :5', '21', '2018-07-10 08:43:52');
UPDATE `stock_movement` SET `movement_id` = '5', `proposal_code` = 'p-5', `for_store_id` = '2', `from_store_id` = '3', `proposal_datetime` = '2018-07-10 08:43:33', `proposal_by` = '21', `issue_by` = '21', `for_warehouse` = 0, `from_warehouse` = 0, `issue_code` = 'is-5', `issue_datetime` = '2018-07-10 08:44:09', `issue_remarks` = 'gfhfg', `is_issued` = 1
WHERE `movement_id` = '5';
UPDATE `stock_movement_details` SET `movement_id` = '5', `product_id` = '6', `proposal_qty` = '6', `issue_qty` = '4', `received_qty` = 0
WHERE `movement_id` = '5'
AND `product_id` = '6';
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Stockmovment', 'issue', 'Stockmovment ID :5', '21', '2018-07-10 08:44:09');
UPDATE `stock_movement` SET `movement_id` = '5', `proposal_code` = 'p-5', `for_store_id` = '2', `from_store_id` = '3', `proposal_datetime` = '2018-07-10 08:43:33', `proposal_by` = NULL, `issue_by` = '21', `for_warehouse` = 0, `from_warehouse` = 0, `issue_code` = NULL, `issue_datetime` = '2018-07-10 08:44:26', `issue_remarks` = NULL, `is_issued` = 1, `is_received` = 1, `is_proposed` = 1
WHERE `movement_id` = '5';
INSERT INTO `stock_movement` (`proposal_code`, `for_store_id`, `from_store_id`, `proposal_datetime`, `proposal_by`) VALUES ('p-6', '2', '3', '2018-07-10 08:45:45', '21');
INSERT INTO `stock_movement_details` (`movement_id`, `product_id`, `proposal_qty`) VALUES (6, '6', '6');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Stockmovment', 'create', 'Stockmovment ID :6', '21', '2018-07-10 08:45:58');
UPDATE `stock_movement` SET `movement_id` = '6', `proposal_code` = 'p-6', `for_store_id` = '2', `from_store_id` = '3', `proposal_datetime` = '2018-07-10 08:45:45', `proposal_by` = '21', `issue_by` = '21', `for_warehouse` = 0, `from_warehouse` = 0, `issue_code` = 'is-6', `issue_datetime` = '2018-07-10 08:46:06', `issue_remarks` = 'sdfsdf', `is_issued` = 1
WHERE `movement_id` = '6';
UPDATE `stock_movement_details` SET `movement_id` = '6', `product_id` = '6', `proposal_qty` = '6', `issue_qty` = '5', `received_qty` = 0
WHERE `movement_id` = '6'
AND `product_id` = '6';
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Stockmovment', 'issue', 'Stockmovment ID :6', '21', '2018-07-10 08:46:07');
UPDATE `stock_movement` SET `movement_id` = '6', `proposal_code` = 'p-6', `for_store_id` = '2', `from_store_id` = '3', `proposal_datetime` = '2018-07-10 08:45:45', `proposal_by` = NULL, `issue_by` = '21', `for_warehouse` = 0, `from_warehouse` = 0, `issue_code` = NULL, `issue_datetime` = '2018-07-10 08:46:15', `issue_remarks` = NULL, `is_issued` = 1, `is_received` = 1, `is_proposed` = 1
WHERE `movement_id` = '6';
UPDATE `stock_movement_details` SET `movement_id` = NULL, `product_id` = '6', `proposal_qty` = '6', `issue_qty` = '5', `received_qty` = '4'
WHERE `movement_id` = '6'
AND `product_id` = '6';
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('stockmovement ', 'create', 'movemet received', '21', '2018-07-10 08:46:16');
INSERT INTO `stock_movement` (`proposal_code`, `for_store_id`, `from_store_id`, `proposal_datetime`, `proposal_by`) VALUES ('p-7', '2', '3', '2018-07-10 08:47:54', '21');
INSERT INTO `stock_movement_details` (`movement_id`, `product_id`, `proposal_qty`) VALUES (7, '6', '4');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Stockmovment', 'create', 'Stockmovment ID :7', '21', '2018-07-10 08:48:04');
UPDATE `stock_movement` SET `movement_id` = '7', `proposal_code` = 'p-7', `for_store_id` = '2', `from_store_id` = '3', `proposal_datetime` = '2018-07-10 08:47:54', `proposal_by` = '21', `issue_by` = '21', `for_warehouse` = 0, `from_warehouse` = 0, `issue_code` = 'is-7', `issue_datetime` = '2018-07-10 08:48:14', `issue_remarks` = 'sdfasdf', `is_issued` = 1
WHERE `movement_id` = '7';
UPDATE `stock_movement_details` SET `movement_id` = '7', `product_id` = '6', `proposal_qty` = '4', `issue_qty` = '3', `received_qty` = 0
WHERE `movement_id` = '7'
AND `product_id` = '6';
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Stockmovment', 'issue', 'Stockmovment ID :7', '21', '2018-07-10 08:48:14');
UPDATE `stock_movement` SET `movement_id` = '7', `proposal_code` = 'p-7', `for_store_id` = '2', `from_store_id` = '3', `proposal_datetime` = '2018-07-10 08:47:54', `proposal_by` = NULL, `issue_by` = '21', `for_warehouse` = 0, `from_warehouse` = 0, `issue_code` = NULL, `issue_datetime` = '2018-07-10 08:48:22', `issue_remarks` = NULL, `is_issued` = 1, `is_received` = 1, `is_proposed` = 1
WHERE `movement_id` = '7';
UPDATE `stock_movement` SET `movement_id` = '7', `proposal_code` = 'p-7', `for_store_id` = '2', `from_store_id` = '3', `proposal_datetime` = '2018-07-10 08:47:54', `proposal_by` = NULL, `issue_by` = '21', `for_warehouse` = 0, `from_warehouse` = 0, `issue_code` = NULL, `issue_datetime` = '2018-07-10 08:51:22', `issue_remarks` = NULL, `is_issued` = 1, `is_received` = 1, `is_proposed` = 1
WHERE `movement_id` = '7';
UPDATE `stock_movement` SET `movement_id` = '7', `proposal_code` = 'p-7', `for_store_id` = '2', `from_store_id` = '3', `proposal_datetime` = '2018-07-10 08:47:54', `proposal_by` = NULL, `issue_by` = '21', `for_warehouse` = 0, `from_warehouse` = 0, `issue_code` = NULL, `issue_datetime` = '2018-07-10 08:51:44', `issue_remarks` = NULL, `is_issued` = 1, `is_received` = 1, `is_proposed` = 1
WHERE `movement_id` = '7';
UPDATE `stock_movement` SET `movement_id` = '7', `proposal_code` = 'p-7', `for_store_id` = '2', `from_store_id` = '3', `proposal_datetime` = '2018-07-10 08:47:54', `proposal_by` = NULL, `issue_by` = '21', `for_warehouse` = 0, `from_warehouse` = 0, `issue_code` = NULL, `issue_datetime` = '2018-07-10 08:53:46', `issue_remarks` = NULL, `is_issued` = 1, `is_received` = 1, `is_proposed` = 1
WHERE `movement_id` = '7';
UPDATE `stock_movement_details` SET `movement_id` = '7', `product_id` = '6', `proposal_qty` = '4', `issue_qty` = '3', `received_qty` = '3'
WHERE `movement_id` = '7'
AND `product_id` = '6';
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('stockmovement ', 'create', 'movemet received', '21', '2018-07-10 08:53:46');
UPDATE `user` SET `last_logout` = '2018-07-10 09:14:25'
WHERE `id` = '21';
UPDATE `user` SET `last_login` = '2018-07-10 09:14:35', `ip_address` = '::1'
WHERE `id` = '2';
INSERT INTO `stock_movement` (`proposal_code`, `for_store_id`, `from_store_id`, `proposal_datetime`, `proposal_by`) VALUES ('p-8', '2', '3', '2018-07-10 09:21:06', '2');
INSERT INTO `stock_movement_details` (`movement_id`, `product_id`, `proposal_qty`) VALUES (8, '6', '34');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Stockmovment', 'create', 'Stockmovment ID :8', '2', '2018-07-10 09:21:18');
UPDATE `stock_movement` SET `movement_id` = '8', `proposal_code` = 'p-8', `for_store_id` = '2', `from_store_id` = '3', `proposal_datetime` = '2018-07-10 09:21:06', `proposal_by` = '2', `issue_by` = '2', `for_warehouse` = 0, `from_warehouse` = 0, `issue_code` = 'is-8', `issue_datetime` = '2018-07-10 09:22:43', `issue_remarks` = 'sdfasdf', `is_issued` = 1
WHERE `movement_id` = '8';
UPDATE `stock_movement_details` SET `movement_id` = '8', `product_id` = '6', `proposal_qty` = '34', `issue_qty` = '34', `received_qty` = 0
WHERE `movement_id` = '8'
AND `product_id` = '6';
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Stockmovment', 'issue', 'Stockmovment ID :8', '2', '2018-07-10 09:22:43');
UPDATE `stock_movement` SET `movement_id` = '8', `proposal_code` = 'p-8', `for_store_id` = '2', `from_store_id` = '3', `proposal_datetime` = '2018-07-10 09:21:06', `proposal_by` = NULL, `issue_by` = '2', `for_warehouse` = 0, `from_warehouse` = 0, `issue_code` = 'is-8', `issue_datetime` = '2018-07-10 09:26:08', `issue_remarks` = NULL, `is_issued` = 1, `is_received` = 1, `is_proposed` = 1, `receive_by` = '2'
WHERE `movement_id` = '8';
UPDATE `stock_movement_details` SET `movement_id` = '8', `product_id` = '6', `proposal_qty` = '34', `issue_qty` = '34', `received_qty` = '20'
WHERE `movement_id` = '8'
AND `product_id` = '6';
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('stockmovement ', 'create', 'movemet received', '2', '2018-07-10 09:26:08');
INSERT INTO `gurrantor` (`gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('gc-39', 'dsfdsf', '5345', '2', 'dfgsdf', 'sdfasd', '5436543', 'sdf', 1, '2', '2018-07-10 11:10:56');
INSERT INTO `gurrantor` (`gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('gc-40', 'dsfasdf', '435345', '2', '345', 'sdf', '435435', 'sdfsdf', 1, '2', '2018-07-10 11:10:56');
INSERT INTO `language` (`phrase`) VALUES ('update_debit_voucher');
DELETE FROM `acc_transaction`
WHERE `VNo` = 'DV-4';
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('DV-4', 'DV', '2018-07-10', '10201020201', 'sdfsadf', 0, '70.00', '2', 1, '2', '2018-07-10 12:13:38', 0);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('DV-4', 'DV', '2018-07-10', '301030307', 'sdfsadf', '34.00', 0, '2', 1, '2', '2018-07-10 12:13:38', 0);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('DV-4', 'DV', '2018-07-10', '301030308', 'sdfsadf', '36', 0, '2', 1, '2', '2018-07-10 12:13:38', 0);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('CV-4', 'CV', '2018-07-10', '1020101', 'sdfsdf', '69.00', 0, '2', 1, '2', '2018-07-10 12:37:42', 0);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('CV-4', 'CV', '2018-07-10', '301030307', 'sdfsdf', 0, '34', '2', 1, '2', '2018-07-10 12:37:42', 0);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('CV-4', 'CV', '2018-07-10', '301030305', 'sdfsdf', 0, '35', '2', 1, '2', '2018-07-10 12:37:42', 0);
DELETE FROM `acc_transaction`
WHERE `VNo` = 'CV-4';
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('CV-4', 'CV', '2018-07-10', '1020101', 'sdfsdf', '319.00', 0, '2', 1, '2', '2018-07-10 13:04:13', 0);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('CV-4', 'CV', '2018-07-10', '301030307', 'sdfsdf', 0, '34.00', '2', 1, '2', '2018-07-10 13:04:13', 0);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('CV-4', 'CV', '2018-07-10', '301030305', 'sdfsdf', 0, '35.00', '2', 1, '2', '2018-07-10 13:04:13', 0);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('CV-4', 'CV', '2018-07-10', '4021403', 'sdfsdf', 0, '250', '2', 1, '2', '2018-07-10 13:04:13', 0);
UPDATE `product` SET `product_id` = '10', `product_name` = 'Orange', `product_code` = 'o-12', `category` = '0', `model` = '0', `unit` = '0', `brand` = '0', `product_details` = 'measurement test', `purchase_price` = '120', `minimum_price` = '130', `retail_price` = '150', `block_price` = '6', `isactive` = '1'
WHERE `product_id` IN('10');
UPDATE `product` SET `product_id` = '9', `product_name` = 'B', `product_code` = 'a-1', `category` = '0', `model` = '0', `unit` = '0', `brand` = '0', `product_details` = 'sadfsdf', `purchase_price` = '15', `minimum_price` = '18', `retail_price` = '20', `block_price` = '17', `isactive` = '1'
WHERE `product_id` IN('9');
UPDATE `product` SET `product_id` = '8', `product_name` = 'A', `product_code` = 'a-1', `category` = '0', `model` = '0', `unit` = '0', `brand` = '0', `product_details` = 'dsfsd', `purchase_price` = '20', `minimum_price` = '23', `retail_price` = '25', `block_price` = '21', `isactive` = '1'
WHERE `product_id` IN('8');
UPDATE `product` SET `product_id` = '7', `product_name` = 'Coconut', `product_code` = 'pro-01', `category` = '0', `model` = '0', `unit` = 'Pcs', `brand` = '0', `product_details` = 'Etc', `purchase_price` = '45', `minimum_price` = '50', `retail_price` = '55', `block_price` = '48', `isactive` = '1'
WHERE `product_id` IN('7');
UPDATE `product` SET `product_id` = '6', `product_name` = 'Mango', `product_code` = 'pro-0', `category` = '0', `model` = '0', `unit` = 'kg', `brand` = '0', `product_details` = 'sdfsdf', `purchase_price` = '25', `minimum_price` = '30', `retail_price` = '100', `block_price` = '28', `isactive` = '1'
WHERE `product_id` IN('6');
UPDATE `product` SET `product_id` = '5', `product_name` = 'kkr', `product_code` = '', `category` = '0', `model` = '0', `unit` = '0', `brand` = '0', `product_details` = 'sdf', `purchase_price` = '0', `minimum_price` = '0', `retail_price` = '0', `block_price` = '0', `isactive` = '1'
WHERE `product_id` IN('5');
UPDATE `product` SET `product_id` = '4', `product_name` = 'xxxxxx', `product_code` = '', `category` = '0', `model` = '0', `unit` = '0', `brand` = '0', `product_details` = '234234', `purchase_price` = '0', `minimum_price` = '0', `retail_price` = '0', `block_price` = '0', `isactive` = '1'
WHERE `product_id` IN('4');
UPDATE `product` SET `product_id` = '2', `product_name` = 'Second product', `product_code` = '', `category` = '0', `model` = '0', `unit` = '0', `brand` = '0', `product_details` = 'sdfsdf', `purchase_price` = '0', `minimum_price` = '0', `retail_price` = '0', `block_price` = '0', `isactive` = '1'
WHERE `product_id` IN('2');
INSERT INTO `language` (`phrase`) VALUES ('total_advance_amount');
INSERT INTO `language` (`phrase`) VALUES ('total_package_amount');
INSERT INTO `language` (`phrase`) VALUES ('u_pack_price');
INSERT INTO `language` (`phrase`) VALUES ('total_pack_price');
INSERT INTO `gurrantor` (`gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('gc-41', 'S m', '343', '2', '', '', '534', '', 1, '2', '2018-07-10 15:23:44');
INSERT INTO `gurrantor` (`gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('gc-42', 'fdgsd', '345', '2', '', '', '346654', '', 1, '2', '2018-07-10 15:23:44');
INSERT INTO `sales_parent` (`sale_id`, `invoice_no`, `customer_id`, `sale_type_id`, `store_id`, `salesman`, `sales_date`, `sales_time`, `gurrantor_1`, `gurrantor_2`, `advance_amnt`, `lease_id`, `inquiry_officer`, `remaining_amnt`, `installment_amnt`, `package_price`, `total_amnt`) VALUES ('20180710152349', '1014', '3', '3', '2', '2', '2018-07-10', '15:23:49', '56', '55', '444.00', '4', '7', '106.56', '106.56', '1509.60', '1509.60');
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1014', 'LSIV', '2018-07-10 15:23:49', NULL, 'LSIV For Invoice No1014', '444.00', 0, '2', 1, '2', '2018-07-10 15:23:49', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1014', 'LSIV', '2018-07-10 15:23:49', NULL, 'LSIV For Invoice No1014', 0, '1509.60', '2', 1, '2', '2018-07-10 15:23:49', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1014', 'LSIV', '2018-07-10 15:23:49', 1020101, 'LSIV For Invoice No1014', '444.00', 0, '2', 1, '2', '2018-07-10 15:23:49', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1014', 'LSIV', '2018-07-10 15:23:49', 30102, 'LSIV For Invoice No1014', 0, '1509.60', '2', 1, '2', '2018-07-10 15:23:49', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1014', 'LSIV', '2018-07-10 15:23:49', 403, 'LSIV For Invoice No1014', 80, 0, '2', 1, '2', '2018-07-10 15:23:49', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1014', 'LSIV', '2018-07-10 15:23:49', 10107, 'LSIV For Invoice No1014', 0, 80, '2', 1, '2', '2018-07-10 15:23:49', 1);
INSERT INTO `payment_collection` (`sale_id`, `invoice_no`, `customer_id`, `receive_amnt`, `due_amnt`, `receive_by`, `receive_date`) VALUES ('20180710152349', '1014', '3', '444.00', '1065.60', '2', '2018-07-10');
INSERT INTO `customer_gurrantor_map` (`lease_id`, `customer_id`, `gurrantor_id`) VALUES ('4', '3', '56');
INSERT INTO `customer_gurrantor_map` (`lease_id`, `customer_id`, `gurrantor_id`) VALUES ('4', '3', '55');
INSERT INTO `sale_details` (`sale_id`, `product_id`, `qty`, `sell_price`, `sale_type_id`) VALUES ('20180710152349', '6', '10', '136', '3');
INSERT INTO `sale_details` (`sale_id`, `product_id`, `qty`, `sell_price`, `sale_type_id`) VALUES ('20180710152349', '7', '2', '74.8', '3');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Sales', 'create', 'invoice_no-1014 total amount-1509.60', '2', '2018-07-10 15:23:50');
INSERT INTO `language` (`phrase`) VALUES ('from_date');
INSERT INTO `language` (`phrase`) VALUES ('to_date');
UPDATE `user` SET `last_login` = '2018-07-11 05:36:28', `ip_address` = '::1'
WHERE `id` = '2';
INSERT INTO `language` (`phrase`) VALUES ('gurrantor1');
INSERT INTO `language` (`phrase`) VALUES ('gurrantor2');
INSERT INTO `gurrantor` (`gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('gc-43', 'yurtre', '34521', '2', 'sdf', 'sdfasd', '432576', 'fsdf', 1, '2', '2018-07-11 07:32:09');
INSERT INTO `gurrantor` (`gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('gc-44', 'erdsfg', '67543', '2', 'sdfsadsdfs', 'fasdf', '12351', 'fdsfdsf', 1, '2', '2018-07-11 07:32:09');
INSERT INTO `sales_parent` (`sale_id`, `invoice_no`, `customer_id`, `sale_type_id`, `store_id`, `salesman`, `sales_date`, `sales_time`, `gurrantor_1`, `gurrantor_2`, `advance_amnt`, `lease_id`, `inquiry_officer`, `remaining_amnt`, `installment_amnt`, `package_price`, `total_amnt`) VALUES ('20180711073301', '1015', '3', '3', '2', '2', '2018-07-11', '07:33:01', '58', '57', '146.00', '4', '7', '35.04', '35.04', '496.40', '496.40');
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1015', 'LSIV', '2018-07-11 07:33:01', NULL, 'LSIV For Invoice No1015', '146.00', 0, '2', 1, '2', '2018-07-11 07:33:01', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1015', 'LSIV', '2018-07-11 07:33:01', NULL, 'LSIV For Invoice No1015', 0, '496.40', '2', 1, '2', '2018-07-11 07:33:01', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1015', 'LSIV', '2018-07-11 07:33:01', 1020101, 'LSIV For Invoice No1015', '146.00', 0, '2', 1, '2', '2018-07-11 07:33:01', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1015', 'LSIV', '2018-07-11 07:33:01', 30102, 'LSIV For Invoice No1015', 0, '496.40', '2', 1, '2', '2018-07-11 07:33:01', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1015', 'LSIV', '2018-07-11 07:33:01', 403, 'LSIV For Invoice No1015', 55, 0, '2', 1, '2', '2018-07-11 07:33:01', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1015', 'LSIV', '2018-07-11 07:33:01', 10107, 'LSIV For Invoice No1015', 0, 55, '2', 1, '2', '2018-07-11 07:33:01', 1);
INSERT INTO `payment_collection` (`sale_id`, `invoice_no`, `customer_id`, `receive_amnt`, `due_amnt`, `receive_by`, `receive_date`) VALUES ('20180711073301', '1015', '3', '146.00', '350.40', '2', '2018-07-11');
INSERT INTO `customer_gurrantor_map` (`lease_id`, `customer_id`, `gurrantor_id`) VALUES ('4', '3', '58');
INSERT INTO `customer_gurrantor_map` (`lease_id`, `customer_id`, `gurrantor_id`) VALUES ('4', '3', '57');
INSERT INTO `sale_details` (`sale_id`, `product_id`, `qty`, `sell_price`, `sale_type_id`, `lease_unit_price`) VALUES ('20180711073301', '6', '2', '100', '3', '136');
INSERT INTO `sale_details` (`sale_id`, `product_id`, `qty`, `sell_price`, `sale_type_id`, `lease_unit_price`) VALUES ('20180711073301', '7', '3', '74.8', '3', NULL);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Sales', 'create', 'invoice_no-1015 total amount-496.40', '2', '2018-07-11 07:33:02');
INSERT INTO `gurrantor` (`gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('gc-45', 'fgsdfg', '345342', '2', 'sdfasdf', 'fsdf', '56756', 'dfsdf', 1, '2', '2018-07-11 07:35:00');
INSERT INTO `gurrantor` (`gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('gc-46', 'dfgdf', '23423', '2', 'sdfasd', 'sdfas', '32423', 'asdf', 1, '2', '2018-07-11 07:35:00');
INSERT INTO `sales_parent` (`sale_id`, `invoice_no`, `customer_id`, `sale_type_id`, `store_id`, `salesman`, `sales_date`, `sales_time`, `gurrantor_1`, `gurrantor_2`, `advance_amnt`, `lease_id`, `inquiry_officer`, `remaining_amnt`, `installment_amnt`, `package_price`, `total_amnt`) VALUES ('20180711073531', '1000', '3', '3', '2', '2', '2018-07-11', '07:35:31', '60', '59', '186.00', '4', '6', '44.64', '44.64', '632.40', '632.40');
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1000', 'LSIV', '2018-07-11 07:35:31', NULL, 'LSIV For Invoice No1000', '186.00', 0, '2', 1, '2', '2018-07-11 07:35:31', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1000', 'LSIV', '2018-07-11 07:35:31', NULL, 'LSIV For Invoice No1000', 0, '632.40', '2', 1, '2', '2018-07-11 07:35:31', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1000', 'LSIV', '2018-07-11 07:35:31', 1020101, 'LSIV For Invoice No1000', '186.00', 0, '2', 1, '2', '2018-07-11 07:35:31', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1000', 'LSIV', '2018-07-11 07:35:31', 30102, 'LSIV For Invoice No1000', 0, '632.40', '2', 1, '2', '2018-07-11 07:35:31', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1000', 'LSIV', '2018-07-11 07:35:31', 403, 'LSIV For Invoice No1000', 60, 0, '2', 1, '2', '2018-07-11 07:35:31', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1000', 'LSIV', '2018-07-11 07:35:31', 10107, 'LSIV For Invoice No1000', 0, 60, '2', 1, '2', '2018-07-11 07:35:31', 1);
INSERT INTO `payment_collection` (`sale_id`, `invoice_no`, `customer_id`, `receive_amnt`, `due_amnt`, `receive_by`, `receive_date`) VALUES ('20180711073531', '1000', '3', '186.00', '446.40', '2', '2018-07-11');
INSERT INTO `customer_gurrantor_map` (`lease_id`, `customer_id`, `gurrantor_id`) VALUES ('4', '3', '60');
INSERT INTO `customer_gurrantor_map` (`lease_id`, `customer_id`, `gurrantor_id`) VALUES ('4', '3', '59');
INSERT INTO `sale_details` (`sale_id`, `product_id`, `qty`, `sell_price`, `sale_type_id`, `lease_unit_price`) VALUES ('20180711073531', '6', '3', '100', '3', '136');
INSERT INTO `sale_details` (`sale_id`, `product_id`, `qty`, `sell_price`, `sale_type_id`, `lease_unit_price`) VALUES ('20180711073531', '7', '3', '74.8', '3', NULL);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Sales', 'create', 'invoice_no-1000 total amount-632.40', '2', '2018-07-11 07:35:32');
INSERT INTO `gurrantor` (`gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('gc-47', 'sdfasdf', '235345', '2', 'gsdfg', '', '56756', '', 1, '2', '2018-07-11 07:38:38');
INSERT INTO `gurrantor` (`gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('gc-48', 'sdafasdf', '345', '2', 'dfgsdf', '', '56756', '', 1, '2', '2018-07-11 07:38:38');
INSERT INTO `gurrantor` (`gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('gc-49', '5dfgdf', '345', '2', 'dfg', '', '456455', '', 1, '2', '2018-07-11 07:40:02');
INSERT INTO `gurrantor` (`gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('gc-50', 'dsgsdfg', '5634', '2', 'dfg', '', '324234', '', 1, '2', '2018-07-11 07:40:02');
INSERT INTO `sales_parent` (`sale_id`, `invoice_no`, `customer_id`, `sale_type_id`, `store_id`, `salesman`, `sales_date`, `sales_time`, `gurrantor_1`, `gurrantor_2`, `advance_amnt`, `lease_id`, `inquiry_officer`, `remaining_amnt`, `installment_amnt`, `package_price`, `total_amnt`) VALUES ('20180711074016', '1001', '4', '3', '2', '2', '2018-07-11', '07:40:16', '64', '63', '510.00', '4', '6', '122.40', '122.40', '1734.00', '1734.00');
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1001', 'LSIV', '2018-07-11 07:40:16', NULL, 'LSIV For Invoice No1001', '510.00', 0, '2', 1, '2', '2018-07-11 07:40:16', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1001', 'LSIV', '2018-07-11 07:40:16', NULL, 'LSIV For Invoice No1001', 0, '1734.00', '2', 1, '2', '2018-07-11 07:40:16', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1001', 'LSIV', '2018-07-11 07:40:16', 1020101, 'LSIV For Invoice No1001', '510.00', 0, '2', 1, '2', '2018-07-11 07:40:16', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1001', 'LSIV', '2018-07-11 07:40:16', 30102, 'LSIV For Invoice No1001', 0, '1734.00', '2', 1, '2', '2018-07-11 07:40:16', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1001', 'LSIV', '2018-07-11 07:40:16', 403, 'LSIV For Invoice No1001', 125, 0, '2', 1, '2', '2018-07-11 07:40:16', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1001', 'LSIV', '2018-07-11 07:40:16', 10107, 'LSIV For Invoice No1001', 0, 125, '2', 1, '2', '2018-07-11 07:40:16', 1);
INSERT INTO `payment_collection` (`sale_id`, `invoice_no`, `customer_id`, `receive_amnt`, `due_amnt`, `receive_by`, `receive_date`) VALUES ('20180711074016', '1001', '4', '510.00', '1224.00', '2', '2018-07-11');
INSERT INTO `customer_gurrantor_map` (`lease_id`, `customer_id`, `gurrantor_id`) VALUES ('4', '4', '64');
INSERT INTO `customer_gurrantor_map` (`lease_id`, `customer_id`, `gurrantor_id`) VALUES ('4', '4', '63');
INSERT INTO `sale_details` (`sale_id`, `product_id`, `qty`, `sell_price`, `sale_type_id`, `lease_unit_price`) VALUES ('20180711074016', '6', '10', '100', '3', '136');
INSERT INTO `sale_details` (`sale_id`, `product_id`, `qty`, `sell_price`, `sale_type_id`, `lease_unit_price`) VALUES ('20180711074016', '7', '5', '55', '3', '74.8');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Sales', 'create', 'invoice_no-1001 total amount-1734.00', '2', '2018-07-11 07:40:16');
DELETE FROM `acc_transaction`
WHERE `VNo` = '1001';
DELETE FROM `sales_parent`
WHERE `sale_id` = '20180711074016';
DELETE FROM `sale_details`
WHERE `sale_id` = '20180711074016';
DELETE FROM `payment_collection`
WHERE `invoice_no` = '1001';
INSERT INTO `sales_parent` (`sale_id`, `invoice_no`, `customer_id`, `sale_type_id`, `store_id`, `salesman`, `sales_date`, `sales_time`, `gurrantor_1`, `gurrantor_2`, `advance_amnt`, `lease_id`, `inquiry_officer`, `remaining_amnt`, `installment_amnt`, `package_price`, `total_amnt`) VALUES ('20180711074016', '1001', '4', '3', '2', '2', '2018-07-11', '08:31:37', '64', '63', '146.00', '4', '6', '350.40', 'NaN', '496.40', '496.40');
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1001', 'LSIV', '2018-07-11 08:31:37', NULL, 'LSIV For Invoice No1001', '146.00', 0, '2', 1, '2', '2018-07-11 08:31:37', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1001', 'LSIV', '2018-07-11 08:31:37', NULL, 'LSIV For Invoice No1001', 0, '496.40', '2', 1, '2', '2018-07-11 08:31:37', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1001', 'LSIV', '2018-07-11 08:31:37', 1020101, 'LSIV For Invoice No1001', '146.00', 0, '2', 1, '2', '2018-07-11 08:31:37', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1001', 'LSIV', '2018-07-11 08:31:37', 30102, 'LSIV For Invoice No1001', 0, '496.40', '2', 1, '2', '2018-07-11 08:31:37', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1001', 'LSIV', '2018-07-11 08:31:37', 403, 'LSIV For Invoice No1001', 55, 0, '2', 1, '2', '2018-07-11 08:31:37', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1001', 'LSIV', '2018-07-11 08:31:37', 10107, 'LSIV For Invoice No1001', 0, 55, '2', 1, '2', '2018-07-11 08:31:37', 1);
INSERT INTO `payment_collection` (`sale_id`, `invoice_no`, `customer_id`, `receive_amnt`, `due_amnt`, `receive_by`, `receive_date`) VALUES ('20180711074016', '1001', '4', '146.00', '350.40', '2', '2018-07-11');
INSERT INTO `sale_details` (`sale_id`, `product_id`, `qty`, `sell_price`, `sale_type_id`, `lease_unit_price`) VALUES ('20180711074016', '6', '2', '', '3', '136');
INSERT INTO `sale_details` (`sale_id`, `product_id`, `qty`, `sell_price`, `sale_type_id`, `lease_unit_price`) VALUES ('20180711074016', '7', '3', '', '3', '74.8');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Sales', 'update', 'invoice_no-1001 total amount-496.40', '2', '2018-07-11 08:31:37');
DELETE FROM `acc_transaction`
WHERE `VNo` = '1001';
DELETE FROM `sales_parent`
WHERE `sale_id` = '20180711074016';
DELETE FROM `sale_details`
WHERE `sale_id` = '20180711074016';
DELETE FROM `payment_collection`
WHERE `invoice_no` = '1001';
INSERT INTO `sales_parent` (`sale_id`, `invoice_no`, `customer_id`, `sale_type_id`, `store_id`, `salesman`, `sales_date`, `sales_time`, `gurrantor_1`, `gurrantor_2`, `advance_amnt`, `lease_id`, `inquiry_officer`, `remaining_amnt`, `installment_amnt`, `package_price`, `total_amnt`) VALUES ('20180711074016', '1001', '4', '3', '2', '2', '2018-07-11', '08:39:35', '64', '63', '244.00', '4', '6', '585.60', 'NaN', '829.60', '829.60');
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1001', 'LSIV', '2018-07-11 08:39:35', NULL, 'LSIV For Invoice No1001', '244.00', 0, '2', 1, '2', '2018-07-11 08:39:35', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1001', 'LSIV', '2018-07-11 08:39:35', NULL, 'LSIV For Invoice No1001', 0, '829.60', '2', 1, '2', '2018-07-11 08:39:35', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1001', 'LSIV', '2018-07-11 08:39:35', 1020101, 'LSIV For Invoice No1001', '244.00', 0, '2', 1, '2', '2018-07-11 08:39:35', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1001', 'LSIV', '2018-07-11 08:39:35', 30102, 'LSIV For Invoice No1001', 0, '829.60', '2', 1, '2', '2018-07-11 08:39:35', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1001', 'LSIV', '2018-07-11 08:39:35', 403, 'LSIV For Invoice No1001', 55, 0, '2', 1, '2', '2018-07-11 08:39:35', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1001', 'LSIV', '2018-07-11 08:39:35', 10107, 'LSIV For Invoice No1001', 0, 55, '2', 1, '2', '2018-07-11 08:39:35', 1);
INSERT INTO `payment_collection` (`sale_id`, `invoice_no`, `customer_id`, `receive_amnt`, `due_amnt`, `receive_by`, `receive_date`) VALUES ('20180711074016', '1001', '4', '244.00', '585.60', '2', '2018-07-11');
INSERT INTO `sale_details` (`sale_id`, `product_id`, `qty`, `sell_price`, `sale_type_id`, `lease_unit_price`) VALUES ('20180711074016', '6', '5', '10', '3', '136');
INSERT INTO `sale_details` (`sale_id`, `product_id`, `qty`, `sell_price`, `sale_type_id`, `lease_unit_price`) VALUES ('20180711074016', '7', '2', '55', '3', '74.8');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Sales', 'update', 'invoice_no-1001 total amount-829.60', '2', '2018-07-11 08:39:35');
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
DELETE FROM `acc_transaction`
WHERE `VNo` = '1001';
DELETE FROM `sales_parent`
WHERE `sale_id` = '20180711074016';
DELETE FROM `sale_details`
WHERE `sale_id` = '20180711074016';
DELETE FROM `payment_collection`
WHERE `invoice_no` = '1001';
INSERT INTO `sales_parent` (`sale_id`, `invoice_no`, `customer_id`, `sale_type_id`, `store_id`, `salesman`, `sales_date`, `sales_time`, `gurrantor_1`, `gurrantor_2`, `advance_amnt`, `lease_id`, `inquiry_officer`, `remaining_amnt`, `installment_amnt`, `package_price`, `total_amnt`) VALUES ('20180711074016', '1001', '4', '3', '2', '2', '2018-07-11', '08:50:07', '64', '63', '168.00', '4', '6', '403.20', '40.32', '571.20', '571.20');
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1001', 'LSIV', '2018-07-11 08:50:07', NULL, 'LSIV For Invoice No1001', '168.00', 0, '2', 1, '2', '2018-07-11 08:50:07', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1001', 'LSIV', '2018-07-11 08:50:07', NULL, 'LSIV For Invoice No1001', 0, '571.20', '2', 1, '2', '2018-07-11 08:50:07', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1001', 'LSIV', '2018-07-11 08:50:07', 1020101, 'LSIV For Invoice No1001', '168.00', 0, '2', 1, '2', '2018-07-11 08:50:07', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1001', 'LSIV', '2018-07-11 08:50:07', 30102, 'LSIV For Invoice No1001', 0, '571.20', '2', 1, '2', '2018-07-11 08:50:07', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1001', 'LSIV', '2018-07-11 08:50:07', 403, 'LSIV For Invoice No1001', 70, 0, '2', 1, '2', '2018-07-11 08:50:07', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1001', 'LSIV', '2018-07-11 08:50:07', 10107, 'LSIV For Invoice No1001', 0, 70, '2', 1, '2', '2018-07-11 08:50:07', 1);
INSERT INTO `payment_collection` (`sale_id`, `invoice_no`, `customer_id`, `receive_amnt`, `due_amnt`, `receive_by`, `receive_date`) VALUES ('20180711074016', '1001', '4', '168.00', '403.20', '2', '2018-07-11');
INSERT INTO `sale_details` (`sale_id`, `product_id`, `qty`, `sell_price`, `sale_type_id`, `lease_unit_price`) VALUES ('20180711074016', '6', '2', '10', '3', '136');
INSERT INTO `sale_details` (`sale_id`, `product_id`, `qty`, `sell_price`, `sale_type_id`, `lease_unit_price`) VALUES ('20180711074016', '7', '4', '55', '3', '74.8');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Sales', 'update', 'invoice_no-1001 total amount-571.20', '2', '2018-07-11 08:50:07');
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
INSERT INTO `payment_collection` (`id`, `invoice_no`, `customer_id`, `receive_amnt`, `receive_date`, `receive_by`, `is_installment`) VALUES ('', '1001', '4', '10', '2018-07-11', '2', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1001', 'RECVIV', '2018-07-11', 1020101, 'RECVIV For Invoice No1001', '10', 0, '2', 1, '2', '2018-07-11', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1001', 'RECVIV', '2018-07-11', NULL, 'RECVIV For Invoice No1001', 0, '10', '2', 1, '2', '2018-07-11', 1);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('recovery', 'create', 'payment ID :24', '2', '2018-07-11 08:59:23');
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
INSERT INTO `payment_collection` (`id`, `invoice_no`, `customer_id`, `receive_amnt`, `receive_date`, `receive_by`, `is_installment`) VALUES ('', '1001', '4', '20', '2018-07-11', '2', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1001', 'RECVIV', '2018-07-11', 1020101, 'RECVIV For Invoice No1001', '20', 0, '2', 1, '2', '2018-07-11', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1001', 'RECVIV', '2018-07-11', NULL, 'RECVIV For Invoice No1001', 0, '20', '2', 1, '2', '2018-07-11', 1);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('recovery', 'create', 'payment ID :1', '2', '2018-07-11 09:51:08');
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
INSERT INTO `gurrantor` (`gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('gc-51', 'sdfasdf', '4357', '2', 'dfg', 'fgdfg', '56757', 'dfg', 1, '2', '2018-07-11 10:10:40');
INSERT INTO `gurrantor` (`gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('gc-52', 'dsfhrtr', '23423', '2', 'fdgd', 'dfgsdf', '67567', 'fdg', 1, '2', '2018-07-11 10:10:40');
INSERT INTO `sales_parent` (`sale_id`, `invoice_no`, `customer_id`, `sale_type_id`, `store_id`, `salesman`, `sales_date`, `sales_time`, `gurrantor_1`, `gurrantor_2`, `advance_amnt`, `lease_id`, `inquiry_officer`, `remaining_amnt`, `installment_amnt`, `package_price`, `total_amnt`) VALUES ('20180711101056', '1002', '3', '3', '2', '2', '2018-07-11', '10:10:56', '66', '65', '200.00', '4', '6', '480.00', '48.00', '680.00', '680.00');
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1002', 'LSIV', '2018-07-11 10:10:56', NULL, 'LSIV For Invoice No1002', '200.00', 0, '2', 1, '2', '2018-07-11 10:10:56', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1002', 'LSIV', '2018-07-11 10:10:56', NULL, 'LSIV For Invoice No1002', 0, '680.00', '2', 1, '2', '2018-07-11 10:10:56', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1002', 'LSIV', '2018-07-11 10:10:56', 1020101, 'LSIV For Invoice No1002', '200.00', 0, '2', 1, '2', '2018-07-11 10:10:56', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1002', 'LSIV', '2018-07-11 10:10:56', 30102, 'LSIV For Invoice No1002', 0, '680.00', '2', 1, '2', '2018-07-11 10:10:56', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1002', 'LSIV', '2018-07-11 10:10:56', 403, 'LSIV For Invoice No1002', 25, 0, '2', 1, '2', '2018-07-11 10:10:56', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1002', 'LSIV', '2018-07-11 10:10:56', 10107, 'LSIV For Invoice No1002', 0, 25, '2', 1, '2', '2018-07-11 10:10:56', 1);
INSERT INTO `payment_collection` (`sale_id`, `invoice_no`, `customer_id`, `receive_amnt`, `due_amnt`, `receive_by`, `receive_date`) VALUES ('20180711101056', '1002', '3', '200.00', '480.00', '2', '2018-07-11');
INSERT INTO `customer_gurrantor_map` (`lease_id`, `customer_id`, `gurrantor_id`) VALUES ('4', '3', '66');
INSERT INTO `customer_gurrantor_map` (`lease_id`, `customer_id`, `gurrantor_id`) VALUES ('4', '3', '65');
INSERT INTO `sale_details` (`sale_id`, `product_id`, `qty`, `sell_price`, `sale_type_id`, `lease_unit_price`) VALUES ('20180711101056', '6', '5', '100', '3', '136');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Sales', 'create', 'invoice_no-1002 total amount-680.00', '2', '2018-07-11 10:10:57');
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
INSERT INTO `payment_collection` (`id`, `invoice_no`, `customer_id`, `receive_amnt`, `receive_date`, `receive_by`, `is_installment`) VALUES ('', '1001', '4', '40.32', '2018-07-11', '2', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1001', 'RECVIV', '2018-07-11', 1020101, 'RECVIV For Invoice No1001', '40.32', 0, '2', 1, '2', '2018-07-11', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1001', 'RECVIV', '2018-07-11', NULL, 'RECVIV For Invoice No1001', 0, '40.32', '2', 1, '2', '2018-07-11', 1);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('recovery', 'create', 'payment ID :3', '2', '2018-07-11 11:28:20');
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
INSERT INTO `acc_coa` (`HeadCode`, `HeadName`, `PHeadName`, `HeadLevel`, `IsActive`, `IsTransaction`, `IsGL`, `HeadType`, `IsBudget`, `IsDepreciation`, `DepreciationRate`, `CreateBy`, `CreateDate`) VALUES (1020301000004, 'ls-6-Alamin Khan', 'Customer Receivable', '4', '1', '1', '0', 'A', '0', '0', '0', '2', '2018-07-11 12:50:46');
INSERT INTO `customer` (`customer_code`, `customer_name`, `customer_phone`, `type`, `job_designation`, `store_id`, `customer_address`, `customer_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('ls-6', 'Alamin Khan', '34223', '3', '', '2', 'dsf', '4234', '', 1, '2', '2018-07-11 12:50:46');
INSERT INTO `acc_coa` (`HeadCode`, `HeadName`, `PHeadName`, `HeadLevel`, `IsActive`, `IsTransaction`, `IsGL`, `HeadType`, `IsBudget`, `IsDepreciation`, `DepreciationRate`, `CreateBy`, `CreateDate`) VALUES (1020301000005, 'cc-3-Harun', 'Customer Receivable', '4', '1', '1', '0', 'A', '0', '0', '0', '2', '2018-07-11 12:56:47');
INSERT INTO `customer` (`customer_id`, `customer_code`, `customer_name`, `type`, `customer_phone`, `store_id`, `job_designation`, `customer_address`, `customer_cnic`, `business_address`, `isactive`, `createby`, `createdate`, `updateby`, `updatedate`) VALUES ('', 'cc-3', 'Harun', '1', '3242', '4', '', '', '4654646', '', '1', '2', '2018-07-11 12:56:47', '', '');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Customer', 'create', 14, '2', '2018-07-11 12:56:47');
INSERT INTO `acc_coa` (`HeadCode`, `HeadName`, `PHeadName`, `HeadLevel`, `IsActive`, `IsTransaction`, `IsGL`, `HeadType`, `IsBudget`, `IsDepreciation`, `DepreciationRate`, `CreateBy`, `CreateDate`) VALUES (1020301000006, 'cc-1-  aaaaaaaaaaa', 'Customer Receivable', '4', '1', '1', '0', 'A', '0', '0', '0', '2', '2018-07-11 12:57:44');
INSERT INTO `customer` (`customer_code`, `customer_name`, `customer_phone`, `type`, `job_designation`, `store_id`, `customer_address`, `customer_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('cc-1', '  aaaaaaaaaaa', '4353534', '1', NULL, '2', NULL, '67578', NULL, 1, '2', '2018-07-11 12:57:44');
INSERT INTO `acc_coa` (`HeadCode`, `HeadName`, `PHeadName`, `HeadLevel`, `IsActive`, `IsTransaction`, `IsGL`, `HeadType`, `IsBudget`, `IsDepreciation`, `DepreciationRate`, `CreateBy`, `CreateDate`) VALUES (1020301000007, 'cr-5-MMMMM', 'Customer Receivable', '4', '1', '1', '0', 'A', '0', '0', '0', '2', '2018-07-11 12:58:22');
INSERT INTO `customer` (`customer_code`, `customer_name`, `customer_phone`, `type`, `job_designation`, `store_id`, `customer_address`, `customer_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('cr-5', 'MMMMM', '85484', '2', '', '2', '', '151', '', 1, '2', '2018-07-11 12:58:22');
INSERT INTO `customer` (`customer_code`, `customer_name`, `customer_phone`, `type`, `job_designation`, `store_id`, `customer_address`, `customer_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('cc-1', 'Ibrahim', '43534', '1', NULL, '2', NULL, '678675878', NULL, 1, '2', '2018-07-11 13:03:56');
INSERT INTO `acc_coa` (`HeadCode`, `HeadName`, `PHeadName`, `HeadLevel`, `IsActive`, `IsTransaction`, `IsGL`, `HeadType`, `IsBudget`, `IsDepreciation`, `DepreciationRate`, `CreateBy`, `CreateDate`) VALUES (1020301000008, 'cr-6-Jewel', 'Customer Receivable', '4', '1', '1', '0', 'A', '0', '0', '0', '2', '2018-07-11 13:04:47');
INSERT INTO `customer` (`customer_code`, `customer_name`, `customer_phone`, `type`, `job_designation`, `store_id`, `customer_address`, `customer_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('cr-6', 'Jewel', '34543534', '2', '', '2', 'sdf', '643545', '', 1, '2', '2018-07-11 13:04:47');
INSERT INTO `customer` (`customer_id`, `customer_code`, `customer_name`, `type`, `customer_phone`, `store_id`, `job_designation`, `customer_address`, `customer_cnic`, `business_address`, `isactive`, `createby`, `createdate`, `updateby`, `updatedate`) VALUES ('', 'cc-4', 'OOOO', '1', '345234', '3', '', '', '45345345', '', '1', '2', '2018-07-11 13:06:25', '', '');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Customer', 'create', 17, '2', '2018-07-11 13:06:25');
INSERT INTO `acc_coa` (`HeadCode`, `HeadName`, `PHeadName`, `HeadLevel`, `IsActive`, `IsTransaction`, `IsGL`, `HeadType`, `IsBudget`, `IsDepreciation`, `DepreciationRate`, `CreateBy`, `CreateDate`) VALUES (5020202, 'sup-5-Axi', 'Account payable', '3', '1', '1', '0', 'L', '0', '0', '0', '2', '2018-07-11 13:16:06');
INSERT INTO `supplier` (`supplier_id`, `supplier_name`, `supplier_code`, `phone`, `address`, `email`, `contact_per_name`, `c_p_contact`, `isactive`, `createby`, `createdate`, `updateby`, `updatedate`) VALUES ('', 'Axi', 'sup-5', '2345234', 'sdfsad', 'A@gmail.com', '342', '435', 1, '2', '2018-07-11 13:16:06', '', '');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Supplier', 'create', 'Supplier ID :5', '2', '2018-07-11 13:16:06');
INSERT INTO `acc_coa` (`HeadCode`, `HeadName`, `PHeadName`, `HeadLevel`, `IsActive`, `IsTransaction`, `IsGL`, `HeadType`, `IsBudget`, `IsDepreciation`, `DepreciationRate`, `CreateBy`, `CreateDate`) VALUES ('5020200001', 'sup-6-im', 'Account payable', '3', '1', '1', '0', 'L', '0', '0', '0', '2', '2018-07-11 13:23:58');
INSERT INTO `supplier` (`supplier_id`, `supplier_name`, `supplier_code`, `phone`, `address`, `email`, `contact_per_name`, `c_p_contact`, `isactive`, `createby`, `createdate`, `updateby`, `updatedate`) VALUES ('', 'im', 'sup-6', '324', 'sdf', '', '', '', 1, '2', '2018-07-11 13:23:58', '', '');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Supplier', 'create', 'Supplier ID :6', '2', '2018-07-11 13:23:58');
INSERT INTO `acc_coa` (`HeadCode`, `HeadName`, `PHeadName`, `HeadLevel`, `IsActive`, `IsTransaction`, `IsGL`, `HeadType`, `IsBudget`, `CreateBy`, `CreateDate`) VALUES ('102030110', 'Ik', 'Customer Receivable', '3', '1', '1', '1', 'A', 0, '2', '2018-07-11 13:27:40');
INSERT INTO `acc_coa` (`HeadCode`, `HeadName`, `PHeadName`, `HeadLevel`, `IsActive`, `IsTransaction`, `IsGL`, `HeadType`, `IsBudget`, `IsDepreciation`, `DepreciationRate`, `CreateBy`, `CreateDate`) VALUES (5020200002, 'sup-7-Arafat', 'Account Payable', '3', '1', '1', '0', 'L', '0', '0', '0', '2', '2018-07-11 13:49:15');
INSERT INTO `supplier` (`supplier_id`, `supplier_name`, `supplier_code`, `phone`, `address`, `email`, `contact_per_name`, `c_p_contact`, `isactive`, `createby`, `createdate`, `updateby`, `updatedate`) VALUES ('', 'Arafat', 'sup-7', '3453', 'sdfas', '', '', '', 1, '2', '2018-07-11 13:49:15', '', '');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Supplier', 'create', 'Supplier ID :7', '2', '2018-07-11 13:49:15');
DELETE FROM `acc_coa`
WHERE `HeadName` = 'sup-7-Arafat';
UPDATE `supplier` SET `supplier_id` = '7', `supplier_name` = 'Rifat', `supplier_code` = 'sup-7', `phone` = '3453', `address` = 'sdfas', `email` = 'rifat@gmail.com', `contact_per_name` = '324234', `c_p_contact` = '32423532', `isactive` = 1, `createby` = '2', `createdate` = '2018-07-11 13:59:37', `updateby` = '2', `updatedate` = '2018-07-11 13:59:37'
WHERE `supplier_id` = '7';
INSERT INTO `acc_coa` (`HeadCode`, `HeadName`, `PHeadName`, `HeadLevel`, `IsActive`, `IsTransaction`, `IsGL`, `HeadType`, `IsBudget`, `IsDepreciation`, `DepreciationRate`, `CreateBy`, `CreateDate`) VALUES (5020200003, 'sup-7-Rifat', 'Account Payable', '3', '1', '1', '0', 'L', '0', '0', '0', '2', '2018-07-11 13:59:37');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Supplier', 'update', 'Supplier ID :7', '2', '2018-07-11 13:59:37');
INSERT INTO `gurrantor` (`gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('gc-53', 'sdfsadf', '324556', '2', '345', '', '346234', '', 1, '2', '2018-07-11 14:24:55');
INSERT INTO `gurrantor` (`gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('gc-54', 'sdfasdf', '675423', '2', '34fgsdg', '', '7686745', '', 1, '2', '2018-07-11 14:24:55');
INSERT INTO `sales_parent` (`sale_id`, `invoice_no`, `customer_id`, `sale_type_id`, `store_id`, `salesman`, `sales_date`, `sales_time`, `gurrantor_1`, `gurrantor_2`, `advance_amnt`, `lease_id`, `inquiry_officer`, `remaining_amnt`, `installment_amnt`, `package_price`, `total_amnt`) VALUES ('20180711142509', '1003', '5', '3', '2', '2', '2018-07-11', '14:25:09', '68', '67', '160.00', '4', '6', '384.00', '38.40', '544.00', '544.00');
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1003', 'LSIV', '2018-07-11 14:25:09', NULL, 'LSIV For Invoice No1003', '160.00', 0, '2', 1, '2', '2018-07-11 14:25:09', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1003', 'LSIV', '2018-07-11 14:25:09', NULL, 'LSIV For Invoice No1003', 0, '544.00', '2', 1, '2', '2018-07-11 14:25:09', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1003', 'LSIV', '2018-07-11 14:25:09', 1020101, 'LSIV For Invoice No1003', '160.00', 0, '2', 1, '2', '2018-07-11 14:25:09', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1003', 'LSIV', '2018-07-11 14:25:09', 30102, 'LSIV For Invoice No1003', 0, '544.00', '2', 1, '2', '2018-07-11 14:25:09', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1003', 'LSIV', '2018-07-11 14:25:09', 403, 'LSIV For Invoice No1003', 20, 0, '2', 1, '2', '2018-07-11 14:25:09', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1003', 'LSIV', '2018-07-11 14:25:09', 10107, 'LSIV For Invoice No1003', 0, 20, '2', 1, '2', '2018-07-11 14:25:09', 1);
INSERT INTO `payment_collection` (`sale_id`, `invoice_no`, `customer_id`, `receive_amnt`, `due_amnt`, `receive_by`, `receive_date`) VALUES ('20180711142509', '1003', '5', '160.00', '384.00', '2', '2018-07-11');
INSERT INTO `customer_gurrantor_map` (`lease_id`, `customer_id`, `gurrantor_id`) VALUES ('4', '5', '68');
INSERT INTO `customer_gurrantor_map` (`lease_id`, `customer_id`, `gurrantor_id`) VALUES ('4', '5', '67');
INSERT INTO `sale_details` (`sale_id`, `product_id`, `qty`, `sell_price`, `sale_type_id`, `lease_unit_price`) VALUES ('20180711142509', '6', '4', '100', '3', '136');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Sales', 'create', 'invoice_no-1003 total amount-544.00', '2', '2018-07-11 14:25:09');
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
INSERT INTO `payment_collection` (`id`, `invoice_no`, `customer_id`, `receive_amnt`, `receive_date`, `receive_by`, `is_installment`) VALUES ('', '1003', '5', '35', '2018-07-11', '2', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1003', 'RECVIV', '2018-07-11', 1020101, 'RECVIV For Invoice No1003', '35', 0, '2', 1, '2', '2018-07-11', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1003', 'RECVIV', '2018-07-11', NULL, 'RECVIV For Invoice No1003', 0, '35', '2', 1, '2', '2018-07-11', 1);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('recovery', 'create', 'payment ID :5', '2', '2018-07-11 14:25:39');
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
UPDATE `user` SET `last_login` = '2018-07-12 05:43:15', `ip_address` = '::1'
WHERE `id` = '2';
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
UPDATE `user` SET `last_logout` = '2018-07-12 06:39:25'
WHERE `id` = '2';
UPDATE `user` SET `last_login` = '2018-07-12 06:41:53', `ip_address` = '::1'
WHERE `id` = '21';
UPDATE `user` SET `last_login` = '2018-07-12 06:43:03', `ip_address` = '::1'
WHERE `id` = '2';
DELETE FROM `role_permission`
WHERE `role_id` = '2';
INSERT INTO `role_permission` (`create`, `delete`, `fk_module_id`, `read`, `role_id`, `update`) VALUES ('1','1','3','1','2','1'), (0,0,'4',0,'2',0), (0,0,'5',0,'2',0), (0,0,'6',0,'2',0), (0,0,'7',0,'2',0), (0,0,'8',0,'2',0), (0,0,'9',0,'2',0), ('1','1','10','1','2','1'), (0,0,'11',0,'2',0), ('1','1','12','1','2','1'), (0,0,'13',0,'2',0), ('1','1','14','1','2','1'), (0,0,'16',0,'2',0), ('1','1','17','1','2','1'), ('1','1','18','1','2','1'), (0,0,'19',0,'2',0);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Role Permission', 'update', 'Role id :2', '2', '2018-07-12 06:43:49');
UPDATE `user` SET `last_logout` = '2018-07-12 06:43:58'
WHERE `id` = '21';
UPDATE `user` SET `last_login` = '2018-07-12 06:44:32', `ip_address` = '::1'
WHERE `id` = '21';
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
INSERT INTO `gurrantor` (`gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('gc-1', 'fgsdfg', '4353', '6', 'sdfs', 'fsdfsad', '234557', 'sdfsad', 1, '21', '2018-07-12 06:45:11');
INSERT INTO `gurrantor` (`gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('gc-2', 'dfgdfg', '45657', '6', 'sdfsad', 'fsadf', '65534', 'fasdf', 1, '21', '2018-07-12 06:45:11');
UPDATE `store` SET `store_id` = '8', `isactive` = 1
WHERE `store_id` = '8';
INSERT INTO `gurrantor` (`gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('gc-55', 'gdfg', '345436', '2', 'gfhdfgh', 'g', '565765', '', 1, '2', '2018-07-12 06:47:30');
INSERT INTO `gurrantor` (`gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('gc-56', 'dfgdsfg', '54645', '2', 'fghdf', '', '76567', '', 1, '2', '2018-07-12 06:47:30');
INSERT INTO `sales_parent` (`sale_id`, `invoice_no`, `customer_id`, `sale_type_id`, `store_id`, `salesman`, `sales_date`, `sales_time`, `gurrantor_1`, `gurrantor_2`, `advance_amnt`, `lease_id`, `inquiry_officer`, `remaining_amnt`, `installment_amnt`, `package_price`, `total_amnt`) VALUES ('20180712064748', '1004', '3', '3', '2', '2', '2018-07-12', '06:47:48', '72', '71', '200.00', '4', '8', '480.00', '48.00', '680.00', '680.00');
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1004', 'LSIV', '2018-07-12 06:47:48', NULL, 'LSIV For Invoice No1004', '200.00', 0, '2', 1, '2', '2018-07-12 06:47:48', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1004', 'LSIV', '2018-07-12 06:47:48', NULL, 'LSIV For Invoice No1004', 0, '680.00', '2', 1, '2', '2018-07-12 06:47:48', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1004', 'LSIV', '2018-07-12 06:47:48', 1020101, 'LSIV For Invoice No1004', '200.00', 0, '2', 1, '2', '2018-07-12 06:47:48', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1004', 'LSIV', '2018-07-12 06:47:48', 30102, 'LSIV For Invoice No1004', 0, '680.00', '2', 1, '2', '2018-07-12 06:47:48', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1004', 'LSIV', '2018-07-12 06:47:48', 403, 'LSIV For Invoice No1004', 25, 0, '2', 1, '2', '2018-07-12 06:47:48', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1004', 'LSIV', '2018-07-12 06:47:48', 10107, 'LSIV For Invoice No1004', 0, 25, '2', 1, '2', '2018-07-12 06:47:48', 1);
INSERT INTO `payment_collection` (`sale_id`, `invoice_no`, `customer_id`, `receive_amnt`, `due_amnt`, `receive_by`, `receive_date`) VALUES ('20180712064748', '1004', '3', '200.00', '480.00', '2', '2018-07-12');
INSERT INTO `customer_gurrantor_map` (`lease_id`, `customer_id`, `gurrantor_id`) VALUES ('4', '3', '72');
INSERT INTO `customer_gurrantor_map` (`lease_id`, `customer_id`, `gurrantor_id`) VALUES ('4', '3', '71');
INSERT INTO `sale_details` (`sale_id`, `product_id`, `qty`, `sell_price`, `sale_type_id`, `lease_unit_price`) VALUES ('20180712064748', '6', '5', '100', '3', '136');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Sales', 'create', 'invoice_no-1004 total amount-680.00', '2', '2018-07-12 06:47:48');
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
INSERT INTO `payment_collection` (`id`, `invoice_no`, `customer_id`, `receive_amnt`, `receive_date`, `receive_by`, `is_installment`) VALUES ('', '1004', '3', '40', '2018-07-12', '21', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1004', 'RECVIV', '2018-07-12', 1020101, 'RECVIV For Invoice No1004', '40', 0, '6', 1, '21', '2018-07-12', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1004', 'RECVIV', '2018-07-12', NULL, 'RECVIV For Invoice No1004', 0, '40', '6', 1, '21', '2018-07-12', 1);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('recovery', 'create', 'payment ID :7', '21', '2018-07-12 06:49:36');
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
UPDATE `user` SET `last_logout` = '2018-07-12 06:49:43'
WHERE `id` = '21';
UPDATE `user` SET `last_login` = '2018-07-12 06:49:49', `ip_address` = '::1'
WHERE `id` = '2';
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
INSERT INTO `customer_overdue` (`customer_id`, `installment`, `recovery`, `surplus`, `Deficit`, `Overdue`, `Invoice_no`, `store_id`) VALUES (NULL, NULL, NULL, 0, 0, 0, NULL, NULL);
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
INSERT INTO `customer_overdue` (`customer_id`, `installment`, `recovery`, `surplus`, `Deficit`, `Overdue`, `Invoice_no`, `store_id`) VALUES (NULL, NULL, NULL, 0, 0, 0, NULL, NULL);
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
INSERT INTO `customer_overdue` (`customer_id`, `installment`, `recovery`, `surplus`, `Deficit`, `Overdue`, `Invoice_no`, `store_id`) VALUES ('3', '48', '48', 0, 0, 96, '1004', '6');
INSERT INTO `payment_collection` (`id`, `invoice_no`, `customer_id`, `receive_amnt`, `receive_date`, `receive_by`, `is_installment`) VALUES ('', '1004', '3', '48', '2018-07-12', '2', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1004', 'RECVIV', '2018-07-12', 1020101, 'RECVIV For Invoice No1004', '48', 0, '2', 1, '2', '2018-07-12', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1004', 'RECVIV', '2018-07-12', NULL, 'RECVIV For Invoice No1004', 0, '48', '2', 1, '2', '2018-07-12', 1);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('recovery', 'create', 'payment ID :8', '2', '2018-07-12 09:24:08');
INSERT INTO `customer_overdue` (`customer_id`, `installment`, `recovery`, `surplus`, `Deficit`, `Overdue`, `Invoice_no`, `store_id`) VALUES (NULL, NULL, NULL, 0, 0, 0, NULL, NULL);
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
INSERT INTO `customer_overdue` (`customer_id`, `installment`, `recovery`, `surplus`, `Deficit`, `Overdue`, `Invoice_no`, `store_id`) VALUES (NULL, NULL, NULL, 0, 0, 0, NULL, NULL);
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
INSERT INTO `customer_overdue` (`customer_id`, `installment`, `recovery`, `surplus`, `Deficit`, `Overdue`, `Invoice_no`, `store_id`) VALUES (NULL, NULL, NULL, 0, 0, 0, NULL, NULL);
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
INSERT INTO `customer_overdue` (`customer_id`, `installment`, `recovery`, `surplus`, `Deficit`, `Overdue`, `Invoice_no`, `store_id`) VALUES (NULL, NULL, NULL, 0, 0, 0, NULL, NULL);
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
INSERT INTO `customer_overdue` (`customer_id`, `installment`, `recovery`, `surplus`, `Deficit`, `Overdue`, `Invoice_no`, `store_id`) VALUES ('3', '48', '50', 2, -2, 46, '1004', '6');
INSERT INTO `payment_collection` (`id`, `invoice_no`, `customer_id`, `receive_amnt`, `receive_date`, `receive_by`, `is_installment`) VALUES ('', '1004', '3', '50', '2018-07-12', '2', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1004', 'RECVIV', '2018-07-12', 1020101, 'RECVIV For Invoice No1004', '50', 0, '2', 1, '2', '2018-07-12', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1004', 'RECVIV', '2018-07-12', NULL, 'RECVIV For Invoice No1004', 0, '50', '2', 1, '2', '2018-07-12', 1);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('recovery', 'create', 'payment ID :9', '2', '2018-07-12 09:51:28');
INSERT INTO `customer_overdue` (`customer_id`, `installment`, `recovery`, `surplus`, `Deficit`, `Overdue`, `Invoice_no`, `store_id`) VALUES (NULL, NULL, NULL, 0, 0, 0, NULL, NULL);
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
INSERT INTO `acc_coa` (`HeadCode`, `HeadName`, `PHeadName`, `HeadLevel`, `IsActive`, `IsTransaction`, `IsGL`, `HeadType`, `IsBudget`, `CreateBy`, `CreateDate`) VALUES ('102030111', 'ls-2-Golam Rabbi', 'Customer Receivable', '4', '1', '1', 0, 'A', 0, '2', '2018-07-12 09:56:16');
INSERT INTO `customer_overdue` (`customer_id`, `installment`, `recovery`, `surplus`, `Deficit`, `Overdue`, `Invoice_no`, `store_id`) VALUES (NULL, NULL, NULL, 0, 0, 0, NULL, NULL);
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
INSERT INTO `customer_overdue` (`customer_id`, `installment`, `recovery`, `surplus`, `Deficit`, `Overdue`, `Invoice_no`, `store_id`) VALUES (NULL, NULL, NULL, 0, 0, 0, NULL, NULL);
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
INSERT INTO `customer_overdue` (`customer_id`, `installment`, `recovery`, `surplus`, `Deficit`, `Overdue`, `Invoice_no`, `store_id`) VALUES ('3', '48', '100', 52, -52, 44, '1004', '6');
INSERT INTO `payment_collection` (`id`, `invoice_no`, `customer_id`, `receive_amnt`, `receive_date`, `receive_by`, `is_installment`) VALUES ('', '1004', '3', '100', '2018-07-12', '2', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1004', 'RECVIV', '2018-07-12', 1020101, 'RECVIV For Invoice No1004', '100', 0, '2', 1, '2', '2018-07-12', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1004', 'RECVIV', '2018-07-12', '102030111', 'RECVIV For Invoice No1004', 0, '100', '2', 1, '2', '2018-07-12', 1);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('recovery', 'create', 'payment ID :10', '2', '2018-07-12 10:02:26');
INSERT INTO `customer_overdue` (`customer_id`, `installment`, `recovery`, `surplus`, `Deficit`, `Overdue`, `Invoice_no`, `store_id`) VALUES (NULL, NULL, NULL, 0, 0, 0, NULL, NULL);
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
INSERT INTO `customer_overdue` (`customer_id`, `installment`, `recovery`, `surplus`, `Deficit`, `Overdue`, `Invoice_no`, `store_id`) VALUES (NULL, NULL, NULL, 0, 0, 0, NULL, NULL);
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
INSERT INTO `customer_overdue` (`customer_id`, `installment`, `recovery`, `surplus`, `Deficit`, `Overdue`, `Invoice_no`, `store_id`) VALUES ('3', '48', '200', 152, -152, -56, '1004', '6');
INSERT INTO `payment_collection` (`id`, `invoice_no`, `customer_id`, `receive_amnt`, `receive_date`, `receive_by`, `is_installment`) VALUES ('', '1004', '3', '200', '2018-07-12', '2', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1004', 'RECVIV', '2018-07-12', 1020101, 'RECVIV For Invoice No1004', '200', 0, '2', 1, '2', '2018-07-12', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1004', 'RECVIV', '2018-07-12', '102030111', 'RECVIV For Invoice No1004', 0, '200', '2', 1, '2', '2018-07-12', 1);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('recovery', 'create', 'payment ID :11', '2', '2018-07-12 10:08:50');
INSERT INTO `customer_overdue` (`customer_id`, `installment`, `recovery`, `surplus`, `Deficit`, `Overdue`, `Invoice_no`, `store_id`) VALUES (NULL, NULL, NULL, 0, 0, 0, NULL, NULL);
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
INSERT INTO `customer_overdue` (`customer_id`, `installment`, `recovery`, `surplus`, `Deficit`, `Overdue`, `Invoice_no`, `store_id`) VALUES (NULL, NULL, NULL, 0, 0, 0, NULL, NULL);
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
INSERT INTO `customer_overdue` (`customer_id`, `installment`, `recovery`, `surplus`, `Deficit`, `Overdue`, `Invoice_no`, `store_id`) VALUES (NULL, NULL, NULL, 0, 0, 0, NULL, NULL);
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
INSERT INTO `customer_overdue` (`customer_id`, `installment`, `recovery`, `surplus`, `Deficit`, `Overdue`, `Invoice_no`, `store_id`) VALUES (NULL, NULL, NULL, 0, 0, 0, NULL, NULL);
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
INSERT INTO `customer_overdue` (`customer_id`, `installment`, `recovery`, `surplus`, `Deficit`, `Overdue`, `Invoice_no`, `store_id`) VALUES (NULL, NULL, NULL, 0, 0, 0, NULL, NULL);
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
INSERT INTO `customer_overdue` (`customer_id`, `installment`, `recovery`, `surplus`, `Deficit`, `Overdue`, `Invoice_no`, `store_id`) VALUES (NULL, NULL, NULL, 0, 0, 0, NULL, NULL);
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
INSERT INTO `customer_overdue` (`customer_id`, `installment`, `recovery`, `surplus`, `Deficit`, `Overdue`, `Invoice_no`, `store_id`) VALUES (NULL, NULL, NULL, 0, 0, 0, NULL, NULL);
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
UPDATE `user` SET `last_login` = '2018-07-12 10:55:44', `ip_address` = '::1'
WHERE `id` = '2';
INSERT INTO `language` (`phrase`) VALUES ('customer_recovery');
UPDATE `language` SET `english` = 'Credit Sale List'
WHERE `phrase` = 'credit_sale_list';
UPDATE `language` SET `english` = 'Credit Voucher'
WHERE `phrase` = 'credit_voucher';
UPDATE `language` SET `english` = 'Customer'
WHERE `phrase` = 'customer';
UPDATE `language` SET `english` = 'Customer CNIC'
WHERE `phrase` = 'customer_cnic';
UPDATE `language` SET `english` = 'Customer Code'
WHERE `phrase` = 'customer_code';
UPDATE `language` SET `english` = 'Customer Name'
WHERE `phrase` = 'customer_name';
UPDATE `language` SET `english` = 'Customer_overdue_recovery'
WHERE `phrase` = 'customer_recovery';
UPDATE `language` SET `english` = 'Customer Transaction'
WHERE `phrase` = 'customer_transaction';
UPDATE `language` SET `english` = 'Customer Type'
WHERE `phrase` = 'customer_type';
UPDATE `language` SET `english` = 'Chart of Accounts'
WHERE `phrase` = 'c_o_a';
UPDATE `language` SET `english` = 'Person Contact#'
WHERE `phrase` = 'c_p_contact';
UPDATE `language` SET `english` = 'Dashboard'
WHERE `phrase` = 'dashboard';
UPDATE `language` SET `english` = 'Database Backup'
WHERE `phrase` = 'database_backup';
UPDATE `language` SET `english` = 'Data Import First'
WHERE `phrase` = 'data_import_first';
UPDATE `language` SET `english` = 'Data Import Successfully!'
WHERE `phrase` = 'data_import_successfully';
UPDATE `language` SET `english` = 'Data Import To Database'
WHERE `phrase` = 'data_import_to_database';
UPDATE `language` SET `english` = 'Data Synchronize'
WHERE `phrase` = 'data_synchronize';
UPDATE `language` SET `english` = 'Data Synchronizer'
WHERE `phrase` = 'data_synchronizer';
UPDATE `language` SET `english` = 'Data Upload to Server'
WHERE `phrase` = 'data_upload_to_server';
UPDATE `language` SET `english` = 'Date'
WHERE `phrase` = 'date';
UPDATE `language` SET `english` = 'Days'
WHERE `phrase` = 'days';
UPDATE `language` SET `english` = 'Debit'
WHERE `phrase` = 'debit';
UPDATE `language` SET `english` = 'Debit Voucher'
WHERE `phrase` = 'debit_voucher';
UPDATE `language` SET `english` = 'Deficit'
WHERE `phrase` = 'deficit';
UPDATE `language` SET `english` = 'Delete'
WHERE `phrase` = 'delete';
INSERT INTO `customer_overdue` (`customer_id`, `installment`, `recovery`, `surplus`, `Deficit`, `Overdue`, `Invoice_no`, `store_id`) VALUES (NULL, NULL, NULL, 0, 0, 0, NULL, NULL);
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
INSERT INTO `customer_overdue` (`customer_id`, `installment`, `recovery`, `surplus`, `Deficit`, `Overdue`, `Invoice_no`, `store_id`) VALUES (NULL, NULL, NULL, 0, 0, 0, NULL, NULL);
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
INSERT INTO `customer_overdue` (`customer_id`, `installment`, `recovery`, `surplus`, `Deficit`, `Overdue`, `Invoice_no`, `store_id`) VALUES ('3', '48', '20', 0, 28, 20, '1004', '6');
INSERT INTO `payment_collection` (`id`, `invoice_no`, `customer_id`, `receive_amnt`, `receive_date`, `receive_by`, `is_installment`) VALUES ('', '1004', '3', '20', '2018-07-12', '2', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1004', 'RECVIV', '2018-07-12', 1020101, 'RECVIV For Invoice No1004', '20', 0, '2', 1, '2', '2018-07-12', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1004', 'RECVIV', '2018-07-12', '102030111', 'RECVIV For Invoice No1004', 0, '20', '2', 1, '2', '2018-07-12', 1);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('recovery', 'create', 'payment ID :12', '2', '2018-07-12 12:34:13');
INSERT INTO `customer_overdue` (`customer_id`, `installment`, `recovery`, `surplus`, `Deficit`, `Overdue`, `Invoice_no`, `store_id`) VALUES (NULL, NULL, NULL, 0, 0, 0, NULL, NULL);
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
UPDATE `user` SET `last_login` = '2018-07-14 05:28:30', `ip_address` = '::1'
WHERE `id` = '2';
INSERT INTO `gurrantor` (`gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('gc-57', 'sdfsdf', '2346', '2', 'sdfsdf', '', '534643', '', 1, '2', '2018-07-14 07:32:15');
INSERT INTO `gurrantor` (`gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('gc-58', 'sdfsdf', '567534', '2', 'sdfsdfsadf', '', '3453656576334', '', 1, '2', '2018-07-14 07:32:15');
INSERT INTO `sales_parent` (`sale_id`, `invoice_no`, `customer_id`, `sale_type_id`, `store_id`, `salesman`, `sales_date`, `sales_time`, `gurrantor_1`, `gurrantor_2`, `advance_amnt`, `lease_id`, `inquiry_officer`, `remaining_amnt`, `installment_amnt`, `package_price`, `total_amnt`) VALUES ('20180714073229', '1005', '5', '3', '2', '2', '2018-07-14', '07:32:29', '74', '73', '495.00', '2', '6', '9.95', '1.24', '504.95', '504.95');
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1005', 'LSIV', '2018-07-14 07:32:29', NULL, 'LSIV For Invoice No1005', '495.00', 0, '2', 1, '2', '2018-07-14 07:32:29', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1005', 'LSIV', '2018-07-14 07:32:29', NULL, 'LSIV For Invoice No1005', 0, '504.95', '2', 1, '2', '2018-07-14 07:32:29', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1005', 'LSIV', '2018-07-14 07:32:29', 1020101, 'LSIV For Invoice No1005', '495.00', 0, '2', 1, '2', '2018-07-14 07:32:29', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1005', 'LSIV', '2018-07-14 07:32:29', 30102, 'LSIV For Invoice No1005', 0, '504.95', '2', 1, '2', '2018-07-14 07:32:29', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1005', 'LSIV', '2018-07-14 07:32:29', 403, 'LSIV For Invoice No1005', 25, 0, '2', 1, '2', '2018-07-14 07:32:29', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1005', 'LSIV', '2018-07-14 07:32:29', 10107, 'LSIV For Invoice No1005', 0, 25, '2', 1, '2', '2018-07-14 07:32:29', 1);
INSERT INTO `payment_collection` (`sale_id`, `invoice_no`, `customer_id`, `receive_amnt`, `due_amnt`, `receive_by`, `receive_date`) VALUES ('20180714073229', '1005', '5', '495.00', '9.95', '2', '2018-07-14');
INSERT INTO `customer_gurrantor_map` (`lease_id`, `customer_id`, `gurrantor_id`) VALUES ('2', '5', '74');
INSERT INTO `customer_gurrantor_map` (`lease_id`, `customer_id`, `gurrantor_id`) VALUES ('2', '5', '73');
INSERT INTO `sale_details` (`sale_id`, `product_id`, `qty`, `sell_price`, `sale_type_id`, `lease_unit_price`) VALUES ('20180714073229', '6', '5', '100', '3', '100.99');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Sales', 'create', 'invoice_no-1005 total amount-504.95', '2', '2018-07-14 07:32:29');
INSERT INTO `customer_overdue` (`customer_id`, `installment`, `recovery`, `surplus`, `Deficit`, `Overdue`, `Invoice_no`, `store_id`) VALUES (NULL, NULL, NULL, 0, 0, 0, NULL, NULL);
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
INSERT INTO `customer_overdue` (`customer_id`, `installment`, `recovery`, `surplus`, `Deficit`, `Overdue`, `Invoice_no`, `store_id`) VALUES ('5', '1.24', '1.24', 0, 0, -1.24, '1005', '2');
INSERT INTO `payment_collection` (`id`, `invoice_no`, `customer_id`, `receive_amnt`, `receive_date`, `receive_by`, `is_installment`) VALUES ('', '1005', '5', '1.24', '2018-07-14', '2', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1005', 'RECVIV', '2018-07-14', 1020101, 'RECVIV For Invoice No1005', '1.24', 0, '2', 1, '2', '2018-07-14', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1005', 'RECVIV', '2018-07-14', NULL, 'RECVIV For Invoice No1005', 0, '1.24', '2', 1, '2', '2018-07-14', 1);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('recovery', 'create', 'payment ID :13', '2', '2018-07-14 07:33:22');
INSERT INTO `customer_overdue` (`customer_id`, `installment`, `recovery`, `surplus`, `Deficit`, `Overdue`, `Invoice_no`, `store_id`) VALUES (NULL, NULL, NULL, 0, 0, 0, NULL, NULL);
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
INSERT INTO `language` (`phrase`) VALUES ('stock_analysis_report');
SET FOREIGN_KEY_CHECKS = 0;


CREATE TABLE IF NOT EXISTS `test22` (
  `id` bigint(20) NOT NULL,
  KEY `fk_id` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
SET FOREIGN_KEY_CHECKS = 1;
INSERT INTO `module` (`id`, `name`, `description`, `image`, `directory`, `status`) VALUES (NULL, 'Purchase Order Permission', 'Purchase Order Permission', 'application/modules/orderreceive/assets/images/thumbnail.jpg', 'orderreceive', 1);
UPDATE `user` SET `last_logout` = '2018-07-14 13:13:36'
WHERE `id` = '2';
UPDATE `user` SET `last_login` = '2018-07-14 13:14:32', `ip_address` = '::1'
WHERE `id` = '21';
INSERT INTO `purchase_order` (`po_no`, `supplier_id`, `total_amnt`, `store_id`, `warehouse_id`, `createby`, `createdate`, `isapproved`) VALUES ('20180714131655', '1', '125.00', 0, 0, '21', '2018-07-14 13:16:55', 0);
INSERT INTO `purchase_order_details` (`row_id`, `po_no`, `product_id`, `order_qty`, `product_rate`, `discount`, `store_id`) VALUES ('919694783267393', '20180714131655', '6', '5', '25', '', '6');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('purchase order', 'create', 'Orde Id-20180714131655 total amount-125.00', '21', '2018-07-14 13:16:55');
UPDATE `user` SET `last_logout` = '2018-07-14 13:36:23'
WHERE `id` = '21';
UPDATE `user` SET `last_login` = '2018-07-14 13:36:30', `ip_address` = '::1'
WHERE `id` = '2';
DROP TABLE `test22`;
DELETE FROM `module`
WHERE `id` = '20';
DELETE FROM `role_permission`
WHERE `fk_module_id` = '20';
INSERT INTO `product` (`product_id`, `product_name`, `product_code`, `model`, `category`, `brand`, `unit`, `product_details`, `purchase_price`, `block_price`, `minimum_price`, `retail_price`, `createby`, `createdate`, `updateby`, `updatedate`, `isactive`) VALUES ('', '1-2-1', 'pro-11', '1', '1', '2', '1', 'test product\r\n', '0', '0', '0', '0', '2', '2018-07-14 13:41:27', '', '', 1);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Product', 'create', 'product ID :21', '2', '2018-07-14 13:41:27');
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0,'@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0,'@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0,'@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
UPDATE `product` SET `product_id` = '6', `product_name` = 'Mango', `product_code` = 'pro-0', `model` = '1', `category` = '1', `brand` = '1', `unit` = '1', `product_details` = 'sdfsdf', `purchase_price` = '25', `block_price` = '28', `minimum_price` = '30', `retail_price` = '100', `createby` = '2', `createdate` = '2018-07-14 14:10:05', `updateby` = '2', `updatedate` = '2018-07-14 14:10:05', `isactive` = 1
WHERE `product_id` = '6';
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Product', 'update', 'product ID :6', '2', '2018-07-14 14:10:06');
CALL get_store_stock('0,'@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0,'@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0,'@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0,'@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0,'@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0,'@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0,'@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0,'@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0,'@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0,'@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0,'@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0,'@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0,'@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0,'@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0,'@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0,'@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0,'@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0,'@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0,'@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0,'@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0,'@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0,'@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
INSERT INTO `language` (`phrase`) VALUES ('lease_package_pricing');
CALL get_store_stock('0,'@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
UPDATE `user` SET `last_login` = '2018-07-15 05:51:59', `ip_address` = '::1'
WHERE `id` = '2';
INSERT INTO `language` (`phrase`) VALUES ('cash_price');
INSERT INTO `language` (`phrase`) VALUES ('package');
INSERT INTO `language` (`phrase`) VALUES ('lease_price');
INSERT INTO `language` (`phrase`) VALUES ('monthly_installment');
UPDATE `product` SET `product_id` = '5', `product_name` = '1-2-1', `product_code` = 'pro-1', `model` = '1', `category` = '1', `brand` = '2', `unit` = '1', `product_details` = 'sdf', `purchase_price` = '0', `block_price` = '0', `minimum_price` = '0', `retail_price` = '0', `createby` = '2', `createdate` = '2018-07-15 06:49:14', `updateby` = '2', `updatedate` = '2018-07-15 06:49:14', `isactive` = 1
WHERE `product_id` = '5';
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Product', 'update', 'product ID :5', '2', '2018-07-15 06:49:14');
UPDATE `product` SET `product_id` = '11', `product_name` = 'Banana', `product_code` = 'pro-0001', `category` = '1', `model` = '1', `unit` = '1', `brand` = '1', `product_details` = 'sdfsdf', `purchase_price` = '100', `minimum_price` = '110', `retail_price` = '120', `block_price` = '0', `isactive` = '1'
WHERE `product_id` IN('11');
UPDATE `product` SET `product_id` = '10', `product_name` = 'Orange', `product_code` = 'o-12', `category` = '0', `model` = '0', `unit` = '0', `brand` = '0', `product_details` = 'measurement test', `purchase_price` = '120', `minimum_price` = '130', `retail_price` = '150', `block_price` = '6', `isactive` = '1'
WHERE `product_id` IN('10');
UPDATE `product` SET `product_id` = '9', `product_name` = 'B', `product_code` = 'a-1', `category` = '0', `model` = '0', `unit` = '0', `brand` = '0', `product_details` = 'sadfsdf', `purchase_price` = '15', `minimum_price` = '18', `retail_price` = '20', `block_price` = '17', `isactive` = '1'
WHERE `product_id` IN('9');
UPDATE `product` SET `product_id` = '8', `product_name` = 'A', `product_code` = 'a-1', `category` = '0', `model` = '0', `unit` = '0', `brand` = '0', `product_details` = 'dsfsd', `purchase_price` = '20', `minimum_price` = '23', `retail_price` = '25', `block_price` = '21', `isactive` = '1'
WHERE `product_id` IN('8');
UPDATE `product` SET `product_id` = '7', `product_name` = 'Coconut', `product_code` = 'pro-01', `category` = '0', `model` = '0', `unit` = 'Pcs', `brand` = '0', `product_details` = 'Etc', `purchase_price` = '45', `minimum_price` = '50', `retail_price` = '55', `block_price` = '48', `isactive` = '1'
WHERE `product_id` IN('7');
UPDATE `product` SET `product_id` = '6', `product_name` = 'Mango', `product_code` = 'pro-0', `category` = '1', `model` = '1', `unit` = '1', `brand` = '1', `product_details` = 'sdfsdf', `purchase_price` = '25', `minimum_price` = '30', `retail_price` = '100', `block_price` = '28', `isactive` = '1'
WHERE `product_id` IN('6');
UPDATE `product` SET `product_id` = '5', `product_name` = '1-2-1', `product_code` = 'pro-1', `category` = '1', `model` = '1', `unit` = '1', `brand` = '2', `product_details` = 'sdf', `purchase_price` = '20', `minimum_price` = '23', `retail_price` = '25', `block_price` = '21', `isactive` = '1'
WHERE `product_id` IN('5');
UPDATE `product` SET `product_id` = '4', `product_name` = 'xxxxxx', `product_code` = '', `category` = '0', `model` = '0', `unit` = '0', `brand` = '0', `product_details` = '234234', `purchase_price` = '0', `minimum_price` = '0', `retail_price` = '0', `block_price` = '0', `isactive` = '1'
WHERE `product_id` IN('4');
UPDATE `product` SET `product_id` = '2', `product_name` = 'Second product', `product_code` = '', `category` = '0', `model` = '0', `unit` = '0', `brand` = '0', `product_details` = 'sdfsdf', `purchase_price` = '0', `minimum_price` = '0', `retail_price` = '0', `block_price` = '0', `isactive` = '1'
WHERE `product_id` IN('2');
INSERT INTO `product` (`product_id`, `product_name`, `product_code`, `model`, `category`, `brand`, `unit`, `product_details`, `purchase_price`, `block_price`, `minimum_price`, `retail_price`, `createby`, `createdate`, `updateby`, `updatedate`, `isactive`) VALUES ('', 'Test-Second-Test Model', 'pro-12', '1', '1', '2', '1', 'sdfasdfsadf', '0', '0', '0', '0', '2', '2018-07-15 07:43:24', '', '', 1);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Product', 'create', 'product ID :22', '2', '2018-07-15 07:43:24');
UPDATE `user` SET `last_logout` = '2018-07-15 08:39:16'
WHERE `id` = '2';
UPDATE `user` SET `last_login` = '2018-07-15 08:39:38', `ip_address` = '::1'
WHERE `id` = '2';
UPDATE `user` SET `last_logout` = '2018-07-15 08:40:48'
WHERE `id` = '2';
UPDATE `user` SET `last_login` = '2018-07-15 08:41:10', `ip_address` = '::1'
WHERE `id` = '21';
UPDATE `user` SET `last_login` = '2018-07-15 08:42:53', `ip_address` = '::1'
WHERE `id` = '2';
UPDATE `purchase_order` SET `po_no` = '20180714131655', `isapproved` = 1
WHERE `po_no` = '20180714131655';
UPDATE `user` SET `last_logout` = '2018-07-15 08:43:35'
WHERE `id` = '21';
UPDATE `user` SET `last_login` = '2018-07-15 08:44:17', `ip_address` = '::1'
WHERE `id` = '2';
UPDATE `user` SET `last_logout` = '2018-07-15 08:46:29'
WHERE `id` = '2';
UPDATE `user` SET `last_login` = '2018-07-15 08:46:45', `ip_address` = '::1'
WHERE `id` = '7';
UPDATE `user` SET `last_logout` = '2018-07-15 08:58:38'
WHERE `id` = '7';
UPDATE `user` SET `last_login` = '2018-07-15 08:58:46', `ip_address` = '::1'
WHERE `id` = '2';
CALL get_store_stock('0,'@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
INSERT INTO `language` (`phrase`) VALUES ('recovery_report');
CALL get_store_stock('0,'@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0,'@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0,'@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0,'@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0,'@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0,'@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
INSERT INTO `language` (`phrase`) VALUES ('stock_report');
CALL get_store_stock('0,'@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0,'@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
INSERT INTO `language` (`phrase`) VALUES ('lease_and_recovery_report');
INSERT INTO `language` (`phrase`) VALUES ('stock_history');
INSERT INTO `language` (`phrase`) VALUES ('sales_return');
CALL get_store_stock('0,'@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0,'@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0,'@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
INSERT INTO `language` (`phrase`) VALUES ('balance_qty');
CALL get_store_stock('0,'@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0,'@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0,'@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0,'@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0,'@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0,'@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0,'@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0,'@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0,'@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0,'@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0,'@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0,'@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0,'@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0,'@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0,'@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0,'@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0,'@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0,'@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
UPDATE `user` SET `last_logout` = '2018-07-15 14:45:39'
WHERE `id` = '2';
UPDATE `user` SET `last_login` = '2018-07-15 14:45:52', `ip_address` = '::1'
WHERE `id` = '21';
UPDATE `user` SET `last_logout` = '2018-07-15 14:46:53'
WHERE `id` = '21';
UPDATE `user` SET `last_login` = '2018-07-15 14:46:59', `ip_address` = '::1'
WHERE `id` = '2';
CALL get_store_stock('0,'@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0,'@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
INSERT INTO `language` (`phrase`) VALUES ('sale_price');
UPDATE `user` SET `last_login` = '2018-07-16 06:11:47', `ip_address` = '::1'
WHERE `id` = '2';
CALL get_store_stock('0,'@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0,'@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0,'@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0,'@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0,'@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
INSERT INTO `product_category` (`category_id`, `category_name`, `isactive`) VALUES ('', 'Electronics', 1);
CALL get_store_stock('0,'@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0,'@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0,'@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0,'@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0,'@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0,'@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0,'@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0,'@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
INSERT INTO `customer_overdue` (`customer_id`, `installment`, `recovery`, `surplus`, `Deficit`, `Overdue`, `Invoice_no`, `store_id`) VALUES (NULL, NULL, NULL, 0, 0, 0, NULL, NULL);
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
INSERT INTO `customer_overdue` (`customer_id`, `installment`, `recovery`, `surplus`, `Deficit`, `Overdue`, `Invoice_no`, `store_id`) VALUES (NULL, NULL, NULL, 0, 0, 0, NULL, NULL);
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
CALL get_store_stock('0,'@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0,'@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0,'@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0,'@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
UPDATE `user` SET `last_login` = '2018-07-16 12:25:04', `ip_address` = '::1'
WHERE `id` = '2';
UPDATE `user` SET `last_login` = '2018-07-17 07:54:33', `ip_address` = '::1'
WHERE `id` = '2';
UPDATE `user` SET `last_login` = '2018-07-17 08:16:38', `ip_address` = '::1'
WHERE `id` = '2';
INSERT INTO `acc_coa` (`HeadCode`, `HeadName`, `PHeadName`, `HeadLevel`, `IsActive`, `IsTransaction`, `IsGL`, `HeadType`, `IsBudget`, `IsDepreciation`, `DepreciationRate`, `CreateBy`, `CreateDate`) VALUES (1020301000007, 'ls-7-hhh', 'Customer Receivable', '4', '1', '1', '0', 'A', '0', '0', '0', '2', '2018-07-17 08:48:15');
INSERT INTO `customer` (`customer_code`, `customer_name`, `customer_phone`, `type`, `job_designation`, `store_id`, `customer_address`, `customer_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('ls-7', 'hhh', '34554', '3', 'gdsfg', '2', 'dfgsdf', '564533423', 'dsfg', 1, '2', '2018-07-17 08:48:15');
INSERT INTO `acc_coa` (`HeadCode`, `HeadName`, `PHeadName`, `HeadLevel`, `IsActive`, `IsTransaction`, `IsGL`, `HeadType`, `IsBudget`, `IsDepreciation`, `DepreciationRate`, `CreateBy`, `CreateDate`) VALUES (1020301000008, 'ls-8-sdfasdf', 'Customer Receivable', '4', '1', '1', '0', 'A', '0', '0', '0', '2', '2018-07-17 08:52:08');
INSERT INTO `customer` (`customer_code`, `customer_name`, `customer_phone`, `type`, `job_designation`, `store_id`, `customer_address`, `customer_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('ls-8', 'sdfasdf', '234234', '3', '', '2', 'sdf', '54232', '', 1, '2', '2018-07-17 08:52:08');
INSERT INTO `acc_coa` (`HeadCode`, `HeadName`, `PHeadName`, `HeadLevel`, `IsActive`, `IsTransaction`, `IsGL`, `HeadType`, `IsBudget`, `IsDepreciation`, `DepreciationRate`, `CreateBy`, `CreateDate`) VALUES (5020204, 'sup-8-Sakil', 'Account Payable', '3', '1', '1', '0', 'L', '0', '0', '0', '2', '2018-07-17 09:27:14');
INSERT INTO `supplier` (`supplier_id`, `supplier_name`, `supplier_code`, `phone`, `address`, `email`, `contact_per_name`, `c_p_contact`, `isactive`, `createby`, `createdate`, `updateby`, `updatedate`) VALUES ('', 'Sakil', 'sup-8', '3245234', 'sdfasdf', '', '', '', 1, '2', '2018-07-17 09:27:14', '', '');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Supplier', 'create', 'Supplier ID :8', '2', '2018-07-17 09:27:14');
INSERT INTO `purchase_order` (`po_no`, `supplier_id`, `total_amnt`, `store_id`, `warehouse_id`, `createby`, `createdate`, `isapproved`) VALUES ('20180717100033', '1', '250.00', 0, 0, '2', '2018-07-17 10:00:33', 0);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('20180717100033', 'PO', '2018-07-17 10:00:33', NULL, 'PO For 20180717100033', 0, '250.00', '2', 1, '2', '2018-07-17 10:00:33', 1);
INSERT INTO `purchase_order_details` (`row_id`, `po_no`, `product_id`, `order_qty`, `product_rate`, `discount`, `store_id`) VALUES ('147221544714751', '20180717100033', '6', '10', '25', '', '6');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('purchase order', 'create', 'Orde Id-20180717100033 total amount-250.00', '2', '2018-07-17 10:00:34');
UPDATE `user` SET `last_logout` = '2018-07-17 10:01:14'
WHERE `id` = '2';
UPDATE `user` SET `last_login` = '2018-07-17 10:01:30', `ip_address` = '::1'
WHERE `id` = '21';
UPDATE `user` SET `last_login` = '2018-07-17 10:02:21', `ip_address` = '::1'
WHERE `id` = '2';
UPDATE `purchase_order` SET `po_no` = '20180717100033', `isapproved` = 1
WHERE `po_no` = '20180717100033';
INSERT INTO `purchase_order` (`po_no`, `supplier_id`, `total_amnt`, `store_id`, `warehouse_id`, `createby`, `createdate`, `isapproved`) VALUES ('20180717100346', '1', '475.00', 0, 0, '2', '2018-07-17 10:03:46', 0);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('20180717100346', 'PO', '2018-07-17 10:03:46', NULL, 'PO For 20180717100346', 0, '475.00', '2', 1, '2', '2018-07-17 10:03:46', 1);
INSERT INTO `purchase_order_details` (`row_id`, `po_no`, `product_id`, `order_qty`, `product_rate`, `discount`, `store_id`) VALUES ('451797687727936', '20180717100346', '6', '10', '25', '', '6');
INSERT INTO `purchase_order_details` (`row_id`, `po_no`, `product_id`, `order_qty`, `product_rate`, `discount`, `store_id`) VALUES ('987362747494789', '20180717100346', '7', '5', '45', '', '5');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('purchase order', 'create', 'Orde Id-20180717100346 total amount-475.00', '2', '2018-07-17 10:03:46');
UPDATE `purchase_order` SET `po_no` = '20180717100346', `isapproved` = 1
WHERE `po_no` = '20180717100346';
INSERT INTO `purchase_receive` (`receive_id`, `po_no`, `supplier_id`, `store_id`, `warehouse_id`, `voucher_no`, `receive_by`, `receive_date`) VALUES ('20180717102404', '20180717100346', '1', 0, 0, 1008, '21', '2018-07-17 10:24:04');
INSERT INTO `purchase_receive_details` (`receive_id`, `product_id`, `receive_qty`, `product_rate`, `store_id`, `discount`) VALUES ('20180717102404', '6', '10', '25', '6', '');
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('20180717100346', 'PO', '2018-07-17 10:24:04', 10107, 'PO Receive Receive No 20180717102404', '250.00', 0, '6', 1, NULL, NULL, 1);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('purchase order receive', 'create', 'Orde Id- total amount-250.00', '21', '2018-07-17 10:24:04');
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('20180717103605', 'PO', '2018-07-17 10:36:05', NULL, 'PO For 20180717103605', 0, '100.00', '2', 1, '2', '2018-07-17 10:36:05', 1);
INSERT INTO `purchase_order` (`po_no`, `supplier_id`, `total_amnt`, `store_id`, `warehouse_id`, `createby`, `createdate`, `isapproved`) VALUES ('20180717103605', '2', '100.00', 0, 0, '2', '2018-07-17 10:36:05', 0);
INSERT INTO `purchase_order_details` (`row_id`, `po_no`, `product_id`, `order_qty`, `product_rate`, `discount`, `store_id`) VALUES ('472388214222138', '20180717103605', '6', '4', '25', '', '2');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('purchase order', 'create', 'Orde Id-20180717103605 total amount-100.00', '2', '2018-07-17 10:36:06');
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('20180717105330', 'PO', '2018-07-17 10:53:30', '5020204', 'PO For 20180717105330', 0, '75.00', '6', 1, '21', '2018-07-17 10:53:30', 1);
INSERT INTO `purchase_order` (`po_no`, `supplier_id`, `total_amnt`, `store_id`, `warehouse_id`, `createby`, `createdate`, `isapproved`) VALUES ('20180717105330', '8', '75.00', 0, 0, '21', '2018-07-17 10:53:30', 0);
INSERT INTO `purchase_order_details` (`row_id`, `po_no`, `product_id`, `order_qty`, `product_rate`, `discount`, `store_id`) VALUES ('748516321298387', '20180717105330', '6', '3', '25', '', '5');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('purchase order', 'create', 'Orde Id-20180717105330 total amount-75.00', '21', '2018-07-17 10:53:30');
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('20180717105442', 'PO', '2018-07-17 10:54:42', '5020204', 'PO For 20180717105442', 0, '125.00', '2', 1, '2', '2018-07-17 10:54:42', 1);
INSERT INTO `purchase_order` (`po_no`, `supplier_id`, `total_amnt`, `store_id`, `warehouse_id`, `createby`, `createdate`, `isapproved`) VALUES ('20180717105442', '8', '125.00', 0, 0, '2', '2018-07-17 10:54:42', 0);
INSERT INTO `purchase_order_details` (`row_id`, `po_no`, `product_id`, `order_qty`, `product_rate`, `discount`, `store_id`) VALUES ('663924619278299', '20180717105442', '6', '5', '25', '', '6');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('purchase order', 'create', 'Orde Id-20180717105442 total amount-125.00', '2', '2018-07-17 10:54:42');
UPDATE `user` SET `last_logout` = '2018-07-17 10:57:54'
WHERE `id` = '21';
UPDATE `user` SET `last_login` = '2018-07-17 10:58:03', `ip_address` = '::1'
WHERE `id` = '2';
DELETE FROM `acc_coa`
WHERE `HeadName` = 'sup-1-Mr.jahangir';
UPDATE `supplier` SET `supplier_id` = '1', `supplier_name` = 'Mr.jahangir', `supplier_code` = 'sup-1', `phone` = '32453', `address` = 'sdf', `email` = 'adsdfmin@example.com', `contact_per_name` = '', `c_p_contact` = '', `isactive` = 1, `createby` = '2', `createdate` = '2018-07-17 12:01:37', `updateby` = '2', `updatedate` = '2018-07-17 12:01:37'
WHERE `supplier_id` = '1';
INSERT INTO `acc_coa` (`HeadCode`, `HeadName`, `PHeadName`, `HeadLevel`, `IsActive`, `IsTransaction`, `IsGL`, `HeadType`, `IsBudget`, `IsDepreciation`, `DepreciationRate`, `CreateBy`, `CreateDate`) VALUES (5020205, 'sup-1-Mr.jahangir', 'Account Payable', '3', '1', '1', '0', 'L', '0', '0', '0', '2', '2018-07-17 12:01:37');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Supplier', 'update', 'Supplier ID :1', '2', '2018-07-17 12:01:38');
INSERT INTO `purchase_return` (`po_no`, `supplier_id`, `return_date`, `totalamount`, `return_reason`, `createby`, `createdate`) VALUES ('20180717100346', '1', '2018-07-17', '125.00', 'dsfsd', '2', '2018-07-17 12:02:56');
INSERT INTO `purchase_return_details` (`preturn_id`, `product_id`, `qty`, `store_id`, `product_rate`) VALUES (2, '6', '5', '6', '25');
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('20180717100346', 'RT', '2018-07-17 12:02:56', '5020205', 'Receive For 20180717100346', '125.00', 0, Array, 1, '2', '2018-07-17 12:02:56', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('20180717100346', 'RT', '2018-07-17 12:02:56', 10107, 'RT For Invoice No20180717100346', 0, 0, '2', 1, '2', '2018-07-17 12:02:56', 1);
UPDATE `customer` SET `customer_id` = '3', `customer_code` = 'ls-2', `customer_name` = 'Golam Rabbi', `type` = '3', `customer_phone` = '3423', `store_id` = '2', `job_designation` = 'sdfasdf', `customer_address` = 'dfsdf', `customer_cnic` = '45034523', `business_address` = 'sdfasd', `isactive` = '1', `createby` = '2', `createdate` = '2018-07-17 12:18:37', `updateby` = '2', `updatedate` = '2018-07-17 12:18:37'
WHERE `customer_id` = '3';
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Customer', 'update', 'customer ID :3', '2', '2018-07-17 12:18:37');
INSERT INTO `purchase_return` (`po_no`, `supplier_id`, `return_date`, `totalamount`, `return_reason`, `createby`, `createdate`) VALUES ('20180630104049', '1', '2018-07-17', '280.00', '', '2', '2018-07-17 12:24:42');
INSERT INTO `purchase_return_details` (`preturn_id`, `product_id`, `qty`, `store_id`, `product_rate`) VALUES (3, '7', '4', '2', '45');
INSERT INTO `purchase_return_details` (`preturn_id`, `product_id`, `qty`, `store_id`, `product_rate`) VALUES (3, '6', '4', '2', '25');
INSERT INTO `purchase_return` (`po_no`, `supplier_id`, `return_date`, `totalamount`, `return_reason`, `createby`, `createdate`) VALUES ('20180630104049', '1', '2018-07-17', '280.00', '', '2', '2018-07-17 12:25:16');
INSERT INTO `purchase_return_details` (`preturn_id`, `product_id`, `qty`, `store_id`, `product_rate`) VALUES (4, '7', '4', '2', '45');
INSERT INTO `purchase_return_details` (`preturn_id`, `product_id`, `qty`, `store_id`, `product_rate`) VALUES (4, '6', '4', '2', '25');
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('20180630104049', 'RT', '2018-07-17 12:25:16', '5020205', 'Receive For 20180630104049', '280.00', 0, Array, 1, '2', '2018-07-17 12:25:16', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('20180630104049', 'RT', '2018-07-17 12:25:16', 10107, 'RT For Purchase No20180630104049', 0, 0, '2', 1, '2', '2018-07-17 12:25:16', 1);
INSERT INTO `purchase_return` (`po_no`, `supplier_id`, `return_date`, `totalamount`, `return_reason`, `createby`, `createdate`) VALUES ('20180717100346', '1', '2018-07-17', '50.00', 'dsfsdf', '2', '2018-07-17 12:29:26');
INSERT INTO `purchase_return_details` (`preturn_id`, `product_id`, `qty`, `store_id`, `product_rate`) VALUES (5, '6', '2', '6', '25');
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('20180717100346', 'RT', '2018-07-17 12:29:26', '5020205', 'Receive For 20180717100346', '50.00', 0, Array, 1, '2', '2018-07-17 12:29:26', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('20180717100346', 'RT', '2018-07-17 12:29:26', 10107, 'RT For Purchase No20180717100346', 0, 0, '2', 1, '2', '2018-07-17 12:29:26', 1);
INSERT INTO `purchase_return` (`po_no`, `supplier_id`, `return_date`, `totalamount`, `return_reason`, `createby`, `createdate`) VALUES ('20180630104049', '1', '2018-07-17', '115.00', 'sdfsdf', '2', '2018-07-17 12:35:31');
INSERT INTO `purchase_return_details` (`preturn_id`, `product_id`, `qty`, `store_id`, `product_rate`) VALUES (6, '7', '2', '2', '45');
INSERT INTO `purchase_return_details` (`preturn_id`, `product_id`, `qty`, `store_id`, `product_rate`) VALUES (6, '6', '1', '2', '25');
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('20180630104049', 'PO', '2018-07-17 12:35:31', '5020205', 'Return For 20180630104049', '115.00', 0, Array, 1, '2', '2018-07-17 12:35:31', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('20180630104049', 'PO', '2018-07-17 12:35:31', 10107, 'Return For Purchase No20180630104049', 0, 0, '2', 1, '2', '2018-07-17 12:35:31', 1);
INSERT INTO `purchase_return` (`po_no`, `supplier_id`, `return_date`, `totalamount`, `return_reason`, `createby`, `createdate`) VALUES ('20180717100346', '1', '2018-07-17', '50.00', '', '2', '2018-07-17 12:39:56');
INSERT INTO `purchase_return_details` (`preturn_id`, `product_id`, `qty`, `store_id`, `product_rate`) VALUES (7, '6', '2', '6', '25');
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('20180717100346', 'PO', '2018-07-17 12:39:56', '5020205', 'Return For 20180717100346', '50.00', 0, Array, 1, '2', '2018-07-17 12:39:56', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('20180717100346', 'PO', '2018-07-17 12:39:56', 10107, 'Return For Purchase No20180717100346', 0, 0, '2', 1, '2', '2018-07-17 12:39:56', 1);
INSERT INTO `purchase_return` (`po_no`, `supplier_id`, `return_date`, `totalamount`, `return_reason`, `createby`, `createdate`) VALUES ('20180630104049', '1', '2018-07-17', '90.00', '', '2', '2018-07-17 12:41:34');
INSERT INTO `purchase_return_details` (`preturn_id`, `product_id`, `qty`, `store_id`, `product_rate`) VALUES (8, '7', '2', '2', '45');
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('20180630104049', 'PO', '2018-07-17 12:41:34', '5020205', 'Return For 20180630104049', '90.00', 0, Array, 1, '2', '2018-07-17 12:41:34', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('20180630104049', 'PO', '2018-07-17 12:41:34', 10107, 'Return For Purchase No20180630104049', 0, 0, '2', 1, '2', '2018-07-17 12:41:34', 1);
INSERT INTO `purchase_return` (`po_no`, `supplier_id`, `return_date`, `totalamount`, `return_reason`, `createby`, `createdate`) VALUES ('20180630104049', '1', '2018-07-17', '45.00', '', '2', '2018-07-17 12:46:18');
INSERT INTO `purchase_return_details` (`preturn_id`, `product_id`, `qty`, `store_id`, `product_rate`) VALUES (9, '7', '1', '2', '45');
INSERT INTO `purchase_return` (`po_no`, `supplier_id`, `return_date`, `totalamount`, `return_reason`, `createby`, `createdate`) VALUES ('20180630104049', '1', '2018-07-17', '45.00', '', '2', '2018-07-17 12:47:41');
INSERT INTO `purchase_return_details` (`preturn_id`, `product_id`, `qty`, `store_id`, `product_rate`) VALUES (10, '7', '1', '2', '45');
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('20180630104049', 'PO', '2018-07-17 12:47:41', '5020205', 'Return For 20180630104049', '45.00', 0, Array, 1, '2', '2018-07-17 12:47:41', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('20180630104049', 'PO', '2018-07-17 12:47:41', 10107, 'Return For Purchase No20180630104049', 0, 0, '2', 1, '2', '2018-07-17 12:47:41', 1);
INSERT INTO `purchase_return` (`po_no`, `supplier_id`, `return_date`, `totalamount`, `return_reason`, `createby`, `createdate`) VALUES ('20180717100346', '1', '2018-07-17', '50.00', '', '2', '2018-07-17 12:49:51');
INSERT INTO `purchase_return_details` (`preturn_id`, `product_id`, `qty`, `store_id`, `product_rate`) VALUES (11, '6', '2', '6', '25');
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('20180717100346', 'PO', '2018-07-17 12:49:51', '5020205', 'Return For 20180717100346', '50.00', 0, Array, 1, '2', '2018-07-17 12:49:51', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('20180717100346', 'PO', '2018-07-17 12:49:51', 10107, 'Return For Purchase No20180717100346', 0, 0, '2', 1, '2', '2018-07-17 12:49:51', 1);
INSERT INTO `purchase_return` (`po_no`, `supplier_id`, `return_date`, `totalamount`, `return_reason`, `createby`, `createdate`) VALUES ('20180717100346', '1', '2018-07-17', '100.00', '', '2', '2018-07-17 13:00:10');
INSERT INTO `purchase_return_details` (`preturn_id`, `product_id`, `qty`, `store_id`, `product_rate`) VALUES (12, '6', '4', '6', '25');
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('20180717100346', 'PO', '2018-07-17 13:00:10', '5020205', 'P Return For 20180717100346', '100.00', 0, '2', 1, '2', '2018-07-17 13:00:10', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('20180717100346', 'PO', '2018-07-17 13:00:10', 10107, 'Purchase Return For PO No20180717100346', 0, 0, '2', 1, '2', '2018-07-17 13:00:10', 1);
INSERT INTO `purchase_return` (`po_no`, `supplier_id`, `return_date`, `totalamount`, `return_reason`, `createby`, `createdate`) VALUES ('20180630104049', '1', '2018-07-17', '305.00', '', '2', '2018-07-17 13:04:46');
INSERT INTO `purchase_return_details` (`preturn_id`, `product_id`, `qty`, `store_id`, `product_rate`) VALUES (13, '7', '4', '2', '45');
INSERT INTO `purchase_return_details` (`preturn_id`, `product_id`, `qty`, `store_id`, `product_rate`) VALUES (13, '6', '5', '2', '25');
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('20180630104049', 'PO', '2018-07-17 13:04:46', '5020205', 'P Return For 20180630104049', '305.00', 0, '2', 1, '2', '2018-07-17 13:04:46', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('20180630104049', 'PO', '2018-07-17 13:04:46', 10107, 'Purchase Return For PO No20180630104049', 102.27272727273, 0, '2', 1, '2', '2018-07-17 13:04:46', 1);
INSERT INTO `purchase_return` (`po_no`, `supplier_id`, `return_date`, `totalamount`, `return_reason`, `createby`, `createdate`) VALUES ('20180630104049', '1', '2018-07-17', '70.00', '', '2', '2018-07-17 13:17:23');
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('20180630104049', 'PO', '2018-07-17 13:17:23', '5020205', 'P Return For 20180630104049', '70.00', 0, '2', 1, '2', '2018-07-17 13:17:23', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('20180630104049', 'PO', '2018-07-17 13:17:23', 10107, 'Purchase Return For PO No20180630104049', '70.00', 0, '2', 1, '2', '2018-07-17 13:17:23', 1);
INSERT INTO `purchase_return` (`po_no`, `supplier_id`, `return_date`, `totalamount`, `return_reason`, `createby`, `createdate`) VALUES ('20180630104049', '1', '2018-07-17', '70.00', '', '2', '2018-07-17 13:17:53');
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('20180630104049', 'PO', '2018-07-17 13:17:53', '5020205', 'P Return For 20180630104049', '70.00', 0, '2', 1, '2', '2018-07-17 13:17:53', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('20180630104049', 'PO', '2018-07-17 13:17:53', 10107, 'Purchase Return For PO No20180630104049', '70.00', 0, '2', 1, '2', '2018-07-17 13:17:53', 1);
INSERT INTO `purchase_return` (`po_no`, `supplier_id`, `return_date`, `totalamount`, `return_reason`, `createby`, `createdate`) VALUES ('20180630104049', '1', '2018-07-17', '70.00', '', '2', '2018-07-17 13:19:16');
INSERT INTO `purchase_return_details` (`preturn_id`, `product_id`, `qty`, `store_id`, `product_rate`) VALUES (3, '7', '1', '2', '45');
INSERT INTO `purchase_return_details` (`preturn_id`, `product_id`, `qty`, `store_id`, `product_rate`) VALUES (3, '6', '1', '2', '25');
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('20180630104049', 'PO', '2018-07-17 13:19:16', '5020205', 'P Return For 20180630104049', '70.00', 0, '2', 1, '2', '2018-07-17 13:19:16', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('20180630104049', 'PO', '2018-07-17 13:19:16', 10107, 'Purchase Return For PO No20180630104049', '70.00', 0, '2', 1, '2', '2018-07-17 13:19:16', 1);
INSERT INTO `purchase_return` (`po_no`, `supplier_id`, `return_date`, `totalamount`, `return_reason`, `createby`, `createdate`) VALUES ('20180630104049', '1', '2018-07-17', '70.00', '', '2', '2018-07-17 13:22:33');
INSERT INTO `purchase_return_details` (`preturn_id`, `product_id`, `qty`, `store_id`, `product_rate`) VALUES (4, '7', '1', '2', '45');
INSERT INTO `purchase_return_details` (`preturn_id`, `product_id`, `qty`, `store_id`, `product_rate`) VALUES (4, '6', '1', '2', '25');
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('20180630104049', 'PO', '2018-07-17 13:22:33', '5020205', 'P Return For 20180630104049', '70.00', 0, '2', 1, '2', '2018-07-17 13:22:33', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('20180630104049', 'PO', '2018-07-17 13:22:33', 10107, 'Purchase Return For PO No20180630104049', '70.00', 0, '2', 1, '2', '2018-07-17 13:22:33', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('20180717135831', 'PO', '2018-07-17 13:58:31', '5020205', 'PO For 20180717135831', 0, '450000.00', '2', 1, '2', '2018-07-17 13:58:31', 1);
INSERT INTO `purchase_order` (`po_no`, `supplier_id`, `total_amnt`, `store_id`, `warehouse_id`, `createby`, `createdate`, `isapproved`) VALUES ('20180717135831', '1', '450000.00', 0, 0, '2', '2018-07-17 13:58:31', 0);
INSERT INTO `purchase_order_details` (`row_id`, `po_no`, `product_id`, `order_qty`, `product_rate`, `discount`, `store_id`) VALUES ('711513311627728', '20180717135831', '17', '10', '20000', '', '6');
INSERT INTO `purchase_order_details` (`row_id`, `po_no`, `product_id`, `order_qty`, `product_rate`, `discount`, `store_id`) VALUES ('778438134622693', '20180717135831', '19', '5', '50000', '', '8');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('purchase order', 'create', 'Orde Id-20180717135831 total amount-450000.00', '2', '2018-07-17 13:58:31');
UPDATE `purchase_order` SET `po_no` = '20180717135831', `isapproved` = 1
WHERE `po_no` = '20180717135831';
UPDATE `user` SET `id` = '21', `firstname` = 'Mahmud', `lastname` = 'Ahmad', `email` = 'm@gmail.com', `password` = 'e10adc3949ba59abbe56e057f20f883e', `about` = 'dsfalsdkjf', `store_id` = '6', `is_admin` = '0', `image` = './assets/img/user/5c01eb694a7c9797acec38fc5bffc610.jpg', `last_login` = NULL, `last_logout` = NULL, `ip_address` = NULL, `status` = '1'
WHERE `id` = '21';
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('User', 'update', 'User ID :21', '2', '2018-07-17 13:59:53');
UPDATE `user` SET `id` = '20', `firstname` = 'ww', `lastname` = 'rr', `email` = 'w@gmail.com', `password` = 'e10adc3949ba59abbe56e057f20f883e', `about` = 'sdfsd', `store_id` = '8', `is_admin` = '0', `image` = './assets/img/user/1451456913_brodie.jpg', `last_login` = NULL, `last_logout` = NULL, `ip_address` = NULL, `status` = '1'
WHERE `id` = '20';
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('User', 'update', 'User ID :20', '2', '2018-07-17 14:00:23');
INSERT INTO `sec_userrole` (`id`, `user_id`, `roleid`, `createby`, `createdate`) VALUES ('', '20', '3', '2', '2018-07-17 02:01:11');
DELETE FROM `role_permission`
WHERE `role_id` = '3';
INSERT INTO `role_permission` (`create`, `delete`, `fk_module_id`, `read`, `role_id`, `update`) VALUES (0,0,'8',0,'3',0), (0,0,'6',0,'3',0), (0,0,'5',0,'3',0), (0,0,'13',0,'3',0), (0,0,'14',0,'3',0), (0,0,'7',0,'3',0), ('1','1','10','1','3','1'), (0,0,'19',0,'3',0), (0,0,'18',0,'3',0), ('1','1','12','1','3','1'), (0,0,'16',0,'3',0), (0,0,'17',0,'3',0), (0,0,'3',0,'3',0), (0,0,'9',0,'3',0), (0,0,'4',0,'3',0), (0,0,'11',0,'3',0);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Role Permission', 'create', 'Role id :344', '2', '2018-07-17 14:01:38');
UPDATE `user` SET `last_login` = '2018-07-17 14:01:58', `ip_address` = '::1'
WHERE `id` = '21';
INSERT INTO `purchase_receive` (`receive_id`, `po_no`, `supplier_id`, `store_id`, `warehouse_id`, `voucher_no`, `receive_by`, `receive_date`) VALUES ('20180717140342', '20180717135831', '1', 0, 0, 1000, '21', '2018-07-17 14:03:42');
INSERT INTO `purchase_receive_details` (`receive_id`, `product_id`, `receive_qty`, `product_rate`, `store_id`, `discount`) VALUES ('20180717140342', '17', '10', '20000', '6', '');
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('20180717135831', 'PO', '2018-07-17 14:03:42', 10107, 'PO Receive Receive No 20180717140342', '200000.00', 0, '6', 1, NULL, NULL, 1);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('purchase order receive', 'create', 'Orde Id- total amount-200000.00', '21', '2018-07-17 14:03:42');
UPDATE `user` SET `last_logout` = '2018-07-17 14:06:27'
WHERE `id` = '21';
UPDATE `user` SET `last_login` = '2018-07-17 14:06:43', `ip_address` = '::1'
WHERE `id` = '20';
INSERT INTO `purchase_receive` (`receive_id`, `po_no`, `supplier_id`, `store_id`, `warehouse_id`, `voucher_no`, `receive_by`, `receive_date`) VALUES ('20180717140723', '20180717135831', '1', 0, 0, 1001, '20', '2018-07-17 14:07:23');
INSERT INTO `purchase_receive_details` (`receive_id`, `product_id`, `receive_qty`, `product_rate`, `store_id`, `discount`) VALUES ('20180717140723', '19', '5', '50000', '8', '');
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('20180717135831', 'PO', '2018-07-17 14:07:23', 10107, 'PO Receive Receive No 20180717140723', '250000.00', 0, '8', 1, NULL, NULL, 1);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('purchase order receive', 'create', 'Orde Id- total amount-250000.00', '20', '2018-07-17 14:07:23');
INSERT INTO `acc_coa` (`HeadCode`, `HeadName`, `PHeadName`, `HeadLevel`, `IsActive`, `IsTransaction`, `IsGL`, `HeadType`, `IsBudget`, `IsDepreciation`, `DepreciationRate`, `CreateBy`, `CreateDate`) VALUES (1020301000009, 'ls-9-MD. Tarek', 'Customer Receivable', '4', '1', '1', '0', 'A', '0', '0', '0', '2', '2018-07-17 14:14:02');
INSERT INTO `customer` (`customer_code`, `customer_name`, `customer_phone`, `type`, `job_designation`, `store_id`, `customer_address`, `customer_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('ls-9', 'MD. Tarek', '4535345345', '3', '', '2', '', '34534535', '', 1, '2', '2018-07-17 14:14:02');
CALL get_store_stock('0,'@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0,'@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0,'@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
INSERT INTO `gurrantor` (`gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('gc-59', 'dfgdfg', '45345', '2', '', '', '45345', '', 1, '2', '2018-07-17 14:23:06');
INSERT INTO `gurrantor` (`gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('gc-60', 'dfgdfg', '345345', '2', '', '', '345345345', '', 1, '2', '2018-07-17 14:23:06');
INSERT INTO `gurrantor` (`gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('gc-61', 'ertert', '456456456', '2', '', '', '456456', '', 1, '2', '2018-07-17 14:25:01');
INSERT INTO `gurrantor` (`gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('gc-62', 'ertert', '56456456', '2', '', '', '456456456', '', 1, '2', '2018-07-17 14:25:01');
CALL get_store_stock('0,'@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
UPDATE `product` SET `product_id` = '22', `product_name` = 'Test-Second-Test Model', `product_code` = 'pro-12', `category` = '1', `model` = '1', `unit` = '1', `brand` = '2', `product_details` = 'sdfasdfsadf', `purchase_price` = '0', `minimum_price` = '0', `retail_price` = '0', `block_price` = '0', `isactive` = '1'
WHERE `product_id` IN('22');
UPDATE `product` SET `product_id` = '21', `product_name` = '1-2-1', `product_code` = 'pro-11', `category` = '1', `model` = '1', `unit` = '1', `brand` = '2', `product_details` = 'test product\r\n', `purchase_price` = '0', `minimum_price` = '0', `retail_price` = '0', `block_price` = '0', `isactive` = '1'
WHERE `product_id` IN('21');
UPDATE `product` SET `product_id` = '20', `product_name` = 'Test-Second-Test Model', `product_code` = 'pro-10', `category` = 'Test', `model` = 'Test Model', `unit` = 'Test', `brand` = 'Second', `product_details` = 'New Product', `purchase_price` = '20', `minimum_price` = '25', `retail_price` = '28', `block_price` = '22', `isactive` = '1'
WHERE `product_id` IN('20');
UPDATE `product` SET `product_id` = '19', `product_name` = 'AC-Eco star-5100', `product_code` = 'pro-9', `category` = 'AC', `model` = '5100', `unit` = 'Ea', `brand` = 'Eco star', `product_details` = '', `purchase_price` = '50000', `minimum_price` = '40000', `retail_price` = '45000', `block_price` = '0', `isactive` = '1'
WHERE `product_id` IN('19');
UPDATE `product` SET `product_id` = '18', `product_name` = 'Led-Eco star-30D2000', `product_code` = 'pro-8', `category` = 'Led', `model` = '30D2000', `unit` = 'Ea', `brand` = 'Eco star', `product_details` = '', `purchase_price` = '40000', `minimum_price` = '45000', `retail_price` = '55000', `block_price` = '44000', `isactive` = '1'
WHERE `product_id` IN('18');
UPDATE `product` SET `product_id` = '17', `product_name` = 'Led-Eco star-20Dl2000', `product_code` = 'pro-7', `category` = 'Led', `model` = '20Dl2000', `unit` = 'Ea', `brand` = 'Eco star', `product_details` = '', `purchase_price` = '20000', `minimum_price` = '22000', `retail_price` = '23000', `block_price` = '20500', `isactive` = '1'
WHERE `product_id` IN('17');
UPDATE `product` SET `product_id` = '16', `product_name` = 'Ref-Dawlance-9175', `product_code` = 'pro-6', `category` = 'Ref', `model` = '9175', `unit` = 'Ea', `brand` = 'Dawlance', `product_details` = '', `purchase_price` = '1500', `minimum_price` = '2000', `retail_price` = '2500', `block_price` = '1900', `isactive` = '1'
WHERE `product_id` IN('16');
UPDATE `product` SET `product_id` = '15', `product_name` = 'Ref-Dawlance-9170', `product_code` = 'pro-5', `category` = 'Ref', `model` = '9170', `unit` = 'Ea', `brand` = 'Dawlance', `product_details` = '', `purchase_price` = '0', `minimum_price` = '0', `retail_price` = '0', `block_price` = '21000', `isactive` = '1'
WHERE `product_id` IN('15');
UPDATE `product` SET `product_id` = '14', `product_name` = 'Test-Second-Test Model', `product_code` = 'pro-4', `category` = 'Test', `model` = 'Test Model', `unit` = 'Test', `brand` = 'Second', `product_details` = '', `purchase_price` = '1000', `minimum_price` = '1200', `retail_price` = '1500', `block_price` = '1100', `isactive` = '1'
WHERE `product_id` IN('14');
UPDATE `product` SET `product_id` = '13', `product_name` = 'Test-Second-Test Model', `product_code` = 'pro-3', `category` = 'Test', `model` = 'Test Model', `unit` = 'Test', `brand` = 'Second', `product_details` = '', `purchase_price` = '5', `minimum_price` = '7', `retail_price` = '10', `block_price` = '0', `isactive` = '1'
WHERE `product_id` IN('13');
CALL get_store_stock('0,'@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
INSERT INTO `gurrantor` (`gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('gc-63', 'rertert', '3534534', '2', '', '', '345345', '', 1, '2', '2018-07-17 14:26:55');
INSERT INTO `gurrantor` (`gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('gc-64', 'ertert', '345345', '2', '', '', '345345', '', 1, '2', '2018-07-17 14:26:55');
INSERT INTO `sales_parent` (`sale_id`, `invoice_no`, `customer_id`, `sale_type_id`, `store_id`, `salesman`, `sales_date`, `sales_time`, `gurrantor_1`, `gurrantor_2`, `advance_amnt`, `lease_id`, `inquiry_officer`, `remaining_amnt`, `installment_amnt`, `package_price`, `total_amnt`) VALUES ('20180717142741', '1000', '20', '3', '2', '2', '2018-07-17', '14:27:41', '80', '79', '4600.00', '5', '7', '24840.00', '2070.00', '29440.00', '29440.00');
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1000', 'LSIV', '2018-07-17 14:27:41', '1020301000009', 'LSIV For Invoice No1000', 0, '4600.00', '2', 1, '2', '2018-07-17 14:27:41', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1000', 'LSIV', '2018-07-17 14:27:41', '1020301000009', 'LSIV For Invoice No1000', '29440.00', 0, '2', 1, '2', '2018-07-17 14:27:41', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1000', 'LSIV', '2018-07-17 14:27:41', 1020101, 'LSIV For Invoice No1000', '4600.00', 0, '2', 1, '2', '2018-07-17 14:27:41', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1000', 'LSIV', '2018-07-17 14:27:41', 30102, 'LSIV For Invoice No1000', 0, '29440.00', '2', 1, '2', '2018-07-17 14:27:41', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1000', 'LSIV', '2018-07-17 14:27:41', 403, 'LSIV For Invoice No1000', 20000, 0, '2', 1, '2', '2018-07-17 14:27:41', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1000', 'LSIV', '2018-07-17 14:27:41', 10107, 'LSIV For Invoice No1000', 0, 20000, '2', 1, '2', '2018-07-17 14:27:41', 1);
INSERT INTO `payment_collection` (`sale_id`, `invoice_no`, `customer_id`, `receive_amnt`, `due_amnt`, `receive_by`, `receive_date`) VALUES ('20180717142741', '1000', '20', '4600.00', '24840.00', '2', '2018-07-17');
INSERT INTO `customer_gurrantor_map` (`lease_id`, `customer_id`, `gurrantor_id`) VALUES ('5', '20', '80');
INSERT INTO `customer_gurrantor_map` (`lease_id`, `customer_id`, `gurrantor_id`) VALUES ('5', '20', '79');
INSERT INTO `sale_details` (`sale_id`, `product_id`, `qty`, `sell_price`, `sale_type_id`, `lease_unit_price`) VALUES ('20180717142741', '17', '1', '23000', '3', '29440');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Sales', 'create', 'invoice_no-1000 total amount-29440.00', '2', '2018-07-17 14:27:42');
CALL get_store_stock('0,'@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
INSERT INTO `customer_overdue` (`customer_id`, `installment`, `recovery`, `surplus`, `Deficit`, `Overdue`, `Invoice_no`, `store_id`) VALUES (NULL, NULL, NULL, 0, 0, 0, NULL, NULL);
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
CALL get_store_stock('0,'@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0,'@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0,'@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0,'@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0,'@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
UPDATE `user` SET `last_login` = '2018-07-18 06:06:56', `ip_address` = '::1'
WHERE `id` = '2';
CALL get_store_stock('0,'@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0,'@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0,'@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0,'@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0,'@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0,'@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0,'@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0,'@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0,'@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0,'@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0,'@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0,'@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0,'@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0,'@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0,'@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0,'@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0,'@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0,'@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0,'@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0,'@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0,'@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0,'@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0,'@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0,'@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0,'@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0,'@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0,'@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0,'@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0,'@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0,'@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0,'@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0,'@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0,'@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0,'@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0,'@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0,'@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0,'@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0,'@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0,'@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0,'@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0,'@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0,'@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0,'@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0,'@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0,'@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0,'@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0,'@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0,'@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0,'@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0,'@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0,'@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0,'@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0,'@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0,'@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0,'@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0,'@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0,'@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0,'@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0,'@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
UPDATE `user` SET `last_logout` = '2018-07-18 06:49:11'
WHERE `id` = '2';
UPDATE `user` SET `last_login` = '2018-07-18 06:49:50', `ip_address` = '::1'
WHERE `id` = '22';
UPDATE `user` SET `last_logout` = '2018-07-18 06:51:05'
WHERE `id` = '22';
UPDATE `user` SET `last_login` = '2018-07-18 06:51:48', `ip_address` = '::1'
WHERE `id` = '22';
UPDATE `user` SET `last_login` = '2018-07-18 06:52:24', `ip_address` = '::1'
WHERE `id` = '2';
INSERT INTO `sec_userrole` (`id`, `user_id`, `roleid`, `createby`, `createdate`) VALUES ('', '22', '3', '2', '2018-07-18 06:52:59');
UPDATE `user` SET `last_logout` = '2018-07-18 06:53:06'
WHERE `id` = '22';
UPDATE `user` SET `last_login` = '2018-07-18 06:53:22', `ip_address` = '::1'
WHERE `id` = '22';
CALL get_store_stock('0,'@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
INSERT INTO `sales_parent` (`sale_id`, `invoice_no`, `customer_id`, `sale_type_id`, `store_id`, `salesman`, `sales_date`, `sales_time`, `gurrantor_1`, `gurrantor_2`, `advance_amnt`, `lease_id`, `inquiry_officer`, `remaining_amnt`, `installment_amnt`, `package_price`, `total_amnt`) VALUES ('20180718065442', '1001', '6', '1', '6', '22', '2018-07-18', '06:54:42', NULL, NULL, '', NULL, NULL, NULL, 0, 0, '46000.00');
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1001', 'CIV', '2018-07-18 06:54:42', 30101, 'Cash sale credit For Invoice No1001', 0, '46000.00', '6', 1, '22', '2018-07-18 06:54:42', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1001', 'CIV', '2018-07-18 06:54:42', 1020101, 'Cash in hand debit For Invoice No1001', '46000.00', 0, '6', 1, '22', '2018-07-18 06:54:42', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1001', 'CIV', '2018-07-18 06:54:42', 403, 'Cost of sale debit For Invoice No1001', 40000, 0, '6', 1, '22', '2018-07-18 06:54:42', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1001', 'CIV', '2018-07-18 06:54:42', 10107, 'Inventory credit For Invoice No1001', 0, 40000, '6', 1, '22', '2018-07-18 06:54:42', 1);
INSERT INTO `payment_collection` (`sale_id`, `invoice_no`, `customer_id`, `receive_amnt`, `due_amnt`, `receive_by`, `receive_date`) VALUES ('20180718065442', '1001', '6', '46000.00', NULL, '22', '2018-07-18');
INSERT INTO `sale_details` (`sale_id`, `product_id`, `qty`, `sell_price`, `sale_type_id`, `lease_unit_price`) VALUES ('20180718065442', '17', '2', '23000', '1', NULL);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Sales', 'create', 'invoice_no-1001 total amount-46000.00', '22', '2018-07-18 06:54:42');
CALL get_store_stock('0,'@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0,'@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0,'@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
INSERT INTO `sales_parent` (`sale_id`, `invoice_no`, `customer_id`, `sale_type_id`, `store_id`, `salesman`, `sales_date`, `sales_time`, `gurrantor_1`, `gurrantor_2`, `advance_amnt`, `lease_id`, `inquiry_officer`, `remaining_amnt`, `installment_amnt`, `package_price`, `total_amnt`) VALUES ('20180718065556', '1001', '6', '1', '6', '22', '2018-07-18', '06:55:56', NULL, NULL, '', NULL, NULL, NULL, 0, 0, '23000.00');
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1001', 'CIV', '2018-07-18 06:55:56', 30101, 'Cash sale credit For Invoice No1001', 0, '23000.00', '6', 1, '22', '2018-07-18 06:55:56', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1001', 'CIV', '2018-07-18 06:55:56', 1020101, 'Cash in hand debit For Invoice No1001', '23000.00', 0, '6', 1, '22', '2018-07-18 06:55:56', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1001', 'CIV', '2018-07-18 06:55:56', 403, 'Cost of sale debit For Invoice No1001', 20000, 0, '6', 1, '22', '2018-07-18 06:55:56', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1001', 'CIV', '2018-07-18 06:55:56', 10107, 'Inventory credit For Invoice No1001', 0, 20000, '6', 1, '22', '2018-07-18 06:55:56', 1);
INSERT INTO `payment_collection` (`sale_id`, `invoice_no`, `customer_id`, `receive_amnt`, `due_amnt`, `receive_by`, `receive_date`) VALUES ('20180718065556', '1001', '6', '23000.00', NULL, '22', '2018-07-18');
INSERT INTO `sale_details` (`sale_id`, `product_id`, `qty`, `sell_price`, `sale_type_id`, `lease_unit_price`) VALUES ('20180718065556', '17', '1', '23000', '1', NULL);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Sales', 'create', 'invoice_no-1001 total amount-23000.00', '22', '2018-07-18 06:55:56');
CALL get_store_stock('0,'@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
INSERT INTO `sales_parent` (`sale_id`, `invoice_no`, `customer_id`, `sale_type_id`, `store_id`, `salesman`, `sales_date`, `sales_time`, `gurrantor_1`, `gurrantor_2`, `advance_amnt`, `lease_id`, `inquiry_officer`, `remaining_amnt`, `installment_amnt`, `package_price`, `total_amnt`) VALUES ('20180718065644', '1001', '1', '1', '2', '2', '2018-07-18', '06:56:44', NULL, NULL, '', NULL, NULL, NULL, 0, 0, '23000.00');
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1001', 'CIV', '2018-07-18 06:56:44', 30101, 'Cash sale credit For Invoice No1001', 0, '23000.00', '2', 1, '2', '2018-07-18 06:56:44', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1001', 'CIV', '2018-07-18 06:56:44', 1020101, 'Cash in hand debit For Invoice No1001', '23000.00', 0, '2', 1, '2', '2018-07-18 06:56:44', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1001', 'CIV', '2018-07-18 06:56:44', 403, 'Cost of sale debit For Invoice No1001', 20000, 0, '2', 1, '2', '2018-07-18 06:56:44', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1001', 'CIV', '2018-07-18 06:56:44', 10107, 'Inventory credit For Invoice No1001', 0, 20000, '2', 1, '2', '2018-07-18 06:56:44', 1);
INSERT INTO `payment_collection` (`sale_id`, `invoice_no`, `customer_id`, `receive_amnt`, `due_amnt`, `receive_by`, `receive_date`) VALUES ('20180718065644', '1001', '1', '23000.00', NULL, '2', '2018-07-18');
INSERT INTO `sale_details` (`sale_id`, `product_id`, `qty`, `sell_price`, `sale_type_id`, `lease_unit_price`) VALUES ('20180718065644', '17', '1', '23000', '1', NULL);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Sales', 'create', 'invoice_no-1001 total amount-23000.00', '2', '2018-07-18 06:56:44');
CALL get_store_stock('0,'@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
INSERT INTO `sales_parent` (`sale_id`, `invoice_no`, `customer_id`, `sale_type_id`, `store_id`, `salesman`, `sales_date`, `sales_time`, `gurrantor_1`, `gurrantor_2`, `advance_amnt`, `lease_id`, `inquiry_officer`, `remaining_amnt`, `installment_amnt`, `package_price`, `total_amnt`) VALUES ('20180718070304', '1001', '6', '1', '6', '22', '2018-07-18', '07:03:04', NULL, NULL, '', NULL, NULL, NULL, 0, 0, '23000.00');
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1001', 'CIV', '2018-07-18 07:03:04', 30101, 'Cash sale credit For Invoice No1001', 0, '23000.00', '6', 1, '22', '2018-07-18 07:03:04', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1001', 'CIV', '2018-07-18 07:03:04', 1020101, 'Cash in hand debit For Invoice No1001', '23000.00', 0, '6', 1, '22', '2018-07-18 07:03:04', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1001', 'CIV', '2018-07-18 07:03:04', 403, 'Cost of sale debit For Invoice No1001', NULL, 0, '6', 1, '22', '2018-07-18 07:03:04', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1001', 'CIV', '2018-07-18 07:03:04', 10107, 'Inventory credit For Invoice No1001', 0, NULL, '6', 1, '22', '2018-07-18 07:03:04', 1);
INSERT INTO `payment_collection` (`sale_id`, `invoice_no`, `customer_id`, `receive_amnt`, `due_amnt`, `receive_by`, `receive_date`) VALUES ('20180718070304', '1001', '6', '23000.00', NULL, '22', '2018-07-18');
INSERT INTO `sale_details` (`sale_id`, `product_id`, `qty`, `sell_price`, `sale_type_id`, `lease_unit_price`) VALUES ('20180718070304', '17', '1', '23000', '1', NULL);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Sales', 'create', 'invoice_no-1001 total amount-23000.00', '22', '2018-07-18 07:03:04');
CALL get_store_stock('0,'@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
INSERT INTO `sales_parent` (`sale_id`, `invoice_no`, `customer_id`, `sale_type_id`, `store_id`, `salesman`, `sales_date`, `sales_time`, `gurrantor_1`, `gurrantor_2`, `advance_amnt`, `lease_id`, `inquiry_officer`, `remaining_amnt`, `installment_amnt`, `package_price`, `total_amnt`) VALUES ('20180718070636', '1001', '6', '1', '6', '22', '2018-07-18', '07:06:36', NULL, NULL, '', NULL, NULL, NULL, 0, 0, '23000.00');
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1001', 'CIV', '2018-07-18 07:06:36', 30101, 'Cash sale credit For Invoice No1001', 0, '23000.00', '6', 1, '22', '2018-07-18 07:06:36', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1001', 'CIV', '2018-07-18 07:06:36', 1020101, 'Cash in hand debit For Invoice No1001', '23000.00', 0, '6', 1, '22', '2018-07-18 07:06:36', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1001', 'CIV', '2018-07-18 07:06:36', 403, 'Cost of sale debit For Invoice No1001', NULL, 0, '6', 1, '22', '2018-07-18 07:06:36', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1001', 'CIV', '2018-07-18 07:06:36', 10107, 'Inventory credit For Invoice No1001', 0, NULL, '6', 1, '22', '2018-07-18 07:06:36', 1);
INSERT INTO `payment_collection` (`sale_id`, `invoice_no`, `customer_id`, `receive_amnt`, `due_amnt`, `receive_by`, `receive_date`) VALUES ('20180718070636', '1001', '6', '23000.00', NULL, '22', '2018-07-18');
INSERT INTO `sale_details` (`sale_id`, `product_id`, `qty`, `sell_price`, `sale_type_id`, `lease_unit_price`) VALUES ('20180718070636', '17', '1', '23000', '1', NULL);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Sales', 'create', 'invoice_no-1001 total amount-23000.00', '22', '2018-07-18 07:06:36');
CALL get_store_stock('0,'@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
INSERT INTO `sales_parent` (`sale_id`, `invoice_no`, `customer_id`, `sale_type_id`, `store_id`, `salesman`, `sales_date`, `sales_time`, `gurrantor_1`, `gurrantor_2`, `advance_amnt`, `lease_id`, `inquiry_officer`, `remaining_amnt`, `installment_amnt`, `package_price`, `total_amnt`) VALUES ('20180718070823', '1001', '6', '1', '6', '22', '2018-07-18', '07:08:23', NULL, NULL, '', NULL, NULL, NULL, 0, 0, '23000.00');
INSERT INTO `sales_parent` (`sale_id`, `invoice_no`, `customer_id`, `sale_type_id`, `store_id`, `salesman`, `sales_date`, `sales_time`, `gurrantor_1`, `gurrantor_2`, `advance_amnt`, `lease_id`, `inquiry_officer`, `remaining_amnt`, `installment_amnt`, `package_price`, `total_amnt`) VALUES ('20180718071046', '1001', '6', '1', '6', '22', '2018-07-18', '07:10:46', NULL, NULL, '', NULL, NULL, NULL, 0, 0, '23000.00');
INSERT INTO `sales_parent` (`sale_id`, `invoice_no`, `customer_id`, `sale_type_id`, `store_id`, `salesman`, `sales_date`, `sales_time`, `gurrantor_1`, `gurrantor_2`, `advance_amnt`, `lease_id`, `inquiry_officer`, `remaining_amnt`, `installment_amnt`, `package_price`, `total_amnt`) VALUES ('20180718071110', '1001', '6', '1', '6', '22', '2018-07-18', '07:11:10', NULL, NULL, '', NULL, NULL, NULL, 0, 0, '23000.00');
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1001', 'CIV', '2018-07-18 07:11:10', 30101, 'Cash sale credit For Invoice No1001', 0, '23000.00', '6', 1, '22', '2018-07-18 07:11:10', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1001', 'CIV', '2018-07-18 07:11:10', 1020101, 'Cash in hand debit For Invoice No1001', '23000.00', 0, '6', 1, '22', '2018-07-18 07:11:10', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1001', 'CIV', '2018-07-18 07:11:10', 403, 'Cost of sale debit For Invoice No1001', NULL, 0, '6', 1, '22', '2018-07-18 07:11:10', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1001', 'CIV', '2018-07-18 07:11:10', 10107, 'Inventory credit For Invoice No1001', 0, NULL, '6', 1, '22', '2018-07-18 07:11:10', 1);
INSERT INTO `payment_collection` (`sale_id`, `invoice_no`, `customer_id`, `receive_amnt`, `due_amnt`, `receive_by`, `receive_date`) VALUES ('20180718071110', '1001', '6', '23000.00', NULL, '22', '2018-07-18');
INSERT INTO `sale_details` (`sale_id`, `product_id`, `qty`, `sell_price`, `sale_type_id`, `lease_unit_price`) VALUES ('20180718071110', '17', '1', '23000', '1', NULL);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Sales', 'create', 'invoice_no-1001 total amount-23000.00', '22', '2018-07-18 07:11:10');
DELETE FROM `sales_parent`
WHERE `sale_id` = '20180718071046';
DELETE FROM `sale_details`
WHERE `sale_id` = '20180718071046';
CALL get_store_stock('0,'@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
INSERT INTO `sales_parent` (`sale_id`, `invoice_no`, `customer_id`, `sale_type_id`, `store_id`, `salesman`, `sales_date`, `sales_time`, `gurrantor_1`, `gurrantor_2`, `advance_amnt`, `lease_id`, `inquiry_officer`, `remaining_amnt`, `installment_amnt`, `package_price`, `total_amnt`) VALUES ('20180718071435', '1001', '6', '1', '6', '22', '2018-07-18', '07:14:35', NULL, NULL, '', NULL, NULL, NULL, 0, 0, '23000.00');
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1001', 'CIV', '2018-07-18 07:14:35', 30101, 'Cash sale credit For Invoice No1001', 0, '23000.00', '6', 1, '22', '2018-07-18 07:14:35', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1001', 'CIV', '2018-07-18 07:14:35', 1020101, 'Cash in hand debit For Invoice No1001', '23000.00', 0, '6', 1, '22', '2018-07-18 07:14:35', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1001', 'CIV', '2018-07-18 07:14:35', 403, 'Cost of sale debit For Invoice No1001', NULL, 0, '6', 1, '22', '2018-07-18 07:14:35', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1001', 'CIV', '2018-07-18 07:14:35', 10107, 'Inventory credit For Invoice No1001', 0, NULL, '6', 1, '22', '2018-07-18 07:14:35', 1);
INSERT INTO `payment_collection` (`sale_id`, `invoice_no`, `customer_id`, `receive_amnt`, `due_amnt`, `receive_by`, `receive_date`) VALUES ('20180718071435', '1001', '6', '23000.00', NULL, '22', '2018-07-18');
INSERT INTO `sale_details` (`sale_id`, `product_id`, `qty`, `sell_price`, `sale_type_id`, `lease_unit_price`) VALUES ('20180718071435', '17', '1', '23000', '1', NULL);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Sales', 'create', 'invoice_no-1001 total amount-23000.00', '22', '2018-07-18 07:14:35');
UPDATE `user` SET `last_logout` = '2018-07-18 07:19:22'
WHERE `id` = '22';
UPDATE `user` SET `last_login` = '2018-07-18 07:19:29', `ip_address` = '::1'
WHERE `id` = '2';
CALL get_store_stock('0,'@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0,'@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0,'@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0,'@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0,'@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0,'@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
INSERT INTO `acc_coa` (`HeadCode`, `HeadName`, `PHeadName`, `HeadLevel`, `IsActive`, `IsTransaction`, `IsGL`, `HeadType`, `IsBudget`, `IsDepreciation`, `DepreciationRate`, `CreateBy`, `CreateDate`) VALUES (5020206, 'sup-1-Transcom International', 'Account Payable', '3', '1', '1', '0', 'L', '0', '0', '0', '2', '2018-07-18 08:09:52');
INSERT INTO `supplier` (`supplier_id`, `supplier_name`, `supplier_code`, `phone`, `address`, `email`, `contact_per_name`, `c_p_contact`, `isactive`, `createby`, `createdate`, `updateby`, `updatedate`) VALUES ('', 'Transcom International', 'sup-1', '5465654', 'Mohakhali', 'sdhfg@gmail.com', 'Tagor', '455454', 1, '2', '2018-07-18 08:09:52', '', '');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Supplier', 'create', 'Supplier ID :9', '2', '2018-07-18 08:09:52');
INSERT INTO `acc_coa` (`HeadCode`, `HeadName`, `PHeadName`, `HeadLevel`, `IsActive`, `IsTransaction`, `IsGL`, `HeadType`, `IsBudget`, `IsDepreciation`, `DepreciationRate`, `CreateBy`, `CreateDate`) VALUES (5020207, 'sup-2-Allison Enterprise', 'Account Payable', '3', '1', '1', '0', 'L', '0', '0', '0', '2', '2018-07-18 08:10:24');
INSERT INTO `supplier` (`supplier_id`, `supplier_name`, `supplier_code`, `phone`, `address`, `email`, `contact_per_name`, `c_p_contact`, `isactive`, `createby`, `createdate`, `updateby`, `updatedate`) VALUES ('', 'Allison Enterprise', 'sup-2', '65989', 'skdfjhkj', 'dfb@nnn.com', 'sdfgk', '465465', 1, '2', '2018-07-18 08:10:24', '', '');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Supplier', 'create', 'Supplier ID :10', '2', '2018-07-18 08:10:24');
INSERT INTO `product_category` (`category_id`, `category_name`, `isactive`) VALUES ('', 'AC', 1);
INSERT INTO `product_category` (`category_id`, `category_name`, `isactive`) VALUES ('', 'LED', 1);
INSERT INTO `product_category` (`category_id`, `category_name`, `isactive`) VALUES ('', 'Ref', 1);
INSERT INTO `product_model` (`model_id`, `model_name`, `isactive`) VALUES ('', 'Phillips', 1);
INSERT INTO `product_model` (`model_id`, `model_name`, `isactive`) VALUES ('', 'P123', 1);
INSERT INTO `product_model` (`model_id`, `model_name`, `isactive`) VALUES ('', 'S1147', 1);
INSERT INTO `product_brand` (`brand_id`, `brand_name`, `isactive`) VALUES ('', 'Phillips', 1);
INSERT INTO `product_brand` (`brand_id`, `brand_name`, `isactive`) VALUES ('', 'Samsung', 1);
INSERT INTO `product_unit` (`unit_id`, `unit_name`, `isactive`) VALUES ('', 'Each', 1);
INSERT INTO `product` (`product_id`, `product_name`, `product_code`, `model`, `category`, `brand`, `unit`, `product_details`, `purchase_price`, `block_price`, `minimum_price`, `retail_price`, `createby`, `createdate`, `updateby`, `updatedate`, `isactive`) VALUES ('', 'LED-Phillips-P123', 'pro-0001', '1', '2', '1', '1', 'sdufdkfhskdfsdfkjh', '0', '0', '0', '0', '2', '2018-07-18 08:31:20', '', '', 1);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Product', 'create', 'product ID :1', '2', '2018-07-18 08:31:20');
INSERT INTO `product` (`product_id`, `product_name`, `product_code`, `model`, `category`, `brand`, `unit`, `product_details`, `purchase_price`, `block_price`, `minimum_price`, `retail_price`, `createby`, `createdate`, `updateby`, `updatedate`, `isactive`) VALUES ('', 'AC-Samsung-S1147', 'pro-1002', '2', '1', '2', '1', 'huda', '0', '0', '0', '0', '2', '2018-07-18 08:36:30', '', '', 1);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Product', 'create', 'product ID :2', '2', '2018-07-18 08:36:31');
UPDATE `product` SET `product_id` = '2', `product_name` = 'AC-Samsung-S1147', `product_code` = 'pro-1002', `category` = '1', `model` = '2', `unit` = '1', `brand` = '2', `product_details` = 'huda', `purchase_price` = '35000', `minimum_price` = '38000', `retail_price` = '45000', `block_price` = '37000', `isactive` = '1'
WHERE `product_id` IN('2');
UPDATE `product` SET `product_id` = '1', `product_name` = 'LED-Phillips-P123', `product_code` = 'pro-1001', `category` = '2', `model` = '1', `unit` = '1', `brand` = '1', `product_details` = 'sdufdkfhskdfsdfkjh', `purchase_price` = '200', `minimum_price` = '280', `retail_price` = '310', `block_price` = '250', `isactive` = '1'
WHERE `product_id` IN('1');
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('20180718084850', 'PO', '2018-07-18 08:48:50', '5020206', 'PO For 20180718084850', 0, '3000.00', '2', 1, '2', '2018-07-18 08:48:50', 1);
INSERT INTO `purchase_order` (`po_no`, `supplier_id`, `total_amnt`, `store_id`, `warehouse_id`, `createby`, `createdate`, `isapproved`) VALUES ('20180718084850', '9', '3000.00', 0, 0, '2', '2018-07-18 08:48:50', 0);
INSERT INTO `purchase_order_details` (`row_id`, `po_no`, `product_id`, `order_qty`, `product_rate`, `discount`, `store_id`) VALUES ('454285916669439', '20180718084850', '1', '10', '200', '', '6');
INSERT INTO `purchase_order_details` (`row_id`, `po_no`, `product_id`, `order_qty`, `product_rate`, `discount`, `store_id`) VALUES ('679598428561742', '20180718084850', '1', '5', '200', '', '8');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('purchase order', 'create', 'Orde Id-20180718084850 total amount-3000.00', '2', '2018-07-18 08:48:50');
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('20180718084915', 'PO', '2018-07-18 08:49:15', '5020207', 'PO For 20180718084915', 0, '70000.00', '2', 1, '2', '2018-07-18 08:49:15', 1);
INSERT INTO `purchase_order` (`po_no`, `supplier_id`, `total_amnt`, `store_id`, `warehouse_id`, `createby`, `createdate`, `isapproved`) VALUES ('20180718084915', '10', '70000.00', 0, 0, '2', '2018-07-18 08:49:15', 0);
INSERT INTO `purchase_order_details` (`row_id`, `po_no`, `product_id`, `order_qty`, `product_rate`, `discount`, `store_id`) VALUES ('629276885954179', '20180718084915', '2', '2', '35000', '', '6');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('purchase order', 'create', 'Orde Id-20180718084915 total amount-70000.00', '2', '2018-07-18 08:49:15');
UPDATE `purchase_order` SET `po_no` = '20180718084915', `isapproved` = 1
WHERE `po_no` = '20180718084915';
UPDATE `purchase_order` SET `po_no` = '20180718084850', `isapproved` = 1
WHERE `po_no` = '20180718084850';
UPDATE `user` SET `last_logout` = '2018-07-18 08:54:54'
WHERE `id` = '2';
UPDATE `user` SET `last_login` = '2018-07-18 08:55:20', `ip_address` = '::1'
WHERE `id` = '21';
INSERT INTO `purchase_receive` (`receive_id`, `po_no`, `supplier_id`, `store_id`, `warehouse_id`, `voucher_no`, `receive_by`, `receive_date`) VALUES ('20180718091109', '20180718084850', '9', 0, 0, 1000, '21', '2018-07-18 09:11:09');
INSERT INTO `purchase_receive_details` (`receive_id`, `product_id`, `receive_qty`, `product_rate`, `store_id`, `discount`) VALUES ('20180718091109', '1', '10', '200', '6', '');
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('20180718084850', 'PO', '2018-07-18 09:11:09', 10107, 'PO Receive Receive No 20180718091109', '2000.00', 0, '6', 1, NULL, NULL, 1);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('purchase order receive', 'create', 'Orde Id- total amount-2000.00', '21', '2018-07-18 09:11:09');
UPDATE `user` SET `last_logout` = '2018-07-18 09:53:56'
WHERE `id` = '21';
UPDATE `user` SET `last_login` = '2018-07-18 09:54:24', `ip_address` = '::1'
WHERE `id` = '20';
INSERT INTO `purchase_receive` (`receive_id`, `po_no`, `supplier_id`, `store_id`, `warehouse_id`, `voucher_no`, `receive_by`, `receive_date`) VALUES ('20180718095610', '20180718084850', '9', 0, 0, 1001, '20', '2018-07-18 09:56:10');
INSERT INTO `purchase_receive_details` (`receive_id`, `product_id`, `receive_qty`, `product_rate`, `store_id`, `discount`) VALUES ('20180718095610', '1', '5', '200', '8', '');
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('20180718084850', 'PO', '2018-07-18 09:56:10', 10107, 'PO Receive Receive No 20180718095610', '1000.00', 0, '8', 1, NULL, NULL, 1);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('purchase order receive', 'create', 'Orde Id- total amount-1000.00', '20', '2018-07-18 09:56:10');
UPDATE `user` SET `last_logout` = '2018-07-18 09:57:53'
WHERE `id` = '20';
UPDATE `user` SET `last_login` = '2018-07-18 09:58:03', `ip_address` = '::1'
WHERE `id` = '2';
INSERT INTO `lease` (`package_code`, `package_name`, `lease_duration`, `advance`, `markup`, `isactive`, `createby`, `createdate`) VALUES ('LP-2018', 'Gorom Offer', '12', 0.1, 0.2, 1, '2', '2018-07-18 09:59:44');
INSERT INTO `lease_store_map` (`lease_id`, `store_id`) VALUES (6, '6');
INSERT INTO `lease_store_map` (`lease_id`, `store_id`) VALUES (6, '7');
INSERT INTO `lease_store_map` (`lease_id`, `store_id`) VALUES (6, '8');
INSERT INTO `lease_product_map` (`lease_id`, `product_id`) VALUES (6, '1');
INSERT INTO `lease_product_map` (`lease_id`, `product_id`) VALUES (6, '2');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('leases', 'create', 'Lease Id-6', '2', '2018-07-18 09:59:44');
UPDATE `user` SET `last_logout` = '2018-07-18 10:00:29'
WHERE `id` = '2';
UPDATE `user` SET `last_login` = '2018-07-18 10:00:46', `ip_address` = '::1'
WHERE `id` = '20';
INSERT INTO `acc_coa` (`HeadCode`, `HeadName`, `PHeadName`, `HeadLevel`, `IsActive`, `IsTransaction`, `IsGL`, `HeadType`, `IsBudget`, `IsDepreciation`, `DepreciationRate`, `CreateBy`, `CreateDate`) VALUES (1020301000010, 'ls-10-AR Test', 'Customer Receivable', '4', '1', '1', '0', 'A', '0', '0', '0', '20', '2018-07-18 10:01:31');
INSERT INTO `customer` (`customer_code`, `customer_name`, `customer_phone`, `type`, `job_designation`, `store_id`, `customer_address`, `customer_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('ls-10', 'AR Test', '252352', '3', '', '8', '', '3523523', '', 1, '20', '2018-07-18 10:01:31');
INSERT INTO `gurrantor` (`gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('gc-1', 'wtwt', '2535', '8', '', '', '435345', '', 1, '20', '2018-07-18 10:01:49');
INSERT INTO `gurrantor` (`gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('gc-2', 'wrwer', '232523', '8', '', '', '345345', '', 1, '20', '2018-07-18 10:01:49');
CALL get_store_stock('0,'@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0,'@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0,'@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0,'@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0,'@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0,'@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0,'@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0,'@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0,'@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0,'@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0,'@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0,'@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0,'@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0,'@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0,'@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0,'@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0,'@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0,'@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0,'@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0,'@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0,'@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0,'@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0,'@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
UPDATE `user` SET `last_logout` = '2018-07-18 10:25:43'
WHERE `id` = '20';
UPDATE `user` SET `last_login` = '2018-07-18 10:26:32', `ip_address` = '::1'
WHERE `id` = '21';
INSERT INTO `purchase_receive` (`receive_id`, `po_no`, `supplier_id`, `store_id`, `warehouse_id`, `voucher_no`, `receive_by`, `receive_date`) VALUES ('20180718102650', '20180718084915', '10', 0, 0, 1002, '21', '2018-07-18 10:26:50');
INSERT INTO `purchase_receive_details` (`receive_id`, `product_id`, `receive_qty`, `product_rate`, `store_id`, `discount`) VALUES ('20180718102650', '2', '2', '35000', '6', '');
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('20180718084915', 'PO', '2018-07-18 10:26:50', 10107, 'PO Receive Receive No 20180718102650', '70000.00', 0, '6', 1, NULL, NULL, 1);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('purchase order receive', 'create', 'Orde Id- total amount-70000.00', '21', '2018-07-18 10:26:50');
CALL get_store_stock('0,'@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0,'@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0,'@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0,'@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
UPDATE `user` SET `last_logout` = '2018-07-18 11:56:10'
WHERE `id` = '21';
UPDATE `user` SET `last_login` = '2018-07-18 11:56:30', `ip_address` = '::1'
WHERE `id` = '20';
INSERT INTO `acc_coa` (`HeadCode`, `HeadName`, `PHeadName`, `HeadLevel`, `IsActive`, `IsTransaction`, `IsGL`, `HeadType`, `IsBudget`, `IsDepreciation`, `DepreciationRate`, `CreateBy`, `CreateDate`) VALUES (1020301000011, 'cr-7-Sumon', 'Customer Receivable', '4', '1', '1', '0', 'A', '0', '0', '0', '20', '2018-07-18 12:09:03');
INSERT INTO `customer` (`customer_code`, `customer_name`, `customer_phone`, `type`, `job_designation`, `store_id`, `customer_address`, `customer_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('cr-7', 'Sumon', '54345', '2', '', '8', 'fsdfsdf', '65435345', '', 1, '20', '2018-07-18 12:09:03');
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
INSERT INTO `sales_parent` (`sale_id`, `invoice_no`, `customer_id`, `sale_type_id`, `store_id`, `salesman`, `sales_date`, `sales_time`, `gurrantor_1`, `gurrantor_2`, `advance_amnt`, `lease_id`, `inquiry_officer`, `remaining_amnt`, `installment_amnt`, `package_price`, `total_amnt`) VALUES ('20180718121015', '1000', '22', '2', '8', '20', '2018-07-18', '12:10:15', NULL, NULL, '200', NULL, NULL, '110.00', 0, 0, '310.00');
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1000', 'CRIV', '2018-07-18 12:10:15', '1020301000011', 'Customer Credit For Invoice No1000', 0, '200', '8', 1, '20', '2018-07-18 12:10:15', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1000', 'CRIV', '2018-07-18 12:10:15', '1020301000011', 'Customer Debit For Invoice No1000', 110, 0, '8', 1, '20', '2018-07-18 12:10:15', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1000', 'CRIV', '2018-07-18 12:10:15', 1020101, 'Cash in Hand For Invoice No1000', '200', 0, '8', 1, '20', '2018-07-18 12:10:15', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1000', 'CRIV', '2018-07-18 12:10:15', 30102, 'store credit For Invoice No1000', 0, '310.00', '8', 1, '20', '2018-07-18 12:10:15', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1000', 'CIV', '2018-07-18 12:10:15', 403, 'Cost of sale credit For Invoice No1000', 200, 0, '8', 1, '20', '2018-07-18 12:10:15', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1000', 'CIV', '2018-07-18 12:10:15', 10107, 'Inventory Credit For Invoice No1000', 0, 200, '8', 1, '20', '2018-07-18 12:10:15', 1);
INSERT INTO `payment_collection` (`sale_id`, `invoice_no`, `customer_id`, `receive_amnt`, `due_amnt`, `receive_by`, `receive_date`) VALUES ('20180718121015', '1000', '22', '200', '110.00', '20', '2018-07-18');
INSERT INTO `sale_details` (`sale_id`, `product_id`, `qty`, `sell_price`, `sale_type_id`, `lease_unit_price`) VALUES ('20180718121015', '1', '1', '310', '2', NULL);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Sales', 'create', 'invoice_no-1000 total amount-310.00', '20', '2018-07-18 12:10:15');
INSERT INTO `acc_coa` (`HeadCode`, `HeadName`, `PHeadName`, `HeadLevel`, `IsActive`, `IsTransaction`, `IsGL`, `HeadType`, `IsBudget`, `IsDepreciation`, `DepreciationRate`, `CreateBy`, `CreateDate`) VALUES (1020301000012, 'ls-11-Adnan', 'Customer Receivable', '4', '1', '1', '0', 'A', '0', '0', '0', '20', '2018-07-18 13:46:52');
INSERT INTO `customer` (`customer_code`, `customer_name`, `customer_phone`, `type`, `job_designation`, `store_id`, `customer_address`, `customer_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('ls-11', 'Adnan', '0238948', '3', 'Member', '8', 'dsfasdf', '23423572', 'sdfasdf', 1, '20', '2018-07-18 13:46:52');
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
INSERT INTO `sales_parent` (`sale_id`, `invoice_no`, `customer_id`, `sale_type_id`, `store_id`, `salesman`, `sales_date`, `sales_time`, `gurrantor_1`, `gurrantor_2`, `advance_amnt`, `lease_id`, `inquiry_officer`, `remaining_amnt`, `installment_amnt`, `package_price`, `total_amnt`) VALUES ('20180718134738', '1001', '23', '3', '8', '20', '2018-07-18', '13:47:38', NULL, NULL, '31.00', '6', '20', '334.80', '27.90', '365.80', '365.80');
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1001', 'LSIV', '2018-07-18 13:47:38', '1020301000012', 'ls-11-Adnan Credit For Invoice No1001', 0, '31.00', '8', 1, '20', '2018-07-18 13:47:38', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1001', 'LSIV', '2018-07-18 13:47:38', '1020301000012', 'ls-11-Adnan Debit of Remaining Price For Invoice#1001', '365.80', 0, '8', 1, '20', '2018-07-18 13:47:38', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1001', 'LSIV', '2018-07-18 13:47:38', 1020101, 'Cash In Hand Debit For Invoice No1001', '31.00', 0, '8', 1, '20', '2018-07-18 13:47:38', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1001', 'LSIV', '2018-07-18 13:47:38', 30102, 'Store Credit For Invoice No1001', 0, '365.80', '8', 1, '20', '2018-07-18 13:47:38', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1001', 'LSIV', '2018-07-18 13:47:38', 403, 'Cost Of Sale Debit For Invoice No1001', 200, 0, '8', 1, '20', '2018-07-18 13:47:38', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1001', 'LSIV', '2018-07-18 13:47:38', 10107, 'Inventory Credit For Invoice No1001', 0, 200, '8', 1, '20', '2018-07-18 13:47:38', 1);
INSERT INTO `payment_collection` (`sale_id`, `invoice_no`, `customer_id`, `receive_amnt`, `due_amnt`, `receive_by`, `receive_date`) VALUES ('20180718134738', '1001', '23', '31.00', '334.80', '20', '2018-07-18');
INSERT INTO `sale_details` (`sale_id`, `product_id`, `qty`, `sell_price`, `sale_type_id`, `lease_unit_price`) VALUES ('20180718134738', '1', '1', '310', '3', '365.8');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Sales', 'create', 'invoice_no-1001 total amount-365.80', '20', '2018-07-18 13:47:38');
DELETE FROM `sales_parent`
WHERE `sale_id` = '20180718134738';
DELETE FROM `sale_details`
WHERE `sale_id` = '20180718134738';
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('sale ', 'delete', 'sales id-20180718134738', '20', '2018-07-18 13:47:44');
INSERT INTO `gurrantor` (`gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('gc-2', 'Kamrul', '3454', '8', 'sdf', '', '6543452', '', 1, '20', '2018-07-18 13:48:28');
INSERT INTO `gurrantor` (`gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('gc-3', 'Sharif', '23423', '8', 'dsfasdf', '', '23556', '', 1, '20', '2018-07-18 13:48:28');
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
INSERT INTO `sales_parent` (`sale_id`, `invoice_no`, `customer_id`, `sale_type_id`, `store_id`, `salesman`, `sales_date`, `sales_time`, `gurrantor_1`, `gurrantor_2`, `advance_amnt`, `lease_id`, `inquiry_officer`, `remaining_amnt`, `installment_amnt`, `package_price`, `total_amnt`) VALUES ('20180718135026', '1001', '23', '3', '8', '20', '2018-07-18', '13:50:26', '4', '3', '31.00', '6', '20', '334.80', '27.90', '365.80', '365.80');
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1001', 'LSIV', '2018-07-18 13:50:26', '1020301000012', 'ls-11-Adnan Credit For Invoice No1001', 0, '31.00', '8', 1, '20', '2018-07-18 13:50:26', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1001', 'LSIV', '2018-07-18 13:50:26', '1020301000012', 'ls-11-Adnan Debit of Remaining Price For Invoice#1001', '365.80', 0, '8', 1, '20', '2018-07-18 13:50:26', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1001', 'LSIV', '2018-07-18 13:50:26', 1020101, 'Cash In Hand Debit For Invoice No1001', '31.00', 0, '8', 1, '20', '2018-07-18 13:50:26', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1001', 'LSIV', '2018-07-18 13:50:26', 30102, 'Store Credit For Invoice No1001', 0, '365.80', '8', 1, '20', '2018-07-18 13:50:26', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1001', 'LSIV', '2018-07-18 13:50:26', 403, 'Cost Of Sale Debit For Invoice No1001', 200, 0, '8', 1, '20', '2018-07-18 13:50:26', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1001', 'LSIV', '2018-07-18 13:50:26', 10107, 'Inventory Credit For Invoice No1001', 0, 200, '8', 1, '20', '2018-07-18 13:50:26', 1);
INSERT INTO `payment_collection` (`sale_id`, `invoice_no`, `customer_id`, `receive_amnt`, `due_amnt`, `receive_by`, `receive_date`) VALUES ('20180718135026', '1001', '23', '31.00', '334.80', '20', '2018-07-18');
INSERT INTO `customer_gurrantor_map` (`lease_id`, `customer_id`, `gurrantor_id`) VALUES ('6', '23', '4');
INSERT INTO `customer_gurrantor_map` (`lease_id`, `customer_id`, `gurrantor_id`) VALUES ('6', '23', '3');
INSERT INTO `sale_details` (`sale_id`, `product_id`, `qty`, `sell_price`, `sale_type_id`, `lease_unit_price`) VALUES ('20180718135026', '1', '1', '310', '3', '365.8');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Sales', 'create', 'invoice_no-1001 total amount-365.80', '20', '2018-07-18 13:50:27');
INSERT INTO `purchase_return` (`po_no`, `supplier_id`, `return_date`, `totalamount`, `return_reason`, `createby`, `createdate`) VALUES ('20180718084850', '9', '2018-07-18', '200.00', '', '2', '2018-07-18 14:03:33');
INSERT INTO `purchase_return_details` (`preturn_id`, `product_id`, `qty`, `store_id`, `product_rate`) VALUES (1, '1', '1', '8', '200');
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('20180718084850', 'PO', '2018-07-18 14:03:33', '5020206', 'P Return For 20180718084850', '200.00', 0, '2', 1, '2', '2018-07-18 14:03:33', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('20180718084850', 'PO', '2018-07-18 14:03:33', 10107, 'Purchase Return For PO No20180718084850', 0, '200.00', '2', 1, '2', '2018-07-18 14:03:33', 1);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
INSERT INTO `sales_return` (`invoice_no`, `customer_id`, `store_id`, `sale_type_id`, `return_date`, `totalamount`, `return_reason`, `createby`, `createdate`) VALUES ('1000', '22', '8', '2', '2018-07-18', '310.00', '', '2', '2018-07-18 14:07:52');
INSERT INTO `sales_return_details` (`sreturn_id`, `product_id`, `qty`, `product_rate`) VALUES (1, '1', '1', '310');
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES (1, 'RT', '2018-07-18 14:07:52', '1020301000011', 'Receive For 1', '310.00', 0, '8', 1, '2', '2018-07-18 14:07:52', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1000', 'RT', '2018-07-18 14:07:52', 403, 'RT For Invoice No1000', 0, 0, '2', 1, '2', '2018-07-18 14:07:52', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1000', 'RT', '2018-07-18 14:07:52', 10107, 'RT For Invoice No1000', 0, 0, '2', 1, '2', '2018-07-18 14:07:52', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1000', 'CIV', '2018-07-18 14:07:52', 1020101, 'CIV For Invoice No1000', 0, '310.00', '2', 1, '2', '2018-07-18 14:07:52', 1);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
INSERT INTO `stock_movement` (`proposal_code`, `for_store_id`, `from_store_id`, `proposal_datetime`, `proposal_by`) VALUES ('p-0001', '8', '6', '2018-07-18 14:08:39', '2');
INSERT INTO `stock_movement_details` (`movement_id`, `product_id`, `proposal_qty`) VALUES (1, '1', '2');
INSERT INTO `stock_movement_details` (`movement_id`, `product_id`, `proposal_qty`) VALUES (1, '2', '1');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Stockmovment', 'create', 'Stockmovment ID :1', '2', '2018-07-18 14:09:29');
UPDATE `user` SET `last_logout` = '2018-07-18 14:09:38'
WHERE `id` = '20';
UPDATE `user` SET `last_login` = '2018-07-18 14:09:56', `ip_address` = '::1'
WHERE `id` = '21';
UPDATE `stock_movement` SET `movement_id` = '1', `proposal_code` = 'p-0001', `for_store_id` = '8', `from_store_id` = '6', `proposal_datetime` = '2018-07-18 14:08:39', `proposal_by` = '2', `issue_by` = '21', `for_warehouse` = 0, `from_warehouse` = 0, `issue_code` = 'is-1', `issue_datetime` = '2018-07-18 14:10:19', `issue_remarks` = 'Test remark', `is_issued` = 1
WHERE `movement_id` = '1';
UPDATE `stock_movement_details` SET `movement_id` = '1', `product_id` = '1', `proposal_qty` = '2', `issue_qty` = '2', `received_qty` = 0
WHERE `movement_id` = '1'
AND `product_id` = '1';
UPDATE `stock_movement_details` SET `movement_id` = '1', `product_id` = '2', `proposal_qty` = '1', `issue_qty` = '1', `received_qty` = 0
WHERE `movement_id` = '1'
AND `product_id` = '2';
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Stockmovment', 'issue', 'Stockmovment ID :1', '21', '2018-07-18 14:10:19');
UPDATE `user` SET `last_logout` = '2018-07-18 14:10:28'
WHERE `id` = '21';
DELETE FROM `role_permission`
WHERE `role_id` = '3';
INSERT INTO `role_permission` (`create`, `delete`, `fk_module_id`, `read`, `role_id`, `update`) VALUES (0,0,'8',0,'3',0), (0,0,'6',0,'3',0), (0,0,'5',0,'3',0), (0,0,'13',0,'3',0), (0,0,'14',0,'3',0), (0,0,'7',0,'3',0), ('1','1','10','1','3','1'), (0,0,'19',0,'3',0), (0,0,'18',0,'3',0), ('1','1','12','1','3','1'), ('1','1','17','1','3','1'), (0,0,'3',0,'3',0), (0,0,'9',0,'3',0), (0,0,'4',0,'3',0);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Role Permission', 'create', 'Role id :360', '2', '2018-07-18 14:10:58');
UPDATE `user` SET `last_login` = '2018-07-18 14:11:14', `ip_address` = '::1'
WHERE `id` = '20';
UPDATE `stock_movement` SET `movement_id` = '1', `proposal_code` = 'p-0001', `for_store_id` = '8', `from_store_id` = '6', `proposal_by` = NULL, `issue_by` = '20', `for_warehouse` = 0, `from_warehouse` = 0, `issue_code` = 'is-1', `issue_remarks` = NULL, `is_issued` = 1, `is_received` = 1, `is_proposed` = 1, `receive_by` = '20', `receive_datetime` = '2018-07-18 14:11:26'
WHERE `movement_id` = '1';
UPDATE `stock_movement_details` SET `movement_id` = '1', `product_id` = '1', `proposal_qty` = '2', `issue_qty` = '2', `received_qty` = '2'
WHERE `movement_id` = '1'
AND `product_id` = '1';
UPDATE `stock_movement_details` SET `movement_id` = '1', `product_id` = '2', `proposal_qty` = '1', `issue_qty` = '1', `received_qty` = '1'
WHERE `movement_id` = '1'
AND `product_id` = '2';
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('stockmovement ', 'create', 'movemet received', '20', '2018-07-18 14:11:26');
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
INSERT INTO `customer_overdue` (`customer_id`, `installment`, `recovery`, `surplus`, `Deficit`, `Overdue`, `Invoice_no`, `store_id`) VALUES (NULL, NULL, NULL, 0, 0, 0, NULL, NULL);
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
INSERT INTO `customer_overdue` (`customer_id`, `installment`, `recovery`, `surplus`, `Deficit`, `Overdue`, `Invoice_no`, `store_id`) VALUES (NULL, NULL, NULL, 0, 0, 0, NULL, NULL);
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
INSERT INTO `customer_overdue` (`customer_id`, `installment`, `recovery`, `surplus`, `Deficit`, `Overdue`, `Invoice_no`, `store_id`) VALUES (NULL, NULL, NULL, 0, 0, 0, NULL, NULL);
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
INSERT INTO `customer_overdue` (`customer_id`, `installment`, `recovery`, `surplus`, `Deficit`, `Overdue`, `Invoice_no`, `store_id`) VALUES (NULL, NULL, NULL, 0, 0, 0, NULL, NULL);
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
INSERT INTO `customer_overdue` (`customer_id`, `installment`, `recovery`, `surplus`, `Deficit`, `Overdue`, `Invoice_no`, `store_id`) VALUES (NULL, NULL, NULL, 0, 0, 0, NULL, NULL);
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
INSERT INTO `customer_overdue` (`customer_id`, `installment`, `recovery`, `surplus`, `Deficit`, `Overdue`, `Invoice_no`, `store_id`) VALUES (NULL, NULL, NULL, 0, 0, 0, NULL, NULL);
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
INSERT INTO `customer_overdue` (`customer_id`, `installment`, `recovery`, `surplus`, `Deficit`, `Overdue`, `Invoice_no`, `store_id`) VALUES (NULL, NULL, NULL, 0, 0, 0, NULL, NULL);
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
INSERT INTO `customer_overdue` (`customer_id`, `installment`, `recovery`, `surplus`, `Deficit`, `Overdue`, `Invoice_no`, `store_id`) VALUES (NULL, NULL, NULL, 0, 0, 0, NULL, NULL);
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
INSERT INTO `customer_overdue` (`customer_id`, `installment`, `recovery`, `surplus`, `Deficit`, `Overdue`, `Invoice_no`, `store_id`) VALUES (NULL, NULL, NULL, 0, 0, 0, NULL, NULL);
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
INSERT INTO `customer_overdue` (`customer_id`, `installment`, `recovery`, `surplus`, `Deficit`, `Overdue`, `Invoice_no`, `store_id`) VALUES (NULL, NULL, NULL, 0, 0, 0, NULL, NULL);
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
INSERT INTO `customer_overdue` (`customer_id`, `installment`, `recovery`, `surplus`, `Deficit`, `Overdue`, `Invoice_no`, `store_id`) VALUES (NULL, NULL, NULL, 0, 0, 0, NULL, NULL);
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
INSERT INTO `customer_overdue` (`customer_id`, `installment`, `recovery`, `surplus`, `Deficit`, `Overdue`, `Invoice_no`, `store_id`) VALUES (NULL, NULL, NULL, 0, 0, 0, NULL, NULL);
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
INSERT INTO `customer_overdue` (`customer_id`, `installment`, `recovery`, `surplus`, `Deficit`, `Overdue`, `Invoice_no`, `store_id`) VALUES (NULL, NULL, NULL, 0, 0, 0, NULL, NULL);
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
INSERT INTO `customer_overdue` (`customer_id`, `installment`, `recovery`, `surplus`, `Deficit`, `Overdue`, `Invoice_no`, `store_id`) VALUES (NULL, NULL, NULL, 0, 0, 0, NULL, NULL);
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
INSERT INTO `customer_overdue` (`customer_id`, `installment`, `recovery`, `surplus`, `Deficit`, `Overdue`, `Invoice_no`, `store_id`) VALUES (NULL, NULL, NULL, 0, 0, 0, NULL, NULL);
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
INSERT INTO `customer_overdue` (`customer_id`, `installment`, `recovery`, `surplus`, `Deficit`, `Overdue`, `Invoice_no`, `store_id`) VALUES (NULL, NULL, NULL, 0, 0, 0, NULL, NULL);
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
INSERT INTO `customer_overdue` (`customer_id`, `installment`, `recovery`, `surplus`, `Deficit`, `Overdue`, `Invoice_no`, `store_id`) VALUES (NULL, NULL, NULL, 0, 0, 0, NULL, NULL);
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
UPDATE `user` SET `last_logout` = '2018-07-18 14:38:13'
WHERE `id` = '20';
UPDATE `user` SET `last_login` = '2018-07-18 14:38:20', `ip_address` = '::1'
WHERE `id` = '2';
INSERT INTO `customer_overdue` (`customer_id`, `installment`, `recovery`, `surplus`, `Deficit`, `Overdue`, `Invoice_no`, `store_id`) VALUES (NULL, NULL, NULL, 0, 0, 0, NULL, NULL);
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
INSERT INTO `customer_overdue` (`customer_id`, `installment`, `recovery`, `surplus`, `Deficit`, `Overdue`, `Invoice_no`, `store_id`) VALUES (NULL, NULL, NULL, 0, 0, 0, NULL, NULL);
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
INSERT INTO `customer_overdue` (`customer_id`, `installment`, `recovery`, `surplus`, `Deficit`, `Overdue`, `Invoice_no`, `store_id`) VALUES (NULL, NULL, NULL, 0, 0, 0, NULL, NULL);
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
INSERT INTO `customer_overdue` (`customer_id`, `installment`, `recovery`, `surplus`, `Deficit`, `Overdue`, `Invoice_no`, `store_id`) VALUES (NULL, NULL, NULL, 0, 0, 0, NULL, NULL);
INSERT INTO `customer_overdue` (`customer_id`, `installment`, `recovery`, `surplus`, `Deficit`, `Overdue`, `Invoice_no`, `store_id`) VALUES (NULL, NULL, NULL, 0, 0, 0, NULL, NULL);
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
INSERT INTO `payment_collection` (`id`, `invoice_no`, `customer_id`, `receive_amnt`, `receive_date`, `receive_by`, `is_installment`) VALUES ('', '1001', '23', '50', '2018-07-18', '2', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1001', 'RECVIV', '2018-07-18', 1020101, 'RECVIV For Invoice No1001', '50', 0, '2', 1, '2', '2018-07-18', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1001', 'RECVIV', '2018-07-18', '1020301000012', 'RECVIV For Invoice No1001', 0, '50', '2', 1, '2', '2018-07-18', 1);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('recovery', 'create', 'payment ID :4', '2', '2018-07-18 15:20:19');
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
UPDATE `user` SET `last_login` = '2018-07-18 13:57:57', `ip_address` = '172.68.146.129'
WHERE `id` = '2';
UPDATE `user` SET `last_login` = '2018-07-18 16:31:22', `ip_address` = '141.101.88.149'
WHERE `id` = '2';
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
INSERT INTO `acc_coa` (`HeadCode`, `HeadName`, `PHeadName`, `HeadLevel`, `IsActive`, `IsTransaction`, `IsGL`, `HeadType`, `IsBudget`, `IsDepreciation`, `DepreciationRate`, `CreateBy`, `CreateDate`) VALUES (1020301000008, 'ls-9-Zubair', 'Customer Receivable', '4', '1', '1', '0', 'A', '0', '0', '0', '2', '2018-07-18 16:32:54');
INSERT INTO `customer` (`customer_code`, `customer_name`, `customer_phone`, `type`, `job_designation`, `store_id`, `customer_address`, `customer_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('ls-9', 'Zubair', '0304123456789', '3', '', '2', '', '12345674', '', 1, '2', '2018-07-18 16:32:54');
INSERT INTO `gurrantor` (`gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('gc-51', 'Test', '1111', '2', '', '', '123', '', 1, '2', '2018-07-18 16:33:11');
INSERT INTO `gurrantor` (`gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('gc-52', 'Test1', '2222', '2', '', '', '1234', '', 1, '2', '2018-07-18 16:33:11');
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
INSERT INTO `sales_parent` (`sale_id`, `invoice_no`, `customer_id`, `sale_type_id`, `store_id`, `salesman`, `sales_date`, `sales_time`, `gurrantor_1`, `gurrantor_2`, `advance_amnt`, `lease_id`, `inquiry_officer`, `remaining_amnt`, `installment_amnt`, `package_price`, `total_amnt`) VALUES ('20180718163409', '1011', '13', '3', '2', '2', '2018-07-18', '16:34:09', '72', '71', '2300.00', '1', '', '25875.00', '8625.00', '28175.00', '28175.00');
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1011', 'LSIV', '2018-07-18 16:34:09', '1020301000008', 'ls-9-Zubair Credit For Invoice No1011', 0, '2300.00', '2', 1, '2', '2018-07-18 16:34:09', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1011', 'LSIV', '2018-07-18 16:34:09', '1020301000008', 'ls-9-Zubair Debit of Remaining Price For Invoice#1011', '28175.00', 0, '2', 1, '2', '2018-07-18 16:34:09', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1011', 'LSIV', '2018-07-18 16:34:09', 1020101, 'Cash In Hand Debit For Invoice No1011', '2300.00', 0, '2', 1, '2', '2018-07-18 16:34:09', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1011', 'LSIV', '2018-07-18 16:34:09', 30102, 'Store Credit For Invoice No1011', 0, '28175.00', '2', 1, '2', '2018-07-18 16:34:09', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1011', 'LSIV', '2018-07-18 16:34:09', 403, 'Cost Of Sale Debit For Invoice No1011', 20000, 0, '2', 1, '2', '2018-07-18 16:34:09', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1011', 'LSIV', '2018-07-18 16:34:09', 10107, 'Inventory Credit For Invoice No1011', 0, 20000, '2', 1, '2', '2018-07-18 16:34:09', 1);
INSERT INTO `payment_collection` (`sale_id`, `invoice_no`, `customer_id`, `receive_amnt`, `due_amnt`, `receive_by`, `receive_date`) VALUES ('20180718163409', '1011', '13', '2300.00', '25875.00', '2', '2018-07-18');
INSERT INTO `customer_gurrantor_map` (`lease_id`, `customer_id`, `gurrantor_id`) VALUES ('1', '13', '72');
INSERT INTO `customer_gurrantor_map` (`lease_id`, `customer_id`, `gurrantor_id`) VALUES ('1', '13', '71');
INSERT INTO `sale_details` (`sale_id`, `product_id`, `qty`, `sell_price`, `sale_type_id`, `lease_unit_price`) VALUES ('20180718163409', '17', '1', '23000', '3', '28175');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Sales', 'create', 'invoice_no-1011 total amount-28175.00', '2', '2018-07-18 16:34:09');
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('20180718163807', 'PO', '2018-07-18 16:38:07', '5020203', 'PO For 20180718163807', 0, '230000.00', '2', 1, '2', '2018-07-18 16:38:07', 1);
INSERT INTO `purchase_order` (`po_no`, `supplier_id`, `total_amnt`, `store_id`, `warehouse_id`, `createby`, `createdate`, `isapproved`) VALUES ('20180718163807', '6', '230000.00', 0, 0, '2', '2018-07-18 16:38:07', 0);
INSERT INTO `purchase_order_details` (`row_id`, `po_no`, `product_id`, `order_qty`, `product_rate`, `discount`, `store_id`) VALUES ('113299265674737', '20180718163807', '17', '10', '23000', '', '6');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('purchase order', 'create', 'Orde Id-20180718163807 total amount-230000.00', '2', '2018-07-18 16:38:07');
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('20180718163910', 'PO', '2018-07-18 16:39:10', NULL, 'PO For 20180718163910', 0, '115000.00', '2', 1, '2', '2018-07-18 16:39:10', 1);
INSERT INTO `purchase_order` (`po_no`, `supplier_id`, `total_amnt`, `store_id`, `warehouse_id`, `createby`, `createdate`, `isapproved`) VALUES ('20180718163910', '4', '115000.00', 0, 0, '2', '2018-07-18 16:39:10', 0);
INSERT INTO `purchase_order_details` (`row_id`, `po_no`, `product_id`, `order_qty`, `product_rate`, `discount`, `store_id`) VALUES ('454662332335914', '20180718163910', '18', '5', '23000', '', '7');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('purchase order', 'create', 'Orde Id-20180718163910 total amount-115000.00', '2', '2018-07-18 16:39:10');
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('DV-3', 'DV', '2018-07-18', '1020101', '', 0, '150000.00', '2', 1, '2', '2018-07-18 16:41:54', 0);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('DV-3', 'DV', '2018-07-18', '5020203', '', '150000', 0, '2', 1, '2', '2018-07-18 16:41:54', 0);
UPDATE `acc_transaction` SET `VNo` = 'DV-1', `IsAppove` = 1
WHERE `VNo` = 'DV-1';
UPDATE `acc_transaction` SET `VNo` = 'DV-3', `IsAppove` = 1
WHERE `VNo` = 'DV-3';
INSERT INTO `stock_movement` (`proposal_code`, `for_store_id`, `from_store_id`, `proposal_datetime`, `proposal_by`) VALUES ('p-6', '6', '7', '2018-07-18 16:47:14', '2');
INSERT INTO `stock_movement_details` (`movement_id`, `product_id`, `proposal_qty`) VALUES (9, '17', '2');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Stockmovment', 'create', 'Stockmovment ID :9', '2', '2018-07-18 16:47:30');
UPDATE `user` SET `last_login` = '2018-07-18 16:48:17', `ip_address` = '141.101.88.149'
WHERE `id` = '24';
UPDATE `user` SET `last_login` = '2018-07-19 04:15:47', `ip_address` = '162.158.167.187'
WHERE `id` = '2';
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
UPDATE `user` SET `last_login` = '2018-07-19 05:05:25', `ip_address` = '172.69.134.46'
WHERE `id` = '2';
INSERT INTO `acc_coa` (`HeadCode`, `HeadName`, `PHeadName`, `HeadLevel`, `IsActive`, `IsTransaction`, `IsGL`, `HeadType`, `IsBudget`, `IsDepreciation`, `DepreciationRate`, `CreateBy`, `CreateDate`) VALUES (5020204, 'sup-7-MS. Tel&Co.', 'Account Payable', '3', '1', '1', '0', 'L', '0', '0', '0', '2', '2018-07-19 05:06:18');
INSERT INTO `supplier` (`supplier_id`, `supplier_name`, `supplier_code`, `phone`, `address`, `email`, `contact_per_name`, `c_p_contact`, `isactive`, `createby`, `createdate`, `updateby`, `updatedate`) VALUES ('', 'MS. Tel&Co.', 'sup-7', '76876876876', 'Test Address', '', '', '', 1, '2', '2018-07-19 05:06:18', '', '');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Supplier', 'create', 'Supplier ID :7', '2', '2018-07-19 05:06:18');
UPDATE `product` SET `product_id` = '19', `product_name` = 'AC-Eco star-5100', `product_code` = 'pro-9', `category` = 'AC', `model` = '5100', `unit` = 'Ea', `brand` = 'Eco star', `product_details` = '', `purchase_price` = '50000', `minimum_price` = '40000', `retail_price` = '45000', `block_price` = '0', `isactive` = '0'
WHERE `product_id` IN('19');
UPDATE `product` SET `product_id` = '18', `product_name` = 'Led-Eco star-30D2000', `product_code` = 'pro-8', `category` = '1', `model` = '30D2000', `unit` = 'Ea', `brand` = 'Eco star', `product_details` = '', `purchase_price` = '40000', `minimum_price` = '45000', `retail_price` = '55000', `block_price` = '43000', `isactive` = '1'
WHERE `product_id` IN('18');
UPDATE `product` SET `product_id` = '17', `product_name` = 'Led-Eco star-20Dl2000', `product_code` = 'pro-7', `category` = '1', `model` = '20Dl2000', `unit` = 'Ea', `brand` = 'Eco star', `product_details` = '', `purchase_price` = '20000', `minimum_price` = '22000', `retail_price` = '23000', `block_price` = '20000', `isactive` = '1'
WHERE `product_id` IN('17');
UPDATE `product` SET `product_id` = '16', `product_name` = 'Ref-Dawlance-9175', `product_code` = 'pro-6', `category` = '1', `model` = '9175', `unit` = 'Ea', `brand` = 'Dawlance', `product_details` = '', `purchase_price` = '1500', `minimum_price` = '2000', `retail_price` = '2500', `block_price` = '1900', `isactive` = '1'
WHERE `product_id` IN('16');
UPDATE `product` SET `product_id` = '15', `product_name` = 'Ref-Dawlance-9170', `product_code` = 'pro-5', `category` = 'Ref', `model` = '9170', `unit` = 'Ea', `brand` = 'Dawlance', `product_details` = '', `purchase_price` = '1000', `minimum_price` = '1500', `retail_price` = '2000', `block_price` = '1200', `isactive` = '1'
WHERE `product_id` IN('15');
UPDATE `product` SET `product_id` = '14', `product_name` = 'Test-Second-Test Model', `product_code` = 'pro-4', `category` = 'Test', `model` = 'Test Model', `unit` = 'Test', `brand` = 'Second', `product_details` = '', `purchase_price` = '1000', `minimum_price` = '1200', `retail_price` = '1500', `block_price` = '1100', `isactive` = '1'
WHERE `product_id` IN('14');
UPDATE `product` SET `product_id` = '13', `product_name` = 'Test-Second-Test Model', `product_code` = 'pro-3', `category` = 'Test', `model` = 'Test Model', `unit` = 'Test', `brand` = 'Second', `product_details` = '', `purchase_price` = '5', `minimum_price` = '7', `retail_price` = '10', `block_price` = '0', `isactive` = '1'
WHERE `product_id` IN('13');
UPDATE `product` SET `product_id` = '12', `product_name` = 'Test+Second+Test Model', `product_code` = 'pro-2', `category` = '1', `model` = 'Test Model', `unit` = '1', `brand` = '1', `product_details` = '', `purchase_price` = '12', `minimum_price` = '16', `retail_price` = '19', `block_price` = '0', `isactive` = '1'
WHERE `product_id` IN('12');
UPDATE `product` SET `product_id` = '11', `product_name` = 'Banana', `product_code` = 'pro-0001', `category` = '1', `model` = '1', `unit` = '1', `brand` = '1', `product_details` = 'sdfsdf', `purchase_price` = '100', `minimum_price` = '110', `retail_price` = '115', `block_price` = '105', `isactive` = '1'
WHERE `product_id` IN('11');
UPDATE `product` SET `product_id` = '10', `product_name` = 'Orange', `product_code` = 'o-12', `category` = '0', `model` = '0', `unit` = '0', `brand` = '0', `product_details` = 'measurement test', `purchase_price` = '120', `minimum_price` = '130', `retail_price` = '150', `block_price` = '6', `isactive` = '1'
WHERE `product_id` IN('10');
INSERT INTO `product_category` (`category_id`, `category_name`, `isactive`) VALUES ('', 'LED', 1);
INSERT INTO `product_model` (`model_id`, `model_name`, `isactive`) VALUES ('', 'Eco Star', 1);
INSERT INTO `product_brand` (`brand_id`, `brand_name`, `isactive`) VALUES ('', '30D2000', 1);
UPDATE `product_brand` SET `brand_id` = '3', `brand_name` = 'Eco Star', `isactive` = 1
WHERE `brand_id` = '3';
UPDATE `product_model` SET `model_id` = '2', `model_name` = '30D2000', `isactive` = 1
WHERE `model_id` = '2';
UPDATE `product` SET `product_id` = '18', `product_name` = 'LED-Eco Star-30D2000', `product_code` = 'pro-8', `model` = '2', `category` = '2', `brand` = '3', `unit` = '1', `product_details` = 'dfsdfsdf', `purchase_price` = '40000', `block_price` = '43000', `minimum_price` = '45000', `retail_price` = '55000', `createby` = '2', `createdate` = '2018-07-19 05:10:31', `updateby` = '2', `updatedate` = '2018-07-19 05:10:31', `isactive` = 1
WHERE `product_id` = '18';
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Product', 'update', 'product ID :18', '2', '2018-07-19 05:10:31');
UPDATE `product` SET `product_id` = '19', `product_name` = 'AC-Eco star-5100', `product_code` = 'pro-9', `category` = 'AC', `model` = '5100', `unit` = 'Ea', `brand` = 'Eco star', `product_details` = '', `purchase_price` = '50000', `minimum_price` = '40000', `retail_price` = '45000', `block_price` = '0', `isactive` = '0'
WHERE `product_id` IN('19');
UPDATE `product` SET `product_id` = '18', `product_name` = 'LED-Eco Star-30D2000', `product_code` = 'pro-8', `category` = '2', `model` = '2', `unit` = '1', `brand` = '3', `product_details` = 'dfsdfsdf', `purchase_price` = '40000', `minimum_price` = '45000', `retail_price` = '55000', `block_price` = '43000', `isactive` = '1'
WHERE `product_id` IN('18');
UPDATE `product` SET `product_id` = '17', `product_name` = 'Led-Eco star-20Dl2000', `product_code` = 'pro-7', `category` = '1', `model` = '20Dl2000', `unit` = 'Ea', `brand` = 'Eco star', `product_details` = '', `purchase_price` = '20000', `minimum_price` = '22000', `retail_price` = '23000', `block_price` = '20000', `isactive` = '1'
WHERE `product_id` IN('17');
UPDATE `product` SET `product_id` = '16', `product_name` = 'Ref-Dawlance-9175', `product_code` = 'pro-6', `category` = '1', `model` = '9175', `unit` = 'Ea', `brand` = 'Dawlance', `product_details` = '', `purchase_price` = '1500', `minimum_price` = '2000', `retail_price` = '2500', `block_price` = '1900', `isactive` = '1'
WHERE `product_id` IN('16');
UPDATE `product` SET `product_id` = '15', `product_name` = 'Ref-Dawlance-9170', `product_code` = 'pro-5', `category` = 'Ref', `model` = '9170', `unit` = 'Ea', `brand` = 'Dawlance', `product_details` = '', `purchase_price` = '1000', `minimum_price` = '1500', `retail_price` = '2000', `block_price` = '1200', `isactive` = '1'
WHERE `product_id` IN('15');
UPDATE `product` SET `product_id` = '14', `product_name` = 'Test-Second-Test Model', `product_code` = 'pro-4', `category` = 'Test', `model` = 'Test Model', `unit` = 'Test', `brand` = 'Second', `product_details` = '', `purchase_price` = '1000', `minimum_price` = '1200', `retail_price` = '1500', `block_price` = '1100', `isactive` = '1'
WHERE `product_id` IN('14');
UPDATE `product` SET `product_id` = '13', `product_name` = 'Test-Second-Test Model', `product_code` = 'pro-3', `category` = 'Test', `model` = 'Test Model', `unit` = 'Test', `brand` = 'Second', `product_details` = '', `purchase_price` = '5', `minimum_price` = '7', `retail_price` = '10', `block_price` = '0', `isactive` = '1'
WHERE `product_id` IN('13');
UPDATE `product` SET `product_id` = '12', `product_name` = 'Test+Second+Test Model', `product_code` = 'pro-2', `category` = '1', `model` = 'Test Model', `unit` = '1', `brand` = '1', `product_details` = '', `purchase_price` = '12', `minimum_price` = '16', `retail_price` = '19', `block_price` = '0', `isactive` = '1'
WHERE `product_id` IN('12');
UPDATE `product` SET `product_id` = '11', `product_name` = 'Banana', `product_code` = 'pro-0001', `category` = '1', `model` = '1', `unit` = '1', `brand` = '1', `product_details` = 'sdfsdf', `purchase_price` = '100', `minimum_price` = '110', `retail_price` = '115', `block_price` = '105', `isactive` = '1'
WHERE `product_id` IN('11');
UPDATE `product` SET `product_id` = '10', `product_name` = 'Orange', `product_code` = 'o-12', `category` = '0', `model` = '0', `unit` = '0', `brand` = '0', `product_details` = 'measurement test', `purchase_price` = '120', `minimum_price` = '130', `retail_price` = '150', `block_price` = '6', `isactive` = '1'
WHERE `product_id` IN('10');
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('20180719051134', 'PO', '2018-07-19 05:11:34', '5020204', 'PO For 20180719051134', 0, '400000.00', '2', 1, '2', '2018-07-19 05:11:34', 1);
INSERT INTO `purchase_order` (`po_no`, `supplier_id`, `total_amnt`, `store_id`, `warehouse_id`, `createby`, `createdate`, `isapproved`) VALUES ('20180719051134', '7', '400000.00', 0, 0, '2', '2018-07-19 05:11:34', 0);
INSERT INTO `purchase_order_details` (`row_id`, `po_no`, `product_id`, `order_qty`, `product_rate`, `discount`, `store_id`) VALUES ('667523457583958', '20180719051134', '18', '10', '40000', '', '6');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('purchase order', 'create', 'Orde Id-20180719051134 total amount-400000.00', '2', '2018-07-19 05:11:34');
UPDATE `user` SET `last_login` = '2018-07-19 10:12:56', `ip_address` = '172.69.134.46'
WHERE `id` = '2';
INSERT INTO `acc_coa` (`HeadCode`, `HeadName`, `PHeadName`, `HeadLevel`, `IsActive`, `IsTransaction`, `IsGL`, `HeadType`, `IsBudget`, `CreateBy`, `CreateDate`) VALUES ('404', 'Sale Discount', 'Expence', '1', '1', '1', 0, 'E', 0, '2', '2018-07-19 10:15:11');
UPDATE `user` SET `last_logout` = '2018-07-19 10:49:01'
WHERE `id` IS NULL;
UPDATE `user` SET `last_logout` = '2018-07-19 10:52:09'
WHERE `id` IS NULL;
UPDATE `user` SET `last_login` = '2018-07-19 11:37:42', `ip_address` = '141.101.69.58'
WHERE `id` = '2';
INSERT INTO `lease` (`package_code`, `package_name`, `lease_duration`, `advance`, `markup`, `isactive`, `createby`, `createdate`) VALUES ('sdfsdfsdf', 'fsdfsdfsdf', '2', 0.02, 0.11, 1, '2', '2018-07-19 12:13:42');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('leases', 'create', 'Lease Id-5', '2', '2018-07-19 12:13:42');
UPDATE `lease` SET `lease_id` = '5', `package_code` = 'sdfsdfsdf', `package_name` = 'fsdfsdfsdf', `lease_duration` = '2', `advance` = 0.02, `markup` = 0.11, `isactive` = 1, `updateby` = '2', `updatedate` = '2018-07-19 12:15:09'
WHERE `lease_id` = '5';
DELETE FROM `lease_store_map`
WHERE `lease_id` = '5';
DELETE FROM `lease_product_map`
WHERE `lease_id` = '5';
INSERT INTO `lease_product_map` (`lease_id`, `product_id`) VALUES ('5', '8');
INSERT INTO `lease_product_map` (`lease_id`, `product_id`) VALUES ('5', '10');
INSERT INTO `lease_product_map` (`lease_id`, `product_id`) VALUES ('5', '12');
INSERT INTO `lease_product_map` (`lease_id`, `product_id`) VALUES ('5', '13');
INSERT INTO `lease_product_map` (`lease_id`, `product_id`) VALUES ('5', '15');
INSERT INTO `lease_product_map` (`lease_id`, `product_id`) VALUES ('5', '16');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('leases', 'update', 'Lease Id-5', '2', '2018-07-19 12:15:09');
UPDATE `lease` SET `lease_id` = '5', `package_code` = 'sdfsdfsdf', `package_name` = 'fsdfsdfsdf', `lease_duration` = '2', `advance` = 0.02, `markup` = 0.11, `isactive` = 1, `updateby` = '2', `updatedate` = '2018-07-19 12:15:24'
WHERE `lease_id` = '5';
DELETE FROM `lease_store_map`
WHERE `lease_id` = '5';
DELETE FROM `lease_product_map`
WHERE `lease_id` = '5';
INSERT INTO `lease_product_map` (`lease_id`, `product_id`) VALUES ('5', '8');
INSERT INTO `lease_product_map` (`lease_id`, `product_id`) VALUES ('5', '10');
INSERT INTO `lease_product_map` (`lease_id`, `product_id`) VALUES ('5', '12');
INSERT INTO `lease_product_map` (`lease_id`, `product_id`) VALUES ('5', '13');
INSERT INTO `lease_product_map` (`lease_id`, `product_id`) VALUES ('5', '15');
INSERT INTO `lease_product_map` (`lease_id`, `product_id`) VALUES ('5', '16');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('leases', 'update', 'Lease Id-5', '2', '2018-07-19 12:15:24');
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('20180719122046', 'PO', '2018-07-19 12:20:46', NULL, 'PO For 20180719122046', 0, '31751.00', '2', 1, '2', '2018-07-19 12:20:46', 1);
INSERT INTO `purchase_order` (`po_no`, `supplier_id`, `total_amnt`, `store_id`, `warehouse_id`, `createby`, `createdate`, `isapproved`) VALUES ('20180719122046', '3', '31751.00', 0, 0, '2', '2018-07-19 12:20:46', 0);
INSERT INTO `purchase_order_details` (`row_id`, `po_no`, `product_id`, `order_qty`, `product_rate`, `discount`, `store_id`) VALUES ('748875771633298', '20180719122046', '6', '11', '1111', '2', '6');
INSERT INTO `purchase_order_details` (`row_id`, `po_no`, `product_id`, `order_qty`, `product_rate`, `discount`, `store_id`) VALUES ('487975623541696', '20180719122046', '', '44', '444', '4', '5');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('purchase order', 'create', 'Orde Id-20180719122046 total amount-31751.00', '2', '2018-07-19 12:20:46');
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
UPDATE `acc_coa` SET `HeadCode` = '1020102', `HeadName` = 'Cash At Bank', `PHeadName` = 'Cash & Cash Equivalent', `HeadLevel` = '3', `IsActive` = '1', `IsTransaction` = '1', `IsGL` = 0, `HeadType` = 'A', `IsBudget` = 0, `CreateBy` = '2', `CreateDate` = '2018-07-19 13:42:21'
WHERE `HeadCode` = '1020102';
UPDATE `acc_coa` SET `PHeadName` = 'Cash At Bank'
WHERE `PHeadName` = 'Cash At Bank';
UPDATE `user` SET `last_login` = '2018-07-19 13:42:27', `ip_address` = '172.68.144.230'
WHERE `id` = '2';
UPDATE `acc_coa` SET `HeadCode` = '1020102', `HeadName` = 'Cash At Bank', `PHeadName` = 'Cash & Cash Equivalent', `HeadLevel` = '3', `IsActive` = '1', `IsTransaction` = 0, `IsGL` = 0, `HeadType` = 'A', `IsBudget` = 0, `CreateBy` = '2', `CreateDate` = '2018-07-19 13:43:59'
WHERE `HeadCode` = '1020102';
UPDATE `acc_coa` SET `PHeadName` = 'Cash At Bank'
WHERE `PHeadName` = 'Cash At Bank';
INSERT INTO `acc_coa` (`HeadCode`, `HeadName`, `PHeadName`, `HeadLevel`, `IsActive`, `IsTransaction`, `IsGL`, `HeadType`, `IsBudget`, `CreateBy`, `CreateDate`) VALUES ('10201020301', 'Branch 1', 'Standard Bank', '5', '1', '1', '1', 'A', 0, '2', '2018-07-19 13:44:33');
UPDATE `user` SET `last_login` = '2018-07-21 07:11:53', `ip_address` = '108.162.229.215'
WHERE `id` = '2';
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('20180721071535', 'PO', '2018-07-21 07:15:35', NULL, 'PO For 20180721071535', 0, '40000.00', '2', 1, '2', '2018-07-21 07:15:35', 1);
INSERT INTO `purchase_order` (`po_no`, `supplier_id`, `total_amnt`, `store_id`, `warehouse_id`, `createby`, `createdate`, `isapproved`) VALUES ('20180721071535', '1', '40000.00', 0, 0, '2', '2018-07-21 07:15:35', 0);
INSERT INTO `purchase_order_details` (`row_id`, `po_no`, `product_id`, `order_qty`, `product_rate`, `discount`, `store_id`) VALUES ('894673249984923', '20180721071535', '18', '1', '40000', '', '7');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('purchase order', 'create', 'Orde Id-20180721071535 total amount-40000.00', '2', '2018-07-21 07:15:35');
INSERT INTO `purchase_receive` (`receive_id`, `po_no`, `supplier_id`, `store_id`, `warehouse_id`, `voucher_no`, `receive_by`, `receive_date`) VALUES ('20180721071558', '20180721071535', '1', 0, 0, 1003, '2', '2018-07-21 07:15:58');
INSERT INTO `purchase_receive_details` (`receive_id`, `product_id`, `receive_qty`, `product_rate`, `store_id`, `discount`) VALUES ('20180721071558', '18', '1', '40000', '7', '');
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('20180721071535', 'PO', '2018-07-21 07:15:58', 10107, 'PO Receive Receive No 20180721071558', '40000.00', 0, '7', 1, NULL, NULL, 1);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('purchase order receive', 'create', 'Orde Id- total amount-40000.00', '2', '2018-07-21 07:15:58');
UPDATE `user` SET `last_login` = '2018-07-21 15:21:25', `ip_address` = '172.68.146.243'
WHERE `id` = '2';
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
UPDATE `user` SET `last_login` = '2018-07-23 09:29:59', `ip_address` = '172.68.144.128'
WHERE `id` = '2';
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
INSERT INTO `lease` (`package_code`, `package_name`, `lease_duration`, `advance`, `markup`, `isactive`, `createby`, `createdate`) VALUES ('AR-230718', 'AR-230718', '12', 0.1, 0.2, 1, '2', '2018-07-23 10:23:12');
INSERT INTO `lease_store_map` (`lease_id`, `store_id`) VALUES (6, '4');
INSERT INTO `lease_store_map` (`lease_id`, `store_id`) VALUES (6, '6');
INSERT INTO `lease_store_map` (`lease_id`, `store_id`) VALUES (6, '7');
INSERT INTO `lease_product_map` (`lease_id`, `product_id`) VALUES (6, '6');
INSERT INTO `lease_product_map` (`lease_id`, `product_id`) VALUES (6, '11');
INSERT INTO `lease_product_map` (`lease_id`, `product_id`) VALUES (6, '17');
INSERT INTO `lease_product_map` (`lease_id`, `product_id`) VALUES (6, '18');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('leases', 'create', 'Lease Id-6', '2', '2018-07-23 10:23:12');
INSERT INTO `lease` (`package_code`, `package_name`, `lease_duration`, `advance`, `markup`, `isactive`, `createby`, `createdate`) VALUES ('AR-02', 'AR-02', '12', 0.15, 0.3, 1, '2', '2018-07-23 10:25:18');
INSERT INTO `lease_store_map` (`lease_id`, `store_id`) VALUES (7, '4');
INSERT INTO `lease_store_map` (`lease_id`, `store_id`) VALUES (7, '6');
INSERT INTO `lease_store_map` (`lease_id`, `store_id`) VALUES (7, '7');
INSERT INTO `lease_product_map` (`lease_id`, `product_id`) VALUES (7, '6');
INSERT INTO `lease_product_map` (`lease_id`, `product_id`) VALUES (7, '11');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('leases', 'create', 'Lease Id-7', '2', '2018-07-23 10:25:18');
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
UPDATE `user` SET `last_login` = '2018-07-24 04:29:45', `ip_address` = '162.158.166.84'
WHERE `id` = '2';
UPDATE `user` SET `last_login` = '2018-07-24 05:39:28', `ip_address` = '172.69.134.190'
WHERE `id` = '2';
INSERT INTO `acc_coa` (`HeadCode`, `HeadName`, `PHeadName`, `HeadLevel`, `IsActive`, `IsTransaction`, `IsGL`, `HeadType`, `IsBudget`, `IsDepreciation`, `DepreciationRate`, `CreateBy`, `CreateDate`) VALUES (1020301000009, 'ls-10-abc', 'Customer Receivable', '4', '1', '1', '0', 'A', '0', '0', '0', '2', '2018-07-24 06:07:15');
INSERT INTO `customer` (`customer_code`, `customer_name`, `customer_phone`, `type`, `job_designation`, `store_id`, `customer_address`, `customer_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('ls-10', 'abc', '1234', '3', '', '2', '', '122222', '', 1, '2', '2018-07-24 06:07:15');
INSERT INTO `gurrantor` (`gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('gc-53', 'sad', '111', '2', '', '', '111', '', 1, '2', '2018-07-24 06:07:33');
INSERT INTO `gurrantor` (`gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('gc-54', 'ioi', '111', '2', '', '', '111', '', 1, '2', '2018-07-24 06:07:33');
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
INSERT INTO `sales_parent` (`sale_id`, `invoice_no`, `customer_id`, `sale_type_id`, `store_id`, `salesman`, `sales_date`, `sales_time`, `gurrantor_1`, `gurrantor_2`, `advance_amnt`, `lease_id`, `inquiry_officer`, `remaining_amnt`, `installment_amnt`, `package_price`, `total_amnt`) VALUES ('20180724060835', '1012', '14', '3', '2', '2', '2018-07-24', '06:08:35', '74', '73', '0.00', '1', '', '0.00', '0.00', '0.00', '0.00');
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1012', 'LSIV', '2018-07-24 06:08:35', '1020301000009', 'ls-10-abc Credit For Invoice No1012', 0, '0.00', '2', 1, '2', '2018-07-24 06:08:35', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1012', 'LSIV', '2018-07-24 06:08:35', '1020301000009', 'ls-10-abc Debit of Total Package Price For Invoice#1012', '0.00', 0, '2', 1, '2', '2018-07-24 06:08:35', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1012', 'LSIV', '2018-07-24 06:08:35', 1020101, 'Cash In Hand Debit For Invoice No1012', '0.00', 0, '2', 1, '2', '2018-07-24 06:08:35', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1012', 'LSIV', '2018-07-24 06:08:35', 30102, 'Store Credit For Invoice No1012', 0, '0.00', '2', 1, '2', '2018-07-24 06:08:35', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1012', 'LSIV', '2018-07-24 06:08:35', 403, 'Cost Of Sale Debit For Invoice No1012', 100000, 0, '2', 1, '2', '2018-07-24 06:08:35', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1012', 'LSIV', '2018-07-24 06:08:35', 10107, 'Inventory Credit For Invoice No1012', 0, 100000, '2', 1, '2', '2018-07-24 06:08:35', 1);
INSERT INTO `payment_collection` (`sale_id`, `invoice_no`, `customer_id`, `receive_amnt`, `due_amnt`, `receive_by`, `receive_date`) VALUES ('20180724060835', '1012', '14', '0.00', '0.00', '2', '2018-07-24');
INSERT INTO `customer_gurrantor_map` (`lease_id`, `customer_id`, `gurrantor_id`) VALUES ('1', '14', '74');
INSERT INTO `customer_gurrantor_map` (`lease_id`, `customer_id`, `gurrantor_id`) VALUES ('1', '14', '73');
INSERT INTO `sale_details` (`sale_id`, `product_id`, `qty`, `sell_price`, `sale_type_id`, `lease_unit_price`) VALUES ('20180724060835', '17', '5', '23000', '3', '28175');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Sales', 'create', 'invoice_no-1012 total amount-0.00', '2', '2018-07-24 06:08:35');
INSERT INTO `sales_parent` (`sale_id`, `invoice_no`, `customer_id`, `sale_type_id`, `store_id`, `salesman`, `sales_date`, `sales_time`, `gurrantor_1`, `gurrantor_2`, `advance_amnt`, `lease_id`, `inquiry_officer`, `remaining_amnt`, `installment_amnt`, `package_price`, `total_amnt`) VALUES ('20180724060843', '1012', '14', '3', '2', '2', '2018-07-24', '06:08:43', '74', '73', '2300.00', '1', '', '25875.00', '8625.00', '28175.00', '23000.00');
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1012', 'LSIV', '2018-07-24 06:08:43', '1020301000009', 'ls-10-abc Credit For Invoice No1012', 0, '2300.00', '2', 1, '2', '2018-07-24 06:08:43', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1012', 'LSIV', '2018-07-24 06:08:43', '1020301000009', 'ls-10-abc Debit of Total Package Price For Invoice#1012', '28175.00', 0, '2', 1, '2', '2018-07-24 06:08:43', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1012', 'LSIV', '2018-07-24 06:08:43', 1020101, 'Cash In Hand Debit For Invoice No1012', '2300.00', 0, '2', 1, '2', '2018-07-24 06:08:43', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1012', 'LSIV', '2018-07-24 06:08:43', 30102, 'Store Credit For Invoice No1012', 0, '28175.00', '2', 1, '2', '2018-07-24 06:08:43', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1012', 'LSIV', '2018-07-24 06:08:43', 403, 'Cost Of Sale Debit For Invoice No1012', 20000, 0, '2', 1, '2', '2018-07-24 06:08:43', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1012', 'LSIV', '2018-07-24 06:08:43', 10107, 'Inventory Credit For Invoice No1012', 0, 20000, '2', 1, '2', '2018-07-24 06:08:43', 1);
INSERT INTO `payment_collection` (`sale_id`, `invoice_no`, `customer_id`, `receive_amnt`, `due_amnt`, `receive_by`, `receive_date`) VALUES ('20180724060843', '1012', '14', '2300.00', '25875.00', '2', '2018-07-24');
INSERT INTO `customer_gurrantor_map` (`lease_id`, `customer_id`, `gurrantor_id`) VALUES ('1', '14', '74');
INSERT INTO `customer_gurrantor_map` (`lease_id`, `customer_id`, `gurrantor_id`) VALUES ('1', '14', '73');
INSERT INTO `sale_details` (`sale_id`, `product_id`, `qty`, `sell_price`, `sale_type_id`, `lease_unit_price`) VALUES ('20180724060843', '17', '1', '23000', '3', '28175');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Sales', 'create', 'invoice_no-1012 total amount-23000.00', '2', '2018-07-24 06:08:43');
INSERT INTO `sales_parent` (`sale_id`, `invoice_no`, `customer_id`, `sale_type_id`, `store_id`, `salesman`, `sales_date`, `sales_time`, `gurrantor_1`, `gurrantor_2`, `advance_amnt`, `lease_id`, `inquiry_officer`, `remaining_amnt`, `installment_amnt`, `package_price`, `total_amnt`) VALUES ('20180724060847', '1012', '14', '3', '2', '2', '2018-07-24', '06:08:47', '74', '73', '2300.00', '1', '', '25875.00', '8625.00', '28175.00', '23000.00');
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1012', 'LSIV', '2018-07-24 06:08:47', '1020301000009', 'ls-10-abc Credit For Invoice No1012', 0, '2300.00', '2', 1, '2', '2018-07-24 06:08:47', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1012', 'LSIV', '2018-07-24 06:08:47', '1020301000009', 'ls-10-abc Debit of Total Package Price For Invoice#1012', '28175.00', 0, '2', 1, '2', '2018-07-24 06:08:47', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1012', 'LSIV', '2018-07-24 06:08:47', 1020101, 'Cash In Hand Debit For Invoice No1012', '2300.00', 0, '2', 1, '2', '2018-07-24 06:08:47', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1012', 'LSIV', '2018-07-24 06:08:47', 30102, 'Store Credit For Invoice No1012', 0, '28175.00', '2', 1, '2', '2018-07-24 06:08:47', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1012', 'LSIV', '2018-07-24 06:08:47', 403, 'Cost Of Sale Debit For Invoice No1012', 20000, 0, '2', 1, '2', '2018-07-24 06:08:47', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1012', 'LSIV', '2018-07-24 06:08:47', 10107, 'Inventory Credit For Invoice No1012', 0, 20000, '2', 1, '2', '2018-07-24 06:08:47', 1);
INSERT INTO `payment_collection` (`sale_id`, `invoice_no`, `customer_id`, `receive_amnt`, `due_amnt`, `receive_by`, `receive_date`) VALUES ('20180724060847', '1012', '14', '2300.00', '25875.00', '2', '2018-07-24');
INSERT INTO `customer_gurrantor_map` (`lease_id`, `customer_id`, `gurrantor_id`) VALUES ('1', '14', '74');
INSERT INTO `customer_gurrantor_map` (`lease_id`, `customer_id`, `gurrantor_id`) VALUES ('1', '14', '73');
INSERT INTO `sale_details` (`sale_id`, `product_id`, `qty`, `sell_price`, `sale_type_id`, `lease_unit_price`) VALUES ('20180724060847', '17', '1', '23000', '3', '28175');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Sales', 'create', 'invoice_no-1012 total amount-23000.00', '2', '2018-07-24 06:08:47');
INSERT INTO `acc_coa` (`HeadCode`, `HeadName`, `PHeadName`, `HeadLevel`, `IsActive`, `IsTransaction`, `IsGL`, `HeadType`, `IsBudget`, `IsDepreciation`, `DepreciationRate`, `CreateBy`, `CreateDate`) VALUES (1020301000010, 'ls-11-xyz', 'Customer Receivable', '4', '1', '1', '0', 'A', '0', '0', '0', '2', '2018-07-24 06:10:56');
INSERT INTO `customer` (`customer_code`, `customer_name`, `customer_phone`, `type`, `job_designation`, `store_id`, `customer_address`, `customer_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('ls-11', 'xyz', '111', '3', '', '2', '', '111', '', 1, '2', '2018-07-24 06:10:56');
INSERT INTO `gurrantor` (`gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('gc-55', 'Test', '477', '2', '', '', '123', '', 1, '2', '2018-07-24 06:11:09');
INSERT INTO `gurrantor` (`gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('gc-56', 'Test1', '456', '2', '', '', '444', '', 1, '2', '2018-07-24 06:11:09');
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
INSERT INTO `sales_parent` (`sale_id`, `invoice_no`, `customer_id`, `sale_type_id`, `store_id`, `salesman`, `sales_date`, `sales_time`, `gurrantor_1`, `gurrantor_2`, `advance_amnt`, `lease_id`, `inquiry_officer`, `remaining_amnt`, `installment_amnt`, `package_price`, `total_amnt`) VALUES ('20180724061210', '1013', '15', '3', '2', '2', '2018-07-24', '06:12:10', '76', '75', '2300.00', '1', '', '25875.00', '8625.00', '28175.00', '23000.00');
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1013', 'LSIV', '2018-07-24 06:12:10', '1020301000010', 'ls-11-xyz Credit For Invoice No1013', 0, '2300.00', '2', 1, '2', '2018-07-24 06:12:10', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1013', 'LSIV', '2018-07-24 06:12:10', '1020301000010', 'ls-11-xyz Debit of Total Package Price For Invoice#1013', '28175.00', 0, '2', 1, '2', '2018-07-24 06:12:10', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1013', 'LSIV', '2018-07-24 06:12:10', 1020101, 'Cash In Hand Debit For Invoice No1013', '2300.00', 0, '2', 1, '2', '2018-07-24 06:12:10', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1013', 'LSIV', '2018-07-24 06:12:10', 30102, 'Store Credit For Invoice No1013', 0, '28175.00', '2', 1, '2', '2018-07-24 06:12:10', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1013', 'LSIV', '2018-07-24 06:12:10', 403, 'Cost Of Sale Debit For Invoice No1013', 20000, 0, '2', 1, '2', '2018-07-24 06:12:10', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1013', 'LSIV', '2018-07-24 06:12:10', 10107, 'Inventory Credit For Invoice No1013', 0, 20000, '2', 1, '2', '2018-07-24 06:12:10', 1);
INSERT INTO `payment_collection` (`sale_id`, `invoice_no`, `customer_id`, `receive_amnt`, `due_amnt`, `receive_by`, `receive_date`) VALUES ('20180724061210', '1013', '15', '2300.00', '25875.00', '2', '2018-07-24');
INSERT INTO `customer_gurrantor_map` (`lease_id`, `customer_id`, `gurrantor_id`) VALUES ('1', '15', '76');
INSERT INTO `customer_gurrantor_map` (`lease_id`, `customer_id`, `gurrantor_id`) VALUES ('1', '15', '75');
INSERT INTO `sale_details` (`sale_id`, `product_id`, `qty`, `sell_price`, `sale_type_id`, `lease_unit_price`) VALUES ('20180724061210', '17', '1', '23000', '3', '28175');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Sales', 'create', 'invoice_no-1013 total amount-23000.00', '2', '2018-07-24 06:12:10');
INSERT INTO `sales_parent` (`sale_id`, `invoice_no`, `customer_id`, `sale_type_id`, `store_id`, `salesman`, `sales_date`, `sales_time`, `gurrantor_1`, `gurrantor_2`, `advance_amnt`, `lease_id`, `inquiry_officer`, `remaining_amnt`, `installment_amnt`, `package_price`, `total_amnt`) VALUES ('20180724061354', '1014', '15', '1', '2', '2', '2018-07-24', '06:13:54', NULL, NULL, '', NULL, NULL, NULL, 0, 0, '5000.00');
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1014', 'CIV', '2018-07-24 06:13:54', 30101, 'Cash sale credit For Invoice No1014', 0, '5000.00', '2', 1, '2', '2018-07-24 06:13:54', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1014', 'CIV', '2018-07-24 06:13:54', 1020101, 'Cash in hand debit For Invoice No1014', '5000.00', 0, '2', 1, '2', '2018-07-24 06:13:54', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1014', 'CIV', '2018-07-24 06:13:54', 403, 'Cost of sale debit For Invoice No1014', NULL, 0, '2', 1, '2', '2018-07-24 06:13:54', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1014', 'CIV', '2018-07-24 06:13:54', 10107, 'Inventory credit For Invoice No1014', 0, NULL, '2', 1, '2', '2018-07-24 06:13:54', 1);
INSERT INTO `payment_collection` (`sale_id`, `invoice_no`, `customer_id`, `receive_amnt`, `due_amnt`, `receive_by`, `receive_date`) VALUES ('20180724061354', '1014', '15', '5000.00', NULL, '2', '2018-07-24');
INSERT INTO `sale_details` (`sale_id`, `product_id`, `qty`, `sell_price`, `sale_type_id`, `lease_unit_price`) VALUES ('20180724061354', '', '1', '5000', '1', NULL);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Sales', 'create', 'invoice_no-1014 total amount-5000.00', '2', '2018-07-24 06:13:54');
INSERT INTO `sales_parent` (`sale_id`, `invoice_no`, `customer_id`, `sale_type_id`, `store_id`, `salesman`, `sales_date`, `sales_time`, `gurrantor_1`, `gurrantor_2`, `advance_amnt`, `lease_id`, `inquiry_officer`, `remaining_amnt`, `installment_amnt`, `package_price`, `total_amnt`) VALUES ('20180724061510', '1015', '15', '2', '2', '2', '2018-07-24', '06:15:10', NULL, NULL, '5000', NULL, NULL, '18000.00', 0, 0, '23000.00');
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1015', 'CRIV', '2018-07-24 06:15:10', '1020301000010', 'Customer Credit For Invoice No1015', 0, '5000', '2', 1, '2', '2018-07-24 06:15:10', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1015', 'CRIV', '2018-07-24 06:15:10', '1020301000010', 'Customer Debit For Invoice No1015', '23000.00', 0, '2', 1, '2', '2018-07-24 06:15:10', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1015', 'CRIV', '2018-07-24 06:15:10', 1020101, 'Cash in Hand For Invoice No1015', '5000', 0, '2', 1, '2', '2018-07-24 06:15:10', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1015', 'CRIV', '2018-07-24 06:15:10', 30102, 'store credit For Invoice No1015', 0, '23000.00', '2', 1, '2', '2018-07-24 06:15:10', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1015', 'CIV', '2018-07-24 06:15:10', 403, 'Cost of sale credit For Invoice No1015', 0, 0, '2', 1, '2', '2018-07-24 06:15:10', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1015', 'CIV', '2018-07-24 06:15:10', 10107, 'Inventory Credit For Invoice No1015', 0, 0, '2', 1, '2', '2018-07-24 06:15:10', 1);
INSERT INTO `payment_collection` (`sale_id`, `invoice_no`, `customer_id`, `receive_amnt`, `due_amnt`, `receive_by`, `receive_date`) VALUES ('20180724061510', '1015', '15', '5000', '18000.00', '2', '2018-07-24');
INSERT INTO `sale_details` (`sale_id`, `product_id`, `qty`, `sell_price`, `sale_type_id`, `lease_unit_price`) VALUES ('20180724061510', '', '1', '23000', '2', NULL);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Sales', 'create', 'invoice_no-1015 total amount-23000.00', '2', '2018-07-24 06:15:10');
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
INSERT INTO `payment_collection` (`id`, `invoice_no`, `customer_id`, `receive_amnt`, `receive_date`, `receive_by`, `is_installment`) VALUES ('', '1013', '15', '2000', '2018-07-24', '2', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1013', 'RECVIV', '2018-07-24', 1020101, 'Recovery Receive For Invoice No1013', '2000', 0, '2', 1, '2', '2018-07-24', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1013', 'RECVIV', '2018-07-24', '1020301000010', 'Recovery Payment For Invoice No1013', 0, '2000', '2', 1, '2', '2018-07-24', 1);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('recovery', 'create', 'payment ID :39', '2', '2018-07-24 06:16:00');
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
INSERT INTO `payment_collection` (`id`, `invoice_no`, `customer_id`, `receive_amnt`, `receive_date`, `receive_by`) VALUES ('', '1015', '15', '10000', '2018-07-24', '2');
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1015', 'RECVIV', '2018-07-24', 1020101, 'Credit Receive For Invoice No1015', '10000', 0, '2', 1, '2', '2018-07-24', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1015', 'RECVIV', '2018-07-24', '1020301000010', 'Credit Payment For Invoice No1015', 0, '10000', '2', 1, '2', '2018-07-24', 1);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('payment', 'create', 'payment ID :40', '2', '2018-07-24 06:17:51');
INSERT INTO `sales_parent` (`sale_id`, `invoice_no`, `customer_id`, `sale_type_id`, `store_id`, `salesman`, `sales_date`, `sales_time`, `gurrantor_1`, `gurrantor_2`, `advance_amnt`, `lease_id`, `inquiry_officer`, `remaining_amnt`, `installment_amnt`, `package_price`, `total_amnt`) VALUES ('20180724061931', '1016', '15', '1', '2', '2', '2018-07-24', '06:19:31', NULL, NULL, '', NULL, NULL, NULL, 0, 0, '50000.00');
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1016', 'CIV', '2018-07-24 06:19:31', 30101, 'Cash sale credit For Invoice No1016', 0, '50000.00', '2', 1, '2', '2018-07-24 06:19:31', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1016', 'CIV', '2018-07-24 06:19:31', 1020101, 'Cash in hand debit For Invoice No1016', '50000.00', 0, '2', 1, '2', '2018-07-24 06:19:31', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1016', 'CIV', '2018-07-24 06:19:31', 403, 'Cost of sale debit For Invoice No1016', NULL, 0, '2', 1, '2', '2018-07-24 06:19:31', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1016', 'CIV', '2018-07-24 06:19:31', 10107, 'Inventory credit For Invoice No1016', 0, NULL, '2', 1, '2', '2018-07-24 06:19:31', 1);
INSERT INTO `payment_collection` (`sale_id`, `invoice_no`, `customer_id`, `receive_amnt`, `due_amnt`, `receive_by`, `receive_date`) VALUES ('20180724061931', '1016', '15', '50000.00', NULL, '2', '2018-07-24');
INSERT INTO `sale_details` (`sale_id`, `product_id`, `qty`, `sell_price`, `sale_type_id`, `lease_unit_price`) VALUES ('20180724061931', '', '1', '50000', '1', NULL);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Sales', 'create', 'invoice_no-1016 total amount-50000.00', '2', '2018-07-24 06:19:31');
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('20180724062050', 'PO', '2018-07-24 06:20:50', '5020203', 'PO For 20180724062050', 0, '2300000.00', '2', 1, '2', '2018-07-24 06:20:50', 1);
INSERT INTO `purchase_order` (`po_no`, `supplier_id`, `total_amnt`, `store_id`, `warehouse_id`, `createby`, `createdate`, `isapproved`) VALUES ('20180724062050', '6', '2300000.00', 0, 0, '2', '2018-07-24 06:20:50', 0);
INSERT INTO `purchase_order_details` (`row_id`, `po_no`, `product_id`, `order_qty`, `product_rate`, `discount`, `store_id`) VALUES ('718827416221599', '20180724062050', '', '100', '23000', '', '2');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('purchase order', 'create', 'Orde Id-20180724062050 total amount-2300000.00', '2', '2018-07-24 06:20:50');
INSERT INTO `product` (`product_id`, `product_name`, `product_code`, `model`, `category`, `brand`, `unit`, `product_details`, `purchase_price`, `block_price`, `minimum_price`, `retail_price`, `createby`, `createdate`, `updateby`, `updatedate`, `isactive`) VALUES ('', 'Test-Eco Star-30D2000', 'pro-10', '2', '1', '3', '1', 'dfgdfgsdfgtrdy', '0', '0', '0', '0', '2', '2018-07-24 07:23:43', '', '', 1);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Product', 'create', 'product ID :20', '2', '2018-07-24 07:23:43');
UPDATE `product` SET `product_id` = '20', `product_name` = 'Test-Eco Star-30D2000', `product_code` = 'pro-10', `model` = '2', `category` = '1', `brand` = '3', `unit` = '1', `product_details` = 'test', `purchase_price` = '0', `block_price` = '0', `minimum_price` = '0', `retail_price` = '0', `createby` = '2', `createdate` = '2018-07-24 08:01:11', `updateby` = '2', `updatedate` = '2018-07-24 08:01:11', `isactive` = 1
WHERE `product_id` = '20';
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Product', 'update', 'product ID :20', '2', '2018-07-24 08:01:11');
UPDATE `user` SET `last_login` = '2018-07-24 13:17:46', `ip_address` = '172.69.134.244'
WHERE `id` = '2';
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
UPDATE `user` SET `last_login` = '2018-07-25 04:28:52', `ip_address` = '172.68.146.129'
WHERE `id` = '2';
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
UPDATE `user` SET `last_login` = '2018-07-27 04:33:00', `ip_address` = '162.158.165.149'
WHERE `id` = '2';
UPDATE `customer` SET `customer_id` = '15', `isactive` = 0
WHERE `customer_id` = '15';
INSERT INTO `lease` (`package_code`, `package_name`, `lease_duration`, `advance`, `markup`, `isactive`, `createby`, `createdate`) VALUES ('123', 'testing123', '10', 0.2, 0.5, 1, '2', '2018-07-27 04:36:47');
INSERT INTO `lease_store_map` (`lease_id`, `store_id`) VALUES (8, '7');
INSERT INTO `lease_product_map` (`lease_id`, `product_id`) VALUES (8, '16');
INSERT INTO `lease_product_map` (`lease_id`, `product_id`) VALUES (8, '17');
INSERT INTO `lease_product_map` (`lease_id`, `product_id`) VALUES (8, '18');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('leases', 'create', 'Lease Id-8', '2', '2018-07-27 04:36:47');
UPDATE `user` SET `last_login` = '2018-07-27 04:39:20', `ip_address` = '172.68.146.129'
WHERE `id` = '24';
UPDATE `lease` SET `lease_id` = '5', `isactive` = 0
WHERE `lease_id` = '5';
UPDATE `lease` SET `lease_id` = '8', `isactive` = 0
WHERE `lease_id` = '8';
UPDATE `lease` SET `lease_id` = '8', `isactive` = 1
WHERE `lease_id` = '8';
UPDATE `lease` SET `lease_id` = '8', `package_code` = '123', `package_name` = 'testing123', `lease_duration` = '12', `advance` = 0.2, `markup` = 0.5, `isactive` = 1, `updateby` = '2', `updatedate` = '2018-07-27 04:43:09'
WHERE `lease_id` = '8';
DELETE FROM `lease_store_map`
WHERE `lease_id` = '8';
DELETE FROM `lease_product_map`
WHERE `lease_id` = '8';
INSERT INTO `lease_store_map` (`lease_id`, `store_id`) VALUES ('8', '7');
INSERT INTO `lease_product_map` (`lease_id`, `product_id`) VALUES ('8', '16');
INSERT INTO `lease_product_map` (`lease_id`, `product_id`) VALUES ('8', '17');
INSERT INTO `lease_product_map` (`lease_id`, `product_id`) VALUES ('8', '18');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('leases', 'update', 'Lease Id-8', '2', '2018-07-27 04:43:09');
UPDATE `lease` SET `lease_id` = '8', `package_code` = '123', `package_name` = 'testing123', `lease_duration` = '12', `advance` = 0.2, `markup` = 0.5, `isactive` = 1, `updateby` = '2', `updatedate` = '2018-07-27 04:44:55'
WHERE `lease_id` = '8';
DELETE FROM `lease_store_map`
WHERE `lease_id` = '8';
DELETE FROM `lease_product_map`
WHERE `lease_id` = '8';
INSERT INTO `lease_store_map` (`lease_id`, `store_id`) VALUES ('8', '7');
INSERT INTO `lease_store_map` (`lease_id`, `store_id`) VALUES ('8', '5');
INSERT INTO `lease_product_map` (`lease_id`, `product_id`) VALUES ('8', '16');
INSERT INTO `lease_product_map` (`lease_id`, `product_id`) VALUES ('8', '17');
INSERT INTO `lease_product_map` (`lease_id`, `product_id`) VALUES ('8', '18');
INSERT INTO `lease_product_map` (`lease_id`, `product_id`) VALUES ('8', '8');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('leases', 'update', 'Lease Id-8', '2', '2018-07-27 04:44:55');
INSERT INTO `product_category` (`category_id`, `category_name`, `isactive`) VALUES ('', 'Laptop', 1);
INSERT INTO `product_model` (`model_id`, `model_name`, `isactive`) VALUES ('', '650', 1);
INSERT INTO `product_brand` (`brand_id`, `brand_name`, `isactive`) VALUES ('', 'HP', 1);
INSERT INTO `product_unit` (`unit_id`, `unit_name`, `isactive`) VALUES ('', 'Each', 1);
INSERT INTO `product_unit` (`unit_id`, `unit_name`, `isactive`) VALUES ('', '123', 1);
INSERT INTO `product` (`product_id`, `product_name`, `product_code`, `model`, `category`, `brand`, `unit`, `product_details`, `purchase_price`, `block_price`, `minimum_price`, `retail_price`, `createby`, `createdate`, `updateby`, `updatedate`, `isactive`) VALUES ('', 'Laptop-HP-650', 'pro-11', '3', '3', '4', '2', 'xyz', '0', '0', '0', '0', '2', '2018-07-27 04:53:06', '', '', 1);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Product', 'create', 'product ID :21', '2', '2018-07-27 04:53:06');
UPDATE `product` SET `product_id` = '21', `product_name` = 'Laptop-HP-650', `product_code` = 'pro-11', `category` = '3', `model` = '3', `unit` = '2', `brand` = '4', `product_details` = 'xyz', `purchase_price` = '5000', `minimum_price` = '6000', `retail_price` = '6500', `block_price` = '5500', `isactive` = '1'
WHERE `product_id` IN('21');
UPDATE `product` SET `product_id` = '20', `product_name` = 'Test-Eco Star-30D2000', `product_code` = 'pro-10', `category` = '1', `model` = '2', `unit` = '1', `brand` = '3', `product_details` = 'test', `purchase_price` = '0', `minimum_price` = '0', `retail_price` = '0', `block_price` = '0', `isactive` = '1'
WHERE `product_id` IN('20');
UPDATE `product` SET `product_id` = '19', `product_name` = 'AC-Eco star-5100', `product_code` = 'pro-9', `category` = '1', `model` = '1', `unit` = '1', `brand` = '1', `product_details` = '', `purchase_price` = '50000', `minimum_price` = '40000', `retail_price` = '45000', `block_price` = '0', `isactive` = '0'
WHERE `product_id` IN('19');
UPDATE `product` SET `product_id` = '18', `product_name` = 'LED-Eco Star-30D2000', `product_code` = 'pro-8', `category` = '2', `model` = '2', `unit` = '1', `brand` = '3', `product_details` = 'dfsdfsdf', `purchase_price` = '40000', `minimum_price` = '45000', `retail_price` = '55000', `block_price` = '43000', `isactive` = '1'
WHERE `product_id` IN('18');
UPDATE `product` SET `product_id` = '17', `product_name` = 'Led-Eco star-20Dl2000', `product_code` = 'pro-7', `category` = '1', `model` = '1', `unit` = '1', `brand` = '1', `product_details` = '', `purchase_price` = '20000', `minimum_price` = '22000', `retail_price` = '23000', `block_price` = '20000', `isactive` = '1'
WHERE `product_id` IN('17');
UPDATE `product` SET `product_id` = '16', `product_name` = 'Ref-Dawlance-9175', `product_code` = 'pro-6', `category` = '1', `model` = '1', `unit` = '1', `brand` = '1', `product_details` = '', `purchase_price` = '1500', `minimum_price` = '2000', `retail_price` = '2500', `block_price` = '1900', `isactive` = '1'
WHERE `product_id` IN('16');
UPDATE `product` SET `product_id` = '15', `product_name` = 'Ref-Dawlance-9170', `product_code` = 'pro-5', `category` = '1', `model` = '1', `unit` = '1', `brand` = '1', `product_details` = '', `purchase_price` = '1000', `minimum_price` = '1500', `retail_price` = '2000', `block_price` = '1200', `isactive` = '1'
WHERE `product_id` IN('15');
UPDATE `product` SET `product_id` = '14', `product_name` = 'Test-Second-Test Model', `product_code` = 'pro-4', `category` = '1', `model` = '1', `unit` = '1', `brand` = '1', `product_details` = '', `purchase_price` = '1000', `minimum_price` = '1200', `retail_price` = '1500', `block_price` = '1100', `isactive` = '1'
WHERE `product_id` IN('14');
UPDATE `product` SET `product_id` = '13', `product_name` = 'Test-Second-Test Model', `product_code` = 'pro-3', `category` = '1', `model` = '1', `unit` = '1', `brand` = '1', `product_details` = '', `purchase_price` = '5', `minimum_price` = '7', `retail_price` = '10', `block_price` = '0', `isactive` = '1'
WHERE `product_id` IN('13');
UPDATE `product` SET `product_id` = '12', `product_name` = 'Test+Second+Test Model', `product_code` = 'pro-2', `category` = '1', `model` = '1', `unit` = '1', `brand` = '1', `product_details` = '', `purchase_price` = '12', `minimum_price` = '16', `retail_price` = '19', `block_price` = '0', `isactive` = '1'
WHERE `product_id` IN('12');
UPDATE `product_brand` SET `brand_id` = '4', `isactive` = 0
WHERE `brand_id` = '4';
UPDATE `product_brand` SET `brand_id` = '4', `isactive` = 1
WHERE `brand_id` = '4';
UPDATE `product_brand` SET `brand_id` = '4', `isactive` = 0
WHERE `brand_id` = '4';
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
UPDATE `user` SET `last_login` = '2018-07-27 09:32:20', `ip_address` = '172.69.134.244'
WHERE `id` = '2';
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
UPDATE `user` SET `last_login` = '2018-07-27 09:40:54', `ip_address` = '172.69.134.190'
WHERE `id` = '3';
INSERT INTO `acc_coa` (`HeadCode`, `HeadName`, `PHeadName`, `HeadLevel`, `IsActive`, `IsTransaction`, `IsGL`, `HeadType`, `IsBudget`, `IsDepreciation`, `DepreciationRate`, `CreateBy`, `CreateDate`) VALUES (5020205, 'sup-8-july', 'Account Payable', '3', '1', '1', '0', 'L', '0', '0', '0', '2', '2018-07-27 09:41:53');
INSERT INTO `supplier` (`supplier_id`, `supplier_name`, `supplier_code`, `phone`, `address`, `email`, `contact_per_name`, `c_p_contact`, `isactive`, `createby`, `createdate`, `updateby`, `updatedate`) VALUES ('', 'july', 'sup-8', '', '1234', '', '', '', 1, '2', '2018-07-27 09:41:53', '', '');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Supplier', 'create', 'Supplier ID :8', '2', '2018-07-27 09:41:53');
UPDATE `supplier` SET `supplier_id` = '7', `isactive` = 0
WHERE `supplier_id` = '7';
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('20180727095912', 'PO', '2018-07-27 09:59:12', '5020205', 'PO For 20180727095912', 0, '75000.00', '2', 1, '2', '2018-07-27 09:59:12', 1);
INSERT INTO `purchase_order` (`po_no`, `supplier_id`, `total_amnt`, `store_id`, `warehouse_id`, `createby`, `createdate`, `isapproved`) VALUES ('20180727095912', '8', '75000.00', 0, 0, '2', '2018-07-27 09:59:12', 0);
INSERT INTO `purchase_order_details` (`row_id`, `po_no`, `product_id`, `order_qty`, `product_rate`, `discount`, `store_id`) VALUES ('134499714711544', '20180727095912', '21', '5', '5000', '', '6');
INSERT INTO `purchase_order_details` (`row_id`, `po_no`, `product_id`, `order_qty`, `product_rate`, `discount`, `store_id`) VALUES ('662636479538685', '20180727095912', '21', '10', '5000', '', '7');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('purchase order', 'create', 'Orde Id-20180727095912 total amount-75000.00', '2', '2018-07-27 09:59:12');
UPDATE `user` SET `last_logout` = '2018-07-27 10:00:00'
WHERE `id` = '3';
UPDATE `user` SET `last_login` = '2018-07-27 10:00:53', `ip_address` = '172.68.146.129'
WHERE `id` = '25';
UPDATE `purchase_order` SET `po_no` = '20180727095912', `isapproved` = 1
WHERE `po_no` = '20180727095912';
INSERT INTO `purchase_receive` (`receive_id`, `po_no`, `supplier_id`, `store_id`, `warehouse_id`, `voucher_no`, `receive_by`, `receive_date`) VALUES ('20180727100252', '20180727095912', '8', 0, 0, 1004, '25', '2018-07-27 10:02:52');
INSERT INTO `purchase_receive_details` (`receive_id`, `product_id`, `receive_qty`, `product_rate`, `store_id`, `discount`) VALUES ('20180727100252', '21', '3', '5000', '7', '');
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('20180727095912', 'PO', '2018-07-27 10:02:52', 10107, 'PO Receive Receive No 20180727100252', '15000.00', 0, '7', 1, NULL, NULL, 1);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('purchase order receive', 'create', 'Orde Id- total amount-15000.00', '25', '2018-07-27 10:02:52');
INSERT INTO `purchase_receive` (`receive_id`, `po_no`, `supplier_id`, `store_id`, `warehouse_id`, `voucher_no`, `receive_by`, `receive_date`) VALUES ('20180727100328', '20180727095912', '8', 0, 0, 1005, '25', '2018-07-27 10:03:28');
INSERT INTO `purchase_receive_details` (`receive_id`, `product_id`, `receive_qty`, `product_rate`, `store_id`, `discount`) VALUES ('20180727100328', '21', '1', '5000', '7', '100');
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('20180727095912', 'PO', '2018-07-27 10:03:28', 10107, 'PO Receive Receive No 20180727100328', '4900.00', 0, '7', 1, NULL, NULL, 1);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('purchase order receive', 'create', 'Orde Id- total amount-4900.00', '25', '2018-07-27 10:03:28');
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('20180727100744', 'PO', '2018-07-27 10:07:44', NULL, 'PO For 20180727100744', 0, '5000.00', '2', 1, '2', '2018-07-27 10:07:44', 1);
INSERT INTO `purchase_order` (`po_no`, `supplier_id`, `total_amnt`, `store_id`, `warehouse_id`, `createby`, `createdate`, `isapproved`) VALUES ('20180727100744', '1', '5000.00', 0, 0, '2', '2018-07-27 10:07:44', 0);
INSERT INTO `purchase_order_details` (`row_id`, `po_no`, `product_id`, `order_qty`, `product_rate`, `discount`, `store_id`) VALUES ('656244855744543', '20180727100744', '21', '1', '5000', '', '');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('purchase order', 'create', 'Orde Id-20180727100744 total amount-5000.00', '2', '2018-07-27 10:07:44');
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('20180727100912', 'PO', '2018-07-27 10:09:12', NULL, 'PO For 20180727100912', 0, '4500.00', '2', 1, '2', '2018-07-27 10:09:12', 1);
INSERT INTO `purchase_order` (`po_no`, `supplier_id`, `total_amnt`, `store_id`, `warehouse_id`, `createby`, `createdate`, `isapproved`) VALUES ('20180727100912', '4', '4500.00', 0, 0, '2', '2018-07-27 10:09:12', 0);
INSERT INTO `purchase_order_details` (`row_id`, `po_no`, `product_id`, `order_qty`, `product_rate`, `discount`, `store_id`) VALUES ('671677671723441', '20180727100912', '21', '1', '5000', '500', '7');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('purchase order', 'create', 'Orde Id-20180727100912 total amount-4500.00', '2', '2018-07-27 10:09:12');
UPDATE `purchase_order` SET `po_no` = '20180727100912', `isapproved` = 1
WHERE `po_no` = '20180727100912';
UPDATE `purchase_order` SET `po_no` = '20180727100912', `supplier_id` = '4', `total_amnt` = '14500.00', `store_id` = 0, `warehouse_id` = 0, `createby` = '2', `createdate` = '2018-07-27 10:10:26', `isapproved` = 0
WHERE `po_no` = '20180727100912';
DELETE FROM `purchase_order_details`
WHERE `po_no` = '20180727100912';
INSERT INTO `purchase_order_details` (`row_id`, `po_no`, `product_id`, `order_qty`, `product_rate`, `discount`, `store_id`) VALUES ('351315928441276', '20180727100912', '21', '3', '5000', '500', '7');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('purchase Receive', 'update', 'Receive Id-20180727100912 total amount-14500.00', '2', '2018-07-27 10:10:26');
INSERT INTO `purchase_receive` (`receive_id`, `po_no`, `supplier_id`, `store_id`, `warehouse_id`, `voucher_no`, `receive_by`, `receive_date`) VALUES ('20180727101053', '20180727100912', '4', 0, 0, 1006, '2', '2018-07-27 10:10:53');
INSERT INTO `purchase_receive_details` (`receive_id`, `product_id`, `receive_qty`, `product_rate`, `store_id`, `discount`) VALUES ('20180727101053', '21', '1', '5000', '7', '');
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('20180727100912', 'PO', '2018-07-27 10:10:53', 10107, 'PO Receive Receive No 20180727101053', '5000.00', 0, '7', 1, NULL, NULL, 1);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('purchase order receive', 'create', 'Orde Id- total amount-5000.00', '2', '2018-07-27 10:10:53');
DELETE FROM `acc_coa`
WHERE `HeadName` = 'sup-4-Eco star';
UPDATE `supplier` SET `supplier_id` = '4', `supplier_name` = 'Eco star', `supplier_code` = 'sup-4', `phone` = '1111', `address` = '', `email` = '', `contact_per_name` = '', `c_p_contact` = 'talha', `isactive` = 1, `createby` = '2', `createdate` = '2018-07-27 10:15:58', `updateby` = '2', `updatedate` = '2018-07-27 10:15:58'
WHERE `supplier_id` = '4';
INSERT INTO `acc_coa` (`HeadCode`, `HeadName`, `PHeadName`, `HeadLevel`, `IsActive`, `IsTransaction`, `IsGL`, `HeadType`, `IsBudget`, `IsDepreciation`, `DepreciationRate`, `CreateBy`, `CreateDate`) VALUES (5020206, 'sup-4-Eco star', 'Account Payable', '3', '1', '1', '0', 'L', '0', '0', '0', '2', '2018-07-27 10:15:58');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Supplier', 'update', 'Supplier ID :4', '2', '2018-07-27 10:15:58');
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('20180727101658', 'PO', '2018-07-27 10:16:58', '5020206', 'PO For 20180727101658', 0, '5000.00', '2', 1, '2', '2018-07-27 10:16:58', 1);
INSERT INTO `purchase_order` (`po_no`, `supplier_id`, `total_amnt`, `store_id`, `warehouse_id`, `createby`, `createdate`, `isapproved`) VALUES ('20180727101658', '4', '5000.00', 0, 0, '2', '2018-07-27 10:16:58', 0);
INSERT INTO `purchase_order_details` (`row_id`, `po_no`, `product_id`, `order_qty`, `product_rate`, `discount`, `store_id`) VALUES ('966188985633824', '20180727101658', '21', '1', '5000', '', '7');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('purchase order', 'create', 'Orde Id-20180727101658 total amount-5000.00', '2', '2018-07-27 10:16:58');
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
INSERT INTO `customer` (`customer_code`, `customer_name`, `customer_phone`, `type`, `job_designation`, `store_id`, `customer_address`, `customer_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('cc-1', 'asd', '', '1', NULL, '7', NULL, '', NULL, 1, '25', '2018-07-27 10:18:45');
INSERT INTO `sales_parent` (`sale_id`, `invoice_no`, `customer_id`, `sale_type_id`, `store_id`, `salesman`, `sales_date`, `sales_time`, `gurrantor_1`, `gurrantor_2`, `advance_amnt`, `lease_id`, `inquiry_officer`, `remaining_amnt`, `installment_amnt`, `package_price`, `total_amnt`) VALUES ('20180727101848', '1017', '0', '1', '7', '25', '2018-07-27', '10:18:48', NULL, NULL, '', NULL, NULL, NULL, 0, 0, '6500.00');
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1017', 'CIV', '2018-07-27 10:18:48', 30101, 'Cash sale credit For Invoice No1017', 0, '6500.00', '7', 1, '25', '2018-07-27 10:18:48', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1017', 'CIV', '2018-07-27 10:18:48', 1020101, 'Cash in hand debit For Invoice No1017', '6500.00', 0, '7', 1, '25', '2018-07-27 10:18:48', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1017', 'CIV', '2018-07-27 10:18:48', 403, 'Cost of sale debit For Invoice No1017', NULL, 0, '7', 1, '25', '2018-07-27 10:18:48', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1017', 'CIV', '2018-07-27 10:18:48', 10107, 'Inventory credit For Invoice No1017', 0, NULL, '7', 1, '25', '2018-07-27 10:18:48', 1);
INSERT INTO `payment_collection` (`sale_id`, `invoice_no`, `customer_id`, `receive_amnt`, `due_amnt`, `receive_by`, `receive_date`) VALUES ('20180727101848', '1017', '0', '6500.00', NULL, '25', '2018-07-27');
INSERT INTO `sale_details` (`sale_id`, `product_id`, `qty`, `sell_price`, `sale_type_id`, `lease_unit_price`) VALUES ('20180727101848', '21', '1', '6500', '1', NULL);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Sales', 'create', 'invoice_no-1017 total amount-6500.00', '25', '2018-07-27 10:18:48');
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
UPDATE `user` SET `last_logout` = '2018-07-27 10:21:47'
WHERE `id` = '25';
UPDATE `user` SET `last_login` = '2018-07-27 10:22:25', `ip_address` = '172.69.134.34'
WHERE `id` = '24';
DELETE FROM `sec_userrole`
WHERE `user_id` = '24';
INSERT INTO `sec_userrole` (`user_id`, `roleid`, `createby`, `createdate`) VALUES ('24', '5', '2', '2018-07-27 10:22:43');
INSERT INTO `sec_userrole` (`user_id`, `roleid`, `createby`, `createdate`) VALUES ('24', '4', '2', '2018-07-27 10:22:43');
INSERT INTO `sec_userrole` (`user_id`, `roleid`, `createby`, `createdate`) VALUES ('24', '2', '2', '2018-07-27 10:22:43');
INSERT INTO `sec_userrole` (`user_id`, `roleid`, `createby`, `createdate`) VALUES ('24', '3', '2', '2018-07-27 10:22:43');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('User Role', 'update', 'Role id :', '2', '2018-07-27 10:22:43');
INSERT INTO `customer` (`customer_code`, `customer_name`, `customer_phone`, `type`, `job_designation`, `store_id`, `customer_address`, `customer_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('cc-1', 'asd', '', '1', NULL, '6', NULL, '', NULL, 1, '24', '2018-07-27 10:23:56');
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
INSERT INTO `sales_parent` (`sale_id`, `invoice_no`, `customer_id`, `sale_type_id`, `store_id`, `salesman`, `sales_date`, `sales_time`, `gurrantor_1`, `gurrantor_2`, `advance_amnt`, `lease_id`, `inquiry_officer`, `remaining_amnt`, `installment_amnt`, `package_price`, `total_amnt`) VALUES ('20180727102428', '1018', '0', '1', '6', '24', '2018-07-27', '10:24:28', NULL, NULL, '', NULL, NULL, NULL, 0, 0, '6500.00');
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1018', 'CIV', '2018-07-27 10:24:28', 30101, 'Cash sale credit For Invoice No1018', 0, '6500.00', '6', 1, '24', '2018-07-27 10:24:28', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1018', 'CIV', '2018-07-27 10:24:28', 1020101, 'Cash in hand debit For Invoice No1018', '6500.00', 0, '6', 1, '24', '2018-07-27 10:24:28', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1018', 'CIV', '2018-07-27 10:24:28', 403, 'Cost of sale debit For Invoice No1018', NULL, 0, '6', 1, '24', '2018-07-27 10:24:28', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1018', 'CIV', '2018-07-27 10:24:28', 10107, 'Inventory credit For Invoice No1018', 0, NULL, '6', 1, '24', '2018-07-27 10:24:28', 1);
INSERT INTO `payment_collection` (`sale_id`, `invoice_no`, `customer_id`, `receive_amnt`, `due_amnt`, `receive_by`, `receive_date`) VALUES ('20180727102428', '1018', '0', '6500.00', NULL, '24', '2018-07-27');
INSERT INTO `sale_details` (`sale_id`, `product_id`, `qty`, `sell_price`, `sale_type_id`, `lease_unit_price`) VALUES ('20180727102428', '21', '1', '6500', '1', NULL);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Sales', 'create', 'invoice_no-1018 total amount-6500.00', '24', '2018-07-27 10:24:28');
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
INSERT INTO `acc_coa` (`HeadCode`, `HeadName`, `PHeadName`, `HeadLevel`, `IsActive`, `IsTransaction`, `IsGL`, `HeadType`, `IsBudget`, `IsDepreciation`, `DepreciationRate`, `CreateBy`, `CreateDate`) VALUES (1020301000011, 'cr-2-imad', 'Customer Receivable', '4', '1', '1', '0', 'A', '0', '0', '0', '2', '2018-07-27 10:39:37');
INSERT INTO `customer` (`customer_code`, `customer_name`, `customer_phone`, `type`, `job_designation`, `store_id`, `customer_address`, `customer_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('cr-2', 'imad', '11', '2', '', '2', '', '1', '', 1, '2', '2018-07-27 10:39:37');
INSERT INTO `acc_coa` (`HeadCode`, `HeadName`, `PHeadName`, `HeadLevel`, `IsActive`, `IsTransaction`, `IsGL`, `HeadType`, `IsBudget`, `IsDepreciation`, `DepreciationRate`, `CreateBy`, `CreateDate`) VALUES (1020301000012, 'cr-2-imad', 'Customer Receivable', '4', '1', '1', '0', 'A', '0', '0', '0', '2', '2018-07-27 10:40:04');
INSERT INTO `customer` (`customer_code`, `customer_name`, `customer_phone`, `type`, `job_designation`, `store_id`, `customer_address`, `customer_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('cr-2', 'imad', '11', '2', '', '2', '', '111111', '', 1, '2', '2018-07-27 10:40:04');
INSERT INTO `acc_coa` (`HeadCode`, `HeadName`, `PHeadName`, `HeadLevel`, `IsActive`, `IsTransaction`, `IsGL`, `HeadType`, `IsBudget`, `IsDepreciation`, `DepreciationRate`, `CreateBy`, `CreateDate`) VALUES (1020301000012, 'cr-2-imad', 'Customer Receivable', '4', '1', '1', '0', 'A', '0', '0', '0', '2', '2018-07-27 10:40:04');
INSERT INTO `customer` (`customer_code`, `customer_name`, `customer_phone`, `type`, `job_designation`, `store_id`, `customer_address`, `customer_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('cr-2', 'imad', '11', '2', '', '2', '', '111111', '', 1, '2', '2018-07-27 10:40:04');
INSERT INTO `acc_coa` (`HeadCode`, `HeadName`, `PHeadName`, `HeadLevel`, `IsActive`, `IsTransaction`, `IsGL`, `HeadType`, `IsBudget`, `IsDepreciation`, `DepreciationRate`, `CreateBy`, `CreateDate`) VALUES (1020301000012, 'cr-2-imad', 'Customer Receivable', '4', '1', '1', '0', 'A', '0', '0', '0', '2', '2018-07-27 10:40:04');
INSERT INTO `customer` (`customer_code`, `customer_name`, `customer_phone`, `type`, `job_designation`, `store_id`, `customer_address`, `customer_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('cr-2', 'imad', '11', '2', '', '2', '', '111111', '', 1, '2', '2018-07-27 10:40:04');
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
INSERT INTO `customer` (`customer_code`, `customer_name`, `customer_phone`, `type`, `job_designation`, `store_id`, `customer_address`, `customer_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('cc-1', 'asd', '', '1', NULL, '6', NULL, '', NULL, 1, '24', '2018-07-27 10:41:04');
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
INSERT INTO `sales_parent` (`sale_id`, `invoice_no`, `customer_id`, `sale_type_id`, `store_id`, `salesman`, `sales_date`, `sales_time`, `gurrantor_1`, `gurrantor_2`, `advance_amnt`, `lease_id`, `inquiry_officer`, `remaining_amnt`, `installment_amnt`, `package_price`, `total_amnt`) VALUES ('20180727104134', '1019', '0', '1', '6', '24', '2018-07-27', '10:41:34', NULL, NULL, '', NULL, NULL, NULL, 0, 0, '6500.00');
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1019', 'CIV', '2018-07-27 10:41:34', 30101, 'Cash sale credit For Invoice No1019', 0, '6500.00', '6', 1, '24', '2018-07-27 10:41:34', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1019', 'CIV', '2018-07-27 10:41:34', 1020101, 'Cash in hand debit For Invoice No1019', '6500.00', 0, '6', 1, '24', '2018-07-27 10:41:34', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1019', 'CIV', '2018-07-27 10:41:34', 403, 'Cost of sale debit For Invoice No1019', NULL, 0, '6', 1, '24', '2018-07-27 10:41:34', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1019', 'CIV', '2018-07-27 10:41:34', 10107, 'Inventory credit For Invoice No1019', 0, NULL, '6', 1, '24', '2018-07-27 10:41:34', 1);
INSERT INTO `payment_collection` (`sale_id`, `invoice_no`, `customer_id`, `receive_amnt`, `due_amnt`, `receive_by`, `receive_date`) VALUES ('20180727104134', '1019', '0', '6500.00', NULL, '24', '2018-07-27');
INSERT INTO `sale_details` (`sale_id`, `product_id`, `qty`, `sell_price`, `sale_type_id`, `lease_unit_price`) VALUES ('20180727104134', '21', '1', '6500', '1', NULL);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Sales', 'create', 'invoice_no-1019 total amount-6500.00', '24', '2018-07-27 10:41:34');
UPDATE `user` SET `last_login` = '2018-07-29 03:08:56', `ip_address` = '141.101.69.58'
WHERE `id` = '2';
UPDATE `product_brand` SET `brand_id` = '4', `isactive` = 1
WHERE `brand_id` = '4';
INSERT INTO `product_model` (`model_id`, `model_name`, `isactive`) VALUES ('', '700', 1);
INSERT INTO `product` (`product_id`, `product_name`, `product_code`, `model`, `category`, `brand`, `unit`, `product_details`, `purchase_price`, `block_price`, `minimum_price`, `retail_price`, `createby`, `createdate`, `updateby`, `updatedate`, `isactive`) VALUES ('', 'Laptop-HP-700', 'pro-12', '4', '3', '4', '2', '123', '0', '0', '0', '0', '2', '2018-07-29 03:18:17', '', '', 1);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Product', 'create', 'product ID :22', '2', '2018-07-29 03:18:17');
UPDATE `product` SET `product_id` = '22', `product_name` = 'Laptop-HP-700', `product_code` = 'pro-12', `category` = '3', `model` = '4', `unit` = '2', `brand` = '4', `product_details` = '123', `purchase_price` = '4000', `minimum_price` = '5000', `retail_price` = '5500', `block_price` = '4500', `isactive` = '1'
WHERE `product_id` IN('22');
UPDATE `product` SET `product_id` = '21', `product_name` = 'Laptop-HP-650', `product_code` = 'pro-11', `category` = '3', `model` = '3', `unit` = '2', `brand` = '4', `product_details` = 'xyz', `purchase_price` = '5000', `minimum_price` = '6000', `retail_price` = '6500', `block_price` = '5500', `isactive` = '1'
WHERE `product_id` IN('21');
UPDATE `product` SET `product_id` = '20', `product_name` = 'Test-Eco Star-30D2000', `product_code` = 'pro-10', `category` = '1', `model` = '2', `unit` = '1', `brand` = '3', `product_details` = 'test', `purchase_price` = '0', `minimum_price` = '0', `retail_price` = '0', `block_price` = '0', `isactive` = '1'
WHERE `product_id` IN('20');
UPDATE `product` SET `product_id` = '19', `product_name` = 'AC-Eco star-5100', `product_code` = 'pro-9', `category` = '1', `model` = '1', `unit` = '1', `brand` = '1', `product_details` = '', `purchase_price` = '50000', `minimum_price` = '40000', `retail_price` = '45000', `block_price` = '0', `isactive` = '0'
WHERE `product_id` IN('19');
UPDATE `product` SET `product_id` = '18', `product_name` = 'LED-Eco Star-30D2000', `product_code` = 'pro-8', `category` = '2', `model` = '2', `unit` = '1', `brand` = '3', `product_details` = 'dfsdfsdf', `purchase_price` = '40000', `minimum_price` = '45000', `retail_price` = '55000', `block_price` = '43000', `isactive` = '1'
WHERE `product_id` IN('18');
UPDATE `product` SET `product_id` = '17', `product_name` = 'Led-Eco star-20Dl2000', `product_code` = 'pro-7', `category` = '1', `model` = '1', `unit` = '1', `brand` = '1', `product_details` = '', `purchase_price` = '20000', `minimum_price` = '22000', `retail_price` = '23000', `block_price` = '20000', `isactive` = '1'
WHERE `product_id` IN('17');
UPDATE `product` SET `product_id` = '16', `product_name` = 'Ref-Dawlance-9175', `product_code` = 'pro-6', `category` = '1', `model` = '1', `unit` = '1', `brand` = '1', `product_details` = '', `purchase_price` = '1500', `minimum_price` = '2000', `retail_price` = '2500', `block_price` = '1900', `isactive` = '1'
WHERE `product_id` IN('16');
UPDATE `product` SET `product_id` = '15', `product_name` = 'Ref-Dawlance-9170', `product_code` = 'pro-5', `category` = '1', `model` = '1', `unit` = '1', `brand` = '1', `product_details` = '', `purchase_price` = '1000', `minimum_price` = '1500', `retail_price` = '2000', `block_price` = '1200', `isactive` = '1'
WHERE `product_id` IN('15');
UPDATE `product` SET `product_id` = '14', `product_name` = 'Test-Second-Test Model', `product_code` = 'pro-4', `category` = '1', `model` = '1', `unit` = '1', `brand` = '1', `product_details` = '', `purchase_price` = '1000', `minimum_price` = '1200', `retail_price` = '1500', `block_price` = '1100', `isactive` = '1'
WHERE `product_id` IN('14');
UPDATE `product` SET `product_id` = '13', `product_name` = 'Test-Second-Test Model', `product_code` = 'pro-3', `category` = '1', `model` = '1', `unit` = '1', `brand` = '1', `product_details` = '', `purchase_price` = '5', `minimum_price` = '7', `retail_price` = '10', `block_price` = '0', `isactive` = '1'
WHERE `product_id` IN('13');
UPDATE `user` SET `last_login` = '2018-07-29 03:20:23', `ip_address` = '108.162.229.41'
WHERE `id` = '24';
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
INSERT INTO `sales_parent` (`sale_id`, `invoice_no`, `customer_id`, `sale_type_id`, `store_id`, `salesman`, `sales_date`, `sales_time`, `gurrantor_1`, `gurrantor_2`, `advance_amnt`, `lease_id`, `inquiry_officer`, `remaining_amnt`, `installment_amnt`, `package_price`, `total_amnt`) VALUES ('20180729032108', '1020', '2', '1', '6', '24', '2018-07-29', '03:21:08', NULL, NULL, '', NULL, NULL, NULL, 0, 0, '5500.00');
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1020', 'CIV', '2018-07-29 03:21:08', 30101, 'Cash sale credit For Invoice No1020', 0, '5500.00', '6', 1, '24', '2018-07-29 03:21:08', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1020', 'CIV', '2018-07-29 03:21:08', 1020101, 'Cash in hand debit For Invoice No1020', '5500.00', 0, '6', 1, '24', '2018-07-29 03:21:08', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1020', 'CIV', '2018-07-29 03:21:08', 403, 'Cost of sale debit For Invoice No1020', NULL, 0, '6', 1, '24', '2018-07-29 03:21:08', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1020', 'CIV', '2018-07-29 03:21:08', 10107, 'Inventory credit For Invoice No1020', 0, NULL, '6', 1, '24', '2018-07-29 03:21:08', 1);
INSERT INTO `payment_collection` (`sale_id`, `invoice_no`, `customer_id`, `receive_amnt`, `due_amnt`, `receive_by`, `receive_date`) VALUES ('20180729032108', '1020', '2', '5500.00', NULL, '24', '2018-07-29');
INSERT INTO `sale_details` (`sale_id`, `product_id`, `qty`, `sell_price`, `sale_type_id`, `lease_unit_price`) VALUES ('20180729032108', '22', '1', '5500', '1', NULL);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Sales', 'create', 'invoice_no-1020 total amount-5500.00', '24', '2018-07-29 03:21:08');
INSERT INTO `acc_coa` (`HeadCode`, `HeadName`, `PHeadName`, `HeadLevel`, `IsActive`, `IsTransaction`, `IsGL`, `HeadType`, `IsBudget`, `IsDepreciation`, `DepreciationRate`, `CreateBy`, `CreateDate`) VALUES (1020301000012, 'ls-12-asd', 'Customer Receivable', '4', '1', '1', '0', 'A', '0', '0', '0', '24', '2018-07-29 03:23:43');
INSERT INTO `customer` (`customer_code`, `customer_name`, `customer_phone`, `type`, `job_designation`, `store_id`, `customer_address`, `customer_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('ls-12', 'asd', '111111', '3', '', '6', '', '1111', '', 1, '24', '2018-07-29 03:23:43');
UPDATE `lease` SET `lease_id` = '1', `package_code` = 'AR-154', `package_name` = 'Sharif-Test', `lease_duration` = '3', `advance` = 0.1, `markup` = 0.25, `isactive` = 1, `updateby` = '2', `updatedate` = '2018-07-29 03:24:48'
WHERE `lease_id` = '1';
DELETE FROM `lease_store_map`
WHERE `lease_id` = '1';
DELETE FROM `lease_product_map`
WHERE `lease_id` = '1';
INSERT INTO `lease_store_map` (`lease_id`, `store_id`) VALUES ('1', '6');
INSERT INTO `lease_store_map` (`lease_id`, `store_id`) VALUES ('1', '7');
INSERT INTO `lease_product_map` (`lease_id`, `product_id`) VALUES ('1', '15');
INSERT INTO `lease_product_map` (`lease_id`, `product_id`) VALUES ('1', '17');
INSERT INTO `lease_product_map` (`lease_id`, `product_id`) VALUES ('1', '19');
INSERT INTO `lease_product_map` (`lease_id`, `product_id`) VALUES ('1', '21');
INSERT INTO `lease_product_map` (`lease_id`, `product_id`) VALUES ('1', '22');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('leases', 'update', 'Lease Id-1', '2', '2018-07-29 03:24:48');
INSERT INTO `gurrantor` (`gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('gc-1', '111111', '1111', '6', '', '', '1111', '', 1, '24', '2018-07-29 03:29:29');
INSERT INTO `gurrantor` (`gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('gc-2', '11111', '11111', '6', '', '', '11111', '', 1, '24', '2018-07-29 03:29:29');
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
INSERT INTO `sales_parent` (`sale_id`, `invoice_no`, `customer_id`, `sale_type_id`, `store_id`, `salesman`, `sales_date`, `sales_time`, `gurrantor_1`, `gurrantor_2`, `advance_amnt`, `lease_id`, `inquiry_officer`, `remaining_amnt`, `installment_amnt`, `package_price`, `total_amnt`) VALUES ('20180729033106', '1021', '20', '3', '6', '24', '2018-07-29', '03:31:06', '0', '-1', '1200.00', '1', '', '13500.00', '4500.00', '14700.00', '12000.00');
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1021', 'LSIV', '2018-07-29 03:31:06', '1020301000012', 'ls-12-asd Credit For Invoice No1021', 0, '1200.00', '6', 1, '24', '2018-07-29 03:31:06', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1021', 'LSIV', '2018-07-29 03:31:06', '1020301000012', 'ls-12-asd Debit of Total Package Price For Invoice#1021', '14700.00', 0, '6', 1, '24', '2018-07-29 03:31:06', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1021', 'LSIV', '2018-07-29 03:31:06', 1020101, 'Cash In Hand Debit For Invoice No1021', '1200.00', 0, '6', 1, '24', '2018-07-29 03:31:06', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1021', 'LSIV', '2018-07-29 03:31:06', 30102, 'Store Credit For Invoice No1021', 0, '14700.00', '6', 1, '24', '2018-07-29 03:31:06', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1021', 'LSIV', '2018-07-29 03:31:06', 403, 'Cost Of Sale Debit For Invoice No1021', 5000, 0, '6', 1, '24', '2018-07-29 03:31:06', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1021', 'LSIV', '2018-07-29 03:31:06', 10107, 'Inventory Credit For Invoice No1021', 0, 5000, '6', 1, '24', '2018-07-29 03:31:06', 1);
INSERT INTO `payment_collection` (`sale_id`, `invoice_no`, `customer_id`, `receive_amnt`, `due_amnt`, `receive_by`, `receive_date`) VALUES ('20180729033106', '1021', '20', '1200.00', '13500.00', '24', '2018-07-29');
INSERT INTO `customer_gurrantor_map` (`lease_id`, `customer_id`, `gurrantor_id`) VALUES ('1', '20', '0');
INSERT INTO `customer_gurrantor_map` (`lease_id`, `customer_id`, `gurrantor_id`) VALUES ('1', '20', '-1');
INSERT INTO `sale_details` (`sale_id`, `product_id`, `qty`, `sell_price`, `sale_type_id`, `lease_unit_price`) VALUES ('20180729033106', '21', '1', '6500', '3', '7962.5');
INSERT INTO `sale_details` (`sale_id`, `product_id`, `qty`, `sell_price`, `sale_type_id`, `lease_unit_price`) VALUES ('20180729033106', '22', '1', '5500', '3', '6737.5');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Sales', 'create', 'invoice_no-1021 total amount-12000.00', '24', '2018-07-29 03:31:06');
INSERT INTO `payment_collection` (`id`, `invoice_no`, `customer_id`, `receive_amnt`, `receive_date`, `receive_by`) VALUES ('', '1015', '15', '100000', '2018-07-29', '2');
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1015', 'RECVIV', '2018-07-29', 1020101, 'Credit Receive For Invoice No1015', '100000', 0, '2', 1, '2', '2018-07-29', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1015', 'RECVIV', '2018-07-29', '1020301000010', 'Credit Payment For Invoice No1015', 0, '100000', '2', 1, '2', '2018-07-29', 1);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('payment', 'create', 'payment ID :47', '2', '2018-07-29 03:34:47');
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
UPDATE `sales_parent` SET `invoice_no` = '1013', `is_lease_settled` = 1
WHERE `invoice_no` = '1013';
INSERT INTO `payment_collection` (`id`, `invoice_no`, `customer_id`, `receive_amnt`, `receive_date`, `receive_by`, `is_installment`) VALUES ('', '1013', '15', '18700', '2018-07-29', '2', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1013', 'RECVIV', '2018-07-29', 1020101, 'Recovery Receive For Invoice No1013', '18700', 0, '2', 1, '2', '2018-07-29', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1013', 'RECVIV', '2018-07-29', '1020301000010', 'Recovery Payment For Invoice No1013', 0, '18700', '2', 1, '2', '2018-07-29', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1013', 'RECVIV', '2018-07-29', 404, 'Settlement Discount For Invoice# 1013 to 1020301000010', 0, '5175', '2', 1, '2', '2018-07-29', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1013', 'RECVIV', '2018-07-29', '1020301000010', 'Discounted Amount Credited to Customer Balance For Invoice# 1013', 0, '5175', '2', 1, '2', '2018-07-29', 1);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('recovery', 'create', 'payment ID :48', '2', '2018-07-29 03:36:05');
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
INSERT INTO `sales_return` (`invoice_no`, `customer_id`, `store_id`, `sale_type_id`, `return_date`, `totalamount`, `return_reason`, `createby`, `createdate`) VALUES ('1021', '20', '6', '3', '2018-07-29', '3250000.00', '', '2', '2018-07-29 03:39:37');
INSERT INTO `sales_return_details` (`sreturn_id`, `product_id`, `qty`, `product_rate`) VALUES (4, '21', '500', '6500');
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES (4, 'RT', '2018-07-29 03:39:37', '1020301000012', 'Receive For 4', '3250000.00', 0, '6', 1, '2', '2018-07-29 03:39:37', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1021', 'RT', '2018-07-29 03:39:37', 403, 'RT For Invoice No1021', 0, 0, '2', 1, '2', '2018-07-29 03:39:37', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1021', 'RT', '2018-07-29 03:39:37', 10107, 'RT For Invoice No1021', 0, 0, '2', 1, '2', '2018-07-29 03:39:37', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1021', 'CIV', '2018-07-29 03:39:37', 1020101, 'CIV For Invoice No1021', 0, '3250000.00', '2', 1, '2', '2018-07-29 03:39:37', 1);
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
INSERT INTO `purchase_return` (`po_no`, `supplier_id`, `return_date`, `totalamount`, `return_reason`, `createby`, `createdate`) VALUES ('20180727095912', '8', '2018-07-29', '4900.00', '', '2', '2018-07-29 03:42:37');
INSERT INTO `purchase_return_details` (`preturn_id`, `product_id`, `qty`, `store_id`, `product_rate`) VALUES (2, '21', '1', '7', '5000');
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('20180727095912', 'PO', '2018-07-29 03:42:37', '5020205', 'P Return For 20180727095912', '4900.00', 0, '2', 1, '2', '2018-07-29 03:42:37', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('20180727095912', 'PO', '2018-07-29 03:42:37', 10107, 'Purchase Return For PO No20180727095912', 0, '4900.00', '2', 1, '2', '2018-07-29 03:42:37', 1);
INSERT INTO `acc_coa` (`HeadCode`, `HeadName`, `PHeadName`, `HeadLevel`, `IsActive`, `IsTransaction`, `IsGL`, `HeadType`, `IsBudget`, `IsDepreciation`, `DepreciationRate`, `CreateBy`, `CreateDate`) VALUES ('40100001', 'HP-Hasilpur', 'Academic Expenses', '2', '1', '1', '0', 'E', '0', '0', '0', '2', '2018-07-29 03:44:23');
INSERT INTO `store` (`store_id`, `store_name`, `store_code`, `store_phone`, `store_address`, `createby`, `createdate`, `isactive`) VALUES ('', 'Hasilpur', 'HP', '1111', '1111', '2', '2018-07-29 03:44:23', 1);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Store', 'create', 'Store ID :9', '2', '2018-07-29 03:44:23');
INSERT INTO `user` (`id`, `firstname`, `lastname`, `email`, `password`, `about`, `store_id`, `is_admin`, `image`, `last_login`, `last_logout`, `ip_address`, `status`) VALUES ('', 'Faheem', '1234', 'Faheem@gmail.com', '827ccb0eea8a706c4c34a16891f84e7b', '', '9', '0', '', NULL, NULL, NULL, '1');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('User', 'create', 'User ID :27', '2', '2018-07-29 03:48:37');
UPDATE `user` SET `id` = '27', `firstname` = 'Faheem', `lastname` = '1234', `email` = 'Faheem@gmail.com', `password` = '827ccb0eea8a706c4c34a16891f84e7b', `about` = '', `store_id` = '9', `is_admin` = '0', `image` = '', `last_login` = NULL, `last_logout` = NULL, `ip_address` = NULL, `status` = '1'
WHERE `id` = '27';
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('User', 'update', 'User ID :27', '2', '2018-07-29 03:49:49');
INSERT INTO `sec_userrole` (`id`, `user_id`, `roleid`, `createby`, `createdate`) VALUES ('', '27', '2', '2', '2018-07-29 03:50:15');
UPDATE `user` SET `last_login` = '2018-07-29 06:15:13', `ip_address` = '172.69.226.96'
WHERE `id` = '2';
UPDATE `user` SET `last_login` = '2018-07-29 06:15:44', `ip_address` = '141.101.69.4'
WHERE `id` = '24';
INSERT INTO `stock_movement` (`proposal_code`, `for_store_id`, `from_store_id`, `proposal_datetime`, `proposal_by`) VALUES ('p-7', '6', '9', '2018-07-29 06:17:23', '24');
INSERT INTO `stock_movement_details` (`movement_id`, `product_id`, `proposal_qty`) VALUES (10, '', '5');
INSERT INTO `stock_movement_details` (`movement_id`, `product_id`, `proposal_qty`) VALUES (10, '22', '10');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Stockmovment', 'create', 'Stockmovment ID :10', '24', '2018-07-29 06:17:48');
INSERT INTO `stock_movement` (`proposal_code`, `for_store_id`, `from_store_id`, `proposal_datetime`, `proposal_by`) VALUES ('p-8', '6', '7', '2018-07-29 06:20:30', '24');
INSERT INTO `stock_movement_details` (`movement_id`, `product_id`, `proposal_qty`) VALUES (11, '21', '1');
INSERT INTO `stock_movement_details` (`movement_id`, `product_id`, `proposal_qty`) VALUES (11, '22', '2');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Stockmovment', 'create', 'Stockmovment ID :11', '24', '2018-07-29 06:20:51');
UPDATE `user` SET `last_logout` = '2018-07-29 06:21:25'
WHERE `id` = '24';
UPDATE `user` SET `last_login` = '2018-07-29 06:21:37', `ip_address` = '108.162.229.227'
WHERE `id` = '27';
UPDATE `stock_movement` SET `movement_id` = '11', `is_approved` = 1
WHERE `movement_id` = '11';
UPDATE `user` SET `last_logout` = '2018-07-29 06:22:14'
WHERE `id` = '27';
UPDATE `user` SET `last_login` = '2018-07-29 06:22:25', `ip_address` = '108.162.229.227'
WHERE `id` = '24';
UPDATE `stock_movement` SET `movement_id` = '11', `proposal_code` = 'p-8', `for_store_id` = '6', `from_store_id` = '7', `proposal_datetime` = '2018-07-29 06:20:30', `proposal_by` = '24', `issue_by` = '2', `for_warehouse` = 0, `from_warehouse` = 0, `issue_code` = 'is-11', `issue_datetime` = '2018-07-29 06:25:03', `issue_remarks` = '', `is_issued` = 1
WHERE `movement_id` = '11';
UPDATE `stock_movement_details` SET `movement_id` = '11', `product_id` = '21', `proposal_qty` = '1', `issue_qty` = '1', `received_qty` = 0
WHERE `movement_id` = '11'
AND `product_id` = '21';
UPDATE `stock_movement_details` SET `movement_id` = '11', `product_id` = '22', `proposal_qty` = '2', `issue_qty` = '1', `received_qty` = 0
WHERE `movement_id` = '11'
AND `product_id` = '22';
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Stockmovment', 'issue', 'Stockmovment ID :11', '2', '2018-07-29 06:25:03');
UPDATE `stock_movement` SET `movement_id` = '11', `proposal_code` = 'p-8', `for_store_id` = '6', `from_store_id` = '7', `proposal_by` = '24', `issue_by` = '2', `for_warehouse` = 0, `from_warehouse` = 0, `issue_code` = 'is-11', `issue_remarks` = NULL, `is_issued` = 1, `is_received` = 1, `is_proposed` = 1, `receive_by` = '24', `receive_datetime` = '2018-07-29 06:25:37'
WHERE `movement_id` = '11';
UPDATE `stock_movement_details` SET `movement_id` = '11', `product_id` = '21', `proposal_qty` = '1', `issue_qty` = '1', `received_qty` = '1'
WHERE `movement_id` = '11'
AND `product_id` = '21';
UPDATE `stock_movement_details` SET `movement_id` = '11', `product_id` = '22', `proposal_qty` = '2', `issue_qty` = '1', `received_qty` = '2'
WHERE `movement_id` = '11'
AND `product_id` = '22';
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('stockmovement ', 'create', 'movemet received', '24', '2018-07-29 06:25:37');
UPDATE `stock_movement` SET `movement_id` = '10', `is_approved` = 1
WHERE `movement_id` = '10';
UPDATE `user` SET `last_logout` = '2018-07-29 06:26:57'
WHERE `id` = '24';
UPDATE `user` SET `last_login` = '2018-07-29 06:27:22', `ip_address` = '141.101.69.58'
WHERE `id` = '27';
UPDATE `stock_movement` SET `movement_id` = '10', `proposal_code` = 'p-7', `for_store_id` = '6', `from_store_id` = '9', `proposal_datetime` = '2018-07-29 06:17:23', `proposal_by` = '24', `issue_by` = '27', `for_warehouse` = 0, `from_warehouse` = 0, `issue_code` = 'is-11', `issue_datetime` = '2018-07-29 06:27:44', `issue_remarks` = '', `is_issued` = 1
WHERE `movement_id` = '10';
UPDATE `stock_movement` SET `movement_id` = '10', `proposal_code` = 'p-7', `for_store_id` = '6', `from_store_id` = '9', `proposal_datetime` = '2018-07-29 06:17:23', `proposal_by` = '24', `issue_by` = '27', `for_warehouse` = 0, `from_warehouse` = 0, `issue_code` = 'is-11', `issue_datetime` = '2018-07-29 06:27:58', `issue_remarks` = '', `is_issued` = 1
WHERE `movement_id` = '10';
INSERT INTO `stock_movement` (`proposal_code`, `for_store_id`, `from_store_id`, `proposal_datetime`, `proposal_by`) VALUES ('p-9', '9', '6', '2018-07-29 06:28:11', '27');
INSERT INTO `stock_movement_details` (`movement_id`, `product_id`, `proposal_qty`) VALUES (12, '22', '5');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Stockmovment', 'create', 'Stockmovment ID :12', '27', '2018-07-29 06:28:36');
UPDATE `stock_movement` SET `movement_id` = '12', `is_approved` = 1
WHERE `movement_id` = '12';
UPDATE `user` SET `last_logout` = '2018-07-29 06:29:36'
WHERE `id` = '27';
UPDATE `user` SET `last_login` = '2018-07-29 06:29:49', `ip_address` = '141.101.69.58'
WHERE `id` = '24';
UPDATE `stock_movement` SET `movement_id` = '12', `proposal_code` = 'p-9', `for_store_id` = '9', `from_store_id` = '6', `proposal_datetime` = '2018-07-29 06:28:11', `proposal_by` = '27', `issue_by` = '24', `for_warehouse` = 0, `from_warehouse` = 0, `issue_code` = 'is-12', `issue_datetime` = '2018-07-29 06:30:42', `issue_remarks` = '', `is_issued` = 1
WHERE `movement_id` = '12';
UPDATE `stock_movement_details` SET `movement_id` = '12', `product_id` = '22', `proposal_qty` = '5', `issue_qty` = '15', `received_qty` = 0
WHERE `movement_id` = '12'
AND `product_id` = '22';
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Stockmovment', 'issue', 'Stockmovment ID :12', '24', '2018-07-29 06:30:42');
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
UPDATE `user` SET `last_login` = '2018-07-29 15:55:37', `ip_address` = '108.162.229.113'
WHERE `id` = '2';
UPDATE `user` SET `last_login` = '2018-07-30 09:33:50', `ip_address` = '172.69.134.190'
WHERE `id` = '2';
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('20180730093805', 'PO', '2018-07-30 09:38:05', '5020203', 'PO For 20180730093805', 0, '20000.00', '2', 1, '2', '2018-07-30 09:38:05', 1);
INSERT INTO `purchase_order` (`po_no`, `supplier_id`, `total_amnt`, `store_id`, `warehouse_id`, `createby`, `createdate`, `isapproved`) VALUES ('20180730093805', '6', '20000.00', 0, 0, '2', '2018-07-30 09:38:05', 0);
INSERT INTO `purchase_order_details` (`row_id`, `po_no`, `product_id`, `order_qty`, `product_rate`, `discount`, `store_id`) VALUES ('826186239712691', '20180730093805', '22', '5', '4000', '', '6');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('purchase order', 'create', 'Orde Id-20180730093805 total amount-20000.00', '2', '2018-07-30 09:38:05');
INSERT INTO `purchase_receive` (`receive_id`, `po_no`, `supplier_id`, `store_id`, `warehouse_id`, `voucher_no`, `receive_by`, `receive_date`) VALUES ('20180730093823', '20180730093805', '6', 0, 0, 1007, '2', '2018-07-30 09:38:23');
INSERT INTO `purchase_receive_details` (`receive_id`, `product_id`, `receive_qty`, `product_rate`, `store_id`, `discount`) VALUES ('20180730093823', '22', '3', '4000', '6', '100');
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('20180730093805', 'PO', '2018-07-30 09:38:23', 10107, 'PO Receive Receive No 20180730093823', '11900.00', 0, '6', 1, NULL, NULL, 1);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('purchase order receive', 'create', 'Orde Id- total amount-11900.00', '2', '2018-07-30 09:38:23');
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('20180730093930', 'PO', '2018-07-30 09:39:30', '5020203', 'PO For 20180730093930', 0, '4000.00', '2', 1, '2', '2018-07-30 09:39:30', 1);
INSERT INTO `purchase_order` (`po_no`, `supplier_id`, `total_amnt`, `store_id`, `warehouse_id`, `createby`, `createdate`, `isapproved`) VALUES ('20180730093930', '6', '4000.00', 0, 0, '2', '2018-07-30 09:39:30', 0);
INSERT INTO `purchase_order_details` (`row_id`, `po_no`, `product_id`, `order_qty`, `product_rate`, `discount`, `store_id`) VALUES ('251737567171675', '20180730093930', '22', '1', '4000', '', '6');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('purchase order', 'create', 'Orde Id-20180730093930 total amount-4000.00', '2', '2018-07-30 09:39:30');
INSERT INTO `purchase_receive` (`receive_id`, `po_no`, `supplier_id`, `store_id`, `warehouse_id`, `voucher_no`, `receive_by`, `receive_date`) VALUES ('20180730093947', '20180730093930', '6', 0, 0, 1008, '2', '2018-07-30 09:39:47');
INSERT INTO `purchase_receive_details` (`receive_id`, `product_id`, `receive_qty`, `product_rate`, `store_id`, `discount`) VALUES ('20180730093947', '22', '1', '4000', '6', '');
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('20180730093930', 'PO', '2018-07-30 09:39:47', 10107, 'PO Receive Receive No 20180730093947', '4000.00', 0, '6', 1, NULL, NULL, 1);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('purchase order receive', 'create', 'Orde Id- total amount-4000.00', '2', '2018-07-30 09:39:47');
UPDATE `user` SET `last_login` = '2018-07-30 11:31:29', `ip_address` = '172.69.226.96'
WHERE `id` = '2';
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
INSERT INTO `stock_movement` (`proposal_code`, `for_store_id`, `from_store_id`, `proposal_datetime`, `proposal_by`) VALUES ('p-10', '3', '4', '2018-07-30 12:39:31', '2');
INSERT INTO `stock_movement_details` (`movement_id`, `product_id`, `proposal_qty`) VALUES (13, '22', '555');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Stockmovment', 'create', 'Stockmovment ID :13', '2', '2018-07-30 12:42:26');
UPDATE `user` SET `last_login` = '2018-07-31 06:31:12', `ip_address` = '172.68.146.105'
WHERE `id` = '2';
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
UPDATE `stock_movement` SET `movement_id` = '12', `proposal_code` = 'p-9', `for_store_id` = '9', `from_store_id` = '6', `proposal_by` = '27', `issue_by` = '24', `for_warehouse` = 0, `from_warehouse` = 0, `issue_code` = 'is-12', `issue_remarks` = NULL, `is_issued` = 1, `is_received` = 1, `is_proposed` = 1, `receive_by` = '2', `receive_datetime` = '2018-07-31 09:02:55'
WHERE `movement_id` = '12';
UPDATE `stock_movement_details` SET `movement_id` = '12', `product_id` = '22', `proposal_qty` = '5', `issue_qty` = '15', `received_qty` = '15'
WHERE `movement_id` = '12'
AND `product_id` = '22';
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('stockmovement ', 'create', 'movemet received', '2', '2018-07-31 09:02:55');
UPDATE `user` SET `last_login` = '2018-07-31 09:21:06', `ip_address` = '172.69.134.34'
WHERE `id` = '2';
INSERT INTO `language` (`phrase`) VALUES ('po_no');
UPDATE `language` SET `english` = 'Outgoing File'
WHERE `phrase` = 'outgoing_file';
UPDATE `language` SET `english` = 'Out Qty'
WHERE `phrase` = 'outqty';
UPDATE `language` SET `english` = 'Over Due Analysis'
WHERE `phrase` = 'overdue_analysis';
UPDATE `language` SET `english` = 'Overwrite'
WHERE `phrase` = 'overwrite';
UPDATE `language` SET `english` = 'Over Due'
WHERE `phrase` = 'over_due';
UPDATE `language` SET `english` = 'Over Due Amount'
WHERE `phrase` = 'over_due_amount';
UPDATE `language` SET `english` = 'Package'
WHERE `phrase` = 'package';
UPDATE `language` SET `english` = 'Package Amount'
WHERE `phrase` = 'package_amount';
UPDATE `language` SET `english` = 'Paid Amount'
WHERE `phrase` = 'paid_amount';
UPDATE `language` SET `english` = 'Package  Code'
WHERE `phrase` = 'pakage_code';
UPDATE `language` SET `english` = 'Package Name'
WHERE `phrase` = 'pakage_name';
UPDATE `language` SET `english` = 'Particulars'
WHERE `phrase` = 'particulars';
UPDATE `language` SET `english` = 'Password'
WHERE `phrase` = 'password';
UPDATE `language` SET `english` = 'Receiving '
WHERE `phrase` = 'payment';
UPDATE `language` SET `english` = 'You Have No Permission'
WHERE `phrase` = 'permission_error';
UPDATE `language` SET `english` = 'Phone'
WHERE `phrase` = 'phone';
UPDATE `language` SET `english` = 'Please another Product Code!!!'
WHERE `phrase` = 'please_choose_another_p_code';
UPDATE `language` SET `english` = 'Please configure synchronizer settings'
WHERE `phrase` = 'please_configure_synchronizer_settings';
UPDATE `language` SET `english` = 'Please Contact With Admin'
WHERE `phrase` = 'please_contact_with_admin';
UPDATE `language` SET `english` = 'Please Input a correct invoice number'
WHERE `phrase` = 'please_input_correct_invoice_no';
UPDATE `language` SET `english` = 'Please Try Again...'
WHERE `phrase` = 'please_try_again';
UPDATE `language` SET `english` = 'Please Wait...'
WHERE `phrase` = 'please_wait';
UPDATE `language` SET `english` = 'PO NO'
WHERE `phrase` = 'po_no';
UPDATE `language` SET `english` = 'Preview'
WHERE `phrase` = 'preview';
UPDATE `language` SET `english` = 'Price'
WHERE `phrase` = 'price';
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
INSERT INTO `sales_parent` (`sale_id`, `invoice_no`, `customer_id`, `sale_type_id`, `store_id`, `salesman`, `sales_date`, `sales_time`, `gurrantor_1`, `gurrantor_2`, `advance_amnt`, `lease_id`, `inquiry_officer`, `remaining_amnt`, `installment_amnt`, `package_price`, `total_amnt`) VALUES ('20180731105540', '1022', '2', '1', '2', '2', '2018-07-31', '10:55:40', NULL, NULL, '', NULL, NULL, NULL, 0, 0, '6500.00');
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1022', 'CIV', '2018-07-31 10:55:40', 30101, 'Cash sale credit For Invoice No1022', 0, '6500.00', '2', 1, '2', '2018-07-31 10:55:40', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1022', 'CIV', '2018-07-31 10:55:40', 1020101, 'Cash in hand debit For Invoice No1022', '6500.00', 0, '2', 1, '2', '2018-07-31 10:55:40', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1022', 'CIV', '2018-07-31 10:55:40', 403, 'Cost of sale debit For Invoice No1022', NULL, 0, '2', 1, '2', '2018-07-31 10:55:40', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1022', 'CIV', '2018-07-31 10:55:40', 10107, 'Inventory credit For Invoice No1022', 0, NULL, '2', 1, '2', '2018-07-31 10:55:40', 1);
INSERT INTO `payment_collection` (`sale_id`, `invoice_no`, `customer_id`, `receive_amnt`, `due_amnt`, `receive_by`, `receive_date`) VALUES ('20180731105540', '1022', '2', '6500.00', NULL, '2', '2018-07-31');
INSERT INTO `sale_details` (`sale_id`, `product_id`, `qty`, `sell_price`, `sale_type_id`, `lease_unit_price`) VALUES ('20180731105540', '21', '1', '6500', '1', NULL);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Sales', 'create', 'invoice_no-1022 total amount-6500.00', '2', '2018-07-31 10:55:40');
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
INSERT INTO `sales_parent` (`sale_id`, `invoice_no`, `customer_id`, `sale_type_id`, `store_id`, `salesman`, `sales_date`, `sales_time`, `gurrantor_1`, `gurrantor_2`, `advance_amnt`, `lease_id`, `inquiry_officer`, `remaining_amnt`, `installment_amnt`, `package_price`, `total_amnt`) VALUES ('20180731105709', '1023', '2', '1', '2', '2', '2018-07-31', '10:57:09', NULL, NULL, '', NULL, NULL, NULL, 0, 0, '13000.00');
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1023', 'CIV', '2018-07-31 10:57:09', 30101, 'Cash sale credit For Invoice No1023', 0, '13000.00', '2', 1, '2', '2018-07-31 10:57:09', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1023', 'CIV', '2018-07-31 10:57:09', 1020101, 'Cash in hand debit For Invoice No1023', '13000.00', 0, '2', 1, '2', '2018-07-31 10:57:09', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1023', 'CIV', '2018-07-31 10:57:09', 403, 'Cost of sale debit For Invoice No1023', NULL, 0, '2', 1, '2', '2018-07-31 10:57:09', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1023', 'CIV', '2018-07-31 10:57:09', 10107, 'Inventory credit For Invoice No1023', 0, NULL, '2', 1, '2', '2018-07-31 10:57:09', 1);
INSERT INTO `payment_collection` (`sale_id`, `invoice_no`, `customer_id`, `receive_amnt`, `due_amnt`, `receive_by`, `receive_date`) VALUES ('20180731105709', '1023', '2', '13000.00', NULL, '2', '2018-07-31');
INSERT INTO `sale_details` (`sale_id`, `product_id`, `qty`, `sell_price`, `sale_type_id`, `lease_unit_price`) VALUES ('20180731105709', '21', '2', '6500', '1', NULL);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Sales', 'create', 'invoice_no-1023 total amount-13000.00', '2', '2018-07-31 10:57:09');
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
INSERT INTO `sales_parent` (`sale_id`, `invoice_no`, `customer_id`, `sale_type_id`, `store_id`, `salesman`, `sales_date`, `sales_time`, `gurrantor_1`, `gurrantor_2`, `advance_amnt`, `lease_id`, `inquiry_officer`, `remaining_amnt`, `installment_amnt`, `package_price`, `total_amnt`) VALUES ('20180731111039', '1024', '2', '1', '2', '2', '2018-07-31', '11:10:39', NULL, NULL, '', NULL, NULL, NULL, 0, 0, '13000.00');
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1024', 'CIV', '2018-07-31 11:10:39', 30101, 'Cash sale credit For Invoice No1024', 0, '13000.00', '2', 1, '2', '2018-07-31 11:10:39', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1024', 'CIV', '2018-07-31 11:10:39', 1020101, 'Cash in hand debit For Invoice No1024', '13000.00', 0, '2', 1, '2', '2018-07-31 11:10:39', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1024', 'CIV', '2018-07-31 11:10:39', 403, 'Cost of sale debit For Invoice No1024', NULL, 0, '2', 1, '2', '2018-07-31 11:10:39', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1024', 'CIV', '2018-07-31 11:10:39', 10107, 'Inventory credit For Invoice No1024', 0, NULL, '2', 1, '2', '2018-07-31 11:10:39', 1);
INSERT INTO `payment_collection` (`sale_id`, `invoice_no`, `customer_id`, `receive_amnt`, `due_amnt`, `receive_by`, `receive_date`) VALUES ('20180731111039', '1024', '2', '13000.00', NULL, '2', '2018-07-31');
INSERT INTO `sale_details` (`sale_id`, `product_id`, `qty`, `sell_price`, `sale_type_id`, `lease_unit_price`) VALUES ('20180731111039', '21', '2', '6500', '1', NULL);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Sales', 'create', 'invoice_no-1024 total amount-13000.00', '2', '2018-07-31 11:10:39');
CALL get_store_stock(0,@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock(0,@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock(0,@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
UPDATE `acc_coa` SET `HeadCode` = '1020101', `HeadName` = 'Cash In Hand', `PHeadName` = 'Cash & Cash Equivalent', `HeadLevel` = '3', `IsActive` = '1', `IsTransaction` = '1', `IsGL` = 0, `HeadType` = 'A', `IsBudget` = 0, `CreateBy` = '2', `CreateDate` = '2018-07-31 12:55:45'
WHERE `HeadCode` = '1020101';
UPDATE `acc_coa` SET `PHeadName` = 'Cash In Hand'
WHERE `PHeadName` = 'Cash In Hand';
UPDATE `acc_coa` SET `HeadCode` = '1020101', `HeadName` = 'Cash In Hand', `PHeadName` = 'Cash & Cash Equivalent', `HeadLevel` = '3', `IsActive` = '1', `IsTransaction` = '1', `IsGL` = '1', `HeadType` = 'A', `IsBudget` = 0, `CreateBy` = '2', `CreateDate` = '2018-07-31 12:56:28'
WHERE `HeadCode` = '1020101';
UPDATE `acc_coa` SET `PHeadName` = 'Cash In Hand'
WHERE `PHeadName` = 'Cash In Hand';
UPDATE `user` SET `last_login` = '2018-08-01 07:48:04', `ip_address` = '162.158.166.84'
WHERE `id` = '2';
INSERT INTO `acc_coa` (`HeadCode`, `HeadName`, `PHeadName`, `HeadLevel`, `IsActive`, `IsTransaction`, `IsGL`, `HeadType`, `IsBudget`, `IsDepreciation`, `DepreciationRate`, `CreateBy`, `CreateDate`) VALUES (1020301000013, 'cc-1-test', 'Customer Receivable', '4', '1', '1', '0', 'A', '0', '0', '0', '2', '2018-08-01 07:48:35');
INSERT INTO `customer` (`customer_code`, `customer_name`, `customer_phone`, `type`, `job_designation`, `store_id`, `customer_address`, `customer_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('cc-1', 'test', '234234', '1', NULL, '2', NULL, '345235234', NULL, 1, '2', '2018-08-01 07:48:35');
INSERT INTO `acc_coa` (`HeadCode`, `HeadName`, `PHeadName`, `HeadLevel`, `IsActive`, `IsTransaction`, `IsGL`, `HeadType`, `IsBudget`, `IsDepreciation`, `DepreciationRate`, `CreateBy`, `CreateDate`) VALUES (1020301000014, 'cc-1-shahin', 'Customer Receivable', '4', '1', '1', '0', 'A', '0', '0', '0', '2', '2018-08-01 07:53:03');
INSERT INTO `customer` (`customer_code`, `customer_name`, `customer_phone`, `type`, `job_designation`, `store_id`, `customer_address`, `customer_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('cc-1', 'shahin', '4234', '1', 'null', '2', 'null', '545343', 'null', 1, '2', '2018-08-01 07:53:03');
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
UPDATE `sales_parent` SET `invoice_no` = '1009', `is_lease_settled` = 1
WHERE `invoice_no` = '1009';
INSERT INTO `payment_collection` (`id`, `invoice_no`, `customer_id`, `receive_amnt`, `receive_date`, `receive_by`, `is_installment`) VALUES ('', '1009', '11', '8625', '2018-08-01', '2', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1009', 'RECVIV', '2018-08-01', 1020101, 'Recovery Receive For Invoice No1009', '8625', 0, '2', 1, '2', '2018-08-01', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1009', 'RECVIV', '2018-08-01', '102030200', 'Recovery Payment For Invoice No1009', 0, '8625', '2', 1, '2', '2018-08-01', 1);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('recovery', 'create', 'payment ID :52', '2', '2018-08-01 09:56:05');
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
UPDATE `sales_parent` SET `invoice_no` = '1021', `is_lease_settled` = 1
WHERE `invoice_no` = '1021';
INSERT INTO `payment_collection` (`id`, `invoice_no`, `customer_id`, `receive_amnt`, `receive_date`, `receive_by`, `is_installment`) VALUES ('', '1021', '20', '4500', '2018-08-01', '2', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1021', 'RECVIV', '2018-08-01', 1020101, 'Recovery Receive For Invoice No1021', '4500', 0, '2', 1, '2', '2018-08-01', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1021', 'RECVIV', '2018-08-01', '1020301000012', 'Recovery Payment For Invoice No1021', 0, '4500', '2', 1, '2', '2018-08-01', 1);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('recovery', 'create', 'payment ID :53', '2', '2018-08-01 10:00:08');
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
INSERT INTO `payment_collection` (`id`, `invoice_no`, `customer_id`, `receive_amnt`, `receive_date`, `receive_by`, `is_installment`) VALUES ('', '1011', '13', '8000', '2018-08-01', '2', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1011', 'RECVIV', '2018-08-01', 1020101, 'Recovery Receive For Invoice No1011', '8000', 0, '2', 1, '2', '2018-08-01', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1011', 'RECVIV', '2018-08-01', '1020301000008', 'Recovery Payment For Invoice No1011', 0, '8000', '2', 1, '2', '2018-08-01', 1);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('recovery', 'create', 'payment ID :54', '2', '2018-08-01 10:41:23');
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
UPDATE `user` SET `last_login` = '2018-08-02 06:15:31', `ip_address` = '172.69.134.46'
WHERE `id` = '2';
INSERT INTO `acc_coa` (`HeadCode`, `HeadName`, `PHeadName`, `HeadLevel`, `IsActive`, `IsTransaction`, `IsGL`, `HeadType`, `IsBudget`, `IsDepreciation`, `DepreciationRate`, `CreateBy`, `CreateDate`) VALUES (1020301000015, 'cc-2-TikTik', 'Customer Receivable', '4', '1', '1', '0', 'A', '0', '0', '0', '2', '2018-08-02 07:22:53');
INSERT INTO `customer` (`customer_code`, `customer_name`, `customer_phone`, `type`, `job_designation`, `store_id`, `customer_address`, `customer_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('cc-2', 'TikTik', '45654654654', '1', 'null', '2', 'null', '213548463521', 'null', 1, '2', '2018-08-02 07:22:53');
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
INSERT INTO `sales_parent` (`sale_id`, `invoice_no`, `customer_id`, `sale_type_id`, `store_id`, `salesman`, `sales_date`, `sales_time`, `gurrantor_1`, `gurrantor_2`, `advance_amnt`, `lease_id`, `inquiry_officer`, `remaining_amnt`, `installment_amnt`, `package_price`, `total_amnt`) VALUES ('20180802080502', '1025', '22', '1', '2', '2', '2018-08-02', '08:05:02', NULL, NULL, '', NULL, NULL, NULL, 0, 0, '32500.00');
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1025', 'CIV', '2018-08-02 08:05:02', '1020101000001', 'Cash in hand debit For Invoice No1025', '32500.00', 0, '2', 1, '2', '2018-08-02 08:05:02', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1025', 'CIV', '2018-08-02 08:05:02', 403, 'Cost of sale debit For Invoice No1025', NULL, 0, '2', 1, '2', '2018-08-02 08:05:02', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1025', 'CIV', '2018-08-02 08:05:02', 10107, 'Inventory credit For Invoice No1025', 0, NULL, '2', 1, '2', '2018-08-02 08:05:02', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1025', 'CIV', '2018-08-02 08:05:02', '1020301000015', 'Customer debit for Product For Invoice No1025', '32500.00', 0, '2', 1, '2', '2018-08-02 08:05:02', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1025', 'CIV', '2018-08-02 08:05:02', '1020301000015', 'Customer credit for Paid Amount For Invoice No1025', 0, '32500.00', '2', 1, '2', '2018-08-02 08:05:02', 1);
INSERT INTO `payment_collection` (`sale_id`, `invoice_no`, `customer_id`, `receive_amnt`, `due_amnt`, `receive_by`, `receive_date`) VALUES ('20180802080502', '1025', '22', '32500.00', NULL, '2', '2018-08-02');
INSERT INTO `sale_details` (`sale_id`, `product_id`, `qty`, `sell_price`, `sale_type_id`, `lease_unit_price`) VALUES ('20180802080502', '21', '5', '6500', '1', NULL);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Sales', 'create', 'invoice_no-1025 total amount-32500.00', '2', '2018-08-02 08:05:02');
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
INSERT INTO `sales_parent` (`sale_id`, `invoice_no`, `customer_id`, `sale_type_id`, `store_id`, `salesman`, `sales_date`, `sales_time`, `gurrantor_1`, `gurrantor_2`, `advance_amnt`, `lease_id`, `inquiry_officer`, `remaining_amnt`, `installment_amnt`, `package_price`, `total_amnt`) VALUES ('20180802082314', '1026', '22', '1', '2', '2', '2018-08-02', '08:23:14', NULL, NULL, '', NULL, NULL, NULL, 0, 0, '13000.00');
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1026', 'CIV', '2018-08-02 08:23:14', '1020101000002', 'Cash in hand debit For Invoice No1026', '13000.00', 0, '2', 1, '2', '2018-08-02 08:23:14', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1026', 'CIV', '2018-08-02 08:23:14', 403, 'Cost of sale debit For Invoice No1026', NULL, 0, '2', 1, '2', '2018-08-02 08:23:14', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1026', 'CIV', '2018-08-02 08:23:14', 10107, 'Inventory credit For Invoice No1026', 0, NULL, '2', 1, '2', '2018-08-02 08:23:14', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1026', 'CIV', '2018-08-02 08:23:14', '1020301000015', 'Customer debit for Product For Invoice No1026', '13000.00', 0, '2', 1, '2', '2018-08-02 08:23:14', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1026', 'CIV', '2018-08-02 08:23:14', '1020301000015', 'Customer credit for Paid Amount For Invoice No1026', 0, '13000.00', '2', 1, '2', '2018-08-02 08:23:14', 1);
INSERT INTO `payment_collection` (`sale_id`, `invoice_no`, `customer_id`, `receive_amnt`, `due_amnt`, `receive_by`, `receive_date`) VALUES ('20180802082314', '1026', '22', '13000.00', NULL, '2', '2018-08-02');
INSERT INTO `sale_details` (`sale_id`, `product_id`, `qty`, `sell_price`, `sale_type_id`, `lease_unit_price`) VALUES ('20180802082314', '21', '2', '6500', '1', NULL);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Sales', 'create', 'invoice_no-1026 total amount-13000.00', '2', '2018-08-02 08:23:14');
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
UPDATE `user` SET `last_login` = '2018-08-02 10:37:40', `ip_address` = '172.68.144.230'
WHERE `id` = '2';
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
UPDATE `user` SET `last_login` = '2018-08-02 14:44:15', `ip_address` = '172.68.62.65'
WHERE `id` = '2';
UPDATE `lease` SET `lease_id` = '8', `package_code` = '123', `package_name` = 'testing123', `lease_duration` = '12', `advance` = 0.2, `markup` = 0.5, `isactive` = 1, `updateby` = '2', `updatedate` = '2018-08-02 16:14:30'
WHERE `lease_id` = '8';
DELETE FROM `lease_store_map`
WHERE `lease_id` = '8';
DELETE FROM `lease_product_map`
WHERE `lease_id` = '8';
INSERT INTO `lease_store_map` (`lease_id`, `store_id`) VALUES ('8', '7');
INSERT INTO `lease_store_map` (`lease_id`, `store_id`) VALUES ('8', '5');
INSERT INTO `lease_store_map` (`lease_id`, `store_id`) VALUES ('8', '9');
INSERT INTO `lease_product_map` (`lease_id`, `product_id`) VALUES ('8', '16');
INSERT INTO `lease_product_map` (`lease_id`, `product_id`) VALUES ('8', '17');
INSERT INTO `lease_product_map` (`lease_id`, `product_id`) VALUES ('8', '18');
INSERT INTO `lease_product_map` (`lease_id`, `product_id`) VALUES ('8', '8');
INSERT INTO `lease_product_map` (`lease_id`, `product_id`) VALUES ('8', '22');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('leases', 'update', 'Lease Id-8', '2', '2018-08-02 16:14:30');
UPDATE `lease` SET `lease_id` = '1', `package_code` = 'AR-154', `package_name` = 'Sharif-Test', `lease_duration` = '2', `advance` = 0.1, `markup` = 0.25, `isactive` = 1, `updateby` = '2', `updatedate` = '2018-08-02 16:14:52'
WHERE `lease_id` = '1';
DELETE FROM `lease_store_map`
WHERE `lease_id` = '1';
DELETE FROM `lease_product_map`
WHERE `lease_id` = '1';
INSERT INTO `lease_store_map` (`lease_id`, `store_id`) VALUES ('1', '6');
INSERT INTO `lease_store_map` (`lease_id`, `store_id`) VALUES ('1', '7');
INSERT INTO `lease_store_map` (`lease_id`, `store_id`) VALUES ('1', '9');
INSERT INTO `lease_product_map` (`lease_id`, `product_id`) VALUES ('1', '15');
INSERT INTO `lease_product_map` (`lease_id`, `product_id`) VALUES ('1', '17');
INSERT INTO `lease_product_map` (`lease_id`, `product_id`) VALUES ('1', '19');
INSERT INTO `lease_product_map` (`lease_id`, `product_id`) VALUES ('1', '21');
INSERT INTO `lease_product_map` (`lease_id`, `product_id`) VALUES ('1', '22');
INSERT INTO `lease_product_map` (`lease_id`, `product_id`) VALUES ('1', '21');
INSERT INTO `lease_product_map` (`lease_id`, `product_id`) VALUES ('1', '22');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('leases', 'update', 'Lease Id-1', '2', '2018-08-02 16:14:52');
UPDATE `lease` SET `lease_id` = '1', `package_code` = 'AR-154', `package_name` = 'Sharif-Test', `lease_duration` = '2', `advance` = 0.1, `markup` = 0.25, `isactive` = 1, `updateby` = '2', `updatedate` = '2018-08-02 16:15:00'
WHERE `lease_id` = '1';
DELETE FROM `lease_store_map`
WHERE `lease_id` = '1';
DELETE FROM `lease_product_map`
WHERE `lease_id` = '1';
INSERT INTO `lease_store_map` (`lease_id`, `store_id`) VALUES ('1', '6');
INSERT INTO `lease_store_map` (`lease_id`, `store_id`) VALUES ('1', '7');
INSERT INTO `lease_store_map` (`lease_id`, `store_id`) VALUES ('1', '9');
INSERT INTO `lease_product_map` (`lease_id`, `product_id`) VALUES ('1', '15');
INSERT INTO `lease_product_map` (`lease_id`, `product_id`) VALUES ('1', '17');
INSERT INTO `lease_product_map` (`lease_id`, `product_id`) VALUES ('1', '19');
INSERT INTO `lease_product_map` (`lease_id`, `product_id`) VALUES ('1', '21');
INSERT INTO `lease_product_map` (`lease_id`, `product_id`) VALUES ('1', '22');
INSERT INTO `lease_product_map` (`lease_id`, `product_id`) VALUES ('1', '21');
INSERT INTO `lease_product_map` (`lease_id`, `product_id`) VALUES ('1', '22');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('leases', 'update', 'Lease Id-1', '2', '2018-08-02 16:15:00');
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
INSERT INTO `payment_collection` (`id`, `invoice_no`, `customer_id`, `receive_amnt`, `receive_date`, `receive_by`, `is_installment`) VALUES ('', '1021', '20', '2000', '2018-08-02', '2', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1021', 'RECVIV', '2018-08-02', NULL, 'Recovery Receive For Invoice No1021', '2000', 0, '2', 1, '2', '2018-08-02', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1021', 'RECVIV', '2018-08-02', '1020301000012', 'Recovery Paid For Invoice No1021', 0, '2000', '2', 1, '2', '2018-08-02', 1);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('recovery', 'create', 'payment ID :57', '2', '2018-08-02 16:17:19');
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
CALL get_store_stock('',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
INSERT INTO `product_model` (`model_id`, `model_name`, `isactive`) VALUES ('', '1000', 1);
INSERT INTO `product` (`product_id`, `product_name`, `product_code`, `model`, `category`, `brand`, `unit`, `product_details`, `purchase_price`, `block_price`, `minimum_price`, `retail_price`, `createby`, `createdate`, `updateby`, `updatedate`, `isactive`) VALUES ('', 'Laptop-HP-1000', 'pro-13', '5', '3', '4', '2', '', '0', '0', '0', '0', '2', '2018-08-02 16:23:04', '', '', 1);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Product', 'create', 'product ID :23', '2', '2018-08-02 16:23:04');
UPDATE `product` SET `product_id` = '23', `product_name` = 'Laptop-HP-1000', `product_code` = 'pro-13', `category` = '3', `model` = '5', `unit` = '2', `brand` = '4', `product_details` = '', `purchase_price` = '10000', `minimum_price` = '0', `retail_price` = '15000', `block_price` = '0', `isactive` = '1'
WHERE `product_id` IN('23');
UPDATE `product` SET `product_id` = '22', `product_name` = 'Laptop-HP-700', `product_code` = 'pro-12', `category` = '3', `model` = '4', `unit` = '2', `brand` = '4', `product_details` = '123', `purchase_price` = '4000', `minimum_price` = '5000', `retail_price` = '5500', `block_price` = '4500', `isactive` = '1'
WHERE `product_id` IN('22');
UPDATE `product` SET `product_id` = '21', `product_name` = 'Laptop-HP-650', `product_code` = 'pro-11', `category` = '3', `model` = '3', `unit` = '2', `brand` = '4', `product_details` = 'xyz', `purchase_price` = '5000', `minimum_price` = '6000', `retail_price` = '6500', `block_price` = '5500', `isactive` = '1'
WHERE `product_id` IN('21');
UPDATE `product` SET `product_id` = '20', `product_name` = 'Test-Eco Star-30D2000', `product_code` = 'pro-10', `category` = '1', `model` = '2', `unit` = '1', `brand` = '3', `product_details` = 'test', `purchase_price` = '0', `minimum_price` = '0', `retail_price` = '0', `block_price` = '0', `isactive` = '1'
WHERE `product_id` IN('20');
UPDATE `product` SET `product_id` = '19', `product_name` = 'AC-Eco star-5100', `product_code` = 'pro-9', `category` = '1', `model` = '1', `unit` = '1', `brand` = '1', `product_details` = '', `purchase_price` = '50000', `minimum_price` = '40000', `retail_price` = '45000', `block_price` = '0', `isactive` = '0'
WHERE `product_id` IN('19');
UPDATE `product` SET `product_id` = '18', `product_name` = 'LED-Eco Star-30D2000', `product_code` = 'pro-8', `category` = '2', `model` = '2', `unit` = '1', `brand` = '3', `product_details` = 'dfsdfsdf', `purchase_price` = '40000', `minimum_price` = '45000', `retail_price` = '55000', `block_price` = '43000', `isactive` = '1'
WHERE `product_id` IN('18');
UPDATE `product` SET `product_id` = '17', `product_name` = 'Led-Eco star-20Dl2000', `product_code` = 'pro-7', `category` = '1', `model` = '1', `unit` = '1', `brand` = '1', `product_details` = '', `purchase_price` = '20000', `minimum_price` = '22000', `retail_price` = '23000', `block_price` = '20000', `isactive` = '1'
WHERE `product_id` IN('17');
UPDATE `product` SET `product_id` = '16', `product_name` = 'Ref-Dawlance-9175', `product_code` = 'pro-6', `category` = '1', `model` = '1', `unit` = '1', `brand` = '1', `product_details` = '', `purchase_price` = '1500', `minimum_price` = '2000', `retail_price` = '2500', `block_price` = '1900', `isactive` = '1'
WHERE `product_id` IN('16');
UPDATE `product` SET `product_id` = '15', `product_name` = 'Ref-Dawlance-9170', `product_code` = 'pro-5', `category` = '1', `model` = '1', `unit` = '1', `brand` = '1', `product_details` = '', `purchase_price` = '1000', `minimum_price` = '1500', `retail_price` = '2000', `block_price` = '1200', `isactive` = '1'
WHERE `product_id` IN('15');
UPDATE `product` SET `product_id` = '14', `product_name` = 'Test-Second-Test Model', `product_code` = 'pro-4', `category` = '1', `model` = '1', `unit` = '1', `brand` = '1', `product_details` = '', `purchase_price` = '1000', `minimum_price` = '1200', `retail_price` = '1500', `block_price` = '1100', `isactive` = '1'
WHERE `product_id` IN('14');
INSERT INTO `acc_coa` (`HeadCode`, `HeadName`, `PHeadName`, `HeadLevel`, `IsActive`, `IsTransaction`, `IsGL`, `HeadType`, `IsBudget`, `IsDepreciation`, `DepreciationRate`, `CreateBy`, `CreateDate`) VALUES (5020200007, 'sup-5-New', 'Account Payable', '3', '1', '1', '0', 'L', '0', '0', '0', '2', '2018-08-02 16:23:42');
INSERT INTO `supplier` (`supplier_id`, `supplier_name`, `supplier_code`, `phone`, `address`, `email`, `contact_per_name`, `c_p_contact`, `isactive`, `createby`, `createdate`, `updateby`, `updatedate`) VALUES ('', 'New', 'sup-5', '', '', '', '', '', 1, '2', '2018-08-02 16:23:42', '', '');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Supplier', 'create', 'Supplier ID :9', '2', '2018-08-02 16:23:42');
INSERT INTO `purchase_order` (`po_no`, `supplier_id`, `total_amnt`, `store_id`, `warehouse_id`, `createby`, `createdate`, `isapproved`) VALUES ('20180802162437', '9', '60000.00', 0, 0, '2', '2018-08-02 16:24:37', 0);
INSERT INTO `purchase_order_details` (`row_id`, `po_no`, `product_id`, `order_qty`, `product_rate`, `discount`, `store_id`) VALUES ('376626482714244', '20180802162437', '23', '5', '10000', '', '6');
INSERT INTO `purchase_order_details` (`row_id`, `po_no`, `product_id`, `order_qty`, `product_rate`, `discount`, `store_id`) VALUES ('631931816777632', '20180802162437', '23', '1', '10000', '', '9');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('purchase order', 'create', 'Orde Id-20180802162437 total amount-60000.00', '2', '2018-08-02 16:24:37');
INSERT INTO `purchase_receive` (`receive_id`, `po_no`, `supplier_id`, `store_id`, `warehouse_id`, `voucher_no`, `receive_by`, `receive_date`) VALUES ('20180802162451', '20180802162437', '9', 0, 0, 1009, '2', '2018-08-02 16:24:51');
INSERT INTO `purchase_receive_details` (`receive_id`, `product_id`, `receive_qty`, `product_rate`, `store_id`, `discount`) VALUES ('20180802162451', '23', '4', '10000', '6', '');
INSERT INTO `purchase_receive_details` (`receive_id`, `product_id`, `receive_qty`, `product_rate`, `store_id`, `discount`) VALUES ('20180802162451', '23', '1', '10000', '9', '');
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('20180802162437', 'PO', '2018-08-02 16:24:51', 10107, 'PO Receive Receive No 20180802162451', '40000.00', 0, '6', 1, '2', '2018-08-02 16:24:51', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('20180802162437', 'PO', '2018-08-02 16:24:51', 10107, 'PO Receive Receive No 20180802162451', '10000.00', 0, '9', 1, '2', '2018-08-02 16:24:51', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('20180802162437', 'PO', '2018-08-02 16:24:51', '5020200007', 'PO received For PO No.20180802162437 Receive No.20180802162451', 0, '50000.00', '2', 1, '2', '2018-08-02 16:24:51', 1);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('purchase order receive', 'create', 'Order Id- total amount-50000.00', '2', '2018-08-02 16:24:51');
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
INSERT INTO `acc_coa` (`HeadCode`, `HeadName`, `PHeadName`, `HeadLevel`, `IsActive`, `IsTransaction`, `IsGL`, `HeadType`, `IsBudget`, `IsDepreciation`, `DepreciationRate`, `CreateBy`, `CreateDate`) VALUES (40100002, 'cw-Chichawatni', 'Store Expenses', '2', '1', '1', '0', 'E', '0', '0', '0', '2', '2018-08-02 16:30:41');
INSERT INTO `acc_coa` (`HeadCode`, `HeadName`, `PHeadName`, `HeadLevel`, `IsActive`, `IsTransaction`, `IsGL`, `HeadType`, `IsBudget`, `IsDepreciation`, `DepreciationRate`, `CreateBy`, `CreateDate`) VALUES (1020101000003, 'Cash-cw-Chichawatni', 'Cash In Hand', '4', '1', '1', '0', 'A', '0', '0', '0', '2', '2018-08-02 16:30:41');
INSERT INTO `store` (`store_id`, `store_name`, `store_code`, `store_phone`, `store_address`, `createby`, `createdate`, `isactive`) VALUES ('', 'Chichawatni', 'cw', '', 'asadad', '2', '2018-08-02 16:30:41', 1);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Store', 'create', 'Store ID :10', '2', '2018-08-02 16:30:41');
INSERT INTO `acc_coa` (`HeadCode`, `HeadName`, `PHeadName`, `HeadLevel`, `IsActive`, `IsTransaction`, `IsGL`, `HeadType`, `IsBudget`, `IsDepreciation`, `DepreciationRate`, `CreateBy`, `CreateDate`) VALUES (1020301000016, 'cc-3-cash sale', 'Customer Receivable', '4', '1', '1', '0', 'A', '0', '0', '0', '2', '2018-08-02 16:32:28');
INSERT INTO `customer` (`customer_code`, `customer_name`, `customer_phone`, `type`, `job_designation`, `store_id`, `customer_address`, `customer_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('cc-3', 'cash sale', '', '1', 'null', '2', 'null', '', 'null', 1, '2', '2018-08-02 16:32:28');
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
INSERT INTO `sales_parent` (`sale_id`, `invoice_no`, `customer_id`, `sale_type_id`, `store_id`, `salesman`, `sales_date`, `sales_time`, `gurrantor_1`, `gurrantor_2`, `advance_amnt`, `lease_id`, `inquiry_officer`, `remaining_amnt`, `installment_amnt`, `package_price`, `total_amnt`) VALUES ('20180802163247', '1027', '23', '1', '2', '2', '2018-08-02', '16:32:47', NULL, NULL, '', NULL, NULL, NULL, 0, 0, '15000.00');
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1027', 'CIV', '2018-08-02 16:32:47', '1020101000002', 'Cash in hand debit For Invoice No1027', '15000.00', 0, '2', 1, '2', '2018-08-02 16:32:47', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1027', 'CIV', '2018-08-02 16:32:47', 403, 'Cost of sale debit For Invoice No1027', NULL, 0, '2', 1, '2', '2018-08-02 16:32:47', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1027', 'CIV', '2018-08-02 16:32:47', 10107, 'Inventory credit For Invoice No1027', 0, NULL, '2', 1, '2', '2018-08-02 16:32:47', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1027', 'CIV', '2018-08-02 16:32:47', '1020301000016', 'Customer debit for Product For Invoice No1027', '15000.00', 0, '2', 1, '2', '2018-08-02 16:32:47', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1027', 'CIV', '2018-08-02 16:32:47', '1020301000016', 'Customer credit for Paid Amount For Invoice No1027', 0, '15000.00', '2', 1, '2', '2018-08-02 16:32:47', 1);
INSERT INTO `payment_collection` (`sale_id`, `invoice_no`, `customer_id`, `receive_amnt`, `due_amnt`, `receive_by`, `receive_date`) VALUES ('20180802163247', '1027', '23', '15000.00', NULL, '2', '2018-08-02');
INSERT INTO `sale_details` (`sale_id`, `product_id`, `qty`, `sell_price`, `sale_type_id`, `lease_unit_price`) VALUES ('20180802163247', '23', '1', '15000', '1', NULL);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Sales', 'create', 'invoice_no-1027 total amount-15000.00', '2', '2018-08-02 16:32:47');
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
UPDATE `user` SET `last_login` = '2018-08-02 16:43:32', `ip_address` = '172.68.62.245'
WHERE `id` = '24';
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
INSERT INTO `sales_parent` (`sale_id`, `invoice_no`, `customer_id`, `sale_type_id`, `store_id`, `salesman`, `sales_date`, `sales_time`, `gurrantor_1`, `gurrantor_2`, `advance_amnt`, `lease_id`, `inquiry_officer`, `remaining_amnt`, `installment_amnt`, `package_price`, `total_amnt`) VALUES ('20180802164407', '1028', '20', '1', '6', '24', '2018-08-02', '16:44:07', NULL, NULL, '', NULL, NULL, NULL, 0, 0, '15000.00');
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1028', 'CIV', '2018-08-02 16:44:07', NULL, 'Cash in hand debit For Invoice No1028', '15000.00', 0, '6', 1, '24', '2018-08-02 16:44:07', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1028', 'CIV', '2018-08-02 16:44:07', 403, 'Cost of sale debit For Invoice No1028', NULL, 0, '6', 1, '24', '2018-08-02 16:44:07', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1028', 'CIV', '2018-08-02 16:44:07', 10107, 'Inventory credit For Invoice No1028', 0, NULL, '6', 1, '24', '2018-08-02 16:44:07', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1028', 'CIV', '2018-08-02 16:44:07', '1020301000012', 'Customer debit for Product For Invoice No1028', '15000.00', 0, '6', 1, '24', '2018-08-02 16:44:07', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1028', 'CIV', '2018-08-02 16:44:07', '1020301000012', 'Customer credit for Paid Amount For Invoice No1028', 0, '15000.00', '6', 1, '24', '2018-08-02 16:44:07', 1);
INSERT INTO `payment_collection` (`sale_id`, `invoice_no`, `customer_id`, `receive_amnt`, `due_amnt`, `receive_by`, `receive_date`) VALUES ('20180802164407', '1028', '20', '15000.00', NULL, '24', '2018-08-02');
INSERT INTO `sale_details` (`sale_id`, `product_id`, `qty`, `sell_price`, `sale_type_id`, `lease_unit_price`) VALUES ('20180802164407', '23', '1', '15000', '1', NULL);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Sales', 'create', 'invoice_no-1028 total amount-15000.00', '24', '2018-08-02 16:44:07');
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
UPDATE `user` SET `last_login` = '2018-08-04 04:43:45', `ip_address` = '172.68.146.129'
WHERE `id` = '2';
INSERT INTO `product_category` (`category_id`, `category_name`, `isactive`) VALUES ('', 'Refrezarator', 1);
INSERT INTO `product_model` (`model_id`, `model_name`, `isactive`) VALUES ('', 'Refrez-1200', 1);
INSERT INTO `product_brand` (`brand_id`, `brand_name`, `isactive`) VALUES ('', 'Walton', 1);
INSERT INTO `product_unit` (`unit_id`, `unit_name`, `isactive`) VALUES ('', 'Pcs', 1);
INSERT INTO `product` (`product_id`, `product_name`, `product_code`, `model`, `category`, `brand`, `unit`, `product_details`, `purchase_price`, `block_price`, `minimum_price`, `retail_price`, `createby`, `createdate`, `updateby`, `updatedate`, `isactive`) VALUES ('', 'Refrezarator-Walton-Refrez-1200', 'pro-14', '6', '4', '5', '4', 'New  product', '0', '0', '0', '0', '2', '2018-08-04 04:47:41', '', '', 1);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Product', 'create', 'product ID :24', '2', '2018-08-04 04:47:41');
UPDATE `user` SET `last_login` = '2018-08-04 04:47:59', `ip_address` = '162.158.166.36'
WHERE `id` = '2';
UPDATE `product` SET `product_id` = '24', `product_name` = 'Refrezarator-Walton-Refrez-1200', `product_code` = 'pro-14', `category` = '4', `model` = '6', `unit` = '4', `brand` = '5', `product_details` = 'New  product', `purchase_price` = '35000', `minimum_price` = '37000', `retail_price` = '40000', `block_price` = '36000', `isactive` = '1'
WHERE `product_id` IN('24');
UPDATE `product` SET `product_id` = '23', `product_name` = 'Laptop-HP-1000', `product_code` = 'pro-13', `category` = '3', `model` = '5', `unit` = '2', `brand` = '4', `product_details` = '', `purchase_price` = '10000', `minimum_price` = '0', `retail_price` = '15000', `block_price` = '0', `isactive` = '1'
WHERE `product_id` IN('23');
UPDATE `product` SET `product_id` = '22', `product_name` = 'Laptop-HP-700', `product_code` = 'pro-12', `category` = '3', `model` = '4', `unit` = '2', `brand` = '4', `product_details` = '123', `purchase_price` = '4000', `minimum_price` = '5000', `retail_price` = '5500', `block_price` = '4500', `isactive` = '1'
WHERE `product_id` IN('22');
UPDATE `product` SET `product_id` = '21', `product_name` = 'Laptop-HP-650', `product_code` = 'pro-11', `category` = '3', `model` = '3', `unit` = '2', `brand` = '4', `product_details` = 'xyz', `purchase_price` = '5000', `minimum_price` = '6000', `retail_price` = '6500', `block_price` = '5500', `isactive` = '1'
WHERE `product_id` IN('21');
UPDATE `product` SET `product_id` = '20', `product_name` = 'Test-Eco Star-30D2000', `product_code` = 'pro-10', `category` = '1', `model` = '2', `unit` = '1', `brand` = '3', `product_details` = 'test', `purchase_price` = '0', `minimum_price` = '0', `retail_price` = '0', `block_price` = '0', `isactive` = '1'
WHERE `product_id` IN('20');
UPDATE `product` SET `product_id` = '19', `product_name` = 'AC-Eco star-5100', `product_code` = 'pro-9', `category` = '1', `model` = '1', `unit` = '1', `brand` = '1', `product_details` = '', `purchase_price` = '50000', `minimum_price` = '40000', `retail_price` = '45000', `block_price` = '0', `isactive` = '0'
WHERE `product_id` IN('19');
UPDATE `product` SET `product_id` = '18', `product_name` = 'LED-Eco Star-30D2000', `product_code` = 'pro-8', `category` = '2', `model` = '2', `unit` = '1', `brand` = '3', `product_details` = 'dfsdfsdf', `purchase_price` = '40000', `minimum_price` = '45000', `retail_price` = '55000', `block_price` = '43000', `isactive` = '1'
WHERE `product_id` IN('18');
UPDATE `product` SET `product_id` = '17', `product_name` = 'Led-Eco star-20Dl2000', `product_code` = 'pro-7', `category` = '1', `model` = '1', `unit` = '1', `brand` = '1', `product_details` = '', `purchase_price` = '20000', `minimum_price` = '22000', `retail_price` = '23000', `block_price` = '20000', `isactive` = '1'
WHERE `product_id` IN('17');
UPDATE `product` SET `product_id` = '16', `product_name` = 'Ref-Dawlance-9175', `product_code` = 'pro-6', `category` = '1', `model` = '1', `unit` = '1', `brand` = '1', `product_details` = '', `purchase_price` = '1500', `minimum_price` = '2000', `retail_price` = '2500', `block_price` = '1900', `isactive` = '1'
WHERE `product_id` IN('16');
UPDATE `product` SET `product_id` = '15', `product_name` = 'Ref-Dawlance-9170', `product_code` = 'pro-5', `category` = '1', `model` = '1', `unit` = '1', `brand` = '1', `product_details` = '', `purchase_price` = '1000', `minimum_price` = '1500', `retail_price` = '2000', `block_price` = '1200', `isactive` = '1'
WHERE `product_id` IN('15');
INSERT INTO `lease` (`package_code`, `package_name`, `lease_duration`, `advance`, `markup`, `isactive`, `createby`, `createdate`) VALUES ('fr-210', 'new-hotpackage', '8', 0.1, 0.2, 1, '2', '2018-08-04 04:50:36');
INSERT INTO `lease_store_map` (`lease_id`, `store_id`) VALUES (9, '7');
INSERT INTO `lease_store_map` (`lease_id`, `store_id`) VALUES (9, '9');
INSERT INTO `lease_store_map` (`lease_id`, `store_id`) VALUES (9, '10');
INSERT INTO `lease_product_map` (`lease_id`, `product_id`) VALUES (9, '20');
INSERT INTO `lease_product_map` (`lease_id`, `product_id`) VALUES (9, '24');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('leases', 'create', 'Lease Id-9', '2', '2018-08-04 04:50:36');
INSERT INTO `purchase_order` (`po_no`, `supplier_id`, `total_amnt`, `store_id`, `warehouse_id`, `createby`, `createdate`, `isapproved`) VALUES ('20180804045253', '3', '700000.00', 0, 0, '2', '2018-08-04 04:52:53', 0);
INSERT INTO `purchase_order_details` (`row_id`, `po_no`, `product_id`, `order_qty`, `product_rate`, `discount`, `store_id`) VALUES ('197167486725746', '20180804045253', '24', '20', '35000', '', '2');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('purchase order', 'create', 'Orde Id-20180804045253 total amount-700000.00', '2', '2018-08-04 04:52:53');
INSERT INTO `purchase_receive` (`receive_id`, `po_no`, `supplier_id`, `store_id`, `warehouse_id`, `voucher_no`, `receive_by`, `receive_date`) VALUES ('20180804045304', '20180804045253', '3', 0, 0, 1010, '2', '2018-08-04 04:53:04');
INSERT INTO `purchase_receive_details` (`receive_id`, `product_id`, `receive_qty`, `product_rate`, `store_id`, `discount`) VALUES ('20180804045304', '24', '20', '35000', '2', '');
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('20180804045253', 'PO', '2018-08-04 04:53:04', 10107, 'PO Receive Receive No 20180804045304', '700000.00', 0, '2', 1, '2', '2018-08-04 04:53:04', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('20180804045253', 'PO', '2018-08-04 04:53:04', NULL, 'PO received For PO No.20180804045253 Receive No.20180804045304', 0, '700000.00', '2', 1, '2', '2018-08-04 04:53:04', 1);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('purchase order receive', 'create', 'Order Id- total amount-700000.00', '2', '2018-08-04 04:53:04');
INSERT INTO `gurrantor` (`gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('gc-57', 'dfsdfs', '2354234', '2', 'dfg', 'dfg', '43534523', 'gdfgdf', 1, '2', '2018-08-04 04:53:41');
INSERT INTO `gurrantor` (`gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('gc-58', 'sdfsdfsdf', '234234', '2', 'dfgdfg', 'dfgsdf', '23454352', 'gdfgdfg', 1, '2', '2018-08-04 04:53:41');
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
INSERT INTO `sales_parent` (`sale_id`, `invoice_no`, `customer_id`, `sale_type_id`, `store_id`, `salesman`, `sales_date`, `sales_time`, `gurrantor_1`, `gurrantor_2`, `advance_amnt`, `lease_id`, `inquiry_officer`, `remaining_amnt`, `installment_amnt`, `package_price`, `total_amnt`) VALUES ('20180804050607', '1029', '22', '3', '2', '2', '2018-08-04', '05:06:07', '80', '79', '8000.00', '9', '27', '86400.00', '10800.00', '94400.00', '80000.00');
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1029', 'LSIV', '2018-08-04 05:06:07', '1020301000015', 'cc-2-TikTik Credit For Invoice No1029', 0, '8000.00', '2', 1, '2', '2018-08-04 05:06:07', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1029', 'LSIV', '2018-08-04 05:06:07', '1020301000015', 'cc-2-TikTik Debit of Total Package Price For Invoice#1029', '94400.00', 0, '2', 1, '2', '2018-08-04 05:06:07', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1029', 'LSIV', '2018-08-04 05:06:07', '1020101000002', 'Cash In Hand Debit For Lease Invoice No1029', '8000.00', 0, '2', 1, '2', '2018-08-04 05:06:07', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1029', 'LSIV', '2018-08-04 05:06:07', 30102, 'Store Credit For Invoice No1029', 0, '94400.00', '2', 1, '2', '2018-08-04 05:06:07', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1029', 'LSIV', '2018-08-04 05:06:07', 403, 'Cost Of Sale Debit For Invoice No1029', 70000, 0, '2', 1, '2', '2018-08-04 05:06:07', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1029', 'LSIV', '2018-08-04 05:06:07', 10107, 'Inventory Credit For Invoice No1029', 0, 70000, '2', 1, '2', '2018-08-04 05:06:07', 1);
INSERT INTO `payment_collection` (`sale_id`, `invoice_no`, `customer_id`, `receive_amnt`, `due_amnt`, `receive_by`, `receive_date`) VALUES ('20180804050607', '1029', '22', '8000.00', '86400.00', '2', '2018-08-04');
INSERT INTO `customer_gurrantor_map` (`lease_id`, `customer_id`, `gurrantor_id`) VALUES ('9', '22', '80');
INSERT INTO `customer_gurrantor_map` (`lease_id`, `customer_id`, `gurrantor_id`) VALUES ('9', '22', '79');
INSERT INTO `sale_details` (`sale_id`, `product_id`, `qty`, `sell_price`, `sale_type_id`, `lease_unit_price`) VALUES ('20180804050607', '24', '2', '40000', '3', '47200');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Sales', 'create', 'invoice_no-1029 total amount-80000.00', '2', '2018-08-04 05:06:07');
UPDATE `user` SET `id` = '26', `firstname` = 'shm', `lastname` = 'Sharif', `email` = 'sharif@gmail.com', `password` = 'e10adc3949ba59abbe56e057f20f883e', `about` = '', `store_id` = '10', `is_admin` = '0', `image` = '', `last_login` = NULL, `last_logout` = NULL, `ip_address` = NULL, `status` = '1'
WHERE `id` = '26';
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('User', 'update', 'User ID :26', '2', '2018-08-04 05:17:45');
UPDATE `user` SET `last_login` = '2018-08-04 05:18:56', `ip_address` = '172.69.134.34'
WHERE `id` = '26';
INSERT INTO `acc_coa` (`HeadCode`, `HeadName`, `PHeadName`, `HeadLevel`, `IsActive`, `IsTransaction`, `IsGL`, `HeadType`, `IsBudget`, `IsDepreciation`, `DepreciationRate`, `CreateBy`, `CreateDate`) VALUES (1020301000017, 'cc-4-Chicha', 'Customer Receivable', '4', '1', '1', '0', 'A', '0', '0', '0', '26', '2018-08-04 05:20:17');
INSERT INTO `customer` (`customer_code`, `customer_name`, `customer_phone`, `type`, `job_designation`, `store_id`, `customer_address`, `customer_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('cc-4', 'Chicha', '445454345345', '1', 'null', '10', 'null', '56456456', 'null', 1, '26', '2018-08-04 05:20:17');
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
INSERT INTO `purchase_order` (`po_no`, `supplier_id`, `total_amnt`, `store_id`, `warehouse_id`, `createby`, `createdate`, `isapproved`) VALUES ('20180804052157', '5', '100000.00', 0, 0, '2', '2018-08-04 05:21:57', 0);
INSERT INTO `purchase_order_details` (`row_id`, `po_no`, `product_id`, `order_qty`, `product_rate`, `discount`, `store_id`) VALUES ('721185833858568', '20180804052157', '21', '20', '5000', '', '10');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('purchase order', 'create', 'Orde Id-20180804052157 total amount-100000.00', '2', '2018-08-04 05:21:58');
UPDATE `purchase_order` SET `po_no` = '20180804052157', `isapproved` = 1
WHERE `po_no` = '20180804052157';
INSERT INTO `purchase_receive` (`receive_id`, `po_no`, `supplier_id`, `store_id`, `warehouse_id`, `voucher_no`, `receive_by`, `receive_date`) VALUES ('20180804052456', '20180804052157', '5', 0, 0, 1011, '26', '2018-08-04 05:24:56');
INSERT INTO `purchase_receive_details` (`receive_id`, `product_id`, `receive_qty`, `product_rate`, `store_id`, `discount`) VALUES ('20180804052456', '21', '20', '5000', '10', '');
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('20180804052157', 'PO', '2018-08-04 05:24:56', 10107, 'PO Receive Receive No 20180804052456', '100000.00', 0, '10', 1, '26', '2018-08-04 05:24:56', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('20180804052157', 'PO', '2018-08-04 05:24:56', '5020200002', 'PO received For PO No.20180804052157 Receive No.20180804052456', 0, '100000.00', '10', 1, '26', '2018-08-04 05:24:56', 1);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('purchase order receive', 'create', 'Order Id- total amount-100000.00', '26', '2018-08-04 05:24:56');
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
INSERT INTO `sales_parent` (`sale_id`, `invoice_no`, `customer_id`, `sale_type_id`, `store_id`, `salesman`, `sales_date`, `sales_time`, `gurrantor_1`, `gurrantor_2`, `advance_amnt`, `lease_id`, `inquiry_officer`, `remaining_amnt`, `installment_amnt`, `package_price`, `total_amnt`) VALUES ('20180804052649', '1030', '24', '1', '10', '26', '2018-08-04', '05:26:49', NULL, NULL, '', NULL, NULL, NULL, 0, 0, '19500.00');
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1030', 'CIV', '2018-08-04 05:26:49', '1020101000003', 'Cash in hand debit For Invoice No1030', '19500.00', 0, '10', 1, '26', '2018-08-04 05:26:49', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1030', 'CIV', '2018-08-04 05:26:49', 403, 'Cost of sale debit For Invoice No1030', NULL, 0, '10', 1, '26', '2018-08-04 05:26:49', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1030', 'CIV', '2018-08-04 05:26:49', 10107, 'Inventory credit For Invoice No1030', 0, NULL, '10', 1, '26', '2018-08-04 05:26:49', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1030', 'CIV', '2018-08-04 05:26:49', '1020301000017', 'Customer debit for Product For Invoice No1030', '19500.00', 0, '10', 1, '26', '2018-08-04 05:26:49', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1030', 'CIV', '2018-08-04 05:26:49', '1020301000017', 'Customer credit for Paid Amount For Invoice No1030', 0, '19500.00', '10', 1, '26', '2018-08-04 05:26:49', 1);
INSERT INTO `payment_collection` (`sale_id`, `invoice_no`, `customer_id`, `receive_amnt`, `due_amnt`, `receive_by`, `receive_date`) VALUES ('20180804052649', '1030', '24', '19500.00', NULL, '26', '2018-08-04');
INSERT INTO `sale_details` (`sale_id`, `product_id`, `qty`, `sell_price`, `sale_type_id`, `lease_unit_price`) VALUES ('20180804052649', '21', '3', '6500', '1', NULL);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Sales', 'create', 'invoice_no-1030 total amount-19500.00', '26', '2018-08-04 05:26:49');
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
INSERT INTO `purchase_receive` (`receive_id`, `po_no`, `supplier_id`, `store_id`, `warehouse_id`, `voucher_no`, `receive_by`, `receive_date`) VALUES ('20180804063814', '20180727101658', '4', 0, 0, 1012, '2', '2018-08-04');
INSERT INTO `purchase_receive_details` (`receive_id`, `product_id`, `receive_qty`, `product_rate`, `store_id`, `discount`) VALUES ('20180804063814', '21', '1', '5000', '7', '');
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('20180727101658', 'PO', '2018-08-04', 10107, 'PO Receive Receive No 20180804063814', '5000.00', 0, '7', 1, '2', '2018-08-04', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('20180727101658', 'PO', '2018-08-04', '5020200006', 'PO received For PO No.20180727101658 Receive No.20180804063814', 0, '5000.00', '2', 1, '2', '2018-08-04', 1);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('purchase order receive', 'create', 'Order Id- total amount-5000.00', '2', '2018-08-04 06:38:14');
INSERT INTO `language` (`phrase`) VALUES ('recovery_list_rpt');
UPDATE `user` SET `last_login` = '2018-08-04 12:31:25', `ip_address` = '162.158.166.36'
WHERE `id` = '2';
UPDATE `user` SET `last_login` = '2018-08-04 15:51:41', `ip_address` = '172.68.62.59'
WHERE `id` = '2';
UPDATE `user` SET `last_login` = '2018-08-04 16:09:12', `ip_address` = '108.162.229.227'
WHERE `id` = '2';
INSERT INTO `lease` (`package_code`, `package_name`, `lease_duration`, `advance`, `markup`, `isactive`, `createby`, `createdate`) VALUES ('1033', 'Final', '5', 0.1, 0.1, 1, '2', '2018-08-04 16:11:41');
INSERT INTO `lease_store_map` (`lease_id`, `store_id`) VALUES (10, '10');
INSERT INTO `lease_product_map` (`lease_id`, `product_id`) VALUES (10, '22');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('leases', 'create', 'Lease Id-10', '2', '2018-08-04 16:11:41');
INSERT INTO `purchase_order` (`po_no`, `supplier_id`, `total_amnt`, `store_id`, `warehouse_id`, `createby`, `createdate`, `isapproved`) VALUES ('20180804162054', '9', '20000.00', 0, 0, '2', '2018-08-04 16:20:54', 0);
INSERT INTO `purchase_order_details` (`row_id`, `po_no`, `product_id`, `order_qty`, `product_rate`, `discount`, `store_id`) VALUES ('837545919686142', '20180804162054', '23', '2', '10000', '', '2');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('purchase order', 'create', 'Orde Id-20180804162054 total amount-20000.00', '2', '2018-08-04 16:20:54');
INSERT INTO `purchase_receive` (`receive_id`, `po_no`, `supplier_id`, `store_id`, `warehouse_id`, `voucher_no`, `receive_by`, `receive_date`) VALUES ('20180804162129', '20180804162054', '9', 0, 0, 1013, '2', '2018-08-04');
INSERT INTO `purchase_receive_details` (`receive_id`, `product_id`, `receive_qty`, `product_rate`, `store_id`, `discount`) VALUES ('20180804162129', '23', '2', '10000', '2', '');
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('20180804162054', 'PO', '2018-08-04', 10107, 'PO Receive Receive No 20180804162129', '20000.00', 0, '2', 1, '2', '2018-08-04', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('20180804162054', 'PO', '2018-08-04', '5020200007', 'PO received For PO No.20180804162054 Receive No.20180804162129', 0, '20000.00', '2', 1, '2', '2018-08-04', 1);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('purchase order receive', 'create', 'Order Id- total amount-20000.00', '2', '2018-08-04 16:21:29');
INSERT INTO `acc_coa` (`HeadCode`, `HeadName`, `PHeadName`, `HeadLevel`, `IsActive`, `IsTransaction`, `IsGL`, `HeadType`, `IsBudget`, `IsDepreciation`, `DepreciationRate`, `CreateBy`, `CreateDate`) VALUES (1020301000018, 'cc-5-aaa', 'Customer Receivable', '4', '1', '1', '0', 'A', '0', '0', '0', '2', '2018-08-04 16:22:11');
INSERT INTO `customer` (`customer_code`, `customer_name`, `customer_phone`, `type`, `job_designation`, `store_id`, `customer_address`, `customer_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('cc-5', 'aaa', '', '1', 'null', '2', 'null', '', 'null', 1, '2', '2018-08-04 16:22:11');
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
INSERT INTO `sales_parent` (`sale_id`, `invoice_no`, `customer_id`, `sale_type_id`, `store_id`, `salesman`, `sales_date`, `sales_time`, `gurrantor_1`, `gurrantor_2`, `advance_amnt`, `lease_id`, `inquiry_officer`, `remaining_amnt`, `installment_amnt`, `package_price`, `total_amnt`) VALUES ('20180804162250', '1031', '25', '1', '2', '2', '2018-08-04', '16:22:50', NULL, NULL, '', NULL, NULL, NULL, 0, 0, '30000.00');
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1031', 'CIV', '2018-08-04 16:22:50', '1020101000002', 'Cash in hand debit For Invoice No1031', '30000.00', 0, '2', 1, '2', '2018-08-04 16:22:50', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1031', 'CIV', '2018-08-04 16:22:50', 403, 'Cost of sale debit For Invoice No1031', NULL, 0, '2', 1, '2', '2018-08-04 16:22:50', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1031', 'CIV', '2018-08-04 16:22:50', 10107, 'Inventory credit For Invoice No1031', 0, NULL, '2', 1, '2', '2018-08-04 16:22:50', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1031', 'CIV', '2018-08-04 16:22:50', '1020301000018', 'Customer debit for Product For Invoice No1031', '30000.00', 0, '2', 1, '2', '2018-08-04 16:22:50', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1031', 'CIV', '2018-08-04 16:22:50', '1020301000018', 'Customer credit for Paid Amount For Invoice No1031', 0, '30000.00', '2', 1, '2', '2018-08-04 16:22:50', 1);
INSERT INTO `payment_collection` (`sale_id`, `invoice_no`, `customer_id`, `receive_amnt`, `due_amnt`, `receive_by`, `receive_date`) VALUES ('20180804162250', '1031', '25', '30000.00', NULL, '2', '2018-08-04');
INSERT INTO `sale_details` (`sale_id`, `product_id`, `qty`, `sell_price`, `sale_type_id`, `lease_unit_price`) VALUES ('20180804162250', '23', '2', '15000', '1', NULL);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Sales', 'create', 'invoice_no-1031 total amount-30000.00', '2', '2018-08-04 16:22:50');
INSERT INTO `sales_return` (`invoice_no`, `customer_id`, `store_id`, `sale_type_id`, `return_date`, `totalamount`, `return_reason`, `createby`, `createdate`) VALUES ('1031', '25', '2', '1', '2018-08-04', '15000.00', '', '2', '2018-08-04 16:23:31');
INSERT INTO `sales_return_details` (`sreturn_id`, `product_id`, `qty`, `product_rate`) VALUES (5, '23', '1', '15000');
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES (5, 'RT', '2018-08-04 16:23:31', '1020301000018', 'Receive For 5', '15000.00', 0, '2', 1, '2', '2018-08-04 16:23:31', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1031', 'RT', '2018-08-04 16:23:31', 403, 'RT For Invoice No1031', 0, 0, '2', 1, '2', '2018-08-04 16:23:31', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1031', 'RT', '2018-08-04 16:23:31', 10107, 'RT For Invoice No1031', 0, 0, '2', 1, '2', '2018-08-04 16:23:31', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1031', 'CIV', '2018-08-04 16:23:31', 1020101, 'CIV For Invoice No1031', 0, '15000.00', '2', 1, '2', '2018-08-04 16:23:31', 1);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
INSERT INTO `purchase_return` (`po_no`, `supplier_id`, `return_date`, `totalamount`, `return_reason`, `createby`, `createdate`) VALUES ('20180804162054', '9', '2018-08-04', '9900.00', '', '2', '2018-08-04 16:26:20');
INSERT INTO `purchase_return_details` (`preturn_id`, `product_id`, `qty`, `store_id`, `product_rate`) VALUES (3, '23', '1', '2', '10000');
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('20180804162054', 'PO', '2018-08-04 16:26:20', '5020200007', 'P Return For 20180804162054', '9900.00', 0, '2', 1, '2', '2018-08-04 16:26:20', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('20180804162054', 'PO', '2018-08-04 16:26:20', 10107, 'Purchase Return For PO No20180804162054', 0, '9900.00', '2', 1, '2', '2018-08-04 16:26:20', 1);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
INSERT INTO `purchase_return` (`po_no`, `supplier_id`, `return_date`, `totalamount`, `return_reason`, `createby`, `createdate`) VALUES ('20180804162054', '9', '2018-08-04', '19500.00', '', '2', '2018-08-04 16:28:12');
INSERT INTO `purchase_return_details` (`preturn_id`, `product_id`, `qty`, `store_id`, `product_rate`) VALUES (4, '23', '2', '2', '10000');
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('20180804162054', 'PO', '2018-08-04 16:28:12', '5020200007', 'P Return For 20180804162054', '19500.00', 0, '2', 1, '2', '2018-08-04 16:28:12', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('20180804162054', 'PO', '2018-08-04 16:28:12', 10107, 'Purchase Return For PO No20180804162054', 0, '19500.00', '2', 1, '2', '2018-08-04 16:28:12', 1);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
INSERT INTO `stock_movement` (`proposal_code`, `for_store_id`, `from_store_id`, `proposal_datetime`, `proposal_by`) VALUES ('p-11', '6', '5', '2018-08-04 16:31:26', '2');
INSERT INTO `stock_movement_details` (`movement_id`, `product_id`, `proposal_qty`) VALUES (14, '23', '4');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Stockmovment', 'create', 'Stockmovment ID :14', '2', '2018-08-04 16:31:47');
UPDATE `stock_movement` SET `movement_id` = '14', `proposal_code` = 'p-11', `for_store_id` = '6', `from_store_id` = '5', `proposal_datetime` = '2018-08-04 16:31:26', `proposal_by` = '2', `issue_by` = '2', `for_warehouse` = 0, `from_warehouse` = 0, `issue_code` = 'is-14', `issue_datetime` = '2018-08-04 16:32:00', `issue_remarks` = '', `is_issued` = 1
WHERE `movement_id` = '14';
UPDATE `stock_movement_details` SET `movement_id` = '14', `product_id` = '23', `proposal_qty` = '4', `issue_qty` = '3', `received_qty` = 0
WHERE `movement_id` = '14'
AND `product_id` = '23';
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Stockmovment', 'issue', 'Stockmovment ID :14', '2', '2018-08-04 16:32:00');
UPDATE `stock_movement` SET `movement_id` = '14', `proposal_code` = 'p-11', `for_store_id` = '6', `from_store_id` = '5', `proposal_by` = '2', `issue_by` = '2', `for_warehouse` = 0, `from_warehouse` = 0, `issue_code` = 'is-14', `issue_remarks` = NULL, `is_issued` = 1, `is_received` = 1, `is_proposed` = 1, `receive_by` = '2', `receive_datetime` = '2018-08-04 16:32:10'
WHERE `movement_id` = '14';
UPDATE `stock_movement_details` SET `movement_id` = '14', `product_id` = '23', `proposal_qty` = '4', `issue_qty` = '3', `received_qty` = '2'
WHERE `movement_id` = '14'
AND `product_id` = '23';
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('stockmovement ', 'create', 'movemet received', '2', '2018-08-04 16:32:10');
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
UPDATE `user` SET `last_login` = '2018-08-05 04:09:13', `ip_address` = '162.158.165.149'
WHERE `id` = '2';
UPDATE `user` SET `last_logout` = '2018-08-05 04:09:37'
WHERE `id` = '2';
UPDATE `user` SET `last_login` = '2018-08-05 04:09:54', `ip_address` = '162.158.165.149'
WHERE `id` = '2';
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
UPDATE `user` SET `last_login` = '2018-08-05 04:10:41', `ip_address` = '172.68.146.243'
WHERE `id` = '2';
UPDATE `user` SET `last_logout` = '2018-08-05 04:10:55'
WHERE `id` = '2';
UPDATE `user` SET `last_login` = '2018-08-05 04:11:07', `ip_address` = '162.158.167.187'
WHERE `id` = '2';
DELETE FROM `role_permission`
WHERE `role_id` = '3';
INSERT INTO `role_permission` (`create`, `delete`, `fk_module_id`, `read`, `role_id`, `update`) VALUES (0,0,'8',0,'3',0), (0,0,'6',0,'3',0), (0,0,'5',0,'3',0), (0,0,'13',0,'3',0), (0,0,'14',0,'3',0), (0,0,'7',0,'3',0), ('1','1','10','1','3','1'), (0,0,'19',0,'3',0), (0,0,'18',0,'3',0), ('1','1','12','1','3','1'), ('1',0,'17','1','3','1'), (0,0,'3',0,'3',0), (0,0,'9',0,'3',0);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Role Permission', 'create', 'Role id :376', '2', '2018-08-05 04:12:11');
UPDATE `user` SET `last_logout` = '2018-08-05 04:12:18'
WHERE `id` = '2';
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
UPDATE `user` SET `last_login` = '2018-08-05 04:12:36', `ip_address` = '172.68.146.105'
WHERE `id` = '26';
UPDATE `user` SET `last_login` = '2018-08-05 04:14:03', `ip_address` = '172.68.144.128'
WHERE `id` = '2';
UPDATE `user` SET `last_logout` = '2018-08-05 04:15:31'
WHERE `id` = '2';
UPDATE `user` SET `last_login` = '2018-08-05 04:16:01', `ip_address` = '172.68.144.26'
WHERE `id` = '24';
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
INSERT INTO `stock_movement` (`proposal_code`, `for_store_id`, `from_store_id`, `proposal_datetime`, `proposal_by`) VALUES ('p-12', '10', '6', '2018-08-05 04:12:48', '26');
INSERT INTO `stock_movement_details` (`movement_id`, `product_id`, `proposal_qty`) VALUES (15, '17', '5');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Stockmovment', 'create', 'Stockmovment ID :15', '26', '2018-08-05 04:16:57');
UPDATE `user` SET `last_login` = '2018-08-05 04:18:22', `ip_address` = '172.68.146.105'
WHERE `id` = '2';
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
INSERT INTO `language` (`phrase`) VALUES ('store_isssue');
INSERT INTO `language` (`phrase`) VALUES ('store_receive');
INSERT INTO `purchase_return` (`po_no`, `supplier_id`, `return_date`, `totalamount`, `return_reason`, `createby`, `createdate`) VALUES ('20180804045253', '3', '2018-08-05', '175000.00', '', '2', '2018-08-05 05:20:37');
INSERT INTO `purchase_return_details` (`preturn_id`, `product_id`, `qty`, `store_id`, `product_rate`) VALUES (5, '24', '5', '2', '35000');
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('20180804045253', 'PO', '2018-08-05 05:20:37', NULL, 'P Return For 20180804045253', '175000.00', 0, '2', 1, '2', '2018-08-05 05:20:37', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('20180804045253', 'PO', '2018-08-05 05:20:37', 10107, 'Purchase Return For PO No20180804045253', 0, '175000.00', '2', 1, '2', '2018-08-05 05:20:37', 1);
INSERT INTO `purchase_order` (`po_no`, `supplier_id`, `total_amnt`, `store_id`, `warehouse_id`, `createby`, `createdate`, `isapproved`) VALUES ('20180805054633', '5', '100000.00', 0, 0, '2', '2018-08-05 05:46:33', 0);
INSERT INTO `purchase_order_details` (`row_id`, `po_no`, `product_id`, `order_qty`, `product_rate`, `discount`, `store_id`) VALUES ('643913843363566', '20180805054633', '23', '10', '10000', '', '2');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('purchase order', 'create', 'Orde Id-20180805054633 total amount-100000.00', '2', '2018-08-05 05:46:33');
INSERT INTO `purchase_receive` (`receive_id`, `po_no`, `supplier_id`, `store_id`, `warehouse_id`, `voucher_no`, `receive_by`, `receive_date`) VALUES ('20180805054643', '20180805054633', '5', 0, 0, 1014, '2', '2018-08-05');
INSERT INTO `purchase_receive_details` (`receive_id`, `product_id`, `receive_qty`, `product_rate`, `store_id`, `discount`) VALUES ('20180805054643', '23', '10', '10000', '2', '');
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('20180805054633', 'PO', '2018-08-05', 10107, 'PO Receive Receive No 20180805054643', '100000.00', 0, '2', 1, '2', '2018-08-05', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('20180805054633', 'PO', '2018-08-05', '5020200002', 'PO received For PO No.20180805054633 Receive No.20180805054643', 0, '100000.00', '2', 1, '2', '2018-08-05', 1);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('purchase order receive', 'create', 'Order Id- total amount-100000.00', '2', '2018-08-05 05:46:43');
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
INSERT INTO `sales_parent` (`sale_id`, `invoice_no`, `customer_id`, `sale_type_id`, `store_id`, `salesman`, `sales_date`, `sales_time`, `gurrantor_1`, `gurrantor_2`, `advance_amnt`, `lease_id`, `inquiry_officer`, `remaining_amnt`, `installment_amnt`, `package_price`, `total_amnt`) VALUES ('20180805054810', '1032', '12', '1', '2', '2', '2018-08-05', '05:48:10', NULL, NULL, '', NULL, NULL, NULL, 0, 0, '15000.00');
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1032', 'CIV', '2018-08-05 05:48:10', '1020101000002', 'Cash in hand debit For Invoice No1032', '15000.00', 0, '2', 1, '2', '2018-08-05 05:48:10', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1032', 'CIV', '2018-08-05 05:48:10', 403, 'Cost of sale debit For Invoice No1032', NULL, 0, '2', 1, '2', '2018-08-05 05:48:10', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1032', 'CIV', '2018-08-05 05:48:10', 10107, 'Inventory credit For Invoice No1032', 0, NULL, '2', 1, '2', '2018-08-05 05:48:10', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1032', 'CIV', '2018-08-05 05:48:10', '1020301000007', 'Customer debit for Product For Invoice No1032', '15000.00', 0, '2', 1, '2', '2018-08-05 05:48:10', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1032', 'CIV', '2018-08-05 05:48:10', '1020301000007', 'Customer credit for Paid Amount For Invoice No1032', 0, '15000.00', '2', 1, '2', '2018-08-05 05:48:10', 1);
INSERT INTO `payment_collection` (`sale_id`, `invoice_no`, `customer_id`, `receive_amnt`, `due_amnt`, `receive_by`, `receive_date`) VALUES ('20180805054810', '1032', '12', '15000.00', NULL, '2', '2018-08-05');
INSERT INTO `sale_details` (`sale_id`, `product_id`, `qty`, `sell_price`, `sale_type_id`, `lease_unit_price`) VALUES ('20180805054810', '23', '1', '15000', '1', NULL);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Sales', 'create', 'invoice_no-1032 total amount-15000.00', '2', '2018-08-05 05:48:10');
INSERT INTO `purchase_return` (`po_no`, `supplier_id`, `return_date`, `totalamount`, `return_reason`, `createby`, `createdate`) VALUES ('20180805054633', '5', '2018-08-05', '20000.00', 'jfhjm', '2', '2018-08-05 05:49:08');
INSERT INTO `purchase_return_details` (`preturn_id`, `product_id`, `qty`, `store_id`, `product_rate`) VALUES (6, '23', '2', '2', '10000');
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('20180805054633', 'PO', '2018-08-05 05:49:08', '5020200002', 'P Return For 20180805054633', '20000.00', 0, '2', 1, '2', '2018-08-05 05:49:08', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('20180805054633', 'PO', '2018-08-05 05:49:08', 10107, 'Purchase Return For PO No20180805054633', 0, '20000.00', '2', 1, '2', '2018-08-05 05:49:08', 1);
UPDATE `user` SET `last_login` = '2018-08-05 06:04:09', `ip_address` = '172.68.62.65'
WHERE `id` = '2';
INSERT INTO `purchase_return` (`po_no`, `supplier_id`, `return_date`, `totalamount`, `return_reason`, `createby`, `createdate`) VALUES ('20180804162054', '9', '2018-08-05', '10000.00', '', '2', '2018-08-05 06:06:34');
INSERT INTO `purchase_return_details` (`preturn_id`, `product_id`, `qty`, `store_id`, `product_rate`) VALUES (7, '23', '1', '2', '10000');
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('20180804162054', 'PO', '2018-08-05 06:06:34', '5020200007', 'P Return For 20180804162054', '10000.00', 0, '2', 1, '2', '2018-08-05 06:06:34', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('20180804162054', 'PO', '2018-08-05 06:06:34', 10107, 'Purchase Return For PO No20180804162054', 0, '10000.00', '2', 1, '2', '2018-08-05 06:06:34', 1);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
INSERT INTO `stock_movement` (`proposal_code`, `for_store_id`, `from_store_id`, `proposal_datetime`, `proposal_by`) VALUES ('p-13', '2', '6', '2018-08-05 06:07:36', '2');
INSERT INTO `stock_movement_details` (`movement_id`, `product_id`, `proposal_qty`) VALUES (16, '23', '1');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Stockmovment', 'create', 'Stockmovment ID :16', '2', '2018-08-05 06:07:57');
UPDATE `stock_movement` SET `movement_id` = '16', `proposal_code` = 'p-13', `for_store_id` = '2', `from_store_id` = '6', `proposal_datetime` = '2018-08-05 06:07:36', `proposal_by` = '2', `issue_by` = '2', `for_warehouse` = 0, `from_warehouse` = 0, `issue_code` = 'is-16', `issue_datetime` = '2018-08-05 06:08:06', `issue_remarks` = '', `is_issued` = 1
WHERE `movement_id` = '16';
UPDATE `stock_movement_details` SET `movement_id` = '16', `product_id` = '23', `proposal_qty` = '1', `issue_qty` = '1', `received_qty` = 0
WHERE `movement_id` = '16'
AND `product_id` = '23';
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Stockmovment', 'issue', 'Stockmovment ID :16', '2', '2018-08-05 06:08:06');
UPDATE `stock_movement` SET `movement_id` = '16', `proposal_code` = 'p-13', `for_store_id` = '2', `from_store_id` = '6', `proposal_by` = '2', `issue_by` = '2', `for_warehouse` = 0, `from_warehouse` = 0, `issue_code` = 'is-16', `issue_remarks` = NULL, `is_issued` = 1, `is_received` = 1, `is_proposed` = 1, `receive_by` = '2', `receive_datetime` = '2018-08-05 06:08:12'
WHERE `movement_id` = '16';
UPDATE `stock_movement_details` SET `movement_id` = '16', `product_id` = '23', `proposal_qty` = '1', `issue_qty` = '1', `received_qty` = '1'
WHERE `movement_id` = '16'
AND `product_id` = '23';
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('stockmovement ', 'create', 'movemet received', '2', '2018-08-05 06:08:12');
INSERT INTO `stock_movement` (`proposal_code`, `for_store_id`, `from_store_id`, `proposal_datetime`, `proposal_by`) VALUES ('p-14', '6', '7', '2018-08-05 06:08:32', '2');
INSERT INTO `stock_movement_details` (`movement_id`, `product_id`, `proposal_qty`) VALUES (17, '23', '2');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Stockmovment', 'create', 'Stockmovment ID :17', '2', '2018-08-05 06:09:15');
INSERT INTO `stock_movement` (`proposal_code`, `for_store_id`, `from_store_id`, `proposal_datetime`, `proposal_by`) VALUES ('p-15', '2', '6', '2018-08-05 06:09:33', '2');
INSERT INTO `stock_movement_details` (`movement_id`, `product_id`, `proposal_qty`) VALUES (18, '23', '3');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Stockmovment', 'create', 'Stockmovment ID :18', '2', '2018-08-05 06:10:31');
UPDATE `stock_movement` SET `movement_id` = '18', `proposal_code` = 'p-15', `for_store_id` = '2', `from_store_id` = '6', `proposal_datetime` = '2018-08-05 06:09:33', `proposal_by` = '2', `issue_by` = '2', `for_warehouse` = 0, `from_warehouse` = 0, `issue_code` = 'is-18', `issue_datetime` = '2018-08-05 06:10:41', `issue_remarks` = '', `is_issued` = 1
WHERE `movement_id` = '18';
UPDATE `stock_movement_details` SET `movement_id` = '18', `product_id` = '23', `proposal_qty` = '3', `issue_qty` = '02', `received_qty` = 0
WHERE `movement_id` = '18'
AND `product_id` = '23';
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Stockmovment', 'issue', 'Stockmovment ID :18', '2', '2018-08-05 06:10:41');
UPDATE `stock_movement` SET `movement_id` = '18', `proposal_code` = 'p-15', `for_store_id` = '2', `from_store_id` = '6', `proposal_by` = '2', `issue_by` = '2', `for_warehouse` = 0, `from_warehouse` = 0, `issue_code` = 'is-18', `issue_remarks` = NULL, `is_issued` = 1, `is_received` = 1, `is_proposed` = 1, `receive_by` = '2', `receive_datetime` = '2018-08-05 06:11:06'
WHERE `movement_id` = '18';
UPDATE `stock_movement_details` SET `movement_id` = '18', `product_id` = '23', `proposal_qty` = '3', `issue_qty` = '2', `received_qty` = '1'
WHERE `movement_id` = '18'
AND `product_id` = '23';
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('stockmovement ', 'create', 'movemet received', '2', '2018-08-05 06:11:06');
UPDATE `user` SET `last_login` = '2018-08-05 06:30:16', `ip_address` = '172.68.62.65'
WHERE `id` = '27';
INSERT INTO `purchase_order` (`po_no`, `supplier_id`, `total_amnt`, `store_id`, `warehouse_id`, `createby`, `createdate`, `isapproved`) VALUES ('20180805063043', '9', '50000.00', 0, 0, '2', '2018-08-05 06:30:43', 0);
INSERT INTO `purchase_order_details` (`row_id`, `po_no`, `product_id`, `order_qty`, `product_rate`, `discount`, `store_id`) VALUES ('482487264129233', '20180805063043', '23', '5', '10000', '', '9');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('purchase order', 'create', 'Orde Id-20180805063043 total amount-50000.00', '2', '2018-08-05 06:30:43');
UPDATE `purchase_order` SET `po_no` = '20180805063043', `isapproved` = 1
WHERE `po_no` = '20180805063043';
INSERT INTO `purchase_receive` (`receive_id`, `po_no`, `supplier_id`, `store_id`, `warehouse_id`, `voucher_no`, `receive_by`, `receive_date`) VALUES ('20180805063116', '20180805063043', '9', 0, 0, 1015, '27', '2018-08-05');
INSERT INTO `purchase_receive_details` (`receive_id`, `product_id`, `receive_qty`, `product_rate`, `store_id`, `discount`) VALUES ('20180805063116', '23', '2', '10000', '9', '');
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('20180805063043', 'PO', '2018-08-05', 10107, 'PO Receive Receive No 20180805063116', '20000.00', 0, '9', 1, '27', '2018-08-05', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('20180805063043', 'PO', '2018-08-05', '5020200007', 'PO received For PO No.20180805063043 Receive No.20180805063116', 0, '20000.00', '9', 1, '27', '2018-08-05', 1);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('purchase order receive', 'create', 'Order Id- total amount-20000.00', '27', '2018-08-05 06:31:16');
INSERT INTO `acc_coa` (`HeadCode`, `HeadName`, `PHeadName`, `HeadLevel`, `IsActive`, `IsTransaction`, `IsGL`, `HeadType`, `IsBudget`, `IsDepreciation`, `DepreciationRate`, `CreateBy`, `CreateDate`) VALUES (1020301000019, 'cc-6-aaa', 'Customer Receivable', '4', '1', '1', '0', 'A', '0', '0', '0', '27', '2018-08-05 06:32:53');
INSERT INTO `customer` (`customer_code`, `customer_name`, `customer_phone`, `type`, `job_designation`, `store_id`, `customer_address`, `customer_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('cc-6', 'aaa', '', '1', 'null', '9', 'null', '', 'null', 1, '27', '2018-08-05 06:32:53');
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
INSERT INTO `sales_parent` (`sale_id`, `invoice_no`, `customer_id`, `sale_type_id`, `store_id`, `salesman`, `sales_date`, `sales_time`, `gurrantor_1`, `gurrantor_2`, `advance_amnt`, `lease_id`, `inquiry_officer`, `remaining_amnt`, `installment_amnt`, `package_price`, `total_amnt`) VALUES ('20180805063302', '1033', '26', '1', '9', '27', '2018-08-05', '06:33:02', NULL, NULL, '', NULL, NULL, NULL, 0, 0, '30000.00');
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1033', 'CIV', '2018-08-05 06:33:02', NULL, 'Cash in hand debit For Invoice No1033', '30000.00', 0, '9', 1, '27', '2018-08-05 06:33:02', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1033', 'CIV', '2018-08-05 06:33:02', 403, 'Cost of sale debit For Invoice No1033', NULL, 0, '9', 1, '27', '2018-08-05 06:33:02', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1033', 'CIV', '2018-08-05 06:33:02', 10107, 'Inventory credit For Invoice No1033', 0, NULL, '9', 1, '27', '2018-08-05 06:33:02', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1033', 'CIV', '2018-08-05 06:33:02', '1020301000019', 'Customer debit for Product For Invoice No1033', '30000.00', 0, '9', 1, '27', '2018-08-05 06:33:02', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1033', 'CIV', '2018-08-05 06:33:02', '1020301000019', 'Customer credit for Paid Amount For Invoice No1033', 0, '30000.00', '9', 1, '27', '2018-08-05 06:33:02', 1);
INSERT INTO `payment_collection` (`sale_id`, `invoice_no`, `customer_id`, `receive_amnt`, `due_amnt`, `receive_by`, `receive_date`) VALUES ('20180805063302', '1033', '26', '30000.00', NULL, '27', '2018-08-05');
INSERT INTO `sale_details` (`sale_id`, `product_id`, `qty`, `sell_price`, `sale_type_id`, `lease_unit_price`) VALUES ('20180805063302', '23', '2', '15000', '1', NULL);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Sales', 'create', 'invoice_no-1033 total amount-30000.00', '27', '2018-08-05 06:33:02');
INSERT INTO `sales_return` (`invoice_no`, `customer_id`, `store_id`, `sale_type_id`, `return_date`, `totalamount`, `return_reason`, `createby`, `createdate`) VALUES ('1033', '26', '9', '1', '2018-08-05', '15000.00', '', '27', '2018-08-05 06:33:50');
INSERT INTO `sales_return_details` (`sreturn_id`, `product_id`, `qty`, `product_rate`) VALUES (6, '23', '1', '15000');
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES (6, 'RT', '2018-08-05 06:33:50', '1020301000019', 'Receive For 6', '15000.00', 0, '9', 1, '27', '2018-08-05 06:33:50', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1033', 'RT', '2018-08-05 06:33:50', 403, 'RT For Invoice No1033', 0, 0, '9', 1, '27', '2018-08-05 06:33:50', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1033', 'RT', '2018-08-05 06:33:50', 10107, 'RT For Invoice No1033', 0, 0, '9', 1, '27', '2018-08-05 06:33:50', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1033', 'CIV', '2018-08-05 06:33:50', 1020101, 'CIV For Invoice No1033', 0, '15000.00', '9', 1, '27', '2018-08-05 06:33:50', 1);
INSERT INTO `purchase_return` (`po_no`, `supplier_id`, `return_date`, `totalamount`, `return_reason`, `createby`, `createdate`) VALUES ('20180805063043', '9', '2018-08-05', '10000.00', '', '27', '2018-08-05 06:34:10');
INSERT INTO `purchase_return_details` (`preturn_id`, `product_id`, `qty`, `store_id`, `product_rate`) VALUES (8, '23', '1', '9', '10000');
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('20180805063043', 'PO', '2018-08-05 06:34:10', '5020200007', 'P Return For 20180805063043', '10000.00', 0, '9', 1, '27', '2018-08-05 06:34:10', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('20180805063043', 'PO', '2018-08-05 06:34:10', 10107, 'Purchase Return For PO No20180805063043', 0, '10000.00', '9', 1, '27', '2018-08-05 06:34:10', 1);
INSERT INTO `stock_movement` (`proposal_code`, `for_store_id`, `from_store_id`, `proposal_datetime`, `proposal_by`) VALUES ('p-16', '9', '6', '2018-08-05 06:34:20', '27');
INSERT INTO `stock_movement_details` (`movement_id`, `product_id`, `proposal_qty`) VALUES (19, '23', '1');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Stockmovment', 'create', 'Stockmovment ID :19', '27', '2018-08-05 06:34:34');
UPDATE `stock_movement` SET `movement_id` = '19', `proposal_code` = 'p-16', `for_store_id` = '9', `from_store_id` = '6', `proposal_datetime` = '2018-08-05 06:34:20', `proposal_by` = '27', `issue_by` = '2', `for_warehouse` = 0, `from_warehouse` = 0, `issue_code` = 'is-19', `issue_datetime` = '2018-08-05 06:36:10', `issue_remarks` = '', `is_issued` = 1
WHERE `movement_id` = '19';
UPDATE `stock_movement_details` SET `movement_id` = '19', `product_id` = '23', `proposal_qty` = '1', `issue_qty` = '1', `received_qty` = 0
WHERE `movement_id` = '19'
AND `product_id` = '23';
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Stockmovment', 'issue', 'Stockmovment ID :19', '2', '2018-08-05 06:36:10');
UPDATE `stock_movement` SET `movement_id` = '19', `proposal_code` = 'p-16', `for_store_id` = '9', `from_store_id` = '6', `proposal_by` = '27', `issue_by` = '2', `for_warehouse` = 0, `from_warehouse` = 0, `issue_code` = 'is-19', `issue_remarks` = NULL, `is_issued` = 1, `is_received` = 1, `is_proposed` = 1, `receive_by` = '2', `receive_datetime` = '2018-08-05 06:36:21'
WHERE `movement_id` = '19';
UPDATE `stock_movement_details` SET `movement_id` = '19', `product_id` = '23', `proposal_qty` = '1', `issue_qty` = '1', `received_qty` = '1'
WHERE `movement_id` = '19'
AND `product_id` = '23';
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('stockmovement ', 'create', 'movemet received', '2', '2018-08-05 06:36:21');
UPDATE `user` SET `last_logout` = '2018-08-05 09:05:00'
WHERE `id` IS NULL;
UPDATE `user` SET `last_logout` = '2018-08-05 09:05:11'
WHERE `id` IS NULL;
UPDATE `user` SET `last_login` = '2018-08-05 09:06:06', `ip_address` = '172.68.144.230'
WHERE `id` = '26';
INSERT INTO `stock_movement` (`proposal_code`, `for_store_id`, `from_store_id`, `proposal_datetime`, `proposal_by`) VALUES ('p-17', '10', '2', '2018-08-05 09:06:14', '26');
INSERT INTO `stock_movement_details` (`movement_id`, `product_id`, `proposal_qty`) VALUES (20, '23', '3');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Stockmovment', 'create', 'Stockmovment ID :20', '26', '2018-08-05 09:07:05');
UPDATE `user` SET `last_login` = '2018-08-05 09:07:18', `ip_address` = '162.158.165.149'
WHERE `id` = '2';
UPDATE `stock_movement` SET `movement_id` = '20', `proposal_code` = 'p-17', `for_store_id` = '10', `from_store_id` = '2', `proposal_datetime` = '2018-08-05 09:06:14', `proposal_by` = '26', `issue_by` = '2', `for_warehouse` = 0, `from_warehouse` = 0, `issue_code` = 'is-20', `issue_datetime` = '2018-08-05 09:07:49', `issue_remarks` = '', `is_issued` = 1
WHERE `movement_id` = '20';
UPDATE `stock_movement_details` SET `movement_id` = '20', `product_id` = '23', `proposal_qty` = '3', `issue_qty` = '3', `received_qty` = 0
WHERE `movement_id` = '20'
AND `product_id` = '23';
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Stockmovment', 'issue', 'Stockmovment ID :20', '2', '2018-08-05 09:07:49');
UPDATE `stock_movement` SET `movement_id` = '20', `proposal_code` = 'p-17', `for_store_id` = '10', `from_store_id` = '2', `proposal_by` = '26', `issue_by` = '2', `for_warehouse` = 0, `from_warehouse` = 0, `issue_code` = 'is-20', `issue_remarks` = NULL, `is_issued` = 1, `is_received` = 1, `is_proposed` = 1, `receive_by` = '26', `receive_datetime` = '2018-08-05 09:13:56'
WHERE `movement_id` = '20';
UPDATE `stock_movement_details` SET `movement_id` = '20', `product_id` = '23', `proposal_qty` = '3', `issue_qty` = '2', `received_qty` = '2'
WHERE `movement_id` = '20'
AND `product_id` = '23';
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('stockmovement ', 'create', 'movemet received', '26', '2018-08-05 09:13:56');
UPDATE `user` SET `last_logout` = '2018-08-05 09:17:59'
WHERE `id` IS NULL;
UPDATE `user` SET `last_login` = '2018-08-05 09:18:08', `ip_address` = '172.68.62.245'
WHERE `id` = '2';
INSERT INTO `stock_movement` (`proposal_code`, `for_store_id`, `from_store_id`, `proposal_datetime`, `proposal_by`) VALUES ('p-18', '2', '9', '2018-08-05 09:26:37', '2');
INSERT INTO `stock_movement_details` (`movement_id`, `product_id`, `proposal_qty`) VALUES (21, '23', '5');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Stockmovment', 'create', 'Stockmovment ID :21', '2', '2018-08-05 09:26:58');
UPDATE `stock_movement` SET `movement_id` = '21', `proposal_code` = 'p-18', `for_store_id` = '2', `from_store_id` = '9', `proposal_datetime` = '2018-08-05 09:26:37', `proposal_by` = '2', `issue_by` = '2', `for_warehouse` = 0, `from_warehouse` = 0, `issue_code` = 'is-21', `issue_datetime` = '2018-08-05 09:27:19', `issue_remarks` = '', `is_issued` = 1
WHERE `movement_id` = '21';
UPDATE `stock_movement_details` SET `movement_id` = '21', `product_id` = '23', `proposal_qty` = '5', `issue_qty` = '3', `received_qty` = 0
WHERE `movement_id` = '21'
AND `product_id` = '23';
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Stockmovment', 'issue', 'Stockmovment ID :21', '2', '2018-08-05 09:27:19');
UPDATE `stock_movement` SET `movement_id` = '21', `proposal_code` = 'p-18', `for_store_id` = '2', `from_store_id` = '9', `proposal_by` = '2', `issue_by` = '2', `for_warehouse` = 0, `from_warehouse` = 0, `issue_code` = 'is-21', `issue_remarks` = NULL, `is_issued` = 1, `is_received` = 1, `is_proposed` = 1, `receive_by` = '2', `receive_datetime` = '2018-08-05 09:27:26'
WHERE `movement_id` = '21';
UPDATE `stock_movement_details` SET `movement_id` = '21', `product_id` = '23', `proposal_qty` = '5', `issue_qty` = '2', `received_qty` = '2'
WHERE `movement_id` = '21'
AND `product_id` = '23';
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('stockmovement ', 'create', 'movemet received', '2', '2018-08-05 09:27:26');
UPDATE `user` SET `last_login` = '2018-08-05 09:29:01', `ip_address` = '172.68.62.245'
WHERE `id` = '27';
INSERT INTO `purchase_order` (`po_no`, `supplier_id`, `total_amnt`, `store_id`, `warehouse_id`, `createby`, `createdate`, `isapproved`) VALUES ('20180805092943', '6', '50000.00', 0, 0, '2', '2018-08-05 09:29:43', 0);
INSERT INTO `purchase_order_details` (`row_id`, `po_no`, `product_id`, `order_qty`, `product_rate`, `discount`, `store_id`) VALUES ('856531927235843', '20180805092943', '23', '5', '10000', '', '9');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('purchase order', 'create', 'Orde Id-20180805092943 total amount-50000.00', '2', '2018-08-05 09:29:43');
UPDATE `purchase_order` SET `po_no` = '20180805092943', `isapproved` = 1
WHERE `po_no` = '20180805092943';
INSERT INTO `purchase_receive` (`receive_id`, `po_no`, `supplier_id`, `store_id`, `warehouse_id`, `voucher_no`, `receive_by`, `receive_date`) VALUES ('20180805093026', '20180805092943', '6', 0, 0, 1016, '27', '2018-08-05');
INSERT INTO `purchase_receive_details` (`receive_id`, `product_id`, `receive_qty`, `product_rate`, `store_id`, `discount`) VALUES ('20180805093026', '23', '3', '10000', '9', '');
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('20180805092943', 'PO', '2018-08-05', 10107, 'PO Receive Receive No 20180805093026', '30000.00', 0, '9', 1, '27', '2018-08-05', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('20180805092943', 'PO', '2018-08-05', '5020200003', 'PO received For PO No.20180805092943 Receive No.20180805093026', 0, '30000.00', '9', 1, '27', '2018-08-05', 1);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('purchase order receive', 'create', 'Order Id- total amount-30000.00', '27', '2018-08-05 09:30:26');
INSERT INTO `purchase_receive` (`receive_id`, `po_no`, `supplier_id`, `store_id`, `warehouse_id`, `voucher_no`, `receive_by`, `receive_date`) VALUES ('20180805093043', '20180805092943', '6', 0, 0, 1017, '27', '2018-08-05');
INSERT INTO `purchase_receive_details` (`receive_id`, `product_id`, `receive_qty`, `product_rate`, `store_id`, `discount`) VALUES ('20180805093043', '23', '1', '10000', '9', '');
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('20180805092943', 'PO', '2018-08-05', 10107, 'PO Receive Receive No 20180805093043', '10000.00', 0, '9', 1, '27', '2018-08-05', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('20180805092943', 'PO', '2018-08-05', '5020200003', 'PO received For PO No.20180805092943 Receive No.20180805093043', 0, '10000.00', '9', 1, '27', '2018-08-05', 1);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('purchase order receive', 'create', 'Order Id- total amount-10000.00', '27', '2018-08-05 09:30:43');
INSERT INTO `purchase_receive` (`receive_id`, `po_no`, `supplier_id`, `store_id`, `warehouse_id`, `voucher_no`, `receive_by`, `receive_date`) VALUES ('20180805093057', '20180805092943', '6', 0, 0, 1018, '27', '2018-08-05');
INSERT INTO `purchase_receive_details` (`receive_id`, `product_id`, `receive_qty`, `product_rate`, `store_id`, `discount`) VALUES ('20180805093057', '23', '1', '10000', '9', '');
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('20180805092943', 'PO', '2018-08-05', 10107, 'PO Receive Receive No 20180805093057', '10000.00', 0, '9', 1, '27', '2018-08-05', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('20180805092943', 'PO', '2018-08-05', '5020200003', 'PO received For PO No.20180805092943 Receive No.20180805093057', 0, '10000.00', '9', 1, '27', '2018-08-05', 1);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('purchase order receive', 'create', 'Order Id- total amount-10000.00', '27', '2018-08-05 09:30:57');
UPDATE `user` SET `last_login` = '2018-08-05 09:39:11', `ip_address` = '172.69.134.46'
WHERE `id` = '2';
DELETE FROM `role_permission`
WHERE `role_id` = '3';
INSERT INTO `role_permission` (`create`, `delete`, `fk_module_id`, `read`, `role_id`, `update`) VALUES (0,0,'8',0,'3',0), (0,0,'6',0,'3',0), (0,0,'13',0,'3',0), (0,'1','7','1','3','1'), ('1','1','10','1','3','1'), (0,0,'14',0,'3',0), (0,0,'19',0,'3',0), (0,0,'18',0,'3',0), ('1','1','12','1','3','1'), ('1',0,'17','1','3','1'), (0,0,'3',0,'3',0), (0,0,'9',0,'3',0);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Role Permission', 'create', 'Role id :389', '2', '2018-08-05 10:26:52');
UPDATE `user` SET `last_logout` = '2018-08-05 10:27:02'
WHERE `id` = '26';
UPDATE `user` SET `last_login` = '2018-08-05 10:27:14', `ip_address` = '172.68.144.26'
WHERE `id` = '26';
DELETE FROM `role_permission`
WHERE `role_id` = '3';
INSERT INTO `role_permission` (`create`, `delete`, `fk_module_id`, `read`, `role_id`, `update`) VALUES (0,0,'8',0,'3',0), (0,0,'6','1','3',0), (0,0,'13',0,'3',0), (0,'1','7','1','3','1'), ('1','1','10','1','3','1'), (0,0,'14',0,'3',0), (0,0,'19',0,'3',0), (0,0,'18',0,'3',0), ('1','1','12','1','3','1'), ('1',0,'17','1','3','1'), (0,0,'3',0,'3',0), (0,0,'9',0,'3',0);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Role Permission', 'create', 'Role id :401', '2', '2018-08-05 10:30:11');
UPDATE `user` SET `last_logout` = '2018-08-05 10:30:16'
WHERE `id` = '26';
UPDATE `user` SET `last_login` = '2018-08-05 10:30:27', `ip_address` = '172.69.134.190'
WHERE `id` = '26';
INSERT INTO `stock_movement` (`proposal_code`, `for_store_id`, `from_store_id`, `proposal_datetime`, `proposal_by`) VALUES ('p-19', '2', '6', '2018-08-05 10:42:44', '2');
INSERT INTO `stock_movement_details` (`movement_id`, `product_id`, `proposal_qty`) VALUES (22, '23', '1');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Stockmovment', 'create', 'Stockmovment ID :22', '2', '2018-08-05 10:43:02');
UPDATE `stock_movement` SET `movement_id` = '22', `proposal_code` = 'p-19', `for_store_id` = '2', `from_store_id` = '6', `proposal_datetime` = '2018-08-05 10:42:44', `proposal_by` = '2', `issue_by` = '2', `for_warehouse` = 0, `from_warehouse` = 0, `issue_code` = 'is-22', `issue_datetime` = '2018-08-05 10:43:08', `issue_remarks` = '', `is_issued` = 1, `is_approved` = 1
WHERE `movement_id` = '22';
UPDATE `stock_movement_details` SET `movement_id` = '22', `product_id` = '23', `proposal_qty` = '1', `issue_qty` = '1', `received_qty` = 0
WHERE `movement_id` = '22'
AND `product_id` = '23';
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Stockmovment', 'issue', 'Stockmovment ID :22', '2', '2018-08-05 10:43:08');
UPDATE `stock_movement` SET `movement_id` = '22', `proposal_code` = 'p-19', `for_store_id` = '2', `from_store_id` = '6', `proposal_by` = '2', `issue_by` = '2', `for_warehouse` = 0, `from_warehouse` = 0, `issue_code` = 'is-22', `issue_remarks` = NULL, `is_issued` = 1, `is_received` = 1, `is_proposed` = 1, `receive_by` = '2', `receive_datetime` = '2018-08-05 10:43:14'
WHERE `movement_id` = '22';
UPDATE `stock_movement_details` SET `movement_id` = '22', `product_id` = '23', `proposal_qty` = '1', `issue_qty` = '1', `received_qty` = '1'
WHERE `movement_id` = '22'
AND `product_id` = '23';
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('stockmovement ', 'create', 'movemet received', '2', '2018-08-05 10:43:14');
INSERT INTO `stock_movement` (`proposal_code`, `for_store_id`, `from_store_id`, `proposal_datetime`, `proposal_by`) VALUES ('p-20', '10', '9', '2018-08-05 11:11:34', '2');
INSERT INTO `stock_movement_details` (`movement_id`, `product_id`, `proposal_qty`) VALUES (23, '23', '2');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Stockmovment', 'create', 'Stockmovment ID :23', '2', '2018-08-05 11:12:05');
UPDATE `stock_movement` SET `movement_id` = '23', `proposal_code` = 'p-20', `for_store_id` = '10', `from_store_id` = '9', `proposal_datetime` = '2018-08-05 11:11:34', `proposal_by` = '2', `issue_by` = '2', `for_warehouse` = 0, `from_warehouse` = 0, `issue_code` = 'is-23', `issue_datetime` = '2018-08-05 11:12:21', `issue_remarks` = '', `is_issued` = 1, `is_approved` = 1
WHERE `movement_id` = '23';
UPDATE `stock_movement_details` SET `movement_id` = '23', `product_id` = '23', `proposal_qty` = '2', `issue_qty` = '2', `received_qty` = 0
WHERE `movement_id` = '23'
AND `product_id` = '23';
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Stockmovment', 'issue', 'Stockmovment ID :23', '2', '2018-08-05 11:12:21');
UPDATE `stock_movement` SET `movement_id` = '23', `proposal_code` = 'p-20', `for_store_id` = '10', `from_store_id` = '9', `proposal_by` = '2', `issue_by` = '2', `for_warehouse` = 0, `from_warehouse` = 0, `issue_code` = 'is-23', `issue_remarks` = NULL, `is_issued` = 1, `is_received` = 1, `is_proposed` = 1, `receive_by` = '2', `receive_datetime` = '2018-08-05 11:13:44'
WHERE `movement_id` = '23';
UPDATE `stock_movement_details` SET `movement_id` = '23', `product_id` = '23', `proposal_qty` = '2', `issue_qty` = '2', `received_qty` = '2'
WHERE `movement_id` = '23'
AND `product_id` = '23';
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('stockmovement ', 'create', 'movemet received', '2', '2018-08-05 11:13:44');
DELETE FROM `role_permission`
WHERE `role_id` = '3';
INSERT INTO `role_permission` (`create`, `delete`, `fk_module_id`, `read`, `role_id`, `update`) VALUES (0,0,'1','1','3',0), (0,0,'6','1','3',0), (0,0,'13',0,'3',0), (0,'1','7','1','3','1'), ('1','1','10','1','3','1'), (0,0,'14',0,'3',0), (0,0,'19',0,'3',0), (0,0,'18',0,'3',0), ('1','1','12','1','3','1'), ('1',0,'17','1','3','1'), (0,0,'3',0,'3',0), (0,0,'9',0,'3',0);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Role Permission', 'create', 'Role id :413', '2', '2018-08-05 12:02:16');
UPDATE `user` SET `last_login` = '2018-08-05 12:03:09', `ip_address` = '172.68.144.230'
WHERE `id` = '26';
DELETE FROM `role_permission`
WHERE `role_id` = '3';
INSERT INTO `role_permission` (`create`, `delete`, `fk_module_id`, `read`, `role_id`, `update`) VALUES (0,0,'1','1','3','1'), (0,0,'6','1','3',0), (0,0,'13',0,'3',0), (0,'1','7','1','3','1'), ('1','1','10','1','3','1'), (0,0,'14',0,'3',0), (0,0,'19',0,'3',0), (0,0,'18',0,'3',0), ('1','1','12','1','3','1'), ('1',0,'17','1','3','1'), (0,0,'3',0,'3',0), (0,0,'9',0,'3',0);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Role Permission', 'create', 'Role id :425', '2', '2018-08-05 12:09:30');
UPDATE `user` SET `last_logout` = '2018-08-05 12:09:49'
WHERE `id` = '26';
UPDATE `user` SET `last_login` = '2018-08-05 12:10:03', `ip_address` = '172.68.144.128'
WHERE `id` = '26';
DELETE FROM `role_permission`
WHERE `role_id` = '3';
INSERT INTO `role_permission` (`create`, `delete`, `fk_module_id`, `read`, `role_id`, `update`) VALUES ('1',0,'1','1','3',0), (0,0,'6','1','3',0), (0,0,'13',0,'3',0), (0,'1','7','1','3','1'), ('1','1','10','1','3','1'), (0,0,'14',0,'3',0), (0,0,'19',0,'3',0), (0,0,'18',0,'3',0), ('1','1','12','1','3','1'), ('1',0,'17','1','3','1'), (0,0,'3',0,'3',0), (0,0,'9',0,'3',0);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Role Permission', 'create', 'Role id :437', '2', '2018-08-05 12:17:48');
UPDATE `user` SET `last_logout` = '2018-08-05 12:17:56'
WHERE `id` = '26';
UPDATE `user` SET `last_login` = '2018-08-05 12:18:09', `ip_address` = '172.68.144.128'
WHERE `id` = '26';
INSERT INTO `stock_movement` (`proposal_code`, `for_store_id`, `from_store_id`, `proposal_datetime`, `proposal_by`) VALUES ('p-13', '9', '5', '2018-08-05 12:20:25', '2');
INSERT INTO `stock_movement` (`proposal_code`, `for_store_id`, `from_store_id`, `proposal_datetime`, `proposal_by`) VALUES ('p-13', '2', '9', '2018-08-05 12:20:43', '2');
UPDATE `user` SET `last_logout` = '2018-08-05 12:21:34'
WHERE `id` = '26';
UPDATE `user` SET `last_login` = '2018-08-05 12:21:45', `ip_address` = '162.158.167.187'
WHERE `id` = '26';
INSERT INTO `stock_movement` (`proposal_code`, `for_store_id`, `from_store_id`, `proposal_datetime`, `proposal_by`) VALUES ('p-13', '2', '9', '2018-08-05 12:21:53', '2');
INSERT INTO `stock_movement` (`proposal_code`, `for_store_id`, `from_store_id`, `proposal_datetime`, `proposal_by`) VALUES ('p-13', '9', '10', '2018-08-05 12:24:31', '2');
INSERT INTO `stock_movement` (`proposal_code`, `for_store_id`, `from_store_id`, `proposal_datetime`, `proposal_by`) VALUES ('p-13', '3', '5', '2018-08-05 12:26:12', '2');
INSERT INTO `stock_movement` (`proposal_code`, `for_store_id`, `from_store_id`, `proposal_datetime`, `proposal_by`) VALUES ('p-13', '10', '9', '2018-08-05', '2');
INSERT INTO `stock_movement` (`proposal_code`, `for_store_id`, `from_store_id`, `proposal_datetime`, `proposal_by`) VALUES ('p-13', '4', '5', '2018-08-05 12:26:34', '2');
INSERT INTO `stock_movement` (`proposal_code`, `for_store_id`, `from_store_id`, `proposal_datetime`, `proposal_by`) VALUES ('p-13', '3', '4', '2018-08-05', '2');
INSERT INTO `stock_movement` (`proposal_code`, `for_store_id`, `from_store_id`, `proposal_datetime`, `proposal_by`) VALUES ('p-13', '2', '6', '2018-08-05 12:41:53', '2');
INSERT INTO `stock_movement` (`proposal_code`, `for_store_id`, `from_store_id`, `proposal_datetime`, `proposal_by`) VALUES ('p-13', '3', '3', '2018-08-05 12:43:38', '2');
INSERT INTO `stock_movement` (`proposal_code`, `for_store_id`, `from_store_id`, `proposal_datetime`, `proposal_by`) VALUES ('p-14', '2', '4', '2018-08-05 12:44:56', '2');
INSERT INTO `stock_movement` (`proposal_code`, `for_store_id`, `from_store_id`, `proposal_datetime`, `proposal_by`) VALUES ('p-30', '2', '4', '2018-08-05 12:45:35', '2');
INSERT INTO `stock_movement_details` (`movement_id`, `product_id`, `proposal_qty`) VALUES (35, '18', '3');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Stockmovment', 'create', 'Stockmovment ID :35', '2', '2018-08-05 12:45:55');
DELETE FROM 
WHERE `Stockmovment_id` = '35';
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Stockmovment', 'delete', 'Stockmovment ID :35', '2', '2018-08-05 12:46:02');
INSERT INTO `stock_movement` (`proposal_code`, `for_store_id`, `from_store_id`, `proposal_datetime`, `proposal_by`) VALUES ('p-31', '10', '9', '2018-08-05', '2');
INSERT INTO `stock_movement_details` (`movement_id`, `product_id`, `proposal_qty`) VALUES (36, '22', '2');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Stockmovment', 'create', 'Stockmovment ID :36', '2', '2018-08-05 12:48:57');
UPDATE `user` SET `last_login` = '2018-08-05 16:57:40', `ip_address` = '172.68.62.245'
WHERE `id` = '2';
INSERT INTO `stock_movement` (`proposal_code`, `for_store_id`, `from_store_id`, `proposal_datetime`, `proposal_by`) VALUES ('p-32', '9', '2', '2018-08-05', '2');
INSERT INTO `stock_movement_details` (`movement_id`, `product_id`, `proposal_qty`) VALUES (37, '23', '5');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Stockmovment', 'create', 'Stockmovment ID :37', '2', '2018-08-05 16:58:28');
UPDATE `stock_movement` SET `movement_id` = '37', `proposal_code` = 'p-32', `for_store_id` = '9', `from_store_id` = '2', `proposal_datetime` = '2018-08-05', `proposal_by` = '2', `issue_by` = '2', `for_warehouse` = 0, `from_warehouse` = 0, `issue_code` = 'is-15', `issue_datetime` = '2018-08-05 16:58:41', `issue_remarks` = '', `is_issued` = 1, `is_approved` = 1
WHERE `movement_id` = '37';
UPDATE `stock_movement_details` SET `movement_id` = '37', `product_id` = '23', `proposal_qty` = '5', `issue_qty` = '3', `received_qty` = 0
WHERE `movement_id` = '37'
AND `product_id` = '23';
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Stockmovment', 'issue', 'Stockmovment ID :37', '2', '2018-08-05 16:58:41');
UPDATE `stock_movement` SET `movement_id` = '37', `proposal_code` = 'p-32', `for_store_id` = '9', `from_store_id` = '2', `proposal_by` = '2', `issue_by` = '2', `for_warehouse` = 0, `from_warehouse` = 0, `issue_code` = 'is-15', `issue_remarks` = NULL, `is_issued` = 1, `is_received` = 1, `is_proposed` = 1, `receive_by` = '2', `receive_datetime` = '2018-08-05 16:59:46'
WHERE `movement_id` = '37';
UPDATE `stock_movement_details` SET `movement_id` = '37', `product_id` = '23', `proposal_qty` = '5', `issue_qty` = '2', `received_qty` = '2'
WHERE `movement_id` = '37'
AND `product_id` = '23';
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('stockmovement ', 'create', 'movemet received', '2', '2018-08-05 16:59:46');
UPDATE `user` SET `last_login` = '2018-08-06 04:08:20', `ip_address` = '172.68.144.128'
WHERE `id` = '2';
UPDATE `user` SET `last_logout` = '2018-08-06 04:42:42'
WHERE `id` IS NULL;
UPDATE `user` SET `last_login` = '2018-08-06 04:42:51', `ip_address` = '172.68.146.243'
WHERE `id` = '2';
INSERT INTO `sales_return` (`invoice_no`, `customer_id`, `store_id`, `sale_type_id`, `return_date`, `totalamount`, `return_reason`, `createby`, `createdate`) VALUES ('1033', '26', '9', '1', '2018-08-06', '15000.00', '', '2', '2018-08-06 05:57:58');
INSERT INTO `sales_return_details` (`sreturn_id`, `product_id`, `qty`, `product_rate`) VALUES (7, '23', '1', '15000');
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES (7, 'RT', '2018-08-06 05:57:58', '1020301000019', 'Receive For 7', '15000.00', 0, '9', 1, '2', '2018-08-06 05:57:58', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1033', 'RT', '2018-08-06 05:57:58', 403, 'RT For Invoice No1033', 0, 0, '2', 1, '2', '2018-08-06 05:57:58', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1033', 'RT', '2018-08-06 05:57:58', 10107, 'RT For Invoice No1033', 0, 0, '2', 1, '2', '2018-08-06 05:57:58', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1033', 'CIV', '2018-08-06 05:57:58', 1020101, 'CIV For Invoice No1033', 0, '15000.00', '2', 1, '2', '2018-08-06 05:57:58', 1);
INSERT INTO `purchase_return` (`po_no`, `supplier_id`, `return_date`, `totalamount`, `return_reason`, `createby`, `createdate`) VALUES ('20180805092943', '6', '2018-08-06', '10000.00', '', '2', '2018-08-06 05:58:23');
INSERT INTO `purchase_return_details` (`preturn_id`, `product_id`, `qty`, `store_id`, `product_rate`) VALUES (9, '23', '1', '9', '10000');
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('20180805092943', 'PO', '2018-08-06 05:58:23', '5020200003', 'P Return For 20180805092943', '10000.00', 0, '2', 1, '2', '2018-08-06 05:58:23', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('20180805092943', 'PO', '2018-08-06 05:58:23', 10107, 'Purchase Return For PO No20180805092943', 0, '10000.00', '2', 1, '2', '2018-08-06 05:58:23', 1);
UPDATE `user` SET `last_logout` = '2018-08-06 07:24:59'
WHERE `id` = '2';
UPDATE `user` SET `last_login` = '2018-08-06 07:25:19', `ip_address` = '172.69.134.46'
WHERE `id` = '26';
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('DV-4', 'DV', '2018-08-06', '102010204', 'sdfsdf', 0, '500000.00', '10', 1, '26', '2018-08-06 07:30:28', 0);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('DV-4', 'DV', '2018-08-06', '102020103', 'sdfsdf', '500000', 0, '10', 1, '26', '2018-08-06 07:30:28', 0);
UPDATE `acc_transaction` SET `VNo` = 'DV-4', `IsAppove` = 1
WHERE `VNo` = 'DV-4';
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('DV-5', 'DV', '2018-08-06', '102010203', '', 0, '2000.00', '10', 1, '26', '2018-08-06 07:59:33', 0);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('DV-5', 'DV', '2018-08-06', '4021002', '', '2000', 0, '10', 1, '26', '2018-08-06 07:59:33', 0);
UPDATE `user` SET `last_logout` = '2018-08-06 08:00:22'
WHERE `id` = '26';
UPDATE `user` SET `last_login` = '2018-08-06 08:00:31', `ip_address` = '172.68.144.128'
WHERE `id` = '2';
UPDATE `user` SET `last_login` = '2018-08-06 08:10:47', `ip_address` = '162.158.165.149'
WHERE `id` = '26';
UPDATE `user` SET `last_logout` = '2018-08-06 09:42:16'
WHERE `id` = '26';
UPDATE `user` SET `last_login` = '2018-08-06 09:43:23', `ip_address` = '172.68.146.105'
WHERE `id` = '26';
DELETE FROM `role_permission`
WHERE `role_id` = '3';
INSERT INTO `role_permission` (`create`, `delete`, `fk_module_id`, `read`, `role_id`, `update`) VALUES ('1',0,'1','1','3',0), (0,0,'6','1','3',0), (0,0,'13',0,'3',0), (0,'1','7','1','3',0), ('1','1','10','1','3','1'), (0,0,'14',0,'3',0), (0,0,'19',0,'3',0), (0,0,'18',0,'3',0), ('1','1','12','1','3','1'), ('1',0,'17','1','3','1'), (0,0,'3',0,'3',0), (0,0,'9',0,'3',0);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Role Permission', 'create', 'Role id :449', '2', '2018-08-06 09:44:33');
UPDATE `user` SET `last_logout` = '2018-08-06 09:45:31'
WHERE `id` = '26';
UPDATE `user` SET `last_login` = '2018-08-06 09:46:20', `ip_address` = '162.158.166.36'
WHERE `id` = '26';
UPDATE `user` SET `last_login` = '2018-08-06 12:04:11', `ip_address` = '172.68.144.128'
WHERE `id` = '2';
DELETE FROM `role_permission`
WHERE `role_id` = '3';
INSERT INTO `role_permission` (`create`, `delete`, `fk_module_id`, `read`, `role_id`, `update`) VALUES ('1',0,'1','1','3',0), (0,'1','6','1','3',0), (0,0,'13',0,'3',0), (0,'1','7','1','3',0), ('1','1','10','1','3','1'), (0,0,'14',0,'3',0), (0,0,'19',0,'3',0), (0,0,'18',0,'3',0), ('1','1','12','1','3','1'), ('1',0,'17','1','3','1'), (0,0,'3',0,'3',0), (0,0,'9',0,'3',0);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Role Permission', 'create', 'Role id :461', '2', '2018-08-06 12:04:39');
UPDATE `user` SET `last_login` = '2018-08-06 12:10:37', `ip_address` = '172.68.146.243'
WHERE `id` = '26';
DELETE FROM `role_permission`
WHERE `role_id` = '3';
INSERT INTO `role_permission` (`create`, `delete`, `fk_module_id`, `read`, `role_id`, `update`) VALUES ('1',0,'1','1','3',0), (0,'1','6','1','3',0), (0,0,'13',0,'3',0), (0,0,'7','1','3',0), ('1','1','10','1','3','1'), (0,0,'14',0,'3',0), (0,0,'19',0,'3',0), (0,0,'18',0,'3',0), ('1','1','12','1','3','1'), ('1',0,'17','1','3','1'), (0,0,'3',0,'3',0), (0,0,'9',0,'3',0);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Role Permission', 'create', 'Role id :473', '2', '2018-08-06 12:11:35');
UPDATE `user` SET `last_logout` = '2018-08-06 12:11:38'
WHERE `id` = '26';
UPDATE `user` SET `last_login` = '2018-08-06 12:11:49', `ip_address` = '172.68.146.243'
WHERE `id` = '26';
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
DELETE FROM 
WHERE `Stockmovment_id` = '37';
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Stockmovment', 'delete', 'Stockmovment ID :37', '2', '2018-08-06 12:42:47');
UPDATE `user` SET `last_login` = '2018-08-07 07:51:43', `ip_address` = '172.68.144.230'
WHERE `id` = '2';
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
UPDATE `user` SET `last_logout` = '2018-08-07 12:07:01'
WHERE `id` IS NULL;
CALL get_store_stock('0,'@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
UPDATE `user` SET `last_login` = '2018-08-11 05:13:17', `ip_address` = '172.68.62.59'
WHERE `id` = '2';
UPDATE `customer` SET `customer_id` = '26', `isactive` = 0
WHERE `customer_id` = '26';
UPDATE `customer` SET `customer_id` = '25', `isactive` = 0
WHERE `customer_id` = '25';
UPDATE `lease` SET `lease_id` = '10', `isactive` = 0
WHERE `lease_id` = '10';
UPDATE `lease` SET `lease_id` = '10', `isactive` = 1
WHERE `lease_id` = '10';
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
CALL get_store_stock('0,'@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
UPDATE `user` SET `last_login` = '2018-08-11 16:32:26', `ip_address` = '172.68.62.65'
WHERE `id` = '2';
UPDATE `user` SET `last_login` = '2018-08-15 18:59:12', `ip_address` = '172.68.178.23'
WHERE `id` = '2';
CALL get_store_stock('',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
UPDATE `user` SET `last_login` = '2018-08-31 11:27:55', `ip_address` = '172.68.146.195'
WHERE `id` = '2';
UPDATE `user` SET `last_login` = '2018-08-31 11:29:32', `ip_address` = '162.158.154.188'
WHERE `id` = '2';
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
CALL get_store_stock('',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
UPDATE `user` SET `last_login` = '2018-09-01 11:29:40', `ip_address` = '162.158.167.103'
WHERE `id` = '2';
UPDATE `user` SET `last_login` = '2018-09-13 11:26:15', `ip_address` = '::1'
WHERE `id` = '2';
UPDATE `user` SET `last_login` = '2018-09-15 05:56:01', `ip_address` = '::1'
WHERE `id` = '2';
UPDATE `user` SET `last_login` = '2018-09-15 07:04:45', `ip_address` = '::1'
WHERE `id` = '2';
UPDATE `user` SET `last_login` = '2018-09-15 07:43:16', `ip_address` = '::1'
WHERE `id` = '2';
UPDATE `user` SET `last_login` = '2018-09-15 09:51:29', `ip_address` = '::1'
WHERE `id` = '2';
UPDATE `user` SET `last_login` = '2018-09-20 16:45:20', `ip_address` = '::1'
WHERE `id` = '2';
UPDATE `user` SET `last_login` = '2018-09-23 07:08:30', `ip_address` = '::1'
WHERE `id` = '2';
UPDATE `user` SET `last_login` = '2018-09-30 05:38:39', `ip_address` = '::1'
WHERE `id` = '2';
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
UPDATE `user` SET `last_login` = '2018-09-30 10:50:14', `ip_address` = '::1'
WHERE `id` = '2';
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
UPDATE `user` SET `last_login` = '2018-10-01 06:30:32', `ip_address` = '::1'
WHERE `id` = '2';
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
UPDATE `user` SET `last_login` = '2018-10-01 11:01:40', `ip_address` = '::1'
WHERE `id` = '2';
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
INSERT INTO `language` (`phrase`) VALUES ('at_a_glance');
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
INSERT INTO `language` (`phrase`) VALUES ('products');
INSERT INTO `language` (`phrase`) VALUES ('users');
INSERT INTO `language` (`phrase`) VALUES ('customers');
INSERT INTO `language` (`phrase`) VALUES ('stores');
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
INSERT INTO `language` (`phrase`) VALUES ('qty');
INSERT INTO `language` (`phrase`) VALUES ('value');
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
UPDATE `user` SET `last_login` = '2018-10-02 05:38:29', `ip_address` = '::1'
WHERE `id` = '2';
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
UPDATE `user` SET `last_login` = '2018-10-03 06:12:29', `ip_address` = '::1'
WHERE `id` = '2';
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
INSERT INTO `sales_parent` (`sale_id`, `invoice_no`, `customer_id`, `sale_type_id`, `store_id`, `salesman`, `sales_date`, `sales_time`, `gurrantor_1`, `gurrantor_2`, `advance_amnt`, `lease_id`, `inquiry_officer`, `remaining_amnt`, `installment_amnt`, `package_price`, `total_amnt`) VALUES ('20181003072935', '1034', '1', '1', '2', '2', '2018-10-03', '07:29:35', NULL, NULL, '', NULL, NULL, NULL, 0, 0, '80000.00');
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1034', 'CIV', '2018-10-03 07:29:35', '1020101000002', 'Cash in hand debit For Invoice No1034', '80000.00', 0, '2', 1, '2', '2018-10-03 07:29:35', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1034', 'CIV', '2018-10-03 07:29:35', 403, 'Cost of sale debit For Invoice No1034', NULL, 0, '2', 1, '2', '2018-10-03 07:29:35', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1034', 'CIV', '2018-10-03 07:29:35', 10107, 'Inventory credit For Invoice No1034', 0, NULL, '2', 1, '2', '2018-10-03 07:29:35', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1034', 'CIV', '2018-10-03 07:29:35', NULL, 'Customer debit for Product For Invoice No1034', '80000.00', 0, '2', 1, '2', '2018-10-03 07:29:35', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1034', 'CIV', '2018-10-03 07:29:35', NULL, 'Customer credit for Paid Amount For Invoice No1034', 0, '80000.00', '2', 1, '2', '2018-10-03 07:29:35', 1);
INSERT INTO `payment_collection` (`sale_id`, `invoice_no`, `customer_id`, `receive_amnt`, `due_amnt`, `receive_by`, `receive_date`) VALUES ('20181003072935', '1034', '1', '80000.00', NULL, '2', '2018-10-03');
INSERT INTO `sale_details` (`sale_id`, `product_id`, `qty`, `sell_price`, `sale_type_id`, `lease_unit_price`) VALUES ('20181003072935', '24', '2', '40000', '1', NULL);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Sales', 'create', 'invoice_no-1034 total amount-80000.00', '2', '2018-10-03 07:29:36');
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
CALL get_store_stock('',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
INSERT INTO `language` (`phrase`) VALUES ('no_customer');
INSERT INTO `language` (`phrase`) VALUES ('sales_amount');
INSERT INTO `language` (`phrase`) VALUES ('total_payable');
INSERT INTO `language` (`phrase`) VALUES ('total_receivable');
INSERT INTO `language` (`phrase`) VALUES ('total_bank');
INSERT INTO `language` (`phrase`) VALUES ('total_cash');
INSERT INTO `language` (`phrase`) VALUES ('monthly_sales_performance');
INSERT INTO `language` (`phrase`) VALUES ('over_due_analysis');
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
UPDATE `synchronizer_setting` SET `hostname` = '70.35.198.244', `username` = 'pkerpbdt_test', `password` = '3MhVih}_Pnbo', `port` = '21', `debug` = 'true', `project_root` = './public_html/test';
UPDATE `synchronizer_setting` SET `hostname` = '70.35.198.244', `username` = 'pkerpbdt_test', `password` = '3MhVih}_Pnbo', `port` = '23', `debug` = 'true', `project_root` = './public_html/test';
SET FOREIGN_KEY_CHECKS = 0;
#
# TABLE STRUCTURE FOR: accesslog
#

DROP TABLE IF EXISTS `accesslog`;
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;


CREATE TABLE `accesslog` (
  `sl_no` bigint(20) NOT NULL AUTO_INCREMENT,
  `action_page` varchar(50) COLLATE utf8_unicode_ci DEFAULT NULL,
  `action_done` text COLLATE utf8_unicode_ci,
  `remarks` text COLLATE utf8_unicode_ci NOT NULL,
  `user_name` varchar(50) COLLATE utf8_unicode_ci DEFAULT NULL,
  `entry_date` datetime DEFAULT NULL,
  UNIQUE KEY `SerialNo` (`sl_no`)
) ENGINE=InnoDB AUTO_INCREMENT=375 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;


INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('1', 'purchase order', 'create', '11', '2', '2018-05-13 10:05:56');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('2', 'purchase order', 'create', 'Orde Id-20180513101115total amount-1156.00', '2', '2018-05-13 10:11:15');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('3', 'Customer', 'create', '', '2', '2018-05-13 10:27:35');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('4', 'Customer', 'create', '', '2', '2018-05-13 10:29:29');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('5', 'Customer', 'create', '', '2', '2018-05-13 10:31:52');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('6', 'Customer', 'create', '5', '2', '2018-05-13 10:32:50');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('7', 'Customer', 'delete', '4', '2', '2018-05-13 10:35:36');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('8', 'Customer', 'delete', 'customer ID :3', '2', '2018-05-13 10:36:20');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('9', 'Customer', 'update', 'customer ID :', '2', '2018-05-13 10:37:30');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('10', 'Customer', 'update', 'customer ID :1', '2', '2018-05-13 10:39:15');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('11', 'Product', 'create', 'product ID :3', '2', '2018-05-13 10:41:30');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('12', 'Product', 'delete', 'product ID :3', '2', '2018-05-13 10:43:11');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('13', 'Store', 'create', 'Store ID :3', '2', '2018-05-13 10:46:05');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('14', 'Store', 'delete', 'Store ID :3', '2', '2018-05-13 10:47:56');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('15', 'Supplier', 'create', 'Supplier ID :2', '2', '2018-05-13 10:50:41');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('16', 'Supplier', 'create', 'Supplier ID :3', '2', '2018-05-13 10:52:00');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('17', 'Supplier', 'create', 'Supplier ID :4', '2', '2018-05-13 10:52:54');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('18', 'Supplier', 'create', 'Supplier ID :5', '2', '2018-05-13 10:55:58');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('19', 'Supplier', 'update', 'Supplier ID :5', '2', '2018-05-13 10:57:03');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('20', 'Supplier', 'delete', 'Supplier ID :5', '2', '2018-05-13 10:57:46');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('21', 'Warehouse', 'delete', 'Warehouse ID :2', '2', '2018-05-13 11:00:22');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('22', 'Warehouse', 'update', 'Warehouse ID :2', '2', '2018-05-13 11:01:09');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('23', 'Supplier', 'delete', 'Supplier ID :4', '2', '2018-05-13 12:02:46');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('24', 'Supplier', 'delete', 'Supplier ID :3', '2', '2018-05-13 12:02:49');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('25', 'Product', 'create', 'product ID :4', '2', '2018-05-13 12:54:51');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('26', 'Product', 'create', 'product ID :5', '2', '2018-05-14 08:31:12');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('27', 'purchase order', 'create', 'Orde Id-20180514084546 total amount-40.00', '2', '2018-05-14 08:45:46');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('28', 'purchase order', 'create', 'Orde Id-20180514093237 total amount-600.00', '2', '2018-05-14 09:32:38');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('29', 'purchase order', 'create', 'Orde Id-20180514093316 total amount-120.00', '2', '2018-05-14 09:33:16');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('30', 'purchase order', 'create', 'Orde Id-20180514100849 total amount-776.00', '2', '2018-05-14 10:08:49');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('31', 'purchase order', 'create', 'Orde Id-20180514122943 total amount-250.00', '2', '2018-05-14 12:29:43');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('32', 'Role Permission', 'update', 'Role id :9', '2', '2018-05-14 13:38:15');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('33', 'User', 'create', 'User ID :20', '2', '2018-05-14 13:39:51');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('34', 'purchase order', 'create', 'Orde Id-20180515060421 total amount-195.00', '2', '2018-05-15 06:04:21');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('35', 'purchase order receive', 'create', 'Orde Id- total amount-120.00', '2', '2018-05-15 07:01:37');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('36', 'purchase order receive', 'create', 'Orde Id- total amount-80.00', '2', '2018-05-15 07:03:28');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('37', 'purchase order receive', 'create', 'Orde Id- total amount-80.00', '2', '2018-05-15 07:05:39');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('38', 'purchase order receive', 'create', 'Orde Id- total amount-110.00', '2', '2018-05-15 07:07:53');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('39', 'purchase order', 'create', 'Orde Id-20180515075023 total amount-920.00', '2', '2018-05-15 07:50:23');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('40', 'Role Permission', 'update', 'Role id :6', '2', '2018-05-15 08:57:53');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('41', 'purchase order', 'create', 'Orde Id-20180515075023 total amount-980.00', '2', '2018-05-15 12:10:38');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('42', 'purchase order', 'create', 'Orde Id-20180515060421 total amount-210.00', '2', '2018-05-15 12:11:58');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('43', 'purchase order', 'create', 'Orde Id-20180514122943 total amount-60.00', '2', '2018-05-15 12:24:17');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('44', 'purchase order', 'delete', 'Orde Id-20180514100849', '2', '2018-05-15 12:28:08');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('45', 'purchase order', 'delete', 'Orde Id-20180514093316', '2', '2018-05-15 12:29:05');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('46', 'purchase order', 'delete', 'Orde Id-20180514093237', '2', '2018-05-15 12:29:25');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('47', 'purchase order', 'delete', 'Orde Id-20180514084546', '2', '2018-05-15 12:29:29');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('48', 'purchase order', 'delete', 'Orde Id-20180513064344', '2', '2018-05-15 12:29:33');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('49', 'purchase order', 'delete', 'Orde Id-20180513063621', '2', '2018-05-15 12:29:38');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('50', 'purchase order', 'create', 'Orde Id-20180514122943 total amount-110.00', '2', '2018-05-15 12:30:37');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('51', 'purchase order', 'create', 'Orde Id-20180514122943 total amount-190.00', '2', '2018-05-15 12:33:58');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('52', 'purchase order', 'create', 'Orde Id-20180515075023 total amount-60.00', '2', '2018-05-15 12:34:35');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('53', 'purchase order receive', 'create', 'Orde Id- total amount-60.00', '2', '2018-05-15 12:43:54');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('54', 'purchase Receive', 'delete', 'Receive Id-20180515124354', '2', '2018-05-15 12:44:13');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('55', 'purchase order receive', 'create', 'Orde Id- total amount-60.00', '2', '2018-05-15 12:47:00');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('56', 'purchase Receive', 'delete', 'Receive Id-20180515124700', '2', '2018-05-15 12:47:14');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('57', 'purchase order receive', 'create', 'Orde Id- total amount-60.00', '2', '2018-05-15 12:47:29');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('58', 'Product', 'create', 'product ID :6', '2', '2018-05-15 13:36:08');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('59', 'Warehouse', 'create', 'Warehouse ID :3', '2', '2018-05-15 14:23:01');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('60', 'Product', 'create', 'product ID :7', '2', '2018-05-15 14:34:04');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('61', 'purchase order', 'create', 'Orde Id-20180515143434 total amount-900.00', '2', '2018-05-15 14:34:34');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('62', 'Role Permission', 'update', 'Role id :4', '2', '2018-05-15 15:19:49');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('63', 'Role Permission', 'update', 'Role id :3', '2', '2018-05-15 15:19:54');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('64', 'Role Permission', 'update', 'Role id :9', '2', '2018-05-15 15:19:57');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('65', 'Role Permission', 'update', 'Role id :6', '2', '2018-05-15 15:20:00');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('66', 'User Role', 'update', 'Role id :4', '2', '2018-05-15 15:21:09');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('67', 'User Role', 'update', 'Role id :6', '2', '2018-05-15 15:21:12');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('68', 'User Role', 'update', 'Role id :7', '2', '2018-05-15 15:21:14');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('69', 'User Role', 'update', 'Role id :9', '2', '2018-05-15 15:21:18');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('70', 'Role Permission', 'create', 'Role id :1', '2', '2018-05-15 15:24:20');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('71', 'Role Permission', 'update', 'Role id :2', '2', '2018-05-15 15:25:33');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('72', 'Role Permission', 'create', 'Role id :19', '2', '2018-05-15 15:33:18');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('73', 'Sales', 'create', 'invoice_no-1000 total amount-275.00', '2', '2018-05-16 10:51:38');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('74', 'Sales', 'create', 'invoice_no-1000 total amount-550.00', '2', '2018-05-16 10:56:56');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('75', 'Sales', 'create', 'invoice_no-1001 total amount-700.00', '2', '2018-05-16 11:27:47');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('76', 'purchase order receive', 'create', 'Orde Id- total amount-675.00', '2', '2018-05-16 14:29:18');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('77', 'Sales', 'create', 'invoice_no-1002 total amount-305.00', '2', '2018-05-17 06:57:31');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('78', 'Sales', 'create', 'invoice_no-1006 total amount-490.00', '2', '2018-05-17 07:09:17');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('79', 'Sales', 'create', 'invoice_no-1007 total amount-165.00', '2', '2018-05-17 07:10:08');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('80', 'Sales', 'create', 'invoice_no-1008 total amount-110.00', '2', '2018-05-17 07:13:02');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('81', 'Sales', 'create', 'invoice_no-1009 total amount-1800.00', '2', '2018-05-17 07:17:45');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('82', 'Sales', 'create', 'invoice_no-1010 total amount-110.00', '2', '2018-05-17 07:22:11');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('83', 'Sales', 'create', 'invoice_no-1011 total amount-165.00', '2', '2018-05-17 07:23:41');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('84', 'Sales', 'create', 'invoice_no-1012 total amount-110.00', '2', '2018-05-17 07:25:28');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('85', 'Sales', 'create', 'invoice_no-1013 total amount-550.00', '2', '2018-05-17 07:27:33');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('86', 'Sales', 'create', 'invoice_no-1014 total amount-105.00', '2', '2018-05-17 07:28:10');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('87', 'Sales', 'create', 'invoice_no-1015 total amount-165.00', '2', '2018-05-17 07:29:13');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('88', 'purchase order', 'create', 'Orde Id-20180517074220 total amount-1500.00', '2', '2018-05-17 07:42:21');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('89', 'purchase order receive', 'create', 'Orde Id- total amount-1500.00', '2', '2018-05-17 07:42:42');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('90', 'Sales', 'create', 'invoice_no-1016 total amount-125.00', '2', '2018-05-17 07:43:17');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('91', 'Sales', 'create', 'invoice_no- total amount-', '2', '2018-05-17 12:43:14');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('92', 'Sales', 'create', 'invoice_no- total amount-', '2', '2018-05-17 14:41:10');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('93', 'Store', 'create', 'Store ID :3', '2', '2018-05-19 08:34:52');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('94', 'leases', 'create', 'Lease Id-0', '2', '2018-05-20 05:41:52');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('95', 'leases', 'create', 'Lease Id-1', '2', '2018-05-20 05:47:53');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('96', 'leases', 'create', 'Lease Id-2', '2', '2018-05-20 05:58:40');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('97', 'leases', 'update', 'Lease Id-2', '2', '2018-05-20 07:09:13');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('98', 'leases', 'update', 'Lease Id-1', '2', '2018-05-20 07:14:33');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('99', 'leases', 'update', 'Lease Id-1', '2', '2018-05-20 07:15:33');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('100', 'leases', 'create', 'Lease Id-3', '2', '2018-05-20 07:18:29');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('101', 'leases', 'update', 'Lease Id-3', '2', '2018-05-20 07:20:02');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('102', 'leases', 'create', 'Lease Id-4', '2', '2018-05-20 07:23:20');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('103', 'leases', 'update', 'Lease Id-4', '2', '2018-05-20 07:23:59');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('104', 'Lease ', 'delete', 'Lease Id-4', '2', '2018-05-20 07:25:00');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('105', 'Lease ', 'delete', 'Lease Id-3', '2', '2018-05-20 07:25:24');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('106', 'leases', 'update', 'Lease Id-2', '2', '2018-05-20 07:29:49');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('107', 'leases', 'update', 'Lease Id-2', '2', '2018-05-20 07:32:42');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('108', 'leases', 'update', 'Lease Id-2', '2', '2018-05-20 07:33:44');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('109', 'Role Permission', 'update', 'Role id :2', '2', '2018-05-20 08:32:46');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('110', 'purchase Receive', 'update', 'Receive Id-20180514122943 total amount-250.00', '2', '2018-05-20 09:48:31');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('111', 'purchase Receive', 'update', 'Receive Id-20180514122943 total amount-430.00', '2', '2018-05-20 09:49:14');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('112', 'purchase order', 'create', 'Orde Id-20180520095432 total amount-7000.00', '2', '2018-05-20 09:54:32');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('113', 'purchase order', 'create', 'Orde Id-20180520095550 total amount-1200.00', '2', '2018-05-20 09:55:50');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('114', 'purchase order', 'create', 'Orde Id-20180520095758 total amount-7000.00', '2', '2018-05-20 09:57:58');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('115', 'purchase Receive', 'update', 'Receive Id-20180520095758 total amount-7015.00', '2', '2018-05-20 09:59:11');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('116', 'purchase order', 'create', 'Orde Id-20180520100119 total amount-2100.00', '2', '2018-05-20 10:01:19');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('117', 'purchase order receive', 'create', 'Orde Id- total amount-2100.00', '2', '2018-05-20 10:35:50');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('118', 'purchase order receive', 'create', 'Orde Id- total amount-7000.00', '2', '2018-05-20 10:36:32');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('119', 'Sales', 'create', 'invoice_no-1017 total amount-725.00', '2', '2018-05-20 10:37:02');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('120', 'Sales', 'create', 'invoice_no-1017 total amount-550.00', '2', '2018-05-20 10:38:34');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('121', 'Sales', 'create', 'invoice_no-1017 total amount-275.00', '2', '2018-05-20 10:39:41');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('122', 'sale ', 'delete', 'sales id-20180517074317', '2', '2018-05-20 10:56:58');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('123', 'sale ', 'delete', 'sales id-20180516105656', '2', '2018-05-20 10:57:15');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('124', 'sale ', 'delete', 'sales id-20180517065731', '2', '2018-05-20 10:57:57');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('125', 'sale ', 'delete', 'sales id-20180516112747', '2', '2018-05-20 10:58:04');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('126', 'Sales', 'create', 'invoice_no-1017 total amount-445.00', '2', '2018-05-20 12:24:13');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('127', 'Sales', 'create', 'invoice_no-1017 total amount-725.00', '2', '2018-05-20 12:26:55');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('128', 'Sales', 'create', 'invoice_no-1017 total amount-535.00', '2', '2018-05-20 12:28:33');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('129', 'Sales', 'create', 'invoice_no-1017 total amount-270.00', '2', '2018-05-20 12:31:31');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('130', 'Sales', 'create', 'invoice_no-1018 total amount-560.00', '9', '2018-05-20 12:37:33');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('131', 'sale ', 'delete', 'sales id-20180517072810', '9', '2018-05-20 13:19:24');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('132', 'sale ', 'delete', 'sales id-20180517071744', '9', '2018-05-20 13:19:32');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('133', 'sale ', 'delete', 'sales id-20180517072913', '9', '2018-05-20 13:20:08');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('134', 'sale ', 'delete', 'sales id-20180517072732', '9', '2018-05-20 13:20:12');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('135', 'sale ', 'delete', 'sales id-20180517072528', '9', '2018-05-20 13:20:16');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('136', 'sale ', 'delete', 'sales id-20180517072341', '9', '2018-05-20 13:20:40');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('137', 'sale ', 'delete', 'sales id-20180517072210', '9', '2018-05-20 13:20:43');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('138', 'sale ', 'delete', 'sales id-20180517071008', '9', '2018-05-20 13:20:52');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('139', 'leases', 'create', 'Lease Id-3', '2', '2018-05-21 06:18:14');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('140', 'leases', 'update', 'Lease Id-3', '2', '2018-05-21 06:21:30');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('141', 'Sales', 'create', 'invoice_no-1019 total amount-340.00', '9', '2018-05-21 06:50:14');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('142', 'Sales', 'update', 'invoice_no-1017 total amount-295.00', '2', '2018-05-21 12:11:29');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('143', 'Sales', 'update', 'invoice_no-1017 total amount-270.00', '2', '2018-05-21 12:17:17');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('144', 'Sales', 'update', 'invoice_no-1017 total amount-270', '2', '2018-05-21 12:22:28');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('145', 'Sales', 'update', 'invoice_no-1017 total amount-270', '2', '2018-05-21 12:23:52');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('146', 'Sales', 'update', 'invoice_no-1018 total amount-560', '2', '2018-05-21 12:59:39');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('147', 'Gurrantor', 'create', '0', '2', '2018-05-22 11:47:25');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('148', 'Gurrantor', 'create', '3', '2', '2018-05-22 11:49:14');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('149', 'Gurrantor', 'create', '4', '2', '2018-05-22 12:46:09');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('150', 'Gurrantor', 'create', '5', '2', '2018-05-22 12:50:41');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('151', 'Gurrantor', 'create', '6', '2', '2018-05-23 05:53:57');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('152', 'Gurrantor', 'create', '7', '2', '2018-05-23 06:11:45');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('153', 'Gurrantor', 'create', '8', '2', '2018-05-23 06:15:40');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('154', 'Gurrantor', 'create', '9', '2', '2018-05-23 06:18:35');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('155', 'Gurrantor', 'create', '10', '2', '2018-05-23 06:37:21');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('156', 'Gurrantor', 'create', '11', '2', '2018-05-23 06:39:32');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('157', 'Sales', 'create', 'invoice_no-1020 total amount-140.00', '2', '2018-05-23 07:06:22');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('158', 'Sales', 'create', 'invoice_no-1021 total amount-140.00', '2', '2018-05-23 07:08:45');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('159', 'Sales', 'create', 'invoice_no-1021 total amount-70.00', '2', '2018-05-23 07:19:51');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('160', 'Gurrantor', 'create', '12', '2', '2018-05-23 08:46:54');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('161', 'leases', 'create', 'Lease Id-4', '2', '2018-05-23 08:57:50');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('162', 'leases', 'update', 'Lease Id-4', '2', '2018-05-23 09:52:57');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('163', 'Sales', 'create', 'invoice_no-1022 total amount-105.00', '2', '2018-05-23 11:08:52');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('164', 'Sales', 'create', 'invoice_no-1022 total amount-105.00', '2', '2018-05-23 11:12:31');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('165', 'Sales', 'create', 'invoice_no-1022 total amount-70.00', '2', '2018-05-23 11:16:57');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('166', 'Sales', 'create', 'invoice_no-1022 total amount-70.00', '2', '2018-05-23 11:21:13');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('167', 'Sales', 'create', 'invoice_no-1022 total amount-35.00', '2', '2018-05-23 11:25:33');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('168', 'Sales', 'create', 'invoice_no-1022 total amount-105.00', '2', '2018-05-23 11:31:39');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('169', 'Sales', 'create', 'invoice_no-1023 total amount-485.00', '2', '2018-05-23 11:33:43');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('170', 'Product', 'create', 'product ID :8', '2', '2018-05-24 06:43:06');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('171', 'Product', 'create', 'product ID :9', '2', '2018-05-24 06:46:28');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('172', 'Stockmovment', 'create', 'Stockmovment ID :1', '2', '2018-05-24 08:23:49');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('173', 'Stockmovment', 'create', 'Stockmovment ID :1', '2', '2018-05-24 08:30:38');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('174', 'Stockmovment', 'create', 'Stockmovment ID :2', '2', '2018-05-24 10:06:26');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('175', 'Stockmovment', 'create', 'Stockmovment ID :5', '2', '2018-05-24 10:14:04');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('176', 'Stockmovment', 'create', 'Stockmovment ID :1', '2', '2018-05-24 10:16:11');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('177', 'Stockmovment', 'create', 'Stockmovment ID :2', '2', '2018-05-24 10:35:19');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('178', 'Product', 'create', 'product ID :10', '2', '2018-05-24 10:36:31');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('179', 'Stockmovment', 'create', 'Stockmovment ID :3', '2', '2018-05-24 10:39:46');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('180', 'Stockmovment', 'create', 'Stockmovment ID :4', '2', '2018-05-24 10:40:15');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('181', 'Stockmovment', 'create', 'Stockmovment ID :7', '2', '2018-05-24 10:50:09');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('182', 'Sales', 'create', 'invoice_no-1024 total amount-110.00', '2', '2018-05-26 07:50:13');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('183', 'Sales', 'create', 'invoice_no-1024 total amount-105.00', '2', '2018-05-26 07:58:47');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('184', 'Sales', 'create', 'invoice_no-1024 total amount-175.00', '2', '2018-05-26 07:59:19');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('185', 'Sales', 'create', 'invoice_no-1024 total amount-105.00', '2', '2018-05-26 08:00:40');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('186', 'Sales', 'create', 'invoice_no-1024 total amount-105.00', '2', '2018-05-26 08:00:55');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('187', 'Sales', 'create', 'invoice_no-1024 total amount-70.00', '2', '2018-05-26 08:02:29');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('188', 'Sales', 'create', 'invoice_no-1024 total amount-70.00', '2', '2018-05-26 08:25:56');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('189', 'Sales', 'create', 'invoice_no-1024 total amount-70.00', '2', '2018-05-26 08:26:32');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('190', 'Sales', 'create', 'invoice_no-1025 total amount-105.00', '2', '2018-05-26 12:31:01');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('191', 'Sales', 'create', 'invoice_no-1026 total amount-165.00', '2', '2018-05-26 12:32:04');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('192', 'Product', 'create', 'product ID :11', '2', '2018-05-26 13:00:59');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('193', 'Product', 'create', 'product ID :12', '2', '2018-05-27 07:18:05');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('194', 'Product', 'delete', 'product ID :1', '2', '2018-05-27 07:27:56');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('195', 'Product', 'update', 'product ID :12', '2', '2018-05-27 09:55:53');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('196', 'Sales', 'create', 'invoice_no-1027 total amount-70.00', '2', '2018-05-27 10:32:26');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('197', 'User', 'create', 'User ID :21', '2', '2018-05-27 10:38:38');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('198', 'Customer', 'create', '26', '2', '2018-05-27 12:14:58');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('199', 'Product', 'create', 'product ID :13', '2', '2018-05-28 05:40:44');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('200', 'Product', 'update', 'product ID :13', '2', '2018-05-28 05:42:55');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('201', 'Product', 'update', 'product ID :13', '2', '2018-05-28 05:43:38');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('202', 'Sales', 'create', 'invoice_no-1028 total amount-350.00', '2', '2018-05-28 07:52:19');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('203', 'Customer', 'create', '30', '2', '2018-05-28 08:36:22');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('204', 'Customer', 'create', '31', '2', '2018-05-28 08:47:03');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('205', 'sale ', 'delete', 'sales id-20180520123130', '2', '2018-05-28 07:19:45');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('206', 'sale ', 'delete', 'sales id-20180526123204', '2', '2018-05-28 07:19:49');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('207', 'sale ', 'delete', 'sales id-20180526123101', '2', '2018-05-28 07:19:52');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('208', 'sale ', 'delete', 'sales id-20180521065014', '2', '2018-05-28 07:20:06');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('209', 'sale ', 'delete', 'sales id-20180523113343', '2', '2018-05-28 07:51:37');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('210', 'Sales', 'create', 'invoice_no-1029 total amount-175.00', '2', '2018-06-02 10:38:44');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('211', 'Sales', 'create', 'invoice_no-1029 total amount-175.00', '2', '2018-06-02 10:43:38');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('212', 'Sales', 'create', 'invoice_no-1030 total amount-70.00', '2', '2018-06-02 10:47:37');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('213', 'recovery', 'create', 'payment ID :31', '2', '2018-06-02 11:32:04');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('214', 'recovery', 'create', 'payment ID :32', '2', '2018-06-02 11:32:26');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('215', 'recovery', 'create', 'payment ID :33', '2', '2018-06-02 11:34:53');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('216', 'recovery', 'create', 'payment ID :34', '2', '2018-06-02 11:48:09');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('217', 'recovery', 'create', 'payment ID :35', '2', '2018-06-02 12:03:47');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('218', 'recovery', 'create', 'payment ID :36', '2', '2018-06-02 12:04:11');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('219', 'recovery', 'create', 'payment ID :37', '2', '2018-06-02 12:04:34');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('220', 'recovery', 'create', 'payment ID :38', '2', '2018-06-02 12:04:57');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('221', 'recovery', 'create', 'payment ID :39', '2', '2018-06-02 12:05:22');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('222', 'Sales', 'create', 'invoice_no-1031 total amount-450.00', '2', '2018-06-03 06:51:44');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('223', 'recovery', 'create', 'payment ID :41', '2', '2018-06-03 07:01:05');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('224', 'recovery', 'create', 'payment ID :42', '2', '2018-06-03 07:03:46');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('225', 'recovery', 'create', 'payment ID :43', '2', '2018-06-03 07:04:07');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('226', 'payment', 'create', 'payment ID :44', '2', '2018-06-03 07:22:42');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('227', 'Sales', 'create', 'invoice_no-1032 total amount-175.00', '2', '2018-06-03 08:30:08');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('228', 'recovery', 'create', 'payment ID :46', '2', '2018-06-03 11:23:02');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('229', 'recovery', 'create', 'payment ID :47', '2', '2018-06-04 07:15:07');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('230', 'Sales', 'create', 'invoice_no-1033 total amount-70.00', '2', '2018-06-04 07:16:06');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('231', 'recovery', 'create', 'payment ID :49', '2', '2018-06-04 07:30:57');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('232', 'recovery', 'create', 'payment ID :50', '2', '2018-06-04 07:39:10');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('233', 'recovery', 'create', 'payment ID :51', '2', '2018-06-04 07:44:17');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('234', 'Sales', 'create', 'invoice_no-1034 total amount-655.00', '9', '2018-06-04 10:34:22');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('235', 'recovery', 'create', 'payment ID :53', '2', '2018-06-04 10:35:18');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('236', 'Sales', 'create', 'invoice_no-1035 total amount-200.00', '2', '2018-06-04 10:41:38');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('237', 'Store', 'create', 'Store ID :4', '2', '2018-06-04 10:42:08');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('238', 'recovery', 'create', 'payment ID :55', '2', '2018-06-04 10:42:50');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('239', 'recovery', 'create', 'payment ID :56', '2', '2018-06-04 10:43:31');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('240', 'Sales', 'create', 'invoice_no-1036 total amount-145.00', '2', '2018-06-04 10:45:57');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('241', 'recovery', 'create', 'payment ID :58', '2', '2018-06-04 10:46:38');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('242', 'recovery', 'create', 'payment ID :59', '2', '2018-06-04 10:47:42');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('243', 'recovery', 'create', 'payment ID :60', '2', '2018-06-04 10:50:02');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('244', 'recovery', 'create', 'payment ID :61', '2', '2018-06-04 10:52:09');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('245', 'recovery', 'create', 'payment ID :62', '2', '2018-06-05 07:38:34');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('246', 'recovery', 'create', 'payment ID :63', '2', '2018-06-05 07:39:00');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('247', 'recovery', 'create', 'payment ID :64', '2', '2018-06-05 07:39:58');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('248', 'recovery', 'create', 'payment ID :65', '2', '2018-06-05 07:40:40');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('249', 'recovery', 'create', 'payment ID :66', '2', '2018-06-05 07:41:14');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('250', 'recovery', 'create', 'payment ID :67', '2', '2018-06-05 07:41:37');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('251', 'Sales', 'create', 'invoice_no-1037 total amount-220.00', '2', '2018-06-05 07:45:06');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('252', 'recovery', 'create', 'payment ID :69', '2', '2018-06-05 07:46:16');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('253', 'recovery', 'create', 'payment ID :70', '2', '2018-06-05 07:46:51');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('254', 'recovery', 'create', 'payment ID :71', '2', '2018-06-05 07:52:11');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('255', 'recovery', 'create', 'payment ID :72', '2', '2018-06-05 07:53:04');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('256', 'recovery', 'create', 'payment ID :73', '2', '2018-06-05 07:53:46');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('257', 'recovery', 'create', 'payment ID :74', '2', '2018-06-05 07:54:17');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('258', 'Sales', 'create', 'invoice_no-1000 total amount-310.00', '2', '2018-06-05 07:57:45');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('259', 'recovery', 'create', 'payment ID :2', '2', '2018-06-05 07:58:13');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('260', 'recovery', 'create', 'payment ID :3', '2', '2018-06-05 07:59:01');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('261', 'recovery', 'create', 'payment ID :4', '2', '2018-06-05 08:00:51');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('262', 'recovery', 'create', 'payment ID :5', '2', '2018-06-05 08:07:03');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('263', 'recovery', 'create', 'payment ID :6', '2', '2018-06-05 08:11:39');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('264', 'Sales', 'create', 'invoice_no-1001 total amount-395.00', '2', '2018-06-05 08:21:40');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('265', 'recovery', 'create', 'payment ID :8', '2', '2018-06-05 08:22:24');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('266', 'Sales', 'create', 'invoice_no-1002 total amount-140.00', '2', '2018-06-05 09:25:53');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('267', 'recovery', 'create', 'payment ID :10', '2', '2018-06-05 09:26:38');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('268', 'recovery', 'create', 'payment ID :11', '2', '2018-06-05 09:27:08');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('269', 'Store', 'create', 'Store ID :5', '2', '2018-06-06 06:41:24');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('270', 'recovery', 'create', 'payment ID :12', '2', '2018-06-06 08:09:01');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('271', 'Sales', 'create', 'invoice_no-1003 total amount-470.00', '2', '2018-06-06 08:22:07');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('272', 'recovery', 'create', 'payment ID :14', '2', '2018-06-06 08:23:20');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('273', 'recovery', 'create', 'payment ID :15', '2', '2018-06-06 09:26:49');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('274', 'stockmovement ', 'create', 'receive_id-', '2', '2018-06-07 05:46:14');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('275', 'stockmovement ', 'create', 'receive_id-', '2', '2018-06-07 05:51:59');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('276', 'stockmovement ', 'create', 'receive_id-', '2', '2018-06-07 05:52:49');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('277', 'stockmovement ', 'create', 'receive_id-', '2', '2018-06-07 05:54:38');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('278', 'stockmovement ', 'create', 'receive_id-', '2', '2018-06-07 05:55:26');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('279', 'stockmovement ', 'create', 'receive_id-', '2', '2018-06-07 06:01:42');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('280', 'stockmovement ', 'create', 'receive_id-', '2', '2018-06-07 06:03:17');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('281', 'Sales', 'create', 'invoice_no-1004 total amount-415.00', '2', '2018-06-07 07:02:31');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('282', 'recovery', 'create', 'payment ID :17', '2', '2018-06-07 07:03:16');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('283', 'Sales', 'create', 'invoice_no-1005 total amount-700.00', '2', '2018-06-07 08:20:15');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('284', 'Sales', 'create', 'invoice_no-1006 total amount-350.00', '2', '2018-06-09 08:35:21');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('285', 'recovery', 'create', 'payment ID :20', '2', '2018-06-09 08:46:55');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('286', 'Sales', 'create', 'invoice_no-1007 total amount-430.00', '2', '2018-06-09 10:08:40');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('287', 'recovery', 'create', 'payment ID :22', '2', '2018-06-09 10:09:10');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('288', 'recovery', 'create', 'payment ID :23', '2', '2018-06-09 10:53:20');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('289', 'Product', 'create', 'product ID :14', '2', '2018-06-12 07:45:21');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('290', 'purchase order', 'create', 'Orde Id-20180612103148 total amount-330.00', '2', '2018-06-12 10:31:48');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('291', 'purchase order', 'create', 'Orde Id-20180612103551 total amount-180.00', '2', '2018-06-12 10:35:51');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('292', 'purchase order', 'create', 'Orde Id-20180612103748 total amount-225.00', '2', '2018-06-12 10:37:48');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('293', 'purchase order', 'create', 'Orde Id-20180612104319 total amount-160.00', '2', '2018-06-12 10:43:19');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('294', 'purchase order', 'create', 'Orde Id-20180612105558 total amount-300.00', '2', '2018-06-12 10:55:58');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('295', 'purchase order', 'create', 'Orde Id-20180612124820 total amount-619.00', '2', '2018-06-12 12:48:21');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('296', 'Sales', 'create', 'invoice_no-1008 total amount-105.00', '2', '2018-06-23 07:51:23');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('297', 'Sales', 'create', 'invoice_no-1009 total amount-105.00', '2', '2018-06-23 07:51:45');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('298', 'purchase order', 'create', 'Orde Id-20180623084403 total amount-1040.00', '2', '2018-06-23 08:44:03');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('299', 'purchase Receive', 'delete', 'Receive Id-201806070617', '2', '2018-06-23 10:39:08');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('300', 'purchase Receive', 'delete', 'Receive Id-20180607060317', '2', '2018-06-23 10:39:12');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('301', 'purchase order receive', 'create', 'Orde Id- total amount-190.00', '2', '2018-06-23 11:07:10');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('302', 'purchase order receive', 'create', 'Orde Id- total amount-385.00', '2', '2018-06-23 11:07:36');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('303', 'Stockmovment', 'create', 'Stockmovment ID :8', '2', '2018-06-23 11:38:55');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('304', 'Stockmovment', 'create', 'Stockmovment ID :9', '2', '2018-06-23 11:40:15');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('305', 'Stockmovment', 'create', 'Stockmovment ID :10', '2', '2018-06-23 12:04:54');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('306', 'User', 'create', 'User ID :22', '2', '2018-06-23 12:32:24');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('307', 'Role Permission', 'update', 'Role id :3', '2', '2018-06-23 12:33:25');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('308', 'User', 'create', 'User ID :23', '2', '2018-06-23 12:35:42');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('309', 'stockmovement ', 'create', 'receive_id-', '23', '2018-06-23 12:37:55');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('310', 'Role Permission', 'create', 'Role id :52', '11', '2018-07-04 08:02:46');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('311', 'Role Permission', 'create', 'Role id :108', '1', '2018-07-04 08:04:22');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('312', 'Role Permission', 'create', 'Role id :164', '1', '2018-07-04 08:10:44');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('313', 'Role Permission', 'create', 'Role id :220', '1', '2018-07-04 08:24:53');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('314', 'Role Permission', 'create', 'Role id :281', '1', '2018-07-04 13:30:07');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('315', 'Role Permission', 'create', 'Role id :1', '1', '2018-07-04 13:36:41');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('316', 'Role Permission', 'create', 'Role id :1', '1', '2018-07-04 13:54:24');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('317', 'Role Permission', 'create', 'Role id :59', '1', '2018-07-04 13:59:41');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('318', 'Role Permission', 'create', 'Role id :117', '1', '2018-07-04 14:30:21');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('319', 'Role Permission', 'create', 'Role id :175', '1', '2018-07-04 14:46:08');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('320', 'Role Permission', 'create', 'Role id :233', '1', '2018-07-04 15:00:23');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('321', 'Role Permission', 'create', 'Role id :291', '1', '2018-07-05 14:25:37');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('322', 'Role Permission', 'create', 'Role id :349', '1', '2018-07-05 14:27:52');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('323', 'Role Permission', 'create', 'Role id :407', '1', '2018-07-05 14:31:54');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('324', 'Role Permission', 'create', 'Role id :465', '1', '2018-07-05 15:58:41');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('325', 'Role Permission', 'create', 'Role id :523', '1', '2018-07-05 15:59:15');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('326', 'Role Permission', 'create', 'Role id :581', '1', '2018-07-05 16:09:19');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('327', 'Role Permission', 'create', 'Role id :639', '1', '2018-07-05 16:11:35');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('328', 'Role Permission', 'create', 'Role id :697', '1', '2018-07-05 16:12:09');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('329', 'Role Permission', 'create', 'Role id :755', '1', '2018-07-05 16:22:43');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('330', 'Role Permission', 'create', 'Role id :813', '1', '2018-07-05 16:23:23');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('331', 'Role Permission', 'create', 'Role id :871', '1', '2018-07-05 16:25:04');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('332', 'Role Permission', 'create', 'Role id :929', '1', '2018-07-05 16:25:41');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('333', 'Role Permission', 'create', 'Role id :987', '1', '2018-07-07 07:32:31');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('334', 'Role Permission', 'create', 'Role id :1045', '1', '2018-07-07 07:33:13');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('335', 'Role Permission', 'create', 'Role id :1103', '1', '2018-07-07 07:54:19');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('336', 'Role Permission', 'create', 'Role id :1161', '1', '2018-07-07 07:56:16');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('337', 'Role Permission', 'create', 'Role id :1219', '1', '2018-07-07 07:58:02');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('338', 'Role Permission', 'create', 'Role id :1', '1', '2018-07-07 08:39:07');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('339', 'Role Permission', 'create', 'Role id :59', '1', '2018-07-07 08:39:54');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('340', 'Role Permission', 'create', 'Role id :117', '1', '2018-07-15 12:21:24');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('341', 'Role Permission', 'create', 'Role id :175', '1', '2018-07-15 14:15:19');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('342', 'Role Permission', 'create', 'Role id :233', '1', '2018-07-25 07:47:48');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('343', 'Role Permission', 'create', 'Role id :291', '1', '2018-07-28 07:20:39');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('344', 'Role Permission', 'create', 'Role id :349', '1', '2018-07-30 11:09:07');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('345', 'Role Permission', 'create', 'Role id :407', '1', '2018-07-30 11:20:52');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('346', 'Role Permission', 'create', 'Role id :465', '1', '2018-08-02 08:46:02');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('347', 'Role Permission', 'create', 'Role id :523', '1', '2018-08-02 12:01:25');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('348', 'Role Permission', 'create', 'Role id :586', '1', '2018-08-02 12:03:50');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('349', 'Role Permission', 'create', 'Role id :649', '1', '2018-08-02 12:05:21');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('350', 'Role Permission', 'create', 'Role id :712', '1', '2018-08-02 12:06:16');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('351', 'Role Permission', 'create', 'Role id :775', '1', '2018-08-02 12:07:09');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('352', 'Role Permission', 'create', 'Role id :838', '1', '2018-08-02 12:08:17');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('353', 'Role Permission', 'create', 'Role id :901', '1', '2018-08-02 12:12:05');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('354', 'Role Permission', 'create', 'Role id :964', '1', '2018-08-02 12:16:17');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('355', 'Role Permission', 'create', 'Role id :1027', '1', '2018-08-02 12:16:54');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('356', 'Role Permission', 'create', 'Role id :1090', '1', '2018-08-02 12:20:05');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('357', 'Role Permission', 'create', 'Role id :1153', '1', '2018-08-04 11:12:00');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('358', 'Role Permission', 'create', 'Role id :1216', '1', '2018-08-04 11:12:05');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('359', 'Role Permission', 'create', 'Role id :1279', '1', '2018-08-04 11:16:14');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('360', 'Role Permission', 'create', 'Role id :1342', '1', '2018-08-04 10:16:29');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('361', 'Role Permission', 'create', 'Role id :1405', '1', '2018-08-04 10:17:00');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('362', 'Role Permission', 'create', 'Role id :1468', '1', '2018-08-04 10:41:57');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('363', 'Role Permission', 'create', 'Role id :1531', '1', '2018-08-04 10:48:34');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('364', 'Role Permission', 'create', 'Role id :1594', '1', '2018-08-04 10:48:43');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('365', 'Role Permission', 'create', 'Role id :1657', '1', '2018-08-04 10:54:58');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('366', 'Role Permission', 'create', 'Role id :1720', '1', '2018-08-04 10:55:07');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('367', 'Role Permission', 'create', 'Role id :1783', '1', '2018-08-04 11:18:26');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('368', 'Role Permission', 'create', 'Role id :1846', '1', '2018-08-05 06:43:41');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('369', 'Role Permission', 'create', 'Role id :1909', '1', '2018-08-05 06:43:53');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('370', 'Role Permission', 'create', 'Role id :1972', '1', '2018-08-05 06:44:37');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('371', 'Role Permission', 'create', 'Role id :1', '1', '2018-08-05 10:32:49');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('372', 'Role Permission', 'create', 'Role id :64', '1', '2018-08-05 10:38:13');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('373', 'Role Permission', 'create', 'Role id :127', '1', '2018-08-05 10:44:11');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('374', 'Role Permission', 'create', 'Role id :190', '1', '2018-08-05 10:48:59');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;



#
# TABLE STRUCTURE FOR: account_2
#

DROP TABLE IF EXISTS `account_2`;
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;


CREATE TABLE `account_2` (
  `account_id` int(11) NOT NULL AUTO_INCREMENT,
  `account_name` varchar(40) NOT NULL,
  `created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `parent_id` int(1) NOT NULL,
  `status` int(11) NOT NULL,
  PRIMARY KEY (`account_id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8;
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;


INSERT INTO `account_2` (`account_id`, `account_name`, `created_at`, `parent_id`, `status`) VALUES ('1', 'test', '2018-09-04 12:37:53', '3', '0');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;



#
# TABLE STRUCTURE FOR: accounts
#

DROP TABLE IF EXISTS `accounts`;
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;


CREATE TABLE `accounts` (
  `account_id` varchar(220) NOT NULL,
  `account_table_name` varchar(255) NOT NULL,
  `account_name` varchar(255) NOT NULL,
  `status` int(5) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;


#
# TABLE STRUCTURE FOR: bank_add
#

DROP TABLE IF EXISTS `bank_add`;
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;


CREATE TABLE `bank_add` (
  `bank_id` varchar(255) NOT NULL,
  `bank_name` varchar(255) NOT NULL,
  `ac_name` varchar(250) DEFAULT NULL,
  `ac_number` varchar(250) DEFAULT NULL,
  `branch` varchar(250) DEFAULT NULL,
  `signature_pic` varchar(250) DEFAULT NULL,
  `status` int(11) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;


#
# TABLE STRUCTURE FOR: bank_summary
#

DROP TABLE IF EXISTS `bank_summary`;
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;


CREATE TABLE `bank_summary` (
  `bank_id` varchar(250) DEFAULT NULL,
  `description` text,
  `deposite_id` varchar(250) DEFAULT NULL,
  `date` varchar(250) DEFAULT NULL,
  `ac_type` varchar(50) DEFAULT NULL,
  `dr` float DEFAULT NULL,
  `cr` float DEFAULT NULL,
  `ammount` float DEFAULT NULL,
  `status` int(11) NOT NULL DEFAULT '1'
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;


#
# TABLE STRUCTURE FOR: cheque_manger
#

DROP TABLE IF EXISTS `cheque_manger`;
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;


CREATE TABLE `cheque_manger` (
  `cheque_id` varchar(100) NOT NULL,
  `transection_id` varchar(100) NOT NULL,
  `customer_id` varchar(100) NOT NULL,
  `bank_id` varchar(100) NOT NULL,
  `cheque_no` varchar(100) NOT NULL,
  `date` varchar(50) NOT NULL,
  `transection_type` varchar(100) NOT NULL,
  `cheque_status` varchar(30) NOT NULL,
  `amount` float NOT NULL,
  `status` int(2) NOT NULL,
  PRIMARY KEY (`cheque_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;


#
# TABLE STRUCTURE FOR: ci_sessions
#

DROP TABLE IF EXISTS `ci_sessions`;
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;


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


#
# TABLE STRUCTURE FOR: company_information
#

DROP TABLE IF EXISTS `company_information`;
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;


CREATE TABLE `company_information` (
  `company_id` varchar(250) NOT NULL,
  `company_name` varchar(50) NOT NULL,
  `email` varchar(50) NOT NULL,
  `address` text NOT NULL,
  `mobile` varchar(30) NOT NULL,
  `website` varchar(50) NOT NULL,
  `status` int(11) NOT NULL,
  PRIMARY KEY (`company_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;


INSERT INTO `company_information` (`company_id`, `company_name`, `email`, `address`, `mobile`, `website`, `status`) VALUES ('NOILG8EGCRXXBWUEUQBM', 'bdtask Shop', 'bdtask@gmail.com', '98,Green Road,Dhaka', '1922296392', 'http://www.bdtask.com', '1');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;



#
# TABLE STRUCTURE FOR: customer_information
#

DROP TABLE IF EXISTS `customer_information`;
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;


CREATE TABLE `customer_information` (
  `customer_id` varchar(250) NOT NULL,
  `customer_name` varchar(255) DEFAULT NULL,
  `customer_address` varchar(255) NOT NULL,
  `customer_mobile` varchar(100) NOT NULL,
  `customer_email` varchar(100) NOT NULL,
  `status` int(2) NOT NULL,
  PRIMARY KEY (`customer_id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;


INSERT INTO `customer_information` (`customer_id`, `customer_name`, `customer_address`, `customer_mobile`, `customer_email`, `status`) VALUES ('M77BNMINM8WLBUS', 'Hassan', 'Dhaka', '', '', '1');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `customer_information` (`customer_id`, `customer_name`, `customer_address`, `customer_mobile`, `customer_email`, `status`) VALUES ('FOAMI9S7EC4GWE1', 'Arafat', 'fsdfsdf', '', '', '1');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `customer_information` (`customer_id`, `customer_name`, `customer_address`, `customer_mobile`, `customer_email`, `status`) VALUES ('442GD4V37BMN8TA', 'tanzil', '387 South Tejgaon', '', '', '1');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `customer_information` (`customer_id`, `customer_name`, `customer_address`, `customer_mobile`, `customer_email`, `status`) VALUES ('TSHIBUEF95LI5UB', 'Test customer', '4dfsd', '23423', 'test@gmail.com', '1');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;



#
# TABLE STRUCTURE FOR: customer_ledger
#

DROP TABLE IF EXISTS `customer_ledger`;
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;


CREATE TABLE `customer_ledger` (
  `transaction_id` varchar(100) NOT NULL,
  `customer_id` varchar(100) NOT NULL,
  `invoice_no` varchar(100) DEFAULT NULL,
  `receipt_no` varchar(50) DEFAULT NULL,
  `amount` float DEFAULT NULL,
  `description` varchar(255) NOT NULL,
  `payment_type` varchar(255) NOT NULL,
  `cheque_no` varchar(255) NOT NULL,
  `date` varchar(50) NOT NULL,
  `status` int(2) NOT NULL,
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `d_c` varchar(1) DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `receipt_no` (`receipt_no`),
  KEY `receipt_no_2` (`receipt_no`),
  KEY `receipt_no_3` (`receipt_no`),
  KEY `receipt_no_4` (`receipt_no`)
) ENGINE=MyISAM AUTO_INCREMENT=21 DEFAULT CHARSET=utf8;
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;


INSERT INTO `customer_ledger` (`transaction_id`, `customer_id`, `invoice_no`, `receipt_no`, `amount`, `description`, `payment_type`, `cheque_no`, `date`, `status`, `id`, `d_c`) VALUES ('DQJ9G1554Q', 'M77BNMINM8WLBUS', 'NA', NULL, '0', 'Previous adjustment with software', 'NA', 'NA', '2018-08-30', '1', '1', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `customer_ledger` (`transaction_id`, `customer_id`, `invoice_no`, `receipt_no`, `amount`, `description`, `payment_type`, `cheque_no`, `date`, `status`, `id`, `d_c`) VALUES ('615YQ6YDTGW4JLT', 'M77BNMINM8WLBUS', '2917391921', NULL, '0', 'Cash Paid By Customer', '', '', '2018-08-30', '1', '2', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `customer_ledger` (`transaction_id`, `customer_id`, `invoice_no`, `receipt_no`, `amount`, `description`, `payment_type`, `cheque_no`, `date`, `status`, `id`, `d_c`) VALUES ('JZVD8KA9IK9BLVR', 'M77BNMINM8WLBUS', NULL, '9825188849', '500', '', '1', '', '2018-08-30', '1', '3', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `customer_ledger` (`transaction_id`, `customer_id`, `invoice_no`, `receipt_no`, `amount`, `description`, `payment_type`, `cheque_no`, `date`, `status`, `id`, `d_c`) VALUES ('B75GSWXUP4', 'FOAMI9S7EC4GWE1', 'NA', NULL, '0', 'Previous adjustment with software', 'NA', 'NA', '2018-08-30', '1', '4', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `customer_ledger` (`transaction_id`, `customer_id`, `invoice_no`, `receipt_no`, `amount`, `description`, `payment_type`, `cheque_no`, `date`, `status`, `id`, `d_c`) VALUES ('3EFT2RA2FGUESRK', 'FOAMI9S7EC4GWE1', NULL, 'WI34QNKYLS', '1200', 'Medicine Cost', '1', '', '2018-08-30', '1', '9', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `customer_ledger` (`transaction_id`, `customer_id`, `invoice_no`, `receipt_no`, `amount`, `description`, `payment_type`, `cheque_no`, `date`, `status`, `id`, `d_c`) VALUES ('3EFT2RA2FGUESRK', 'FOAMI9S7EC4GWE1', '2725916364', NULL, '2350', 'Medicine Cost', '1', '', '2018-08-30', '1', '8', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `customer_ledger` (`transaction_id`, `customer_id`, `invoice_no`, `receipt_no`, `amount`, `description`, `payment_type`, `cheque_no`, `date`, `status`, `id`, `d_c`) VALUES ('G4D3P4LRN3', '442GD4V37BMN8TA', 'NA', NULL, '0', 'Previous adjustment with software', 'NA', 'NA', '2018-08-30', '1', '10', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `customer_ledger` (`transaction_id`, `customer_id`, `invoice_no`, `receipt_no`, `amount`, `description`, `payment_type`, `cheque_no`, `date`, `status`, `id`, `d_c`) VALUES ('HDWT1SBRQRXFNSV', '442GD4V37BMN8TA', '4715649262', NULL, '4000', 'Cash Paid By Customer', '', '', '2018-08-30', '1', '11', 'c');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `customer_ledger` (`transaction_id`, `customer_id`, `invoice_no`, `receipt_no`, `amount`, `description`, `payment_type`, `cheque_no`, `date`, `status`, `id`, `d_c`) VALUES ('HDWT1SBRQRXFNSV', '442GD4V37BMN8TA', NULL, '9A8LUUGMNM', '5000', 'Medicine Received By Customer', '1', '', '2018-08-30', '1', '12', 'd');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `customer_ledger` (`transaction_id`, `customer_id`, `invoice_no`, `receipt_no`, `amount`, `description`, `payment_type`, `cheque_no`, `date`, `status`, `id`, `d_c`) VALUES ('HDWT1SBRQRXFNSV', '442GD4V37BMN8TA', '4715649262', NULL, '-450', 'Return', '', '', '2018-08-30', '1', '13', 'd');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `customer_ledger` (`transaction_id`, `customer_id`, `invoice_no`, `receipt_no`, `amount`, `description`, `payment_type`, `cheque_no`, `date`, `status`, `id`, `d_c`) VALUES ('HDWT1SBRQRXFNSV', '442GD4V37BMN8TA', '4715649262', NULL, '-2500', 'Return', '', '', '2018-08-30', '1', '14', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `customer_ledger` (`transaction_id`, `customer_id`, `invoice_no`, `receipt_no`, `amount`, `description`, `payment_type`, `cheque_no`, `date`, `status`, `id`, `d_c`) VALUES ('HDWT1SBRQRXFNSV', '442GD4V37BMN8TA', '4715649262', NULL, '-1500', 'Return', '', '', '2018-08-30', '1', '15', 'd');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `customer_ledger` (`transaction_id`, `customer_id`, `invoice_no`, `receipt_no`, `amount`, `description`, `payment_type`, `cheque_no`, `date`, `status`, `id`, `d_c`) VALUES ('LZH9Z88MLU', 'TSHIBUEF95LI5UB', 'NA', NULL, '0', 'Previous adjustment with software', 'NA', 'NA', '2018-09-04', '1', '16', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `customer_ledger` (`transaction_id`, `customer_id`, `invoice_no`, `receipt_no`, `amount`, `description`, `payment_type`, `cheque_no`, `date`, `status`, `id`, `d_c`) VALUES ('LQ9FCKRO8JU2XXW', 'TSHIBUEF95LI5UB', '6583315914', NULL, '0', 'Cash Paid By Customer', '', '', '2018-09-04', '1', '17', 'c');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `customer_ledger` (`transaction_id`, `customer_id`, `invoice_no`, `receipt_no`, `amount`, `description`, `payment_type`, `cheque_no`, `date`, `status`, `id`, `d_c`) VALUES ('LQ9FCKRO8JU2XXW', 'TSHIBUEF95LI5UB', NULL, 'LROZXD1K6Z', '682.5', 'Medicine Received By Customer', '1', '', '2018-09-04', '1', '18', 'd');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `customer_ledger` (`transaction_id`, `customer_id`, `invoice_no`, `receipt_no`, `amount`, `description`, `payment_type`, `cheque_no`, `date`, `status`, `id`, `d_c`) VALUES ('VC698N6MP8WPXRQ', 'M77BNMINM8WLBUS', '4748393883', NULL, '682.5', 'Cash Paid By Customer', '', '', '2018-09-12', '1', '19', 'c');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `customer_ledger` (`transaction_id`, `customer_id`, `invoice_no`, `receipt_no`, `amount`, `description`, `payment_type`, `cheque_no`, `date`, `status`, `id`, `d_c`) VALUES ('VC698N6MP8WPXRQ', 'M77BNMINM8WLBUS', NULL, 'XYJIAE7J8C', '682.5', 'Medicine Received By Customer', '1', '', '2018-09-12', '1', '20', 'd');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;



#
# TABLE STRUCTURE FOR: daily_banking_add
#

DROP TABLE IF EXISTS `daily_banking_add`;
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;


CREATE TABLE `daily_banking_add` (
  `banking_id` varchar(255) NOT NULL,
  `date` varchar(50) NOT NULL,
  `bank_id` varchar(100) NOT NULL,
  `deposit_type` varchar(255) NOT NULL,
  `transaction_type` varchar(255) NOT NULL,
  `description` text NOT NULL,
  `amount` float NOT NULL,
  `status` int(2) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;


#
# TABLE STRUCTURE FOR: daily_closing
#

DROP TABLE IF EXISTS `daily_closing`;
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;


CREATE TABLE `daily_closing` (
  `closing_id` varchar(255) NOT NULL,
  `last_day_closing` float NOT NULL,
  `cash_in` float NOT NULL,
  `cash_out` float NOT NULL,
  `date` varchar(50) NOT NULL,
  `amount` float NOT NULL,
  `adjustment` float NOT NULL,
  `status` int(2) NOT NULL,
  PRIMARY KEY (`closing_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;


#
# TABLE STRUCTURE FOR: invoice
#

DROP TABLE IF EXISTS `invoice`;
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;


CREATE TABLE `invoice` (
  `invoice_id` varchar(50) NOT NULL,
  `customer_id` varchar(100) NOT NULL,
  `date` varchar(50) DEFAULT NULL,
  `total_amount` float NOT NULL,
  `invoice` varchar(255) NOT NULL,
  `total_discount` float DEFAULT NULL COMMENT 'total invoice discount',
  `invoice_discount` float NOT NULL,
  `total_tax` float DEFAULT NULL,
  `invoice_details` varchar(200) DEFAULT NULL,
  `status` int(2) NOT NULL,
  PRIMARY KEY (`invoice_id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;


INSERT INTO `invoice` (`invoice_id`, `customer_id`, `date`, `total_amount`, `invoice`, `total_discount`, `invoice_discount`, `total_tax`, `invoice_details`, `status`) VALUES ('2917391921', 'M77BNMINM8WLBUS', '2018-08-30', '700', '1000', '0', '0', '0', '', '1');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `invoice` (`invoice_id`, `customer_id`, `date`, `total_amount`, `invoice`, `total_discount`, `invoice_discount`, `total_tax`, `invoice_details`, `status`) VALUES ('2725916364', 'FOAMI9S7EC4GWE1', '2018-08-30', '2350', '1001', '0', '0', '0', '', '1');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `invoice` (`invoice_id`, `customer_id`, `date`, `total_amount`, `invoice`, `total_discount`, `invoice_discount`, `total_tax`, `invoice_details`, `status`) VALUES ('4715649262', '442GD4V37BMN8TA', '2018-08-30', '5000', '1002', '0', '0', '0', '', '1');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `invoice` (`invoice_id`, `customer_id`, `date`, `total_amount`, `invoice`, `total_discount`, `invoice_discount`, `total_tax`, `invoice_details`, `status`) VALUES ('6583315914', 'TSHIBUEF95LI5UB', '2018-09-04', '682.5', '1003', '0', '0', '32.5', '', '1');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `invoice` (`invoice_id`, `customer_id`, `date`, `total_amount`, `invoice`, `total_discount`, `invoice_discount`, `total_tax`, `invoice_details`, `status`) VALUES ('4748393883', 'M77BNMINM8WLBUS', '2018-09-12', '682.5', '1004', '0', '0', '32.5', 'fsdfg', '1');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;



#
# TABLE STRUCTURE FOR: invoice_details
#

DROP TABLE IF EXISTS `invoice_details`;
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;


CREATE TABLE `invoice_details` (
  `invoice_details_id` varchar(100) NOT NULL,
  `invoice_id` varchar(100) NOT NULL,
  `product_id` varchar(100) NOT NULL,
  `batch_id` varchar(30) NOT NULL,
  `cartoon` float DEFAULT NULL,
  `quantity` float NOT NULL,
  `rate` float NOT NULL,
  `manufacturer_rate` float DEFAULT NULL,
  `total_price` float NOT NULL,
  `discount` float DEFAULT NULL,
  `tax` float DEFAULT NULL,
  `paid_amount` float DEFAULT '0',
  `due_amount` float NOT NULL DEFAULT '0',
  `status` int(2) NOT NULL,
  PRIMARY KEY (`invoice_details_id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;


INSERT INTO `invoice_details` (`invoice_details_id`, `invoice_id`, `product_id`, `batch_id`, `cartoon`, `quantity`, `rate`, `manufacturer_rate`, `total_price`, `discount`, `tax`, `paid_amount`, `due_amount`, `status`) VALUES ('153489778823156', '2917391921', '45448121', '111', NULL, '2', '200', '180', '400', '0', '0', '0', '700', '1');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `invoice_details` (`invoice_details_id`, `invoice_id`, `product_id`, `batch_id`, `cartoon`, `quantity`, `rate`, `manufacturer_rate`, `total_price`, `discount`, `tax`, `paid_amount`, `due_amount`, `status`) VALUES ('929175227145934', '2917391921', '14462386', '120', NULL, '2', '150', '140', '300', '0', '0', '0', '700', '1');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `invoice_details` (`invoice_details_id`, `invoice_id`, `product_id`, `batch_id`, `cartoon`, `quantity`, `rate`, `manufacturer_rate`, `total_price`, `discount`, `tax`, `paid_amount`, `due_amount`, `status`) VALUES ('492127469222385', '2725916364', '14462386', '120', NULL, '-1', '150', NULL, '-150', '0', '0', '1200', '1150', '0');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `invoice_details` (`invoice_details_id`, `invoice_id`, `product_id`, `batch_id`, `cartoon`, `quantity`, `rate`, `manufacturer_rate`, `total_price`, `discount`, `tax`, `paid_amount`, `due_amount`, `status`) VALUES ('824121748582865', '2725916364', '45448121', '200', NULL, '5', '200', NULL, '1000', '0', '0', '1200', '1150', '0');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `invoice_details` (`invoice_details_id`, `invoice_id`, `product_id`, `batch_id`, `cartoon`, `quantity`, `rate`, `manufacturer_rate`, `total_price`, `discount`, `tax`, `paid_amount`, `due_amount`, `status`) VALUES ('467253528531636', '2725916364', '14462386', '120', NULL, '10', '150', NULL, '1500', '0', '0', '1200', '1150', '0');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `invoice_details` (`invoice_details_id`, `invoice_id`, `product_id`, `batch_id`, `cartoon`, `quantity`, `rate`, `manufacturer_rate`, `total_price`, `discount`, `tax`, `paid_amount`, `due_amount`, `status`) VALUES ('529321759352269', '4715649262', '72236475', '4433', NULL, '10', '500', '400', '5000', '0', '0', '4000', '1000', '1');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `invoice_details` (`invoice_details_id`, `invoice_id`, `product_id`, `batch_id`, `cartoon`, `quantity`, `rate`, `manufacturer_rate`, `total_price`, `discount`, `tax`, `paid_amount`, `due_amount`, `status`) VALUES ('562214187916919', '4715649262', '72236475', '4433', NULL, '-1', '500', NULL, '-500', '-50', '0', '-450', '0', '1');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `invoice_details` (`invoice_details_id`, `invoice_id`, `product_id`, `batch_id`, `cartoon`, `quantity`, `rate`, `manufacturer_rate`, `total_price`, `discount`, `tax`, `paid_amount`, `due_amount`, `status`) VALUES ('379484239395735', '4715649262', '72236475', '4433', NULL, '-5', '500', NULL, '-2500', '0', '0', '-2500', '0', '1');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `invoice_details` (`invoice_details_id`, `invoice_id`, `product_id`, `batch_id`, `cartoon`, `quantity`, `rate`, `manufacturer_rate`, `total_price`, `discount`, `tax`, `paid_amount`, `due_amount`, `status`) VALUES ('942566834376212', '4715649262', '72236475', '4433', NULL, '-3', '500', NULL, '-1500', '0', '0', '-1500', '0', '1');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `invoice_details` (`invoice_details_id`, `invoice_id`, `product_id`, `batch_id`, `cartoon`, `quantity`, `rate`, `manufacturer_rate`, `total_price`, `discount`, `tax`, `paid_amount`, `due_amount`, `status`) VALUES ('636132847934119', '6583315914', '25792274', '1256sd', NULL, '10', '65', '50', '650', '0', '32.5', '0', '682.5', '1');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `invoice_details` (`invoice_details_id`, `invoice_id`, `product_id`, `batch_id`, `cartoon`, `quantity`, `rate`, `manufacturer_rate`, `total_price`, `discount`, `tax`, `paid_amount`, `due_amount`, `status`) VALUES ('745241942954755', '4748393883', '25792274', '1256sd', NULL, '10', '65', '50', '650', '0', '32.5', '682.5', '0', '1');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;



#
# TABLE STRUCTURE FOR: language
#

DROP TABLE IF EXISTS `language`;
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;


CREATE TABLE `language` (
  `id` int(11) unsigned NOT NULL AUTO_INCREMENT,
  `phrase` text NOT NULL,
  `english` text,
  `bangla` text,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=692 DEFAULT CHARSET=utf8;
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;


INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('1', 'user_profile', 'User Profile', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('2', 'setting', 'Setting', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('3', 'language', 'Language', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('4', 'manage_users', 'Manage Users', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('5', 'add_user', 'Add User', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('6', 'manage_company', 'Manage Company', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('7', 'web_settings', 'Software Settings', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('8', 'manage_accounts', 'Manage Accounts', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('9', 'create_accounts', 'Create Accounts', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('10', 'manage_bank', 'Manage Bank', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('11', 'add_new_bank', 'Add New Bank', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('12', 'settings', 'Bank', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('13', 'closing_report', 'Closing Report', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('14', 'closing', 'Closing', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('15', 'cheque_manager', 'Cheque Manager', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('16', 'accounts_summary', 'Accounts Summary', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('17', 'expense', 'Expense', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('18', 'income', 'Income', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('19', 'accounts', 'Accounts', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('20', 'stock_report', 'Stock Report', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('21', 'stock', 'Stock', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('22', 'pos_invoice', 'POS Invoice', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('23', 'manage_invoice', 'Manage Invoice ', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('24', 'new_invoice', 'New Invoice', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('25', 'invoice', 'Invoice', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('26', 'manage_purchase', 'Manage Purchase', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('27', 'add_purchase', 'Add Purchase', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('28', 'purchase', 'Purchase', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('29', 'paid_customer', 'Paid Customer', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('30', 'manage_customer', 'Manage Customer', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('31', 'add_customer', 'Add Customer', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('32', 'customer', 'Customer', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('33', 'manufacturer_payment_actual', 'Manufacturer Payment Actual', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('34', 'manufacturer_sales_summary', 'Manufacturer  Sales Summary', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('35', 'manufacturer_sales_details', 'Manufacturer Sales Details', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('36', 'manufacturer_ledger', 'Manufacturer Ledger', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('37', 'manage_manufacturer', 'Manage Manufacturer', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('38', 'add_manufacturer', 'Add Manufacturer', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('39', 'manufacturer', 'Manufacturer', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('40', 'product_statement', 'Medicine Statement', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('41', 'manage_product', 'Manage Medicine', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('42', 'add_product', 'Add Medicine', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('43', 'product', 'Medicine', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('44', 'manage_category', 'Manage Category', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('45', 'add_category', 'Add Category', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('46', 'category', 'Medicine Category', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('47', 'sales_report_product_wise', 'Sales Report (Medicine Wise)', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('48', 'purchase_report', 'Purchase Report', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('49', 'sales_report', 'Sales Report', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('50', 'todays_report', 'Todays Report', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('51', 'report', 'Report', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('52', 'dashboard', 'Dashboard', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('53', 'online', 'Online', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('54', 'logout', 'Logout', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('56', 'total_purchase', 'Total Purchase', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('57', 'total_amount', 'Total Amount', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('58', 'manufacturer_name', 'Manufacturer  Name', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('59', 'invoice_no', 'Invoice No', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('60', 'purchase_date', 'Purchase Date', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('61', 'todays_purchase_report', 'Todays Purchase Report', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('62', 'total_sales', 'Total Sales', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('63', 'customer_name', 'Customer Name', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('64', 'sales_date', 'Sales Date', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('65', 'todays_sales_report', 'Todays Sales Report', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('66', 'home', 'Home', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('67', 'todays_sales_and_purchase_report', 'Todays sales and purchase report', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('68', 'total_ammount', 'Total Amount', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('69', 'rate', 'Sale Price', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('70', 'product_model', 'Medicine Type', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('71', 'product_name', 'Medicine Name', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('72', 'search', 'Search', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('73', 'end_date', 'End Date', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('74', 'start_date', 'Start Date', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('75', 'total_purchase_report', 'Total Purchase Report', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('76', 'total_sales_report', 'Total Sales Report', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('77', 'total_seles', 'Total Sales', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('78', 'all_stock_report', 'All Stock Report', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('79', 'search_by_product', 'Search By Medicine', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('80', 'date', 'Date', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('81', 'print', 'Print', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('82', 'stock_date', 'Stock Date', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('83', 'print_date', 'Print Date', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('84', 'sales', 'Sales', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('85', 'price', 'Price', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('86', 'sl', 'SL.', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('87', 'add_new_category', 'Add new category', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('88', 'category_name', 'Category Name', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('89', 'save', 'Save', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('90', 'delete', 'Delete', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('91', 'update', 'Update', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('92', 'action', 'Action', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('93', 'manage_your_category', 'Manage your category ', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('94', 'category_edit', 'Category Edit', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('95', 'status', 'Status', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('96', 'active', 'Active', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('97', 'inactive', 'Inactive', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('98', 'save_changes', 'Save Changes', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('99', 'save_and_add_another', 'Save And Add Another', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('100', 'model', 'Medicine Type', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('101', 'manufacturer_price', 'Manufacturer Price', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('102', 'sell_price', 'Sell Price', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('103', 'image', 'Image', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('104', 'select_one', 'Select One', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('105', 'details', 'Details', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('106', 'new_product', 'New Medicine', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('107', 'add_new_product', 'Add new medicine', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('108', 'barcode', 'Barcode', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('109', 'qr_code', 'Qr-Code', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('110', 'product_details', 'Medicine Details', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('111', 'manage_your_product', 'Manage your medicine', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('112', 'product_edit', 'Medicine Edit', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('113', 'edit_your_product', 'Edit your medicine', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('114', 'cancel', 'Cancel', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('115', 'incl_vat', 'Incl. Vat', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('116', 'money', 'Dollar', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('117', 'grand_total', 'Grand Total', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('118', 'quantity', 'Quantity', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('119', 'product_report', 'Medicine Report', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('120', 'product_sales_and_purchase_report', 'Medicine sales and purchase report', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('121', 'previous_stock', 'Previous Stock', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('122', 'out', 'Out', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('123', 'in', 'In', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('124', 'to', 'To', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('125', 'previous_balance', 'Previous Balance', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('126', 'customer_address', 'Customer Address', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('127', 'customer_mobile', 'Customer Mobile', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('128', 'customer_email', 'Customer Email', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('129', 'add_new_customer', 'Add new customer', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('130', 'balance', 'Balance', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('131', 'mobile', 'Mobile', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('132', 'address', 'Address', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('133', 'manage_your_customer', 'Manage your customer', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('134', 'customer_edit', 'Customer Edit', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('135', 'paid_customer_list', 'Paid Customer List', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('136', 'ammount', 'Amount', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('137', 'customer_ledger', 'Customer Ledger', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('138', 'manage_customer_ledger', 'Manage Customer Ledger', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('139', 'customer_information', 'Customer Information', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('140', 'debit_ammount', 'Debit Amount', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('141', 'credit_ammount', 'Credit Amount', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('142', 'balance_ammount', 'Balance Amount', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('143', 'receipt_no', 'Receipt NO', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('144', 'description', 'Description', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('145', 'debit', 'Debit', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('146', 'credit', 'Credit', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('147', 'item_information', 'Item Information', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('148', 'total', 'Total', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('149', 'please_select_manufacturer', 'Please Select Manufacturer', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('150', 'submit', 'Submit', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('151', 'submit_and_add_another', 'Submit And Add Another One', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('152', 'add_new_item', 'Add New Item', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('153', 'manage_your_purchase', 'Manage your purchase', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('154', 'purchase_edit', 'Purchase Edit', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('155', 'purchase_ledger', 'Purchase Ledger', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('156', 'invoice_information', 'Invoice Information', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('157', 'paid_ammount', 'Paid Amount', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('158', 'discount', 'Discount / Pcs.', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('159', 'save_and_paid', 'Save And Paid', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('160', 'payee_name', 'Payee Name', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('161', 'manage_your_invoice', 'Manage your invoice', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('162', 'invoice_edit', 'Invoice Edit', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('163', 'new_pos_invoice', 'New POS invoice', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('164', 'add_new_pos_invoice', 'Add new pos invoice', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('165', 'product_id', 'Medicine ID', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('166', 'paid_amount', 'Paid Amount', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('167', 'authorised_by', 'Authorised By', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('168', 'checked_by', 'Checked By', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('169', 'received_by', 'Received By', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('170', 'prepared_by', 'Prepared By', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('171', 'memo_no', 'Memo No', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('172', 'website', 'Website', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('173', 'email', 'Email', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('174', 'invoice_details', 'Invoice Details', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('175', 'reset', 'Reset', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('176', 'payment_account', 'Payment Account', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('177', 'bank_name', 'Bank Name', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('178', 'cheque_or_pay_order_no', 'Cheque/Pay Order No', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('179', 'payment_type', 'Payment Type', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('180', 'payment_from', 'Payment From', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('181', 'payment_date', 'Payment Date', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('182', 'add_income', 'Add Income', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('183', 'cash', 'Cash', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('184', 'cheque', 'Cheque', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('185', 'pay_order', 'Pay Order', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('186', 'payment_to', 'Payment To', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('187', 'total_expense_ammount', 'Total Expense Amount', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('188', 'transections', 'Transactions', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('189', 'accounts_name', 'Accounts Name', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('190', 'outflow_report', 'Expense Report', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('191', 'inflow_report', 'Income Report', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('192', 'all', 'All', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('193', 'account', 'Account', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('194', 'from', 'From', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('195', 'account_summary_report', 'Account Summary Report', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('196', 'search_by_date', 'Search By Date', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('197', 'cheque_no', 'Cheque No', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('198', 'name', 'Name', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('199', 'closing_account', 'Closing Account', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('200', 'close_your_account', 'Close your account', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('201', 'last_day_closing', 'Last Day Closing', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('202', 'cash_in', 'Cash In', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('203', 'cash_out', 'Cash Out', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('204', 'cash_in_hand', 'Cash In Hand', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('205', 'add_new_bank', 'Add New Bank', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('206', 'day_closing', 'Day Closing', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('207', 'account_closing_report', 'Account Closing Report', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('208', 'last_day_ammount', 'Last Day Amount', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('209', 'adjustment', 'Adjustment', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('210', 'pay_type', 'Pay Type', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('211', 'customer_or_manufacturer', 'Customer,Manufacturer Or Others', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('212', 'transection_id', 'Transactions ID', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('213', 'accounts_summary_report', 'Accounts Summary Report', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('214', 'bank_list', 'Bank List', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('215', 'bank_edit', 'Bank Edit', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('216', 'debit_plus', 'Debit (+)', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('217', 'credit_minus', 'Credit (-)', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('218', 'account_name', 'Account Name', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('219', 'account_type', 'Account Type', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('220', 'account_real_name', 'Account Real Name', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('221', 'manage_account', 'Manage Account', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('222', 'company_name', 'Company Name', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('223', 'edit_your_company_information', 'Edit your company information', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('224', 'company_edit', 'Company Edit', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('225', 'admin', 'Admin', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('226', 'user', 'User', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('227', 'password', 'Password', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('228', 'last_name', 'Last Name', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('229', 'first_name', 'First Name', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('230', 'add_new_user_information', 'Add new user information', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('231', 'user_type', 'User Type', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('232', 'user_edit', 'User Edit', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('233', 'rtr', 'RTR', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('234', 'ltr', 'LTR', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('235', 'ltr_or_rtr', 'LTR/RTR', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('236', 'footer_text', 'Footer Text', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('237', 'favicon', 'Favicon', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('238', 'logo', 'Logo', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('239', 'update_setting', 'Update Setting', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('240', 'update_your_web_setting', 'Update your web setting', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('241', 'login', 'Login', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('242', 'your_strong_password', 'Your strong password', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('243', 'your_unique_email', 'Your unique email', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('244', 'please_enter_your_login_information', 'Please enter your login information.', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('245', 'update_profile', 'Update Profile', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('246', 'your_profile', 'Your Profile', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('247', 're_type_password', 'Re-Type Password', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('248', 'new_password', 'New Password', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('249', 'old_password', 'Old Password', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('250', 'new_information', 'New Information', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('251', 'old_information', 'Old Information', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('252', 'change_your_information', 'Change your information', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('253', 'change_your_profile', 'Change your profile', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('254', 'profile', 'Profile', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('255', 'wrong_username_or_password', 'Wrong User Name Or Password !', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('256', 'successfully_updated', 'Successfully Updated.', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('257', 'blank_field_does_not_accept', 'Blank Field Does Not Accept !', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('258', 'successfully_changed_password', 'Successfully changed password.', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('259', 'you_are_not_authorised_person', 'You are not authorised person !', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('260', 'password_and_repassword_does_not_match', 'Passwor and re-password does not match !', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('261', 'new_password_at_least_six_character', 'New Password At Least 6 Character.', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('262', 'you_put_wrong_email_address', 'You put wrong email address !', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('263', 'cheque_ammount_asjusted', 'Cheque amount adjusted.', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('264', 'successfully_payment_paid', 'Successfully Payment Paid.', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('265', 'successfully_added', 'Successfully Added.', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('266', 'successfully_updated_2_closing_ammount_not_changeale', 'Successfully Updated -2. Note: Closing Amount Not Changeable.', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('267', 'successfully_payment_received', 'Successfully Payment Received.', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('268', 'already_inserted', 'Already Inserted !', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('269', 'successfully_delete', 'Successfully Delete.', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('270', 'successfully_created', 'Successfully Created.', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('271', 'logo_not_uploaded', 'Logo not uploaded !', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('272', 'favicon_not_uploaded', 'Favicon not uploaded !', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('273', 'manufacturer_mobile', 'Manufacturer  Mobile', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('274', 'manufacturer_address', 'Manufacturer  Address', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('275', 'manufacturer_details', 'Manufacturer Details', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('276', 'add_new_manufacturer', 'Add New Manufacturer', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('277', 'manage_suppiler', 'Manage Manufacturer', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('278', 'manage_your_manufacturer', 'Manage your Manufacturer', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('279', 'manage_manufacturer_ledger', 'Manage Manufacturer', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('280', 'invoice_id', 'Invoice ID', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('281', 'deposite_id', 'Deposite ID', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('282', 'manufacturer_actual_ledger', 'Manufacturer Actual Ledger', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('283', 'manufacturer_information', 'Manufacturer Information', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('284', 'event', 'Event', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('285', 'add_new_income', 'Add New Income', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('286', 'add_expese', 'Add Expense', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('287', 'add_new_expense', 'Add New Expense', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('288', 'total_income_ammount', 'Total Income Amount', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('289', 'create_new_invoice', 'Create New Invoice', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('290', 'create_pos_invoice', 'Create POS Invoice', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('291', 'total_profit', 'Total Profit', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('292', 'monthly_progress_report', 'Monthly Progress Report', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('293', 'total_invoice', 'Total Invoice', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('294', 'account_summary', 'Account Summary', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('295', 'total_manufacturer', 'Total manufacturer', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('296', 'total_product', 'Total Medicine', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('297', 'total_customer', 'Total Customer', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('298', 'manufacturer_edit', 'Manufacturer Edit', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('299', 'add_new_invoice', 'Add New Invoice', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('300', 'add_new_purchase', 'Add new purchase', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('301', 'currency', 'Currency', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('302', 'currency_position', 'Currency Position', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('303', 'left', 'Left', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('304', 'right', 'Right', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('305', 'add_tax', 'Add Tax', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('306', 'manage_tax', 'Manage Tax', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('307', 'add_new_tax', 'Add new tax', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('308', 'enter_tax', 'Enter Tax', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('309', 'already_exists', 'Already Exists !', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('310', 'successfully_inserted', 'Successfully Inserted.', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('311', 'tax', 'Tax', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('312', 'tax_edit', 'Tax Edit', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('313', 'product_not_added', 'Medicine not added !', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('314', 'total_tax', 'Total Tax', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('315', 'manage_your_manufacturer_details', 'Manage your Manufacturer', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('316', 'invoice_description', 'Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry\'s                                       standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book.', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('317', 'thank_you_for_choosing_us', 'Thank you very much for choosing us.', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('318', 'billing_date', 'Billing Date', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('319', 'billing_to', 'Billing To', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('320', 'billing_from', 'Billing From', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('321', 'you_cant_delete_this_product', 'Sorry !!  You can\'t delete this medicine.This medicine already used in calculation system!', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('322', 'old_customer', 'Old Customer', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('323', 'new_customer', 'New Customer', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('324', 'new_manufacturer', 'New Manufacturer', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('325', 'old_manufacturer', 'Old Manufacturer', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('326', 'credit_customer', 'Credit Customer', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('327', 'account_already_exists', 'This Account Already Exists !', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('328', 'edit_income', 'Edit Income', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('329', 'you_are_not_access_this_part', 'You are not authorised person !', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('330', 'account_edit', 'Account Edit', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('331', 'due', 'Due', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('332', 'expense_edit', 'Expense Edit', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('333', 'please_select_customer', 'Please select customer !', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('334', 'profit_report', 'Profit Report (Invoice Wise)', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('335', 'total_profit_report', 'Total profit report', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('336', 'please_enter_valid_captcha', 'Please enter valid captcha.', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('337', 'category_not_selected', 'Category not selected.', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('338', 'manufacturer_not_selected', 'Manufacturer not selected.', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('339', 'please_select_product', 'Please select medicine', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('340', 'product_model_already_exist', 'Medicine model already exist !', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('341', 'invoice_logo', 'Invoice Logo', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('342', 'available_quantity', 'Available Quantity', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('343', 'you_can_not_buy_greater_than_available_quantity', 'You can not select grater than availale quantity !', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('344', 'customer_details', 'Customer details', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('345', 'manage_customer_details', 'Manage customer details.', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('346', 'box_size', 'Box size', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('347', 'expire_date', 'Expiry  date', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('348', 'product_location', 'Medicine  Shelf', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('349', 'generic_name', 'Generic name', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('350', 'payment_method', 'Payment Method', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('351', 'card_no', 'Card no', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('352', 'medicine', 'Medicine', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('353', 'medicine_search', 'Medicine Search', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('354', 'what_you_search', 'Enter what you search', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('355', 'company', 'Company', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('356', 'customer_search', 'Customer search', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('357', 'invoice_search', 'Invoice search', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('358', 'purchase_search', 'Purchase search', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('359', 'daily_closing_report', 'Daily closing report.', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('360', 'closing_search_report', 'Closing Search Report', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('361', 'category_list', 'Category List', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('362', 'company_list', 'Company List', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('363', 'customers_list', 'Customer List', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('364', 'credit_customer_list', 'Credit Customer List', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('365', 'previous_balance_adjustment', 'Previous Balance Adjustment', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('366', 'invoice_list', 'Invoice List', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('367', 'add_pos_invoice', 'Add POS Invoice', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('368', 'add_invoice', 'Add Invoice', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('369', 'product_list', 'Medicine List', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('370', 'purchases_list', 'Purchase List', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('371', 'purchase_list', 'Purchase List', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('372', 'stock_list', 'Stock List', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('373', 'all_report', 'All Report', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('374', 'daily_sales_report', 'Daily sales Report', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('375', 'product_wise_sales_report', 'Medicine Wise Sales Report', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('376', 'bank_update', 'Bank Update', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('377', 'account_list', 'Account List', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('378', 'manufacturer_list', 'Manufacturer  List', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('379', 'manufacturer_search_item', 'Manufacturer  Search Item', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('380', 'user_list', 'User List', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('381', 'user_search_item', 'User Search Item', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('382', 'change_password', 'Change Password', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('383', 'admin_login_area', 'Admin Login Area', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('384', 'accounts_inflow_form', 'Account Inflow Form', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('385', 'accounts_outflow_form', 'Accounts Outflow Form', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('386', 'accounts_tax_form', 'Accounts Tax Form', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('387', 'accounts_manage_tax', 'Accounts Manage Tax', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('388', 'accounts_tax_edit', 'Accounts Tax Edit', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('389', 'accounts_summary_data', 'Accounts Summary Data', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('390', 'accounts_details_data', 'Accounts Details Data', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('391', 'datewise_summary_data', 'Datewise Summary Data', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('392', 'accounts_cheque_manager', 'Account Cheque Manager', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('393', 'accounts_edit_data', 'Accounts Edit Data', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('394', 'print_barcode', 'Print Barcode', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('395', 'print_qrcode', 'Print Qrcode', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('396', 'add_new_account', 'Add New Account', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('397', 'table_edit', 'Table Edit', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('398', 'secret_key', 'Secret Key', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('399', 'site_key', 'Site Key', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('400', 'captcha', 'Captcha', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('401', 'please_add_walking_customer_for_default_customer', 'Please add walking customer for default customer. ', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('402', 'barcode_qrcode_scan_here', 'Barcode Or QRcode scan here', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('403', 'manage_your_credit_customer', 'Manage your credit customer', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('404', 'unit', 'Unit', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('405', 'total_discount', 'Total Discount', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('406', 'meter_m', 'Meter (M)', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('407', 'piece_pc', 'Piece (Pc)', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('408', 'kilogram_kg', 'Kilogram (Kg)', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('409', 'import_product_csv', 'Import Medicine (CSV)', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('410', 'close', 'Close', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('411', 'csv_file_informaion', 'File Information (CSV)', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('412', 'download_example_file', 'Download Example File', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('413', 'upload_csv_file', 'Upload CSV File', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('414', 'manufacturer_id', 'Manufacturer ID', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('415', 'category_id', 'Category ID', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('416', 'are_you_sure_to_delete', 'Are you sure,want to delete ?', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('417', 'stock_report_manufacturer_wise', 'Stock Report (Manufacturer Wise)', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('418', 'stock_report_product_wise', 'Stock Report (Product Wise)', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('419', 'select_manufacturer', 'Select Manufacturer', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('420', 'select_product', 'Select Product', NULL);
SET FOREIGN_KEY_CHECKS = 0;
#
# TABLE STRUCTURE FOR: accesslog
#

DROP TABLE IF EXISTS `accesslog`;
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;


CREATE TABLE `accesslog` (
  `sl_no` bigint(20) NOT NULL AUTO_INCREMENT,
  `action_page` varchar(50) COLLATE utf8_unicode_ci DEFAULT NULL,
  `action_done` text COLLATE utf8_unicode_ci,
  `remarks` text COLLATE utf8_unicode_ci NOT NULL,
  `user_name` varchar(50) COLLATE utf8_unicode_ci DEFAULT NULL,
  `entry_date` datetime DEFAULT NULL,
  UNIQUE KEY `SerialNo` (`sl_no`)
) ENGINE=InnoDB AUTO_INCREMENT=375 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;


INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('1', 'purchase order', 'create', '11', '2', '2018-05-13 10:05:56');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('2', 'purchase order', 'create', 'Orde Id-20180513101115total amount-1156.00', '2', '2018-05-13 10:11:15');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('3', 'Customer', 'create', '', '2', '2018-05-13 10:27:35');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('4', 'Customer', 'create', '', '2', '2018-05-13 10:29:29');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('5', 'Customer', 'create', '', '2', '2018-05-13 10:31:52');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('6', 'Customer', 'create', '5', '2', '2018-05-13 10:32:50');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('7', 'Customer', 'delete', '4', '2', '2018-05-13 10:35:36');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('8', 'Customer', 'delete', 'customer ID :3', '2', '2018-05-13 10:36:20');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('9', 'Customer', 'update', 'customer ID :', '2', '2018-05-13 10:37:30');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('10', 'Customer', 'update', 'customer ID :1', '2', '2018-05-13 10:39:15');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('11', 'Product', 'create', 'product ID :3', '2', '2018-05-13 10:41:30');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('12', 'Product', 'delete', 'product ID :3', '2', '2018-05-13 10:43:11');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('13', 'Store', 'create', 'Store ID :3', '2', '2018-05-13 10:46:05');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('14', 'Store', 'delete', 'Store ID :3', '2', '2018-05-13 10:47:56');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('15', 'Supplier', 'create', 'Supplier ID :2', '2', '2018-05-13 10:50:41');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('16', 'Supplier', 'create', 'Supplier ID :3', '2', '2018-05-13 10:52:00');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('17', 'Supplier', 'create', 'Supplier ID :4', '2', '2018-05-13 10:52:54');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('18', 'Supplier', 'create', 'Supplier ID :5', '2', '2018-05-13 10:55:58');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('19', 'Supplier', 'update', 'Supplier ID :5', '2', '2018-05-13 10:57:03');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('20', 'Supplier', 'delete', 'Supplier ID :5', '2', '2018-05-13 10:57:46');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('21', 'Warehouse', 'delete', 'Warehouse ID :2', '2', '2018-05-13 11:00:22');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('22', 'Warehouse', 'update', 'Warehouse ID :2', '2', '2018-05-13 11:01:09');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('23', 'Supplier', 'delete', 'Supplier ID :4', '2', '2018-05-13 12:02:46');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('24', 'Supplier', 'delete', 'Supplier ID :3', '2', '2018-05-13 12:02:49');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('25', 'Product', 'create', 'product ID :4', '2', '2018-05-13 12:54:51');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('26', 'Product', 'create', 'product ID :5', '2', '2018-05-14 08:31:12');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('27', 'purchase order', 'create', 'Orde Id-20180514084546 total amount-40.00', '2', '2018-05-14 08:45:46');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('28', 'purchase order', 'create', 'Orde Id-20180514093237 total amount-600.00', '2', '2018-05-14 09:32:38');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('29', 'purchase order', 'create', 'Orde Id-20180514093316 total amount-120.00', '2', '2018-05-14 09:33:16');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('30', 'purchase order', 'create', 'Orde Id-20180514100849 total amount-776.00', '2', '2018-05-14 10:08:49');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('31', 'purchase order', 'create', 'Orde Id-20180514122943 total amount-250.00', '2', '2018-05-14 12:29:43');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('32', 'Role Permission', 'update', 'Role id :9', '2', '2018-05-14 13:38:15');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('33', 'User', 'create', 'User ID :20', '2', '2018-05-14 13:39:51');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('34', 'purchase order', 'create', 'Orde Id-20180515060421 total amount-195.00', '2', '2018-05-15 06:04:21');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('35', 'purchase order receive', 'create', 'Orde Id- total amount-120.00', '2', '2018-05-15 07:01:37');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('36', 'purchase order receive', 'create', 'Orde Id- total amount-80.00', '2', '2018-05-15 07:03:28');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('37', 'purchase order receive', 'create', 'Orde Id- total amount-80.00', '2', '2018-05-15 07:05:39');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('38', 'purchase order receive', 'create', 'Orde Id- total amount-110.00', '2', '2018-05-15 07:07:53');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('39', 'purchase order', 'create', 'Orde Id-20180515075023 total amount-920.00', '2', '2018-05-15 07:50:23');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('40', 'Role Permission', 'update', 'Role id :6', '2', '2018-05-15 08:57:53');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('41', 'purchase order', 'create', 'Orde Id-20180515075023 total amount-980.00', '2', '2018-05-15 12:10:38');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('42', 'purchase order', 'create', 'Orde Id-20180515060421 total amount-210.00', '2', '2018-05-15 12:11:58');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('43', 'purchase order', 'create', 'Orde Id-20180514122943 total amount-60.00', '2', '2018-05-15 12:24:17');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('44', 'purchase order', 'delete', 'Orde Id-20180514100849', '2', '2018-05-15 12:28:08');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('45', 'purchase order', 'delete', 'Orde Id-20180514093316', '2', '2018-05-15 12:29:05');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('46', 'purchase order', 'delete', 'Orde Id-20180514093237', '2', '2018-05-15 12:29:25');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('47', 'purchase order', 'delete', 'Orde Id-20180514084546', '2', '2018-05-15 12:29:29');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('48', 'purchase order', 'delete', 'Orde Id-20180513064344', '2', '2018-05-15 12:29:33');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('49', 'purchase order', 'delete', 'Orde Id-20180513063621', '2', '2018-05-15 12:29:38');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('50', 'purchase order', 'create', 'Orde Id-20180514122943 total amount-110.00', '2', '2018-05-15 12:30:37');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('51', 'purchase order', 'create', 'Orde Id-20180514122943 total amount-190.00', '2', '2018-05-15 12:33:58');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('52', 'purchase order', 'create', 'Orde Id-20180515075023 total amount-60.00', '2', '2018-05-15 12:34:35');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('53', 'purchase order receive', 'create', 'Orde Id- total amount-60.00', '2', '2018-05-15 12:43:54');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('54', 'purchase Receive', 'delete', 'Receive Id-20180515124354', '2', '2018-05-15 12:44:13');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('55', 'purchase order receive', 'create', 'Orde Id- total amount-60.00', '2', '2018-05-15 12:47:00');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('56', 'purchase Receive', 'delete', 'Receive Id-20180515124700', '2', '2018-05-15 12:47:14');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('57', 'purchase order receive', 'create', 'Orde Id- total amount-60.00', '2', '2018-05-15 12:47:29');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('58', 'Product', 'create', 'product ID :6', '2', '2018-05-15 13:36:08');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('59', 'Warehouse', 'create', 'Warehouse ID :3', '2', '2018-05-15 14:23:01');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('60', 'Product', 'create', 'product ID :7', '2', '2018-05-15 14:34:04');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('61', 'purchase order', 'create', 'Orde Id-20180515143434 total amount-900.00', '2', '2018-05-15 14:34:34');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('62', 'Role Permission', 'update', 'Role id :4', '2', '2018-05-15 15:19:49');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('63', 'Role Permission', 'update', 'Role id :3', '2', '2018-05-15 15:19:54');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('64', 'Role Permission', 'update', 'Role id :9', '2', '2018-05-15 15:19:57');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('65', 'Role Permission', 'update', 'Role id :6', '2', '2018-05-15 15:20:00');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('66', 'User Role', 'update', 'Role id :4', '2', '2018-05-15 15:21:09');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('67', 'User Role', 'update', 'Role id :6', '2', '2018-05-15 15:21:12');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('68', 'User Role', 'update', 'Role id :7', '2', '2018-05-15 15:21:14');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('69', 'User Role', 'update', 'Role id :9', '2', '2018-05-15 15:21:18');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('70', 'Role Permission', 'create', 'Role id :1', '2', '2018-05-15 15:24:20');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('71', 'Role Permission', 'update', 'Role id :2', '2', '2018-05-15 15:25:33');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('72', 'Role Permission', 'create', 'Role id :19', '2', '2018-05-15 15:33:18');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('73', 'Sales', 'create', 'invoice_no-1000 total amount-275.00', '2', '2018-05-16 10:51:38');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('74', 'Sales', 'create', 'invoice_no-1000 total amount-550.00', '2', '2018-05-16 10:56:56');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('75', 'Sales', 'create', 'invoice_no-1001 total amount-700.00', '2', '2018-05-16 11:27:47');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('76', 'purchase order receive', 'create', 'Orde Id- total amount-675.00', '2', '2018-05-16 14:29:18');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('77', 'Sales', 'create', 'invoice_no-1002 total amount-305.00', '2', '2018-05-17 06:57:31');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('78', 'Sales', 'create', 'invoice_no-1006 total amount-490.00', '2', '2018-05-17 07:09:17');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('79', 'Sales', 'create', 'invoice_no-1007 total amount-165.00', '2', '2018-05-17 07:10:08');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('80', 'Sales', 'create', 'invoice_no-1008 total amount-110.00', '2', '2018-05-17 07:13:02');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('81', 'Sales', 'create', 'invoice_no-1009 total amount-1800.00', '2', '2018-05-17 07:17:45');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('82', 'Sales', 'create', 'invoice_no-1010 total amount-110.00', '2', '2018-05-17 07:22:11');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('83', 'Sales', 'create', 'invoice_no-1011 total amount-165.00', '2', '2018-05-17 07:23:41');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('84', 'Sales', 'create', 'invoice_no-1012 total amount-110.00', '2', '2018-05-17 07:25:28');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('85', 'Sales', 'create', 'invoice_no-1013 total amount-550.00', '2', '2018-05-17 07:27:33');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('86', 'Sales', 'create', 'invoice_no-1014 total amount-105.00', '2', '2018-05-17 07:28:10');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('87', 'Sales', 'create', 'invoice_no-1015 total amount-165.00', '2', '2018-05-17 07:29:13');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('88', 'purchase order', 'create', 'Orde Id-20180517074220 total amount-1500.00', '2', '2018-05-17 07:42:21');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('89', 'purchase order receive', 'create', 'Orde Id- total amount-1500.00', '2', '2018-05-17 07:42:42');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('90', 'Sales', 'create', 'invoice_no-1016 total amount-125.00', '2', '2018-05-17 07:43:17');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('91', 'Sales', 'create', 'invoice_no- total amount-', '2', '2018-05-17 12:43:14');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('92', 'Sales', 'create', 'invoice_no- total amount-', '2', '2018-05-17 14:41:10');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('93', 'Store', 'create', 'Store ID :3', '2', '2018-05-19 08:34:52');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('94', 'leases', 'create', 'Lease Id-0', '2', '2018-05-20 05:41:52');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('95', 'leases', 'create', 'Lease Id-1', '2', '2018-05-20 05:47:53');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('96', 'leases', 'create', 'Lease Id-2', '2', '2018-05-20 05:58:40');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('97', 'leases', 'update', 'Lease Id-2', '2', '2018-05-20 07:09:13');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('98', 'leases', 'update', 'Lease Id-1', '2', '2018-05-20 07:14:33');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('99', 'leases', 'update', 'Lease Id-1', '2', '2018-05-20 07:15:33');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('100', 'leases', 'create', 'Lease Id-3', '2', '2018-05-20 07:18:29');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('101', 'leases', 'update', 'Lease Id-3', '2', '2018-05-20 07:20:02');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('102', 'leases', 'create', 'Lease Id-4', '2', '2018-05-20 07:23:20');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('103', 'leases', 'update', 'Lease Id-4', '2', '2018-05-20 07:23:59');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('104', 'Lease ', 'delete', 'Lease Id-4', '2', '2018-05-20 07:25:00');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('105', 'Lease ', 'delete', 'Lease Id-3', '2', '2018-05-20 07:25:24');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('106', 'leases', 'update', 'Lease Id-2', '2', '2018-05-20 07:29:49');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('107', 'leases', 'update', 'Lease Id-2', '2', '2018-05-20 07:32:42');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('108', 'leases', 'update', 'Lease Id-2', '2', '2018-05-20 07:33:44');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('109', 'Role Permission', 'update', 'Role id :2', '2', '2018-05-20 08:32:46');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('110', 'purchase Receive', 'update', 'Receive Id-20180514122943 total amount-250.00', '2', '2018-05-20 09:48:31');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('111', 'purchase Receive', 'update', 'Receive Id-20180514122943 total amount-430.00', '2', '2018-05-20 09:49:14');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('112', 'purchase order', 'create', 'Orde Id-20180520095432 total amount-7000.00', '2', '2018-05-20 09:54:32');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('113', 'purchase order', 'create', 'Orde Id-20180520095550 total amount-1200.00', '2', '2018-05-20 09:55:50');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('114', 'purchase order', 'create', 'Orde Id-20180520095758 total amount-7000.00', '2', '2018-05-20 09:57:58');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('115', 'purchase Receive', 'update', 'Receive Id-20180520095758 total amount-7015.00', '2', '2018-05-20 09:59:11');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('116', 'purchase order', 'create', 'Orde Id-20180520100119 total amount-2100.00', '2', '2018-05-20 10:01:19');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('117', 'purchase order receive', 'create', 'Orde Id- total amount-2100.00', '2', '2018-05-20 10:35:50');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('118', 'purchase order receive', 'create', 'Orde Id- total amount-7000.00', '2', '2018-05-20 10:36:32');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('119', 'Sales', 'create', 'invoice_no-1017 total amount-725.00', '2', '2018-05-20 10:37:02');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('120', 'Sales', 'create', 'invoice_no-1017 total amount-550.00', '2', '2018-05-20 10:38:34');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('121', 'Sales', 'create', 'invoice_no-1017 total amount-275.00', '2', '2018-05-20 10:39:41');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('122', 'sale ', 'delete', 'sales id-20180517074317', '2', '2018-05-20 10:56:58');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('123', 'sale ', 'delete', 'sales id-20180516105656', '2', '2018-05-20 10:57:15');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('124', 'sale ', 'delete', 'sales id-20180517065731', '2', '2018-05-20 10:57:57');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('125', 'sale ', 'delete', 'sales id-20180516112747', '2', '2018-05-20 10:58:04');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('126', 'Sales', 'create', 'invoice_no-1017 total amount-445.00', '2', '2018-05-20 12:24:13');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('127', 'Sales', 'create', 'invoice_no-1017 total amount-725.00', '2', '2018-05-20 12:26:55');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('128', 'Sales', 'create', 'invoice_no-1017 total amount-535.00', '2', '2018-05-20 12:28:33');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('129', 'Sales', 'create', 'invoice_no-1017 total amount-270.00', '2', '2018-05-20 12:31:31');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('130', 'Sales', 'create', 'invoice_no-1018 total amount-560.00', '9', '2018-05-20 12:37:33');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('131', 'sale ', 'delete', 'sales id-20180517072810', '9', '2018-05-20 13:19:24');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('132', 'sale ', 'delete', 'sales id-20180517071744', '9', '2018-05-20 13:19:32');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('133', 'sale ', 'delete', 'sales id-20180517072913', '9', '2018-05-20 13:20:08');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('134', 'sale ', 'delete', 'sales id-20180517072732', '9', '2018-05-20 13:20:12');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('135', 'sale ', 'delete', 'sales id-20180517072528', '9', '2018-05-20 13:20:16');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('136', 'sale ', 'delete', 'sales id-20180517072341', '9', '2018-05-20 13:20:40');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('137', 'sale ', 'delete', 'sales id-20180517072210', '9', '2018-05-20 13:20:43');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('138', 'sale ', 'delete', 'sales id-20180517071008', '9', '2018-05-20 13:20:52');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('139', 'leases', 'create', 'Lease Id-3', '2', '2018-05-21 06:18:14');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('140', 'leases', 'update', 'Lease Id-3', '2', '2018-05-21 06:21:30');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('141', 'Sales', 'create', 'invoice_no-1019 total amount-340.00', '9', '2018-05-21 06:50:14');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('142', 'Sales', 'update', 'invoice_no-1017 total amount-295.00', '2', '2018-05-21 12:11:29');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('143', 'Sales', 'update', 'invoice_no-1017 total amount-270.00', '2', '2018-05-21 12:17:17');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('144', 'Sales', 'update', 'invoice_no-1017 total amount-270', '2', '2018-05-21 12:22:28');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('145', 'Sales', 'update', 'invoice_no-1017 total amount-270', '2', '2018-05-21 12:23:52');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('146', 'Sales', 'update', 'invoice_no-1018 total amount-560', '2', '2018-05-21 12:59:39');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('147', 'Gurrantor', 'create', '0', '2', '2018-05-22 11:47:25');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('148', 'Gurrantor', 'create', '3', '2', '2018-05-22 11:49:14');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('149', 'Gurrantor', 'create', '4', '2', '2018-05-22 12:46:09');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('150', 'Gurrantor', 'create', '5', '2', '2018-05-22 12:50:41');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('151', 'Gurrantor', 'create', '6', '2', '2018-05-23 05:53:57');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('152', 'Gurrantor', 'create', '7', '2', '2018-05-23 06:11:45');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('153', 'Gurrantor', 'create', '8', '2', '2018-05-23 06:15:40');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('154', 'Gurrantor', 'create', '9', '2', '2018-05-23 06:18:35');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('155', 'Gurrantor', 'create', '10', '2', '2018-05-23 06:37:21');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('156', 'Gurrantor', 'create', '11', '2', '2018-05-23 06:39:32');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('157', 'Sales', 'create', 'invoice_no-1020 total amount-140.00', '2', '2018-05-23 07:06:22');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('158', 'Sales', 'create', 'invoice_no-1021 total amount-140.00', '2', '2018-05-23 07:08:45');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('159', 'Sales', 'create', 'invoice_no-1021 total amount-70.00', '2', '2018-05-23 07:19:51');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('160', 'Gurrantor', 'create', '12', '2', '2018-05-23 08:46:54');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('161', 'leases', 'create', 'Lease Id-4', '2', '2018-05-23 08:57:50');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('162', 'leases', 'update', 'Lease Id-4', '2', '2018-05-23 09:52:57');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('163', 'Sales', 'create', 'invoice_no-1022 total amount-105.00', '2', '2018-05-23 11:08:52');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('164', 'Sales', 'create', 'invoice_no-1022 total amount-105.00', '2', '2018-05-23 11:12:31');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('165', 'Sales', 'create', 'invoice_no-1022 total amount-70.00', '2', '2018-05-23 11:16:57');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('166', 'Sales', 'create', 'invoice_no-1022 total amount-70.00', '2', '2018-05-23 11:21:13');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('167', 'Sales', 'create', 'invoice_no-1022 total amount-35.00', '2', '2018-05-23 11:25:33');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('168', 'Sales', 'create', 'invoice_no-1022 total amount-105.00', '2', '2018-05-23 11:31:39');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('169', 'Sales', 'create', 'invoice_no-1023 total amount-485.00', '2', '2018-05-23 11:33:43');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('170', 'Product', 'create', 'product ID :8', '2', '2018-05-24 06:43:06');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('171', 'Product', 'create', 'product ID :9', '2', '2018-05-24 06:46:28');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('172', 'Stockmovment', 'create', 'Stockmovment ID :1', '2', '2018-05-24 08:23:49');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('173', 'Stockmovment', 'create', 'Stockmovment ID :1', '2', '2018-05-24 08:30:38');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('174', 'Stockmovment', 'create', 'Stockmovment ID :2', '2', '2018-05-24 10:06:26');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('175', 'Stockmovment', 'create', 'Stockmovment ID :5', '2', '2018-05-24 10:14:04');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('176', 'Stockmovment', 'create', 'Stockmovment ID :1', '2', '2018-05-24 10:16:11');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('177', 'Stockmovment', 'create', 'Stockmovment ID :2', '2', '2018-05-24 10:35:19');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('178', 'Product', 'create', 'product ID :10', '2', '2018-05-24 10:36:31');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('179', 'Stockmovment', 'create', 'Stockmovment ID :3', '2', '2018-05-24 10:39:46');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('180', 'Stockmovment', 'create', 'Stockmovment ID :4', '2', '2018-05-24 10:40:15');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('181', 'Stockmovment', 'create', 'Stockmovment ID :7', '2', '2018-05-24 10:50:09');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('182', 'Sales', 'create', 'invoice_no-1024 total amount-110.00', '2', '2018-05-26 07:50:13');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('183', 'Sales', 'create', 'invoice_no-1024 total amount-105.00', '2', '2018-05-26 07:58:47');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('184', 'Sales', 'create', 'invoice_no-1024 total amount-175.00', '2', '2018-05-26 07:59:19');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('185', 'Sales', 'create', 'invoice_no-1024 total amount-105.00', '2', '2018-05-26 08:00:40');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('186', 'Sales', 'create', 'invoice_no-1024 total amount-105.00', '2', '2018-05-26 08:00:55');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('187', 'Sales', 'create', 'invoice_no-1024 total amount-70.00', '2', '2018-05-26 08:02:29');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('188', 'Sales', 'create', 'invoice_no-1024 total amount-70.00', '2', '2018-05-26 08:25:56');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('189', 'Sales', 'create', 'invoice_no-1024 total amount-70.00', '2', '2018-05-26 08:26:32');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('190', 'Sales', 'create', 'invoice_no-1025 total amount-105.00', '2', '2018-05-26 12:31:01');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('191', 'Sales', 'create', 'invoice_no-1026 total amount-165.00', '2', '2018-05-26 12:32:04');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('192', 'Product', 'create', 'product ID :11', '2', '2018-05-26 13:00:59');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('193', 'Product', 'create', 'product ID :12', '2', '2018-05-27 07:18:05');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('194', 'Product', 'delete', 'product ID :1', '2', '2018-05-27 07:27:56');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('195', 'Product', 'update', 'product ID :12', '2', '2018-05-27 09:55:53');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('196', 'Sales', 'create', 'invoice_no-1027 total amount-70.00', '2', '2018-05-27 10:32:26');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('197', 'User', 'create', 'User ID :21', '2', '2018-05-27 10:38:38');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('198', 'Customer', 'create', '26', '2', '2018-05-27 12:14:58');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('199', 'Product', 'create', 'product ID :13', '2', '2018-05-28 05:40:44');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('200', 'Product', 'update', 'product ID :13', '2', '2018-05-28 05:42:55');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('201', 'Product', 'update', 'product ID :13', '2', '2018-05-28 05:43:38');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('202', 'Sales', 'create', 'invoice_no-1028 total amount-350.00', '2', '2018-05-28 07:52:19');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('203', 'Customer', 'create', '30', '2', '2018-05-28 08:36:22');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('204', 'Customer', 'create', '31', '2', '2018-05-28 08:47:03');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('205', 'sale ', 'delete', 'sales id-20180520123130', '2', '2018-05-28 07:19:45');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('206', 'sale ', 'delete', 'sales id-20180526123204', '2', '2018-05-28 07:19:49');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('207', 'sale ', 'delete', 'sales id-20180526123101', '2', '2018-05-28 07:19:52');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('208', 'sale ', 'delete', 'sales id-20180521065014', '2', '2018-05-28 07:20:06');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('209', 'sale ', 'delete', 'sales id-20180523113343', '2', '2018-05-28 07:51:37');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('210', 'Sales', 'create', 'invoice_no-1029 total amount-175.00', '2', '2018-06-02 10:38:44');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('211', 'Sales', 'create', 'invoice_no-1029 total amount-175.00', '2', '2018-06-02 10:43:38');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('212', 'Sales', 'create', 'invoice_no-1030 total amount-70.00', '2', '2018-06-02 10:47:37');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('213', 'recovery', 'create', 'payment ID :31', '2', '2018-06-02 11:32:04');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('214', 'recovery', 'create', 'payment ID :32', '2', '2018-06-02 11:32:26');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('215', 'recovery', 'create', 'payment ID :33', '2', '2018-06-02 11:34:53');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('216', 'recovery', 'create', 'payment ID :34', '2', '2018-06-02 11:48:09');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('217', 'recovery', 'create', 'payment ID :35', '2', '2018-06-02 12:03:47');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('218', 'recovery', 'create', 'payment ID :36', '2', '2018-06-02 12:04:11');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('219', 'recovery', 'create', 'payment ID :37', '2', '2018-06-02 12:04:34');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('220', 'recovery', 'create', 'payment ID :38', '2', '2018-06-02 12:04:57');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('221', 'recovery', 'create', 'payment ID :39', '2', '2018-06-02 12:05:22');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('222', 'Sales', 'create', 'invoice_no-1031 total amount-450.00', '2', '2018-06-03 06:51:44');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('223', 'recovery', 'create', 'payment ID :41', '2', '2018-06-03 07:01:05');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('224', 'recovery', 'create', 'payment ID :42', '2', '2018-06-03 07:03:46');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('225', 'recovery', 'create', 'payment ID :43', '2', '2018-06-03 07:04:07');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('226', 'payment', 'create', 'payment ID :44', '2', '2018-06-03 07:22:42');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('227', 'Sales', 'create', 'invoice_no-1032 total amount-175.00', '2', '2018-06-03 08:30:08');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('228', 'recovery', 'create', 'payment ID :46', '2', '2018-06-03 11:23:02');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('229', 'recovery', 'create', 'payment ID :47', '2', '2018-06-04 07:15:07');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('230', 'Sales', 'create', 'invoice_no-1033 total amount-70.00', '2', '2018-06-04 07:16:06');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('231', 'recovery', 'create', 'payment ID :49', '2', '2018-06-04 07:30:57');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('232', 'recovery', 'create', 'payment ID :50', '2', '2018-06-04 07:39:10');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('233', 'recovery', 'create', 'payment ID :51', '2', '2018-06-04 07:44:17');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('234', 'Sales', 'create', 'invoice_no-1034 total amount-655.00', '9', '2018-06-04 10:34:22');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('235', 'recovery', 'create', 'payment ID :53', '2', '2018-06-04 10:35:18');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('236', 'Sales', 'create', 'invoice_no-1035 total amount-200.00', '2', '2018-06-04 10:41:38');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('237', 'Store', 'create', 'Store ID :4', '2', '2018-06-04 10:42:08');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('238', 'recovery', 'create', 'payment ID :55', '2', '2018-06-04 10:42:50');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('239', 'recovery', 'create', 'payment ID :56', '2', '2018-06-04 10:43:31');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('240', 'Sales', 'create', 'invoice_no-1036 total amount-145.00', '2', '2018-06-04 10:45:57');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('241', 'recovery', 'create', 'payment ID :58', '2', '2018-06-04 10:46:38');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('242', 'recovery', 'create', 'payment ID :59', '2', '2018-06-04 10:47:42');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('243', 'recovery', 'create', 'payment ID :60', '2', '2018-06-04 10:50:02');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('244', 'recovery', 'create', 'payment ID :61', '2', '2018-06-04 10:52:09');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('245', 'recovery', 'create', 'payment ID :62', '2', '2018-06-05 07:38:34');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('246', 'recovery', 'create', 'payment ID :63', '2', '2018-06-05 07:39:00');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('247', 'recovery', 'create', 'payment ID :64', '2', '2018-06-05 07:39:58');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('248', 'recovery', 'create', 'payment ID :65', '2', '2018-06-05 07:40:40');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('249', 'recovery', 'create', 'payment ID :66', '2', '2018-06-05 07:41:14');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('250', 'recovery', 'create', 'payment ID :67', '2', '2018-06-05 07:41:37');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('251', 'Sales', 'create', 'invoice_no-1037 total amount-220.00', '2', '2018-06-05 07:45:06');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('252', 'recovery', 'create', 'payment ID :69', '2', '2018-06-05 07:46:16');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('253', 'recovery', 'create', 'payment ID :70', '2', '2018-06-05 07:46:51');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('254', 'recovery', 'create', 'payment ID :71', '2', '2018-06-05 07:52:11');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('255', 'recovery', 'create', 'payment ID :72', '2', '2018-06-05 07:53:04');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('256', 'recovery', 'create', 'payment ID :73', '2', '2018-06-05 07:53:46');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('257', 'recovery', 'create', 'payment ID :74', '2', '2018-06-05 07:54:17');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('258', 'Sales', 'create', 'invoice_no-1000 total amount-310.00', '2', '2018-06-05 07:57:45');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('259', 'recovery', 'create', 'payment ID :2', '2', '2018-06-05 07:58:13');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('260', 'recovery', 'create', 'payment ID :3', '2', '2018-06-05 07:59:01');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('261', 'recovery', 'create', 'payment ID :4', '2', '2018-06-05 08:00:51');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('262', 'recovery', 'create', 'payment ID :5', '2', '2018-06-05 08:07:03');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('263', 'recovery', 'create', 'payment ID :6', '2', '2018-06-05 08:11:39');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('264', 'Sales', 'create', 'invoice_no-1001 total amount-395.00', '2', '2018-06-05 08:21:40');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('265', 'recovery', 'create', 'payment ID :8', '2', '2018-06-05 08:22:24');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('266', 'Sales', 'create', 'invoice_no-1002 total amount-140.00', '2', '2018-06-05 09:25:53');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('267', 'recovery', 'create', 'payment ID :10', '2', '2018-06-05 09:26:38');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('268', 'recovery', 'create', 'payment ID :11', '2', '2018-06-05 09:27:08');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('269', 'Store', 'create', 'Store ID :5', '2', '2018-06-06 06:41:24');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('270', 'recovery', 'create', 'payment ID :12', '2', '2018-06-06 08:09:01');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('271', 'Sales', 'create', 'invoice_no-1003 total amount-470.00', '2', '2018-06-06 08:22:07');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('272', 'recovery', 'create', 'payment ID :14', '2', '2018-06-06 08:23:20');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('273', 'recovery', 'create', 'payment ID :15', '2', '2018-06-06 09:26:49');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('274', 'stockmovement ', 'create', 'receive_id-', '2', '2018-06-07 05:46:14');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('275', 'stockmovement ', 'create', 'receive_id-', '2', '2018-06-07 05:51:59');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('276', 'stockmovement ', 'create', 'receive_id-', '2', '2018-06-07 05:52:49');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('277', 'stockmovement ', 'create', 'receive_id-', '2', '2018-06-07 05:54:38');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('278', 'stockmovement ', 'create', 'receive_id-', '2', '2018-06-07 05:55:26');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('279', 'stockmovement ', 'create', 'receive_id-', '2', '2018-06-07 06:01:42');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('280', 'stockmovement ', 'create', 'receive_id-', '2', '2018-06-07 06:03:17');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('281', 'Sales', 'create', 'invoice_no-1004 total amount-415.00', '2', '2018-06-07 07:02:31');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('282', 'recovery', 'create', 'payment ID :17', '2', '2018-06-07 07:03:16');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('283', 'Sales', 'create', 'invoice_no-1005 total amount-700.00', '2', '2018-06-07 08:20:15');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('284', 'Sales', 'create', 'invoice_no-1006 total amount-350.00', '2', '2018-06-09 08:35:21');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('285', 'recovery', 'create', 'payment ID :20', '2', '2018-06-09 08:46:55');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('286', 'Sales', 'create', 'invoice_no-1007 total amount-430.00', '2', '2018-06-09 10:08:40');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('287', 'recovery', 'create', 'payment ID :22', '2', '2018-06-09 10:09:10');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('288', 'recovery', 'create', 'payment ID :23', '2', '2018-06-09 10:53:20');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('289', 'Product', 'create', 'product ID :14', '2', '2018-06-12 07:45:21');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('290', 'purchase order', 'create', 'Orde Id-20180612103148 total amount-330.00', '2', '2018-06-12 10:31:48');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('291', 'purchase order', 'create', 'Orde Id-20180612103551 total amount-180.00', '2', '2018-06-12 10:35:51');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('292', 'purchase order', 'create', 'Orde Id-20180612103748 total amount-225.00', '2', '2018-06-12 10:37:48');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('293', 'purchase order', 'create', 'Orde Id-20180612104319 total amount-160.00', '2', '2018-06-12 10:43:19');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('294', 'purchase order', 'create', 'Orde Id-20180612105558 total amount-300.00', '2', '2018-06-12 10:55:58');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('295', 'purchase order', 'create', 'Orde Id-20180612124820 total amount-619.00', '2', '2018-06-12 12:48:21');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('296', 'Sales', 'create', 'invoice_no-1008 total amount-105.00', '2', '2018-06-23 07:51:23');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('297', 'Sales', 'create', 'invoice_no-1009 total amount-105.00', '2', '2018-06-23 07:51:45');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('298', 'purchase order', 'create', 'Orde Id-20180623084403 total amount-1040.00', '2', '2018-06-23 08:44:03');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('299', 'purchase Receive', 'delete', 'Receive Id-201806070617', '2', '2018-06-23 10:39:08');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('300', 'purchase Receive', 'delete', 'Receive Id-20180607060317', '2', '2018-06-23 10:39:12');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('301', 'purchase order receive', 'create', 'Orde Id- total amount-190.00', '2', '2018-06-23 11:07:10');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('302', 'purchase order receive', 'create', 'Orde Id- total amount-385.00', '2', '2018-06-23 11:07:36');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('303', 'Stockmovment', 'create', 'Stockmovment ID :8', '2', '2018-06-23 11:38:55');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('304', 'Stockmovment', 'create', 'Stockmovment ID :9', '2', '2018-06-23 11:40:15');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('305', 'Stockmovment', 'create', 'Stockmovment ID :10', '2', '2018-06-23 12:04:54');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('306', 'User', 'create', 'User ID :22', '2', '2018-06-23 12:32:24');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('307', 'Role Permission', 'update', 'Role id :3', '2', '2018-06-23 12:33:25');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('308', 'User', 'create', 'User ID :23', '2', '2018-06-23 12:35:42');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('309', 'stockmovement ', 'create', 'receive_id-', '23', '2018-06-23 12:37:55');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('310', 'Role Permission', 'create', 'Role id :52', '11', '2018-07-04 08:02:46');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('311', 'Role Permission', 'create', 'Role id :108', '1', '2018-07-04 08:04:22');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('312', 'Role Permission', 'create', 'Role id :164', '1', '2018-07-04 08:10:44');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('313', 'Role Permission', 'create', 'Role id :220', '1', '2018-07-04 08:24:53');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('314', 'Role Permission', 'create', 'Role id :281', '1', '2018-07-04 13:30:07');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('315', 'Role Permission', 'create', 'Role id :1', '1', '2018-07-04 13:36:41');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('316', 'Role Permission', 'create', 'Role id :1', '1', '2018-07-04 13:54:24');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('317', 'Role Permission', 'create', 'Role id :59', '1', '2018-07-04 13:59:41');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('318', 'Role Permission', 'create', 'Role id :117', '1', '2018-07-04 14:30:21');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('319', 'Role Permission', 'create', 'Role id :175', '1', '2018-07-04 14:46:08');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('320', 'Role Permission', 'create', 'Role id :233', '1', '2018-07-04 15:00:23');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('321', 'Role Permission', 'create', 'Role id :291', '1', '2018-07-05 14:25:37');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('322', 'Role Permission', 'create', 'Role id :349', '1', '2018-07-05 14:27:52');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('323', 'Role Permission', 'create', 'Role id :407', '1', '2018-07-05 14:31:54');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('324', 'Role Permission', 'create', 'Role id :465', '1', '2018-07-05 15:58:41');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('325', 'Role Permission', 'create', 'Role id :523', '1', '2018-07-05 15:59:15');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('326', 'Role Permission', 'create', 'Role id :581', '1', '2018-07-05 16:09:19');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('327', 'Role Permission', 'create', 'Role id :639', '1', '2018-07-05 16:11:35');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('328', 'Role Permission', 'create', 'Role id :697', '1', '2018-07-05 16:12:09');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('329', 'Role Permission', 'create', 'Role id :755', '1', '2018-07-05 16:22:43');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('330', 'Role Permission', 'create', 'Role id :813', '1', '2018-07-05 16:23:23');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('331', 'Role Permission', 'create', 'Role id :871', '1', '2018-07-05 16:25:04');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('332', 'Role Permission', 'create', 'Role id :929', '1', '2018-07-05 16:25:41');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('333', 'Role Permission', 'create', 'Role id :987', '1', '2018-07-07 07:32:31');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('334', 'Role Permission', 'create', 'Role id :1045', '1', '2018-07-07 07:33:13');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('335', 'Role Permission', 'create', 'Role id :1103', '1', '2018-07-07 07:54:19');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('336', 'Role Permission', 'create', 'Role id :1161', '1', '2018-07-07 07:56:16');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('337', 'Role Permission', 'create', 'Role id :1219', '1', '2018-07-07 07:58:02');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('338', 'Role Permission', 'create', 'Role id :1', '1', '2018-07-07 08:39:07');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('339', 'Role Permission', 'create', 'Role id :59', '1', '2018-07-07 08:39:54');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('340', 'Role Permission', 'create', 'Role id :117', '1', '2018-07-15 12:21:24');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('341', 'Role Permission', 'create', 'Role id :175', '1', '2018-07-15 14:15:19');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('342', 'Role Permission', 'create', 'Role id :233', '1', '2018-07-25 07:47:48');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('343', 'Role Permission', 'create', 'Role id :291', '1', '2018-07-28 07:20:39');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('344', 'Role Permission', 'create', 'Role id :349', '1', '2018-07-30 11:09:07');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('345', 'Role Permission', 'create', 'Role id :407', '1', '2018-07-30 11:20:52');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('346', 'Role Permission', 'create', 'Role id :465', '1', '2018-08-02 08:46:02');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('347', 'Role Permission', 'create', 'Role id :523', '1', '2018-08-02 12:01:25');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('348', 'Role Permission', 'create', 'Role id :586', '1', '2018-08-02 12:03:50');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('349', 'Role Permission', 'create', 'Role id :649', '1', '2018-08-02 12:05:21');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('350', 'Role Permission', 'create', 'Role id :712', '1', '2018-08-02 12:06:16');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('351', 'Role Permission', 'create', 'Role id :775', '1', '2018-08-02 12:07:09');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('352', 'Role Permission', 'create', 'Role id :838', '1', '2018-08-02 12:08:17');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('353', 'Role Permission', 'create', 'Role id :901', '1', '2018-08-02 12:12:05');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('354', 'Role Permission', 'create', 'Role id :964', '1', '2018-08-02 12:16:17');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('355', 'Role Permission', 'create', 'Role id :1027', '1', '2018-08-02 12:16:54');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('356', 'Role Permission', 'create', 'Role id :1090', '1', '2018-08-02 12:20:05');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('357', 'Role Permission', 'create', 'Role id :1153', '1', '2018-08-04 11:12:00');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('358', 'Role Permission', 'create', 'Role id :1216', '1', '2018-08-04 11:12:05');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('359', 'Role Permission', 'create', 'Role id :1279', '1', '2018-08-04 11:16:14');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('360', 'Role Permission', 'create', 'Role id :1342', '1', '2018-08-04 10:16:29');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('361', 'Role Permission', 'create', 'Role id :1405', '1', '2018-08-04 10:17:00');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('362', 'Role Permission', 'create', 'Role id :1468', '1', '2018-08-04 10:41:57');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('363', 'Role Permission', 'create', 'Role id :1531', '1', '2018-08-04 10:48:34');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('364', 'Role Permission', 'create', 'Role id :1594', '1', '2018-08-04 10:48:43');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('365', 'Role Permission', 'create', 'Role id :1657', '1', '2018-08-04 10:54:58');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('366', 'Role Permission', 'create', 'Role id :1720', '1', '2018-08-04 10:55:07');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('367', 'Role Permission', 'create', 'Role id :1783', '1', '2018-08-04 11:18:26');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('368', 'Role Permission', 'create', 'Role id :1846', '1', '2018-08-05 06:43:41');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('369', 'Role Permission', 'create', 'Role id :1909', '1', '2018-08-05 06:43:53');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('370', 'Role Permission', 'create', 'Role id :1972', '1', '2018-08-05 06:44:37');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('371', 'Role Permission', 'create', 'Role id :1', '1', '2018-08-05 10:32:49');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('372', 'Role Permission', 'create', 'Role id :64', '1', '2018-08-05 10:38:13');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('373', 'Role Permission', 'create', 'Role id :127', '1', '2018-08-05 10:44:11');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `accesslog` (`sl_no`, `action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('374', 'Role Permission', 'create', 'Role id :190', '1', '2018-08-05 10:48:59');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;



#
# TABLE STRUCTURE FOR: account_2
#

DROP TABLE IF EXISTS `account_2`;
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;


CREATE TABLE `account_2` (
  `account_id` int(11) NOT NULL AUTO_INCREMENT,
  `account_name` varchar(40) NOT NULL,
  `created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `parent_id` int(1) NOT NULL,
  `status` int(11) NOT NULL,
  PRIMARY KEY (`account_id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8;
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;


INSERT INTO `account_2` (`account_id`, `account_name`, `created_at`, `parent_id`, `status`) VALUES ('1', 'test', '2018-09-04 12:37:53', '3', '0');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;



#
# TABLE STRUCTURE FOR: accounts
#

DROP TABLE IF EXISTS `accounts`;
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;


CREATE TABLE `accounts` (
  `account_id` varchar(220) NOT NULL,
  `account_table_name` varchar(255) NOT NULL,
  `account_name` varchar(255) NOT NULL,
  `status` int(5) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;


#
# TABLE STRUCTURE FOR: bank_add
#

DROP TABLE IF EXISTS `bank_add`;
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;


CREATE TABLE `bank_add` (
  `bank_id` varchar(255) NOT NULL,
  `bank_name` varchar(255) NOT NULL,
  `ac_name` varchar(250) DEFAULT NULL,
  `ac_number` varchar(250) DEFAULT NULL,
  `branch` varchar(250) DEFAULT NULL,
  `signature_pic` varchar(250) DEFAULT NULL,
  `status` int(11) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;


#
# TABLE STRUCTURE FOR: bank_summary
#

DROP TABLE IF EXISTS `bank_summary`;
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;


CREATE TABLE `bank_summary` (
  `bank_id` varchar(250) DEFAULT NULL,
  `description` text,
  `deposite_id` varchar(250) DEFAULT NULL,
  `date` varchar(250) DEFAULT NULL,
  `ac_type` varchar(50) DEFAULT NULL,
  `dr` float DEFAULT NULL,
  `cr` float DEFAULT NULL,
  `ammount` float DEFAULT NULL,
  `status` int(11) NOT NULL DEFAULT '1'
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;


#
# TABLE STRUCTURE FOR: cheque_manger
#

DROP TABLE IF EXISTS `cheque_manger`;
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;


CREATE TABLE `cheque_manger` (
  `cheque_id` varchar(100) NOT NULL,
  `transection_id` varchar(100) NOT NULL,
  `customer_id` varchar(100) NOT NULL,
  `bank_id` varchar(100) NOT NULL,
  `cheque_no` varchar(100) NOT NULL,
  `date` varchar(50) NOT NULL,
  `transection_type` varchar(100) NOT NULL,
  `cheque_status` varchar(30) NOT NULL,
  `amount` float NOT NULL,
  `status` int(2) NOT NULL,
  PRIMARY KEY (`cheque_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;


#
# TABLE STRUCTURE FOR: ci_sessions
#

DROP TABLE IF EXISTS `ci_sessions`;
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;


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


#
# TABLE STRUCTURE FOR: company_information
#

DROP TABLE IF EXISTS `company_information`;
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;


CREATE TABLE `company_information` (
  `company_id` varchar(250) NOT NULL,
  `company_name` varchar(50) NOT NULL,
  `email` varchar(50) NOT NULL,
  `address` text NOT NULL,
  `mobile` varchar(30) NOT NULL,
  `website` varchar(50) NOT NULL,
  `status` int(11) NOT NULL,
  PRIMARY KEY (`company_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;


INSERT INTO `company_information` (`company_id`, `company_name`, `email`, `address`, `mobile`, `website`, `status`) VALUES ('NOILG8EGCRXXBWUEUQBM', 'bdtask Shop', 'bdtask@gmail.com', '98,Green Road,Dhaka', '1922296392', 'http://www.bdtask.com', '1');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;



#
# TABLE STRUCTURE FOR: customer_information
#

DROP TABLE IF EXISTS `customer_information`;
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;


CREATE TABLE `customer_information` (
  `customer_id` varchar(250) NOT NULL,
  `customer_name` varchar(255) DEFAULT NULL,
  `customer_address` varchar(255) NOT NULL,
  `customer_mobile` varchar(100) NOT NULL,
  `customer_email` varchar(100) NOT NULL,
  `status` int(2) NOT NULL,
  PRIMARY KEY (`customer_id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;


INSERT INTO `customer_information` (`customer_id`, `customer_name`, `customer_address`, `customer_mobile`, `customer_email`, `status`) VALUES ('M77BNMINM8WLBUS', 'Hassan', 'Dhaka', '', '', '1');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `customer_information` (`customer_id`, `customer_name`, `customer_address`, `customer_mobile`, `customer_email`, `status`) VALUES ('FOAMI9S7EC4GWE1', 'Arafat', 'fsdfsdf', '', '', '1');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `customer_information` (`customer_id`, `customer_name`, `customer_address`, `customer_mobile`, `customer_email`, `status`) VALUES ('442GD4V37BMN8TA', 'tanzil', '387 South Tejgaon', '', '', '1');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `customer_information` (`customer_id`, `customer_name`, `customer_address`, `customer_mobile`, `customer_email`, `status`) VALUES ('TSHIBUEF95LI5UB', 'Test customer', '4dfsd', '23423', 'test@gmail.com', '1');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;



#
# TABLE STRUCTURE FOR: customer_ledger
#

DROP TABLE IF EXISTS `customer_ledger`;
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;


CREATE TABLE `customer_ledger` (
  `transaction_id` varchar(100) NOT NULL,
  `customer_id` varchar(100) NOT NULL,
  `invoice_no` varchar(100) DEFAULT NULL,
  `receipt_no` varchar(50) DEFAULT NULL,
  `amount` float DEFAULT NULL,
  `description` varchar(255) NOT NULL,
  `payment_type` varchar(255) NOT NULL,
  `cheque_no` varchar(255) NOT NULL,
  `date` varchar(50) NOT NULL,
  `status` int(2) NOT NULL,
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `d_c` varchar(1) DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `receipt_no` (`receipt_no`),
  KEY `receipt_no_2` (`receipt_no`),
  KEY `receipt_no_3` (`receipt_no`),
  KEY `receipt_no_4` (`receipt_no`)
) ENGINE=MyISAM AUTO_INCREMENT=21 DEFAULT CHARSET=utf8;
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;


INSERT INTO `customer_ledger` (`transaction_id`, `customer_id`, `invoice_no`, `receipt_no`, `amount`, `description`, `payment_type`, `cheque_no`, `date`, `status`, `id`, `d_c`) VALUES ('DQJ9G1554Q', 'M77BNMINM8WLBUS', 'NA', NULL, '0', 'Previous adjustment with software', 'NA', 'NA', '2018-08-30', '1', '1', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `customer_ledger` (`transaction_id`, `customer_id`, `invoice_no`, `receipt_no`, `amount`, `description`, `payment_type`, `cheque_no`, `date`, `status`, `id`, `d_c`) VALUES ('615YQ6YDTGW4JLT', 'M77BNMINM8WLBUS', '2917391921', NULL, '0', 'Cash Paid By Customer', '', '', '2018-08-30', '1', '2', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `customer_ledger` (`transaction_id`, `customer_id`, `invoice_no`, `receipt_no`, `amount`, `description`, `payment_type`, `cheque_no`, `date`, `status`, `id`, `d_c`) VALUES ('JZVD8KA9IK9BLVR', 'M77BNMINM8WLBUS', NULL, '9825188849', '500', '', '1', '', '2018-08-30', '1', '3', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `customer_ledger` (`transaction_id`, `customer_id`, `invoice_no`, `receipt_no`, `amount`, `description`, `payment_type`, `cheque_no`, `date`, `status`, `id`, `d_c`) VALUES ('B75GSWXUP4', 'FOAMI9S7EC4GWE1', 'NA', NULL, '0', 'Previous adjustment with software', 'NA', 'NA', '2018-08-30', '1', '4', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `customer_ledger` (`transaction_id`, `customer_id`, `invoice_no`, `receipt_no`, `amount`, `description`, `payment_type`, `cheque_no`, `date`, `status`, `id`, `d_c`) VALUES ('3EFT2RA2FGUESRK', 'FOAMI9S7EC4GWE1', NULL, 'WI34QNKYLS', '1200', 'Medicine Cost', '1', '', '2018-08-30', '1', '9', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `customer_ledger` (`transaction_id`, `customer_id`, `invoice_no`, `receipt_no`, `amount`, `description`, `payment_type`, `cheque_no`, `date`, `status`, `id`, `d_c`) VALUES ('3EFT2RA2FGUESRK', 'FOAMI9S7EC4GWE1', '2725916364', NULL, '2350', 'Medicine Cost', '1', '', '2018-08-30', '1', '8', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `customer_ledger` (`transaction_id`, `customer_id`, `invoice_no`, `receipt_no`, `amount`, `description`, `payment_type`, `cheque_no`, `date`, `status`, `id`, `d_c`) VALUES ('G4D3P4LRN3', '442GD4V37BMN8TA', 'NA', NULL, '0', 'Previous adjustment with software', 'NA', 'NA', '2018-08-30', '1', '10', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `customer_ledger` (`transaction_id`, `customer_id`, `invoice_no`, `receipt_no`, `amount`, `description`, `payment_type`, `cheque_no`, `date`, `status`, `id`, `d_c`) VALUES ('HDWT1SBRQRXFNSV', '442GD4V37BMN8TA', '4715649262', NULL, '4000', 'Cash Paid By Customer', '', '', '2018-08-30', '1', '11', 'c');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `customer_ledger` (`transaction_id`, `customer_id`, `invoice_no`, `receipt_no`, `amount`, `description`, `payment_type`, `cheque_no`, `date`, `status`, `id`, `d_c`) VALUES ('HDWT1SBRQRXFNSV', '442GD4V37BMN8TA', NULL, '9A8LUUGMNM', '5000', 'Medicine Received By Customer', '1', '', '2018-08-30', '1', '12', 'd');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `customer_ledger` (`transaction_id`, `customer_id`, `invoice_no`, `receipt_no`, `amount`, `description`, `payment_type`, `cheque_no`, `date`, `status`, `id`, `d_c`) VALUES ('HDWT1SBRQRXFNSV', '442GD4V37BMN8TA', '4715649262', NULL, '-450', 'Return', '', '', '2018-08-30', '1', '13', 'd');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `customer_ledger` (`transaction_id`, `customer_id`, `invoice_no`, `receipt_no`, `amount`, `description`, `payment_type`, `cheque_no`, `date`, `status`, `id`, `d_c`) VALUES ('HDWT1SBRQRXFNSV', '442GD4V37BMN8TA', '4715649262', NULL, '-2500', 'Return', '', '', '2018-08-30', '1', '14', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `customer_ledger` (`transaction_id`, `customer_id`, `invoice_no`, `receipt_no`, `amount`, `description`, `payment_type`, `cheque_no`, `date`, `status`, `id`, `d_c`) VALUES ('HDWT1SBRQRXFNSV', '442GD4V37BMN8TA', '4715649262', NULL, '-1500', 'Return', '', '', '2018-08-30', '1', '15', 'd');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `customer_ledger` (`transaction_id`, `customer_id`, `invoice_no`, `receipt_no`, `amount`, `description`, `payment_type`, `cheque_no`, `date`, `status`, `id`, `d_c`) VALUES ('LZH9Z88MLU', 'TSHIBUEF95LI5UB', 'NA', NULL, '0', 'Previous adjustment with software', 'NA', 'NA', '2018-09-04', '1', '16', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `customer_ledger` (`transaction_id`, `customer_id`, `invoice_no`, `receipt_no`, `amount`, `description`, `payment_type`, `cheque_no`, `date`, `status`, `id`, `d_c`) VALUES ('LQ9FCKRO8JU2XXW', 'TSHIBUEF95LI5UB', '6583315914', NULL, '0', 'Cash Paid By Customer', '', '', '2018-09-04', '1', '17', 'c');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `customer_ledger` (`transaction_id`, `customer_id`, `invoice_no`, `receipt_no`, `amount`, `description`, `payment_type`, `cheque_no`, `date`, `status`, `id`, `d_c`) VALUES ('LQ9FCKRO8JU2XXW', 'TSHIBUEF95LI5UB', NULL, 'LROZXD1K6Z', '682.5', 'Medicine Received By Customer', '1', '', '2018-09-04', '1', '18', 'd');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `customer_ledger` (`transaction_id`, `customer_id`, `invoice_no`, `receipt_no`, `amount`, `description`, `payment_type`, `cheque_no`, `date`, `status`, `id`, `d_c`) VALUES ('VC698N6MP8WPXRQ', 'M77BNMINM8WLBUS', '4748393883', NULL, '682.5', 'Cash Paid By Customer', '', '', '2018-09-12', '1', '19', 'c');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `customer_ledger` (`transaction_id`, `customer_id`, `invoice_no`, `receipt_no`, `amount`, `description`, `payment_type`, `cheque_no`, `date`, `status`, `id`, `d_c`) VALUES ('VC698N6MP8WPXRQ', 'M77BNMINM8WLBUS', NULL, 'XYJIAE7J8C', '682.5', 'Medicine Received By Customer', '1', '', '2018-09-12', '1', '20', 'd');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;



#
# TABLE STRUCTURE FOR: daily_banking_add
#

DROP TABLE IF EXISTS `daily_banking_add`;
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;


CREATE TABLE `daily_banking_add` (
  `banking_id` varchar(255) NOT NULL,
  `date` varchar(50) NOT NULL,
  `bank_id` varchar(100) NOT NULL,
  `deposit_type` varchar(255) NOT NULL,
  `transaction_type` varchar(255) NOT NULL,
  `description` text NOT NULL,
  `amount` float NOT NULL,
  `status` int(2) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;


#
# TABLE STRUCTURE FOR: daily_closing
#

DROP TABLE IF EXISTS `daily_closing`;
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;


CREATE TABLE `daily_closing` (
  `closing_id` varchar(255) NOT NULL,
  `last_day_closing` float NOT NULL,
  `cash_in` float NOT NULL,
  `cash_out` float NOT NULL,
  `date` varchar(50) NOT NULL,
  `amount` float NOT NULL,
  `adjustment` float NOT NULL,
  `status` int(2) NOT NULL,
  PRIMARY KEY (`closing_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;


#
# TABLE STRUCTURE FOR: invoice
#

DROP TABLE IF EXISTS `invoice`;
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;


CREATE TABLE `invoice` (
  `invoice_id` varchar(50) NOT NULL,
  `customer_id` varchar(100) NOT NULL,
  `date` varchar(50) DEFAULT NULL,
  `total_amount` float NOT NULL,
  `invoice` varchar(255) NOT NULL,
  `total_discount` float DEFAULT NULL COMMENT 'total invoice discount',
  `invoice_discount` float NOT NULL,
  `total_tax` float DEFAULT NULL,
  `invoice_details` varchar(200) DEFAULT NULL,
  `status` int(2) NOT NULL,
  PRIMARY KEY (`invoice_id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;


INSERT INTO `invoice` (`invoice_id`, `customer_id`, `date`, `total_amount`, `invoice`, `total_discount`, `invoice_discount`, `total_tax`, `invoice_details`, `status`) VALUES ('2917391921', 'M77BNMINM8WLBUS', '2018-08-30', '700', '1000', '0', '0', '0', '', '1');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `invoice` (`invoice_id`, `customer_id`, `date`, `total_amount`, `invoice`, `total_discount`, `invoice_discount`, `total_tax`, `invoice_details`, `status`) VALUES ('2725916364', 'FOAMI9S7EC4GWE1', '2018-08-30', '2350', '1001', '0', '0', '0', '', '1');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `invoice` (`invoice_id`, `customer_id`, `date`, `total_amount`, `invoice`, `total_discount`, `invoice_discount`, `total_tax`, `invoice_details`, `status`) VALUES ('4715649262', '442GD4V37BMN8TA', '2018-08-30', '5000', '1002', '0', '0', '0', '', '1');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `invoice` (`invoice_id`, `customer_id`, `date`, `total_amount`, `invoice`, `total_discount`, `invoice_discount`, `total_tax`, `invoice_details`, `status`) VALUES ('6583315914', 'TSHIBUEF95LI5UB', '2018-09-04', '682.5', '1003', '0', '0', '32.5', '', '1');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `invoice` (`invoice_id`, `customer_id`, `date`, `total_amount`, `invoice`, `total_discount`, `invoice_discount`, `total_tax`, `invoice_details`, `status`) VALUES ('4748393883', 'M77BNMINM8WLBUS', '2018-09-12', '682.5', '1004', '0', '0', '32.5', 'fsdfg', '1');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;



#
# TABLE STRUCTURE FOR: invoice_details
#

DROP TABLE IF EXISTS `invoice_details`;
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;


CREATE TABLE `invoice_details` (
  `invoice_details_id` varchar(100) NOT NULL,
  `invoice_id` varchar(100) NOT NULL,
  `product_id` varchar(100) NOT NULL,
  `batch_id` varchar(30) NOT NULL,
  `cartoon` float DEFAULT NULL,
  `quantity` float NOT NULL,
  `rate` float NOT NULL,
  `manufacturer_rate` float DEFAULT NULL,
  `total_price` float NOT NULL,
  `discount` float DEFAULT NULL,
  `tax` float DEFAULT NULL,
  `paid_amount` float DEFAULT '0',
  `due_amount` float NOT NULL DEFAULT '0',
  `status` int(2) NOT NULL,
  PRIMARY KEY (`invoice_details_id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;


INSERT INTO `invoice_details` (`invoice_details_id`, `invoice_id`, `product_id`, `batch_id`, `cartoon`, `quantity`, `rate`, `manufacturer_rate`, `total_price`, `discount`, `tax`, `paid_amount`, `due_amount`, `status`) VALUES ('153489778823156', '2917391921', '45448121', '111', NULL, '2', '200', '180', '400', '0', '0', '0', '700', '1');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `invoice_details` (`invoice_details_id`, `invoice_id`, `product_id`, `batch_id`, `cartoon`, `quantity`, `rate`, `manufacturer_rate`, `total_price`, `discount`, `tax`, `paid_amount`, `due_amount`, `status`) VALUES ('929175227145934', '2917391921', '14462386', '120', NULL, '2', '150', '140', '300', '0', '0', '0', '700', '1');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `invoice_details` (`invoice_details_id`, `invoice_id`, `product_id`, `batch_id`, `cartoon`, `quantity`, `rate`, `manufacturer_rate`, `total_price`, `discount`, `tax`, `paid_amount`, `due_amount`, `status`) VALUES ('492127469222385', '2725916364', '14462386', '120', NULL, '-1', '150', NULL, '-150', '0', '0', '1200', '1150', '0');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `invoice_details` (`invoice_details_id`, `invoice_id`, `product_id`, `batch_id`, `cartoon`, `quantity`, `rate`, `manufacturer_rate`, `total_price`, `discount`, `tax`, `paid_amount`, `due_amount`, `status`) VALUES ('824121748582865', '2725916364', '45448121', '200', NULL, '5', '200', NULL, '1000', '0', '0', '1200', '1150', '0');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `invoice_details` (`invoice_details_id`, `invoice_id`, `product_id`, `batch_id`, `cartoon`, `quantity`, `rate`, `manufacturer_rate`, `total_price`, `discount`, `tax`, `paid_amount`, `due_amount`, `status`) VALUES ('467253528531636', '2725916364', '14462386', '120', NULL, '10', '150', NULL, '1500', '0', '0', '1200', '1150', '0');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `invoice_details` (`invoice_details_id`, `invoice_id`, `product_id`, `batch_id`, `cartoon`, `quantity`, `rate`, `manufacturer_rate`, `total_price`, `discount`, `tax`, `paid_amount`, `due_amount`, `status`) VALUES ('529321759352269', '4715649262', '72236475', '4433', NULL, '10', '500', '400', '5000', '0', '0', '4000', '1000', '1');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `invoice_details` (`invoice_details_id`, `invoice_id`, `product_id`, `batch_id`, `cartoon`, `quantity`, `rate`, `manufacturer_rate`, `total_price`, `discount`, `tax`, `paid_amount`, `due_amount`, `status`) VALUES ('562214187916919', '4715649262', '72236475', '4433', NULL, '-1', '500', NULL, '-500', '-50', '0', '-450', '0', '1');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `invoice_details` (`invoice_details_id`, `invoice_id`, `product_id`, `batch_id`, `cartoon`, `quantity`, `rate`, `manufacturer_rate`, `total_price`, `discount`, `tax`, `paid_amount`, `due_amount`, `status`) VALUES ('379484239395735', '4715649262', '72236475', '4433', NULL, '-5', '500', NULL, '-2500', '0', '0', '-2500', '0', '1');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `invoice_details` (`invoice_details_id`, `invoice_id`, `product_id`, `batch_id`, `cartoon`, `quantity`, `rate`, `manufacturer_rate`, `total_price`, `discount`, `tax`, `paid_amount`, `due_amount`, `status`) VALUES ('942566834376212', '4715649262', '72236475', '4433', NULL, '-3', '500', NULL, '-1500', '0', '0', '-1500', '0', '1');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `invoice_details` (`invoice_details_id`, `invoice_id`, `product_id`, `batch_id`, `cartoon`, `quantity`, `rate`, `manufacturer_rate`, `total_price`, `discount`, `tax`, `paid_amount`, `due_amount`, `status`) VALUES ('636132847934119', '6583315914', '25792274', '1256sd', NULL, '10', '65', '50', '650', '0', '32.5', '0', '682.5', '1');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `invoice_details` (`invoice_details_id`, `invoice_id`, `product_id`, `batch_id`, `cartoon`, `quantity`, `rate`, `manufacturer_rate`, `total_price`, `discount`, `tax`, `paid_amount`, `due_amount`, `status`) VALUES ('745241942954755', '4748393883', '25792274', '1256sd', NULL, '10', '65', '50', '650', '0', '32.5', '682.5', '0', '1');
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;



#
# TABLE STRUCTURE FOR: language
#

DROP TABLE IF EXISTS `language`;
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;


CREATE TABLE `language` (
  `id` int(11) unsigned NOT NULL AUTO_INCREMENT,
  `phrase` text NOT NULL,
  `english` text,
  `bangla` text,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=692 DEFAULT CHARSET=utf8;
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;


INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('1', 'user_profile', 'User Profile', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('2', 'setting', 'Setting', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('3', 'language', 'Language', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('4', 'manage_users', 'Manage Users', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('5', 'add_user', 'Add User', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('6', 'manage_company', 'Manage Company', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('7', 'web_settings', 'Software Settings', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('8', 'manage_accounts', 'Manage Accounts', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('9', 'create_accounts', 'Create Accounts', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('10', 'manage_bank', 'Manage Bank', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('11', 'add_new_bank', 'Add New Bank', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('12', 'settings', 'Bank', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('13', 'closing_report', 'Closing Report', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('14', 'closing', 'Closing', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('15', 'cheque_manager', 'Cheque Manager', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('16', 'accounts_summary', 'Accounts Summary', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('17', 'expense', 'Expense', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('18', 'income', 'Income', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('19', 'accounts', 'Accounts', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('20', 'stock_report', 'Stock Report', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('21', 'stock', 'Stock', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('22', 'pos_invoice', 'POS Invoice', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('23', 'manage_invoice', 'Manage Invoice ', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('24', 'new_invoice', 'New Invoice', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('25', 'invoice', 'Invoice', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('26', 'manage_purchase', 'Manage Purchase', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('27', 'add_purchase', 'Add Purchase', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('28', 'purchase', 'Purchase', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('29', 'paid_customer', 'Paid Customer', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('30', 'manage_customer', 'Manage Customer', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('31', 'add_customer', 'Add Customer', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('32', 'customer', 'Customer', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('33', 'manufacturer_payment_actual', 'Manufacturer Payment Actual', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('34', 'manufacturer_sales_summary', 'Manufacturer  Sales Summary', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('35', 'manufacturer_sales_details', 'Manufacturer Sales Details', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('36', 'manufacturer_ledger', 'Manufacturer Ledger', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('37', 'manage_manufacturer', 'Manage Manufacturer', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('38', 'add_manufacturer', 'Add Manufacturer', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('39', 'manufacturer', 'Manufacturer', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('40', 'product_statement', 'Medicine Statement', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('41', 'manage_product', 'Manage Medicine', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('42', 'add_product', 'Add Medicine', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('43', 'product', 'Medicine', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('44', 'manage_category', 'Manage Category', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('45', 'add_category', 'Add Category', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('46', 'category', 'Medicine Category', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('47', 'sales_report_product_wise', 'Sales Report (Medicine Wise)', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('48', 'purchase_report', 'Purchase Report', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('49', 'sales_report', 'Sales Report', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('50', 'todays_report', 'Todays Report', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('51', 'report', 'Report', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('52', 'dashboard', 'Dashboard', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('53', 'online', 'Online', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('54', 'logout', 'Logout', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('56', 'total_purchase', 'Total Purchase', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('57', 'total_amount', 'Total Amount', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('58', 'manufacturer_name', 'Manufacturer  Name', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('59', 'invoice_no', 'Invoice No', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('60', 'purchase_date', 'Purchase Date', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('61', 'todays_purchase_report', 'Todays Purchase Report', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('62', 'total_sales', 'Total Sales', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('63', 'customer_name', 'Customer Name', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('64', 'sales_date', 'Sales Date', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('65', 'todays_sales_report', 'Todays Sales Report', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('66', 'home', 'Home', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('67', 'todays_sales_and_purchase_report', 'Todays sales and purchase report', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('68', 'total_ammount', 'Total Amount', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('69', 'rate', 'Sale Price', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('70', 'product_model', 'Medicine Type', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('71', 'product_name', 'Medicine Name', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('72', 'search', 'Search', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('73', 'end_date', 'End Date', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('74', 'start_date', 'Start Date', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('75', 'total_purchase_report', 'Total Purchase Report', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('76', 'total_sales_report', 'Total Sales Report', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('77', 'total_seles', 'Total Sales', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('78', 'all_stock_report', 'All Stock Report', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('79', 'search_by_product', 'Search By Medicine', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('80', 'date', 'Date', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('81', 'print', 'Print', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('82', 'stock_date', 'Stock Date', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('83', 'print_date', 'Print Date', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('84', 'sales', 'Sales', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('85', 'price', 'Price', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('86', 'sl', 'SL.', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('87', 'add_new_category', 'Add new category', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('88', 'category_name', 'Category Name', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('89', 'save', 'Save', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('90', 'delete', 'Delete', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('91', 'update', 'Update', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('92', 'action', 'Action', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('93', 'manage_your_category', 'Manage your category ', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('94', 'category_edit', 'Category Edit', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('95', 'status', 'Status', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('96', 'active', 'Active', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('97', 'inactive', 'Inactive', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('98', 'save_changes', 'Save Changes', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('99', 'save_and_add_another', 'Save And Add Another', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('100', 'model', 'Medicine Type', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('101', 'manufacturer_price', 'Manufacturer Price', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('102', 'sell_price', 'Sell Price', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('103', 'image', 'Image', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('104', 'select_one', 'Select One', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('105', 'details', 'Details', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('106', 'new_product', 'New Medicine', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('107', 'add_new_product', 'Add new medicine', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('108', 'barcode', 'Barcode', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('109', 'qr_code', 'Qr-Code', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('110', 'product_details', 'Medicine Details', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('111', 'manage_your_product', 'Manage your medicine', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('112', 'product_edit', 'Medicine Edit', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('113', 'edit_your_product', 'Edit your medicine', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('114', 'cancel', 'Cancel', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('115', 'incl_vat', 'Incl. Vat', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('116', 'money', 'Dollar', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('117', 'grand_total', 'Grand Total', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('118', 'quantity', 'Quantity', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('119', 'product_report', 'Medicine Report', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('120', 'product_sales_and_purchase_report', 'Medicine sales and purchase report', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('121', 'previous_stock', 'Previous Stock', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('122', 'out', 'Out', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('123', 'in', 'In', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('124', 'to', 'To', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('125', 'previous_balance', 'Previous Balance', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('126', 'customer_address', 'Customer Address', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('127', 'customer_mobile', 'Customer Mobile', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('128', 'customer_email', 'Customer Email', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('129', 'add_new_customer', 'Add new customer', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('130', 'balance', 'Balance', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('131', 'mobile', 'Mobile', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('132', 'address', 'Address', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('133', 'manage_your_customer', 'Manage your customer', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('134', 'customer_edit', 'Customer Edit', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('135', 'paid_customer_list', 'Paid Customer List', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('136', 'ammount', 'Amount', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('137', 'customer_ledger', 'Customer Ledger', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('138', 'manage_customer_ledger', 'Manage Customer Ledger', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('139', 'customer_information', 'Customer Information', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('140', 'debit_ammount', 'Debit Amount', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('141', 'credit_ammount', 'Credit Amount', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('142', 'balance_ammount', 'Balance Amount', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('143', 'receipt_no', 'Receipt NO', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('144', 'description', 'Description', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('145', 'debit', 'Debit', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('146', 'credit', 'Credit', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('147', 'item_information', 'Item Information', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('148', 'total', 'Total', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('149', 'please_select_manufacturer', 'Please Select Manufacturer', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('150', 'submit', 'Submit', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('151', 'submit_and_add_another', 'Submit And Add Another One', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('152', 'add_new_item', 'Add New Item', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('153', 'manage_your_purchase', 'Manage your purchase', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('154', 'purchase_edit', 'Purchase Edit', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('155', 'purchase_ledger', 'Purchase Ledger', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('156', 'invoice_information', 'Invoice Information', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('157', 'paid_ammount', 'Paid Amount', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('158', 'discount', 'Discount / Pcs.', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('159', 'save_and_paid', 'Save And Paid', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('160', 'payee_name', 'Payee Name', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('161', 'manage_your_invoice', 'Manage your invoice', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('162', 'invoice_edit', 'Invoice Edit', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('163', 'new_pos_invoice', 'New POS invoice', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('164', 'add_new_pos_invoice', 'Add new pos invoice', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('165', 'product_id', 'Medicine ID', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('166', 'paid_amount', 'Paid Amount', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('167', 'authorised_by', 'Authorised By', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('168', 'checked_by', 'Checked By', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('169', 'received_by', 'Received By', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('170', 'prepared_by', 'Prepared By', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('171', 'memo_no', 'Memo No', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('172', 'website', 'Website', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('173', 'email', 'Email', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('174', 'invoice_details', 'Invoice Details', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('175', 'reset', 'Reset', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('176', 'payment_account', 'Payment Account', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('177', 'bank_name', 'Bank Name', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('178', 'cheque_or_pay_order_no', 'Cheque/Pay Order No', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('179', 'payment_type', 'Payment Type', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('180', 'payment_from', 'Payment From', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('181', 'payment_date', 'Payment Date', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('182', 'add_income', 'Add Income', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('183', 'cash', 'Cash', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('184', 'cheque', 'Cheque', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('185', 'pay_order', 'Pay Order', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('186', 'payment_to', 'Payment To', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('187', 'total_expense_ammount', 'Total Expense Amount', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('188', 'transections', 'Transactions', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('189', 'accounts_name', 'Accounts Name', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('190', 'outflow_report', 'Expense Report', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('191', 'inflow_report', 'Income Report', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('192', 'all', 'All', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('193', 'account', 'Account', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('194', 'from', 'From', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('195', 'account_summary_report', 'Account Summary Report', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('196', 'search_by_date', 'Search By Date', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('197', 'cheque_no', 'Cheque No', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('198', 'name', 'Name', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('199', 'closing_account', 'Closing Account', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('200', 'close_your_account', 'Close your account', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('201', 'last_day_closing', 'Last Day Closing', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('202', 'cash_in', 'Cash In', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('203', 'cash_out', 'Cash Out', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('204', 'cash_in_hand', 'Cash In Hand', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('205', 'add_new_bank', 'Add New Bank', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('206', 'day_closing', 'Day Closing', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('207', 'account_closing_report', 'Account Closing Report', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('208', 'last_day_ammount', 'Last Day Amount', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('209', 'adjustment', 'Adjustment', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('210', 'pay_type', 'Pay Type', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('211', 'customer_or_manufacturer', 'Customer,Manufacturer Or Others', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('212', 'transection_id', 'Transactions ID', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('213', 'accounts_summary_report', 'Accounts Summary Report', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('214', 'bank_list', 'Bank List', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('215', 'bank_edit', 'Bank Edit', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('216', 'debit_plus', 'Debit (+)', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('217', 'credit_minus', 'Credit (-)', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('218', 'account_name', 'Account Name', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('219', 'account_type', 'Account Type', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('220', 'account_real_name', 'Account Real Name', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('221', 'manage_account', 'Manage Account', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('222', 'company_name', 'Company Name', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('223', 'edit_your_company_information', 'Edit your company information', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('224', 'company_edit', 'Company Edit', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('225', 'admin', 'Admin', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('226', 'user', 'User', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('227', 'password', 'Password', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('228', 'last_name', 'Last Name', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('229', 'first_name', 'First Name', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('230', 'add_new_user_information', 'Add new user information', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('231', 'user_type', 'User Type', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('232', 'user_edit', 'User Edit', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('233', 'rtr', 'RTR', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('234', 'ltr', 'LTR', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('235', 'ltr_or_rtr', 'LTR/RTR', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('236', 'footer_text', 'Footer Text', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('237', 'favicon', 'Favicon', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('238', 'logo', 'Logo', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('239', 'update_setting', 'Update Setting', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('240', 'update_your_web_setting', 'Update your web setting', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('241', 'login', 'Login', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('242', 'your_strong_password', 'Your strong password', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('243', 'your_unique_email', 'Your unique email', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('244', 'please_enter_your_login_information', 'Please enter your login information.', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('245', 'update_profile', 'Update Profile', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('246', 'your_profile', 'Your Profile', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('247', 're_type_password', 'Re-Type Password', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('248', 'new_password', 'New Password', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('249', 'old_password', 'Old Password', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('250', 'new_information', 'New Information', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('251', 'old_information', 'Old Information', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('252', 'change_your_information', 'Change your information', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('253', 'change_your_profile', 'Change your profile', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('254', 'profile', 'Profile', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('255', 'wrong_username_or_password', 'Wrong User Name Or Password !', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('256', 'successfully_updated', 'Successfully Updated.', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('257', 'blank_field_does_not_accept', 'Blank Field Does Not Accept !', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('258', 'successfully_changed_password', 'Successfully changed password.', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('259', 'you_are_not_authorised_person', 'You are not authorised person !', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('260', 'password_and_repassword_does_not_match', 'Passwor and re-password does not match !', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('261', 'new_password_at_least_six_character', 'New Password At Least 6 Character.', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('262', 'you_put_wrong_email_address', 'You put wrong email address !', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('263', 'cheque_ammount_asjusted', 'Cheque amount adjusted.', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('264', 'successfully_payment_paid', 'Successfully Payment Paid.', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('265', 'successfully_added', 'Successfully Added.', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('266', 'successfully_updated_2_closing_ammount_not_changeale', 'Successfully Updated -2. Note: Closing Amount Not Changeable.', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('267', 'successfully_payment_received', 'Successfully Payment Received.', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('268', 'already_inserted', 'Already Inserted !', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('269', 'successfully_delete', 'Successfully Delete.', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('270', 'successfully_created', 'Successfully Created.', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('271', 'logo_not_uploaded', 'Logo not uploaded !', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('272', 'favicon_not_uploaded', 'Favicon not uploaded !', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('273', 'manufacturer_mobile', 'Manufacturer  Mobile', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('274', 'manufacturer_address', 'Manufacturer  Address', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('275', 'manufacturer_details', 'Manufacturer Details', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('276', 'add_new_manufacturer', 'Add New Manufacturer', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('277', 'manage_suppiler', 'Manage Manufacturer', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('278', 'manage_your_manufacturer', 'Manage your Manufacturer', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('279', 'manage_manufacturer_ledger', 'Manage Manufacturer', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('280', 'invoice_id', 'Invoice ID', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('281', 'deposite_id', 'Deposite ID', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('282', 'manufacturer_actual_ledger', 'Manufacturer Actual Ledger', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('283', 'manufacturer_information', 'Manufacturer Information', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('284', 'event', 'Event', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('285', 'add_new_income', 'Add New Income', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('286', 'add_expese', 'Add Expense', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('287', 'add_new_expense', 'Add New Expense', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('288', 'total_income_ammount', 'Total Income Amount', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('289', 'create_new_invoice', 'Create New Invoice', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('290', 'create_pos_invoice', 'Create POS Invoice', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('291', 'total_profit', 'Total Profit', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('292', 'monthly_progress_report', 'Monthly Progress Report', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('293', 'total_invoice', 'Total Invoice', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('294', 'account_summary', 'Account Summary', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('295', 'total_manufacturer', 'Total manufacturer', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('296', 'total_product', 'Total Medicine', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('297', 'total_customer', 'Total Customer', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('298', 'manufacturer_edit', 'Manufacturer Edit', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('299', 'add_new_invoice', 'Add New Invoice', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('300', 'add_new_purchase', 'Add new purchase', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('301', 'currency', 'Currency', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('302', 'currency_position', 'Currency Position', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('303', 'left', 'Left', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('304', 'right', 'Right', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('305', 'add_tax', 'Add Tax', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('306', 'manage_tax', 'Manage Tax', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('307', 'add_new_tax', 'Add new tax', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('308', 'enter_tax', 'Enter Tax', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('309', 'already_exists', 'Already Exists !', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('310', 'successfully_inserted', 'Successfully Inserted.', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('311', 'tax', 'Tax', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('312', 'tax_edit', 'Tax Edit', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('313', 'product_not_added', 'Medicine not added !', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('314', 'total_tax', 'Total Tax', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('315', 'manage_your_manufacturer_details', 'Manage your Manufacturer', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('316', 'invoice_description', 'Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry\'s                                       standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book.', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('317', 'thank_you_for_choosing_us', 'Thank you very much for choosing us.', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('318', 'billing_date', 'Billing Date', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('319', 'billing_to', 'Billing To', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('320', 'billing_from', 'Billing From', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('321', 'you_cant_delete_this_product', 'Sorry !!  You can\'t delete this medicine.This medicine already used in calculation system!', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('322', 'old_customer', 'Old Customer', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('323', 'new_customer', 'New Customer', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('324', 'new_manufacturer', 'New Manufacturer', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('325', 'old_manufacturer', 'Old Manufacturer', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('326', 'credit_customer', 'Credit Customer', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('327', 'account_already_exists', 'This Account Already Exists !', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('328', 'edit_income', 'Edit Income', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('329', 'you_are_not_access_this_part', 'You are not authorised person !', NULL);
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;

INSERT INTO `language` (`id`, `phrase`, `english`, `bangla`) VALUES ('330', 'account_edit', 'Account Edit', NULL);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
INSERT INTO `language` (`phrase`) VALUES ('sales_amount');
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
INSERT INTO `language` (`phrase`) VALUES ('total_payable');
INSERT INTO `language` (`phrase`) VALUES ('total_receivable');
INSERT INTO `language` (`phrase`) VALUES ('total_bank');
INSERT INTO `language` (`phrase`) VALUES ('total_cash');
INSERT INTO `language` (`phrase`) VALUES ('no_customer');
INSERT INTO `language` (`phrase`) VALUES ('monthly_sales_performance');
INSERT INTO `language` (`phrase`) VALUES ('over_due_analysis');
INSERT INTO `language` (`phrase`) VALUES ('products');
INSERT INTO `language` (`phrase`) VALUES ('stores');
INSERT INTO `language` (`phrase`) VALUES ('customers');
INSERT INTO `language` (`phrase`) VALUES ('users');
INSERT INTO `language` (`phrase`) VALUES ('qty');
INSERT INTO `language` (`phrase`) VALUES ('value');
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
INSERT INTO `language` (`phrase`) VALUES ('backup');
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
INSERT INTO `sales_parent` (`sale_id`, `invoice_no`, `customer_id`, `sale_type_id`, `store_id`, `salesman`, `sales_date`, `sales_time`, `gurrantor_1`, `gurrantor_2`, `advance_amnt`, `lease_id`, `inquiry_officer`, `remaining_amnt`, `installment_amnt`, `package_price`, `total_amnt`) VALUES ('20181003141849', '1034', '2', '1', '2', '2', '2018-10-03', '14:18:49', NULL, NULL, '', NULL, NULL, NULL, 0, 0, '55000.00');
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1034', 'CIV', '2018-10-03 14:18:49', '1020101000002', 'Cash in hand debit For Invoice No1034', '55000.00', 0, '2', 1, '2', '2018-10-03 14:18:49', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1034', 'CIV', '2018-10-03 14:18:49', 403, 'Cost of sale debit For Invoice No1034', NULL, 0, '2', 1, '2', '2018-10-03 14:18:49', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1034', 'CIV', '2018-10-03 14:18:49', 10107, 'Inventory credit For Invoice No1034', 0, NULL, '2', 1, '2', '2018-10-03 14:18:49', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1034', 'CIV', '2018-10-03 14:18:49', NULL, 'Customer debit for Product For Invoice No1034', '55000.00', 0, '2', 1, '2', '2018-10-03 14:18:49', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1034', 'CIV', '2018-10-03 14:18:49', NULL, 'Customer credit for Paid Amount For Invoice No1034', 0, '55000.00', '2', 1, '2', '2018-10-03 14:18:49', 1);
INSERT INTO `payment_collection` (`sale_id`, `invoice_no`, `customer_id`, `receive_amnt`, `due_amnt`, `receive_by`, `receive_date`) VALUES ('20181003141849', '1034', '2', '55000.00', NULL, '2', '2018-10-03');
INSERT INTO `sale_details` (`sale_id`, `product_id`, `qty`, `sell_price`, `sale_type_id`, `lease_unit_price`) VALUES ('20181003141849', '18', '1', '55000', '1', NULL);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Sales', 'create', 'invoice_no-1034 total amount-55000.00', '2', '2018-10-03 14:18:49');
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
UPDATE `user` SET `last_login` = '2018-10-03 12:48:46', `ip_address` = '175.29.195.114'
WHERE `id` = '2';
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
UPDATE `user` SET `last_login` = '2018-10-03 15:09:59', `ip_address` = '175.29.195.114'
WHERE `id` = '2';
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
UPDATE `user` SET `last_login` = '2018-10-04 03:54:39', `ip_address` = '175.29.195.114'
WHERE `id` = '2';
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
UPDATE `language` SET `english` = 'Credit'
WHERE `phrase` = 'credit';
UPDATE `language` SET `english` = 'Credit Sale'
WHERE `phrase` = 'creditsale';
UPDATE `language` SET `english` = 'Credit Receive'
WHERE `phrase` = 'credit_receive';
UPDATE `language` SET `english` = 'Credit Sale List'
WHERE `phrase` = 'credit_sale_list';
UPDATE `language` SET `english` = 'Credit Voucher'
WHERE `phrase` = 'credit_voucher';
UPDATE `language` SET `english` = 'Customer'
WHERE `phrase` = 'customer';
UPDATE `language` SET `english` = 'Customers'
WHERE `phrase` = 'customers';
UPDATE `language` SET `english` = 'Customer CNIC'
WHERE `phrase` = 'customer_cnic';
UPDATE `language` SET `english` = 'Customer Code'
WHERE `phrase` = 'customer_code';
UPDATE `language` SET `english` = 'Customer Name'
WHERE `phrase` = 'customer_name';
UPDATE `language` SET `english` = 'Customer Overdue Recovery'
WHERE `phrase` = 'customer_recovery';
UPDATE `language` SET `english` = 'Customer Transaction'
WHERE `phrase` = 'customer_transaction';
UPDATE `language` SET `english` = 'Customer Type'
WHERE `phrase` = 'customer_type';
UPDATE `language` SET `english` = 'Chart of Accounts'
WHERE `phrase` = 'c_o_a';
UPDATE `language` SET `english` = 'Person Contact#'
WHERE `phrase` = 'c_p_contact';
UPDATE `language` SET `english` = 'Dashboard'
WHERE `phrase` = 'dashboard';
UPDATE `language` SET `english` = 'Database Backup'
WHERE `phrase` = 'database_backup';
UPDATE `language` SET `english` = 'Data Import First'
WHERE `phrase` = 'data_import_first';
UPDATE `language` SET `english` = 'Data Import Successfully!'
WHERE `phrase` = 'data_import_successfully';
UPDATE `language` SET `english` = 'Data Import To Database'
WHERE `phrase` = 'data_import_to_database';
UPDATE `language` SET `english` = 'Data Synchronize'
WHERE `phrase` = 'data_synchronize';
UPDATE `language` SET `english` = 'Data Synchronizer'
WHERE `phrase` = 'data_synchronizer';
UPDATE `language` SET `english` = 'Data Upload to Server'
WHERE `phrase` = 'data_upload_to_server';
UPDATE `language` SET `english` = 'Date'
WHERE `phrase` = 'date';
UPDATE `language` SET `english` = 'Days'
WHERE `phrase` = 'days';
UPDATE `user` SET `last_login` = '2018-10-04 08:29:26', `ip_address` = '175.29.195.114'
WHERE `id` = '2';
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
UPDATE `user` SET `last_login` = '2018-10-11 09:54:07', `ip_address` = '175.29.195.114'
WHERE `id` = '2';
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
INSERT INTO `lease` (`package_code`, `package_name`, `lease_duration`, `advance`, `markup`, `isactive`, `createby`, `createdate`) VALUES ('M001', 'Monthly bill', '30', 0.2, 0.1, 1, '2', '2018-10-11 10:06:44');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('leases', 'create', 'Lease Id-11', '2', '2018-10-11 10:06:44');
UPDATE `lease` SET `lease_id` = '11', `isactive` = 0
WHERE `lease_id` = '11';
INSERT INTO `acc_coa` (`HeadCode`, `HeadName`, `PHeadName`, `HeadLevel`, `IsActive`, `IsTransaction`, `IsGL`, `HeadType`, `IsBudget`, `IsDepreciation`, `DepreciationRate`, `CreateBy`, `CreateDate`) VALUES (40100003, 'DHN123-dhanmondi store', 'Store Expenses', '2', '1', '1', '0', 'E', '0', '0', '0', '2', '2018-10-11 10:10:42');
INSERT INTO `acc_coa` (`HeadCode`, `HeadName`, `PHeadName`, `HeadLevel`, `IsActive`, `IsTransaction`, `IsGL`, `HeadType`, `IsBudget`, `IsDepreciation`, `DepreciationRate`, `CreateBy`, `CreateDate`) VALUES (1020101000004, 'Cash-DHN123-dhanmondi store', 'Cash In Hand', '4', '1', '1', '0', 'A', '0', '0', '0', '2', '2018-10-11 10:10:42');
INSERT INTO `store` (`store_id`, `store_name`, `store_code`, `store_phone`, `store_address`, `createby`, `createdate`, `isactive`) VALUES ('', 'dhanmondi store', 'DHN123', '53452345324523', 'Baitush Saraf Mosjid Complex 149/A, Level # 3, Suite # 311 Farmgate', '2', '2018-10-11 10:10:42', 1);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Store', 'create', 'Store ID :11', '2', '2018-10-11 10:10:42');
UPDATE `store` SET `store_id` = '11', `isactive` = 0
WHERE `store_id` = '11';
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
UPDATE `user` SET `last_login` = '2018-10-11 10:19:17', `ip_address` = '175.29.195.114'
WHERE `id` = '2';
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
INSERT INTO `acc_coa` (`HeadCode`, `HeadName`, `PHeadName`, `HeadLevel`, `IsActive`, `IsTransaction`, `IsGL`, `HeadType`, `IsBudget`, `IsDepreciation`, `DepreciationRate`, `CreateBy`, `CreateDate`) VALUES (40100004, 'O123-Orlando', 'Store Expenses', '2', '1', '1', '0', 'E', '0', '0', '0', '2', '2018-10-11 10:35:38');
INSERT INTO `acc_coa` (`HeadCode`, `HeadName`, `PHeadName`, `HeadLevel`, `IsActive`, `IsTransaction`, `IsGL`, `HeadType`, `IsBudget`, `IsDepreciation`, `DepreciationRate`, `CreateBy`, `CreateDate`) VALUES (1020101000005, 'Cash-O123-Orlando', 'Cash In Hand', '4', '1', '1', '0', 'A', '0', '0', '0', '2', '2018-10-11 10:35:38');
INSERT INTO `store` (`store_id`, `store_name`, `store_code`, `store_phone`, `store_address`, `createby`, `createdate`, `isactive`) VALUES ('', 'Orlando', 'O123', '0137094093745', ' 1544 McDonald Avenue,\r\nOrlando, FL 32803', '2', '2018-10-11 10:35:38', 1);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Store', 'create', 'Store ID :12', '2', '2018-10-11 10:35:38');
INSERT INTO `acc_coa` (`HeadCode`, `HeadName`, `PHeadName`, `HeadLevel`, `IsActive`, `IsTransaction`, `IsGL`, `HeadType`, `IsBudget`, `IsDepreciation`, `DepreciationRate`, `CreateBy`, `CreateDate`) VALUES (1020301000020, 'cc-1-Leroy M. Acevedo', 'Customer Receivable', '4', '1', '1', '0', 'A', '0', '0', '0', '2', '2018-10-11 10:55:07');
INSERT INTO `customer` (`customer_id`, `customer_code`, `customer_name`, `type`, `customer_phone`, `store_id`, `job_designation`, `customer_address`, `customer_cnic`, `business_address`, `isactive`, `createby`, `createdate`, `updateby`, `updatedate`) VALUES ('', 'cc-1', 'Leroy M. Acevedo', '1', '407-894-6234', '12', 'Businessman', '1544 McDonald Avenue\r\nOrlando, FL 32803', '2342435', 'Orlando, FL 32803', '1', '2', '2018-10-11 10:55:07', '', '');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Customer', 'create', 27, '2', '2018-10-11 10:55:07');
UPDATE `customer` SET `customer_id` = '27', `isactive` = 0
WHERE `customer_id` = '27';
INSERT INTO `acc_coa` (`HeadCode`, `HeadName`, `PHeadName`, `HeadLevel`, `IsActive`, `IsTransaction`, `IsGL`, `HeadType`, `IsBudget`, `IsDepreciation`, `DepreciationRate`, `CreateBy`, `CreateDate`) VALUES (1020301000021, 'cc-2-Leroy M. Acevedo', 'Customer Receivable', '4', '1', '1', '0', 'A', '0', '0', '0', '2', '2018-10-11 11:43:31');
INSERT INTO `customer` (`customer_id`, `customer_code`, `customer_name`, `type`, `customer_phone`, `store_id`, `job_designation`, `customer_address`, `customer_cnic`, `business_address`, `isactive`, `createby`, `createdate`, `updateby`, `updatedate`) VALUES ('', 'cc-2', 'Leroy M. Acevedo', '1', '407-894-6234', '12', 'Businessman', 'dfghdfgh', '4564564356', 'gfhfgh', '1', '2', '2018-10-11 11:43:31', '', '');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Customer', 'create', 28, '2', '2018-10-11 11:43:31');
INSERT INTO `product_category` (`category_id`, `category_name`, `isactive`) VALUES ('', 'Shoes', 1);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
INSERT INTO `product_model` (`model_id`, `model_name`, `isactive`) VALUES ('', 'Nike Air Force 1 07 LV8', 1);
INSERT INTO `product_brand` (`brand_id`, `brand_name`, `isactive`) VALUES ('', 'Nike', 1);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
UPDATE `user` SET `last_login` = '2018-10-13 06:07:01', `ip_address` = '175.29.195.114'
WHERE `id` = '2';
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
UPDATE `user` SET `last_login` = '2018-10-13 06:36:04', `ip_address` = '175.29.195.114'
WHERE `id` = '2';
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
UPDATE `user` SET `last_login` = '2018-10-13 11:27:21', `ip_address` = '175.29.195.114'
WHERE `id` = '2';
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
UPDATE `store` SET `store_id` = '11', `isactive` = 1
WHERE `store_id` = '11';
INSERT INTO `acc_coa` (`HeadCode`, `HeadName`, `PHeadName`, `HeadLevel`, `IsActive`, `IsTransaction`, `IsGL`, `HeadType`, `IsBudget`, `IsDepreciation`, `DepreciationRate`, `CreateBy`, `CreateDate`) VALUES (40100005, '1234-Washington Dc store', 'Store Expenses', '2', '1', '1', '0', 'E', '0', '0', '0', '2', '2018-10-13 11:30:16');
INSERT INTO `acc_coa` (`HeadCode`, `HeadName`, `PHeadName`, `HeadLevel`, `IsActive`, `IsTransaction`, `IsGL`, `HeadType`, `IsBudget`, `IsDepreciation`, `DepreciationRate`, `CreateBy`, `CreateDate`) VALUES (1020101000006, 'Cash-1234-Washington Dc store', 'Cash In Hand', '4', '1', '1', '0', 'A', '0', '0', '0', '2', '2018-10-13 11:30:16');
INSERT INTO `store` (`store_id`, `store_name`, `store_code`, `store_phone`, `store_address`, `createby`, `createdate`, `isactive`) VALUES ('', 'Washington Dc store', '1234', '1234576867956', '3851 Bobcat Drive\r\nWashington, MD 20200', '2', '2018-10-13 11:30:16', 1);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Store', 'create', 'Store ID :13', '2', '2018-10-13 11:30:16');
INSERT INTO `acc_coa` (`HeadCode`, `HeadName`, `PHeadName`, `HeadLevel`, `IsActive`, `IsTransaction`, `IsGL`, `HeadType`, `IsBudget`, `IsDepreciation`, `DepreciationRate`, `CreateBy`, `CreateDate`) VALUES (1020301000022, 'cc-3-Betty C. Martin', 'Customer Receivable', '4', '1', '1', '0', 'A', '0', '0', '0', '2', '2018-10-13 11:32:29');
INSERT INTO `customer` (`customer_id`, `customer_code`, `customer_name`, `type`, `customer_phone`, `store_id`, `job_designation`, `customer_address`, `customer_cnic`, `business_address`, `isactive`, `createby`, `createdate`, `updateby`, `updatedate`) VALUES ('', 'cc-3', 'Betty C. Martin', '1', '4567455646', '13', 'Businessman', '3851 Bobcat Drive\r\nWashington, MD 20200', '54657868790', 'Washington, MD 20200', '1', '2', '2018-10-13 11:32:29', '', '');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Customer', 'create', 29, '2', '2018-10-13 11:32:29');
INSERT INTO `product` (`product_id`, `product_name`, `product_code`, `model`, `category`, `brand`, `unit`, `product_details`, `purchase_price`, `block_price`, `minimum_price`, `retail_price`, `createby`, `createdate`, `updateby`, `updatedate`, `isactive`) VALUES ('', 'Shoes-Nike-Nike Air Force 1 07 LV8', 'pro-1001', '7', '5', '6', NULL, '', '0', '0', '0', '0', '2', '2018-10-13 11:52:43', '', '', 1);
UPDATE `user` SET `last_login` = '2018-10-15 05:33:24', `ip_address` = '175.29.195.114'
WHERE `id` = '2';
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
UPDATE `user` SET `last_login` = '2018-10-15 07:15:07', `ip_address` = '175.29.195.114'
WHERE `id` = '2';
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
UPDATE `user` SET `last_login` = '2018-10-15 10:05:37', `ip_address` = '175.29.195.114'
WHERE `id` = '2';
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
INSERT INTO `product_unit` (`unit_id`, `unit_name`, `isactive`) VALUES ('', 'pair', 1);
INSERT INTO `product` (`product_id`, `product_name`, `product_code`, `model`, `category`, `brand`, `unit`, `product_details`, `purchase_price`, `block_price`, `minimum_price`, `retail_price`, `createby`, `createdate`, `updateby`, `updatedate`, `isactive`) VALUES ('', 'Shoes-Nike-Nike Air Force 1 07 LV8', 'pro-1001', '7', '5', '6', '5', 'Comfortable,relaxing', '0', '0', '0', '0', '2', '2018-10-15 10:07:13', '', '', 1);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Product', 'create', 'product ID :25', '2', '2018-10-15 10:07:13');
UPDATE `product` SET `product_id` = '25', `product_name` = 'Shoes-Nike-Nike Air Force 1 07 LV8', `product_code` = 'pro-1001', `model` = '7', `category` = '5', `brand` = '6', `unit` = '5', `product_details` = 'Comfortable,relaxing', `purchase_price` = '0', `block_price` = '0', `minimum_price` = '0', `retail_price` = '0', `createby` = '2', `createdate` = '2018-10-15 10:13:36', `updateby` = '2', `updatedate` = '2018-10-15 10:13:36', `isactive` = 1
WHERE `product_id` = '25';
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Product', 'update', 'product ID :25', '2', '2018-10-15 10:13:36');
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
INSERT INTO `stock_movement` (`proposal_code`, `for_store_id`, `from_store_id`, `proposal_datetime`, `proposal_by`) VALUES ('p-0001', '13', '12', '2018-10-15', '2');
INSERT INTO `stock_movement_details` (`movement_id`, `product_id`, `proposal_qty`) VALUES (38, '25', '7');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Stockmovment', 'create', 'Stockmovment ID :38', '2', '2018-10-15 11:54:06');
INSERT INTO `sales_parent` (`sale_id`, `invoice_no`, `customer_id`, `sale_type_id`, `store_id`, `salesman`, `sales_date`, `sales_time`, `gurrantor_1`, `gurrantor_2`, `advance_amnt`, `lease_id`, `inquiry_officer`, `remaining_amnt`, `installment_amnt`, `package_price`, `total_amnt`) VALUES ('20181015115455', '1000', '29', '1', '2', '2', '2018-10-15', '11:54:55', NULL, NULL, '', NULL, NULL, NULL, 0, 0, '1200.00');
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1000', 'CIV', '2018-10-15 11:54:55', NULL, 'Cash in hand debit For Invoice No1000', '1200.00', 0, '2', 1, '2', '2018-10-15 11:54:55', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1000', 'CIV', '2018-10-15 11:54:55', 403, 'Cost of sale debit For Invoice No1000', NULL, 0, '2', 1, '2', '2018-10-15 11:54:55', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1000', 'CIV', '2018-10-15 11:54:55', 10107, 'Inventory credit For Invoice No1000', 0, NULL, '2', 1, '2', '2018-10-15 11:54:55', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1000', 'CIV', '2018-10-15 11:54:55', '1020301000022', 'Customer debit for Product For Invoice No1000', '1200.00', 0, '2', 1, '2', '2018-10-15 11:54:55', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1000', 'CIV', '2018-10-15 11:54:55', '1020301000022', 'Customer credit for Paid Amount For Invoice No1000', 0, '1200.00', '2', 1, '2', '2018-10-15 11:54:55', 1);
INSERT INTO `payment_collection` (`sale_id`, `invoice_no`, `customer_id`, `receive_amnt`, `due_amnt`, `receive_by`, `receive_date`) VALUES ('20181015115455', '1000', '29', '1200.00', NULL, '2', '2018-10-15');
INSERT INTO `sale_details` (`sale_id`, `product_id`, `qty`, `sell_price`, `sale_type_id`, `lease_unit_price`) VALUES ('20181015115455', '', '2', '600', '1', NULL);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Sales', 'create', 'invoice_no-1000 total amount-1200.00', '2', '2018-10-15 11:54:55');
UPDATE `user` SET `last_login` = '2018-10-16 04:10:19', `ip_address` = '175.29.195.114'
WHERE `id` = '2';
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
UPDATE `user` SET `last_login` = '2018-10-16 10:45:49', `ip_address` = '175.29.195.114'
WHERE `id` = '2';
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
UPDATE `user` SET `last_login` = '2018-10-17 05:25:50', `ip_address` = '175.29.195.114'
WHERE `id` = '2';
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
UPDATE `user` SET `last_login` = '2018-10-17 06:06:50', `ip_address` = '175.29.195.114'
WHERE `id` = '2';
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
UPDATE `product` SET `product_id` = '25', `product_name` = 'Shoes-Nike-Nike Air Force 1 07 LV8', `product_code` = 'pro-1001', `category` = '5', `model` = '7', `unit` = '5', `brand` = '6', `product_details` = 'Comfortable,relaxing', `purchase_price` = '30', `minimum_price` = '42', `retail_price` = '45', `block_price` = '40', `isactive` = '1'
WHERE `product_id` IN('25');
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
INSERT INTO `acc_coa` (`HeadCode`, `HeadName`, `PHeadName`, `HeadLevel`, `IsActive`, `IsTransaction`, `IsGL`, `HeadType`, `IsBudget`, `IsDepreciation`, `DepreciationRate`, `CreateBy`, `CreateDate`) VALUES (40100006, '01456-GREENWOODS VALLEY Electronic store', 'Store Expenses', '2', '1', '1', '0', 'E', '0', '0', '0', '2', '2018-10-17 07:30:10');
INSERT INTO `acc_coa` (`HeadCode`, `HeadName`, `PHeadName`, `HeadLevel`, `IsActive`, `IsTransaction`, `IsGL`, `HeadType`, `IsBudget`, `IsDepreciation`, `DepreciationRate`, `CreateBy`, `CreateDate`) VALUES (1020101000007, 'Cash-01456-GREENWOODS VALLEY Electronic store', 'Cash In Hand', '4', '1', '1', '0', 'A', '0', '0', '0', '2', '2018-10-17 07:30:10');
INSERT INTO `store` (`store_id`, `store_name`, `store_code`, `store_phone`, `store_address`, `createby`, `createdate`, `isactive`) VALUES ('', 'GREENWOODS VALLEY Electronic store', '01456', '12343565678979878', '87 Murphy Street\r\nGREENWOODS VALLEY WA 6405', '2', '2018-10-17 07:30:10', 1);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Store', 'create', 'Store ID :14', '2', '2018-10-17 07:30:10');
INSERT INTO `acc_coa` (`HeadCode`, `HeadName`, `PHeadName`, `HeadLevel`, `IsActive`, `IsTransaction`, `IsGL`, `HeadType`, `IsBudget`, `IsDepreciation`, `DepreciationRate`, `CreateBy`, `CreateDate`) VALUES (1020301000023, 'cc-4-Declan Browne', 'Customer Receivable', '4', '1', '1', '0', 'A', '0', '0', '0', '2', '2018-10-17 07:32:09');
INSERT INTO `customer` (`customer_id`, `customer_code`, `customer_name`, `type`, `customer_phone`, `store_id`, `job_designation`, `customer_address`, `customer_cnic`, `business_address`, `isactive`, `createby`, `createdate`, `updateby`, `updatedate`) VALUES ('', 'cc-4', 'Declan Browne', '1', '4526576876', '14', 'Businessman', '87 Murphy Street', '12433546', '', '1', '2', '2018-10-17 07:32:09', '', '');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Customer', 'create', 30, '2', '2018-10-17 07:32:09');
INSERT INTO `acc_coa` (`HeadCode`, `HeadName`, `PHeadName`, `HeadLevel`, `IsActive`, `IsTransaction`, `IsGL`, `HeadType`, `IsBudget`, `IsDepreciation`, `DepreciationRate`, `CreateBy`, `CreateDate`) VALUES (5020200008, 'sup-1-Dean Propsting', 'Account Payable', '3', '1', '1', '0', 'L', '0', '0', '0', '2', '2018-10-17 07:43:58');
INSERT INTO `supplier` (`supplier_id`, `supplier_name`, `supplier_code`, `phone`, `address`, `email`, `contact_per_name`, `c_p_contact`, `isactive`, `createby`, `createdate`, `updateby`, `updatedate`) VALUES ('', 'Dean Propsting', 'sup-1', '56745624t646', '50 Duff Street\r\nKWELKAN WA 6490', 'sabuz.bra.92@gmail.com', '456346432543', '', 1, '2', '2018-10-17 07:43:58', '', '');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Supplier', 'create', 'Supplier ID :10', '2', '2018-10-17 07:43:58');
INSERT INTO `product_category` (`category_id`, `category_name`, `isactive`) VALUES ('', 'Tv', 1);
INSERT INTO `product_model` (`model_id`, `model_name`, `isactive`) VALUES ('', '55UH7700', 1);
INSERT INTO `product_brand` (`brand_id`, `brand_name`, `isactive`) VALUES ('', 'Samsung', 1);
INSERT INTO `product_unit` (`unit_id`, `unit_name`, `isactive`) VALUES ('', 'piece', 1);
INSERT INTO `product` (`product_id`, `product_name`, `product_code`, `model`, `category`, `brand`, `unit`, `product_details`, `purchase_price`, `block_price`, `minimum_price`, `retail_price`, `createby`, `createdate`, `updateby`, `updatedate`, `isactive`) VALUES ('', 'Tv-Samsung-55UH7700', 'pro-1002', '8', '6', '7', '6', 'stunning visual quality', '0', '0', '0', '0', '2', '2018-10-17 07:58:22', '', '', 1);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Product', 'create', 'product ID :26', '2', '2018-10-17 07:58:22');
UPDATE `user` SET `last_login` = '2018-10-17 08:59:11', `ip_address` = '175.29.195.114'
WHERE `id` = '2';
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
UPDATE `product` SET `product_id` = '26', `product_name` = 'Tv-Samsung-55UH7700', `product_code` = 'pro-1002', `category` = '6', `model` = '8', `unit` = '6', `brand` = '7', `product_details` = 'stunning visual quality', `purchase_price` = '15000', `minimum_price` = '20000', `retail_price` = '24000', `block_price` = '19000', `isactive` = '1'
WHERE `product_id` IN('26');
UPDATE `product` SET `product_id` = '25', `product_name` = 'Shoes-Nike-Nike Air Force 1 07 LV8', `product_code` = 'pro-1001', `category` = '5', `model` = '7', `unit` = '5', `brand` = '6', `product_details` = 'Comfortable,relaxing', `purchase_price` = '30', `minimum_price` = '42', `retail_price` = '45', `block_price` = '40', `isactive` = '1'
WHERE `product_id` IN('25');
INSERT INTO `purchase_order` (`po_no`, `supplier_id`, `total_amnt`, `store_id`, `warehouse_id`, `createby`, `createdate`, `isapproved`) VALUES ('20181017094447', '10', '15000.00', 0, 0, '2', '2018-10-17 09:44:47', 0);
INSERT INTO `purchase_order_details` (`row_id`, `po_no`, `product_id`, `order_qty`, `product_rate`, `discount`, `store_id`) VALUES ('458649958676183', '20181017094447', '26', '1', '15000', '', '14');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('purchase order', 'create', 'Orde Id-20181017094447 total amount-15000.00', '2', '2018-10-17 09:44:47');
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
UPDATE `purchase_order` SET `po_no` = '20181017094447', `supplier_id` = '10', `total_amnt` = '45000.00', `store_id` = 0, `warehouse_id` = 0, `createby` = '2', `createdate` = '2018-10-17 09:56:15', `isapproved` = 0
WHERE `po_no` = '20181017094447';
DELETE FROM `purchase_order_details`
WHERE `po_no` = '20181017094447';
INSERT INTO `purchase_order_details` (`row_id`, `po_no`, `product_id`, `order_qty`, `product_rate`, `discount`, `store_id`) VALUES ('923839773713388', '20181017094447', '26', '3', '15000', '0', '14');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('purchase Receive', 'update', 'Receive Id-20181017094447 total amount-45000.00', '2', '2018-10-17 09:56:15');
INSERT INTO `sales_parent` (`sale_id`, `invoice_no`, `customer_id`, `sale_type_id`, `store_id`, `salesman`, `sales_date`, `sales_time`, `gurrantor_1`, `gurrantor_2`, `advance_amnt`, `lease_id`, `inquiry_officer`, `remaining_amnt`, `installment_amnt`, `package_price`, `total_amnt`) VALUES ('20181017095807', '1001', '30', '1', '2', '2', '2018-10-17', '09:58:07', NULL, NULL, '', NULL, NULL, NULL, 0, 0, '18000.00');
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1001', 'CIV', '2018-10-17 09:58:07', NULL, 'Cash in hand debit For Invoice No1001', '18000.00', 0, '2', 1, '2', '2018-10-17 09:58:07', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1001', 'CIV', '2018-10-17 09:58:07', 403, 'Cost of sale debit For Invoice No1001', NULL, 0, '2', 1, '2', '2018-10-17 09:58:07', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1001', 'CIV', '2018-10-17 09:58:07', 10107, 'Inventory credit For Invoice No1001', 0, NULL, '2', 1, '2', '2018-10-17 09:58:07', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1001', 'CIV', '2018-10-17 09:58:07', '1020301000023', 'Customer debit for Product For Invoice No1001', '18000.00', 0, '2', 1, '2', '2018-10-17 09:58:07', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1001', 'CIV', '2018-10-17 09:58:07', '1020301000023', 'Customer credit for Paid Amount For Invoice No1001', 0, '18000.00', '2', 1, '2', '2018-10-17 09:58:07', 1);
INSERT INTO `payment_collection` (`sale_id`, `invoice_no`, `customer_id`, `receive_amnt`, `due_amnt`, `receive_by`, `receive_date`) VALUES ('20181017095807', '1001', '30', '18000.00', NULL, '2', '2018-10-17');
INSERT INTO `sale_details` (`sale_id`, `product_id`, `qty`, `sell_price`, `sale_type_id`, `lease_unit_price`) VALUES ('20181017095807', '', '1', '18000', '1', NULL);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Sales', 'create', 'invoice_no-1001 total amount-18000.00', '2', '2018-10-17 09:58:07');
UPDATE `purchase_order` SET `po_no` = '20181017094447', `supplier_id` = '10', `total_amnt` = '45000', `store_id` = 0, `warehouse_id` = 0, `createby` = '2', `createdate` = '2018-10-17 10:01:24', `isapproved` = 0
WHERE `po_no` = '20181017094447';
DELETE FROM `purchase_order_details`
WHERE `po_no` = '20181017094447';
INSERT INTO `purchase_order_details` (`row_id`, `po_no`, `product_id`, `order_qty`, `product_rate`, `discount`, `store_id`) VALUES ('285476556288888', '20181017094447', '26', '3', '15000', '0', '14');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('purchase Receive', 'update', 'Receive Id-20181017094447 total amount-45000', '2', '2018-10-17 10:01:24');
UPDATE `purchase_order` SET `po_no` = '20181017094447', `supplier_id` = '10', `total_amnt` = '45000.00', `store_id` = 0, `warehouse_id` = 0, `createby` = '2', `createdate` = '2018-10-17 10:01:46', `isapproved` = 0
WHERE `po_no` = '20181017094447';
DELETE FROM `purchase_order_details`
WHERE `po_no` = '20181017094447';
INSERT INTO `purchase_order_details` (`row_id`, `po_no`, `product_id`, `order_qty`, `product_rate`, `discount`, `store_id`) VALUES ('298678597268616', '20181017094447', '26', '3', '15000', '0', '14');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('purchase Receive', 'update', 'Receive Id-20181017094447 total amount-45000.00', '2', '2018-10-17 10:01:46');
INSERT INTO `purchase_receive` (`receive_id`, `po_no`, `supplier_id`, `store_id`, `warehouse_id`, `voucher_no`, `receive_by`, `receive_date`) VALUES ('20181017100247', '20181017094447', '10', 0, 0, 1000, '2', '2018-10-17');
INSERT INTO `purchase_receive_details` (`receive_id`, `product_id`, `receive_qty`, `product_rate`, `store_id`, `discount`) VALUES ('20181017100247', '26', '1', '15000', '14', '');
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('20181017094447', 'PO', '2018-10-17', 10107, 'PO Receive Receive No 20181017100247', '15000.00', 0, '14', 1, '2', '2018-10-17', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('20181017094447', 'PO', '2018-10-17', '5020200008', 'PO received For PO No.20181017094447 Receive No.20181017100247', 0, '15000.00', '2', 1, '2', '2018-10-17', 1);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('purchase order receive', 'create', 'Order Id- total amount-15000.00', '2', '2018-10-17 10:02:47');
INSERT INTO `sales_parent` (`sale_id`, `invoice_no`, `customer_id`, `sale_type_id`, `store_id`, `salesman`, `sales_date`, `sales_time`, `gurrantor_1`, `gurrantor_2`, `advance_amnt`, `lease_id`, `inquiry_officer`, `remaining_amnt`, `installment_amnt`, `package_price`, `total_amnt`) VALUES ('20181017100902', '1002', '30', '1', '2', '2', '2018-10-17', '10:09:02', NULL, NULL, '', NULL, NULL, NULL, 0, 0, '2400.00');
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1002', 'CIV', '2018-10-17 10:09:02', NULL, 'Cash in hand debit For Invoice No1002', '2400.00', 0, '2', 1, '2', '2018-10-17 10:09:02', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1002', 'CIV', '2018-10-17 10:09:02', 403, 'Cost of sale debit For Invoice No1002', NULL, 0, '2', 1, '2', '2018-10-17 10:09:02', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1002', 'CIV', '2018-10-17 10:09:02', 10107, 'Inventory credit For Invoice No1002', 0, NULL, '2', 1, '2', '2018-10-17 10:09:02', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1002', 'CIV', '2018-10-17 10:09:02', '1020301000023', 'Customer debit for Product For Invoice No1002', '2400.00', 0, '2', 1, '2', '2018-10-17 10:09:02', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1002', 'CIV', '2018-10-17 10:09:02', '1020301000023', 'Customer credit for Paid Amount For Invoice No1002', 0, '2400.00', '2', 1, '2', '2018-10-17 10:09:02', 1);
INSERT INTO `payment_collection` (`sale_id`, `invoice_no`, `customer_id`, `receive_amnt`, `due_amnt`, `receive_by`, `receive_date`) VALUES ('20181017100902', '1002', '30', '2400.00', NULL, '2', '2018-10-17');
INSERT INTO `sale_details` (`sale_id`, `product_id`, `qty`, `sell_price`, `sale_type_id`, `lease_unit_price`) VALUES ('20181017100902', '', '4', '600', '1', NULL);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Sales', 'create', 'invoice_no-1002 total amount-2400.00', '2', '2018-10-17 10:09:02');
DELETE FROM `sales_parent`
WHERE `sale_id` = '20181017100902';
DELETE FROM `sale_details`
WHERE `sale_id` = '20181017100902';
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('sale ', 'delete', 'sales id-20181017100902', '2', '2018-10-17 10:09:37');
DELETE FROM `sales_parent`
WHERE `sale_id` = '20181015115455';
DELETE FROM `sale_details`
WHERE `sale_id` = '20181015115455';
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('sale ', 'delete', 'sales id-20181015115455', '2', '2018-10-17 10:09:45');
UPDATE `purchase_order` SET `po_no` = '20181017094447', `supplier_id` = '10', `total_amnt` = '45000', `store_id` = 0, `warehouse_id` = 0, `createby` = '2', `createdate` = '2018-10-17 10:11:44', `isapproved` = 0
WHERE `po_no` = '20181017094447';
DELETE FROM `purchase_order_details`
WHERE `po_no` = '20181017094447';
INSERT INTO `purchase_order_details` (`row_id`, `po_no`, `product_id`, `order_qty`, `product_rate`, `discount`, `store_id`) VALUES ('846974643929844', '20181017094447', '26', '3', '15000', '0', '14');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('purchase Receive', 'update', 'Receive Id-20181017094447 total amount-45000', '2', '2018-10-17 10:11:44');
UPDATE `purchase_order` SET `po_no` = '20181017094447', `supplier_id` = '10', `total_amnt` = '45000.00', `store_id` = 0, `warehouse_id` = 0, `createby` = '2', `createdate` = '2018-10-17 10:12:46', `isapproved` = 0
WHERE `po_no` = '20181017094447';
DELETE FROM `purchase_order_details`
WHERE `po_no` = '20181017094447';
INSERT INTO `purchase_order_details` (`row_id`, `po_no`, `product_id`, `order_qty`, `product_rate`, `discount`, `store_id`) VALUES ('541717677298752', '20181017094447', '26', '3', '15000', '0', '14');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('purchase Receive', 'update', 'Receive Id-20181017094447 total amount-45000.00', '2', '2018-10-17 10:12:46');
INSERT INTO `sales_parent` (`sale_id`, `invoice_no`, `customer_id`, `sale_type_id`, `store_id`, `salesman`, `sales_date`, `sales_time`, `gurrantor_1`, `gurrantor_2`, `advance_amnt`, `lease_id`, `inquiry_officer`, `remaining_amnt`, `installment_amnt`, `package_price`, `total_amnt`) VALUES ('20181017101339', '1002', '30', '1', '2', '2', '2018-10-17', '10:13:39', NULL, NULL, '', NULL, NULL, NULL, 0, 0, '18000.00');
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1002', 'CIV', '2018-10-17 10:13:39', NULL, 'Cash in hand debit For Invoice No1002', '18000.00', 0, '2', 1, '2', '2018-10-17 10:13:39', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1002', 'CIV', '2018-10-17 10:13:39', 403, 'Cost of sale debit For Invoice No1002', NULL, 0, '2', 1, '2', '2018-10-17 10:13:39', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1002', 'CIV', '2018-10-17 10:13:39', 10107, 'Inventory credit For Invoice No1002', 0, NULL, '2', 1, '2', '2018-10-17 10:13:39', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1002', 'CIV', '2018-10-17 10:13:39', '1020301000023', 'Customer debit for Product For Invoice No1002', '18000.00', 0, '2', 1, '2', '2018-10-17 10:13:39', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1002', 'CIV', '2018-10-17 10:13:39', '1020301000023', 'Customer credit for Paid Amount For Invoice No1002', 0, '18000.00', '2', 1, '2', '2018-10-17 10:13:39', 1);
INSERT INTO `payment_collection` (`sale_id`, `invoice_no`, `customer_id`, `receive_amnt`, `due_amnt`, `receive_by`, `receive_date`) VALUES ('20181017101339', '1002', '30', '18000.00', NULL, '2', '2018-10-17');
INSERT INTO `sale_details` (`sale_id`, `product_id`, `qty`, `sell_price`, `sale_type_id`, `lease_unit_price`) VALUES ('20181017101339', '', '1', '18000', '1', NULL);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Sales', 'create', 'invoice_no-1002 total amount-18000.00', '2', '2018-10-17 10:13:39');
UPDATE `store` SET `store_id` = '11', `isactive` = 0
WHERE `store_id` = '11';
UPDATE `user` SET `last_login` = '2018-10-17 10:30:27', `ip_address` = '175.29.195.114'
WHERE `id` = '2';
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
INSERT INTO `product_model` (`model_id`, `model_name`, `isactive`) VALUES ('', '65UH8500', 1);
INSERT INTO `product` (`product_id`, `product_name`, `product_code`, `model`, `category`, `brand`, `unit`, `product_details`, `purchase_price`, `block_price`, `minimum_price`, `retail_price`, `createby`, `createdate`, `updateby`, `updatedate`, `isactive`) VALUES ('', 'Tv-Samsung-65UH8500', 'pro-1003', '9', '6', '7', '6', 'eligible for replacement', '0', '0', '0', '0', '2', '2018-10-17 10:48:54', '', '', 1);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Product', 'create', 'product ID :27', '2', '2018-10-17 10:48:54');
INSERT INTO `acc_coa` (`HeadCode`, `HeadName`, `PHeadName`, `HeadLevel`, `IsActive`, `IsTransaction`, `IsGL`, `HeadType`, `IsBudget`, `IsDepreciation`, `DepreciationRate`, `CreateBy`, `CreateDate`) VALUES (5020200009, 'sup-2-Xavier Clune', 'Account Payable', '3', '1', '1', '0', 'L', '0', '0', '0', '2', '2018-10-17 10:51:37');
INSERT INTO `supplier` (`supplier_id`, `supplier_name`, `supplier_code`, `phone`, `address`, `email`, `contact_per_name`, `c_p_contact`, `isactive`, `createby`, `createdate`, `updateby`, `updatedate`) VALUES ('', 'Xavier Clune', 'sup-2', '565765856456', '19 Beach Street\r\nRETREAT TAS 7254', 'admin@example.com', 'Harrison Preiss', '234353466', 1, '2', '2018-10-17 10:51:37', '', '');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Supplier', 'create', 'Supplier ID :11', '2', '2018-10-17 10:51:37');
INSERT INTO `acc_coa` (`HeadCode`, `HeadName`, `PHeadName`, `HeadLevel`, `IsActive`, `IsTransaction`, `IsGL`, `HeadType`, `IsBudget`, `IsDepreciation`, `DepreciationRate`, `CreateBy`, `CreateDate`) VALUES (1020301000024, 'cc-5-Connor Andrews', 'Customer Receivable', '4', '1', '1', '0', 'A', '0', '0', '0', '2', '2018-10-17 10:53:27');
INSERT INTO `customer` (`customer_id`, `customer_code`, `customer_name`, `type`, `customer_phone`, `store_id`, `job_designation`, `customer_address`, `customer_cnic`, `business_address`, `isactive`, `createby`, `createdate`, `updateby`, `updatedate`) VALUES ('', 'cc-5', 'Connor Andrews', '1', '4367326', '14', 'Businessman', '93 Insignia Way\r\nBOULDER WA 6432', '2354365', '93 Insignia Way', '1', '2', '2018-10-17 10:53:27', '', '');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Customer', 'create', 31, '2', '2018-10-17 10:53:27');
UPDATE `product` SET `product_id` = '27', `product_name` = 'Tv-Samsung-65UH8500', `product_code` = 'pro-1003', `category` = '6', `model` = '9', `unit` = '6', `brand` = '7', `product_details` = 'eligible for replacement', `purchase_price` = '17000', `minimum_price` = '22000', `retail_price` = '25000', `block_price` = '20000', `isactive` = '1'
WHERE `product_id` IN('27');
UPDATE `product` SET `product_id` = '26', `product_name` = 'Tv-Samsung-55UH7700', `product_code` = 'pro-1002', `category` = '6', `model` = '8', `unit` = '6', `brand` = '7', `product_details` = 'stunning visual quality', `purchase_price` = '15000', `minimum_price` = '20000', `retail_price` = '24000', `block_price` = '19000', `isactive` = '1'
WHERE `product_id` IN('26');
UPDATE `product` SET `product_id` = '25', `product_name` = 'Shoes-Nike-Nike Air Force 1 07 LV8', `product_code` = 'pro-1001', `category` = '5', `model` = '7', `unit` = '5', `brand` = '6', `product_details` = 'Comfortable,relaxing', `purchase_price` = '30', `minimum_price` = '42', `retail_price` = '45', `block_price` = '40', `isactive` = '1'
WHERE `product_id` IN('25');
INSERT INTO `purchase_order` (`po_no`, `supplier_id`, `total_amnt`, `store_id`, `warehouse_id`, `createby`, `createdate`, `isapproved`) VALUES ('20181017105740', '11', '51000.00', 0, 0, '2', '2018-10-17 10:57:40', 0);
INSERT INTO `purchase_order_details` (`row_id`, `po_no`, `product_id`, `order_qty`, `product_rate`, `discount`, `store_id`) VALUES ('815331651229887', '20181017105740', '27', '3', '17000', '', '14');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('purchase order', 'create', 'Orde Id-20181017105740 total amount-51000.00', '2', '2018-10-17 10:57:40');
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
INSERT INTO `purchase_order` (`po_no`, `supplier_id`, `total_amnt`, `store_id`, `warehouse_id`, `createby`, `createdate`, `isapproved`) VALUES ('20181017110326', '10', '2995.00', 0, 0, '2', '2018-10-17 11:03:26', 0);
INSERT INTO `purchase_order_details` (`row_id`, `po_no`, `product_id`, `order_qty`, `product_rate`, `discount`, `store_id`) VALUES ('236326776561431', '20181017110326', '25', '100', '30', '5', '12');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('purchase order', 'create', 'Orde Id-20181017110326 total amount-2995.00', '2', '2018-10-17 11:03:26');
INSERT INTO `purchase_receive` (`receive_id`, `po_no`, `supplier_id`, `store_id`, `warehouse_id`, `voucher_no`, `receive_by`, `receive_date`) VALUES ('20181017110418', '20181017110326', '10', 0, 0, 1001, '2', '2018-10-17');
INSERT INTO `purchase_receive_details` (`receive_id`, `product_id`, `receive_qty`, `product_rate`, `store_id`, `discount`) VALUES ('20181017110418', '25', '50', '30', '12', '5');
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('20181017110326', 'PO', '2018-10-17', 10107, 'PO Receive Receive No 20181017110418', '1495.00', 0, '12', 1, '2', '2018-10-17', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('20181017110326', 'PO', '2018-10-17', '5020200008', 'PO received For PO No.20181017110326 Receive No.20181017110418', 0, '1495.00', '2', 1, '2', '2018-10-17', 1);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('purchase order receive', 'create', 'Order Id- total amount-1495.00', '2', '2018-10-17 11:04:18');
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
INSERT INTO `sales_parent` (`sale_id`, `invoice_no`, `customer_id`, `sale_type_id`, `store_id`, `salesman`, `sales_date`, `sales_time`, `gurrantor_1`, `gurrantor_2`, `advance_amnt`, `lease_id`, `inquiry_officer`, `remaining_amnt`, `installment_amnt`, `package_price`, `total_amnt`) VALUES ('20181017110526', '1003', '29', '1', '2', '2', '2018-10-17', '11:05:26', NULL, NULL, '', NULL, NULL, NULL, 0, 0, '900.00');
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1003', 'CIV', '2018-10-17 11:05:26', NULL, 'Cash in hand debit For Invoice No1003', '900.00', 0, '2', 1, '2', '2018-10-17 11:05:26', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1003', 'CIV', '2018-10-17 11:05:26', 403, 'Cost of sale debit For Invoice No1003', NULL, 0, '2', 1, '2', '2018-10-17 11:05:26', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1003', 'CIV', '2018-10-17 11:05:26', 10107, 'Inventory credit For Invoice No1003', 0, NULL, '2', 1, '2', '2018-10-17 11:05:26', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1003', 'CIV', '2018-10-17 11:05:26', '1020301000022', 'Customer debit for Product For Invoice No1003', '900.00', 0, '2', 1, '2', '2018-10-17 11:05:26', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1003', 'CIV', '2018-10-17 11:05:26', '1020301000022', 'Customer credit for Paid Amount For Invoice No1003', 0, '900.00', '2', 1, '2', '2018-10-17 11:05:26', 1);
INSERT INTO `payment_collection` (`sale_id`, `invoice_no`, `customer_id`, `receive_amnt`, `due_amnt`, `receive_by`, `receive_date`) VALUES ('20181017110526', '1003', '29', '900.00', NULL, '2', '2018-10-17');
INSERT INTO `sale_details` (`sale_id`, `product_id`, `qty`, `sell_price`, `sale_type_id`, `lease_unit_price`) VALUES ('20181017110526', '25', '20', '45', '1', NULL);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Sales', 'create', 'invoice_no-1003 total amount-900.00', '2', '2018-10-17 11:05:26');
UPDATE `stock_movement` SET `movement_id` = '38', `proposal_code` = 'p-0001', `for_store_id` = '13', `from_store_id` = '12', `proposal_datetime` = '2018-10-15', `proposal_by` = '2', `issue_by` = '2', `for_warehouse` = 0, `from_warehouse` = 0, `issue_code` = 'is-38', `issue_datetime` = '2018-10-17 11:06:10', `issue_remarks` = '', `is_issued` = 1, `is_approved` = 1
WHERE `movement_id` = '38';
UPDATE `stock_movement_details` SET `movement_id` = '38', `product_id` = '25', `proposal_qty` = '7', `issue_qty` = '7', `received_qty` = 0
WHERE `movement_id` = '38'
AND `product_id` = '25';
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Stockmovment', 'issue', 'Stockmovment ID :38', '2', '2018-10-17 11:06:10');
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
INSERT INTO `purchase_receive` (`receive_id`, `po_no`, `supplier_id`, `store_id`, `warehouse_id`, `voucher_no`, `receive_by`, `receive_date`) VALUES ('20181017111032', '20181017105740', '11', 0, 0, 1002, '2', '2018-10-17');
INSERT INTO `purchase_receive_details` (`receive_id`, `product_id`, `receive_qty`, `product_rate`, `store_id`, `discount`) VALUES ('20181017111032', '27', '1', '17000', '14', '');
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('20181017105740', 'PO', '2018-10-17', 10107, 'PO Receive Receive No 20181017111032', '17000.00', 0, '14', 1, '2', '2018-10-17', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('20181017105740', 'PO', '2018-10-17', '5020200009', 'PO received For PO No.20181017105740 Receive No.20181017111032', 0, '17000.00', '2', 1, '2', '2018-10-17', 1);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('purchase order receive', 'create', 'Order Id- total amount-17000.00', '2', '2018-10-17 11:10:32');
UPDATE `purchase_order` SET `po_no` = '20181017094447', `supplier_id` = '10', `total_amnt` = '45000', `store_id` = 0, `warehouse_id` = 0, `createby` = '2', `createdate` = '2018-10-17 11:13:06', `isapproved` = 0
WHERE `po_no` = '20181017094447';
DELETE FROM `purchase_order_details`
WHERE `po_no` = '20181017094447';
INSERT INTO `purchase_order_details` (`row_id`, `po_no`, `product_id`, `order_qty`, `product_rate`, `discount`, `store_id`) VALUES ('183557484112843', '20181017094447', '26', '3', '15000', '0', '14');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('purchase Receive', 'update', 'Receive Id-20181017094447 total amount-45000', '2', '2018-10-17 11:13:06');
INSERT INTO `purchase_receive` (`receive_id`, `po_no`, `supplier_id`, `store_id`, `warehouse_id`, `voucher_no`, `receive_by`, `receive_date`) VALUES ('20181017111619', '20181017105740', '11', 0, 0, 1003, '2', '2018-10-17');
INSERT INTO `purchase_receive_details` (`receive_id`, `product_id`, `receive_qty`, `product_rate`, `store_id`, `discount`) VALUES ('20181017111619', '27', '1', '17000', '14', '');
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('20181017105740', 'PO', '2018-10-17', 10107, 'PO Receive Receive No 20181017111619', '17000.00', 0, '14', 1, '2', '2018-10-17', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('20181017105740', 'PO', '2018-10-17', '5020200009', 'PO received For PO No.20181017105740 Receive No.20181017111619', 0, '17000.00', '2', 1, '2', '2018-10-17', 1);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('purchase order receive', 'create', 'Order Id- total amount-17000.00', '2', '2018-10-17 11:16:19');
INSERT INTO `sales_parent` (`sale_id`, `invoice_no`, `customer_id`, `sale_type_id`, `store_id`, `salesman`, `sales_date`, `sales_time`, `gurrantor_1`, `gurrantor_2`, `advance_amnt`, `lease_id`, `inquiry_officer`, `remaining_amnt`, `installment_amnt`, `package_price`, `total_amnt`) VALUES ('20181017112656', '1004', '29', '1', '2', '2', '2018-10-17', '11:26:56', NULL, NULL, '', NULL, NULL, NULL, 0, 0, '200000.00');
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1004', 'CIV', '2018-10-17 11:26:56', NULL, 'Cash in hand debit For Invoice No1004', '200000.00', 0, '2', 1, '2', '2018-10-17 11:26:56', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1004', 'CIV', '2018-10-17 11:26:56', 403, 'Cost of sale debit For Invoice No1004', NULL, 0, '2', 1, '2', '2018-10-17 11:26:56', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1004', 'CIV', '2018-10-17 11:26:56', 10107, 'Inventory credit For Invoice No1004', 0, NULL, '2', 1, '2', '2018-10-17 11:26:56', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1004', 'CIV', '2018-10-17 11:26:56', '1020301000022', 'Customer debit for Product For Invoice No1004', '200000.00', 0, '2', 1, '2', '2018-10-17 11:26:56', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1004', 'CIV', '2018-10-17 11:26:56', '1020301000022', 'Customer credit for Paid Amount For Invoice No1004', 0, '200000.00', '2', 1, '2', '2018-10-17 11:26:56', 1);
INSERT INTO `payment_collection` (`sale_id`, `invoice_no`, `customer_id`, `receive_amnt`, `due_amnt`, `receive_by`, `receive_date`) VALUES ('20181017112656', '1004', '29', '200000.00', NULL, '2', '2018-10-17');
INSERT INTO `sale_details` (`sale_id`, `product_id`, `qty`, `sell_price`, `sale_type_id`, `lease_unit_price`) VALUES ('20181017112656', '', '1', '200000', '1', NULL);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Sales', 'create', 'invoice_no-1004 total amount-200000.00', '2', '2018-10-17 11:26:56');
UPDATE `sales_parent` SET `sale_id` = '20181017112656', `invoice_no` = '1004', `customer_id` = '29', `sale_type_id` = '1', `store_id` = '2', `salesman` = '2', `sales_date` = '2018-10-17', `sales_time` = '11:28:01', `advance_amnt` = NULL, `lease_id` = NULL, `inquiry_officer` = NULL, `total_amnt` = '600.00', `updateby` = '2', `updatedate` = '2018-10-17 11:28:01'
WHERE `sale_id` = '20181017112656';
UPDATE `payment_collection` SET `sale_id` = '20181017112656', `invoice_no` = '1004', `customer_id` = '29', `receive_amnt` = '600.00', `due_amnt` = NULL, `receive_by` = '2', `payment_date` = '2018-10-17'
WHERE `sale_id` = '20181017112656';
DELETE FROM `sale_details`
WHERE `sale_id` = '20181017112656';
INSERT INTO `sale_details` (`sale_id`, `product_id`, `qty`, `sell_price`, `sale_type_id`) VALUES ('20181017112656', '', '1', '600', '1');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Sales', 'update', 'invoice_no-1004 total amount-600.00', '2', '2018-10-17 11:28:01');
UPDATE `sales_parent` SET `sale_id` = '20181017112656', `invoice_no` = '1004', `customer_id` = '29', `sale_type_id` = '1', `store_id` = '2', `salesman` = '2', `sales_date` = '2018-10-17', `sales_time` = '11:28:27', `advance_amnt` = NULL, `lease_id` = NULL, `inquiry_officer` = NULL, `total_amnt` = '20000.00', `updateby` = '2', `updatedate` = '2018-10-17 11:28:27'
WHERE `sale_id` = '20181017112656';
UPDATE `payment_collection` SET `sale_id` = '20181017112656', `invoice_no` = '1004', `customer_id` = '29', `receive_amnt` = '20000.00', `due_amnt` = NULL, `receive_by` = '2', `payment_date` = '2018-10-17'
WHERE `sale_id` = '20181017112656';
DELETE FROM `sale_details`
WHERE `sale_id` = '20181017112656';
INSERT INTO `sale_details` (`sale_id`, `product_id`, `qty`, `sell_price`, `sale_type_id`) VALUES ('20181017112656', '', '1', '20000', '1');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Sales', 'update', 'invoice_no-1004 total amount-20000.00', '2', '2018-10-17 11:28:27');
INSERT INTO `acc_coa` (`HeadCode`, `HeadName`, `PHeadName`, `HeadLevel`, `IsActive`, `IsTransaction`, `IsGL`, `HeadType`, `IsBudget`, `IsDepreciation`, `DepreciationRate`, `CreateBy`, `CreateDate`) VALUES (1020301000025, 'cc-6-Tristan Palmerston', 'Customer Receivable', '4', '1', '1', '0', 'A', '0', '0', '0', '2', '2018-10-17 11:31:20');
INSERT INTO `customer` (`customer_id`, `customer_code`, `customer_name`, `type`, `customer_phone`, `store_id`, `job_designation`, `customer_address`, `customer_cnic`, `business_address`, `isactive`, `createby`, `createdate`, `updateby`, `updatedate`) VALUES ('', 'cc-6', 'Tristan Palmerston', '1', '573354', '14', 'Businessman', '34 Carolina Park Road\r\nFORRESTERS BEACH NSW 2260', '34543657', '34 Carolina Park Road', '1', '2', '2018-10-17 11:31:20', '', '');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Customer', 'create', 32, '2', '2018-10-17 11:31:20');
INSERT INTO `acc_coa` (`HeadCode`, `HeadName`, `PHeadName`, `HeadLevel`, `IsActive`, `IsTransaction`, `IsGL`, `HeadType`, `IsBudget`, `IsDepreciation`, `DepreciationRate`, `CreateBy`, `CreateDate`) VALUES (1020301000026, 'cc-7-Hamish Brunskill', 'Customer Receivable', '4', '1', '1', '0', 'A', '0', '0', '0', '2', '2018-10-17 11:32:55');
INSERT INTO `customer` (`customer_id`, `customer_code`, `customer_name`, `type`, `customer_phone`, `store_id`, `job_designation`, `customer_address`, `customer_cnic`, `business_address`, `isactive`, `createby`, `createdate`, `updateby`, `updatedate`) VALUES ('', 'cc-7', 'Hamish Brunskill', '1', '23536675462', '14', 'Banker', '15 Marloo Street\r\nCAMPBELLTOWN SA 5074', '4354654654', '15 Marloo Street', '1', '2', '2018-10-17 11:32:55', '', '');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Customer', 'create', 33, '2', '2018-10-17 11:32:55');
INSERT INTO `acc_coa` (`HeadCode`, `HeadName`, `PHeadName`, `HeadLevel`, `IsActive`, `IsTransaction`, `IsGL`, `HeadType`, `IsBudget`, `IsDepreciation`, `DepreciationRate`, `CreateBy`, `CreateDate`) VALUES (40100007, '0111-McKillop Street', 'Store Expenses', '2', '1', '1', '0', 'E', '0', '0', '0', '2', '2018-10-17 11:34:48');
INSERT INTO `acc_coa` (`HeadCode`, `HeadName`, `PHeadName`, `HeadLevel`, `IsActive`, `IsTransaction`, `IsGL`, `HeadType`, `IsBudget`, `IsDepreciation`, `DepreciationRate`, `CreateBy`, `CreateDate`) VALUES (1020101000008, 'Cash-0111-McKillop Street', 'Cash In Hand', '4', '1', '1', '0', 'A', '0', '0', '0', '2', '2018-10-17 11:34:48');
INSERT INTO `store` (`store_id`, `store_name`, `store_code`, `store_phone`, `store_address`, `createby`, `createdate`, `isactive`) VALUES ('', 'McKillop Street', '0111', '234242535', '70,McKillop Street', '2', '2018-10-17 11:34:48', 1);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Store', 'create', 'Store ID :15', '2', '2018-10-17 11:34:48');
INSERT INTO `acc_coa` (`HeadCode`, `HeadName`, `PHeadName`, `HeadLevel`, `IsActive`, `IsTransaction`, `IsGL`, `HeadType`, `IsBudget`, `IsDepreciation`, `DepreciationRate`, `CreateBy`, `CreateDate`) VALUES (1020301000027, 'cc-8-Zac Maas', 'Customer Receivable', '4', '1', '1', '0', 'A', '0', '0', '0', '2', '2018-10-17 11:36:00');
INSERT INTO `customer` (`customer_id`, `customer_code`, `customer_name`, `type`, `customer_phone`, `store_id`, `job_designation`, `customer_address`, `customer_cnic`, `business_address`, `isactive`, `createby`, `createdate`, `updateby`, `updatedate`) VALUES ('', 'cc-8', 'Zac Maas', '1', '3543656564', '15', 'Banker', '4 McKillop Street\r\nMAFEKING VIC 3379', '34535436', '4 McKillop Street', '1', '2', '2018-10-17 11:36:00', '', '');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Customer', 'create', 34, '2', '2018-10-17 11:36:00');
INSERT INTO `acc_coa` (`HeadCode`, `HeadName`, `PHeadName`, `HeadLevel`, `IsActive`, `IsTransaction`, `IsGL`, `HeadType`, `IsBudget`, `IsDepreciation`, `DepreciationRate`, `CreateBy`, `CreateDate`) VALUES (1020301000028, 'cc-9-Hudson Higgs', 'Customer Receivable', '4', '1', '1', '0', 'A', '0', '0', '0', '2', '2018-10-17 11:37:20');
INSERT INTO `customer` (`customer_id`, `customer_code`, `customer_name`, `type`, `customer_phone`, `store_id`, `job_designation`, `customer_address`, `customer_cnic`, `business_address`, `isactive`, `createby`, `createdate`, `updateby`, `updatedate`) VALUES ('', 'cc-9', 'Hudson Higgs', '1', '354546346', '15', 'Businessman', '5 Feather Street\r\nDICKY BEACH QLD 4551', '3435436', '5 Feather Street', '1', '2', '2018-10-17 11:37:20', '', '');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Customer', 'create', 35, '2', '2018-10-17 11:37:20');
INSERT INTO `acc_coa` (`HeadCode`, `HeadName`, `PHeadName`, `HeadLevel`, `IsActive`, `IsTransaction`, `IsGL`, `HeadType`, `IsBudget`, `IsDepreciation`, `DepreciationRate`, `CreateBy`, `CreateDate`) VALUES (1020301000029, 'cc-10-Bailey Condon', 'Customer Receivable', '4', '1', '1', '0', 'A', '0', '0', '0', '2', '2018-10-17 11:38:17');
INSERT INTO `customer` (`customer_id`, `customer_code`, `customer_name`, `type`, `customer_phone`, `store_id`, `job_designation`, `customer_address`, `customer_cnic`, `business_address`, `isactive`, `createby`, `createdate`, `updateby`, `updatedate`) VALUES ('', 'cc-10', 'Bailey Condon', '1', '345346564', '15', 'Businessman', '19 Henley Beach Road\r\nGREENHILL SA 5140', '436346361', '19 Henley Beach Road', '1', '2', '2018-10-17 11:38:17', '', '');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Customer', 'create', 36, '2', '2018-10-17 11:38:17');
INSERT INTO `acc_coa` (`HeadCode`, `HeadName`, `PHeadName`, `HeadLevel`, `IsActive`, `IsTransaction`, `IsGL`, `HeadType`, `IsBudget`, `IsDepreciation`, `DepreciationRate`, `CreateBy`, `CreateDate`) VALUES (1020301000030, 'cc-11-Andrew Rowcroft', 'Customer Receivable', '4', '1', '1', '0', 'A', '0', '0', '0', '2', '2018-10-17 11:39:21');
INSERT INTO `customer` (`customer_id`, `customer_code`, `customer_name`, `type`, `customer_phone`, `store_id`, `job_designation`, `customer_address`, `customer_cnic`, `business_address`, `isactive`, `createby`, `createdate`, `updateby`, `updatedate`) VALUES ('', 'cc-11', 'Andrew Rowcroft', '1', '3163416314', '14', 'Businessman', '23 Church Street\r\nWALTOWA SA 5264', '3463464313', '23 Church Street', '1', '2', '2018-10-17 11:39:21', '', '');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Customer', 'create', 37, '2', '2018-10-17 11:39:21');
INSERT INTO `product_category` (`category_id`, `category_name`, `isactive`) VALUES ('', 'Refrigerator', 1);
INSERT INTO `product_category` (`category_id`, `category_name`, `isactive`) VALUES ('', 'Mobile-phone', 1);
INSERT INTO `product_category` (`category_id`, `category_name`, `isactive`) VALUES ('', 'Washing-machine', 1);
INSERT INTO `product_model` (`model_id`, `model_name`, `isactive`) VALUES ('', 'OLED65G6P', 1);
INSERT INTO `product_brand` (`brand_id`, `brand_name`, `isactive`) VALUES ('', 'Walton', 1);
INSERT INTO `product` (`product_id`, `product_name`, `product_code`, `model`, `category`, `brand`, `unit`, `product_details`, `purchase_price`, `block_price`, `minimum_price`, `retail_price`, `createby`, `createdate`, `updateby`, `updatedate`, `isactive`) VALUES ('', 'Tv-Samsung-OLED65G6P', 'pro-1004', '10', '6', '7', '6', 'Perfect Black Panel', '0', '0', '0', '0', '2', '2018-10-17 11:54:23', '', '', 1);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Product', 'create', 'product ID :28', '2', '2018-10-17 11:54:23');
INSERT INTO `purchase_order` (`po_no`, `supplier_id`, `total_amnt`, `store_id`, `warehouse_id`, `createby`, `createdate`, `isapproved`) VALUES ('20181017115555', '10', '0.00', 0, 0, '2', '2018-10-17 11:55:55', 0);
INSERT INTO `purchase_order_details` (`row_id`, `po_no`, `product_id`, `order_qty`, `product_rate`, `discount`, `store_id`) VALUES ('993452137526264', '20181017115555', '28', '3', '0', '', '');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('purchase order', 'create', 'Orde Id-20181017115555 total amount-0.00', '2', '2018-10-17 11:55:55');
UPDATE `product` SET `product_id` = '28', `product_name` = 'Tv-Samsung-OLED65G6P', `product_code` = 'pro-1004', `category` = '6', `model` = '10', `unit` = '6', `brand` = '7', `product_details` = 'Perfect Black Panel', `purchase_price` = '17000', `minimum_price` = '22000', `retail_price` = '25000', `block_price` = '20000', `isactive` = '1'
WHERE `product_id` IN('28');
UPDATE `product` SET `product_id` = '27', `product_name` = 'Tv-Samsung-65UH8500', `product_code` = 'pro-1003', `category` = '6', `model` = '9', `unit` = '6', `brand` = '7', `product_details` = 'eligible for replacement', `purchase_price` = '17000', `minimum_price` = '22000', `retail_price` = '25000', `block_price` = '20000', `isactive` = '1'
WHERE `product_id` IN('27');
UPDATE `product` SET `product_id` = '26', `product_name` = 'Tv-Samsung-55UH7700', `product_code` = 'pro-1002', `category` = '6', `model` = '8', `unit` = '6', `brand` = '7', `product_details` = 'stunning visual quality', `purchase_price` = '15000', `minimum_price` = '20000', `retail_price` = '24000', `block_price` = '19000', `isactive` = '1'
WHERE `product_id` IN('26');
UPDATE `product` SET `product_id` = '25', `product_name` = 'Shoes-Nike-Nike Air Force 1 07 LV8', `product_code` = 'pro-1001', `category` = '5', `model` = '7', `unit` = '5', `brand` = '6', `product_details` = 'Comfortable,relaxing', `purchase_price` = '30', `minimum_price` = '42', `retail_price` = '45', `block_price` = '40', `isactive` = '1'
WHERE `product_id` IN('25');
INSERT INTO `purchase_order` (`po_no`, `supplier_id`, `total_amnt`, `store_id`, `warehouse_id`, `createby`, `createdate`, `isapproved`) VALUES ('20181017115747', '10', '51000.00', 0, 0, '2', '2018-10-17 11:57:47', 0);
INSERT INTO `purchase_order_details` (`row_id`, `po_no`, `product_id`, `order_qty`, `product_rate`, `discount`, `store_id`) VALUES ('783596374156617', '20181017115747', '28', '3', '17000', '', '');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('purchase order', 'create', 'Orde Id-20181017115747 total amount-51000.00', '2', '2018-10-17 11:57:47');
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
UPDATE `purchase_order` SET `po_no` = '20181017115747', `supplier_id` = '10', `total_amnt` = '51000.00', `store_id` = 0, `warehouse_id` = 0, `createby` = '2', `createdate` = '2018-10-17 12:00:43', `isapproved` = 0
WHERE `po_no` = '20181017115747';
DELETE FROM `purchase_order_details`
WHERE `po_no` = '20181017115747';
INSERT INTO `purchase_order_details` (`row_id`, `po_no`, `product_id`, `order_qty`, `product_rate`, `discount`, `store_id`) VALUES ('394289128384733', '20181017115747', '28', '3', '17000', '', '');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('purchase Receive', 'update', 'Receive Id-20181017115747 total amount-51000.00', '2', '2018-10-17 12:00:43');
INSERT INTO `purchase_receive` (`receive_id`, `po_no`, `supplier_id`, `store_id`, `warehouse_id`, `voucher_no`, `receive_by`, `receive_date`) VALUES ('20181017120118', '20181017105740', '11', 0, 0, 1004, '2', '2018-10-17');
INSERT INTO `purchase_receive_details` (`receive_id`, `product_id`, `receive_qty`, `product_rate`, `store_id`, `discount`) VALUES ('20181017120118', '27', '1', '17000', '14', '0');
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('20181017105740', 'PO', '2018-10-17', 10107, 'PO Receive Receive No 20181017120118', '17000.00', 0, '14', 1, '2', '2018-10-17', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('20181017105740', 'PO', '2018-10-17', '5020200009', 'PO received For PO No.20181017105740 Receive No.20181017120118', 0, '17000.00', '2', 1, '2', '2018-10-17', 1);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('purchase order receive', 'create', 'Order Id- total amount-17000.00', '2', '2018-10-17 12:01:18');
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
INSERT INTO `purchase_order` (`po_no`, `supplier_id`, `total_amnt`, `store_id`, `warehouse_id`, `createby`, `createdate`, `isapproved`) VALUES ('20181017120612', '11', '51000.00', 0, 0, '2', '2018-10-17 12:06:12', 0);
INSERT INTO `purchase_order_details` (`row_id`, `po_no`, `product_id`, `order_qty`, `product_rate`, `discount`, `store_id`) VALUES ('547553328791869', '20181017120612', '28', '3', '17000', '', '');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('purchase order', 'create', 'Orde Id-20181017120612 total amount-51000.00', '2', '2018-10-17 12:06:12');
UPDATE `purchase_order` SET `po_no` = '20181017120612', `supplier_id` = '11', `total_amnt` = '51000', `store_id` = 0, `warehouse_id` = 0, `createby` = '2', `createdate` = '2018-10-17 12:07:09', `isapproved` = 0
WHERE `po_no` = '20181017120612';
DELETE FROM `purchase_order_details`
WHERE `po_no` = '20181017120612';
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('purchase Receive', 'update', 'Receive Id-20181017120612 total amount-51000', '2', '2018-10-17 12:07:09');
INSERT INTO `purchase_order` (`po_no`, `supplier_id`, `total_amnt`, `store_id`, `warehouse_id`, `createby`, `createdate`, `isapproved`) VALUES ('20181017120907', '11', '170000.00', 0, 0, '2', '2018-10-17 12:09:07', 0);
INSERT INTO `purchase_order_details` (`row_id`, `po_no`, `product_id`, `order_qty`, `product_rate`, `discount`, `store_id`) VALUES ('558242679181152', '20181017120907', '28', '10', '17000', '', '');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('purchase order', 'create', 'Orde Id-20181017120907 total amount-170000.00', '2', '2018-10-17 12:09:07');
INSERT INTO `purchase_order` (`po_no`, `supplier_id`, `total_amnt`, `store_id`, `warehouse_id`, `createby`, `createdate`, `isapproved`) VALUES ('20181017121049', '11', '170000.00', 0, 0, '2', '2018-10-17 12:10:49', 0);
INSERT INTO `purchase_order_details` (`row_id`, `po_no`, `product_id`, `order_qty`, `product_rate`, `discount`, `store_id`) VALUES ('869858179368114', '20181017121049', '28', '10', '17000', '', '');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('purchase order', 'create', 'Orde Id-20181017121049 total amount-170000.00', '2', '2018-10-17 12:10:49');
DELETE FROM `purchase_order`
WHERE `po_no` = '20181017120907';
DELETE FROM `purchase_order_details`
WHERE `po_no` = '20181017120907';
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('purchase order', 'delete', 'Orde Id-20181017120907', '2', '2018-10-17 12:10:57');
INSERT INTO `purchase_receive` (`receive_id`, `po_no`, `supplier_id`, `store_id`, `warehouse_id`, `voucher_no`, `receive_by`, `receive_date`) VALUES ('20181017121203', '20181017110326', '10', 0, 0, 1005, '2', '2018-10-17');
INSERT INTO `purchase_receive_details` (`receive_id`, `product_id`, `receive_qty`, `product_rate`, `store_id`, `discount`) VALUES ('20181017121203', '25', '1', '30', '12', '');
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('20181017110326', 'PO', '2018-10-17', 10107, 'PO Receive Receive No 20181017121203', '30.00', 0, '12', 1, '2', '2018-10-17', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('20181017110326', 'PO', '2018-10-17', '5020200008', 'PO received For PO No.20181017110326 Receive No.20181017121203', 0, '30.00', '2', 1, '2', '2018-10-17', 1);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('purchase order receive', 'create', 'Order Id- total amount-30.00', '2', '2018-10-17 12:12:03');
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
INSERT INTO `sales_parent` (`sale_id`, `invoice_no`, `customer_id`, `sale_type_id`, `store_id`, `salesman`, `sales_date`, `sales_time`, `gurrantor_1`, `gurrantor_2`, `advance_amnt`, `lease_id`, `inquiry_officer`, `remaining_amnt`, `installment_amnt`, `package_price`, `total_amnt`) VALUES ('20181017121636', '1005', '32', '1', '2', '2', '2018-10-17', '12:16:36', NULL, NULL, '', NULL, NULL, NULL, 0, 0, '45.00');
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1005', 'CIV', '2018-10-17 12:16:36', NULL, 'Cash in hand debit For Invoice No1005', '45.00', 0, '2', 1, '2', '2018-10-17 12:16:36', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1005', 'CIV', '2018-10-17 12:16:36', 403, 'Cost of sale debit For Invoice No1005', NULL, 0, '2', 1, '2', '2018-10-17 12:16:36', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1005', 'CIV', '2018-10-17 12:16:36', 10107, 'Inventory credit For Invoice No1005', 0, NULL, '2', 1, '2', '2018-10-17 12:16:36', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1005', 'CIV', '2018-10-17 12:16:36', '1020301000025', 'Customer debit for Product For Invoice No1005', '45.00', 0, '2', 1, '2', '2018-10-17 12:16:36', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1005', 'CIV', '2018-10-17 12:16:36', '1020301000025', 'Customer credit for Paid Amount For Invoice No1005', 0, '45.00', '2', 1, '2', '2018-10-17 12:16:36', 1);
INSERT INTO `payment_collection` (`sale_id`, `invoice_no`, `customer_id`, `receive_amnt`, `due_amnt`, `receive_by`, `receive_date`) VALUES ('20181017121636', '1005', '32', '45.00', NULL, '2', '2018-10-17');
INSERT INTO `sale_details` (`sale_id`, `product_id`, `qty`, `sell_price`, `sale_type_id`, `lease_unit_price`) VALUES ('20181017121636', '25', '1', '45', '1', NULL);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Sales', 'create', 'invoice_no-1005 total amount-45.00', '2', '2018-10-17 12:16:36');
INSERT INTO `purchase_order` (`po_no`, `supplier_id`, `total_amnt`, `store_id`, `warehouse_id`, `createby`, `createdate`, `isapproved`) VALUES ('20181017122218', '11', '170000.00', 0, 0, '2', '2018-10-17 12:22:18', 0);
INSERT INTO `purchase_order_details` (`row_id`, `po_no`, `product_id`, `order_qty`, `product_rate`, `discount`, `store_id`) VALUES ('419865335225877', '20181017122218', '28', '10', '17000', '', '');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('purchase order', 'create', 'Orde Id-20181017122218 total amount-170000.00', '2', '2018-10-17 12:22:18');
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
UPDATE `product` SET `product_id` = '28', `product_name` = 'Tv-Samsung-OLED65G6P', `product_code` = 'pro-1004', `model` = '10', `category` = '6', `brand` = '7', `unit` = '6', `product_details` = 'Perfect Black Panel', `purchase_price` = '17000', `block_price` = '20000', `minimum_price` = '22000', `retail_price` = '25000', `createby` = '2', `createdate` = '2018-10-17 12:27:03', `updateby` = '2', `updatedate` = '2018-10-17 12:27:03', `isactive` = 1
WHERE `product_id` = '28';
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Product', 'update', 'product ID :28', '2', '2018-10-17 12:27:03');
UPDATE `product` SET `product_id` = '28', `product_name` = 'Tv-Samsung-OLED65G6P', `product_code` = 'pro-1004', `category` = '6', `model` = '10', `unit` = '6', `brand` = '7', `product_details` = 'Perfect Black Panel', `purchase_price` = '18000', `minimum_price` = '23000', `retail_price` = '26000', `block_price` = '21000', `isactive` = '1'
WHERE `product_id` IN('28');
UPDATE `product` SET `product_id` = '27', `product_name` = 'Tv-Samsung-65UH8500', `product_code` = 'pro-1003', `category` = '6', `model` = '9', `unit` = '6', `brand` = '7', `product_details` = 'eligible for replacement', `purchase_price` = '17000', `minimum_price` = '22000', `retail_price` = '25000', `block_price` = '20000', `isactive` = '1'
WHERE `product_id` IN('27');
UPDATE `product` SET `product_id` = '26', `product_name` = 'Tv-Samsung-55UH7700', `product_code` = 'pro-1002', `category` = '6', `model` = '8', `unit` = '6', `brand` = '7', `product_details` = 'stunning visual quality', `purchase_price` = '15000', `minimum_price` = '20000', `retail_price` = '24000', `block_price` = '19000', `isactive` = '1'
WHERE `product_id` IN('26');
UPDATE `product` SET `product_id` = '25', `product_name` = 'Shoes-Nike-Nike Air Force 1 07 LV8', `product_code` = 'pro-1001', `category` = '5', `model` = '7', `unit` = '5', `brand` = '6', `product_details` = 'Comfortable,relaxing', `purchase_price` = '30', `minimum_price` = '42', `retail_price` = '45', `block_price` = '40', `isactive` = '1'
WHERE `product_id` IN('25');
INSERT INTO `purchase_order` (`po_no`, `supplier_id`, `total_amnt`, `store_id`, `warehouse_id`, `createby`, `createdate`, `isapproved`) VALUES ('20181017122848', '11', '180000.00', 0, 0, '2', '2018-10-17 12:28:48', 0);
INSERT INTO `purchase_order_details` (`row_id`, `po_no`, `product_id`, `order_qty`, `product_rate`, `discount`, `store_id`) VALUES ('547864591133185', '20181017122848', '28', '10', '18000', '', '');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('purchase order', 'create', 'Orde Id-20181017122848 total amount-180000.00', '2', '2018-10-17 12:28:48');
INSERT INTO `purchase_order` (`po_no`, `supplier_id`, `total_amnt`, `store_id`, `warehouse_id`, `createby`, `createdate`, `isapproved`) VALUES ('20181017123341', '11', '900000.00', 0, 0, '2', '2018-10-17 12:33:41', 0);
INSERT INTO `purchase_order_details` (`row_id`, `po_no`, `product_id`, `order_qty`, `product_rate`, `discount`, `store_id`) VALUES ('775637163338834', '20181017123341', '26', '60', '15000', '', '15');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('purchase order', 'create', 'Orde Id-20181017123341 total amount-900000.00', '2', '2018-10-17 12:33:41');
INSERT INTO `purchase_receive` (`receive_id`, `po_no`, `supplier_id`, `store_id`, `warehouse_id`, `voucher_no`, `receive_by`, `receive_date`) VALUES ('20181017123505', '20181017123341', '11', 0, 0, 1006, '2', '2018-10-17');
INSERT INTO `purchase_receive_details` (`receive_id`, `product_id`, `receive_qty`, `product_rate`, `store_id`, `discount`) VALUES ('20181017123505', '26', '40', '15000', '15', '');
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('20181017123341', 'PO', '2018-10-17', 10107, 'PO Receive Receive No 20181017123505', '600000.00', 0, '15', 1, '2', '2018-10-17', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('20181017123341', 'PO', '2018-10-17', '5020200009', 'PO received For PO No.20181017123341 Receive No.20181017123505', 0, '600000.00', '2', 1, '2', '2018-10-17', 1);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('purchase order receive', 'create', 'Order Id- total amount-600000.00', '2', '2018-10-17 12:35:05');
INSERT INTO `purchase_order` (`po_no`, `supplier_id`, `total_amnt`, `store_id`, `warehouse_id`, `createby`, `createdate`, `isapproved`) VALUES ('20181017123807', '11', '54000.00', 0, 0, '2', '2018-10-17 12:38:07', 0);
INSERT INTO `purchase_order_details` (`row_id`, `po_no`, `product_id`, `order_qty`, `product_rate`, `discount`, `store_id`) VALUES ('798629917857111', '20181017123807', '28', '3', '18000', '', '14');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('purchase order', 'create', 'Orde Id-20181017123807 total amount-54000.00', '2', '2018-10-17 12:38:07');
INSERT INTO `purchase_receive` (`receive_id`, `po_no`, `supplier_id`, `store_id`, `warehouse_id`, `voucher_no`, `receive_by`, `receive_date`) VALUES ('20181017123950', '20181017123807', '11', 0, 0, 1007, '2', '2018-10-17');
INSERT INTO `purchase_receive_details` (`receive_id`, `product_id`, `receive_qty`, `product_rate`, `store_id`, `discount`) VALUES ('20181017123950', '28', '3', '18000', '14', '');
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('20181017123807', 'PO', '2018-10-17', 10107, 'PO Receive Receive No 20181017123950', '54000.00', 0, '14', 1, '2', '2018-10-17', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('20181017123807', 'PO', '2018-10-17', '5020200009', 'PO received For PO No.20181017123807 Receive No.20181017123950', 0, '54000.00', '2', 1, '2', '2018-10-17', 1);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('purchase order receive', 'create', 'Order Id- total amount-54000.00', '2', '2018-10-17 12:39:50');
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
INSERT INTO `sales_parent` (`sale_id`, `invoice_no`, `customer_id`, `sale_type_id`, `store_id`, `salesman`, `sales_date`, `sales_time`, `gurrantor_1`, `gurrantor_2`, `advance_amnt`, `lease_id`, `inquiry_officer`, `remaining_amnt`, `installment_amnt`, `package_price`, `total_amnt`) VALUES ('20181017124046', '1006', '30', '1', '2', '2', '2018-10-17', '12:40:46', NULL, NULL, '', NULL, NULL, NULL, 0, 0, '50000.00');
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1006', 'CIV', '2018-10-17 12:40:46', NULL, 'Cash in hand debit For Invoice No1006', '50000.00', 0, '2', 1, '2', '2018-10-17 12:40:46', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1006', 'CIV', '2018-10-17 12:40:46', 403, 'Cost of sale debit For Invoice No1006', NULL, 0, '2', 1, '2', '2018-10-17 12:40:46', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1006', 'CIV', '2018-10-17 12:40:46', 10107, 'Inventory credit For Invoice No1006', 0, NULL, '2', 1, '2', '2018-10-17 12:40:46', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1006', 'CIV', '2018-10-17 12:40:46', '1020301000023', 'Customer debit for Product For Invoice No1006', '50000.00', 0, '2', 1, '2', '2018-10-17 12:40:46', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1006', 'CIV', '2018-10-17 12:40:46', '1020301000023', 'Customer credit for Paid Amount For Invoice No1006', 0, '50000.00', '2', 1, '2', '2018-10-17 12:40:46', 1);
INSERT INTO `payment_collection` (`sale_id`, `invoice_no`, `customer_id`, `receive_amnt`, `due_amnt`, `receive_by`, `receive_date`) VALUES ('20181017124046', '1006', '30', '50000.00', NULL, '2', '2018-10-17');
INSERT INTO `sale_details` (`sale_id`, `product_id`, `qty`, `sell_price`, `sale_type_id`, `lease_unit_price`) VALUES ('20181017124046', '27', '2', '25000', '1', NULL);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Sales', 'create', 'invoice_no-1006 total amount-50000.00', '2', '2018-10-17 12:40:46');
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
INSERT INTO `product_category` (`category_id`, `category_name`, `isactive`) VALUES ('', 'Laptop', 1);
INSERT INTO `product_category` (`category_id`, `category_name`, `isactive`) VALUES ('', 'Tab', 1);
INSERT INTO `product_category` (`category_id`, `category_name`, `isactive`) VALUES ('', 'AC', 1);
INSERT INTO `product_category` (`category_id`, `category_name`, `isactive`) VALUES ('', 'Headphone', 1);
INSERT INTO `product_category` (`category_id`, `category_name`, `isactive`) VALUES ('', 'Desktop', 1);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
INSERT INTO `sales_parent` (`sale_id`, `invoice_no`, `customer_id`, `sale_type_id`, `store_id`, `salesman`, `sales_date`, `sales_time`, `gurrantor_1`, `gurrantor_2`, `advance_amnt`, `lease_id`, `inquiry_officer`, `remaining_amnt`, `installment_amnt`, `package_price`, `total_amnt`) VALUES ('20181017124731', '1007', '30', '1', '2', '2', '2018-10-17', '12:47:31', NULL, NULL, '', NULL, NULL, NULL, 0, 0, '26000.00');
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1007', 'CIV', '2018-10-17 12:47:31', NULL, 'Cash in hand debit For Invoice No1007', '26000.00', 0, '2', 1, '2', '2018-10-17 12:47:31', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1007', 'CIV', '2018-10-17 12:47:31', 403, 'Cost of sale debit For Invoice No1007', NULL, 0, '2', 1, '2', '2018-10-17 12:47:31', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1007', 'CIV', '2018-10-17 12:47:31', 10107, 'Inventory credit For Invoice No1007', 0, NULL, '2', 1, '2', '2018-10-17 12:47:31', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1007', 'CIV', '2018-10-17 12:47:31', '1020301000023', 'Customer debit for Product For Invoice No1007', '26000.00', 0, '2', 1, '2', '2018-10-17 12:47:31', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1007', 'CIV', '2018-10-17 12:47:31', '1020301000023', 'Customer credit for Paid Amount For Invoice No1007', 0, '26000.00', '2', 1, '2', '2018-10-17 12:47:31', 1);
INSERT INTO `payment_collection` (`sale_id`, `invoice_no`, `customer_id`, `receive_amnt`, `due_amnt`, `receive_by`, `receive_date`) VALUES ('20181017124731', '1007', '30', '26000.00', NULL, '2', '2018-10-17');
INSERT INTO `sale_details` (`sale_id`, `product_id`, `qty`, `sell_price`, `sale_type_id`, `lease_unit_price`) VALUES ('20181017124731', '28', '1', '26000', '1', NULL);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Sales', 'create', 'invoice_no-1007 total amount-26000.00', '2', '2018-10-17 12:47:31');
INSERT INTO `product_model` (`model_id`, `model_name`, `isactive`) VALUES ('', 'Galaxy j7', 1);
INSERT INTO `product` (`product_id`, `product_name`, `product_code`, `model`, `category`, `brand`, `unit`, `product_details`, `purchase_price`, `block_price`, `minimum_price`, `retail_price`, `createby`, `createdate`, `updateby`, `updatedate`, `isactive`) VALUES ('', 'Mobile-phone-Samsung-Galaxy j7', 'pro-1005', '11', '8', '7', '6', '', '0', '0', '0', '0', '2', '2018-10-17 12:49:58', '', '', 1);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Product', 'create', 'product ID :29', '2', '2018-10-17 12:49:58');
UPDATE `product` SET `product_id` = '29', `product_name` = 'Mobile-phone-Samsung-Galaxy j7', `product_code` = 'pro-1005', `category` = '8', `model` = '11', `unit` = '6', `brand` = '7', `product_details` = '', `purchase_price` = '19000', `minimum_price` = '24000', `retail_price` = '27000', `block_price` = '22000', `isactive` = '1'
WHERE `product_id` IN('29');
UPDATE `product` SET `product_id` = '28', `product_name` = 'Tv-Samsung-OLED65G6P', `product_code` = 'pro-1004', `category` = '6', `model` = '10', `unit` = '6', `brand` = '7', `product_details` = 'Perfect Black Panel', `purchase_price` = '18000', `minimum_price` = '23000', `retail_price` = '26000', `block_price` = '21000', `isactive` = '1'
WHERE `product_id` IN('28');
UPDATE `product` SET `product_id` = '27', `product_name` = 'Tv-Samsung-65UH8500', `product_code` = 'pro-1003', `category` = '6', `model` = '9', `unit` = '6', `brand` = '7', `product_details` = 'eligible for replacement', `purchase_price` = '17000', `minimum_price` = '22000', `retail_price` = '25000', `block_price` = '20000', `isactive` = '1'
WHERE `product_id` IN('27');
UPDATE `product` SET `product_id` = '26', `product_name` = 'Tv-Samsung-55UH7700', `product_code` = 'pro-1002', `category` = '6', `model` = '8', `unit` = '6', `brand` = '7', `product_details` = 'stunning visual quality', `purchase_price` = '15000', `minimum_price` = '20000', `retail_price` = '24000', `block_price` = '19000', `isactive` = '1'
WHERE `product_id` IN('26');
UPDATE `product` SET `product_id` = '25', `product_name` = 'Shoes-Nike-Nike Air Force 1 07 LV8', `product_code` = 'pro-1001', `category` = '5', `model` = '7', `unit` = '5', `brand` = '6', `product_details` = 'Comfortable,relaxing', `purchase_price` = '30', `minimum_price` = '42', `retail_price` = '45', `block_price` = '40', `isactive` = '1'
WHERE `product_id` IN('25');
UPDATE `product` SET `product_id` = '29', `product_name` = 'Mobile-phone-Samsung-Galaxy j7', `product_code` = 'pro-1005', `category` = '8', `model` = '11', `unit` = '6', `brand` = '7', `product_details` = '', `purchase_price` = '19000', `minimum_price` = '24000', `retail_price` = '27000', `block_price` = '22000', `isactive` = '1'
WHERE `product_id` IN('29');
UPDATE `product` SET `product_id` = '28', `product_name` = 'Tv-Samsung-OLED65G6P', `product_code` = 'pro-1004', `category` = '6', `model` = '10', `unit` = '6', `brand` = '7', `product_details` = 'Perfect Black Panel', `purchase_price` = '18000', `minimum_price` = '23000', `retail_price` = '26000', `block_price` = '21000', `isactive` = '1'
WHERE `product_id` IN('28');
UPDATE `product` SET `product_id` = '27', `product_name` = 'Tv-Samsung-65UH8500', `product_code` = 'pro-1003', `category` = '6', `model` = '9', `unit` = '6', `brand` = '7', `product_details` = 'eligible for replacement', `purchase_price` = '17000', `minimum_price` = '22000', `retail_price` = '25000', `block_price` = '20000', `isactive` = '1'
WHERE `product_id` IN('27');
UPDATE `product` SET `product_id` = '26', `product_name` = 'Tv-Samsung-55UH7700', `product_code` = 'pro-1002', `category` = '6', `model` = '8', `unit` = '6', `brand` = '7', `product_details` = 'stunning visual quality', `purchase_price` = '15000', `minimum_price` = '20000', `retail_price` = '24000', `block_price` = '19000', `isactive` = '1'
WHERE `product_id` IN('26');
UPDATE `product` SET `product_id` = '25', `product_name` = 'Shoes-Nike-Nike Air Force 1 07 LV8', `product_code` = 'pro-1001', `category` = '5', `model` = '7', `unit` = '5', `brand` = '6', `product_details` = 'Comfortable,relaxing', `purchase_price` = '30', `minimum_price` = '42', `retail_price` = '45', `block_price` = '40', `isactive` = '1'
WHERE `product_id` IN('25');
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
INSERT INTO `purchase_order` (`po_no`, `supplier_id`, `total_amnt`, `store_id`, `warehouse_id`, `createby`, `createdate`, `isapproved`) VALUES ('20181017125156', '11', '190000.00', 0, 0, '2', '2018-10-17 12:51:56', 0);
INSERT INTO `purchase_order_details` (`row_id`, `po_no`, `product_id`, `order_qty`, `product_rate`, `discount`, `store_id`) VALUES ('985357394568943', '20181017125156', '29', '10', '19000', '', '14');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('purchase order', 'create', 'Orde Id-20181017125156 total amount-190000.00', '2', '2018-10-17 12:51:56');
INSERT INTO `purchase_receive` (`receive_id`, `po_no`, `supplier_id`, `store_id`, `warehouse_id`, `voucher_no`, `receive_by`, `receive_date`) VALUES ('20181017125221', '20181017125156', '11', 0, 0, 1008, '2', '2018-10-17');
INSERT INTO `purchase_receive_details` (`receive_id`, `product_id`, `receive_qty`, `product_rate`, `store_id`, `discount`) VALUES ('20181017125221', '29', '5', '19000', '14', '');
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('20181017125156', 'PO', '2018-10-17', 10107, 'PO Receive Receive No 20181017125221', '95000.00', 0, '14', 1, '2', '2018-10-17', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('20181017125156', 'PO', '2018-10-17', '5020200009', 'PO received For PO No.20181017125156 Receive No.20181017125221', 0, '95000.00', '2', 1, '2', '2018-10-17', 1);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('purchase order receive', 'create', 'Order Id- total amount-95000.00', '2', '2018-10-17 12:52:21');
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
INSERT INTO `sales_parent` (`sale_id`, `invoice_no`, `customer_id`, `sale_type_id`, `store_id`, `salesman`, `sales_date`, `sales_time`, `gurrantor_1`, `gurrantor_2`, `advance_amnt`, `lease_id`, `inquiry_officer`, `remaining_amnt`, `installment_amnt`, `package_price`, `total_amnt`) VALUES ('20181017125301', '1008', '31', '1', '2', '2', '2018-10-17', '12:53:01', NULL, NULL, '', NULL, NULL, NULL, 0, 0, '81000.00');
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1008', 'CIV', '2018-10-17 12:53:01', NULL, 'Cash in hand debit For Invoice No1008', '81000.00', 0, '2', 1, '2', '2018-10-17 12:53:01', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1008', 'CIV', '2018-10-17 12:53:01', 403, 'Cost of sale debit For Invoice No1008', NULL, 0, '2', 1, '2', '2018-10-17 12:53:01', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1008', 'CIV', '2018-10-17 12:53:01', 10107, 'Inventory credit For Invoice No1008', 0, NULL, '2', 1, '2', '2018-10-17 12:53:01', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1008', 'CIV', '2018-10-17 12:53:01', '1020301000024', 'Customer debit for Product For Invoice No1008', '81000.00', 0, '2', 1, '2', '2018-10-17 12:53:01', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1008', 'CIV', '2018-10-17 12:53:01', '1020301000024', 'Customer credit for Paid Amount For Invoice No1008', 0, '81000.00', '2', 1, '2', '2018-10-17 12:53:01', 1);
INSERT INTO `payment_collection` (`sale_id`, `invoice_no`, `customer_id`, `receive_amnt`, `due_amnt`, `receive_by`, `receive_date`) VALUES ('20181017125301', '1008', '31', '81000.00', NULL, '2', '2018-10-17');
INSERT INTO `sale_details` (`sale_id`, `product_id`, `qty`, `sell_price`, `sale_type_id`, `lease_unit_price`) VALUES ('20181017125301', '29', '3', '27000', '1', NULL);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Sales', 'create', 'invoice_no-1008 total amount-81000.00', '2', '2018-10-17 12:53:01');
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
INSERT INTO `sales_parent` (`sale_id`, `invoice_no`, `customer_id`, `sale_type_id`, `store_id`, `salesman`, `sales_date`, `sales_time`, `gurrantor_1`, `gurrantor_2`, `advance_amnt`, `lease_id`, `inquiry_officer`, `remaining_amnt`, `installment_amnt`, `package_price`, `total_amnt`) VALUES ('20181017125336', '1009', '30', '1', '2', '2', '2018-10-17', '12:53:36', NULL, NULL, '', NULL, NULL, NULL, 0, 0, '240000.00');
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1009', 'CIV', '2018-10-17 12:53:36', NULL, 'Cash in hand debit For Invoice No1009', '240000.00', 0, '2', 1, '2', '2018-10-17 12:53:36', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1009', 'CIV', '2018-10-17 12:53:36', 403, 'Cost of sale debit For Invoice No1009', NULL, 0, '2', 1, '2', '2018-10-17 12:53:36', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1009', 'CIV', '2018-10-17 12:53:36', 10107, 'Inventory credit For Invoice No1009', 0, NULL, '2', 1, '2', '2018-10-17 12:53:36', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1009', 'CIV', '2018-10-17 12:53:36', '1020301000023', 'Customer debit for Product For Invoice No1009', '240000.00', 0, '2', 1, '2', '2018-10-17 12:53:36', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1009', 'CIV', '2018-10-17 12:53:36', '1020301000023', 'Customer credit for Paid Amount For Invoice No1009', 0, '240000.00', '2', 1, '2', '2018-10-17 12:53:36', 1);
INSERT INTO `payment_collection` (`sale_id`, `invoice_no`, `customer_id`, `receive_amnt`, `due_amnt`, `receive_by`, `receive_date`) VALUES ('20181017125336', '1009', '30', '240000.00', NULL, '2', '2018-10-17');
INSERT INTO `sale_details` (`sale_id`, `product_id`, `qty`, `sell_price`, `sale_type_id`, `lease_unit_price`) VALUES ('20181017125336', '26', '10', '24000', '1', NULL);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Sales', 'create', 'invoice_no-1009 total amount-240000.00', '2', '2018-10-17 12:53:36');
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
INSERT INTO `sales_parent` (`sale_id`, `invoice_no`, `customer_id`, `sale_type_id`, `store_id`, `salesman`, `sales_date`, `sales_time`, `gurrantor_1`, `gurrantor_2`, `advance_amnt`, `lease_id`, `inquiry_officer`, `remaining_amnt`, `installment_amnt`, `package_price`, `total_amnt`) VALUES ('20181017125417', '1010', '34', '1', '2', '2', '2018-10-17', '12:54:17', NULL, NULL, '', NULL, NULL, NULL, 0, 0, '27000.00');
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1010', 'CIV', '2018-10-17 12:54:17', NULL, 'Cash in hand debit For Invoice No1010', '27000.00', 0, '2', 1, '2', '2018-10-17 12:54:17', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1010', 'CIV', '2018-10-17 12:54:17', 403, 'Cost of sale debit For Invoice No1010', NULL, 0, '2', 1, '2', '2018-10-17 12:54:17', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1010', 'CIV', '2018-10-17 12:54:17', 10107, 'Inventory credit For Invoice No1010', 0, NULL, '2', 1, '2', '2018-10-17 12:54:17', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1010', 'CIV', '2018-10-17 12:54:17', '1020301000027', 'Customer debit for Product For Invoice No1010', '27000.00', 0, '2', 1, '2', '2018-10-17 12:54:17', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1010', 'CIV', '2018-10-17 12:54:17', '1020301000027', 'Customer credit for Paid Amount For Invoice No1010', 0, '27000.00', '2', 1, '2', '2018-10-17 12:54:17', 1);
INSERT INTO `payment_collection` (`sale_id`, `invoice_no`, `customer_id`, `receive_amnt`, `due_amnt`, `receive_by`, `receive_date`) VALUES ('20181017125417', '1010', '34', '27000.00', NULL, '2', '2018-10-17');
INSERT INTO `sale_details` (`sale_id`, `product_id`, `qty`, `sell_price`, `sale_type_id`, `lease_unit_price`) VALUES ('20181017125417', '29', '1', '27000', '1', NULL);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Sales', 'create', 'invoice_no-1010 total amount-27000.00', '2', '2018-10-17 12:54:17');
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
UPDATE `user` SET `last_login` = '2018-10-18 17:47:45', `ip_address` = '197.211.60.91'
WHERE `id` = '2';
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
UPDATE `lease` SET `lease_id` = '11', `isactive` = 1
WHERE `lease_id` = '11';
UPDATE `setting` SET `id` = '2', `title` = 'Multi Store Management', `address` = '98 Green Road, Farmgate, Dhaka-1215.', `email` = 'bdtask@gmail.com', `phone` = '0123456789', `logo` = 'assets/img/icons/logo.png', `favicon` = 'assets/img/icons/m.png', `language` = 'english', `site_align` = 'LTR', `footer_text` = '2018©Copyright'
WHERE `id` = '2';
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
UPDATE `user` SET `last_login` = '2018-10-20 07:32:05', `ip_address` = '175.29.195.114'
WHERE `id` = '2';
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
UPDATE `user` SET `last_login` = '2018-10-21 07:26:36', `ip_address` = '175.29.195.114'
WHERE `id` = '2';
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
UPDATE `store` SET `store_id` = '11', `isactive` = 1
WHERE `store_id` = '11';
INSERT INTO `acc_coa` (`HeadCode`, `HeadName`, `PHeadName`, `HeadLevel`, `IsActive`, `IsTransaction`, `IsGL`, `HeadType`, `IsBudget`, `IsDepreciation`, `DepreciationRate`, `CreateBy`, `CreateDate`) VALUES (40100008, '01567- Eungella Road store', 'Store Expenses', '2', '1', '1', '0', 'E', '0', '0', '0', '2', '2018-10-21 08:49:43');
INSERT INTO `acc_coa` (`HeadCode`, `HeadName`, `PHeadName`, `HeadLevel`, `IsActive`, `IsTransaction`, `IsGL`, `HeadType`, `IsBudget`, `IsDepreciation`, `DepreciationRate`, `CreateBy`, `CreateDate`) VALUES (1020101000009, 'Cash-01567- Eungella Road store', 'Cash In Hand', '4', '1', '1', '0', 'A', '0', '0', '0', '2', '2018-10-21 08:49:43');
INSERT INTO `store` (`store_id`, `store_name`, `store_code`, `store_phone`, `store_address`, `createby`, `createdate`, `isactive`) VALUES ('', ' Eungella Road store', '01567', '967854336876', '40 Eungella Road\r\nWUNJUNGA QLD 4806', '2', '2018-10-21 08:49:43', 1);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Store', 'create', 'Store ID :16', '2', '2018-10-21 08:49:43');
INSERT INTO `acc_coa` (`HeadCode`, `HeadName`, `PHeadName`, `HeadLevel`, `IsActive`, `IsTransaction`, `IsGL`, `HeadType`, `IsBudget`, `IsDepreciation`, `DepreciationRate`, `CreateBy`, `CreateDate`) VALUES (40100009, '09876- Chester Street store', 'Store Expenses', '2', '1', '1', '0', 'E', '0', '0', '0', '2', '2018-10-21 08:51:16');
INSERT INTO `acc_coa` (`HeadCode`, `HeadName`, `PHeadName`, `HeadLevel`, `IsActive`, `IsTransaction`, `IsGL`, `HeadType`, `IsBudget`, `IsDepreciation`, `DepreciationRate`, `CreateBy`, `CreateDate`) VALUES (1020101000010, 'Cash-09876- Chester Street store', 'Cash In Hand', '4', '1', '1', '0', 'A', '0', '0', '0', '2', '2018-10-21 08:51:16');
INSERT INTO `store` (`store_id`, `store_name`, `store_code`, `store_phone`, `store_address`, `createby`, `createdate`, `isactive`) VALUES ('', ' Chester Street store', '09876', '00097856785', '40 Chester Street\r\nDUROBY NSW 2486', '2', '2018-10-21 08:51:16', 1);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Store', 'create', 'Store ID :17', '2', '2018-10-21 08:51:16');
INSERT INTO `acc_coa` (`HeadCode`, `HeadName`, `PHeadName`, `HeadLevel`, `IsActive`, `IsTransaction`, `IsGL`, `HeadType`, `IsBudget`, `IsDepreciation`, `DepreciationRate`, `CreateBy`, `CreateDate`) VALUES (40100010, '04325- Adavale Road Road', 'Store Expenses', '2', '1', '1', '0', 'E', '0', '0', '0', '2', '2018-10-21 08:53:00');
INSERT INTO `acc_coa` (`HeadCode`, `HeadName`, `PHeadName`, `HeadLevel`, `IsActive`, `IsTransaction`, `IsGL`, `HeadType`, `IsBudget`, `IsDepreciation`, `DepreciationRate`, `CreateBy`, `CreateDate`) VALUES (1020101000011, 'Cash-04325- Adavale Road Road', 'Cash In Hand', '4', '1', '1', '0', 'A', '0', '0', '0', '2', '2018-10-21 08:53:00');
INSERT INTO `store` (`store_id`, `store_name`, `store_code`, `store_phone`, `store_address`, `createby`, `createdate`, `isactive`) VALUES ('', ' Adavale Road Road', '04325', '097576463326', '28 Adavale Road\r\nRUN-O-WATERS NSW 2580', '2', '2018-10-21 08:53:00', 1);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Store', 'create', 'Store ID :18', '2', '2018-10-21 08:53:00');
INSERT INTO `acc_coa` (`HeadCode`, `HeadName`, `PHeadName`, `HeadLevel`, `IsActive`, `IsTransaction`, `IsGL`, `HeadType`, `IsBudget`, `IsDepreciation`, `DepreciationRate`, `CreateBy`, `CreateDate`) VALUES (40100011, '09656-Magnolia Drive store', 'Store Expenses', '2', '1', '1', '0', 'E', '0', '0', '0', '2', '2018-10-21 08:54:29');
INSERT INTO `acc_coa` (`HeadCode`, `HeadName`, `PHeadName`, `HeadLevel`, `IsActive`, `IsTransaction`, `IsGL`, `HeadType`, `IsBudget`, `IsDepreciation`, `DepreciationRate`, `CreateBy`, `CreateDate`) VALUES (1020101000012, 'Cash-09656-Magnolia Drive store', 'Cash In Hand', '4', '1', '1', '0', 'A', '0', '0', '0', '2', '2018-10-21 08:54:29');
INSERT INTO `store` (`store_id`, `store_name`, `store_code`, `store_phone`, `store_address`, `createby`, `createdate`, `isactive`) VALUES ('', 'Magnolia Drive store', '09656', '0089675456356', '74 Magnolia Drive\r\nMONTEREY NSW 2217', '2', '2018-10-21 08:54:29', 1);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Store', 'create', 'Store ID :19', '2', '2018-10-21 08:54:29');
INSERT INTO `acc_coa` (`HeadCode`, `HeadName`, `PHeadName`, `HeadLevel`, `IsActive`, `IsTransaction`, `IsGL`, `HeadType`, `IsBudget`, `IsDepreciation`, `DepreciationRate`, `CreateBy`, `CreateDate`) VALUES (40100012, '098555-Gaggin Street store', 'Store Expenses', '2', '1', '1', '0', 'E', '0', '0', '0', '2', '2018-10-21 08:55:44');
INSERT INTO `acc_coa` (`HeadCode`, `HeadName`, `PHeadName`, `HeadLevel`, `IsActive`, `IsTransaction`, `IsGL`, `HeadType`, `IsBudget`, `IsDepreciation`, `DepreciationRate`, `CreateBy`, `CreateDate`) VALUES (1020101000013, 'Cash-098555-Gaggin Street store', 'Cash In Hand', '4', '1', '1', '0', 'A', '0', '0', '0', '2', '2018-10-21 08:55:44');
INSERT INTO `store` (`store_id`, `store_name`, `store_code`, `store_phone`, `store_address`, `createby`, `createdate`, `isactive`) VALUES ('', 'Gaggin Street store', '098555', '09878765645', '80 Gaggin Street\r\nOSTERLEY NSW 2324', '2', '2018-10-21 08:55:44', 1);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Store', 'create', 'Store ID :20', '2', '2018-10-21 08:55:44');
INSERT INTO `acc_coa` (`HeadCode`, `HeadName`, `PHeadName`, `HeadLevel`, `IsActive`, `IsTransaction`, `IsGL`, `HeadType`, `IsBudget`, `IsDepreciation`, `DepreciationRate`, `CreateBy`, `CreateDate`) VALUES (5020200010, 'sup-3-Jonathan Dann', 'Account Payable', '3', '1', '1', '0', 'L', '0', '0', '0', '2', '2018-10-21 08:58:54');
INSERT INTO `supplier` (`supplier_id`, `supplier_name`, `supplier_code`, `phone`, `address`, `email`, `contact_per_name`, `c_p_contact`, `isactive`, `createby`, `createdate`, `updateby`, `updatedate`) VALUES ('', 'Jonathan Dann', 'sup-3', '09879687456765', '73 Blairgowrie Avenue\r\nDRY PLAIN NSW 2630', 'admin@demo.com', '8665465378765', '', 1, '2', '2018-10-21 08:58:54', '', '');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Supplier', 'create', 'Supplier ID :12', '2', '2018-10-21 08:58:54');
INSERT INTO `acc_coa` (`HeadCode`, `HeadName`, `PHeadName`, `HeadLevel`, `IsActive`, `IsTransaction`, `IsGL`, `HeadType`, `IsBudget`, `IsDepreciation`, `DepreciationRate`, `CreateBy`, `CreateDate`) VALUES (5020200011, 'sup-4-Cooper Selfe', 'Account Payable', '3', '1', '1', '0', 'L', '0', '0', '0', '2', '2018-10-21 09:00:02');
INSERT INTO `supplier` (`supplier_id`, `supplier_name`, `supplier_code`, `phone`, `address`, `email`, `contact_per_name`, `c_p_contact`, `isactive`, `createby`, `createdate`, `updateby`, `updatedate`) VALUES ('', 'Cooper Selfe', 'sup-4', '098767476785', '65 Yarra Street\r\nKINGSTON VIC 3364', 'superadmin@demo.com', '98675598563', '', 1, '2', '2018-10-21 09:00:02', '', '');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Supplier', 'create', 'Supplier ID :13', '2', '2018-10-21 09:00:02');
INSERT INTO `acc_coa` (`HeadCode`, `HeadName`, `PHeadName`, `HeadLevel`, `IsActive`, `IsTransaction`, `IsGL`, `HeadType`, `IsBudget`, `IsDepreciation`, `DepreciationRate`, `CreateBy`, `CreateDate`) VALUES (5020200012, 'sup-5-Sara Horder', 'Account Payable', '3', '1', '1', '0', 'L', '0', '0', '0', '2', '2018-10-21 09:01:56');
INSERT INTO `supplier` (`supplier_id`, `supplier_name`, `supplier_code`, `phone`, `address`, `email`, `contact_per_name`, `c_p_contact`, `isactive`, `createby`, `createdate`, `updateby`, `updatedate`) VALUES ('', 'Sara Horder', 'sup-5', '0975534676779', '6 Bayley Street\r\nCOCKATOO VIC 3781', 'sara.demo@gmail.com', '098756435467', '', 1, '2', '2018-10-21 09:01:56', '', '');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Supplier', 'create', 'Supplier ID :14', '2', '2018-10-21 09:01:56');
INSERT INTO `acc_coa` (`HeadCode`, `HeadName`, `PHeadName`, `HeadLevel`, `IsActive`, `IsTransaction`, `IsGL`, `HeadType`, `IsBudget`, `IsDepreciation`, `DepreciationRate`, `CreateBy`, `CreateDate`) VALUES (5020200013, 'sup-6-Beau Dacre', 'Account Payable', '3', '1', '1', '0', 'L', '0', '0', '0', '2', '2018-10-21 09:03:31');
INSERT INTO `supplier` (`supplier_id`, `supplier_name`, `supplier_code`, `phone`, `address`, `email`, `contact_per_name`, `c_p_contact`, `isactive`, `createby`, `createdate`, `updateby`, `updatedate`) VALUES ('', 'Beau Dacre', 'sup-6', '09767643537', '57 Tapleys Hill Road\r\nGLOBE DERBY PARK SA 5110', 'BeauDacre.demo@gmail.com', '96785456376', '', 1, '2', '2018-10-21 09:03:31', '', '');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Supplier', 'create', 'Supplier ID :15', '2', '2018-10-21 09:03:31');
INSERT INTO `acc_coa` (`HeadCode`, `HeadName`, `PHeadName`, `HeadLevel`, `IsActive`, `IsTransaction`, `IsGL`, `HeadType`, `IsBudget`, `IsDepreciation`, `DepreciationRate`, `CreateBy`, `CreateDate`) VALUES (5020200014, 'sup-7-Mason Somers', 'Account Payable', '3', '1', '1', '0', 'L', '0', '0', '0', '2', '2018-10-21 09:05:33');
INSERT INTO `supplier` (`supplier_id`, `supplier_name`, `supplier_code`, `phone`, `address`, `email`, `contact_per_name`, `c_p_contact`, `isactive`, `createby`, `createdate`, `updateby`, `updatedate`) VALUES ('', 'Mason Somers', 'sup-7', '0988535465', '1 Adavale Road\r\nWINDELLAMA NSW 2580', 'Mason.demo@gmail.com', '097986874567', '', 1, '2', '2018-10-21 09:05:33', '', '');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Supplier', 'create', 'Supplier ID :16', '2', '2018-10-21 09:05:33');
INSERT INTO `acc_coa` (`HeadCode`, `HeadName`, `PHeadName`, `HeadLevel`, `IsActive`, `IsTransaction`, `IsGL`, `HeadType`, `IsBudget`, `IsDepreciation`, `DepreciationRate`, `CreateBy`, `CreateDate`) VALUES (5020200015, 'sup-8-Taylah Sulman', 'Account Payable', '3', '1', '1', '0', 'L', '0', '0', '0', '2', '2018-10-21 09:06:56');
INSERT INTO `supplier` (`supplier_id`, `supplier_name`, `supplier_code`, `phone`, `address`, `email`, `contact_per_name`, `c_p_contact`, `isactive`, `createby`, `createdate`, `updateby`, `updatedate`) VALUES ('', 'Taylah Sulman', 'sup-8', '07985453567', '90 Woodlands Avenue\r\nHARRIS PARK NSW 2150', 'Taylah.admin@gmail.com', '097685674563', '', 1, '2', '2018-10-21 09:06:56', '', '');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Supplier', 'create', 'Supplier ID :17', '2', '2018-10-21 09:06:56');
INSERT INTO `acc_coa` (`HeadCode`, `HeadName`, `PHeadName`, `HeadLevel`, `IsActive`, `IsTransaction`, `IsGL`, `HeadType`, `IsBudget`, `IsDepreciation`, `DepreciationRate`, `CreateBy`, `CreateDate`) VALUES (5020200016, 'sup-9-Harrison Whitham', 'Account Payable', '3', '1', '1', '0', 'L', '0', '0', '0', '2', '2018-10-21 09:09:06');
INSERT INTO `supplier` (`supplier_id`, `supplier_name`, `supplier_code`, `phone`, `address`, `email`, `contact_per_name`, `c_p_contact`, `isactive`, `createby`, `createdate`, `updateby`, `updatedate`) VALUES ('', 'Harrison Whitham', 'sup-9', '097986747648', '1 Walder Crescent\r\nKABRA QLD 4702', 'Harrison.demo@gmail.com', '98785745638', '', 1, '2', '2018-10-21 09:09:06', '', '');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Supplier', 'create', 'Supplier ID :18', '2', '2018-10-21 09:09:06');
INSERT INTO `acc_coa` (`HeadCode`, `HeadName`, `PHeadName`, `HeadLevel`, `IsActive`, `IsTransaction`, `IsGL`, `HeadType`, `IsBudget`, `IsDepreciation`, `DepreciationRate`, `CreateBy`, `CreateDate`) VALUES (5020200017, 'sup-10-Matthew White', 'Account Payable', '3', '1', '1', '0', 'L', '0', '0', '0', '2', '2018-10-21 09:10:18');
INSERT INTO `supplier` (`supplier_id`, `supplier_name`, `supplier_code`, `phone`, `address`, `email`, `contact_per_name`, `c_p_contact`, `isactive`, `createby`, `createdate`, `updateby`, `updatedate`) VALUES ('', 'Matthew White', 'sup-10', '098785643365', '93 Glendonbrook Road\r\nKELGOOLA NSW 2849', 'Matthew.demo@gmail.com', '098786746735', '', 1, '2', '2018-10-21 09:10:18', '', '');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Supplier', 'create', 'Supplier ID :19', '2', '2018-10-21 09:10:18');
UPDATE `user` SET `last_login` = '2018-10-22 12:02:37', `ip_address` = '175.29.195.114'
WHERE `id` = '2';
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
UPDATE `user` SET `last_logout` = '2018-10-23 00:29:49'
WHERE `id` IS NULL;
UPDATE `user` SET `last_login` = '2018-10-23 09:08:36', `ip_address` = '175.29.195.114'
WHERE `id` = '2';
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
INSERT INTO `product_model` (`model_id`, `model_name`, `isactive`) VALUES ('', 'Samsung Refrigerator RT21M6211SR/D2', 1);
INSERT INTO `product_model` (`model_id`, `model_name`, `isactive`) VALUES ('', 'Samsung 415 L', 1);
INSERT INTO `product_model` (`model_id`, `model_name`, `isactive`) VALUES ('', 'Samsung 218L ', 1);
INSERT INTO `product_model` (`model_id`, `model_name`, `isactive`) VALUES ('', 'Samsung 394 L ', 1);
INSERT INTO `product_model` (`model_id`, `model_name`, `isactive`) VALUES ('', 'Samsung Galaxy A7', 1);
INSERT INTO `product_brand` (`brand_id`, `brand_name`, `isactive`) VALUES ('', 'Symphony', 1);
INSERT INTO `product_brand` (`brand_id`, `brand_name`, `isactive`) VALUES ('', 'Nokia', 1);
INSERT INTO `product_brand` (`brand_id`, `brand_name`, `isactive`) VALUES ('', 'Apple', 1);
INSERT INTO `product_brand` (`brand_id`, `brand_name`, `isactive`) VALUES ('', 'Huawei', 1);
INSERT INTO `product_brand` (`brand_id`, `brand_name`, `isactive`) VALUES ('', 'Sony', 1);
INSERT INTO `product_brand` (`brand_id`, `brand_name`, `isactive`) VALUES ('', 'LG', 1);
INSERT INTO `product_brand` (`brand_id`, `brand_name`, `isactive`) VALUES ('', 'Motorola', 1);
INSERT INTO `product` (`product_id`, `product_name`, `product_code`, `model`, `category`, `brand`, `unit`, `product_details`, `purchase_price`, `block_price`, `minimum_price`, `retail_price`, `createby`, `createdate`, `updateby`, `updatedate`, `isactive`) VALUES ('', 'Refrigerator-Samsung-Samsung 415 L', 'pro-1006', '13', '7', '7', '6', '', '0', '0', '0', '0', '2', '2018-10-23 09:24:57', '', '', 1);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Product', 'create', 'product ID :30', '2', '2018-10-23 09:24:57');
INSERT INTO `product` (`product_id`, `product_name`, `product_code`, `model`, `category`, `brand`, `unit`, `product_details`, `purchase_price`, `block_price`, `minimum_price`, `retail_price`, `createby`, `createdate`, `updateby`, `updatedate`, `isactive`) VALUES ('', 'Mobile-phone-Samsung-Galaxy j7', 'pro-1007', '11', '8', '7', '6', '', '0', '0', '0', '0', '2', '2018-10-23 09:25:20', '', '', 1);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Product', 'create', 'product ID :31', '2', '2018-10-23 09:25:20');
INSERT INTO `product` (`product_id`, `product_name`, `product_code`, `model`, `category`, `brand`, `unit`, `product_details`, `purchase_price`, `block_price`, `minimum_price`, `retail_price`, `createby`, `createdate`, `updateby`, `updatedate`, `isactive`) VALUES ('', 'Mobile-phone-Samsung-Samsung Galaxy A7', 'pro-1008', '16', '8', '7', '6', '', '0', '0', '0', '0', '2', '2018-10-23 09:26:19', '', '', 1);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Product', 'create', 'product ID :32', '2', '2018-10-23 09:26:19');
INSERT INTO `product` (`product_id`, `product_name`, `product_code`, `model`, `category`, `brand`, `unit`, `product_details`, `purchase_price`, `block_price`, `minimum_price`, `retail_price`, `createby`, `createdate`, `updateby`, `updatedate`, `isactive`) VALUES ('', 'Refrigerator-Samsung-Samsung 218L ', 'pro-1009', '14', '7', '7', '6', '', '0', '0', '0', '0', '2', '2018-10-23 09:26:46', '', '', 1);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Product', 'create', 'product ID :33', '2', '2018-10-23 09:26:46');
INSERT INTO `product` (`product_id`, `product_name`, `product_code`, `model`, `category`, `brand`, `unit`, `product_details`, `purchase_price`, `block_price`, `minimum_price`, `retail_price`, `createby`, `createdate`, `updateby`, `updatedate`, `isactive`) VALUES ('', 'Refrigerator-Samsung-Samsung 394 L ', 'pro-1010', '15', '7', '7', '6', '', '0', '0', '0', '0', '2', '2018-10-23 09:27:17', '', '', 1);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Product', 'create', 'product ID :34', '2', '2018-10-23 09:27:17');
UPDATE `product` SET `product_id` = '34', `product_name` = 'Refrigerator-Samsung-Samsung 394 L ', `product_code` = 'pro-1010', `category` = '7', `model` = '15', `unit` = '6', `brand` = '7', `product_details` = '', `purchase_price` = '30000', `minimum_price` = '35000', `retail_price` = '37000', `block_price` = '32000', `isactive` = '1'
WHERE `product_id` IN('34');
UPDATE `product` SET `product_id` = '33', `product_name` = 'Refrigerator-Samsung-Samsung 218L ', `product_code` = 'pro-1009', `category` = '7', `model` = '14', `unit` = '6', `brand` = '7', `product_details` = '', `purchase_price` = '0', `minimum_price` = '0', `retail_price` = '0', `block_price` = '0', `isactive` = '1'
WHERE `product_id` IN('33');
UPDATE `product` SET `product_id` = '32', `product_name` = 'Mobile-phone-Samsung-Samsung Galaxy A7', `product_code` = 'pro-1008', `category` = '8', `model` = '16', `unit` = '6', `brand` = '7', `product_details` = '', `purchase_price` = '0', `minimum_price` = '0', `retail_price` = '0', `block_price` = '0', `isactive` = '1'
WHERE `product_id` IN('32');
UPDATE `product` SET `product_id` = '31', `product_name` = 'Mobile-phone-Samsung-Galaxy j7', `product_code` = 'pro-1007', `category` = '8', `model` = '11', `unit` = '6', `brand` = '7', `product_details` = '', `purchase_price` = '0', `minimum_price` = '0', `retail_price` = '0', `block_price` = '0', `isactive` = '1'
WHERE `product_id` IN('31');
UPDATE `product` SET `product_id` = '30', `product_name` = 'Refrigerator-Samsung-Samsung 415 L', `product_code` = 'pro-1006', `category` = '7', `model` = '13', `unit` = '6', `brand` = '7', `product_details` = '', `purchase_price` = '0', `minimum_price` = '0', `retail_price` = '0', `block_price` = '0', `isactive` = '1'
WHERE `product_id` IN('30');
UPDATE `product` SET `product_id` = '29', `product_name` = 'Mobile-phone-Samsung-Galaxy j7', `product_code` = 'pro-1005', `category` = '8', `model` = '11', `unit` = '6', `brand` = '7', `product_details` = '', `purchase_price` = '19000', `minimum_price` = '24000', `retail_price` = '27000', `block_price` = '22000', `isactive` = '1'
WHERE `product_id` IN('29');
UPDATE `product` SET `product_id` = '28', `product_name` = 'Tv-Samsung-OLED65G6P', `product_code` = 'pro-1004', `category` = '6', `model` = '10', `unit` = '6', `brand` = '7', `product_details` = 'Perfect Black Panel', `purchase_price` = '18000', `minimum_price` = '23000', `retail_price` = '26000', `block_price` = '21000', `isactive` = '1'
WHERE `product_id` IN('28');
UPDATE `product` SET `product_id` = '27', `product_name` = 'Tv-Samsung-65UH8500', `product_code` = 'pro-1003', `category` = '6', `model` = '9', `unit` = '6', `brand` = '7', `product_details` = 'eligible for replacement', `purchase_price` = '17000', `minimum_price` = '22000', `retail_price` = '25000', `block_price` = '20000', `isactive` = '1'
WHERE `product_id` IN('27');
UPDATE `product` SET `product_id` = '26', `product_name` = 'Tv-Samsung-55UH7700', `product_code` = 'pro-1002', `category` = '6', `model` = '8', `unit` = '6', `brand` = '7', `product_details` = 'stunning visual quality', `purchase_price` = '15000', `minimum_price` = '20000', `retail_price` = '24000', `block_price` = '19000', `isactive` = '1'
WHERE `product_id` IN('26');
UPDATE `product` SET `product_id` = '25', `product_name` = 'Shoes-Nike-Nike Air Force 1 07 LV8', `product_code` = 'pro-1001', `category` = '5', `model` = '7', `unit` = '5', `brand` = '6', `product_details` = 'Comfortable,relaxing', `purchase_price` = '30', `minimum_price` = '42', `retail_price` = '45', `block_price` = '40', `isactive` = '1'
WHERE `product_id` IN('25');
UPDATE `product` SET `product_id` = '34', `product_name` = 'Refrigerator-Samsung-Samsung 394 L ', `product_code` = 'pro-1010', `category` = '7', `model` = '15', `unit` = '6', `brand` = '7', `product_details` = '', `purchase_price` = '30000', `minimum_price` = '35000', `retail_price` = '37000', `block_price` = '32000', `isactive` = '1'
WHERE `product_id` IN('34');
UPDATE `product` SET `product_id` = '33', `product_name` = 'Refrigerator-Samsung-Samsung 218L ', `product_code` = 'pro-1009', `category` = '7', `model` = '14', `unit` = '6', `brand` = '7', `product_details` = '', `purchase_price` = '30000', `minimum_price` = '35000', `retail_price` = '37000', `block_price` = '32000', `isactive` = '1'
WHERE `product_id` IN('33');
UPDATE `product` SET `product_id` = '32', `product_name` = 'Mobile-phone-Samsung-Samsung Galaxy A7', `product_code` = 'pro-1008', `category` = '8', `model` = '16', `unit` = '6', `brand` = '7', `product_details` = '', `purchase_price` = '19000', `minimum_price` = '24000', `retail_price` = '27000', `block_price` = '22000', `isactive` = '1'
WHERE `product_id` IN('32');
UPDATE `product` SET `product_id` = '31', `product_name` = 'Mobile-phone-Samsung-Galaxy j7', `product_code` = 'pro-1007', `category` = '8', `model` = '11', `unit` = '6', `brand` = '7', `product_details` = '', `purchase_price` = '19000', `minimum_price` = '24000', `retail_price` = '27000', `block_price` = '22000', `isactive` = '1'
WHERE `product_id` IN('31');
UPDATE `product` SET `product_id` = '30', `product_name` = 'Refrigerator-Samsung-Samsung 415 L', `product_code` = 'pro-1006', `category` = '7', `model` = '13', `unit` = '6', `brand` = '7', `product_details` = '', `purchase_price` = '30000', `minimum_price` = '35000', `retail_price` = '37000', `block_price` = '32000', `isactive` = '1'
WHERE `product_id` IN('30');
UPDATE `product` SET `product_id` = '29', `product_name` = 'Mobile-phone-Samsung-Galaxy j7', `product_code` = 'pro-1005', `category` = '8', `model` = '11', `unit` = '6', `brand` = '7', `product_details` = '', `purchase_price` = '19000', `minimum_price` = '24000', `retail_price` = '27000', `block_price` = '22000', `isactive` = '1'
WHERE `product_id` IN('29');
UPDATE `product` SET `product_id` = '28', `product_name` = 'Tv-Samsung-OLED65G6P', `product_code` = 'pro-1004', `category` = '6', `model` = '10', `unit` = '6', `brand` = '7', `product_details` = 'Perfect Black Panel', `purchase_price` = '18000', `minimum_price` = '23000', `retail_price` = '26000', `block_price` = '21000', `isactive` = '1'
WHERE `product_id` IN('28');
UPDATE `product` SET `product_id` = '27', `product_name` = 'Tv-Samsung-65UH8500', `product_code` = 'pro-1003', `category` = '6', `model` = '9', `unit` = '6', `brand` = '7', `product_details` = 'eligible for replacement', `purchase_price` = '17000', `minimum_price` = '22000', `retail_price` = '25000', `block_price` = '20000', `isactive` = '1'
WHERE `product_id` IN('27');
UPDATE `product` SET `product_id` = '26', `product_name` = 'Tv-Samsung-55UH7700', `product_code` = 'pro-1002', `category` = '6', `model` = '8', `unit` = '6', `brand` = '7', `product_details` = 'stunning visual quality', `purchase_price` = '15000', `minimum_price` = '20000', `retail_price` = '24000', `block_price` = '19000', `isactive` = '1'
WHERE `product_id` IN('26');
UPDATE `product` SET `product_id` = '25', `product_name` = 'Shoes-Nike-Nike Air Force 1 07 LV8', `product_code` = 'pro-1001', `category` = '5', `model` = '7', `unit` = '5', `brand` = '6', `product_details` = 'Comfortable,relaxing', `purchase_price` = '30', `minimum_price` = '42', `retail_price` = '45', `block_price` = '40', `isactive` = '1'
WHERE `product_id` IN('25');
UPDATE `product` SET `product_id` = '34', `product_name` = 'Refrigerator-Samsung-Samsung 394 L ', `product_code` = 'pro-1010', `category` = '7', `model` = '15', `unit` = '6', `brand` = '7', `product_details` = '', `purchase_price` = '30000', `minimum_price` = '35000', `retail_price` = '37000', `block_price` = '32000', `isactive` = '1'
WHERE `product_id` IN('34');
UPDATE `product` SET `product_id` = '33', `product_name` = 'Refrigerator-Samsung-Samsung 218L ', `product_code` = 'pro-1009', `category` = '7', `model` = '14', `unit` = '6', `brand` = '7', `product_details` = '', `purchase_price` = '30000', `minimum_price` = '35000', `retail_price` = '37000', `block_price` = '32000', `isactive` = '1'
WHERE `product_id` IN('33');
UPDATE `product` SET `product_id` = '32', `product_name` = 'Mobile-phone-Samsung-Samsung Galaxy A7', `product_code` = 'pro-1008', `category` = '8', `model` = '16', `unit` = '6', `brand` = '7', `product_details` = '', `purchase_price` = '19000', `minimum_price` = '24000', `retail_price` = '27000', `block_price` = '22000', `isactive` = '1'
WHERE `product_id` IN('32');
UPDATE `product` SET `product_id` = '31', `product_name` = 'Mobile-phone-Samsung-Galaxy j7', `product_code` = 'pro-1007', `category` = '8', `model` = '11', `unit` = '6', `brand` = '7', `product_details` = '', `purchase_price` = '19000', `minimum_price` = '24000', `retail_price` = '27000', `block_price` = '22000', `isactive` = '1'
WHERE `product_id` IN('31');
UPDATE `product` SET `product_id` = '30', `product_name` = 'Refrigerator-Samsung-Samsung 415 L', `product_code` = 'pro-1006', `category` = '7', `model` = '13', `unit` = '6', `brand` = '7', `product_details` = '', `purchase_price` = '30000', `minimum_price` = '35000', `retail_price` = '37000', `block_price` = '32000', `isactive` = '1'
WHERE `product_id` IN('30');
UPDATE `product` SET `product_id` = '29', `product_name` = 'Mobile-phone-Samsung-Galaxy j7', `product_code` = 'pro-1005', `category` = '8', `model` = '11', `unit` = '6', `brand` = '7', `product_details` = '', `purchase_price` = '19000', `minimum_price` = '24000', `retail_price` = '27000', `block_price` = '22000', `isactive` = '1'
WHERE `product_id` IN('29');
UPDATE `product` SET `product_id` = '28', `product_name` = 'Tv-Samsung-OLED65G6P', `product_code` = 'pro-1004', `category` = '6', `model` = '10', `unit` = '6', `brand` = '7', `product_details` = 'Perfect Black Panel', `purchase_price` = '18000', `minimum_price` = '23000', `retail_price` = '26000', `block_price` = '21000', `isactive` = '1'
WHERE `product_id` IN('28');
UPDATE `product` SET `product_id` = '27', `product_name` = 'Tv-Samsung-65UH8500', `product_code` = 'pro-1003', `category` = '6', `model` = '9', `unit` = '6', `brand` = '7', `product_details` = 'eligible for replacement', `purchase_price` = '17000', `minimum_price` = '22000', `retail_price` = '25000', `block_price` = '20000', `isactive` = '1'
WHERE `product_id` IN('27');
UPDATE `product` SET `product_id` = '26', `product_name` = 'Tv-Samsung-55UH7700', `product_code` = 'pro-1002', `category` = '6', `model` = '8', `unit` = '6', `brand` = '7', `product_details` = 'stunning visual quality', `purchase_price` = '15000', `minimum_price` = '20000', `retail_price` = '24000', `block_price` = '19000', `isactive` = '1'
WHERE `product_id` IN('26');
UPDATE `product` SET `product_id` = '25', `product_name` = 'Shoes-Nike-Nike Air Force 1 07 LV8', `product_code` = 'pro-1001', `category` = '5', `model` = '7', `unit` = '5', `brand` = '6', `product_details` = 'Comfortable,relaxing', `purchase_price` = '30', `minimum_price` = '42', `retail_price` = '45', `block_price` = '40', `isactive` = '1'
WHERE `product_id` IN('25');
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
INSERT INTO `purchase_order` (`po_no`, `supplier_id`, `total_amnt`, `store_id`, `warehouse_id`, `createby`, `createdate`, `isapproved`) VALUES ('20181023093503', '18', '190000.00', 0, 0, '2', '2018-10-23 09:35:03', 0);
INSERT INTO `purchase_order_details` (`row_id`, `po_no`, `product_id`, `order_qty`, `product_rate`, `discount`, `store_id`) VALUES ('441971547526426', '20181023093503', '32', '10', '19000', '', '16');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('purchase order', 'create', 'Orde Id-20181023093503 total amount-190000.00', '2', '2018-10-23 09:35:03');
INSERT INTO `purchase_receive` (`receive_id`, `po_no`, `supplier_id`, `store_id`, `warehouse_id`, `voucher_no`, `receive_by`, `receive_date`) VALUES ('20181023093538', '20181023093503', '18', 0, 0, 1009, '2', '2018-10-23');
INSERT INTO `purchase_receive_details` (`receive_id`, `product_id`, `receive_qty`, `product_rate`, `store_id`, `discount`) VALUES ('20181023093538', '32', '3', '19000', '16', '');
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('20181023093503', 'PO', '2018-10-23', 10107, 'PO Receive Receive No 20181023093538', '57000.00', 0, '16', 1, '2', '2018-10-23', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('20181023093503', 'PO', '2018-10-23', '5020200016', 'PO received For PO No.20181023093503 Receive No.20181023093538', 0, '57000.00', '2', 1, '2', '2018-10-23', 1);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('purchase order receive', 'create', 'Order Id- total amount-57000.00', '2', '2018-10-23 09:35:38');
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
INSERT INTO `sales_parent` (`sale_id`, `invoice_no`, `customer_id`, `sale_type_id`, `store_id`, `salesman`, `sales_date`, `sales_time`, `gurrantor_1`, `gurrantor_2`, `advance_amnt`, `lease_id`, `inquiry_officer`, `remaining_amnt`, `installment_amnt`, `package_price`, `total_amnt`) VALUES ('20181023093732', '1011', '33', '1', '2', '2', '2018-10-23', '09:37:32', NULL, NULL, '', NULL, NULL, NULL, 0, 0, '54000.00');
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1011', 'CIV', '2018-10-23 09:37:32', NULL, 'Cash in hand debit For Invoice No1011', '54000.00', 0, '2', 1, '2', '2018-10-23 09:37:32', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1011', 'CIV', '2018-10-23 09:37:32', 403, 'Cost of sale debit For Invoice No1011', NULL, 0, '2', 1, '2', '2018-10-23 09:37:32', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1011', 'CIV', '2018-10-23 09:37:32', 10107, 'Inventory credit For Invoice No1011', 0, NULL, '2', 1, '2', '2018-10-23 09:37:32', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1011', 'CIV', '2018-10-23 09:37:32', '1020301000026', 'Customer debit for Product For Invoice No1011', '54000.00', 0, '2', 1, '2', '2018-10-23 09:37:32', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1011', 'CIV', '2018-10-23 09:37:32', '1020301000026', 'Customer credit for Paid Amount For Invoice No1011', 0, '54000.00', '2', 1, '2', '2018-10-23 09:37:32', 1);
INSERT INTO `payment_collection` (`sale_id`, `invoice_no`, `customer_id`, `receive_amnt`, `due_amnt`, `receive_by`, `receive_date`) VALUES ('20181023093732', '1011', '33', '54000.00', NULL, '2', '2018-10-23');
INSERT INTO `sale_details` (`sale_id`, `product_id`, `qty`, `sell_price`, `sale_type_id`, `lease_unit_price`) VALUES ('20181023093732', '32', '2', '27000', '1', NULL);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Sales', 'create', 'invoice_no-1011 total amount-54000.00', '2', '2018-10-23 09:37:32');
INSERT INTO `purchase_order` (`po_no`, `supplier_id`, `total_amnt`, `store_id`, `warehouse_id`, `createby`, `createdate`, `isapproved`) VALUES ('20181023093822', '14', '95000.00', 0, 0, '2', '2018-10-23 09:38:22', 0);
INSERT INTO `purchase_order_details` (`row_id`, `po_no`, `product_id`, `order_qty`, `product_rate`, `discount`, `store_id`) VALUES ('174791393861263', '20181023093822', '31', '5', '19000', '', '19');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('purchase order', 'create', 'Orde Id-20181023093822 total amount-95000.00', '2', '2018-10-23 09:38:22');
INSERT INTO `purchase_receive` (`receive_id`, `po_no`, `supplier_id`, `store_id`, `warehouse_id`, `voucher_no`, `receive_by`, `receive_date`) VALUES ('20181023093854', '20181023093822', '14', 0, 0, 1010, '2', '2018-10-23');
INSERT INTO `purchase_receive_details` (`receive_id`, `product_id`, `receive_qty`, `product_rate`, `store_id`, `discount`) VALUES ('20181023093854', '31', '4', '19000', '19', '');
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('20181023093822', 'PO', '2018-10-23', 10107, 'PO Receive Receive No 20181023093854', '76000.00', 0, '19', 1, '2', '2018-10-23', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('20181023093822', 'PO', '2018-10-23', '5020200012', 'PO received For PO No.20181023093822 Receive No.20181023093854', 0, '76000.00', '2', 1, '2', '2018-10-23', 1);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('purchase order receive', 'create', 'Order Id- total amount-76000.00', '2', '2018-10-23 09:38:54');
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
INSERT INTO `sales_parent` (`sale_id`, `invoice_no`, `customer_id`, `sale_type_id`, `store_id`, `salesman`, `sales_date`, `sales_time`, `gurrantor_1`, `gurrantor_2`, `advance_amnt`, `lease_id`, `inquiry_officer`, `remaining_amnt`, `installment_amnt`, `package_price`, `total_amnt`) VALUES ('20181023093924', '1012', '37', '1', '2', '2', '2018-10-23', '09:39:24', NULL, NULL, '', NULL, NULL, NULL, 0, 0, '81000.00');
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1012', 'CIV', '2018-10-23 09:39:24', NULL, 'Cash in hand debit For Invoice No1012', '81000.00', 0, '2', 1, '2', '2018-10-23 09:39:24', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1012', 'CIV', '2018-10-23 09:39:24', 403, 'Cost of sale debit For Invoice No1012', NULL, 0, '2', 1, '2', '2018-10-23 09:39:24', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1012', 'CIV', '2018-10-23 09:39:24', 10107, 'Inventory credit For Invoice No1012', 0, NULL, '2', 1, '2', '2018-10-23 09:39:24', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1012', 'CIV', '2018-10-23 09:39:24', '1020301000030', 'Customer debit for Product For Invoice No1012', '81000.00', 0, '2', 1, '2', '2018-10-23 09:39:24', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1012', 'CIV', '2018-10-23 09:39:24', '1020301000030', 'Customer credit for Paid Amount For Invoice No1012', 0, '81000.00', '2', 1, '2', '2018-10-23 09:39:24', 1);
INSERT INTO `payment_collection` (`sale_id`, `invoice_no`, `customer_id`, `receive_amnt`, `due_amnt`, `receive_by`, `receive_date`) VALUES ('20181023093924', '1012', '37', '81000.00', NULL, '2', '2018-10-23');
INSERT INTO `sale_details` (`sale_id`, `product_id`, `qty`, `sell_price`, `sale_type_id`, `lease_unit_price`) VALUES ('20181023093924', '31', '3', '27000', '1', NULL);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Sales', 'create', 'invoice_no-1012 total amount-81000.00', '2', '2018-10-23 09:39:24');
INSERT INTO `purchase_order` (`po_no`, `supplier_id`, `total_amnt`, `store_id`, `warehouse_id`, `createby`, `createdate`, `isapproved`) VALUES ('20181023094032', '14', '300000.00', 0, 0, '2', '2018-10-23 09:40:32', 0);
INSERT INTO `purchase_order_details` (`row_id`, `po_no`, `product_id`, `order_qty`, `product_rate`, `discount`, `store_id`) VALUES ('812691133661863', '20181023094032', '34', '10', '30000', '', '18');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('purchase order', 'create', 'Orde Id-20181023094032 total amount-300000.00', '2', '2018-10-23 09:40:32');
INSERT INTO `purchase_receive` (`receive_id`, `po_no`, `supplier_id`, `store_id`, `warehouse_id`, `voucher_no`, `receive_by`, `receive_date`) VALUES ('20181023094047', '20181023094032', '14', 0, 0, 1011, '2', '2018-10-23');
INSERT INTO `purchase_receive_details` (`receive_id`, `product_id`, `receive_qty`, `product_rate`, `store_id`, `discount`) VALUES ('20181023094047', '34', '3', '30000', '18', '');
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('20181023094032', 'PO', '2018-10-23', 10107, 'PO Receive Receive No 20181023094047', '90000.00', 0, '18', 1, '2', '2018-10-23', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('20181023094032', 'PO', '2018-10-23', '5020200012', 'PO received For PO No.20181023094032 Receive No.20181023094047', 0, '90000.00', '2', 1, '2', '2018-10-23', 1);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('purchase order receive', 'create', 'Order Id- total amount-90000.00', '2', '2018-10-23 09:40:47');
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
INSERT INTO `sales_parent` (`sale_id`, `invoice_no`, `customer_id`, `sale_type_id`, `store_id`, `salesman`, `sales_date`, `sales_time`, `gurrantor_1`, `gurrantor_2`, `advance_amnt`, `lease_id`, `inquiry_officer`, `remaining_amnt`, `installment_amnt`, `package_price`, `total_amnt`) VALUES ('20181023094113', '1013', '30', '1', '2', '2', '2018-10-23', '09:41:13', NULL, NULL, '', NULL, NULL, NULL, 0, 0, '74000.00');
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1013', 'CIV', '2018-10-23 09:41:13', NULL, 'Cash in hand debit For Invoice No1013', '74000.00', 0, '2', 1, '2', '2018-10-23 09:41:13', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1013', 'CIV', '2018-10-23 09:41:13', 403, 'Cost of sale debit For Invoice No1013', NULL, 0, '2', 1, '2', '2018-10-23 09:41:13', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1013', 'CIV', '2018-10-23 09:41:13', 10107, 'Inventory credit For Invoice No1013', 0, NULL, '2', 1, '2', '2018-10-23 09:41:13', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1013', 'CIV', '2018-10-23 09:41:13', '1020301000023', 'Customer debit for Product For Invoice No1013', '74000.00', 0, '2', 1, '2', '2018-10-23 09:41:13', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1013', 'CIV', '2018-10-23 09:41:13', '1020301000023', 'Customer credit for Paid Amount For Invoice No1013', 0, '74000.00', '2', 1, '2', '2018-10-23 09:41:13', 1);
INSERT INTO `payment_collection` (`sale_id`, `invoice_no`, `customer_id`, `receive_amnt`, `due_amnt`, `receive_by`, `receive_date`) VALUES ('20181023094113', '1013', '30', '74000.00', NULL, '2', '2018-10-23');
INSERT INTO `sale_details` (`sale_id`, `product_id`, `qty`, `sell_price`, `sale_type_id`, `lease_unit_price`) VALUES ('20181023094113', '34', '2', '37000', '1', NULL);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Sales', 'create', 'invoice_no-1013 total amount-74000.00', '2', '2018-10-23 09:41:13');
INSERT INTO `purchase_order` (`po_no`, `supplier_id`, `total_amnt`, `store_id`, `warehouse_id`, `createby`, `createdate`, `isapproved`) VALUES ('20181023094159', '15', '300000.00', 0, 0, '2', '2018-10-23 09:41:59', 0);
INSERT INTO `purchase_order_details` (`row_id`, `po_no`, `product_id`, `order_qty`, `product_rate`, `discount`, `store_id`) VALUES ('247281955691479', '20181023094159', '33', '10', '30000', '', '15');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('purchase order', 'create', 'Orde Id-20181023094159 total amount-300000.00', '2', '2018-10-23 09:41:59');
INSERT INTO `purchase_receive` (`receive_id`, `po_no`, `supplier_id`, `store_id`, `warehouse_id`, `voucher_no`, `receive_by`, `receive_date`) VALUES ('20181023094215', '20181023094159', '15', 0, 0, 1012, '2', '2018-10-23');
INSERT INTO `purchase_receive_details` (`receive_id`, `product_id`, `receive_qty`, `product_rate`, `store_id`, `discount`) VALUES ('20181023094215', '33', '5', '30000', '15', '');
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('20181023094159', 'PO', '2018-10-23', 10107, 'PO Receive Receive No 20181023094215', '150000.00', 0, '15', 1, '2', '2018-10-23', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('20181023094159', 'PO', '2018-10-23', '5020200013', 'PO received For PO No.20181023094159 Receive No.20181023094215', 0, '150000.00', '2', 1, '2', '2018-10-23', 1);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('purchase order receive', 'create', 'Order Id- total amount-150000.00', '2', '2018-10-23 09:42:15');
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
INSERT INTO `sales_parent` (`sale_id`, `invoice_no`, `customer_id`, `sale_type_id`, `store_id`, `salesman`, `sales_date`, `sales_time`, `gurrantor_1`, `gurrantor_2`, `advance_amnt`, `lease_id`, `inquiry_officer`, `remaining_amnt`, `installment_amnt`, `package_price`, `total_amnt`) VALUES ('20181023094242', '1014', '32', '1', '2', '2', '2018-10-23', '09:42:42', NULL, NULL, '', NULL, NULL, NULL, 0, 0, '111000.00');
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1014', 'CIV', '2018-10-23 09:42:42', NULL, 'Cash in hand debit For Invoice No1014', '111000.00', 0, '2', 1, '2', '2018-10-23 09:42:42', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1014', 'CIV', '2018-10-23 09:42:42', 403, 'Cost of sale debit For Invoice No1014', NULL, 0, '2', 1, '2', '2018-10-23 09:42:42', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1014', 'CIV', '2018-10-23 09:42:42', 10107, 'Inventory credit For Invoice No1014', 0, NULL, '2', 1, '2', '2018-10-23 09:42:42', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1014', 'CIV', '2018-10-23 09:42:42', '1020301000025', 'Customer debit for Product For Invoice No1014', '111000.00', 0, '2', 1, '2', '2018-10-23 09:42:42', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1014', 'CIV', '2018-10-23 09:42:42', '1020301000025', 'Customer credit for Paid Amount For Invoice No1014', 0, '111000.00', '2', 1, '2', '2018-10-23 09:42:42', 1);
INSERT INTO `payment_collection` (`sale_id`, `invoice_no`, `customer_id`, `receive_amnt`, `due_amnt`, `receive_by`, `receive_date`) VALUES ('20181023094242', '1014', '32', '111000.00', NULL, '2', '2018-10-23');
INSERT INTO `sale_details` (`sale_id`, `product_id`, `qty`, `sell_price`, `sale_type_id`, `lease_unit_price`) VALUES ('20181023094242', '33', '3', '37000', '1', NULL);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Sales', 'create', 'invoice_no-1014 total amount-111000.00', '2', '2018-10-23 09:42:42');
INSERT INTO `purchase_order` (`po_no`, `supplier_id`, `total_amnt`, `store_id`, `warehouse_id`, `createby`, `createdate`, `isapproved`) VALUES ('20181023094337', '12', '300000.00', 0, 0, '2', '2018-10-23 09:43:37', 0);
INSERT INTO `purchase_order_details` (`row_id`, `po_no`, `product_id`, `order_qty`, `product_rate`, `discount`, `store_id`) VALUES ('391648488448781', '20181023094337', '30', '10', '30000', '', '13');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('purchase order', 'create', 'Orde Id-20181023094337 total amount-300000.00', '2', '2018-10-23 09:43:37');
INSERT INTO `purchase_receive` (`receive_id`, `po_no`, `supplier_id`, `store_id`, `warehouse_id`, `voucher_no`, `receive_by`, `receive_date`) VALUES ('20181023094350', '20181023094337', '12', 0, 0, 1013, '2', '2018-10-23');
INSERT INTO `purchase_receive_details` (`receive_id`, `product_id`, `receive_qty`, `product_rate`, `store_id`, `discount`) VALUES ('20181023094350', '30', '4', '30000', '13', '');
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('20181023094337', 'PO', '2018-10-23', 10107, 'PO Receive Receive No 20181023094350', '120000.00', 0, '13', 1, '2', '2018-10-23', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('20181023094337', 'PO', '2018-10-23', '5020200010', 'PO received For PO No.20181023094337 Receive No.20181023094350', 0, '120000.00', '2', 1, '2', '2018-10-23', 1);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('purchase order receive', 'create', 'Order Id- total amount-120000.00', '2', '2018-10-23 09:43:50');
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
INSERT INTO `sales_parent` (`sale_id`, `invoice_no`, `customer_id`, `sale_type_id`, `store_id`, `salesman`, `sales_date`, `sales_time`, `gurrantor_1`, `gurrantor_2`, `advance_amnt`, `lease_id`, `inquiry_officer`, `remaining_amnt`, `installment_amnt`, `package_price`, `total_amnt`) VALUES ('20181023094433', '1015', '30', '1', '2', '2', '2018-10-23', '09:44:33', NULL, NULL, '', NULL, NULL, NULL, 0, 0, '74000.00');
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1015', 'CIV', '2018-10-23 09:44:33', NULL, 'Cash in hand debit For Invoice No1015', '74000.00', 0, '2', 1, '2', '2018-10-23 09:44:33', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1015', 'CIV', '2018-10-23 09:44:33', 403, 'Cost of sale debit For Invoice No1015', NULL, 0, '2', 1, '2', '2018-10-23 09:44:33', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1015', 'CIV', '2018-10-23 09:44:33', 10107, 'Inventory credit For Invoice No1015', 0, NULL, '2', 1, '2', '2018-10-23 09:44:33', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1015', 'CIV', '2018-10-23 09:44:33', '1020301000023', 'Customer debit for Product For Invoice No1015', '74000.00', 0, '2', 1, '2', '2018-10-23 09:44:33', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1015', 'CIV', '2018-10-23 09:44:33', '1020301000023', 'Customer credit for Paid Amount For Invoice No1015', 0, '74000.00', '2', 1, '2', '2018-10-23 09:44:33', 1);
INSERT INTO `payment_collection` (`sale_id`, `invoice_no`, `customer_id`, `receive_amnt`, `due_amnt`, `receive_by`, `receive_date`) VALUES ('20181023094433', '1015', '30', '74000.00', NULL, '2', '2018-10-23');
INSERT INTO `sale_details` (`sale_id`, `product_id`, `qty`, `sell_price`, `sale_type_id`, `lease_unit_price`) VALUES ('20181023094433', '30', '2', '37000', '1', NULL);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Sales', 'create', 'invoice_no-1015 total amount-74000.00', '2', '2018-10-23 09:44:33');
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
UPDATE `user` SET `last_login` = '2018-10-23 13:48:52', `ip_address` = '175.29.195.114'
WHERE `id` = '2';
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
UPDATE `user` SET `last_login` = '2018-10-24 06:11:11', `ip_address` = '175.29.195.114'
WHERE `id` = '2';
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
DELETE FROM `lease`
WHERE `lease_id` = '11';
DELETE FROM `lease_product_map`
WHERE `lease_id` = '11';
DELETE FROM `lease_store_map`
WHERE `lease_id` = '11';
INSERT INTO `lease` (`package_code`, `package_name`, `lease_duration`, `advance`, `markup`, `isactive`, `createby`, `createdate`) VALUES ('101', 'ppp', '6', 0.1, 0.1, 1, '2', '2018-10-24 06:48:47');
INSERT INTO `lease_store_map` (`lease_id`, `store_id`) VALUES (12, '11');
INSERT INTO `lease_store_map` (`lease_id`, `store_id`) VALUES (12, '12');
INSERT INTO `lease_store_map` (`lease_id`, `store_id`) VALUES (12, '14');
INSERT INTO `lease_product_map` (`lease_id`, `product_id`) VALUES (12, '26');
INSERT INTO `lease_product_map` (`lease_id`, `product_id`) VALUES (12, '27');
INSERT INTO `lease_product_map` (`lease_id`, `product_id`) VALUES (12, '28');
INSERT INTO `lease_product_map` (`lease_id`, `product_id`) VALUES (12, '33');
INSERT INTO `lease_product_map` (`lease_id`, `product_id`) VALUES (12, '34');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('leases', 'create', 'Lease Id-12', '2', '2018-10-24 06:48:47');
INSERT INTO `acc_coa` (`HeadCode`, `HeadName`, `PHeadName`, `HeadLevel`, `IsActive`, `IsTransaction`, `IsGL`, `HeadType`, `IsBudget`, `IsDepreciation`, `DepreciationRate`, `CreateBy`, `CreateDate`) VALUES (1020301000031, 'ls-1-Arafat', 'Customer Receivable', '4', '1', '1', '0', 'A', '0', '0', '0', '2', '2018-10-24 06:52:44');
INSERT INTO `customer` (`customer_code`, `customer_name`, `customer_phone`, `type`, `job_designation`, `store_id`, `customer_address`, `customer_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('ls-1', 'Arafat', '54645645645', '3', 'hih', '2', 'fyfgtuytu', '879789789', 'jojko', 1, '2', '2018-10-24 06:52:44');
INSERT INTO `gurrantor` (`gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('gc-1', 'rtyry', '787878787', '2', '', '', '56456456456', '', 1, '2', '2018-10-24 06:53:15');
INSERT INTO `gurrantor` (`gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('gc-2', 'ojio', '879789', '2', '', '', '7816564', '', 1, '2', '2018-10-24 06:53:15');
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
INSERT INTO `sales_parent` (`sale_id`, `invoice_no`, `customer_id`, `sale_type_id`, `store_id`, `salesman`, `sales_date`, `sales_time`, `gurrantor_1`, `gurrantor_2`, `advance_amnt`, `lease_id`, `inquiry_officer`, `remaining_amnt`, `installment_amnt`, `package_price`, `total_amnt`) VALUES ('20181024065916', '1016', '38', '3', '2', '2', '2018-10-24', '06:59:16', '82', '81', '6200.00', '12', '7', '61380.00', '10230.00', '67580.00', '62000.00');
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1016', 'LSIV', '2018-10-24 06:59:16', '1020301000031', 'ls-1-Arafat Credit For Invoice No1016', 0, '6200.00', '2', 1, '2', '2018-10-24 06:59:16', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1016', 'LSIV', '2018-10-24 06:59:16', '1020301000031', 'ls-1-Arafat Debit of Total Package Price For Invoice#1016', '67580.00', 0, '2', 1, '2', '2018-10-24 06:59:16', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1016', 'LSIV', '2018-10-24 06:59:16', NULL, 'Cash In Hand Debit For Lease Invoice No1016', '6200.00', 0, '2', 1, '2', '2018-10-24 06:59:16', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1016', 'LSIV', '2018-10-24 06:59:16', 30102, 'Store Credit For Invoice No1016', 0, '67580.00', '2', 1, '2', '2018-10-24 06:59:16', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1016', 'LSIV', '2018-10-24 06:59:16', 403, 'Cost Of Sale Debit For Invoice No1016', 47000, 0, '2', 1, '2', '2018-10-24 06:59:16', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1016', 'LSIV', '2018-10-24 06:59:16', 10107, 'Inventory Credit For Invoice No1016', 0, 47000, '2', 1, '2', '2018-10-24 06:59:16', 1);
INSERT INTO `payment_collection` (`sale_id`, `invoice_no`, `customer_id`, `receive_amnt`, `due_amnt`, `receive_by`, `receive_date`) VALUES ('20181024065916', '1016', '38', '6200.00', '61380.00', '2', '2018-10-24');
INSERT INTO `customer_gurrantor_map` (`lease_id`, `customer_id`, `gurrantor_id`) VALUES ('12', '38', '82');
INSERT INTO `customer_gurrantor_map` (`lease_id`, `customer_id`, `gurrantor_id`) VALUES ('12', '38', '81');
INSERT INTO `sale_details` (`sale_id`, `product_id`, `qty`, `sell_price`, `sale_type_id`, `lease_unit_price`) VALUES ('20181024065916', '33', '1', '37000', '3', '40330');
INSERT INTO `sale_details` (`sale_id`, `product_id`, `qty`, `sell_price`, `sale_type_id`, `lease_unit_price`) VALUES ('20181024065916', '27', '1', '25000', '3', '27250');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Sales', 'create', 'invoice_no-1016 total amount-62000.00', '2', '2018-10-24 06:59:16');
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
UPDATE `user` SET `last_login` = '2018-10-24 07:05:20', `ip_address` = '175.29.195.114'
WHERE `id` = '2';
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
INSERT INTO `payment_collection` (`id`, `invoice_no`, `customer_id`, `receive_amnt`, `receive_date`, `receive_by`, `is_installment`) VALUES ('', '1016', '38', '10000', '2018-10-24', '2', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1016', 'RECVIV', '2018-10-24', NULL, 'Recovery Receive For Invoice No1016', '10000', 0, '2', 1, '2', '2018-10-24', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1016', 'RECVIV', '2018-10-24', '1020301000031', 'Recovery Paid For Invoice No1016', 0, '10000', '2', 1, '2', '2018-10-24', 1);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('recovery', 'create', 'payment ID :84', '2', '2018-10-24 07:10:58');
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
UPDATE `user` SET `last_login` = '2018-10-24 07:13:04', `ip_address` = '175.29.195.114'
WHERE `id` = '2';
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
INSERT INTO `stock_movement` (`proposal_code`, `for_store_id`, `from_store_id`, `proposal_datetime`, `proposal_by`) VALUES ('p-2', '13', '11', '2018-10-24', '2');
INSERT INTO `stock_movement_details` (`movement_id`, `product_id`, `proposal_qty`) VALUES (39, '29', '5');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Stockmovment', 'create', 'Stockmovment ID :39', '2', '2018-10-24 07:20:30');
UPDATE `stock_movement` SET `movement_id` = '39', `proposal_code` = 'p-2', `for_store_id` = '13', `from_store_id` = '11', `proposal_datetime` = '2018-10-24', `proposal_by` = '2', `issue_by` = '2', `for_warehouse` = 0, `from_warehouse` = 0, `issue_code` = 'is-39', `issue_datetime` = '2018-10-24 07:21:08', `issue_remarks` = '', `is_issued` = 1, `is_approved` = 1
WHERE `movement_id` = '39';
UPDATE `stock_movement_details` SET `movement_id` = '39', `product_id` = '29', `proposal_qty` = '5', `issue_qty` = '4', `received_qty` = 0
WHERE `movement_id` = '39'
AND `product_id` = '29';
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Stockmovment', 'issue', 'Stockmovment ID :39', '2', '2018-10-24 07:21:08');
UPDATE `stock_movement` SET `movement_id` = '39', `proposal_code` = 'p-2', `for_store_id` = '13', `from_store_id` = '11', `proposal_by` = '2', `issue_by` = '2', `for_warehouse` = 0, `from_warehouse` = 0, `issue_code` = 'is-39', `issue_remarks` = NULL, `is_issued` = 1, `is_received` = 1, `is_proposed` = 1, `receive_by` = '2', `receive_datetime` = '2018-10-24 07:22:15'
WHERE `movement_id` = '39';
UPDATE `stock_movement_details` SET `movement_id` = '39', `product_id` = '29', `proposal_qty` = '5', `issue_qty` = '3', `received_qty` = '3'
WHERE `movement_id` = '39'
AND `product_id` = '29';
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('stockmovement ', 'create', 'movemet received', '2', '2018-10-24 07:22:15');
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
INSERT INTO `lease` (`package_code`, `package_name`, `lease_duration`, `advance`, `markup`, `isactive`, `createby`, `createdate`) VALUES ('Eid101', 'Eid-offer', '6', 0.1, 0.1, 1, '2', '2018-10-24 07:52:14');
INSERT INTO `lease_store_map` (`lease_id`, `store_id`) VALUES (13, '13');
INSERT INTO `lease_store_map` (`lease_id`, `store_id`) VALUES (13, '16');
INSERT INTO `lease_store_map` (`lease_id`, `store_id`) VALUES (13, '18');
INSERT INTO `lease_store_map` (`lease_id`, `store_id`) VALUES (13, '19');
INSERT INTO `lease_store_map` (`lease_id`, `store_id`) VALUES (13, '20');
INSERT INTO `lease_product_map` (`lease_id`, `product_id`) VALUES (13, '26');
INSERT INTO `lease_product_map` (`lease_id`, `product_id`) VALUES (13, '27');
INSERT INTO `lease_product_map` (`lease_id`, `product_id`) VALUES (13, '28');
INSERT INTO `lease_product_map` (`lease_id`, `product_id`) VALUES (13, '31');
INSERT INTO `lease_product_map` (`lease_id`, `product_id`) VALUES (13, '32');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('leases', 'create', 'Lease Id-13', '2', '2018-10-24 07:52:14');
INSERT INTO `acc_coa` (`HeadCode`, `HeadName`, `PHeadName`, `HeadLevel`, `IsActive`, `IsTransaction`, `IsGL`, `HeadType`, `IsBudget`, `IsDepreciation`, `DepreciationRate`, `CreateBy`, `CreateDate`) VALUES (1020301000032, 'cc-12-Tarin', 'Customer Receivable', '4', '1', '1', '0', 'A', '0', '0', '0', '2', '2018-10-24 07:53:24');
INSERT INTO `customer` (`customer_code`, `customer_name`, `customer_phone`, `type`, `job_designation`, `store_id`, `customer_address`, `customer_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('cc-12', 'Tarin', '356547352', '1', 'null', '2', 'null', '535646543', 'null', 1, '2', '2018-10-24 07:53:24');
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
INSERT INTO `sales_parent` (`sale_id`, `invoice_no`, `customer_id`, `sale_type_id`, `store_id`, `salesman`, `sales_date`, `sales_time`, `gurrantor_1`, `gurrantor_2`, `advance_amnt`, `lease_id`, `inquiry_officer`, `remaining_amnt`, `installment_amnt`, `package_price`, `total_amnt`) VALUES ('20181024075356', '1017', '39', '1', '2', '2', '2018-10-24', '07:53:56', NULL, NULL, '', NULL, NULL, NULL, 0, 0, '54000.00');
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1017', 'CIV', '2018-10-24 07:53:56', NULL, 'Cash in hand debit For Invoice No1017', '54000.00', 0, '2', 1, '2', '2018-10-24 07:53:56', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1017', 'CIV', '2018-10-24 07:53:56', 403, 'Cost of sale debit For Invoice No1017', NULL, 0, '2', 1, '2', '2018-10-24 07:53:56', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1017', 'CIV', '2018-10-24 07:53:56', 10107, 'Inventory credit For Invoice No1017', 0, NULL, '2', 1, '2', '2018-10-24 07:53:56', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1017', 'CIV', '2018-10-24 07:53:56', '1020301000032', 'Customer debit for Product For Invoice No1017', '54000.00', 0, '2', 1, '2', '2018-10-24 07:53:56', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1017', 'CIV', '2018-10-24 07:53:56', '1020301000032', 'Customer credit for Paid Amount For Invoice No1017', 0, '54000.00', '2', 1, '2', '2018-10-24 07:53:56', 1);
INSERT INTO `payment_collection` (`sale_id`, `invoice_no`, `customer_id`, `receive_amnt`, `due_amnt`, `receive_by`, `receive_date`) VALUES ('20181024075356', '1017', '39', '54000.00', NULL, '2', '2018-10-24');
INSERT INTO `sale_details` (`sale_id`, `product_id`, `qty`, `sell_price`, `sale_type_id`, `lease_unit_price`) VALUES ('20181024075356', '31', '2', '27000', '1', NULL);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Sales', 'create', 'invoice_no-1017 total amount-54000.00', '2', '2018-10-24 07:53:56');
INSERT INTO `acc_coa` (`HeadCode`, `HeadName`, `PHeadName`, `HeadLevel`, `IsActive`, `IsTransaction`, `IsGL`, `HeadType`, `IsBudget`, `IsDepreciation`, `DepreciationRate`, `CreateBy`, `CreateDate`) VALUES (1020301000033, 'cc-13-Tarin', 'Customer Receivable', '4', '1', '1', '0', 'A', '0', '0', '0', '2', '2018-10-24 07:56:30');
INSERT INTO `customer` (`customer_code`, `customer_name`, `customer_phone`, `type`, `job_designation`, `store_id`, `customer_address`, `customer_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('cc-13', 'Tarin', '6578484', '1', 'null', '2', 'null', '486784687', 'null', 1, '2', '2018-10-24 07:56:30');
INSERT INTO `acc_coa` (`HeadCode`, `HeadName`, `PHeadName`, `HeadLevel`, `IsActive`, `IsTransaction`, `IsGL`, `HeadType`, `IsBudget`, `IsDepreciation`, `DepreciationRate`, `CreateBy`, `CreateDate`) VALUES (1020301000034, 'cr-1-Tarin', 'Customer Receivable', '4', '1', '1', '0', 'A', '0', '0', '0', '2', '2018-10-24 07:57:24');
INSERT INTO `customer` (`customer_code`, `customer_name`, `customer_phone`, `type`, `job_designation`, `store_id`, `customer_address`, `customer_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('cr-1', 'Tarin', 'tytrytr', '2', '664346', '2', '63466666', '54626', '456366', 1, '2', '2018-10-24 07:57:24');
INSERT INTO `acc_coa` (`HeadCode`, `HeadName`, `PHeadName`, `HeadLevel`, `IsActive`, `IsTransaction`, `IsGL`, `HeadType`, `IsBudget`, `IsDepreciation`, `DepreciationRate`, `CreateBy`, `CreateDate`) VALUES (1020301000035, 'cc-14-Tanha', 'Customer Receivable', '4', '1', '1', '0', 'A', '0', '0', '0', '2', '2018-10-24 08:03:33');
INSERT INTO `customer` (`customer_code`, `customer_name`, `customer_phone`, `type`, `job_designation`, `store_id`, `customer_address`, `customer_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('cc-14', 'Tanha', '153475696780', '1', 'null', '2', 'null', '5987907580', 'null', 1, '2', '2018-10-24 08:03:33');
INSERT INTO `acc_coa` (`HeadCode`, `HeadName`, `PHeadName`, `HeadLevel`, `IsActive`, `IsTransaction`, `IsGL`, `HeadType`, `IsBudget`, `IsDepreciation`, `DepreciationRate`, `CreateBy`, `CreateDate`) VALUES (1020301000036, 'ls-2-Tiffany M. Hudson', 'Customer Receivable', '4', '1', '1', '0', 'A', '0', '0', '0', '2', '2018-10-24 08:06:41');
INSERT INTO `customer` (`customer_code`, `customer_name`, `customer_phone`, `type`, `job_designation`, `store_id`, `customer_address`, `customer_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('ls-2', 'Tiffany M. Hudson', '325347676', '3', 'Businessman', '2', '3450 Callison Lane\r\nPhiladelphia, DE 19108\r\n', '57457547', 'null', 1, '2', '2018-10-24 08:06:41');
INSERT INTO `gurrantor` (`gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('gc-2', 'Diane M. Arnold', '254367', '2', 'Businessman', '3854 Orchard Street\r\n', '345346457', 'Golden Valley, MN 55427', 1, '2', '2018-10-24 08:09:02');
INSERT INTO `gurrantor` (`gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('gc-3', 'Ofelia A. Osborn', '53464576', '2', 'Banker', '1445 Friendship Lane\r\n', '657876969', 'Oakland, CA 94612', 1, '2', '2018-10-24 08:09:02');
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
INSERT INTO `sales_parent` (`sale_id`, `invoice_no`, `customer_id`, `sale_type_id`, `store_id`, `salesman`, `sales_date`, `sales_time`, `gurrantor_1`, `gurrantor_2`, `advance_amnt`, `lease_id`, `inquiry_officer`, `remaining_amnt`, `installment_amnt`, `package_price`, `total_amnt`) VALUES ('20181024081242', '1018', '43', '3', '2', '2', '2018-10-24', '08:12:42', '84', '83', '5400.00', '13', '8', '53460.00', '8910.00', '58860.00', '54000.00');
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1018', 'LSIV', '2018-10-24 08:12:42', '1020301000036', 'ls-2-Tiffany M. Hudson Credit For Invoice No1018', 0, '5400.00', '2', 1, '2', '2018-10-24 08:12:42', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1018', 'LSIV', '2018-10-24 08:12:42', '1020301000036', 'ls-2-Tiffany M. Hudson Debit of Total Package Price For Invoice#1018', '58860.00', 0, '2', 1, '2', '2018-10-24 08:12:42', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1018', 'LSIV', '2018-10-24 08:12:42', NULL, 'Cash In Hand Debit For Lease Invoice No1018', '5400.00', 0, '2', 1, '2', '2018-10-24 08:12:42', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1018', 'LSIV', '2018-10-24 08:12:42', 30102, 'Store Credit For Invoice No1018', 0, '58860.00', '2', 1, '2', '2018-10-24 08:12:42', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1018', 'LSIV', '2018-10-24 08:12:42', 403, 'Cost Of Sale Debit For Invoice No1018', 38000, 0, '2', 1, '2', '2018-10-24 08:12:42', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1018', 'LSIV', '2018-10-24 08:12:42', 10107, 'Inventory Credit For Invoice No1018', 0, 38000, '2', 1, '2', '2018-10-24 08:12:42', 1);
INSERT INTO `payment_collection` (`sale_id`, `invoice_no`, `customer_id`, `receive_amnt`, `due_amnt`, `receive_by`, `receive_date`) VALUES ('20181024081242', '1018', '43', '5400.00', '53460.00', '2', '2018-10-24');
INSERT INTO `customer_gurrantor_map` (`lease_id`, `customer_id`, `gurrantor_id`) VALUES ('13', '43', '84');
INSERT INTO `customer_gurrantor_map` (`lease_id`, `customer_id`, `gurrantor_id`) VALUES ('13', '43', '83');
INSERT INTO `sale_details` (`sale_id`, `product_id`, `qty`, `sell_price`, `sale_type_id`, `lease_unit_price`) VALUES ('20181024081242', '32', '2', '27000', '3', '29430');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Sales', 'create', 'invoice_no-1018 total amount-54000.00', '2', '2018-10-24 08:12:42');
INSERT INTO `lease` (`package_code`, `package_name`, `lease_duration`, `advance`, `markup`, `isactive`, `createby`, `createdate`) VALUES ('1045', 'Bundle offer', '12', 0.12, 0.12, 1, '2', '2018-10-24 08:15:38');
INSERT INTO `lease_store_map` (`lease_id`, `store_id`) VALUES (14, '15');
INSERT INTO `lease_store_map` (`lease_id`, `store_id`) VALUES (14, '17');
INSERT INTO `lease_store_map` (`lease_id`, `store_id`) VALUES (14, '19');
INSERT INTO `lease_store_map` (`lease_id`, `store_id`) VALUES (14, '20');
INSERT INTO `lease_product_map` (`lease_id`, `product_id`) VALUES (14, '25');
INSERT INTO `lease_product_map` (`lease_id`, `product_id`) VALUES (14, '30');
INSERT INTO `lease_product_map` (`lease_id`, `product_id`) VALUES (14, '33');
INSERT INTO `lease_product_map` (`lease_id`, `product_id`) VALUES (14, '34');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('leases', 'create', 'Lease Id-14', '2', '2018-10-24 08:15:38');
INSERT INTO `acc_coa` (`HeadCode`, `HeadName`, `PHeadName`, `HeadLevel`, `IsActive`, `IsTransaction`, `IsGL`, `HeadType`, `IsBudget`, `IsDepreciation`, `DepreciationRate`, `CreateBy`, `CreateDate`) VALUES (1020301000037, 'ls-3-Palma C. Foster', 'Customer Receivable', '4', '1', '1', '0', 'A', '0', '0', '0', '2', '2018-10-24 08:17:30');
INSERT INTO `customer` (`customer_code`, `customer_name`, `customer_phone`, `type`, `job_designation`, `store_id`, `customer_address`, `customer_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('ls-3', 'Palma C. Foster', '23543654768', '3', 'Banker', '2', '51 Prospect Valley Road\r\n', '465467588', 'Santa Ana, CA 92705', 1, '2', '2018-10-24 08:17:30');
INSERT INTO `gurrantor` (`gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('gc-4', 'Michael V. Mazzarella', '1234136546', '2', 'Businessman', '1168 Brown Bear Drive\r\n', '354637356', 'Los Angeles, CA 90017', 1, '2', '2018-10-24 08:22:07');
INSERT INTO `gurrantor` (`gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('gc-5', 'Daniel D. Deleon', '134235346', '2', 'Banker', '2424 Trouser Leg Road\r\n', '35457487', 'Milwaukee, WI 53213', 1, '2', '2018-10-24 08:22:07');
INSERT INTO `gurrantor` (`gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('gc-4', 'Michael V. Mazzarella', '1234136546', '2', 'Businessman', '1168 Brown Bear Drive\r\n', '354637356', 'Los Angeles, CA 90017', 1, '2', '2018-10-24 08:22:08');
INSERT INTO `gurrantor` (`gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('gc-5', 'Daniel D. Deleon', '134235346', '2', 'Banker', '2424 Trouser Leg Road\r\n', '35457487', 'Milwaukee, WI 53213', 1, '2', '2018-10-24 08:22:08');
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
INSERT INTO `sales_parent` (`sale_id`, `invoice_no`, `customer_id`, `sale_type_id`, `store_id`, `salesman`, `sales_date`, `sales_time`, `gurrantor_1`, `gurrantor_2`, `advance_amnt`, `lease_id`, `inquiry_officer`, `remaining_amnt`, `installment_amnt`, `package_price`, `total_amnt`) VALUES ('20181024082546', '1019', '44', '3', '2', '2', '2018-10-24', '08:25:46', '86', '-1', '13320.00', '14', '8', '109401.60', '9116.80', '122721.60', '111000.00');
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1019', 'LSIV', '2018-10-24 08:25:46', '1020301000037', 'ls-3-Palma C. Foster Credit For Invoice No1019', 0, '13320.00', '2', 1, '2', '2018-10-24 08:25:46', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1019', 'LSIV', '2018-10-24 08:25:46', '1020301000037', 'ls-3-Palma C. Foster Debit of Total Package Price For Invoice#1019', '122721.60', 0, '2', 1, '2', '2018-10-24 08:25:46', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1019', 'LSIV', '2018-10-24 08:25:46', NULL, 'Cash In Hand Debit For Lease Invoice No1019', '13320.00', 0, '2', 1, '2', '2018-10-24 08:25:46', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1019', 'LSIV', '2018-10-24 08:25:46', 30102, 'Store Credit For Invoice No1019', 0, '122721.60', '2', 1, '2', '2018-10-24 08:25:46', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1019', 'LSIV', '2018-10-24 08:25:46', 403, 'Cost Of Sale Debit For Invoice No1019', 90000, 0, '2', 1, '2', '2018-10-24 08:25:46', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1019', 'LSIV', '2018-10-24 08:25:46', 10107, 'Inventory Credit For Invoice No1019', 0, 90000, '2', 1, '2', '2018-10-24 08:25:46', 1);
INSERT INTO `payment_collection` (`sale_id`, `invoice_no`, `customer_id`, `receive_amnt`, `due_amnt`, `receive_by`, `receive_date`) VALUES ('20181024082546', '1019', '44', '13320.00', '109401.60', '2', '2018-10-24');
INSERT INTO `customer_gurrantor_map` (`lease_id`, `customer_id`, `gurrantor_id`) VALUES ('14', '44', '86');
INSERT INTO `customer_gurrantor_map` (`lease_id`, `customer_id`, `gurrantor_id`) VALUES ('14', '44', '85');
INSERT INTO `customer_gurrantor_map` (`lease_id`, `customer_id`, `gurrantor_id`) VALUES ('14', '44', '0');
INSERT INTO `customer_gurrantor_map` (`lease_id`, `customer_id`, `gurrantor_id`) VALUES ('14', '44', '-1');
INSERT INTO `sale_details` (`sale_id`, `product_id`, `qty`, `sell_price`, `sale_type_id`, `lease_unit_price`) VALUES ('20181024082546', '33', '3', '37000', '3', '40907.2');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Sales', 'create', 'invoice_no-1019 total amount-111000.00', '2', '2018-10-24 08:25:46');
INSERT INTO `acc_coa` (`HeadCode`, `HeadName`, `PHeadName`, `HeadLevel`, `IsActive`, `IsTransaction`, `IsGL`, `HeadType`, `IsBudget`, `IsDepreciation`, `DepreciationRate`, `CreateBy`, `CreateDate`) VALUES (1020301000038, 'ls-4-Louise H. Swofford', 'Customer Receivable', '4', '1', '1', '0', 'A', '0', '0', '0', '2', '2018-10-24 10:09:06');
INSERT INTO `customer` (`customer_code`, `customer_name`, `customer_phone`, `type`, `job_designation`, `store_id`, `customer_address`, `customer_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('ls-4', 'Louise H. Swofford', '89764868', '3', 'Banker', '2', '523 Coburn Hollow Road\r\n', '467844468', 'Metamora, IL 61548', 1, '2', '2018-10-24 10:09:06');
INSERT INTO `gurrantor` (`gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('gc-5', 'Bruce D. Price', '42564637', '2', 'Businessman', '2672 Steele Street\r\n', '46457658', 'Wheaton, IL 60187', 1, '2', '2018-10-24 10:10:38');
INSERT INTO `gurrantor` (`gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('gc-6', 'Darryl H. Hanks', '3245246', '2', 'Banker', '3932 Bubby Drive\r\n', '64546347', 'Austin, TX 78747', 1, '2', '2018-10-24 10:10:38');
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
INSERT INTO `sales_parent` (`sale_id`, `invoice_no`, `customer_id`, `sale_type_id`, `store_id`, `salesman`, `sales_date`, `sales_time`, `gurrantor_1`, `gurrantor_2`, `advance_amnt`, `lease_id`, `inquiry_officer`, `remaining_amnt`, `installment_amnt`, `package_price`, `total_amnt`) VALUES ('20181024101121', '1020', '45', '3', '2', '2', '2018-10-24', '10:11:21', '90', '89', '5000.00', '13', '7', '49500.00', '8250.00', '54500.00', '50000.00');
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1020', 'LSIV', '2018-10-24 10:11:21', '1020301000038', 'ls-4-Louise H. Swofford Credit For Invoice No1020', 0, '5000.00', '2', 1, '2', '2018-10-24 10:11:21', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1020', 'LSIV', '2018-10-24 10:11:21', '1020301000038', 'ls-4-Louise H. Swofford Debit of Total Package Price For Invoice#1020', '54500.00', 0, '2', 1, '2', '2018-10-24 10:11:21', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1020', 'LSIV', '2018-10-24 10:11:21', NULL, 'Cash In Hand Debit For Lease Invoice No1020', '5000.00', 0, '2', 1, '2', '2018-10-24 10:11:21', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1020', 'LSIV', '2018-10-24 10:11:21', 30102, 'Store Credit For Invoice No1020', 0, '54500.00', '2', 1, '2', '2018-10-24 10:11:21', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1020', 'LSIV', '2018-10-24 10:11:21', 403, 'Cost Of Sale Debit For Invoice No1020', 34000, 0, '2', 1, '2', '2018-10-24 10:11:21', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1020', 'LSIV', '2018-10-24 10:11:21', 10107, 'Inventory Credit For Invoice No1020', 0, 34000, '2', 1, '2', '2018-10-24 10:11:21', 1);
INSERT INTO `payment_collection` (`sale_id`, `invoice_no`, `customer_id`, `receive_amnt`, `due_amnt`, `receive_by`, `receive_date`) VALUES ('20181024101121', '1020', '45', '5000.00', '49500.00', '2', '2018-10-24');
INSERT INTO `customer_gurrantor_map` (`lease_id`, `customer_id`, `gurrantor_id`) VALUES ('13', '45', '90');
INSERT INTO `customer_gurrantor_map` (`lease_id`, `customer_id`, `gurrantor_id`) VALUES ('13', '45', '89');
INSERT INTO `sale_details` (`sale_id`, `product_id`, `qty`, `sell_price`, `sale_type_id`, `lease_unit_price`) VALUES ('20181024101121', '27', '2', '25000', '3', '27250');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Sales', 'create', 'invoice_no-1020 total amount-50000.00', '2', '2018-10-24 10:11:21');
INSERT INTO `lease` (`package_code`, `package_name`, `lease_duration`, `advance`, `markup`, `isactive`, `createby`, `createdate`) VALUES ('1056', 'Christmas offer', '12', 0.1, 0.1, 1, '2', '2018-10-24 10:14:50');
INSERT INTO `lease_store_map` (`lease_id`, `store_id`) VALUES (15, '15');
INSERT INTO `lease_store_map` (`lease_id`, `store_id`) VALUES (15, '16');
INSERT INTO `lease_store_map` (`lease_id`, `store_id`) VALUES (15, '17');
INSERT INTO `lease_store_map` (`lease_id`, `store_id`) VALUES (15, '18');
INSERT INTO `lease_store_map` (`lease_id`, `store_id`) VALUES (15, '19');
INSERT INTO `lease_product_map` (`lease_id`, `product_id`) VALUES (15, '26');
INSERT INTO `lease_product_map` (`lease_id`, `product_id`) VALUES (15, '27');
INSERT INTO `lease_product_map` (`lease_id`, `product_id`) VALUES (15, '28');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('leases', 'create', 'Lease Id-15', '2', '2018-10-24 10:14:50');
INSERT INTO `acc_coa` (`HeadCode`, `HeadName`, `PHeadName`, `HeadLevel`, `IsActive`, `IsTransaction`, `IsGL`, `HeadType`, `IsBudget`, `IsDepreciation`, `DepreciationRate`, `CreateBy`, `CreateDate`) VALUES (1020301000039, 'ls-5-Matthew E. Jacobs', 'Customer Receivable', '4', '1', '1', '0', 'A', '0', '0', '0', '2', '2018-10-24 10:16:31');
INSERT INTO `customer` (`customer_code`, `customer_name`, `customer_phone`, `type`, `job_designation`, `store_id`, `customer_address`, `customer_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('ls-5', 'Matthew E. Jacobs', '4354657', '3', 'Banker', '2', '841 Morgan Street\r\n\r\n', '35647658', 'Panama City, FL 32401', 1, '2', '2018-10-24 10:16:31');
INSERT INTO `gurrantor` (`gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('gc-7', 'Lela R. Fritts', '98687574', '2', 'Businessman', '3943 Hillcrest Drive\r\n', '875674776', 'Tacoma, WA 98402', 1, '2', '2018-10-24 10:18:17');
INSERT INTO `gurrantor` (`gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('gc-8', 'Quinton J. Ramos', '09678576', '2', 'Banker', '4274 Formula Lane\r\n', '764673780', 'Dallas, TX 75207', 1, '2', '2018-10-24 10:18:17');
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
INSERT INTO `sales_parent` (`sale_id`, `invoice_no`, `customer_id`, `sale_type_id`, `store_id`, `salesman`, `sales_date`, `sales_time`, `gurrantor_1`, `gurrantor_2`, `advance_amnt`, `lease_id`, `inquiry_officer`, `remaining_amnt`, `installment_amnt`, `package_price`, `total_amnt`) VALUES ('20181024101850', '1021', '46', '3', '2', '2', '2018-10-24', '10:18:50', '92', '91', '5000.00', '15', '7', '49500.00', '4125.00', '54500.00', '50000.00');
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1021', 'LSIV', '2018-10-24 10:18:50', '1020301000039', 'ls-5-Matthew E. Jacobs Credit For Invoice No1021', 0, '5000.00', '2', 1, '2', '2018-10-24 10:18:50', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1021', 'LSIV', '2018-10-24 10:18:50', '1020301000039', 'ls-5-Matthew E. Jacobs Debit of Total Package Price For Invoice#1021', '54500.00', 0, '2', 1, '2', '2018-10-24 10:18:50', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1021', 'LSIV', '2018-10-24 10:18:50', NULL, 'Cash In Hand Debit For Lease Invoice No1021', '5000.00', 0, '2', 1, '2', '2018-10-24 10:18:50', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1021', 'LSIV', '2018-10-24 10:18:50', 30102, 'Store Credit For Invoice No1021', 0, '54500.00', '2', 1, '2', '2018-10-24 10:18:50', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1021', 'LSIV', '2018-10-24 10:18:50', 403, 'Cost Of Sale Debit For Invoice No1021', 34000, 0, '2', 1, '2', '2018-10-24 10:18:50', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1021', 'LSIV', '2018-10-24 10:18:50', 10107, 'Inventory Credit For Invoice No1021', 0, 34000, '2', 1, '2', '2018-10-24 10:18:50', 1);
INSERT INTO `payment_collection` (`sale_id`, `invoice_no`, `customer_id`, `receive_amnt`, `due_amnt`, `receive_by`, `receive_date`) VALUES ('20181024101850', '1021', '46', '5000.00', '49500.00', '2', '2018-10-24');
INSERT INTO `customer_gurrantor_map` (`lease_id`, `customer_id`, `gurrantor_id`) VALUES ('15', '46', '92');
INSERT INTO `customer_gurrantor_map` (`lease_id`, `customer_id`, `gurrantor_id`) VALUES ('15', '46', '91');
INSERT INTO `sale_details` (`sale_id`, `product_id`, `qty`, `sell_price`, `sale_type_id`, `lease_unit_price`) VALUES ('20181024101850', '27', '2', '25000', '3', '27250');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Sales', 'create', 'invoice_no-1021 total amount-50000.00', '2', '2018-10-24 10:18:50');
INSERT INTO `acc_coa` (`HeadCode`, `HeadName`, `PHeadName`, `HeadLevel`, `IsActive`, `IsTransaction`, `IsGL`, `HeadType`, `IsBudget`, `IsDepreciation`, `DepreciationRate`, `CreateBy`, `CreateDate`) VALUES (1020301000040, 'ls-6-Theresa J. Fedler', 'Customer Receivable', '4', '1', '1', '0', 'A', '0', '0', '0', '2', '2018-10-24 10:27:50');
INSERT INTO `customer` (`customer_code`, `customer_name`, `customer_phone`, `type`, `job_designation`, `store_id`, `customer_address`, `customer_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('ls-6', 'Theresa J. Fedler', '345246357', '3', 'Banker', '2', '631 Hidden Pond Road\r\n', '343546578', 'Nashville, TN 37207', 1, '2', '2018-10-24 10:27:50');
INSERT INTO `gurrantor` (`gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('gc-8', 'Calvin M. Johnston', '352346357', '2', 'Businessman', '903 Matthews Street\r\n', '565767879', 'Forrest, IL 61741', 1, '2', '2018-10-24 10:37:47');
INSERT INTO `gurrantor` (`gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('gc-9', 'Kari E. Bradley', '32465746', '2', 'Banker', '4676 Capitol Avenue\r\n', '465768', 'West Point, IN 47992', 1, '2', '2018-10-24 10:37:47');
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
INSERT INTO `sales_parent` (`sale_id`, `invoice_no`, `customer_id`, `sale_type_id`, `store_id`, `salesman`, `sales_date`, `sales_time`, `gurrantor_1`, `gurrantor_2`, `advance_amnt`, `lease_id`, `inquiry_officer`, `remaining_amnt`, `installment_amnt`, `package_price`, `total_amnt`) VALUES ('20181024103815', '1022', '47', '3', '2', '2', '2018-10-24', '10:38:15', '94', '93', '5000.00', '13', '8', '49500.00', '8250.00', '54500.00', '50000.00');
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1022', 'LSIV', '2018-10-24 10:38:15', '1020301000040', 'ls-6-Theresa J. Fedler Credit For Invoice No1022', 0, '5000.00', '2', 1, '2', '2018-10-24 10:38:15', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1022', 'LSIV', '2018-10-24 10:38:15', '1020301000040', 'ls-6-Theresa J. Fedler Debit of Total Package Price For Invoice#1022', '54500.00', 0, '2', 1, '2', '2018-10-24 10:38:15', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1022', 'LSIV', '2018-10-24 10:38:15', NULL, 'Cash In Hand Debit For Lease Invoice No1022', '5000.00', 0, '2', 1, '2', '2018-10-24 10:38:15', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1022', 'LSIV', '2018-10-24 10:38:15', 30102, 'Store Credit For Invoice No1022', 0, '54500.00', '2', 1, '2', '2018-10-24 10:38:15', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1022', 'LSIV', '2018-10-24 10:38:15', 403, 'Cost Of Sale Debit For Invoice No1022', 34000, 0, '2', 1, '2', '2018-10-24 10:38:15', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1022', 'LSIV', '2018-10-24 10:38:15', 10107, 'Inventory Credit For Invoice No1022', 0, 34000, '2', 1, '2', '2018-10-24 10:38:15', 1);
INSERT INTO `payment_collection` (`sale_id`, `invoice_no`, `customer_id`, `receive_amnt`, `due_amnt`, `receive_by`, `receive_date`) VALUES ('20181024103815', '1022', '47', '5000.00', '49500.00', '2', '2018-10-24');
INSERT INTO `customer_gurrantor_map` (`lease_id`, `customer_id`, `gurrantor_id`) VALUES ('13', '47', '94');
INSERT INTO `customer_gurrantor_map` (`lease_id`, `customer_id`, `gurrantor_id`) VALUES ('13', '47', '93');
INSERT INTO `sale_details` (`sale_id`, `product_id`, `qty`, `sell_price`, `sale_type_id`, `lease_unit_price`) VALUES ('20181024103815', '27', '2', '25000', '3', '27250');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Sales', 'create', 'invoice_no-1022 total amount-50000.00', '2', '2018-10-24 10:38:15');
INSERT INTO `lease` (`package_code`, `package_name`, `lease_duration`, `advance`, `markup`, `isactive`, `createby`, `createdate`) VALUES ('1078', 'halloween', '6', 0.1, 0.1, 1, '2', '2018-10-24 11:08:12');
INSERT INTO `lease_store_map` (`lease_id`, `store_id`) VALUES (16, '15');
INSERT INTO `lease_store_map` (`lease_id`, `store_id`) VALUES (16, '16');
INSERT INTO `lease_store_map` (`lease_id`, `store_id`) VALUES (16, '17');
INSERT INTO `lease_product_map` (`lease_id`, `product_id`) VALUES (16, '29');
INSERT INTO `lease_product_map` (`lease_id`, `product_id`) VALUES (16, '31');
INSERT INTO `lease_product_map` (`lease_id`, `product_id`) VALUES (16, '32');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('leases', 'create', 'Lease Id-16', '2', '2018-10-24 11:08:12');
INSERT INTO `acc_coa` (`HeadCode`, `HeadName`, `PHeadName`, `HeadLevel`, `IsActive`, `IsTransaction`, `IsGL`, `HeadType`, `IsBudget`, `IsDepreciation`, `DepreciationRate`, `CreateBy`, `CreateDate`) VALUES (1020301000041, 'ls-7-John L. Hubbard', 'Customer Receivable', '4', '1', '1', '0', 'A', '0', '0', '0', '2', '2018-10-24 11:10:05');
INSERT INTO `customer` (`customer_code`, `customer_name`, `customer_phone`, `type`, `job_designation`, `store_id`, `customer_address`, `customer_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('ls-7', 'John L. Hubbard', '465465', '3', 'Businessman', '2', '4945 Goodwin Avenue\r\n', '64567765', 'Warden, WA 98857', 1, '2', '2018-10-24 11:10:05');
INSERT INTO `gurrantor` (`gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('gc-10', 'Mark H. Garst', '4654645', '2', 'Businessman', '550 Hickory Heights Drive\r\n', '45643767', 'Hanover, MD 21076', 1, '2', '2018-10-24 11:14:16');
INSERT INTO `gurrantor` (`gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('gc-11', 'Jackie T. Ervin', '35654768', '2', 'Banker', '399 Walton Street\r\n', '645687', 'Provo, UT 84606', 1, '2', '2018-10-24 11:14:16');
INSERT INTO `gurrantor` (`gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('gc-10', 'Mark H. Garst', '4654645', '2', 'Businessman', '550 Hickory Heights Drive\r\n', '45643767', 'Hanover, MD 21076', 1, '2', '2018-10-24 11:14:16');
INSERT INTO `gurrantor` (`gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('gc-11', 'Jackie T. Ervin', '35654768', '2', 'Banker', '399 Walton Street\r\n', '645687', 'Provo, UT 84606', 1, '2', '2018-10-24 11:14:16');
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
INSERT INTO `sales_parent` (`sale_id`, `invoice_no`, `customer_id`, `sale_type_id`, `store_id`, `salesman`, `sales_date`, `sales_time`, `gurrantor_1`, `gurrantor_2`, `advance_amnt`, `lease_id`, `inquiry_officer`, `remaining_amnt`, `installment_amnt`, `package_price`, `total_amnt`) VALUES ('20181024111524', '1023', '48', '3', '2', '2', '2018-10-24', '11:15:24', '96', '-1', '8100.00', '16', '3', '80190.00', '13365.00', '88290.00', '81000.00');
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1023', 'LSIV', '2018-10-24 11:15:24', '1020301000041', 'ls-7-John L. Hubbard Credit For Invoice No1023', 0, '8100.00', '2', 1, '2', '2018-10-24 11:15:24', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1023', 'LSIV', '2018-10-24 11:15:24', '1020301000041', 'ls-7-John L. Hubbard Debit of Total Package Price For Invoice#1023', '88290.00', 0, '2', 1, '2', '2018-10-24 11:15:24', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1023', 'LSIV', '2018-10-24 11:15:24', NULL, 'Cash In Hand Debit For Lease Invoice No1023', '8100.00', 0, '2', 1, '2', '2018-10-24 11:15:24', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1023', 'LSIV', '2018-10-24 11:15:24', 30102, 'Store Credit For Invoice No1023', 0, '88290.00', '2', 1, '2', '2018-10-24 11:15:24', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1023', 'LSIV', '2018-10-24 11:15:24', 403, 'Cost Of Sale Debit For Invoice No1023', 57000, 0, '2', 1, '2', '2018-10-24 11:15:24', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1023', 'LSIV', '2018-10-24 11:15:24', 10107, 'Inventory Credit For Invoice No1023', 0, 57000, '2', 1, '2', '2018-10-24 11:15:24', 1);
INSERT INTO `payment_collection` (`sale_id`, `invoice_no`, `customer_id`, `receive_amnt`, `due_amnt`, `receive_by`, `receive_date`) VALUES ('20181024111524', '1023', '48', '8100.00', '80190.00', '2', '2018-10-24');
INSERT INTO `customer_gurrantor_map` (`lease_id`, `customer_id`, `gurrantor_id`) VALUES ('16', '48', '96');
INSERT INTO `customer_gurrantor_map` (`lease_id`, `customer_id`, `gurrantor_id`) VALUES ('16', '48', '95');
INSERT INTO `customer_gurrantor_map` (`lease_id`, `customer_id`, `gurrantor_id`) VALUES ('16', '48', '0');
INSERT INTO `customer_gurrantor_map` (`lease_id`, `customer_id`, `gurrantor_id`) VALUES ('16', '48', '-1');
INSERT INTO `sale_details` (`sale_id`, `product_id`, `qty`, `sell_price`, `sale_type_id`, `lease_unit_price`) VALUES ('20181024111524', '31', '3', '27000', '3', '29430');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Sales', 'create', 'invoice_no-1023 total amount-81000.00', '2', '2018-10-24 11:15:24');
UPDATE `user` SET `last_login` = '2018-10-25 05:58:38', `ip_address` = '175.29.195.114'
WHERE `id` = '2';
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
UPDATE `user` SET `last_logout` = '2018-10-25 06:00:25'
WHERE `id` = '2';
UPDATE `user` SET `last_logout` = '2018-10-25 12:16:26'
WHERE `id` = '2';
UPDATE `user` SET `last_login` = '2018-10-28 06:09:37', `ip_address` = '175.29.195.114'
WHERE `id` = '2';
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
UPDATE `user` SET `last_login` = '2018-10-29 06:35:15', `ip_address` = '175.29.195.114'
WHERE `id` = '2';
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
UPDATE `user` SET `last_login` = '2018-10-30 05:22:41', `ip_address` = '175.29.195.114'
WHERE `id` = '2';
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
UPDATE `user` SET `last_login` = '2018-10-30 09:11:23', `ip_address` = '175.29.195.114'
WHERE `id` = '2';
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
INSERT INTO `lease` (`package_code`, `package_name`, `lease_duration`, `advance`, `markup`, `isactive`, `createby`, `createdate`) VALUES ('4041', 'Yearly offer', '6', 0.1, 0.1, 1, '2', '2018-10-30 09:15:37');
INSERT INTO `lease_store_map` (`lease_id`, `store_id`) VALUES (17, '14');
INSERT INTO `lease_store_map` (`lease_id`, `store_id`) VALUES (17, '15');
INSERT INTO `lease_store_map` (`lease_id`, `store_id`) VALUES (17, '17');
INSERT INTO `lease_store_map` (`lease_id`, `store_id`) VALUES (17, '18');
INSERT INTO `lease_store_map` (`lease_id`, `store_id`) VALUES (17, '19');
INSERT INTO `lease_product_map` (`lease_id`, `product_id`) VALUES (17, '30');
INSERT INTO `lease_product_map` (`lease_id`, `product_id`) VALUES (17, '33');
INSERT INTO `lease_product_map` (`lease_id`, `product_id`) VALUES (17, '34');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('leases', 'create', 'Lease Id-17', '2', '2018-10-30 09:15:37');
INSERT INTO `acc_coa` (`HeadCode`, `HeadName`, `PHeadName`, `HeadLevel`, `IsActive`, `IsTransaction`, `IsGL`, `HeadType`, `IsBudget`, `IsDepreciation`, `DepreciationRate`, `CreateBy`, `CreateDate`) VALUES (1020301000042, 'ls-8-Donna G. Rose', 'Customer Receivable', '4', '1', '1', '0', 'A', '0', '0', '0', '2', '2018-10-30 09:18:02');
INSERT INTO `customer` (`customer_code`, `customer_name`, `customer_phone`, `type`, `job_designation`, `store_id`, `customer_address`, `customer_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('ls-8', 'Donna G. Rose', '2436457658', '3', 'Businessman', '2', '4518 Lincoln Drive\r\n', '5765876989', 'Greencastle, PA 17225', 1, '2', '2018-10-30 09:18:02');
INSERT INTO `gurrantor` (`gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('gc-12', 'Jenny E. Hosley', '12432353246', '2', 'Businessman', '2910 Jefferson Street\r\n', '46547658', 'Chesapeake, VA 23320', 1, '2', '2018-10-30 09:19:32');
INSERT INTO `gurrantor` (`gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('gc-13', 'Brain P. Turner', '45675868', '2', 'Banker', '4027 Stanton Hollow Road\r\n', '867987076', 'Needham, MA 02192', 1, '2', '2018-10-30 09:19:32');
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
INSERT INTO `sales_parent` (`sale_id`, `invoice_no`, `customer_id`, `sale_type_id`, `store_id`, `salesman`, `sales_date`, `sales_time`, `gurrantor_1`, `gurrantor_2`, `advance_amnt`, `lease_id`, `inquiry_officer`, `remaining_amnt`, `installment_amnt`, `package_price`, `total_amnt`) VALUES ('20181030092003', '1024', '49', '3', '2', '2', '2018-10-30', '09:20:03', '100', '99', '11100.00', '17', '7', '109890.00', '18315.00', '120990.00', '111000.00');
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1024', 'LSIV', '2018-10-30 09:20:03', '1020301000042', 'ls-8-Donna G. Rose Credit For Invoice No1024', 0, '11100.00', '2', 1, '2', '2018-10-30 09:20:03', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1024', 'LSIV', '2018-10-30 09:20:03', '1020301000042', 'ls-8-Donna G. Rose Debit of Total Package Price For Invoice#1024', '120990.00', 0, '2', 1, '2', '2018-10-30 09:20:03', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1024', 'LSIV', '2018-10-30 09:20:03', NULL, 'Cash In Hand Debit For Lease Invoice No1024', '11100.00', 0, '2', 1, '2', '2018-10-30 09:20:03', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1024', 'LSIV', '2018-10-30 09:20:03', 30102, 'Store Credit For Invoice No1024', 0, '120990.00', '2', 1, '2', '2018-10-30 09:20:03', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1024', 'LSIV', '2018-10-30 09:20:03', 403, 'Cost Of Sale Debit For Invoice No1024', 90000, 0, '2', 1, '2', '2018-10-30 09:20:03', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1024', 'LSIV', '2018-10-30 09:20:03', 10107, 'Inventory Credit For Invoice No1024', 0, 90000, '2', 1, '2', '2018-10-30 09:20:03', 1);
INSERT INTO `payment_collection` (`sale_id`, `invoice_no`, `customer_id`, `receive_amnt`, `due_amnt`, `receive_by`, `receive_date`) VALUES ('20181030092003', '1024', '49', '11100.00', '109890.00', '2', '2018-10-30');
INSERT INTO `customer_gurrantor_map` (`lease_id`, `customer_id`, `gurrantor_id`) VALUES ('17', '49', '100');
INSERT INTO `customer_gurrantor_map` (`lease_id`, `customer_id`, `gurrantor_id`) VALUES ('17', '49', '99');
INSERT INTO `sale_details` (`sale_id`, `product_id`, `qty`, `sell_price`, `sale_type_id`, `lease_unit_price`) VALUES ('20181030092003', '33', '3', '37000', '3', '40330');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Sales', 'create', 'invoice_no-1024 total amount-111000.00', '2', '2018-10-30 09:20:03');
INSERT INTO `acc_coa` (`HeadCode`, `HeadName`, `PHeadName`, `HeadLevel`, `IsActive`, `IsTransaction`, `IsGL`, `HeadType`, `IsBudget`, `IsDepreciation`, `DepreciationRate`, `CreateBy`, `CreateDate`) VALUES (1020301000043, 'ls-9-Frank L. Henderson', 'Customer Receivable', '4', '1', '1', '0', 'A', '0', '0', '0', '2', '2018-10-30 09:21:09');
INSERT INTO `customer` (`customer_code`, `customer_name`, `customer_phone`, `type`, `job_designation`, `store_id`, `customer_address`, `customer_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('ls-9', 'Frank L. Henderson', '35456547', '3', 'Businessman', '2', '3019 Pursglove Court\r\n', '565765876', 'Dayton, OH 45402', 1, '2', '2018-10-30 09:21:09');
INSERT INTO `gurrantor` (`gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('gc-14', 'Linda B. Patterson', '2343215', '2', 'Businessman', '3794 Mattson Street\r\n', '5346575', 'Portland, OR 97220', 1, '2', '2018-10-30 09:22:32');
INSERT INTO `gurrantor` (`gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('gc-15', 'Lynne D. Gomez', '6456547658', '2', 'Businessman', '4020 Stanley Avenue\r\n', '573568569', 'Levittown, NY 11756', 1, '2', '2018-10-30 09:22:32');
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
INSERT INTO `sales_parent` (`sale_id`, `invoice_no`, `customer_id`, `sale_type_id`, `store_id`, `salesman`, `sales_date`, `sales_time`, `gurrantor_1`, `gurrantor_2`, `advance_amnt`, `lease_id`, `inquiry_officer`, `remaining_amnt`, `installment_amnt`, `package_price`, `total_amnt`) VALUES ('20181030092516', '1025', '50', '3', '2', '2', '2018-10-30', '09:25:16', '102', '101', '8880.00', '14', '8', '72934.40', '6077.87', '81814.40', '74000.00');
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1025', 'LSIV', '2018-10-30 09:25:16', '1020301000043', 'ls-9-Frank L. Henderson Credit For Invoice No1025', 0, '8880.00', '2', 1, '2', '2018-10-30 09:25:16', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1025', 'LSIV', '2018-10-30 09:25:16', '1020301000043', 'ls-9-Frank L. Henderson Debit of Total Package Price For Invoice#1025', '81814.40', 0, '2', 1, '2', '2018-10-30 09:25:16', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1025', 'LSIV', '2018-10-30 09:25:16', NULL, 'Cash In Hand Debit For Lease Invoice No1025', '8880.00', 0, '2', 1, '2', '2018-10-30 09:25:16', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1025', 'LSIV', '2018-10-30 09:25:16', 30102, 'Store Credit For Invoice No1025', 0, '81814.40', '2', 1, '2', '2018-10-30 09:25:16', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1025', 'LSIV', '2018-10-30 09:25:16', 403, 'Cost Of Sale Debit For Invoice No1025', 60000, 0, '2', 1, '2', '2018-10-30 09:25:16', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1025', 'LSIV', '2018-10-30 09:25:16', 10107, 'Inventory Credit For Invoice No1025', 0, 60000, '2', 1, '2', '2018-10-30 09:25:16', 1);
INSERT INTO `payment_collection` (`sale_id`, `invoice_no`, `customer_id`, `receive_amnt`, `due_amnt`, `receive_by`, `receive_date`) VALUES ('20181030092516', '1025', '50', '8880.00', '72934.40', '2', '2018-10-30');
INSERT INTO `customer_gurrantor_map` (`lease_id`, `customer_id`, `gurrantor_id`) VALUES ('14', '50', '102');
INSERT INTO `customer_gurrantor_map` (`lease_id`, `customer_id`, `gurrantor_id`) VALUES ('14', '50', '101');
INSERT INTO `sale_details` (`sale_id`, `product_id`, `qty`, `sell_price`, `sale_type_id`, `lease_unit_price`) VALUES ('20181030092516', '30', '2', '37000', '3', '40907.2');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Sales', 'create', 'invoice_no-1025 total amount-74000.00', '2', '2018-10-30 09:25:16');
INSERT INTO `acc_coa` (`HeadCode`, `HeadName`, `PHeadName`, `HeadLevel`, `IsActive`, `IsTransaction`, `IsGL`, `HeadType`, `IsBudget`, `IsDepreciation`, `DepreciationRate`, `CreateBy`, `CreateDate`) VALUES (1020301000044, 'ls-10-Martha T. Smith', 'Customer Receivable', '4', '1', '1', '0', 'A', '0', '0', '0', '2', '2018-10-30 09:26:31');
INSERT INTO `customer` (`customer_code`, `customer_name`, `customer_phone`, `type`, `job_designation`, `store_id`, `customer_address`, `customer_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('ls-10', 'Martha T. Smith', '42235436', '3', 'Banker', '2', '2800 Quincy Street\r\n', '464576588', 'Portland, PA 97205', 1, '2', '2018-10-30 09:26:31');
INSERT INTO `gurrantor` (`gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('gc-16', 'Patricia T. Dudley', '4565476', '2', 'Businessman', '1071 Melody Lane\r\n', '54673473568', 'Dinwiddie, VA 23841', 1, '2', '2018-10-30 09:27:52');
INSERT INTO `gurrantor` (`gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('gc-17', 'Willie N. Christiansen', '573567658', '2', 'Banker', '2283 Bombardier Way\r\n', '356756898', 'Southfield, MI 48075', 1, '2', '2018-10-30 09:27:52');
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
INSERT INTO `sales_parent` (`sale_id`, `invoice_no`, `customer_id`, `sale_type_id`, `store_id`, `salesman`, `sales_date`, `sales_time`, `gurrantor_1`, `gurrantor_2`, `advance_amnt`, `lease_id`, `inquiry_officer`, `remaining_amnt`, `installment_amnt`, `package_price`, `total_amnt`) VALUES ('20181030092815', '1026', '51', '3', '2', '2', '2018-10-30', '09:28:15', '104', '103', '7400.00', '17', '6', '73260.00', '12210.00', '80660.00', '74000.00');
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1026', 'LSIV', '2018-10-30 09:28:15', '1020301000044', 'ls-10-Martha T. Smith Credit For Invoice No1026', 0, '7400.00', '2', 1, '2', '2018-10-30 09:28:15', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1026', 'LSIV', '2018-10-30 09:28:15', '1020301000044', 'ls-10-Martha T. Smith Debit of Total Package Price For Invoice#1026', '80660.00', 0, '2', 1, '2', '2018-10-30 09:28:15', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1026', 'LSIV', '2018-10-30 09:28:15', NULL, 'Cash In Hand Debit For Lease Invoice No1026', '7400.00', 0, '2', 1, '2', '2018-10-30 09:28:15', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1026', 'LSIV', '2018-10-30 09:28:15', 30102, 'Store Credit For Invoice No1026', 0, '80660.00', '2', 1, '2', '2018-10-30 09:28:15', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1026', 'LSIV', '2018-10-30 09:28:15', 403, 'Cost Of Sale Debit For Invoice No1026', 60000, 0, '2', 1, '2', '2018-10-30 09:28:15', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1026', 'LSIV', '2018-10-30 09:28:15', 10107, 'Inventory Credit For Invoice No1026', 0, 60000, '2', 1, '2', '2018-10-30 09:28:15', 1);
INSERT INTO `payment_collection` (`sale_id`, `invoice_no`, `customer_id`, `receive_amnt`, `due_amnt`, `receive_by`, `receive_date`) VALUES ('20181030092815', '1026', '51', '7400.00', '73260.00', '2', '2018-10-30');
INSERT INTO `customer_gurrantor_map` (`lease_id`, `customer_id`, `gurrantor_id`) VALUES ('17', '51', '104');
INSERT INTO `customer_gurrantor_map` (`lease_id`, `customer_id`, `gurrantor_id`) VALUES ('17', '51', '103');
INSERT INTO `sale_details` (`sale_id`, `product_id`, `qty`, `sell_price`, `sale_type_id`, `lease_unit_price`) VALUES ('20181030092815', '34', '2', '37000', '3', '40330');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Sales', 'create', 'invoice_no-1026 total amount-74000.00', '2', '2018-10-30 09:28:15');
UPDATE `stock_movement` SET `movement_id` = '38', `proposal_code` = 'p-0001', `for_store_id` = '13', `from_store_id` = '12', `proposal_by` = '2', `issue_by` = '2', `for_warehouse` = 0, `from_warehouse` = 0, `issue_code` = 'is-38', `issue_remarks` = NULL, `is_issued` = 1, `is_received` = 1, `is_proposed` = 1, `receive_by` = '2', `receive_datetime` = '2018-10-30 09:34:26'
WHERE `movement_id` = '38';
UPDATE `stock_movement_details` SET `movement_id` = '38', `product_id` = '25', `proposal_qty` = '7', `issue_qty` = '7', `received_qty` = '7'
WHERE `movement_id` = '38'
AND `product_id` = '25';
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('stockmovement ', 'create', 'movemet received', '2', '2018-10-30 09:34:26');
INSERT INTO `stock_movement` (`proposal_code`, `for_store_id`, `from_store_id`, `proposal_datetime`, `proposal_by`) VALUES ('p-3', '12', '13', '2018-10-30', '2');
INSERT INTO `stock_movement_details` (`movement_id`, `product_id`, `proposal_qty`) VALUES (40, '32', '6');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Stockmovment', 'create', 'Stockmovment ID :40', '2', '2018-10-30 10:21:20');
UPDATE `stock_movement` SET `movement_id` = '40', `proposal_code` = 'p-3', `for_store_id` = '12', `from_store_id` = '13', `proposal_datetime` = '2018-10-30', `proposal_by` = '2', `issue_by` = '2', `for_warehouse` = 0, `from_warehouse` = 0, `issue_code` = 'is-40', `issue_datetime` = '2018-10-30 10:21:46', `issue_remarks` = '', `is_issued` = 1, `is_approved` = 1
WHERE `movement_id` = '40';
UPDATE `stock_movement_details` SET `movement_id` = '40', `product_id` = '32', `proposal_qty` = '6', `issue_qty` = '5', `received_qty` = 0
WHERE `movement_id` = '40'
AND `product_id` = '32';
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Stockmovment', 'issue', 'Stockmovment ID :40', '2', '2018-10-30 10:21:46');
UPDATE `stock_movement` SET `movement_id` = '40', `proposal_code` = 'p-3', `for_store_id` = '12', `from_store_id` = '13', `proposal_by` = '2', `issue_by` = '2', `for_warehouse` = 0, `from_warehouse` = 0, `issue_code` = 'is-40', `issue_remarks` = NULL, `is_issued` = 1, `is_received` = 1, `is_proposed` = 1, `receive_by` = '2', `receive_datetime` = '2018-10-30 10:22:00'
WHERE `movement_id` = '40';
UPDATE `stock_movement_details` SET `movement_id` = '40', `product_id` = '32', `proposal_qty` = '6', `issue_qty` = '4', `received_qty` = '4'
WHERE `movement_id` = '40'
AND `product_id` = '32';
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('stockmovement ', 'create', 'movemet received', '2', '2018-10-30 10:22:00');
INSERT INTO `stock_movement` (`proposal_code`, `for_store_id`, `from_store_id`, `proposal_datetime`, `proposal_by`) VALUES ('p-4', '12', '13', '2018-10-30', '2');
INSERT INTO `stock_movement_details` (`movement_id`, `product_id`, `proposal_qty`) VALUES (41, '27', '6');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Stockmovment', 'create', 'Stockmovment ID :41', '2', '2018-10-30 10:22:40');
UPDATE `stock_movement` SET `movement_id` = '41', `proposal_code` = 'p-4', `for_store_id` = '12', `from_store_id` = '13', `proposal_datetime` = '2018-10-30', `proposal_by` = '2', `issue_by` = '2', `for_warehouse` = 0, `from_warehouse` = 0, `issue_code` = 'is-40', `issue_datetime` = '2018-10-30 10:22:57', `issue_remarks` = '', `is_issued` = 1, `is_approved` = 1
WHERE `movement_id` = '41';
INSERT INTO `stock_movement` (`proposal_code`, `for_store_id`, `from_store_id`, `proposal_datetime`, `proposal_by`) VALUES ('p-5', '12', '13', '2018-10-30', '2');
INSERT INTO `stock_movement_details` (`movement_id`, `product_id`, `proposal_qty`) VALUES (42, '28', '6');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Stockmovment', 'create', 'Stockmovment ID :42', '2', '2018-10-30 10:23:38');
UPDATE `stock_movement` SET `movement_id` = '41', `proposal_code` = 'p-4', `for_store_id` = '12', `from_store_id` = '13', `proposal_datetime` = '2018-10-30', `proposal_by` = '2', `issue_by` = '2', `for_warehouse` = 0, `from_warehouse` = 0, `issue_code` = 'is-40', `issue_datetime` = '2018-10-30 10:23:56', `issue_remarks` = '', `is_issued` = 1, `is_approved` = 1
WHERE `movement_id` = '41';
UPDATE `stock_movement` SET `movement_id` = '41', `proposal_code` = 'p-4', `for_store_id` = '12', `from_store_id` = '13', `proposal_datetime` = '2018-10-30', `proposal_by` = '2', `issue_by` = '2', `for_warehouse` = 0, `from_warehouse` = 0, `issue_code` = 'is-40', `issue_datetime` = '2018-10-30 10:24:13', `issue_remarks` = '', `is_issued` = 1, `is_approved` = 1
WHERE `movement_id` = '41';
UPDATE `stock_movement` SET `movement_id` = '41', `proposal_code` = 'p-4', `for_store_id` = '12', `from_store_id` = '13', `proposal_datetime` = '2018-10-30', `proposal_by` = '2', `issue_by` = '2', `for_warehouse` = 0, `from_warehouse` = 0, `issue_code` = 'is-40', `issue_datetime` = '2018-10-30 10:24:57', `issue_remarks` = '', `is_issued` = 1, `is_approved` = 1
WHERE `movement_id` = '41';
UPDATE `stock_movement` SET `movement_id` = '41', `proposal_code` = 'p-4', `for_store_id` = '12', `from_store_id` = '13', `proposal_datetime` = '2018-10-30', `proposal_by` = '2', `issue_by` = '2', `for_warehouse` = 0, `from_warehouse` = 0, `issue_code` = 'is-40', `issue_datetime` = '2018-10-30 10:25:36', `issue_remarks` = '', `is_issued` = 1, `is_approved` = 1
WHERE `movement_id` = '41';
UPDATE `stock_movement` SET `movement_id` = '41', `proposal_code` = 'p-4', `for_store_id` = '12', `from_store_id` = '13', `proposal_datetime` = '2018-10-30', `proposal_by` = '2', `issue_by` = '2', `for_warehouse` = 0, `from_warehouse` = 0, `issue_code` = 'is-40', `issue_datetime` = '2018-10-30 10:26:03', `issue_remarks` = '', `is_issued` = 1, `is_approved` = 1
WHERE `movement_id` = '41';
UPDATE `stock_movement` SET `movement_id` = '41', `proposal_code` = 'p-4', `for_store_id` = '12', `from_store_id` = '13', `proposal_datetime` = '2018-10-30', `proposal_by` = '2', `issue_by` = '2', `for_warehouse` = 0, `from_warehouse` = 0, `issue_code` = 'is-40', `issue_datetime` = '2018-10-30 10:26:31', `issue_remarks` = '', `is_issued` = 1, `is_approved` = 1
WHERE `movement_id` = '41';
UPDATE `stock_movement` SET `movement_id` = '41', `proposal_code` = 'p-4', `for_store_id` = '12', `from_store_id` = '11', `proposal_datetime` = '2018-10-30', `proposal_by` = '2', `issue_by` = '2', `for_warehouse` = 0, `from_warehouse` = 0, `issue_code` = 'is-40', `issue_datetime` = '2018-10-30 10:27:03', `issue_remarks` = '', `is_issued` = 1, `is_approved` = 1
WHERE `movement_id` = '41';
DELETE FROM 
WHERE `Stockmovment_id` = '41';
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Stockmovment', 'delete', 'Stockmovment ID :41', '2', '2018-10-30 10:27:15');
DELETE FROM 
WHERE `Stockmovment_id` = '41';
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Stockmovment', 'delete', 'Stockmovment ID :41', '2', '2018-10-30 10:27:31');
DELETE FROM 
WHERE `Stockmovment_id` = '42';
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Stockmovment', 'delete', 'Stockmovment ID :42', '2', '2018-10-30 10:27:54');
DELETE FROM 
WHERE `Stockmovment_id` = '41';
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Stockmovment', 'delete', 'Stockmovment ID :41', '2', '2018-10-30 10:30:03');
UPDATE `stock_movement` SET `movement_id` = '42', `is_approved` = 1
WHERE `movement_id` = '42';
UPDATE `stock_movement` SET `movement_id` = '42', `proposal_code` = 'p-5', `for_store_id` = '12', `from_store_id` = '13', `proposal_datetime` = '2018-10-30', `proposal_by` = '2', `issue_by` = '2', `for_warehouse` = 0, `from_warehouse` = 0, `issue_code` = 'is-40', `issue_datetime` = '2018-10-30 10:30:37', `issue_remarks` = '', `is_issued` = 1, `is_approved` = 1
WHERE `movement_id` = '42';
DELETE FROM 
WHERE `Stockmovment_id` = '42';
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Stockmovment', 'delete', 'Stockmovment ID :42', '2', '2018-10-30 10:39:11');
UPDATE `stock_movement` SET `movement_id` = '42', `proposal_code` = 'p-5', `for_store_id` = '12', `from_store_id` = '13', `proposal_datetime` = '2018-10-30', `proposal_by` = '2', `issue_by` = '2', `for_warehouse` = 0, `from_warehouse` = 0, `issue_code` = 'is-40', `issue_datetime` = '2018-10-30 10:46:57', `issue_remarks` = '', `is_issued` = 1, `is_approved` = 1
WHERE `movement_id` = '42';
UPDATE `stock_movement` SET `movement_id` = '42', `proposal_code` = 'p-5', `for_store_id` = '12', `from_store_id` = '13', `proposal_datetime` = '2018-10-30', `proposal_by` = '2', `issue_by` = '2', `for_warehouse` = 0, `from_warehouse` = 0, `issue_code` = 'is-40', `issue_datetime` = '2018-10-30 11:46:51', `issue_remarks` = '', `is_issued` = 1, `is_approved` = 1
WHERE `movement_id` = '42';
UPDATE `user` SET `last_login` = '2018-10-31 05:00:22', `ip_address` = '175.29.195.114'
WHERE `id` = '2';
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
UPDATE `user` SET `last_logout` = '2018-10-31 05:01:43'
WHERE `id` = '2';
UPDATE `user` SET `last_login` = '2018-10-31 11:20:48', `ip_address` = '175.29.195.114'
WHERE `id` = '2';
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
UPDATE `stock_movement` SET `movement_id` = '42', `proposal_code` = 'p-5', `for_store_id` = '12', `from_store_id` = '13', `proposal_datetime` = '2018-10-30', `proposal_by` = '2', `issue_by` = '2', `for_warehouse` = 0, `from_warehouse` = 0, `issue_code` = 'is-40', `issue_datetime` = '2018-10-31 11:22:20', `issue_remarks` = '', `is_issued` = 1, `is_approved` = 1
WHERE `movement_id` = '42';
UPDATE `user` SET `last_logout` = '2018-10-31 12:19:55'
WHERE `id` = '2';
UPDATE `user` SET `last_login` = '2018-11-03 05:57:04', `ip_address` = '175.29.195.114'
WHERE `id` = '2';
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
UPDATE `stock_movement` SET `movement_id` = '42', `proposal_code` = 'p-5', `for_store_id` = '12', `from_store_id` = '13', `proposal_datetime` = '2018-10-30', `proposal_by` = '2', `issue_by` = '2', `for_warehouse` = 0, `from_warehouse` = 0, `issue_code` = 'is-40', `issue_datetime` = '2018-11-03 06:01:32', `issue_remarks` = '', `is_issued` = 1, `is_approved` = 1
WHERE `movement_id` = '42';
UPDATE `stock_movement` SET `movement_id` = '42', `proposal_code` = 'p-5', `for_store_id` = '12', `from_store_id` = '13', `proposal_datetime` = '2018-10-30', `proposal_by` = '2', `issue_by` = '2', `for_warehouse` = 0, `from_warehouse` = 0, `issue_code` = 'is-40', `issue_datetime` = '2018-11-03 06:01:57', `issue_remarks` = '', `is_issued` = 1, `is_approved` = 1
WHERE `movement_id` = '42';
UPDATE `stock_movement` SET `movement_id` = '42', `proposal_code` = 'p-5', `for_store_id` = '12', `from_store_id` = '13', `proposal_datetime` = '2018-10-30', `proposal_by` = '2', `issue_by` = '2', `for_warehouse` = 0, `from_warehouse` = 0, `issue_code` = 'is-40', `issue_datetime` = '2018-11-03 06:02:57', `issue_remarks` = '', `is_issued` = 1, `is_approved` = 1
WHERE `movement_id` = '42';
UPDATE `stock_movement` SET `movement_id` = '42', `proposal_code` = 'p-5', `for_store_id` = '12', `from_store_id` = '13', `proposal_datetime` = '2018-10-30', `proposal_by` = '2', `issue_by` = '2', `for_warehouse` = 0, `from_warehouse` = 0, `issue_code` = 'is-40', `issue_datetime` = '2018-11-03 06:03:04', `issue_remarks` = '', `is_issued` = 1, `is_approved` = 1
WHERE `movement_id` = '42';
UPDATE `stock_movement` SET `movement_id` = '41', `proposal_code` = 'p-4', `for_store_id` = '12', `from_store_id` = '13', `proposal_datetime` = '2018-10-30', `proposal_by` = '2', `issue_by` = '2', `for_warehouse` = 0, `from_warehouse` = 0, `issue_code` = 'is-40', `issue_datetime` = '2018-11-03 06:03:34', `issue_remarks` = '', `is_issued` = 1, `is_approved` = 1
WHERE `movement_id` = '41';
DELETE FROM 
WHERE `Stockmovment_id` = '41';
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Stockmovment', 'delete', 'Stockmovment ID :41', '2', '2018-11-03 06:03:53');
DELETE FROM 
WHERE `Stockmovment_id` = '41';
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Stockmovment', 'delete', 'Stockmovment ID :41', '2', '2018-11-03 06:04:12');
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
INSERT INTO `stock_movement` (`proposal_code`, `for_store_id`, `from_store_id`, `proposal_datetime`, `proposal_by`) VALUES ('p-6', '12', '15', '2018-11-03', '2');
INSERT INTO `stock_movement_details` (`movement_id`, `product_id`, `proposal_qty`) VALUES (43, '26', '10');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Stockmovment', 'create', 'Stockmovment ID :43', '2', '2018-11-03 06:07:31');
UPDATE `stock_movement` SET `movement_id` = '41', `is_approved` = 1
WHERE `movement_id` = '41';
UPDATE `stock_movement` SET `movement_id` = '43', `is_approved` = 1
WHERE `movement_id` = '43';
UPDATE `stock_movement` SET `movement_id` = '43', `proposal_code` = 'p-6', `for_store_id` = '12', `from_store_id` = '15', `proposal_datetime` = '2018-11-03', `proposal_by` = '2', `issue_by` = '2', `for_warehouse` = 0, `from_warehouse` = 0, `issue_code` = 'is-43', `issue_datetime` = '2018-11-03 06:14:35', `issue_remarks` = '', `is_issued` = 1, `is_approved` = 1
WHERE `movement_id` = '43';
UPDATE `stock_movement_details` SET `movement_id` = '43', `product_id` = '26', `proposal_qty` = '10', `issue_qty` = '10', `received_qty` = 0
WHERE `movement_id` = '43'
AND `product_id` = '26';
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Stockmovment', 'issue', 'Stockmovment ID :43', '2', '2018-11-03 06:14:35');
INSERT INTO `acc_coa` (`HeadCode`, `HeadName`, `PHeadName`, `HeadLevel`, `IsActive`, `IsTransaction`, `IsGL`, `HeadType`, `IsBudget`, `IsDepreciation`, `DepreciationRate`, `CreateBy`, `CreateDate`) VALUES (1020301000045, 'cc-15-Kona', 'Customer Receivable', '4', '1', '1', '0', 'A', '0', '0', '0', '2', '2018-11-03 06:26:20');
INSERT INTO `customer` (`customer_code`, `customer_name`, `customer_phone`, `type`, `job_designation`, `store_id`, `customer_address`, `customer_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('cc-15', 'Kona', '263478899', '1', 'null', '2', 'null', '231554769', 'null', 1, '2', '2018-11-03 06:26:20');
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
INSERT INTO `acc_coa` (`HeadCode`, `HeadName`, `PHeadName`, `HeadLevel`, `IsActive`, `IsTransaction`, `IsGL`, `HeadType`, `IsBudget`, `IsDepreciation`, `DepreciationRate`, `CreateBy`, `CreateDate`) VALUES (1020301000046, 'cr-2-Kona U', 'Customer Receivable', '4', '1', '1', '0', 'A', '0', '0', '0', '2', '2018-11-03 06:28:21');
INSERT INTO `customer` (`customer_code`, `customer_name`, `customer_phone`, `type`, `job_designation`, `store_id`, `customer_address`, `customer_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('cr-2', 'Kona U', '4567455646', '2', '5341', '2', ',l;pl;', '45654656546456', 'hgughyui', 1, '2', '2018-11-03 06:28:21');
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
INSERT INTO `sales_parent` (`sale_id`, `invoice_no`, `customer_id`, `sale_type_id`, `store_id`, `salesman`, `sales_date`, `sales_time`, `gurrantor_1`, `gurrantor_2`, `advance_amnt`, `lease_id`, `inquiry_officer`, `remaining_amnt`, `installment_amnt`, `package_price`, `total_amnt`) VALUES ('20181103063734', '1027', '53', '2', '2', '2', '2018-11-03', '06:37:34', NULL, NULL, '20000', NULL, NULL, '28000.00', 0, 0, '48000.00');
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1027', 'CRIV', '2018-11-03 06:37:34', '1020301000046', 'Customer Credit For Invoice No1027', 0, '20000', '2', 1, '2', '2018-11-03 06:37:34', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1027', 'CRIV', '2018-11-03 06:37:34', '1020301000046', 'Customer Debit For Invoice No1027', '48000.00', 0, '2', 1, '2', '2018-11-03 06:37:34', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1027', 'CRIV', '2018-11-03 06:37:34', NULL, 'Cash in Hand For Invoice No1027', '20000', 0, '2', 1, '2', '2018-11-03 06:37:34', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1027', 'CRIV', '2018-11-03 06:37:34', 30102, 'Store credit For Invoice No1027', 0, '48000.00', '2', 1, '2', '2018-11-03 06:37:34', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1027', 'CIV', '2018-11-03 06:37:34', 403, 'Cost of sale Debit For Invoice No1027', 30000, 0, '2', 1, '2', '2018-11-03 06:37:34', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1027', 'CIV', '2018-11-03 06:37:34', 10107, 'Inventory Credit For Invoice No1027', 0, 30000, '2', 1, '2', '2018-11-03 06:37:34', 1);
INSERT INTO `payment_collection` (`sale_id`, `invoice_no`, `customer_id`, `receive_amnt`, `due_amnt`, `receive_by`, `receive_date`) VALUES ('20181103063734', '1027', '53', '20000', '28000.00', '2', '2018-11-03');
INSERT INTO `sale_details` (`sale_id`, `product_id`, `qty`, `sell_price`, `sale_type_id`, `lease_unit_price`) VALUES ('20181103063734', '26', '2', '24000', '2', NULL);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Sales', 'create', 'invoice_no-1027 total amount-48000.00', '2', '2018-11-03 06:37:34');
INSERT INTO `payment_collection` (`id`, `invoice_no`, `customer_id`, `receive_amnt`, `receive_date`, `receive_by`) VALUES ('', '1027', '53', '20000', '2018-11-03', '2');
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1027', 'RECVIV', '2018-11-03', NULL, 'Credit Receive For Invoice No1027', '20000', 0, '2', 1, '2', '2018-11-03', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1027', 'RECVIV', '2018-11-03', '1020301000046', 'Credit Paid For Invoice No1027', 0, '20000', '2', 1, '2', '2018-11-03', 1);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('payment', 'create', 'payment ID :96', '2', '2018-11-03 06:42:22');
INSERT INTO `payment_collection` (`id`, `invoice_no`, `customer_id`, `receive_amnt`, `receive_date`, `receive_by`) VALUES ('', '1027', '53', '8000', '2018-11-03', '2');
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1027', 'RECVIV', '2018-11-03', NULL, 'Credit Receive For Invoice No1027', '8000', 0, '2', 1, '2', '2018-11-03', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1027', 'RECVIV', '2018-11-03', '1020301000046', 'Credit Paid For Invoice No1027', 0, '8000', '2', 1, '2', '2018-11-03', 1);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('payment', 'create', 'payment ID :97', '2', '2018-11-03 06:44:53');
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
INSERT INTO `payment_collection` (`id`, `invoice_no`, `customer_id`, `receive_amnt`, `receive_date`, `receive_by`, `is_installment`) VALUES ('', '1020', '45', '5000', '2018-11-03', '2', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1020', 'RECVIV', '2018-11-03', NULL, 'Recovery Receive For Invoice No1020', '5000', 0, '2', 1, '2', '2018-11-03', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1020', 'RECVIV', '2018-11-03', '1020301000038', 'Recovery Paid For Invoice No1020', 0, '5000', '2', 1, '2', '2018-11-03', 1);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('recovery', 'create', 'payment ID :98', '2', '2018-11-03 06:47:36');
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
INSERT INTO `payment_collection` (`id`, `invoice_no`, `customer_id`, `receive_amnt`, `receive_date`, `receive_by`, `is_installment`) VALUES ('', '1016', '38', '20000', '2018-11-03', '2', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1016', 'RECVIV', '2018-11-03', NULL, 'Recovery Receive For Invoice No1016', '20000', 0, '2', 1, '2', '2018-11-03', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1016', 'RECVIV', '2018-11-03', '1020301000031', 'Recovery Paid For Invoice No1016', 0, '20000', '2', 1, '2', '2018-11-03', 1);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('recovery', 'create', 'payment ID :99', '2', '2018-11-03 06:50:56');
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
UPDATE `user` SET `last_login` = '2018-11-03 07:21:39', `ip_address` = '175.29.195.114'
WHERE `id` = '2';
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
INSERT INTO `acc_coa` (`HeadCode`, `HeadName`, `PHeadName`, `HeadLevel`, `IsActive`, `IsTransaction`, `IsGL`, `HeadType`, `IsBudget`, `IsDepreciation`, `DepreciationRate`, `CreateBy`, `CreateDate`) VALUES (1020301000047, 'cr-3-Samuel T. Garcia', 'Customer Receivable', '4', '1', '1', '0', 'A', '0', '0', '0', '2', '2018-11-03 09:07:45');
INSERT INTO `customer` (`customer_code`, `customer_name`, `customer_phone`, `type`, `job_designation`, `store_id`, `customer_address`, `customer_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('cr-3', 'Samuel T. Garcia', '1354346576', '2', 'Businessman', '2', '3384 Johnstown Road\r\n', '6234247524', 'Des Plaines, IL 60016', 1, '2', '2018-11-03 09:07:45');
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
INSERT INTO `sales_parent` (`sale_id`, `invoice_no`, `customer_id`, `sale_type_id`, `store_id`, `salesman`, `sales_date`, `sales_time`, `gurrantor_1`, `gurrantor_2`, `advance_amnt`, `lease_id`, `inquiry_officer`, `remaining_amnt`, `installment_amnt`, `package_price`, `total_amnt`) VALUES ('20181103090957', '1028', '54', '2', '2', '2', '2018-11-03', '09:09:57', NULL, NULL, '20000', NULL, NULL, '6000.00', 0, 0, '26000.00');
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1028', 'CRIV', '2018-11-03 09:09:57', '1020301000047', 'Customer Credit For Invoice No1028', 0, '20000', '2', 1, '2', '2018-11-03 09:09:57', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1028', 'CRIV', '2018-11-03 09:09:57', '1020301000047', 'Customer Debit For Invoice No1028', '26000.00', 0, '2', 1, '2', '2018-11-03 09:09:57', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1028', 'CRIV', '2018-11-03 09:09:57', NULL, 'Cash in Hand For Invoice No1028', '20000', 0, '2', 1, '2', '2018-11-03 09:09:57', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1028', 'CRIV', '2018-11-03 09:09:57', 30102, 'Store credit For Invoice No1028', 0, '26000.00', '2', 1, '2', '2018-11-03 09:09:57', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1028', 'CIV', '2018-11-03 09:09:57', 403, 'Cost of sale Debit For Invoice No1028', 18000, 0, '2', 1, '2', '2018-11-03 09:09:57', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1028', 'CIV', '2018-11-03 09:09:57', 10107, 'Inventory Credit For Invoice No1028', 0, 18000, '2', 1, '2', '2018-11-03 09:09:57', 1);
INSERT INTO `payment_collection` (`sale_id`, `invoice_no`, `customer_id`, `receive_amnt`, `due_amnt`, `receive_by`, `receive_date`) VALUES ('20181103090957', '1028', '54', '20000', '6000.00', '2', '2018-11-03');
INSERT INTO `sale_details` (`sale_id`, `product_id`, `qty`, `sell_price`, `sale_type_id`, `lease_unit_price`) VALUES ('20181103090957', '28', '1', '26000', '2', NULL);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Sales', 'create', 'invoice_no-1028 total amount-26000.00', '2', '2018-11-03 09:09:57');
UPDATE `stock_movement` SET `movement_id` = '42', `proposal_code` = 'p-5', `for_store_id` = '12', `from_store_id` = '13', `proposal_datetime` = '2018-10-30', `proposal_by` = '2', `issue_by` = '2', `for_warehouse` = 0, `from_warehouse` = 0, `issue_code` = 'is-43', `issue_datetime` = '2018-11-03 09:12:27', `issue_remarks` = 'sdfasdfsdf', `is_issued` = 1, `is_approved` = 1
WHERE `movement_id` = '42';
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
INSERT INTO `acc_coa` (`HeadCode`, `HeadName`, `PHeadName`, `HeadLevel`, `IsActive`, `IsTransaction`, `IsGL`, `HeadType`, `IsBudget`, `IsDepreciation`, `DepreciationRate`, `CreateBy`, `CreateDate`) VALUES (1020301000048, 'cr-4-Walter J. Boddie', 'Customer Receivable', '4', '1', '1', '0', 'A', '0', '0', '0', '2', '2018-11-03 09:23:59');
INSERT INTO `customer` (`customer_code`, `customer_name`, `customer_phone`, `type`, `job_designation`, `store_id`, `customer_address`, `customer_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('cr-4', 'Walter J. Boddie', '3453464567', '2', 'Banker', '2', '596 Marigold Lane\r\n', '436547678', 'Ft Lauderdale, FL 33311', 1, '2', '2018-11-03 09:23:59');
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
UPDATE `stock_movement` SET `movement_id` = '42', `proposal_code` = 'p-5', `for_store_id` = '12', `from_store_id` = '13', `proposal_datetime` = '2018-10-30', `proposal_by` = '2', `issue_by` = '2', `for_warehouse` = 0, `from_warehouse` = 0, `issue_code` = 'is-43', `issue_datetime` = '2018-11-03 09:26:50', `issue_remarks` = '', `is_issued` = 1, `is_approved` = 1
WHERE `movement_id` = '42';
UPDATE `stock_movement` SET `movement_id` = '41', `proposal_code` = 'p-4', `for_store_id` = '12', `from_store_id` = '13', `proposal_datetime` = '2018-10-30', `proposal_by` = '2', `issue_by` = '2', `for_warehouse` = 0, `from_warehouse` = 0, `issue_code` = 'is-43', `issue_datetime` = '2018-11-03 09:28:17', `issue_remarks` = '', `is_issued` = 1, `is_approved` = 1
WHERE `movement_id` = '41';
INSERT INTO `sales_parent` (`sale_id`, `invoice_no`, `customer_id`, `sale_type_id`, `store_id`, `salesman`, `sales_date`, `sales_time`, `gurrantor_1`, `gurrantor_2`, `advance_amnt`, `lease_id`, `inquiry_officer`, `remaining_amnt`, `installment_amnt`, `package_price`, `total_amnt`) VALUES ('20181103093219', '1029', '55', '2', '2', '2', '2018-11-03', '09:32:19', NULL, NULL, '30000', NULL, NULL, '20000.00', 0, 0, '50000.00');
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1029', 'CRIV', '2018-11-03 09:32:19', '1020301000048', 'Customer Credit For Invoice No1029', 0, '30000', '2', 1, '2', '2018-11-03 09:32:19', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1029', 'CRIV', '2018-11-03 09:32:19', '1020301000048', 'Customer Debit For Invoice No1029', '50000.00', 0, '2', 1, '2', '2018-11-03 09:32:19', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1029', 'CRIV', '2018-11-03 09:32:19', NULL, 'Cash in Hand For Invoice No1029', '30000', 0, '2', 1, '2', '2018-11-03 09:32:19', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1029', 'CRIV', '2018-11-03 09:32:19', 30102, 'Store credit For Invoice No1029', 0, '50000.00', '2', 1, '2', '2018-11-03 09:32:19', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1029', 'CIV', '2018-11-03 09:32:19', 403, 'Cost of sale Debit For Invoice No1029', 34000, 0, '2', 1, '2', '2018-11-03 09:32:19', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1029', 'CIV', '2018-11-03 09:32:19', 10107, 'Inventory Credit For Invoice No1029', 0, 34000, '2', 1, '2', '2018-11-03 09:32:19', 1);
INSERT INTO `payment_collection` (`sale_id`, `invoice_no`, `customer_id`, `receive_amnt`, `due_amnt`, `receive_by`, `receive_date`) VALUES ('20181103093219', '1029', '55', '30000', '20000.00', '2', '2018-11-03');
INSERT INTO `sale_details` (`sale_id`, `product_id`, `qty`, `sell_price`, `sale_type_id`, `lease_unit_price`) VALUES ('20181103093219', '27', '2', '25000', '2', NULL);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Sales', 'create', 'invoice_no-1029 total amount-50000.00', '2', '2018-11-03 09:32:19');
INSERT INTO `acc_coa` (`HeadCode`, `HeadName`, `PHeadName`, `HeadLevel`, `IsActive`, `IsTransaction`, `IsGL`, `HeadType`, `IsBudget`, `IsDepreciation`, `DepreciationRate`, `CreateBy`, `CreateDate`) VALUES (1020301000049, 'cr-5-William L. Townsel', 'Customer Receivable', '4', '1', '1', '0', 'A', '0', '0', '0', '2', '2018-11-03 09:34:10');
INSERT INTO `customer` (`customer_code`, `customer_name`, `customer_phone`, `type`, `job_designation`, `store_id`, `customer_address`, `customer_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('cr-5', 'William L. Townsel', '23435465765', '2', 'Businessman', '2', '798 Alpha Avenue\r\n', '235346576', 'Jacksonville, FL 32256', 1, '2', '2018-11-03 09:34:10');
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
INSERT INTO `sales_parent` (`sale_id`, `invoice_no`, `customer_id`, `sale_type_id`, `store_id`, `salesman`, `sales_date`, `sales_time`, `gurrantor_1`, `gurrantor_2`, `advance_amnt`, `lease_id`, `inquiry_officer`, `remaining_amnt`, `installment_amnt`, `package_price`, `total_amnt`) VALUES ('20181103093459', '1030', '56', '2', '2', '2', '2018-11-03', '09:34:59', NULL, NULL, '20000', NULL, NULL, '7000.00', 0, 0, '27000.00');
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1030', 'CRIV', '2018-11-03 09:34:59', '1020301000049', 'Customer Credit For Invoice No1030', 0, '20000', '2', 1, '2', '2018-11-03 09:34:59', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1030', 'CRIV', '2018-11-03 09:34:59', '1020301000049', 'Customer Debit For Invoice No1030', '27000.00', 0, '2', 1, '2', '2018-11-03 09:34:59', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1030', 'CRIV', '2018-11-03 09:34:59', NULL, 'Cash in Hand For Invoice No1030', '20000', 0, '2', 1, '2', '2018-11-03 09:34:59', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1030', 'CRIV', '2018-11-03 09:34:59', 30102, 'Store credit For Invoice No1030', 0, '27000.00', '2', 1, '2', '2018-11-03 09:34:59', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1030', 'CIV', '2018-11-03 09:34:59', 403, 'Cost of sale Debit For Invoice No1030', 19000, 0, '2', 1, '2', '2018-11-03 09:34:59', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1030', 'CIV', '2018-11-03 09:34:59', 10107, 'Inventory Credit For Invoice No1030', 0, 19000, '2', 1, '2', '2018-11-03 09:34:59', 1);
INSERT INTO `payment_collection` (`sale_id`, `invoice_no`, `customer_id`, `receive_amnt`, `due_amnt`, `receive_by`, `receive_date`) VALUES ('20181103093459', '1030', '56', '20000', '7000.00', '2', '2018-11-03');
INSERT INTO `sale_details` (`sale_id`, `product_id`, `qty`, `sell_price`, `sale_type_id`, `lease_unit_price`) VALUES ('20181103093459', '32', '1', '27000', '2', NULL);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Sales', 'create', 'invoice_no-1030 total amount-27000.00', '2', '2018-11-03 09:34:59');
UPDATE `stock_movement` SET `movement_id` = '42', `proposal_code` = 'p-5', `for_store_id` = '12', `from_store_id` = '13', `proposal_datetime` = '2018-10-30', `proposal_by` = '2', `issue_by` = '2', `for_warehouse` = 0, `from_warehouse` = 0, `issue_code` = 'is-43', `issue_datetime` = '2018-11-03 09:36:10', `issue_remarks` = '', `is_issued` = 1, `is_approved` = 1
WHERE `movement_id` = '42';
INSERT INTO `acc_coa` (`HeadCode`, `HeadName`, `PHeadName`, `HeadLevel`, `IsActive`, `IsTransaction`, `IsGL`, `HeadType`, `IsBudget`, `IsDepreciation`, `DepreciationRate`, `CreateBy`, `CreateDate`) VALUES (1020301000050, 'cr-6-Wesley G. Clark', 'Customer Receivable', '4', '1', '1', '0', 'A', '0', '0', '0', '2', '2018-11-03 09:36:10');
INSERT INTO `customer` (`customer_code`, `customer_name`, `customer_phone`, `type`, `job_designation`, `store_id`, `customer_address`, `customer_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('cr-6', 'Wesley G. Clark', '234235456', '2', 'Banker', '2', '4495 Maple Avenue\r\n', '3454654756', 'Powell Ranger Station, ID 59847', 1, '2', '2018-11-03 09:36:10');
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
INSERT INTO `sales_parent` (`sale_id`, `invoice_no`, `customer_id`, `sale_type_id`, `store_id`, `salesman`, `sales_date`, `sales_time`, `gurrantor_1`, `gurrantor_2`, `advance_amnt`, `lease_id`, `inquiry_officer`, `remaining_amnt`, `installment_amnt`, `package_price`, `total_amnt`) VALUES ('20181103093653', '1031', '57', '2', '2', '2', '2018-11-03', '09:36:53', NULL, NULL, '50000', NULL, NULL, '4000.00', 0, 0, '54000.00');
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1031', 'CRIV', '2018-11-03 09:36:53', '1020301000050', 'Customer Credit For Invoice No1031', 0, '50000', '2', 1, '2', '2018-11-03 09:36:53', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1031', 'CRIV', '2018-11-03 09:36:53', '1020301000050', 'Customer Debit For Invoice No1031', '54000.00', 0, '2', 1, '2', '2018-11-03 09:36:53', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1031', 'CRIV', '2018-11-03 09:36:53', NULL, 'Cash in Hand For Invoice No1031', '50000', 0, '2', 1, '2', '2018-11-03 09:36:53', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1031', 'CRIV', '2018-11-03 09:36:53', 30102, 'Store credit For Invoice No1031', 0, '54000.00', '2', 1, '2', '2018-11-03 09:36:53', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1031', 'CIV', '2018-11-03 09:36:53', 403, 'Cost of sale Debit For Invoice No1031', 38000, 0, '2', 1, '2', '2018-11-03 09:36:53', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1031', 'CIV', '2018-11-03 09:36:53', 10107, 'Inventory Credit For Invoice No1031', 0, 38000, '2', 1, '2', '2018-11-03 09:36:53', 1);
INSERT INTO `payment_collection` (`sale_id`, `invoice_no`, `customer_id`, `receive_amnt`, `due_amnt`, `receive_by`, `receive_date`) VALUES ('20181103093653', '1031', '57', '50000', '4000.00', '2', '2018-11-03');
INSERT INTO `sale_details` (`sale_id`, `product_id`, `qty`, `sell_price`, `sale_type_id`, `lease_unit_price`) VALUES ('20181103093653', '31', '2', '27000', '2', NULL);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Sales', 'create', 'invoice_no-1031 total amount-54000.00', '2', '2018-11-03 09:36:53');
UPDATE `stock_movement` SET `movement_id` = '41', `proposal_code` = 'p-4', `for_store_id` = '12', `from_store_id` = '13', `proposal_datetime` = '2018-10-30', `proposal_by` = '2', `issue_by` = '2', `for_warehouse` = 0, `from_warehouse` = 0, `issue_code` = 'is-43', `issue_datetime` = '2018-11-03 09:37:45', `issue_remarks` = 'gdfgd', `is_issued` = 1, `is_approved` = 1
WHERE `movement_id` = '41';
INSERT INTO `acc_coa` (`HeadCode`, `HeadName`, `PHeadName`, `HeadLevel`, `IsActive`, `IsTransaction`, `IsGL`, `HeadType`, `IsBudget`, `IsDepreciation`, `DepreciationRate`, `CreateBy`, `CreateDate`) VALUES (1020301000051, 'cr-7-Eugene R. Davila', 'Customer Receivable', '4', '1', '1', '0', 'A', '0', '0', '0', '2', '2018-11-03 09:38:40');
INSERT INTO `customer` (`customer_code`, `customer_name`, `customer_phone`, `type`, `job_designation`, `store_id`, `customer_address`, `customer_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('cr-7', 'Eugene R. Davila', '243546547', '2', 'Banker', '2', '3323 Owagner Lane\r\n', '3546546', 'Seattle, WA 98119', 1, '2', '2018-11-03 09:38:40');
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
INSERT INTO `sales_parent` (`sale_id`, `invoice_no`, `customer_id`, `sale_type_id`, `store_id`, `salesman`, `sales_date`, `sales_time`, `gurrantor_1`, `gurrantor_2`, `advance_amnt`, `lease_id`, `inquiry_officer`, `remaining_amnt`, `installment_amnt`, `package_price`, `total_amnt`) VALUES ('20181103093919', '1032', '58', '2', '2', '2', '2018-11-03', '09:39:19', NULL, NULL, '20000', NULL, NULL, '7000.00', 0, 0, '27000.00');
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1032', 'CRIV', '2018-11-03 09:39:19', '1020301000051', 'Customer Credit For Invoice No1032', 0, '20000', '2', 1, '2', '2018-11-03 09:39:19', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1032', 'CRIV', '2018-11-03 09:39:19', '1020301000051', 'Customer Debit For Invoice No1032', '27000.00', 0, '2', 1, '2', '2018-11-03 09:39:19', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1032', 'CRIV', '2018-11-03 09:39:19', NULL, 'Cash in Hand For Invoice No1032', '20000', 0, '2', 1, '2', '2018-11-03 09:39:19', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1032', 'CRIV', '2018-11-03 09:39:19', 30102, 'Store credit For Invoice No1032', 0, '27000.00', '2', 1, '2', '2018-11-03 09:39:19', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1032', 'CIV', '2018-11-03 09:39:19', 403, 'Cost of sale Debit For Invoice No1032', 19000, 0, '2', 1, '2', '2018-11-03 09:39:19', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1032', 'CIV', '2018-11-03 09:39:19', 10107, 'Inventory Credit For Invoice No1032', 0, 19000, '2', 1, '2', '2018-11-03 09:39:19', 1);
INSERT INTO `payment_collection` (`sale_id`, `invoice_no`, `customer_id`, `receive_amnt`, `due_amnt`, `receive_by`, `receive_date`) VALUES ('20181103093919', '1032', '58', '20000', '7000.00', '2', '2018-11-03');
INSERT INTO `sale_details` (`sale_id`, `product_id`, `qty`, `sell_price`, `sale_type_id`, `lease_unit_price`) VALUES ('20181103093919', '31', '1', '27000', '2', NULL);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Sales', 'create', 'invoice_no-1032 total amount-27000.00', '2', '2018-11-03 09:39:19');
UPDATE `stock_movement` SET `movement_id` = '41', `proposal_code` = 'p-4', `for_store_id` = '12', `from_store_id` = '13', `proposal_datetime` = '2018-10-30', `proposal_by` = '2', `issue_by` = '2', `for_warehouse` = 0, `from_warehouse` = 0, `issue_code` = 'is-41', `issue_datetime` = '2018-11-03 09:51:14', `issue_remarks` = 'this demo', `is_issued` = 1, `is_approved` = 1
WHERE `movement_id` = '41';
UPDATE `stock_movement_details` SET `movement_id` = '41', `product_id` = '27', `proposal_qty` = '6', `issue_qty` = '6', `received_qty` = 0
WHERE `movement_id` = '41'
AND `product_id` = '27';
UPDATE `stock_movement` SET `movement_id` = '41', `proposal_code` = 'p-4', `for_store_id` = '12', `from_store_id` = '13', `proposal_datetime` = '2018-10-30', `proposal_by` = '2', `issue_by` = '2', `for_warehouse` = 0, `from_warehouse` = 0, `issue_code` = 'is-41', `issue_datetime` = '2018-11-03 09:51:39', `issue_remarks` = 'this demo', `is_issued` = 1, `is_approved` = 1
WHERE `movement_id` = '41';
UPDATE `stock_movement_details` SET `movement_id` = '41', `product_id` = '27', `proposal_qty` = '6', `issue_qty` = '6', `received_qty` = 0
WHERE `movement_id` = '41'
AND `product_id` = '27';
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Stockmovment', 'issue', 'Stockmovment ID :41', '2', '2018-11-03 09:51:39');
DELETE FROM 
WHERE `Stockmovment_id` = '38';
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Stockmovment', 'delete', 'Stockmovment ID :38', '2', '2018-11-03 09:52:39');
DELETE FROM 
WHERE `Stockmovment_id` = '38';
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Stockmovment', 'delete', 'Stockmovment ID :38', '2', '2018-11-03 09:52:43');
DELETE FROM `stock_movement`
WHERE `Stockmovment_id` = '38';
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Stockmovment', 'delete', 'Stockmovment ID :38', '2', '2018-11-03 09:54:27');
DELETE FROM `stock_movement`
WHERE `Stockmovment_id` = '38';
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Stockmovment', 'delete', 'Stockmovment ID :38', '2', '2018-11-03 09:54:32');
INSERT INTO `acc_coa` (`HeadCode`, `HeadName`, `PHeadName`, `HeadLevel`, `IsActive`, `IsTransaction`, `IsGL`, `HeadType`, `IsBudget`, `IsDepreciation`, `DepreciationRate`, `CreateBy`, `CreateDate`) VALUES (1020301000052, 'cr-8-John R. Vega', 'Customer Receivable', '4', '1', '1', '0', 'A', '0', '0', '0', '2', '2018-11-03 09:55:17');
INSERT INTO `customer` (`customer_code`, `customer_name`, `customer_phone`, `type`, `job_designation`, `store_id`, `customer_address`, `customer_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('cr-8', 'John R. Vega', '4354675756', '2', 'Businessman', '2', '3083 Farnum Road\r\n', '3454657658', 'New York, NY 10004', 1, '2', '2018-11-03 09:55:17');
DELETE FROM `stock_movement`
WHERE `movement_id` = '38';
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Stockmovment', 'delete', 'Stockmovment ID :38', '2', '2018-11-03 09:55:22');
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
INSERT INTO `sales_parent` (`sale_id`, `invoice_no`, `customer_id`, `sale_type_id`, `store_id`, `salesman`, `sales_date`, `sales_time`, `gurrantor_1`, `gurrantor_2`, `advance_amnt`, `lease_id`, `inquiry_officer`, `remaining_amnt`, `installment_amnt`, `package_price`, `total_amnt`) VALUES ('20181103095617', '1033', '59', '2', '2', '2', '2018-11-03', '09:56:17', NULL, NULL, '7000', NULL, NULL, '20000.00', 0, 0, '27000.00');
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1033', 'CRIV', '2018-11-03 09:56:17', '1020301000052', 'Customer Credit For Invoice No1033', 0, '7000', '2', 1, '2', '2018-11-03 09:56:17', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1033', 'CRIV', '2018-11-03 09:56:17', '1020301000052', 'Customer Debit For Invoice No1033', '27000.00', 0, '2', 1, '2', '2018-11-03 09:56:17', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1033', 'CRIV', '2018-11-03 09:56:17', NULL, 'Cash in Hand For Invoice No1033', '7000', 0, '2', 1, '2', '2018-11-03 09:56:17', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1033', 'CRIV', '2018-11-03 09:56:17', 30102, 'Store credit For Invoice No1033', 0, '27000.00', '2', 1, '2', '2018-11-03 09:56:17', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1033', 'CIV', '2018-11-03 09:56:17', 403, 'Cost of sale Debit For Invoice No1033', 19000, 0, '2', 1, '2', '2018-11-03 09:56:17', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1033', 'CIV', '2018-11-03 09:56:17', 10107, 'Inventory Credit For Invoice No1033', 0, 19000, '2', 1, '2', '2018-11-03 09:56:17', 1);
INSERT INTO `payment_collection` (`sale_id`, `invoice_no`, `customer_id`, `receive_amnt`, `due_amnt`, `receive_by`, `receive_date`) VALUES ('20181103095617', '1033', '59', '7000', '20000.00', '2', '2018-11-03');
INSERT INTO `sale_details` (`sale_id`, `product_id`, `qty`, `sell_price`, `sale_type_id`, `lease_unit_price`) VALUES ('20181103095617', '32', '1', '27000', '2', NULL);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Sales', 'create', 'invoice_no-1033 total amount-27000.00', '2', '2018-11-03 09:56:17');
INSERT INTO `sales_parent` (`sale_id`, `invoice_no`, `customer_id`, `sale_type_id`, `store_id`, `salesman`, `sales_date`, `sales_time`, `gurrantor_1`, `gurrantor_2`, `advance_amnt`, `lease_id`, `inquiry_officer`, `remaining_amnt`, `installment_amnt`, `package_price`, `total_amnt`) VALUES ('20181103095617', '1033', '59', '2', '2', '2', '2018-11-03', '09:56:17', NULL, NULL, '7000', NULL, NULL, '20000.00', 0, 0, '27000.00');
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1033', 'CRIV', '2018-11-03 09:56:17', '1020301000052', 'Customer Credit For Invoice No1033', 0, '7000', '2', 1, '2', '2018-11-03 09:56:17', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1033', 'CRIV', '2018-11-03 09:56:17', '1020301000052', 'Customer Debit For Invoice No1033', '27000.00', 0, '2', 1, '2', '2018-11-03 09:56:17', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1033', 'CRIV', '2018-11-03 09:56:17', NULL, 'Cash in Hand For Invoice No1033', '7000', 0, '2', 1, '2', '2018-11-03 09:56:17', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1033', 'CRIV', '2018-11-03 09:56:17', 30102, 'Store credit For Invoice No1033', 0, '27000.00', '2', 1, '2', '2018-11-03 09:56:17', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1033', 'CIV', '2018-11-03 09:56:17', 403, 'Cost of sale Debit For Invoice No1033', 19000, 0, '2', 1, '2', '2018-11-03 09:56:17', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1033', 'CIV', '2018-11-03 09:56:17', 10107, 'Inventory Credit For Invoice No1033', 0, 19000, '2', 1, '2', '2018-11-03 09:56:17', 1);
INSERT INTO `payment_collection` (`sale_id`, `invoice_no`, `customer_id`, `receive_amnt`, `due_amnt`, `receive_by`, `receive_date`) VALUES ('20181103095617', '1033', '59', '7000', '20000.00', '2', '2018-11-03');
INSERT INTO `sale_details` (`sale_id`, `product_id`, `qty`, `sell_price`, `sale_type_id`, `lease_unit_price`) VALUES ('20181103095617', '32', '1', '27000', '2', NULL);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Sales', 'create', 'invoice_no-1033 total amount-27000.00', '2', '2018-11-03 09:56:17');
INSERT INTO `acc_coa` (`HeadCode`, `HeadName`, `PHeadName`, `HeadLevel`, `IsActive`, `IsTransaction`, `IsGL`, `HeadType`, `IsBudget`, `IsDepreciation`, `DepreciationRate`, `CreateBy`, `CreateDate`) VALUES (1020301000053, 'cr-9-Elana K. Fontenot', 'Customer Receivable', '4', '1', '1', '0', 'A', '0', '0', '0', '2', '2018-11-03 09:59:25');
INSERT INTO `customer` (`customer_code`, `customer_name`, `customer_phone`, `type`, `job_designation`, `store_id`, `customer_address`, `customer_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('cr-9', 'Elana K. Fontenot', '35436578', '2', 'Banker', '2', '4739 Formula Lane\r\n', '234354657', 'Dallas, TX 75207', 1, '2', '2018-11-03 09:59:25');
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
INSERT INTO `sales_parent` (`sale_id`, `invoice_no`, `customer_id`, `sale_type_id`, `store_id`, `salesman`, `sales_date`, `sales_time`, `gurrantor_1`, `gurrantor_2`, `advance_amnt`, `lease_id`, `inquiry_officer`, `remaining_amnt`, `installment_amnt`, `package_price`, `total_amnt`) VALUES ('20181103095955', '1034', '60', '2', '2', '2', '2018-11-03', '09:59:55', NULL, NULL, '20000', NULL, NULL, '7000.00', 0, 0, '27000.00');
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1034', 'CRIV', '2018-11-03 09:59:55', '1020301000053', 'Customer Credit For Invoice No1034', 0, '20000', '2', 1, '2', '2018-11-03 09:59:55', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1034', 'CRIV', '2018-11-03 09:59:55', '1020301000053', 'Customer Debit For Invoice No1034', '27000.00', 0, '2', 1, '2', '2018-11-03 09:59:55', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1034', 'CRIV', '2018-11-03 09:59:55', NULL, 'Cash in Hand For Invoice No1034', '20000', 0, '2', 1, '2', '2018-11-03 09:59:55', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1034', 'CRIV', '2018-11-03 09:59:55', 30102, 'Store credit For Invoice No1034', 0, '27000.00', '2', 1, '2', '2018-11-03 09:59:55', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1034', 'CIV', '2018-11-03 09:59:55', 403, 'Cost of sale Debit For Invoice No1034', 19000, 0, '2', 1, '2', '2018-11-03 09:59:55', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1034', 'CIV', '2018-11-03 09:59:55', 10107, 'Inventory Credit For Invoice No1034', 0, 19000, '2', 1, '2', '2018-11-03 09:59:55', 1);
INSERT INTO `payment_collection` (`sale_id`, `invoice_no`, `customer_id`, `receive_amnt`, `due_amnt`, `receive_by`, `receive_date`) VALUES ('20181103095955', '1034', '60', '20000', '7000.00', '2', '2018-11-03');
INSERT INTO `sale_details` (`sale_id`, `product_id`, `qty`, `sell_price`, `sale_type_id`, `lease_unit_price`) VALUES ('20181103095955', '32', '1', '27000', '2', NULL);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Sales', 'create', 'invoice_no-1034 total amount-27000.00', '2', '2018-11-03 09:59:55');
DELETE FROM `stock_movement`
WHERE `movement_id` = '38';
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Stockmovment', 'delete', 'Stockmovment ID :38', '2', '2018-11-03 10:00:44');
DELETE FROM `stock_movement`
WHERE `movement_id` = '39';
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Stockmovment', 'delete', 'Stockmovment ID :39', '2', '2018-11-03 10:03:28');
DELETE FROM `stock_movement`
WHERE `movement_id` = '38';
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Stockmovment', 'delete', 'Stockmovment ID :38', '2', '2018-11-03 10:05:01');
INSERT INTO `acc_coa` (`HeadCode`, `HeadName`, `PHeadName`, `HeadLevel`, `IsActive`, `IsTransaction`, `IsGL`, `HeadType`, `IsBudget`, `IsDepreciation`, `DepreciationRate`, `CreateBy`, `CreateDate`) VALUES (1020301000054, 'cr-10-Elizabeth G. Boudreau', 'Customer Receivable', '4', '1', '1', '0', 'A', '0', '0', '0', '2', '2018-11-03 10:05:07');
INSERT INTO `customer` (`customer_code`, `customer_name`, `customer_phone`, `type`, `job_designation`, `store_id`, `customer_address`, `customer_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('cr-10', 'Elizabeth G. Boudreau', '3454657', '2', 'Banker', '2', '3251 Heliport Loop\r\n', '234235465476', 'Bloomington, IN 47404', 1, '2', '2018-11-03 10:05:07');
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
INSERT INTO `sales_parent` (`sale_id`, `invoice_no`, `customer_id`, `sale_type_id`, `store_id`, `salesman`, `sales_date`, `sales_time`, `gurrantor_1`, `gurrantor_2`, `advance_amnt`, `lease_id`, `inquiry_officer`, `remaining_amnt`, `installment_amnt`, `package_price`, `total_amnt`) VALUES ('20181103100724', '1035', '61', '2', '2', '2', '2018-11-03', '10:07:24', NULL, NULL, '20000', NULL, NULL, '17000.00', 0, 0, '37000.00');
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1035', 'CRIV', '2018-11-03 10:07:24', '1020301000054', 'Customer Credit For Invoice No1035', 0, '20000', '2', 1, '2', '2018-11-03 10:07:24', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1035', 'CRIV', '2018-11-03 10:07:24', '1020301000054', 'Customer Debit For Invoice No1035', '37000.00', 0, '2', 1, '2', '2018-11-03 10:07:24', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1035', 'CRIV', '2018-11-03 10:07:24', NULL, 'Cash in Hand For Invoice No1035', '20000', 0, '2', 1, '2', '2018-11-03 10:07:24', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1035', 'CRIV', '2018-11-03 10:07:24', 30102, 'Store credit For Invoice No1035', 0, '37000.00', '2', 1, '2', '2018-11-03 10:07:24', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1035', 'CIV', '2018-11-03 10:07:24', 403, 'Cost of sale Debit For Invoice No1035', 30000, 0, '2', 1, '2', '2018-11-03 10:07:24', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1035', 'CIV', '2018-11-03 10:07:24', 10107, 'Inventory Credit For Invoice No1035', 0, 30000, '2', 1, '2', '2018-11-03 10:07:24', 1);
INSERT INTO `payment_collection` (`sale_id`, `invoice_no`, `customer_id`, `receive_amnt`, `due_amnt`, `receive_by`, `receive_date`) VALUES ('20181103100724', '1035', '61', '20000', '17000.00', '2', '2018-11-03');
INSERT INTO `sale_details` (`sale_id`, `product_id`, `qty`, `sell_price`, `sale_type_id`, `lease_unit_price`) VALUES ('20181103100724', '30', '1', '37000', '2', NULL);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Sales', 'create', 'invoice_no-1035 total amount-37000.00', '2', '2018-11-03 10:07:24');
DELETE FROM `stock_movement`
WHERE `movement_id` = '38';
INSERT INTO `acc_coa` (`HeadCode`, `HeadName`, `PHeadName`, `HeadLevel`, `IsActive`, `IsTransaction`, `IsGL`, `HeadType`, `IsBudget`, `IsDepreciation`, `DepreciationRate`, `CreateBy`, `CreateDate`) VALUES (1020301000055, 'cr-11-Susan G. Jolly', 'Customer Receivable', '4', '1', '1', '0', 'A', '0', '0', '0', '2', '2018-11-03 10:12:07');
INSERT INTO `customer` (`customer_code`, `customer_name`, `customer_phone`, `type`, `job_designation`, `store_id`, `customer_address`, `customer_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('cr-11', 'Susan G. Jolly', '23543265', '2', 'Banker', '2', '565 Hampton Meadows\r\n', '4354676578', 'Lawrence, MA 01840', 1, '2', '2018-11-03 10:12:07');
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
INSERT INTO `sales_parent` (`sale_id`, `invoice_no`, `customer_id`, `sale_type_id`, `store_id`, `salesman`, `sales_date`, `sales_time`, `gurrantor_1`, `gurrantor_2`, `advance_amnt`, `lease_id`, `inquiry_officer`, `remaining_amnt`, `installment_amnt`, `package_price`, `total_amnt`) VALUES ('20181103101311', '1036', '62', '2', '2', '2', '2018-11-03', '10:13:11', NULL, NULL, '6200.00', NULL, NULL, '30800.00', 0, 0, '37000.00');
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1036', 'CRIV', '2018-11-03 10:13:11', '1020301000055', 'Customer Credit For Invoice No1036', 0, '6200.00', '2', 1, '2', '2018-11-03 10:13:11', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1036', 'CRIV', '2018-11-03 10:13:11', '1020301000055', 'Customer Debit For Invoice No1036', '37000.00', 0, '2', 1, '2', '2018-11-03 10:13:11', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1036', 'CRIV', '2018-11-03 10:13:11', NULL, 'Cash in Hand For Invoice No1036', '6200.00', 0, '2', 1, '2', '2018-11-03 10:13:11', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1036', 'CRIV', '2018-11-03 10:13:11', 30102, 'Store credit For Invoice No1036', 0, '37000.00', '2', 1, '2', '2018-11-03 10:13:11', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1036', 'CIV', '2018-11-03 10:13:11', 403, 'Cost of sale Debit For Invoice No1036', 30000, 0, '2', 1, '2', '2018-11-03 10:13:11', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1036', 'CIV', '2018-11-03 10:13:11', 10107, 'Inventory Credit For Invoice No1036', 0, 30000, '2', 1, '2', '2018-11-03 10:13:11', 1);
INSERT INTO `payment_collection` (`sale_id`, `invoice_no`, `customer_id`, `receive_amnt`, `due_amnt`, `receive_by`, `receive_date`) VALUES ('20181103101311', '1036', '62', '6200.00', '30800.00', '2', '2018-11-03');
INSERT INTO `sale_details` (`sale_id`, `product_id`, `qty`, `sell_price`, `sale_type_id`, `lease_unit_price`) VALUES ('20181103101311', '34', '1', '37000', '2', NULL);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Sales', 'create', 'invoice_no-1036 total amount-37000.00', '2', '2018-11-03 10:13:11');
DELETE FROM `stock_movement`
WHERE `movement_id` = '40';
UPDATE `stock_movement` SET `movement_id` = '43', `proposal_code` = 'p-6', `for_store_id` = '12', `from_store_id` = '15', `proposal_by` = '2', `issue_by` = '2', `for_warehouse` = 0, `from_warehouse` = 0, `issue_code` = 'is-43', `issue_remarks` = NULL, `is_issued` = 1, `is_received` = 1, `is_proposed` = 1, `receive_by` = '2', `receive_datetime` = '2018-11-03 10:15:43'
WHERE `movement_id` = '43';
UPDATE `stock_movement_details` SET `movement_id` = '43', `product_id` = '26', `proposal_qty` = '10', `issue_qty` = '5', `received_qty` = '5'
WHERE `movement_id` = '43'
AND `product_id` = '26';
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('stockmovement ', 'create', 'movemet received', '2', '2018-11-03 10:15:43');
UPDATE `stock_movement` SET `movement_id` = '41', `proposal_code` = 'p-4', `for_store_id` = '12', `from_store_id` = '13', `proposal_by` = '2', `issue_by` = '2', `for_warehouse` = 0, `from_warehouse` = 0, `issue_code` = 'is-41', `issue_remarks` = NULL, `is_issued` = 1, `is_received` = 1, `is_proposed` = 1, `receive_by` = '2', `receive_datetime` = '2018-11-03 10:16:32'
WHERE `movement_id` = '41';
UPDATE `stock_movement_details` SET `movement_id` = '41', `product_id` = '27', `proposal_qty` = '6', `issue_qty` = '6', `received_qty` = '6'
WHERE `movement_id` = '41'
AND `product_id` = '27';
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('stockmovement ', 'create', 'movemet received', '2', '2018-11-03 10:16:32');
INSERT INTO `stock_movement` (`proposal_code`, `for_store_id`, `from_store_id`, `proposal_datetime`, `proposal_by`) VALUES ('p-7', '13', '17', '2018-11-03', '2');
INSERT INTO `stock_movement_details` (`movement_id`, `product_id`, `proposal_qty`) VALUES (44, '27', '3');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Stockmovment', 'create', 'Stockmovment ID :44', '2', '2018-11-03 10:22:37');
UPDATE `stock_movement` SET `movement_id` = '44', `is_approved` = 1
WHERE `movement_id` = '44';
UPDATE `stock_movement` SET `movement_id` = '44', `proposal_code` = 'p-7', `for_store_id` = '13', `from_store_id` = '17', `proposal_datetime` = '2018-11-03', `proposal_by` = '2', `issue_by` = '2', `for_warehouse` = 0, `from_warehouse` = 0, `issue_code` = 'is-44', `issue_datetime` = '2018-11-03 10:27:23', `issue_remarks` = '', `is_issued` = 1, `is_approved` = 1
WHERE `movement_id` = '44';
UPDATE `stock_movement_details` SET `movement_id` = '44', `product_id` = '27', `proposal_qty` = '3', `issue_qty` = '2', `received_qty` = 0
WHERE `movement_id` = '44'
AND `product_id` = '27';
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Stockmovment', 'issue', 'Stockmovment ID :44', '2', '2018-11-03 10:27:23');
UPDATE `stock_movement` SET `movement_id` = '44', `proposal_code` = 'p-7', `for_store_id` = '13', `from_store_id` = '17', `proposal_by` = '2', `issue_by` = '2', `for_warehouse` = 0, `from_warehouse` = 0, `issue_code` = 'is-44', `issue_remarks` = NULL, `is_issued` = 1, `is_received` = 1, `is_proposed` = 1, `receive_by` = '2', `receive_datetime` = '2018-11-03 10:27:35'
WHERE `movement_id` = '44';
UPDATE `stock_movement_details` SET `movement_id` = '44', `product_id` = '27', `proposal_qty` = '3', `issue_qty` = '2', `received_qty` = '2'
WHERE `movement_id` = '44'
AND `product_id` = '27';
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('stockmovement ', 'create', 'movemet received', '2', '2018-11-03 10:27:35');
DELETE FROM `stock_movement`
WHERE `movement_id` = '38';
DELETE FROM `stock_movement_details`
WHERE `movement_id` = '38';
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Stockmovment', 'delete', 'Stockmovment ID :38', '2', '2018-11-03 10:33:29');
DELETE FROM `stock_movement`
WHERE `movement_id` = '41';
DELETE FROM `stock_movement_details`
WHERE `movement_id` = '41';
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Stockmovment', 'delete', 'Stockmovment ID :41', '2', '2018-11-03 10:33:55');
DELETE FROM `stock_movement`
WHERE `movement_id` = '38';
DELETE FROM `stock_movement_details`
WHERE `movement_id` = '38';
DELETE FROM `stock_movement`
WHERE `movement_id` = '39';
DELETE FROM `stock_movement`
WHERE `movement_id` = '39';
DELETE FROM `stock_movement_details`
WHERE `movement_id` = '39';
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Stockmovment', 'delete', 'Stockmovment ID :39', '2', '2018-11-03 10:41:00');
UPDATE `store` SET `store_id` = '20', `store_name` = 'Gaggin Street store', `store_code` = '098', `store_phone` = '09878765645', `store_address` = '80 Gaggin Street\r\nOSTERLEY NSW 2324', `createby` = '2', `createdate` = '2018-11-03 10:42:26', `isactive` = 1
WHERE `store_id` = '20';
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Store', 'update', 'Store ID :20', '2', '2018-11-03 10:42:26');
DELETE FROM `stock_movement`
WHERE `movement_id` = '39';
DELETE FROM `stock_movement_details`
WHERE `movement_id` = '39';
DELETE FROM `stock_movement`
WHERE `movement_id` = '40';
DELETE FROM `stock_movement_details`
WHERE `movement_id` = '40';
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Stockmovment', 'delete', 'Stockmovment ID :40', '2', '2018-11-03 10:49:22');
DELETE FROM `stock_movement`
WHERE `movement_id` = '40';
DELETE FROM `stock_movement_details`
WHERE `movement_id` = '40';
DELETE FROM `stock_movement`
WHERE `movement_id` = '41';
DELETE FROM `stock_movement_details`
WHERE `movement_id` = '41';
DELETE FROM `stock_movement`
WHERE `movement_id` = '43';
DELETE FROM `stock_movement_details`
WHERE `movement_id` = '43';
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Stockmovment', 'delete', 'Stockmovment ID :43', '2', '2018-11-03 10:57:59');
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
INSERT INTO `language` (`phrase`) VALUES ('receive_date');
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
UPDATE `user` SET `last_login` = '2018-11-04 03:43:34', `ip_address` = '175.29.195.114'
WHERE `id` = '2';
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
UPDATE `user` SET `last_login` = '2018-11-04 04:18:12', `ip_address` = '175.29.195.114'
WHERE `id` = '2';
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
UPDATE `stock_movement` SET `movement_id` = '42', `proposal_code` = 'p-5', `for_store_id` = '12', `from_store_id` = '13', `proposal_datetime` = '2018-10-30', `proposal_by` = '2', `issue_by` = '2', `for_warehouse` = 0, `from_warehouse` = 0, `issue_code` = 'is-42', `issue_datetime` = '2018-11-04 05:52:38', `issue_remarks` = '', `is_issued` = 1, `is_approved` = 1
WHERE `movement_id` = '42';
UPDATE `stock_movement_details` SET `movement_id` = '42', `product_id` = '28', `proposal_qty` = '6', `issue_qty` = '6', `received_qty` = 0
WHERE `movement_id` = '42'
AND `product_id` = '28';
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Stockmovment', 'issue', 'Stockmovment ID :42', '2', '2018-11-04 05:52:38');
UPDATE `stock_movement` SET `movement_id` = '42', `proposal_code` = 'p-5', `for_store_id` = '12', `from_store_id` = '13', `proposal_by` = '2', `issue_by` = '2', `for_warehouse` = 0, `from_warehouse` = 0, `issue_code` = 'is-42', `issue_remarks` = NULL, `is_issued` = 1, `is_received` = 1, `is_proposed` = 1, `receive_by` = '2', `receive_datetime` = '2018-11-04 05:53:04'
WHERE `movement_id` = '42';
UPDATE `stock_movement_details` SET `movement_id` = '42', `product_id` = '28', `proposal_qty` = '6', `issue_qty` = '4', `received_qty` = '4'
WHERE `movement_id` = '42'
AND `product_id` = '28';
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('stockmovement ', 'create', 'movemet received', '2', '2018-11-04 05:53:04');
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
INSERT INTO `stock_movement` (`proposal_code`, `for_store_id`, `from_store_id`, `proposal_datetime`, `proposal_by`) VALUES ('p-8', '13', '14', '2018-11-04', '2');
INSERT INTO `stock_movement_details` (`movement_id`, `product_id`, `proposal_qty`) VALUES (45, '32', '2');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Stockmovment', 'create', 'Stockmovment ID :45', '2', '2018-11-04 06:04:55');
UPDATE `stock_movement` SET `movement_id` = '45', `proposal_code` = 'p-8', `for_store_id` = '13', `from_store_id` = '14', `proposal_datetime` = '2018-11-04', `proposal_by` = '2', `issue_by` = '2', `for_warehouse` = 0, `from_warehouse` = 0, `issue_code` = 'is-45', `issue_datetime` = '2018-11-04 06:05:19', `issue_remarks` = '', `is_issued` = 1, `is_approved` = 1
WHERE `movement_id` = '45';
UPDATE `stock_movement_details` SET `movement_id` = '45', `product_id` = '32', `proposal_qty` = '2', `issue_qty` = '2', `received_qty` = 0
WHERE `movement_id` = '45'
AND `product_id` = '32';
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Stockmovment', 'issue', 'Stockmovment ID :45', '2', '2018-11-04 06:05:19');
UPDATE `stock_movement` SET `movement_id` = '45', `proposal_code` = 'p-8', `for_store_id` = '13', `from_store_id` = '14', `proposal_by` = '2', `issue_by` = '2', `for_warehouse` = 0, `from_warehouse` = 0, `issue_code` = 'is-45', `issue_remarks` = NULL, `is_issued` = 1, `is_received` = 1, `is_proposed` = 1, `receive_by` = '2', `receive_datetime` = '2018-11-04 06:05:49'
WHERE `movement_id` = '45';
UPDATE `stock_movement_details` SET `movement_id` = '45', `product_id` = '32', `proposal_qty` = '2', `issue_qty` = '1', `received_qty` = '1'
WHERE `movement_id` = '45'
AND `product_id` = '32';
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('stockmovement ', 'create', 'movemet received', '2', '2018-11-04 06:05:49');
CALL get_store_stock('',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
UPDATE `user` SET `last_login` = '2018-11-04 07:17:48', `ip_address` = '175.29.195.114'
WHERE `id` = '2';
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
INSERT INTO `stock_movement` (`proposal_code`, `for_store_id`, `from_store_id`, `proposal_datetime`, `proposal_by`) VALUES ('p-9', '19', '15', '2018-11-04', '2');
INSERT INTO `stock_movement_details` (`movement_id`, `product_id`, `proposal_qty`) VALUES (46, '26', '7');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Stockmovment', 'create', 'Stockmovment ID :46', '2', '2018-11-04 07:36:47');
UPDATE `stock_movement` SET `movement_id` = '46', `proposal_code` = 'p-9', `for_store_id` = '19', `from_store_id` = '15', `proposal_datetime` = '2018-11-04', `proposal_by` = '2', `issue_by` = '2', `for_warehouse` = 0, `from_warehouse` = 0, `issue_code` = 'is-46', `issue_datetime` = '2018-11-04 07:36:57', `issue_remarks` = '', `is_issued` = 1, `is_approved` = 1
WHERE `movement_id` = '46';
UPDATE `stock_movement_details` SET `movement_id` = '46', `product_id` = '26', `proposal_qty` = '7', `issue_qty` = '7', `received_qty` = 0
WHERE `movement_id` = '46'
AND `product_id` = '26';
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Stockmovment', 'issue', 'Stockmovment ID :46', '2', '2018-11-04 07:36:57');
UPDATE `stock_movement` SET `movement_id` = '46', `proposal_code` = 'p-9', `for_store_id` = '19', `from_store_id` = '15', `proposal_by` = '2', `issue_by` = '2', `for_warehouse` = 0, `from_warehouse` = 0, `issue_code` = 'is-46', `issue_remarks` = NULL, `is_issued` = 1, `is_received` = 1, `is_proposed` = 1, `receive_by` = '2', `receive_datetime` = '2018-11-04 07:37:11'
WHERE `movement_id` = '46';
UPDATE `stock_movement_details` SET `movement_id` = '46', `product_id` = '26', `proposal_qty` = '7', `issue_qty` = '5', `received_qty` = '5'
WHERE `movement_id` = '46'
AND `product_id` = '26';
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('stockmovement ', 'create', 'movemet received', '2', '2018-11-04 07:37:11');
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
INSERT INTO `stock_movement` (`proposal_code`, `for_store_id`, `from_store_id`, `proposal_datetime`, `proposal_by`) VALUES ('p-10', '19', '15', '2018-11-04', '2');
INSERT INTO `stock_movement_details` (`movement_id`, `product_id`, `proposal_qty`) VALUES (47, '26', '6');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Stockmovment', 'create', 'Stockmovment ID :47', '2', '2018-11-04 07:41:20');
UPDATE `stock_movement` SET `movement_id` = '47', `proposal_code` = 'p-10', `for_store_id` = '19', `from_store_id` = '15', `proposal_datetime` = '2018-11-04', `proposal_by` = '2', `issue_by` = '2', `for_warehouse` = 0, `from_warehouse` = 0, `issue_code` = 'is-47', `issue_datetime` = '2018-11-04 07:41:35', `issue_remarks` = '', `is_issued` = 1, `is_approved` = 1
WHERE `movement_id` = '47';
UPDATE `stock_movement_details` SET `movement_id` = '47', `product_id` = '26', `proposal_qty` = '6', `issue_qty` = '6', `received_qty` = 0
WHERE `movement_id` = '47'
AND `product_id` = '26';
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Stockmovment', 'issue', 'Stockmovment ID :47', '2', '2018-11-04 07:41:35');
UPDATE `stock_movement` SET `movement_id` = '47', `proposal_code` = 'p-10', `for_store_id` = '19', `from_store_id` = '15', `proposal_by` = '2', `issue_by` = '2', `for_warehouse` = 0, `from_warehouse` = 0, `issue_code` = 'is-47', `issue_remarks` = NULL, `is_issued` = 1, `is_received` = 1, `is_proposed` = 1, `receive_by` = '2', `receive_datetime` = '2018-11-04 07:41:46'
WHERE `movement_id` = '47';
UPDATE `stock_movement_details` SET `movement_id` = '47', `product_id` = '26', `proposal_qty` = '6', `issue_qty` = '6', `received_qty` = '6'
WHERE `movement_id` = '47'
AND `product_id` = '26';
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('stockmovement ', 'create', 'movemet received', '2', '2018-11-04 07:41:46');
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
INSERT INTO `stock_movement` (`proposal_code`, `for_store_id`, `from_store_id`, `proposal_datetime`, `proposal_by`) VALUES ('p-10', '17', '16', '2018-11-04', '2');
UPDATE `user` SET `id` = '7', `firstname` = 'kkr', `lastname` = 'Kabir', `email` = 'kkr@gmail.com', `password` = 'e10adc3949ba59abbe56e057f20f883e', `about` = 'This is Store admin', `store_id` = '11', `is_admin` = '0', `image` = './assets/img/user/asdf.jpg', `last_login` = NULL, `last_logout` = NULL, `ip_address` = NULL, `status` = '1'
WHERE `id` = '7';
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('User', 'update', 'User ID :7', '2', '2018-11-04 07:49:35');
UPDATE `user` SET `last_login` = '2018-11-04 07:50:33', `ip_address` = '175.29.195.114'
WHERE `id` = '7';
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
INSERT INTO `stock_movement` (`proposal_code`, `for_store_id`, `from_store_id`, `proposal_datetime`, `proposal_by`) VALUES ('p-10', '11', '15', '2018-11-04', '7');
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
INSERT INTO `stock_movement` (`proposal_code`, `for_store_id`, `from_store_id`, `proposal_datetime`, `proposal_by`) VALUES ('p-10', '11', '15', '2018-11-04', '7');
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
INSERT INTO `stock_movement` (`proposal_code`, `for_store_id`, `from_store_id`, `proposal_datetime`, `proposal_by`) VALUES ('p-10', '11', '15', '2018-11-04', '2');
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
INSERT INTO `stock_movement` (`proposal_code`, `for_store_id`, `from_store_id`, `proposal_datetime`, `proposal_by`) VALUES ('p-10', '11', '15', '2018-11-04', '7');
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
INSERT INTO `stock_movement` (`proposal_code`, `for_store_id`, `from_store_id`, `proposal_datetime`, `proposal_by`) VALUES ('p-10', '11', '14', '2018-11-04', '2');
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
INSERT INTO `stock_movement` (`proposal_code`, `for_store_id`, `from_store_id`, `proposal_datetime`, `proposal_by`) VALUES ('p-10', '11', '15', '2018-11-04', '2');
INSERT INTO `stock_movement` (`proposal_code`, `for_store_id`, `from_store_id`, `proposal_datetime`, `proposal_by`) VALUES ('p-10', '20', '14', '2018-11-04', '2');
INSERT INTO `stock_movement` (`proposal_code`, `for_store_id`, `from_store_id`, `proposal_datetime`, `proposal_by`) VALUES ('p-10', '17', '15', '2018-11-04', '2');
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
INSERT INTO `stock_movement` (`proposal_code`, `for_store_id`, `from_store_id`, `proposal_datetime`, `proposal_by`) VALUES ('p-11', '11', '14', '2018-11-04', '2');
INSERT INTO `stock_movement_details` (`movement_id`, `product_id`, `proposal_qty`) VALUES (57, '27', '1');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Stockmovment', 'create', 'Stockmovment ID :57', '2', '2018-11-04 08:48:53');
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
INSERT INTO `stock_movement` (`proposal_code`, `for_store_id`, `from_store_id`, `proposal_datetime`, `proposal_by`) VALUES ('p-11', '11', '14', '2018-11-04', '2');
INSERT INTO `stock_movement` (`proposal_code`, `for_store_id`, `from_store_id`, `proposal_datetime`, `proposal_by`) VALUES ('p-58', '13', '15', '2018-11-04', '2');
INSERT INTO `stock_movement_details` (`movement_id`, `product_id`, `proposal_qty`) VALUES (59, '26', '5');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Stockmovment', 'create', 'Stockmovment ID :59', '2', '2018-11-04 09:04:47');
INSERT INTO `stock_movement` (`proposal_code`, `for_store_id`, `from_store_id`, `proposal_datetime`, `proposal_by`) VALUES ('p-10', '11', '15', '2018-11-04', '7');
INSERT INTO `stock_movement` (`proposal_code`, `for_store_id`, `from_store_id`, `proposal_datetime`, `proposal_by`) VALUES ('p-60', '11', '15', '2018-11-04', '7');
INSERT INTO `stock_movement_details` (`movement_id`, `product_id`, `proposal_qty`) VALUES (61, '26', '10');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Stockmovment', 'create', 'Stockmovment ID :61', '7', '2018-11-04 09:06:12');
UPDATE `stock_movement` SET `movement_id` = '59', `proposal_code` = 'p-58', `for_store_id` = '13', `from_store_id` = '15', `proposal_datetime` = '2018-11-04', `proposal_by` = '2', `issue_by` = '2', `for_warehouse` = 0, `from_warehouse` = 0, `issue_code` = 'is-59', `issue_datetime` = '2018-11-04 09:07:34', `issue_remarks` = '', `is_issued` = 1, `is_approved` = 1
WHERE `movement_id` = '59';
UPDATE `stock_movement_details` SET `movement_id` = '59', `product_id` = '26', `proposal_qty` = '5', `issue_qty` = '5', `received_qty` = 0
WHERE `movement_id` = '59'
AND `product_id` = '26';
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Stockmovment', 'issue', 'Stockmovment ID :59', '2', '2018-11-04 09:07:34');
UPDATE `stock_movement` SET `movement_id` = '59', `proposal_code` = 'p-58', `for_store_id` = '13', `from_store_id` = '15', `proposal_by` = '2', `issue_by` = '2', `for_warehouse` = 0, `from_warehouse` = 0, `issue_code` = 'is-59', `issue_remarks` = NULL, `is_issued` = 1, `is_received` = 1, `is_proposed` = 1, `receive_by` = '2', `receive_datetime` = '2018-11-04 09:07:42'
WHERE `movement_id` = '59';
UPDATE `stock_movement_details` SET `movement_id` = '59', `product_id` = '26', `proposal_qty` = '5', `issue_qty` = '5', `received_qty` = '5'
WHERE `movement_id` = '59'
AND `product_id` = '26';
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('stockmovement ', 'create', 'movemet received', '2', '2018-11-04 09:07:42');
UPDATE `stock_movement` SET `movement_id` = '57', `proposal_code` = 'p-11', `for_store_id` = '11', `from_store_id` = '14', `proposal_datetime` = '2018-11-04', `proposal_by` = '2', `issue_by` = '2', `for_warehouse` = 0, `from_warehouse` = 0, `issue_code` = 'is-57', `issue_datetime` = '2018-11-04 09:07:50', `issue_remarks` = '', `is_issued` = 1, `is_approved` = 1
WHERE `movement_id` = '57';
UPDATE `stock_movement_details` SET `movement_id` = '57', `product_id` = '27', `proposal_qty` = '1', `issue_qty` = '1', `received_qty` = 0
WHERE `movement_id` = '57'
AND `product_id` = '27';
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Stockmovment', 'issue', 'Stockmovment ID :57', '2', '2018-11-04 09:07:50');
UPDATE `stock_movement` SET `movement_id` = '57', `proposal_code` = 'p-11', `for_store_id` = '11', `from_store_id` = '14', `proposal_by` = '2', `issue_by` = '2', `for_warehouse` = 0, `from_warehouse` = 0, `issue_code` = 'is-57', `issue_remarks` = NULL, `is_issued` = 1, `is_received` = 1, `is_proposed` = 1, `receive_by` = '2', `receive_datetime` = '2018-11-04 09:07:57'
WHERE `movement_id` = '57';
UPDATE `stock_movement_details` SET `movement_id` = '57', `product_id` = '27', `proposal_qty` = '1', `issue_qty` = '1', `received_qty` = '1'
WHERE `movement_id` = '57'
AND `product_id` = '27';
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('stockmovement ', 'create', 'movemet received', '2', '2018-11-04 09:07:57');
UPDATE `stock_movement` SET `movement_id` = '61', `proposal_code` = 'p-60', `for_store_id` = '11', `from_store_id` = '15', `proposal_datetime` = '2018-11-04', `proposal_by` = '7', `issue_by` = '2', `for_warehouse` = 0, `from_warehouse` = 0, `issue_code` = 'is-61', `issue_datetime` = '2018-11-04 09:08:09', `issue_remarks` = '', `is_issued` = 1, `is_approved` = 1
WHERE `movement_id` = '61';
UPDATE `stock_movement_details` SET `movement_id` = '61', `product_id` = '26', `proposal_qty` = '10', `issue_qty` = '5', `received_qty` = 0
WHERE `movement_id` = '61'
AND `product_id` = '26';
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Stockmovment', 'issue', 'Stockmovment ID :61', '2', '2018-11-04 09:08:09');
UPDATE `stock_movement` SET `movement_id` = '61', `proposal_code` = 'p-60', `for_store_id` = '11', `from_store_id` = '15', `proposal_by` = '7', `issue_by` = '2', `for_warehouse` = 0, `from_warehouse` = 0, `issue_code` = 'is-61', `issue_remarks` = NULL, `is_issued` = 1, `is_received` = 1, `is_proposed` = 1, `receive_by` = '2', `receive_datetime` = '2018-11-04 09:08:19'
WHERE `movement_id` = '61';
UPDATE `stock_movement_details` SET `movement_id` = '61', `product_id` = '26', `proposal_qty` = '10', `issue_qty` = '5', `received_qty` = '5'
WHERE `movement_id` = '61'
AND `product_id` = '26';
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('stockmovement ', 'create', 'movemet received', '2', '2018-11-04 09:08:19');
INSERT INTO `stock_movement` (`proposal_code`, `for_store_id`, `from_store_id`, `proposal_datetime`, `proposal_by`) VALUES ('p-62', '18', '15', '2018-11-04', '2');
INSERT INTO `stock_movement_details` (`movement_id`, `product_id`, `proposal_qty`) VALUES (62, '26', '5');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Stockmovment', 'create', 'Stockmovment ID :62', '2', '2018-11-04 09:21:36');
UPDATE `stock_movement` SET `movement_id` = '62', `proposal_code` = 'p-62', `for_store_id` = '18', `from_store_id` = '15', `proposal_datetime` = '2018-11-04', `proposal_by` = '2', `issue_by` = '2', `for_warehouse` = 0, `from_warehouse` = 0, `issue_code` = 'is-62', `issue_datetime` = '2018-11-04 09:21:45', `issue_remarks` = '', `is_issued` = 1, `is_approved` = 1
WHERE `movement_id` = '62';
UPDATE `stock_movement_details` SET `movement_id` = '62', `product_id` = '26', `proposal_qty` = '5', `issue_qty` = '4', `received_qty` = 0
WHERE `movement_id` = '62'
AND `product_id` = '26';
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Stockmovment', 'issue', 'Stockmovment ID :62', '2', '2018-11-04 09:21:45');
UPDATE `stock_movement` SET `movement_id` = '62', `proposal_code` = 'p-62', `for_store_id` = '18', `from_store_id` = '15', `proposal_by` = '2', `issue_by` = '2', `for_warehouse` = 0, `from_warehouse` = 0, `issue_code` = 'is-62', `issue_remarks` = NULL, `is_issued` = 1, `is_received` = 1, `is_proposed` = 1, `receive_by` = '2', `receive_datetime` = '2018-11-04 09:21:53'
WHERE `movement_id` = '62';
UPDATE `stock_movement_details` SET `movement_id` = '62', `product_id` = '26', `proposal_qty` = '5', `issue_qty` = '4', `received_qty` = '4'
WHERE `movement_id` = '62'
AND `product_id` = '26';
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('stockmovement ', 'create', 'movemet received', '2', '2018-11-04 09:21:53');
INSERT INTO `stock_movement` (`proposal_code`, `for_store_id`, `from_store_id`, `proposal_datetime`, `proposal_by`) VALUES ('p-63', '11', '15', '2018-11-04', '7');
INSERT INTO `stock_movement_details` (`movement_id`, `product_id`, `proposal_qty`) VALUES (63, '26', '5');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Stockmovment', 'create', 'Stockmovment ID :63', '7', '2018-11-04 09:22:22');
UPDATE `stock_movement` SET `movement_id` = '63', `proposal_code` = 'p-63', `for_store_id` = '11', `from_store_id` = '15', `proposal_datetime` = '2018-11-04', `proposal_by` = '7', `issue_by` = '2', `for_warehouse` = 0, `from_warehouse` = 0, `issue_code` = 'is-63', `issue_datetime` = '2018-11-04 09:22:37', `issue_remarks` = '', `is_issued` = 1, `is_approved` = 1
WHERE `movement_id` = '63';
UPDATE `stock_movement_details` SET `movement_id` = '63', `product_id` = '26', `proposal_qty` = '5', `issue_qty` = '5', `received_qty` = 0
WHERE `movement_id` = '63'
AND `product_id` = '26';
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Stockmovment', 'issue', 'Stockmovment ID :63', '2', '2018-11-04 09:22:37');
UPDATE `stock_movement` SET `movement_id` = '63', `proposal_code` = 'p-63', `for_store_id` = '11', `from_store_id` = '15', `proposal_by` = '7', `issue_by` = '2', `for_warehouse` = 0, `from_warehouse` = 0, `issue_code` = 'is-63', `issue_remarks` = NULL, `is_issued` = 1, `is_received` = 1, `is_proposed` = 1, `receive_by` = '2', `receive_datetime` = '2018-11-04 09:22:48'
WHERE `movement_id` = '63';
UPDATE `stock_movement_details` SET `movement_id` = '63', `product_id` = '26', `proposal_qty` = '5', `issue_qty` = '4', `received_qty` = '4'
WHERE `movement_id` = '63'
AND `product_id` = '26';
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('stockmovement ', 'create', 'movemet received', '2', '2018-11-04 09:22:48');
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('DV-1', 'DV', '2018-11-04', '10201020301', '', 0, '20000.00', '2', 1, '2', '2018-11-04 09:24:25', 0);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('DV-1', 'DV', '2018-11-04', '40100007', '', '20000', 0, '2', 1, '2', '2018-11-04 09:24:25', 0);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
UPDATE `user` SET `last_login` = '2018-11-05 06:06:02', `ip_address` = '175.29.195.114'
WHERE `id` = '2';
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('DV-2', 'DV', '2018-11-05', '1020101', '', 0, '20000.00', '2', 1, '2', '2018-11-05 06:07:40', 0);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('DV-2', 'DV', '2018-11-05', '40100008', '', '20000', 0, '2', 1, '2', '2018-11-05 06:07:40', 0);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('DV-3', 'DV', '2018-11-05', '10201020301', '', 0, '4000.00', '2', 1, '2', '2018-11-05 06:50:17', 0);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('DV-3', 'DV', '2018-11-05', '40100010', '', '4000', 0, '2', 1, '2', '2018-11-05 06:50:17', 0);
UPDATE `user` SET `last_login` = '2018-11-05 08:44:24', `ip_address` = '175.29.195.114'
WHERE `id` = '2';
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
CALL get_store_stock('',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
UPDATE `user` SET `last_login` = '2018-11-06 03:56:37', `ip_address` = '175.29.195.114'
WHERE `id` = '2';
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
INSERT INTO `language` (`phrase`) VALUES ('customer_and_address');
INSERT INTO `language` (`phrase`) VALUES ('gurrantor_and_contact');
INSERT INTO `language` (`phrase`) VALUES ('lease_date');
INSERT INTO `language` (`phrase`) VALUES ('remaining_amount');
INSERT INTO `language` (`phrase`) VALUES ('last_payment');
INSERT INTO `language` (`phrase`) VALUES ('overdue_amount');
INSERT INTO `language` (`phrase`) VALUES ('lease_from');
INSERT INTO `language` (`phrase`) VALUES ('amount_greater_than');
INSERT INTO `language` (`phrase`) VALUES ('lease_to');
INSERT INTO `language` (`phrase`) VALUES ('amount_less_than');
INSERT INTO `language` (`phrase`) VALUES ('amount_equal');
CALL get_store_stock('',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
UPDATE `user` SET `last_login` = '2018-11-06 06:05:45', `ip_address` = '175.29.195.114'
WHERE `id` = '2';
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
INSERT INTO `user` (`id`, `firstname`, `lastname`, `email`, `password`, `about`, `store_id`, `is_admin`, `image`, `last_login`, `last_logout`, `ip_address`, `status`) VALUES ('', 'Gabriel', 'Leeper', 'admin@demo.com', 'e10adc3949ba59abbe56e057f20f883e', '', '12', '0', './assets/img/user/256x256bb.jpg', NULL, NULL, NULL, '1');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('User', 'create', 'User ID :28', '2', '2018-11-06 06:30:07');
INSERT INTO `user` (`id`, `firstname`, `lastname`, `email`, `password`, `about`, `store_id`, `is_admin`, `image`, `last_login`, `last_logout`, `ip_address`, `status`) VALUES ('', 'Molly', ' Kinross', 'doctor@gmail.com', 'e10adc3949ba59abbe56e057f20f883e', '', '13', '0', './assets/img/user/45424933_186576722230335_9037996450880946176_n.jpg', NULL, NULL, NULL, '1');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('User', 'create', 'User ID :29', '2', '2018-11-06 06:39:11');
UPDATE `user` SET `id` = '29', `firstname` = 'Molly', `lastname` = ' Kinross', `email` = 'doctor@gmail.com', `password` = 'e10adc3949ba59abbe56e057f20f883e', `about` = '', `store_id` = '13', `is_admin` = '0', `image` = './assets/img/user/45424933_186576722230335_9037996450880946176_n.jpg', `last_login` = NULL, `last_logout` = NULL, `ip_address` = NULL, `status` = '1'
WHERE `id` = '29';
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('User', 'update', 'User ID :29', '2', '2018-11-06 06:40:30');
UPDATE `user` SET `id` = '29', `firstname` = 'Molly', `lastname` = ' Kinross', `email` = 'doctor@gmail.com', `password` = 'e10adc3949ba59abbe56e057f20f883e', `about` = '', `store_id` = '13', `is_admin` = '0', `image` = './assets/img/user/man-cartoon-illustrator2.jpg', `last_login` = NULL, `last_logout` = NULL, `ip_address` = NULL, `status` = '1'
WHERE `id` = '29';
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('User', 'update', 'User ID :29', '2', '2018-11-06 06:41:48');
UPDATE `user` SET `id` = '6', `firstname` = 'Jane', `lastname` = 'Doe', `email` = 'jane@example.com', `password` = 'e10adc3949ba59abbe56e057f20f883e', `about` = '', `store_id` = '14', `is_admin` = '0', `image` = './assets/img/user/f2.png', `last_login` = NULL, `last_logout` = NULL, `ip_address` = NULL, `status` = '1'
WHERE `id` = '6';
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('User', 'update', 'User ID :6', '2', '2018-11-06 06:42:45');
UPDATE `user` SET `id` = '3', `firstname` = 'Janie ', `lastname` = 'Doe', `email` = 'janie@example.com', `password` = 'e10adc3949ba59abbe56e057f20f883e', `about` = '', `store_id` = '15', `is_admin` = '0', `image` = './assets/img/user/f.png', `last_login` = NULL, `last_logout` = NULL, `ip_address` = NULL, `status` = '1'
WHERE `id` = '3';
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('User', 'update', 'User ID :3', '2', '2018-11-06 06:43:25');
INSERT INTO `user` (`id`, `firstname`, `lastname`, `email`, `password`, `about`, `store_id`, `is_admin`, `image`, `last_login`, `last_logout`, `ip_address`, `status`) VALUES ('', 'Grace ', 'Plowman', 'sabuz.bra.92@gmail.com', 'e10adc3949ba59abbe56e057f20f883e', '', '16', '1', './assets/img/user/man-cartoon-illustrator3.jpg', NULL, NULL, NULL, '1');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('User', 'create', 'User ID :30', '2', '2018-11-06 06:45:19');
INSERT INTO `user` (`id`, `firstname`, `lastname`, `email`, `password`, `about`, `store_id`, `is_admin`, `image`, `last_login`, `last_logout`, `ip_address`, `status`) VALUES ('', 'John', ' Royston', 'superadmin@demo.com', 'e10adc3949ba59abbe56e057f20f883e', '', '11', '1', './assets/img/user/young-man-face-cartoon-design-vector-9772896.jpg', NULL, NULL, NULL, '1');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('User', 'create', 'User ID :31', '2', '2018-11-06 06:46:46');
INSERT INTO `user` (`id`, `firstname`, `lastname`, `email`, `password`, `about`, `store_id`, `is_admin`, `image`, `last_login`, `last_logout`, `ip_address`, `status`) VALUES ('', 'Grace', ' Rawlings', 'tarin.ferdaus@gmail.com', 'e10adc3949ba59abbe56e057f20f883e', '', '17', '0', './assets/img/user/man-cartoon-illustrator4.jpg', NULL, NULL, NULL, '1');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('User', 'create', 'User ID :32', '2', '2018-11-06 06:49:40');
INSERT INTO `user` (`id`, `firstname`, `lastname`, `email`, `password`, `about`, `store_id`, `is_admin`, `image`, `last_login`, `last_logout`, `ip_address`, `status`) VALUES ('', 'Cameron', ' Fielding', 'tarin764@gmail.com', 'e10adc3949ba59abbe56e057f20f883e', '', '18', '0', './assets/img/user/main-qimg-f48a79de0d1667c27d61df7ff6b9f2d2-c.jpg', NULL, NULL, NULL, '1');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('User', 'create', 'User ID :33', '2', '2018-11-06 06:51:37');
INSERT INTO `user` (`id`, `firstname`, `lastname`, `email`, `password`, `about`, `store_id`, `is_admin`, `image`, `last_login`, `last_logout`, `ip_address`, `status`) VALUES ('', 'Jamie ', ' Bentham', 'sabuz92@gmail.com', 'e10adc3949ba59abbe56e057f20f883e', '', '19', '1', './assets/img/user/main-qimg-f48a79de0d1667c27d61df7ff6b9f2d2-c1.jpg', NULL, NULL, NULL, '1');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('User', 'create', 'User ID :34', '2', '2018-11-06 06:53:08');
INSERT INTO `user` (`id`, `firstname`, `lastname`, `email`, `password`, `about`, `store_id`, `is_admin`, `image`, `last_login`, `last_logout`, `ip_address`, `status`) VALUES ('', 'Claire', ' Waite', 'sabuzb.92@gmail.com', 'e10adc3949ba59abbe56e057f20f883e', '', '20', '0', './assets/img/user/man-cartoon-illustrator5.jpg', NULL, NULL, NULL, '1');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('User', 'create', 'User ID :35', '2', '2018-11-06 06:54:49');
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
CALL get_store_stock('',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
INSERT INTO `language` (`phrase`) VALUES ('check_all_product');
INSERT INTO `language` (`phrase`) VALUES ('check_all_store');
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
CALL get_store_stock('',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
UPDATE `user` SET `last_login` = '2018-11-06 12:05:39', `ip_address` = '175.29.195.114'
WHERE `id` = '2';
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
INSERT INTO `acc_coa` (`HeadCode`, `HeadName`, `PHeadName`, `HeadLevel`, `IsActive`, `IsTransaction`, `IsGL`, `HeadType`, `IsBudget`, `IsDepreciation`, `DepreciationRate`, `CreateBy`, `CreateDate`) VALUES (40100003, '234234-test Store', 'Store Expenses', '2', '1', '1', '0', 'E', '0', '0', '0', '2', '2018-11-06 12:09:08');
INSERT INTO `acc_coa` (`HeadCode`, `HeadName`, `PHeadName`, `HeadLevel`, `IsActive`, `IsTransaction`, `IsGL`, `HeadType`, `IsBudget`, `IsDepreciation`, `DepreciationRate`, `CreateBy`, `CreateDate`) VALUES ('1020101000001', 'Cash-234234-test Store', 'Cash In Hand', '4', '1', '1', '0', 'A', '0', '0', '0', '2', '2018-11-06 12:09:08');
INSERT INTO `store` (`store_id`, `store_name`, `store_code`, `store_phone`, `store_address`, `createby`, `createdate`, `isactive`) VALUES ('', 'test Store', '234234', '234234', 'sdfsadf', '2', '2018-11-06 12:09:08', 1);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Store', 'create', 'Store ID :11', '2', '2018-11-06 12:09:08');
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
INSERT INTO `product_category` (`category_id`, `category_name`, `isactive`) VALUES ('', 'testcat', 1);
INSERT INTO `product_model` (`model_id`, `model_name`, `isactive`) VALUES ('', 'testm', 1);
INSERT INTO `product_brand` (`brand_id`, `brand_name`, `isactive`) VALUES ('', 'testb', 1);
INSERT INTO `product_unit` (`unit_id`, `unit_name`, `isactive`) VALUES ('', 'kg', 1);
INSERT INTO `product` (`product_id`, `product_name`, `product_code`, `model`, `category`, `brand`, `unit`, `product_details`, `purchase_price`, `block_price`, `minimum_price`, `retail_price`, `createby`, `createdate`, `updateby`, `updatedate`, `isactive`) VALUES ('', 'testcat-testb-testm', 'pro-1001', '7', '5', '6', '5', 'dfasdfsdaf', '0', '0', '0', '0', '2', '2018-11-06 12:11:15', '', '', 1);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Product', 'create', 'product ID :25', '2', '2018-11-06 12:11:15');
UPDATE `product` SET `product_id` = '25', `product_name` = 'testcat-testb-testm', `product_code` = 'pro-1001', `category` = '5', `model` = '7', `unit` = '5', `brand` = '6', `product_details` = 'dfasdfsdaf', `purchase_price` = '25', `minimum_price` = '27', `retail_price` = '30', `block_price` = '26', `isactive` = '1'
WHERE `product_id` IN('25');
INSERT INTO `acc_coa` (`HeadCode`, `HeadName`, `PHeadName`, `HeadLevel`, `IsActive`, `IsTransaction`, `IsGL`, `HeadType`, `IsBudget`, `IsDepreciation`, `DepreciationRate`, `CreateBy`, `CreateDate`) VALUES (5020200008, 'sup-1-testsuplier', 'Account Payable', '3', '1', '1', '0', 'L', '0', '0', '0', '2', '2018-11-06 12:12:26');
INSERT INTO `supplier` (`supplier_id`, `supplier_name`, `supplier_code`, `phone`, `address`, `email`, `contact_per_name`, `c_p_contact`, `isactive`, `createby`, `createdate`, `updateby`, `updatedate`) VALUES ('', 'testsuplier', 'sup-1', '2345234', 'sdfsadf', 'st@gmail.com', '234234', '235234', 1, '2', '2018-11-06 12:12:26', '', '');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Supplier', 'create', 'Supplier ID :10', '2', '2018-11-06 12:12:26');
INSERT INTO `purchase_order` (`po_no`, `supplier_id`, `total_amnt`, `store_id`, `warehouse_id`, `createby`, `createdate`, `isapproved`) VALUES ('20181106121310', '10', '1250.00', 0, 0, '2', '2018-11-06 12:13:10', 0);
INSERT INTO `purchase_order_details` (`row_id`, `po_no`, `product_id`, `order_qty`, `product_rate`, `discount`, `store_id`) VALUES ('531136565977433', '20181106121310', '25', '50', '25', '', '11');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('purchase order', 'create', 'Orde Id-20181106121310 total amount-1250.00', '2', '2018-11-06 12:13:10');
INSERT INTO `purchase_receive` (`receive_id`, `po_no`, `supplier_id`, `store_id`, `warehouse_id`, `voucher_no`, `receive_by`, `receive_date`) VALUES ('20181106121338', '20181106121310', '10', 0, 0, 1000, '2', '2018-11-06');
INSERT INTO `purchase_receive_details` (`receive_id`, `product_id`, `receive_qty`, `product_rate`, `store_id`, `discount`) VALUES ('20181106121338', '25', '50', '25', '11', '');
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('20181106121310', 'PO', '2018-11-06', 10107, 'PO Receive Receive No 20181106121338', '1250.00', 0, '11', 1, '2', '2018-11-06', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('20181106121310', 'PO', '2018-11-06', '5020200008', 'PO received For PO No.20181106121310 Receive No.20181106121338', 0, '1250.00', '1', 1, '2', '2018-11-06', 1);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('purchase order receive', 'create', 'Order Id- total amount-1250.00', '2', '2018-11-06 12:13:38');
CALL get_store_stock('',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
UPDATE `user` SET `last_login` = '2026-01-29 23:13:37', `ip_address` = '127.0.0.1'
WHERE `id` = '1';
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
UPDATE `user` SET `last_logout` = '2026-01-29 23:14:52'
WHERE `id` = '1';
UPDATE `user` SET `last_login` = '2026-01-29 23:16:18', `ip_address` = '127.0.0.1'
WHERE `id` = '1';
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
INSERT INTO `acc_coa` (`HeadCode`, `HeadName`, `PHeadName`, `HeadLevel`, `IsActive`, `IsTransaction`, `IsGL`, `HeadType`, `IsBudget`, `IsDepreciation`, `DepreciationRate`, `CreateBy`, `CreateDate`) VALUES (40100003, 'CW3-Yemen W3', 'Store Expenses', '2', '1', '1', '0', 'E', '0', '0', '0', '1', '2026-01-30 00:21:41');
INSERT INTO `acc_coa` (`HeadCode`, `HeadName`, `PHeadName`, `HeadLevel`, `IsActive`, `IsTransaction`, `IsGL`, `HeadType`, `IsBudget`, `IsDepreciation`, `DepreciationRate`, `CreateBy`, `CreateDate`) VALUES ('1020101000001', 'Cash-CW3-Yemen W3', 'Cash In Hand', '4', '1', '1', '0', 'A', '0', '0', '0', '1', '2026-01-30 00:21:41');
INSERT INTO `store` (`store_id`, `store_name`, `store_code`, `store_phone`, `store_address`, `createby`, `createdate`, `isactive`) VALUES ('', 'Yemen W3', 'CW3', '773381661', 'ssssssssssssssss', '1', '2026-01-30 00:21:41', 1);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Store', 'create', 'Store ID :1', '1', '2026-01-30 00:21:41');
INSERT INTO `acc_coa` (`HeadCode`, `HeadName`, `PHeadName`, `HeadLevel`, `IsActive`, `IsTransaction`, `IsGL`, `HeadType`, `IsBudget`, `IsDepreciation`, `DepreciationRate`, `CreateBy`, `CreateDate`) VALUES (5020200008, 'sup-1-Yemen w3', 'Account Payable', '3', '1', '1', '0', 'L', '0', '0', '0', '1', '2026-01-30 00:22:41');
INSERT INTO `supplier` (`supplier_id`, `supplier_name`, `supplier_code`, `phone`, `address`, `email`, `contact_per_name`, `c_p_contact`, `isactive`, `createby`, `createdate`, `updateby`, `updatedate`) VALUES ('', 'Yemen w3', 'sup-1', '773381661', 'sanaa', 'info@yemenw3.com', '773381661', '773381661', 1, '1', '2026-01-30 00:22:41', '', '');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Supplier', 'create', 'Supplier ID :1', '1', '2026-01-30 00:22:41');
UPDATE `setting` SET `id` = '2', `title` = 'InvetCW3', `address` = '98 Green Road, Farmgate, Dhaka-1215.', `email` = 'info@yemenw3.com', `phone` = '773381661', `logo` = 'assets/img/icons/logo.png', `favicon` = 'assets/img/icons/m.png', `language` = 'english', `site_align` = 'RTL', `footer_text` = '2017Â©Copyright'
WHERE `id` = '2';
UPDATE `setting` SET `id` = '2', `title` = 'مخازن يمن دبليو ثري', `address` = '98 Green Road, Farmgate, Dhaka-1215.', `email` = 'info@yemenw3.com', `phone` = '773381661', `logo` = 'assets/img/icons/logo.png', `favicon` = 'assets/img/icons/m.png', `language` = 'english', `site_align` = 'RTL', `footer_text` = '2017Â©Copyright'
WHERE `id` = '2';
ALTER TABLE `language`
	ADD `arabic` TEXT;
UPDATE `language` SET `arabic` = ''
WHERE `phrase` = 'a';
UPDATE `language` SET `arabic` = 'من نحن'
WHERE `phrase` = 'about';
UPDATE `language` SET `arabic` = 'حساب'
WHERE `phrase` = 'account';
UPDATE `language` SET `arabic` = 'الحسابات'
WHERE `phrase` = 'accounts';
UPDATE `language` SET `arabic` = 'تقرير الحسابات'
WHERE `phrase` = 'account_report';
UPDATE `language` SET `arabic` = 'إنجاز'
WHERE `phrase` = 'achievement';
UPDATE `language` SET `arabic` = 'اجراء'
WHERE `phrase` = 'action';
UPDATE `language` SET `arabic` = 'نشيط'
WHERE `phrase` = 'active';
UPDATE `language` SET `arabic` = ''
WHERE `phrase` = 'ac_wise_achivement';
UPDATE `language` SET `arabic` = 'اضف'
WHERE `phrase` = 'add';
UPDATE `language` SET `arabic` = 'العنوان'
WHERE `phrase` = 'address';
UPDATE `language` SET `arabic` = ''
WHERE `phrase` = 'add_credit_receiving';
UPDATE `language` SET `arabic` = ''
WHERE `phrase` = 'add_model';
UPDATE `language` SET `arabic` = ''
WHERE `phrase` = 'add_module';
UPDATE `language` SET `arabic` = ''
WHERE `phrase` = 'add_module_permission';
UPDATE `language` SET `arabic` = ''
WHERE `phrase` = 'add_more';
UPDATE `language` SET `arabic` = ''
WHERE `phrase` = 'add_new_item';
UPDATE `language` SET `arabic` = ''
WHERE `phrase` = 'add_product';
UPDATE `language` SET `arabic` = ''
WHERE `phrase` = 'add_recovery_receiving';
UPDATE `language` SET `arabic` = ''
WHERE `phrase` = 'add_role';
UPDATE `language` SET `arabic` = ''
WHERE `phrase` = 'add_role_permission';
UPDATE `language` SET `arabic` = ''
WHERE `phrase` = 'add_store';
UPDATE `language` SET `arabic` = ''
WHERE `phrase` = 'add_unit';
UPDATE `language` SET `arabic` = ''
WHERE `phrase` = 'add_user';
UPDATE `language` SET `arabic` = ''
WHERE `phrase` = 'add_user_role';
UPDATE `language` SET `arabic` = ''
WHERE `phrase` = 'a';
UPDATE `language` SET `arabic` = 'من نحن'
WHERE `phrase` = 'about';
UPDATE `language` SET `arabic` = 'حساب'
WHERE `phrase` = 'account';
UPDATE `language` SET `arabic` = 'الحسابات'
WHERE `phrase` = 'accounts';
UPDATE `language` SET `arabic` = 'تقرير الحسابات'
WHERE `phrase` = 'account_report';
UPDATE `language` SET `arabic` = 'إنجاز'
WHERE `phrase` = 'achievement';
UPDATE `language` SET `arabic` = 'اجراء'
WHERE `phrase` = 'action';
UPDATE `language` SET `arabic` = 'نشيط'
WHERE `phrase` = 'active';
UPDATE `language` SET `arabic` = ''
WHERE `phrase` = 'ac_wise_achivement';
UPDATE `language` SET `arabic` = 'اضف'
WHERE `phrase` = 'add';
UPDATE `language` SET `arabic` = 'العنوان'
WHERE `phrase` = 'address';
UPDATE `language` SET `arabic` = ''
WHERE `phrase` = 'add_credit_receiving';
UPDATE `language` SET `arabic` = ''
WHERE `phrase` = 'add_model';
UPDATE `language` SET `arabic` = ''
WHERE `phrase` = 'add_module';
UPDATE `language` SET `arabic` = ''
WHERE `phrase` = 'add_module_permission';
UPDATE `language` SET `arabic` = 'اضف المزيد'
WHERE `phrase` = 'add_more';
UPDATE `language` SET `arabic` = 'اضف صنف جديد'
WHERE `phrase` = 'add_new_item';
UPDATE `language` SET `arabic` = 'اضف منتج'
WHERE `phrase` = 'add_product';
UPDATE `language` SET `arabic` = ''
WHERE `phrase` = 'add_recovery_receiving';
UPDATE `language` SET `arabic` = 'اضف دور'
WHERE `phrase` = 'add_role';
UPDATE `language` SET `arabic` = 'اضف صلاحيات الادوار'
WHERE `phrase` = 'add_role_permission';
UPDATE `language` SET `arabic` = 'اضف متجر'
WHERE `phrase` = 'add_store';
UPDATE `language` SET `arabic` = 'اضف وحدة'
WHERE `phrase` = 'add_unit';
UPDATE `language` SET `arabic` = 'اضف مستخدم'
WHERE `phrase` = 'add_user';
UPDATE `language` SET `arabic` = 'اضف صلاحيات مستخدم'
WHERE `phrase` = 'add_user_role';
UPDATE `language` SET `arabic` = 'ال'
WHERE `phrase` = 'a';
UPDATE `language` SET `arabic` = 'من نحن'
WHERE `phrase` = 'about';
UPDATE `language` SET `arabic` = 'حساب'
WHERE `phrase` = 'account';
UPDATE `language` SET `arabic` = 'الحسابات'
WHERE `phrase` = 'accounts';
UPDATE `language` SET `arabic` = 'تقرير الحسابات'
WHERE `phrase` = 'account_report';
UPDATE `language` SET `arabic` = 'إنجاز'
WHERE `phrase` = 'achievement';
UPDATE `language` SET `arabic` = 'اجراء'
WHERE `phrase` = 'action';
UPDATE `language` SET `arabic` = 'نشيط'
WHERE `phrase` = 'active';
UPDATE `language` SET `arabic` = ''
WHERE `phrase` = 'ac_wise_achivement';
UPDATE `language` SET `arabic` = 'اضف'
WHERE `phrase` = 'add';
UPDATE `language` SET `arabic` = 'العنوان'
WHERE `phrase` = 'address';
UPDATE `language` SET `arabic` = ''
WHERE `phrase` = 'add_credit_receiving';
UPDATE `language` SET `arabic` = ''
WHERE `phrase` = 'add_model';
UPDATE `language` SET `arabic` = ''
WHERE `phrase` = 'add_module';
UPDATE `language` SET `arabic` = ''
WHERE `phrase` = 'add_module_permission';
UPDATE `language` SET `arabic` = 'اضف المزيد'
WHERE `phrase` = 'add_more';
UPDATE `language` SET `arabic` = 'اضف صنف جديد'
WHERE `phrase` = 'add_new_item';
UPDATE `language` SET `arabic` = 'اضف منتج'
WHERE `phrase` = 'add_product';
UPDATE `language` SET `arabic` = ''
WHERE `phrase` = 'add_recovery_receiving';
UPDATE `language` SET `arabic` = 'اضف دور'
WHERE `phrase` = 'add_role';
UPDATE `language` SET `arabic` = 'اضف صلاحيات الادوار'
WHERE `phrase` = 'add_role_permission';
UPDATE `language` SET `arabic` = 'اضف متجر'
WHERE `phrase` = 'add_store';
UPDATE `language` SET `arabic` = 'اضف وحدة'
WHERE `phrase` = 'add_unit';
UPDATE `language` SET `arabic` = 'اضف مستخدم'
WHERE `phrase` = 'add_user';
UPDATE `language` SET `arabic` = 'اضف صلاحيات مستخدم'
WHERE `phrase` = 'add_user_role';
UPDATE `language` SET `arabic` = 'ال'
WHERE `phrase` = 'a';
UPDATE `language` SET `arabic` = 'من نحن'
WHERE `phrase` = 'about';
UPDATE `language` SET `arabic` = 'حساب'
WHERE `phrase` = 'account';
UPDATE `language` SET `arabic` = 'الحسابات'
WHERE `phrase` = 'accounts';
UPDATE `language` SET `arabic` = 'تقرير الحسابات'
WHERE `phrase` = 'account_report';
UPDATE `language` SET `arabic` = 'إنجاز'
WHERE `phrase` = 'achievement';
UPDATE `language` SET `arabic` = 'اجراء'
WHERE `phrase` = 'action';
UPDATE `language` SET `arabic` = 'نشيط'
WHERE `phrase` = 'active';
UPDATE `language` SET `arabic` = ''
WHERE `phrase` = 'ac_wise_achivement';
UPDATE `language` SET `arabic` = 'اضف'
WHERE `phrase` = 'add';
UPDATE `language` SET `arabic` = 'العنوان'
WHERE `phrase` = 'address';
UPDATE `language` SET `arabic` = ''
WHERE `phrase` = 'add_credit_receiving';
UPDATE `language` SET `arabic` = 'إضافة نموذج'
WHERE `phrase` = 'add_model';
UPDATE `language` SET `arabic` = ''
WHERE `phrase` = 'add_module';
UPDATE `language` SET `arabic` = ''
WHERE `phrase` = 'add_module_permission';
UPDATE `language` SET `arabic` = 'إضافة المزيد'
WHERE `phrase` = 'add_more';
UPDATE `language` SET `arabic` = 'إضافة صنف جديد'
WHERE `phrase` = 'add_new_item';
UPDATE `language` SET `arabic` = 'إضافة  منتج'
WHERE `phrase` = 'add_product';
UPDATE `language` SET `arabic` = ''
WHERE `phrase` = 'add_recovery_receiving';
UPDATE `language` SET `arabic` = 'إضافة  دور'
WHERE `phrase` = 'add_role';
UPDATE `language` SET `arabic` = 'إضافة  صلاحيات الادوار'
WHERE `phrase` = 'add_role_permission';
UPDATE `language` SET `arabic` = 'إضافة  متجر'
WHERE `phrase` = 'add_store';
UPDATE `language` SET `arabic` = 'إضافة  وحدة'
WHERE `phrase` = 'add_unit';
UPDATE `language` SET `arabic` = 'إضافة  مستخدم'
WHERE `phrase` = 'add_user';
UPDATE `language` SET `arabic` = 'إضافة  صلاحيات مستخدم'
WHERE `phrase` = 'add_user_role';
UPDATE `language` SET `arabic` = 'ال'
WHERE `phrase` = 'a';
UPDATE `language` SET `arabic` = 'من نحن'
WHERE `phrase` = 'about';
UPDATE `language` SET `arabic` = 'حساب'
WHERE `phrase` = 'account';
UPDATE `language` SET `arabic` = 'الحسابات'
WHERE `phrase` = 'accounts';
UPDATE `language` SET `arabic` = 'تقرير الحسابات'
WHERE `phrase` = 'account_report';
UPDATE `language` SET `arabic` = 'إنجاز'
WHERE `phrase` = 'achievement';
UPDATE `language` SET `arabic` = 'اجراء'
WHERE `phrase` = 'action';
UPDATE `language` SET `arabic` = 'نشيط'
WHERE `phrase` = 'active';
UPDATE `language` SET `arabic` = ''
WHERE `phrase` = 'ac_wise_achivement';
UPDATE `language` SET `arabic` = 'اضف'
WHERE `phrase` = 'add';
UPDATE `language` SET `arabic` = 'العنوان'
WHERE `phrase` = 'address';
UPDATE `language` SET `arabic` = ''
WHERE `phrase` = 'add_credit_receiving';
UPDATE `language` SET `arabic` = 'إضافة نموذج'
WHERE `phrase` = 'add_model';
UPDATE `language` SET `arabic` = 'إضافة وحدة نمطية'
WHERE `phrase` = 'add_module';
UPDATE `language` SET `arabic` = 'اضافة نمط صلاحيات'
WHERE `phrase` = 'add_module_permission';
UPDATE `language` SET `arabic` = 'إضافة المزيد'
WHERE `phrase` = 'add_more';
UPDATE `language` SET `arabic` = 'إضافة صنف جديد'
WHERE `phrase` = 'add_new_item';
UPDATE `language` SET `arabic` = 'إضافة  منتج'
WHERE `phrase` = 'add_product';
UPDATE `language` SET `arabic` = ''
WHERE `phrase` = 'add_recovery_receiving';
UPDATE `language` SET `arabic` = 'إضافة  دور'
WHERE `phrase` = 'add_role';
UPDATE `language` SET `arabic` = 'إضافة  صلاحيات الادوار'
WHERE `phrase` = 'add_role_permission';
UPDATE `language` SET `arabic` = 'إضافة  متجر'
WHERE `phrase` = 'add_store';
UPDATE `language` SET `arabic` = 'إضافة  وحدة'
WHERE `phrase` = 'add_unit';
UPDATE `language` SET `arabic` = 'إضافة  مستخدم'
WHERE `phrase` = 'add_user';
UPDATE `language` SET `arabic` = 'إضافة  صلاحيات مستخدم'
WHERE `phrase` = 'add_user_role';
INSERT INTO `product_category` (`category_id`, `category_name`, `isactive`) VALUES ('', 'مواد غذائية', 1);
INSERT INTO `product_category` (`category_id`, `category_name`, `isactive`) VALUES ('', 'مواد استهلاكية', 1);
INSERT INTO `product_brand` (`brand_id`, `brand_name`, `isactive`) VALUES ('', 'امريكي', 1);
INSERT INTO `product_model` (`model_id`, `model_name`, `isactive`) VALUES ('', '2025', 1);
UPDATE `product_model` SET `model_id` = '1', `model_name` = 'موديل 2015', `isactive` = 1
WHERE `model_id` = '1';
INSERT INTO `product_unit` (`unit_id`, `unit_name`, `isactive`) VALUES ('', 'اللون ابيض', 1);
INSERT INTO `product_category` (`category_id`, `category_name`, `isactive`) VALUES ('', 'سيارة', 1);
UPDATE `product_brand` SET `brand_id` = '1', `brand_name` = 'كيا', `isactive` = 1
WHERE `brand_id` = '1';
UPDATE `product_brand` SET `brand_id` = '1', `brand_name` = 'كيا', `isactive` = 1
WHERE `brand_id` = '1';
INSERT INTO `product` (`product_id`, `product_name`, `product_code`, `model`, `category`, `brand`, `unit`, `product_details`, `purchase_price`, `block_price`, `minimum_price`, `retail_price`, `createby`, `createdate`, `updateby`, `updatedate`, `isactive`) VALUES ('', 'سيارة-كيا-موديل 2015', 'pro-1001', '1', '3', '1', '1', 'نضيف', '0', '0', '0', '0', '1', '2026-01-30 02:22:42', '', '', 1);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Product', 'create', 'product ID :1', '1', '2026-01-30 02:22:43');
UPDATE `product` SET `product_id` = '1', `product_name` = 'سيارة-كيا-موديل 2015', `product_code` = 'pro-1001', `category` = '3', `model` = '1', `unit` = '1', `brand` = '1', `product_details` = 'نضيف', `purchase_price` = '1100', `minimum_price` = '1000', `retail_price` = '900', `block_price` = '0', `isactive` = '1'
WHERE `product_id` IN('1');
INSERT INTO `purchase_order` (`po_no`, `supplier_id`, `total_amnt`, `store_id`, `warehouse_id`, `createby`, `createdate`, `isapproved`) VALUES ('20260130023334', '1', '3035.00', 0, 0, '1', '2026-01-30 02:33:34', 0);
INSERT INTO `purchase_order_details` (`row_id`, `po_no`, `product_id`, `order_qty`, `product_rate`, `discount`, `store_id`) VALUES ('765926614717435', '20260130023334', '', '3', '1000', '', '');
INSERT INTO `purchase_order_details` (`row_id`, `po_no`, `product_id`, `order_qty`, `product_rate`, `discount`, `store_id`) VALUES ('991226819451672', '20260130023334', '', '5', '7', '', '');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('purchase order', 'create', 'Orde Id-20260130023334 total amount-3035.00', '1', '2026-01-30 02:33:36');
UPDATE `purchase_order` SET `po_no` = '20260130023334', `isapproved` = 1
WHERE `po_no` = '20260130023334';
UPDATE `purchase_order` SET `po_no` = '20260130023334', `isapproved` = 0
WHERE `po_no` = '20260130023334';
INSERT INTO `acc_coa` (`HeadCode`, `HeadName`, `PHeadName`, `HeadLevel`, `IsActive`, `IsTransaction`, `IsGL`, `HeadType`, `IsBudget`, `IsDepreciation`, `DepreciationRate`, `CreateBy`, `CreateDate`) VALUES ('1020301000001', 'cc-1-فواز عبدالله علي قاسم', 'Customer Receivable', '4', '1', '1', '0', 'A', '0', '0', '0', '1', '2026-01-30 02:45:11');
INSERT INTO `customer` (`customer_id`, `customer_code`, `customer_name`, `type`, `customer_phone`, `store_id`, `job_designation`, `customer_address`, `customer_cnic`, `business_address`, `isactive`, `createby`, `createdate`, `updateby`, `updatedate`) VALUES ('', 'cc-1', 'فواز عبدالله علي قاسم', '1', '773388888', '1', 'معلم', '', '18', '', '1', '1', '2026-01-30 02:45:11', '', '');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Customer', 'create', 27, '1', '2026-01-30 02:45:12');
UPDATE `setting` SET `id` = '2', `title` = 'مخازن يمن دبليو ثري', `address` = 'صنعاء شارع النصر المدينة السكنية', `email` = 'info@yemenw3.com', `phone` = '773381661', `logo` = 'assets/img/icons/logo.png', `favicon` = 'assets/img/icons/m.png', `language` = 'arabic', `site_align` = 'RTL', `footer_text` = '2017Â©Copyright'
WHERE `id` = '2';
UPDATE `setting` SET `id` = '2', `title` = 'مخازن يمن دبليو ثري', `address` = 'صنعاء شارع النصر المدينة السكنية', `email` = 'info@yemenw3.com', `phone` = '773381661', `logo` = 'assets/img/icons/logo.png', `favicon` = 'assets/img/icons/m.png', `language` = 'english', `site_align` = 'RTL', `footer_text` = '2026©Copyright'
WHERE `id` = '2';
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
UPDATE `user` SET `last_login` = '2026-01-31 03:30:56', `ip_address` = '127.0.0.1'
WHERE `id` = '1';
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
UPDATE `user` SET `last_login` = '2026-01-31 15:27:16', `ip_address` = '127.0.0.1'
WHERE `id` = '1';
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
UPDATE `user` SET `last_login` = '2026-02-24 20:48:33', `ip_address` = '127.0.0.1'
WHERE `id` = '1';
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
UPDATE `setting` SET `id` = '2', `title` = 'مخازن يمن دبليو ثري', `address` = 'صنعاء شارع النصر المدينة السكنية', `email` = 'info@yemenw3.com', `phone` = '773381661', `logo` = 'assets/img/icons/logo.png', `favicon` = 'assets/img/icons/m.png', `language` = 'arabic', `site_align` = 'RTL', `footer_text` = '2026©Copyright'
WHERE `id` = '2';
UPDATE `setting` SET `id` = '2', `title` = 'مخازن يمن دبليو ثري', `address` = 'صنعاء شارع النصر المدينة السكنية', `email` = 'info@yemenw3.com', `phone` = '773381661', `logo` = 'assets/img/icons/logo.png', `favicon` = 'assets/img/icons/m.png', `language` = 'english', `site_align` = 'RTL', `footer_text` = '2026©Copyright'
WHERE `id` = '2';
UPDATE `setting` SET `id` = '2', `title` = 'مخازن يمن دبليو ثري', `address` = 'صنعاء شارع النصر المدينة السكنية', `email` = 'info@yemenw3.com', `phone` = '773381661', `logo` = 'assets/img/icons/logo.png', `favicon` = 'assets/img/icons/m.png', `language` = 'english', `site_align` = 'RTL', `footer_text` = '2026©Copyright'
WHERE `id` = '2';
UPDATE `setting` SET `id` = '2', `title` = 'مخازن يمن دبليو ثري', `address` = 'صنعاء شارع النصر المدينة السكنية', `email` = 'info@yemenw3.com', `phone` = '773381661', `logo` = 'assets/img/icons/logo.png', `favicon` = 'assets/img/icons/m.png', `language` = 'arabic', `site_align` = 'RTL', `footer_text` = '2026©Copyright'
WHERE `id` = '2';
UPDATE `setting` SET `id` = '2', `title` = 'مخازن يمن دبليو ثري', `address` = 'صنعاء شارع النصر المدينة السكنية', `email` = 'info@yemenw3.com', `phone` = '773381661', `logo` = 'assets/img/icons/logo.png', `favicon` = 'assets/img/icons/m.png', `language` = 'english', `site_align` = 'RTL', `footer_text` = '2026©Copyright'
WHERE `id` = '2';
UPDATE `language` SET `arabic` = 'اضافة مستودع'
WHERE `phrase` = 'add_warehouse';
UPDATE `language` SET `arabic` = 'مسؤل'
WHERE `phrase` = 'admin';
UPDATE `language` SET `arabic` = 'مقدم/سلفة'
WHERE `phrase` = 'advance';
UPDATE `language` SET `arabic` = 'مبلغ السلفة'
WHERE `phrase` = 'advance_amount';
UPDATE `language` SET `arabic` = 'جميع القسائم'
WHERE `phrase` = 'all_voucher';
UPDATE `language` SET `arabic` = 'المبلغ'
WHERE `phrase` = 'amount';
UPDATE `language` SET `arabic` = 'المبلغ يساوي'
WHERE `phrase` = 'amount_equal';
UPDATE `language` SET `arabic` = 'الملبغ اكبر من'
WHERE `phrase` = 'amount_greater_than';
UPDATE `language` SET `arabic` = 'المبلغ اقل من'
WHERE `phrase` = 'amount_less_than';
UPDATE `language` SET `arabic` = 'الإنجاز حسب الكمية'
WHERE `phrase` = 'amount_wise_achivement';
UPDATE `language` SET `arabic` = 'إعدادات التطبيق'
WHERE `phrase` = 'application_setting';
UPDATE `language` SET `arabic` = 'عنوان التطبيق'
WHERE `phrase` = 'application_title';
UPDATE `language` SET `arabic` = 'موافقة'
WHERE `phrase` = 'approved';
UPDATE `language` SET `arabic` = 'هل انت متاكد'
WHERE `phrase` = 'are_you_sure';
UPDATE `language` SET `arabic` = 'تعيين الدور'
WHERE `phrase` = 'assign_role';
UPDATE `language` SET `arabic` = 'ممكن'
WHERE `phrase` = 'available';
UPDATE `language` SET `arabic` = 'نسخة'
WHERE `phrase` = 'backup';
UPDATE `language` SET `arabic` = 'النسخ الاحتياطي والاستعادة'
WHERE `phrase` = 'backup_and_restore';
UPDATE `language` SET `arabic` = 'تاريخ النسخ الاحتياطي'
WHERE `phrase` = 'backup_date';
UPDATE `language` SET `arabic` = 'النسخ الاحتياطي الآن'
WHERE `phrase` = 'backup_now';
UPDATE `language` SET `arabic` = 'تم النسخ الاحتياطي بنجاح'
WHERE `phrase` = 'backup_successfully';
UPDATE `language` SET `arabic` = 'كمية الرصيد'
WHERE `phrase` = 'balance_qty';
UPDATE `language` SET `arabic` = 'دفتر البنك'
WHERE `phrase` = 'bank_book';
UPDATE `language` SET `arabic` = 'سعر الكتلة'
WHERE `phrase` = 'block_price';
UPDATE `language` SET `arabic` = ''
WHERE `phrase` = 'bl_price';
UPDATE `language` SET `arabic` = 'ال'
WHERE `phrase` = 'a';
UPDATE `language` SET `arabic` = 'من نحن'
WHERE `phrase` = 'about';
UPDATE `language` SET `arabic` = 'حساب'
WHERE `phrase` = 'account';
UPDATE `language` SET `arabic` = 'الحسابات'
WHERE `phrase` = 'accounts';
UPDATE `language` SET `arabic` = 'تقرير الحسابات'
WHERE `phrase` = 'account_report';
UPDATE `language` SET `arabic` = 'إنجاز'
WHERE `phrase` = 'achievement';
UPDATE `language` SET `arabic` = 'اجراء'
WHERE `phrase` = 'action';
UPDATE `language` SET `arabic` = 'نشيط'
WHERE `phrase` = 'active';
UPDATE `language` SET `arabic` = 'إنجاز حكيم'
WHERE `phrase` = 'ac_wise_achivement';
UPDATE `language` SET `arabic` = 'اضف'
WHERE `phrase` = 'add';
UPDATE `language` SET `arabic` = 'العنوان'
WHERE `phrase` = 'address';
UPDATE `language` SET `arabic` = 'إضافة استلام الائتمان'
WHERE `phrase` = 'add_credit_receiving';
UPDATE `language` SET `arabic` = 'إضافة نموذج'
WHERE `phrase` = 'add_model';
UPDATE `language` SET `arabic` = 'إضافة وحدة نمطية'
WHERE `phrase` = 'add_module';
UPDATE `language` SET `arabic` = 'اضافة نمط صلاحيات'
WHERE `phrase` = 'add_module_permission';
UPDATE `language` SET `arabic` = 'إضافة المزيد'
WHERE `phrase` = 'add_more';
UPDATE `language` SET `arabic` = 'إضافة صنف جديد'
WHERE `phrase` = 'add_new_item';
UPDATE `language` SET `arabic` = 'إضافة  منتج'
WHERE `phrase` = 'add_product';
UPDATE `language` SET `arabic` = 'إضافة استلام الاسترداد'
WHERE `phrase` = 'add_recovery_receiving';
UPDATE `language` SET `arabic` = 'إضافة  دور'
WHERE `phrase` = 'add_role';
UPDATE `language` SET `arabic` = 'إضافة  صلاحيات الادوار'
WHERE `phrase` = 'add_role_permission';
UPDATE `language` SET `arabic` = 'اضافة مخزن'
WHERE `phrase` = 'add_store';
UPDATE `language` SET `arabic` = 'إضافة  وحدة'
WHERE `phrase` = 'add_unit';
UPDATE `language` SET `arabic` = 'إضافة  مستخدم'
WHERE `phrase` = 'add_user';
UPDATE `language` SET `arabic` = 'إضافة  صلاحيات مستخدم'
WHERE `phrase` = 'add_user_role';
UPDATE `language` SET `arabic` = 'فرع'
WHERE `phrase` = 'branches';
UPDATE `language` SET `arabic` = 'تحليل فرعي'
WHERE `phrase` = 'branch_wise_ov_du_analisis';
UPDATE `language` SET `arabic` = 'ماركة'
WHERE `phrase` = 'brand';
UPDATE `language` SET `arabic` = 'اسم الماركة الاخير'
WHERE `phrase` = 'brand_list';
UPDATE `language` SET `arabic` = 'اسم الماركة الاول'
WHERE `phrase` = 'brand_name';
UPDATE `language` SET `arabic` = 'العنوان التجاري'
WHERE `phrase` = 'business_address';
UPDATE `language` SET `arabic` = 'كابتشا'
WHERE `phrase` = 'captcha';
UPDATE `language` SET `arabic` = 'رقم البطاقة'
WHERE `phrase` = 'cardno';
UPDATE `language` SET `arabic` = 'نقداً'
WHERE `phrase` = 'cash';
UPDATE `language` SET `arabic` = 'بيع نقدي'
WHERE `phrase` = 'cashsale';
UPDATE `language` SET `arabic` = 'دفتر النقدية'
WHERE `phrase` = 'cash_book';
UPDATE `language` SET `arabic` = 'التدفق النقدي'
WHERE `phrase` = 'cash_flow';
UPDATE `language` SET `arabic` = 'السعر النقدي'
WHERE `phrase` = 'cash_price';
UPDATE `language` SET `arabic` = 'قائمة بيع النقود'
WHERE `phrase` = 'cash_sale_list';
UPDATE `language` SET `arabic` = 'التصنيف'
WHERE `phrase` = 'category';
UPDATE `language` SET `arabic` = 'قائمة التصنيفات'
WHERE `phrase` = 'category_list';
UPDATE `language` SET `arabic` = 'اسم الصنف'
WHERE `phrase` = 'category_name';
UPDATE `language` SET `arabic` = 'تم التحقق بواسطة'
WHERE `phrase` = 'checked_by';
UPDATE `language` SET `arabic` = 'فحص كل المنتجات'
WHERE `phrase` = 'check_all_product';
UPDATE `language` SET `arabic` = 'فحص المتجر كاملاً'
WHERE `phrase` = 'check_all_store';
UPDATE `language` SET `arabic` = 'استلام الشيك'
WHERE `phrase` = 'check_receive';
UPDATE `language` SET `arabic` = 'تحقق من الحالة'
WHERE `phrase` = 'check_status';
UPDATE `language` SET `arabic` = ''
WHERE `phrase` = 'cnic';
UPDATE `language` SET `arabic` = ''
WHERE `phrase` = 'coa_print';
UPDATE `language` SET `arabic` = 'كود'
WHERE `phrase` = 'code';
UPDATE `language` SET `english` = 'Branches'
WHERE `phrase` = 'branches';
UPDATE `language` SET `english` = 'Branch Wise Due Analysis'
WHERE `phrase` = 'branch_wise_ov_du_analisis';
UPDATE `language` SET `english` = 'Brand'
WHERE `phrase` = 'brand';
UPDATE `language` SET `english` = 'Brand List'
WHERE `phrase` = 'brand_list';
UPDATE `language` SET `english` = 'Brand Name'
WHERE `phrase` = 'brand_name';
UPDATE `language` SET `english` = 'Business Address'
WHERE `phrase` = 'business_address';
UPDATE `language` SET `english` = 'Captcha Word'
WHERE `phrase` = 'captcha';
UPDATE `language` SET `english` = 'NID'
WHERE `phrase` = 'cardno';
UPDATE `language` SET `english` = 'Cash'
WHERE `phrase` = 'cash';
UPDATE `language` SET `english` = 'Cash Sale'
WHERE `phrase` = 'cashsale';
UPDATE `language` SET `english` = 'Cash book'
WHERE `phrase` = 'cash_book';
UPDATE `language` SET `english` = 'Cash Flow'
WHERE `phrase` = 'cash_flow';
UPDATE `language` SET `english` = 'Cash Price'
WHERE `phrase` = 'cash_price';
UPDATE `language` SET `english` = 'Cash Sale List'
WHERE `phrase` = 'cash_sale_list';
UPDATE `language` SET `english` = 'Category'
WHERE `phrase` = 'category';
UPDATE `language` SET `english` = 'Category List'
WHERE `phrase` = 'category_list';
UPDATE `language` SET `english` = 'Category Name'
WHERE `phrase` = 'category_name';
UPDATE `language` SET `english` = 'Checked By'
WHERE `phrase` = 'checked_by';
UPDATE `language` SET `english` = 'Check All Products'
WHERE `phrase` = 'check_all_product';
UPDATE `language` SET `english` = 'Check All Stores'
WHERE `phrase` = 'check_all_store';
UPDATE `language` SET `english` = 'Check Receive'
WHERE `phrase` = 'check_receive';
UPDATE `language` SET `english` = 'Check Status'
WHERE `phrase` = 'check_status';
UPDATE `language` SET `english` = 'CNIC'
WHERE `phrase` = 'cnic';
UPDATE `language` SET `english` = 'Coa Print'
WHERE `phrase` = 'coa_print';
UPDATE `language` SET `english` = 'Code'
WHERE `phrase` = 'code';
UPDATE `language` SET `arabic` = 'استيراد البيانات إلى قاعدة البيانات'
WHERE `phrase` = 'data_import_to_database';
UPDATE `language` SET `arabic` = 'مزامنة البيانات'
WHERE `phrase` = 'data_synchronize';
UPDATE `language` SET `arabic` = 'مزامِن البيانات'
WHERE `phrase` = 'data_synchronizer';
UPDATE `language` SET `arabic` = 'تحميل البيانات إلى الخادم'
WHERE `phrase` = 'data_upload_to_server';
UPDATE `language` SET `arabic` = 'التاريخ'
WHERE `phrase` = 'date';
UPDATE `language` SET `arabic` = 'ايام'
WHERE `phrase` = 'days';
UPDATE `language` SET `arabic` = 'دَين'
WHERE `phrase` = 'debit';
UPDATE `language` SET `arabic` = 'قسيمة الخصم'
WHERE `phrase` = 'debit_voucher';
UPDATE `language` SET `arabic` = 'العجز'
WHERE `phrase` = 'deficit';
UPDATE `language` SET `arabic` = 'حذف'
WHERE `phrase` = 'delete';
UPDATE `language` SET `arabic` = 'حذف بنجاح'
WHERE `phrase` = 'delete_successfully';
UPDATE `language` SET `arabic` = 'حذف بنجاح'
WHERE `phrase` = 'delete_successfully';
UPDATE `language` SET `arabic` = 'القسم'
WHERE `phrase` = 'department';
UPDATE `language` SET `arabic` = 'وصف'
WHERE `phrase` = 'description';
UPDATE `language` SET `arabic` = 'تعين'
WHERE `phrase` = 'designation';
UPDATE `language` SET `arabic` = 'دليل'
WHERE `phrase` = 'directory';
UPDATE `language` SET `arabic` = 'عدم الموافقة'
WHERE `phrase` = 'disapprove';
UPDATE `language` SET `arabic` = 'تخفيض'
WHERE `phrase` = 'discount';
UPDATE `language` SET `arabic` = 'تحميل'
WHERE `phrase` = 'download';
UPDATE `language` SET `arabic` = 'تنزيل البيانات من الخادم'
WHERE `phrase` = 'download_data_from_server';
UPDATE `language` SET `arabic` = 'التحميل بنجاح'
WHERE `phrase` = 'download_successfully';
UPDATE `language` SET `arabic` = 'المبلغ المستحق'
WHERE `phrase` = 'due_amnt';
UPDATE `language` SET `arabic` = 'مدة'
WHERE `phrase` = 'duration';
UPDATE `language` SET `arabic` = 'الايميل'
WHERE `phrase` = 'email';
UPDATE `language` SET `arabic` = 'الموظف'
WHERE `phrase` = 'employee';
UPDATE `language` SET `arabic` = 'للتواصل'
WHERE `phrase` = 'contact';
UPDATE `language` SET `arabic` = 'جهة اتصال لكل اسم'
WHERE `phrase` = 'contact_per_name';
UPDATE `language` SET `arabic` = 'قسيمة مضادة'
WHERE `phrase` = 'contra_voucher';
UPDATE `language` SET `arabic` = 'انشاء'
WHERE `phrase` = 'create';
UPDATE `language` SET `arabic` = 'اضافة دور للمستخدم'
WHERE `phrase` = 'create_user_role';
UPDATE `language` SET `arabic` = 'دائن'
WHERE `phrase` = 'credit';
UPDATE `language` SET `arabic` = 'بيع بالائتمان'
WHERE `phrase` = 'creditsale';
UPDATE `language` SET `arabic` = 'استلام الائتمان'
WHERE `phrase` = 'credit_receive';
UPDATE `language` SET `arabic` = 'قائمة مبيعات الائتمان'
WHERE `phrase` = 'credit_sale_list';
UPDATE `language` SET `arabic` = 'قسيمة ائتمان'
WHERE `phrase` = 'credit_voucher';
UPDATE `language` SET `arabic` = 'العميل'
WHERE `phrase` = 'customer';
UPDATE `language` SET `arabic` = 'العملاء'
WHERE `phrase` = 'customers';
UPDATE `language` SET `arabic` = ''
WHERE `phrase` = 'customer_and_address';
UPDATE `language` SET `arabic` = ''
WHERE `phrase` = 'customer_cnic';
UPDATE `language` SET `arabic` = 'كود العميل'
WHERE `phrase` = 'customer_code';
UPDATE `language` SET `arabic` = 'اسم العميل'
WHERE `phrase` = 'customer_name';
UPDATE `language` SET `arabic` = ''
WHERE `phrase` = 'customer_recovery';
UPDATE `language` SET `arabic` = ''
WHERE `phrase` = 'customer_transaction';
UPDATE `language` SET `arabic` = ''
WHERE `phrase` = 'customer_type';
UPDATE `language` SET `arabic` = ''
WHERE `phrase` = 'c_o_a';
UPDATE `language` SET `arabic` = ''
WHERE `phrase` = 'c_p_contact';
UPDATE `language` SET `arabic` = 'لوحة التحكم'
WHERE `phrase` = 'dashboard';
UPDATE `language` SET `arabic` = ''
WHERE `phrase` = 'database_backup';
UPDATE `language` SET `arabic` = ''
WHERE `phrase` = 'data_import_first';
UPDATE `language` SET `arabic` = ''
WHERE `phrase` = 'data_import_successfully';
UPDATE `language` SET `arabic` = 'للتواصل'
WHERE `phrase` = 'contact';
UPDATE `language` SET `arabic` = 'جهة اتصال لكل اسم'
WHERE `phrase` = 'contact_per_name';
UPDATE `language` SET `arabic` = 'قسيمة مضادة'
WHERE `phrase` = 'contra_voucher';
UPDATE `language` SET `arabic` = 'انشاء'
WHERE `phrase` = 'create';
UPDATE `language` SET `arabic` = 'اضافة دور للمستخدم'
WHERE `phrase` = 'create_user_role';
UPDATE `language` SET `arabic` = 'دائن'
WHERE `phrase` = 'credit';
UPDATE `language` SET `arabic` = 'بيع بالائتمان'
WHERE `phrase` = 'creditsale';
UPDATE `language` SET `arabic` = 'استلام الائتمان'
WHERE `phrase` = 'credit_receive';
UPDATE `language` SET `arabic` = 'قائمة مبيعات الائتمان'
WHERE `phrase` = 'credit_sale_list';
UPDATE `language` SET `arabic` = 'قسيمة ائتمان'
WHERE `phrase` = 'credit_voucher';
UPDATE `language` SET `arabic` = 'العميل'
WHERE `phrase` = 'customer';
UPDATE `language` SET `arabic` = 'العملاء'
WHERE `phrase` = 'customers';
UPDATE `language` SET `arabic` = 'عنوان العميل'
WHERE `phrase` = 'customer_and_address';
UPDATE `language` SET `arabic` = 'بطاقة هوية العميل'
WHERE `phrase` = 'customer_cnic';
UPDATE `language` SET `arabic` = 'كود العميل'
WHERE `phrase` = 'customer_code';
UPDATE `language` SET `arabic` = 'اسم العميل'
WHERE `phrase` = 'customer_name';
UPDATE `language` SET `arabic` = 'استعادة العملاء'
WHERE `phrase` = 'customer_recovery';
UPDATE `language` SET `arabic` = 'معاملة العميل'
WHERE `phrase` = 'customer_transaction';
UPDATE `language` SET `arabic` = 'نوع العميل'
WHERE `phrase` = 'customer_type';
UPDATE `language` SET `arabic` = ''
WHERE `phrase` = 'c_o_a';
UPDATE `language` SET `arabic` = ''
WHERE `phrase` = 'c_p_contact';
UPDATE `language` SET `arabic` = 'لوحة التحكم'
WHERE `phrase` = 'dashboard';
UPDATE `language` SET `arabic` = 'نسخة احتياطية من قاعدة البيانات'
WHERE `phrase` = 'database_backup';
UPDATE `language` SET `arabic` = 'استيراد البيانات أولاً'
WHERE `phrase` = 'data_import_first';
UPDATE `language` SET `arabic` = 'تم استيراد البيانات بنجاح'
WHERE `phrase` = 'data_import_successfully';
UPDATE `language` SET `arabic` = 'سؤال'
WHERE `phrase` = 'enquiry';
UPDATE `language` SET `arabic` = 'معلومات الاستفسار'
WHERE `phrase` = 'enquiry_information';
UPDATE `language` SET `arabic` = 'مفضلة'
WHERE `phrase` = 'favicon';
UPDATE `language` SET `arabic` = 'اسم الملف'
WHERE `phrase` = 'filename';
UPDATE `language` SET `arabic` = 'معلومات الملف'
WHERE `phrase` = 'file_information';
UPDATE `language` SET `arabic` = 'التسوية النهائية'
WHERE `phrase` = 'final_settlement';
UPDATE `language` SET `arabic` = 'خصم التسوية النهائية'
WHERE `phrase` = 'final_settlement_discount';
UPDATE `language` SET `arabic` = 'يجد'
WHERE `phrase` = 'find';
UPDATE `language` SET `arabic` = 'الاسم الاول'
WHERE `phrase` = 'firstname';
UPDATE `language` SET `arabic` = 'نص الفوتر'
WHERE `phrase` = 'footer_text';
UPDATE `language` SET `arabic` = 'الى مخزن'
WHERE `phrase` = 'for_store';
UPDATE `language` SET `arabic` = ''
WHERE `phrase` = 'from_date';
UPDATE `language` SET `arabic` = 'من مخزن'
WHERE `phrase` = 'from_store';
UPDATE `language` SET `arabic` = ''
WHERE `phrase` = 'ftp_debug';
UPDATE `language` SET `arabic` = ''
WHERE `phrase` = 'ftp_port';
UPDATE `language` SET `arabic` = ''
WHERE `phrase` = 'ftp_setting';
UPDATE `language` SET `arabic` = ''
WHERE `phrase` = 'general_ledger';
UPDATE `language` SET `arabic` = ''
WHERE `phrase` = 'general_ledger_of';
UPDATE `language` SET `arabic` = ''
WHERE `phrase` = 'grand_total';
UPDATE `language` SET `arabic` = ''
WHERE `phrase` = 'gurrantor';
UPDATE `language` SET `arabic` = ''
WHERE `phrase` = 'gurrantor1';
UPDATE `language` SET `arabic` = ''
WHERE `phrase` = 'gurrantor2';
UPDATE `language` SET `arabic` = ''
WHERE `phrase` = 'gurrantor_address';
UPDATE `language` SET `arabic` = ''
WHERE `phrase` = 'gurrantor_and_contact';
UPDATE `language` SET `arabic` = ''
WHERE `phrase` = 'gurrantor_cnic';
UPDATE `user` SET `last_login` = '2026-02-25 20:23:53', `ip_address` = '127.0.0.1'
WHERE `id` = '1';
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
UPDATE `setting` SET `id` = '2', `title` = 'مخازن يمن دبليو ثري', `address` = 'صنعاء شارع النصر المدينة السكنية', `email` = 'info@yemenw3.com', `phone` = '773381661', `logo` = 'assets/img/icons/logo.png', `favicon` = 'assets/img/icons/m.png', `language` = 'arabic', `site_align` = 'RTL', `footer_text` = '2026©Copyright'
WHERE `id` = '2';
UPDATE `setting` SET `id` = '2', `title` = 'مخازن يمن دبليو ثري', `address` = 'صنعاء شارع النصر المدينة السكنية', `email` = 'info@yemenw3.com', `phone` = '773381661', `logo` = 'assets/img/icons/logo.png', `favicon` = 'assets/img/icons/m.png', `language` = 'english', `site_align` = 'RTL', `footer_text` = '2026©Copyright'
WHERE `id` = '2';
UPDATE `setting` SET `id` = '2', `title` = 'مخازن يمن دبليو ثري', `address` = 'صنعاء شارع النصر المدينة السكنية', `email` = 'info@yemenw3.com', `phone` = '773381661', `logo` = 'assets/img/icons/logo.png', `favicon` = 'assets/img/icons/m.png', `language` = 'arabic', `site_align` = 'RTL', `footer_text` = '2026©Copyright'
WHERE `id` = '2';
UPDATE `language` SET `arabic` = 'اضافة مستخدم بنجاح'
WHERE `phrase` = 'user_added_successfully';
UPDATE `language` SET `arabic` = 'وكيل المستخدم'
WHERE `phrase` = 'user_agent';
UPDATE `language` SET `arabic` = 'قائمة المستخدمين'
WHERE `phrase` = 'user_list';
UPDATE `language` SET `arabic` = 'اسم المستخدم'
WHERE `phrase` = 'user_name';
UPDATE `language` SET `arabic` = 'اذونات المستخدم'
WHERE `phrase` = 'user_permission';
UPDATE `language` SET `arabic` = 'دور المستخدم'
WHERE `phrase` = 'user_role';
UPDATE `language` SET `arabic` = 'ادوار المستخدمين'
WHERE `phrase` = 'user_role_list';
UPDATE `language` SET `arabic` = 'نوع المستخدم'
WHERE `phrase` = 'user_type';
UPDATE `language` SET `arabic` = 'سعر العبوة'
WHERE `phrase` = 'u_pack_price';
UPDATE `language` SET `arabic` = 'القيمة'
WHERE `phrase` = 'value';
UPDATE `language` SET `arabic` = 'الموافقة على القسيمة'
WHERE `phrase` = 'voucher_approval';
UPDATE `language` SET `arabic` = 'رقم القسيمة'
WHERE `phrase` = 'voucher_no';
UPDATE `language` SET `arabic` = 'تقرير القسيمة'
WHERE `phrase` = 'voucher_report';
UPDATE `language` SET `arabic` = 'مستودع'
WHERE `phrase` = 'warehouse';
UPDATE `language` SET `arabic` = 'عنوان المستودع'
WHERE `phrase` = 'warehouse_address';
UPDATE `language` SET `arabic` = 'كود المستودع'
WHERE `phrase` = 'warehouse_code';
UPDATE `language` SET `arabic` = 'اسم المستودع'
WHERE `phrase` = 'warehouse_name';
UPDATE `language` SET `arabic` = 'موبايل المستودع'
WHERE `phrase` = 'warehouse_phone';
UPDATE `language` SET `arabic` = 'مرحباً بعودتكم'
WHERE `phrase` = 'welcome_back';
UPDATE `language` SET `arabic` = 'إجمالي مبلغ الباقة'
WHERE `phrase` = 'total_package_amount';
UPDATE `language` SET `arabic` = 'سعر العبوة الإجمالي'
WHERE `phrase` = 'total_pack_price';
UPDATE `language` SET `arabic` = 'إجمالي المبلغ المستحق'
WHERE `phrase` = 'total_payable';
UPDATE `language` SET `arabic` = 'إجمالي المستحقات'
WHERE `phrase` = 'total_receivable';
UPDATE `language` SET `arabic` = 'إجمالي_الاستلام'
WHERE `phrase` = 'total_receive';
UPDATE `language` SET `arabic` = 'حتى تاريخ'
WHERE `phrase` = 'to_date';
UPDATE `language` SET `arabic` = 'ميزان المراجعة'
WHERE `phrase` = 'trial_balance';
UPDATE `language` SET `arabic` = ''
WHERE `phrase` = 'um';
UPDATE `language` SET `arabic` = 'تعذر تنزيل الملف، يرجى التحقق من الإعدادات'
WHERE `phrase` = 'unable_to_download_file_please_check_configuration';
UPDATE `language` SET `arabic` = 'تعذر استيراد البيانات، يرجى التحقق من ملف الإعدادات أو ملف SQL'
WHERE `phrase` = 'unable_to_import_data_please_check_config_or_sql_file';
UPDATE `language` SET `arabic` = 'تعذر تحميل الملف! يرجى التحقق من الإعدادات'
WHERE `phrase` = 'unable_to_upload_file_please_check_configuration';
UPDATE `language` SET `arabic` = 'الغاء التثبيت'
WHERE `phrase` = 'uninstall';
UPDATE `language` SET `arabic` = 'الوحدة'
WHERE `phrase` = 'unit';
UPDATE `language` SET `arabic` = 'قائمة الوحدات'
WHERE `phrase` = 'unit_list';
UPDATE `language` SET `arabic` = 'اسم وحدة القياس'
WHERE `phrase` = 'unit_name';
UPDATE `language` SET `arabic` = 'تعديل'
WHERE `phrase` = 'update';
UPDATE `language` SET `arabic` = 'تحديث قسيمة الائتمان'
WHERE `phrase` = 'update_credit_voucher';
UPDATE `language` SET `arabic` = 'تحديث قسيمة الخصم'
WHERE `phrase` = 'update_debit_voucher';
UPDATE `language` SET `arabic` = 'تحديث عقد الإيجار'
WHERE `phrase` = 'update_lease';
UPDATE `language` SET `arabic` = 'تحديث أذونات المودل'
WHERE `phrase` = 'update_module_permission';
UPDATE `language` SET `arabic` = 'تعديل بنجاح'
WHERE `phrase` = 'update_successfully';
UPDATE `language` SET `arabic` = 'تحميل بنجاح'
WHERE `phrase` = 'upload_successfully';
UPDATE `language` SET `arabic` = 'المستخدم'
WHERE `phrase` = 'user';
UPDATE `language` SET `arabic` = 'اسم المستخدم'
WHERE `phrase` = 'username';
UPDATE `language` SET `arabic` = 'المستخدم'
WHERE `phrase` = 'users';
UPDATE `language` SET `arabic` = 'دفتر الأستاذ'
WHERE `phrase` = 'store_ledger';
UPDATE `language` SET `arabic` = 'اسم المخزن'
WHERE `phrase` = 'store_name';
UPDATE `language` SET `arabic` = 'تلفون المخزن'
WHERE `phrase` = 'store_phone';
UPDATE `language` SET `arabic` = 'إجراء مخزن'
WHERE `phrase` = 'store_procedure';
UPDATE `language` SET `arabic` = 'المعاد للمخزن'
WHERE `phrase` = 'store_receive';
UPDATE `language` SET `arabic` = 'سجل مخزون المتجر'
WHERE `phrase` = 'store_stock_history';
UPDATE `language` SET `arabic` = 'الموضوع'
WHERE `phrase` = 'subject';
UPDATE `language` SET `arabic` = 'حفظ'
WHERE `phrase` = 'submit';
UPDATE `language` SET `arabic` = 'حفظ واخرى'
WHERE `phrase` = 'submit_and_add_another';
UPDATE `language` SET `arabic` = 'تمت الموافقة بنجاح'
WHERE `phrase` = 'successfully_approved';
UPDATE `language` SET `arabic` = 'المدير'
WHERE `phrase` = 'super_admin';
UPDATE `language` SET `arabic` = 'المورد'
WHERE `phrase` = 'supplier';
UPDATE `language` SET `arabic` = 'كود المورد'
WHERE `phrase` = 'supplier_code';
UPDATE `language` SET `arabic` = 'اسم المورد'
WHERE `phrase` = 'supplier_name';
UPDATE `language` SET `arabic` = 'فائض'
WHERE `phrase` = 'surplus';
UPDATE `language` SET `arabic` = 'تزامن'
WHERE `phrase` = 'synchronize';
UPDATE `language` SET `arabic` = 'لجداول غير متوفرة في قاعدة البيانات'
WHERE `phrase` = 'tables_are_not_available_in_database';
UPDATE `language` SET `arabic` = 'هدف'
WHERE `phrase` = 'target';
UPDATE `language` SET `arabic` = 'اختبار'
WHERE `phrase` = 'test';
UPDATE `language` SET `arabic` = 'الى'
WHERE `phrase` = 'to';
UPDATE `language` SET `arabic` = 'الاجمالي'
WHERE `phrase` = 'total';
UPDATE `language` SET `arabic` = 'إجمالي مبلغ الدفعة المقدمة'
WHERE `phrase` = 'total_advance_amount';
UPDATE `language` SET `arabic` = 'المبلغ الإجمالي'
WHERE `phrase` = 'total_amount';
UPDATE `language` SET `arabic` = 'اجمالي البنك'
WHERE `phrase` = 'total_bank';
UPDATE `language` SET `arabic` = 'اجمالي النقد'
WHERE `phrase` = 'total_cash';
UPDATE `language` SET `arabic` = 'ارسال'
WHERE `phrase` = 'sent';
UPDATE `language` SET `arabic` = 'ارسال رسالة'
WHERE `phrase` = 'sent_message';
UPDATE `language` SET `arabic` = 'تعيين'
WHERE `phrase` = 'set';
UPDATE `language` SET `arabic` = 'اعدادات'
WHERE `phrase` = 'setting';
UPDATE `language` SET `arabic` = 'اتجاه التطبيق'
WHERE `phrase` = 'site_align';
UPDATE `language` SET `arabic` = 'حجم'
WHERE `phrase` = 'size';
UPDATE `language` SET `arabic` = ''
WHERE `phrase` = 'sl';
UPDATE `language` SET `arabic` = ''
WHERE `phrase` = 'sl_no';
UPDATE `language` SET `arabic` = 'الحالة'
WHERE `phrase` = 'status';
UPDATE `language` SET `arabic` = 'تغييرات بيان حقوق الملكية'
WHERE `phrase` = 'stmt_changes_equity';
UPDATE `language` SET `arabic` = 'بيان الوضع المالي'
WHERE `phrase` = 'stmt_of_financial_position';
UPDATE `language` SET `arabic` = 'مخزون'
WHERE `phrase` = 'stock';
UPDATE `language` SET `arabic` = 'حركة المخزون'
WHERE `phrase` = 'stockmovment';
UPDATE `language` SET `arabic` = 'تقرير تحليل المخزون'
WHERE `phrase` = 'stock_analysis_report';
UPDATE `language` SET `arabic` = 'كمية المخزون'
WHERE `phrase` = 'stock_ctn';
UPDATE `language` SET `arabic` = 'تاريخ المخزون'
WHERE `phrase` = 'stock_history';
UPDATE `language` SET `arabic` = 'كمية المخزون'
WHERE `phrase` = 'stock_qty';
UPDATE `language` SET `arabic` = 'تقرير المخزون'
WHERE `phrase` = 'stock_report';
UPDATE `language` SET `arabic` = 'قيمة المخزون'
WHERE `phrase` = 'stock_value';
UPDATE `language` SET `arabic` = 'مخزن'
WHERE `phrase` = 'store';
UPDATE `language` SET `arabic` = 'المخازن'
WHERE `phrase` = 'stores';
UPDATE `language` SET `arabic` = 'مستودع'
WHERE `phrase` = 'storewarehouse';
UPDATE `language` SET `arabic` = 'عنوان المخزن'
WHERE `phrase` = 'store_address';
UPDATE `language` SET `arabic` = 'كود المخزن'
WHERE `phrase` = 'store_code';
UPDATE `language` SET `arabic` = 'إصدار المتجر'
WHERE `phrase` = 'store_isssue';
UPDATE `language` SET `arabic` = 'تاريخ الإرجاع'
WHERE `phrase` = 'return_date';
UPDATE `language` SET `arabic` = 'الكمية المُعادة'
WHERE `phrase` = 'return_qty';
UPDATE `language` SET `arabic` = 'من اليمين الى الشمال'
WHERE `phrase` = 'right_to_left';
UPDATE `language` SET `arabic` = 'دور'
WHERE `phrase` = 'role';
UPDATE `language` SET `arabic` = 'قائمة الادوار'
WHERE `phrase` = 'role_list';
UPDATE `language` SET `arabic` = 'اسم الدور'
WHERE `phrase` = 'role_name';
UPDATE `language` SET `arabic` = 'صلاحيات الادوار'
WHERE `phrase` = 'role_permission';
UPDATE `language` SET `arabic` = 'قائمة الصلاحيات'
WHERE `phrase` = 'role_permission_list';
UPDATE `language` SET `arabic` = 'بيع'
WHERE `phrase` = 'sale';
UPDATE `language` SET `arabic` = 'مبلغ البيع'
WHERE `phrase` = 'sales_amount';
UPDATE `language` SET `arabic` = 'بائع'
WHERE `phrase` = 'sales_man';
UPDATE `language` SET `arabic` = 'المبلغ المسترجع'
WHERE `phrase` = 'sales_return';
UPDATE `language` SET `arabic` = 'نموذج إرجاع المبيعات'
WHERE `phrase` = 'sales_return_form';
UPDATE `language` SET `arabic` = 'عرض إرجاع المبيعات'
WHERE `phrase` = 'sales_return_view';
UPDATE `language` SET `arabic` = 'سعر البيع'
WHERE `phrase` = 'sale_price';
UPDATE `language` SET `arabic` = 'كمية البيع'
WHERE `phrase` = 'sale_qty';
UPDATE `language` SET `arabic` = 'قائمة المرتجعات'
WHERE `phrase` = 'sale_return_list';
UPDATE `language` SET `arabic` = 'حفظ'
WHERE `phrase` = 'save';
UPDATE `language` SET `arabic` = 'حفظ بنجاح'
WHERE `phrase` = 'save_successfully';
UPDATE `language` SET `arabic` = 'بحث'
WHERE `phrase` = 'search';
UPDATE `language` SET `arabic` = 'عرض جميع الرسائل'
WHERE `phrase` = 'see_all_message';
UPDATE `language` SET `arabic` = 'اختار'
WHERE `phrase` = 'select';
UPDATE `language` SET `arabic` = 'الخيار'
WHERE `phrase` = 'select_option';
UPDATE `language` SET `arabic` = 'ارسال'
WHERE `phrase` = 'send';
UPDATE `language` SET `arabic` = 'اسم المرسل'
WHERE `phrase` = 'sender_name';
UPDATE `language` SET `arabic` = 'كمية الاستلام'
WHERE `phrase` = 'receive_qty';
UPDATE `language` SET `arabic` = 'كمية الاستلام'
WHERE `phrase` = 'receive_quantity';
UPDATE `language` SET `arabic` = 'استعادة'
WHERE `phrase` = 'recovery';
UPDATE `language` SET `arabic` = 'قائمة الاسترداد'
WHERE `phrase` = 'recovery_list';
UPDATE `language` SET `arabic` = 'تقرير قائمة الاسترداد'
WHERE `phrase` = 'recovery_list_rpt';
UPDATE `language` SET `arabic` = 'تم استلام المبلغ المسترد'
WHERE `phrase` = 'recovery_received';
UPDATE `language` SET `arabic` = 'تقرير الاسترداد'
WHERE `phrase` = 'recovery_report';
UPDATE `language` SET `arabic` = 'تقرير ملخص الاسترداد'
WHERE `phrase` = 'recovery_summary_report';
UPDATE `language` SET `arabic` = 'تقرير ملخص الاسترداد حسب التاريخ'
WHERE `phrase` = 'recovery_summary_report_datewise';
UPDATE `language` SET `arabic` = 'متبقي'
WHERE `phrase` = 'remaining';
UPDATE `language` SET `arabic` = 'المبلغ المتبقي'
WHERE `phrase` = 'remaining_amnt';
UPDATE `language` SET `arabic` = 'المبلغ المتبقي'
WHERE `phrase` = 'remaining_amount';
UPDATE `language` SET `arabic` = ''
WHERE `phrase` = 'remaning_ac';
UPDATE `language` SET `arabic` = 'المبلغ المتبقي'
WHERE `phrase` = 'remaning_amount';
UPDATE `language` SET `arabic` = 'ملاحظة'
WHERE `phrase` = 'remark';
UPDATE `language` SET `arabic` = 'تمت الإزالة بنجاح'
WHERE `phrase` = 'remove_successfully';
UPDATE `language` SET `arabic` = 'تقرير'
WHERE `phrase` = 'report';
UPDATE `language` SET `arabic` = 'تقارير'
WHERE `phrase` = 'reports';
UPDATE `language` SET `arabic` = 'يتطلب التثبيت'
WHERE `phrase` = 'require_install';
UPDATE `language` SET `arabic` = 'استعادة'
WHERE `phrase` = 'reset';
UPDATE `language` SET `arabic` = 'استعادة الآن'
WHERE `phrase` = 'restore_now';
UPDATE `language` SET `arabic` = 'تمت الاستعادة بنجاح'
WHERE `phrase` = 'restore_successfully';
UPDATE `language` SET `arabic` = 'سعر التجزئة'
WHERE `phrase` = 'retail_price';
UPDATE `language` SET `arabic` = 'سعر التجزئة'
WHERE `phrase` = 'retprice';
UPDATE `language` SET `arabic` = 'اعادة'
WHERE `phrase` = 'return';
UPDATE `language` SET `arabic` = 'الربح/الخسارة'
WHERE `phrase` = 'profit_loss';
UPDATE `language` SET `arabic` = 'جذر المشروع'
WHERE `phrase` = 'project_root';
UPDATE `language` SET `arabic` = 'رمز الاقتراح'
WHERE `phrase` = 'proposal_code';
UPDATE `language` SET `arabic` = 'تاريخ تقديم الاقتراح'
WHERE `phrase` = 'proposal_datetime';
UPDATE `language` SET `arabic` = 'الكمية المقترحة'
WHERE `phrase` = 'proposal_qty';
UPDATE `language` SET `arabic` = 'مقترح من قبل'
WHERE `phrase` = 'proposed_by';
UPDATE `language` SET `arabic` = 'أمر شراء'
WHERE `phrase` = 'purchase_order';
UPDATE `language` SET `arabic` = 'سعر الشراء'
WHERE `phrase` = 'purchase_price';
UPDATE `language` SET `arabic` = 'كمية الشراء'
WHERE `phrase` = 'purchase_qty';
UPDATE `language` SET `arabic` = 'إرجاع المشتريات'
WHERE `phrase` = 'purchase_return';
UPDATE `language` SET `arabic` = 'قائمة إرجاع المشتريات'
WHERE `phrase` = 'purchase_return_list';
UPDATE `language` SET `arabic` = 'مراجعة عملية الشراء والإرجاع'
WHERE `phrase` = 'purchase_return_view';
UPDATE `language` SET `arabic` = 'سعرنا'
WHERE `phrase` = 'pur_price';
UPDATE `language` SET `arabic` = 'الكمية'
WHERE `phrase` = 'qty';
UPDATE `language` SET `arabic` = 'الكمية'
WHERE `phrase` = 'quantity';
UPDATE `language` SET `arabic` = 'قراءة'
WHERE `phrase` = 'read';
UPDATE `language` SET `arabic` = 'المقروء  وغير المقروء'
WHERE `phrase` = 'read_unread';
UPDATE `language` SET `arabic` = 'سبب'
WHERE `phrase` = 'reason';
UPDATE `language` SET `arabic` = 'إيصال الدفع'
WHERE `phrase` = 'receipt_payment';
UPDATE `language` SET `arabic` = 'استلام'
WHERE `phrase` = 'receive';
UPDATE `language` SET `arabic` = 'اسم المستقبل'
WHERE `phrase` = 'receiver_name';
UPDATE `language` SET `arabic` = 'استلام المبلغ'
WHERE `phrase` = 'receive_amnt';
UPDATE `language` SET `arabic` = 'الاستلام بواسطة'
WHERE `phrase` = 'receive_by';
UPDATE `language` SET `arabic` = 'تاريخ الاستلام'
WHERE `phrase` = 'receive_date';
UPDATE `language` SET `arabic` = 'قائمة الاستلامات'
WHERE `phrase` = 'receive_list';
UPDATE `language` SET `arabic` = 'كود الحزمة'
WHERE `phrase` = 'pakage_code';
UPDATE `language` SET `arabic` = 'اسم الحزمة'
WHERE `phrase` = 'pakage_name';
UPDATE `language` SET `arabic` = 'كلمة المرور'
WHERE `phrase` = 'password';
UPDATE `language` SET `arabic` = 'الدفع'
WHERE `phrase` = 'payment';
UPDATE `language` SET `arabic` = 'ليس لديك صلاحيات'
WHERE `phrase` = 'permission_error';
UPDATE `language` SET `arabic` = 'موبايل'
WHERE `phrase` = 'phone';
UPDATE `language` SET `arabic` = 'الرجاء اختيار رمز بريدي آخر'
WHERE `phrase` = 'please_choose_another_p_code';
UPDATE `language` SET `arabic` = 'يرجى ضبط إعدادات المزامنة'
WHERE `phrase` = 'please_configure_synchronizer_settings';
UPDATE `language` SET `arabic` = 'تواصل مع المسئول'
WHERE `phrase` = 'please_contact_with_admin';
UPDATE `language` SET `arabic` = 'يرجى إدخال رقم الفاتورة الصحيح'
WHERE `phrase` = 'please_input_correct_invoice_no';
UPDATE `language` SET `arabic` = 'حاولم مرةاخرى'
WHERE `phrase` = 'please_try_again';
UPDATE `language` SET `arabic` = 'انتظر من فضلك'
WHERE `phrase` = 'please_wait';
UPDATE `language` SET `arabic` = ''
WHERE `phrase` = 'po_no';
UPDATE `language` SET `arabic` = 'التالي'
WHERE `phrase` = 'preview';
UPDATE `language` SET `arabic` = 'السعر'
WHERE `phrase` = 'price';
UPDATE `language` SET `arabic` = 'المنتج'
WHERE `phrase` = 'product';
UPDATE `language` SET `arabic` = 'المنتجات'
WHERE `phrase` = 'products';
UPDATE `language` SET `arabic` = 'صنف المنتج'
WHERE `phrase` = 'product_category';
UPDATE `language` SET `arabic` = 'كود المنتج'
WHERE `phrase` = 'product_code';
UPDATE `language` SET `arabic` = 'تفاصيل المنتج'
WHERE `phrase` = 'product_details';
UPDATE `language` SET `arabic` = 'بيانات المنتج'
WHERE `phrase` = 'product_info';
UPDATE `language` SET `arabic` = 'قائمة المنتجات'
WHERE `phrase` = 'product_list';
UPDATE `language` SET `arabic` = 'اسم المنتج'
WHERE `phrase` = 'product_name';
UPDATE `language` SET `arabic` = 'البروفايل'
WHERE `phrase` = 'profile';
UPDATE `language` SET `arabic` = 'اعداد البروفايل'
WHERE `phrase` = 'profile_setting';
UPDATE `language` SET `arabic` = 'الأداء الشهري للمبيعات'
WHERE `phrase` = 'monthly_sales_performance';
UPDATE `language` SET `arabic` = 'الاسم'
WHERE `phrase` = 'name';
UPDATE `language` SET `arabic` = 'جديد'
WHERE `phrase` = 'new';
UPDATE `language` SET `arabic` = 'استفسار جديد'
WHERE `phrase` = 'new_enquiry';
UPDATE `language` SET `arabic` = 'رسالة جديدة'
WHERE `phrase` = 'new_message';
UPDATE `language` SET `arabic` = 'غير ممكن'
WHERE `phrase` = 'not_available';
UPDATE `language` SET `arabic` = 'لا يوجد عميل'
WHERE `phrase` = 'no_customer';
UPDATE `language` SET `arabic` = 'لا توجد جداول مسجلة في الإعدادات'
WHERE `phrase` = 'no_tables_are_registered_in_config';
UPDATE `language` SET `arabic` = 'موافق'
WHERE `phrase` = 'ok';
UPDATE `language` SET `arabic` = 'عفوًا، حدث خطأ ما'
WHERE `phrase` = 'ooops_something_went_wrong';
UPDATE `language` SET `arabic` = 'تاريخ  الطلب'
WHERE `phrase` = 'order_date';
UPDATE `language` SET `arabic` = 'رقم الطلب'
WHERE `phrase` = 'order_no';
UPDATE `language` SET `arabic` = 'كمية الطلب'
WHERE `phrase` = 'order_qty';
UPDATE `language` SET `arabic` = 'قائمة الطلبات'
WHERE `phrase` = 'oreder_list';
UPDATE `language` SET `arabic` = 'ملف صاد'
WHERE `phrase` = 'outgoing_file';
UPDATE `language` SET `arabic` = 'الناتج'
WHERE `phrase` = 'outqty';
UPDATE `language` SET `arabic` = 'المبلغ المستحق'
WHERE `phrase` = 'overdue_amount';
UPDATE `language` SET `arabic` = 'تحليل متأخر'
WHERE `phrase` = 'overdue_analysis';
UPDATE `language` SET `arabic` = 'الكتابة فوق'
WHERE `phrase` = 'overwrite';
UPDATE `language` SET `arabic` = 'متأخر'
WHERE `phrase` = 'over_due';
UPDATE `language` SET `arabic` = 'المبلغ المستحق'
WHERE `phrase` = 'over_due_amount';
UPDATE `language` SET `arabic` = 'تحليل متأخر'
WHERE `phrase` = 'over_due_analysis';
UPDATE `language` SET `arabic` = 'حزمة'
WHERE `phrase` = 'package';
UPDATE `language` SET `arabic` = 'مبلغ الباقة'
WHERE `phrase` = 'package_amount';
UPDATE `language` SET `arabic` = 'المبلغ المدفوع'
WHERE `phrase` = 'paid_amount';
UPDATE `language` SET `arabic` = 'من الشمال الى اليمين'
WHERE `phrase` = 'left_to_right';
UPDATE `language` SET `arabic` = 'القائمة'
WHERE `phrase` = 'list';
UPDATE `language` SET `arabic` = 'المخازن'
WHERE `phrase` = 'list_store';
UPDATE `language` SET `arabic` = 'قائمة المستودعات'
WHERE `phrase` = 'list_warehouse';
UPDATE `language` SET `arabic` = 'موقع'
WHERE `phrase` = 'location';
UPDATE `language` SET `arabic` = 'دخول'
WHERE `phrase` = 'login';
UPDATE `language` SET `arabic` = 'شعار'
WHERE `phrase` = 'logo';
UPDATE `language` SET `arabic` = 'خروج'
WHERE `phrase` = 'logout';
UPDATE `language` SET `arabic` = 'هامش الربح'
WHERE `phrase` = 'markup';
UPDATE `language` SET `arabic` = 'الرسالة'
WHERE `phrase` = 'message';
UPDATE `language` SET `arabic` = 'تفاصيل الرسالة'
WHERE `phrase` = 'message_details';
UPDATE `language` SET `arabic` = 'رسائل مرسلة'
WHERE `phrase` = 'message_sent';
UPDATE `language` SET `arabic` = 'الحد الأدنى للسعر'
WHERE `phrase` = 'minimum_price';
UPDATE `language` SET `arabic` = 'اقل سعر'
WHERE `phrase` = 'min_price';
UPDATE `language` SET `arabic` = 'نموذج'
WHERE `phrase` = 'model';
UPDATE `language` SET `arabic` = 'اسم النموذج'
WHERE `phrase` = 'model_name';
UPDATE `language` SET `arabic` = 'وحدة نمطية'
WHERE `phrase` = 'module';
UPDATE `language` SET `arabic` = 'اضافة النمط بنجاج'
WHERE `phrase` = 'module_added_successfully';
UPDATE `language` SET `arabic` = 'قائمة الوحدات النمطية'
WHERE `phrase` = 'module_list';
UPDATE `language` SET `arabic` = 'اسم النمط'
WHERE `phrase` = 'module_name';
UPDATE `language` SET `arabic` = 'صلاحيات الوحدات النمطية'
WHERE `phrase` = 'module_permission';
UPDATE `language` SET `arabic` = 'تمت إضافة إذن الوحدة بنجاح'
WHERE `phrase` = 'module_permission_added_successfully';
UPDATE `language` SET `arabic` = 'قائمة أذونات الوحدات النمطية'
WHERE `phrase` = 'module_permission_list';
UPDATE `language` SET `arabic` = 'إيصال نقدي'
WHERE `phrase` = 'money_receipt';
UPDATE `language` SET `arabic` = 'القسط الشهري'
WHERE `phrase` = 'monthly_installment';
UPDATE `language` SET `arabic` = 'رقم الفاتورة'
WHERE `phrase` = 'invoice_no';
UPDATE `language` SET `arabic` = 'عنوان الايبي'
WHERE `phrase` = 'ip_address';
UPDATE `language` SET `arabic` = 'نشط'
WHERE `phrase` = 'isactive';
UPDATE `language` SET `arabic` = 'صادر عن'
WHERE `phrase` = 'issue_by';
UPDATE `language` SET `arabic` = 'رمز الإصدار'
WHERE `phrase` = 'issue_code';
UPDATE `language` SET `arabic` = 'تاريخ الاصدار'
WHERE `phrase` = 'issue_date';
UPDATE `language` SET `arabic` = 'كمية الاصدار'
WHERE `phrase` = 'issue_qty';
UPDATE `language` SET `arabic` = 'قسيمة دفتر اليومية'
WHERE `phrase` = 'journal_voucher';
UPDATE `language` SET `arabic` = 'اللغة'
WHERE `phrase` = 'language';
UPDATE `language` SET `arabic` = 'اللقب'
WHERE `phrase` = 'lastname';
UPDATE `language` SET `arabic` = 'ولوج مسبق'
WHERE `phrase` = 'last_login';
UPDATE `language` SET `arabic` = 'آخر تسجيل خروج'
WHERE `phrase` = 'last_logout';
UPDATE `language` SET `arabic` = 'آخر دفعة'
WHERE `phrase` = 'last_payment';
UPDATE `language` SET `arabic` = 'تاريخ آخر دفعة'
WHERE `phrase` = 'last_payment_date';
UPDATE `language` SET `arabic` = 'إيجار'
WHERE `phrase` = 'lease';
UPDATE `language` SET `arabic` = 'بيع الإيجار'
WHERE `phrase` = 'leasesale';
UPDATE `language` SET `arabic` = 'مبلغ الإيجار'
WHERE `phrase` = 'lease_amount';
UPDATE `language` SET `arabic` = 'تقرير التأجير والاسترداد'
WHERE `phrase` = 'lease_and_recovery_report';
UPDATE `language` SET `arabic` = 'تاريخ الايجار'
WHERE `phrase` = 'lease_date';
UPDATE `language` SET `arabic` = 'إيجار من'
WHERE `phrase` = 'lease_from';
UPDATE `language` SET `arabic` = 'حزمة التأجير'
WHERE `phrase` = 'lease_package';
UPDATE `language` SET `arabic` = 'تسعير باقات التأجير'
WHERE `phrase` = 'lease_package_pricing';
UPDATE `language` SET `arabic` = 'سعر الإيجار'
WHERE `phrase` = 'lease_price';
UPDATE `language` SET `arabic` = 'قائمة بيع الإيجار'
WHERE `phrase` = 'lease_sale_list';
UPDATE `language` SET `arabic` = 'تأجير لـ'
WHERE `phrase` = 'lease_to';
UPDATE `language` SET `arabic` = 'رمز الضامن'
WHERE `phrase` = 'gurrantor_code';
UPDATE `language` SET `arabic` = 'اسم الضامن'
WHERE `phrase` = 'gurrantor_name';
UPDATE `language` SET `arabic` = 'موبايل الضامن'
WHERE `phrase` = 'gurrantor_phone';
UPDATE `language` SET `arabic` = 'تلفون الضامن'
WHERE `phrase` = 'g_contact';
UPDATE `language` SET `arabic` = 'الرائيسية'
WHERE `phrase` = 'home';
UPDATE `language` SET `arabic` = 'اسم المضيف'
WHERE `phrase` = 'hostname';
UPDATE `language` SET `arabic` = 'صورة'
WHERE `phrase` = 'image';
UPDATE `language` SET `arabic` = 'تحميل الصورة بنجاح'
WHERE `phrase` = 'image_upload_successfully';
UPDATE `language` SET `arabic` = 'في'
WHERE `phrase` = 'in';
UPDATE `language` SET `arabic` = 'غير نشط'
WHERE `phrase` = 'inactive';
UPDATE `language` SET `arabic` = 'صندوق الوارد'
WHERE `phrase` = 'inbox';
UPDATE `language` SET `arabic` = 'صندوق الرسائل'
WHERE `phrase` = 'inbox_message';
UPDATE `language` SET `arabic` = 'الدخل/المصروفات'
WHERE `phrase` = 'income_expense';
UPDATE `language` SET `arabic` = 'ملف وراد'
WHERE `phrase` = 'incoming_file';
UPDATE `language` SET `arabic` = 'بريد إلكتروني أو كلمة مرور غير صحيحة'
WHERE `phrase` = 'incorrect_email_or_password';
UPDATE `language` SET `arabic` = 'بالكمية'
WHERE `phrase` = 'inqty';
UPDATE `language` SET `arabic` = 'مسؤول التحقيق'
WHERE `phrase` = 'inquiry_officer';
UPDATE `language` SET `arabic` = 'تثبيت'
WHERE `phrase` = 'install';
UPDATE `language` SET `arabic` = 'المبلغ المثبت'
WHERE `phrase` = 'installment_amnt';
UPDATE `language` SET `arabic` = 'المبلغ المثبت'
WHERE `phrase` = 'installment_amount';
UPDATE `language` SET `arabic` = 'رقم التثبيت'
WHERE `phrase` = 'install_no';
UPDATE `language` SET `arabic` = 'الاتصال بالانترنت'
WHERE `phrase` = 'internet_connection';
UPDATE `language` SET `arabic` = 'ملف غير صالح'
WHERE `phrase` = 'invalid_file';
UPDATE `language` SET `arabic` = 'وحدة غير صالحة'
WHERE `phrase` = 'invalid_module';
UPDATE `language` SET `arabic` = 'رقم الفاتورة'
WHERE `phrase` = 'invoice_id';
UPDATE `language` SET `arabic` = 'سؤال'
WHERE `phrase` = 'enquiry';
UPDATE `language` SET `arabic` = 'معلومات الاستفسار'
WHERE `phrase` = 'enquiry_information';
UPDATE `language` SET `arabic` = 'مفضلة'
WHERE `phrase` = 'favicon';
UPDATE `language` SET `arabic` = 'اسم الملف'
WHERE `phrase` = 'filename';
UPDATE `language` SET `arabic` = 'معلومات الملف'
WHERE `phrase` = 'file_information';
UPDATE `language` SET `arabic` = 'التسوية النهائية'
WHERE `phrase` = 'final_settlement';
UPDATE `language` SET `arabic` = 'خصم التسوية النهائية'
WHERE `phrase` = 'final_settlement_discount';
UPDATE `language` SET `arabic` = 'يجد'
WHERE `phrase` = 'find';
UPDATE `language` SET `arabic` = 'الاسم الاول'
WHERE `phrase` = 'firstname';
UPDATE `language` SET `arabic` = 'نص الفوتر'
WHERE `phrase` = 'footer_text';
UPDATE `language` SET `arabic` = 'الى مخزن'
WHERE `phrase` = 'for_store';
UPDATE `language` SET `arabic` = 'من تاريخ'
WHERE `phrase` = 'from_date';
UPDATE `language` SET `arabic` = 'من مخزن'
WHERE `phrase` = 'from_store';
UPDATE `language` SET `arabic` = 'تصحيح أخطاء بروتوكول نقل الملفات (FTP)'
WHERE `phrase` = 'ftp_debug';
UPDATE `language` SET `arabic` = 'بورت  بروتوكول نقل الملفات (FTP)'
WHERE `phrase` = 'ftp_port';
UPDATE `language` SET `arabic` = 'اعدادات بروتوكول نقل الملفات (FTP)'
WHERE `phrase` = 'ftp_setting';
UPDATE `language` SET `arabic` = 'دفتر الأستاذ العام'
WHERE `phrase` = 'general_ledger';
UPDATE `language` SET `arabic` = 'دفتر الأستاذ العام لـ'
WHERE `phrase` = 'general_ledger_of';
UPDATE `language` SET `arabic` = 'المجموع الإجمالي'
WHERE `phrase` = 'grand_total';
UPDATE `language` SET `arabic` = 'الضامن'
WHERE `phrase` = 'gurrantor';
UPDATE `language` SET `arabic` = 'الضامن 1'
WHERE `phrase` = 'gurrantor1';
UPDATE `language` SET `arabic` = 'الضامن 2'
WHERE `phrase` = 'gurrantor2';
UPDATE `language` SET `arabic` = 'عنوان الضامن'
WHERE `phrase` = 'gurrantor_address';
UPDATE `language` SET `arabic` = 'الضامن ومعلومات الاتصال'
WHERE `phrase` = 'gurrantor_and_contact';
UPDATE `language` SET `arabic` = 'بطاقة الهوية الوطنية للضامن'
WHERE `phrase` = 'gurrantor_cnic';
UPDATE `language` SET `arabic` = 'للتواصل'
WHERE `phrase` = 'contact';
UPDATE `language` SET `arabic` = 'جهة اتصال لكل اسم'
WHERE `phrase` = 'contact_per_name';
UPDATE `language` SET `arabic` = 'قسيمة مضادة'
WHERE `phrase` = 'contra_voucher';
UPDATE `language` SET `arabic` = 'انشاء'
WHERE `phrase` = 'create';
UPDATE `language` SET `arabic` = 'اضافة دور للمستخدم'
WHERE `phrase` = 'create_user_role';
UPDATE `language` SET `arabic` = 'دائن'
WHERE `phrase` = 'credit';
UPDATE `language` SET `arabic` = 'بيع بالائتمان'
WHERE `phrase` = 'creditsale';
UPDATE `language` SET `arabic` = 'استلام الائتمان'
WHERE `phrase` = 'credit_receive';
UPDATE `language` SET `arabic` = 'قائمة مبيعات الائتمان'
WHERE `phrase` = 'credit_sale_list';
UPDATE `language` SET `arabic` = 'قسيمة ائتمان'
WHERE `phrase` = 'credit_voucher';
UPDATE `language` SET `arabic` = 'العميل'
WHERE `phrase` = 'customer';
UPDATE `language` SET `arabic` = 'العملاء'
WHERE `phrase` = 'customers';
UPDATE `language` SET `arabic` = 'عنوان العميل'
WHERE `phrase` = 'customer_and_address';
UPDATE `language` SET `arabic` = 'بطاقة هوية العميل'
WHERE `phrase` = 'customer_cnic';
UPDATE `language` SET `arabic` = 'كود العميل'
WHERE `phrase` = 'customer_code';
UPDATE `language` SET `arabic` = 'اسم العميل'
WHERE `phrase` = 'customer_name';
UPDATE `language` SET `arabic` = 'استعادة العملاء'
WHERE `phrase` = 'customer_recovery';
UPDATE `language` SET `arabic` = 'معاملة العميل'
WHERE `phrase` = 'customer_transaction';
UPDATE `language` SET `arabic` = 'نوع العميل'
WHERE `phrase` = 'customer_type';
UPDATE `language` SET `arabic` = 'دليل الحسابات'
WHERE `phrase` = 'c_o_a';
UPDATE `language` SET `arabic` = 'جهة الاتصال'
WHERE `phrase` = 'c_p_contact';
UPDATE `language` SET `arabic` = 'لوحة التحكم'
WHERE `phrase` = 'dashboard';
UPDATE `language` SET `arabic` = 'نسخة احتياطية من قاعدة البيانات'
WHERE `phrase` = 'database_backup';
UPDATE `language` SET `arabic` = 'استيراد البيانات أولاً'
WHERE `phrase` = 'data_import_first';
UPDATE `language` SET `arabic` = 'تم استيراد البيانات بنجاح'
WHERE `phrase` = 'data_import_successfully';
UPDATE `language` SET `arabic` = 'فرع'
WHERE `phrase` = 'branches';
UPDATE `language` SET `arabic` = 'تحليل فرعي'
WHERE `phrase` = 'branch_wise_ov_du_analisis';
UPDATE `language` SET `arabic` = 'ماركة'
WHERE `phrase` = 'brand';
UPDATE `language` SET `arabic` = 'اسم الماركة الاخير'
WHERE `phrase` = 'brand_list';
UPDATE `language` SET `arabic` = 'اسم الماركة الاول'
WHERE `phrase` = 'brand_name';
UPDATE `language` SET `arabic` = 'العنوان التجاري'
WHERE `phrase` = 'business_address';
UPDATE `language` SET `arabic` = 'كابتشا'
WHERE `phrase` = 'captcha';
UPDATE `language` SET `arabic` = 'رقم البطاقة'
WHERE `phrase` = 'cardno';
UPDATE `language` SET `arabic` = 'نقداً'
WHERE `phrase` = 'cash';
UPDATE `language` SET `arabic` = 'بيع نقدي'
WHERE `phrase` = 'cashsale';
UPDATE `language` SET `arabic` = 'دفتر النقدية'
WHERE `phrase` = 'cash_book';
UPDATE `language` SET `arabic` = 'التدفق النقدي'
WHERE `phrase` = 'cash_flow';
UPDATE `language` SET `arabic` = 'السعر النقدي'
WHERE `phrase` = 'cash_price';
UPDATE `language` SET `arabic` = 'قائمة بيع النقود'
WHERE `phrase` = 'cash_sale_list';
UPDATE `language` SET `arabic` = 'التصنيف'
WHERE `phrase` = 'category';
UPDATE `language` SET `arabic` = 'قائمة التصنيفات'
WHERE `phrase` = 'category_list';
UPDATE `language` SET `arabic` = 'اسم الصنف'
WHERE `phrase` = 'category_name';
UPDATE `language` SET `arabic` = 'تم التحقق بواسطة'
WHERE `phrase` = 'checked_by';
UPDATE `language` SET `arabic` = 'فحص كل المنتجات'
WHERE `phrase` = 'check_all_product';
UPDATE `language` SET `arabic` = 'فحص المتجر كاملاً'
WHERE `phrase` = 'check_all_store';
UPDATE `language` SET `arabic` = 'استلام الشيك'
WHERE `phrase` = 'check_receive';
UPDATE `language` SET `arabic` = 'تحقق من الحالة'
WHERE `phrase` = 'check_status';
UPDATE `language` SET `arabic` = 'رقم الهوية الوطنية'
WHERE `phrase` = 'cnic';
UPDATE `language` SET `arabic` = 'طباعة شهادة المطابقة'
WHERE `phrase` = 'coa_print';
UPDATE `language` SET `arabic` = 'كود'
WHERE `phrase` = 'code';
UPDATE `language` SET `arabic` = 'اضافة مستودع'
WHERE `phrase` = 'add_warehouse';
UPDATE `language` SET `arabic` = 'مسؤل'
WHERE `phrase` = 'admin';
UPDATE `language` SET `arabic` = 'مقدم/سلفة'
WHERE `phrase` = 'advance';
UPDATE `language` SET `arabic` = 'مبلغ السلفة'
WHERE `phrase` = 'advance_amount';
UPDATE `language` SET `arabic` = 'جميع القسائم'
WHERE `phrase` = 'all_voucher';
UPDATE `language` SET `arabic` = 'المبلغ'
WHERE `phrase` = 'amount';
UPDATE `language` SET `arabic` = 'المبلغ يساوي'
WHERE `phrase` = 'amount_equal';
UPDATE `language` SET `arabic` = 'الملبغ اكبر من'
WHERE `phrase` = 'amount_greater_than';
UPDATE `language` SET `arabic` = 'المبلغ اقل من'
WHERE `phrase` = 'amount_less_than';
UPDATE `language` SET `arabic` = 'الإنجاز حسب الكمية'
WHERE `phrase` = 'amount_wise_achivement';
UPDATE `language` SET `arabic` = 'إعدادات التطبيق'
WHERE `phrase` = 'application_setting';
UPDATE `language` SET `arabic` = 'عنوان التطبيق'
WHERE `phrase` = 'application_title';
UPDATE `language` SET `arabic` = 'موافقة'
WHERE `phrase` = 'approved';
UPDATE `language` SET `arabic` = 'هل انت متاكد'
WHERE `phrase` = 'are_you_sure';
UPDATE `language` SET `arabic` = 'تعيين الدور'
WHERE `phrase` = 'assign_role';
UPDATE `language` SET `arabic` = 'ممكن'
WHERE `phrase` = 'available';
UPDATE `language` SET `arabic` = 'نسخة'
WHERE `phrase` = 'backup';
UPDATE `language` SET `arabic` = 'النسخ الاحتياطي والاستعادة'
WHERE `phrase` = 'backup_and_restore';
UPDATE `language` SET `arabic` = 'تاريخ النسخ الاحتياطي'
WHERE `phrase` = 'backup_date';
UPDATE `language` SET `arabic` = 'النسخ الاحتياطي الآن'
WHERE `phrase` = 'backup_now';
UPDATE `language` SET `arabic` = 'تم النسخ الاحتياطي بنجاح'
WHERE `phrase` = 'backup_successfully';
UPDATE `language` SET `arabic` = 'كمية الرصيد'
WHERE `phrase` = 'balance_qty';
UPDATE `language` SET `arabic` = 'دفتر البنك'
WHERE `phrase` = 'bank_book';
UPDATE `language` SET `arabic` = 'سعر الكتلة'
WHERE `phrase` = 'block_price';
UPDATE `language` SET `arabic` = 'سعر بوليصة الشحن'
WHERE `phrase` = 'bl_price';
UPDATE `language` SET `arabic` = 'كود الحزمة'
WHERE `phrase` = 'pakage_code';
UPDATE `language` SET `arabic` = 'اسم الحزمة'
WHERE `phrase` = 'pakage_name';
UPDATE `language` SET `arabic` = 'كلمة المرور'
WHERE `phrase` = 'password';
UPDATE `language` SET `arabic` = 'الدفع'
WHERE `phrase` = 'payment';
UPDATE `language` SET `arabic` = 'ليس لديك صلاحيات'
WHERE `phrase` = 'permission_error';
UPDATE `language` SET `arabic` = 'موبايل'
WHERE `phrase` = 'phone';
UPDATE `language` SET `arabic` = 'الرجاء اختيار رمز بريدي آخر'
WHERE `phrase` = 'please_choose_another_p_code';
UPDATE `language` SET `arabic` = 'يرجى ضبط إعدادات المزامنة'
WHERE `phrase` = 'please_configure_synchronizer_settings';
UPDATE `language` SET `arabic` = 'تواصل مع المسئول'
WHERE `phrase` = 'please_contact_with_admin';
UPDATE `language` SET `arabic` = 'يرجى إدخال رقم الفاتورة الصحيح'
WHERE `phrase` = 'please_input_correct_invoice_no';
UPDATE `language` SET `arabic` = 'حاولم مرةاخرى'
WHERE `phrase` = 'please_try_again';
UPDATE `language` SET `arabic` = 'انتظر من فضلك'
WHERE `phrase` = 'please_wait';
UPDATE `language` SET `arabic` = 'رقم نقطة البيع'
WHERE `phrase` = 'po_no';
UPDATE `language` SET `arabic` = 'التالي'
WHERE `phrase` = 'preview';
UPDATE `language` SET `arabic` = 'السعر'
WHERE `phrase` = 'price';
UPDATE `language` SET `arabic` = 'المنتج'
WHERE `phrase` = 'product';
UPDATE `language` SET `arabic` = 'المنتجات'
WHERE `phrase` = 'products';
UPDATE `language` SET `arabic` = 'صنف المنتج'
WHERE `phrase` = 'product_category';
UPDATE `language` SET `arabic` = 'كود المنتج'
WHERE `phrase` = 'product_code';
UPDATE `language` SET `arabic` = 'تفاصيل المنتج'
WHERE `phrase` = 'product_details';
UPDATE `language` SET `arabic` = 'بيانات المنتج'
WHERE `phrase` = 'product_info';
UPDATE `language` SET `arabic` = 'قائمة المنتجات'
WHERE `phrase` = 'product_list';
UPDATE `language` SET `arabic` = 'اسم المنتج'
WHERE `phrase` = 'product_name';
UPDATE `language` SET `arabic` = 'البروفايل'
WHERE `phrase` = 'profile';
UPDATE `language` SET `arabic` = 'اعداد البروفايل'
WHERE `phrase` = 'profile_setting';
UPDATE `language` SET `arabic` = 'كمية الاستلام'
WHERE `phrase` = 'receive_qty';
UPDATE `language` SET `arabic` = 'كمية الاستلام'
WHERE `phrase` = 'receive_quantity';
UPDATE `language` SET `arabic` = 'استعادة'
WHERE `phrase` = 'recovery';
UPDATE `language` SET `arabic` = 'قائمة الاسترداد'
WHERE `phrase` = 'recovery_list';
UPDATE `language` SET `arabic` = 'تقرير قائمة الاسترداد'
WHERE `phrase` = 'recovery_list_rpt';
UPDATE `language` SET `arabic` = 'تم استلام المبلغ المسترد'
WHERE `phrase` = 'recovery_received';
UPDATE `language` SET `arabic` = 'تقرير الاسترداد'
WHERE `phrase` = 'recovery_report';
UPDATE `language` SET `arabic` = 'تقرير ملخص الاسترداد'
WHERE `phrase` = 'recovery_summary_report';
UPDATE `language` SET `arabic` = 'تقرير ملخص الاسترداد حسب التاريخ'
WHERE `phrase` = 'recovery_summary_report_datewise';
UPDATE `language` SET `arabic` = 'متبقي'
WHERE `phrase` = 'remaining';
UPDATE `language` SET `arabic` = 'المبلغ المتبقي'
WHERE `phrase` = 'remaining_amnt';
UPDATE `language` SET `arabic` = 'المبلغ المتبقي'
WHERE `phrase` = 'remaining_amount';
UPDATE `language` SET `arabic` = 'الحساب المتبقي'
WHERE `phrase` = 'remaning_ac';
UPDATE `language` SET `arabic` = 'المبلغ المتبقي'
WHERE `phrase` = 'remaning_amount';
UPDATE `language` SET `arabic` = 'ملاحظة'
WHERE `phrase` = 'remark';
UPDATE `language` SET `arabic` = 'تمت الإزالة بنجاح'
WHERE `phrase` = 'remove_successfully';
UPDATE `language` SET `arabic` = 'تقرير'
WHERE `phrase` = 'report';
UPDATE `language` SET `arabic` = 'تقارير'
WHERE `phrase` = 'reports';
UPDATE `language` SET `arabic` = 'يتطلب التثبيت'
WHERE `phrase` = 'require_install';
UPDATE `language` SET `arabic` = 'استعادة'
WHERE `phrase` = 'reset';
UPDATE `language` SET `arabic` = 'استعادة الآن'
WHERE `phrase` = 'restore_now';
UPDATE `language` SET `arabic` = 'تمت الاستعادة بنجاح'
WHERE `phrase` = 'restore_successfully';
UPDATE `language` SET `arabic` = 'سعر التجزئة'
WHERE `phrase` = 'retail_price';
UPDATE `language` SET `arabic` = 'سعر التجزئة'
WHERE `phrase` = 'retprice';
UPDATE `language` SET `arabic` = 'اعادة'
WHERE `phrase` = 'return';
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
UPDATE `language` SET `arabic` = 'فرع'
WHERE `phrase` = 'branches';
UPDATE `language` SET `arabic` = 'تحليل فرعي'
WHERE `phrase` = 'branch_wise_ov_du_analisis';
UPDATE `language` SET `arabic` = 'ماركة'
WHERE `phrase` = 'brand';
UPDATE `language` SET `arabic` = 'اسم الماركة الاخير'
WHERE `phrase` = 'brand_list';
UPDATE `language` SET `arabic` = 'اسم الماركة الاول'
WHERE `phrase` = 'brand_name';
UPDATE `language` SET `arabic` = 'العنوان التجاري'
WHERE `phrase` = 'business_address';
UPDATE `language` SET `arabic` = 'كابتشا'
WHERE `phrase` = 'captcha';
UPDATE `language` SET `arabic` = 'رقم البطاقة'
WHERE `phrase` = 'cardno';
UPDATE `language` SET `arabic` = 'نقداً'
WHERE `phrase` = 'cash';
UPDATE `language` SET `arabic` = 'بيع نقدي'
WHERE `phrase` = 'cashsale';
UPDATE `language` SET `arabic` = 'دفتر النقدية'
WHERE `phrase` = 'cash_book';
UPDATE `language` SET `arabic` = 'التدفق النقدي'
WHERE `phrase` = 'cash_flow';
UPDATE `language` SET `arabic` = 'السعر النقدي'
WHERE `phrase` = 'cash_price';
UPDATE `language` SET `arabic` = 'قائمة المبيعات النقدية'
WHERE `phrase` = 'cash_sale_list';
UPDATE `language` SET `arabic` = 'التصنيف'
WHERE `phrase` = 'category';
UPDATE `language` SET `arabic` = 'قائمة التصنيفات'
WHERE `phrase` = 'category_list';
UPDATE `language` SET `arabic` = 'اسم الصنف'
WHERE `phrase` = 'category_name';
UPDATE `language` SET `arabic` = 'تم التحقق بواسطة'
WHERE `phrase` = 'checked_by';
UPDATE `language` SET `arabic` = 'فحص كل المنتجات'
WHERE `phrase` = 'check_all_product';
UPDATE `language` SET `arabic` = 'فحص المتجر كاملاً'
WHERE `phrase` = 'check_all_store';
UPDATE `language` SET `arabic` = 'استلام الشيك'
WHERE `phrase` = 'check_receive';
UPDATE `language` SET `arabic` = 'تحقق من الحالة'
WHERE `phrase` = 'check_status';
UPDATE `language` SET `arabic` = 'رقم الهوية الوطنية'
WHERE `phrase` = 'cnic';
UPDATE `language` SET `arabic` = 'طباعة شهادة المطابقة'
WHERE `phrase` = 'coa_print';
UPDATE `language` SET `arabic` = 'كود'
WHERE `phrase` = 'code';
UPDATE `language` SET `arabic` = 'رمز الضامن'
WHERE `phrase` = 'gurrantor_code';
UPDATE `language` SET `arabic` = 'اسم الضامن'
WHERE `phrase` = 'gurrantor_name';
UPDATE `language` SET `arabic` = 'موبايل الضامن'
WHERE `phrase` = 'gurrantor_phone';
UPDATE `language` SET `arabic` = 'تلفون الضامن'
WHERE `phrase` = 'g_contact';
UPDATE `language` SET `arabic` = 'الرائيسية'
WHERE `phrase` = 'home';
UPDATE `language` SET `arabic` = 'اسم المضيف'
WHERE `phrase` = 'hostname';
UPDATE `language` SET `arabic` = 'صورة'
WHERE `phrase` = 'image';
UPDATE `language` SET `arabic` = 'تحميل الصورة بنجاح'
WHERE `phrase` = 'image_upload_successfully';
UPDATE `language` SET `arabic` = 'في'
WHERE `phrase` = 'in';
UPDATE `language` SET `arabic` = 'غير نشط'
WHERE `phrase` = 'inactive';
UPDATE `language` SET `arabic` = 'صندوق الوارد'
WHERE `phrase` = 'inbox';
UPDATE `language` SET `arabic` = 'صندوق الرسائل'
WHERE `phrase` = 'inbox_message';
UPDATE `language` SET `arabic` = 'الدخل/المصروفات'
WHERE `phrase` = 'income_expense';
UPDATE `language` SET `arabic` = 'ملف وارد'
WHERE `phrase` = 'incoming_file';
UPDATE `language` SET `arabic` = 'بريد إلكتروني أو كلمة مرور غير صحيحة'
WHERE `phrase` = 'incorrect_email_or_password';
UPDATE `language` SET `arabic` = 'بالكمية'
WHERE `phrase` = 'inqty';
UPDATE `language` SET `arabic` = 'مسؤول التحقيق'
WHERE `phrase` = 'inquiry_officer';
UPDATE `language` SET `arabic` = 'تثبيت'
WHERE `phrase` = 'install';
UPDATE `language` SET `arabic` = 'المبلغ المثبت'
WHERE `phrase` = 'installment_amnt';
UPDATE `language` SET `arabic` = 'المبلغ المثبت'
WHERE `phrase` = 'installment_amount';
UPDATE `language` SET `arabic` = 'رقم التثبيت'
WHERE `phrase` = 'install_no';
UPDATE `language` SET `arabic` = 'الاتصال بالانترنت'
WHERE `phrase` = 'internet_connection';
UPDATE `language` SET `arabic` = 'ملف غير صالح'
WHERE `phrase` = 'invalid_file';
UPDATE `language` SET `arabic` = 'وحدة غير صالحة'
WHERE `phrase` = 'invalid_module';
UPDATE `language` SET `arabic` = 'رقم الفاتورة'
WHERE `phrase` = 'invoice_id';
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
INSERT INTO `acc_coa` (`HeadCode`, `HeadName`, `PHeadName`, `HeadLevel`, `IsActive`, `IsTransaction`, `IsGL`, `HeadType`, `IsBudget`, `IsDepreciation`, `DepreciationRate`, `CreateBy`, `CreateDate`) VALUES (1020301000002, 'cc-2-فواز عبدالله', 'Customer Receivable', '4', '1', '1', '0', 'A', '0', '0', '0', '1', '2026-02-26 00:39:10');
INSERT INTO `customer` (`customer_id`, `customer_code`, `customer_name`, `type`, `customer_phone`, `store_id`, `job_designation`, `customer_address`, `customer_cnic`, `business_address`, `isactive`, `createby`, `createdate`, `updateby`, `updatedate`) VALUES ('', 'cc-2', 'فواز عبدالله', '1', '773388888', '1', '', '', '3444', '', '1', '1', '2026-02-26 00:39:10', '', '');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Customer', 'create', 28, '1', '2026-02-26 00:39:10');
INSERT INTO `lease` (`package_code`, `package_name`, `lease_duration`, `advance`, `markup`, `isactive`, `createby`, `createdate`) VALUES ('xxx665', 'سلفة رمضان', '4', 400, 0, 1, '1', '2026-02-26 00:40:40');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('leases', 'create', 'Lease Id-11', '1', '2026-02-26 00:40:41');
UPDATE `lease` SET `lease_id` = '11', `isactive` = 0
WHERE `lease_id` = '11';
INSERT INTO `stock_movement` (`proposal_code`, `for_store_id`, `from_store_id`, `proposal_datetime`, `proposal_by`) VALUES ('p-0001', '1', '1', '2026-02-26', '1');
INSERT INTO `stock_movement_details` (`movement_id`, `product_id`, `proposal_qty`) VALUES (1, '', '14');
INSERT INTO `stock_movement_details` (`movement_id`, `product_id`, `proposal_qty`) VALUES (1, '', '11');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Stockmovment', 'create', 'Stockmovment ID :1', '1', '2026-02-26 00:43:07');
UPDATE `store` SET `store_id` = '1', `isactive` = 0
WHERE `store_id` = '1';
UPDATE `store` SET `store_id` = '1', `isactive` = 1
WHERE `store_id` = '1';
INSERT INTO `acc_coa` (`HeadCode`, `HeadName`, `PHeadName`, `HeadLevel`, `IsActive`, `IsTransaction`, `IsGL`, `HeadType`, `IsBudget`, `IsDepreciation`, `DepreciationRate`, `CreateBy`, `CreateDate`) VALUES (40100004, 'zxzx-المخزن الرائيسي', 'Store Expenses', '2', '1', '1', '0', 'E', '0', '0', '0', '1', '2026-02-26 00:45:04');
INSERT INTO `acc_coa` (`HeadCode`, `HeadName`, `PHeadName`, `HeadLevel`, `IsActive`, `IsTransaction`, `IsGL`, `HeadType`, `IsBudget`, `IsDepreciation`, `DepreciationRate`, `CreateBy`, `CreateDate`) VALUES (1020101000002, 'Cash-zxzx-المخزن الرائيسي', 'Cash In Hand', '4', '1', '1', '0', 'A', '0', '0', '0', '1', '2026-02-26 00:45:04');
INSERT INTO `store` (`store_id`, `store_name`, `store_code`, `store_phone`, `store_address`, `createby`, `createdate`, `isactive`) VALUES ('', 'المخزن الرائيسي', 'zxzx', '773381667', 'hgu', '1', '2026-02-26 00:45:04', 1);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Store', 'create', 'Store ID :2', '1', '2026-02-26 00:45:04');
INSERT INTO `stock_movement` (`proposal_code`, `for_store_id`, `from_store_id`, `proposal_datetime`, `proposal_by`) VALUES ('p-2', '1', '2', '2026-02-26', '1');
INSERT INTO `stock_movement_details` (`movement_id`, `product_id`, `proposal_qty`) VALUES (2, '', '5');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Stockmovment', 'create', 'Stockmovment ID :2', '1', '2026-02-26 00:46:08');
INSERT INTO `product_brand` (`brand_id`, `brand_name`, `isactive`) VALUES ('', 'هائل سعيد', 1);
INSERT INTO `product_unit` (`unit_id`, `unit_name`, `isactive`) VALUES ('', '10 كيلو', 1);
INSERT INTO `product_model` (`model_id`, `model_name`, `isactive`) VALUES ('', 'لا يوجد موديل', 1);
INSERT INTO `product` (`product_id`, `product_name`, `product_code`, `model`, `category`, `brand`, `unit`, `product_details`, `purchase_price`, `block_price`, `minimum_price`, `retail_price`, `createby`, `createdate`, `updateby`, `updatedate`, `isactive`) VALUES ('', 'مواد غذائية-هائل سعيد-لا يوجد موديل', 'pro-1002', '2', '1', '2', '2', 'سكر السعيد', '0', '0', '0', '0', '1', '2026-02-26 01:45:05', '', '', 1);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Product', 'create', 'product ID :2', '1', '2026-02-26 01:45:05');
UPDATE `product` SET `product_id` = '2', `product_name` = 'مواد غذائية-هائل سعيد-لا يوجد موديل', `product_code` = 'pro-1002', `category` = '1', `model` = '2', `unit` = '2', `brand` = '2', `product_details` = 'سكر السعيد', `purchase_price` = '1000', `minimum_price` = '900', `retail_price` = '830', `block_price` = '0', `isactive` = '1'
WHERE `product_id` IN('2');
UPDATE `product` SET `product_id` = '1', `product_name` = 'سيارة-كيا-موديل 2015', `product_code` = 'pro-1001', `category` = '3', `model` = '1', `unit` = '1', `brand` = '1', `product_details` = 'نضيف', `purchase_price` = '1100', `minimum_price` = '1000', `retail_price` = '900', `block_price` = '0', `isactive` = '1'
WHERE `product_id` IN('1');
CALL get_store_stock('',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
UPDATE `user` SET `last_login` = '2026-02-26 03:59:57', `ip_address` = '127.0.0.1'
WHERE `id` = '1';
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
INSERT INTO `user` (`id`, `firstname`, `lastname`, `email`, `password`, `about`, `store_id`, `is_admin`, `image`, `last_login`, `last_logout`, `ip_address`, `status`) VALUES ('', 'Abolayan', 'Ali', 'abolayan@admin.com', '202cb962ac59075b964b07152d234b70', '', '2', '0', '', NULL, NULL, NULL, '1');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('User', 'create', 'User ID :2', '1', '2026-02-26 04:04:13');
INSERT INTO `sec_userrole` (`id`, `user_id`, `roleid`, `createby`, `createdate`) VALUES ('', '2', '4', '1', '2026-02-26 04:06:57');
DELETE FROM `role_permission`
WHERE `role_id` = '4';
INSERT INTO `role_permission` (`create`, `delete`, `fk_module_id`, `read`, `role_id`, `update`) VALUES (0,0,'1',0,'4',0), (0,0,'6',0,'4',0), (0,0,'13',0,'4',0), ('1',0,'7','1','4',0), ('1','1','10','1','4','1'), ('1',0,'14','1','4','1'), (0,0,'19',0,'4',0), ('1',0,'18','1','4',0), (0,0,'12',0,'4',0), (0,0,'17',0,'4',0), (0,0,'3',0,'4',0), (0,0,'9',0,'4',0);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Role Permission', 'create', 'Role id :485', '1', '2026-02-26 05:10:39');
UPDATE `user` SET `last_logout` = '2026-02-26 05:10:57'
WHERE `id` = '1';
UPDATE `user` SET `last_login` = '2026-02-26 05:11:21', `ip_address` = '127.0.0.1'
WHERE `id` = '2';
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
UPDATE `user` SET `last_logout` = '2026-02-26 05:28:12'
WHERE `id` = '2';
UPDATE `user` SET `last_login` = '2026-02-26 05:38:00', `ip_address` = '127.0.0.1'
WHERE `id` = '1';
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
UPDATE `language` SET `arabic` = 'سؤال'
WHERE `phrase` = 'enquiry';
UPDATE `language` SET `arabic` = 'معلومات الاستفسار'
WHERE `phrase` = 'enquiry_information';
UPDATE `language` SET `arabic` = 'مفضلة'
WHERE `phrase` = 'favicon';
UPDATE `language` SET `arabic` = 'اسم الملف'
WHERE `phrase` = 'filename';
UPDATE `language` SET `arabic` = 'معلومات الملف'
WHERE `phrase` = 'file_information';
UPDATE `language` SET `arabic` = 'التسوية النهائية'
WHERE `phrase` = 'final_settlement';
UPDATE `language` SET `arabic` = 'خصم التسوية النهائية'
WHERE `phrase` = 'final_settlement_discount';
UPDATE `language` SET `arabic` = 'بجـث'
WHERE `phrase` = 'find';
UPDATE `language` SET `arabic` = 'الاسم الاول'
WHERE `phrase` = 'firstname';
UPDATE `language` SET `arabic` = 'نص الفوتر'
WHERE `phrase` = 'footer_text';
UPDATE `language` SET `arabic` = 'الى مخزن'
WHERE `phrase` = 'for_store';
UPDATE `language` SET `arabic` = 'من تاريخ'
WHERE `phrase` = 'from_date';
UPDATE `language` SET `arabic` = 'من مخزن'
WHERE `phrase` = 'from_store';
UPDATE `language` SET `arabic` = 'تصحيح أخطاء بروتوكول نقل الملفات (FTP)'
WHERE `phrase` = 'ftp_debug';
UPDATE `language` SET `arabic` = 'بورت  بروتوكول نقل الملفات (FTP)'
WHERE `phrase` = 'ftp_port';
UPDATE `language` SET `arabic` = 'اعدادات بروتوكول نقل الملفات (FTP)'
WHERE `phrase` = 'ftp_setting';
UPDATE `language` SET `arabic` = 'دفتر الأستاذ العام'
WHERE `phrase` = 'general_ledger';
UPDATE `language` SET `arabic` = 'دفتر الأستاذ العام لـ'
WHERE `phrase` = 'general_ledger_of';
UPDATE `language` SET `arabic` = 'المجموع الإجمالي'
WHERE `phrase` = 'grand_total';
UPDATE `language` SET `arabic` = 'الضامن'
WHERE `phrase` = 'gurrantor';
UPDATE `language` SET `arabic` = 'الضامن 1'
WHERE `phrase` = 'gurrantor1';
UPDATE `language` SET `arabic` = 'الضامن 2'
WHERE `phrase` = 'gurrantor2';
UPDATE `language` SET `arabic` = 'عنوان الضامن'
WHERE `phrase` = 'gurrantor_address';
UPDATE `language` SET `arabic` = 'الضامن ومعلومات الاتصال'
WHERE `phrase` = 'gurrantor_and_contact';
UPDATE `language` SET `arabic` = 'بطاقة الهوية الوطنية للضامن'
WHERE `phrase` = 'gurrantor_cnic';
UPDATE `user` SET `last_login` = '2026-02-26 20:24:16', `ip_address` = '127.0.0.1'
WHERE `id` = '1';
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
UPDATE `acc_coa` SET `HeadCode` = '1', `HeadName` = 'الاصول', `PHeadName` = 'COA', `HeadLevel` = '0', `IsActive` = '1', `IsTransaction` = 0, `IsGL` = 0, `HeadType` = 'A', `IsBudget` = 0, `CreateBy` = '1', `CreateDate` = '2026-02-26 21:37:43'
WHERE `HeadCode` = '1';
UPDATE `acc_coa` SET `PHeadName` = 'الاصول'
WHERE `PHeadName` = 'Assets';
UPDATE `acc_coa` SET `HeadCode` = '2', `HeadName` = 'حقوق الملكية', `PHeadName` = 'COA', `HeadLevel` = '0', `IsActive` = '1', `IsTransaction` = 0, `IsGL` = 0, `HeadType` = 'L', `IsBudget` = 0, `CreateBy` = '1', `CreateDate` = '2026-02-26 21:38:59'
WHERE `HeadCode` = '2';
UPDATE `acc_coa` SET `PHeadName` = 'حقوق الملكية'
WHERE `PHeadName` = 'Equity';
UPDATE `acc_coa` SET `HeadCode` = '5', `HeadName` = 'الإلتزامات', `PHeadName` = 'COA', `HeadLevel` = '0', `IsActive` = '1', `IsTransaction` = 0, `IsGL` = 0, `HeadType` = 'L', `IsBudget` = 0, `CreateBy` = '1', `CreateDate` = '2026-02-26 21:39:47'
WHERE `HeadCode` = '5';
UPDATE `acc_coa` SET `PHeadName` = 'الإلتزامات'
WHERE `PHeadName` = 'Liabilities';
UPDATE `acc_coa` SET `HeadCode` = '4', `HeadName` = 'المصروفات', `PHeadName` = 'COA', `HeadLevel` = '0', `IsActive` = '1', `IsTransaction` = 0, `IsGL` = 0, `HeadType` = 'E', `IsBudget` = 0, `CreateBy` = '1', `CreateDate` = '2026-02-26 21:40:23'
WHERE `HeadCode` = '4';
UPDATE `acc_coa` SET `PHeadName` = 'المصروفات'
WHERE `PHeadName` = 'Expence';
UPDATE `acc_coa` SET `HeadCode` = '3', `HeadName` = 'الايرادات', `PHeadName` = 'COA', `HeadLevel` = '0', `IsActive` = '1', `IsTransaction` = 0, `IsGL` = 0, `HeadType` = 'I', `IsBudget` = 0, `CreateBy` = '1', `CreateDate` = '2026-02-26 21:41:06'
WHERE `HeadCode` = '3';
UPDATE `acc_coa` SET `PHeadName` = 'الايرادات'
WHERE `PHeadName` = 'Income';
UPDATE `user` SET `last_login` = '2026-02-27 00:19:22', `ip_address` = '127.0.0.1'
WHERE `id` = '1';
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
UPDATE `language` SET `arabic` = 'ال'
WHERE `phrase` = 'a';
UPDATE `language` SET `arabic` = 'من نحن'
WHERE `phrase` = 'about';
UPDATE `language` SET `arabic` = 'حساب'
WHERE `phrase` = 'account';
UPDATE `language` SET `arabic` = 'الحسابات'
WHERE `phrase` = 'accounts';
UPDATE `language` SET `arabic` = 'تقرير الحسابات'
WHERE `phrase` = 'account_report';
UPDATE `language` SET `arabic` = 'إنجاز'
WHERE `phrase` = 'achievement';
UPDATE `language` SET `arabic` = 'اجراء'
WHERE `phrase` = 'action';
UPDATE `language` SET `arabic` = 'نشيط'
WHERE `phrase` = 'active';
UPDATE `language` SET `arabic` = 'إنجاز حكيم'
WHERE `phrase` = 'ac_wise_achivement';
UPDATE `language` SET `arabic` = 'اضف'
WHERE `phrase` = 'add';
UPDATE `language` SET `arabic` = 'العنوان'
WHERE `phrase` = 'address';
UPDATE `language` SET `arabic` = 'إضافة استلام الائتمان'
WHERE `phrase` = 'add_credit_receiving';
UPDATE `language` SET `arabic` = 'إضافة نموذج'
WHERE `phrase` = 'add_model';
UPDATE `language` SET `arabic` = 'إضافة وحدة نمطية'
WHERE `phrase` = 'add_module';
UPDATE `language` SET `arabic` = 'اضافة نمط صلاحيات'
WHERE `phrase` = 'add_module_permission';
UPDATE `language` SET `arabic` = 'إضافة المزيد'
WHERE `phrase` = 'add_more';
UPDATE `language` SET `arabic` = 'إضافة صنف جديد'
WHERE `phrase` = 'add_new_item';
UPDATE `language` SET `arabic` = 'إضافة  منتج'
WHERE `phrase` = 'add_product';
UPDATE `language` SET `arabic` = 'إضافة استلام الاسترداد'
WHERE `phrase` = 'add_recovery_receiving';
UPDATE `language` SET `arabic` = 'إضافة  دور'
WHERE `phrase` = 'add_role';
UPDATE `language` SET `arabic` = 'إضافة  صلاحيات الادوار'
WHERE `phrase` = 'add_role_permission';
UPDATE `language` SET `arabic` = 'اضافة متجر'
WHERE `phrase` = 'add_store';
UPDATE `language` SET `arabic` = 'إضافة  وحدة'
WHERE `phrase` = 'add_unit';
UPDATE `language` SET `arabic` = 'إضافة  مستخدم'
WHERE `phrase` = 'add_user';
UPDATE `language` SET `arabic` = 'إضافة  صلاحيات مستخدم'
WHERE `phrase` = 'add_user_role';
UPDATE `language` SET `arabic` = 'اضافة مستودع'
WHERE `phrase` = 'add_warehouse';
UPDATE `language` SET `arabic` = 'مسؤل'
WHERE `phrase` = 'admin';
UPDATE `language` SET `arabic` = 'مقدم/سلفة'
WHERE `phrase` = 'advance';
UPDATE `language` SET `arabic` = 'مبلغ السلفة'
WHERE `phrase` = 'advance_amount';
UPDATE `language` SET `arabic` = 'جميع القسائم'
WHERE `phrase` = 'all_voucher';
UPDATE `language` SET `arabic` = 'المبلغ'
WHERE `phrase` = 'amount';
UPDATE `language` SET `arabic` = 'المبلغ يساوي'
WHERE `phrase` = 'amount_equal';
UPDATE `language` SET `arabic` = 'الملبغ اكبر من'
WHERE `phrase` = 'amount_greater_than';
UPDATE `language` SET `arabic` = 'المبلغ اقل من'
WHERE `phrase` = 'amount_less_than';
UPDATE `language` SET `arabic` = 'الإنجاز حسب الكمية'
WHERE `phrase` = 'amount_wise_achivement';
UPDATE `language` SET `arabic` = 'إعدادات التطبيق'
WHERE `phrase` = 'application_setting';
UPDATE `language` SET `arabic` = 'عنوان التطبيق'
WHERE `phrase` = 'application_title';
UPDATE `language` SET `arabic` = 'موافقة'
WHERE `phrase` = 'approved';
UPDATE `language` SET `arabic` = 'هل انت متاكد'
WHERE `phrase` = 'are_you_sure';
UPDATE `language` SET `arabic` = 'تعيين الدور'
WHERE `phrase` = 'assign_role';
UPDATE `language` SET `arabic` = 'ممكن'
WHERE `phrase` = 'available';
UPDATE `language` SET `arabic` = 'نسخة احتياطي'
WHERE `phrase` = 'backup';
UPDATE `language` SET `arabic` = 'النسخ الاحتياطي والاستعادة'
WHERE `phrase` = 'backup_and_restore';
UPDATE `language` SET `arabic` = 'تاريخ النسخ الاحتياطي'
WHERE `phrase` = 'backup_date';
UPDATE `language` SET `arabic` = 'النسخ الاحتياطي الآن'
WHERE `phrase` = 'backup_now';
UPDATE `language` SET `arabic` = 'تم النسخ الاحتياطي بنجاح'
WHERE `phrase` = 'backup_successfully';
UPDATE `language` SET `arabic` = 'كمية الرصيد'
WHERE `phrase` = 'balance_qty';
UPDATE `language` SET `arabic` = 'دفتر البنك'
WHERE `phrase` = 'bank_book';
UPDATE `language` SET `arabic` = 'سعر الكتلة'
WHERE `phrase` = 'block_price';
UPDATE `language` SET `arabic` = 'سعر بوليصة الشحن'
WHERE `phrase` = 'bl_price';
UPDATE `language` SET `arabic` = 'الفروع'
WHERE `phrase` = 'branches';
UPDATE `language` SET `arabic` = 'تحليل فرعي'
WHERE `phrase` = 'branch_wise_ov_du_analisis';
UPDATE `language` SET `arabic` = 'الماركة'
WHERE `phrase` = 'brand';
UPDATE `language` SET `arabic` = 'اسم الماركة الاخير'
WHERE `phrase` = 'brand_list';
UPDATE `language` SET `arabic` = 'اسم الماركة الاول'
WHERE `phrase` = 'brand_name';
UPDATE `language` SET `arabic` = 'العنوان التجاري'
WHERE `phrase` = 'business_address';
UPDATE `language` SET `arabic` = 'كابتشا'
WHERE `phrase` = 'captcha';
UPDATE `language` SET `arabic` = 'رقم البطاقة'
WHERE `phrase` = 'cardno';
UPDATE `language` SET `arabic` = 'نقداً'
WHERE `phrase` = 'cash';
UPDATE `language` SET `arabic` = 'بيع نقدي'
WHERE `phrase` = 'cashsale';
UPDATE `language` SET `arabic` = 'دفتر النقدية'
WHERE `phrase` = 'cash_book';
UPDATE `language` SET `arabic` = 'التدفق النقدي'
WHERE `phrase` = 'cash_flow';
UPDATE `language` SET `arabic` = 'السعر النقدي'
WHERE `phrase` = 'cash_price';
UPDATE `language` SET `arabic` = 'قائمة المبيعات النقدية'
WHERE `phrase` = 'cash_sale_list';
UPDATE `language` SET `arabic` = 'التصنيف'
WHERE `phrase` = 'category';
UPDATE `language` SET `arabic` = 'قائمة التصنيفات'
WHERE `phrase` = 'category_list';
UPDATE `language` SET `arabic` = 'اسم الصنف'
WHERE `phrase` = 'category_name';
UPDATE `language` SET `arabic` = 'تم التحقق بواسطة'
WHERE `phrase` = 'checked_by';
UPDATE `language` SET `arabic` = 'فحص كل المنتجات'
WHERE `phrase` = 'check_all_product';
UPDATE `language` SET `arabic` = 'فحص المتجر كاملاً'
WHERE `phrase` = 'check_all_store';
UPDATE `language` SET `arabic` = 'استلام الشيك'
WHERE `phrase` = 'check_receive';
UPDATE `language` SET `arabic` = 'تحقق من الحالة'
WHERE `phrase` = 'check_status';
UPDATE `language` SET `arabic` = 'رقم الهوية الوطنية'
WHERE `phrase` = 'cnic';
UPDATE `language` SET `arabic` = 'طباعة شهادة المطابقة'
WHERE `phrase` = 'coa_print';
UPDATE `language` SET `arabic` = 'كود'
WHERE `phrase` = 'code';
UPDATE `language` SET `arabic` = 'للتواصل'
WHERE `phrase` = 'contact';
UPDATE `language` SET `arabic` = 'جهة اتصال لكل اسم'
WHERE `phrase` = 'contact_per_name';
UPDATE `language` SET `arabic` = 'قسيمة مخلافه'
WHERE `phrase` = 'contra_voucher';
UPDATE `language` SET `arabic` = 'انشاء'
WHERE `phrase` = 'create';
UPDATE `language` SET `arabic` = 'اضافة دور للمستخدم'
WHERE `phrase` = 'create_user_role';
UPDATE `language` SET `arabic` = 'دائن'
WHERE `phrase` = 'credit';
UPDATE `language` SET `arabic` = 'بيع دين'
WHERE `phrase` = 'creditsale';
UPDATE `language` SET `arabic` = 'استلام الدين/ السلفة'
WHERE `phrase` = 'credit_receive';
UPDATE `language` SET `arabic` = 'قائمة مبيعات الدين/ السلفة'
WHERE `phrase` = 'credit_sale_list';
UPDATE `language` SET `arabic` = 'قسيمة دين/ سلفه'
WHERE `phrase` = 'credit_voucher';
UPDATE `language` SET `arabic` = 'العميل'
WHERE `phrase` = 'customer';
UPDATE `language` SET `arabic` = 'العملاء'
WHERE `phrase` = 'customers';
UPDATE `language` SET `arabic` = 'عنوان العميل'
WHERE `phrase` = 'customer_and_address';
UPDATE `language` SET `arabic` = 'بطاقة هوية العميل'
WHERE `phrase` = 'customer_cnic';
UPDATE `language` SET `arabic` = 'كود العميل'
WHERE `phrase` = 'customer_code';
UPDATE `language` SET `arabic` = 'اسم العميل'
WHERE `phrase` = 'customer_name';
UPDATE `language` SET `arabic` = 'استعادة العملاء'
WHERE `phrase` = 'customer_recovery';
UPDATE `language` SET `arabic` = 'معاملة العميل'
WHERE `phrase` = 'customer_transaction';
UPDATE `language` SET `arabic` = 'نوع العميل'
WHERE `phrase` = 'customer_type';
UPDATE `language` SET `arabic` = 'دليل الحسابات'
WHERE `phrase` = 'c_o_a';
UPDATE `language` SET `arabic` = 'جهة الاتصال'
WHERE `phrase` = 'c_p_contact';
UPDATE `language` SET `arabic` = 'لوحة التحكم'
WHERE `phrase` = 'dashboard';
UPDATE `language` SET `arabic` = 'نسخة احتياطية من قاعدة البيانات'
WHERE `phrase` = 'database_backup';
UPDATE `language` SET `arabic` = 'استيراد البيانات أولاً'
WHERE `phrase` = 'data_import_first';
UPDATE `language` SET `arabic` = 'تم استيراد البيانات بنجاح'
WHERE `phrase` = 'data_import_successfully';
UPDATE `language` SET `arabic` = 'للتواصل'
WHERE `phrase` = 'contact';
UPDATE `language` SET `arabic` = 'جهة اتصال لكل اسم'
WHERE `phrase` = 'contact_per_name';
UPDATE `language` SET `arabic` = 'قسيمة مخلافه'
WHERE `phrase` = 'contra_voucher';
UPDATE `language` SET `arabic` = 'انشاء'
WHERE `phrase` = 'create';
UPDATE `language` SET `arabic` = 'اضافة دور للمستخدم'
WHERE `phrase` = 'create_user_role';
UPDATE `language` SET `arabic` = 'دائن'
WHERE `phrase` = 'credit';
UPDATE `language` SET `arabic` = 'بيع دين'
WHERE `phrase` = 'creditsale';
UPDATE `language` SET `arabic` = 'استلام الدين/ السلفة'
WHERE `phrase` = 'credit_receive';
UPDATE `language` SET `arabic` = 'قائمة مبيعات الدين/ السلفة'
WHERE `phrase` = 'credit_sale_list';
UPDATE `language` SET `arabic` = 'قسيمة دين/ سلفه'
WHERE `phrase` = 'credit_voucher';
UPDATE `language` SET `arabic` = 'العميل'
WHERE `phrase` = 'customer';
UPDATE `language` SET `arabic` = 'العملاء'
WHERE `phrase` = 'customers';
UPDATE `language` SET `arabic` = 'عنوان العميل'
WHERE `phrase` = 'customer_and_address';
UPDATE `language` SET `arabic` = 'بطاقة هوية العميل'
WHERE `phrase` = 'customer_cnic';
UPDATE `language` SET `arabic` = 'كود العميل'
WHERE `phrase` = 'customer_code';
UPDATE `language` SET `arabic` = 'اسم العميل'
WHERE `phrase` = 'customer_name';
UPDATE `language` SET `arabic` = 'استرداد  العملاء'
WHERE `phrase` = 'customer_recovery';
UPDATE `language` SET `arabic` = 'معاملة العميل'
WHERE `phrase` = 'customer_transaction';
UPDATE `language` SET `arabic` = 'نوع العميل'
WHERE `phrase` = 'customer_type';
UPDATE `language` SET `arabic` = 'دليل الحسابات'
WHERE `phrase` = 'c_o_a';
UPDATE `language` SET `arabic` = 'جهة الاتصال'
WHERE `phrase` = 'c_p_contact';
UPDATE `language` SET `arabic` = 'لوحة التحكم'
WHERE `phrase` = 'dashboard';
UPDATE `language` SET `arabic` = 'نسخة احتياطية من قاعدة البيانات'
WHERE `phrase` = 'database_backup';
UPDATE `language` SET `arabic` = 'استيراد البيانات أولاً'
WHERE `phrase` = 'data_import_first';
UPDATE `language` SET `arabic` = 'تم استيراد البيانات بنجاح'
WHERE `phrase` = 'data_import_successfully';
UPDATE `user` SET `last_login` = '2026-02-27 23:53:42', `ip_address` = '127.0.0.1'
WHERE `id` = '1';
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
UPDATE `user` SET `last_login` = '2026-02-28 03:06:10', `ip_address` = '127.0.0.1'
WHERE `id` = '1';
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
UPDATE `user` SET `last_login` = '2026-02-28 20:34:57', `ip_address` = '::1'
WHERE `id` = '1';
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
UPDATE `user` SET `last_login` = '2026-02-28 20:38:09', `ip_address` = '127.0.0.1'
WHERE `id` = '1';
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
UPDATE `user` SET `last_login` = '2026-03-01 03:00:28', `ip_address` = '127.0.0.1'
WHERE `id` = '1';
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
INSERT INTO `stock_movement` (`proposal_code`, `for_store_id`, `from_store_id`, `proposal_datetime`, `proposal_by`) VALUES ('p-3', '1', '1', '2026-03-01', '1');
INSERT INTO `stock_movement_details` (`movement_id`, `product_id`, `proposal_qty`) VALUES (3, '1', '7');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Stockmovment', 'create', 'Stockmovment ID :3', '1', '2026-03-01 03:04:39');
INSERT INTO `purchase_order` (`po_no`, `supplier_id`, `total_amnt`, `store_id`, `warehouse_id`, `createby`, `createdate`, `isapproved`) VALUES ('20260301030626', '1', '3300.00', 0, 0, '1', '2026-03-01 03:06:26', 0);
INSERT INTO `purchase_order_details` (`row_id`, `po_no`, `product_id`, `order_qty`, `product_rate`, `discount`, `store_id`) VALUES ('196873854733966', '20260301030626', '1', '3', '1100', '', '1');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('purchase order', 'create', 'Orde Id-20260301030626 total amount-3300.00', '1', '2026-03-01 03:06:26');
INSERT INTO `purchase_receive` (`receive_id`, `po_no`, `supplier_id`, `store_id`, `warehouse_id`, `voucher_no`, `receive_by`, `receive_date`) VALUES ('20260301030717', '20260301030626', '1', 0, 0, 1000, '1', '2026-03-01');
INSERT INTO `purchase_receive_details` (`receive_id`, `product_id`, `receive_qty`, `product_rate`, `store_id`, `discount`) VALUES ('20260301030717', '1', '3', '1100', '1', '');
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('20260301030626', 'PO', '2026-03-01', 10107, 'PO Receive Receive No 20260301030717', '3300.00', 0, '1', 1, '1', '2026-03-01', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('20260301030626', 'PO', '2026-03-01', '5020200008', 'PO received For PO No.20260301030626 Receive No.20260301030717', 0, '3300.00', NULL, 1, '1', '2026-03-01', 1);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('purchase order receive', 'create', 'Order Id- total amount-3300.00', '1', '2026-03-01 03:07:17');
CALL get_store_stock('',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
INSERT INTO `lease` (`package_code`, `package_name`, `lease_duration`, `advance`, `markup`, `isactive`, `createby`, `createdate`) VALUES ('xxx665', 'قرض مؤجل', '4', 400, 0.03, 1, '1', '2026-03-01 03:11:59');
INSERT INTO `lease_product_map` (`lease_id`, `product_id`) VALUES (12, '1');
INSERT INTO `lease_product_map` (`lease_id`, `product_id`) VALUES (12, '2');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('leases', 'create', 'Lease Id-12', '1', '2026-03-01 03:11:59');
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
INSERT INTO `sales_parent` (`sale_id`, `invoice_no`, `customer_id`, `sale_type_id`, `store_id`, `salesman`, `sales_date`, `sales_time`, `gurrantor_1`, `gurrantor_2`, `advance_amnt`, `lease_id`, `inquiry_officer`, `remaining_amnt`, `installment_amnt`, `package_price`, `total_amnt`) VALUES ('20260301031258', '1000', '27', '1', NULL, '1', '2026-03-01', '03:12:58', NULL, NULL, '', NULL, NULL, NULL, 0, 0, '4500.00');
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1000', 'CIV', '2026-03-01 03:12:58', NULL, 'Cash in hand debit For Invoice No1000', '4500.00', 0, NULL, 1, '1', '2026-03-01 03:12:58', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1000', 'CIV', '2026-03-01 03:12:58', 403, 'Cost of sale debit For Invoice No1000', NULL, 0, NULL, 1, '1', '2026-03-01 03:12:58', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1000', 'CIV', '2026-03-01 03:12:58', 10107, 'Inventory credit For Invoice No1000', 0, NULL, NULL, 1, '1', '2026-03-01 03:12:58', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1000', 'CIV', '2026-03-01 03:12:58', '1020301000001', 'Customer debit for Product For Invoice No1000', '4500.00', 0, NULL, 1, '1', '2026-03-01 03:12:58', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1000', 'CIV', '2026-03-01 03:12:58', '1020301000001', 'Customer credit for Paid Amount For Invoice No1000', 0, '4500.00', NULL, 1, '1', '2026-03-01 03:12:58', 1);
INSERT INTO `payment_collection` (`sale_id`, `invoice_no`, `customer_id`, `receive_amnt`, `due_amnt`, `receive_by`, `receive_date`) VALUES ('20260301031258', '1000', '27', '4500.00', NULL, '1', '2026-03-01');
INSERT INTO `sale_details` (`sale_id`, `product_id`, `qty`, `sell_price`, `sale_type_id`, `lease_unit_price`) VALUES ('20260301031258', '1', '5', '900', '1', NULL);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Sales', 'create', 'invoice_no-1000 total amount-4500.00', '1', '2026-03-01 03:12:59');
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
INSERT INTO `sales_parent` (`sale_id`, `invoice_no`, `customer_id`, `sale_type_id`, `store_id`, `salesman`, `sales_date`, `sales_time`, `gurrantor_1`, `gurrantor_2`, `advance_amnt`, `lease_id`, `inquiry_officer`, `remaining_amnt`, `installment_amnt`, `package_price`, `total_amnt`) VALUES ('20260301031416', '1000', '27', '1', NULL, '1', '2026-03-01', '03:14:16', NULL, NULL, '', NULL, NULL, NULL, 0, 0, '2700.00');
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1000', 'CIV', '2026-03-01 03:14:16', NULL, 'Cash in hand debit For Invoice No1000', '2700.00', 0, NULL, 1, '1', '2026-03-01 03:14:16', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1000', 'CIV', '2026-03-01 03:14:16', 403, 'Cost of sale debit For Invoice No1000', NULL, 0, NULL, 1, '1', '2026-03-01 03:14:16', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1000', 'CIV', '2026-03-01 03:14:16', 10107, 'Inventory credit For Invoice No1000', 0, NULL, NULL, 1, '1', '2026-03-01 03:14:16', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1000', 'CIV', '2026-03-01 03:14:16', '1020301000001', 'Customer debit for Product For Invoice No1000', '2700.00', 0, NULL, 1, '1', '2026-03-01 03:14:16', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1000', 'CIV', '2026-03-01 03:14:16', '1020301000001', 'Customer credit for Paid Amount For Invoice No1000', 0, '2700.00', NULL, 1, '1', '2026-03-01 03:14:16', 1);
INSERT INTO `payment_collection` (`sale_id`, `invoice_no`, `customer_id`, `receive_amnt`, `due_amnt`, `receive_by`, `receive_date`) VALUES ('20260301031416', '1000', '27', '2700.00', NULL, '1', '2026-03-01');
INSERT INTO `sale_details` (`sale_id`, `product_id`, `qty`, `sell_price`, `sale_type_id`, `lease_unit_price`) VALUES ('20260301031416', '1', '3', '900', '1', NULL);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Sales', 'create', 'invoice_no-1000 total amount-2700.00', '1', '2026-03-01 03:14:16');
UPDATE `user` SET `last_login` = '2026-03-03 21:32:55', `ip_address` = '127.0.0.1'
WHERE `id` = '1';
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
UPDATE `user` SET `last_logout` = '2026-03-03 21:34:16'
WHERE `id` = '1';
UPDATE `user` SET `last_login` = '2026-03-03 21:35:32', `ip_address` = '127.0.0.1'
WHERE `id` = '2';
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
INSERT INTO `purchase_order` (`po_no`, `supplier_id`, `total_amnt`, `store_id`, `warehouse_id`, `createby`, `createdate`, `isapproved`) VALUES ('20260303213642', '1', '55000.00', 0, 0, '2', '2026-03-03 21:36:42', 0);
INSERT INTO `purchase_order_details` (`row_id`, `po_no`, `product_id`, `order_qty`, `product_rate`, `discount`, `store_id`) VALUES ('427681145679354', '20260303213642', '1', '50', '1100', '', '2');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('purchase order', 'create', 'Orde Id-20260303213642 total amount-55000.00', '2', '2026-03-03 21:36:42');
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
UPDATE `user` SET `last_logout` = '2026-03-03 22:10:32'
WHERE `id` = '2';
UPDATE `user` SET `last_login` = '2026-03-03 22:10:51', `ip_address` = '127.0.0.1'
WHERE `id` = '1';
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
DELETE FROM `role_permission`
WHERE `role_id` = '4';
INSERT INTO `role_permission` (`create`, `delete`, `fk_module_id`, `read`, `role_id`, `update`) VALUES (0,0,'13',0,'4',0), ('1',0,'7','1','4','1'), ('1','1','10','1','4','1'), ('1',0,'14','1','4','1'), ('1',0,'19','1','4','1'), ('1','1','18','1','4','1'), ('1','1','12','1','4','1'), ('1',0,'17',0,'4',0), (0,0,'9',0,'4',0), (0,0,'6',0,'4',0), (0,0,'3',0,'4',0), (0,0,'1',0,'4',0);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Role Permission', 'create', 'Role id :497', '1', '2026-03-03 22:14:13');
INSERT INTO `purchase_receive` (`receive_id`, `po_no`, `supplier_id`, `store_id`, `warehouse_id`, `voucher_no`, `receive_by`, `receive_date`) VALUES ('20260303221518', '20260303213642', '1', 0, 0, 1001, '1', '2026-03-03');
INSERT INTO `purchase_receive_details` (`receive_id`, `product_id`, `receive_qty`, `product_rate`, `store_id`, `discount`) VALUES ('20260303221518', '1', '30', '1100', '2', '');
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('20260303213642', 'PO', '2026-03-03', 10107, 'PO Receive Receive No 20260303221518', '33000.00', 0, '2', 1, '1', '2026-03-03', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('20260303213642', 'PO', '2026-03-03', '5020200008', 'PO received For PO No.20260303213642 Receive No.20260303221518', 0, '33000.00', NULL, 1, '1', '2026-03-03', 1);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('purchase order receive', 'create', 'Order Id- total amount-33000.00', '1', '2026-03-03 22:15:19');
UPDATE `user` SET `last_login` = '2026-03-04 05:10:27', `ip_address` = '127.0.0.1'
WHERE `id` = '1';
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
INSERT INTO `purchase_return` (`po_no`, `supplier_id`, `return_date`, `totalamount`, `return_reason`, `createby`, `createdate`) VALUES ('20260301030626', '1', '2026-03-04', '1100.00', 'لا يوجد سبب', '1', '2026-03-04 05:32:27');
INSERT INTO `purchase_return_details` (`preturn_id`, `product_id`, `qty`, `store_id`, `product_rate`) VALUES (1, '1', '1', '1', '1100');
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('20260301030626', 'PO', '2026-03-04 05:32:27', '5020200008', 'P Return For 20260301030626', '1100.00', 0, NULL, 1, '1', '2026-03-04 05:32:27', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('20260301030626', 'PO', '2026-03-04 05:32:27', 10107, 'Purchase Return For PO No20260301030626', 0, '1100.00', NULL, 1, '1', '2026-03-04 05:32:27', 1);
UPDATE `user` SET `last_login` = '2026-03-04 20:17:48', `ip_address` = '127.0.0.1'
WHERE `id` = '1';
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
UPDATE `user` SET `last_login` = '2026-03-04 23:35:02', `ip_address` = '127.0.0.1'
WHERE `id` = '1';
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
UPDATE `acc_coa` SET `HeadCode` = '10201', `HeadName` = 'النقد وما يعادله', `PHeadName` = 'Current Asset', `HeadLevel` = '2', `IsActive` = '1', `IsTransaction` = 0, `IsGL` = 0, `HeadType` = 'A', `IsBudget` = 0, `CreateBy` = '1', `CreateDate` = '2026-03-04 23:47:44'
WHERE `HeadCode` = '10201';
UPDATE `acc_coa` SET `PHeadName` = 'النقد وما يعادله'
WHERE `PHeadName` = 'Cash & Cash Equivalent';
UPDATE `acc_coa` SET `HeadCode` = '102', `HeadName` = 'الأصول المتداولة', `PHeadName` = 'الاصول', `HeadLevel` = '1', `IsActive` = '1', `IsTransaction` = 0, `IsGL` = 0, `HeadType` = 'A', `IsBudget` = 0, `CreateBy` = '1', `CreateDate` = '2026-03-04 23:48:09'
WHERE `HeadCode` = '102';
UPDATE `acc_coa` SET `PHeadName` = 'الأصول المتداولة'
WHERE `PHeadName` = 'Current Asset';
UPDATE `acc_coa` SET `HeadCode` = '101', `HeadName` = 'الأصول الغير متداولة', `PHeadName` = 'الاصول', `HeadLevel` = '1', `IsActive` = '1', `IsTransaction` = 0, `IsGL` = 0, `HeadType` = 'A', `IsBudget` = 0, `CreateBy` = '1', `CreateDate` = '2026-03-04 23:48:37'
WHERE `HeadCode` = '101';
UPDATE `acc_coa` SET `PHeadName` = 'الأصول الغير متداولة'
WHERE `PHeadName` = 'Non Current Assets';
UPDATE `acc_coa` SET `HeadCode` = '302', `HeadName` = 'ايرادات اخرى', `PHeadName` = 'الايرادات', `HeadLevel` = '1', `IsActive` = '1', `IsTransaction` = 0, `IsGL` = 0, `HeadType` = 'I', `IsBudget` = 0, `CreateBy` = '1', `CreateDate` = '2026-03-04 23:49:06'
WHERE `HeadCode` = '302';
UPDATE `acc_coa` SET `PHeadName` = 'ايرادات اخرى'
WHERE `PHeadName` = 'Other Income';
UPDATE `acc_coa` SET `HeadCode` = '301', `HeadName` = 'ايرادات المتجر', `PHeadName` = 'الايرادات', `HeadLevel` = '1', `IsActive` = '1', `IsTransaction` = 0, `IsGL` = 0, `HeadType` = 'I', `IsBudget` = 0, `CreateBy` = '1', `CreateDate` = '2026-03-04 23:49:27'
WHERE `HeadCode` = '301';
UPDATE `acc_coa` SET `PHeadName` = 'ايرادات المتجر'
WHERE `PHeadName` = 'Store Income';
UPDATE `user` SET `last_logout` = '2026-03-05 00:23:36'
WHERE `id` = '1';
UPDATE `user` SET `last_login` = '2026-03-05 00:23:54', `ip_address` = '127.0.0.1'
WHERE `id` = '1';
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
UPDATE `user` SET `last_logout` = '2026-03-05 00:30:01'
WHERE `id` = '1';
UPDATE `user` SET `last_login` = '2026-03-05 01:20:48', `ip_address` = '127.0.0.1'
WHERE `id` = '1';
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
UPDATE `user` SET `last_login` = '2026-03-05 01:21:26', `ip_address` = '::1'
WHERE `id` = '1';
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
UPDATE `user` SET `last_login` = '2026-03-05 21:55:23', `ip_address` = '127.0.0.1'
WHERE `id` = '1';
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
INSERT INTO `purchase_receive` (`receive_id`, `po_no`, `supplier_id`, `store_id`, `warehouse_id`, `voucher_no`, `receive_by`, `receive_date`) VALUES ('20260305220102', '20260303213642', '1', 0, 0, 1002, '1', '2026-03-05');
INSERT INTO `purchase_receive_details` (`receive_id`, `product_id`, `receive_qty`, `product_rate`, `store_id`, `discount`) VALUES ('20260305220102', '1', '10', '1100', '2', '');
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('20260303213642', 'PO', '2026-03-05', 10107, 'PO Receive Receive No 20260305220102', '11000.00', 0, '2', 1, '1', '2026-03-05', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('20260303213642', 'PO', '2026-03-05', '5020200008', 'PO received For PO No.20260303213642 Receive No.20260305220102', 0, '11000.00', NULL, 1, '1', '2026-03-05', 1);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('purchase order receive', 'create', 'Order Id- total amount-11000.00', '1', '2026-03-05 22:01:02');
INSERT INTO `purchase_receive` (`receive_id`, `po_no`, `supplier_id`, `store_id`, `warehouse_id`, `voucher_no`, `receive_by`, `receive_date`) VALUES ('20260305220141', '20260303213642', '1', 0, 0, 1003, '1', '2026-03-05');
INSERT INTO `purchase_receive_details` (`receive_id`, `product_id`, `receive_qty`, `product_rate`, `store_id`, `discount`) VALUES ('20260305220141', '1', '9', '1100', '2', '');
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('20260303213642', 'PO', '2026-03-05', 10107, 'PO Receive Receive No 20260305220141', '9900.00', 0, '2', 1, '1', '2026-03-05', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('20260303213642', 'PO', '2026-03-05', '5020200008', 'PO received For PO No.20260303213642 Receive No.20260305220141', 0, '9900.00', NULL, 1, '1', '2026-03-05', 1);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('purchase order receive', 'create', 'Order Id- total amount-9900.00', '1', '2026-03-05 22:01:41');
UPDATE `purchase_order` SET `po_no` = '20260301030626', `isapproved` = 1
WHERE `po_no` = '20260301030626';
UPDATE `purchase_order` SET `po_no` = '20260303213642', `isapproved` = 1
WHERE `po_no` = '20260303213642';
DELETE FROM `purchase_order`
WHERE `po_no` = '20260130023334';
DELETE FROM `purchase_order_details`
WHERE `po_no` = '20260130023334';
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('purchase order', 'delete', 'Orde Id-20260130023334', '1', '2026-03-05 22:04:23');
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
INSERT INTO `stock_movement` (`proposal_code`, `for_store_id`, `from_store_id`, `proposal_datetime`, `proposal_by`) VALUES ('p-4', '1', '2', '2026-03-05', '1');
INSERT INTO `stock_movement_details` (`movement_id`, `product_id`, `proposal_qty`) VALUES (4, '1', '2');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Stockmovment', 'create', 'Stockmovment ID :4', '1', '2026-03-05 22:27:03');
DELETE FROM `sec_userrole`
WHERE `user_id` = '2';
INSERT INTO `sec_userrole` (`user_id`, `roleid`, `createby`, `createdate`) VALUES ('2', '4', '1', '2026-03-05 10:39:13');
INSERT INTO `sec_userrole` (`user_id`, `roleid`, `createby`, `createdate`) VALUES ('2', '2', '1', '2026-03-05 10:39:13');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('User Role', 'update', 'Role id :', '1', '2026-03-05 22:39:13');
UPDATE `user` SET `last_login` = '2026-03-06 20:47:55', `ip_address` = '127.0.0.1'
WHERE `id` = '1';
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
INSERT INTO `message` (`id`, `sender_id`, `receiver_id`, `subject`, `message`, `datetime`, `sender_status`, `receiver_status`) VALUES (NULL, '1', '2', 'كيف ياابو ليان', '<p xss=removed>هذه الرسالة تنبيهية</p>', '2026-03-06 09:31:57', 1, 0);
INSERT INTO `user` (`id`, `firstname`, `lastname`, `email`, `password`, `about`, `store_id`, `is_admin`, `image`, `last_login`, `last_logout`, `ip_address`, `status`) VALUES ('', 'ali', 'ali', 'admin@mail.com', '202cb962ac59075b964b07152d234b70', '', '2', '0', '', NULL, NULL, NULL, '1');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('User', 'create', 'User ID :3', '1', '2026-03-06 21:37:52');
INSERT INTO `sec_userrole` (`id`, `user_id`, `roleid`, `createby`, `createdate`) VALUES ('', '3', '5', '1', '2026-03-06 09:38:57');
DELETE FROM `sec_userrole`
WHERE `user_id` = '3';
INSERT INTO `sec_userrole` (`user_id`, `roleid`, `createby`, `createdate`) VALUES ('3', '5', '1', '2026-03-06 09:39:27');
INSERT INTO `sec_userrole` (`user_id`, `roleid`, `createby`, `createdate`) VALUES ('3', '3', '1', '2026-03-06 09:39:27');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('User Role', 'update', 'Role id :', '1', '2026-03-06 21:39:27');
DELETE FROM `role_permission`
WHERE `role_id` = '5';
INSERT INTO `role_permission` (`create`, `delete`, `fk_module_id`, `read`, `role_id`, `update`) VALUES ('1','1','13','1','5','1'), (0,0,'7',0,'5',0), (0,0,'10',0,'5',0), (0,0,'14',0,'5',0), (0,0,'19',0,'5',0), (0,0,'18',0,'5',0), ('1','1','12','1','5','1'), (0,0,'17',0,'5',0), (0,0,'9',0,'5',0), (0,0,'6',0,'5',0), (0,0,'3',0,'5',0), (0,0,'1',0,'5',0);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Role Permission', 'create', 'Role id :509', '1', '2026-03-06 21:46:19');
UPDATE `user` SET `last_logout` = '2026-03-06 21:47:00'
WHERE `id` = '1';
UPDATE `user` SET `last_login` = '2026-03-06 21:47:10', `ip_address` = '127.0.0.1'
WHERE `id` = '3';
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
UPDATE `user` SET `last_logout` = '2026-03-06 22:03:37'
WHERE `id` = '3';
UPDATE `user` SET `last_login` = '2026-03-06 22:03:47', `ip_address` = '127.0.0.1'
WHERE `id` = '1';
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
DELETE FROM `role_permission`
WHERE `role_id` = '2';
INSERT INTO `role_permission` (`create`, `delete`, `fk_module_id`, `read`, `role_id`, `update`) VALUES (0,0,'13',0,'2',0), (0,0,'7',0,'2',0), ('1','1','10','1','2','1'), (0,0,'14',0,'2',0), (0,0,'19',0,'2',0), ('1','1','18','1','2','1'), ('1','1','12','1','2','1'), ('1','1','17','1','2','1'), (0,0,'9',0,'2',0), ('1','1','20','1','2','1'), (0,0,'6',0,'2',0), ('1','1','3','1','2','1'), (0,0,'1',0,'2',0);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Role Permission', 'create', 'Role id :521', '1', '2026-03-06 22:18:09');
DELETE FROM `role_permission`
WHERE `role_id` = '4';
INSERT INTO `role_permission` (`create`, `delete`, `fk_module_id`, `read`, `role_id`, `update`) VALUES (0,0,'13',0,'4',0), ('1',0,'7','1','4','1'), ('1','1','10','1','4','1'), ('1',0,'14','1','4','1'), ('1',0,'19','1','4','1'), ('1','1','18','1','4','1'), ('1','1','12','1','4','1'), ('1',0,'17',0,'4',0), (0,0,'9',0,'4',0), (0,0,'20','1','4',0), (0,0,'6',0,'4',0), (0,0,'3',0,'4',0), (0,0,'1',0,'4',0);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Role Permission', 'create', 'Role id :534', '1', '2026-03-06 22:18:38');
DELETE FROM `role_permission`
WHERE `role_id` = '5';
INSERT INTO `role_permission` (`create`, `delete`, `fk_module_id`, `read`, `role_id`, `update`) VALUES ('1','1','13','1','5','1'), (0,0,'7',0,'5',0), (0,0,'10',0,'5',0), (0,0,'14',0,'5',0), (0,0,'19',0,'5',0), (0,0,'18',0,'5',0), ('1','1','12','1','5','1'), (0,0,'17',0,'5',0), (0,0,'9',0,'5',0), (0,0,'20','1','5',0), (0,0,'6',0,'5',0), (0,0,'3',0,'5',0), (0,0,'1',0,'5',0);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Role Permission', 'create', 'Role id :547', '1', '2026-03-06 22:19:12');
DELETE FROM `role_permission`
WHERE `role_id` = '3';
INSERT INTO `role_permission` (`create`, `delete`, `fk_module_id`, `read`, `role_id`, `update`) VALUES (0,0,'13',0,'3',0), (0,0,'7','1','3',0), ('1','1','10','1','3','1'), (0,0,'14',0,'3',0), (0,0,'19',0,'3',0), (0,0,'18',0,'3',0), ('1','1','12','1','3','1'), ('1',0,'17','1','3','1'), (0,0,'9',0,'3',0), (0,0,'20','1','3',0), (0,'1','6','1','3',0), (0,0,'3',0,'3',0), ('1',0,'1','1','3',0);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Role Permission', 'create', 'Role id :560', '1', '2026-03-06 22:19:25');
UPDATE `store` SET `store_id` = '2', `store_name` = 'متجر الشرعبي', `store_code` = 'zxz', `store_phone` = '773381667', `store_address` = 'hgu', `createby` = '1', `createdate` = '2026-03-06 22:20:10', `isactive` = 1
WHERE `store_id` = '2';
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Store', 'update', 'Store ID :2', '1', '2026-03-06 22:20:10');
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
INSERT INTO `warehouse` (`warehouse_id`, `warehouse_name`, `warehouse_code`, `warehouse_phone`, `warehouse_address`, `createby`, `createdate`, `isactive`) VALUES ('', 'مستودع السلام', 'xxx', '7766555444', 'شارع النصر', '1', '2026-03-06 22:26:38', 1);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Warehouse', 'create', 'Warehouse ID :1', '1', '2026-03-06 22:26:38');
INSERT INTO `lease` (`package_code`, `package_name`, `lease_duration`, `advance`, `markup`, `isactive`, `createby`, `createdate`) VALUES ('xxx665', 'سلفة رمضان', '4', 400, 0, 1, '1', '2026-03-06 22:29:50');
INSERT INTO `lease_store_map` (`lease_id`, `store_id`) VALUES (13, '2');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('leases', 'create', 'Lease Id-13', '1', '2026-03-06 22:29:50');
UPDATE `lease` SET `lease_id` = '11', `isactive` = 1
WHERE `lease_id` = '11';
UPDATE `user` SET `last_login` = '2026-03-07 22:59:02', `ip_address` = '127.0.0.1'
WHERE `id` = '1';
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
INSERT INTO `warehouse` (`warehouse_id`, `warehouse_name`, `warehouse_code`, `warehouse_phone`, `warehouse_address`, `store_id`, `createby`, `createdate`, `isactive`) VALUES ('', 'مستودع4', 'xxxللل', '7766555446', 'ااااااااااااااااااااااااا', '0', '1', '2026-03-08 02:54:33', 1);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Warehouse', 'create', 'Warehouse ID :2', '1', '2026-03-08 02:54:33');
INSERT INTO `warehouse` (`warehouse_id`, `warehouse_name`, `warehouse_code`, `warehouse_phone`, `warehouse_address`, `store_id`, `createby`, `createdate`, `isactive`) VALUES ('', 'يييييييي', '222', '7766555447', 'يييييييييييييييي', '3', '1', '2026-03-08 02:55:26', 1);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Warehouse', 'create', 'Warehouse ID :3', '1', '2026-03-08 02:55:26');
UPDATE `user` SET `last_login` = '2026-03-08 20:34:30', `ip_address` = '127.0.0.1'
WHERE `id` = '1';
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
UPDATE `acc_coa` SET `HeadCode` = '502', `HeadName` = 'الالتزامات المتداولة', `PHeadName` = 'الإلتزامات', `HeadLevel` = '1', `IsActive` = '1', `IsTransaction` = 0, `IsGL` = 0, `HeadType` = 'L', `IsBudget` = 0, `CreateBy` = '1', `CreateDate` = '2026-03-08 20:36:45'
WHERE `HeadCode` = '502';
UPDATE `acc_coa` SET `PHeadName` = 'الالتزامات المتداولة'
WHERE `PHeadName` = 'Current Liabilities';
UPDATE `acc_coa` SET `HeadCode` = '501', `HeadName` = 'الالتزامات الغير المتداولة', `PHeadName` = 'الإلتزامات', `HeadLevel` = '1', `IsActive` = '1', `IsTransaction` = 0, `IsGL` = 0, `HeadType` = 'L', `IsBudget` = 0, `CreateBy` = '1', `CreateDate` = '2026-03-08 20:37:11'
WHERE `HeadCode` = '501';
UPDATE `acc_coa` SET `PHeadName` = 'الالتزامات الغير المتداولة'
WHERE `PHeadName` = 'Non Current Liabilities';
UPDATE `acc_coa` SET `HeadCode` = '403', `HeadName` = 'تكلفة البيع', `PHeadName` = 'المصروفات', `HeadLevel` = '0', `IsActive` = '1', `IsTransaction` = '1', `IsGL` = 0, `HeadType` = 'E', `IsBudget` = 0, `CreateBy` = '1', `CreateDate` = '2026-03-08 20:38:35'
WHERE `HeadCode` = '403';
UPDATE `acc_coa` SET `PHeadName` = 'تكلفة البيع'
WHERE `PHeadName` = 'Cost of Sale';
UPDATE `acc_coa` SET `HeadCode` = '402', `HeadName` = 'مصروفات اخرى', `PHeadName` = 'المصروفات', `HeadLevel` = '1', `IsActive` = '1', `IsTransaction` = 0, `IsGL` = 0, `HeadType` = 'E', `IsBudget` = 0, `CreateBy` = '1', `CreateDate` = '2026-03-08 20:38:58'
WHERE `HeadCode` = '402';
UPDATE `acc_coa` SET `PHeadName` = 'مصروفات اخرى'
WHERE `PHeadName` = 'Other Expenses';
UPDATE `acc_coa` SET `HeadCode` = '404', `HeadName` = 'خصم على التخفيضات', `PHeadName` = 'المصروفات', `HeadLevel` = '1', `IsActive` = '1', `IsTransaction` = '1', `IsGL` = 0, `HeadType` = 'E', `IsBudget` = 0, `CreateBy` = '1', `CreateDate` = '2026-03-08 20:39:28'
WHERE `HeadCode` = '404';
UPDATE `acc_coa` SET `PHeadName` = 'خصم على التخفيضات'
WHERE `PHeadName` = 'Sale Discount';
UPDATE `acc_coa` SET `HeadCode` = '401', `HeadName` = 'مصاريف المتجر', `PHeadName` = 'المصروفات', `HeadLevel` = '1', `IsActive` = '1', `IsTransaction` = 0, `IsGL` = 0, `HeadType` = 'E', `IsBudget` = 0, `CreateBy` = '1', `CreateDate` = '2026-03-08 20:39:52'
WHERE `HeadCode` = '401';
UPDATE `acc_coa` SET `PHeadName` = 'مصاريف المتجر'
WHERE `PHeadName` = 'Store Expenses';
UPDATE `acc_coa` SET `HeadCode` = '202', `HeadName` = 'الاحتياطي والفائض', `PHeadName` = 'حقوق الملكية', `HeadLevel` = '1', `IsActive` = '1', `IsTransaction` = 0, `IsGL` = '1', `HeadType` = 'L', `IsBudget` = 0, `CreateBy` = '1', `CreateDate` = '2026-03-08 20:45:46'
WHERE `HeadCode` = '202';
UPDATE `acc_coa` SET `PHeadName` = 'الاحتياطي والفائض'
WHERE `PHeadName` = 'Reserve & Surplus';
UPDATE `acc_coa` SET `HeadCode` = '201', `HeadName` = 'حقوق المساهمين', `PHeadName` = 'حقوق الملكية', `HeadLevel` = '1', `IsActive` = '1', `IsTransaction` = 0, `IsGL` = 0, `HeadType` = 'L', `IsBudget` = 0, `CreateBy` = '1', `CreateDate` = '2026-03-08 20:51:04'
WHERE `HeadCode` = '201';
UPDATE `acc_coa` SET `PHeadName` = 'حقوق المساهمين'
WHERE `PHeadName` = 'Share Holders Equity';
UPDATE `acc_coa` SET `HeadCode` = '50101', `HeadName` = 'الاقتراض طويل الأجل', `PHeadName` = 'الالتزامات الغير المتداولة', `HeadLevel` = '2', `IsActive` = '1', `IsTransaction` = 0, `IsGL` = '1', `HeadType` = 'L', `IsBudget` = 0, `CreateBy` = '1', `CreateDate` = '2026-03-08 21:06:58'
WHERE `HeadCode` = '50101';
UPDATE `acc_coa` SET `PHeadName` = 'الاقتراض طويل الأجل'
WHERE `PHeadName` = 'Long Term Borrowing';
UPDATE `acc_coa` SET `HeadCode` = '50202', `HeadName` = 'حسابات الدفع', `PHeadName` = 'الالتزامات المتداولة', `HeadLevel` = '2', `IsActive` = '1', `IsTransaction` = 0, `IsGL` = '1', `HeadType` = 'L', `IsBudget` = 0, `CreateBy` = '1', `CreateDate` = '2026-03-08 21:08:03'
WHERE `HeadCode` = '50202';
UPDATE `acc_coa` SET `PHeadName` = 'حسابات الدفع'
WHERE `PHeadName` = 'Account Payable';
UPDATE `acc_coa` SET `HeadCode` = '10106', `HeadName` = 'المعدات الكهربائية', `PHeadName` = 'الأصول الغير متداولة', `HeadLevel` = '2', `IsActive` = '1', `IsTransaction` = 0, `IsGL` = '1', `HeadType` = 'A', `IsBudget` = 0, `CreateBy` = '1', `CreateDate` = '2026-03-08 21:10:16'
WHERE `HeadCode` = '10106';
UPDATE `acc_coa` SET `PHeadName` = 'المعدات الكهربائية'
WHERE `PHeadName` = 'Electrical Equipment';
UPDATE `acc_coa` SET `HeadCode` = '10101', `HeadName` = 'الأثاث والتجهيزات', `PHeadName` = 'الأصول الغير متداولة', `HeadLevel` = '2', `IsActive` = '1', `IsTransaction` = 0, `IsGL` = '1', `HeadType` = 'A', `IsBudget` = 0, `CreateBy` = '1', `CreateDate` = '2026-03-08 21:10:57'
WHERE `HeadCode` = '10101';
UPDATE `acc_coa` SET `PHeadName` = 'الأثاث والتجهيزات'
WHERE `PHeadName` = 'Furniture & Fixturers';
UPDATE `acc_coa` SET `HeadCode` = '10105', `HeadName` = 'مولد', `PHeadName` = 'الأصول الغير متداولة', `HeadLevel` = '2', `IsActive` = '1', `IsTransaction` = '1', `IsGL` = '1', `HeadType` = 'A', `IsBudget` = 0, `CreateBy` = '1', `CreateDate` = '2026-03-08 21:11:42'
WHERE `HeadCode` = '10105';
UPDATE `acc_coa` SET `PHeadName` = 'مولد'
WHERE `PHeadName` = 'Generator';
UPDATE `acc_coa` SET `HeadCode` = '10102', `HeadName` = 'معدات مكتبية', `PHeadName` = 'الأصول الغير متداولة', `HeadLevel` = '2', `IsActive` = '1', `IsTransaction` = 0, `IsGL` = '1', `HeadType` = 'A', `IsBudget` = 0, `CreateBy` = '1', `CreateDate` = '2026-03-08 21:12:06'
WHERE `HeadCode` = '10102';
UPDATE `acc_coa` SET `PHeadName` = 'معدات مكتبية'
WHERE `PHeadName` = 'Office Equipment';
UPDATE `acc_coa` SET `HeadCode` = '10104', `HeadName` = 'أصول أخرى', `PHeadName` = 'الأصول الغير متداولة', `HeadLevel` = '2', `IsActive` = '1', `IsTransaction` = 0, `IsGL` = '1', `HeadType` = 'A', `IsBudget` = 0, `CreateBy` = '1', `CreateDate` = '2026-03-08 21:12:49'
WHERE `HeadCode` = '10104';
UPDATE `acc_coa` SET `PHeadName` = 'أصول أخرى'
WHERE `PHeadName` = 'Others Assets';
UPDATE `acc_coa` SET `HeadCode` = '50203', `HeadName` = 'الالتزامات المتعلقة بالمصروفات', `PHeadName` = 'الالتزامات المتداولة', `HeadLevel` = '2', `IsActive` = '1', `IsTransaction` = 0, `IsGL` = 0, `HeadType` = 'L', `IsBudget` = 0, `CreateBy` = '1', `CreateDate` = '2026-03-08 21:32:26'
WHERE `HeadCode` = '50203';
UPDATE `acc_coa` SET `PHeadName` = 'الالتزامات المتعلقة بالمصروفات'
WHERE `PHeadName` = 'Liabilities for Expenses';
UPDATE `acc_coa` SET `HeadCode` = '50201', `HeadName` = 'الاقتراض قصير الأجل', `PHeadName` = 'الالتزامات المتداولة', `HeadLevel` = '2', `IsActive` = '1', `IsTransaction` = 0, `IsGL` = '1', `HeadType` = 'L', `IsBudget` = 0, `CreateBy` = '1', `CreateDate` = '2026-03-08 21:32:56'
WHERE `HeadCode` = '50201';
UPDATE `acc_coa` SET `PHeadName` = 'الاقتراض قصير الأجل'
WHERE `PHeadName` = 'Short Term Borrowing';
UPDATE `acc_coa` SET `HeadCode` = '10203', `HeadName` = 'حسابات القبض', `PHeadName` = 'الأصول المتداولة', `HeadLevel` = '2', `IsActive` = '1', `IsTransaction` = 0, `IsGL` = 0, `HeadType` = 'A', `IsBudget` = 0, `CreateBy` = '1', `CreateDate` = '2026-03-08 21:33:36'
WHERE `HeadCode` = '10203';
UPDATE `acc_coa` SET `PHeadName` = 'حسابات القبض'
WHERE `PHeadName` = 'Account Receivable';
UPDATE `acc_coa` SET `HeadCode` = '10103', `HeadName` = 'البقالة وأدوات المائدة', `PHeadName` = 'الأصول الغير متداولة', `HeadLevel` = '2', `IsActive` = '1', `IsTransaction` = '1', `IsGL` = '1', `HeadType` = 'A', `IsBudget` = 0, `CreateBy` = '1', `CreateDate` = '2026-03-08 21:34:12'
WHERE `HeadCode` = '10103';
UPDATE `acc_coa` SET `PHeadName` = 'البقالة وأدوات المائدة'
WHERE `PHeadName` = 'Groceries and Cutleries';
UPDATE `acc_coa` SET `HeadCode` = '10107', `HeadName` = 'المخزون', `PHeadName` = 'الأصول الغير متداولة', `HeadLevel` = '1', `IsActive` = '1', `IsTransaction` = 0, `IsGL` = 0, `HeadType` = 'A', `IsBudget` = 0, `CreateBy` = '1', `CreateDate` = '2026-03-08 21:34:48'
WHERE `HeadCode` = '10107';
UPDATE `acc_coa` SET `PHeadName` = 'المخزون'
WHERE `PHeadName` = 'Inventory';
UPDATE `acc_coa` SET `HeadCode` = '10202', `HeadName` = 'الدفعات المقدمة والودائع والمدفوعات المسبقة', `PHeadName` = 'الأصول المتداولة', `HeadLevel` = '2', `IsActive` = '1', `IsTransaction` = 0, `IsGL` = 0, `HeadType` = 'A', `IsBudget` = 0, `CreateBy` = '1', `CreateDate` = '2026-03-08 21:35:29'
WHERE `HeadCode` = '10202';
UPDATE `acc_coa` SET `PHeadName` = 'الدفعات المقدمة والودائع والمدفوعات المسبقة'
WHERE `PHeadName` = 'Advance, Deposit And Pre-payments';
UPDATE `acc_coa` SET `HeadCode` = '30203', `HeadName` = 'الفائدة المصرفية', `PHeadName` = 'ايرادات اخرى', `HeadLevel` = '2', `IsActive` = '1', `IsTransaction` = '1', `IsGL` = '1', `HeadType` = 'I', `IsBudget` = 0, `CreateBy` = '1', `CreateDate` = '2026-03-08 21:36:09'
WHERE `HeadCode` = '30203';
UPDATE `acc_coa` SET `PHeadName` = 'الفائدة المصرفية'
WHERE `PHeadName` = 'Bank Interest';
UPDATE `acc_coa` SET `HeadCode` = '30101', `HeadName` = 'بيع نقدي', `PHeadName` = 'ايرادات المتجر', `HeadLevel` = '1', `IsActive` = '1', `IsTransaction` = '1', `IsGL` = '1', `HeadType` = 'I', `IsBudget` = 0, `CreateBy` = '1', `CreateDate` = '2026-03-08 21:36:40'
WHERE `HeadCode` = '30101';
UPDATE `acc_coa` SET `PHeadName` = 'بيع نقدي'
WHERE `PHeadName` = 'Cash Sale';
UPDATE `acc_coa` SET `HeadCode` = '30204', `HeadName` = 'الدخل من خدمات التصوير والطباعة', `PHeadName` = 'ايرادات اخرى', `HeadLevel` = '2', `IsActive` = '1', `IsTransaction` = '1', `IsGL` = '1', `HeadType` = 'I', `IsBudget` = 0, `CreateBy` = '1', `CreateDate` = '2026-03-08 21:37:50'
WHERE `HeadCode` = '30204';
UPDATE `acc_coa` SET `PHeadName` = 'الدخل من خدمات التصوير والطباعة'
WHERE `PHeadName` = 'Income from Photocopy & Printing';
UPDATE `acc_coa` SET `HeadCode` = '30202', `HeadName` = 'إيرادات متنوعة', `PHeadName` = 'ايرادات اخرى', `HeadLevel` = '2', `IsActive` = '1', `IsTransaction` = '1', `IsGL` = '1', `HeadType` = 'I', `IsBudget` = 0, `CreateBy` = '1', `CreateDate` = '2026-03-08 21:38:16'
WHERE `HeadCode` = '30202';
UPDATE `acc_coa` SET `PHeadName` = 'إيرادات متنوعة'
WHERE `PHeadName` = 'Miscellaneous (Income)';
UPDATE `acc_coa` SET `HeadCode` = '30201', `HeadName` = 'مستلزمات مكتبية (دخل)', `PHeadName` = 'ايرادات اخرى', `HeadLevel` = '2', `IsActive` = '1', `IsTransaction` = '1', `IsGL` = '1', `HeadType` = 'I', `IsBudget` = 0, `CreateBy` = '1', `CreateDate` = '2026-03-08 21:38:42'
WHERE `HeadCode` = '30201';
UPDATE `acc_coa` SET `PHeadName` = 'مستلزمات مكتبية (دخل)'
WHERE `PHeadName` = 'Office Stationary (Income)';
UPDATE `acc_coa` SET `HeadCode` = '30205', `HeadName` = 'مصادر دخل أخرى (غير أكاديمية)', `PHeadName` = 'ايرادات اخرى', `HeadLevel` = '2', `IsActive` = '1', `IsTransaction` = 0, `IsGL` = '1', `HeadType` = 'I', `IsBudget` = 0, `CreateBy` = '1', `CreateDate` = '2026-03-08 21:39:07'
WHERE `HeadCode` = '30205';
UPDATE `acc_coa` SET `PHeadName` = 'مصادر دخل أخرى (غير أكاديمية)'
WHERE `PHeadName` = 'Others (Non-Academic Income)';
UPDATE `acc_coa` SET `HeadCode` = '40216', `HeadName` = 'رسوم التدقيق', `PHeadName` = 'مصروفات اخرى', `HeadLevel` = '2', `IsActive` = '1', `IsTransaction` = '1', `IsGL` = '1', `HeadType` = 'E', `IsBudget` = 0, `CreateBy` = '1', `CreateDate` = '2026-03-08 21:40:34'
WHERE `HeadCode` = '40216';
UPDATE `acc_coa` SET `PHeadName` = 'رسوم التدقيق'
WHERE `PHeadName` = 'Audit Fee';
UPDATE `acc_coa` SET `HeadCode` = '40212', `HeadName` = 'مصاريف تشغيل السيارة', `PHeadName` = 'مصروفات اخرى', `HeadLevel` = '2', `IsActive` = '1', `IsTransaction` = 0, `IsGL` = '1', `HeadType` = 'E', `IsBudget` = 0, `CreateBy` = '1', `CreateDate` = '2026-03-08 21:41:08'
WHERE `HeadCode` = '40212';
UPDATE `acc_coa` SET `PHeadName` = 'مصاريف تشغيل السيارة'
WHERE `PHeadName` = 'Car Running Expenses';
UPDATE `acc_coa` SET `HeadCode` = '40215', `HeadName` = 'توزيعات الأرباح', `PHeadName` = 'مصروفات اخرى', `HeadLevel` = '2', `IsActive` = '1', `IsTransaction` = '1', `IsGL` = '1', `HeadType` = 'E', `IsBudget` = 0, `CreateBy` = '1', `CreateDate` = '2026-03-08 21:41:37'
WHERE `HeadCode` = '40215';
UPDATE `acc_coa` SET `PHeadName` = 'توزيعات الأرباح'
WHERE `PHeadName` = 'Dividend';
UPDATE `acc_coa` SET `HeadCode` = '40201', `HeadName` = 'ضيافة/حفلات', `PHeadName` = 'مصروفات اخرى', `HeadLevel` = '2', `IsActive` = '1', `IsTransaction` = '1', `IsGL` = '1', `HeadType` = 'E', `IsBudget` = 0, `CreateBy` = '1', `CreateDate` = '2026-03-08 21:42:35'
WHERE `HeadCode` = '40201';
UPDATE `acc_coa` SET `PHeadName` = 'ضيافة/حفلات'
WHERE `PHeadName` = 'Entertainment';
UPDATE `acc_coa` SET `HeadCode` = '40210', `HeadName` = 'المصاريف المالية', `PHeadName` = 'مصروفات اخرى', `HeadLevel` = '2', `IsActive` = '1', `IsTransaction` = 0, `IsGL` = '1', `HeadType` = 'E', `IsBudget` = 0, `CreateBy` = '1', `CreateDate` = '2026-03-08 21:43:04'
WHERE `HeadCode` = '40210';
UPDATE `acc_coa` SET `PHeadName` = 'المصاريف المالية'
WHERE `PHeadName` = 'Financial Expenses';
UPDATE `acc_coa` SET `HeadCode` = '40213', `HeadName` = 'مصاريف تشغيل المولد', `PHeadName` = 'مصروفات اخرى', `HeadLevel` = '2', `IsActive` = '1', `IsTransaction` = 0, `IsGL` = '1', `HeadType` = 'E', `IsBudget` = 0, `CreateBy` = '1', `CreateDate` = '2026-03-08 21:43:33'
WHERE `HeadCode` = '40213';
UPDATE `acc_coa` SET `PHeadName` = 'مصاريف تشغيل المولد'
WHERE `PHeadName` = 'Generator Running Expenses';
UPDATE `acc_coa` SET `HeadCode` = '40205', `HeadName` = 'إيجار منزل', `PHeadName` = 'مصروفات اخرى', `HeadLevel` = '2', `IsActive` = '1', `IsTransaction` = 0, `IsGL` = '1', `HeadType` = 'E', `IsBudget` = 0, `CreateBy` = '1', `CreateDate` = '2026-03-08 21:44:02'
WHERE `HeadCode` = '40205';
UPDATE `acc_coa` SET `PHeadName` = 'إيجار منزل'
WHERE `PHeadName` = 'House Rent';
UPDATE `acc_coa` SET `HeadCode` = '40207', `HeadName` = 'مصاريف متنوعة', `PHeadName` = 'مصروفات اخرى', `HeadLevel` = '2', `IsActive` = '1', `IsTransaction` = 0, `IsGL` = '1', `HeadType` = 'E', `IsBudget` = 0, `CreateBy` = '1', `CreateDate` = '2026-03-08 21:44:38'
WHERE `HeadCode` = '40207';
UPDATE `acc_coa` SET `PHeadName` = 'مصاريف متنوعة'
WHERE `PHeadName` = 'Miscellaneous Expenses';
UPDATE `acc_coa` SET `HeadCode` = '40208', `HeadName` = 'مصاريف تطوير البرمجيات', `PHeadName` = 'مصروفات اخرى', `HeadLevel` = '2', `IsActive` = '1', `IsTransaction` = 0, `IsGL` = '1', `HeadType` = 'E', `IsBudget` = 0, `CreateBy` = '1', `CreateDate` = '2026-03-08 21:45:08'
WHERE `HeadCode` = '40208';
UPDATE `acc_coa` SET `PHeadName` = 'مصاريف تطوير البرمجيات'
WHERE `PHeadName` = 'Software Development Expenses';
UPDATE `acc_coa` SET `HeadCode` = '40211', `HeadName` = 'مصاريف أخرى (غير أكاديمية)', `PHeadName` = 'مصروفات اخرى', `HeadLevel` = '2', `IsActive` = '1', `IsTransaction` = 0, `IsGL` = '1', `HeadType` = 'E', `IsBudget` = 0, `CreateBy` = '1', `CreateDate` = '2026-03-08 21:45:34'
WHERE `HeadCode` = '40211';
UPDATE `acc_coa` SET `PHeadName` = 'مصاريف أخرى (غير أكاديمية)'
WHERE `PHeadName` = 'Others (Non Academic Expenses)';
UPDATE `acc_coa` SET `HeadCode` = '40202', `HeadName` = 'الطباعة والقرطاسية', `PHeadName` = 'مصروفات اخرى', `HeadLevel` = '2', `IsActive` = '1', `IsTransaction` = '1', `IsGL` = '1', `HeadType` = 'E', `IsBudget` = 0, `CreateBy` = '1', `CreateDate` = '2026-03-08 21:45:57'
WHERE `HeadCode` = '40202';
UPDATE `acc_coa` SET `PHeadName` = 'الطباعة والقرطاسية'
WHERE `PHeadName` = 'Printing and Stationary';
UPDATE `acc_coa` SET `HeadCode` = '40204', `HeadName` = 'مصاريف المرافق', `PHeadName` = 'مصروفات اخرى', `HeadLevel` = '2', `IsActive` = '1', `IsTransaction` = 0, `IsGL` = '1', `HeadType` = 'E', `IsBudget` = 0, `CreateBy` = '1', `CreateDate` = '2026-03-08 21:46:19'
WHERE `HeadCode` = '40204';
UPDATE `acc_coa` SET `PHeadName` = 'مصاريف المرافق'
WHERE `PHeadName` = 'Utility Expenses';
UPDATE `acc_coa` SET `HeadCode` = '40206', `HeadName` = 'مصاريف الترويج', `PHeadName` = 'مصروفات اخرى', `HeadLevel` = '2', `IsActive` = '1', `IsTransaction` = 0, `IsGL` = '1', `HeadType` = 'E', `IsBudget` = 0, `CreateBy` = '1', `CreateDate` = '2026-03-08 21:46:44'
WHERE `HeadCode` = '40206';
UPDATE `acc_coa` SET `PHeadName` = 'مصاريف الترويج'
WHERE `PHeadName` = 'Promonational Expence';
UPDATE `acc_coa` SET `HeadCode` = '40203', `HeadName` = 'السفر والنقل', `PHeadName` = 'مصروفات اخرى', `HeadLevel` = '2', `IsActive` = '1', `IsTransaction` = '1', `IsGL` = '1', `HeadType` = 'E', `IsBudget` = 0, `CreateBy` = '1', `CreateDate` = '2026-03-08 21:47:09'
WHERE `HeadCode` = '40203';
UPDATE `acc_coa` SET `PHeadName` = 'السفر والنقل'
WHERE `PHeadName` = 'Travelling & Conveyance';
UPDATE `acc_coa` SET `HeadCode` = '40214', `HeadName` = 'الإصلاح والصيانة', `PHeadName` = 'مصروفات اخرى', `HeadLevel` = '2', `IsActive` = '1', `IsTransaction` = 0, `IsGL` = '1', `HeadType` = 'E', `IsBudget` = 0, `CreateBy` = '1', `CreateDate` = '2026-03-08 21:47:31'
WHERE `HeadCode` = '40214';
UPDATE `acc_coa` SET `PHeadName` = 'الإصلاح والصيانة'
WHERE `PHeadName` = 'Repair and Maintenance';
UPDATE `acc_coa` SET `HeadCode` = '40209', `HeadName` = 'الراتب والبدلات', `PHeadName` = 'مصروفات اخرى', `HeadLevel` = '2', `IsActive` = '1', `IsTransaction` = 0, `IsGL` = '1', `HeadType` = 'E', `IsBudget` = 0, `CreateBy` = '1', `CreateDate` = '2026-03-08 21:47:53'
WHERE `HeadCode` = '40209';
UPDATE `acc_coa` SET `PHeadName` = 'الراتب والبدلات'
WHERE `PHeadName` = 'Salary & Allowances';
UPDATE `acc_coa` SET `HeadCode` = '4020501', `HeadName` = 'ضريبة الاستقطاع على إيجار المنزل', `PHeadName` = 'إيجار منزل', `HeadLevel` = '3', `IsActive` = '1', `IsTransaction` = '1', `IsGL` = 0, `HeadType` = 'E', `IsBudget` = 0, `CreateBy` = '1', `CreateDate` = '2026-03-08 21:48:39'
WHERE `HeadCode` = '4020501';
UPDATE `acc_coa` SET `PHeadName` = 'ضريبة الاستقطاع على إيجار المنزل'
WHERE `PHeadName` = 'TDS on House Rent';
UPDATE `acc_coa` SET `HeadCode` = '4020503', `HeadName` = 'ضريبة القيمة المضافة على مصروفات إيجار المنازل', `PHeadName` = 'إيجار منزل', `HeadLevel` = '3', `IsActive` = '1', `IsTransaction` = '1', `IsGL` = 0, `HeadType` = 'E', `IsBudget` = 0, `CreateBy` = '1', `CreateDate` = '2026-03-08 21:49:06'
WHERE `HeadCode` = '4020503';
UPDATE `acc_coa` SET `PHeadName` = 'ضريبة القيمة المضافة على مصروفات إيجار المنازل'
WHERE `PHeadName` = 'VAT on House Rent Exp';
UPDATE `acc_coa` SET `HeadCode` = '4020904', `HeadName` = 'راتب الموظفين المتعاقدين', `PHeadName` = 'الراتب والبدلات', `HeadLevel` = '3', `IsActive` = '1', `IsTransaction` = '1', `IsGL` = 0, `HeadType` = 'E', `IsBudget` = 0, `CreateBy` = '1', `CreateDate` = '2026-03-08 21:49:40'
WHERE `HeadCode` = '4020904';
UPDATE `acc_coa` SET `PHeadName` = 'راتب الموظفين المتعاقدين'
WHERE `PHeadName` = 'Contratuall Staff Salary';
UPDATE `acc_coa` SET `HeadCode` = '4020908', `HeadName` = 'الإجازة المستحقة', `PHeadName` = 'الراتب والبدلات', `HeadLevel` = '3', `IsActive` = '1', `IsTransaction` = '1', `IsGL` = 0, `HeadType` = 'E', `IsBudget` = 0, `CreateBy` = '1', `CreateDate` = '2026-03-08 21:50:13'
WHERE `HeadCode` = '4020908';
UPDATE `acc_coa` SET `PHeadName` = 'الإجازة المستحقة'
WHERE `PHeadName` = 'Earned Leave';
UPDATE `acc_coa` SET `HeadCode` = '4020903', `HeadName` = 'رواتب وبدلات الموظفين', `PHeadName` = 'الراتب والبدلات', `HeadLevel` = '3', `IsActive` = '1', `IsTransaction` = '1', `IsGL` = 0, `HeadType` = 'E', `IsBudget` = 0, `CreateBy` = '1', `CreateDate` = '2026-03-08 21:51:01'
WHERE `HeadCode` = '4020903';
UPDATE `acc_coa` SET `PHeadName` = 'رواتب وبدلات الموظفين'
WHERE `PHeadName` = 'Faculty,Staff Salary & Allowances';
UPDATE `acc_coa` SET `HeadCode` = '4020905', `HeadName` = 'مكافأة المهرجان والحوافز', `PHeadName` = 'الراتب والبدلات', `HeadLevel` = '3', `IsActive` = '1', `IsTransaction` = '1', `IsGL` = 0, `HeadType` = 'E', `IsBudget` = 0, `CreateBy` = '1', `CreateDate` = '2026-03-08 21:51:31'
WHERE `HeadCode` = '4020905';
UPDATE `acc_coa` SET `PHeadName` = 'مكافأة المهرجان والحوافز'
WHERE `PHeadName` = 'Festival & Incentive Bonus';
UPDATE `acc_coa` SET `HeadCode` = '4020907', `HeadName` = 'مكافأة مالية', `PHeadName` = 'الراتب والبدلات', `HeadLevel` = '3', `IsActive` = '1', `IsTransaction` = '1', `IsGL` = 0, `HeadType` = 'E', `IsBudget` = 0, `CreateBy` = '1', `CreateDate` = '2026-03-08 21:52:02'
WHERE `HeadCode` = '4020907';
UPDATE `acc_coa` SET `PHeadName` = 'مكافأة مالية'
WHERE `PHeadName` = 'Honorarium';
UPDATE `acc_coa` SET `HeadCode` = '4020901', `HeadName` = 'بدل طبي', `PHeadName` = 'الراتب والبدلات', `HeadLevel` = '3', `IsActive` = '1', `IsTransaction` = '1', `IsGL` = 0, `HeadType` = 'E', `IsBudget` = 0, `CreateBy` = '1', `CreateDate` = '2026-03-08 21:52:56'
WHERE `HeadCode` = '4020901';
UPDATE `acc_coa` SET `PHeadName` = 'بدل طبي'
WHERE `PHeadName` = 'Medical Allowance';
UPDATE `acc_coa` SET `HeadCode` = '4020909', `HeadName` = 'مزايا متنوعة', `PHeadName` = 'الراتب والبدلات', `HeadLevel` = '3', `IsActive` = '1', `IsTransaction` = '1', `IsGL` = 0, `HeadType` = 'E', `IsBudget` = 0, `CreateBy` = '1', `CreateDate` = '2026-03-08 21:53:26'
WHERE `HeadCode` = '4020909';
UPDATE `acc_coa` SET `PHeadName` = 'مزايا متنوعة'
WHERE `PHeadName` = 'Miscellaneous Benifit';
UPDATE `acc_coa` SET `HeadCode` = '4020910', `HeadName` = 'رواتب معلقة', `PHeadName` = 'الراتب والبدلات', `HeadLevel` = '3', `IsActive` = '1', `IsTransaction` = '1', `IsGL` = 0, `HeadType` = 'E', `IsBudget` = 0, `CreateBy` = '1', `CreateDate` = '2026-03-08 21:54:58'
WHERE `HeadCode` = '4020910';
UPDATE `acc_coa` SET `PHeadName` = 'رواتب معلقة'
WHERE `PHeadName` = 'Outstanding Salary';
UPDATE `acc_coa` SET `HeadCode` = '4020902', `HeadName` = 'راتب الموظفين بدوام جزئي', `PHeadName` = 'الراتب والبدلات', `HeadLevel` = '3', `IsActive` = '1', `IsTransaction` = '1', `IsGL` = 0, `HeadType` = 'E', `IsBudget` = 0, `CreateBy` = '1', `CreateDate` = '2026-03-08 21:55:26'
WHERE `HeadCode` = '4020902';
UPDATE `acc_coa` SET `PHeadName` = 'راتب الموظفين بدوام جزئي'
WHERE `PHeadName` = 'Part-time Staff Salary';
UPDATE `acc_coa` SET `HeadCode` = '4020906', `HeadName` = 'بدلات خاصة', `PHeadName` = 'الراتب والبدلات', `HeadLevel` = '3', `IsActive` = '1', `IsTransaction` = '1', `IsGL` = 0, `HeadType` = 'E', `IsBudget` = 0, `CreateBy` = '1', `CreateDate` = '2026-03-08 21:55:51'
WHERE `HeadCode` = '4020906';
UPDATE `acc_coa` SET `PHeadName` = 'بدلات خاصة'
WHERE `PHeadName` = 'Special Allowances';
UPDATE `user` SET `last_login` = '2026-03-09 20:35:16', `ip_address` = '127.0.0.1'
WHERE `id` = '1';
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
INSERT INTO `warehouse` (`warehouse_id`, `warehouse_name`, `warehouse_code`, `warehouse_phone`, `warehouse_address`, `store_id`, `createby`, `createdate`, `isactive`) VALUES ('', 'مستودع تجريبي', 'xxdd', '7766555440', 'ااالل', '2', '1', '2026-03-09 22:35:28', 1);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Warehouse', 'create', 'Warehouse ID :4', '1', '2026-03-09 22:35:29');
INSERT INTO `purchase_order` (`po_no`, `supplier_id`, `total_amnt`, `store_id`, `warehouse_id`, `createby`, `createdate`, `isapproved`) VALUES ('20260309233817', '1', '33000.00', 0, 0, '1', '2026-03-09 23:38:17', 0);
INSERT INTO `purchase_order_details` (`row_id`, `po_no`, `product_id`, `order_qty`, `product_rate`, `discount`, `store_id`) VALUES ('391832875681711', '20260309233817', '1', '30', '1100', '', '2');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('purchase order', 'create', 'Orde Id-20260309233817 total amount-33000.00', '1', '2026-03-09 23:38:17');
INSERT INTO `purchase_receive` (`receive_id`, `po_no`, `supplier_id`, `store_id`, `warehouse_id`, `voucher_no`, `receive_by`, `receive_date`) VALUES ('20260309233902', '20260309233817', '1', 0, 0, 1004, '1', '2026-03-09');
INSERT INTO `purchase_receive_details` (`receive_id`, `product_id`, `receive_qty`, `product_rate`, `store_id`, `discount`) VALUES ('20260309233902', '1', '30', '1100', '2', '');
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('20260309233817', 'PO', '2026-03-09', 10107, 'PO Receive Receive No 20260309233902', '33000.00', 0, '2', 1, '1', '2026-03-09', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('20260309233817', 'PO', '2026-03-09', '5020200008', 'PO received For PO No.20260309233817 Receive No.20260309233902', 0, '33000.00', NULL, 1, '1', '2026-03-09', 1);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('purchase order receive', 'create', 'Order Id- total amount-33000.00', '1', '2026-03-09 23:39:04');
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
UPDATE `user` SET `last_login` = '2026-03-10 04:36:48', `ip_address` = '127.0.0.1'
WHERE `id` = '1';
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
UPDATE `user` SET `last_login` = '2026-03-10 19:55:21', `ip_address` = '127.0.0.1'
WHERE `id` = '1';
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
ALTER TABLE `language`
	ADD `for_warehouse` TEXT;
INSERT INTO `language` (`phrase`) VALUES ('for_warehouse');
INSERT INTO `language` (`phrase`) VALUES ('from_warehouse');
UPDATE `language` SET `arabic` = 'سؤال'
WHERE `phrase` = 'enquiry';
UPDATE `language` SET `arabic` = 'معلومات الاستفسار'
WHERE `phrase` = 'enquiry_information';
UPDATE `language` SET `arabic` = 'مفضلة'
WHERE `phrase` = 'favicon';
UPDATE `language` SET `arabic` = 'اسم الملف'
WHERE `phrase` = 'filename';
UPDATE `language` SET `arabic` = 'معلومات الملف'
WHERE `phrase` = 'file_information';
UPDATE `language` SET `arabic` = 'التسوية النهائية'
WHERE `phrase` = 'final_settlement';
UPDATE `language` SET `arabic` = 'خصم التسوية النهائية'
WHERE `phrase` = 'final_settlement_discount';
UPDATE `language` SET `arabic` = 'بجـث'
WHERE `phrase` = 'find';
UPDATE `language` SET `arabic` = 'الاسم الاول'
WHERE `phrase` = 'firstname';
UPDATE `language` SET `arabic` = 'نص الفوتر'
WHERE `phrase` = 'footer_text';
UPDATE `language` SET `arabic` = 'الى متجر'
WHERE `phrase` = 'for_store';
UPDATE `language` SET `arabic` = 'الى مستودع'
WHERE `phrase` = 'for_warehouse';
UPDATE `language` SET `arabic` = 'من تاريخ'
WHERE `phrase` = 'from_date';
UPDATE `language` SET `arabic` = 'من متجر'
WHERE `phrase` = 'from_store';
UPDATE `language` SET `arabic` = 'من مستودع'
WHERE `phrase` = 'from_warehouse';
UPDATE `language` SET `arabic` = 'تصحيح أخطاء بروتوكول نقل الملفات (FTP)'
WHERE `phrase` = 'ftp_debug';
UPDATE `language` SET `arabic` = 'بورت  بروتوكول نقل الملفات (FTP)'
WHERE `phrase` = 'ftp_port';
UPDATE `language` SET `arabic` = 'اعدادات بروتوكول نقل الملفات (FTP)'
WHERE `phrase` = 'ftp_setting';
UPDATE `language` SET `arabic` = 'دفتر الأستاذ العام'
WHERE `phrase` = 'general_ledger';
UPDATE `language` SET `arabic` = 'دفتر الأستاذ العام لـ'
WHERE `phrase` = 'general_ledger_of';
UPDATE `language` SET `arabic` = 'المجموع الإجمالي'
WHERE `phrase` = 'grand_total';
UPDATE `language` SET `arabic` = 'الضامن'
WHERE `phrase` = 'gurrantor';
UPDATE `language` SET `arabic` = 'الضامن 1'
WHERE `phrase` = 'gurrantor1';
UPDATE `language` SET `arabic` = 'الضامن 2'
WHERE `phrase` = 'gurrantor2';
UPDATE `language` SET `arabic` = 'عنوان الضامن'
WHERE `phrase` = 'gurrantor_address';
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
INSERT INTO `stock_movement` (`proposal_code`, `for_store_id`, `from_store_id`, `for_warehouse`, `from_warehouse`, `proposal_datetime`, `proposal_by`) VALUES ('p-5', '2', '1', '4', '1', '2026-03-10', '1');
INSERT INTO `stock_movement_details` (`movement_id`, `product_id`, `proposal_qty`) VALUES (5, '1', '7');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Stockmovment', 'create', 'Stockmovment ID :5', '1', '2026-03-10 20:19:41');
UPDATE `stock_movement` SET `movement_id` = '5', `is_approved` = 1
WHERE `movement_id` = '5';
UPDATE `stock_movement` SET `movement_id` = '5', `proposal_code` = 'p-5', `for_store_id` = '2', `from_store_id` = '1', `proposal_datetime` = '2026-03-10', `proposal_by` = '1', `issue_by` = '1', `for_warehouse` = 0, `from_warehouse` = 0, `issue_code` = 'is-5', `issue_datetime` = '2026-03-10 20:43:54', `issue_remarks` = '', `is_issued` = 1, `is_approved` = 1
WHERE `movement_id` = '5';
UPDATE `stock_movement_details` SET `movement_id` = '5', `product_id` = '1', `proposal_qty` = '7', `issue_qty` = '5', `received_qty` = 0
WHERE `movement_id` = '5'
AND `product_id` = '1';
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Stockmovment', 'issue', 'Stockmovment ID :5', '1', '2026-03-10 20:43:55');
UPDATE `stock_movement` SET `movement_id` = '5', `proposal_code` = 'p-5', `for_store_id` = '2', `from_store_id` = '1', `proposal_by` = '1', `issue_by` = '1', `for_warehouse` = 0, `from_warehouse` = 0, `issue_code` = 'is-5', `issue_remarks` = NULL, `is_issued` = 1, `is_received` = 1, `is_proposed` = 1, `receive_by` = '1', `receive_datetime` = '2026-03-10 20:56:11'
WHERE `movement_id` = '5';
UPDATE `stock_movement_details` SET `movement_id` = '5', `product_id` = '1', `proposal_qty` = '7', `issue_qty` = '5', `received_qty` = '5'
WHERE `movement_id` = '5'
AND `product_id` = '1';
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('stockmovement ', 'create', 'movemet received', '1', '2026-03-10 20:56:11');
DELETE FROM `lease`
WHERE `lease_id` = '13';
DELETE FROM `lease_product_map`
WHERE `lease_id` = '13';
DELETE FROM `lease_store_map`
WHERE `lease_id` = '13';
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Lease ', 'delete', 'Lease Id-13', '1', '2026-03-10 21:02:07');
DELETE FROM `lease`
WHERE `lease_id` = '12';
DELETE FROM `lease_product_map`
WHERE `lease_id` = '12';
DELETE FROM `lease_store_map`
WHERE `lease_id` = '12';
DELETE FROM `lease`
WHERE `lease_id` = '11';
DELETE FROM `lease_product_map`
WHERE `lease_id` = '11';
DELETE FROM `lease_store_map`
WHERE `lease_id` = '11';
DELETE FROM `purchase_order`
WHERE `po_no` = '20260303213642';
DELETE FROM `purchase_order_details`
WHERE `po_no` = '20260303213642';
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('purchase order', 'delete', 'Orde Id-20260303213642', '1', '2026-03-10 21:02:43');
DELETE FROM `purchase_receive`
WHERE `receive_id` = '20260309233902';
DELETE FROM `purchase_receive_details`
WHERE `receive_id` = '20260309233902';
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('purchase Receive', 'delete', 'Receive Id-20260309233902', '1', '2026-03-10 21:03:00');
DELETE FROM `purchase_receive`
WHERE `receive_id` = '20260305220141';
DELETE FROM `purchase_receive_details`
WHERE `receive_id` = '20260305220141';
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('purchase Receive', 'delete', 'Receive Id-20260305220141', '1', '2026-03-10 21:03:07');
DELETE FROM `purchase_receive`
WHERE `receive_id` = '20260305220102';
DELETE FROM `purchase_receive_details`
WHERE `receive_id` = '20260305220102';
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('purchase Receive', 'delete', 'Receive Id-20260305220102', '1', '2026-03-10 21:03:14');
DELETE FROM `purchase_receive`
WHERE `receive_id` = '20260303221518';
DELETE FROM `purchase_receive_details`
WHERE `receive_id` = '20260303221518';
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('purchase Receive', 'delete', 'Receive Id-20260303221518', '1', '2026-03-10 21:03:22');
DELETE FROM `purchase_receive`
WHERE `receive_id` = '20260301030717';
DELETE FROM `purchase_receive_details`
WHERE `receive_id` = '20260301030717';
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('purchase Receive', 'delete', 'Receive Id-20260301030717', '1', '2026-03-10 21:03:29');
DELETE FROM `product`
WHERE `product_id` = '2';
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Product', 'delete', 'product ID :2', '1', '2026-03-10 21:03:55');
DELETE FROM `product`
WHERE `product_id` = '1';
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Product', 'delete', 'product ID :1', '1', '2026-03-10 21:04:01');
DELETE FROM `stock_movement`
WHERE `movement_id` = '5';
DELETE FROM `stock_movement_details`
WHERE `movement_id` = '5';
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Stockmovment', 'delete', 'Stockmovment ID :5', '1', '2026-03-10 21:05:02');
DELETE FROM `stock_movement`
WHERE `movement_id` = '5';
DELETE FROM `stock_movement_details`
WHERE `movement_id` = '5';
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Stockmovment', 'delete', 'Stockmovment ID :5', '1', '2026-03-10 21:05:11');
DELETE FROM `stock_movement`
WHERE `movement_id` = '4';
DELETE FROM `stock_movement_details`
WHERE `movement_id` = '4';
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Stockmovment', 'delete', 'Stockmovment ID :4', '1', '2026-03-10 21:05:17');
DELETE FROM `stock_movement`
WHERE `movement_id` = '4';
DELETE FROM `stock_movement_details`
WHERE `movement_id` = '4';
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Stockmovment', 'delete', 'Stockmovment ID :4', '1', '2026-03-10 21:05:30');
DELETE FROM `stock_movement`
WHERE `movement_id` = '3';
DELETE FROM `stock_movement_details`
WHERE `movement_id` = '3';
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Stockmovment', 'delete', 'Stockmovment ID :3', '1', '2026-03-10 21:05:36');
DELETE FROM `stock_movement`
WHERE `movement_id` = '3';
DELETE FROM `stock_movement_details`
WHERE `movement_id` = '3';
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Stockmovment', 'delete', 'Stockmovment ID :3', '1', '2026-03-10 21:05:42');
DELETE FROM `stock_movement`
WHERE `movement_id` = '2';
DELETE FROM `stock_movement_details`
WHERE `movement_id` = '2';
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Stockmovment', 'delete', 'Stockmovment ID :2', '1', '2026-03-10 21:05:59');
DELETE FROM `stock_movement`
WHERE `movement_id` = '2';
DELETE FROM `stock_movement_details`
WHERE `movement_id` = '2';
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Stockmovment', 'delete', 'Stockmovment ID :2', '1', '2026-03-10 21:06:07');
DELETE FROM `stock_movement`
WHERE `movement_id` = '1';
DELETE FROM `stock_movement_details`
WHERE `movement_id` = '1';
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Stockmovment', 'delete', 'Stockmovment ID :1', '1', '2026-03-10 21:06:13');
DELETE FROM `warehouse`
WHERE `warehouse_id` = '4';
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Warehouse', 'delete', 'Warehouse ID :4', '1', '2026-03-10 21:06:42');
DELETE FROM `warehouse`
WHERE `warehouse_id` = '3';
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Warehouse', 'delete', 'Warehouse ID :3', '1', '2026-03-10 21:06:48');
DELETE FROM `warehouse`
WHERE `warehouse_id` = '2';
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Warehouse', 'delete', 'Warehouse ID :2', '1', '2026-03-10 21:06:55');
DELETE FROM `warehouse`
WHERE `warehouse_id` = '1';
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Warehouse', 'delete', 'Warehouse ID :1', '1', '2026-03-10 21:07:00');
DELETE FROM `purchase_order`
WHERE `po_no` = '20260309233817';
DELETE FROM `purchase_order_details`
WHERE `po_no` = '20260309233817';
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('purchase order', 'delete', 'Orde Id-20260309233817', '1', '2026-03-10 21:07:26');
DELETE FROM `purchase_order`
WHERE `po_no` = '20260301030626';
DELETE FROM `purchase_order_details`
WHERE `po_no` = '20260301030626';
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('purchase order', 'delete', 'Orde Id-20260301030626', '1', '2026-03-10 21:07:32');
INSERT INTO `language` (`phrase`) VALUES ('product_price');
UPDATE `language` SET `arabic` = 'سعر المنتج'
WHERE `phrase` = 'product_price';
UPDATE `language` SET `arabic` = 'البروفايل'
WHERE `phrase` = 'profile';
UPDATE `language` SET `arabic` = 'اعداد البروفايل'
WHERE `phrase` = 'profile_setting';
UPDATE `language` SET `arabic` = 'الربح/الخسارة'
WHERE `phrase` = 'profit_loss';
UPDATE `language` SET `arabic` = 'جذر المشروع'
WHERE `phrase` = 'project_root';
UPDATE `language` SET `arabic` = 'رمز الاقتراح'
WHERE `phrase` = 'proposal_code';
UPDATE `language` SET `arabic` = 'تاريخ تقديم الاقتراح'
WHERE `phrase` = 'proposal_datetime';
UPDATE `language` SET `arabic` = 'الكمية المقترحة'
WHERE `phrase` = 'proposal_qty';
UPDATE `language` SET `arabic` = 'مقترح من قبل'
WHERE `phrase` = 'proposed_by';
UPDATE `language` SET `arabic` = 'أمر شراء'
WHERE `phrase` = 'purchase_order';
UPDATE `language` SET `arabic` = 'سعر الشراء'
WHERE `phrase` = 'purchase_price';
UPDATE `language` SET `arabic` = 'كمية الشراء'
WHERE `phrase` = 'purchase_qty';
UPDATE `language` SET `arabic` = 'مرتجع المشتريات'
WHERE `phrase` = 'purchase_return';
UPDATE `language` SET `arabic` = 'قائمة مرتجع المشتريات'
WHERE `phrase` = 'purchase_return_list';
UPDATE `language` SET `arabic` = 'مراجعة عملية الشراء والإرجاع'
WHERE `phrase` = 'purchase_return_view';
UPDATE `language` SET `arabic` = 'السعر الحالي'
WHERE `phrase` = 'pur_price';
UPDATE `language` SET `arabic` = 'الكمية'
WHERE `phrase` = 'qty';
UPDATE `language` SET `arabic` = 'الكمية'
WHERE `phrase` = 'quantity';
UPDATE `language` SET `arabic` = 'قراءة'
WHERE `phrase` = 'read';
UPDATE `language` SET `arabic` = 'المقروء  وغير المقروء'
WHERE `phrase` = 'read_unread';
UPDATE `language` SET `arabic` = 'سبب'
WHERE `phrase` = 'reason';
UPDATE `language` SET `arabic` = 'إيصال مدفوعات'
WHERE `phrase` = 'receipt_payment';
UPDATE `language` SET `arabic` = 'استلام'
WHERE `phrase` = 'receive';
UPDATE `language` SET `arabic` = 'اسم المستقبل'
WHERE `phrase` = 'receiver_name';
UPDATE `language` SET `arabic` = 'استلام المبلغ'
WHERE `phrase` = 'receive_amnt';
UPDATE `language` SET `arabic` = 'المبلغ الإجمالي'
WHERE `phrase` = 'total_amount';
UPDATE `language` SET `arabic` = 'اجمالي البنك'
WHERE `phrase` = 'total_bank';
UPDATE `language` SET `arabic` = 'اجمالي النقد'
WHERE `phrase` = 'total_cash';
UPDATE `language` SET `arabic` = 'إجمالي مبلغ الباقة'
WHERE `phrase` = 'total_package_amount';
UPDATE `language` SET `arabic` = 'سعر العبوة الإجمالي'
WHERE `phrase` = 'total_pack_price';
UPDATE `language` SET `arabic` = 'إجمالي المبلغ المستحق'
WHERE `phrase` = 'total_payable';
UPDATE `language` SET `arabic` = 'إجمالي المستحقات'
WHERE `phrase` = 'total_receivable';
UPDATE `language` SET `arabic` = 'إجمالي_الاستلام'
WHERE `phrase` = 'total_receive';
UPDATE `language` SET `arabic` = 'حتى تاريخ'
WHERE `phrase` = 'to_date';
UPDATE `language` SET `arabic` = 'ميزان المراجعة'
WHERE `phrase` = 'trial_balance';
UPDATE `language` SET `arabic` = 'اسم الوحدة'
WHERE `phrase` = 'um';
UPDATE `language` SET `arabic` = 'تعذر تنزيل الملف، يرجى التحقق من الإعدادات'
WHERE `phrase` = 'unable_to_download_file_please_check_configuration';
UPDATE `language` SET `arabic` = 'تعذر استيراد البيانات، يرجى التحقق من ملف الإعدادات أو ملف SQL'
WHERE `phrase` = 'unable_to_import_data_please_check_config_or_sql_file';
UPDATE `language` SET `arabic` = 'تعذر تحميل الملف! يرجى التحقق من الإعدادات'
WHERE `phrase` = 'unable_to_upload_file_please_check_configuration';
UPDATE `language` SET `arabic` = 'الغاء التثبيت'
WHERE `phrase` = 'uninstall';
UPDATE `language` SET `arabic` = 'الوحدة'
WHERE `phrase` = 'unit';
UPDATE `language` SET `arabic` = 'قائمة الوحدات'
WHERE `phrase` = 'unit_list';
UPDATE `language` SET `arabic` = 'اسم وحدة القياس'
WHERE `phrase` = 'unit_name';
UPDATE `language` SET `arabic` = 'تعديل'
WHERE `phrase` = 'update';
UPDATE `language` SET `arabic` = 'تحديث قسيمة الدائن'
WHERE `phrase` = 'update_credit_voucher';
UPDATE `language` SET `arabic` = 'تحديث قسيمة المدين'
WHERE `phrase` = 'update_debit_voucher';
UPDATE `language` SET `arabic` = 'تحديث عقد الإيجار'
WHERE `phrase` = 'update_lease';
UPDATE `language` SET `arabic` = 'تحديث أذونات المودل'
WHERE `phrase` = 'update_module_permission';
UPDATE `language` SET `arabic` = 'تم التعديل بنجاح'
WHERE `phrase` = 'update_successfully';
UPDATE `language` SET `arabic` = 'تحميل بنجاح'
WHERE `phrase` = 'upload_successfully';
UPDATE `language` SET `arabic` = 'الاستلام بواسطة'
WHERE `phrase` = 'receive_by';
UPDATE `language` SET `arabic` = 'تاريخ الاستلام'
WHERE `phrase` = 'receive_date';
UPDATE `language` SET `arabic` = 'قائمة الاستلامات'
WHERE `phrase` = 'receive_list';
UPDATE `language` SET `arabic` = 'كمية الاستلام'
WHERE `phrase` = 'receive_qty';
UPDATE `language` SET `arabic` = 'كمية الاستلام'
WHERE `phrase` = 'receive_quantity';
UPDATE `language` SET `arabic` = 'استعادة'
WHERE `phrase` = 'recovery';
UPDATE `language` SET `arabic` = 'قائمة الاسترداد'
WHERE `phrase` = 'recovery_list';
UPDATE `language` SET `arabic` = 'تقرير قائمة الاسترداد'
WHERE `phrase` = 'recovery_list_rpt';
UPDATE `language` SET `arabic` = 'تم استلام المبلغ المسترجع'
WHERE `phrase` = 'recovery_received';
UPDATE `language` SET `arabic` = 'تقرير الاسترداد'
WHERE `phrase` = 'recovery_report';
UPDATE `language` SET `arabic` = 'تقرير ملخص الاسترداد'
WHERE `phrase` = 'recovery_summary_report';
UPDATE `language` SET `arabic` = 'تقرير ملخص الاسترداد حسب التاريخ'
WHERE `phrase` = 'recovery_summary_report_datewise';
UPDATE `language` SET `arabic` = 'المبلغ المتبقي'
WHERE `phrase` = 'remaining';
UPDATE `language` SET `arabic` = 'المبلغ المتبقي'
WHERE `phrase` = 'remaining_amnt';
UPDATE `language` SET `arabic` = 'المبلغ المتبقي'
WHERE `phrase` = 'remaining_amount';
UPDATE `language` SET `arabic` = 'الحساب المتبقي'
WHERE `phrase` = 'remaning_ac';
UPDATE `language` SET `arabic` = 'المبلغ المتبقي'
WHERE `phrase` = 'remaning_amount';
UPDATE `language` SET `arabic` = 'ملاحظة'
WHERE `phrase` = 'remark';
UPDATE `language` SET `arabic` = 'تمت الإزالة بنجاح'
WHERE `phrase` = 'remove_successfully';
UPDATE `language` SET `arabic` = 'تقرير'
WHERE `phrase` = 'report';
UPDATE `language` SET `arabic` = 'تقارير'
WHERE `phrase` = 'reports';
UPDATE `language` SET `arabic` = 'يتطلب التثبيت'
WHERE `phrase` = 'require_install';
UPDATE `language` SET `arabic` = 'الغاء'
WHERE `phrase` = 'reset';
UPDATE `language` SET `arabic` = 'استعادة الآن'
WHERE `phrase` = 'restore_now';
UPDATE `language` SET `arabic` = 'تمت الاستعادة بنجاح'
WHERE `phrase` = 'restore_successfully';
UPDATE `language` SET `arabic` = 'اضافة مستودع'
WHERE `phrase` = 'add_warehouse';
UPDATE `language` SET `arabic` = 'مسؤل'
WHERE `phrase` = 'admin';
UPDATE `language` SET `arabic` = 'مقدم/سلفة'
WHERE `phrase` = 'advance';
UPDATE `language` SET `arabic` = 'المبلغ المدفوع مقدماً'
WHERE `phrase` = 'advance_amount';
UPDATE `language` SET `arabic` = 'جميع القسائم'
WHERE `phrase` = 'all_voucher';
UPDATE `language` SET `arabic` = 'المبلغ'
WHERE `phrase` = 'amount';
UPDATE `language` SET `arabic` = 'المبلغ يساوي'
WHERE `phrase` = 'amount_equal';
UPDATE `language` SET `arabic` = 'الملبغ اكبر من'
WHERE `phrase` = 'amount_greater_than';
UPDATE `language` SET `arabic` = 'المبلغ اقل من'
WHERE `phrase` = 'amount_less_than';
UPDATE `language` SET `arabic` = 'الإنجاز حسب الكمية'
WHERE `phrase` = 'amount_wise_achivement';
UPDATE `language` SET `arabic` = 'إعدادات التطبيق'
WHERE `phrase` = 'application_setting';
UPDATE `language` SET `arabic` = 'عنوان التطبيق'
WHERE `phrase` = 'application_title';
UPDATE `language` SET `arabic` = 'موافقة'
WHERE `phrase` = 'approved';
UPDATE `language` SET `arabic` = 'هل انت متاكد'
WHERE `phrase` = 'are_you_sure';
UPDATE `language` SET `arabic` = 'تعيين الدور'
WHERE `phrase` = 'assign_role';
UPDATE `language` SET `arabic` = 'ممكن'
WHERE `phrase` = 'available';
UPDATE `language` SET `arabic` = 'نسخة احتياطي'
WHERE `phrase` = 'backup';
UPDATE `language` SET `arabic` = 'النسخ الاحتياطي والاستعادة'
WHERE `phrase` = 'backup_and_restore';
UPDATE `language` SET `arabic` = 'تاريخ النسخ الاحتياطي'
WHERE `phrase` = 'backup_date';
UPDATE `language` SET `arabic` = 'النسخ الاحتياطي الآن'
WHERE `phrase` = 'backup_now';
UPDATE `language` SET `arabic` = 'تم النسخ الاحتياطي بنجاح'
WHERE `phrase` = 'backup_successfully';
UPDATE `language` SET `arabic` = 'كمية الرصيد'
WHERE `phrase` = 'balance_qty';
UPDATE `language` SET `arabic` = 'دفتر البنك'
WHERE `phrase` = 'bank_book';
UPDATE `language` SET `arabic` = 'سعر الجملة'
WHERE `phrase` = 'block_price';
UPDATE `language` SET `arabic` = 'سعر بوليصة الشحن'
WHERE `phrase` = 'bl_price';
INSERT INTO `warehouse` (`warehouse_id`, `warehouse_name`, `warehouse_code`, `warehouse_phone`, `warehouse_address`, `store_id`, `createby`, `createdate`, `isactive`) VALUES ('', 'المستودع الرائيسي', 'we_1', '7766555447', 'شارع الثلاثين', '2', '1', '2026-03-10 21:53:24', 1);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Warehouse', 'create', 'Warehouse ID :5', '1', '2026-03-10 21:53:24');
INSERT INTO `product_unit` (`unit_id`, `unit_name`, `isactive`) VALUES ('', 'لايوجد وحدة', 1);
INSERT INTO `product_brand` (`brand_id`, `brand_name`, `isactive`) VALUES ('', 'لايوجد ماركة', 1);
INSERT INTO `product` (`product_id`, `product_name`, `product_code`, `model`, `category`, `brand`, `unit`, `product_details`, `purchase_price`, `block_price`, `minimum_price`, `retail_price`, `createby`, `createdate`, `updateby`, `updatedate`, `isactive`) VALUES ('', 'مواد غذائية-هائل سعيد-موديل 2015', 'pro-1001', '1', '1', '2', '3', '', '0', '0', '0', '0', '1', '2026-03-10 22:21:20', '', '', 1);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Product', 'create', 'product ID :3', '1', '2026-03-10 22:21:20');
INSERT INTO `product` (`product_id`, `product_name`, `product_code`, `model`, `category`, `brand`, `unit`, `product_details`, `purchase_price`, `block_price`, `minimum_price`, `retail_price`, `createby`, `createdate`, `updateby`, `updatedate`, `isactive`) VALUES ('', 'حبر طابعة ابسون', 'pro-1002', '2', '2', '3', '3', '', '0', '0', '0', '0', '1', '2026-03-10 22:26:38', '', '', 1);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Product', 'create', 'product ID :4', '1', '2026-03-10 22:26:39');
DELETE FROM `product`
WHERE `product_id` = '3';
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Product', 'delete', 'product ID :3', '1', '2026-03-10 22:26:54');
INSERT INTO `product` (`product_id`, `product_name`, `product_code`, `model`, `category`, `brand`, `unit`, `product_details`, `purchase_price`, `block_price`, `minimum_price`, `retail_price`, `createby`, `createdate`, `updateby`, `updatedate`, `isactive`) VALUES ('', 'لابتوب سيمنس', 'pro-1003', '2', '2', '3', '3', '', '500000', '500000', '500000', '500000', '1', '2026-03-10 22:47:56', '', '', 1);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Product', 'create', 'product ID :5', '1', '2026-03-10 22:47:56');
INSERT INTO `purchase_order` (`po_no`, `supplier_id`, `total_amnt`, `store_id`, `warehouse_id`, `createby`, `createdate`, `isapproved`) VALUES ('20260310225046', '1', '502000.00', 0, 0, '1', '2026-03-10 22:50:46', 0);
INSERT INTO `purchase_order_details` (`row_id`, `po_no`, `product_id`, `order_qty`, `product_rate`, `discount`, `store_id`) VALUES ('176469133868812', '20260310225046', '', '10', '50200', '', '1');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('purchase order', 'create', 'Orde Id-20260310225046 total amount-502000.00', '1', '2026-03-10 22:50:46');
INSERT INTO `purchase_order` (`po_no`, `supplier_id`, `total_amnt`, `store_id`, `warehouse_id`, `createby`, `createdate`, `isapproved`) VALUES ('20260310231513', '1', '450900.00', 0, '5', '1', '2026-03-10 23:15:13', 0);
INSERT INTO `purchase_order_details` (`row_id`, `po_no`, `product_id`, `order_qty`, `product_rate`, `discount`, `store_id`, `warehouse_id`) VALUES ('872765472641533', '20260310231513', '', '9', '50100', '', '1', '5');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('purchase order', 'create', 'Orde Id-20260310231513 total amount-450900.00', '1', '2026-03-10 23:15:14');
INSERT INTO `purchase_order` (`po_no`, `supplier_id`, `total_amnt`, `store_id`, `warehouse_id`, `createby`, `createdate`, `isapproved`) VALUES ('20260310232704', '1', '9000.00', Array, '5', '1', '2026-03-10 23:27:04', 0);
INSERT INTO `purchase_order_details` (`row_id`, `po_no`, `product_id`, `order_qty`, `product_rate`, `discount`, `store_id`, `warehouse_id`) VALUES ('221945966219514', '20260310232704', '', '9', '1000', '', '1', '5');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('purchase order', 'create', 'Orde Id-20260310232704 total amount-9000.00', '1', '2026-03-10 23:27:04');
INSERT INTO `purchase_order` (`po_no`, `supplier_id`, `total_amnt`, `store_id`, `warehouse_id`, `createby`, `createdate`, `isapproved`) VALUES ('20260310232940', '1', '27000.00', Array, Array, '1', '2026-03-10 23:29:40', 0);
INSERT INTO `purchase_order_details` (`row_id`, `po_no`, `product_id`, `order_qty`, `product_rate`, `discount`, `store_id`, `warehouse_id`) VALUES ('975146118766668', '20260310232940', '', '9', '3000', '', '1', '5');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('purchase order', 'create', 'Orde Id-20260310232940 total amount-27000.00', '1', '2026-03-10 23:29:40');
INSERT INTO `purchase_order` (`po_no`, `supplier_id`, `total_amnt`, `store_id`, `warehouse_id`, `createby`, `createdate`, `isapproved`) VALUES ('20260310233616', '1', '5000000.00', Array, Array, '1', '2026-03-10 23:36:16', 0);
INSERT INTO `purchase_order_details` (`row_id`, `po_no`, `product_id`, `order_qty`, `product_rate`, `discount`, `store_id`, `warehouse_id`) VALUES ('481669835926638', '20260310233616', '5', '10', '500000', '', '2', '5');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('purchase order', 'create', 'Orde Id-20260310233616 total amount-5000000.00', '1', '2026-03-10 23:36:16');
INSERT INTO `purchase_order` (`po_no`, `supplier_id`, `total_amnt`, `store_id`, `warehouse_id`, `createby`, `createdate`, `isapproved`) VALUES ('20260310235601', '1', '5000000.00', 0, Array, '1', '2026-03-10 23:56:01', 0);
INSERT INTO `purchase_order_details` (`row_id`, `po_no`, `product_id`, `order_qty`, `product_rate`, `discount`, `store_id`, `warehouse_id`) VALUES ('916421913784631', '20260310235601', '5', '10', '500000', '', '1', '5');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('purchase order', 'create', 'Orde Id-20260310235601 total amount-5000000.00', '1', '2026-03-10 23:56:01');
INSERT INTO `purchase_order` (`po_no`, `supplier_id`, `total_amnt`, `store_id`, `warehouse_id`, `createby`, `createdate`, `isapproved`) VALUES ('20260310235825', '1', '5000000.00', Array, Array, '1', '2026-03-10 23:58:25', 0);
INSERT INTO `purchase_order_details` (`row_id`, `po_no`, `product_id`, `order_qty`, `product_rate`, `discount`, `store_id`, `warehouse_id`) VALUES ('367137554123692', '20260310235825', '5', '10', '500000', '', '1', '5');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('purchase order', 'create', 'Orde Id-20260310235825 total amount-5000000.00', '1', '2026-03-10 23:58:25');
INSERT INTO `purchase_order` (`po_no`, `supplier_id`, `total_amnt`, `store_id`, `warehouse_id`, `createby`, `createdate`, `isapproved`) VALUES ('20260311000157', '1', '5000000.00', Array, Array, '1', '2026-03-11 00:01:57', 0);
INSERT INTO `purchase_order_details` (`row_id`, `po_no`, `product_id`, `order_qty`, `product_rate`, `discount`, `store_id`) VALUES ('768534721178757', '20260311000157', '5', '10', '500000', '', '1');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('purchase order', 'create', 'Orde Id-20260311000157 total amount-5000000.00', '1', '2026-03-11 00:01:57');
INSERT INTO `purchase_order` (`po_no`, `supplier_id`, `total_amnt`, `store_id`, `warehouse_id`, `createby`, `createdate`, `isapproved`) VALUES ('20260311000327', '1', '5000000.00', 0, 0, '1', '2026-03-11 00:03:27', 0);
INSERT INTO `purchase_order_details` (`row_id`, `po_no`, `product_id`, `order_qty`, `product_rate`, `discount`, `store_id`) VALUES ('329476241535349', '20260311000327', '5', '10', '500000', '', '2');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('purchase order', 'create', 'Orde Id-20260311000327 total amount-5000000.00', '1', '2026-03-11 00:03:27');
INSERT INTO `purchase_order` (`po_no`, `supplier_id`, `total_amnt`, `store_id`, `warehouse_id`, `createby`, `createdate`, `isapproved`) VALUES ('20260311000501', '1', '10000000.00', 0, Array, '1', '2026-03-11 00:05:01', 0);
INSERT INTO `purchase_order_details` (`row_id`, `po_no`, `product_id`, `order_qty`, `product_rate`, `discount`, `store_id`) VALUES ('416543162645845', '20260311000501', '5', '20', '500000', '', '2');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('purchase order', 'create', 'Orde Id-20260311000501 total amount-10000000.00', '1', '2026-03-11 00:05:02');
INSERT INTO `purchase_order` (`po_no`, `supplier_id`, `total_amnt`, `store_id`, `warehouse_id`, `createby`, `createdate`, `isapproved`) VALUES ('20260311000618', '1', '5000000.00', 0, '5', '1', '2026-03-11 00:06:18', 0);
INSERT INTO `purchase_order_details` (`row_id`, `po_no`, `product_id`, `order_qty`, `product_rate`, `discount`, `store_id`) VALUES ('654165372947241', '20260311000618', '5', '10', '500000', '', '2');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('purchase order', 'create', 'Orde Id-20260311000618 total amount-5000000.00', '1', '2026-03-11 00:06:18');
INSERT INTO `purchase_order` (`po_no`, `supplier_id`, `total_amnt`, `store_id`, `warehouse_id`, `createby`, `createdate`, `isapproved`) VALUES ('20260311000832', '1', '6000000.00', 0, '5', '1', '2026-03-11 00:08:32', 0);
INSERT INTO `purchase_order_details` (`row_id`, `po_no`, `product_id`, `order_qty`, `product_rate`, `discount`, `store_id`, `warehouse_id`) VALUES ('552566282853734', '20260311000832', '5', '12', '500000', '', '1', '5');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('purchase order', 'create', 'Orde Id-20260311000832 total amount-6000000.00', '1', '2026-03-11 00:08:35');
INSERT INTO `purchase_order` (`po_no`, `supplier_id`, `total_amnt`, `store_id`, `warehouse_id`, `createby`, `createdate`, `isapproved`) VALUES ('20260311001201', '1', '5000000.00', 0, '5', '1', '2026-03-11 00:12:01', 0);
INSERT INTO `purchase_order_details` (`row_id`, `po_no`, `product_id`, `order_qty`, `product_rate`, `discount`, `store_id`, `warehouse_id`) VALUES ('194895473835245', '20260311001201', '5', '10', '500000', '', '1', '5');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('purchase order', 'create', 'Orde Id-20260311001201 total amount-5000000.00', '1', '2026-03-11 00:12:01');
INSERT INTO `purchase_receive` (`receive_id`, `po_no`, `supplier_id`, `store_id`, `warehouse_id`, `voucher_no`, `receive_by`, `receive_date`) VALUES ('20260311001345', '20260311001201', '1', Array, NULL, 1000, '1', '2026-03-11');
INSERT INTO `purchase_receive_details` (`receive_id`, `product_id`, `receive_qty`, `product_rate`, `store_id`, `warehouse_id`, `discount`) VALUES ('20260311001345', '5', '9', '500000', '1', NULL, '');
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `WarehouseID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('20260311001201', 'PO', '2026-03-11', 10107, 'PO Receive Receive No 20260311001345', '4500000.00', 0, '1', NULL, 1, '1', '2026-03-11', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `WarehouseID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('20260311001201', 'PO', '2026-03-11', '5020200008', 'PO received For PO No.20260311001201 Receive No.20260311001345', 0, '4500000.00', NULL, NULL, 1, '1', '2026-03-11', 1);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('purchase order receive', 'create', 'Order Id- total amount-4500000.00', '1', '2026-03-11 00:13:45');
INSERT INTO `purchase_receive` (`receive_id`, `po_no`, `supplier_id`, `store_id`, `warehouse_id`, `voucher_no`, `receive_by`, `receive_date`) VALUES ('20260311001949', '20260311001201', '1', Array, '5', 1000, '1', '2026-03-11');
INSERT INTO `purchase_receive_details` (`receive_id`, `product_id`, `receive_qty`, `product_rate`, `store_id`, `warehouse_id`, `discount`) VALUES ('20260311001949', '5', '9', '500000', '1', '5', '');
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `WarehouseID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('20260311001201', 'PO', '2026-03-11', 10107, 'PO Receive Receive No 20260311001949', '4500000.00', 0, '1', '5', 1, '1', '2026-03-11', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `WarehouseID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('20260311001201', 'PO', '2026-03-11', '5020200008', 'PO received For PO No.20260311001201 Receive No.20260311001949', 0, '4500000.00', NULL, '5', 1, '1', '2026-03-11', 1);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('purchase order receive', 'create', 'Order Id- total amount-4500000.00', '1', '2026-03-11 00:19:49');
INSERT INTO `purchase_receive` (`receive_id`, `po_no`, `supplier_id`, `store_id`, `warehouse_id`, `voucher_no`, `receive_by`, `receive_date`) VALUES ('20260311002141', '20260311001201', '1', 0, '5', 1000, '1', '2026-03-11');
INSERT INTO `purchase_receive_details` (`receive_id`, `product_id`, `receive_qty`, `product_rate`, `store_id`, `warehouse_id`, `discount`) VALUES ('20260311002141', '5', '9', '500000', '1', '5', '');
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `WarehouseID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('20260311001201', 'PO', '2026-03-11', 10107, 'PO Receive Receive No 20260311002141', '4500000.00', 0, '1', '5', 1, '1', '2026-03-11', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `WarehouseID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('20260311001201', 'PO', '2026-03-11', '5020200008', 'PO received For PO No.20260311001201 Receive No.20260311002141', 0, '4500000.00', NULL, '5', 1, '1', '2026-03-11', 1);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('purchase order receive', 'create', 'Order Id- total amount-4500000.00', '1', '2026-03-11 00:21:42');
INSERT INTO `purchase_order` (`po_no`, `supplier_id`, `total_amnt`, `store_id`, `warehouse_id`, `createby`, `createdate`, `isapproved`) VALUES ('20260311002933', '1', '2500000.00', 0, 0, '1', '2026-03-11 00:29:33', 0);
INSERT INTO `purchase_order_details` (`row_id`, `po_no`, `product_id`, `order_qty`, `product_rate`, `discount`, `store_id`, `warehouse_id`) VALUES ('634791498193666', '20260311002933', '5', '5', '500000', '', '1', '5');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('purchase order', 'create', 'Orde Id-20260311002933 total amount-2500000.00', '1', '2026-03-11 00:29:33');
INSERT INTO `purchase_receive` (`receive_id`, `po_no`, `supplier_id`, `store_id`, `warehouse_id`, `voucher_no`, `receive_by`, `receive_date`) VALUES ('20260311003005', '20260311002933', '1', 0, 0, 1001, '1', '2026-03-11');
INSERT INTO `purchase_receive_details` (`receive_id`, `product_id`, `receive_qty`, `product_rate`, `store_id`, `warehouse_id`, `discount`) VALUES ('20260311003005', '5', '4', '500000', '1', '5', '');
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `WarehouseID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('20260311002933', 'PO', '2026-03-11', 10107, 'PO Receive Receive No 20260311003005', '2000000.00', 0, '1', '5', 1, '1', '2026-03-11', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `WarehouseID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('20260311002933', 'PO', '2026-03-11', '5020200008', 'PO received For PO No.20260311002933 Receive No.20260311003005', 0, '2000000.00', NULL, '5', 1, '1', '2026-03-11', 1);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('purchase order receive', 'create', 'Order Id- total amount-2000000.00', '1', '2026-03-11 00:30:05');
UPDATE `user` SET `last_login` = '2026-03-11 03:04:15', `ip_address` = '127.0.0.1'
WHERE `id` = '1';
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
UPDATE `user` SET `last_login` = '2026-03-11 20:28:35', `ip_address` = '127.0.0.1'
WHERE `id` = '1';
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
INSERT INTO `purchase_order` (`po_no`, `supplier_id`, `total_amnt`, `store_id`, `warehouse_id`, `createby`, `createdate`, `isapproved`) VALUES ('20260311204853', '1', '11000000.00', 0, Array, '1', '2026-03-11 20:48:53', 0);
INSERT INTO `purchase_order_details` (`row_id`, `po_no`, `product_id`, `order_qty`, `product_rate`, `discount`, `store_id`, `warehouse_id`) VALUES ('982313635271783', '20260311204853', '5', '22', '500000', '', '1', '5');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('purchase order', 'create', 'Orde Id-20260311204853 total amount-11000000.00', '1', '2026-03-11 20:48:53');
INSERT INTO `purchase_order` (`po_no`, `supplier_id`, `total_amnt`, `store_id`, `warehouse_id`, `createby`, `createdate`, `isapproved`) VALUES ('20260311205117', '1', '16500000.00', 0, Array, '1', '2026-03-11 20:51:17', 0);
INSERT INTO `purchase_order_details` (`row_id`, `po_no`, `product_id`, `order_qty`, `product_rate`, `discount`, `store_id`, `warehouse_id`) VALUES ('623594488877886', '20260311205117', '5', '33', '500000', '', '1', '5');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('purchase order', 'create', 'Orde Id-20260311205117 total amount-16500000.00', '1', '2026-03-11 20:51:17');
INSERT INTO `purchase_order` (`po_no`, `supplier_id`, `total_amnt`, `store_id`, `warehouse_id`, `createby`, `createdate`, `isapproved`) VALUES ('20260311205342', '1', '5500000.00', 0, 0, '1', '2026-03-11 20:53:42', 0);
INSERT INTO `purchase_order_details` (`row_id`, `po_no`, `product_id`, `order_qty`, `product_rate`, `discount`, `store_id`, `warehouse_id`) VALUES ('845284418446413', '20260311205342', '5', '11', '500000', '', '1', '5');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('purchase order', 'create', 'Orde Id-20260311205342 total amount-5500000.00', '1', '2026-03-11 20:53:42');
INSERT INTO `purchase_order` (`po_no`, `supplier_id`, `total_amnt`, `store_id`, `warehouse_id`, `createby`, `createdate`, `isapproved`) VALUES ('20260311205954', '1', '7000000.00', 0, 0, '1', '2026-03-11 20:59:54', 0);
INSERT INTO `purchase_order_details` (`row_id`, `po_no`, `product_id`, `order_qty`, `product_rate`, `discount`, `store_id`, `warehouse_id`) VALUES ('565861545154376', '20260311205954', '5', '9', '500000', '', '1', '5');
INSERT INTO `purchase_order_details` (`row_id`, `po_no`, `product_id`, `order_qty`, `product_rate`, `discount`, `store_id`, `warehouse_id`) VALUES ('338961277239379', '20260311205954', '5', '5', '500000', '', '2', '5');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('purchase order', 'create', 'Orde Id-20260311205954 total amount-7000000.00', '1', '2026-03-11 20:59:54');
INSERT INTO `purchase_receive` (`receive_id`, `po_no`, `supplier_id`, `store_id`, `warehouse_id`, `voucher_no`, `receive_by`, `receive_date`) VALUES ('20260311215234', '20260311205954', '1', 0, 0, 1002, '1', '2026-03-11');
INSERT INTO `purchase_receive_details` (`receive_id`, `product_id`, `receive_qty`, `product_rate`, `store_id`, `warehouse_id`, `discount`) VALUES ('20260311215234', '5', '3', '500000', '1', '5', '');
INSERT INTO `purchase_receive_details` (`receive_id`, `product_id`, `receive_qty`, `product_rate`, `store_id`, `warehouse_id`, `discount`) VALUES ('20260311215234', '5', '9', '500000', '2', '5', '');
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `WarehouseID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('20260311205954', 'PO', '2026-03-11', 10107, 'PO Receive Receive No 20260311215234', '1500000.00', 0, '1', '5', 1, '1', '2026-03-11', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `WarehouseID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('20260311205954', 'PO', '2026-03-11', 10107, 'PO Receive Receive No 20260311215234', '4500000.00', 0, '2', '5', 1, '1', '2026-03-11', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `WarehouseID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('20260311205954', 'PO', '2026-03-11', '5020200008', 'PO received For PO No.20260311205954 Receive No.20260311215234', 0, '6000000.00', NULL, '5', 1, '1', '2026-03-11', 1);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('purchase order receive', 'create', 'Order Id- total amount-6000000.00', '1', '2026-03-11 21:52:35');
INSERT INTO `purchase_receive` (`receive_id`, `po_no`, `supplier_id`, `store_id`, `warehouse_id`, `voucher_no`, `receive_by`, `receive_date`) VALUES ('20260311215648', '20260311001201', '1', 0, 0, 1003, '1', '2026-03-11');
INSERT INTO `purchase_receive_details` (`receive_id`, `product_id`, `receive_qty`, `product_rate`, `store_id`, `warehouse_id`, `discount`) VALUES ('20260311215648', '5', '5', '500000', '1', '5', '');
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `WarehouseID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('20260311001201', 'PO', '2026-03-11', 10107, 'PO Receive Receive No 20260311215648', '2500000.00', 0, '1', '5', 1, '1', '2026-03-11', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `WarehouseID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('20260311001201', 'PO', '2026-03-11', '5020200008', 'PO received For PO No.20260311001201 Receive No.20260311215648', 0, '2500000.00', NULL, '5', 1, '1', '2026-03-11', 1);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('purchase order receive', 'create', 'Order Id- total amount-2500000.00', '1', '2026-03-11 21:56:48');
INSERT INTO `purchase_receive` (`receive_id`, `po_no`, `supplier_id`, `store_id`, `warehouse_id`, `voucher_no`, `receive_by`, `receive_date`) VALUES ('20260311233216', '20260311001201', '1', 0, 0, 1004, '1', '2026-03-11');
INSERT INTO `purchase_receive_details` (`receive_id`, `product_id`, `receive_qty`, `product_rate`, `store_id`, `warehouse_id`, `discount`) VALUES ('20260311233216', '5', '5', '500000', '1', '5', '');
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `WarehouseID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('20260311001201', 'PO', '2026-03-11', 10107, 'PO Receive Receive No 20260311233216', '2500000.00', 0, '1', '5', 1, '1', '2026-03-11', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `WarehouseID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('20260311001201', 'PO', '2026-03-11', '5020200008', 'PO received For PO No.20260311001201 Receive No.20260311233216', 0, '2500000.00', NULL, '5', 1, '1', '2026-03-11', 1);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('purchase order receive', 'create', 'Order Id- total amount-2500000.00', '1', '2026-03-11 23:32:17');
UPDATE `user` SET `last_login` = '2026-03-11 23:40:24', `ip_address` = '::1'
WHERE `id` = '1';
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
INSERT INTO `purchase_receive` (`receive_id`, `po_no`, `supplier_id`, `store_id`, `warehouse_id`, `voucher_no`, `receive_by`, `receive_date`) VALUES ('20260311234118', '20260311002933', '1', 0, 0, 1005, '1', '2026-03-11');
INSERT INTO `purchase_receive_details` (`receive_id`, `product_id`, `receive_qty`, `product_rate`, `store_id`, `warehouse_id`, `discount`) VALUES ('20260311234118', '5', '5', '500000', '1', '5', '');
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `WarehouseID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('20260311002933', 'PO', '2026-03-11', 10107, 'PO Receive Receive No 20260311234118', '2500000.00', 0, '1', '5', 1, '1', '2026-03-11', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `WarehouseID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('20260311002933', 'PO', '2026-03-11', '5020200008', 'PO received For PO No.20260311002933 Receive No.20260311234118', 0, '2500000.00', NULL, '5', 1, '1', '2026-03-11', 1);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('purchase order receive', 'create', 'Order Id- total amount-2500000.00', '1', '2026-03-11 23:41:18');
INSERT INTO `purchase_return` (`po_no`, `supplier_id`, `return_date`, `totalamount`, `return_reason`, `createby`, `createdate`) VALUES ('20260311002933', '1', '2026-03-11', '1000000.00', 'السبب واضح', '1', '2026-03-11 23:43:05');
INSERT INTO `purchase_return_details` (`preturn_id`, `product_id`, `qty`, `store_id`, `product_rate`) VALUES (2, '5', '2', '1', '500000');
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('20260311002933', 'PO', '2026-03-11 23:43:05', '5020200008', 'P Return For 20260311002933', '1000000.00', 0, NULL, 1, '1', '2026-03-11 23:43:05', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('20260311002933', 'PO', '2026-03-11 23:43:05', 10107, 'Purchase Return For PO No20260311002933', 0, '1000000.00', NULL, 1, '1', '2026-03-11 23:43:05', 1);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
INSERT INTO `product` (`product_id`, `product_name`, `product_code`, `model`, `category`, `brand`, `unit`, `product_details`, `purchase_price`, `block_price`, `minimum_price`, `retail_price`, `createby`, `createdate`, `updateby`, `updatedate`, `isactive`) VALUES ('', 'تلفون جلاكسي', 'pro-1001', '2', '2', '3', '1', 'التفاصيل', '45000', '45500', '45000', '45500', '1', '2026-03-12 01:05:04', '', '', 1);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Product', 'create', 'product ID :6', '1', '2026-03-12 01:05:05');
UPDATE `product` SET `product_id` = '6', `product_name` = 'تلفون جلاكسي', `product_code` = 'pro-1001', `category` = '2', `model` = '2', `unit` = '1', `brand` = '3', `product_details` = 'التفاصيل', `purchase_price` = '45000', `minimum_price` = '44500', `retail_price` = '45500', `block_price` = '45500', `isactive` = '1'
WHERE `product_id` IN('6');
UPDATE `warehouse` SET `warehouse_id` = '5', `warehouse_name` = 'المستودع الرائيسي', `warehouse_code` = 'we_', `warehouse_phone` = '7766555447', `warehouse_address` = 'شارع الثلاثين', `store_id` = '1', `createby` = '1', `createdate` = '2026-03-12 01:06:55', `isactive` = 1
WHERE `warehouse_id` = '5';
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Warehouse', 'update', 'Warehouse ID :5', '1', '2026-03-12 01:06:55');
INSERT INTO `warehouse` (`warehouse_id`, `warehouse_name`, `warehouse_code`, `warehouse_phone`, `warehouse_address`, `store_id`, `createby`, `createdate`, `isactive`) VALUES ('', 'مستودع الثلاثين', 'w_30', '7766555440', 'شارع الثلاثين', '2', '1', '2026-03-12 01:07:42', 1);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Warehouse', 'create', 'Warehouse ID :6', '1', '2026-03-12 01:07:42');
INSERT INTO `purchase_order` (`po_no`, `supplier_id`, `total_amnt`, `store_id`, `warehouse_id`, `createby`, `createdate`, `isapproved`) VALUES ('20260312012020', '1', '450000.00', 0, 0, '1', '2026-03-12 01:20:20', 0);
INSERT INTO `purchase_order_details` (`row_id`, `po_no`, `product_id`, `order_qty`, `product_rate`, `discount`, `store_id`, `warehouse_id`) VALUES ('287374529711265', '20260312012020', '6', '10', '45000', '', '1', '5');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('purchase order', 'create', 'Orde Id-20260312012020 total amount-450000.00', '1', '2026-03-12 01:20:20');
INSERT INTO `purchase_receive` (`receive_id`, `po_no`, `supplier_id`, `store_id`, `warehouse_id`, `voucher_no`, `receive_by`, `receive_date`) VALUES ('20260312012048', '20260312012020', '1', 0, 0, 1000, '1', '2026-03-12');
INSERT INTO `purchase_receive_details` (`receive_id`, `product_id`, `receive_qty`, `product_rate`, `store_id`, `warehouse_id`, `discount`) VALUES ('20260312012048', '6', '10', '45000', '1', '5', '');
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `WarehouseID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('20260312012020', 'PO', '2026-03-12', 10107, 'PO Receive Receive No 20260312012048', '450000.00', 0, '1', '5', 1, '1', '2026-03-12', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `WarehouseID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('20260312012020', 'PO', '2026-03-12', '5020200008', 'PO received For PO No.20260312012020 Receive No.20260312012048', 0, '450000.00', NULL, '5', 1, '1', '2026-03-12', 1);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('purchase order receive', 'create', 'Order Id- total amount-450000.00', '1', '2026-03-12 01:20:48');
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
UPDATE `user` SET `id` = '3', `firstname` = 'ali', `lastname` = 'ali', `email` = 'admin@mail.com', `password` = '202cb962ac59075b964b07152d234b70', `about` = '', `store_id` = '1', `is_admin` = '0', `image` = '', `last_login` = NULL, `last_logout` = NULL, `ip_address` = NULL, `status` = '1'
WHERE `id` = '3';
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('User', 'update', 'User ID :3', '1', '2026-03-12 02:35:36');
DELETE FROM `role_permission`
WHERE `role_id` = '5';
INSERT INTO `role_permission` (`create`, `delete`, `fk_module_id`, `read`, `role_id`, `update`) VALUES ('1','1','13','1','5','1'), (0,0,'14',0,'5',0), (0,0,'19',0,'5',0), (0,0,'18',0,'5',0), ('1','1','12','1','5','1'), ('1',0,'17','1','5','1'), ('1',0,'20','1','5',0), (0,0,'6',0,'5',0), (0,0,'3',0,'5',0), ('1','1','7','1','5','1'), (0,0,'9',0,'5',0), (0,0,'1',0,'5',0), (0,0,'10',0,'5',0);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Role Permission', 'create', 'Role id :573', '1', '2026-03-12 02:37:19');
UPDATE `user` SET `last_logout` = '2026-03-12 02:37:26'
WHERE `id` = '1';
UPDATE `user` SET `last_login` = '2026-03-12 02:37:37', `ip_address` = '127.0.0.1'
WHERE `id` = '3';
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
UPDATE `user` SET `last_logout` = '2026-03-12 02:52:47'
WHERE `id` = '3';
UPDATE `user` SET `last_login` = '2026-03-12 02:53:08', `ip_address` = '127.0.0.1'
WHERE `id` = '1';
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
UPDATE `user` SET `last_login` = '2026-03-12 21:32:59', `ip_address` = '127.0.0.1'
WHERE `id` = '1';
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
INSERT INTO `purchase_order` (`po_no`, `supplier_id`, `total_amnt`, `store_id`, `warehouse_id`, `createby`, `createdate`, `isapproved`) VALUES ('20260312213513', '1', '540000.00', 0, 0, '1', '2026-03-12 21:35:13', 0);
INSERT INTO `purchase_order_details` (`row_id`, `po_no`, `product_id`, `order_qty`, `product_rate`, `discount`, `store_id`, `warehouse_id`) VALUES ('132849867546655', '20260312213513', '6', '12', '45000', '', '2', '6');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('purchase order', 'create', 'Orde Id-20260312213513 total amount-540000.00', '1', '2026-03-12 21:35:13');
INSERT INTO `purchase_receive` (`receive_id`, `po_no`, `supplier_id`, `store_id`, `warehouse_id`, `voucher_no`, `receive_by`, `receive_date`) VALUES ('20260312213541', '20260312213513', '1', 0, 0, 1001, '1', '2026-03-12');
INSERT INTO `purchase_receive_details` (`receive_id`, `product_id`, `receive_qty`, `product_rate`, `store_id`, `warehouse_id`, `discount`) VALUES ('20260312213541', '6', '10', '45000', '2', '6', '');
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `WarehouseID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('20260312213513', 'PO', '2026-03-12', 10107, 'PO Receive Receive No 20260312213541', '450000.00', 0, '2', '6', 1, '1', '2026-03-12', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `WarehouseID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('20260312213513', 'PO', '2026-03-12', '5020200008', 'PO received For PO No.20260312213513 Receive No.20260312213541', 0, '450000.00', NULL, '6', 1, '1', '2026-03-12', 1);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('purchase order receive', 'create', 'Order Id- total amount-450000.00', '1', '2026-03-12 21:35:41');
CALL get_store_stock('0,'@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
DELETE FROM `sec_userrole`
WHERE `user_id` = '2';
INSERT INTO `sec_userrole` (`user_id`, `roleid`, `createby`, `createdate`) VALUES ('2', '5', '1', '2026-03-12 09:54:16');
INSERT INTO `sec_userrole` (`user_id`, `roleid`, `createby`, `createdate`) VALUES ('2', '4', '1', '2026-03-12 09:54:16');
INSERT INTO `sec_userrole` (`user_id`, `roleid`, `createby`, `createdate`) VALUES ('2', '2', '1', '2026-03-12 09:54:16');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('User Role', 'update', 'Role id :', '1', '2026-03-12 21:54:16');
UPDATE `user` SET `last_logout` = '2026-03-12 21:54:55'
WHERE `id` = '1';
UPDATE `user` SET `last_login` = '2026-03-12 21:55:05', `ip_address` = '127.0.0.1'
WHERE `id` = '2';
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
INSERT INTO `purchase_order` (`po_no`, `supplier_id`, `total_amnt`, `store_id`, `warehouse_id`, `createby`, `createdate`, `isapproved`) VALUES ('20260312215731', '1', '135000.00', 0, 0, '2', '2026-03-12 21:57:31', 0);
INSERT INTO `purchase_order_details` (`row_id`, `po_no`, `product_id`, `order_qty`, `product_rate`, `discount`, `store_id`, `warehouse_id`) VALUES ('299697821449439', '20260312215731', '6', '3', '45000', '', '2', '6');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('purchase order', 'create', 'Orde Id-20260312215731 total amount-135000.00', '2', '2026-03-12 21:57:32');
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
UPDATE `user` SET `last_logout` = '2026-03-12 22:21:42'
WHERE `id` = '2';
UPDATE `user` SET `last_login` = '2026-03-12 22:21:54', `ip_address` = '127.0.0.1'
WHERE `id` = '1';
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
DELETE FROM `role_permission`
WHERE `role_id` = '2';
INSERT INTO `role_permission` (`create`, `delete`, `fk_module_id`, `read`, `role_id`, `update`) VALUES (0,0,'13',0,'2',0), (0,0,'21',0,'2',0), ('1',0,'6','1','2','1'), ('1','1','3','1','2','1'), ('1',0,'14','1','2','1'), ('1','1','12','1','2','1'), ('1',0,'7','1','2','1'), ('1',0,'9','1','2','1'), ('1','1','17','1','2','1'), ('1',0,'19','1','2','1'), ('1',0,'1','1','2','1'), ('1','1','18','1','2','1'), ('1','1','20','1','2','1'), ('1','1','10','1','2','1');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Role Permission', 'create', 'Role id :586', '1', '2026-03-12 22:23:06');
UPDATE `user` SET `last_logout` = '2026-03-12 22:23:13'
WHERE `id` = '1';
UPDATE `user` SET `last_login` = '2026-03-12 22:23:23', `ip_address` = '127.0.0.1'
WHERE `id` = '2';
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
INSERT INTO `acc_coa` (`HeadCode`, `HeadName`, `PHeadName`, `HeadLevel`, `IsActive`, `IsTransaction`, `IsGL`, `HeadType`, `IsBudget`, `IsDepreciation`, `DepreciationRate`, `CreateBy`, `CreateDate`) VALUES (1020301000003, 'cc-3-على محمد علي', 'Customer Receivable', '4', '1', '1', '0', 'A', '0', '0', '0', '2', '2026-03-12 22:25:14');
INSERT INTO `customer` (`customer_id`, `customer_code`, `customer_name`, `type`, `customer_phone`, `store_id`, `job_designation`, `customer_address`, `customer_cnic`, `business_address`, `isactive`, `createby`, `createdate`, `updateby`, `updatedate`) VALUES ('', 'cc-3', 'على محمد علي', '1', '776655442', '2', '', '', '3099', '', '1', '2', '2026-03-12 22:25:14', '', '');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Customer', 'create', 29, '2', '2026-03-12 22:25:14');
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
INSERT INTO `sales_parent` (`sale_id`, `invoice_no`, `customer_id`, `sale_type_id`, `store_id`, `salesman`, `sales_date`, `sales_time`, `gurrantor_1`, `gurrantor_2`, `advance_amnt`, `lease_id`, `inquiry_officer`, `remaining_amnt`, `installment_amnt`, `package_price`, `total_amnt`) VALUES ('20260312223544', '1000', '29', '1', '2', '2', '2026-03-12', '22:35:44', NULL, NULL, '', NULL, NULL, NULL, 0, 0, '135000.00');
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1000', 'CIV', '2026-03-12 22:35:44', NULL, 'Cash in hand debit For Invoice No1000', '135000.00', 0, '2', 1, '2', '2026-03-12 22:35:44', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1000', 'CIV', '2026-03-12 22:35:44', 403, 'Cost of sale debit For Invoice No1000', NULL, 0, '2', 1, '2', '2026-03-12 22:35:44', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1000', 'CIV', '2026-03-12 22:35:44', 10107, 'Inventory credit For Invoice No1000', 0, NULL, '2', 1, '2', '2026-03-12 22:35:44', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1000', 'CIV', '2026-03-12 22:35:44', '1020301000003', 'Customer debit for Product For Invoice No1000', '135000.00', 0, '2', 1, '2', '2026-03-12 22:35:44', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1000', 'CIV', '2026-03-12 22:35:44', '1020301000003', 'Customer credit for Paid Amount For Invoice No1000', 0, '135000.00', '2', 1, '2', '2026-03-12 22:35:44', 1);
INSERT INTO `payment_collection` (`sale_id`, `invoice_no`, `customer_id`, `receive_amnt`, `due_amnt`, `receive_by`, `receive_date`) VALUES ('20260312223544', '1000', '29', '135000.00', NULL, '2', '2026-03-12');
INSERT INTO `sale_details` (`sale_id`, `product_id`, `qty`, `sell_price`, `sale_type_id`, `lease_unit_price`) VALUES ('20260312223544', '6', '3', '45000', '1', NULL);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Sales', 'create', 'invoice_no-1000 total amount-135000.00', '2', '2026-03-12 22:35:45');
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
UPDATE `user` SET `last_logout` = '2026-03-12 23:23:12'
WHERE `id` = '2';
UPDATE `user` SET `last_login` = '2026-03-12 23:23:30', `ip_address` = '127.0.0.1'
WHERE `id` = '1';
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
UPDATE `acc_coa` SET `HeadCode` = '1010402', `HeadName` = 'جهاز تنقية المياه', `PHeadName` = 'أصول أخرى', `HeadLevel` = '3', `IsActive` = '1', `IsTransaction` = '1', `IsGL` = 0, `HeadType` = 'A', `IsBudget` = 0, `CreateBy` = '1', `CreateDate` = '2026-03-13 01:48:55'
WHERE `HeadCode` = '1010402';
UPDATE `acc_coa` SET `PHeadName` = 'جهاز تنقية المياه'
WHERE `PHeadName` = 'Water Purifier';
UPDATE `acc_coa` SET `HeadCode` = '4021002', `HeadName` = 'رسوم مصرفية', `PHeadName` = 'المصاريف المالية', `HeadLevel` = '3', `IsActive` = '1', `IsTransaction` = '1', `IsGL` = 0, `HeadType` = 'E', `IsBudget` = 0, `CreateBy` = '1', `CreateDate` = '2026-03-13 01:50:19'
WHERE `HeadCode` = '4021002';
UPDATE `acc_coa` SET `PHeadName` = 'رسوم مصرفية'
WHERE `PHeadName` = 'Bank Charge';
UPDATE `acc_coa` SET `HeadCode` = '4021001', `HeadName` = 'فوائد القرض', `PHeadName` = 'المصاريف المالية', `HeadLevel` = '3', `IsActive` = '1', `IsTransaction` = '1', `IsGL` = 0, `HeadType` = 'E', `IsBudget` = 0, `CreateBy` = '1', `CreateDate` = '2026-03-13 01:51:10'
WHERE `HeadCode` = '4021001';
UPDATE `acc_coa` SET `PHeadName` = 'فوائد القرض'
WHERE `PHeadName` = 'Interest on Loan';
UPDATE `acc_coa` SET `HeadCode` = '4020602', `HeadName` = 'الإعلان والدعاية', `PHeadName` = 'مصاريف الترويج', `HeadLevel` = '3', `IsActive` = '1', `IsTransaction` = '1', `IsGL` = 0, `HeadType` = 'E', `IsBudget` = 0, `CreateBy` = '1', `CreateDate` = '2026-03-13 01:51:50'
WHERE `HeadCode` = '4020602';
UPDATE `acc_coa` SET `PHeadName` = 'الإعلان والدعاية'
WHERE `PHeadName` = 'Advertisement and Publicity';
UPDATE `acc_coa` SET `HeadCode` = '4020606', `HeadName` = 'مصاريف الحملات الإعلانية', `PHeadName` = 'مصاريف الترويج', `HeadLevel` = '3', `IsActive` = '1', `IsTransaction` = '1', `IsGL` = 0, `HeadType` = 'E', `IsBudget` = 0, `CreateBy` = '1', `CreateDate` = '2026-03-13 01:53:35'
WHERE `HeadCode` = '4020606';
UPDATE `acc_coa` SET `PHeadName` = 'مصاريف الحملات الإعلانية'
WHERE `PHeadName` = 'Campaign Expenses';
UPDATE `user` SET `last_login` = '2026-03-13 20:56:30', `ip_address` = '127.0.0.1'
WHERE `id` = '2';
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
UPDATE `user` SET `last_logout` = '2026-03-13 21:37:43'
WHERE `id` = '2';
UPDATE `user` SET `last_login` = '2026-03-13 21:37:52', `ip_address` = '127.0.0.1'
WHERE `id` = '2';
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
INSERT INTO `purchase_order` (`po_no`, `supplier_id`, `total_amnt`, `store_id`, `warehouse_id`, `createby`, `createdate`, `isapproved`) VALUES ('20260313234236', '1', '135000.00', 0, 0, '2', '2026-03-13 23:42:36', 0);
INSERT INTO `purchase_order_details` (`row_id`, `po_no`, `product_id`, `order_qty`, `product_rate`, `discount`, `store_id`, `warehouse_id`) VALUES ('361662829153225', '20260313234236', '6', '3', '45000', '', '2', '6');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('purchase order', 'create', 'Orde Id-20260313234236 total amount-135000.00', '2', '2026-03-13 23:42:36');
UPDATE `user` SET `last_logout` = '2026-03-13 23:42:59'
WHERE `id` = '2';
UPDATE `user` SET `last_login` = '2026-03-13 23:43:10', `ip_address` = '127.0.0.1'
WHERE `id` = '1';
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
INSERT INTO `purchase_receive` (`receive_id`, `po_no`, `supplier_id`, `store_id`, `warehouse_id`, `voucher_no`, `receive_by`, `receive_date`) VALUES ('20260313234353', '20260313234236', '1', 0, 0, 1002, '1', '2026-03-13');
INSERT INTO `purchase_receive_details` (`receive_id`, `product_id`, `receive_qty`, `product_rate`, `store_id`, `warehouse_id`, `discount`) VALUES ('20260313234353', '6', '3', '45000', '2', '6', '');
INSERT INTO `tmp_store_stock` (`StoreID`, `WarehouseID`, `Stock_Date`, `ProdID`, `InQty`, `OutQty`, `category_id`, `brand_id`, `model_id`, `Remarks`) VALUES ('2', NULL, '2026-03-13', '6', '3', 0, '', '', '', '');
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `WarehouseID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('20260313234236', 'PO', '2026-03-13', 10107, 'PO Receive Receive No 20260313234353', '135000.00', 0, '2', '6', 1, '1', '2026-03-13', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `WarehouseID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('20260313234236', 'PO', '2026-03-13', '5020200008', 'PO received For PO No.20260313234236 Receive No.20260313234353', 0, '135000.00', NULL, '6', 1, '1', '2026-03-13', 1);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('purchase order receive', 'create', 'Order Id- total amount-135000.00', '1', '2026-03-13 23:43:53');
INSERT INTO `purchase_receive` (`receive_id`, `po_no`, `supplier_id`, `store_id`, `warehouse_id`, `voucher_no`, `receive_by`, `receive_date`) VALUES ('20260313234830', '20260312215731', '1', 0, 0, 1003, '1', '2026-03-13');
INSERT INTO `purchase_receive_details` (`receive_id`, `product_id`, `receive_qty`, `product_rate`, `store_id`, `warehouse_id`, `discount`) VALUES ('20260313234830', '6', '3', '45000', '2', '6', '');
INSERT INTO `tmp_store_stock` (`StoreID`, `WarehouseID`, `Stock_Date`, `ProdID`, `InQty`, `OutQty`, `category_id`, `brand_id`, `model_id`, `Remarks`) VALUES ('2', NULL, '2026-03-13 23:48:30', '6', '3', 0, '', '', '', '');
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `WarehouseID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('20260312215731', 'PO', '2026-03-13', 10107, 'PO Receive Receive No 20260313234830', '135000.00', 0, '2', '6', 1, '1', '2026-03-13', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `WarehouseID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('20260312215731', 'PO', '2026-03-13', '5020200008', 'PO received For PO No.20260312215731 Receive No.20260313234830', 0, '135000.00', NULL, '6', 1, '1', '2026-03-13', 1);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('purchase order receive', 'create', 'Order Id- total amount-135000.00', '1', '2026-03-13 23:48:31');
INSERT INTO `purchase_receive` (`receive_id`, `po_no`, `supplier_id`, `store_id`, `warehouse_id`, `voucher_no`, `receive_by`, `receive_date`) VALUES ('20260313235643', '20260312213513', '1', 0, 0, 1004, '1', '2026-03-13');
INSERT INTO `purchase_receive_details` (`receive_id`, `product_id`, `receive_qty`, `product_rate`, `store_id`, `warehouse_id`, `discount`) VALUES ('20260313235643', '6', '2', '45000', '2', '6', '');
INSERT INTO `tmp_store_stock` (`StoreID`, `WarehouseID`, `Stock_Date`, `ProdID`, `InQty`, `OutQty`, `category_id`, `brand_id`, `model_id`, `Remarks`) VALUES ('2', NULL, '2026-03-13', '6', '2', 0, '', '', '', '');
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `WarehouseID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('20260312213513', 'PO', '2026-03-13', 10107, 'PO Receive Receive No 20260313235643', '90000.00', 0, '2', '6', 1, '1', '2026-03-13', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `WarehouseID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('20260312213513', 'PO', '2026-03-13', '5020200008', 'PO received For PO No.20260312213513 Receive No.20260313235643', 0, '90000.00', NULL, '6', 1, '1', '2026-03-13', 1);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('purchase order receive', 'create', 'Order Id- total amount-90000.00', '1', '2026-03-13 23:56:43');
INSERT INTO `purchase_order` (`po_no`, `supplier_id`, `total_amnt`, `store_id`, `warehouse_id`, `createby`, `createdate`, `isapproved`) VALUES ('20260313235844', '1', '270000.00', 0, 0, '1', '2026-03-13 23:58:44', 0);
INSERT INTO `purchase_order_details` (`row_id`, `po_no`, `product_id`, `order_qty`, `product_rate`, `discount`, `store_id`, `warehouse_id`) VALUES ('984963637183951', '20260313235844', '6', '6', '45000', '', '1', '5');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('purchase order', 'create', 'Orde Id-20260313235844 total amount-270000.00', '1', '2026-03-13 23:58:44');
INSERT INTO `purchase_receive` (`receive_id`, `po_no`, `supplier_id`, `store_id`, `warehouse_id`, `voucher_no`, `receive_by`, `receive_date`) VALUES ('20260313235903', '20260313235844', '1', 0, 0, 1005, '1', '2026-03-13');
INSERT INTO `purchase_receive_details` (`receive_id`, `product_id`, `receive_qty`, `product_rate`, `store_id`, `warehouse_id`, `discount`) VALUES ('20260313235903', '6', '4', '45000', '1', '5', '');
INSERT INTO `tmp_store_stock` (`StoreID`, `WarehouseID`, `Stock_Date`, `ProdID`, `InQty`, `OutQty`, `category_id`, `brand_id`, `model_id`, `Remarks`) VALUES ('1', '5', '2026-03-13', '6', '4', 0, '', '', '', '');
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `WarehouseID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('20260313235844', 'PO', '2026-03-13', 10107, 'PO Receive Receive No 20260313235903', '180000.00', 0, '1', '5', 1, '1', '2026-03-13', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `WarehouseID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('20260313235844', 'PO', '2026-03-13', '5020200008', 'PO received For PO No.20260313235844 Receive No.20260313235903', 0, '180000.00', NULL, '5', 1, '1', '2026-03-13', 1);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('purchase order receive', 'create', 'Order Id- total amount-180000.00', '1', '2026-03-13 23:59:03');
INSERT INTO `purchase_receive` (`receive_id`, `po_no`, `supplier_id`, `store_id`, `warehouse_id`, `voucher_no`, `receive_by`, `receive_date`) VALUES ('20260314000605', '20260313235844', '1', 0, 0, 1006, '1', '2026-03-14');
INSERT INTO `purchase_receive_details` (`receive_id`, `product_id`, `receive_qty`, `product_rate`, `store_id`, `warehouse_id`, `discount`) VALUES ('20260314000605', '6', '1', '45000', '1', '5', '');
INSERT INTO `tmp_store_stock` (`StoreID`, `WarehouseID`, `Stock_Date`, `ProdID`, `InQty`, `OutQty`, `category_id`, `brand_id`, `model_id`, `Remarks`) VALUES ('1', '5', '2026-03-14', '6', '1', 0, '2', '3', '2', '');
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `WarehouseID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('20260313235844', 'PO', '2026-03-14', 10107, 'PO Receive Receive No 20260314000605', '45000.00', 0, '1', '5', 1, '1', '2026-03-14', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `WarehouseID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('20260313235844', 'PO', '2026-03-14', '5020200008', 'PO received For PO No.20260313235844 Receive No.20260314000605', 0, '45000.00', NULL, '5', 1, '1', '2026-03-14', 1);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('purchase order receive', 'create', 'Order Id- total amount-45000.00', '1', '2026-03-14 00:06:05');
INSERT INTO `sales_parent` (`sale_id`, `invoice_no`, `customer_id`, `sale_type_id`, `store_id`, `salesman`, `sales_date`, `sales_time`, `gurrantor_1`, `gurrantor_2`, `advance_amnt`, `lease_id`, `inquiry_officer`, `remaining_amnt`, `installment_amnt`, `package_price`, `total_amnt`) VALUES ('20260314003528', '1001', '27', '1', NULL, '1', '2026-03-14', '00:35:28', NULL, NULL, '', NULL, NULL, NULL, 0, 0, '270000.00');
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1001', 'CIV', '2026-03-14 00:35:28', NULL, 'Cash in hand debit For Invoice No1001', '270000.00', 0, NULL, 1, '1', '2026-03-14 00:35:28', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1001', 'CIV', '2026-03-14 00:35:28', 403, 'Cost of sale debit For Invoice No1001', NULL, 0, NULL, 1, '1', '2026-03-14 00:35:28', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1001', 'CIV', '2026-03-14 00:35:28', 10107, 'Inventory credit For Invoice No1001', 0, NULL, NULL, 1, '1', '2026-03-14 00:35:28', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1001', 'CIV', '2026-03-14 00:35:28', '1020301000001', 'Customer debit for Product For Invoice No1001', '270000.00', 0, NULL, 1, '1', '2026-03-14 00:35:28', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1001', 'CIV', '2026-03-14 00:35:28', '1020301000001', 'Customer credit for Paid Amount For Invoice No1001', 0, '270000.00', NULL, 1, '1', '2026-03-14 00:35:28', 1);
INSERT INTO `payment_collection` (`sale_id`, `invoice_no`, `customer_id`, `receive_amnt`, `due_amnt`, `receive_by`, `receive_date`) VALUES ('20260314003528', '1001', '27', '270000.00', NULL, '1', '2026-03-14');
INSERT INTO `sale_details` (`sale_id`, `product_id`, `qty`, `sell_price`, `sale_type_id`, `lease_unit_price`) VALUES ('20260314003528', '6', '6', '45000', '1', NULL);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Sales', 'create', 'invoice_no-1001 total amount-270000.00', '1', '2026-03-14 00:35:28');
INSERT INTO `sales_parent` (`sale_id`, `invoice_no`, `customer_id`, `sale_type_id`, `store_id`, `salesman`, `sales_date`, `sales_time`, `gurrantor_1`, `gurrantor_2`, `advance_amnt`, `lease_id`, `inquiry_officer`, `remaining_amnt`, `installment_amnt`, `package_price`, `total_amnt`) VALUES ('20260314003711', '1001', '28', '1', NULL, '1', '2026-03-14', '00:37:11', NULL, NULL, '', NULL, NULL, NULL, 0, 0, '315000.00');
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1001', 'CIV', '2026-03-14 00:37:11', NULL, 'Cash in hand debit For Invoice No1001', '315000.00', 0, NULL, 1, '1', '2026-03-14 00:37:11', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1001', 'CIV', '2026-03-14 00:37:11', 403, 'Cost of sale debit For Invoice No1001', NULL, 0, NULL, 1, '1', '2026-03-14 00:37:11', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1001', 'CIV', '2026-03-14 00:37:11', 10107, 'Inventory credit For Invoice No1001', 0, NULL, NULL, 1, '1', '2026-03-14 00:37:11', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1001', 'CIV', '2026-03-14 00:37:11', '1020301000002', 'Customer debit for Product For Invoice No1001', '315000.00', 0, NULL, 1, '1', '2026-03-14 00:37:11', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1001', 'CIV', '2026-03-14 00:37:11', '1020301000002', 'Customer credit for Paid Amount For Invoice No1001', 0, '315000.00', NULL, 1, '1', '2026-03-14 00:37:11', 1);
INSERT INTO `payment_collection` (`sale_id`, `invoice_no`, `customer_id`, `receive_amnt`, `due_amnt`, `receive_by`, `receive_date`) VALUES ('20260314003711', '1001', '28', '315000.00', NULL, '1', '2026-03-14');
INSERT INTO `sale_details` (`sale_id`, `product_id`, `qty`, `sell_price`, `sale_type_id`, `lease_unit_price`) VALUES ('20260314003711', '6', '7', '45000', '1', NULL);
INSERT INTO `tmp_store_stock` (`StoreID`, `WarehouseID`, `Stock_Date`, `ProdID`, `InQty`, `OutQty`, `category_id`, `brand_id`, `model_id`, `Remarks`) VALUES (NULL, 0, '2026-03-14', '6', 0, '7', '2', '3', '2', '');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Sales', 'create', 'invoice_no-1001 total amount-315000.00', '1', '2026-03-14 00:37:11');
INSERT INTO `sales_parent` (`sale_id`, `invoice_no`, `customer_id`, `sale_type_id`, `store_id`, `salesman`, `sales_date`, `sales_time`, `gurrantor_1`, `gurrantor_2`, `advance_amnt`, `lease_id`, `inquiry_officer`, `remaining_amnt`, `installment_amnt`, `package_price`, `total_amnt`) VALUES ('20260314004121', '1001', '27', '1', NULL, '1', '2026-03-14', '00:41:21', NULL, NULL, '', NULL, NULL, NULL, 0, 0, '360000.00');
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1001', 'CIV', '2026-03-14 00:41:21', NULL, 'Cash in hand debit For Invoice No1001', '360000.00', 0, NULL, 1, '1', '2026-03-14 00:41:21', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1001', 'CIV', '2026-03-14 00:41:21', 403, 'Cost of sale debit For Invoice No1001', NULL, 0, NULL, 1, '1', '2026-03-14 00:41:21', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1001', 'CIV', '2026-03-14 00:41:21', 10107, 'Inventory credit For Invoice No1001', 0, NULL, NULL, 1, '1', '2026-03-14 00:41:21', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1001', 'CIV', '2026-03-14 00:41:21', '1020301000001', 'Customer debit for Product For Invoice No1001', '360000.00', 0, NULL, 1, '1', '2026-03-14 00:41:21', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1001', 'CIV', '2026-03-14 00:41:21', '1020301000001', 'Customer credit for Paid Amount For Invoice No1001', 0, '360000.00', NULL, 1, '1', '2026-03-14 00:41:21', 1);
INSERT INTO `payment_collection` (`sale_id`, `invoice_no`, `customer_id`, `receive_amnt`, `due_amnt`, `receive_by`, `receive_date`) VALUES ('20260314004121', '1001', '27', '360000.00', NULL, '1', '2026-03-14');
INSERT INTO `sale_details` (`sale_id`, `product_id`, `qty`, `sell_price`, `sale_type_id`, `lease_unit_price`) VALUES ('20260314004121', '6', '8', '45000', '1', NULL);
INSERT INTO `tmp_store_stock` (`StoreID`, `WarehouseID`, `Stock_Date`, `ProdID`, `InQty`, `OutQty`, `category_id`, `brand_id`, `model_id`, `Remarks`) VALUES (0, 0, '2026-03-14', '6', 0, '8', '2', '3', '2', '');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Sales', 'create', 'invoice_no-1001 total amount-360000.00', '1', '2026-03-14 00:41:21');
INSERT INTO `purchase_return` (`po_no`, `supplier_id`, `return_date`, `totalamount`, `return_reason`, `createby`, `createdate`) VALUES ('20260313235844', '1', '2026-03-14', '45000.00', 'السبب مااعجبنا', '1', '2026-03-14 01:38:12');
INSERT INTO `purchase_return_details` (`preturn_id`, `product_id`, `qty`, `store_id`, `product_rate`) VALUES (3, '6', '1', '1', '45000');
INSERT INTO `tmp_store_stock` (`StoreID`, `WarehouseID`, `Stock_Date`, `ProdID`, `InQty`, `OutQty`, `category_id`, `brand_id`, `model_id`, `Remarks`) VALUES ('1', 0, '2026-03-14', '6', 0, '1', '2', '3', '2', 'السبب مااعجبنا');
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('20260313235844', 'PO', '2026-03-14 01:38:12', '5020200008', 'P Return For 20260313235844', '45000.00', 0, NULL, 1, '1', '2026-03-14 01:38:12', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('20260313235844', 'PO', '2026-03-14 01:38:12', 10107, 'Purchase Return For PO No20260313235844', 0, '45000.00', NULL, 1, '1', '2026-03-14 01:38:12', 1);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
UPDATE `user` SET `last_login` = '2026-03-14 20:34:34', `ip_address` = '127.0.0.1'
WHERE `id` = '1';
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
INSERT INTO `purchase_order` (`po_no`, `supplier_id`, `total_amnt`, `store_id`, `warehouse_id`, `createby`, `createdate`, `isapproved`) VALUES ('20260314204117', '1', '455000.00', 0, 0, '1', '2026-03-14 20:41:17', 0);
INSERT INTO `purchase_order_details` (`row_id`, `po_no`, `product_id`, `order_qty`, `product_rate`, `discount`, `store_id`, `warehouse_id`) VALUES ('775133897768649', '20260314204117', '6', '10', '45500', '', '1', '5');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('purchase order', 'create', 'Orde Id-20260314204117 total amount-455000.00', '1', '2026-03-14 20:41:17');
INSERT INTO `purchase_receive` (`receive_id`, `po_no`, `supplier_id`, `store_id`, `warehouse_id`, `voucher_no`, `receive_by`, `receive_date`) VALUES ('20260314204138', '20260313235844', '1', 0, 0, 1007, '1', '2026-03-14');
INSERT INTO `purchase_receive_details` (`receive_id`, `product_id`, `receive_qty`, `product_rate`, `store_id`, `warehouse_id`, `discount`) VALUES ('20260314204138', '6', '1', '45000', '1', '5', '');
INSERT INTO `tmp_store_stock` (`StoreID`, `WarehouseID`, `Stock_Date`, `ProdID`, `InQty`, `OutQty`, `category_id`, `brand_id`, `model_id`, `Remarks`) VALUES ('1', '5', '2026-03-14', '6', '1', 0, '2', '3', '2', '');
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `WarehouseID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('20260313235844', 'PO', '2026-03-14', 10107, 'PO Receive Receive No 20260314204138', '45000.00', 0, '1', '5', 1, '1', '2026-03-14', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `WarehouseID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('20260313235844', 'PO', '2026-03-14', '5020200008', 'PO received For PO No.20260313235844 Receive No.20260314204138', 0, '45000.00', NULL, '5', 1, '1', '2026-03-14', 1);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('purchase order receive', 'create', 'Order Id- total amount-45000.00', '1', '2026-03-14 20:41:38');
INSERT INTO `purchase_receive` (`receive_id`, `po_no`, `supplier_id`, `store_id`, `warehouse_id`, `voucher_no`, `receive_by`, `receive_date`) VALUES ('20260314204205', '20260314204117', '1', 0, 0, 1008, '1', '2026-03-14');
INSERT INTO `purchase_receive_details` (`receive_id`, `product_id`, `receive_qty`, `product_rate`, `store_id`, `warehouse_id`, `discount`) VALUES ('20260314204205', '6', '10', '45500', '1', '5', '');
INSERT INTO `tmp_store_stock` (`StoreID`, `WarehouseID`, `Stock_Date`, `ProdID`, `InQty`, `OutQty`, `category_id`, `brand_id`, `model_id`, `Remarks`) VALUES ('1', '5', '2026-03-14', '6', '10', 0, '2', '3', '2', '');
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `WarehouseID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('20260314204117', 'PO', '2026-03-14', 10107, 'PO Receive Receive No 20260314204205', '455000.00', 0, '1', '5', 1, '1', '2026-03-14', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `WarehouseID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('20260314204117', 'PO', '2026-03-14', '5020200008', 'PO received For PO No.20260314204117 Receive No.20260314204205', 0, '455000.00', NULL, '5', 1, '1', '2026-03-14', 1);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('purchase order receive', 'create', 'Order Id- total amount-455000.00', '1', '2026-03-14 20:42:05');
INSERT INTO `lease` (`package_code`, `package_name`, `lease_duration`, `advance`, `markup`, `isactive`, `createby`, `createdate`) VALUES ('las_1', 'قرض زواج', '6', 0.2, 0.01, 1, '1', '2026-03-14 20:43:44');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('leases', 'create', 'Lease Id-14', '1', '2026-03-14 20:43:44');
INSERT INTO `stock_movement` (`proposal_code`, `for_store_id`, `from_store_id`, `for_warehouse`, `from_warehouse`, `proposal_datetime`, `proposal_by`) VALUES ('p-0001', '2', '1', '6', '5', '2026-03-14', '1');
INSERT INTO `stock_movement_details` (`movement_id`, `product_id`, `proposal_qty`) VALUES (6, '6', '4');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Stockmovment', 'create', 'Stockmovment ID :6', '1', '2026-03-14 20:46:34');
UPDATE `stock_movement` SET `movement_id` = '6', `proposal_code` = 'p-0001', `for_store_id` = '2', `from_store_id` = '1', `proposal_datetime` = '2026-03-14', `proposal_by` = '1', `issue_by` = '1', `for_warehouse` = 0, `from_warehouse` = 0, `issue_code` = 'is-6', `issue_datetime` = '2026-03-14 20:48:50', `issue_remarks` = 'اي ملاحظة', `is_issued` = 1, `is_approved` = 1
WHERE `movement_id` = '6';
UPDATE `stock_movement_details` SET `movement_id` = '6', `product_id` = '6', `proposal_qty` = '4', `issue_qty` = '4', `received_qty` = 0
WHERE `movement_id` = '6'
AND `product_id` = '6';
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Stockmovment', 'issue', 'Stockmovment ID :6', '1', '2026-03-14 20:48:50');
UPDATE `stock_movement` SET `movement_id` = '6', `proposal_code` = 'p-0001', `for_store_id` = '2', `from_store_id` = '1', `proposal_by` = '1', `issue_by` = '1', `for_warehouse` = 0, `from_warehouse` = 0, `issue_code` = 'is-6', `issue_remarks` = NULL, `is_issued` = 1, `is_received` = 1, `is_proposed` = 1, `receive_by` = '1', `receive_datetime` = '2026-03-14 20:49:14'
WHERE `movement_id` = '6';
UPDATE `stock_movement_details` SET `movement_id` = '6', `product_id` = '6', `proposal_qty` = '4', `issue_qty` = '4', `received_qty` = '4'
WHERE `movement_id` = '6'
AND `product_id` = '6';
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('stockmovement ', 'create', 'movemet received', '1', '2026-03-14 20:49:14');
CALL get_store_stock('0,'@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
INSERT INTO `acc_coa` (`HeadCode`, `HeadName`, `PHeadName`, `HeadLevel`, `IsActive`, `IsTransaction`, `IsGL`, `HeadType`, `IsBudget`, `IsDepreciation`, `DepreciationRate`, `CreateBy`, `CreateDate`) VALUES (1020301000004, 'cr-1-علي نصر احمد', 'Customer Receivable', '4', '1', '1', '0', 'A', '0', '0', '0', '1', '2026-03-14 21:02:14');
INSERT INTO `customer` (`customer_code`, `customer_name`, `customer_phone`, `type`, `job_designation`, `store_id`, `customer_address`, `customer_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('cr-1', 'علي نصر احمد', '773388888', '2', 'معلم', NULL, 'اليمن', '87766', 'صنعاء', 1, '1', '2026-03-14 21:02:14');
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
INSERT INTO `lease` (`package_code`, `package_name`, `lease_duration`, `advance`, `markup`, `isactive`, `createby`, `createdate`) VALUES ('zg', 'قرض ضرف', '7', 0.5, 0.02, 1, '1', '2026-03-14 21:16:13');
INSERT INTO `lease_store_map` (`lease_id`, `store_id`) VALUES (15, '1');
INSERT INTO `lease_product_map` (`lease_id`, `product_id`) VALUES (15, '6');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('leases', 'create', 'Lease Id-15', '1', '2026-03-14 21:16:13');
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
INSERT INTO `sales_parent` (`sale_id`, `invoice_no`, `customer_id`, `sale_type_id`, `store_id`, `salesman`, `sales_date`, `sales_time`, `gurrantor_1`, `gurrantor_2`, `advance_amnt`, `lease_id`, `inquiry_officer`, `remaining_amnt`, `installment_amnt`, `package_price`, `total_amnt`) VALUES ('20260314211920', '1001', '29', '3', NULL, '1', '2026-03-14', '21:19:20', NULL, NULL, '45500.00', '15', '2', '46410.00', '6630.00', '91910.00', '91000.00');
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1001', 'LSIV', '2026-03-14 21:19:20', '1020301000003', 'cc-3-على محمد علي Credit For Invoice No1001', 0, '45500.00', NULL, 1, '1', '2026-03-14 21:19:20', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1001', 'LSIV', '2026-03-14 21:19:20', '1020301000003', 'cc-3-على محمد علي Debit of Total Package Price For Invoice#1001', '91910.00', 0, NULL, 1, '1', '2026-03-14 21:19:20', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1001', 'LSIV', '2026-03-14 21:19:20', NULL, 'Cash In Hand Debit For Lease Invoice No1001', '45500.00', 0, NULL, 1, '1', '2026-03-14 21:19:20', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1001', 'LSIV', '2026-03-14 21:19:20', 30102, 'Store Credit For Invoice No1001', 0, '91910.00', NULL, 1, '1', '2026-03-14 21:19:20', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1001', 'LSIV', '2026-03-14 21:19:20', 403, 'Cost Of Sale Debit For Invoice No1001', 90111.111111111, 0, NULL, 1, '1', '2026-03-14 21:19:20', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1001', 'LSIV', '2026-03-14 21:19:20', 10107, 'Inventory Credit For Invoice No1001', 0, 90111.111111111, NULL, 1, '1', '2026-03-14 21:19:20', 1);
INSERT INTO `payment_collection` (`sale_id`, `invoice_no`, `customer_id`, `receive_amnt`, `due_amnt`, `receive_by`, `receive_date`) VALUES ('20260314211920', '1001', '29', '45500.00', '46410.00', '1', '2026-03-14');
INSERT INTO `sale_details` (`sale_id`, `product_id`, `qty`, `sell_price`, `sale_type_id`, `lease_unit_price`) VALUES ('20260314211920', '6', '2', '45500', '3', '45955');
INSERT INTO `tmp_store_stock` (`StoreID`, `WarehouseID`, `Stock_Date`, `ProdID`, `InQty`, `OutQty`, `category_id`, `brand_id`, `model_id`, `Remarks`) VALUES (0, 0, '2026-03-14', '6', 0, '2', '2', '3', '2', '');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Sales', 'create', 'invoice_no-1001 total amount-91000.00', '1', '2026-03-14 21:19:20');
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
INSERT INTO `sales_parent` (`sale_id`, `invoice_no`, `customer_id`, `sale_type_id`, `store_id`, `salesman`, `sales_date`, `sales_time`, `gurrantor_1`, `gurrantor_2`, `advance_amnt`, `lease_id`, `inquiry_officer`, `remaining_amnt`, `installment_amnt`, `package_price`, `total_amnt`) VALUES ('20260314212106', '1001', '29', '3', NULL, '1', '2026-03-14', '21:21:06', NULL, NULL, '22750.00', '15', '1', '23205.00', '3315.00', '45955.00', '45500.00');
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1001', 'LSIV', '2026-03-14 21:21:06', '1020301000003', 'cc-3-على محمد علي Credit For Invoice No1001', 0, '22750.00', NULL, 1, '1', '2026-03-14 21:21:06', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1001', 'LSIV', '2026-03-14 21:21:06', '1020301000003', 'cc-3-على محمد علي Debit of Total Package Price For Invoice#1001', '45955.00', 0, NULL, 1, '1', '2026-03-14 21:21:06', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1001', 'LSIV', '2026-03-14 21:21:06', NULL, 'Cash In Hand Debit For Lease Invoice No1001', '22750.00', 0, NULL, 1, '1', '2026-03-14 21:21:06', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1001', 'LSIV', '2026-03-14 21:21:06', 30102, 'Store Credit For Invoice No1001', 0, '45955.00', NULL, 1, '1', '2026-03-14 21:21:06', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1001', 'LSIV', '2026-03-14 21:21:06', 403, 'Cost Of Sale Debit For Invoice No1001', 45055.555555556, 0, NULL, 1, '1', '2026-03-14 21:21:06', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1001', 'LSIV', '2026-03-14 21:21:06', 10107, 'Inventory Credit For Invoice No1001', 0, 45055.555555556, NULL, 1, '1', '2026-03-14 21:21:06', 1);
INSERT INTO `payment_collection` (`sale_id`, `invoice_no`, `customer_id`, `receive_amnt`, `due_amnt`, `receive_by`, `receive_date`) VALUES ('20260314212106', '1001', '29', '22750.00', '23205.00', '1', '2026-03-14');
INSERT INTO `sale_details` (`sale_id`, `product_id`, `qty`, `sell_price`, `sale_type_id`, `lease_unit_price`) VALUES ('20260314212106', '6', '1', '45500', '3', '45955');
INSERT INTO `tmp_store_stock` (`StoreID`, `WarehouseID`, `Stock_Date`, `ProdID`, `InQty`, `OutQty`, `category_id`, `brand_id`, `model_id`, `Remarks`) VALUES (0, 0, '2026-03-14', '6', 0, '1', '2', '3', '2', '');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Sales', 'create', 'invoice_no-1001 total amount-45500.00', '1', '2026-03-14 21:21:09');
INSERT INTO `gurrantor` (`gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('gc-1', 'علي علي', '76666666', NULL, 'معلم', 'اليمن', '88777', 'بصنع', 1, '1', '2026-03-14 21:32:42');
INSERT INTO `gurrantor` (`gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('gc-2', 'قاسم قاسم', '877777777', NULL, 'مهندس', 'اليمن', '6655555', 'عدن', 1, '1', '2026-03-14 21:32:42');
INSERT INTO `gurrantor` (`gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('gc-1', 'علي علي', '76666666', NULL, '', '', '88777', '', 1, '1', '2026-03-14 21:37:10');
INSERT INTO `gurrantor` (`gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('gc-2', 'حمود حمود', '877777777', NULL, '', '', '6655555', '', 1, '1', '2026-03-14 21:37:10');
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
INSERT INTO `sales_parent` (`sale_id`, `invoice_no`, `customer_id`, `sale_type_id`, `store_id`, `salesman`, `sales_date`, `sales_time`, `gurrantor_1`, `gurrantor_2`, `advance_amnt`, `lease_id`, `inquiry_officer`, `remaining_amnt`, `installment_amnt`, `package_price`, `total_amnt`) VALUES ('20260314213749', '1001', '29', '3', NULL, '1', '2026-03-14', '21:37:49', '0', '-1', '22750.00', '15', '2', '23205.00', '3315.00', '45955.00', '45500.00');
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1001', 'LSIV', '2026-03-14 21:37:49', '1020301000003', 'cc-3-على محمد علي Credit For Invoice No1001', 0, '22750.00', NULL, 1, '1', '2026-03-14 21:37:49', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1001', 'LSIV', '2026-03-14 21:37:49', '1020301000003', 'cc-3-على محمد علي Debit of Total Package Price For Invoice#1001', '45955.00', 0, NULL, 1, '1', '2026-03-14 21:37:49', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1001', 'LSIV', '2026-03-14 21:37:49', NULL, 'Cash In Hand Debit For Lease Invoice No1001', '22750.00', 0, NULL, 1, '1', '2026-03-14 21:37:49', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1001', 'LSIV', '2026-03-14 21:37:49', 30102, 'Store Credit For Invoice No1001', 0, '45955.00', NULL, 1, '1', '2026-03-14 21:37:49', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1001', 'LSIV', '2026-03-14 21:37:49', 403, 'Cost Of Sale Debit For Invoice No1001', 45055.555555556, 0, NULL, 1, '1', '2026-03-14 21:37:49', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1001', 'LSIV', '2026-03-14 21:37:49', 10107, 'Inventory Credit For Invoice No1001', 0, 45055.555555556, NULL, 1, '1', '2026-03-14 21:37:49', 1);
INSERT INTO `payment_collection` (`sale_id`, `invoice_no`, `customer_id`, `receive_amnt`, `due_amnt`, `receive_by`, `receive_date`) VALUES ('20260314213749', '1001', '29', '22750.00', '23205.00', '1', '2026-03-14');
INSERT INTO `customer_gurrantor_map` (`lease_id`, `customer_id`, `gurrantor_id`) VALUES ('15', '29', '0');
INSERT INTO `customer_gurrantor_map` (`lease_id`, `customer_id`, `gurrantor_id`) VALUES ('15', '29', '-1');
INSERT INTO `sale_details` (`sale_id`, `product_id`, `qty`, `sell_price`, `sale_type_id`, `lease_unit_price`) VALUES ('20260314213749', '6', '1', '45500', '3', '45955');
INSERT INTO `tmp_store_stock` (`StoreID`, `WarehouseID`, `Stock_Date`, `ProdID`, `InQty`, `OutQty`, `category_id`, `brand_id`, `model_id`, `Remarks`) VALUES (0, 0, '2026-03-14', '6', 0, '1', '2', '3', '2', '');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Sales', 'create', 'invoice_no-1001 total amount-45500.00', '1', '2026-03-14 21:37:49');
CALL get_store_stock('0,'@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
INSERT INTO `gurrantor` (`gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('gc-1', 'مخمد ناصر احم', '76666666', NULL, 'عالم', 'اليمن', '88777', 'صنعا', 1, '1', '2026-03-14 22:30:33');
INSERT INTO `gurrantor` (`gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('gc-2', 'علي قاسم احمد', '877777777', NULL, 'عالم', 'اليمن', '6655555', 'عدن', 1, '1', '2026-03-14 22:30:33');
INSERT INTO `gurrantor` (`gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('gc-2', 'علي قاسم احمد', '877777777', NULL, 'عالم', 'اليمن', '6655555', 'عدن', 1, '1', '2026-03-14 22:30:33');
INSERT INTO `gurrantor` (`gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('gc-1', 'مخمد ناصر احم', '76666666', 0, 'عالم3', 'اليمن', '88777', 'صنعا', 1, 2, '2026-03-14 22:34:08');
INSERT INTO `gurrantor` (`gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('gc-2', 'علي قاسم احمد', '877777777', 0, 'عالم4', 'اليمن', '6655555', 'عدن', 1, 2, '2026-03-14 22:34:08');
INSERT INTO `gurrantor` (`gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('gc-2', 'علي قاسم احمد', '877777777', 0, 'عالم4', 'اليمن', '6655555', 'عدن', 1, 2, '2026-03-14 22:34:08');
INSERT INTO `gurrantor` (`gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('gc-1', 'مخمد ناصر احمد', '76666666', 0, 'عالم3', 'اليمن', '88777', 'صنعا', 1, '1', '2026-03-14 22:35:12');
INSERT INTO `gurrantor` (`gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('gc-2', 'علي قاسم احمد احمد', '877777777', 0, 'عالم4', 'اليمن', '6655555', 'عدن', 1, '1', '2026-03-14 22:35:12');
INSERT INTO `gurrantor` (`gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('gc-2', 'علي قاسم احمد احمد', '877777777', 0, 'عالم4', 'اليمن', '6655555', 'عدن', 1, '1', '2026-03-14 22:35:12');
UPDATE `user` SET `last_logout` = '2026-03-14 22:44:13'
WHERE `id` = '1';
UPDATE `user` SET `last_login` = '2026-03-14 22:44:22', `ip_address` = '127.0.0.1'
WHERE `id` = '2';
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
INSERT INTO `gurrantor` (`gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('gc-1', 'مخمد ناصر احمد', '76666666', 0, 'معلم', '099', '88777', 'hhg', 1, '2', '2026-03-14 22:45:23');
INSERT INTO `gurrantor` (`gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('gc-2', 'علي قاسم احمد احمد', '877777777', 0, 'مهندس', 'hhgg', '6655555', 'gg', 1, '2', '2026-03-14 22:45:23');
INSERT INTO `gurrantor` (`gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('gc-2', 'علي قاسم احمد احمد', '877777777', 0, 'مهندس', 'hhgg', '6655555', 'gg', 1, '2', '2026-03-14 22:45:23');
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
INSERT INTO `gurrantor` (`gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('', 'dddddddddd', '76666666', 0, '', '', '88777', '', 1, '2', '2026-03-14 22:49:38');
INSERT INTO `gurrantor` (`gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('', 'ddddddddd', '877777777', 0, '', '', '6655555', '', 1, '2', '2026-03-14 22:49:38');
INSERT INTO `gurrantor` (`gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('', 'ddddddddd', '877777777', 0, '', '', '6655555', '', 1, '2', '2026-03-14 22:49:38');
INSERT INTO `gurrantor` (`gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('gc-1', 'dddddddddd', '76666666', 0, '', '', '88777', '', 1, '2', '2026-03-14 22:50:28');
INSERT INTO `gurrantor` (`gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('gc-2', 'ddddddddd', '877777777', 0, '', '', '6655555', '', 1, '2', '2026-03-14 22:50:28');
INSERT INTO `gurrantor` (`gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('gc-2', 'ddddddddd', '877777777', 0, '', '', '6655555', '', 1, '2', '2026-03-14 22:50:28');
INSERT INTO `gurrantor` (`gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('gc-1', 'ييتياا', '76666666', 0, '', '', '88777', '', 1, '2', '2026-03-14 22:52:07');
INSERT INTO `gurrantor` (`gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('gc-2', 'سيييي', '877777777', 0, '', '', '6655555', '', 1, '2', '2026-03-14 22:52:07');
INSERT INTO `gurrantor` (`gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('gc-2', 'سيييي', '877777777', 0, '', '', '6655555', '', 1, '2', '2026-03-14 22:52:07');
INSERT INTO `gurrantor` (`gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('gc-1', 'مخمد ناصر احمد', '76666666', 0, '', '', '88777', '', 1, '2', '2026-03-14 23:01:12');
INSERT INTO `gurrantor` (`gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('gc-2', 'علي x قاسم احمد احمد', '877777777', 0, '', '', '6655555', '', 1, '2', '2026-03-14 23:01:12');
INSERT INTO `gurrantor` (`gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('gc-2', 'علي x قاسم احمد احمد', '877777777', 0, '', '', '6655555', '', 1, '2', '2026-03-14 23:01:12');
INSERT INTO `gurrantor` (`gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('gc-1', 'مخمد ناصر احمد', '76666666', 0, '', '', '88777', '', 1, '2', '2026-03-14 23:02:10');
INSERT INTO `gurrantor` (`gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('gc-2', 'علي x قاسم احمد احمد', '877777777', 0, '', '', '6655555', '', 1, '2', '2026-03-14 23:02:10');
INSERT INTO `gurrantor` (`gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('gc-2', 'علي x قاسم احمد احمد', '877777777', 0, '', '', '6655555', '', 1, '2', '2026-03-14 23:02:10');
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
INSERT INTO `lease` (`package_code`, `package_name`, `lease_duration`, `advance`, `markup`, `isactive`, `createby`, `createdate`) VALUES ('xx', 'قرض حسن', '6', 0.4, 0.02, 1, '2', '2026-03-15 00:09:54');
INSERT INTO `lease_store_map` (`lease_id`, `store_id`) VALUES (16, '1');
INSERT INTO `lease_product_map` (`lease_id`, `product_id`) VALUES (16, '6');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('leases', 'create', 'Lease Id-16', '2', '2026-03-15 00:09:54');
INSERT INTO `gurrantor` (`gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createdate`) VALUES ('gc-1', 'محممم', '76666666000', 0, '', '', '8877766', '', 1, '2026-03-15 00:11:04');
INSERT INTO `gurrantor` (`gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createdate`) VALUES ('gc-2', 'علييي', '877777777999', 0, '', '', '66666', '', 1, '2026-03-15 00:11:04');
INSERT INTO `gurrantor` (`gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createdate`) VALUES ('gc-2', 'علييي', '877777777999', 0, '', '', '66666', '', 1, '2026-03-15 00:11:04');
INSERT INTO `gurrantor` (`gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('gc-1', 'محممم', '76666666000', 0, '', '', '8877766', '', 1, '2', '2026-03-15 00:14:09');
INSERT INTO `gurrantor` (`gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('gc-2', 'علييي', '877777777999', 0, '', '', '66666', '', 1, '2', '2026-03-15 00:14:09');
INSERT INTO `gurrantor` (`gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('gc-2', 'علييي', '877777777999', 0, '', '', '66666', '', 1, '2', '2026-03-15 00:14:09');
INSERT INTO `gurrantor` (`gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('gc-1', 'محممم', '76666666000', 0, '', '', '8877766', '', 1, 0, '2026-03-15 01:02:11');
INSERT INTO `gurrantor` (`gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('gc-2', 'علييي', '877777777999', 0, '', '', '66666', '', 1, 0, '2026-03-15 01:02:11');
INSERT INTO `gurrantor` (`gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('gc-2', 'علييي', '877777777999', 0, '', '', '66666', '', 1, 0, '2026-03-15 01:02:11');
INSERT INTO `gurrantor` (`gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('gc-1', 'رررررررررررررررررر', '777', 0, 'لللل', 'للل', '888888', 'اااا', 1, 0, '2026-03-15 01:03:15');
INSERT INTO `gurrantor` (`gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('gc-2', 'ررررررررررررررر', '5544', 0, 'للللل', 'ببب', '666666', 'للل', 1, 0, '2026-03-15 01:03:15');
INSERT INTO `gurrantor` (`gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('gc-2', 'ررررررررررررررر', '5544', 0, 'للللل', 'ببب', '666666', 'للل', 1, 0, '2026-03-15 01:03:15');
UPDATE `user` SET `last_logout` = '2026-03-15 01:25:27'
WHERE `id` = '2';
UPDATE `user` SET `last_login` = '2026-03-15 01:25:39', `ip_address` = '127.0.0.1'
WHERE `id` = '2';
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
INSERT INTO `gurrantor` (`gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('gc-1', 'nnnnnnnnnnnn', '88888', 0, 'hhhhhhhh', 'hhhhhhhhhh', '77777777', 'yyyyy', 1, 0, '2026-03-15 01:26:44');
INSERT INTO `gurrantor` (`gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('gc-2', 'ffffffffff', '877777777999', 0, 'مهندس', 'gggg', '66666', 'fff', 1, 0, '2026-03-15 01:26:44');
INSERT INTO `gurrantor` (`gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('gc-2', 'ffffffffff', '877777777999', 0, 'مهندس', 'gggg', '66666', 'fff', 1, 0, '2026-03-15 01:26:44');
INSERT INTO `gurrantor` (`gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('gc-1', 'رررررررررررررررررر', '777', 0, 'لللل', 'للل', '888888', 'اااا', 1, 0, '2026-03-15 01:27:49');
INSERT INTO `gurrantor` (`gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('gc-2', 'ررررررررررررررر', '5544', 0, 'للللل', 'ببب', '666666', 'للل', 1, 0, '2026-03-15 01:27:49');
INSERT INTO `gurrantor` (`gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('gc-2', 'ررررررررررررررر', '5544', 0, 'للللل', 'ببب', '666666', 'للل', 1, 0, '2026-03-15 01:27:49');
UPDATE `user` SET `last_logout` = '2026-03-15 01:29:04'
WHERE `id` = '2';
UPDATE `user` SET `last_login` = '2026-03-15 01:29:15', `ip_address` = '127.0.0.1'
WHERE `id` = '1';
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
INSERT INTO `gurrantor` (`gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('gc-1', 'mnnnnnn', '766666668', 0, 'لللل', 'uuyy', '887776677', 'uuu', 1, 0, '2026-03-15 01:30:26');
INSERT INTO `gurrantor` (`gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('gc-2', 'علي قاسم احمد احمد', '8777777779997', 0, 'للللل', 'yyy', '665555577', 'ttt', 1, 0, '2026-03-15 01:30:26');
INSERT INTO `gurrantor` (`gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('gc-2', 'علي قاسم احمد احمد', '8777777779997', 0, 'للللل', 'yyy', '665555577', 'ttt', 1, 0, '2026-03-15 01:30:26');
INSERT INTO `gurrantor` (`gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('gc-1', 'nnnnnnnnnnnn', '88888', 0, 'hhhhhhhh', 'hhhhhhhhhh', '77777777', 'yyyyy', 1, 0, '2026-03-15 01:35:54');
INSERT INTO `gurrantor` (`gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('gc-2', 'ffffffffff', '877777777999', 0, 'مهندس', 'gggg', '66666', 'fff', 1, 0, '2026-03-15 01:35:54');
INSERT INTO `gurrantor` (`gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('gc-2', 'ffffffffff', '877777777999', 0, 'مهندس', 'gggg', '66666', 'fff', 1, 0, '2026-03-15 01:35:54');
INSERT INTO `gurrantor` (`gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('gc-1', 'nnnnnnnnnnnn', '88888', 0, 'hhhhhhhh', 'hhhhhhhhhh', '77777777', 'yyyyy', 1, 0, '2026-03-15 01:36:28');
INSERT INTO `gurrantor` (`gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('gc-2', 'ffffffffff', '877777777999', 0, 'مهندس', 'gggg', '66666', 'fff', 1, 0, '2026-03-15 01:36:28');
INSERT INTO `gurrantor` (`gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('gc-2', 'ffffffffff', '877777777999', 0, 'مهندس', 'gggg', '66666', 'fff', 1, 0, '2026-03-15 01:36:28');
INSERT INTO `gurrantor` (`gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('gc-1', 'مخمد ناصر احمد', '88888', 0, 'لللل', 'hhhhhhhhhhh', '8877766', 'jjjj', 1, 0, '2026-03-15 01:38:12');
INSERT INTO `gurrantor` (`gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('gc-2', 'ddddddddd', '877777777999', 0, 'مهندس', 'hhhhhhhhhh', '66666', 'gggg', 1, 0, '2026-03-15 01:38:12');
INSERT INTO `gurrantor` (`gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('gc-2', 'ddddddddd', '877777777999', 0, 'مهندس', 'hhhhhhhhhh', '66666', 'gggg', 1, 0, '2026-03-15 01:38:12');
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
INSERT INTO `sales_parent` (`sale_id`, `invoice_no`, `customer_id`, `sale_type_id`, `store_id`, `salesman`, `sales_date`, `sales_time`, `gurrantor_1`, `gurrantor_2`, `advance_amnt`, `lease_id`, `inquiry_officer`, `remaining_amnt`, `installment_amnt`, `package_price`, `total_amnt`) VALUES ('20260315013926', '1001', '28', '3', NULL, '1', '2026-03-15', '01:39:26', '0', '-1', '18200.00', '16', '2', '27846.00', '4641.00', '46046.00', '45500.00');
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1001', 'LSIV', '2026-03-15 01:39:26', '1020301000002', 'cc-2-فواز عبدالله Credit For Invoice No1001', 0, '18200.00', NULL, 1, '1', '2026-03-15 01:39:26', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1001', 'LSIV', '2026-03-15 01:39:26', '1020301000002', 'cc-2-فواز عبدالله Debit of Total Package Price For Invoice#1001', '46046.00', 0, NULL, 1, '1', '2026-03-15 01:39:26', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1001', 'LSIV', '2026-03-15 01:39:26', NULL, 'Cash In Hand Debit For Lease Invoice No1001', '18200.00', 0, NULL, 1, '1', '2026-03-15 01:39:26', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1001', 'LSIV', '2026-03-15 01:39:26', 30102, 'Store Credit For Invoice No1001', 0, '46046.00', NULL, 1, '1', '2026-03-15 01:39:26', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1001', 'LSIV', '2026-03-15 01:39:26', 403, 'Cost Of Sale Debit For Invoice No1001', 45055.555555556, 0, NULL, 1, '1', '2026-03-15 01:39:26', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1001', 'LSIV', '2026-03-15 01:39:26', 10107, 'Inventory Credit For Invoice No1001', 0, 45055.555555556, NULL, 1, '1', '2026-03-15 01:39:26', 1);
INSERT INTO `payment_collection` (`sale_id`, `invoice_no`, `customer_id`, `receive_amnt`, `due_amnt`, `receive_by`, `receive_date`) VALUES ('20260315013926', '1001', '28', '18200.00', '27846.00', '1', '2026-03-15');
INSERT INTO `customer_gurrantor_map` (`lease_id`, `customer_id`, `gurrantor_id`) VALUES ('16', '28', '0');
INSERT INTO `customer_gurrantor_map` (`lease_id`, `customer_id`, `gurrantor_id`) VALUES ('16', '28', '-1');
INSERT INTO `sale_details` (`sale_id`, `product_id`, `qty`, `sell_price`, `sale_type_id`, `lease_unit_price`) VALUES ('20260315013926', '6', '1', '45500', '3', '46046');
INSERT INTO `tmp_store_stock` (`StoreID`, `WarehouseID`, `Stock_Date`, `ProdID`, `InQty`, `OutQty`, `category_id`, `brand_id`, `model_id`, `Remarks`) VALUES (0, 0, '2026-03-15', '6', 0, '1', '2', '3', '2', '');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Sales', 'create', 'invoice_no-1001 total amount-45500.00', '1', '2026-03-15 01:39:29');
INSERT INTO `gurrantor` (`gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('gc-1', 'علي علي', '76666666000', 0, '', '', '8877766', '', 1, 0, '2026-03-15 01:42:44');
INSERT INTO `gurrantor` (`gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('gc-2', 'علي قاسم احمد احمد', '877777777999', 0, '', '', '6655555', '', 1, 0, '2026-03-15 01:42:44');
INSERT INTO `gurrantor` (`gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('gc-2', 'علي قاسم احمد احمد', '877777777999', 0, '', '', '6655555', '', 1, 0, '2026-03-15 01:42:44');
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
INSERT INTO `sales_parent` (`sale_id`, `invoice_no`, `customer_id`, `sale_type_id`, `store_id`, `salesman`, `sales_date`, `sales_time`, `gurrantor_1`, `gurrantor_2`, `advance_amnt`, `lease_id`, `inquiry_officer`, `remaining_amnt`, `installment_amnt`, `package_price`, `total_amnt`) VALUES ('20260315014339', '1001', '28', '3', NULL, '1', '2026-03-15', '01:43:39', '0', '-1', '18200.00', '16', '2', '27846.00', '4641.00', '46046.00', '45500.00');
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1001', 'LSIV', '2026-03-15 01:43:39', '1020301000002', 'cc-2-فواز عبدالله Credit For Invoice No1001', 0, '18200.00', NULL, 1, '1', '2026-03-15 01:43:39', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1001', 'LSIV', '2026-03-15 01:43:39', '1020301000002', 'cc-2-فواز عبدالله Debit of Total Package Price For Invoice#1001', '46046.00', 0, NULL, 1, '1', '2026-03-15 01:43:39', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1001', 'LSIV', '2026-03-15 01:43:39', NULL, 'Cash In Hand Debit For Lease Invoice No1001', '18200.00', 0, NULL, 1, '1', '2026-03-15 01:43:39', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1001', 'LSIV', '2026-03-15 01:43:39', 30102, 'Store Credit For Invoice No1001', 0, '46046.00', NULL, 1, '1', '2026-03-15 01:43:39', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1001', 'LSIV', '2026-03-15 01:43:39', 403, 'Cost Of Sale Debit For Invoice No1001', 45055.555555556, 0, NULL, 1, '1', '2026-03-15 01:43:39', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1001', 'LSIV', '2026-03-15 01:43:39', 10107, 'Inventory Credit For Invoice No1001', 0, 45055.555555556, NULL, 1, '1', '2026-03-15 01:43:39', 1);
INSERT INTO `payment_collection` (`sale_id`, `invoice_no`, `customer_id`, `receive_amnt`, `due_amnt`, `receive_by`, `receive_date`) VALUES ('20260315014339', '1001', '28', '18200.00', '27846.00', '1', '2026-03-15');
INSERT INTO `customer_gurrantor_map` (`lease_id`, `customer_id`, `gurrantor_id`) VALUES ('16', '28', '0');
INSERT INTO `customer_gurrantor_map` (`lease_id`, `customer_id`, `gurrantor_id`) VALUES ('16', '28', '-1');
INSERT INTO `sale_details` (`sale_id`, `product_id`, `qty`, `sell_price`, `sale_type_id`, `lease_unit_price`) VALUES ('20260315014339', '6', '1', '45500', '3', '46046');
INSERT INTO `tmp_store_stock` (`StoreID`, `WarehouseID`, `Stock_Date`, `ProdID`, `InQty`, `OutQty`, `category_id`, `brand_id`, `model_id`, `Remarks`) VALUES (0, 0, '2026-03-15', '6', 0, '1', '2', '3', '2', '');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Sales', 'create', 'invoice_no-1001 total amount-45500.00', '1', '2026-03-15 01:43:39');
INSERT INTO `acc_coa` (`HeadCode`, `HeadName`, `PHeadName`, `HeadLevel`, `IsActive`, `IsTransaction`, `IsGL`, `HeadType`, `IsBudget`, `IsDepreciation`, `DepreciationRate`, `CreateBy`, `CreateDate`) VALUES (1020301000005, 'cr-1-محمد صالح', 'Customer Receivable', '4', '1', '1', '0', 'A', '0', '0', '0', '1', '2026-03-15 01:46:18');
INSERT INTO `customer` (`customer_code`, `customer_name`, `customer_phone`, `type`, `job_designation`, `store_id`, `customer_address`, `customer_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('cr-1', 'محمد صالح', '7733888888', '2', 'مه', NULL, 'اليمن', '776666', 'صن', 1, '1', '2026-03-15 01:46:18');
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
UPDATE `user` SET `last_login` = '2026-03-15 21:08:26', `ip_address` = '127.0.0.1'
WHERE `id` = '1';
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
INSERT INTO `acc_coa` (`HeadCode`, `HeadName`, `PHeadName`, `HeadLevel`, `IsActive`, `IsTransaction`, `IsGL`, `HeadType`, `IsBudget`, `IsDepreciation`, `DepreciationRate`, `CreateBy`, `CreateDate`) VALUES (1020301000006, 'cr-1-محمد فواز', 'Customer Receivable', '4', '1', '1', '0', 'A', '0', '0', '0', '1', '2026-03-15 21:11:48');
INSERT INTO `customer` (`customer_code`, `customer_name`, `customer_phone`, `type`, `job_designation`, `store_id`, `customer_address`, `customer_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('cr-1', 'محمد فواز', '7766554420', '2', 'مبرمج', NULL, 'اليمن', '877777', 'المدينة', 1, '1', '2026-03-15 21:11:48');
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
INSERT INTO `acc_coa` (`HeadCode`, `HeadName`, `PHeadName`, `HeadLevel`, `IsActive`, `IsTransaction`, `IsGL`, `HeadType`, `IsBudget`, `IsDepreciation`, `DepreciationRate`, `CreateBy`, `CreateDate`) VALUES (1020301000007, 'cr-1-محمد فواز عبدالله', 'Customer Receivable', '4', '1', '1', '0', 'A', '0', '0', '0', '1', '2026-03-15 21:14:21');
INSERT INTO `customer` (`customer_id`, `customer_code`, `customer_name`, `type`, `customer_phone`, `store_id`, `job_designation`, `customer_address`, `customer_cnic`, `business_address`, `isactive`, `createby`, `createdate`, `updateby`, `updatedate`) VALUES ('', 'cr-1', 'محمد فواز عبدالله', '2', '7766554400', '1', '', '', '009998', '', '1', '1', '2026-03-15 21:14:21', '', '');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Customer', 'create', 30, '1', '2026-03-15 21:14:21');
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
UPDATE `user` SET `last_logout` = '2026-03-15 21:27:55'
WHERE `id` = '1';
UPDATE `user` SET `last_login` = '2026-03-15 21:28:04', `ip_address` = '127.0.0.1'
WHERE `id` = '2';
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
INSERT INTO `purchase_order` (`po_no`, `supplier_id`, `total_amnt`, `store_id`, `warehouse_id`, `createby`, `createdate`, `isapproved`) VALUES ('20260315212922', '1', '1820000.00', 0, 0, '2', '2026-03-15 21:29:22', 0);
INSERT INTO `purchase_order_details` (`row_id`, `po_no`, `product_id`, `order_qty`, `product_rate`, `discount`, `store_id`, `warehouse_id`) VALUES ('592743498163537', '20260315212922', '6', '40', '45500', '', '2', '');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('purchase order', 'create', 'Orde Id-20260315212922 total amount-1820000.00', '2', '2026-03-15 21:29:22');
UPDATE `user` SET `last_logout` = '2026-03-15 21:29:35'
WHERE `id` = '2';
UPDATE `user` SET `last_login` = '2026-03-15 21:29:46', `ip_address` = '127.0.0.1'
WHERE `id` = '1';
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
UPDATE `user` SET `last_logout` = '2026-03-15 21:30:36'
WHERE `id` = '1';
UPDATE `user` SET `last_login` = '2026-03-15 21:30:43', `ip_address` = '127.0.0.1'
WHERE `id` = '2';
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
INSERT INTO `purchase_order` (`po_no`, `supplier_id`, `total_amnt`, `store_id`, `warehouse_id`, `createby`, `createdate`, `isapproved`) VALUES ('20260315213635', '1', '1001000.00', 0, 0, '2', '2026-03-15 21:36:35', 0);
INSERT INTO `purchase_order_details` (`row_id`, `po_no`, `product_id`, `order_qty`, `product_rate`, `discount`, `store_id`, `warehouse_id`) VALUES ('541437318389856', '20260315213635', '6', '22', '45500', '', '1', '5');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('purchase order', 'create', 'Orde Id-20260315213635 total amount-1001000.00', '2', '2026-03-15 21:36:35');
UPDATE `user` SET `last_logout` = '2026-03-15 21:36:59'
WHERE `id` = '2';
UPDATE `user` SET `last_login` = '2026-03-15 21:37:13', `ip_address` = '127.0.0.1'
WHERE `id` = '1';
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
INSERT INTO `purchase_order` (`po_no`, `supplier_id`, `total_amnt`, `store_id`, `warehouse_id`, `createby`, `createdate`, `isapproved`) VALUES ('20260315213751', '1', '1501500.00', 0, 0, '1', '2026-03-15 21:37:51', 0);
INSERT INTO `purchase_order_details` (`row_id`, `po_no`, `product_id`, `order_qty`, `product_rate`, `discount`, `store_id`, `warehouse_id`) VALUES ('961176261556325', '20260315213751', '6', '33', '45500', '', '1', '5');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('purchase order', 'create', 'Orde Id-20260315213751 total amount-1501500.00', '1', '2026-03-15 21:37:52');
UPDATE `purchase_order` SET `po_no` = '20260315213751', `isapproved` = 1
WHERE `po_no` = '20260315213751';
INSERT INTO `purchase_receive` (`receive_id`, `po_no`, `supplier_id`, `store_id`, `warehouse_id`, `voucher_no`, `receive_by`, `receive_date`) VALUES ('20260315213907', '20260315213751', '1', 0, 0, 1009, '1', '2026-03-15');
INSERT INTO `purchase_receive_details` (`receive_id`, `product_id`, `receive_qty`, `product_rate`, `store_id`, `warehouse_id`, `discount`) VALUES ('20260315213907', '6', '30', '45500', '1', '5', '');
INSERT INTO `tmp_store_stock` (`StoreID`, `WarehouseID`, `Stock_Date`, `ProdID`, `InQty`, `OutQty`, `category_id`, `brand_id`, `model_id`, `Remarks`) VALUES ('1', '5', '2026-03-15', '6', '30', 0, '2', '3', '2', '');
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `WarehouseID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('20260315213751', 'PO', '2026-03-15', 10107, 'PO Receive Receive No 20260315213907', '1365000.00', 0, '1', '5', 1, '1', '2026-03-15', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `WarehouseID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('20260315213751', 'PO', '2026-03-15', '5020200008', 'PO received For PO No.20260315213751 Receive No.20260315213907', 0, '1365000.00', NULL, '5', 1, '1', '2026-03-15', 1);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('purchase order receive', 'create', 'Order Id- total amount-1365000.00', '1', '2026-03-15 21:39:07');
DELETE FROM `sec_userrole`
WHERE `user_id` = '2';
INSERT INTO `sec_userrole` (`user_id`, `roleid`, `createby`, `createdate`) VALUES ('2', '5', '1', '2026-03-15 10:08:59');
INSERT INTO `sec_userrole` (`user_id`, `roleid`, `createby`, `createdate`) VALUES ('2', '4', '1', '2026-03-15 10:08:59');
INSERT INTO `sec_userrole` (`user_id`, `roleid`, `createby`, `createdate`) VALUES ('2', '2', '1', '2026-03-15 10:08:59');
INSERT INTO `sec_userrole` (`user_id`, `roleid`, `createby`, `createdate`) VALUES ('2', '3', '1', '2026-03-15 10:08:59');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('User Role', 'update', 'Role id :', '1', '2026-03-15 22:09:00');
DELETE FROM `role_permission`
WHERE `role_id` = '4';
INSERT INTO `role_permission` (`create`, `delete`, `fk_module_id`, `read`, `role_id`, `update`) VALUES (0,0,'13',0,'4',0), (0,0,'21',0,'4',0), (0,0,'6',0,'4',0), (0,0,'3',0,'4',0), ('1',0,'14','1','4','1'), ('1','1','12','1','4','1'), ('1',0,'7','1','4','1'), ('1',0,'9','1','4','1'), ('1',0,'17','1','4','1'), ('1',0,'19','1','4','1'), ('1',0,'1','1','4','1'), ('1','1','18','1','4','1'), (0,0,'20','1','4',0), ('1','1','10','1','4','1');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Role Permission', 'create', 'Role id :600', '1', '2026-03-15 22:10:27');
DELETE FROM `role_permission`
WHERE `role_id` = '2';
INSERT INTO `role_permission` (`create`, `delete`, `fk_module_id`, `read`, `role_id`, `update`) VALUES ('1','1','13','1','2','1'), (0,0,'21',0,'2',0), ('1',0,'6','1','2','1'), ('1','1','3','1','2','1'), ('1',0,'14','1','2','1'), ('1','1','12','1','2','1'), ('1',0,'7','1','2','1'), ('1',0,'9','1','2','1'), ('1','1','17','1','2','1'), ('1',0,'19','1','2','1'), ('1',0,'1','1','2','1'), ('1','1','18','1','2','1'), ('1','1','20','1','2','1'), ('1','1','10','1','2','1');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Role Permission', 'create', 'Role id :614', '1', '2026-03-15 22:11:00');
INSERT INTO `purchase_receive` (`receive_id`, `po_no`, `supplier_id`, `store_id`, `warehouse_id`, `voucher_no`, `receive_by`, `receive_date`) VALUES ('20260315221157', '20260315213635', '1', 0, 0, 1010, '1', '2026-03-15');
INSERT INTO `purchase_receive_details` (`receive_id`, `product_id`, `receive_qty`, `product_rate`, `store_id`, `warehouse_id`, `discount`) VALUES ('20260315221157', '6', '20', '45500', '1', '5', '');
INSERT INTO `tmp_store_stock` (`StoreID`, `WarehouseID`, `Stock_Date`, `ProdID`, `InQty`, `OutQty`, `category_id`, `brand_id`, `model_id`, `Remarks`) VALUES ('1', '5', '2026-03-15', '6', '20', 0, '2', '3', '2', '');
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `WarehouseID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('20260315213635', 'PO', '2026-03-15', 10107, 'PO Receive Receive No 20260315221157', '910000.00', 0, '1', '5', 1, '1', '2026-03-15', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `WarehouseID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('20260315213635', 'PO', '2026-03-15', '5020200008', 'PO received For PO No.20260315213635 Receive No.20260315221157', 0, '910000.00', NULL, '5', 1, '1', '2026-03-15', 1);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('purchase order receive', 'create', 'Order Id- total amount-910000.00', '1', '2026-03-15 22:11:57');
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
INSERT INTO `sales_parent` (`sale_id`, `invoice_no`, `customer_id`, `sale_type_id`, `store_id`, `salesman`, `sales_date`, `sales_time`, `gurrantor_1`, `gurrantor_2`, `advance_amnt`, `lease_id`, `inquiry_officer`, `remaining_amnt`, `installment_amnt`, `package_price`, `total_amnt`) VALUES ('20260315222103', '1001', '30', '3', NULL, '1', '2026-03-15', '22:21:03', NULL, NULL, '36400.00', '16', '1', '55692.00', '9282.00', '92092.00', '91000.00');
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1001', 'LSIV', '2026-03-15 22:21:03', '1020301000007', 'cr-1-محمد فواز عبدالله Credit For Invoice No1001', 0, '36400.00', NULL, 1, '1', '2026-03-15 22:21:03', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1001', 'LSIV', '2026-03-15 22:21:03', '1020301000007', 'cr-1-محمد فواز عبدالله Debit of Total Package Price For Invoice#1001', '92092.00', 0, NULL, 1, '1', '2026-03-15 22:21:03', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1001', 'LSIV', '2026-03-15 22:21:03', NULL, 'Cash In Hand Debit For Lease Invoice No1001', '36400.00', 0, NULL, 1, '1', '2026-03-15 22:21:03', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1001', 'LSIV', '2026-03-15 22:21:03', 30102, 'Store Credit For Invoice No1001', 0, '92092.00', NULL, 1, '1', '2026-03-15 22:21:03', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1001', 'LSIV', '2026-03-15 22:21:03', 403, 'Cost Of Sale Debit For Invoice No1001', 90272.727272727, 0, NULL, 1, '1', '2026-03-15 22:21:03', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1001', 'LSIV', '2026-03-15 22:21:03', 10107, 'Inventory Credit For Invoice No1001', 0, 90272.727272727, NULL, 1, '1', '2026-03-15 22:21:03', 1);
INSERT INTO `payment_collection` (`sale_id`, `invoice_no`, `customer_id`, `receive_amnt`, `due_amnt`, `receive_by`, `receive_date`) VALUES ('20260315222103', '1001', '30', '36400.00', '55692.00', '1', '2026-03-15');
INSERT INTO `sale_details` (`sale_id`, `product_id`, `qty`, `sell_price`, `sale_type_id`, `lease_unit_price`) VALUES ('20260315222103', '6', '2', '45500', '3', '46046');
INSERT INTO `tmp_store_stock` (`StoreID`, `WarehouseID`, `Stock_Date`, `ProdID`, `InQty`, `OutQty`, `category_id`, `brand_id`, `model_id`, `Remarks`) VALUES (0, 0, '2026-03-15', '6', 0, '2', '2', '3', '2', '');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Sales', 'create', 'invoice_no-1001 total amount-91000.00', '1', '2026-03-15 22:21:04');
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
UPDATE `user` SET `last_logout` = '2026-03-15 22:30:45'
WHERE `id` = '1';
UPDATE `user` SET `last_login` = '2026-03-15 22:30:53', `ip_address` = '127.0.0.1'
WHERE `id` = '2';
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
INSERT INTO `purchase_order` (`po_no`, `supplier_id`, `total_amnt`, `store_id`, `warehouse_id`, `createby`, `createdate`, `isapproved`) VALUES ('20260315223342', '1', '1365000.00', 0, 0, '2', '2026-03-15 22:33:42', 0);
INSERT INTO `purchase_order_details` (`row_id`, `po_no`, `product_id`, `order_qty`, `product_rate`, `discount`, `store_id`, `warehouse_id`) VALUES ('876881317384353', '20260315223342', '6', '30', '45500', '', '2', '6');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('purchase order', 'create', 'Orde Id-20260315223342 total amount-1365000.00', '2', '2026-03-15 22:33:42');
UPDATE `purchase_order` SET `po_no` = '20260315223342', `isapproved` = 1
WHERE `po_no` = '20260315223342';
INSERT INTO `purchase_receive` (`receive_id`, `po_no`, `supplier_id`, `store_id`, `warehouse_id`, `voucher_no`, `receive_by`, `receive_date`) VALUES ('20260315225622', '20260315223342', '1', 0, 0, 1011, '2', '2026-03-15');
INSERT INTO `purchase_receive_details` (`receive_id`, `product_id`, `receive_qty`, `product_rate`, `store_id`, `warehouse_id`, `discount`) VALUES ('20260315225622', '6', '20', '45500', '2', '6', '');
INSERT INTO `tmp_store_stock` (`StoreID`, `WarehouseID`, `Stock_Date`, `ProdID`, `InQty`, `OutQty`, `category_id`, `brand_id`, `model_id`, `Remarks`) VALUES ('2', '6', '2026-03-15', '6', '20', 0, '2', '3', '2', '');
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `WarehouseID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('20260315223342', 'PO', '2026-03-15', 10107, 'PO Receive Receive No 20260315225622', '910000.00', 0, '2', '6', 1, '2', '2026-03-15', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `WarehouseID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('20260315223342', 'PO', '2026-03-15', '5020200008', 'PO received For PO No.20260315223342 Receive No.20260315225622', 0, '910000.00', '2', '6', 1, '2', '2026-03-15', 1);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('purchase order receive', 'create', 'Order Id- total amount-910000.00', '2', '2026-03-15 22:56:24');
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
UPDATE `user` SET `last_logout` = '2026-03-15 23:45:39'
WHERE `id` = '2';
UPDATE `user` SET `last_login` = '2026-03-15 23:45:49', `ip_address` = '127.0.0.1'
WHERE `id` = '1';
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
UPDATE `user` SET `last_login` = '2026-03-16 02:15:48', `ip_address` = '127.0.0.1'
WHERE `id` = '1';
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
INSERT INTO `purchase_order` (`po_no`, `supplier_id`, `total_amnt`, `store_id`, `warehouse_id`, `createby`, `createdate`, `isapproved`) VALUES ('20260316021639', '1', '1820000.00', 0, 0, '1', '2026-03-16 02:16:39', 0);
INSERT INTO `purchase_order_details` (`row_id`, `po_no`, `product_id`, `order_qty`, `product_rate`, `discount`, `store_id`, `warehouse_id`) VALUES ('678798925667319', '20260316021639', '6', '40', '45500', '', '1', '5');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('purchase order', 'create', 'Orde Id-20260316021639 total amount-1820000.00', '1', '2026-03-16 02:16:39');
INSERT INTO `purchase_receive` (`receive_id`, `po_no`, `supplier_id`, `store_id`, `warehouse_id`, `voucher_no`, `receive_by`, `receive_date`) VALUES ('20260316021659', '20260316021639', '1', 0, 0, 1000, '1', '2026-03-16');
INSERT INTO `purchase_receive_details` (`receive_id`, `product_id`, `receive_qty`, `product_rate`, `store_id`, `warehouse_id`, `discount`) VALUES ('20260316021659', '6', '38', '45500', '1', '5', '');
INSERT INTO `tmp_store_stock` (`StoreID`, `WarehouseID`, `Stock_Date`, `ProdID`, `InQty`, `OutQty`, `category_id`, `brand_id`, `model_id`, `Remarks`) VALUES ('1', '5', '2026-03-16', '6', '38', 0, '2', '3', '2', '');
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `WarehouseID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('20260316021639', 'PO', '2026-03-16', 10107, 'PO Receive Receive No 20260316021659', '1729000.00', 0, '1', '5', 1, '1', '2026-03-16', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `WarehouseID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('20260316021639', 'PO', '2026-03-16', '5020200008', 'PO received For PO No.20260316021639 Receive No.20260316021659', 0, '1729000.00', NULL, '5', 1, '1', '2026-03-16', 1);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('purchase order receive', 'create', 'Order Id- total amount-1729000.00', '1', '2026-03-16 02:17:00');
INSERT INTO `purchase_return` (`po_no`, `supplier_id`, `return_date`, `totalamount`, `return_reason`, `createby`, `createdate`) VALUES ('20260316021639', '1', '2026-03-16', '91000.00', '', '1', '2026-03-16 02:17:42');
INSERT INTO `purchase_return_details` (`preturn_id`, `product_id`, `qty`, `store_id`, `product_rate`) VALUES (4, '6', '2', '1', '45500');
INSERT INTO `tmp_store_stock` (`StoreID`, `WarehouseID`, `Stock_Date`, `ProdID`, `InQty`, `OutQty`, `category_id`, `brand_id`, `model_id`, `Remarks`) VALUES ('1', 0, '2026-03-16', '6', 0, '2', '2', '3', '2', '');
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('20260316021639', 'PO', '2026-03-16 02:17:42', '5020200008', 'P Return For 20260316021639', '91000.00', 0, NULL, 1, '1', '2026-03-16 02:17:42', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('20260316021639', 'PO', '2026-03-16 02:17:42', 10107, 'Purchase Return For PO No20260316021639', 0, '91000.00', NULL, 1, '1', '2026-03-16 02:17:42', 1);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
UPDATE `user` SET `last_login` = '2026-03-16 20:43:48', `ip_address` = '134.35.103.136'
WHERE `id` = '1';
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
INSERT INTO `sales_parent` (`sale_id`, `invoice_no`, `customer_id`, `sale_type_id`, `store_id`, `salesman`, `sales_date`, `sales_time`, `advance_amnt`, `total_amnt`) VALUES ('20260316224635', '1000', '28', '1', 0, '1', '2026-03-16', '22:46:35', '', '45500.00');
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1000', 'CIV', '2026-03-16 22:46:35', NULL, 'Cash in hand debit For Invoice No1000', '45500.00', 0, NULL, 1, '1', '2026-03-16 22:46:35', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1000', 'CIV', '2026-03-16 22:46:35', 403, 'Cost of sale debit For Invoice No1000', NULL, 0, NULL, 1, '1', '2026-03-16 22:46:35', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1000', 'CIV', '2026-03-16 22:46:35', 10107, 'Inventory credit For Invoice No1000', 0, NULL, NULL, 1, '1', '2026-03-16 22:46:35', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1000', 'CIV', '2026-03-16 22:46:35', '1020301000002', 'Customer debit for Product For Invoice No1000', '45500.00', 0, NULL, 1, '1', '2026-03-16 22:46:35', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1000', 'CIV', '2026-03-16 22:46:35', '1020301000002', 'Customer credit for Paid Amount For Invoice No1000', 0, '45500.00', NULL, 1, '1', '2026-03-16 22:46:35', 1);
INSERT INTO `payment_collection` (`sale_id`, `invoice_no`, `customer_id`, `receive_amnt`, `due_amnt`, `receive_by`, `receive_date`) VALUES ('20260316224635', '1000', '28', '45500.00', NULL, '1', '2026-03-16');
INSERT INTO `sale_details` (`sale_id`, `product_id`, `qty`, `sell_price`, `sale_type_id`, `lease_unit_price`) VALUES ('20260316224635', '6', '1', '45500', '1', NULL);
INSERT INTO `tmp_store_stock` (`StoreID`, `WarehouseID`, `Stock_Date`, `ProdID`, `InQty`, `OutQty`, `category_id`, `brand_id`, `model_id`, `Remarks`) VALUES (0, 0, '2026-03-16', '6', 0, '1', '2', '3', '2', '');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Sales', 'create', 'invoice_no-1000 total amount-45500.00', '1', '2026-03-16 22:46:35');
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
INSERT INTO `sales_parent` (`sale_id`, `invoice_no`, `customer_id`, `sale_type_id`, `store_id`, `salesman`, `sales_date`, `sales_time`, `advance_amnt`, `remaining_amnt`, `total_amnt`) VALUES ('20260316224707', '1001', '30', '2', 0, '1', '2026-03-16', '22:47:07', '30000', '61000.00', '91000.00');
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1001', 'CRIV', '2026-03-16 22:47:07', '1020301000007', 'Customer Credit For Invoice No1001', 0, '30000', NULL, 1, '1', '2026-03-16 22:47:07', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1001', 'CRIV', '2026-03-16 22:47:07', '1020301000007', 'Customer Debit For Invoice No1001', '91000.00', 0, NULL, 1, '1', '2026-03-16 22:47:07', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1001', 'CRIV', '2026-03-16 22:47:07', NULL, 'Cash in Hand For Invoice No1001', '30000', 0, NULL, 1, '1', '2026-03-16 22:47:07', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1001', 'CRIV', '2026-03-16 22:47:07', 30102, 'Store credit For Invoice No1001', 0, '91000.00', NULL, 1, '1', '2026-03-16 22:47:07', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1001', 'CIV', '2026-03-16 22:47:07', 403, 'Cost of sale Debit For Invoice No1001', 91000, 0, NULL, 1, '1', '2026-03-16 22:47:07', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1001', 'CIV', '2026-03-16 22:47:07', 10107, 'Inventory Credit For Invoice No1001', 0, 91000, NULL, 1, '1', '2026-03-16 22:47:07', 1);
INSERT INTO `payment_collection` (`sale_id`, `invoice_no`, `customer_id`, `receive_amnt`, `due_amnt`, `receive_by`, `receive_date`) VALUES ('20260316224707', '1001', '30', '30000', '61000.00', '1', '2026-03-16');
INSERT INTO `sale_details` (`sale_id`, `product_id`, `qty`, `sell_price`, `sale_type_id`, `lease_unit_price`) VALUES ('20260316224707', '6', '2', '45500', '2', NULL);
INSERT INTO `tmp_store_stock` (`StoreID`, `WarehouseID`, `Stock_Date`, `ProdID`, `InQty`, `OutQty`, `category_id`, `brand_id`, `model_id`, `Remarks`) VALUES (0, 0, '2026-03-16', '6', 0, '2', '2', '3', '2', '');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Sales', 'create', 'invoice_no-1001 total amount-91000.00', '1', '2026-03-16 22:47:07');
INSERT INTO `lease` (`package_code`, `package_name`, `lease_duration`, `advance`, `markup`, `isactive`, `createby`, `createdate`) VALUES ('ttt', 'قرض زواج', '7', 0.2, 0.01, 1, '1', '2026-03-16 22:48:19');
INSERT INTO `lease_store_map` (`lease_id`, `store_id`) VALUES (0, '1');
INSERT INTO `lease_store_map` (`lease_id`, `store_id`) VALUES (0, '2');
INSERT INTO `lease_product_map` (`lease_id`, `product_id`) VALUES (0, '6');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('leases', 'create', 'Lease Id-0', '1', '2026-03-16 22:48:19');
INSERT INTO `gurrantor` (`gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('gc-1', 'مخمد ناصر احمد', '76666666', NULL, '', '', '8877766', '', 1, '1', '2026-03-16 22:48:51');
INSERT INTO `gurrantor` (`gurrantor_code`, `gurrantor_name`, `gurrantor_phone`, `store_id`, `job_designation`, `gurrantor_address`, `gurrantor_cnic`, `business_address`, `isactive`, `createby`, `createdate`) VALUES ('gc-2', 'علي قاسم احمد احمد', '877777777', NULL, '', '', '6655555', '', 1, '1', '2026-03-16 22:48:51');
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
INSERT INTO `sales_parent` (`sale_id`, `invoice_no`, `customer_id`, `sale_type_id`, `store_id`, `salesman`, `sales_date`, `sales_time`, `gurrantor_1`, `gurrantor_2`, `advance_amnt`, `lease_id`, `inquiry_officer`, `installment_amnt`, `package_price`, `total_amnt`) VALUES ('20260316224917', '1002', '28', '3', 0, '1', '2026-03-16', '22:49:17', '0', '-1', '27300.00', '0', '1', '15756.00', '137592.00', '136500.00');
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1002', 'LSIV', '2026-03-16 22:49:17', '1020301000002', 'cc-2-فواز عبدالله Credit For Invoice No1002', 0, '27300.00', NULL, 1, '1', '2026-03-16 22:49:17', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1002', 'LSIV', '2026-03-16 22:49:17', '1020301000002', 'cc-2-فواز عبدالله Debit of Total Package Price For Invoice#1002', '137592.00', 0, NULL, 1, '1', '2026-03-16 22:49:17', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1002', 'LSIV', '2026-03-16 22:49:17', NULL, 'Cash In Hand Debit For Lease Invoice No1002', '27300.00', 0, NULL, 1, '1', '2026-03-16 22:49:17', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1002', 'LSIV', '2026-03-16 22:49:17', 30102, 'Store Credit For Invoice No1002', 0, '137592.00', NULL, 1, '1', '2026-03-16 22:49:17', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1002', 'LSIV', '2026-03-16 22:49:17', 403, 'Cost Of Sale Debit For Invoice No1002', 136500, 0, NULL, 1, '1', '2026-03-16 22:49:17', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1002', 'LSIV', '2026-03-16 22:49:17', 10107, 'Inventory Credit For Invoice No1002', 0, 136500, NULL, 1, '1', '2026-03-16 22:49:17', 1);
INSERT INTO `payment_collection` (`sale_id`, `invoice_no`, `customer_id`, `receive_amnt`, `due_amnt`, `receive_by`, `receive_date`) VALUES ('20260316224917', '1002', '28', '27300.00', '110292.00', '1', '2026-03-16');
INSERT INTO `customer_gurrantor_map` (`lease_id`, `customer_id`, `gurrantor_id`) VALUES ('0', '28', '0');
INSERT INTO `customer_gurrantor_map` (`lease_id`, `customer_id`, `gurrantor_id`) VALUES ('0', '28', '-1');
INSERT INTO `sale_details` (`sale_id`, `product_id`, `qty`, `sell_price`, `sale_type_id`, `lease_unit_price`) VALUES ('20260316224917', '6', '3', '45500', '3', '45864');
INSERT INTO `tmp_store_stock` (`StoreID`, `WarehouseID`, `Stock_Date`, `ProdID`, `InQty`, `OutQty`, `category_id`, `brand_id`, `model_id`, `Remarks`) VALUES (0, 0, '2026-03-16', '6', 0, '3', '2', '3', '2', '');
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('Sales', 'create', 'invoice_no-1002 total amount-136500.00', '1', '2026-03-16 22:49:17');
UPDATE `language` SET `arabic` = 'وحدة غير صالحة'
WHERE `phrase` = 'invalid_module';
UPDATE `language` SET `arabic` = 'رقم الفاتورة'
WHERE `phrase` = 'invoice_id';
UPDATE `language` SET `arabic` = 'رقم الفاتورة'
WHERE `phrase` = 'invoice_no';
UPDATE `language` SET `arabic` = 'عنوان الايبي'
WHERE `phrase` = 'ip_address';
UPDATE `language` SET `arabic` = 'نشط'
WHERE `phrase` = 'isactive';
UPDATE `language` SET `arabic` = 'صادر عن'
WHERE `phrase` = 'issue_by';
UPDATE `language` SET `arabic` = 'رمز الإصدار'
WHERE `phrase` = 'issue_code';
UPDATE `language` SET `arabic` = 'تاريخ الاصدار'
WHERE `phrase` = 'issue_date';
UPDATE `language` SET `arabic` = 'كمية الاصدار'
WHERE `phrase` = 'issue_qty';
UPDATE `language` SET `arabic` = 'قسيمة دفتر اليومية'
WHERE `phrase` = 'journal_voucher';
UPDATE `language` SET `arabic` = 'اللغة'
WHERE `phrase` = 'language';
UPDATE `language` SET `arabic` = 'اللقب'
WHERE `phrase` = 'lastname';
UPDATE `language` SET `arabic` = 'ولوج مسبق'
WHERE `phrase` = 'last_login';
UPDATE `language` SET `arabic` = 'آخر تسجيل خروج'
WHERE `phrase` = 'last_logout';
UPDATE `language` SET `arabic` = 'آخر دفعة'
WHERE `phrase` = 'last_payment';
UPDATE `language` SET `arabic` = 'تاريخ آخر دفعة'
WHERE `phrase` = 'last_payment_date';
UPDATE `language` SET `arabic` = 'القروض'
WHERE `phrase` = 'lease';
UPDATE `language` SET `arabic` = 'بيع قرض'
WHERE `phrase` = 'leasesale';
UPDATE `language` SET `arabic` = 'مبلغ القرض'
WHERE `phrase` = 'lease_amount';
UPDATE `language` SET `arabic` = 'تقرير القروض والتسديدات'
WHERE `phrase` = 'lease_and_recovery_report';
UPDATE `language` SET `arabic` = 'تاريخ القرض'
WHERE `phrase` = 'lease_date';
UPDATE `language` SET `arabic` = 'قرض من'
WHERE `phrase` = 'lease_from';
UPDATE `language` SET `arabic` = 'حزمة القروض'
WHERE `phrase` = 'lease_package';
UPDATE `language` SET `arabic` = 'تسعير باقات القروض'
WHERE `phrase` = 'lease_package_pricing';
UPDATE `language` SET `arabic` = 'قيمة القرض'
WHERE `phrase` = 'lease_price';
UPDATE `language` SET `arabic` = 'قائمة بيع القروض'
WHERE `phrase` = 'lease_sale_list';
UPDATE `language` SET `arabic` = 'قرض لـ'
WHERE `phrase` = 'lease_to';
UPDATE `language` SET `arabic` = 'من الشمال الى اليمين'
WHERE `phrase` = 'left_to_right';
UPDATE `language` SET `arabic` = 'القائمة'
WHERE `phrase` = 'list';
UPDATE `language` SET `arabic` = 'قائمة المتاجر'
WHERE `phrase` = 'list_store';
UPDATE `language` SET `arabic` = 'قائمة المستودعات'
WHERE `phrase` = 'list_warehouse';
UPDATE `language` SET `arabic` = 'موقع'
WHERE `phrase` = 'location';
UPDATE `language` SET `arabic` = 'دخول'
WHERE `phrase` = 'login';
UPDATE `language` SET `arabic` = 'شعار'
WHERE `phrase` = 'logo';
UPDATE `language` SET `arabic` = 'خروج'
WHERE `phrase` = 'logout';
UPDATE `language` SET `arabic` = 'هامش الربح'
WHERE `phrase` = 'markup';
UPDATE `language` SET `arabic` = 'الرسالة'
WHERE `phrase` = 'message';
UPDATE `language` SET `arabic` = 'تفاصيل الرسالة'
WHERE `phrase` = 'message_details';
UPDATE `language` SET `arabic` = 'رسائل مرسلة'
WHERE `phrase` = 'message_sent';
UPDATE `language` SET `arabic` = 'الحد الأدنى للسعر'
WHERE `phrase` = 'minimum_price';
UPDATE `language` SET `arabic` = 'اقل سعر'
WHERE `phrase` = 'min_price';
UPDATE `language` SET `arabic` = 'نموذج'
WHERE `phrase` = 'model';
UPDATE `language` SET `arabic` = 'اسم النموذج'
WHERE `phrase` = 'model_name';
UPDATE `language` SET `arabic` = 'وحدة نمطية'
WHERE `phrase` = 'module';
UPDATE `language` SET `arabic` = 'اضافة النمط بنجاج'
WHERE `phrase` = 'module_added_successfully';
UPDATE `language` SET `arabic` = 'قائمة الوحدات النمطية'
WHERE `phrase` = 'module_list';
UPDATE `language` SET `arabic` = 'اسم النمط'
WHERE `phrase` = 'module_name';
UPDATE `language` SET `arabic` = 'صلاحيات الوحدات النمطية'
WHERE `phrase` = 'module_permission';
UPDATE `language` SET `arabic` = 'تمت إضافة إذن الوحدة بنجاح'
WHERE `phrase` = 'module_permission_added_successfully';
UPDATE `language` SET `arabic` = 'قائمة أذونات الوحدات النمطية'
WHERE `phrase` = 'module_permission_list';
UPDATE `acc_coa` SET `HeadCode` = '5020302', `HeadName` = 'ضريبة الدخل المستحقة', `PHeadName` = 'الالتزامات المتعلقة بالمصروفات', `HeadLevel` = '3', `IsActive` = '1', `IsTransaction` = 0, `IsGL` = '1', `HeadType` = 'L', `IsBudget` = 0, `CreateBy` = '1', `CreateDate` = '2026-03-16 22:55:57'
WHERE `HeadCode` = '5020302';
UPDATE `acc_coa` SET `PHeadName` = 'ضريبة الدخل المستحقة'
WHERE `PHeadName` = 'Income Tax Payable';
UPDATE `user` SET `last_login` = '2026-03-18 19:19:35', `ip_address` = '185.80.140.212'
WHERE `id` = '1';
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
INSERT INTO `payment_collection` (`id`, `invoice_no`, `customer_id`, `receive_amnt`, `receive_date`, `receive_by`) VALUES ('', '1001', '30', '61000', '2026-03-18', '1');
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1001', 'RECVIV', '2026-03-18', NULL, 'Credit Receive For Invoice No1001', '61000', 0, NULL, 1, '1', '2026-03-18', 1);
INSERT INTO `acc_transaction` (`VNo`, `Vtype`, `VDate`, `COAID`, `Narration`, `Debit`, `Credit`, `StoreID`, `IsPosted`, `CreateBy`, `CreateDate`, `IsAppove`) VALUES ('1001', 'RECVIV', '2026-03-18', '1020301000007', 'Credit Paid For Invoice No1001', 0, '61000', NULL, 1, '1', '2026-03-18', 1);
INSERT INTO `accesslog` (`action_page`, `action_done`, `remarks`, `user_name`, `entry_date`) VALUES ('payment', 'create', 'payment ID :0', '1', '2026-03-18 19:44:19');
UPDATE `sales_parent` SET `invoice_no` = NULL, `is_lease_settled` = 1
WHERE `invoice_no` IS NULL;
UPDATE `user` SET `last_login` = '2026-03-18 23:09:49', `ip_address` = '46.35.79.122'
WHERE `id` = '1';
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
UPDATE `user` SET `last_login` = '2026-08-30 00:20:05', `ip_address` = '::1'
WHERE `id` = '1';
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0,'@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
CALL get_store_stock('0',@store_id,@stock_date,@prod_id,@in_qty,@outqty,@rem,@cat_id,@brand_id,@model_id);
