-- https://www.phpmyadmin.net/
--




--
-- Database: `loan_date`
--

-- --------------------------------------------------------

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

CREATE TABLE `branches` (
  `id` int(10) UNSIGNED NOT NULL,
  `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `tel` varchar(30) COLLATE utf8_unicode_ci DEFAULT NULL,
  `lat_long` varchar(100) COLLATE utf8_unicode_ci DEFAULT NULL,
  `description` text COLLATE utf8_unicode_ci,
  `location` text COLLATE utf8_unicode_ci
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

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

INSERT INTO `branches` (`id`, `created_at`, `updated_at`, `name`, `tel`, `lat_long`, `description`, `location`) VALUES
(1, '2017-03-06 06:45:58', '2017-03-06 06:46:01', 'The Coder Studio', NULL, NULL, NULL, 'Battambang');

-- --------------------------------------------------------

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

CREATE TABLE `brands` (
  `id` int(11) NOT NULL,
  `name` varchar(255) DEFAULT NULL,
  `logo` varchar(255) DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL ON UPDATE CURRENT_TIMESTAMP,
  `updated_at` timestamp NULL DEFAULT NULL ON UPDATE CURRENT_TIMESTAMP
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

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

INSERT INTO `brands` (`id`, `name`, `logo`, `created_at`, `updated_at`) VALUES
(1, 'Apple', 'http://localhost/point_of_sale/public/uploads/brands/58cfdcc7ec6fc_apple.png', '2017-03-20 13:44:39', '2017-03-20 13:44:39'),
(2, 'Acer', 'http://localhost/point_of_sale/public/uploads/brands/58cfdcd6d4abc_acer.png', '2017-03-20 13:44:54', '2017-03-20 13:44:54'),
(3, 'Asus', 'http://localhost/point_of_sale/public/uploads/brands/58cfdce689140_asus.png', '2017-03-20 13:45:10', '2017-03-20 13:45:10'),
(4, 'Lenovo', 'http://localhost/point_of_sale/public/uploads/brands/58cfdcfab668a_lenovo.png', '2017-03-20 13:45:30', '2017-03-20 13:45:30'),
(5, 'Samsung', 'http://localhost/point_of_sale/public/uploads/brands/58cfdd2f3c14b_samsung.png', '2017-03-20 13:46:23', '2017-03-20 13:46:23'),
(6, 'Sony', 'http://localhost/point_of_sale/public/uploads/brands/58cfdd716db4b_sony.png', '2017-03-20 13:47:29', '2017-03-20 13:47:29'),
(7, 'HP', 'http://localhost/point_of_sale/public/uploads/brands/58cfdd4ac8b3f_hp.png', '2017-03-20 13:46:50', '2017-03-20 13:46:50'),
(8, 'Dell', 'http://localhost/point_of_sale/public/uploads/brands/58cfe02123d26_dell.png', '2017-03-20 13:58:57', '2017-03-20 13:58:57'),
(9, 'Toshiba', 'http://localhost/point_of_sale/public/uploads/brands/58cfe044332f2_toshiba.png', '2017-03-20 13:59:32', '2017-03-20 13:59:32'),
(10, 'JKL', 'http://localhost/point_of_sale/public/uploads/brands/none.png', '2017-04-07 08:21:58', '2017-04-07 08:21:58');

-- --------------------------------------------------------

--
-- Table structure for table `buy_products`
--

CREATE TABLE `buy_products` (
  `id` int(10) UNSIGNED NOT NULL,
  `invoice_id` int(11) DEFAULT NULL,
  `product_id` int(11) DEFAULT NULL,
  `qty` int(11) DEFAULT NULL,
  `price` decimal(10,2) DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL ON UPDATE CURRENT_TIMESTAMP,
  `updated_at` timestamp NULL DEFAULT NULL ON UPDATE CURRENT_TIMESTAMP,
  `sku` varchar(255) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

-- --------------------------------------------------------

--
-- Table structure for table `companies`
--

CREATE TABLE `companies` (
  `id` int(10) UNSIGNED NOT NULL,
  `name_kh` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `name_en` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `id_of_company` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `house_number` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `road_number` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `group_number` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `village` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `commune` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `district` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `province` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `company_tel` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `contact_time` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `email` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `ceo_section` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `position` enum('') COLLATE utf8_unicode_ci NOT NULL,
  `job_condition` enum('') COLLATE utf8_unicode_ci NOT NULL,
  `hired_date` date DEFAULT NULL,
  `company_type` enum('') COLLATE utf8_unicode_ci NOT NULL,
  `salary` float(8,2) NOT NULL,
  `other_salary` float(8,2) NOT NULL,
  `total_salary` float(8,2) NOT NULL,
  `day_of_salary` int(11) NOT NULL,
  `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00'
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `companies`
--

INSERT INTO `companies` (`id`, `name_kh`, `name_en`, `id_of_company`, `house_number`, `road_number`, `group_number`, `village`, `commune`, `district`, `province`, `company_tel`, `contact_time`, `email`, `ceo_section`, `position`, `job_condition`, `hired_date`, `company_type`, `salary`, `other_salary`, `total_salary`, `day_of_salary`, `created_at`, `updated_at`) VALUES
(1, '', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL, '', 0.00, 0.00, 0.00, 0, '2017-05-26 06:24:37', '2017-05-26 06:24:37'),
(2, '', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL, '', 0.00, 0.00, 0.00, 0, '2017-05-26 06:34:11', '2017-05-26 06:34:11'),
(3, '', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL, '', 0.00, 0.00, 0.00, 0, '2017-05-27 05:10:58', '2017-05-27 05:10:58'),
(4, '', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL, '', 0.00, 0.00, 0.00, 0, '2017-05-28 03:25:37', '2017-05-28 03:25:37'),
(5, '', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL, '', 0.00, 0.00, 0.00, 0, '2017-05-28 04:03:03', '2017-05-28 04:03:03'),
(6, '', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL, '', 0.00, 0.00, 0.00, 0, '2017-05-28 11:02:34', '2017-05-28 11:02:34'),
(7, '', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL, '', 0.00, 0.00, 0.00, 0, '2017-05-30 07:00:30', '2017-05-30 07:00:30'),
(8, '', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL, '', 0.00, 0.00, 0.00, 0, '2017-05-30 10:14:07', '2017-05-30 10:14:07'),
(9, '', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL, '', 0.00, 0.00, 0.00, 0, '2017-05-31 04:58:14', '2017-05-31 04:58:14'),
(10, '', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL, '', 0.00, 0.00, 0.00, 0, '2017-05-31 08:21:22', '2017-05-31 08:21:22'),
(11, '', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL, '', 0.00, 0.00, 0.00, 0, '2017-05-31 08:33:40', '2017-05-31 08:33:40'),
(12, '', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL, '', 0.00, 0.00, 0.00, 0, '2017-05-31 08:51:05', '2017-05-31 08:51:05'),
(13, '', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL, '', 0.00, 0.00, 0.00, 0, '2017-05-31 09:07:57', '2017-05-31 09:07:57'),
(14, '', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL, '', 0.00, 0.00, 0.00, 0, '2017-05-31 09:26:34', '2017-05-31 09:26:34'),
(15, '', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL, '', 0.00, 0.00, 0.00, 0, '2017-05-31 09:39:12', '2017-05-31 09:39:12'),
(16, '', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL, '', 0.00, 0.00, 0.00, 0, '2017-05-31 09:56:26', '2017-05-31 09:56:26'),
(17, '', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL, '', 0.00, 0.00, 0.00, 0, '2017-05-31 10:07:19', '2017-05-31 10:07:19'),
(18, '', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL, '', 0.00, 0.00, 0.00, 0, '2017-05-31 10:18:17', '2017-05-31 10:18:17'),
(19, '', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL, '', 0.00, 0.00, 0.00, 0, '2017-05-31 11:03:08', '2017-05-31 11:03:08'),
(20, '', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL, '', 0.00, 0.00, 0.00, 0, '2017-05-31 11:08:40', '2017-05-31 11:08:40'),
(21, '', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL, '', 0.00, 0.00, 0.00, 0, '2017-06-01 01:46:01', '2017-06-01 01:46:01'),
(22, '', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL, '', 0.00, 0.00, 0.00, 0, '2017-06-01 01:53:49', '2017-06-01 01:53:49'),
(23, '', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL, '', 0.00, 0.00, 0.00, 0, '2017-06-01 02:03:54', '2017-06-01 02:03:54'),
(24, '', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL, '', 0.00, 0.00, 0.00, 0, '2017-06-01 02:12:42', '2017-06-01 02:12:42'),
(25, '', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL, '', 0.00, 0.00, 0.00, 0, '2017-06-01 02:22:29', '2017-06-01 02:22:29'),
(26, '', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL, '', 0.00, 0.00, 0.00, 0, '2017-06-01 02:33:10', '2017-06-01 02:33:10'),
(27, '', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL, '', 0.00, 0.00, 0.00, 0, '2017-06-01 02:47:04', '2017-06-01 02:47:04'),
(28, '', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL, '', 0.00, 0.00, 0.00, 0, '2017-06-01 03:12:43', '2017-06-01 03:12:43'),
(29, '', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL, '', 0.00, 0.00, 0.00, 0, '2017-06-01 03:22:29', '2017-06-01 03:22:29'),
(30, '', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL, '', 0.00, 0.00, 0.00, 0, '2017-06-01 03:32:04', '2017-06-01 03:32:04'),
(31, '', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL, '', 0.00, 0.00, 0.00, 0, '2017-06-01 06:22:14', '2017-06-01 06:22:14'),
(32, '', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL, '', 0.00, 0.00, 0.00, 0, '2017-06-01 06:43:08', '2017-06-01 06:43:08'),
(33, '', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL, '', 0.00, 0.00, 0.00, 0, '2017-06-01 06:58:57', '2017-06-01 06:58:57'),
(34, '', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL, '', 0.00, 0.00, 0.00, 0, '2017-06-01 07:11:21', '2017-06-01 07:11:21'),
(35, '', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL, '', 0.00, 0.00, 0.00, 0, '2017-06-01 10:23:13', '2017-06-01 10:23:13'),
(36, '', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL, '', 0.00, 0.00, 0.00, 0, '2017-06-02 10:08:27', '2017-06-02 10:08:27'),
(37, '', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL, '', 0.00, 0.00, 0.00, 0, '2017-06-02 11:24:48', '2017-06-02 11:24:48'),
(38, '', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL, '', 0.00, 0.00, 0.00, 0, '2017-06-03 06:46:17', '2017-06-03 06:46:17'),
(39, '', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL, '', 0.00, 0.00, 0.00, 0, '2017-06-03 07:41:31', '2017-06-03 07:41:31'),
(40, '', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL, '', 0.00, 0.00, 0.00, 0, '2017-06-03 11:09:11', '2017-06-03 11:09:11'),
(41, '', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL, '', 0.00, 0.00, 0.00, 0, '2017-06-04 09:56:07', '2017-06-04 09:56:07'),
(42, '', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL, '', 0.00, 0.00, 0.00, 0, '2017-06-05 05:01:33', '2017-06-05 05:01:33'),
(43, '', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL, '', 0.00, 0.00, 0.00, 0, '2017-06-05 09:02:37', '2017-06-05 09:02:37'),
(44, '', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL, '', 0.00, 0.00, 0.00, 0, '2017-06-08 03:38:15', '2017-06-08 03:38:15'),
(45, '', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL, '', 0.00, 0.00, 0.00, 0, '2017-06-10 02:56:37', '2017-06-10 02:56:37'),
(46, '', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL, '', 0.00, 0.00, 0.00, 0, '2017-06-10 04:51:46', '2017-06-10 04:51:46'),
(47, '', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL, '', 0.00, 0.00, 0.00, 0, '2017-06-10 07:39:25', '2017-06-10 07:39:25'),
(48, '', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL, '', 0.00, 0.00, 0.00, 0, '2017-06-12 10:13:52', '2017-06-12 10:13:52'),
(49, '', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL, '', 0.00, 0.00, 0.00, 0, '2017-06-13 02:40:19', '2017-06-13 02:40:19'),
(50, '', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL, '', 0.00, 0.00, 0.00, 0, '2017-06-13 06:30:07', '2017-06-13 06:30:07'),
(51, '', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL, '', 0.00, 0.00, 0.00, 0, '2017-06-14 06:58:34', '2017-06-14 06:58:34'),
(52, '', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL, '', 0.00, 0.00, 0.00, 0, '2017-06-14 07:46:45', '2017-06-14 07:46:45'),
(53, '', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL, '', 0.00, 0.00, 0.00, 0, '2017-06-15 12:03:09', '2017-06-15 12:03:09'),
(54, '', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL, '', 0.00, 0.00, 0.00, 0, '2017-06-16 10:02:06', '2017-06-16 10:02:06'),
(55, '', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL, '', 0.00, 0.00, 0.00, 0, '2017-06-19 07:57:29', '2017-06-19 07:57:29'),
(56, '', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL, '', 0.00, 0.00, 0.00, 0, '2017-06-19 08:48:17', '2017-06-19 08:48:17'),
(57, '', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL, '', 0.00, 0.00, 0.00, 0, '2017-06-19 10:08:42', '2017-06-19 10:08:42'),
(59, '', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL, '', 0.00, 0.00, 0.00, 0, '2017-06-20 10:47:31', '2017-06-20 10:47:31'),
(60, '', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL, '', 0.00, 0.00, 0.00, 0, '2017-06-21 10:18:28', '2017-06-21 10:18:28'),
(61, '', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL, '', 0.00, 0.00, 0.00, 0, '2017-06-22 05:54:29', '2017-06-22 05:54:29'),
(62, '', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL, '', 0.00, 0.00, 0.00, 0, '2017-06-22 11:25:30', '2017-06-22 11:25:30'),
(63, '', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL, '', 0.00, 0.00, 0.00, 0, '2017-06-23 08:51:37', '2017-06-23 08:51:37'),
(64, '', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL, '', 0.00, 0.00, 0.00, 0, '2017-06-23 09:44:11', '2017-06-23 09:44:11'),
(65, '', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL, '', 0.00, 0.00, 0.00, 0, '2017-06-24 04:25:47', '2017-06-24 04:25:47'),
(66, '', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL, '', 0.00, 0.00, 0.00, 0, '2017-06-24 04:46:44', '2017-06-24 04:46:44'),
(67, '', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL, '', 0.00, 0.00, 0.00, 0, '2017-06-24 06:23:52', '2017-06-24 06:23:52'),
(68, '', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL, '', 0.00, 0.00, 0.00, 0, '2017-06-25 03:19:16', '2017-06-25 03:19:16'),
(69, '', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL, '', 0.00, 0.00, 0.00, 0, '2017-06-25 05:51:40', '2017-06-25 05:51:40'),
(70, '', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL, '', 0.00, 0.00, 0.00, 0, '2017-06-28 05:01:22', '2017-06-28 05:01:22'),
(71, '', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL, '', 0.00, 0.00, 0.00, 0, '2017-06-30 08:36:47', '2017-06-30 08:36:47'),
(72, '', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL, '', 0.00, 0.00, 0.00, 0, '2017-07-01 05:24:59', '2017-07-01 05:24:59'),
(73, '', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL, '', 0.00, 0.00, 0.00, 0, '2017-07-03 02:00:30', '2017-07-03 02:00:30'),
(74, '', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL, '', 0.00, 0.00, 0.00, 0, '2017-07-03 03:47:56', '2017-07-03 03:47:56'),
(75, '', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL, '', 0.00, 0.00, 0.00, 0, '2017-07-03 08:04:10', '2017-07-03 08:04:10'),
(76, '', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL, '', 0.00, 0.00, 0.00, 0, '2017-07-04 07:31:13', '2017-07-04 07:31:13'),
(77, '', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL, '', 0.00, 0.00, 0.00, 0, '2017-07-04 07:41:18', '2017-07-04 07:41:18'),
(78, '', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL, '', 0.00, 0.00, 0.00, 0, '2017-07-04 10:18:01', '2017-07-04 10:18:01'),
(79, '', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL, '', 0.00, 0.00, 0.00, 0, '2017-07-04 10:47:14', '2017-07-04 10:47:14'),
(80, '', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL, '', 0.00, 0.00, 0.00, 0, '2017-07-07 03:32:08', '2017-07-07 03:32:08'),
(81, '', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL, '', 0.00, 0.00, 0.00, 0, '2017-07-07 07:31:46', '2017-07-07 07:31:46'),
(82, '', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL, '', 0.00, 0.00, 0.00, 0, '2017-07-07 11:03:37', '2017-07-07 11:03:37'),
(83, '', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL, '', 0.00, 0.00, 0.00, 0, '2017-07-07 12:24:32', '2017-07-07 12:24:32'),
(84, '', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL, '', 0.00, 0.00, 0.00, 0, '2017-07-09 02:23:20', '2017-07-09 02:23:20'),
(85, '', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL, '', 0.00, 0.00, 0.00, 0, '2017-07-09 04:31:00', '2017-07-09 04:31:00'),
(86, '', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL, '', 0.00, 0.00, 0.00, 0, '2017-07-09 04:41:22', '2017-07-09 04:41:22'),
(87, '', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL, '', 0.00, 0.00, 0.00, 0, '2017-07-09 10:07:22', '2017-07-09 10:07:22'),
(88, '', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL, '', 0.00, 0.00, 0.00, 0, '2017-07-10 11:34:25', '2017-07-10 11:34:25'),
(89, '', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL, '', 0.00, 0.00, 0.00, 0, '2017-07-10 12:08:47', '2017-07-10 12:08:47'),
(90, '', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL, '', 0.00, 0.00, 0.00, 0, '2017-07-11 10:53:39', '2017-07-11 10:53:39'),
(91, '', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL, '', 0.00, 0.00, 0.00, 0, '2017-07-12 04:27:16', '2017-07-12 04:27:16'),
(92, '', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL, '', 0.00, 0.00, 0.00, 0, '2017-07-12 12:48:41', '2017-07-12 12:48:41'),
(93, '', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL, '', 0.00, 0.00, 0.00, 0, '2017-07-13 01:59:36', '2017-07-13 01:59:36'),
(94, '', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL, '', 0.00, 0.00, 0.00, 0, '2017-07-13 02:01:52', '2017-07-13 02:01:52'),
(95, '', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL, '', 0.00, 0.00, 0.00, 0, '2017-07-15 06:19:42', '2017-07-15 06:19:42'),
(96, '', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL, '', 0.00, 0.00, 0.00, 0, '2017-07-16 05:10:41', '2017-07-16 05:10:41'),
(97, '', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL, '', 0.00, 0.00, 0.00, 0, '2017-07-16 05:19:33', '2017-07-16 05:19:33'),
(98, '', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL, '', 0.00, 0.00, 0.00, 0, '2017-07-16 08:44:58', '2017-07-16 08:44:58'),
(99, '', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL, '', 0.00, 0.00, 0.00, 0, '2017-07-18 05:12:52', '2017-07-18 05:12:52'),
(100, '', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL, '', 0.00, 0.00, 0.00, 0, '2017-07-18 11:14:11', '2017-07-18 11:14:11'),
(101, '', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL, '', 0.00, 0.00, 0.00, 0, '2017-07-19 06:08:56', '2017-07-19 06:08:56'),
(102, '', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL, '', 0.00, 0.00, 0.00, 0, '2017-07-19 09:27:50', '2017-07-19 09:27:50'),
(103, '', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL, '', 0.00, 0.00, 0.00, 0, '2017-07-21 03:32:40', '2017-07-21 03:32:40'),
(104, '', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL, '', 0.00, 0.00, 0.00, 0, '2017-07-21 07:46:55', '2017-07-21 07:46:55'),
(105, '', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL, '', 0.00, 0.00, 0.00, 0, '2017-07-21 08:01:36', '2017-07-21 08:01:36'),
(106, '', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL, '', 0.00, 0.00, 0.00, 0, '2017-07-21 10:10:38', '2017-07-21 10:10:38'),
(107, '', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL, '', 0.00, 0.00, 0.00, 0, '2017-07-24 07:20:20', '2017-07-24 07:20:20'),
(108, '', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL, '', 0.00, 0.00, 0.00, 0, '2017-07-26 11:04:28', '2017-07-26 11:04:28'),
(109, '', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL, '', 0.00, 0.00, 0.00, 0, '2017-07-26 13:46:41', '2017-07-26 13:46:41'),
(110, '', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL, '', 0.00, 0.00, 0.00, 0, '2017-07-28 06:33:07', '2017-07-28 06:33:07'),
(111, '', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL, '', 0.00, 0.00, 0.00, 0, '2017-07-28 07:26:10', '2017-07-28 07:26:10'),
(112, '', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL, '', 0.00, 0.00, 0.00, 0, '2017-07-29 03:14:35', '2017-07-29 03:14:35'),
(113, '', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL, '', 0.00, 0.00, 0.00, 0, '2017-07-29 07:19:48', '2017-07-29 07:19:48'),
(114, '', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL, '', 0.00, 0.00, 0.00, 0, '2017-07-29 09:10:03', '2017-07-29 09:10:03'),
(115, '', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL, '', 0.00, 0.00, 0.00, 0, '2017-07-30 03:32:41', '2017-07-30 03:32:41'),
(116, '', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL, '', 0.00, 0.00, 0.00, 0, '2017-07-30 04:10:46', '2017-07-30 04:10:46'),
(117, '', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL, '', 0.00, 0.00, 0.00, 0, '2017-07-30 06:27:48', '2017-07-30 06:27:48'),
(118, '', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL, '', 0.00, 0.00, 0.00, 0, '2017-07-30 07:50:59', '2017-07-30 07:50:59'),
(119, '', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL, '', 0.00, 0.00, 0.00, 0, '2017-07-31 07:15:24', '2017-07-31 07:15:24'),
(120, '', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL, '', 0.00, 0.00, 0.00, 0, '2017-08-01 11:23:07', '2017-08-01 11:23:07'),
(121, '', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL, '', 0.00, 0.00, 0.00, 0, '2017-08-02 04:34:32', '2017-08-02 04:34:32'),
(122, '', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL, '', 0.00, 0.00, 0.00, 0, '2017-08-05 01:41:19', '2017-08-05 01:41:19'),
(123, '', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL, '', 0.00, 0.00, 0.00, 0, '2017-08-05 05:01:44', '2017-08-05 05:01:44'),
(124, '', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL, '', 0.00, 0.00, 0.00, 0, '2017-08-06 04:01:29', '2017-08-06 04:01:29'),
(125, '', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL, '', 0.00, 0.00, 0.00, 0, '2017-08-07 08:50:18', '2017-08-07 08:50:18'),
(126, '', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL, '', 0.00, 0.00, 0.00, 0, '2017-08-09 12:13:25', '2017-08-09 12:13:25'),
(127, '', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL, '', 0.00, 0.00, 0.00, 0, '2017-08-11 01:56:01', '2017-08-11 01:56:01'),
(128, '', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL, '', 0.00, 0.00, 0.00, 0, '2017-08-12 04:07:56', '2017-08-12 04:07:56'),
(129, '', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL, '', 0.00, 0.00, 0.00, 0, '2017-08-13 03:41:23', '2017-08-13 03:41:23'),
(130, '', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL, '', 0.00, 0.00, 0.00, 0, '2017-08-13 09:31:50', '2017-08-13 09:31:50'),
(131, '', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL, '', 0.00, 0.00, 0.00, 0, '2017-08-15 09:30:06', '2017-08-15 09:30:06'),
(132, '', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL, '', 0.00, 0.00, 0.00, 0, '2017-08-15 10:27:44', '2017-08-15 10:27:44'),
(133, '', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL, '', 0.00, 0.00, 0.00, 0, '2017-08-17 04:51:46', '2017-08-17 04:51:46'),
(134, '', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL, '', 0.00, 0.00, 0.00, 0, '2017-08-17 06:27:05', '2017-08-17 06:27:05'),
(135, '', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL, '', 0.00, 0.00, 0.00, 0, '2017-08-18 03:00:11', '2017-08-18 03:00:11'),
(136, '', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL, '', 0.00, 0.00, 0.00, 0, '2017-08-18 11:34:33', '2017-08-18 11:34:33'),
(137, '', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL, '', 0.00, 0.00, 0.00, 0, '2017-08-22 03:06:20', '2017-08-22 03:06:20'),
(138, '', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL, '', 0.00, 0.00, 0.00, 0, '2017-08-23 06:15:32', '2017-08-23 06:15:32'),
(139, '', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL, '', 0.00, 0.00, 0.00, 0, '2017-08-27 03:12:03', '2017-08-27 03:12:03'),
(140, '', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL, '', 0.00, 0.00, 0.00, 0, '2017-08-27 06:15:04', '2017-08-27 06:15:04'),
(141, '', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL, '', 0.00, 0.00, 0.00, 0, '2017-08-30 03:43:50', '2017-08-30 03:43:50'),
(142, '', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL, '', 0.00, 0.00, 0.00, 0, '2017-08-30 03:59:18', '2017-08-30 03:59:18'),
(143, '', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL, '', 0.00, 0.00, 0.00, 0, '2017-08-30 07:19:30', '2017-08-30 07:19:30'),
(144, '', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL, '', 0.00, 0.00, 0.00, 0, '2017-09-01 02:50:12', '2017-09-01 02:50:12'),
(145, '', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL, '', 0.00, 0.00, 0.00, 0, '2017-09-01 03:27:36', '2017-09-01 03:27:36'),
(146, '', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL, '', 0.00, 0.00, 0.00, 0, '2017-09-02 04:52:25', '2017-09-02 04:52:25'),
(147, '', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL, '', 0.00, 0.00, 0.00, 0, '2017-09-02 07:11:08', '2017-09-02 07:11:08'),
(148, '', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL, '', 0.00, 0.00, 0.00, 0, '2017-09-04 09:59:18', '2017-09-04 09:59:18'),
(149, '', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL, '', 0.00, 0.00, 0.00, 0, '2017-09-05 03:30:27', '2017-09-05 03:30:27'),
(150, '', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL, '', 0.00, 0.00, 0.00, 0, '2017-09-05 08:23:23', '2017-09-05 08:23:23'),
(151, '', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL, '', 0.00, 0.00, 0.00, 0, '2017-09-05 08:35:48', '2017-09-05 08:35:48'),
(152, '', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL, '', 0.00, 0.00, 0.00, 0, '2017-09-06 07:16:00', '2017-09-06 07:16:00'),
(153, '', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL, '', 0.00, 0.00, 0.00, 0, '2017-09-07 08:45:31', '2017-09-07 08:45:31'),
(154, '', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL, '', 0.00, 0.00, 0.00, 0, '2017-09-08 01:53:30', '2017-09-08 01:53:30'),
(155, '', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL, '', 0.00, 0.00, 0.00, 0, '2017-09-08 02:52:00', '2017-09-08 02:52:00'),
(156, '', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL, '', 0.00, 0.00, 0.00, 0, '2017-09-08 06:00:35', '2017-09-08 06:00:35'),
(157, '', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL, '', 0.00, 0.00, 0.00, 0, '2017-09-08 08:17:56', '2017-09-08 08:17:56'),
(158, '', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL, '', 0.00, 0.00, 0.00, 0, '2017-09-09 02:55:16', '2017-09-09 02:55:16'),
(159, '', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL, '', 0.00, 0.00, 0.00, 0, '2017-09-09 03:31:25', '2017-09-09 03:31:25'),
(160, '', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL, '', 0.00, 0.00, 0.00, 0, '2017-09-09 04:52:36', '2017-09-09 04:52:36'),
(161, '', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL, '', 0.00, 0.00, 0.00, 0, '2017-09-09 06:40:44', '2017-09-09 06:40:44'),
(162, '', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL, '', 0.00, 0.00, 0.00, 0, '2017-09-09 09:41:02', '2017-09-09 09:41:02'),
(163, '', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL, '', 0.00, 0.00, 0.00, 0, '2017-09-10 06:02:39', '2017-09-10 06:02:39'),
(164, '', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL, '', 0.00, 0.00, 0.00, 0, '2017-09-11 02:00:40', '2017-09-11 02:00:40'),
(165, '', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL, '', 0.00, 0.00, 0.00, 0, '2017-09-11 07:26:58', '2017-09-11 07:26:58'),
(166, '', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL, '', 0.00, 0.00, 0.00, 0, '2017-09-12 06:13:52', '2017-09-12 06:13:52'),
(167, '', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL, '', 0.00, 0.00, 0.00, 0, '2017-09-14 11:52:06', '2017-09-14 11:52:06'),
(168, '', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL, '', 0.00, 0.00, 0.00, 0, '2017-09-15 04:37:40', '2017-09-15 04:37:40'),
(169, '', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL, '', 0.00, 0.00, 0.00, 0, '2017-09-15 04:54:21', '2017-09-15 04:54:21'),
(170, '', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL, '', 0.00, 0.00, 0.00, 0, '2017-09-15 11:43:12', '2017-09-15 11:43:12'),
(171, '', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL, '', 0.00, 0.00, 0.00, 0, '2017-09-16 05:17:05', '2017-09-16 05:17:05'),
(172, '', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL, '', 0.00, 0.00, 0.00, 0, '2017-09-17 03:08:36', '2017-09-17 03:08:36'),
(173, '', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL, '', 0.00, 0.00, 0.00, 0, '2017-09-17 05:26:19', '2017-09-17 05:26:19'),
(174, '', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL, '', 0.00, 0.00, 0.00, 0, '2017-09-18 01:50:35', '2017-09-18 01:50:35'),
(175, '', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL, '', 0.00, 0.00, 0.00, 0, '2017-09-22 05:59:16', '2017-09-22 05:59:16'),
(176, '', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL, '', 0.00, 0.00, 0.00, 0, '2017-09-24 15:07:00', '2017-09-24 15:07:00'),
(177, '', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL, '', 0.00, 0.00, 0.00, 0, '2017-09-25 07:17:56', '2017-09-25 07:17:56'),
(178, '', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL, '', 0.00, 0.00, 0.00, 0, '2017-09-25 07:28:02', '2017-09-25 07:28:02'),
(179, '', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL, '', 0.00, 0.00, 0.00, 0, '2017-09-26 07:12:36', '2017-09-26 07:12:36'),
(180, '', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL, '', 0.00, 0.00, 0.00, 0, '2017-09-27 06:05:01', '2017-09-27 06:05:01'),
(181, '', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL, '', 0.00, 0.00, 0.00, 0, '2017-09-27 07:20:01', '2017-09-27 07:20:01'),
(182, '', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL, '', 0.00, 0.00, 0.00, 0, '2017-09-27 08:10:04', '2017-09-27 08:10:04'),
(183, '', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL, '', 0.00, 0.00, 0.00, 0, '2017-09-28 07:57:27', '2017-09-28 07:57:27'),
(184, '', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL, '', 0.00, 0.00, 0.00, 0, '2017-09-30 03:11:43', '2017-09-30 03:11:43'),
(185, '', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL, '', 0.00, 0.00, 0.00, 0, '2017-09-30 05:17:25', '2017-09-30 05:17:25'),
(186, '', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL, '', 0.00, 0.00, 0.00, 0, '2017-10-01 03:11:55', '2017-10-01 03:11:55'),
(187, '', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL, '', 0.00, 0.00, 0.00, 0, '2017-10-01 11:57:56', '2017-10-01 11:57:56'),
(188, '', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL, '', 0.00, 0.00, 0.00, 0, '2017-10-02 07:48:06', '2017-10-02 07:48:06'),
(189, '', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL, '', 0.00, 0.00, 0.00, 0, '2017-10-02 08:12:59', '2017-10-02 08:12:59'),
(190, '', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL, '', 0.00, 0.00, 0.00, 0, '2017-10-04 06:33:55', '2017-10-04 06:33:55'),
(191, '', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL, '', 0.00, 0.00, 0.00, 0, '2017-10-04 07:29:44', '2017-10-04 07:29:44'),
(192, '', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL, '', 0.00, 0.00, 0.00, 0, '2017-10-04 10:55:06', '2017-10-04 10:55:06'),
(193, '', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL, '', 0.00, 0.00, 0.00, 0, '2017-10-05 07:47:31', '2017-10-05 07:47:31'),
(194, '', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL, '', 0.00, 0.00, 0.00, 0, '2017-10-05 09:24:40', '2017-10-05 09:24:40'),
(195, '', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL, '', 0.00, 0.00, 0.00, 0, '2017-10-06 04:43:23', '2017-10-06 04:43:23'),
(196, '', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL, '', 0.00, 0.00, 0.00, 0, '2017-10-06 05:25:41', '2017-10-06 05:25:41'),
(197, '', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL, '', 0.00, 0.00, 0.00, 0, '2017-10-07 05:46:22', '2017-10-07 05:46:22'),
(198, '', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL, '', 0.00, 0.00, 0.00, 0, '2017-10-07 11:23:56', '2017-10-07 11:23:56'),
(199, '', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL, '', 0.00, 0.00, 0.00, 0, '2017-10-08 06:29:41', '2017-10-08 06:29:41'),
(200, '', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL, '', 0.00, 0.00, 0.00, 0, '2017-10-09 06:21:36', '2017-10-09 06:21:36'),
(201, '', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL, '', 0.00, 0.00, 0.00, 0, '2017-10-10 03:46:17', '2017-10-10 03:46:17'),
(202, '', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL, '', 0.00, 0.00, 0.00, 0, '2017-10-11 03:29:28', '2017-10-11 03:29:28'),
(203, '', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL, '', 0.00, 0.00, 0.00, 0, '2017-10-12 09:06:59', '2017-10-12 09:06:59'),
(204, '', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL, '', 0.00, 0.00, 0.00, 0, '2017-10-12 09:45:00', '2017-10-12 09:45:00'),
(205, '', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL, '', 0.00, 0.00, 0.00, 0, '2017-10-13 07:26:54', '2017-10-13 07:26:54'),
(206, '', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL, '', 0.00, 0.00, 0.00, 0, '2017-10-14 04:04:32', '2017-10-14 04:04:32'),
(207, '', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL, '', 0.00, 0.00, 0.00, 0, '2017-10-16 07:29:43', '2017-10-16 07:29:43'),
(208, '', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL, '', 0.00, 0.00, 0.00, 0, '2017-10-17 05:41:40', '2017-10-17 05:41:40'),
(209, '', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL, '', 0.00, 0.00, 0.00, 0, '2017-10-17 07:59:44', '2017-10-17 07:59:44'),
(210, '', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL, '', 0.00, 0.00, 0.00, 0, '2017-10-18 05:05:06', '2017-10-18 05:05:06'),
(211, '', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL, '', 0.00, 0.00, 0.00, 0, '2017-10-19 05:26:48', '2017-10-19 05:26:48'),
(212, '', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL, '', 0.00, 0.00, 0.00, 0, '2017-10-19 08:44:16', '2017-10-19 08:44:16'),
(213, '', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL, '', 0.00, 0.00, 0.00, 0, '2017-10-20 02:36:46', '2017-10-20 02:36:46'),
(214, '', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL, '', 0.00, 0.00, 0.00, 0, '2017-10-24 02:25:58', '2017-10-24 02:25:58'),
(215, '', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL, '', 0.00, 0.00, 0.00, 0, '2017-10-27 02:34:27', '2017-10-27 02:34:27'),
(216, '', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL, '', 0.00, 0.00, 0.00, 0, '2017-10-27 03:31:54', '2017-10-27 03:31:54'),
(217, '', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL, '', 0.00, 0.00, 0.00, 0, '2017-10-29 05:45:52', '2017-10-29 05:45:52'),
(218, '', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL, '', 0.00, 0.00, 0.00, 0, '2017-10-29 10:39:48', '2017-10-29 10:39:48'),
(219, '', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL, '', 0.00, 0.00, 0.00, 0, '2017-10-30 03:44:09', '2017-10-30 03:44:09'),
(220, '', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL, '', 0.00, 0.00, 0.00, 0, '2017-10-30 06:35:05', '2017-10-30 06:35:05'),
(221, '', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL, '', 0.00, 0.00, 0.00, 0, '2017-10-31 11:38:04', '2017-10-31 11:38:04'),
(222, '', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL, '', 0.00, 0.00, 0.00, 0, '2017-10-31 11:52:48', '2017-10-31 11:52:48'),
(223, '', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL, '', 0.00, 0.00, 0.00, 0, '2017-10-31 13:08:01', '2017-10-31 13:08:01'),
(224, '', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL, '', 0.00, 0.00, 0.00, 0, '2017-11-03 03:28:13', '2017-11-03 03:28:13'),
(225, '', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL, '', 0.00, 0.00, 0.00, 0, '2017-11-04 06:35:53', '2017-11-04 06:35:53'),
(226, '', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL, '', 0.00, 0.00, 0.00, 0, '2017-11-05 02:03:32', '2017-11-05 02:03:32'),
(227, '', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL, '', 0.00, 0.00, 0.00, 0, '2017-11-05 05:04:58', '2017-11-05 05:04:58'),
(228, '', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL, '', 0.00, 0.00, 0.00, 0, '2017-11-05 10:46:40', '2017-11-05 10:46:40'),
(229, '', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL, '', 0.00, 0.00, 0.00, 0, '2017-11-06 05:58:55', '2017-11-06 05:58:55'),
(230, '', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL, '', 0.00, 0.00, 0.00, 0, '2017-11-06 06:40:23', '2017-11-06 06:40:23'),
(231, '', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL, '', 0.00, 0.00, 0.00, 0, '2017-11-07 06:41:29', '2017-11-07 06:41:29'),
(232, '', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL, '', 0.00, 0.00, 0.00, 0, '2017-11-08 07:25:00', '2017-11-08 07:25:00'),
(233, '', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL, '', 0.00, 0.00, 0.00, 0, '2017-11-09 10:29:13', '2017-11-09 10:29:13'),
(234, '', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL, '', 0.00, 0.00, 0.00, 0, '2017-11-11 06:46:41', '2017-11-11 06:46:41'),
(235, '', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL, '', 0.00, 0.00, 0.00, 0, '2017-11-12 03:59:15', '2017-11-12 03:59:15'),
(236, '', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL, '', 0.00, 0.00, 0.00, 0, '2017-11-12 04:35:58', '2017-11-12 04:35:58'),
(237, '', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL, '', 0.00, 0.00, 0.00, 0, '2017-11-13 04:20:42', '2017-11-13 04:20:42'),
(238, '', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL, '', 0.00, 0.00, 0.00, 0, '2017-11-13 11:14:45', '2017-11-13 11:14:45'),
(239, '', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL, '', 0.00, 0.00, 0.00, 0, '2017-11-14 03:57:28', '2017-11-14 03:57:28'),
(240, '', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL, '', 0.00, 0.00, 0.00, 0, '2017-11-19 05:36:59', '2017-11-19 05:36:59'),
(241, '', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL, '', 0.00, 0.00, 0.00, 0, '2017-11-20 06:56:01', '2017-11-20 06:56:01'),
(242, '', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL, '', 0.00, 0.00, 0.00, 0, '2017-11-20 12:30:42', '2017-11-20 12:30:42'),
(243, '', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL, '', 0.00, 0.00, 0.00, 0, '2017-11-23 11:44:13', '2017-11-23 11:44:13'),
(244, '', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL, '', 0.00, 0.00, 0.00, 0, '2017-11-24 03:34:32', '2017-11-24 03:34:32'),
(245, '', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL, '', 0.00, 0.00, 0.00, 0, '2017-11-24 11:47:34', '2017-11-24 11:47:34'),
(246, '', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL, '', 0.00, 0.00, 0.00, 0, '2017-11-25 09:19:21', '2017-11-25 09:19:21'),
(247, '', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL, '', 0.00, 0.00, 0.00, 0, '2017-11-26 03:06:52', '2017-11-26 03:06:52'),
(248, '', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL, '', 0.00, 0.00, 0.00, 0, '2017-11-26 03:21:06', '2017-11-26 03:21:06'),
(249, '', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL, '', 0.00, 0.00, 0.00, 0, '2017-11-27 08:34:23', '2017-11-27 08:34:23'),
(250, '', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL, '', 0.00, 0.00, 0.00, 0, '2017-11-27 09:08:00', '2017-11-27 09:08:00'),
(251, '', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL, '', 0.00, 0.00, 0.00, 0, '2017-11-30 01:11:26', '2017-11-30 01:11:26'),
(252, '', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL, '', 0.00, 0.00, 0.00, 0, '2017-12-01 05:22:54', '2017-12-01 05:22:54'),
(253, '', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL, '', 0.00, 0.00, 0.00, 0, '2017-12-01 08:32:13', '2017-12-01 08:32:13'),
(254, '', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL, '', 0.00, 0.00, 0.00, 0, '2017-12-01 10:47:41', '2017-12-01 10:47:41'),
(255, '', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL, '', 0.00, 0.00, 0.00, 0, '2017-12-02 09:02:26', '2017-12-02 09:02:26'),
(256, '', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL, '', 0.00, 0.00, 0.00, 0, '2017-12-03 08:29:10', '2017-12-03 08:29:10'),
(257, '', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL, '', 0.00, 0.00, 0.00, 0, '2017-12-04 09:04:32', '2017-12-04 09:04:32'),
(258, '', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL, '', 0.00, 0.00, 0.00, 0, '2017-12-06 06:22:26', '2017-12-06 06:22:26'),
(259, '', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL, '', 0.00, 0.00, 0.00, 0, '2017-12-06 06:48:15', '2017-12-06 06:48:15'),
(260, '', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL, '', 0.00, 0.00, 0.00, 0, '2017-12-07 03:54:00', '2017-12-07 03:54:00'),
(261, '', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL, '', 0.00, 0.00, 0.00, 0, '2017-12-07 09:03:39', '2017-12-07 09:03:39'),
(262, '', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL, '', 0.00, 0.00, 0.00, 0, '2017-12-07 09:32:49', '2017-12-07 09:32:49'),
(263, '', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL, '', 0.00, 0.00, 0.00, 0, '2018-01-11 09:56:04', '2018-01-11 09:56:04'),
(264, '', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL, '', 0.00, 0.00, 0.00, 0, '2018-01-12 12:26:15', '2018-01-12 12:26:15'),
(265, '', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL, '', 0.00, 0.00, 0.00, 0, '2018-01-15 03:36:36', '2018-01-15 03:36:36');

-- --------------------------------------------------------

--
-- Table structure for table `customers`
--

CREATE TABLE `customers` (
  `id` int(10) UNSIGNED NOT NULL,
  `last_name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `first_name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `sex` enum('m','f') COLLATE utf8_unicode_ci DEFAULT 'm',
  `tel` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `email` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `age` int(11) DEFAULT NULL,
  `address` text COLLATE utf8_unicode_ci,
  `photo` text COLLATE utf8_unicode_ci,
  `note` text COLLATE utf8_unicode_ci,
  `branch_id` int(10) UNSIGNED DEFAULT NULL,
  `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `user_id` int(10) UNSIGNED DEFAULT NULL,
  `id_card` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `dob` date DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `customers`
--

INSERT INTO `customers` (`id`, `last_name`, `first_name`, `sex`, `tel`, `email`, `age`, `address`, `photo`, `note`, `branch_id`, `created_at`, `updated_at`, `user_id`, `id_card`, `dob`) VALUES
(1, 'សឺង', 'ផេង', 'm', '012 345 6789', NULL, 23, 'ផ្ទះលេខ២១៣ ភូមិបវេល ស្រុកថ្មគោល ខេត្តបាត់ដំបង', 'http://localhost/point_of_sale/public/uploads/none.jpg', '', NULL, '2017-05-12 03:19:50', '2017-05-12 03:51:51', NULL, '1010111', '1990-01-04'),
(2, 'Doe', 'Jane', 'm', '089 90 91 92', NULL, 22, '', 'http://localhost/point_of_sale/public/uploads/none.jpg', '', NULL, '2017-05-12 06:16:58', '2017-05-12 06:16:58', NULL, '', '1990-06-13'),
(3, NULL, NULL, 'm', '', NULL, NULL, NULL, 'http://localhost/point_of_sale/public/uploads/none.jpg', NULL, NULL, '2017-05-16 03:22:45', '2017-05-16 03:22:45', NULL, NULL, '0000-00-00'),
(4, NULL, NULL, 'm', '', NULL, NULL, NULL, 'http://localhost/point_of_sale/public/uploads/none.jpg', NULL, NULL, '2017-05-16 03:23:15', '2017-05-16 03:23:15', NULL, NULL, '0000-00-00'),
(5, NULL, NULL, 'm', '', NULL, NULL, NULL, 'http://localhost/point_of_sale/public/uploads/none.jpg', NULL, NULL, '2017-05-16 03:24:19', '2017-05-16 03:24:19', NULL, NULL, '0000-00-00');

-- --------------------------------------------------------

--
-- Table structure for table `customer_quotations`
--

CREATE TABLE `customer_quotations` (
  `id` int(10) UNSIGNED NOT NULL,
  `status` enum('open','closed') COLLATE utf8_unicode_ci DEFAULT NULL,
  `customer_id` int(11) DEFAULT NULL,
  `user_id` int(11) DEFAULT NULL,
  `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00'
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

-- --------------------------------------------------------

--
-- Table structure for table `garantors`
--

CREATE TABLE `garantors` (
  `id` int(10) UNSIGNED NOT NULL,
  `g_full_name_kh` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `g_full_name_en` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `gender` enum('m','f') COLLATE utf8_unicode_ci NOT NULL DEFAULT 'm',
  `g_id_card_no` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `g_tel` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `address` text COLLATE utf8_unicode_ci,
  `note` text COLLATE utf8_unicode_ci,
  `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00'
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `garantors`
--

INSERT INTO `garantors` (`id`, `g_full_name_kh`, `g_full_name_en`, `gender`, `g_id_card_no`, `g_tel`, `address`, `note`, `created_at`, `updated_at`) VALUES
(1, 'Jane', 'Doe', 'm', '100001', '090 0990 009', '', '', '2017-05-26 06:24:37', '2017-07-27 04:24:29'),
(2, '', '', 'm', '', '', '', '', '2017-05-26 06:34:11', '2017-05-26 06:35:17'),
(3, '', '', 'm', '', '', NULL, NULL, '2017-05-27 05:10:58', '2017-05-27 05:10:58'),
(4, '', '', 'm', '', '', NULL, NULL, '2017-05-28 03:25:37', '2017-05-28 03:25:37'),
(5, '', '', 'm', '', '', NULL, NULL, '2017-05-28 04:03:03', '2017-05-28 04:03:03'),
(6, '', '', 'm', '', '', NULL, NULL, '2017-05-28 11:02:34', '2017-05-28 11:02:34'),
(7, '', '', 'm', '', '', NULL, NULL, '2017-05-30 07:00:30', '2017-05-30 07:00:30'),
(8, '', '', 'm', '', '', NULL, NULL, '2017-05-30 10:14:07', '2017-05-30 10:14:07'),
(9, '', '', 'm', '', '', NULL, NULL, '2017-05-31 04:58:14', '2017-05-31 04:58:14'),
(10, '', '', 'm', '', '', NULL, NULL, '2017-05-31 08:21:22', '2017-05-31 08:21:22'),
(11, '', '', 'm', '', '', NULL, NULL, '2017-05-31 08:33:40', '2017-05-31 08:33:40'),
(12, '', '', 'm', '', '', '', '', '2017-05-31 08:51:05', '2017-05-31 08:54:55'),
(13, '', '', 'm', '', '', NULL, NULL, '2017-05-31 09:07:57', '2017-05-31 09:07:57'),
(14, '', '', 'm', '', '', NULL, NULL, '2017-05-31 09:26:34', '2017-05-31 09:26:34'),
(15, '', '', 'm', '', '', NULL, NULL, '2017-05-31 09:39:12', '2017-05-31 09:39:12'),
(16, '', '', 'm', '', '', NULL, NULL, '2017-05-31 09:56:26', '2017-05-31 09:56:26'),
(17, '', '', 'm', '', '', NULL, NULL, '2017-05-31 10:07:19', '2017-05-31 10:07:19'),
(18, '', '', 'm', '', '', NULL, NULL, '2017-05-31 10:18:17', '2017-05-31 10:18:17'),
(19, '', '', 'm', '', '', NULL, NULL, '2017-05-31 11:03:08', '2017-05-31 11:03:08'),
(20, '', '', 'm', '', '', NULL, NULL, '2017-05-31 11:08:40', '2017-05-31 11:08:40'),
(21, '', '', 'm', '', '', NULL, NULL, '2017-06-01 01:46:01', '2017-06-01 01:46:01'),
(22, '', '', 'm', '', '', NULL, NULL, '2017-06-01 01:53:49', '2017-06-01 01:53:49'),
(23, '', '', 'm', '', '', NULL, NULL, '2017-06-01 02:03:54', '2017-06-01 02:03:54'),
(24, '', '', 'm', '', '', NULL, NULL, '2017-06-01 02:12:42', '2017-06-01 02:12:42'),
(25, '', '', 'm', '', '', NULL, NULL, '2017-06-01 02:22:29', '2017-06-01 02:22:29'),
(26, '', '', 'm', '', '', NULL, NULL, '2017-06-01 02:33:10', '2017-06-01 02:33:10'),
(27, '', '', 'm', '', '', NULL, NULL, '2017-06-01 02:47:04', '2017-06-01 02:47:04'),
(28, '', '', 'm', '', '', NULL, NULL, '2017-06-01 03:12:43', '2017-06-01 03:12:43'),
(29, '', '', 'm', '', '', NULL, NULL, '2017-06-01 03:22:29', '2017-06-01 03:22:29'),
(30, '', '', 'm', '', '', NULL, NULL, '2017-06-01 03:32:04', '2017-06-01 03:32:04'),
(31, '', '', 'm', '', '', NULL, NULL, '2017-06-01 06:22:14', '2017-06-01 06:22:14'),
(32, '', '', 'm', '', '', NULL, NULL, '2017-06-01 06:43:08', '2017-06-01 06:43:08'),
(33, '', '', 'm', '', '', NULL, NULL, '2017-06-01 06:58:57', '2017-06-01 06:58:57'),
(34, '', '', 'm', '', '', NULL, NULL, '2017-06-01 07:11:21', '2017-06-01 07:11:21'),
(35, '', '', 'm', '', '', NULL, NULL, '2017-06-01 10:23:13', '2017-06-01 10:23:13'),
(36, '', '', 'm', '', '', NULL, NULL, '2017-06-02 10:08:27', '2017-06-02 10:08:27'),
(37, '', '', 'm', '', '', NULL, NULL, '2017-06-02 11:24:48', '2017-06-02 11:24:48'),
(38, '', '', 'm', '', '', NULL, NULL, '2017-06-03 06:46:17', '2017-06-03 06:46:17'),
(39, '', '', 'm', '', '', NULL, NULL, '2017-06-03 07:41:31', '2017-06-03 07:41:31'),
(40, '', '', 'm', '', '', NULL, NULL, '2017-06-03 11:09:11', '2017-06-03 11:09:11'),
(41, '', '', 'm', '', '', NULL, NULL, '2017-06-04 09:56:07', '2017-06-04 09:56:07'),
(42, '', '', 'm', '', '', NULL, NULL, '2017-06-05 05:01:33', '2017-06-05 05:01:33'),
(43, '', '', 'm', '', '', NULL, NULL, '2017-06-05 09:02:37', '2017-06-05 09:02:37'),
(44, '', '', 'm', '', '', NULL, NULL, '2017-06-08 03:38:15', '2017-06-08 03:38:15'),
(45, '', '', 'm', '', '', NULL, NULL, '2017-06-10 02:56:37', '2017-06-10 02:56:37'),
(46, '', '', 'm', '', '', 'ផ្ទះ៩០៧ ក្រុម០៣ ភូមិអូរអន្លក់ ឃំុតាសែន ស្រុកកំរៀង បាត់ដំបង', '', '2017-06-10 04:51:46', '2017-06-10 04:55:59'),
(47, '', '', 'm', '', '', NULL, NULL, '2017-06-10 07:39:25', '2017-06-10 07:39:25'),
(48, '', '', 'm', '', '', NULL, NULL, '2017-06-12 10:13:52', '2017-06-12 10:13:52'),
(49, '', '', 'm', '', '', NULL, NULL, '2017-06-13 02:40:19', '2017-06-13 02:40:19'),
(50, '', '', 'm', '', '', NULL, NULL, '2017-06-13 06:30:07', '2017-06-13 06:30:07'),
(51, '', '', 'm', '', '', NULL, NULL, '2017-06-14 06:58:34', '2017-06-14 06:58:34'),
(52, '', '', 'm', '', '', NULL, NULL, '2017-06-14 07:46:45', '2017-06-14 07:46:45'),
(53, '', '', 'm', '', '', NULL, NULL, '2017-06-15 12:03:09', '2017-06-15 12:03:09'),
(54, '', '', 'm', '', '', NULL, NULL, '2017-06-16 10:02:06', '2017-06-16 10:02:06'),
(55, '', '', 'm', '', '', NULL, NULL, '2017-06-19 07:57:29', '2017-06-19 07:57:29'),
(56, '', '', 'm', '', '', NULL, NULL, '2017-06-19 08:48:17', '2017-06-19 08:48:17'),
(57, '', '', 'm', '', '', NULL, NULL, '2017-06-19 10:08:42', '2017-06-19 10:08:42'),
(59, '', '', 'm', '', '', NULL, NULL, '2017-06-20 10:47:31', '2017-06-20 10:47:31'),
(60, '', '', 'm', '', '', NULL, NULL, '2017-06-21 10:18:28', '2017-06-21 10:18:28'),
(61, '', '', 'm', '', '', NULL, NULL, '2017-06-22 05:54:29', '2017-06-22 05:54:29'),
(62, '', '', 'm', '', '', NULL, NULL, '2017-06-22 11:25:30', '2017-06-22 11:25:30'),
(63, '', '', 'm', '', '', NULL, NULL, '2017-06-23 08:51:37', '2017-06-23 08:51:37'),
(64, '', '', 'm', '', '', NULL, NULL, '2017-06-23 09:44:11', '2017-06-23 09:44:11'),
(65, '', '', 'm', '', '', NULL, NULL, '2017-06-24 04:25:47', '2017-06-24 04:25:47'),
(66, '', '', 'm', '', '', NULL, NULL, '2017-06-24 04:46:44', '2017-06-24 04:46:44'),
(67, '', '', 'm', '', '', NULL, NULL, '2017-06-24 06:23:52', '2017-06-24 06:23:52'),
(68, '', '', 'm', '', '', NULL, NULL, '2017-06-25 03:19:16', '2017-06-25 03:19:16'),
(69, '', '', 'm', '', '', NULL, NULL, '2017-06-25 05:51:40', '2017-06-25 05:51:40'),
(70, '', '', 'm', '', '', NULL, NULL, '2017-06-28 05:01:22', '2017-06-28 05:01:22'),
(71, '', '', 'm', '', '', NULL, NULL, '2017-06-30 08:36:47', '2017-06-30 08:36:47'),
(72, '', '', 'm', '', '', NULL, NULL, '2017-07-01 05:24:59', '2017-07-01 05:24:59'),
(73, '', '', 'm', '', '', NULL, NULL, '2017-07-03 02:00:30', '2017-07-03 02:00:30'),
(74, '', '', 'm', '', '', 'ក្រុម២៧​ ភូមិអូរតាគាំ២ សង្កាត់់ទួលតាឯក ក្រុងបាត់ដំបង ', '', '2017-07-03 03:47:56', '2017-07-03 04:34:01'),
(75, '', '', 'm', '', '', NULL, NULL, '2017-07-03 08:04:10', '2017-07-03 08:04:10'),
(76, '', '', 'm', '', '', NULL, NULL, '2017-07-04 07:31:13', '2017-07-04 07:31:13'),
(77, '', '', 'm', '', '', NULL, NULL, '2017-07-04 07:41:18', '2017-07-04 07:41:18'),
(78, '', '', 'm', '', '', NULL, NULL, '2017-07-04 10:18:01', '2017-07-04 10:18:01'),
(79, '', '', 'm', '', '', NULL, NULL, '2017-07-04 10:47:14', '2017-07-04 10:47:14'),
(80, '', '', 'm', '', '', 'ផ្ទះ១៦៤ ក្រុម១១ ភូមិទួលតាសុខ ឃំុបន្សាយត្រែង ស្រុកថ្មគោល បាត់ដំបង', '', '2017-07-07 03:32:08', '2017-07-07 03:35:50'),
(81, '', '', 'm', '', '', NULL, NULL, '2017-07-07 07:31:46', '2017-07-07 07:31:46'),
(82, '', '', 'm', '', '', NULL, NULL, '2017-07-07 11:03:37', '2017-07-07 11:03:37'),
(83, '', '', 'm', '', '', NULL, NULL, '2017-07-07 12:24:32', '2017-07-07 12:24:32'),
(84, '', '', 'm', '', '', NULL, NULL, '2017-07-09 02:23:20', '2017-07-09 02:23:20'),
(85, '', '', 'm', '', '', NULL, NULL, '2017-07-09 04:31:00', '2017-07-09 04:31:00'),
(86, '', '', 'm', '', '', NULL, NULL, '2017-07-09 04:41:22', '2017-07-09 04:41:22'),
(87, '', '', 'm', '', '', NULL, NULL, '2017-07-09 10:07:22', '2017-07-09 10:07:22'),
(88, '', '', 'm', '', '', NULL, NULL, '2017-07-10 11:34:25', '2017-07-10 11:34:25'),
(89, '', '', 'm', '', '', NULL, NULL, '2017-07-10 12:08:47', '2017-07-10 12:08:47'),
(90, '', '', 'm', '', '', NULL, NULL, '2017-07-11 10:53:39', '2017-07-11 10:53:39'),
(91, '', '', 'm', '', '', NULL, NULL, '2017-07-12 04:27:16', '2017-07-12 04:27:16'),
(92, '', '', 'm', '', '', NULL, NULL, '2017-07-12 12:48:41', '2017-07-12 12:48:41'),
(93, '', '', 'm', '', '', NULL, NULL, '2017-07-13 01:59:36', '2017-07-13 01:59:36'),
(94, '', '', 'm', '', '', NULL, NULL, '2017-07-13 02:01:52', '2017-07-13 02:01:52'),
(95, '', '', 'm', '', '', NULL, NULL, '2017-07-15 06:19:42', '2017-07-15 06:19:42'),
(96, '', '', 'm', '', '', NULL, NULL, '2017-07-16 05:10:41', '2017-07-16 05:10:41'),
(97, '', '', 'm', '', '', NULL, NULL, '2017-07-16 05:19:33', '2017-07-16 05:19:33'),
(98, '', '', 'm', '', '', NULL, NULL, '2017-07-16 08:44:58', '2017-07-16 08:44:58'),
(99, '', '', 'm', '', '', NULL, NULL, '2017-07-18 05:12:52', '2017-07-18 05:12:52'),
(100, '', '', 'm', '', '', NULL, NULL, '2017-07-18 11:14:11', '2017-07-18 11:14:11'),
(101, '', '', 'm', '', '', NULL, NULL, '2017-07-19 06:08:56', '2017-07-19 06:08:56'),
(102, '', '', 'm', '', '', NULL, NULL, '2017-07-19 09:27:50', '2017-07-19 09:27:50'),
(103, '', '', 'm', '', '', NULL, NULL, '2017-07-21 03:32:40', '2017-07-21 03:32:40'),
(104, '', '', 'm', '', '', NULL, NULL, '2017-07-21 07:46:55', '2017-07-21 07:46:55'),
(105, '', '', 'm', '', '', NULL, NULL, '2017-07-21 08:01:36', '2017-07-21 08:01:36'),
(106, '', '', 'm', '', '', NULL, NULL, '2017-07-21 10:10:38', '2017-07-21 10:10:38'),
(107, '', '', 'm', '', '', NULL, NULL, '2017-07-24 07:20:20', '2017-07-24 07:20:20'),
(108, '', '', 'm', '', '', NULL, NULL, '2017-07-26 11:04:28', '2017-07-26 11:04:28'),
(109, '', '', 'm', '', '', '', '', '2017-07-26 13:46:41', '2017-07-27 02:29:57'),
(110, '', '', 'm', '', '', NULL, NULL, '2017-07-28 06:33:07', '2017-07-28 06:33:07'),
(111, '', '', 'm', '', '', NULL, NULL, '2017-07-28 07:26:10', '2017-07-28 07:26:10'),
(112, 'ម៉ា សុខេន', 'MA SOKHEN1', 'm', '170624324', '016777564', 'បាត់ដំបង់', '', '2017-07-29 03:14:35', '2017-07-29 03:17:55'),
(113, '', '', 'm', '', '', NULL, NULL, '2017-07-29 07:19:48', '2017-07-29 07:19:48'),
(114, '', '', 'm', '', '', NULL, NULL, '2017-07-29 09:10:03', '2017-07-29 09:10:03'),
(115, '', '', 'm', '', '', NULL, NULL, '2017-07-30 03:32:41', '2017-07-30 03:32:41'),
(116, '', '', 'm', '', '', NULL, NULL, '2017-07-30 04:10:46', '2017-07-30 04:10:46'),
(117, '', '', 'm', '', '', NULL, NULL, '2017-07-30 06:27:48', '2017-07-30 06:27:48'),
(118, '', '', 'm', '', '', NULL, NULL, '2017-07-30 07:50:59', '2017-07-30 07:50:59'),
(119, '', '', 'm', '', '', NULL, NULL, '2017-07-31 07:15:24', '2017-07-31 07:15:24'),
(120, '', '', 'm', '', '', NULL, NULL, '2017-08-01 11:23:07', '2017-08-01 11:23:07'),
(121, '', '', 'm', '', '', NULL, NULL, '2017-08-02 04:34:32', '2017-08-02 04:34:32'),
(122, '', '', 'm', '', '', NULL, NULL, '2017-08-05 01:41:19', '2017-08-05 01:41:19'),
(123, '', '', 'm', '', '', NULL, NULL, '2017-08-05 05:01:44', '2017-08-05 05:01:44'),
(124, '', '', 'm', '', '', NULL, NULL, '2017-08-06 04:01:29', '2017-08-06 04:01:29'),
(125, '', '', 'm', '', '', NULL, NULL, '2017-08-07 08:50:18', '2017-08-07 08:50:18'),
(126, '', '', 'm', '', '', NULL, NULL, '2017-08-09 12:13:25', '2017-08-09 12:13:25'),
(127, '', '', 'm', '', '', NULL, NULL, '2017-08-11 01:56:01', '2017-08-11 01:56:01'),
(128, '', '', 'm', '', '', NULL, NULL, '2017-08-12 04:07:56', '2017-08-12 04:07:56'),
(129, '', '', 'm', '', '', NULL, NULL, '2017-08-13 03:41:23', '2017-08-13 03:41:23'),
(130, '', '', 'm', '', '', NULL, NULL, '2017-08-13 09:31:50', '2017-08-13 09:31:50'),
(131, '', '', 'm', '', '', NULL, NULL, '2017-08-15 09:30:06', '2017-08-15 09:30:06'),
(132, '', '', 'm', '', '', NULL, NULL, '2017-08-15 10:27:44', '2017-08-15 10:27:44'),
(133, '', '', 'm', '', '', NULL, NULL, '2017-08-17 04:51:46', '2017-08-17 04:51:46'),
(134, '', '', 'm', '', '', NULL, NULL, '2017-08-17 06:27:05', '2017-08-17 06:27:05'),
(135, '', '', 'm', '', '', NULL, NULL, '2017-08-18 03:00:11', '2017-08-18 03:00:11'),
(136, '', '', 'm', '', '', NULL, NULL, '2017-08-18 11:34:33', '2017-08-18 11:34:33'),
(137, '', '', 'm', '', '', NULL, NULL, '2017-08-22 03:06:20', '2017-08-22 03:06:20'),
(138, '', '', 'm', '', '', NULL, NULL, '2017-08-23 06:15:32', '2017-08-23 06:15:32'),
(139, '', '', 'm', '', '', NULL, NULL, '2017-08-27 03:12:03', '2017-08-27 03:12:03'),
(140, '', '', 'm', '', '', NULL, NULL, '2017-08-27 06:15:04', '2017-08-27 06:15:04'),
(141, '', '', 'm', '', '', NULL, NULL, '2017-08-30 03:43:50', '2017-08-30 03:43:50'),
(142, '', '', 'm', '', '', NULL, NULL, '2017-08-30 03:59:18', '2017-08-30 03:59:18'),
(143, 'លី ចាន់ណា', 'ly channa', 'm', '010875405', '012211149', 'ភ្នំពេញ', 'sony', '2017-08-30 07:19:30', '2017-08-30 07:21:35'),
(144, '', '', 'm', '', '', NULL, NULL, '2017-09-01 02:50:12', '2017-09-01 02:50:12'),
(145, '', '', 'm', '', '', NULL, NULL, '2017-09-01 03:27:36', '2017-09-01 03:27:36'),
(146, '', '', 'm', '', '', NULL, NULL, '2017-09-02 04:52:25', '2017-09-02 04:52:25'),
(147, '', '', 'm', '', '', NULL, NULL, '2017-09-02 07:11:08', '2017-09-02 07:11:08'),
(148, '', '', 'm', '', '', NULL, NULL, '2017-09-04 09:59:18', '2017-09-04 09:59:18'),
(149, '', '', 'm', '', '', NULL, NULL, '2017-09-05 03:30:27', '2017-09-05 03:30:27'),
(150, '', '', 'm', '', '', NULL, NULL, '2017-09-05 08:23:23', '2017-09-05 08:23:23'),
(151, '', '', 'm', '', '', NULL, NULL, '2017-09-05 08:35:48', '2017-09-05 08:35:48'),
(152, '', '', 'm', '', '', NULL, NULL, '2017-09-06 07:16:00', '2017-09-06 07:16:00'),
(153, '', '', 'm', '', '', NULL, NULL, '2017-09-07 08:45:31', '2017-09-07 08:45:31'),
(154, 'លី ចាន់ណា', 'ly channa', 'm', '0108754050', '012211449', 'ភ្នំពេញ', 'sony', '2017-09-08 01:53:30', '2017-09-08 01:54:55'),
(155, '', '', 'm', '', '', NULL, NULL, '2017-09-08 02:52:00', '2017-09-08 02:52:00'),
(156, '', '', 'm', '', '', NULL, NULL, '2017-09-08 06:00:35', '2017-09-08 06:00:35'),
(157, '', '', 'm', '', '', NULL, NULL, '2017-09-08 08:17:56', '2017-09-08 08:17:56'),
(158, '', '', 'm', '', '', NULL, NULL, '2017-09-09 02:55:16', '2017-09-09 02:55:16'),
(159, '', '', 'm', '', '', NULL, NULL, '2017-09-09 03:31:25', '2017-09-09 03:31:25'),
(160, '', '', 'm', '', '', NULL, NULL, '2017-09-09 04:52:36', '2017-09-09 04:52:36'),
(161, '', '', 'm', '', '', NULL, NULL, '2017-09-09 06:40:44', '2017-09-09 06:40:44'),
(162, '', '', 'm', '', '', NULL, NULL, '2017-09-09 09:41:02', '2017-09-09 09:41:02'),
(163, '', '', 'm', '', '', NULL, NULL, '2017-09-10 06:02:39', '2017-09-10 06:02:39'),
(164, '', '', 'm', '', '', NULL, NULL, '2017-09-11 02:00:40', '2017-09-11 02:00:40'),
(165, '', '', 'm', '', '', NULL, NULL, '2017-09-11 07:26:58', '2017-09-11 07:26:58'),
(166, '', '', 'm', '', '', NULL, NULL, '2017-09-12 06:13:52', '2017-09-12 06:13:52'),
(167, '', '', 'm', '', '', NULL, NULL, '2017-09-14 11:52:06', '2017-09-14 11:52:06'),
(168, '', '', 'm', '', '', NULL, NULL, '2017-09-15 04:37:40', '2017-09-15 04:37:40'),
(169, '', '', 'm', '', '', NULL, NULL, '2017-09-15 04:54:21', '2017-09-15 04:54:21'),
(170, ' 	ផល សុភ័ស', 'phal sophas', 'm', '009988776655', '០៧០៥០១២៧៧', '', 'duvy scool', '2017-09-15 11:43:12', '2017-09-15 11:46:54'),
(171, '', '', 'm', '', '', NULL, NULL, '2017-09-16 05:17:05', '2017-09-16 05:17:05'),
(172, '', '', 'm', '', '', NULL, NULL, '2017-09-17 03:08:36', '2017-09-17 03:08:36'),
(173, '', '', 'm', '', '', NULL, NULL, '2017-09-17 05:26:19', '2017-09-17 05:26:19'),
(174, '', '', 'm', '', '', NULL, NULL, '2017-09-18 01:50:35', '2017-09-18 01:50:35'),
(175, '', '', 'm', '', '', NULL, NULL, '2017-09-22 05:59:16', '2017-09-22 05:59:16'),
(176, '', '', 'm', '', '', NULL, NULL, '2017-09-24 15:07:00', '2017-09-24 15:07:00'),
(177, '', '', 'm', '', '', NULL, NULL, '2017-09-25 07:17:56', '2017-09-25 07:17:56'),
(178, '', '', 'm', '', '', NULL, NULL, '2017-09-25 07:28:02', '2017-09-25 07:28:02'),
(179, '', '', 'm', '', '', NULL, NULL, '2017-09-26 07:12:36', '2017-09-26 07:12:36'),
(180, '', '', 'm', '', '', NULL, NULL, '2017-09-27 06:05:01', '2017-09-27 06:05:01'),
(181, '', '', 'm', '', '', NULL, NULL, '2017-09-27 07:20:01', '2017-09-27 07:20:01'),
(182, '', '', 'm', '', '', NULL, NULL, '2017-09-27 08:10:04', '2017-09-27 08:10:04'),
(183, '', '', 'm', '', '', NULL, NULL, '2017-09-28 07:57:27', '2017-09-28 07:57:27'),
(184, '', '', 'm', '', '', NULL, NULL, '2017-09-30 03:11:43', '2017-09-30 03:11:43'),
(185, '', '', 'm', '', '', NULL, NULL, '2017-09-30 05:17:25', '2017-09-30 05:17:25'),
(186, '', '', 'm', '', '', NULL, NULL, '2017-10-01 03:11:55', '2017-10-01 03:11:55'),
(187, '', '', 'm', '', '', NULL, NULL, '2017-10-01 11:57:56', '2017-10-01 11:57:56'),
(188, '', '', 'm', '', '', NULL, NULL, '2017-10-02 07:48:06', '2017-10-02 07:48:06'),
(189, '', '', 'm', '', '', NULL, NULL, '2017-10-02 08:12:59', '2017-10-02 08:12:59'),
(190, '', '', 'm', '', '', NULL, NULL, '2017-10-04 06:33:55', '2017-10-04 06:33:55'),
(191, '', '', 'm', '', '', NULL, NULL, '2017-10-04 07:29:44', '2017-10-04 07:29:44'),
(192, '', '', 'm', '', '', NULL, NULL, '2017-10-04 10:55:06', '2017-10-04 10:55:06'),
(193, '', '', 'm', '', '', NULL, NULL, '2017-10-05 07:47:31', '2017-10-05 07:47:31'),
(194, '', '', 'm', '', '', NULL, NULL, '2017-10-05 09:24:40', '2017-10-05 09:24:40'),
(195, '', '', 'm', '', '', NULL, NULL, '2017-10-06 04:43:23', '2017-10-06 04:43:23'),
(196, '', '', 'm', '', '', NULL, NULL, '2017-10-06 05:25:41', '2017-10-06 05:25:41'),
(197, '', '', 'm', '', '', NULL, NULL, '2017-10-07 05:46:22', '2017-10-07 05:46:22'),
(198, '', '', 'm', '', '', NULL, NULL, '2017-10-07 11:23:56', '2017-10-07 11:23:56'),
(199, '', '', 'm', '', '', NULL, NULL, '2017-10-08 06:29:41', '2017-10-08 06:29:41'),
(200, '', '', 'm', '', '', NULL, NULL, '2017-10-09 06:21:36', '2017-10-09 06:21:36'),
(201, '', '', 'm', '', '', NULL, NULL, '2017-10-10 03:46:17', '2017-10-10 03:46:17'),
(202, '', '', 'm', '', '', NULL, NULL, '2017-10-11 03:29:28', '2017-10-11 03:29:28'),
(203, '', '', 'm', '', '', NULL, NULL, '2017-10-12 09:06:59', '2017-10-12 09:06:59'),
(204, '', '', 'm', '', '', NULL, NULL, '2017-10-12 09:45:00', '2017-10-12 09:45:00'),
(205, '', '', 'm', '', '', NULL, NULL, '2017-10-13 07:26:54', '2017-10-13 07:26:54'),
(206, '', '', 'm', '', '', NULL, NULL, '2017-10-14 04:04:32', '2017-10-14 04:04:32'),
(207, '', '', 'm', '', '', NULL, NULL, '2017-10-16 07:29:43', '2017-10-16 07:29:43'),
(208, '', '', 'm', '', '', NULL, NULL, '2017-10-17 05:41:40', '2017-10-17 05:41:40'),
(209, '', '', 'm', '', '', NULL, NULL, '2017-10-17 07:59:44', '2017-10-17 07:59:44'),
(210, '', '', 'm', '', '', NULL, NULL, '2017-10-18 05:05:06', '2017-10-18 05:05:06'),
(211, '', '', 'm', '', '', NULL, NULL, '2017-10-19 05:26:48', '2017-10-19 05:26:48'),
(212, '', '', 'm', '', '', NULL, NULL, '2017-10-19 08:44:16', '2017-10-19 08:44:16'),
(213, '', '', 'm', '', '', NULL, NULL, '2017-10-20 02:36:46', '2017-10-20 02:36:46'),
(214, '', '', 'm', '', '', NULL, NULL, '2017-10-24 02:25:58', '2017-10-24 02:25:58'),
(215, '', '', 'm', '', '', NULL, NULL, '2017-10-27 02:34:27', '2017-10-27 02:34:27'),
(216, '', '', 'm', '', '', NULL, NULL, '2017-10-27 03:31:54', '2017-10-27 03:31:54'),
(217, '', '', 'm', '', '', NULL, NULL, '2017-10-29 05:45:52', '2017-10-29 05:45:52'),
(218, '', '', 'm', '', '', NULL, NULL, '2017-10-29 10:39:48', '2017-10-29 10:39:48'),
(219, '', '', 'm', '', '', NULL, NULL, '2017-10-30 03:44:09', '2017-10-30 03:44:09'),
(220, '', '', 'm', '', '', NULL, NULL, '2017-10-30 06:35:05', '2017-10-30 06:35:05'),
(221, '', '', 'm', '', '', NULL, NULL, '2017-10-31 11:38:04', '2017-10-31 11:38:04'),
(222, '', '', 'm', '', '', NULL, NULL, '2017-10-31 11:52:48', '2017-10-31 11:52:48'),
(223, '', '', 'm', '', '', NULL, NULL, '2017-10-31 13:08:01', '2017-10-31 13:08:01'),
(224, '', '', 'm', '', '', NULL, NULL, '2017-11-03 03:28:13', '2017-11-03 03:28:13'),
(225, '', '', 'm', '', '', NULL, NULL, '2017-11-04 06:35:53', '2017-11-04 06:35:53'),
(226, '', '', 'm', '', '', NULL, NULL, '2017-11-05 02:03:32', '2017-11-05 02:03:32'),
(227, '', '', 'm', '', '', NULL, NULL, '2017-11-05 05:04:58', '2017-11-05 05:04:58'),
(228, '', '', 'm', '', '', NULL, NULL, '2017-11-05 10:46:40', '2017-11-05 10:46:40'),
(229, '', '', 'm', '', '', NULL, NULL, '2017-11-06 05:58:55', '2017-11-06 05:58:55'),
(230, '', '', 'm', '', '', NULL, NULL, '2017-11-06 06:40:23', '2017-11-06 06:40:23'),
(231, '', '', 'm', '', '', NULL, NULL, '2017-11-07 06:41:29', '2017-11-07 06:41:29'),
(232, '', '', 'm', '', '', NULL, NULL, '2017-11-08 07:25:00', '2017-11-08 07:25:00'),
(233, '', '', 'm', '', '', NULL, NULL, '2017-11-09 10:29:13', '2017-11-09 10:29:13'),
(234, '', '', 'm', '', '', NULL, NULL, '2017-11-11 06:46:41', '2017-11-11 06:46:41'),
(235, '', '', 'm', '', '', NULL, NULL, '2017-11-12 03:59:15', '2017-11-12 03:59:15'),
(236, '', '', 'm', '', '', NULL, NULL, '2017-11-12 04:35:58', '2017-11-12 04:35:58'),
(237, '', '', 'm', '', '', NULL, NULL, '2017-11-13 04:20:42', '2017-11-13 04:20:42'),
(238, '', '', 'm', '', '', NULL, NULL, '2017-11-13 11:14:45', '2017-11-13 11:14:45'),
(239, '', '', 'm', '', '', NULL, NULL, '2017-11-14 03:57:28', '2017-11-14 03:57:28'),
(240, '', '', 'm', '', '', NULL, NULL, '2017-11-19 05:36:59', '2017-11-19 05:36:59'),
(241, '', '', 'm', '', '', NULL, NULL, '2017-11-20 06:56:01', '2017-11-20 06:56:01'),
(242, '', '', 'm', '', '', NULL, NULL, '2017-11-20 12:30:42', '2017-11-20 12:30:42'),
(243, '', '', 'm', '', '', NULL, NULL, '2017-11-23 11:44:13', '2017-11-23 11:44:13'),
(244, '', '', 'm', '', '', NULL, NULL, '2017-11-24 03:34:32', '2017-11-24 03:34:32'),
(245, '', '', 'm', '', '', NULL, NULL, '2017-11-24 11:47:34', '2017-11-24 11:47:34'),
(246, '', '', 'm', '', '', NULL, NULL, '2017-11-25 09:19:21', '2017-11-25 09:19:21'),
(247, '', '', 'm', '', '', NULL, NULL, '2017-11-26 03:06:52', '2017-11-26 03:06:52'),
(248, '', '', 'm', '', '', NULL, NULL, '2017-11-26 03:21:06', '2017-11-26 03:21:06'),
(249, '', '', 'm', '', '', NULL, NULL, '2017-11-27 08:34:23', '2017-11-27 08:34:23'),
(250, '', '', 'm', '', '', NULL, NULL, '2017-11-27 09:08:00', '2017-11-27 09:08:00'),
(251, '', '', 'm', '', '', NULL, NULL, '2017-11-30 01:11:26', '2017-11-30 01:11:26'),
(252, '', '', 'm', '', '', NULL, NULL, '2017-12-01 05:22:54', '2017-12-01 05:22:54'),
(253, '', '', 'm', '', '', NULL, NULL, '2017-12-01 08:32:13', '2017-12-01 08:32:13'),
(254, '', '', 'm', '', '', NULL, NULL, '2017-12-01 10:47:41', '2017-12-01 10:47:41'),
(255, '', '', 'm', '', '', NULL, NULL, '2017-12-02 09:02:26', '2017-12-02 09:02:26'),
(256, '', '', 'm', '', '', NULL, NULL, '2017-12-03 08:29:10', '2017-12-03 08:29:10'),
(257, '', '', 'm', '', '', NULL, NULL, '2017-12-04 09:04:32', '2017-12-04 09:04:32'),
(258, '', '', 'm', '', '', NULL, NULL, '2017-12-06 06:22:26', '2017-12-06 06:22:26'),
(259, '', '', 'm', '', '', NULL, NULL, '2017-12-06 06:48:15', '2017-12-06 06:48:15'),
(260, '', '', 'm', '', '', NULL, NULL, '2017-12-07 03:54:00', '2017-12-07 03:54:00'),
(261, '', '', 'm', '', '', NULL, NULL, '2017-12-07 09:03:39', '2017-12-07 09:03:39'),
(262, '', '', 'm', '', '', NULL, NULL, '2017-12-07 09:32:49', '2017-12-07 09:32:49'),
(263, '', '', 'm', '', '', NULL, NULL, '2018-01-11 09:56:04', '2018-01-11 09:56:04'),
(264, '', '', 'm', '', '', NULL, NULL, '2018-01-12 12:26:15', '2018-01-12 12:26:15'),
(265, '', '', 'm', '', '', NULL, NULL, '2018-01-15 03:36:36', '2018-01-15 03:36:36');

-- --------------------------------------------------------

--
-- Table structure for table `histories`
--

CREATE TABLE `histories` (
  `id` int(10) UNSIGNED NOT NULL,
  `product_id` int(10) UNSIGNED DEFAULT NULL,
  `amount` int(11) DEFAULT '0',
  `operation_type` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `user_id` int(10) UNSIGNED DEFAULT NULL,
  `operated_on` varchar(20) COLLATE utf8_unicode_ci DEFAULT NULL,
  `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `ref_id` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `stock_id` int(11) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

-- --------------------------------------------------------

--
-- Table structure for table `installments`
--

CREATE TABLE `installments` (
  `id` int(10) UNSIGNED NOT NULL,
  `customer_id` int(10) UNSIGNED DEFAULT NULL,
  `type_of_product` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `product_name` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `model` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `imie` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `imie2` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `total_price` float(8,2) NOT NULL,
  `deposit` float(8,2) NOT NULL,
  `rate` float(8,2) NOT NULL,
  `duration` int(11) NOT NULL,
  `status` enum('pendding','proccessing','completed') COLLATE utf8_unicode_ci NOT NULL DEFAULT 'pendding',
  `note` text COLLATE utf8_unicode_ci,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `paid_off_date` timestamp NULL DEFAULT NULL,
  `paid_off_amount` float DEFAULT NULL,
  `user_id` int(11) UNSIGNED DEFAULT NULL,
  `in_date` timestamp NULL DEFAULT NULL,
  `duration_type` enum('monthly','weekly') COLLATE utf8_unicode_ci NOT NULL DEFAULT 'monthly',
  `loan_type` enum('normal','emi') COLLATE utf8_unicode_ci NOT NULL DEFAULT 'normal'
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `installments`
--

INSERT INTO `installments` (`id`, `customer_id`, `type_of_product`, `product_name`, `model`, `imie`, `imie2`, `total_price`, `deposit`, `rate`, `duration`, `status`, `note`, `created_at`, `updated_at`, `paid_off_date`, `paid_off_amount`, `user_id`, `in_date`, `duration_type`, `loan_type`) VALUES
(1, 1, 'TEST', 'New Product', '1280', '0900999112', NULL, 350.00, 0.00, 2.00, 6, 'completed', '', '2018-01-29 09:25:29', '2018-01-29 11:02:44', '2018-01-29 11:02:44', 305.67, 3, '2017-11-29 09:25:29', 'monthly', 'normal'),
(2, 2, 'Nokia', 'N 1280', '1280', '99889999', NULL, 320.00, 0.00, 2.00, 4, 'proccessing', '', '2018-01-29 09:36:13', '2018-01-29 10:35:57', NULL, NULL, 3, '2018-01-29 09:36:13', 'monthly', 'normal'),
(3, 2, '0009', 'Product TEST', '707900', '09009000', NULL, 420.00, 0.00, 2.00, 6, 'proccessing', '', '2018-01-29 10:39:27', '2018-01-29 10:39:58', NULL, NULL, 3, '2017-10-15 10:39:27', 'monthly', 'normal');

-- --------------------------------------------------------

--
-- Table structure for table `interests`
--

CREATE TABLE `interests` (
  `id` int(10) UNSIGNED NOT NULL,
  `invoice_id` int(10) UNSIGNED NOT NULL,
  `buy_date` date NOT NULL,
  `rate` float(8,2) NOT NULL,
  `duration` int(10) UNSIGNED NOT NULL,
  `deposit` float(8,2) NOT NULL,
  `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00'
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

-- --------------------------------------------------------

--
-- Table structure for table `invoices`
--

CREATE TABLE `invoices` (
  `id` int(10) UNSIGNED NOT NULL,
  `status` enum('open','closed','draft') COLLATE utf8_unicode_ci DEFAULT 'open',
  `total` float(8,2) UNSIGNED DEFAULT '0.00',
  `recieved` float(8,2) UNSIGNED DEFAULT '0.00',
  `changed` float(8,2) UNSIGNED DEFAULT '0.00',
  `deposit` float(8,2) UNSIGNED DEFAULT '0.00',
  `stock_id` int(11) DEFAULT '0',
  `user_id` int(11) DEFAULT NULL,
  `customer_id` int(11) DEFAULT NULL,
  `referral_id` int(11) DEFAULT NULL,
  `rate` float(8,4) DEFAULT NULL,
  `comment` text COLLATE utf8_unicode_ci,
  `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `tax` int(11) DEFAULT '0',
  `recieved_dollar` float(8,2) UNSIGNED DEFAULT '0.00',
  `recieved_riel` int(10) UNSIGNED DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

-- --------------------------------------------------------

--
-- Table structure for table `itemlocations`
--

CREATE TABLE `itemlocations` (
  `id` int(10) UNSIGNED NOT NULL,
  `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `name` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `picture` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `description` text COLLATE utf8_unicode_ci
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

-- --------------------------------------------------------

--
-- Table structure for table `loan_customers`
--

CREATE TABLE `loan_customers` (
  `id` int(10) UNSIGNED NOT NULL,
  `full_name_kh` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `full_name_en` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `gender` enum('m','f') COLLATE utf8_unicode_ci NOT NULL DEFAULT 'm',
  `marital_status` enum('single','married') COLLATE utf8_unicode_ci NOT NULL DEFAULT 'single',
  `nationality` enum('khmer','other') COLLATE utf8_unicode_ci NOT NULL DEFAULT 'khmer',
  `dob` date DEFAULT NULL,
  `id_card_no` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `tel` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `education` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `house_number` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `road_number` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `group_number` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `village` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `commune` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `district` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `province` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `property` enum('owner','parents','sibling','rent_house','others') COLLATE utf8_unicode_ci NOT NULL DEFAULT 'owner',
  `date_of_stay` date DEFAULT NULL,
  `live_with` enum('parents','wife','sibling','friend','single','others') COLLATE utf8_unicode_ci NOT NULL DEFAULT 'parents',
  `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `photo` text CHARACTER SET utf8mb4,
  `other_education` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `loan_customers`
--

INSERT INTO `loan_customers` (`id`, `full_name_kh`, `full_name_en`, `gender`, `marital_status`, `nationality`, `dob`, `id_card_no`, `tel`, `education`, `house_number`, `road_number`, `group_number`, `village`, `commune`, `district`, `province`, `property`, `date_of_stay`, `live_with`, `created_at`, `updated_at`, `photo`, `other_education`) VALUES
(1, 'គុជ ម៉ៅ', 'KUCH MAO', 'm', 'married', 'khmer', '1987-07-07', '170793181', '010 888 117', 'others', '', '10', '', 'ព្រែកព្រះស្ដេច', 'ព្រែកព្រះស្ដេច', 'បាត់ដំបង', 'បាត់ដំបង់', 'owner', NULL, 'parents', '2017-05-26 06:24:37', '2017-05-26 08:57:33', 'uploads/none.jpg', ''),
(2, 'ថា សុខឡេង', 'THA SOKLENG', 'm', 'single', 'khmer', '1990-05-24', '050786791', '086 587 095', 'others', '', '', '', '', '', '', '', 'owner', NULL, 'parents', '2017-05-26 06:34:11', '2017-06-15 07:29:26', 'uploads/customers/5942375638c5c_img_4100.jpg', ''),
(3, 'ម៉ា សុខេន', 'Ma sokhen', 'm', 'single', 'khmer', '1991-10-03', '170624324', '0967776996', 'others', '164', '11', '', 'ទួលតាសុខ', 'បន្សាយត្រែង', 'ថ្មគោល', 'បាត់ដំបង់', 'parents', NULL, 'parents', '2017-05-27 05:10:58', '2017-12-02 08:22:04', 'uploads/customers/592ac040bf46d_img_0497.jpg', ''),
(4, 'សាន់ ស្រីណូ', 'san sreyno', 'f', 'married', 'khmer', '1982-03-05', '170066715', '012732885', 'others', '283', '15', '', 'អូរខ្ជាយ', 'អូរដំបង១', 'សង្កែ', 'បាត់ដំបង់', 'owner', NULL, 'wife', '2017-05-28 03:25:37', '2017-06-15 08:41:00', 'uploads/customers/5942478653641_img_4100.jpg', ''),
(5, 'សៅ សុភណ័', 'SAO SOPHORN', 'm', 'single', 'khmer', '1993-07-17', '170743755', '069797615', 'others', '៥៤', '៤', '', 'វាល់វង់', 'តាស្តា', 'សំពៅលូន', 'បាត់ដំបង់', 'parents', NULL, 'parents', '2017-05-28 04:03:03', '2017-05-28 12:33:21', 'uploads/customers/592ac391d31cc_img_0503.jpg', ''),
(6, 'សីហា ចន្ធី', 'SEYHA CHANTHY', 'f', 'single', 'khmer', '1996-08-22', '170929576', '016528915', 'others', '', '', '២', 'ស្ទឹងចក', 'ព្រៃតូច', '', '', 'owner', NULL, 'parents', '2017-05-28 11:02:34', '2017-05-28 12:31:04', 'uploads/customers/592ac308ebba8_img_0502.jpg', ''),
(7, 'តឿប វិសាល', 'TOUERB VISAL', 'm', 'married', 'khmer', '1994-07-07', '170759513', '016339319', 'others', '៤០', '', '០៣', '', 'ចែងមានជ័យ', 'បានណន់', 'បាត់ដំបង', 'parents', NULL, 'parents', '2017-05-30 07:00:30', '2017-10-10 01:30:14', 'uploads/none.jpg', ''),
(8, 'ហែម​ ណាលុច', 'HEN NALUCH', 'm', 'single', 'khmer', '1980-08-02', '010836690', '098775777', 'others', '៤១', '៤៦៤', '', '១០', 'ទួលទំពូងទី២', 'ចំការមន', 'ភ្នំពេញ', 'owner', NULL, 'parents', '2017-05-30 10:14:07', '2017-11-12 11:44:00', 'uploads/none.jpg', ''),
(9, 'ម៉ម ស្ថាពរ', 'MORM SATHAPOR', 'm', 'married', 'khmer', '1990-08-01', '170697881', '092772447', 'others', '១៧៨', '០៤', '០៤', 'បាឡាត់', 'នរា', 'សង្កែ', 'បាត់ដំបង', 'parents', NULL, 'parents', '2017-05-31 04:58:14', '2017-11-13 07:35:19', 'uploads/none.jpg', ''),
(10, 'ម៉ៅ ជីជី', 'maochlchl', 'm', 'single', 'khmer', '1996-10-11', '170851653', '0962601516', 'others', '176', '32223', '9', 'ព្រែកព្រះស្ដេច', 'ព្រែកព្រះស្ដេច', 'បាត់ដំបង', 'បាត់ដំបង', 'owner', NULL, 'parents', '2017-05-31 08:21:22', '2018-01-11 09:45:07', 'uploads/none.jpg', ''),
(11, 'កែវ មិសា', 'keomisa', 'm', 'single', 'khmer', '1989-04-17', '170578403', '016400081', 'others', '193', '13', '', 'ភ្នំសំពៅលិច', 'ភ្នំសំពៅ', 'បានណន់', 'បាត់ដំបង', 'owner', NULL, 'parents', '2017-05-31 08:33:40', '2017-05-31 08:33:40', 'uploads/none.jpg', ''),
(12, 'គង់ ចន្ថា', 'kongchantha', 'm', 'single', 'khmer', '1970-11-05', '210048053', '081493472', 'others', '', '', '', 'អូរប្រើស', 'អូរតាវ៉ៅ', 'ប៉ៃលិន', 'ប៉ៃលិន', 'owner', NULL, 'parents', '2017-05-31 08:51:05', '2017-05-31 08:51:05', 'uploads/none.jpg', ''),
(13, 'អួន រឺ', 'vonrey', 'f', 'married', 'khmer', '1969-03-02', '170019800', '089211117', 'others', '447', '', '23', 'អូរចារ', 'អូរចារ', 'បាត់ដំបង', 'បាត់ដំបង', 'owner', NULL, 'parents', '2017-05-31 09:07:57', '2017-05-31 09:10:54', 'uploads/none.jpg', ''),
(14, 'ហ៊ាន វណ្ណះ', 'heanvannak', 'm', 'married', 'khmer', '1991-04-04', '170643897', '069697993', 'others', '482', '24', '', 'វត្តរំដួល', 'ចំការសំរោង', 'បាត់ដំបង', 'បាត់ដំបង', 'parents', NULL, 'parents', '2017-05-31 09:26:34', '2017-05-31 09:26:51', 'uploads/none.jpg', ''),
(15, 'គឹម សំរេច', 'kimsamrech', 'm', 'married', 'khmer', '1983-06-14', '010226394', '0962222232', 'others', '60', '1', '', 'បាយ៉ាប', 'ភ្នំពេញថ្មី', 'សែនសុខ', 'ភ្នំពេញ', 'owner', NULL, 'parents', '2017-05-31 09:39:12', '2017-05-31 09:44:42', 'uploads/none.jpg', ''),
(16, 'ភឿក សម្បត្តិ', 'phoeuksambat', 'f', 'single', 'khmer', '1979-06-04', '170825469', '089939001', 'others', '', '36', '', 'ចំការសំរោង១', 'ចំកាសំរោង', 'បាត់ដំបង', 'បាត់ដំបង', 'owner', NULL, 'parents', '2017-05-31 09:56:26', '2017-05-31 09:56:48', 'uploads/none.jpg', ''),
(17, 'វង្ស សារិទ្ធពិដោរ', 'vongsarithdor', 'm', 'single', 'khmer', '1988-01-28', '170666595', '093888890', 'others', '541', '', '28', 'អូរចារ', 'អូរចារ', 'បាត់ដំបង', 'បាត់ដំបង', 'parents', NULL, 'parents', '2017-05-31 10:07:19', '2017-05-31 10:07:19', 'uploads/none.jpg', ''),
(18, 'ចាយ ម៉េងហេង', 'chaymengheng', 'm', 'married', 'khmer', '1984-05-04', '170826577', '089222133', 'others', '342', '15', '', 'វត្តរំដួល', 'ចំការសំរោង', 'បាត់ដំបង', 'បាត់ដំបង', 'owner', NULL, 'parents', '2017-05-31 10:18:17', '2017-05-31 10:18:17', 'uploads/none.jpg', ''),
(19, 'សេង ឌីណា', 'SENG DTNA', 'm', 'single', 'khmer', '1988-08-15', '170794795', '069474764', 'others', '២៤៨', '០៨', '', 'ដង្ហោទាប', 'ទួលតាឯក', 'បាត់ដំបង', 'បាត់ដំបង', 'owner', NULL, 'parents', '2017-05-31 11:03:08', '2017-10-11 07:59:09', 'uploads/none.jpg', ''),
(20, 'គង់ ស៊ីណាត', 'KONG SLNAT', 'f', 'single', 'khmer', '1994-05-02', '170697566', '0965562642', 'others', '១១៩', '', '០៧', 'នរា២', 'នរា', 'សង្កែ', 'បាត់ដំបង', 'parents', NULL, 'parents', '2017-05-31 11:08:40', '2017-05-31 11:08:44', 'uploads/none.jpg', ''),
(21, 'លន់ វីរះ', 'lon virak', 'm', 'married', 'khmer', '1973-04-13', '170798260', '0766777763', 'others', '', '', '14', 'អូរតាគាំ១', 'ទួលតាឯក', 'បាត់ដំបង', 'បាត់ដំបង', 'owner', NULL, 'parents', '2017-06-01 01:46:01', '2017-06-01 06:10:43', 'uploads/none.jpg', ''),
(22, 'យុន សុខគា', 'yun sokkea', 'm', 'married', 'khmer', '1979-04-06', '170839049', '017292239', 'others', '396', '19', '', 'ចំការសំរោង២', 'ចំការសំរោង', 'បាត់ដំបង', 'បាត់ដំបង', 'parents', NULL, 'parents', '2017-06-01 01:53:49', '2017-06-01 01:53:49', 'uploads/none.jpg', ''),
(23, 'ធី​ ហេង វិជ្ជា', 'THY HENGVICHEA', 'm', 'married', 'khmer', '1990-09-28', '170793169', '0965708888', 'others', '៣៣៣', '០១', '', 'អណ្ដូូូងព្រីង', 'អូរម៉ាល់', 'បាត់ដំបង', 'បាត់ដំបង', 'owner', NULL, 'wife', '2017-06-01 02:03:54', '2017-11-13 08:29:54', 'uploads/none.jpg', ''),
(24, 'ទូច​ សារ៉ន', 'TCH SARUN', 'm', 'single', 'khmer', '1975-06-01', '9118747', '012296116', 'others', '', '', '', 'ត្រពាំងបាយ', 'ពញ្ញាពន់', 'ពញ្ញាឭ', 'កណ្ដាល', 'owner', NULL, 'wife', '2017-06-01 02:12:42', '2017-10-27 03:50:21', 'uploads/none.jpg', ''),
(25, 'បង វីរះ', 'bng vireak', 'm', 'married', 'khmer', '1979-06-06', '12875634', '012985556', NULL, '176', '13', '', 'អូរចារ', 'អូរចារ', 'បាត់ដំបង', 'បាត់ដំបង', 'owner', NULL, 'parents', '2017-06-01 02:22:29', '2017-06-01 02:22:44', 'uploads/none.jpg', ''),
(26, 'ធុច វណ្ណារ៉ាត់', 'thuch vannarath', 'm', 'married', 'khmer', '1983-10-17', '170693480', '012617517', 'others', '17', '', '39', '20ឧសភា', 'ស្វាយប៉ោ', 'បាត់ដំបង', 'បាត់ដំបង', 'owner', NULL, 'parents', '2017-06-01 02:33:10', '2017-06-01 02:33:16', 'uploads/none.jpg', ''),
(27, 'ចាយ សុលីកា', 'chay solyka', 'f', 'single', 'khmer', '1992-11-02', '150453341', '0965855516', 'others', '', '', '', 'ពោធិបាកក', 'លេក១', 'ទីរួមខេត្ត', 'កំពង់ធំ', 'parents', NULL, 'parents', '2017-06-01 02:47:04', '2017-06-01 02:49:06', 'uploads/none.jpg', ''),
(28, 'សុខ ចាន់តារា', 'sok chandara', 'm', 'married', 'khmer', '1990-03-25', '011283875', '012929922', 'others', '216', '', '', '3', 'ជ្រោយចង្វា', 'ជ្រោយចង្វា', 'ភ្នំពេញ', 'owner', NULL, 'parents', '2017-06-01 03:12:43', '2017-11-07 08:03:34', 'uploads/none.jpg', ''),
(29, 'ទី មេសា', 'tymasa', 'm', 'married', 'khmer', '1963-09-07', '170019961', '070848458', 'others', '14', '', '03', 'អូរចារ', 'អូរចារ', 'បាត់ដំបង', 'បាត់ដំបង', 'owner', NULL, 'parents', '2017-06-01 03:22:29', '2017-06-01 03:22:35', 'uploads/none.jpg', ''),
(30, 'រិន គឹមឈៀក', 'rin kimchheak', 'm', 'married', 'khmer', '1986-06-16', '170709429', '093888869', 'others', '461', '', '24', 'អូរចារ', 'អូរចារ', 'បាត់ដំបង', 'បាត់ដំបង', 'owner', NULL, 'parents', '2017-06-01 03:32:04', '2017-06-01 03:32:08', 'uploads/none.jpg', ''),
(31, 'គៀង គឹមហ៊ុន', 'keang kimhun', 'm', 'married', 'khmer', '1989-05-25', '45239800', '086991166', 'others', '៤៣', '', '', 'អូរចារ', 'អូរចារ', 'បាត់ដំបង', 'បាត់ដំបង', 'parents', NULL, 'parents', '2017-06-01 06:22:14', '2017-09-16 08:06:00', 'uploads/customers/593fb91f2fa83_keangkimhun.jpg', ''),
(32, 'សួន នរ៉ា', 'soun nra', 'm', 'married', 'khmer', '1988-08-28', '15763498', '093600044', NULL, '54', '105', '', 'អូរតាគាំ១', 'អូរតាវ៉ៅ', 'បាត់ដំបង', 'បាត់ដំបង', 'owner', NULL, 'parents', '2017-06-01 06:43:08', '2017-06-01 06:43:13', 'uploads/none.jpg', ''),
(33, 'គៀង គឹមហ៊ុន', 'keang kimhun', 'm', 'married', 'khmer', '1991-08-25', '170798423', '078290003', 'others', '291', '08', '', 'គោកអំពិល', 'ភ្នំសំពៅ', 'បានណន់', 'បាត់ដំបង', 'parents', NULL, 'parents', '2017-06-01 06:58:57', '2017-06-13 10:09:26', 'uploads/customers/593fb987e8c58_keangkimhun.jpg', ''),
(34, 'ខុន​​ ស្រីល័ក្ខ', 'khon sreyleak', 'm', 'single', 'khmer', '1994-01-03', '170865710', '093807239', 'others', '', '', '8', 'កូនក្អែក១', 'របស់មង្គល', 'មោងឬស្សី', 'បាត់ដំបង', 'sibling', NULL, 'parents', '2017-06-01 07:11:21', '2017-06-01 07:11:31', 'uploads/none.jpg', ''),
(35, 'គង់ វីរះ', 'HONG VIRAK', 'm', 'single', 'khmer', '1991-06-09', '170628394', '093786664', 'others', '៩៧', '០៥', '', 'វត្តកណ្ដាល', 'រាំងកេសី', 'សង្កែ', 'បាត់ដំបង', 'parents', NULL, 'parents', '2017-06-01 10:23:13', '2017-06-01 10:23:40', 'uploads/none.jpg', ''),
(36, 'ឆាត ចាន់ឌី', 'chhatchandy', 'f', 'married', 'khmer', '1988-12-02', '170456118', '017858485', 'others', '', '', '4', 'កន្សៃបន្ទាយ', 'មោង', 'មោងឬស្សី', 'បាត់ដំបង', 'owner', NULL, 'parents', '2017-06-02 10:08:27', '2017-10-02 09:40:28', 'uploads/customers/593761bf60db2_sti_trace.log', ''),
(37, 'ឈុំ ធិន', 'chom ten', 'm', 'married', 'khmer', '1978-06-03', '170849097', '092633379', 'others', '14', '', '', '១៣មករា', 'ព្រែកព្រះស្ដេច', 'បាត់ដំបង', 'បាត់ដំបង', 'rent_house', NULL, 'wife', '2017-06-02 11:24:48', '2017-06-02 11:24:52', 'uploads/none.jpg', ''),
(38, 'ឆាត ចាន់រត្ន័', 'chhat chaniroth', 'm', 'married', 'khmer', '1997-07-07', '171025019', '090309898', 'others', '', '', '1', 'រាមគន់', 'គារ', 'មោងឬស្សី', 'បាត់ដំបង', 'parents', NULL, 'parents', '2017-06-03 06:46:17', '2017-06-03 06:46:27', 'uploads/none.jpg', ''),
(39, 'ប៉ូ ចរិយា', 'PO CHARIYA', 'f', 'single', 'khmer', '1989-07-22', '170520669', '0882211833', 'others', '១៤៩', '', '៨', 'ព្រែកព្រះស្ដេច', 'ព្រែកព្រះស្ដេច', 'បាត់ដំបង', 'បាត់ដំបង', 'parents', NULL, 'parents', '2017-06-03 07:41:31', '2017-06-03 07:41:37', 'uploads/none.jpg', ''),
(40, 'រិន សារី', 'RIN SARI', 'm', 'single', 'khmer', '1985-10-03', '170426958', '093782256', 'others', '១០៧', '៧', '', 'សំណាញ់', 'ភ្នំសំពៅ', 'បានណន់', 'បាត់ដំបង', 'parents', NULL, 'parents', '2017-06-03 11:09:11', '2017-06-30 10:49:21', 'uploads/none.jpg', ''),
(41, 'ចៅ សេងលី', 'chaosengly', 'm', 'single', 'khmer', '1991-01-22', 'CRK0000180', '070999494', 'others', '', '', '', 'អូរបៀត', '', 'ឡាបានសៀក', 'បាលុងរតនគិរី', 'parents', NULL, 'parents', '2017-06-04 09:56:07', '2017-06-04 09:56:16', 'uploads/none.jpg', ''),
(42, 'កើង វង្សទ្រីឌី', 'KEUNG VENDREDI', 'm', 'married', 'khmer', '1983-01-25', '170953386', '087841111', 'others', '៧៥៦', '០៦', '០៦', 'រំចេក៤', 'រតនះ', 'បាត់ដំបង', 'បាត់ដំបង', 'owner', NULL, 'wife', '2017-06-05 05:01:33', '2017-06-05 07:42:05', 'uploads/customers/59350b4dc14a5_img_0610.jpg', ''),
(43, 'ហាក់ សុធី', 'HAK SOTHY', 'm', 'married', 'khmer', '1991-03-05', '170802749', '077222221', 'others', '២៩៩', '១៣', '', 'អង់', 'អូរចារ', 'បាត់ដំបង', 'បាត់ដំបង', 'parents', NULL, 'parents', '2017-06-05 09:02:37', '2017-06-05 09:02:50', 'uploads/none.jpg', ''),
(44, 'តន ចាន់នឿត', 'TORN CHANNOEUT', 'm', 'single', 'khmer', '1989-04-06', '170704976', '095727311', 'others', '១៧៨', '', '១០', 'សូភី១', 'រតនះ', 'បាត់ដំបង', 'បាត់ដំបង', 'parents', NULL, 'parents', '2017-06-08 03:38:15', '2017-10-09 02:40:25', 'uploads/none.jpg', ''),
(45, 'លៀង សំអុល', 'leangsamal', 'm', 'married', 'khmer', '1986-02-16', '170490674', '095954444', 'others', '', '408', '15', 'ប៉ប្រក', 'កាកាប', 'ដង្កោ', 'ភ្នំពេញ', 'owner', NULL, 'wife', '2017-06-10 02:56:37', '2017-06-10 02:56:59', 'uploads/none.jpg', ''),
(46, 'ថោ​ សុគន្ធី', 'THOU SOKUNTHY', 'f', 'single', 'khmer', '1986-11-11', '170735099', '0969056574', 'college', '៩០៧', '០៣', 'អូរអន្លក់', 'អូរអន្លក់', 'តាសែន', 'បាត់ដំបង', 'បាត់ដំបង', 'owner', NULL, 'parents', '2017-06-10 04:51:46', '2017-06-10 04:51:49', 'uploads/none.jpg', ''),
(47, 'សៀង សុខមង្គល', 'siengsokmongkul', 'm', 'single', 'khmer', '1990-03-27', '170551070', '093297171', 'others', '១ក', '', '១', 'និក្រេៀច', 'ព្រែកព្រះស្ដេច', 'បាត់ដំបង', 'បាត់ដំបង', 'parents', NULL, 'parents', '2017-06-10 07:39:25', '2017-06-10 07:39:30', 'uploads/none.jpg', ''),
(48, 'ឈុំ កេវ', 'chhvm keo', 'm', 'married', 'khmer', '1959-02-01', '170836857', '092746253', 'others', '170', '', '7', 'វត្តលៀប', 'ចំការសំរោង', 'បាត់ដំបង', 'បាត់ដំបង', 'owner', NULL, 'parents', '2017-06-12 10:13:52', '2017-11-12 07:51:48', 'uploads/none.jpg', ''),
(49, 'ឈុំ លក្ខិណា', 'chhum leakhena', 'f', 'married', 'khmer', '1982-07-10', '170050841', '010611664', 'others', '170', '', '7', 'វត្តលៀប', 'ចំការសំរោង', 'បាត់ដំបង', 'បាត់ដំបង', 'parents', NULL, 'parents', '2017-06-13 02:40:19', '2017-06-13 02:40:25', 'uploads/none.jpg', ''),
(50, 'ប្រាក់ ចាន់', 'phak chan', 'm', 'married', 'khmer', '1992-04-11', '090660029', '016988841', 'others', '', '', '', 'ឬស្សីអម', 'ខ្សែត្រ', 'កំពង់រោទ៍', 'ស្វាយរៀង', 'owner', NULL, 'parents', '2017-06-13 06:30:07', '2017-06-13 06:30:14', 'uploads/none.jpg', ''),
(51, 'ទិត្យ សាមីត', 'TITH SAMITH', 'm', 'married', 'khmer', '1981-09-28', '170915467', '017444448', 'others', '៥៩១', '០៣', '០៣', 'អូរចារ', 'អូរចារ', 'បាត់ដំបង', 'បាត់ដំបង', 'owner', NULL, 'wife', '2017-06-14 06:58:34', '2017-06-15 07:20:37', 'uploads/customers/5942354574056_mit.jpg', ''),
(52, 'ទិត្យ សាមីត', 'tith samith', 'm', 'married', 'khmer', '1981-09-28', '1709154667', '098444448', 'others', '591', '', '30', 'អូរចារ', 'អូរចារ', 'បាត់ដំបង', 'បាត់ដំបង', 'owner', NULL, 'wife', '2017-06-14 07:46:45', '2017-06-15 07:26:16', 'uploads/customers/5942369876dba_mit.jpg', ''),
(53, 'ព្រំ សុីណា', 'prom sina', 'f', 'single', 'khmer', '1990-10-05', '171062346', '0975815757', 'high_school', '390', '14', '14', 'ជ្រោយស្តៅ', 'ជ្រោយស្តៅ', 'ថ្មគោល', 'បាត់ដំបង', 'parents', NULL, 'parents', '2017-06-15 12:03:09', '2017-06-15 12:03:50', 'uploads/none.jpg', ''),
(54, 'សន សុវណ្ណរិទ្ធ', 'SAN SOVANRITH', 'm', 'married', 'khmer', '1991-12-09', '170698931', '086817186', 'others', '៧០០', '៣៩', '', '១៣មករា', 'ព្រែកព្រះស្ដេច', 'បាត់ដំបង', 'បាត់ដំបង', 'owner', NULL, 'wife', '2017-06-16 10:02:06', '2017-06-16 10:02:09', 'uploads/none.jpg', ''),
(55, 'ឈីង ស្រីពៅ', 'chhoeng sreypeou', 'f', 'single', 'khmer', '1998-05-13', '070261199', '069898920', 'others', '', '', '', 'អូរឬស្សីទី២', 'អូរឬស្សី', 'ក្រចេះ', 'ក្រចេះ', 'parents', NULL, 'parents', '2017-06-19 07:57:29', '2017-06-19 07:59:16', 'uploads/customers/5947845477007_img_0714.jpg', ''),
(56, 'ឈុំ សុម៉ាលី', 'chhum somaly', 'f', 'married', 'khmer', '1986-03-30', '170377990', '015880910', 'others', '170', '', '7', 'វត្តលៀប', 'ចំការសំរោង', 'បាត់ដំបង', 'បាត់ដំបង', 'owner', NULL, 'wife', '2017-06-19 08:48:17', '2017-06-19 08:48:22', 'uploads/none.jpg', ''),
(57, 'ថន ធីណា', 'torn tyna', 'm', 'single', 'khmer', '1988-07-07', '170685949', '093333447', 'others', '184', '', '8', 'ក្បាលថ្នល់', 'កំពង់ពៀង', 'សង្កែ', 'បាត់ដំបង', 'parents', NULL, 'parents', '2017-06-19 10:08:42', '2017-06-19 10:32:59', 'uploads/customers/5947a85b8f1e8_img_0716.jpg', ''),
(59, 'សេង សូនី', 'seng sony', 'm', 'married', 'khmer', '1989-07-25', '170720262', '098909042', 'others', '27', '', '2', 'អូរខ្ចាយ', 'អូរដំបង១', 'សង្កែ', 'បាត់ដំបង', 'owner', NULL, 'parents', '2017-06-20 10:47:31', '2017-06-20 10:47:36', 'uploads/none.jpg', ''),
(60, 'ភុល និមល', 'POUL NIMOL', 'm', 'single', 'khmer', '1987-07-07', '170805959', '070659885', 'others', '៧៩', '', '០៨', 'កគោ', 'ជ្រៃ', 'ថ្មគោល', 'បាត់ដំបង', 'parents', NULL, 'parents', '2017-06-21 10:18:28', '2017-06-21 10:18:32', 'uploads/none.jpg', ''),
(61, 'ហម ច័ន្ទតារា', 'hamchandara', 'm', 'married', 'khmer', '1986-06-28', '170952391', '0962444449', 'others', '189', '8', '', '', 'ស្វាយប៉ោ៣', 'ទីរួមខេត្តបាត់ដំបង', 'បាត់ដំបង', 'owner', NULL, 'parents', '2017-06-22 05:54:29', '2017-11-10 10:28:16', 'uploads/none.jpg', ''),
(62, 'ចិន វិចិត្រ', 'chinvichet', 'm', 'single', 'khmer', '1985-09-26', '170375337', '070704849', 'others', '814', '24', '24', 'ទូលតាឯក', 'ទូលតាឯក', 'បាត់ដំបង', 'បាត់ដំបង', 'parents', NULL, 'parents', '2017-06-22 11:25:30', '2017-06-22 11:25:53', 'uploads/none.jpg', ''),
(63, 'បុរី', 'bosrey', 'm', 'single', 'khmer', NULL, '654745200', '093545454', 'others', '', '', '', '', '', '', '', 'owner', NULL, 'parents', '2017-06-23 08:51:37', '2017-06-23 08:51:37', 'uploads/none.jpg', ''),
(64, 'វុទ្ឋី សុផាន់ណា', 'vuthy sophanna', 'm', 'married', 'khmer', '1984-06-28', '170693483', '012612006', 'others', '611', '18', '18', 'កម្មករ', 'ស្វាយប៉ាេ', 'បាត់ដំបង', 'បាត់ដំបង', 'parents', NULL, 'parents', '2017-06-23 09:44:11', '2017-06-23 09:52:22', 'uploads/none.jpg', ''),
(65, 'សាប់ សុវឌ្ឃនា', 'SAB SOVATHANA', 'f', 'married', 'khmer', '1992-01-22', '170640728', '010767686', 'others', '១៤១', '', '៥', 'ច្រាបវាល', 'អន្លង់វិល', 'សង្កែ', 'បាត់ដំបង', 'owner', NULL, 'wife', '2017-06-24 04:25:47', '2017-06-24 04:25:51', 'uploads/none.jpg', ''),
(66, 'អេង សុខមាន', 'ENG SOKMEAN', 'm', 'single', 'khmer', '1987-05-10', '170795539', '010969488', 'others', '៥៨១', '១២', '', 'រំចេក៤', 'រតនះ', 'បាត់ដំបង', 'បាត់ដំបង', 'parents', NULL, 'parents', '2017-06-24 04:46:44', '2017-06-24 04:46:47', 'uploads/none.jpg', ''),
(67, 'ធុច វណ្ណារត្នន័', 'thuch vannaroith', 'm', 'single', 'khmer', '1985-09-13', '170777703', '0977137777', 'others', '300', '', '13', 'អង់', 'អូរចារ', 'បាត់ដំបង', 'បាត់ដំបង', 'owner', NULL, 'parents', '2017-06-24 06:23:52', '2017-06-24 06:23:57', 'uploads/none.jpg', ''),
(68, 'លី សុភារ័ត្ន', 'ly sophearoat', 'f', 'married', 'khmer', '1988-05-05', '170957888', '010696265', 'others', '76', '', '28', '២០ឧសភា', 'ស្វាយប៉ាេ', 'បាត់ដំបង', 'បាត់ដំបង', 'owner', NULL, 'wife', '2017-06-25 03:19:16', '2017-06-25 03:19:20', 'uploads/none.jpg', ''),
(69, 'តូ ទីណា', 'TO TINA', 'm', 'married', 'khmer', '1980-11-17', '170766674', '015545426', 'others', '២៨', '០៣', '', '១៣មករា', 'ព្រែកព្រះស្ដេច', 'បាត់ដំបង', 'បាត់ដំបង', 'owner', NULL, 'wife', '2017-06-25 05:51:40', '2017-08-05 09:00:13', 'uploads/none.jpg', ''),
(70, 'ទ្រី​សុថា', 'try sotha', 'm', 'married', 'khmer', '1984-04-23', '170699098', '092204080', 'high_school', '262', '33', '', '', 'ស្វាយប៉ាេ', 'បាត់ដំបង', 'បាត់ដំបង', 'owner', NULL, 'parents', '2017-06-28 05:01:22', '2017-11-10 09:44:57', 'uploads/none.jpg', ''),
(71, 'សេត សីុណេត', 'SETH SINETH', 'm', 'married', 'khmer', '1991-02-12', '170981795', '016777060', 'others', '១៥', '', '០១', '', 'ជ្រៃសីមា', 'សំពៅលូន', 'បាត់ដំបង', 'owner', NULL, 'wife', '2017-06-30 08:36:47', '2017-06-30 08:36:51', 'uploads/none.jpg', ''),
(72, 'ហេង លីនដា', 'HENG LINDA', 'f', 'single', 'khmer', '1999-04-26', '171035380', '086204064', 'others', '២៤២', '១២', '', 'ព្រែកព្រះស្ដេច', 'ព្រែកព្រះស្ដេច', 'បាត់ដំបង', 'បាត់ដំបង', 'parents', NULL, 'parents', '2017-07-01 05:24:59', '2017-07-01 05:25:02', 'uploads/none.jpg', ''),
(73, 'វ៉ាង សំអាត', 'vang som art', 'm', 'single', 'khmer', NULL, '676543587', '087444458', NULL, '', '', '', '', '', '', '', 'owner', NULL, 'parents', '2017-07-03 02:00:30', '2017-07-03 02:00:30', 'uploads/none.jpg', ''),
(74, 'ផល សុភ័ស', 'PHAL SOPHORS', 'm', 'single', 'khmer', '1992-02-25', '170957563', '070501277', 'others', '៥៥១', '', '១៥', 'កម្មករ', 'ស្វាយប៉ាេ', 'បាត់ដំបង', 'បាត់ដំបង', 'parents', NULL, 'wife', '2017-07-03 03:47:56', '2017-07-03 04:37:45', 'uploads/customers/5959be6c4d29c.jpg', ''),
(75, 'ទុន ចាន់វិបុល', 'tun chanvibol', 'm', 'married', 'khmer', '1983-03-12', '010318006', '012882158', 'others', '255', '', '30', 'កំពង់ក្របី', 'ស្វាយប៉ាេ', 'បាត់ដំបង', 'បាត់ដំបង', 'owner', NULL, 'parents', '2017-07-03 08:04:10', '2017-12-02 09:44:39', 'uploads/none.jpg', ''),
(76, 'លី កុសល្យ', 'ly kosal', 'm', 'married', 'khmer', '1985-07-04', '170405207', '086777733', 'others', '90', '', '6', 'បឹងទឹម', 'តាប៉ុន', 'សង្កែ', 'បាត់ដំបង', 'owner', NULL, 'parents', '2017-07-04 07:31:13', '2017-07-04 07:31:18', 'uploads/none.jpg', ''),
(77, 'លី កុសល្យ', 'ly kosal', 'm', 'married', 'khmer', '0001-07-04', '170405107', '092999266', 'others', '90', '', '6', 'បឹងទឹម', 'តាប៉ុន', 'សង្កែ', 'បាត់ដំបង', 'owner', NULL, 'parents', '2017-07-04 07:41:18', '2017-07-04 07:41:23', 'uploads/none.jpg', ''),
(78, 'ហេង ចាន់វិល័យ', 'HENG CHANVILAY', 'f', 'married', 'khmer', '1993-02-10', '170688788', '012366652', 'others', '', '', '៣', 'ពោធ៍២', 'គារ', 'មោងឫស្សី', 'បាត់ដំបង', 'owner', NULL, 'wife', '2017-07-04 10:18:01', '2017-07-04 10:18:04', 'uploads/none.jpg', ''),
(79, 'មួង វណ្ណី', 'moung vanny', 'f', 'married', 'khmer', '1990-05-10', 'N00065705', '070677376', 'others', '', '', '', 'អូរបាក្រងកណ្ដាល', 'បន្ទាយដី', 'ក្រុងពោធីសាត់', 'ពោធីសាត់', 'owner', NULL, 'parents', '2017-07-04 10:47:14', '2017-07-04 10:47:19', 'uploads/none.jpg', ''),
(80, 'សុន សំុ', 'SON SAM', 'm', 'single', 'khmer', '1993-02-15', '170643604', '016777571', 'others', '០៥៧', '', '០៥', 'រំជៃ', 'ស្ទឹង', 'បាណន់', 'បាត់ដំបង', 'parents', NULL, 'parents', '2017-07-07 03:32:08', '2017-12-02 07:52:37', 'uploads/none.jpg', ''),
(81, 'ភន សុផាន់ណា', 'phorn sophanna', 'm', 'single', 'khmer', '1990-03-06', '170689588', '086252536', 'others', '', '', '6', 'មោង', 'មោង', 'មោងឫស្សី', 'បាត់ដំបង', 'rent_house', NULL, 'parents', '2017-07-07 07:31:46', '2017-07-07 07:31:50', 'uploads/none.jpg', ''),
(82, 'សុខ ផល្លីកា', 'sok phallyka', 'f', 'single', 'khmer', '1995-05-02', '170955348', '070565604', 'others', '', '24', '1', 'រំចេក៤', 'រតនះ', 'បាត់ដំបង', 'បាត់ដំបង', 'parents', NULL, 'parents', '2017-07-07 11:03:37', '2017-07-07 11:03:41', 'uploads/none.jpg', ''),
(83, 'ថៃ រីដែត', 'thai ridet', 'f', 'single', 'khmer', '1991-01-03', '170564363', '017729227', 'others', '123', '', '4', 'ព្រែកតាតន់', 'ព្រែកព្រះស្ដេច', 'បាត់ដំបង', 'បាត់ដំបង', 'parents', NULL, 'parents', '2017-07-07 12:24:32', '2017-12-04 02:31:30', 'uploads/none.jpg', ''),
(84, 'ហេង​​ ប៊ុនធឿន', 'heng buntheun', 'm', 'married', 'khmer', '1971-05-05', '170025630', '012751330', 'others', '3', '', '1', 'អូរដំបង', 'អូរដំបង', 'សង្កែ', 'បាត់ដំបង', 'owner', NULL, 'wife', '2017-07-09 02:23:20', '2017-11-11 03:25:16', 'uploads/none.jpg', ''),
(85, 'សឿង ភារះ', 'SOEUNG PHEARAK', 'm', 'single', 'khmer', '1993-03-10', '030525747', '087747378', 'others', '', '', '', 'ឧដុង្គ', 'វ៉ាងចាស់', '', '', 'owner', NULL, 'parents', '2017-07-09 04:31:00', '2017-07-09 04:31:00', 'uploads/none.jpg', ''),
(86, 'សឿង ភារះ', 'SOEUNG PHEARAK', 'm', 'single', 'khmer', '2017-07-09', '030525747០', '087747378។', NULL, '', '', '', 'ឧដុង្គ', 'វ៉ាងចាស់', 'ឧដុង្គ', 'កំពង់ស្ពី', 'parents', NULL, 'parents', '2017-07-09 04:41:22', '2017-07-09 04:41:26', 'uploads/none.jpg', ''),
(87, 'ហេង ស៊ាងមីុ', 'heng seangmey', 'f', 'married', 'khmer', '1994-02-10', '050793862', '070585168', 'others', '153', '', '', 'ព្រែកចង្រានក្រោម', 'ព្រែកចង្រាន', 'សីុធរកណ្ដាល', 'ព្រែវែង', 'owner', NULL, 'wife', '2017-07-09 10:07:22', '2017-10-27 04:18:03', 'uploads/none.jpg', ''),
(88, 'សៀង បូផា', 'seang bopha', 'f', 'single', 'khmer', '1996-12-27', '170768114', '015568729', 'others', '42', '', '4', 'ច្រាបវាល', 'អន្លង់វិល', 'សង្កែ', 'បាត់ដំបង', 'parents', NULL, 'parents', '2017-07-10 11:34:25', '2017-07-10 11:35:44', 'uploads/none.jpg', ''),
(89, 'ពុទ្ធ សុទិតសា', 'puth sotitsa', 'm', 'married', 'khmer', '1992-04-08', '061889799', '093216288', 'others', '', '', '', 'ទី៣', 'វាលវង់', 'ក្រុងកំពង់ចាម', 'កំពង់ចាម', 'owner', NULL, 'parents', '2017-07-10 12:08:47', '2017-07-10 12:08:51', 'uploads/none.jpg', ''),
(90, 'ប៉េ សុងគាំង', 'pesongkaing', 'm', 'married', 'khmer', '1980-06-10', '010090567', '012444751', 'others', '238', '369', '', 'ដើមម៉ាក់ក្លឿ', 'ច្បាលពៅមួយ១', 'មានជ័យ', 'ភ្នំុពេញ', 'owner', NULL, 'parents', '2017-07-11 10:53:39', '2017-07-11 10:53:43', 'uploads/none.jpg', ''),
(91, 'សោភ័ណ សុផានិត', 'sophorn sophanith', 'm', 'married', 'khmer', '1987-02-05', '010553040', '0765555059', 'others', '3', '181', '', 'សង្កាត់ទំនប់ទឹក', 'ខណ្ឌចំការមន', 'ភ្នំពេញ', 'ភ្នំុពេញ', 'owner', NULL, 'wife', '2017-07-12 04:27:16', '2017-07-12 04:28:41', 'uploads/none.jpg', ''),
(92, 'សួន ហុីម', 'suon him', 'm', 'married', 'khmer', '1985-08-02', '110628905', '099663777', 'others', '', '', '', 'សុវណ្ណសាគរ', 'កំពង់កណ្ដាល', 'ក្រុងកំពត', 'កំពត', 'owner', NULL, 'parents', '2017-07-12 12:48:41', '2017-07-12 12:48:44', 'uploads/none.jpg', ''),
(93, 'ជា សុភាព', 'chea sopheap', 'm', 'married', 'khmer', '1978-07-15', '170024971', '089277727', 'others', '', '', '31', 'វត្តលៀប', 'ចំការសំរោង', 'បាត់ដំបង', 'បាត់ដំបង', 'owner', NULL, 'parents', '2017-07-13 01:59:36', '2017-07-13 01:59:36', 'uploads/none.jpg', ''),
(94, 'ជា សុភាព', 'chea sopheap', 'm', 'married', 'khmer', '1978-07-15', '170024972', '089277728', NULL, '', '', '31', 'វត្តលៀប', 'ចំការសំរោង', 'បាត់ដំបង', 'បាត់ដំបង', 'owner', NULL, 'parents', '2017-07-13 02:01:52', '2017-07-13 02:01:56', 'uploads/none.jpg', ''),
(95, 'ខន លីដា', 'khan lida', 'm', 'single', 'khmer', '1986-07-03', '171000599', '011446466', 'others', '', '', '', 'អូរតាគាំ២', 'ទូលតាឯក', 'បាត់ដំបង', 'បាត់ដំបង', 'owner', NULL, 'parents', '2017-07-15 06:19:42', '2017-07-15 06:19:46', 'uploads/none.jpg', ''),
(96, 'អិុត​ ច័ន្ទសួស្ដី', 'ith chansousdey', 'm', 'married', 'khmer', '1982-06-12', '171034867', '089815192', 'high_school', '40', '', '03', 'ព្រែកព្រះស្ដេច', 'ព្រែកព្រះស្ដេច', 'បាត់ដំបង', 'បាត់ដំបង', 'parents', NULL, 'parents', '2017-07-16 05:10:41', '2017-07-16 05:11:10', 'uploads/customers/596af56ead480.jpg', ''),
(97, 'សក់ សារ៉េត', 'sak saret', 'm', 'single', 'khmer', '1988-08-19', '060854011', '070559979', 'primary_school', '', '', '', 'បាខន', 'សំពងជ័យ', 'ជើងព្រៃ', 'កំពង់ចាម', 'rent_house', NULL, 'parents', '2017-07-16 05:19:32', '2017-07-16 05:20:18', 'uploads/none.jpg', ''),
(98, 'សៀវ មិញតាំង', 'seav mingtang', 'm', 'single', 'khmer', '1997-04-12', '170841790', '087405061', 'others', '714', '', '20', 'ជំនឹក', 'អន្លង់វិល', 'សង្កែ', 'បាត់ដំបង', 'parents', NULL, 'parents', '2017-07-16 08:44:58', '2017-07-16 08:45:02', 'uploads/none.jpg', ''),
(99, 'យ៉ាន និមល', 'yan nimorl', 'm', 'single', 'khmer', '1993-01-07', '040402259', '010727228', 'others', '', '', '', 'កោះក្របី', 'ផ្សារឆ្នាំង', 'កំពង់ឆ្នាំង', 'កំពង់ឆ្នាំង', 'owner', NULL, 'parents', '2017-07-18 05:12:52', '2017-07-18 05:12:59', 'uploads/none.jpg', ''),
(100, 'កូ គឹមហឿន', 'ko kimhoeun', 'f', 'married', 'khmer', '1985-11-02', '170794423', '011322321', 'others', '21', '', '2', 'ឡឥដ្ធ', 'ព្រែកព្រះស្ដេច', 'បាត់ដំបង', 'បាត់ដំបង', 'owner', NULL, 'parents', '2017-07-18 11:14:11', '2017-09-27 05:52:53', 'uploads/none.jpg', ''),
(101, 'អ៊ុំ តុលា', 'oum tola', 'm', 'married', 'khmer', '1986-11-13', '171092235', '089888890', 'high_school', '541', '', '28', 'អូរចារ', 'អូរចារ', 'បាត់ដំបង', 'បាត់ដំបង', 'owner', NULL, 'parents', '2017-07-19 06:08:56', '2017-07-19 06:08:56', 'uploads/none.jpg', ''),
(102, 'ឈាន​ បូរ៉ា', 'chheang bora', 'm', 'married', 'khmer', '1986-06-18', '170693479', '089567676', 'high_school', '471', '', '09', 'រំចេក៤', 'រតនះ', 'បាត់ដំបង', 'បាត់ដំបង', 'owner', NULL, 'parents', '2017-07-19 09:27:50', '2017-07-19 09:50:21', 'uploads/none.jpg', ''),
(103, 'ហាប់ សុជិត', 'hap sochit', 'm', 'married', 'khmer', '1980-02-12', '170003818', '012968496', 'others', '', '', '42', 'ព្រែកមហាលទេព', 'ស្វាយប៉ាេ', 'បាត់ដំបង', 'បាត់ដំបង', 'owner', NULL, 'parents', '2017-07-21 03:32:40', '2017-07-21 03:32:44', 'uploads/none.jpg', ''),
(104, 'លី ចាន់ណា', 'ly channa', 'm', 'married', 'khmer', '1982-07-10', '010875405', '012211449', 'college', '160', '2', '', 'ព្រែកតាគង់', 'ចាក់អង្រែលើ', 'មានជ័យ', 'ភ្នំុពេញ', 'owner', NULL, 'parents', '2017-07-21 07:46:55', '2017-07-21 07:46:55', 'uploads/none.jpg', ''),
(105, 'វ៉ាង​ បារាំង', 'vang baraing', 'm', 'single', 'khmer', '1990-07-06', '170764377', '095890956', 'college', '394', '', '21', 'រស្មីសង្ហារ', 'រស្មីសង្ហារ', 'រតនមណ្ឌល', 'បាត់ដំបង', 'owner', NULL, 'parents', '2017-07-21 08:01:36', '2017-07-21 08:01:36', 'uploads/none.jpg', ''),
(106, 'ហុង ចាន់ឌី', 'hong chandy', 'm', 'single', 'khmer', '1989-04-02', '170667108', '093555537', 'high_school', '067', '', '4', 'អូរចារ', 'អូរចារ', 'បាត់ដំបង', 'បាត់ដំបង', 'owner', NULL, 'parents', '2017-07-21 10:10:38', '2017-10-05 04:05:49', 'uploads/none.jpg', ''),
(107, 'ប៉ូ មករា', 'po makara', 'm', 'married', 'khmer', '1980-12-25', '210061293', '077833228', 'others', '', '5', '', 'វត្ត', 'ប៉ៃលិន', 'ក្រុងប៉ៃលិន', 'ប៉ៃលិន', 'owner', NULL, 'parents', '2017-07-24 07:20:20', '2017-11-07 03:59:52', 'uploads/none.jpg', ''),
(108, 'ងាន់​ សុផារ័ត្ន', 'ngann sopharath', 'm', 'single', 'khmer', '1995-01-05', '170737613', '010900955', 'high_school', '665', '37', '', '13មករា', 'ព', 'បាត់ដំបង', 'បាត់ដំបង', 'owner', NULL, 'parents', '2017-07-26 11:04:28', '2017-07-26 11:04:28', 'uploads/none.jpg', ''),
(109, 'ចាន់ សុធី', 'chan sothy', 'm', 'single', 'khmer', '1984-04-08', '170683324', '012888862', 'college', '62', '03', '', '', 'ក្តុលដូនទាវ', 'បាត់ដំបង', 'បាត់ដំបង', 'owner', NULL, 'parents', '2017-07-26 13:46:41', '2017-07-26 13:46:41', 'uploads/none.jpg', ''),
(110, 'ង៉ែត សាលីន', 'nget saline', 'm', 'married', 'khmer', '1959-07-01', '170032435', '017307966', 'college', '104', '', '04', 'កាប់គោថ្មី', 'អូរចារ', 'បាត់ដំបង', 'បាត់ដំបង', 'owner', NULL, 'wife', '2017-07-28 06:33:07', '2017-07-28 06:34:17', 'uploads/customers/597adae95c6b5.jpg', ''),
(111, 'អុឹង​វុទ្ធា', 'eung vuthea', 'm', 'married', 'khmer', '1989-05-20', '171034191', '089939392', 'college', '', '', '42', 'ព្រែកមហាលទេព', 'ស្វាយប៉ាេ', 'បាត់ដំបង', 'បាត់ដំបង', 'owner', NULL, 'parents', '2017-07-28 07:26:10', '2017-11-07 07:06:09', 'uploads/none.jpg', ''),
(112, 'គឹម សុង', 'kim song', 'm', 'single', 'khmer', '1990-07-02', '170536017', '016777972', 'college', '432', '', '28', 'បោះពោធ៏', 'អូរដំបង១', 'សង្កែ', 'បាត់ដំបង', 'owner', NULL, 'parents', '2017-07-29 03:14:35', '2017-07-29 05:43:39', 'uploads/none.jpg', ''),
(113, 'ខាន់ វណ្ណដា', 'khan vanda', 'm', 'single', 'khmer', '1993-08-05', '170669728', '0974496669', 'college', '409', '', '21', 'កំពង់ពិល', 'វត្តតាមឹម', 'បាត់ដំបង', 'បាត់ដំបង', 'owner', NULL, 'parents', '2017-07-29 07:19:48', '2017-07-29 07:19:48', 'uploads/none.jpg', ''),
(114, 'ប៊ុត សុធា', 'buth sothea', 'm', 'married', 'khmer', '1980-09-05', '210001268', '012995010', 'college', '', '', '7', 'អូរខ្ជាយ', 'ព្រែកព្រះស្ដេច', 'បាត់ដំបង', 'បាត់ដំបង', 'owner', NULL, 'parents', '2017-07-29 09:10:03', '2017-07-29 09:19:42', 'uploads/none.jpg', ''),
(115, 'ងឿន រ៉ានី', 'ngoeun rany', 'f', 'single', 'khmer', '1993-12-11', '170766532', '098986660', 'college', '182', '09', '', 'ព្រែកព្រះស្ដេច', 'ព្រែកព្រះស្ដេច', 'បាត់ដំបង', 'បាត់ដំបង', 'owner', NULL, 'parents', '2017-07-30 03:32:41', '2017-07-30 03:32:41', 'uploads/none.jpg', ''),
(116, 'យិប ស្រីមុំ', 'yip sreymom', 'f', 'single', 'khmer', '1990-06-05', '170697944', '089535626', 'college', '57', '04', '', 'តាកុក', 'នរា', 'សង្កែ', 'បាត់ដំបង', 'owner', NULL, 'parents', '2017-07-30 04:10:46', '2017-07-30 04:10:46', 'uploads/none.jpg', ''),
(117, 'សីហា ចន្ថា', 'seyha chantha', 'f', 'single', 'khmer', '1994-07-08', '171046084', '0962804592', 'others', '', '', '2', 'ស្ទឹងចក', 'ព្រែតូច', 'មោងឫស្សី', 'ប៉ៃលិន', 'owner', NULL, 'parents', '2017-07-30 06:27:48', '2017-07-30 06:27:53', 'uploads/none.jpg', ''),
(118, 'សោភ័ណ លក្ខិណា', 'sophorn lackhena', 'f', 'single', 'khmer', '1992-09-08', '010890651', '017282900', 'college', '3a', '181', '', '1', 'ទំនប់ទឹក', 'ចំការមន', 'ភ្នំុពេញ', 'owner', NULL, 'parents', '2017-07-30 07:50:59', '2017-07-30 07:50:59', 'uploads/none.jpg', ''),
(119, 'វ៉ាង សូវៀត', 'vang soveat', 'm', 'single', 'khmer', '1991-09-06', '170764376', '010548860', 'college', '394', '21', '', 'រស្មីសង្ហារ', 'រស្មីសង្ហារ', 'រតនមណ្ឌល', 'បាត់ដំបង', 'owner', NULL, 'parents', '2017-07-31 07:15:24', '2017-07-31 07:15:24', 'uploads/none.jpg', ''),
(120, 'មៀន ផានិត', 'Mean phanet', 'f', 'single', 'khmer', '1992-01-29', '170913415', '077743624', 'others', '148', '', '7', 'អណ្តូងចេញ', 'អូរចារ', 'បាត់ដំបង', 'បាត់ដំបង', 'owner', NULL, 'parents', '2017-08-01 11:23:07', '2017-08-01 11:23:07', 'uploads/none.jpg', ''),
(121, 'យឹន ពន្លឹម', 'yoeun ponlem', 'm', 'single', 'khmer', '1985-06-12', '171034183', '0966682226', 'others', '', '', '24', 'អូរតាគាំ២', 'ទូលតាឯក', 'បាត់ដំបង', 'បាត់ដំបង', 'parents', NULL, 'parents', '2017-08-02 04:34:32', '2017-08-02 04:34:36', 'uploads/none.jpg', ''),
(122, 'សោម វុទ្ធី', 'som vuthi', 'm', 'single', 'khmer', '1987-05-23', '090433184', '011247484', 'others', '', '', '', 'តារាងបាល់', 'គយត្របែក', 'ស្វាយរៀង', 'ស្វាយរៀង', 'owner', NULL, 'parents', '2017-08-05 01:41:19', '2017-08-05 01:41:19', 'uploads/none.jpg', ''),
(123, 'ផល ប៊ុនណេង', 'phal bunneng', 'm', 'single', 'khmer', '1995-10-05', '040364951', '010383688', 'others', '47', '', '', 'ទួលខ្សាច់', 'ជ្រៃបាក់', 'រលាប្អៀរ', 'កំពង់ឆ្នាំង', 'owner', NULL, 'parents', '2017-08-05 05:01:44', '2017-08-05 05:03:55', 'uploads/none.jpg', ''),
(124, 'ម៉ៅ ថាវី', 'mao thavy', 'm', 'married', 'khmer', '1973-12-15', '061703621', '012900025', 'others', '', '', '', 'បឹងកុក២', 'បឹងកុក', 'ក្រុងកំពង់ចាម', 'កំពង់ចាម', 'owner', NULL, 'wife', '2017-08-06 04:01:29', '2017-11-14 09:22:20', 'uploads/none.jpg', ''),
(125, 'ស៊ាម វ៉ាន់ទីន', 'sam vantin', 'm', 'married', 'khmer', '1979-01-15', '១ស១១ធ៤១២៥', '012674114', 'others', '', '', '', 'បែកចានថ្មី', 'ស្វាយប៉ាេ', 'បាត់ដំបង', 'បាត់ដំបង', 'owner', NULL, 'parents', '2017-08-07 08:50:18', '2017-08-07 08:50:23', 'uploads/none.jpg', ''),
(126, 'ហេង​​ ប៊ុនធឿន', 'heng bunthceun', 'm', 'married', 'khmer', '1971-12-05', '170099280', '0189666646', NULL, '3', '', '1', 'រំចេក3', 'រតនះ', 'បាត់ដំបង', 'បាត់ដំបង', 'owner', NULL, 'wife', '2017-08-09 12:13:25', '2017-08-09 12:13:48', 'uploads/none.jpg', ''),
(127, 'អ៊ុត សួភឿន', 'UTH SOPHOEURN', 'm', 'single', 'khmer', '1995-04-10', '170691745', '017755805', 'others', '280', '', '19', 'វត្តគរ', 'វត្តគរ', 'បាត់ដំបង', 'បាត់ដំបង', 'owner', NULL, 'parents', '2017-08-11 01:56:01', '2017-08-11 01:56:01', 'uploads/none.jpg', ''),
(128, 'ឆាយ សុធីតា', 'chhay sothida', 'f', 'single', 'khmer', '1987-10-20', '170957307', '093312161', 'others', '772', '42', '', 'ព្រែកមហាលទេព', 'ស្វាយប៉ាេ', 'បាត់ដំបង', 'បាត់ដំបង', 'parents', NULL, 'parents', '2017-08-12 04:07:56', '2017-09-13 03:11:02', 'uploads/none.jpg', ''),
(129, 'ប៊ុនថន បុណ្ណាធីរះ', 'bunthorn bonnathirak', 'm', 'single', 'khmer', '1993-10-20', '170667655', '093907709', 'others', '451', '', '19', 'កាប់គោថ្មី', 'អូរចារ', 'បាត់ដំបង', 'បាត់ដំបង', 'parents', NULL, 'parents', '2017-08-13 03:41:23', '2017-08-13 03:41:23', 'uploads/none.jpg', ''),
(130, 'ធី ពិសិដ្ឋ', 'thypiseth', 'm', 'single', 'khmer', '1992-05-10', '170603712', '077521952', 'others', '126', '', '6', 'បវេល១', 'បវេល', 'បាត់ដំបង', 'បាត់ដំបង', 'parents', NULL, 'parents', '2017-08-13 09:31:50', '2017-09-17 08:19:23', 'uploads/none.jpg', ''),
(131, 'ស៊ុន សាលីន', 'sun  salin', 'f', 'single', 'khmer', '1996-05-04', '171065162', '0965768889', 'others', '230', '', '9', 'រតនៈ', 'រតនៈ', 'បាត់ដំបង', 'បាត់ដំបង', 'parents', NULL, 'parents', '2017-08-15 09:30:06', '2017-09-16 04:29:55', 'uploads/none.jpg', ''),
(132, 'ថុង វួយសៀង', 'thongv0uysieng', 'm', 'single', 'khmer', '1992-03-11', '171036073', '069996111', 'others', '157', '7', '', 'បវេល១', 'បវេល', 'បវេល', 'បាត់ដំបង', 'parents', NULL, 'parents', '2017-08-15 10:27:44', '2017-08-15 10:27:44', 'uploads/none.jpg', ''),
(133, 'ស្រ៊ុន សម្ភស្ស', 'srun samphors', 'f', 'married', 'khmer', '1992-01-31', '170705643', '0968884885', 'others', '', '36', '', 'ព្រែកមហាលទេព', 'ស្វាយប៉ាេ', 'បាត់ដំបង', 'បាត់ដំបង', 'owner', NULL, 'wife', '2017-08-17 04:51:46', '2017-08-17 04:51:46', 'uploads/none.jpg', ''),
(134, 'ហយ សុខហេង', 'hoy sokheng', 'f', 'married', 'khmer', '1986-08-30', '171111874', '093730572', 'others', '', '', '2', 'រំចេក៤', 'រតនៈ', 'បាត់ដំបង', 'បាត់ដំបង', 'owner', NULL, 'parents', '2017-08-17 06:27:05', '2017-08-17 06:32:36', 'uploads/none.jpg', ''),
(135, 'ឆាយ សាវន', 'chhay savorn', 'm', 'married', 'khmer', '1972-06-09', '170047191', '078749744', 'others', '620', '', '21', 'ច្រាបក្រសាំង', 'វត្តគរ', 'បាត់ដំបង', 'បាត់ដំបង', 'owner', NULL, 'parents', '2017-08-18 03:00:11', '2017-08-18 03:00:15', 'uploads/none.jpg', ''),
(136, 'អា​ន ឬទ្ធិរដ្ធ', 'an ritty rath', 'm', 'single', 'khmer', '1989-12-07', '170538494', '098341499', 'others', '69', '', '4', 'រំចេក៤', 'រតនៈ', 'បាត់ដំបង', 'បាត់ដំបង', 'owner', NULL, 'parents', '2017-08-18 11:34:33', '2017-08-18 11:34:33', 'uploads/none.jpg', ''),
(137, 'ញុុិល សំបូរ', 'nhel sambo', 'm', 'single', 'khmer', '1988-06-16', '160461805', '070810001', 'others', '', '', '', 'ស្ទឹងតូច', 'រលាប', 'ក្រុងពោធីសាត់', 'ពោធីសាត់', 'parents', NULL, 'parents', '2017-08-22 03:06:20', '2017-08-22 03:06:26', 'uploads/none.jpg', ''),
(138, 'លី ប៊ុនលៀប', 'ly bunleap', 'm', 'single', 'khmer', '1991-04-13', '170959716', '010460410', 'others', '', '', '38', '20ឧសភា', 'ស្វាយប៉ាេ', 'បាត់ដំបង', 'បាត់ដំបង', 'owner', NULL, 'parents', '2017-08-23 06:15:32', '2017-08-23 06:15:40', 'uploads/none.jpg', ''),
(139, 'ឈឿន សុធា', 'chhoeurn sothiea', 'm', 'single', 'khmer', '1986-12-05', '170790100', '092786664', 'others', '78', '05', '', 'វត្តកណ្តាល', 'រាំងកេសី', 'សង្កែ', 'បាត់ដំបង', 'parents', NULL, 'parents', '2017-08-27 03:12:03', '2017-08-27 03:18:01', 'uploads/none.jpg', ''),
(140, 'ឆាត ចិន្ដា', 'chhat chenda', 'f', 'single', 'khmer', '1997-06-01', '171025377', '087525051', 'others', '', '', '1', 'រាមគន់', 'គារ', 'មោងឫស្សី', 'បាត់ដំបង', 'owner', NULL, 'parents', '2017-08-27 06:15:04', '2017-08-27 06:15:09', 'uploads/none.jpg', ''),
(141, 'ពេជ សុវុធ', 'pech sovuth', 'm', 'married', 'khmer', '1989-07-01', '170979682', '069929281', 'others', '339', '', '11', 'អូរតាគាំ២', 'ទូលតាឯក', 'បាត់ដំបង', 'បាត់ដំបង', 'owner', NULL, 'wife', '2017-08-30 03:43:50', '2017-08-30 03:43:59', 'uploads/none.jpg', ''),
(142, 'នុត ចាន់រិទ្ធី', 'nout chanretthy', 'm', 'single', 'khmer', '1989-07-15', '170821424', '098988081', 'others', '584', '18', '', 'ទូលតាឯក', 'ទូលតាឯក', 'បាត់ដំបង', 'បាត់ដំបង', 'parents', NULL, 'parents', '2017-08-30 03:59:18', '2017-11-25 04:51:05', 'uploads/none.jpg', ''),
(143, 'លី ចាន់ថា', 'ly chantha', 'm', 'single', 'khmer', '1989-09-28', '010638850', '012211149', 'others', '160', '2', '', 'ព្រែកតាគង់', 'ចាក់អង្រែលើ', 'មានជ័យ', 'ភ្នំុពេញ', 'owner', NULL, 'parents', '2017-08-30 07:19:30', '2017-08-30 07:19:30', 'uploads/none.jpg', ''),
(144, 'ភឿ សុផា', 'phoeursopha', 'm', 'married', 'khmer', '1964-01-01', '170796760', '089225494', 'others', '40', '03', '', 'សំពៅកើត', 'ភ្នំសំពៅ', 'បាណន់', 'បាត់ដំបង', 'owner', NULL, 'wife', '2017-09-01 02:50:12', '2017-09-01 02:50:19', 'uploads/none.jpg', ''),
(145, 'ពេជ្រ វណ្ណះ', 'pichvanak', 'm', 'single', 'khmer', '1994-02-01', '170741771', '098777177', 'others', '', '25', '', 'អូរតាគាំ២', 'ទូលតាឯក', 'បាត់ដំបង', 'បាត់ដំបង', 'owner', NULL, 'parents', '2017-09-01 03:27:36', '2017-09-01 03:27:36', 'uploads/none.jpg', ''),
(146, 'យូរ សុខហ៊ត់', '170995766', 'm', 'married', 'khmer', '1994-02-05', '170995766', '081265272', 'others', '430', '22', '', 'ចំការសំរោង2', 'ចំការសំរោង', 'បាត់ដំបង', 'បាត់ដំបង', 'parents', NULL, 'parents', '2017-09-02 04:52:25', '2017-12-01 10:53:12', 'uploads/none.jpg', ''),
(147, 'ខន សុខឡាយ', 'khournsoklay', 'm', 'single', 'khmer', '1994-11-18', '170885101', '070558556', 'others', '255', '4', '', 'សាលាបាឡាត់', 'អូរម៉ាល់', 'បាត់ដំបង', 'បាត់ដំបង', 'parents', NULL, 'parents', '2017-09-02 07:11:08', '2017-09-02 07:11:14', 'uploads/none.jpg', ''),
(148, 'ទ្រី​ សុថា', 'taysotha', 'm', 'married', 'khmer', '1984-04-23', '170609098', '093204080', NULL, '262', '33', '', 'កំពង់ក្របី', 'ស្វាយប៉ាេ', 'បាត់ដំបង', 'បាត់ដំបង', 'owner', NULL, 'parents', '2017-09-04 09:59:18', '2017-09-04 09:59:28', 'uploads/none.jpg', ''),
(149, 'មាស សុវន', 'meassovorn', 'f', 'married', 'khmer', '1985-04-02', '1375809', '098828227', 'others', '560', '', '25', 'វត្តតោល', 'វត្តតោល', 'បាត់ដំបង', 'បាត់ដំបង', 'owner', NULL, 'parents', '2017-09-05 03:30:27', '2017-09-05 03:30:32', 'uploads/none.jpg', ''),
(150, 'ខឿន គំនិត', 'khouen komnit', 'f', 'married', 'khmer', '1989-04-05', '170535992', '015737487', 'others', '', '', '23', 'អូរស្រឡៅ', 'អូរដំបង១', 'សង្កែ', 'បាត់ដំបង', 'owner', NULL, 'parents', '2017-09-05 08:23:23', '2017-09-05 08:23:29', 'uploads/none.jpg', ''),
(151, 'ហុន ធូន', 'hon thuon', 'm', 'single', 'khmer', '1983-04-05', '010291454', '0966682926', 'others', '15', '', '', 'ស្រែញ័រ', 'ពងទឹក', 'ដង្ខោ', 'ភ្នំុពេញ', 'owner', NULL, 'parents', '2017-09-05 08:35:48', '2017-09-05 08:35:53', 'uploads/none.jpg', ''),
(152, 'សុខ ម៉ានេត', 'sokmaet', 'm', 'married', 'khmer', '1982-11-09', '170848756', '012806652', 'others', '147', '', '7', 'ឡឥដ្ធ', 'ព្រែកព្រះស្ដេច', 'បាត់ដំបង', 'បាត់ដំបង', 'owner', NULL, 'wife', '2017-09-06 07:16:00', '2017-09-06 07:16:06', 'uploads/none.jpg', ''),
(153, 'សាំង ស៊ូឈី', 'caing souchhy', 'f', 'single', 'khmer', '1996-12-20', '170674554', '093737396', 'others', '270', '', '10', 'វត្តលៀប', 'ចំការសំរោង', 'បាត់ដំបង', 'បាត់ដំបង', 'parents', NULL, 'parents', '2017-09-07 08:45:31', '2017-09-07 08:45:37', 'uploads/none.jpg', ''),
(154, 'សិុន សុវណ្ណរទ្ធ', 'sin sovannrith', 'm', 'married', 'khmer', '1982-08-07', '051199063', '០៨៧៨៦៨១៥៣', NULL, '', '', '', 'សំបូរ', 'កំពង់ច្រាំង', 'ពារាំង', 'ព្រែវែង', 'owner', NULL, 'parents', '2017-09-08 01:53:30', '2017-09-08 01:53:30', 'uploads/none.jpg', ''),
(155, 'រ័ត្ម ចាន់រ៉ុង', 'pIathchanpIong', 'm', 'married', 'khmer', '1981-12-25', '170749656', '085858520', 'others', '223', '16', '16', 'គោកត្រប់', 'តាមឺុន', 'ថ្មគោល', 'បាត់ដំបង', 'owner', NULL, 'parents', '2017-09-08 02:52:00', '2017-09-08 02:52:06', 'uploads/none.jpg', ''),
(156, 'វ៉ាង សុផាន់', 'vang sophan', 'm', 'married', 'khmer', '1972-04-01', '21001537001', '0965665872', 'others', '', '', '', 'ក្រចាប់', 'អូតាវៅ', 'ក្រុងប៉ៃលិន', 'ប៉ៃលិន', 'owner', NULL, 'parents', '2017-09-08 06:00:35', '2017-09-08 06:00:35', 'uploads/none.jpg', ''),
(157, 'វិន សុគុណ', 'vInsokun', 'f', 'married', 'khmer', '1976-06-07', '170020123', '078646493', 'others', '877', '19', '19', 'ដាំស្តៃ', 'ស្លាកែត', 'បាត់ដំបង', 'បាត់ដំបង', 'owner', NULL, 'others', '2017-09-08 08:17:56', '2017-09-08 08:18:03', 'uploads/none.jpg', ''),
(158, 'គុយ គីិនីន', 'kuy kinin', 'm', 'single', 'khmer', '1994-07-18', '250118838', '090494969', 'others', '', '', '', 'ត្រាច', 'អញ្ចើម', 'ត្បូងឃ្មុុុុំ', 'ត្បូងឃ្មុំ', 'owner', NULL, 'parents', '2017-09-09 02:55:16', '2017-09-09 02:55:21', 'uploads/none.jpg', ''),
(159, 'ឃ្លោក សួសចនលី', 'khlok sousjohnly', 'm', 'married', 'khmer', '1989-07-05', '010655496', '089777442', 'others', '5', '110', '', '១៤', 'ទឹកល្អក់ទីមួយ', 'ទួលគោក', 'ភ្នំុពេញ', 'owner', NULL, 'parents', '2017-09-09 03:31:25', '2017-09-09 03:31:30', 'uploads/none.jpg', ''),
(160, 'ចិត្រា ចិន្ដា', 'chettra chenda', 'm', 'married', 'khmer', '1988-04-01', '051417350', '016567257', 'others', '18', '', '', 'បារាយណ៍លិច', 'បារាយណ៍', 'ព្រៃវែង', 'ព្រែវែង', 'owner', NULL, 'parents', '2017-09-09 04:52:36', '2017-09-09 04:52:41', 'uploads/none.jpg', ''),
(161, 'ថោង សុវណា្ណរិទ្ធ', 'thorngsonannarIth', 'm', 'single', 'khmer', '1988-06-03', '170386822', '098707021', 'others', '79', '15', '15', '20ឧសភា', 'ស្វាយប៉ាេ', 'បាត់ដំបង', 'បាត់ដំបង', 'parents', NULL, 'parents', '2017-09-09 06:40:44', '2017-11-01 10:06:21', 'uploads/none.jpg', ''),
(162, 'ម៉ម ស្ថពរ', 'mormsatgapor', 'm', 'married', 'khmer', '1990-08-01', '170697882', '093772447', NULL, '178', '04', '', 'បាឡាត់', 'នរា', 'សង្កែ', 'បាត់ដំបង', 'parents', NULL, 'parents', '2017-09-09 09:41:02', '2017-09-09 09:41:08', 'uploads/none.jpg', ''),
(163, 'រិទ្ធ សម្បត្តិ', 'rIth sambath', 'f', 'married', 'khmer', '1982-10-12', '1710533884', '081797177', 'others', '67', '3', '3', 'អូរចារ', 'អូរចារ', 'បាត់ដំបង', 'បាត់ដំបង', 'owner', NULL, 'parents', '2017-09-10 06:02:39', '2017-11-10 03:54:33', 'uploads/none.jpg', ''),
(164, 'វន រតនះ', 'vorn ratanak', 'm', 'single', 'khmer', '1996-08-28', '170694926', '017442990', 'college', '18', '1', '', 'នំក្រៀប', 'ព្រែកព្រះស្ដេច', 'បាត់ដំបង', 'បាត់ដំបង', 'owner', NULL, 'parents', '2017-09-11 02:00:40', '2017-09-11 02:00:40', 'uploads/none.jpg', ''),
(165, 'ឆាត ប៊ុនធឿន', 'chhat buntheurn', 'm', 'single', 'khmer', '1994-10-25', '170718438', '078747779', 'others', '', '', '1', 'រាមគន់', 'គារ', 'មោងឫស្សី', 'បាត់ដំបង', 'parents', NULL, 'parents', '2017-09-11 07:26:58', '2017-09-11 07:27:03', 'uploads/none.jpg', ''),
(166, 'ដូង ចិន្ថា', 'doungchenda', 'f', 'married', 'khmer', '1988-06-13', '170821896', '012301289', 'others', '28', '', '28', 'អូរចារ', 'អូរចារ', 'បាត់ដំបង', 'បាត់ដំបង', 'parents', NULL, 'parents', '2017-09-12 06:13:52', '2017-10-09 06:35:25', 'uploads/none.jpg', ''),
(167, 'ប្រាក់ សៀវម៉ី', 'brak seamey', 'f', 'single', 'khmer', '1996-05-31', '170981402', '069993799', 'others', '', '', '12', 'អូរតាគាំ១', 'ទូលតាឯក', 'បាត់ដំបង', 'បាត់ដំបង', 'owner', NULL, 'parents', '2017-09-14 11:52:06', '2017-11-23 13:19:35', 'uploads/none.jpg', ''),
(168, 'សុីង វិសាត', 'soeung visath', 'm', 'married', 'khmer', '1987-08-27', '170958664', '0968844485', 'others', '114', '', '38', '២០ឧសភា', 'ស្វាយប៉ាេ', 'បាត់ដំបង', 'បាត់ដំបង', 'owner', NULL, 'parents', '2017-09-15 04:37:40', '2017-09-15 04:37:40', 'uploads/none.jpg', ''),
(169, 'សុីង វិសាត', 'soeung visath', 'm', 'married', 'khmer', '2017-09-15', '170958665', '092844485', 'others', '114', '', '38', '២០ឧសភា', 'ស្វាយប៉ាេ', 'បាត់ដំបង', 'បាត់ដំបង', 'owner', NULL, 'parents', '2017-09-15 04:54:21', '2017-09-15 04:54:26', 'uploads/none.jpg', ''),
(170, 'រី សុផារ័ត្ន', 'ry sopharath', 'm', 'married', 'khmer', '1978-03-10', '170336250', '086456584', NULL, '២៧១', '', '៤', 'រំចេក៤', 'រតនៈ', 'បាត់ដំបង', 'បាត់ដំបង', 'owner', NULL, 'parents', '2017-09-15 11:43:12', '2017-09-15 11:43:12', 'uploads/none.jpg', 'គ្រូ'),
(171, 'សឿន សុភី', 'soeun sophy', 'm', 'single', 'khmer', '1996-03-01', '040327194', '070441100', 'others', 'e053', '', '', 'ខ្នាទៃមោក', 'ក្រាំងល្វា', 'សាមគ្គីមានជ័យ', 'កំពង់ឆ្នាំង', 'owner', NULL, 'parents', '2017-09-16 05:17:05', '2017-09-16 05:17:10', 'uploads/none.jpg', ''),
(172, 'ប៊ូ សុីណា', 'buo sina', 'm', 'married', 'khmer', '1968-12-10', '210008150', '012336074', 'others', '', '', '', 'លាច', 'លាច', 'ភ្នំក្រវ៉ាញ', 'ពោធីសាត់', 'owner', NULL, 'parents', '2017-09-17 03:08:36', '2017-09-17 03:08:41', 'uploads/none.jpg', ''),
(173, 'ឡុុុូង ឡែង', 'longlaen', 'm', 'married', 'khmer', '1976-01-20', '170592634', '012376719', 'others', '110', '02', '02', 'បឹងរាំង', 'បឹងរាំង', 'កំរៀ', 'បាត់ដំបង', 'owner', NULL, 'parents', '2017-09-17 05:26:19', '2017-09-17 05:26:26', 'uploads/none.jpg', ''),
(174, 'ធូច វណា្ណរឿង', 'thuchvannaroeueung', 'm', 'married', 'khmer', '1988-06-11', '170777704', '012530168', 'others', '300', '', '13', 'អង់', 'អូរចារ', 'បាត់ដំបង', 'បាត់ដំបង', 'owner', NULL, 'parents', '2017-09-18 01:50:35', '2017-09-18 01:50:39', 'uploads/none.jpg', ''),
(175, 'អ៊ាង ប៊ុនលី', 'ean bunly', 'm', 'single', 'khmer', '1992-06-14', '170807345', '069224282', 'others', '163', '', '10', 'ក្ដុុុុុុល', 'ក្ដុុុុុុុុលដូនទាវ', 'បាត់ដំបង', 'បាត់ដំបង', 'owner', NULL, 'parents', '2017-09-22 05:59:16', '2017-09-22 05:59:23', 'uploads/none.jpg', ''),
(176, 'លឿន សុីគង់', 'loeurn sikong', 'm', 'single', 'khmer', '1996-11-01', '190523497', '069227923', 'others', '', '', '', 'ក្បាលស្ពាន២', 'ប៉ោយប៉ែត', 'ប៉ោយប៉ែត', 'បន្ទាយមានជ័យ', 'owner', NULL, 'parents', '2017-09-24 15:07:00', '2017-11-04 07:09:19', 'uploads/none.jpg', ''),
(177, 'ធៀម រស្មី', 'theam reaksmey', 'm', 'single', 'khmer', '1999-12-30', '170974364', '069383233', 'others', '450', '23', '', 'អូស្រឡៅ', 'អូរដំបង១', 'សង្កែ', 'បាត់ដំបង', 'owner', NULL, 'parents', '2017-09-25 07:17:56', '2017-09-25 07:18:06', 'uploads/none.jpg', ''),
(178, 'ហេង ដាលី', 'hengdaly', 'f', 'single', 'khmer', '1998-10-03', '170848329', '077512926', 'others', '33', '', '3', 'កំពង់ស្រមរ', 'ឈើទាល', 'បាណន', 'បាត់ដំបង', 'parents', NULL, 'parents', '2017-09-25 07:28:02', '2017-09-25 07:28:07', 'uploads/none.jpg', ''),
(179, 'ឡេង វាសនា', 'leangvasna', 'f', 'single', 'khmer', '1985-05-03', '188543', '0967296645', 'others', '433', '', '2', 'ព្រែកតាច្រែង', 'ព្រែកនរិន្ទ', 'ឯកភ្នំ', 'បាត់ដំបង', 'parents', NULL, 'parents', '2017-09-26 07:12:36', '2017-09-26 07:12:41', 'uploads/none.jpg', ''),
(180, 'ហៃ ម៉ុងហួត', 'hay monghouth', 'm', 'single', 'khmer', '1986-09-03', '170388925', '012326500', 'others', '1', '', '1', 'ពុកឬស្សីក្រោម', 'ពុកឬស្សី', 'ខ្សាច់កណ្ដាល', 'កណ្ដាល', 'owner', NULL, 'parents', '2017-09-27 06:05:01', '2017-09-27 06:05:05', 'uploads/none.jpg', ''),
(181, 'ឡូង  បូរ៉ាត់', 'longborath', 'f', 'married', 'khmer', '2017-09-27', '1709556096', '012963030', 'others', '35', '', '2', 'ព្រែកមហាទេព', 'ស្វាយប៉ាេ', 'បាត់ដំបង', 'បាត់ដំបង', 'owner', NULL, 'wife', '2017-09-27 07:20:01', '2017-11-08 03:25:06', 'uploads/none.jpg', ''),
(182, 'យុន ហួត', 'yun hourt', 'm', 'married', 'khmer', '1987-06-01', '130163941', '0938888890', NULL, '', '', '', '៤', '៤', 'ព្រះសីហនុ', 'ព្រះសីហនុ', 'owner', NULL, 'parents', '2017-09-27 08:10:04', '2017-11-21 05:13:37', 'uploads/none.jpg', ''),
(183, 'សឿង ឌីនណា', 'soeungdInna', 'm', 'single', 'khmer', '1996-02-01', '171114522', '093312438', 'others', '', '', '', 'អូស្រឡៅ', 'អូរដំបង១', 'សង្កែ', 'បាត់ដំបង', 'owner', NULL, 'parents', '2017-09-28 07:57:27', '2017-09-28 07:57:32', 'uploads/none.jpg', ''),
(184, 'ភាន់ ភត្រា', 'phorn pheaktra', 'm', 'married', 'khmer', '1987-08-16', '170993862', '012930065', 'others', '356', '12', '', 'អូរតាគាំ២', 'ទួលតាឯក', 'បាត់ដំបង', 'បាត់ដំបង', 'owner', NULL, 'parents', '2017-09-30 03:11:43', '2017-11-13 09:24:52', 'uploads/none.jpg', ''),
(185, 'សល សុខន', 'sal sokhon', 'm', 'single', 'khmer', '1994-05-23', '170696901', '0717001232', 'others', '99', '', '5', 'អូរដំបង', 'អូរដំបង២', 'សង្កែ', 'បាត់ដំបង', 'owner', NULL, 'parents', '2017-09-30 05:17:25', '2017-09-30 05:17:29', 'uploads/none.jpg', '');
INSERT INTO `loan_customers` (`id`, `full_name_kh`, `full_name_en`, `gender`, `marital_status`, `nationality`, `dob`, `id_card_no`, `tel`, `education`, `house_number`, `road_number`, `group_number`, `village`, `commune`, `district`, `province`, `property`, `date_of_stay`, `live_with`, `created_at`, `updated_at`, `photo`, `other_education`) VALUES
(186, 'ហុន ឆួន', 'hon thuon', 'm', 'single', 'khmer', '1983-02-05', '010291452', '070266663', NULL, '15', '', '', 'ស្រែញ័រ', 'ពងទឹក', 'ដង្កោ', 'ភ្នំពេញ', 'owner', NULL, 'parents', '2017-10-01 03:11:55', '2017-10-01 03:11:59', 'uploads/none.jpg', ''),
(187, 'ជាង​ធឿន', 'ជាង​ធឿន', 'm', 'single', 'khmer', '2017-10-01', '០១២៣៤៤៣២១', '092222022', 'others', '1', '1', '1', 'ក្បាលស្ពាន២', 'ក្ដុុុុុុុុលដូនទាវ', 'បាត់ដំបង', 'បាត់ដំបង', 'owner', NULL, 'parents', '2017-10-01 11:57:56', '2017-10-01 11:57:56', 'uploads/none.jpg', ''),
(188, 'ពៅ រាសី', 'povreasey', 'm', 'single', 'khmer', '1993-01-01', '170953700', '069697697', 'others', '183', '', '10', 'សូភី២', 'រតនះ', 'បាត់ដំបង', 'បាត់ដំបង', 'parents', NULL, 'parents', '2017-10-02 07:48:06', '2017-11-13 09:40:27', 'uploads/none.jpg', ''),
(189, 'អឿម សំអាត', 'oeurbsmath', 'm', 'married', 'khmer', '1995-08-07', '170738809', '0963339360', 'others', '', '10', '10', 'ព្រែកតាតន់', 'ព្រែកព្រះស្ដេច', 'បាត់ដំបង', 'បាត់ដំបង', 'parents', NULL, 'parents', '2017-10-02 08:12:59', '2017-10-02 08:13:04', 'uploads/none.jpg', ''),
(190, 'ធួង រិទ្ធី', 'thuongrIthy', 'm', 'married', 'khmer', '1987-06-20', '170360908', '011565646', 'others', '19', '', '3', 'ដូនទាវ', 'ពាមឯក', 'ឯកភ្នំ', 'បាត់ដំបង', 'owner', NULL, 'parents', '2017-10-04 06:33:55', '2017-11-10 03:27:08', 'uploads/none.jpg', ''),
(191, 'ឡោះ ហ្វាសុី', 'lors fasy', 'm', 'married', 'khmer', '1988-09-02', '170396489', '0963777794', 'others', '', '', '', 'នរា២', 'នរា', 'សង្កែ', 'បាត់ដំបង', 'owner', NULL, 'parents', '2017-10-04 07:29:44', '2017-10-04 07:29:48', 'uploads/none.jpg', ''),
(192, 'ដាន់ ដាវិន', 'dandavIn', 'm', 'married', 'khmer', '1988-05-25', '170382219', '012443884', 'others', '028', '', '02', 'អូរខ្ជាយ', 'ព្រែកព្រះស្ដេច', 'បាត់ដំបង', 'បាត់ដំបង', 'parents', NULL, 'parents', '2017-10-04 10:55:06', '2017-11-17 02:55:54', 'uploads/none.jpg', ''),
(193, 'អ៊ុំ សីហា', 'um seyha', 'm', 'single', 'khmer', '1987-08-20', '170356592', '093353737', 'others', '', '', '', 'ឡូូូុុូត', 'ស្ដៅ', 'រតនះ', 'បាត់ដំបង', 'owner', NULL, 'parents', '2017-10-05 07:47:31', '2017-10-05 07:47:37', 'uploads/none.jpg', ''),
(194, 'ថាត់ សុគន្ធារី', 'that sokuntheary', 'f', 'married', 'khmer', '1985-06-01', '170341111', '092217292', 'others', '426', '', '12', 'កម្មករ', 'ស្វាយប៉ាេ', 'បាត់ដំបង', 'បាត់ដំបង', 'owner', NULL, 'parents', '2017-10-05 09:24:40', '2017-10-05 09:24:49', 'uploads/none.jpg', ''),
(195, 'ធួង ធានី', 'thuongtheany', 'f', 'married', 'khmer', '1989-01-10', '170576416', '0922222957', 'others', '19', '', '3', 'ដូនទាវ', 'ពាមឯក', 'ឯកភ្នំ', 'បាត់ដំបង', 'parents', NULL, 'parents', '2017-10-06 04:43:23', '2017-10-06 04:43:28', 'uploads/none.jpg', ''),
(196, 'ទ្បង ឡែន', 'Longlaen', 'm', 'married', 'khmer', '1976-01-20', '170592635', '077812813', NULL, '110', '', '02', 'បឹងរាំង', 'បឹងរាំង', 'កំរៀ', 'បាត់ដំបង', 'owner', NULL, 'parents', '2017-10-06 05:25:41', '2017-10-06 05:25:46', 'uploads/none.jpg', ''),
(197, 'ថូយ ទ្រី', 'thoytry', 'm', 'married', 'khmer', '1960-09-05', '171034545', '012753200', 'others', '', '', '33', 'កំពង់ក្របី', 'ស្វាយប៉ាេ', 'បាត់ដំបងប', 'បាត់ដំបង', 'owner', NULL, 'wife', '2017-10-07 05:46:22', '2017-10-07 05:46:26', 'uploads/none.jpg', ''),
(198, 'ចែត ដារ៉ា', 'chet dara', 'm', 'married', 'khmer', '1990-07-03', '170788991', '0884444334', 'others', '80', '', '4', 'ចក្រី', 'បារាំងធ្លាក់', 'ភ្នំព្រឹក', 'បាត់ដំបង', 'owner', NULL, 'parents', '2017-10-07 11:23:56', '2017-10-07 11:24:00', 'uploads/none.jpg', ''),
(199, 'ទា អាលីហ្សា', 'teaaliza', 'f', 'married', 'khmer', '1990-06-13', '170637041', '086998909', 'others', '96', '', '6', 'សូភី2', 'រតនៈ', 'បាត់ដំបង', 'បាត់ដំបង', 'owner', NULL, 'parents', '2017-10-08 06:29:41', '2017-10-08 06:29:46', 'uploads/none.jpg', ''),
(200, 'ចិន សុីថា', 'chen sitha', 'f', 'married', 'khmer', '1986-06-30', '170877277', '017256338', 'others', '126', '', '5', 'ភ្នំសំពៅលិច', 'ភ្នំសំពៅ', 'បាណន់', 'បាត់ដំបង', 'owner', NULL, 'parents', '2017-10-09 06:21:36', '2017-10-09 06:21:40', 'uploads/none.jpg', ''),
(201, 'វង្ស សារិទ្ធគុណយុតា', 'vong saritharunyokphea', 'f', 'married', 'khmer', '1992-10-18', '170666600', '089898984', 'others', '541', '', '28', 'អូរចារ', 'អូរចារ', 'បាត់ដំបង', 'បាត់ដំបង', 'owner', NULL, 'parents', '2017-10-10 03:46:17', '2017-10-10 03:46:21', 'uploads/none.jpg', ''),
(202, 'ហុីម ប៊ុនទិត្យ', 'him buntith', 'm', 'married', 'khmer', '1984-06-16', '170551218', '017800050', 'others', '', '', '១២', 'អូរតាគាំ១', 'ទូលតាឯក', 'បាត់ដំបង', 'បាត់ដំបង', 'owner', NULL, 'parents', '2017-10-11 03:29:28', '2017-10-11 04:13:46', 'uploads/none.jpg', ''),
(203, 'ភិន វណ្ណា', 'phinvanna', 'm', 'single', 'khmer', '2017-10-12', '170985986', '093443857', 'others', '619', '', '40', 'បោះពោធ៏', 'អូរដំបង', 'សង្កែ', 'បាត់ដំបង', 'owner', NULL, 'parents', '2017-10-12 09:06:59', '2017-10-12 09:07:03', 'uploads/none.jpg', ''),
(204, 'ស្លូុុុត សេងលាប', 'slothsengleap', 'f', 'married', 'khmer', '1983-04-17', '011171220', '099556555', 'others', '', '', '', 'ត្រាំស្លិក', 'កន្ទោក', 'ពោធិសែនជ័យ', 'ភ្នំុពេញ', 'parents', NULL, 'parents', '2017-10-12 09:45:00', '2017-10-12 09:45:04', 'uploads/none.jpg', ''),
(205, 'សែម ស្រីអូន', 'seam sreyoun', 'f', 'married', 'khmer', '1984-10-21', '170980472', '093488786', 'others', '', '', '7', 'អូរតាគាំ៣', 'ទូលតាឯក', 'បាត់ដំបង', 'បាត់ដំបង', 'owner', NULL, 'parents', '2017-10-13 07:26:54', '2017-10-13 07:26:58', 'uploads/none.jpg', ''),
(206, 'សំ ដារ៉ូ', 'sam daro', 'm', 'single', 'khmer', NULL, '020842942', '016777922', 'others', '', '', '', 'ព្រែកក្របៅទី២', 'ព្រែកអំពិល', 'ខ្សាច់កណ្ដាល', 'កណ្ដាល', 'owner', NULL, 'parents', '2017-10-14 04:04:32', '2017-10-14 04:04:32', 'uploads/none.jpg', ''),
(207, 'ភាព រតនា', 'pheaprattana', 'f', 'single', 'khmer', '1985-08-18', '170883529', '093312261', 'others', '156', '', '12', 'កំពង់សីមា', 'វត្តគរ', 'បាត់ដំបង', 'បាត់ដំបង', 'parents', NULL, 'parents', '2017-10-16 07:29:43', '2017-10-16 07:29:49', 'uploads/none.jpg', ''),
(208, 'ជួប តុលា', 'chuobtola', 'm', 'married', 'khmer', '1982-10-10', '110260106', '0977679767', 'others', '', '', '', 'ត្រពាំងថ្លាន់', 'ប្រភ្នំ', 'អង្ករជ័យ', 'កំពត', 'owner', NULL, 'parents', '2017-10-17 05:41:40', '2017-10-17 05:41:45', 'uploads/none.jpg', ''),
(209, 'អឹុង ចាន់វណ្ណះ', 'oeng chanvannak', 'm', 'married', 'khmer', '1981-08-09', '171098175', '012535252', 'others', '', '', '25', '២០ឧសភា', 'ស្វាយប៉ាេ', 'បាត់ដំបង', 'បាត់ដំបង', 'owner', NULL, 'parents', '2017-10-17 07:59:44', '2017-10-17 07:59:44', 'uploads/none.jpg', ''),
(210, 'ម៉ៅ រ៉ានី', 'mao rany', 'f', 'married', 'khmer', '1992-02-05', '050713372', '098481483', 'high_school', '', '', '', 'ព្រែកជ្រៃក្រោម', 'ព្រែកជ្រៃ', 'កំពង់លាវ', 'ព្រៃវែង', 'owner', NULL, 'parents', '2017-10-18 05:05:06', '2017-10-18 05:05:06', 'uploads/none.jpg', ''),
(211, 'មំុ មូន្នីកា', 'mom monica', 'f', 'single', 'khmer', '1994-10-15', '170769799', '0313989169', 'others', '25', '', '3', 'ដូនទាវ', 'ពាមឯក', 'បាត់ដំបង', 'បាត់ដំបង', 'owner', NULL, 'parents', '2017-10-19 05:26:48', '2017-10-19 05:26:51', 'uploads/none.jpg', ''),
(212, 'នា អ៊ុំមី', 'teaummy', 'f', 'married', 'khmer', '1983-01-06', '170953215', '086232395', 'others', '96', '', '6', 'សូភី2', 'រតនៈ', 'បាត់ដំបង', 'បាត់ដំបង', 'owner', NULL, 'parents', '2017-10-19 08:44:16', '2017-10-19 08:44:21', 'uploads/none.jpg', ''),
(213, 'ខន សុភ័ក', 'khan sopheak', 'f', 'single', 'khmer', '1999-01-09', '101026875', '070800932', 'others', '', '', '', 'អង្គតាសោម', 'ញ៉ែងញ៉ង', 'គ្រាំងកក់', 'តាកេវ', 'owner', NULL, 'parents', '2017-10-20 02:36:46', '2017-10-20 02:36:53', 'uploads/none.jpg', ''),
(214, 'មួន សុវណ្ណារិទ្ធ', 'moun sovannarIth', 'm', 'married', 'khmer', '1996-04-29', '170738623', '0963313152', 'others', '061', '', '03', 'អូរខ្ជាយ', 'ព្រែកព្រះស្ដេច', 'បាត់ដំបង', 'បាត់ដំបង', 'parents', NULL, 'parents', '2017-10-24 02:25:58', '2017-10-24 02:26:14', 'uploads/none.jpg', ''),
(215, 'ឈីង ឆៃរ័ត្ន', 'chhoeng chhairat', 'f', 'married', 'khmer', '1984-04-06', '07024527', '066272007', 'others', '', '', '', 'អូរឬស្សីទី២', 'អូរឬស្សី', 'ក្រចេះ', 'ក្រចេះ', 'owner', NULL, 'parents', '2017-10-27 02:34:27', '2017-10-27 02:34:34', 'uploads/none.jpg', ''),
(216, 'សាំង ឡែហ៊ាង', 'sanglahang', 'f', 'married', 'khmer', '1991-03-23', '210061067', '089606689', NULL, '', '', '', 'អូរតាវ៉ោ', 'អូតាវៅ', 'ក្រុងប៉ៃលិន', 'ប៉ៃលិន', 'parents', NULL, 'parents', '2017-10-27 03:31:54', '2017-10-27 03:34:52', 'uploads/none.jpg', ''),
(217, 'មឺុន ប៊ុនលី', 'monbunly', 'm', 'single', 'khmer', '1996-07-10', '170768286', '010239985', 'others', '', '287', '10', 'អន្លង់វិល', 'អន្លង់វិល', 'សង្កែ', 'បាត់ដំបង', 'owner', NULL, 'parents', '2017-10-29 05:45:52', '2017-10-29 05:45:58', 'uploads/none.jpg', ''),
(218, 'សឺត​ កញ្ញា', 'soeuthkanha', 'f', 'married', 'khmer', '1986-01-28', '170836768', '077332215', 'others', '', '462', '9', 'រំចេក3', 'រតនៈ', 'បាត់ដំបង', 'បាត់ដំបង', 'owner', NULL, 'parents', '2017-10-29 10:39:48', '2017-10-29 10:39:54', 'uploads/none.jpg', ''),
(219, 'គឿន ចាន់នឿត', 'koeurn channoeurth', 'm', 'single', 'khmer', '1992-02-01', '170668846', '061488838', 'others', '326', '', '7', 'ត្រាង', 'អូរតាគី', 'ថ្មគោល', 'បាត់ដំបង', 'owner', NULL, 'parents', '2017-10-30 03:44:09', '2017-10-30 03:44:14', 'uploads/none.jpg', ''),
(220, 'ពាញ រីយឺង', 'peanhriyang', 'f', 'single', 'khmer', '1974-11-10', '170045383', '070735173', 'others', '', '93', '09', 'ស្វាយជ្រុំុ', 'ជ្រៃ', 'ថ្មគោល', 'បាត់ដំបង', 'owner', NULL, 'wife', '2017-10-30 06:35:05', '2017-10-30 06:35:09', 'uploads/none.jpg', ''),
(221, 'ឡាយ  ប៊ុនណាត', 'lay bunnat', 'f', 'single', 'khmer', '1994-10-10', '170666458', '069606998', 'others', '', '358', '18', 'អូរចារ', 'អូរចារ', 'បាត់ដំបង', 'បាត់ដំបង', 'parents', NULL, 'parents', '2017-10-31 11:38:04', '2017-10-31 11:38:08', 'uploads/none.jpg', ''),
(222, 'កែវ​ មិសា', 'keo misa', 'f', 'married', 'khmer', '1989-04-17', '170578403១', '092303354', NULL, '១៣៩', '', '១៣', 'ភ្នំសំពៅលិច', 'ភ្នំសំពៅ', 'បាណន់', 'បាត់ដំបង', 'owner', NULL, 'parents', '2017-10-31 11:52:48', '2017-10-31 11:52:48', 'uploads/none.jpg', 'អ្នកគ្រូ'),
(223, 'ជាវ សុគធន្មី', 'cheav sokeakathunny', 'f', 'married', 'khmer', '1994-11-27', '170673911', '099488848', 'others', '', '637', '29', 'វត្តលៀប', 'ចំការសំរោង', 'បាត់ដំបង', 'បាត់ដំបង', 'owner', NULL, 'parents', '2017-10-31 13:08:01', '2017-10-31 13:10:06', 'uploads/none.jpg', ''),
(224, 'សុខ បូរ៉េត', 'sokboreth', 'm', 'married', 'khmer', '1985-02-17', '010478016', '011555499', 'others', '219', '13', '', 'ជ្លាស្លា', 'ចំការសំរោង', 'បាត់ដំបង', 'បាត់ដំបង', 'parents', NULL, 'parents', '2017-11-03 03:28:13', '2017-11-03 03:28:18', 'uploads/none.jpg', ''),
(225, 'សេក ចាន់ធឿន', 'sekch antoeurn', 'f', 'single', 'khmer', '1988-06-15', '170425543', '0965212676', 'others', '313', '10', '', 'ភ្នំសំពៅកើន', 'ភ្នំសំពៅ', 'បាណន់', 'បាត់ដំបង', 'owner', NULL, 'parents', '2017-11-04 06:35:53', '2017-11-04 06:35:58', 'uploads/none.jpg', ''),
(226, 'វ៉ាង សម្បត្តិ', 'vang sambath', 'm', 'married', 'khmer', '1982-04-17', '01130508', '012849441', 'others', '45', '193', '', '4', 'ទូលស្វាយព្រែទី១', 'ចំការមន', 'ភ្នំុពេញ', 'owner', NULL, 'wife', '2017-11-05 02:03:32', '2017-11-05 02:03:36', 'uploads/none.jpg', ''),
(227, 'ឡឹក សុីណា', 'leksina', 'm', 'married', 'khmer', '1992-04-24', '170741815', '0972222530', 'others', '', '', '05', 'អូរតាគាំ៣', 'ទូលតាឯក', 'បាត់ដំបង', 'បាត់ដំបង', 'parents', NULL, 'parents', '2017-11-05 05:04:58', '2017-11-06 04:10:45', 'uploads/none.jpg', ''),
(228, 'ឡុង យូហានសុនចនដារ៉ា', 'longjohansonjondara', 'm', 'married', 'khmer', '1975-07-31', '170030382', '012985566', NULL, '429', '', '18', 'វត្តលៀប', 'ចំការសំរោង', 'បាត់ដំបង', 'បាត់ដំបង', 'owner', NULL, 'wife', '2017-11-05 10:46:40', '2017-11-05 10:46:44', 'uploads/none.jpg', ''),
(229, 'សីហា ស្រីសុភ័ក្រ្ត', 'seyha sreysopheak', 'f', 'single', 'khmer', '1996-05-09', '170987752', '087563958', 'others', '200', '', '12', 'សំរោងតាកុក', 'សំរោងក្នុង', 'ឯកភ្នំ', 'បាត់ដំបង', 'parents', NULL, 'parents', '2017-11-06 05:58:55', '2017-11-06 08:02:04', 'uploads/none.jpg', ''),
(230, 'រស់ ច័ន្ទមុនីបព្ចាា', 'rus chanmonha', 'm', 'single', 'khmer', '1991-02-14', '170956449', '086901111', NULL, '', '', '10', 'កម្មករ', 'ស្វាយប៉ាេ', 'បាត់ដំបង', 'បាត់ដំបង', 'parents', NULL, 'parents', '2017-11-06 06:40:23', '2017-11-06 06:40:27', 'uploads/none.jpg', ''),
(231, 'កែវ វិចិត្រ', 'keo vichet', 'm', 'single', 'khmer', '1986-04-02', '170828719', '012270670', 'others', '392', '', '17', 'កាប់គោថ្មី', 'អូរចារ', 'បាត់ដំបង', 'បាត់ដំបង', 'parents', NULL, 'parents', '2017-11-07 06:41:29', '2017-12-07 10:23:20', 'uploads/none.jpg', ''),
(232, 'ថន សុខធៀង', 'than sokhtheang', 'm', 'single', 'khmer', '1986-04-18', '171106025', '012699560', 'others', '245', '', '15', 'ផ្កាស្លា', 'ចំការសំរោង', 'បាត់ដំបង', 'បាត់ដំបង', 'owner', NULL, 'parents', '2017-11-08 07:25:00', '2017-11-08 07:25:09', 'uploads/none.jpg', ''),
(233, 'ជា បញ្ញា', 'chea phanha', 'm', 'married', 'khmer', '1990-05-08', '170707988', '093803809', 'others', '35', '', '2', 'ព្រែកមហាលទេព', 'ស្វាយប៉ាេ', 'បាត់ដំបង', 'បាត់ដំបង', 'owner', NULL, 'parents', '2017-11-09 10:29:13', '2017-11-09 10:29:17', 'uploads/none.jpg', ''),
(234, 'ហួ រដ្ធា', 'huo ratha', 'm', 'married', 'khmer', '1988-01-02', '011199168', '017764614', 'others', '22', '386', '', '8', 'បឹងកេងកងទី៣', 'ចំការមន', 'ភ្នំុពេញ', 'owner', NULL, 'wife', '2017-11-11 06:46:41', '2017-11-11 06:46:45', 'uploads/none.jpg', ''),
(235, 'លាង សំអូន', 'leang samoun', 'm', 'single', 'khmer', '1988-05-05', '170395776', '010747973', 'others', '562', '', '4', 'បឹងអំពិល', 'ស្ដៅ', 'រតនមណ្ឌល', 'បាត់ដំបង', 'owner', NULL, 'parents', '2017-11-12 03:59:15', '2017-11-12 03:59:24', 'uploads/none.jpg', ''),
(236, 'ឌី ភីសារ', 'dy physa', 'm', 'single', 'khmer', '1995-04-21', '170760318', '070404072', 'others', '537', '', '11', 'រំចេក៤', 'រតនៈ', 'បាត់ដំបង', 'បាត់ដំបង', 'owner', NULL, 'parents', '2017-11-12 04:35:58', '2017-11-12 04:36:02', 'uploads/none.jpg', ''),
(237, 'រេន រុំ', 'ren rom', 'm', 'married', 'khmer', '1960-05-01', '170973741', '092694243', 'others', '451', '23', '', 'អូរស្រឡៅ', 'អូរដំបង១', 'សង្កែ', 'បាត់ដំបង', 'owner', NULL, 'wife', '2017-11-13 04:20:42', '2017-11-13 04:22:54', 'uploads/none.jpg', ''),
(238, 'យ៉ាង កាំង ស្រ៊ុុុន', 'yang kangsrun', 'm', 'single', 'khmer', '1993-09-22', '171011154', '012433360', 'others', '', '', '41', 'ព្រែកមហាលទេព', 'ស្វាយប៉ាេ', 'បាត់ដំបង', 'បាត់ដំបង', 'parents', NULL, 'parents', '2017-11-13 11:14:45', '2017-11-13 11:14:49', 'uploads/none.jpg', ''),
(239, 'ឡម សុជីវ័ន្ត', 'lam sochivann', 'm', 'single', 'khmer', '1992-10-29', '170693732', '016777884', 'others', '557', '', '15', 'កម្មករ', 'ស្វាយប៉ាេ', 'បាត់ដំបង', 'បាត់ដំបង', 'owner', NULL, 'parents', '2017-11-14 03:57:28', '2017-11-14 03:57:32', 'uploads/none.jpg', ''),
(240, 'ប៉ក់​ សុផាន់និត្រ', 'paksophanith', 'm', 'married', 'khmer', '1992-08-31', '170705651', '098606866', 'others', '', '', '41', 'ព្រែកមហាលទេព', 'ស្វាយប៉ាេ', 'បាត់ដំបង', 'បាត់ដំបង', 'parents', NULL, 'parents', '2017-11-19 05:36:59', '2017-11-19 05:37:03', 'uploads/none.jpg', ''),
(241, 'ឆែម ម៉ារ៉ា', 'chhemmara', 'm', 'single', 'khmer', '1993-10-20', '170808948', '093999590', 'others', '158', '', '07', 'ចំការចេក', 'ស៊ុង', 'សំឡូុុត', 'បាត់ដំបង', 'owner', NULL, 'single', '2017-11-20 06:56:01', '2017-11-27 03:49:59', 'uploads/none.jpg', ''),
(242, 'សំ​ ឌីណា', 'som dina', 'm', 'married', 'khmer', '1990-11-05', '170737762', '087235845', 'high_school', '242', '12', '', 'ព្រែកព្រះស្ដេច', 'ព្រែកព្រះស្ដេច', 'បាត់ដំបង', 'បាត់ដំបង', 'owner', NULL, 'parents', '2017-11-20 12:30:42', '2017-11-20 12:30:42', 'uploads/customers/5a12caf286a5c.jpg', ''),
(243, 'វៀង សាវី', 'veng savy', 'm', 'married', 'khmer', '1989-09-25', '170899564', '089747433', 'others', '97', '', '1', 'កូនសេក', 'អូរម៉ាល់', 'បាត់ដំបង', 'បាត់ដំបង', 'owner', NULL, 'parents', '2017-11-23 11:44:13', '2017-11-23 11:44:28', 'uploads/none.jpg', ''),
(244, 'ណម ឆៃយ៉ា', 'norm chhaiya', 'm', 'single', 'khmer', '1991-03-08', '171014305', '0966658056', 'others', '633', '', '25', 'ពពាលខែ', 'ជ្រៃ', 'ថ្មគោល', 'បាត់ដំបង', 'owner', NULL, 'parents', '2017-11-24 03:34:32', '2017-11-24 03:34:37', 'uploads/none.jpg', ''),
(245, 'ទ្រី ចរិយា', 'tree chakriya', 'm', 'married', 'khmer', '1982-01-22', '170786091', '077226266', 'others', '', '', '1', 'រំចេក៤', 'រតនៈ', 'បាត់ដំបង', 'បាត់ដំបង', 'owner', NULL, 'parents', '2017-11-24 11:47:34', '2017-11-24 11:47:40', 'uploads/none.jpg', ''),
(246, 'ឆៃ សុខគា', 'chhai sokkea', 'm', 'single', 'khmer', '1995-07-07', '170690650', '010229242', 'others', '4', '', '1', 'គីឡូូ៩', 'ជ្រៃសីមា', 'សំពៅលូន', 'បាត់ដំបង', 'owner', NULL, 'parents', '2017-11-25 09:19:21', '2017-11-25 09:19:24', 'uploads/none.jpg', ''),
(247, 'វ័ន្ត ធី', 'vannthy', 'f', 'single', 'khmer', '1985-10-03', '170917264', '070919518', 'others', '152', '', '07', 'អូរចារ', 'អូរចារ', 'បាត់ដំបង', 'បាត់ដំបង', 'parents', NULL, 'parents', '2017-11-26 03:06:52', '2017-11-26 03:06:58', 'uploads/none.jpg', ''),
(248, 'ឃុត វណ្ណះ', 'khutvannak', 'm', 'married', 'khmer', '1964-03-02', '170683648', '012976256', 'others', '', '', '03', 'បែកចានថ្មី', 'ព្រែកព្រះស្ដេច', 'បាត់ដំបង', 'បាត់ដំបង', 'owner', NULL, 'wife', '2017-11-26 03:21:06', '2017-11-26 03:21:11', 'uploads/none.jpg', ''),
(249, 'ឈុំ សៀវឌី', 'chhum sievdy', 'm', 'single', 'khmer', '1991-07-30', '170559168', '069383863', 'others', '132', '', '10', 'ច្រាបក្រសាំង', 'វត្តគរ', 'បាត់ដំបង', 'បាត់ដំបង', 'owner', NULL, 'parents', '2017-11-27 08:34:23', '2017-11-27 08:34:31', 'uploads/none.jpg', ''),
(250, 'ហួត សីឧសភា', 'hout seyossaphear', 'm', 'married', 'khmer', '1986-05-10', '170831186', '087878830', 'others', '', '', '14', 'ចំការសំរោង១', 'ចំការសំរោង', 'បាត់ដំបង', 'បាត់ដំបង', 'owner', NULL, 'parents', '2017-11-27 09:08:00', '2017-11-27 09:08:06', 'uploads/none.jpg', ''),
(251, 'មឿង សំភ្ត័ស', 'moeung samphors', 'f', 'single', 'khmer', '2017-11-30', '020759159', '070229969', NULL, '', '', '', 'ឆ្មាពួន', 'ជើងកើប', 'កណ្តាលស្ទឹង', 'កណ្តាល', 'owner', NULL, 'parents', '2017-11-30 01:11:26', '2017-11-30 01:11:30', 'uploads/none.jpg', ''),
(252, 'ញឹក សុខុម', 'nheak sokhum', 'm', 'married', 'khmer', '1975-03-01', '170431909', '012935558', 'others', '', '', '2', 'បោះពោធ៏ជ្រៃ', 'សេរីមានជ័យ', 'សំពៅលូន', 'បាត់ដំបង', 'owner', NULL, 'parents', '2017-12-01 05:22:54', '2017-12-01 05:22:58', 'uploads/none.jpg', ''),
(253, 'ជា ហៀង', 'cheaheang', 'm', 'married', 'khmer', '1982-07-26', '170382719', '012308639', 'others', '118', '', '10', '13មករា', 'ព្រែកព្រះស្ដេច', 'បាត់ដំបង', 'បាត់ដំបង', 'owner', NULL, 'wife', '2017-12-01 08:32:13', '2017-12-01 08:34:02', 'uploads/none.jpg', ''),
(254, 'អឿន សុខវីរះ', 'oevrnsokvirear', 'm', 'married', 'khmer', '2017-12-01', '170958412', '093977840', 'others', '', '', '37', 'ព្រែកមហាលទេព', 'ស្វាយប៉ាេ', 'បាត់ដំបង', 'បាត់ដំបង', 'owner', NULL, 'parents', '2017-12-01 10:47:41', '2017-12-01 10:47:45', 'uploads/none.jpg', ''),
(255, 'យុាំ កន្ធិដ្ធា', 'yam kannytha', 'f', 'single', 'khmer', '1991-09-03', '170991038', '086213435', 'others', '530', '', '33', 'វត្តតាមិម', 'អូរដំបង១', 'សង្កែ', 'បាត់ដំបង', 'owner', NULL, 'parents', '2017-12-02 09:02:26', '2017-12-02 09:02:30', 'uploads/none.jpg', ''),
(256, 'សឹត​​​ វិសាល', 'soeuth visal', 'm', 'single', 'khmer', '1993-03-04', '170638204', '081219928', 'others', '462', '', '9', 'រំចេក៤', 'រតនៈ', 'បាត់ដំបង', 'បាត់ដំបង', 'owner', NULL, 'parents', '2017-12-03 08:29:10', '2017-12-03 08:29:14', 'uploads/none.jpg', ''),
(257, 'មីុន សាលីអា', 'min salya', 'f', 'single', 'khmer', '1997-03-02', '170895107', '069606796', 'others', '524', '', '39', 'ដាំស្តៃ', 'ស្លាកែត', 'បាត់ដំបង', 'បាត់ដំបង', 'owner', NULL, 'parents', '2017-12-04 09:04:32', '2017-12-04 09:04:35', 'uploads/none.jpg', ''),
(258, 'តាំង វួចហ៊ាង', 'tang vouchheang', 'f', 'single', 'khmer', '1997-02-01', '170840520', '093423131', 'others', '247', '', '8', 'អន្លង់វិល', 'អន្លង់វិល', 'សង្កែ', 'បាត់ដំបង', 'owner', NULL, 'parents', '2017-12-06 06:22:26', '2017-12-06 06:22:30', 'uploads/none.jpg', ''),
(259, 'សេង សំបាត់', 'seng sambath', 'm', 'married', 'khmer', '1957-03-02', '170035088', '012456425', 'others', '315', '', '10', 'ទូលតាឯក', 'ទូលតាឯក', 'បាត់ដំបង', 'បាត់ដំបង', 'owner', NULL, 'parents', '2017-12-06 06:48:15', '2017-12-06 06:48:18', 'uploads/none.jpg', ''),
(260, 'សែត វិបុល', 'set vibol', 'm', 'single', 'khmer', '1991-03-02', '210052969', '093947790', 'others', '', '', '', 'បឹងព្រលិត', 'ស្ទឹងកាច់', 'សាលាក្រៅ', 'ប៉ៃលិន', 'owner', NULL, 'parents', '2017-12-07 03:54:00', '2017-12-07 03:54:07', 'uploads/none.jpg', ''),
(261, 'កែវ​ សុផល', 'keo sophal', 'm', 'married', 'khmer', '1984-07-06', '170406514', '093693461', 'others', '594', '', '24', 'អូរស្រឡៅ', 'អូរចារ១', 'សង្កែ', 'បាត់ដំបង', 'owner', NULL, 'wife', '2017-12-07 09:03:39', '2017-12-07 09:03:42', 'uploads/none.jpg', ''),
(262, 'ជុង ស្រីពៅ', 'chung sreypov', 'f', 'single', 'khmer', '1992-08-23', 'N00322516', '098855455', 'others', '', '', '', 'អូរតាគាំ២', 'ទូលតាឯក', 'បាត់ដំបង', 'បាត់ដំបង', 'owner', NULL, 'parents', '2017-12-07 09:32:49', '2017-12-07 09:32:52', 'uploads/none.jpg', ''),
(263, 'បង ភ័ក្រ', 'Bong Peak', 'm', 'single', 'khmer', '2018-01-11', '11121112', '096 89 79 69', 'college', '', '', '', '', '', '', '', 'owner', NULL, 'parents', '2018-01-11 09:56:04', '2018-01-11 09:56:04', 'uploads/none.jpg', ''),
(264, 'ភឿន កុសល', 'Phoueurn Kosal', 'm', 'married', 'khmer', '1992-07-07', '1122111122221', '090 567 890', 'college', '', '', '', '', '', '', '', 'owner', NULL, 'parents', '2018-01-12 12:26:15', '2018-01-12 12:26:15', 'uploads/customers/2 (1).jpg', ''),
(265, 'Jea Phea', 'Jea Phea', 'f', 'single', 'khmer', '1990-06-06', '5556444', '2222222222', NULL, '', '', '', '', '', '', '', 'owner', NULL, 'parents', '2018-01-15 03:36:36', '2018-01-15 03:36:36', 'uploads/none.jpg', '');

-- --------------------------------------------------------

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

CREATE TABLE `migrations` (
  `migration` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `batch` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

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

INSERT INTO `migrations` (`migration`, `batch`) VALUES
('2016_06_10_023012_create_Products_table', 1),
('2016_06_10_023013_create_Branches_table', 1),
('2016_06_10_023013_create_ProductCategories_table', 1),
('2016_06_10_023013_create_Suppliers_table', 1),
('2016_06_10_023013_create_Users_table', 1),
('2016_06_10_031321_add_password_to_user_table', 1),
('2016_06_10_042334_create_customers_table', 1),
('2016_06_10_043218_add_sex_to_User_table', 1),
('2016_06_10_045521_create_customer_foreign_keys', 1),
('2016_06_17_062228_create_Outlets_table', 1),
('2016_06_17_103325_add_user_id_to_Customers_table', 1),
('2016_06_17_113117_create_Positions_table', 1),
('2016_06_17_113846_add_contact_position_to_Suppliers_table', 1),
('2016_06_19_160440_create_item_locations_table', 1),
('2016_06_19_160444_create_foreign_keys', 1),
('2016_06_22_125506_create_Units_table', 1),
('2016_06_22_134103_add_unit_id_column_to_product_table', 1),
('2016_06_22_164423_create_Roles_table', 1),
('2016_06_22_164544_create_Permissions_table', 1),
('2016_06_22_164750_create_Permission_Role_table', 1),
('2016_06_22_165450_create_user_role_id_foreign_keys', 1),
('2016_06_24_050824_add_fields_to_permission_table', 1),
('2016_06_25_151855_create_Histories_table', 1),
('2016_06_26_030110_add_fields_to_Products_table', 1),
('2016_06_27_051634_add_fields_to_Histories_table', 1),
('2016_06_30_073508_create_Settings_table', 1),
('2016_06_30_151730_create_Invoices_table', 1),
('2016_06_30_153621_create_Orders_table', 1),
('2016_07_06_044434_add_feature_item_field_to_Products_table', 1),
('2016_07_07_121315_add_tax_field_to_Invoices_table', 1),
('2016_07_14_150158_add_stock_id_to_Users_table', 1),
('2016_07_14_152107_create_Profits_table', 1),
('2016_07_22_104312_add_sku_field_to_Orders_table', 1),
('2016_07_29_172524_add_user_id_to_Order_table', 1),
('2016_08_05_120957_add_on_hold_and_avalaible_amount_to_Outlets_table', 1),
('2016_08_15_094009_create_supplier_invoices_table', 1),
('2016_08_15_225338_add_sup_invoice_id_to_orders_table', 1),
('2016_08_19_135359_add_sup_invoice_id_to_profits', 1),
('2016_08_25_152140_add_fields_recieved_dollar_and_riel_invoices', 1),
('2016_09_07_110950_create_table_quotations', 1),
('2016_09_07_111115_create_table_customer_quotations', 1),
('2017_01_01_150355_add_barcode_alternative_to_products_table', 2),
('2017_05_05_074047_create_interests_table', 3),
('2017_05_05_074307_create_payments_table', 3),
('2017_05_08_173907_create_installments_table', 4),
('2017_05_15_162148_create_loan_customers_table', 5),
('2017_05_15_163653_create_installments_table', 5),
('2017_05_15_163722_create_payments_table', 5),
('2017_05_15_173041_create_receipt_incomes_table', 5),
('2017_05_15_173324_create_companies_table', 5),
('2017_05_15_173539_create_garantors_table', 5),
('2017_05_15_1636521_create_installments_table', 6),
('2018_01_19_203003_create_mortgages_table', 7),
('2018_01_27_151755_crate_mortgage_payments_table', 7);

-- --------------------------------------------------------

--
-- Table structure for table `mortgages`
--

CREATE TABLE `mortgages` (
  `id` int(10) UNSIGNED NOT NULL,
  `fullname` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `tel` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `id_card` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `address` text COLLATE utf8_unicode_ci,
  `product_name` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `product_id` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `photo` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `price` float(8,2) NOT NULL,
  `price_out` float DEFAULT NULL,
  `rate` float(8,2) NOT NULL,
  `start_date` date NOT NULL,
  `end_date` date NOT NULL,
  `note` text COLLATE utf8_unicode_ci,
  `status` enum('progressing','completed','pendding') COLLATE utf8_unicode_ci NOT NULL DEFAULT 'pendding',
  `user_id` int(11) NOT NULL,
  `paid_off_date` timestamp NULL DEFAULT NULL,
  `total_payment` float DEFAULT NULL,
  `is_expired` tinyint(1) NOT NULL DEFAULT '0',
  `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00'
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `mortgages`
--

INSERT INTO `mortgages` (`id`, `fullname`, `tel`, `id_card`, `address`, `product_name`, `product_id`, `photo`, `price`, `price_out`, `rate`, `start_date`, `end_date`, `note`, `status`, `user_id`, `paid_off_date`, `total_payment`, `is_expired`, `created_at`, `updated_at`) VALUES
(1, 'Jane Dope', '090 000 445', '0099112', 'Battambang', 'TEST', '0099911', 'uploads/mortgages/none.jpg', 500.00, 300, 5.00, '2017-12-28', '2018-01-29', '', 'completed', 3, '2018-01-30 09:41:50', NULL, 1, '2018-01-30 08:45:43', '2018-01-30 09:41:50'),
(2, 'Customer 101', '099 009 000', '009998811', 'Battamabang city', 'Iphone X (128GB) Black', '111111112211', 'uploads/mortgages/none.jpg', 1000.00, 500, 5.00, '2018-01-01', '2018-02-01', '', 'completed', 3, '2018-01-30 10:36:44', 512.5, 0, '2018-01-30 09:43:35', '2018-01-30 10:36:44'),
(3, 'TEST', '00999', '000099999', 'Battambang city', 'Honda Dream 2018 Red C125', 'AB-11211-1112', 'uploads/mortgages/none.jpg', 900.00, 300, 5.00, '2018-01-01', '2018-02-01', '', 'completed', 3, '2018-01-30 10:41:29', 307.5, 0, '2018-01-30 10:39:56', '2018-01-30 10:41:29'),
(4, 'ភេង សារាំង', '090 090 0900', '5744 1112', '#290 battambang city battambang province', 'Samsung Galaxy Note 8', '0009999911112', 'uploads/mortgages/none.jpg', 900.00, 900, 5.00, '2018-01-30', '2018-02-28', '', 'progressing', 3, NULL, NULL, 0, '2018-01-30 10:49:37', '2018-01-30 11:01:42'),
(5, 'fddffd', 'dfdfsdfs', 'dfsdfs', 'fddfsdfs', 'dfdfsdsf', 'dfsdfs', 'uploads/mortgages/5a7051736cf61_xiaomi-redmi-5.jpg', 300.00, 300, 5.00, '2018-01-30', '2018-02-28', '', 'pendding', 3, NULL, NULL, 0, '2018-01-30 11:05:23', '2018-01-30 11:05:23'),
(6, 'Jane doe', '012 333 222', '00911122', '#443 New Battambang', 'Product Name', '1112', 'uploads/mortgages/none.jpg', 500.00, 400, 5.00, '2018-01-30', '2018-02-28', '', 'pendding', 3, NULL, NULL, 0, '2018-01-30 11:16:50', '2018-01-30 11:16:50');

-- --------------------------------------------------------

--
-- Table structure for table `mortgage_payments`
--

CREATE TABLE `mortgage_payments` (
  `id` int(10) UNSIGNED NOT NULL,
  `mortgage_id` int(11) NOT NULL,
  `start_date` date DEFAULT NULL,
  `payment_date` date NOT NULL,
  `fee_date` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `amount` float(8,2) NOT NULL,
  `principal` float(8,2) NOT NULL,
  `interest` float(8,2) NOT NULL,
  `is_paid_interest` tinyint(1) NOT NULL DEFAULT '0',
  `is_paid` tinyint(1) NOT NULL DEFAULT '0',
  `note` text COLLATE utf8_unicode_ci,
  `receipt_id` int(11) DEFAULT NULL,
  `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00'
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `mortgage_payments`
--

INSERT INTO `mortgage_payments` (`id`, `mortgage_id`, `start_date`, `payment_date`, `fee_date`, `amount`, `principal`, `interest`, `is_paid_interest`, `is_paid`, `note`, `receipt_id`, `created_at`, `updated_at`) VALUES
(1, 1, '2017-12-28', '2018-01-29', '2018-01-30 09:41:49', 315.00, 300.00, 15.00, 0, 0, NULL, NULL, '2018-01-30 08:45:43', '2018-01-30 09:41:49'),
(2, 2, '2018-01-01', '2018-02-01', '2018-01-30 09:51:27', 525.00, 500.00, 25.00, 1, 1, NULL, 13, '2018-01-30 09:43:35', '2018-01-30 09:51:27'),
(3, 2, NULL, '2018-03-01', '2018-01-30 10:35:38', 525.00, 500.00, 25.00, 1, 1, NULL, NULL, '2018-01-30 09:51:27', '2018-01-30 10:35:38'),
(4, 2, NULL, '2018-04-01', '2018-01-30 10:35:58', 525.00, 500.00, 25.00, 1, 1, NULL, NULL, '2018-01-30 10:31:52', '2018-01-30 10:35:58'),
(5, 2, NULL, '2018-04-01', '2018-01-30 10:35:38', 525.00, 500.00, 25.00, 0, 0, NULL, NULL, '2018-01-30 10:35:38', '2018-01-30 10:35:38'),
(6, 2, NULL, '2018-05-01', '2018-01-30 10:36:44', 525.00, 500.00, 25.00, 0, 1, NULL, 14, '2018-01-30 10:35:58', '2018-01-30 10:36:44'),
(7, 3, NULL, '2018-02-01', '2018-01-30 10:41:05', 315.00, 300.00, 15.00, 1, 1, NULL, 15, '2018-01-30 10:39:56', '2018-01-30 10:41:05'),
(8, 3, NULL, '2018-03-01', '2018-01-30 10:41:29', 315.00, 300.00, 15.00, 0, 1, NULL, 16, '2018-01-30 10:41:05', '2018-01-30 10:41:29'),
(9, 4, NULL, '2018-02-28', '2018-01-30 10:52:52', 472.50, 450.00, 22.50, 1, 1, 'Lorem test', 17, '2018-01-30 10:49:37', '2018-01-30 10:52:52'),
(10, 4, NULL, '2018-03-28', '2018-01-30 11:01:42', 472.50, 450.00, 22.50, 1, 1, NULL, NULL, '2018-01-30 10:52:52', '2018-01-30 11:01:42'),
(11, 4, NULL, '2018-04-28', '2018-01-30 11:01:42', 945.00, 900.00, 45.00, 0, 0, NULL, NULL, '2018-01-30 11:01:42', '2018-01-30 11:01:42'),
(12, 5, NULL, '2018-02-28', '0000-00-00 00:00:00', 315.00, 300.00, 15.00, 0, 0, NULL, NULL, '2018-01-30 11:05:23', '2018-01-30 11:05:23'),
(13, 6, NULL, '2018-02-28', '0000-00-00 00:00:00', 420.00, 400.00, 20.00, 0, 0, NULL, NULL, '2018-01-30 11:16:50', '2018-01-30 11:16:50');

-- --------------------------------------------------------

--
-- Table structure for table `orders`
--

CREATE TABLE `orders` (
  `id` int(10) UNSIGNED NOT NULL,
  `invoice_id` int(10) UNSIGNED DEFAULT '0',
  `product_id` int(11) DEFAULT '0',
  `amount` int(10) UNSIGNED DEFAULT '0',
  `stock_id` int(11) DEFAULT NULL,
  `price` float(8,2) UNSIGNED DEFAULT '0.00',
  `discount` int(11) DEFAULT '0',
  `note` text COLLATE utf8_unicode_ci,
  `sold` tinyint(1) DEFAULT '0',
  `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `sku` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `user_id` int(10) UNSIGNED NOT NULL,
  `sup_invoice_id` int(11) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

-- --------------------------------------------------------

--
-- Table structure for table `outlets`
--

CREATE TABLE `outlets` (
  `id` int(10) UNSIGNED NOT NULL,
  `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `product_id` int(10) UNSIGNED DEFAULT NULL,
  `price` float(8,2) NOT NULL,
  `discount` int(10) UNSIGNED DEFAULT '0',
  `user_id` int(10) UNSIGNED DEFAULT NULL,
  `amount` int(10) UNSIGNED NOT NULL,
  `sku` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `stock_id` int(10) UNSIGNED DEFAULT NULL,
  `note` text COLLATE utf8_unicode_ci,
  `on_hold` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `available_amount` int(10) UNSIGNED NOT NULL DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

-- --------------------------------------------------------

--
-- Table structure for table `payables`
--

CREATE TABLE `payables` (
  `id` int(11) NOT NULL,
  `deposit` float DEFAULT NULL,
  `amount` float DEFAULT NULL,
  `changed` float DEFAULT NULL,
  `note` text,
  `user_id` int(10) UNSIGNED DEFAULT NULL,
  `invoice_id` int(11) DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL ON UPDATE CURRENT_TIMESTAMP,
  `updated_at` timestamp NULL DEFAULT NULL ON UPDATE CURRENT_TIMESTAMP,
  `sup_invoice_id` int(10) UNSIGNED DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

-- --------------------------------------------------------

--
-- Table structure for table `payments`
--

CREATE TABLE `payments` (
  `id` int(100) UNSIGNED NOT NULL,
  `payment_date` date NOT NULL,
  `amount` float(11,2) NOT NULL,
  `interest` float(11,2) DEFAULT NULL,
  `principal` float(11,2) DEFAULT NULL,
  `balance` float(11,2) UNSIGNED DEFAULT NULL,
  `debt` float(11,2) UNSIGNED DEFAULT NULL,
  `late_day` int(11) DEFAULT NULL,
  `fee_date` timestamp NULL DEFAULT NULL,
  `fee_late` float(8,2) DEFAULT NULL,
  `is_paid_all` tinyint(1) NOT NULL DEFAULT '0',
  `is_paid` tinyint(1) NOT NULL DEFAULT '0',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `installment_id` int(10) UNSIGNED DEFAULT NULL,
  `term_id` int(11) DEFAULT NULL,
  `receipt_id` int(11) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `payments`
--

INSERT INTO `payments` (`id`, `payment_date`, `amount`, `interest`, `principal`, `balance`, `debt`, `late_day`, `fee_date`, `fee_late`, `is_paid_all`, `is_paid`, `created_at`, `updated_at`, `installment_id`, `term_id`, `receipt_id`) VALUES
(1, '2017-12-29', 67.00, 8.67, 58.33, NULL, NULL, 31, '2017-12-29 09:26:29', 0.00, 0, 1, '2018-01-29 09:25:29', '2018-01-29 09:26:29', 1, 1, 1),
(2, '2018-01-29', 65.00, 6.67, 58.33, NULL, NULL, 0, '2018-01-29 11:02:44', 0.00, 1, 1, '2018-01-29 09:25:29', '2018-01-29 11:02:44', 1, 2, 12),
(3, '2018-02-28', 65.00, 6.67, 58.33, NULL, NULL, NULL, NULL, NULL, 0, 0, '2018-01-29 09:25:29', '2018-01-29 10:59:17', 1, 3, NULL),
(4, '2018-03-29', 65.00, 6.67, 58.33, NULL, NULL, NULL, NULL, NULL, 0, 0, '2018-01-29 09:25:29', '2018-01-29 10:59:13', 1, 4, NULL),
(5, '2018-04-29', 65.00, 6.67, 58.33, NULL, NULL, NULL, NULL, NULL, 0, 0, '2018-01-29 09:25:29', '2018-01-29 09:25:29', 1, 5, NULL),
(6, '2018-05-29', 65.00, 6.67, 58.33, NULL, NULL, NULL, NULL, NULL, 0, 0, '2018-01-29 09:25:29', '2018-01-29 09:25:29', 1, 6, NULL),
(7, '2018-02-28', 87.60, 7.60, 80.00, NULL, NULL, 0, '2018-01-29 10:35:57', 0.00, 0, 1, '2018-01-29 09:36:13', '2018-01-29 10:35:57', 2, 1, 6),
(8, '2018-03-29', 86.00, 6.00, 80.00, NULL, NULL, NULL, NULL, NULL, 0, 0, '2018-01-29 09:36:13', '2018-01-29 09:36:13', 2, 2, NULL),
(9, '2018-04-29', 86.00, 6.00, 80.00, NULL, NULL, NULL, NULL, NULL, 0, 0, '2018-01-29 09:36:13', '2018-01-29 09:36:13', 2, 3, NULL),
(10, '2018-05-29', 86.00, 6.00, 80.00, NULL, NULL, NULL, NULL, NULL, 0, 0, '2018-01-29 09:36:13', '2018-01-29 09:36:13', 2, 4, NULL),
(11, '2017-11-15', 80.40, 10.40, 70.00, NULL, NULL, 75, '2017-11-15 10:39:58', 0.00, 0, 1, '2018-01-29 10:39:27', '2018-01-29 10:39:58', 3, 1, 7),
(12, '2017-12-15', 78.00, 8.00, 70.00, NULL, NULL, 45, '2017-12-15 10:40:22', 0.00, 0, 1, '2018-01-29 10:39:27', '2018-01-29 10:40:22', 3, 2, 8),
(13, '2018-01-15', 78.00, 8.00, 70.00, NULL, NULL, NULL, NULL, NULL, 0, 0, '2018-01-29 10:39:27', '2018-01-29 10:39:27', 3, 3, NULL),
(14, '2018-02-15', 78.00, 8.00, 70.00, NULL, NULL, NULL, NULL, NULL, 0, 0, '2018-01-29 10:39:27', '2018-01-29 10:39:27', 3, 4, NULL),
(15, '2018-03-15', 78.00, 8.00, 70.00, NULL, NULL, NULL, NULL, NULL, 0, 0, '2018-01-29 10:39:27', '2018-01-29 10:39:27', 3, 5, NULL),
(16, '2018-04-15', 78.00, 8.00, 70.00, NULL, NULL, NULL, NULL, NULL, 0, 0, '2018-01-29 10:39:27', '2018-01-29 10:39:27', 3, 6, NULL);

-- --------------------------------------------------------

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

CREATE TABLE `permissions` (
  `id` int(10) UNSIGNED NOT NULL,
  `permission_name` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `display_name` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `description` text COLLATE utf8_unicode_ci NOT NULL,
  `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `display_name_khmer` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `permission_group` varchar(255) COLLATE utf8_unicode_ci NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

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

INSERT INTO `permissions` (`id`, `permission_name`, `display_name`, `description`, `created_at`, `updated_at`, `display_name_khmer`, `permission_group`) VALUES
(1, 'create_user', 'Create user', '', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'បង្កើតអ្នកប្រើប្រាស់', 'user_position_role'),
(2, 'edit_user', 'Edit User', '', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'កែប្រែអ្នកប្រើប្រាស់', 'user_position_role'),
(3, 'delete_user', 'Delete User', '', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'លុបអ្នកប្រើប្រាស់', 'user_position_role'),
(4, 'list_user', 'List All Users', '', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'បង្ហាញអ្នកប្រើប្រាស់', 'user_position_role'),
(5, 'create_product', 'Create Product', '', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'បង្កើតផលិតផល', 'product'),
(6, 'edit_product', 'Edit Product', '', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'កែប្រែផលិតផល', 'product'),
(7, 'delete_product', 'Delete Product', '', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'លុបផលិតផល', 'product'),
(8, 'list_product', 'List All Products', '', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'បង្ហាញផលិតផល', 'product'),
(9, 'update_ref', 'Update Reference ID', '', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'កែប្រែលេខឯកសាយោង', 'product'),
(10, 'print_barcode', 'Print Barcode', '', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'អាចបោះពុម្ភបាកូដ', 'product'),
(11, 'add_unit', 'Add Unit', '', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'បន្ថែមឯកតា', 'product'),
(12, 'edit_unit', 'Edit Unit', '', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'កែប្រែឯកតា', 'product'),
(13, 'delete_unit', 'Delete Unit', '', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'លុបឯកតា', 'product'),
(14, 'list_unit', 'List All Units', '', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'បង្ហាញឯកតា', 'product'),
(15, 'add_category', 'Add Category', '', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'បន្ថែមក្រុមទំនិញ', 'product'),
(16, 'edit_category', 'Edit Category', '', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'បន្ថែមក្រុមទំនិញ', 'product'),
(17, 'delete_category', 'Delete Category', '', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'លុបក្រុមទំនិញ', 'product'),
(18, 'list_category', 'List All Categories', '', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'បង្ហាញក្រុមទំនិញ', 'product'),
(32, 'create_customer', 'Create Customer', '', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'បង្កើតអតិថិជន', 'customer'),
(33, 'list_customer', 'List all Customers', '', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'បង្ហាញអតិថិជន', 'customer'),
(34, 'edit_customer', 'Edit Customer', '', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'កែប្រែអតិថិជន', 'customer'),
(35, 'delete_customer', 'Delete Customer', '', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'លុបអតិថិជន', 'customer'),
(36, 'create_role', 'Create Role', '', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'បង្កើតតួនាទី', 'user_position_role'),
(37, 'list_role', 'List all Roles', '', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'បង្ហាញតួនាទី', 'user_position_role'),
(38, 'edit_role', 'Edit Role', '', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'កែប្រែតួនាទី', 'user_position_role'),
(39, 'delete_role', 'Delete Role', '', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'លុបតួនាទី', 'user_position_role'),
(40, 'create_position', 'Create Position', '', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'បង្កើតមុខតំណែង', 'user_position_role'),
(41, 'delete_position', 'Delete Position\r\n', '', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'លុបមុខតំណែង', 'user_position_role'),
(42, 'edit_position', 'Edit Position', '', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'កែប្រែមុខតំណែង', 'user_position_role'),
(43, 'create_location', 'Create Location', '', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'បង្កើតទីតាំង', 'location'),
(44, 'list_location', 'List all Locations', '', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'បង្ហាញទីតាំង', 'location'),
(45, 'edit_location', 'Edit Location', '', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'កែប្រែទីតាំង', 'location'),
(46, 'delete_location', 'Delete Location', '', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'លុបទីតាំង', 'location'),
(47, 'create_supplier', 'Create Supplier', '', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'បង្កើតក្រុមហ៊ុនផ្គត់ផ្គង់', 'supplier'),
(48, 'list_supplier', 'List all Suppliers', '', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'បង្ហាញក្រុមហ៊ុនផ្គត់ផ្គង់', 'supplier'),
(49, 'edit_supplier', 'Edit Supplier', '', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'កែប្រែក្រុមហ៊ុនផ្គត់ផ្គង់', 'supplier'),
(50, 'delete_supplier', 'Delete Supplier', '', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'លុបក្រុមហ៊ុនផ្គត់ផ្គង់', 'supplier'),
(51, 'create_income', 'Create Income', '', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'បង្កើត​ ប្រាក់ចំណូល / ចំណាយ', 'income_expense_debt'),
(52, 'list_income', 'List all Income', '', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'បង្ហាញ  ប្រាក់ចំណូល / ចំណាយ', 'income_expense_debt'),
(53, 'edit_income', 'Edit Income', '', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'កែប្រែ ប្រាក់ចំណូល / ចំណាយ', 'income_expense_debt'),
(54, 'delete_income', 'Delete Income', '', '0000-00-00 00:00:00', '0000-00-00 00:00:00', ' លុប​ ប្រាក់ចំណូល / ចំណាយ', 'income_expense_debt'),
(55, 'create_invoice', 'Create Invoice', '', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'បង្កើតវិក័យបត្រ', 'invoice'),
(56, 'list_invoice', 'List all Invoices', '', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'បង្ហាញវិក័យបត្រ', 'invoice'),
(57, 'edit_invoice', 'Edit Invoice', '', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'កែប្រែវិក័យបត្រ', 'invoice'),
(58, 'delete_invoice', 'Delete Invoice', '', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'លុបវិក័យបត្រ', 'invoice'),
(59, 'profit_report', 'Income / Expense', '', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'ប្រាក់ចំណូល / ចំណាយ', 'report'),
(61, 'sale_history', 'Sale History', '', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'ប្រវត្តិការលក់', 'report'),
(63, 'product_warehouse', 'Product in Warehose', '', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'ផលិតផលក្នុុងស្តុក', 'report'),
(64, 'delete_draft_invoice', 'Delete Draft Invoice', '', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'លុបវិក័យបត្រមិនបានប្រើប្រាស់', 'invoice'),
(65, 'create_purchase_order', 'Create Purchase Order', '', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'បង្កើតការបញ្ជារទិញ', 'supplier'),
(66, 'list_purchase_order', 'List All Purchase Order', '', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'បង្ហាញការបញ្ជាទិញ', 'supplier'),
(67, 'detail_purchase_order', 'Detail Purchase Order', '', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'មើលលំអិតការបញ្ជារទិញ', 'supplier'),
(68, 'approve_purchase_order', 'Approve Purchase Order', '', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'អនុម័តការបញ្ជារទិញ', 'supplier'),
(69, 'print_purchase_order', 'Print Purchase Order', '', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'បោះពុម្ភការបញ្ជារទិញ', 'supplier'),
(70, 'delete_purchase', 'Delete Purchase Order', '', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'លុបការបញ្ជារទិញ', 'supplier'),
(71, 'create_quotation', 'Create Quotation', '', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'បង្កើត Quotation', 'quotation'),
(72, 'list_quotation', 'List All Quotation', '', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'បង្ហាញ Quotation', 'quotation'),
(73, 'delete_quotation', 'Delete Quotation', '', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'លុប Quotation', 'quotation'),
(74, 'detail_quotation', 'Detail Quotation', '', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'មើលលំអិត Quotation', 'quotation'),
(75, 'import_product', 'Import Products', '', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'Import Products', 'product'),
(76, 'detail_customer', 'Detail Customer', '', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'មើលលំអិត អតិថិជន', 'customer'),
(77, 'ms_company', 'Modify Company', '', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'ការកំណត់ ក្រុមហ៊ុន', 'setting'),
(78, 'detail_invoice', 'Detail Invoice', '', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'មើលលំអិតវិក័យបត្រ', 'invoice'),
(79, 'transfer_to_stock', 'Transfer product to stock', '', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'បន្ថែមផលិតផល ទៅក្នុងស្តុក', 'product'),
(80, 'show_product', 'Detail Product', '', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'មើលលំអិតផលិតផល', 'product'),
(81, 'change_product_price', 'Change Product Price', '', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'កែរប្ររតំលៃលើ ផលិតផល', 'product'),
(82, 'quotation_to_invoice', 'Convert to Invoice', '', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'បំលែងទៅជាវិក្កយបត្រ', 'quotation'),
(83, 'create_service', 'Create Service', '', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'បន្ថែម សេវាកម្មជួសជុល', 'service'),
(84, 'edit_service', 'Edit Service', '', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'កែប្រែ សេវាកម្មជួសជុល', 'service'),
(85, 'send_service', 'Send Service', '', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'ផ្ញើរផលិតផល', 'service'),
(86, 'repair_service', 'Repair Service', '', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'ជួសជុល', 'service'),
(87, 'call_service', 'Call Service', '', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'ខលទៅអតិថិជន', 'service'),
(88, 'checkou_service', 'Checkou Service', '', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'គិតលុយ', 'service'),
(89, 'show_all_service', 'Show all Service', '', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'បង្លាញទាំងអស់', 'service'),
(90, 'complete_service', 'Completed Service', '', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'មើលផិតផល ជួសជុលរួច', 'service'),
(91, 'ms_invoice', 'Modify Invoice', '', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'ការកំណត់​ វិក្កយបត្រ', 'setting'),
(92, 'ms_style', 'Modify Style', '', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'ការកំណត់ Customer Style', 'setting'),
(93, 'can_sale', 'Can Sale', '', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'អាចលក់', 'user_position_role'),
(94, 'print_service', 'Print Service', '', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'បោះពុម្ភ បង្កាន់ដៃជួសជុល', 'service'),
(95, 'create_debt', 'Create Debt', '', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'បង្កើត ប្រាក់បំណុល', 'income_expense_debt'),
(96, 'edit_debt', 'Edit Debt', '', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'កែប្រែ ប្រាក់បំណុល', 'income_expense_debt'),
(97, 'delete_debt', 'Delete Debt', '', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'លុប ប្រាក់បំណុល', 'income_expense_debt'),
(98, 'return_debt', 'Return Debt', '', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'សង ប្រាក់បំណុល', 'income_expense_debt'),
(99, 'show_debt', 'Show Debt', '', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'បង្ហាញ ប្រាក់បំណុល', 'income_expense_debt'),
(100, 'receive_payment', 'Receive Payment', '', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 'ទទួលប្រាក់បង់', 'user');

-- --------------------------------------------------------

--
-- Table structure for table `permission_role`
--

CREATE TABLE `permission_role` (
  `id` int(10) UNSIGNED NOT NULL,
  `permission_id` int(10) UNSIGNED NOT NULL,
  `role_id` int(10) UNSIGNED NOT NULL,
  `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00'
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `permission_role`
--

INSERT INTO `permission_role` (`id`, `permission_id`, `role_id`, `created_at`, `updated_at`) VALUES
(37, 80, 2, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(38, 83, 2, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(39, 85, 2, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(40, 86, 2, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(41, 87, 2, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(42, 88, 2, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(43, 89, 2, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(44, 90, 2, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(45, 94, 2, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(46, 93, 2, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(72, 32, 3, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(73, 33, 3, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(74, 34, 3, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(75, 35, 3, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(76, 76, 3, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(77, 59, 3, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(78, 77, 3, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(79, 91, 3, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(80, 92, 3, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(81, 100, 3, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(82, 1, 3, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(83, 2, 3, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(84, 3, 3, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(85, 4, 3, '0000-00-00 00:00:00', '0000-00-00 00:00:00');

-- --------------------------------------------------------

--
-- Table structure for table `positions`
--

CREATE TABLE `positions` (
  `id` int(10) UNSIGNED NOT NULL,
  `name` varchar(30) COLLATE utf8_unicode_ci NOT NULL,
  `for` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00'
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

-- --------------------------------------------------------

--
-- Table structure for table `pre_orders`
--

CREATE TABLE `pre_orders` (
  `id` int(11) NOT NULL,
  `quotation_id` int(11) DEFAULT NULL,
  `product_id` int(11) DEFAULT NULL,
  `amount` int(11) DEFAULT NULL,
  `user_id` int(11) DEFAULT NULL,
  `is_order` tinyint(1) DEFAULT '0',
  `created_at` timestamp NULL DEFAULT NULL ON UPDATE CURRENT_TIMESTAMP,
  `updated_at` timestamp NULL DEFAULT NULL ON UPDATE CURRENT_TIMESTAMP,
  `price` float(10,2) DEFAULT NULL,
  `stock_id` int(10) UNSIGNED DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `pre_orders`
--

INSERT INTO `pre_orders` (`id`, `quotation_id`, `product_id`, `amount`, `user_id`, `is_order`, `created_at`, `updated_at`, `price`, `stock_id`) VALUES
(3, 2, 4, 1, 1, 0, '2017-04-10 05:07:11', '2017-04-10 05:07:11', 600.00, 1),
(4, 2, 5, 1, 1, 0, '2017-04-10 05:10:07', '2017-04-10 05:10:07', 230.00, 1),
(5, 3, 4, 1, 1, 0, '2017-04-10 05:16:01', '2017-04-10 05:16:01', 600.00, 1),
(6, 3, 5, 1, 1, 0, '2017-04-10 05:16:01', '2017-04-10 05:16:01', 230.00, 1),
(7, 4, 1, 1, 1, 0, '2017-04-10 05:16:46', '2017-04-10 05:16:46', 900.00, 1),
(8, 5, 6, 1, 1, 0, '2017-04-10 05:20:44', '2017-04-10 05:20:44', 200.00, 1),
(9, 5, 7, 1, 1, 0, '2017-04-10 05:21:23', '2017-04-10 05:21:23', 59.00, 1),
(10, 6, 9, 1, 1, 0, '2017-04-10 08:56:22', '2017-04-10 08:56:22', 110.00, 1),
(11, 6, 7, 2, 1, 0, '2017-04-10 08:57:43', '2017-04-10 08:57:43', 59.00, 1),
(12, 7, 10, 1, 1, 0, '2017-04-10 09:02:32', '2017-04-10 09:02:32', 30.00, 1),
(13, 8, 8, 1, 1, 0, '2017-04-10 09:21:07', '2017-04-10 09:21:07', 5.00, 1),
(14, 8, 7, 1, 1, 0, '2017-04-10 09:21:07', '2017-04-10 09:21:07', 59.00, 1),
(15, 9, 7, 1, 1, 0, '2017-04-10 09:22:19', '2017-04-10 09:22:19', 59.00, 1),
(16, 9, 8, 1, 1, 0, '2017-04-10 09:22:21', '2017-04-10 09:22:21', 5.00, 1),
(17, 10, 13, 1, 1, 0, '2017-04-10 15:16:32', '2017-04-10 15:16:32', 290.00, 1),
(18, 10, 14, 1, 1, 0, '2017-04-10 15:17:29', '2017-04-10 15:17:29', 1300.00, 1),
(19, 12, 7, 1, 1, 0, '2017-04-11 03:39:09', '2017-04-11 03:39:09', 59.00, 1),
(20, 12, 12, 1, 1, 0, '2017-04-11 03:39:12', '2017-04-11 03:39:12', 900.00, 1);

-- --------------------------------------------------------

--
-- Table structure for table `productcategories`
--

CREATE TABLE `productcategories` (
  `id` int(10) UNSIGNED NOT NULL,
  `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `icon` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `comment` text COLLATE utf8_unicode_ci
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `productcategories`
--

INSERT INTO `productcategories` (`id`, `created_at`, `updated_at`, `name`, `icon`, `comment`) VALUES
(1, '2017-03-20 13:39:14', '2017-03-20 13:39:14', 'Laptop', 'http://localhost/point_of_sale/public/uploads/none.jpg', ''),
(2, '2017-03-20 13:40:26', '2017-03-20 13:40:26', 'Desktop', 'http://localhost/point_of_sale/public/uploads/none.jpg', ''),
(3, '2017-03-20 13:40:34', '2017-03-20 13:42:43', 'Accessories', 'http://localhost/point_of_sale/public/uploads/none.jpg', ''),
(4, '2017-03-20 13:43:00', '2017-03-20 13:43:00', 'Printer', 'http://localhost/point_of_sale/public/uploads/none.jpg', ''),
(5, '2017-03-20 13:43:08', '2017-03-20 13:43:08', 'Monitor', 'http://localhost/point_of_sale/public/uploads/none.jpg', ''),
(6, '2017-05-05 01:27:30', '2017-05-05 01:27:30', 'SmartPhone', NULL, NULL);

-- --------------------------------------------------------

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

CREATE TABLE `products` (
  `id` int(10) UNSIGNED NOT NULL,
  `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `sku` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `name` text COLLATE utf8_unicode_ci,
  `name_kh` text COLLATE utf8_unicode_ci,
  `price_in` float(8,2) DEFAULT NULL,
  `price` float(8,2) DEFAULT NULL,
  `price_wholesale` float(8,2) DEFAULT NULL,
  `discount` int(11) DEFAULT NULL,
  `product_category_id` int(10) UNSIGNED DEFAULT NULL,
  `thumbnail` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `amount` int(10) UNSIGNED NOT NULL,
  `min_amount` int(10) UNSIGNED DEFAULT '1',
  `user_id` int(10) UNSIGNED DEFAULT NULL,
  `is_service` tinyint(1) DEFAULT NULL,
  `expired_date` year(4) DEFAULT NULL,
  `supplier_id` int(10) UNSIGNED DEFAULT NULL,
  `item_location_id` int(10) UNSIGNED DEFAULT NULL,
  `comment` text COLLATE utf8_unicode_ci,
  `unit_id` int(10) UNSIGNED DEFAULT NULL,
  `ref_id` varchar(20) COLLATE utf8_unicode_ci DEFAULT NULL,
  `is_expiring` tinyint(1) DEFAULT NULL,
  `turn_off_notification` tinyint(1) DEFAULT NULL,
  `feature_item` tinyint(1) DEFAULT '0',
  `barcode_alternative` text COLLATE utf8_unicode_ci,
  `max_amount` int(11) DEFAULT NULL,
  `brand_id` int(1) UNSIGNED DEFAULT NULL,
  `status` enum('active','inactive','draft') COLLATE utf8_unicode_ci DEFAULT 'active'
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

-- --------------------------------------------------------

--
-- Table structure for table `profits`
--

CREATE TABLE `profits` (
  `id` int(10) UNSIGNED NOT NULL,
  `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `user_id` int(11) DEFAULT NULL,
  `amount` float(8,2) UNSIGNED NOT NULL,
  `invoice_id` int(11) DEFAULT NULL,
  `type` enum('expense','income','principal') COLLATE utf8_unicode_ci DEFAULT NULL,
  `rate` int(11) DEFAULT NULL,
  `description` text COLLATE utf8_unicode_ci,
  `sup_invoice_id` int(11) DEFAULT NULL,
  `debt_id` int(10) UNSIGNED DEFAULT NULL,
  `installment_id` int(11) DEFAULT NULL,
  `receipt_id` int(10) UNSIGNED DEFAULT NULL,
  `mortgage_id` int(11) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `profits`
--

INSERT INTO `profits` (`id`, `created_at`, `updated_at`, `user_id`, `amount`, `invoice_id`, `type`, `rate`, `description`, `sup_invoice_id`, `debt_id`, `installment_id`, `receipt_id`, `mortgage_id`) VALUES
(1, '2017-11-29 09:25:29', '2017-11-29 09:25:29', 3, 350.00, NULL, 'expense', NULL, 'ប្រាក់កចំណាលលើ ផលិតផល', NULL, NULL, 1, NULL, NULL),
(2, '2018-01-29 09:26:29', '2018-01-29 09:26:29', 3, 67.00, NULL, 'income', NULL, 'ប្រាក់បង់ប្រចាំខែ ប័ណ្ណចំណូលលេខ1', NULL, NULL, NULL, 1, NULL),
(3, '2017-12-29 09:26:29', '2017-12-29 09:26:29', 3, 58.33, NULL, 'principal', NULL, 'ប្រាក់ដើមទទួលបានពីការបង់ប្រាក់', NULL, NULL, NULL, 1, NULL),
(6, '2018-01-29 09:36:13', '2018-01-29 09:36:13', 3, 320.00, NULL, 'expense', NULL, 'ប្រាក់កចំណាលលើ ផលិតផល', NULL, NULL, 2, NULL, NULL),
(13, '2018-01-29 10:35:57', '2018-01-29 10:35:57', 3, 87.60, NULL, 'income', NULL, 'ប្រាក់បង់ប្រចាំខែ ប័ណ្ណចំណូលលេខ1111222', NULL, NULL, NULL, 6, NULL),
(14, '2018-01-29 10:35:57', '2018-01-29 10:35:57', 3, 80.00, NULL, 'principal', NULL, 'ប្រាក់ដើមទទួលបានពីការបង់ប្រាក់', NULL, NULL, NULL, 6, NULL),
(15, '2017-10-15 10:39:27', '2017-10-15 10:39:27', 3, 420.00, NULL, 'expense', NULL, 'ប្រាក់កចំណាលលើ ផលិតផល', NULL, NULL, 3, NULL, NULL),
(16, '2018-01-29 10:39:58', '2018-01-29 10:39:58', 3, 80.40, NULL, 'income', NULL, 'ប្រាក់បង់ប្រចាំខែ ប័ណ្ណចំណូលលេខ000112', NULL, NULL, NULL, 7, NULL),
(17, '2017-11-15 10:39:58', '2017-11-15 10:39:58', 3, 70.00, NULL, 'principal', NULL, 'ប្រាក់ដើមទទួលបានពីការបង់ប្រាក់', NULL, NULL, NULL, 7, NULL),
(18, '2018-01-29 10:40:22', '2018-01-29 10:40:22', 3, 78.00, NULL, 'income', NULL, 'ប្រាក់បង់ប្រចាំខែ ប័ណ្ណចំណូលលេខ000999', NULL, NULL, NULL, 8, NULL),
(19, '2017-12-15 10:40:22', '2017-12-15 10:40:22', 3, 70.00, NULL, 'principal', NULL, 'ប្រាក់ដើមទទួលបានពីការបង់ប្រាក់', NULL, NULL, NULL, 8, NULL),
(23, '2018-01-29 11:02:44', '2018-01-29 11:02:44', 3, 305.67, NULL, 'income', NULL, 'ប្រាក់បង់ផ្តាច់ ប័ណ្ណចំណូលលេខJae', NULL, NULL, NULL, 12, NULL),
(24, '2018-01-30 11:16:50', '2018-01-30 11:16:50', 3, 400.00, NULL, 'expense', NULL, 'ប្រាក់ចំណាយលើបញ្ចាំ', NULL, NULL, NULL, NULL, 6);

-- --------------------------------------------------------

--
-- Table structure for table `quotations`
--

CREATE TABLE `quotations` (
  `id` int(10) UNSIGNED NOT NULL,
  `status` enum('open','closed','approved','cancel') COLLATE utf8_unicode_ci NOT NULL,
  `customer_id` int(11) DEFAULT NULL,
  `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00'
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `quotations`
--

INSERT INTO `quotations` (`id`, `status`, `customer_id`, `created_at`, `updated_at`) VALUES
(2, 'approved', NULL, '2017-04-10 05:06:17', '2017-04-10 05:10:39'),
(3, 'approved', NULL, '2017-04-10 05:15:57', '2017-04-10 05:16:18'),
(4, 'approved', NULL, '2017-04-10 05:16:41', '2017-04-10 05:17:02'),
(5, 'approved', NULL, '2017-04-10 05:20:19', '2017-04-10 05:21:47'),
(6, 'approved', 2, '2017-04-10 08:55:25', '2017-04-10 08:59:57'),
(7, 'approved', NULL, '2017-04-10 09:01:00', '2017-04-10 09:03:14'),
(8, 'closed', NULL, '2017-04-10 09:21:03', '2017-04-10 09:21:09'),
(9, 'cancel', NULL, '2017-04-10 09:22:15', '2017-04-10 09:22:54'),
(10, 'approved', NULL, '2017-04-10 15:13:23', '2017-04-10 15:19:25'),
(11, 'open', NULL, '2017-04-10 15:31:59', '2017-04-10 15:31:59'),
(12, 'closed', 3, '2017-04-11 03:37:47', '2017-04-11 03:39:14');

-- --------------------------------------------------------

--
-- Table structure for table `receipt_incomes`
--

CREATE TABLE `receipt_incomes` (
  `id` int(10) UNSIGNED NOT NULL,
  `receipt_id` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `payment_name` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `payment_date` timestamp NULL DEFAULT NULL,
  `total_amount` float(8,2) NOT NULL,
  `total_as_letter` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `in_digit_of` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `with_doc` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `note` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `recieve_amount` float UNSIGNED DEFAULT NULL,
  `payment_id` int(10) UNSIGNED DEFAULT NULL,
  `user_id` int(11) UNSIGNED DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `receipt_incomes`
--

INSERT INTO `receipt_incomes` (`id`, `receipt_id`, `payment_name`, `payment_date`, `total_amount`, `total_as_letter`, `in_digit_of`, `with_doc`, `note`, `created_at`, `updated_at`, `recieve_amount`, `payment_id`, `user_id`) VALUES
(1, '1', 'Jane Doe', NULL, 67.00, '', '', '', NULL, '2018-01-29 09:26:29', '2018-01-29 09:26:29', 67, NULL, 3),
(6, '1111222', 'tet', NULL, 87.60, '', '', '', NULL, '2018-01-29 10:35:57', '2018-01-29 10:35:57', 87.6, NULL, 3),
(7, '000112', 'TEST', NULL, 80.40, '', '', '', NULL, '2018-01-29 10:39:58', '2018-01-29 10:39:58', 80.4, NULL, 3),
(8, '000999', 'Jane Doe', NULL, 78.00, '', '', '', NULL, '2018-01-29 10:40:22', '2018-01-29 10:40:22', 78, NULL, 3),
(12, 'Jae', 'Doe', NULL, 305.67, '', '', '', NULL, '2018-01-29 11:02:44', '2018-01-29 11:02:44', 305.67, NULL, 3),
(13, '1111000999', 'Jane doe', NULL, 25.00, '', '', '', NULL, '2018-01-30 09:51:27', '2018-01-30 09:51:27', 25, NULL, 3),
(14, '1112', '1111', NULL, 512.50, '', '', '', NULL, '2018-01-30 10:36:44', '2018-01-30 10:36:44', 512.5, NULL, 3),
(15, 'TEST', 'TEST', NULL, 15.00, '', '', '', NULL, '2018-01-30 10:41:05', '2018-01-30 10:41:05', 15, NULL, 3),
(16, '1112121', '1111221', NULL, 307.50, '', '', '', NULL, '2018-01-30 10:41:29', '2018-01-30 10:41:29', 307.5, NULL, 3),
(17, '444545', 'fgfdg', NULL, 22.50, '', '', '', NULL, '2018-01-30 10:52:52', '2018-01-30 10:52:52', 22.5, NULL, 3);

-- --------------------------------------------------------

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

CREATE TABLE `roles` (
  `id` int(10) UNSIGNED NOT NULL,
  `role_name` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `description` text COLLATE utf8_unicode_ci NOT NULL,
  `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00'
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

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

INSERT INTO `roles` (`id`, `role_name`, `description`, `created_at`, `updated_at`) VALUES
(1, 'Master', 'The master user of POS', '2017-03-20 13:35:41', '2017-03-20 13:35:43'),
(2, 'ជាងជួសជុល', '', '2017-04-10 04:36:37', '2017-04-10 04:36:37'),
(3, 'បងរំលស់', 'គ្រប់គ្រងរាល់ការបងរំលស់', '2017-07-12 09:11:01', '2017-07-12 09:11:01');

-- --------------------------------------------------------

--
-- Table structure for table `services`
--

CREATE TABLE `services` (
  `id` int(11) NOT NULL,
  `tel` varchar(255) DEFAULT NULL,
  `product_name` varchar(255) DEFAULT NULL,
  `model` varchar(255) DEFAULT NULL,
  `note` text,
  `price` decimal(10,2) DEFAULT NULL,
  `others` text,
  `duration` enum('delay','3','7','10') DEFAULT 'delay',
  `created_at` timestamp NULL DEFAULT NULL ON UPDATE CURRENT_TIMESTAMP,
  `updated_at` timestamp NULL DEFAULT NULL ON UPDATE CURRENT_TIMESTAMP,
  `is_warranty` tinyint(1) DEFAULT '0',
  `status` enum('pendding','repairing','completed','paid') DEFAULT 'pendding',
  `is_send` tinyint(1) DEFAULT '0',
  `send_date` date DEFAULT NULL,
  `recieved_date` date DEFAULT NULL,
  `call` int(2) DEFAULT NULL,
  `detail` text
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `services`
--

INSERT INTO `services` (`id`, `tel`, `product_name`, `model`, `note`, `price`, `others`, `duration`, `created_at`, `updated_at`, `is_warranty`, `status`, `is_send`, `send_date`, `recieved_date`, `call`, `detail`) VALUES
(1, '090 090 090', 'MacBook Pro 15', 'MBP152016', 'Install window 10 pro', '10.00', NULL, 'delay', '2017-04-10 04:20:57', '2017-04-10 04:20:57', NULL, 'paid', 0, '2017-04-10', '2017-04-10', 2, 'Install New Window'),
(2, '097 899 456', 'Dell 450 Laptop Black', 'DELL450', 'lkjsdfdsfldsfkld', '0.00', NULL, '7', '2017-04-10 04:27:05', '2017-04-10 04:27:05', 1, 'paid', 1, '2017-04-10', '2017-04-10', NULL, 'dfsdf'),
(3, '090 006 007', 'DESktop 232', 'k43', 'Add new ram 4G', '18.00', NULL, '3', '2017-04-10 09:31:49', '2017-04-10 09:31:49', NULL, 'paid', 0, '2017-04-10', '2017-04-10', 2, 'Add new RAM DDR4 4GB'),
(4, '090 232 545', 'MacBook Pro 15 Inc', 'MBP 2015', 'Change new screen', NULL, NULL, '7', '2017-04-10 09:56:40', '2017-04-10 09:56:40', 1, 'pendding', 1, '2017-04-11', '2017-04-10', NULL, NULL),
(5, '096 404  55111', 'Dell Laptop 201', 'K43E', '', NULL, NULL, '3', '2017-04-10 10:04:54', '2017-04-10 10:04:54', 1, 'pendding', 1, '2017-04-11', '2017-04-10', NULL, NULL),
(6, '0922 1990 11', 'Acer RF565', 'k43', '', NULL, NULL, 'delay', '2017-04-10 10:08:04', '2017-04-10 10:08:04', 1, 'pendding', 1, '2017-04-10', '2017-04-10', NULL, NULL),
(7, '096 0696 066', 'Dell Laptop 9527', '9527', 'No battery', NULL, NULL, 'delay', '2017-04-10 10:12:38', '2017-04-10 10:12:38', 1, 'pendding', 1, '2017-04-11', NULL, NULL, NULL),
(8, '090 890 790', 'Computer Game', 'R231', 'dfdasf', NULL, NULL, '7', '2017-04-10 10:18:45', '2017-04-10 10:18:45', 1, 'pendding', 0, NULL, NULL, NULL, NULL);

-- --------------------------------------------------------

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

CREATE TABLE `settings` (
  `id` int(10) UNSIGNED NOT NULL,
  `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `meta_key` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `meta_value` text COLLATE utf8_unicode_ci,
  `group` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `input_type` varchar(255) COLLATE utf8_unicode_ci DEFAULT 'text'
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

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

INSERT INTO `settings` (`id`, `created_at`, `updated_at`, `meta_key`, `meta_value`, `group`, `input_type`) VALUES
(1, '2016-06-30 04:13:05', '2018-01-27 10:31:04', 'company_name', 'វ៉ាង ពិសិដ្ឋ លក់ទូរស័ព្ទដៃ', 'company_info', 'text'),
(2, '2016-06-30 04:13:05', '2018-01-27 10:31:04', 'company_tel', '096 410 1207', 'company_info', 'text'),
(3, '2016-06-30 04:13:05', '2018-01-27 10:31:04', 'company_email', '', 'company_info', 'email'),
(4, '2016-06-30 04:13:05', '2018-01-27 10:31:04', 'company_website', '', 'company_info', 'text'),
(5, '2016-06-30 04:13:05', '2018-01-27 10:31:04', 'company_facebook', '', 'company_info', 'text'),
(6, '2016-06-30 04:13:05', '2018-01-27 10:31:04', 'company_twitter', '', 'company_info', 'text'),
(7, '2016-06-30 04:13:05', '2018-01-27 10:31:04', 'company_line', '', 'company_info', 'text'),
(8, '2016-06-30 04:13:05', '2018-01-27 10:31:04', 'company_logo', 'http://localhost/loan/public/uploads/5a6c54e897d2f_coder.png', 'company_info', 'file'),
(10, '0000-00-00 00:00:00', '2018-01-27 10:31:04', 'company_language', 'kh', 'company_info', 'seclect'),
(11, '0000-00-00 00:00:00', '2017-03-19 12:41:31', 'company_branch', 'one', '', 'select'),
(12, '0000-00-00 00:00:00', '2017-03-19 12:41:31', 'company_stock', 'one', '', 'select'),
(14, '0000-00-00 00:00:00', '2018-01-28 12:06:36', 'custom_style', '', 'style', 'textarea'),
(15, '0000-00-00 00:00:00', '2018-01-28 12:06:36', 'custom_theme', 'skin-blue', 'style', 'text'),
(21, '2016-06-30 04:13:05', '2018-01-27 13:03:26', 'invoice_type', 'normal-print', 'invoice', 'select'),
(22, '2016-06-30 04:13:05', '2018-01-27 13:03:26', 'invoice_rate', '4000', 'invoice', 'number'),
(23, '0000-00-00 00:00:00', '2017-01-25 08:12:09', 'invoice_tax', '', '', 'text'),
(25, '0000-00-00 00:00:00', '2017-01-31 14:18:59', 'invoice_currency', 'usd', '', 'select'),
(26, '0000-00-00 00:00:00', '2017-07-12 08:59:46', 'second_invoice_currency', 'riel', '', 'select'),
(28, '0000-00-00 00:00:00', '2018-01-27 13:03:26', 'invoice_alert_day', '10', 'invoice', 'number'),
(64, '2016-06-30 04:13:05', '2018-01-27 10:31:04', 'company_address', 'ផ្លូវលេខ១ ផ្ទះលេខ៥៤ (ខាងត្បូងធនាគារ ANZ Royal)', 'company_info', 'textarea'),
(65, '2017-01-25 12:40:01', '2017-01-25 15:29:23', 'khr_rate', '113', '', 'text'),
(66, '2017-01-25 12:40:52', '2017-01-25 15:29:23', 'usd_rate', '0.0282', '', 'text'),
(74, '2017-01-04 04:04:10', '2017-03-19 13:26:39', 'min_amount_return', '25', '', 'text'),
(77, '2016-06-30 04:13:05', '2017-03-19 13:26:40', 'invoice_payment_term', '<b>លក្ខ័ណ្ឌ:</b>ធានាគុណភាាណរយៈពេលមួយឆ្នាំលើេផលិតផលថ្មីដែលមានបិទតែមធានាត្រឹមត្រូវ។\r\n<ul>\r\n<li>មិនធានាលើការឆេះ ធ្លាក់បាក់បែក ដាច់តែមធានា សត្វល្អិតចូល ឬបាត់លក្ខណៈដើម។</li>\r\n<li>ម៉ាស៊ីនព្រីនមិនធានាលើ ទឹកថ្នាំ ដុំសាក់ ខ្សែរពាន្ត ខ្សែរភ្លើង និងប្រើទឹកថ្នាំបញ្ជូល។</li>\r\n<li>ទំនិញទិញហើយមិនអាចប្តូរយកលុុយវិញ។ អាចប្តូរបានជារបស់ផ្សេង ប៉ុន្តែទំនិញដែលត្រូវប្តូរនេោះត្រូវស្ថិតក្នុងលក្ខណៈដើមទាំងស្រុង។ <small>សូមរក្សាសិទ្ធក្នុងការកែប្រែ</small></li> \r\n</ul>', '', 'textarea'),
(78, '2016-06-30 04:13:05', '2018-01-27 13:03:26', 'invoice_footer', 'បង់ប្រាក់មុនរយៈពេល១៥ថ្ងៃគិតការប្រាក់ពាក់កណ្តាល បើលើសពី១៥ថ្ងៃគិតការប្រាក់ពេញ។ ប្រសិនលើសរយៈពេលផុតកំណត់នៃថ្ងៃបញ្ចាំមិនអាចយករបស់វិញបានទេ។', 'invoice', 'textarea'),
(79, '2016-06-30 04:13:05', '2018-01-27 13:03:26', 'invoice_client_note', 'បញ្ជាក់ រាល់ការមកបង់ប្រាក់ប្រចាំខែត្រូវមកបង់ប្រាក់អោយទៀងទាត់ បើសិនជាមានការខកខានរឺយឺតកយ៉ាវយើងខ្ញុំនិងធ្វើការផាកពិន័យ១ដុល្លាក្នុងមួយថ្ងៃ។', 'invoice', 'textarea'),
(80, '2017-02-07 14:08:15', '2017-02-07 14:08:18', 'enable_sale_out_of_stock', '0', '', 'text'),
(81, '2017-02-13 09:50:14', '2017-02-13 09:50:18', 'use_alternative_barcode', 'no', NULL, 'text'),
(82, '0000-00-00 00:00:00', '2018-01-27 10:31:04', 'company_detail', 'មានលក់ ដុំ និងរាយ និងជួសជុលទូរស័ព្ទ', 'company_info', 'textarea'),
(83, '0000-00-00 00:00:00', '2017-03-19 13:26:40', 'style_sale', 'list', '', 'select'),
(84, '0000-00-00 00:00:00', '2018-01-27 13:03:26', 'invoice_interest_rate', '2', 'invoice', 'number'),
(85, '0000-00-00 00:00:00', '2018-01-27 13:03:26', 'late_payment', '1', 'invoice', 'text'),
(86, '0000-00-00 00:00:00', '2018-01-27 13:03:26', 'variable_price', 'before', 'invoice', 'select'),
(87, '0000-00-00 00:00:00', '2018-01-27 13:03:26', 'day_before_payment', '3', 'invoice', 'text'),
(88, '2017-12-25 17:00:00', '2018-01-27 13:03:26', 'number_of_month', '2', 'invoice', 'number'),
(89, '0000-00-00 00:00:00', '2018-01-27 13:03:26', 'company_name_en', 'VANG PISETH PHONE SHOP', 'invoice', 'text');

-- --------------------------------------------------------

--
-- Table structure for table `stocks`
--

CREATE TABLE `stocks` (
  `id` int(10) UNSIGNED NOT NULL,
  `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `name` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `description` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `branch_id` int(10) UNSIGNED DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `stocks`
--

INSERT INTO `stocks` (`id`, `created_at`, `updated_at`, `name`, `description`, `branch_id`) VALUES
(1, '2017-03-06 06:46:40', '2017-03-06 06:46:42', 'Stock 101', 'Stock for storage and sale', 1);

-- --------------------------------------------------------

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

CREATE TABLE `suppliers` (
  `id` int(10) UNSIGNED NOT NULL,
  `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `company_name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `contact_name` varchar(20) COLLATE utf8_unicode_ci DEFAULT NULL,
  `contact_tel` varchar(20) COLLATE utf8_unicode_ci DEFAULT NULL,
  `address` text COLLATE utf8_unicode_ci,
  `tel` varchar(30) COLLATE utf8_unicode_ci DEFAULT NULL,
  `company_email` varchar(30) COLLATE utf8_unicode_ci DEFAULT NULL,
  `contact_email` varchar(30) COLLATE utf8_unicode_ci DEFAULT NULL,
  `contact_photo` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `logo` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `position_id` int(10) UNSIGNED DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

-- --------------------------------------------------------

--
-- Table structure for table `supplier_invoices`
--

CREATE TABLE `supplier_invoices` (
  `id` int(10) UNSIGNED NOT NULL,
  `status` enum('draft','unpaid','paid','deposit') COLLATE utf8_unicode_ci NOT NULL DEFAULT 'draft',
  `total` float(8,2) UNSIGNED DEFAULT '0.00',
  `pay` float(8,2) UNSIGNED DEFAULT '0.00',
  `changed` float(8,2) UNSIGNED DEFAULT '0.00',
  `payable` float(8,2) UNSIGNED DEFAULT '0.00',
  `stock_id` int(11) DEFAULT NULL,
  `user_id` int(11) DEFAULT NULL,
  `supplier_id` int(11) DEFAULT NULL,
  `referral_id` int(11) DEFAULT NULL,
  `rate` int(11) DEFAULT NULL,
  `tax` int(11) DEFAULT NULL,
  `comment` text COLLATE utf8_unicode_ci,
  `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `is_debt` tinyint(1) DEFAULT '0',
  `invoice_no` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

-- --------------------------------------------------------

--
-- Table structure for table `units`
--

CREATE TABLE `units` (
  `id` int(10) UNSIGNED NOT NULL,
  `name` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00'
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `units`
--

INSERT INTO `units` (`id`, `name`, `created_at`, `updated_at`) VALUES
(1, 'UNIT', '2017-03-20 13:49:33', '2017-03-20 13:49:33');

-- --------------------------------------------------------

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

CREATE TABLE `users` (
  `id` int(10) UNSIGNED NOT NULL,
  `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `first_name` varchar(50) COLLATE utf8_unicode_ci DEFAULT NULL,
  `last_name` varchar(50) COLLATE utf8_unicode_ci DEFAULT NULL,
  `sex` enum('m','f') COLLATE utf8_unicode_ci DEFAULT 'm',
  `username` varchar(20) COLLATE utf8_unicode_ci DEFAULT NULL,
  `email` varchar(30) COLLATE utf8_unicode_ci DEFAULT NULL,
  `remember_token` text COLLATE utf8_unicode_ci,
  `address` text COLLATE utf8_unicode_ci,
  `tel` varchar(30) COLLATE utf8_unicode_ci DEFAULT NULL,
  `position_id` int(10) UNSIGNED DEFAULT NULL,
  `salary` float(8,2) DEFAULT NULL,
  `allow_ip` varchar(50) COLLATE utf8_unicode_ci DEFAULT NULL,
  `session_id` text COLLATE utf8_unicode_ci,
  `status` enum('active','suspended','inactive') COLLATE utf8_unicode_ci DEFAULT NULL,
  `role_id` int(10) UNSIGNED DEFAULT NULL,
  `branch_id` int(10) UNSIGNED DEFAULT NULL,
  `password` text COLLATE utf8_unicode_ci NOT NULL,
  `date_of_birth` date DEFAULT NULL,
  `id_number` varchar(15) COLLATE utf8_unicode_ci DEFAULT NULL,
  `photo` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `stock_id` int(10) UNSIGNED DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

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

INSERT INTO `users` (`id`, `created_at`, `updated_at`, `first_name`, `last_name`, `sex`, `username`, `email`, `remember_token`, `address`, `tel`, `position_id`, `salary`, `allow_ip`, `session_id`, `status`, `role_id`, `branch_id`, `password`, `date_of_birth`, `id_number`, `photo`, `stock_id`) VALUES
(1, '2017-03-06 04:44:50', '2018-01-30 08:44:32', 'Master', 'Pos', 'm', 'adminpos', '', 'bRE0d8QyAzdwRGRWE1FhAj8VbSgvLWN1hp03gNxZp0RKyq0qmDKLkBXvWQWi', '', '', NULL, NULL, NULL, NULL, 'active', 1, 1, '$2y$10$.FBLMi58Nbqwk9Q0/ZCNUuV1xXhGsX5XTdVOXlxzTec7bJVugXdHC', '0000-00-00', '', 'uploads/users/none.png', 1),
(3, '2017-07-12 09:12:09', '2018-01-27 09:32:51', 'Sok', 'Kimsoeurn', 'm', 'admin', '', 'uCR8Eg5Bxnp2mjVjMzYALIGmw5ojlCiaJEJJn1Xyzgef4ZAmIBxQCTZ3ZJq4', '', '', NULL, NULL, NULL, NULL, 'active', 3, NULL, '$2y$10$ow4W15E1EZZPjHPhV571B.eYDoEG4CDNRvVeplRGzhkoULw30g1mW', '0000-00-00', '', 'uploads/users/5a6c474302964_avatar.png', NULL);

--
-- Indexes for dumped tables
--

--
-- Indexes for table `branches`
--
ALTER TABLE `branches`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `brands`
--
ALTER TABLE `brands`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `buy_products`
--
ALTER TABLE `buy_products`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `companies`
--
ALTER TABLE `companies`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `customers`
--
ALTER TABLE `customers`
  ADD PRIMARY KEY (`id`),
  ADD KEY `customers_branch_id_foreign` (`branch_id`),
  ADD KEY `customers_user_id_foreign` (`user_id`);

--
-- Indexes for table `customer_quotations`
--
ALTER TABLE `customer_quotations`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `garantors`
--
ALTER TABLE `garantors`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `histories`
--
ALTER TABLE `histories`
  ADD PRIMARY KEY (`id`),
  ADD KEY `histories_user_id_foreign` (`user_id`);

--
-- Indexes for table `installments`
--
ALTER TABLE `installments`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `interests`
--
ALTER TABLE `interests`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `invoices`
--
ALTER TABLE `invoices`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `itemlocations`
--
ALTER TABLE `itemlocations`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `loan_customers`
--
ALTER TABLE `loan_customers`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `mortgages`
--
ALTER TABLE `mortgages`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `mortgage_payments`
--
ALTER TABLE `mortgage_payments`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `orders`
--
ALTER TABLE `orders`
  ADD PRIMARY KEY (`id`),
  ADD KEY `orders_invoice_id_foreign` (`invoice_id`);

--
-- Indexes for table `outlets`
--
ALTER TABLE `outlets`
  ADD PRIMARY KEY (`id`),
  ADD KEY `outlets_product_id_foreign` (`product_id`),
  ADD KEY `outlets_user_id_foreign` (`user_id`),
  ADD KEY `outlets_stock_id_foreign` (`stock_id`);

--
-- Indexes for table `payables`
--
ALTER TABLE `payables`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `payments`
--
ALTER TABLE `payments`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `permissions`
--
ALTER TABLE `permissions`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `permission_role`
--
ALTER TABLE `permission_role`
  ADD PRIMARY KEY (`id`),
  ADD KEY `permission_role_permission_id_index` (`permission_id`),
  ADD KEY `permission_role_role_id_index` (`role_id`);

--
-- Indexes for table `positions`
--
ALTER TABLE `positions`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `pre_orders`
--
ALTER TABLE `pre_orders`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `productcategories`
--
ALTER TABLE `productcategories`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `products`
--
ALTER TABLE `products`
  ADD PRIMARY KEY (`id`),
  ADD KEY `products_product_category_id_foreign` (`product_category_id`),
  ADD KEY `products_user_id_foreign` (`user_id`),
  ADD KEY `products_supplier_id_foreign` (`supplier_id`),
  ADD KEY `products_item_location_id_foreign` (`item_location_id`),
  ADD KEY `products_unit_id_foreign` (`unit_id`);

--
-- Indexes for table `profits`
--
ALTER TABLE `profits`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `quotations`
--
ALTER TABLE `quotations`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `receipt_incomes`
--
ALTER TABLE `receipt_incomes`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `roles`
--
ALTER TABLE `roles`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `services`
--
ALTER TABLE `services`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `settings`
--
ALTER TABLE `settings`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `stocks`
--
ALTER TABLE `stocks`
  ADD PRIMARY KEY (`id`),
  ADD KEY `stocks_branch_id_foreign` (`branch_id`);

--
-- Indexes for table `suppliers`
--
ALTER TABLE `suppliers`
  ADD PRIMARY KEY (`id`),
  ADD KEY `suppliers_position_id_foreign` (`position_id`);

--
-- Indexes for table `supplier_invoices`
--
ALTER TABLE `supplier_invoices`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `units`
--
ALTER TABLE `units`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `users`
--
ALTER TABLE `users`
  ADD PRIMARY KEY (`id`),
  ADD KEY `users_branch_id_foreign` (`branch_id`),
  ADD KEY `users_position_id_foreign` (`position_id`),
  ADD KEY `users_role_id_foreign` (`role_id`);

--
-- AUTO_INCREMENT for dumped tables
--

--
-- AUTO_INCREMENT for table `branches`
--
ALTER TABLE `branches`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;
--
-- AUTO_INCREMENT for table `brands`
--
ALTER TABLE `brands`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=11;
--
-- AUTO_INCREMENT for table `buy_products`
--
ALTER TABLE `buy_products`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT for table `companies`
--
ALTER TABLE `companies`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=266;
--
-- AUTO_INCREMENT for table `customers`
--
ALTER TABLE `customers`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=6;
--
-- AUTO_INCREMENT for table `customer_quotations`
--
ALTER TABLE `customer_quotations`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT for table `garantors`
--
ALTER TABLE `garantors`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=266;
--
-- AUTO_INCREMENT for table `histories`
--
ALTER TABLE `histories`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT for table `installments`
--
ALTER TABLE `installments`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4;
--
-- AUTO_INCREMENT for table `interests`
--
ALTER TABLE `interests`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT for table `invoices`
--
ALTER TABLE `invoices`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT for table `itemlocations`
--
ALTER TABLE `itemlocations`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT for table `loan_customers`
--
ALTER TABLE `loan_customers`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=266;
--
-- AUTO_INCREMENT for table `mortgages`
--
ALTER TABLE `mortgages`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=7;
--
-- AUTO_INCREMENT for table `mortgage_payments`
--
ALTER TABLE `mortgage_payments`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=14;
--
-- AUTO_INCREMENT for table `orders`
--
ALTER TABLE `orders`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT for table `outlets`
--
ALTER TABLE `outlets`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT for table `payables`
--
ALTER TABLE `payables`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT for table `payments`
--
ALTER TABLE `payments`
  MODIFY `id` int(100) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=17;
--
-- AUTO_INCREMENT for table `permissions`
--
ALTER TABLE `permissions`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=101;
--
-- AUTO_INCREMENT for table `permission_role`
--
ALTER TABLE `permission_role`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=86;
--
-- AUTO_INCREMENT for table `positions`
--
ALTER TABLE `positions`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT for table `pre_orders`
--
ALTER TABLE `pre_orders`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=21;
--
-- AUTO_INCREMENT for table `productcategories`
--
ALTER TABLE `productcategories`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=7;
--
-- AUTO_INCREMENT for table `products`
--
ALTER TABLE `products`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT for table `profits`
--
ALTER TABLE `profits`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=25;
--
-- AUTO_INCREMENT for table `quotations`
--
ALTER TABLE `quotations`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=13;
--
-- AUTO_INCREMENT for table `receipt_incomes`
--
ALTER TABLE `receipt_incomes`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=18;
--
-- AUTO_INCREMENT for table `roles`
--
ALTER TABLE `roles`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4;
--
-- AUTO_INCREMENT for table `services`
--
ALTER TABLE `services`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=9;
--
-- AUTO_INCREMENT for table `settings`
--
ALTER TABLE `settings`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=90;
--
-- AUTO_INCREMENT for table `stocks`
--
ALTER TABLE `stocks`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;
--
-- AUTO_INCREMENT for table `suppliers`
--
ALTER TABLE `suppliers`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT for table `supplier_invoices`
--
ALTER TABLE `supplier_invoices`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT for table `units`
--
ALTER TABLE `units`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;
--
-- AUTO_INCREMENT for table `users`
--
ALTER TABLE `users`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4;
--
-- Constraints for dumped tables
--

--
-- Constraints for table `customers`
--
ALTER TABLE `customers`
  ADD CONSTRAINT `customers_branch_id_foreign` FOREIGN KEY (`branch_id`) REFERENCES `branches` (`id`) ON DELETE SET NULL ON UPDATE SET NULL,
  ADD CONSTRAINT `customers_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE ON UPDATE CASCADE;

--
-- Constraints for table `histories`
--
ALTER TABLE `histories`
  ADD CONSTRAINT `histories_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE NO ACTION ON UPDATE NO ACTION;

--
-- Constraints for table `orders`
--
ALTER TABLE `orders`
  ADD CONSTRAINT `orders_invoice_id_foreign` FOREIGN KEY (`invoice_id`) REFERENCES `invoices` (`id`) ON DELETE CASCADE ON UPDATE CASCADE;

--
-- Constraints for table `outlets`
--
ALTER TABLE `outlets`
  ADD CONSTRAINT `outlets_product_id_foreign` FOREIGN KEY (`product_id`) REFERENCES `products` (`id`) ON DELETE SET NULL ON UPDATE SET NULL,
  ADD CONSTRAINT `outlets_stock_id_foreign` FOREIGN KEY (`stock_id`) REFERENCES `stocks` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  ADD CONSTRAINT `outlets_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE SET NULL ON UPDATE SET NULL;

--
-- Constraints for table `permission_role`
--
ALTER TABLE `permission_role`
  ADD CONSTRAINT `permission_role_role_id_foreign` FOREIGN KEY (`role_id`) REFERENCES `roles` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `products`
--
ALTER TABLE `products`
  ADD CONSTRAINT `products_item_location_id_foreign` FOREIGN KEY (`item_location_id`) REFERENCES `itemlocations` (`id`) ON DELETE SET NULL ON UPDATE SET NULL,
  ADD CONSTRAINT `products_product_category_id_foreign` FOREIGN KEY (`product_category_id`) REFERENCES `productcategories` (`id`) ON DELETE SET NULL ON UPDATE SET NULL,
  ADD CONSTRAINT `products_supplier_id_foreign` FOREIGN KEY (`supplier_id`) REFERENCES `suppliers` (`id`) ON DELETE SET NULL ON UPDATE SET NULL,
  ADD CONSTRAINT `products_unit_id_foreign` FOREIGN KEY (`unit_id`) REFERENCES `units` (`id`) ON DELETE SET NULL ON UPDATE SET NULL,
  ADD CONSTRAINT `products_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE SET NULL ON UPDATE SET NULL;

--
-- Constraints for table `stocks`
--
ALTER TABLE `stocks`
  ADD CONSTRAINT `stocks_branch_id_foreign` FOREIGN KEY (`branch_id`) REFERENCES `branches` (`id`) ON DELETE CASCADE ON UPDATE CASCADE;

--
-- Constraints for table `suppliers`
--
ALTER TABLE `suppliers`
  ADD CONSTRAINT `suppliers_position_id_foreign` FOREIGN KEY (`position_id`) REFERENCES `positions` (`id`) ON DELETE SET NULL ON UPDATE SET NULL;

--
-- Constraints for table `users`
--
ALTER TABLE `users`
  ADD CONSTRAINT `users_branch_id_foreign` FOREIGN KEY (`branch_id`) REFERENCES `branches` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  ADD CONSTRAINT `users_position_id_foreign` FOREIGN KEY (`position_id`) REFERENCES `positions` (`id`) ON DELETE SET NULL ON UPDATE SET NULL,
  ADD CONSTRAINT `users_role_id_foreign` FOREIGN KEY (`role_id`) REFERENCES `roles` (`id`) ON DELETE SET NULL ON UPDATE SET NULL;

