#
# TABLE STRUCTURE FOR: tec_adjustment_items
#

DROP TABLE IF EXISTS `tec_adjustment_items`;

CREATE TABLE `tec_adjustment_items` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `adjustment_id` int(11) NOT NULL,
  `product_id` int(11) NOT NULL,
  `quantity` decimal(25,4) NOT NULL,
  `type` varchar(100) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;

#
# TABLE STRUCTURE FOR: tec_adjustments
#

DROP TABLE IF EXISTS `tec_adjustments`;

CREATE TABLE `tec_adjustments` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `date` datetime NOT NULL,
  `reference` varchar(200) DEFAULT NULL,
  `note` text DEFAULT NULL,
  `attachment` varchar(200) DEFAULT NULL,
  `store_id` int(11) NOT NULL DEFAULT 1,
  `created_by` int(11) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;

#
# TABLE STRUCTURE FOR: tec_categories
#

DROP TABLE IF EXISTS `tec_categories`;

CREATE TABLE `tec_categories` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `code` varchar(20) NOT NULL,
  `name` varchar(55) NOT NULL,
  `image` varchar(100) DEFAULT 'no_image.png',
  `store_id` tinyint(1) NOT NULL DEFAULT 1,
  `default_store_cate` tinyint(1) NOT NULL,
  `discount` varchar(20) NOT NULL DEFAULT '0',
  `ingredient` tinyint(4) NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=7 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;

INSERT INTO `tec_categories` (`id`, `code`, `name`, `image`, `store_id`, `default_store_cate`, `discount`, `ingredient`) VALUES (1, '001', 'ភេសជ្ជៈក្ដៅ', 'no_image.png', 1, 0, '0', 0);
INSERT INTO `tec_categories` (`id`, `code`, `name`, `image`, `store_id`, `default_store_cate`, `discount`, `ingredient`) VALUES (2, '002', 'ភេសជ្ជៈត្រជាក់', 'no_image.png', 1, 0, '0', 0);
INSERT INTO `tec_categories` (`id`, `code`, `name`, `image`, `store_id`, `default_store_cate`, `discount`, `ingredient`) VALUES (3, '003', 'ភេសជ្ជៈក្រឡុក', 'no_image.png', 1, 0, '0', 0);
INSERT INTO `tec_categories` (`id`, `code`, `name`, `image`, `store_id`, `default_store_cate`, `discount`, `ingredient`) VALUES (4, '004', 'ភេសជ្ជៈស្មូតធី', 'no_image.png', 1, 0, '0', 0);
INSERT INTO `tec_categories` (`id`, `code`, `name`, `image`, `store_id`, `default_store_cate`, `discount`, `ingredient`) VALUES (5, '005', 'ភេសជ្ជៈតែ', 'no_image.png', 1, 0, '0', 0);
INSERT INTO `tec_categories` (`id`, `code`, `name`, `image`, `store_id`, `default_store_cate`, `discount`, `ingredient`) VALUES (6, '006', 'ភេសជ្ជៈពេញនិយម', 'no_image.png', 1, 0, '0', 0);


#
# TABLE STRUCTURE FOR: tec_combo_items
#

DROP TABLE IF EXISTS `tec_combo_items`;

CREATE TABLE `tec_combo_items` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `product_id` int(11) NOT NULL,
  `item_code` varchar(150) NOT NULL,
  `quantity` decimal(12,2) NOT NULL,
  `price` decimal(25,4) DEFAULT NULL,
  `cost` decimal(25,4) DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;

#
# TABLE STRUCTURE FOR: tec_customer_group
#

DROP TABLE IF EXISTS `tec_customer_group`;

CREATE TABLE `tec_customer_group` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `code` varchar(100) DEFAULT NULL,
  `name` varchar(255) NOT NULL,
  `active` tinyint(1) DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;

#
# TABLE STRUCTURE FOR: tec_customers
#

DROP TABLE IF EXISTS `tec_customers`;

CREATE TABLE `tec_customers` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `name` varchar(255) NOT NULL,
  `cf1` varchar(255) NOT NULL,
  `cf2` varchar(255) NOT NULL,
  `phone` varchar(255) NOT NULL,
  `email` varchar(255) NOT NULL,
  `store_id` int(11) DEFAULT NULL,
  `hide` tinyint(1) NOT NULL,
  `discount` varchar(20) NOT NULL DEFAULT '0',
  `award_points` decimal(25,4) DEFAULT NULL,
  `group_id` int(11) DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;

INSERT INTO `tec_customers` (`id`, `name`, `cf1`, `cf2`, `phone`, `email`, `store_id`, `hide`, `discount`, `award_points`, `group_id`) VALUES (1, 'ទូទៅ', '', '', '', '', NULL, 0, '0', '0.0000', NULL);
INSERT INTO `tec_customers` (`id`, `name`, `cf1`, `cf2`, `phone`, `email`, `store_id`, `hide`, `discount`, `award_points`, `group_id`) VALUES (2, 'bb', '', '', '', '', NULL, 0, '', NULL, 0);


#
# TABLE STRUCTURE FOR: tec_expense_type
#

DROP TABLE IF EXISTS `tec_expense_type`;

CREATE TABLE `tec_expense_type` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `name` text NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;

#
# TABLE STRUCTURE FOR: tec_expenses
#

DROP TABLE IF EXISTS `tec_expenses`;

CREATE TABLE `tec_expenses` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `date` timestamp NOT NULL DEFAULT current_timestamp(),
  `reference` varchar(50) NOT NULL,
  `amount` decimal(25,4) NOT NULL,
  `note` varchar(1000) DEFAULT NULL,
  `created_by` varchar(55) NOT NULL,
  `attachment` varchar(55) DEFAULT NULL,
  `store_id` int(11) NOT NULL DEFAULT 1,
  `type` varchar(100) DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;

#
# TABLE STRUCTURE FOR: tec_gift_cards
#

DROP TABLE IF EXISTS `tec_gift_cards`;

CREATE TABLE `tec_gift_cards` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `date` timestamp NOT NULL DEFAULT current_timestamp(),
  `card_no` varchar(20) NOT NULL,
  `value` decimal(25,4) NOT NULL,
  `customer_id` int(11) DEFAULT NULL,
  `balance` decimal(25,4) NOT NULL,
  `expiry` date DEFAULT NULL,
  `created_by` int(11) DEFAULT NULL,
  `store_id` int(11) DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `card_no` (`card_no`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;

#
# TABLE STRUCTURE FOR: tec_groups
#

DROP TABLE IF EXISTS `tec_groups`;

CREATE TABLE `tec_groups` (
  `id` mediumint(8) unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(20) NOT NULL,
  `description` varchar(100) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=10 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;

INSERT INTO `tec_groups` (`id`, `name`, `description`) VALUES (1, 'admin', 'Administrator');
INSERT INTO `tec_groups` (`id`, `name`, `description`) VALUES (2, 'staff', 'Cashier');
INSERT INTO `tec_groups` (`id`, `name`, `description`) VALUES (3, 'stock', 'Stock');
INSERT INTO `tec_groups` (`id`, `name`, `description`) VALUES (4, 'manager', 'Manager');
INSERT INTO `tec_groups` (`id`, `name`, `description`) VALUES (5, 'print', 'Print Only');
INSERT INTO `tec_groups` (`id`, `name`, `description`) VALUES (6, 'salereport', 'View Sales Report');
INSERT INTO `tec_groups` (`id`, `name`, `description`) VALUES (7, 'allreports', 'View All Reports');
INSERT INTO `tec_groups` (`id`, `name`, `description`) VALUES (8, 'order', 'Order');
INSERT INTO `tec_groups` (`id`, `name`, `description`) VALUES (9, 'supervisor', 'Supervisor');


#
# TABLE STRUCTURE FOR: tec_login_attempts
#

DROP TABLE IF EXISTS `tec_login_attempts`;

CREATE TABLE `tec_login_attempts` (
  `id` mediumint(8) unsigned NOT NULL AUTO_INCREMENT,
  `ip_address` varbinary(16) NOT NULL,
  `login` varchar(100) NOT NULL,
  `time` int(11) unsigned DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;

#
# TABLE STRUCTURE FOR: tec_payments
#

DROP TABLE IF EXISTS `tec_payments`;

CREATE TABLE `tec_payments` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `date` timestamp NULL DEFAULT current_timestamp(),
  `sale_id` int(11) DEFAULT NULL,
  `customer_id` int(11) DEFAULT NULL,
  `transaction_id` varchar(50) DEFAULT NULL,
  `paid_by` varchar(20) NOT NULL,
  `cheque_no` varchar(20) DEFAULT NULL,
  `cc_no` varchar(20) DEFAULT NULL,
  `cc_holder` varchar(25) DEFAULT NULL,
  `cc_month` varchar(2) DEFAULT NULL,
  `cc_year` varchar(4) DEFAULT NULL,
  `cc_type` varchar(20) DEFAULT NULL,
  `amount` decimal(25,4) NOT NULL,
  `currency` varchar(3) DEFAULT NULL,
  `created_by` int(11) NOT NULL,
  `attachment` varchar(55) DEFAULT NULL,
  `note` varchar(1000) DEFAULT NULL,
  `pos_paid` decimal(25,4) DEFAULT 0.0000,
  `pos_balance` decimal(25,4) DEFAULT 0.0000,
  `gc_no` varchar(20) DEFAULT NULL,
  `reference` varchar(50) DEFAULT NULL,
  `updated_by` int(11) DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `store_id` int(11) NOT NULL DEFAULT 1,
  `pos_paid_main` decimal(25,4) DEFAULT 0.0000,
  `pos_paid_exc` decimal(25,4) DEFAULT 0.0000,
  `pos_paid_exc2` decimal(25,4) DEFAULT 0.0000,
  `next_payment` date DEFAULT NULL,
  `alert_payment_day` int(11) DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=68 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;

INSERT INTO `tec_payments` (`id`, `date`, `sale_id`, `customer_id`, `transaction_id`, `paid_by`, `cheque_no`, `cc_no`, `cc_holder`, `cc_month`, `cc_year`, `cc_type`, `amount`, `currency`, `created_by`, `attachment`, `note`, `pos_paid`, `pos_balance`, `gc_no`, `reference`, `updated_by`, `updated_at`, `store_id`, `pos_paid_main`, `pos_paid_exc`, `pos_paid_exc2`, `next_payment`, `alert_payment_day`) VALUES (2, '2026-05-06 09:12:15', 2, 1, NULL, 'cash', '', '', '', '', '', '', '18000.0000', NULL, 1, NULL, '', '18000.0000', '0.0000', '', NULL, NULL, NULL, 1, '18000.0000', '0.0000', '0.0000', NULL, NULL);
INSERT INTO `tec_payments` (`id`, `date`, `sale_id`, `customer_id`, `transaction_id`, `paid_by`, `cheque_no`, `cc_no`, `cc_holder`, `cc_month`, `cc_year`, `cc_type`, `amount`, `currency`, `created_by`, `attachment`, `note`, `pos_paid`, `pos_balance`, `gc_no`, `reference`, `updated_by`, `updated_at`, `store_id`, `pos_paid_main`, `pos_paid_exc`, `pos_paid_exc2`, `next_payment`, `alert_payment_day`) VALUES (3, '2026-05-06 09:16:04', 3, 1, NULL, 'cash', '', '', '', '', '', '', '16000.0000', NULL, 1, NULL, '', '16000.0000', '0.0000', '', NULL, NULL, NULL, 1, '16000.0000', '0.0000', '0.0000', NULL, NULL);
INSERT INTO `tec_payments` (`id`, `date`, `sale_id`, `customer_id`, `transaction_id`, `paid_by`, `cheque_no`, `cc_no`, `cc_holder`, `cc_month`, `cc_year`, `cc_type`, `amount`, `currency`, `created_by`, `attachment`, `note`, `pos_paid`, `pos_balance`, `gc_no`, `reference`, `updated_by`, `updated_at`, `store_id`, `pos_paid_main`, `pos_paid_exc`, `pos_paid_exc2`, `next_payment`, `alert_payment_day`) VALUES (4, '2026-05-06 09:21:34', 4, 1, NULL, 'cash', '', '', '', '', '', '', '16000.0000', NULL, 1, NULL, '', '16000.0000', '0.0000', '', NULL, NULL, NULL, 1, '16000.0000', '0.0000', '0.0000', NULL, NULL);
INSERT INTO `tec_payments` (`id`, `date`, `sale_id`, `customer_id`, `transaction_id`, `paid_by`, `cheque_no`, `cc_no`, `cc_holder`, `cc_month`, `cc_year`, `cc_type`, `amount`, `currency`, `created_by`, `attachment`, `note`, `pos_paid`, `pos_balance`, `gc_no`, `reference`, `updated_by`, `updated_at`, `store_id`, `pos_paid_main`, `pos_paid_exc`, `pos_paid_exc2`, `next_payment`, `alert_payment_day`) VALUES (5, '2026-05-06 13:31:56', 5, 1, NULL, 'cash', '', '', '', '', '', '', '17000.0000', NULL, 1, NULL, '', '17000.0000', '0.0000', '', NULL, NULL, NULL, 1, '17000.0000', '0.0000', '0.0000', NULL, NULL);
INSERT INTO `tec_payments` (`id`, `date`, `sale_id`, `customer_id`, `transaction_id`, `paid_by`, `cheque_no`, `cc_no`, `cc_holder`, `cc_month`, `cc_year`, `cc_type`, `amount`, `currency`, `created_by`, `attachment`, `note`, `pos_paid`, `pos_balance`, `gc_no`, `reference`, `updated_by`, `updated_at`, `store_id`, `pos_paid_main`, `pos_paid_exc`, `pos_paid_exc2`, `next_payment`, `alert_payment_day`) VALUES (6, '2026-05-06 13:50:41', 6, 1, NULL, 'cash', '', '', '', '', '', '', '10000.0000', NULL, 1, NULL, '', '10000.0000', '0.0000', '', NULL, NULL, NULL, 1, '10000.0000', '0.0000', '0.0000', NULL, NULL);
INSERT INTO `tec_payments` (`id`, `date`, `sale_id`, `customer_id`, `transaction_id`, `paid_by`, `cheque_no`, `cc_no`, `cc_holder`, `cc_month`, `cc_year`, `cc_type`, `amount`, `currency`, `created_by`, `attachment`, `note`, `pos_paid`, `pos_balance`, `gc_no`, `reference`, `updated_by`, `updated_at`, `store_id`, `pos_paid_main`, `pos_paid_exc`, `pos_paid_exc2`, `next_payment`, `alert_payment_day`) VALUES (7, '2026-05-07 08:15:20', 7, 1, NULL, 'cash', '', '', '', '', '', '', '6000.0000', NULL, 1, NULL, '', '6000.0000', '0.0000', '', NULL, NULL, NULL, 1, '6000.0000', '0.0000', '0.0000', NULL, NULL);
INSERT INTO `tec_payments` (`id`, `date`, `sale_id`, `customer_id`, `transaction_id`, `paid_by`, `cheque_no`, `cc_no`, `cc_holder`, `cc_month`, `cc_year`, `cc_type`, `amount`, `currency`, `created_by`, `attachment`, `note`, `pos_paid`, `pos_balance`, `gc_no`, `reference`, `updated_by`, `updated_at`, `store_id`, `pos_paid_main`, `pos_paid_exc`, `pos_paid_exc2`, `next_payment`, `alert_payment_day`) VALUES (8, '2026-05-07 08:48:36', 8, 1, NULL, 'cash', '', '', '', '', '', '', '4000.0000', NULL, 1, NULL, '', '4000.0000', '0.0000', '', NULL, NULL, NULL, 1, '4000.0000', '0.0000', '0.0000', NULL, NULL);
INSERT INTO `tec_payments` (`id`, `date`, `sale_id`, `customer_id`, `transaction_id`, `paid_by`, `cheque_no`, `cc_no`, `cc_holder`, `cc_month`, `cc_year`, `cc_type`, `amount`, `currency`, `created_by`, `attachment`, `note`, `pos_paid`, `pos_balance`, `gc_no`, `reference`, `updated_by`, `updated_at`, `store_id`, `pos_paid_main`, `pos_paid_exc`, `pos_paid_exc2`, `next_payment`, `alert_payment_day`) VALUES (9, '2026-05-07 09:28:26', 10, 1, NULL, 'cash', '', '', '', '', '', '', '5000.0000', NULL, 1, NULL, '', '5000.0000', '0.0000', '', NULL, NULL, NULL, 1, '5000.0000', '0.0000', '0.0000', NULL, NULL);
INSERT INTO `tec_payments` (`id`, `date`, `sale_id`, `customer_id`, `transaction_id`, `paid_by`, `cheque_no`, `cc_no`, `cc_holder`, `cc_month`, `cc_year`, `cc_type`, `amount`, `currency`, `created_by`, `attachment`, `note`, `pos_paid`, `pos_balance`, `gc_no`, `reference`, `updated_by`, `updated_at`, `store_id`, `pos_paid_main`, `pos_paid_exc`, `pos_paid_exc2`, `next_payment`, `alert_payment_day`) VALUES (10, '2026-05-07 09:45:13', 11, 1, NULL, 'ABA', '', '', '', '', '', '', '6000.0000', NULL, 1, NULL, '', '6000.0000', '0.0000', '', NULL, NULL, NULL, 1, '6000.0000', '0.0000', '0.0000', NULL, NULL);
INSERT INTO `tec_payments` (`id`, `date`, `sale_id`, `customer_id`, `transaction_id`, `paid_by`, `cheque_no`, `cc_no`, `cc_holder`, `cc_month`, `cc_year`, `cc_type`, `amount`, `currency`, `created_by`, `attachment`, `note`, `pos_paid`, `pos_balance`, `gc_no`, `reference`, `updated_by`, `updated_at`, `store_id`, `pos_paid_main`, `pos_paid_exc`, `pos_paid_exc2`, `next_payment`, `alert_payment_day`) VALUES (11, '2026-05-07 10:22:45', 12, 1, NULL, 'cash', '', '', '', '', '', '', '6000.0000', NULL, 1, NULL, '', '6000.0000', '0.0000', '', NULL, NULL, NULL, 1, '6000.0000', '0.0000', '0.0000', NULL, NULL);
INSERT INTO `tec_payments` (`id`, `date`, `sale_id`, `customer_id`, `transaction_id`, `paid_by`, `cheque_no`, `cc_no`, `cc_holder`, `cc_month`, `cc_year`, `cc_type`, `amount`, `currency`, `created_by`, `attachment`, `note`, `pos_paid`, `pos_balance`, `gc_no`, `reference`, `updated_by`, `updated_at`, `store_id`, `pos_paid_main`, `pos_paid_exc`, `pos_paid_exc2`, `next_payment`, `alert_payment_day`) VALUES (12, '2026-05-07 11:05:36', 13, 1, NULL, 'cash', '', '', '', '', '', '', '9000.0000', NULL, 1, NULL, '', '9000.0000', '0.0000', '', NULL, NULL, NULL, 1, '9000.0000', '0.0000', '0.0000', NULL, NULL);
INSERT INTO `tec_payments` (`id`, `date`, `sale_id`, `customer_id`, `transaction_id`, `paid_by`, `cheque_no`, `cc_no`, `cc_holder`, `cc_month`, `cc_year`, `cc_type`, `amount`, `currency`, `created_by`, `attachment`, `note`, `pos_paid`, `pos_balance`, `gc_no`, `reference`, `updated_by`, `updated_at`, `store_id`, `pos_paid_main`, `pos_paid_exc`, `pos_paid_exc2`, `next_payment`, `alert_payment_day`) VALUES (13, '2026-05-07 12:00:55', 14, 1, NULL, 'cash', '', '', '', '', '', '', '30500.0000', NULL, 1, NULL, '', '30500.0000', '0.0000', '', NULL, NULL, NULL, 1, '30500.0000', '0.0000', '0.0000', NULL, NULL);
INSERT INTO `tec_payments` (`id`, `date`, `sale_id`, `customer_id`, `transaction_id`, `paid_by`, `cheque_no`, `cc_no`, `cc_holder`, `cc_month`, `cc_year`, `cc_type`, `amount`, `currency`, `created_by`, `attachment`, `note`, `pos_paid`, `pos_balance`, `gc_no`, `reference`, `updated_by`, `updated_at`, `store_id`, `pos_paid_main`, `pos_paid_exc`, `pos_paid_exc2`, `next_payment`, `alert_payment_day`) VALUES (14, '2026-05-07 12:08:57', 15, 1, NULL, 'cash', '', '', '', '', '', '', '5000.0000', NULL, 1, NULL, '', '5000.0000', '0.0000', '', NULL, NULL, NULL, 1, '5000.0000', '0.0000', '0.0000', NULL, NULL);
INSERT INTO `tec_payments` (`id`, `date`, `sale_id`, `customer_id`, `transaction_id`, `paid_by`, `cheque_no`, `cc_no`, `cc_holder`, `cc_month`, `cc_year`, `cc_type`, `amount`, `currency`, `created_by`, `attachment`, `note`, `pos_paid`, `pos_balance`, `gc_no`, `reference`, `updated_by`, `updated_at`, `store_id`, `pos_paid_main`, `pos_paid_exc`, `pos_paid_exc2`, `next_payment`, `alert_payment_day`) VALUES (15, '2026-05-07 12:40:55', 16, 1, NULL, 'ABA', '', '', '', '', '', '', '5000.0000', NULL, 1, NULL, '', '5000.0000', '0.0000', '', NULL, NULL, NULL, 1, '5000.0000', '0.0000', '0.0000', NULL, NULL);
INSERT INTO `tec_payments` (`id`, `date`, `sale_id`, `customer_id`, `transaction_id`, `paid_by`, `cheque_no`, `cc_no`, `cc_holder`, `cc_month`, `cc_year`, `cc_type`, `amount`, `currency`, `created_by`, `attachment`, `note`, `pos_paid`, `pos_balance`, `gc_no`, `reference`, `updated_by`, `updated_at`, `store_id`, `pos_paid_main`, `pos_paid_exc`, `pos_paid_exc2`, `next_payment`, `alert_payment_day`) VALUES (16, '2026-05-07 13:01:34', 17, 1, NULL, 'cash', '', '', '', '', '', '', '16000.0000', NULL, 1, NULL, '', '16000.0000', '0.0000', '', NULL, NULL, NULL, 1, '16000.0000', '0.0000', '0.0000', NULL, NULL);
INSERT INTO `tec_payments` (`id`, `date`, `sale_id`, `customer_id`, `transaction_id`, `paid_by`, `cheque_no`, `cc_no`, `cc_holder`, `cc_month`, `cc_year`, `cc_type`, `amount`, `currency`, `created_by`, `attachment`, `note`, `pos_paid`, `pos_balance`, `gc_no`, `reference`, `updated_by`, `updated_at`, `store_id`, `pos_paid_main`, `pos_paid_exc`, `pos_paid_exc2`, `next_payment`, `alert_payment_day`) VALUES (17, '2026-05-07 13:24:13', 18, 1, NULL, 'cash', '', '', '', '', '', '', '6500.0000', NULL, 1, NULL, '', '6500.0000', '0.0000', '', NULL, NULL, NULL, 1, '6500.0000', '0.0000', '0.0000', NULL, NULL);
INSERT INTO `tec_payments` (`id`, `date`, `sale_id`, `customer_id`, `transaction_id`, `paid_by`, `cheque_no`, `cc_no`, `cc_holder`, `cc_month`, `cc_year`, `cc_type`, `amount`, `currency`, `created_by`, `attachment`, `note`, `pos_paid`, `pos_balance`, `gc_no`, `reference`, `updated_by`, `updated_at`, `store_id`, `pos_paid_main`, `pos_paid_exc`, `pos_paid_exc2`, `next_payment`, `alert_payment_day`) VALUES (18, '2026-05-07 14:59:50', 19, 1, NULL, 'ABA', '', '', '', '', '', '', '4000.0000', NULL, 1, NULL, '', '4000.0000', '0.0000', '', NULL, NULL, NULL, 1, '4000.0000', '0.0000', '0.0000', NULL, NULL);
INSERT INTO `tec_payments` (`id`, `date`, `sale_id`, `customer_id`, `transaction_id`, `paid_by`, `cheque_no`, `cc_no`, `cc_holder`, `cc_month`, `cc_year`, `cc_type`, `amount`, `currency`, `created_by`, `attachment`, `note`, `pos_paid`, `pos_balance`, `gc_no`, `reference`, `updated_by`, `updated_at`, `store_id`, `pos_paid_main`, `pos_paid_exc`, `pos_paid_exc2`, `next_payment`, `alert_payment_day`) VALUES (19, '2026-05-07 15:24:55', 20, 1, NULL, 'cash', '', '', '', '', '', '', '18500.0000', NULL, 1, NULL, '', '18500.0000', '0.0000', '', NULL, NULL, NULL, 1, '18500.0000', '0.0000', '0.0000', NULL, NULL);
INSERT INTO `tec_payments` (`id`, `date`, `sale_id`, `customer_id`, `transaction_id`, `paid_by`, `cheque_no`, `cc_no`, `cc_holder`, `cc_month`, `cc_year`, `cc_type`, `amount`, `currency`, `created_by`, `attachment`, `note`, `pos_paid`, `pos_balance`, `gc_no`, `reference`, `updated_by`, `updated_at`, `store_id`, `pos_paid_main`, `pos_paid_exc`, `pos_paid_exc2`, `next_payment`, `alert_payment_day`) VALUES (20, '2026-05-07 15:46:10', 21, 1, NULL, 'cash', '', '', '', '', '', '', '19000.0000', NULL, 1, NULL, '', '19000.0000', '0.0000', '', NULL, NULL, NULL, 1, '19000.0000', '0.0000', '0.0000', NULL, NULL);
INSERT INTO `tec_payments` (`id`, `date`, `sale_id`, `customer_id`, `transaction_id`, `paid_by`, `cheque_no`, `cc_no`, `cc_holder`, `cc_month`, `cc_year`, `cc_type`, `amount`, `currency`, `created_by`, `attachment`, `note`, `pos_paid`, `pos_balance`, `gc_no`, `reference`, `updated_by`, `updated_at`, `store_id`, `pos_paid_main`, `pos_paid_exc`, `pos_paid_exc2`, `next_payment`, `alert_payment_day`) VALUES (21, '2026-05-07 16:13:37', 22, 1, NULL, 'cash', '', '', '', '', '', '', '12500.0000', NULL, 1, NULL, '', '12500.0000', '0.0000', '', NULL, NULL, NULL, 1, '12500.0000', '0.0000', '0.0000', NULL, NULL);
INSERT INTO `tec_payments` (`id`, `date`, `sale_id`, `customer_id`, `transaction_id`, `paid_by`, `cheque_no`, `cc_no`, `cc_holder`, `cc_month`, `cc_year`, `cc_type`, `amount`, `currency`, `created_by`, `attachment`, `note`, `pos_paid`, `pos_balance`, `gc_no`, `reference`, `updated_by`, `updated_at`, `store_id`, `pos_paid_main`, `pos_paid_exc`, `pos_paid_exc2`, `next_payment`, `alert_payment_day`) VALUES (22, '2026-05-08 08:43:34', 23, 1, NULL, 'cash', '', '', '', '', '', '', '5000.0000', NULL, 1, NULL, '', '5000.0000', '0.0000', '', NULL, NULL, NULL, 1, '5000.0000', '0.0000', '0.0000', NULL, NULL);
INSERT INTO `tec_payments` (`id`, `date`, `sale_id`, `customer_id`, `transaction_id`, `paid_by`, `cheque_no`, `cc_no`, `cc_holder`, `cc_month`, `cc_year`, `cc_type`, `amount`, `currency`, `created_by`, `attachment`, `note`, `pos_paid`, `pos_balance`, `gc_no`, `reference`, `updated_by`, `updated_at`, `store_id`, `pos_paid_main`, `pos_paid_exc`, `pos_paid_exc2`, `next_payment`, `alert_payment_day`) VALUES (23, '2026-05-08 08:44:23', 24, 1, NULL, 'cash', '', '', '', '', '', '', '4000.0000', NULL, 1, NULL, '', '4000.0000', '0.0000', '', NULL, NULL, NULL, 1, '4000.0000', '0.0000', '0.0000', NULL, NULL);
INSERT INTO `tec_payments` (`id`, `date`, `sale_id`, `customer_id`, `transaction_id`, `paid_by`, `cheque_no`, `cc_no`, `cc_holder`, `cc_month`, `cc_year`, `cc_type`, `amount`, `currency`, `created_by`, `attachment`, `note`, `pos_paid`, `pos_balance`, `gc_no`, `reference`, `updated_by`, `updated_at`, `store_id`, `pos_paid_main`, `pos_paid_exc`, `pos_paid_exc2`, `next_payment`, `alert_payment_day`) VALUES (24, '2026-05-08 08:44:54', 25, 1, NULL, 'cash', '', '', '', '', '', '', '6000.0000', NULL, 1, NULL, '', '6000.0000', '0.0000', '', NULL, NULL, NULL, 1, '6000.0000', '0.0000', '0.0000', NULL, NULL);
INSERT INTO `tec_payments` (`id`, `date`, `sale_id`, `customer_id`, `transaction_id`, `paid_by`, `cheque_no`, `cc_no`, `cc_holder`, `cc_month`, `cc_year`, `cc_type`, `amount`, `currency`, `created_by`, `attachment`, `note`, `pos_paid`, `pos_balance`, `gc_no`, `reference`, `updated_by`, `updated_at`, `store_id`, `pos_paid_main`, `pos_paid_exc`, `pos_paid_exc2`, `next_payment`, `alert_payment_day`) VALUES (25, '2026-05-08 08:51:56', 26, 1, NULL, 'cash', '', '', '', '', '', '', '6000.0000', NULL, 1, NULL, '', '6000.0000', '0.0000', '', NULL, NULL, NULL, 1, '6000.0000', '0.0000', '0.0000', NULL, NULL);
INSERT INTO `tec_payments` (`id`, `date`, `sale_id`, `customer_id`, `transaction_id`, `paid_by`, `cheque_no`, `cc_no`, `cc_holder`, `cc_month`, `cc_year`, `cc_type`, `amount`, `currency`, `created_by`, `attachment`, `note`, `pos_paid`, `pos_balance`, `gc_no`, `reference`, `updated_by`, `updated_at`, `store_id`, `pos_paid_main`, `pos_paid_exc`, `pos_paid_exc2`, `next_payment`, `alert_payment_day`) VALUES (26, '2026-05-08 09:20:35', 27, 1, NULL, 'cash', '', '', '', '', '', '', '4000.0000', NULL, 1, NULL, '', '4000.0000', '0.0000', '', NULL, NULL, NULL, 1, '4000.0000', '0.0000', '0.0000', NULL, NULL);
INSERT INTO `tec_payments` (`id`, `date`, `sale_id`, `customer_id`, `transaction_id`, `paid_by`, `cheque_no`, `cc_no`, `cc_holder`, `cc_month`, `cc_year`, `cc_type`, `amount`, `currency`, `created_by`, `attachment`, `note`, `pos_paid`, `pos_balance`, `gc_no`, `reference`, `updated_by`, `updated_at`, `store_id`, `pos_paid_main`, `pos_paid_exc`, `pos_paid_exc2`, `next_payment`, `alert_payment_day`) VALUES (27, '2026-05-08 09:21:28', 28, 1, NULL, 'cash', '', '', '', '', '', '', '5000.0000', NULL, 1, NULL, '', '5000.0000', '0.0000', '', NULL, NULL, NULL, 1, '5000.0000', '0.0000', '0.0000', NULL, NULL);
INSERT INTO `tec_payments` (`id`, `date`, `sale_id`, `customer_id`, `transaction_id`, `paid_by`, `cheque_no`, `cc_no`, `cc_holder`, `cc_month`, `cc_year`, `cc_type`, `amount`, `currency`, `created_by`, `attachment`, `note`, `pos_paid`, `pos_balance`, `gc_no`, `reference`, `updated_by`, `updated_at`, `store_id`, `pos_paid_main`, `pos_paid_exc`, `pos_paid_exc2`, `next_payment`, `alert_payment_day`) VALUES (28, '2026-05-08 09:28:55', 29, 1, NULL, 'cash', '', '', '', '', '', '', '4000.0000', NULL, 1, NULL, '', '4000.0000', '0.0000', '', NULL, NULL, NULL, 1, '4000.0000', '0.0000', '0.0000', NULL, NULL);
INSERT INTO `tec_payments` (`id`, `date`, `sale_id`, `customer_id`, `transaction_id`, `paid_by`, `cheque_no`, `cc_no`, `cc_holder`, `cc_month`, `cc_year`, `cc_type`, `amount`, `currency`, `created_by`, `attachment`, `note`, `pos_paid`, `pos_balance`, `gc_no`, `reference`, `updated_by`, `updated_at`, `store_id`, `pos_paid_main`, `pos_paid_exc`, `pos_paid_exc2`, `next_payment`, `alert_payment_day`) VALUES (29, '2026-05-08 10:24:00', 30, 1, NULL, 'cash', '', '', '', '', '', '', '24000.0000', NULL, 1, NULL, '', '24000.0000', '0.0000', '', NULL, NULL, NULL, 1, '24000.0000', '0.0000', '0.0000', NULL, NULL);
INSERT INTO `tec_payments` (`id`, `date`, `sale_id`, `customer_id`, `transaction_id`, `paid_by`, `cheque_no`, `cc_no`, `cc_holder`, `cc_month`, `cc_year`, `cc_type`, `amount`, `currency`, `created_by`, `attachment`, `note`, `pos_paid`, `pos_balance`, `gc_no`, `reference`, `updated_by`, `updated_at`, `store_id`, `pos_paid_main`, `pos_paid_exc`, `pos_paid_exc2`, `next_payment`, `alert_payment_day`) VALUES (30, '2026-05-08 10:26:27', 31, 1, NULL, 'cash', '', '', '', '', '', '', '12000.0000', NULL, 1, NULL, '', '12000.0000', '0.0000', '', NULL, NULL, NULL, 1, '12000.0000', '0.0000', '0.0000', NULL, NULL);
INSERT INTO `tec_payments` (`id`, `date`, `sale_id`, `customer_id`, `transaction_id`, `paid_by`, `cheque_no`, `cc_no`, `cc_holder`, `cc_month`, `cc_year`, `cc_type`, `amount`, `currency`, `created_by`, `attachment`, `note`, `pos_paid`, `pos_balance`, `gc_no`, `reference`, `updated_by`, `updated_at`, `store_id`, `pos_paid_main`, `pos_paid_exc`, `pos_paid_exc2`, `next_payment`, `alert_payment_day`) VALUES (31, '2026-05-08 11:36:16', 32, 1, NULL, 'cash', '', '', '', '', '', '', '11000.0000', NULL, 1, NULL, '', '11000.0000', '0.0000', '', NULL, NULL, NULL, 1, '11000.0000', '0.0000', '0.0000', NULL, NULL);
INSERT INTO `tec_payments` (`id`, `date`, `sale_id`, `customer_id`, `transaction_id`, `paid_by`, `cheque_no`, `cc_no`, `cc_holder`, `cc_month`, `cc_year`, `cc_type`, `amount`, `currency`, `created_by`, `attachment`, `note`, `pos_paid`, `pos_balance`, `gc_no`, `reference`, `updated_by`, `updated_at`, `store_id`, `pos_paid_main`, `pos_paid_exc`, `pos_paid_exc2`, `next_payment`, `alert_payment_day`) VALUES (32, '2026-05-08 11:43:40', 33, 1, NULL, 'cash', '', '', '', '', '', '', '6000.0000', NULL, 1, NULL, '', '6000.0000', '0.0000', '', NULL, NULL, NULL, 1, '6000.0000', '0.0000', '0.0000', NULL, NULL);
INSERT INTO `tec_payments` (`id`, `date`, `sale_id`, `customer_id`, `transaction_id`, `paid_by`, `cheque_no`, `cc_no`, `cc_holder`, `cc_month`, `cc_year`, `cc_type`, `amount`, `currency`, `created_by`, `attachment`, `note`, `pos_paid`, `pos_balance`, `gc_no`, `reference`, `updated_by`, `updated_at`, `store_id`, `pos_paid_main`, `pos_paid_exc`, `pos_paid_exc2`, `next_payment`, `alert_payment_day`) VALUES (33, '2026-05-08 11:45:51', 34, 1, NULL, 'cash', '', '', '', '', '', '', '4000.0000', NULL, 1, NULL, '', '4000.0000', '0.0000', '', NULL, NULL, NULL, 1, '4000.0000', '0.0000', '0.0000', NULL, NULL);
INSERT INTO `tec_payments` (`id`, `date`, `sale_id`, `customer_id`, `transaction_id`, `paid_by`, `cheque_no`, `cc_no`, `cc_holder`, `cc_month`, `cc_year`, `cc_type`, `amount`, `currency`, `created_by`, `attachment`, `note`, `pos_paid`, `pos_balance`, `gc_no`, `reference`, `updated_by`, `updated_at`, `store_id`, `pos_paid_main`, `pos_paid_exc`, `pos_paid_exc2`, `next_payment`, `alert_payment_day`) VALUES (34, '2026-05-08 14:16:18', 35, 1, NULL, 'cash', '', '', '', '', '', '', '54000.0000', NULL, 1, NULL, '', '54000.0000', '0.0000', '', NULL, NULL, NULL, 1, '54000.0000', '0.0000', '0.0000', NULL, NULL);
INSERT INTO `tec_payments` (`id`, `date`, `sale_id`, `customer_id`, `transaction_id`, `paid_by`, `cheque_no`, `cc_no`, `cc_holder`, `cc_month`, `cc_year`, `cc_type`, `amount`, `currency`, `created_by`, `attachment`, `note`, `pos_paid`, `pos_balance`, `gc_no`, `reference`, `updated_by`, `updated_at`, `store_id`, `pos_paid_main`, `pos_paid_exc`, `pos_paid_exc2`, `next_payment`, `alert_payment_day`) VALUES (35, '2026-05-08 14:24:17', 36, 1, NULL, 'cash', '', '', '', '', '', '', '10000.0000', NULL, 1, NULL, '', '10000.0000', '0.0000', '', NULL, NULL, NULL, 1, '10000.0000', '0.0000', '0.0000', NULL, NULL);
INSERT INTO `tec_payments` (`id`, `date`, `sale_id`, `customer_id`, `transaction_id`, `paid_by`, `cheque_no`, `cc_no`, `cc_holder`, `cc_month`, `cc_year`, `cc_type`, `amount`, `currency`, `created_by`, `attachment`, `note`, `pos_paid`, `pos_balance`, `gc_no`, `reference`, `updated_by`, `updated_at`, `store_id`, `pos_paid_main`, `pos_paid_exc`, `pos_paid_exc2`, `next_payment`, `alert_payment_day`) VALUES (36, '2026-05-09 08:01:38', 37, 1, NULL, 'cash', '', '', '', '', '', '', '6000.0000', NULL, 1, NULL, '', '6000.0000', '0.0000', '', NULL, NULL, NULL, 1, '6000.0000', '0.0000', '0.0000', NULL, NULL);
INSERT INTO `tec_payments` (`id`, `date`, `sale_id`, `customer_id`, `transaction_id`, `paid_by`, `cheque_no`, `cc_no`, `cc_holder`, `cc_month`, `cc_year`, `cc_type`, `amount`, `currency`, `created_by`, `attachment`, `note`, `pos_paid`, `pos_balance`, `gc_no`, `reference`, `updated_by`, `updated_at`, `store_id`, `pos_paid_main`, `pos_paid_exc`, `pos_paid_exc2`, `next_payment`, `alert_payment_day`) VALUES (37, '2026-05-09 08:02:17', 38, 1, NULL, 'cash', '', '', '', '', '', '', '6000.0000', NULL, 1, NULL, '', '6000.0000', '0.0000', '', NULL, NULL, NULL, 1, '6000.0000', '0.0000', '0.0000', NULL, NULL);
INSERT INTO `tec_payments` (`id`, `date`, `sale_id`, `customer_id`, `transaction_id`, `paid_by`, `cheque_no`, `cc_no`, `cc_holder`, `cc_month`, `cc_year`, `cc_type`, `amount`, `currency`, `created_by`, `attachment`, `note`, `pos_paid`, `pos_balance`, `gc_no`, `reference`, `updated_by`, `updated_at`, `store_id`, `pos_paid_main`, `pos_paid_exc`, `pos_paid_exc2`, `next_payment`, `alert_payment_day`) VALUES (38, '2026-05-09 08:13:12', 39, 1, NULL, 'cash', '', '', '', '', '', '', '12000.0000', NULL, 1, NULL, '', '12000.0000', '0.0000', '', NULL, NULL, NULL, 1, '12000.0000', '0.0000', '0.0000', NULL, NULL);
INSERT INTO `tec_payments` (`id`, `date`, `sale_id`, `customer_id`, `transaction_id`, `paid_by`, `cheque_no`, `cc_no`, `cc_holder`, `cc_month`, `cc_year`, `cc_type`, `amount`, `currency`, `created_by`, `attachment`, `note`, `pos_paid`, `pos_balance`, `gc_no`, `reference`, `updated_by`, `updated_at`, `store_id`, `pos_paid_main`, `pos_paid_exc`, `pos_paid_exc2`, `next_payment`, `alert_payment_day`) VALUES (39, '2026-05-09 08:34:54', 40, 1, NULL, 'ABA', '', '', '', '', '', '', '9000.0000', NULL, 1, NULL, '', '9000.0000', '0.0000', '', NULL, NULL, NULL, 1, '9000.0000', '0.0000', '0.0000', NULL, NULL);
INSERT INTO `tec_payments` (`id`, `date`, `sale_id`, `customer_id`, `transaction_id`, `paid_by`, `cheque_no`, `cc_no`, `cc_holder`, `cc_month`, `cc_year`, `cc_type`, `amount`, `currency`, `created_by`, `attachment`, `note`, `pos_paid`, `pos_balance`, `gc_no`, `reference`, `updated_by`, `updated_at`, `store_id`, `pos_paid_main`, `pos_paid_exc`, `pos_paid_exc2`, `next_payment`, `alert_payment_day`) VALUES (40, '2026-05-09 08:35:21', 41, 1, NULL, 'cash', '', '', '', '', '', '', '5000.0000', NULL, 1, NULL, '', '5000.0000', '0.0000', '', NULL, NULL, NULL, 1, '5000.0000', '0.0000', '0.0000', NULL, NULL);
INSERT INTO `tec_payments` (`id`, `date`, `sale_id`, `customer_id`, `transaction_id`, `paid_by`, `cheque_no`, `cc_no`, `cc_holder`, `cc_month`, `cc_year`, `cc_type`, `amount`, `currency`, `created_by`, `attachment`, `note`, `pos_paid`, `pos_balance`, `gc_no`, `reference`, `updated_by`, `updated_at`, `store_id`, `pos_paid_main`, `pos_paid_exc`, `pos_paid_exc2`, `next_payment`, `alert_payment_day`) VALUES (41, '2026-05-09 08:39:32', 42, 1, NULL, 'cash', '', '', '', '', '', '', '9000.0000', NULL, 1, NULL, '', '9000.0000', '0.0000', '', NULL, NULL, NULL, 1, '9000.0000', '0.0000', '0.0000', NULL, NULL);
INSERT INTO `tec_payments` (`id`, `date`, `sale_id`, `customer_id`, `transaction_id`, `paid_by`, `cheque_no`, `cc_no`, `cc_holder`, `cc_month`, `cc_year`, `cc_type`, `amount`, `currency`, `created_by`, `attachment`, `note`, `pos_paid`, `pos_balance`, `gc_no`, `reference`, `updated_by`, `updated_at`, `store_id`, `pos_paid_main`, `pos_paid_exc`, `pos_paid_exc2`, `next_payment`, `alert_payment_day`) VALUES (42, '2026-05-09 08:53:01', 43, 1, NULL, 'cash', '', '', '', '', '', '', '6000.0000', NULL, 1, NULL, '', '6000.0000', '0.0000', '', NULL, NULL, NULL, 1, '6000.0000', '0.0000', '0.0000', NULL, NULL);
INSERT INTO `tec_payments` (`id`, `date`, `sale_id`, `customer_id`, `transaction_id`, `paid_by`, `cheque_no`, `cc_no`, `cc_holder`, `cc_month`, `cc_year`, `cc_type`, `amount`, `currency`, `created_by`, `attachment`, `note`, `pos_paid`, `pos_balance`, `gc_no`, `reference`, `updated_by`, `updated_at`, `store_id`, `pos_paid_main`, `pos_paid_exc`, `pos_paid_exc2`, `next_payment`, `alert_payment_day`) VALUES (43, '2026-05-09 09:46:51', 44, 1, NULL, 'cash', '', '', '', '', '', '', '30000.0000', NULL, 1, NULL, '', '30000.0000', '0.0000', '', NULL, NULL, NULL, 1, '30000.0000', '0.0000', '0.0000', NULL, NULL);
INSERT INTO `tec_payments` (`id`, `date`, `sale_id`, `customer_id`, `transaction_id`, `paid_by`, `cheque_no`, `cc_no`, `cc_holder`, `cc_month`, `cc_year`, `cc_type`, `amount`, `currency`, `created_by`, `attachment`, `note`, `pos_paid`, `pos_balance`, `gc_no`, `reference`, `updated_by`, `updated_at`, `store_id`, `pos_paid_main`, `pos_paid_exc`, `pos_paid_exc2`, `next_payment`, `alert_payment_day`) VALUES (44, '2026-05-09 09:55:01', 45, 1, NULL, 'cash', '', '', '', '', '', '', '15000.0000', NULL, 1, NULL, '', '15000.0000', '0.0000', '', NULL, NULL, NULL, 1, '15000.0000', '0.0000', '0.0000', NULL, NULL);
INSERT INTO `tec_payments` (`id`, `date`, `sale_id`, `customer_id`, `transaction_id`, `paid_by`, `cheque_no`, `cc_no`, `cc_holder`, `cc_month`, `cc_year`, `cc_type`, `amount`, `currency`, `created_by`, `attachment`, `note`, `pos_paid`, `pos_balance`, `gc_no`, `reference`, `updated_by`, `updated_at`, `store_id`, `pos_paid_main`, `pos_paid_exc`, `pos_paid_exc2`, `next_payment`, `alert_payment_day`) VALUES (45, '2026-05-09 10:34:48', 46, 1, NULL, 'cash', '', '', '', '', '', '', '6000.0000', NULL, 1, NULL, '', '6000.0000', '0.0000', '', NULL, NULL, NULL, 1, '6000.0000', '0.0000', '0.0000', NULL, NULL);
INSERT INTO `tec_payments` (`id`, `date`, `sale_id`, `customer_id`, `transaction_id`, `paid_by`, `cheque_no`, `cc_no`, `cc_holder`, `cc_month`, `cc_year`, `cc_type`, `amount`, `currency`, `created_by`, `attachment`, `note`, `pos_paid`, `pos_balance`, `gc_no`, `reference`, `updated_by`, `updated_at`, `store_id`, `pos_paid_main`, `pos_paid_exc`, `pos_paid_exc2`, `next_payment`, `alert_payment_day`) VALUES (46, '2026-05-09 10:54:48', 47, 1, NULL, 'cash', '', '', '', '', '', '', '15000.0000', NULL, 1, NULL, '', '15000.0000', '0.0000', '', NULL, NULL, NULL, 1, '15000.0000', '0.0000', '0.0000', NULL, NULL);
INSERT INTO `tec_payments` (`id`, `date`, `sale_id`, `customer_id`, `transaction_id`, `paid_by`, `cheque_no`, `cc_no`, `cc_holder`, `cc_month`, `cc_year`, `cc_type`, `amount`, `currency`, `created_by`, `attachment`, `note`, `pos_paid`, `pos_balance`, `gc_no`, `reference`, `updated_by`, `updated_at`, `store_id`, `pos_paid_main`, `pos_paid_exc`, `pos_paid_exc2`, `next_payment`, `alert_payment_day`) VALUES (47, '2026-05-09 11:00:04', 48, 1, NULL, 'cash', '', '', '', '', '', '', '5000.0000', NULL, 1, NULL, '', '5000.0000', '0.0000', '', NULL, NULL, NULL, 1, '5000.0000', '0.0000', '0.0000', NULL, NULL);
INSERT INTO `tec_payments` (`id`, `date`, `sale_id`, `customer_id`, `transaction_id`, `paid_by`, `cheque_no`, `cc_no`, `cc_holder`, `cc_month`, `cc_year`, `cc_type`, `amount`, `currency`, `created_by`, `attachment`, `note`, `pos_paid`, `pos_balance`, `gc_no`, `reference`, `updated_by`, `updated_at`, `store_id`, `pos_paid_main`, `pos_paid_exc`, `pos_paid_exc2`, `next_payment`, `alert_payment_day`) VALUES (48, '2026-05-09 11:00:29', 49, 1, NULL, 'cash', '', '', '', '', '', '', '5000.0000', NULL, 1, NULL, '', '5000.0000', '0.0000', '', NULL, NULL, NULL, 1, '5000.0000', '0.0000', '0.0000', NULL, NULL);
INSERT INTO `tec_payments` (`id`, `date`, `sale_id`, `customer_id`, `transaction_id`, `paid_by`, `cheque_no`, `cc_no`, `cc_holder`, `cc_month`, `cc_year`, `cc_type`, `amount`, `currency`, `created_by`, `attachment`, `note`, `pos_paid`, `pos_balance`, `gc_no`, `reference`, `updated_by`, `updated_at`, `store_id`, `pos_paid_main`, `pos_paid_exc`, `pos_paid_exc2`, `next_payment`, `alert_payment_day`) VALUES (49, '2026-05-09 12:04:44', 50, 1, NULL, 'cash', '', '', '', '', '', '', '5000.0000', NULL, 1, NULL, '', '5000.0000', '0.0000', '', NULL, NULL, NULL, 1, '5000.0000', '0.0000', '0.0000', NULL, NULL);
INSERT INTO `tec_payments` (`id`, `date`, `sale_id`, `customer_id`, `transaction_id`, `paid_by`, `cheque_no`, `cc_no`, `cc_holder`, `cc_month`, `cc_year`, `cc_type`, `amount`, `currency`, `created_by`, `attachment`, `note`, `pos_paid`, `pos_balance`, `gc_no`, `reference`, `updated_by`, `updated_at`, `store_id`, `pos_paid_main`, `pos_paid_exc`, `pos_paid_exc2`, `next_payment`, `alert_payment_day`) VALUES (50, '2026-05-09 12:14:57', 51, 1, NULL, 'cash', '', '', '', '', '', '', '24000.0000', NULL, 1, NULL, '', '24000.0000', '0.0000', '', NULL, NULL, NULL, 1, '24000.0000', '0.0000', '0.0000', NULL, NULL);
INSERT INTO `tec_payments` (`id`, `date`, `sale_id`, `customer_id`, `transaction_id`, `paid_by`, `cheque_no`, `cc_no`, `cc_holder`, `cc_month`, `cc_year`, `cc_type`, `amount`, `currency`, `created_by`, `attachment`, `note`, `pos_paid`, `pos_balance`, `gc_no`, `reference`, `updated_by`, `updated_at`, `store_id`, `pos_paid_main`, `pos_paid_exc`, `pos_paid_exc2`, `next_payment`, `alert_payment_day`) VALUES (51, '2026-05-09 12:22:02', 52, 1, NULL, 'ABA', '', '', '', '', '', '', '12500.0000', NULL, 1, NULL, '', '12500.0000', '0.0000', '', NULL, NULL, NULL, 1, '12500.0000', '0.0000', '0.0000', NULL, NULL);
INSERT INTO `tec_payments` (`id`, `date`, `sale_id`, `customer_id`, `transaction_id`, `paid_by`, `cheque_no`, `cc_no`, `cc_holder`, `cc_month`, `cc_year`, `cc_type`, `amount`, `currency`, `created_by`, `attachment`, `note`, `pos_paid`, `pos_balance`, `gc_no`, `reference`, `updated_by`, `updated_at`, `store_id`, `pos_paid_main`, `pos_paid_exc`, `pos_paid_exc2`, `next_payment`, `alert_payment_day`) VALUES (52, '2026-05-09 15:29:59', 53, 1, NULL, 'cash', '', '', '', '', '', '', '10000.0000', NULL, 1, NULL, '', '10000.0000', '0.0000', '', NULL, NULL, NULL, 1, '10000.0000', '0.0000', '0.0000', NULL, NULL);
INSERT INTO `tec_payments` (`id`, `date`, `sale_id`, `customer_id`, `transaction_id`, `paid_by`, `cheque_no`, `cc_no`, `cc_holder`, `cc_month`, `cc_year`, `cc_type`, `amount`, `currency`, `created_by`, `attachment`, `note`, `pos_paid`, `pos_balance`, `gc_no`, `reference`, `updated_by`, `updated_at`, `store_id`, `pos_paid_main`, `pos_paid_exc`, `pos_paid_exc2`, `next_payment`, `alert_payment_day`) VALUES (53, '2026-05-09 16:43:38', 54, 1, NULL, 'cash', '', '', '', '', '', '', '18500.0000', NULL, 1, NULL, '', '18500.0000', '0.0000', '', NULL, NULL, NULL, 1, '18500.0000', '0.0000', '0.0000', NULL, NULL);
INSERT INTO `tec_payments` (`id`, `date`, `sale_id`, `customer_id`, `transaction_id`, `paid_by`, `cheque_no`, `cc_no`, `cc_holder`, `cc_month`, `cc_year`, `cc_type`, `amount`, `currency`, `created_by`, `attachment`, `note`, `pos_paid`, `pos_balance`, `gc_no`, `reference`, `updated_by`, `updated_at`, `store_id`, `pos_paid_main`, `pos_paid_exc`, `pos_paid_exc2`, `next_payment`, `alert_payment_day`) VALUES (54, '2026-05-09 17:45:06', 55, 1, NULL, 'cash', '', '', '', '', '', '', '6000.0000', NULL, 1, NULL, '', '6000.0000', '0.0000', '', NULL, NULL, NULL, 1, '6000.0000', '0.0000', '0.0000', NULL, NULL);
INSERT INTO `tec_payments` (`id`, `date`, `sale_id`, `customer_id`, `transaction_id`, `paid_by`, `cheque_no`, `cc_no`, `cc_holder`, `cc_month`, `cc_year`, `cc_type`, `amount`, `currency`, `created_by`, `attachment`, `note`, `pos_paid`, `pos_balance`, `gc_no`, `reference`, `updated_by`, `updated_at`, `store_id`, `pos_paid_main`, `pos_paid_exc`, `pos_paid_exc2`, `next_payment`, `alert_payment_day`) VALUES (55, '2026-05-09 18:05:43', 56, 1, NULL, 'cash', '', '', '', '', '', '', '5000.0000', NULL, 1, NULL, '', '5000.0000', '0.0000', '', NULL, NULL, NULL, 1, '5000.0000', '0.0000', '0.0000', NULL, NULL);
INSERT INTO `tec_payments` (`id`, `date`, `sale_id`, `customer_id`, `transaction_id`, `paid_by`, `cheque_no`, `cc_no`, `cc_holder`, `cc_month`, `cc_year`, `cc_type`, `amount`, `currency`, `created_by`, `attachment`, `note`, `pos_paid`, `pos_balance`, `gc_no`, `reference`, `updated_by`, `updated_at`, `store_id`, `pos_paid_main`, `pos_paid_exc`, `pos_paid_exc2`, `next_payment`, `alert_payment_day`) VALUES (56, '2026-05-09 18:06:01', 57, 1, NULL, 'cash', '', '', '', '', '', '', '5000.0000', NULL, 1, NULL, '', '5000.0000', '0.0000', '', NULL, NULL, NULL, 1, '5000.0000', '0.0000', '0.0000', NULL, NULL);
INSERT INTO `tec_payments` (`id`, `date`, `sale_id`, `customer_id`, `transaction_id`, `paid_by`, `cheque_no`, `cc_no`, `cc_holder`, `cc_month`, `cc_year`, `cc_type`, `amount`, `currency`, `created_by`, `attachment`, `note`, `pos_paid`, `pos_balance`, `gc_no`, `reference`, `updated_by`, `updated_at`, `store_id`, `pos_paid_main`, `pos_paid_exc`, `pos_paid_exc2`, `next_payment`, `alert_payment_day`) VALUES (57, '2026-05-09 19:14:41', 58, 1, NULL, 'ACLEDA', '', '', '', '', '', '', '5000.0000', NULL, 1, NULL, '', '5000.0000', '0.0000', '', NULL, NULL, NULL, 1, '5000.0000', '0.0000', '0.0000', NULL, NULL);
INSERT INTO `tec_payments` (`id`, `date`, `sale_id`, `customer_id`, `transaction_id`, `paid_by`, `cheque_no`, `cc_no`, `cc_holder`, `cc_month`, `cc_year`, `cc_type`, `amount`, `currency`, `created_by`, `attachment`, `note`, `pos_paid`, `pos_balance`, `gc_no`, `reference`, `updated_by`, `updated_at`, `store_id`, `pos_paid_main`, `pos_paid_exc`, `pos_paid_exc2`, `next_payment`, `alert_payment_day`) VALUES (58, '2026-05-09 19:27:18', 59, 1, NULL, 'cash', '', '', '', '', '', '', '5000.0000', NULL, 1, NULL, '', '5000.0000', '0.0000', '', NULL, NULL, NULL, 1, '5000.0000', '0.0000', '0.0000', NULL, NULL);
INSERT INTO `tec_payments` (`id`, `date`, `sale_id`, `customer_id`, `transaction_id`, `paid_by`, `cheque_no`, `cc_no`, `cc_holder`, `cc_month`, `cc_year`, `cc_type`, `amount`, `currency`, `created_by`, `attachment`, `note`, `pos_paid`, `pos_balance`, `gc_no`, `reference`, `updated_by`, `updated_at`, `store_id`, `pos_paid_main`, `pos_paid_exc`, `pos_paid_exc2`, `next_payment`, `alert_payment_day`) VALUES (59, '2026-05-10 07:49:33', 60, 1, NULL, 'cash', '', '', '', '', '', '', '5000.0000', NULL, 1, NULL, '', '5000.0000', '0.0000', '', NULL, NULL, NULL, 1, '5000.0000', '0.0000', '0.0000', NULL, NULL);
INSERT INTO `tec_payments` (`id`, `date`, `sale_id`, `customer_id`, `transaction_id`, `paid_by`, `cheque_no`, `cc_no`, `cc_holder`, `cc_month`, `cc_year`, `cc_type`, `amount`, `currency`, `created_by`, `attachment`, `note`, `pos_paid`, `pos_balance`, `gc_no`, `reference`, `updated_by`, `updated_at`, `store_id`, `pos_paid_main`, `pos_paid_exc`, `pos_paid_exc2`, `next_payment`, `alert_payment_day`) VALUES (60, '2026-05-10 08:39:48', 61, 1, NULL, 'cash', '', '', '', '', '', '', '6000.0000', NULL, 1, NULL, '', '6000.0000', '0.0000', '', NULL, NULL, NULL, 1, '6000.0000', '0.0000', '0.0000', NULL, NULL);
INSERT INTO `tec_payments` (`id`, `date`, `sale_id`, `customer_id`, `transaction_id`, `paid_by`, `cheque_no`, `cc_no`, `cc_holder`, `cc_month`, `cc_year`, `cc_type`, `amount`, `currency`, `created_by`, `attachment`, `note`, `pos_paid`, `pos_balance`, `gc_no`, `reference`, `updated_by`, `updated_at`, `store_id`, `pos_paid_main`, `pos_paid_exc`, `pos_paid_exc2`, `next_payment`, `alert_payment_day`) VALUES (61, '2026-05-10 08:50:00', 62, 1, NULL, 'cash', '', '', '', '', '', '', '8000.0000', NULL, 1, NULL, '', '8000.0000', '0.0000', '', NULL, NULL, NULL, 1, '8000.0000', '0.0000', '0.0000', NULL, NULL);
INSERT INTO `tec_payments` (`id`, `date`, `sale_id`, `customer_id`, `transaction_id`, `paid_by`, `cheque_no`, `cc_no`, `cc_holder`, `cc_month`, `cc_year`, `cc_type`, `amount`, `currency`, `created_by`, `attachment`, `note`, `pos_paid`, `pos_balance`, `gc_no`, `reference`, `updated_by`, `updated_at`, `store_id`, `pos_paid_main`, `pos_paid_exc`, `pos_paid_exc2`, `next_payment`, `alert_payment_day`) VALUES (62, '2026-05-10 10:00:02', 63, 1, NULL, 'cash', '', '', '', '', '', '', '6000.0000', NULL, 1, NULL, '', '6000.0000', '0.0000', '', NULL, NULL, NULL, 1, '6000.0000', '0.0000', '0.0000', NULL, NULL);
INSERT INTO `tec_payments` (`id`, `date`, `sale_id`, `customer_id`, `transaction_id`, `paid_by`, `cheque_no`, `cc_no`, `cc_holder`, `cc_month`, `cc_year`, `cc_type`, `amount`, `currency`, `created_by`, `attachment`, `note`, `pos_paid`, `pos_balance`, `gc_no`, `reference`, `updated_by`, `updated_at`, `store_id`, `pos_paid_main`, `pos_paid_exc`, `pos_paid_exc2`, `next_payment`, `alert_payment_day`) VALUES (63, '2026-05-10 10:00:25', 64, 1, NULL, 'cash', '', '', '', '', '', '', '4000.0000', NULL, 1, NULL, '', '4000.0000', '0.0000', '', NULL, NULL, NULL, 1, '4000.0000', '0.0000', '0.0000', NULL, NULL);
INSERT INTO `tec_payments` (`id`, `date`, `sale_id`, `customer_id`, `transaction_id`, `paid_by`, `cheque_no`, `cc_no`, `cc_holder`, `cc_month`, `cc_year`, `cc_type`, `amount`, `currency`, `created_by`, `attachment`, `note`, `pos_paid`, `pos_balance`, `gc_no`, `reference`, `updated_by`, `updated_at`, `store_id`, `pos_paid_main`, `pos_paid_exc`, `pos_paid_exc2`, `next_payment`, `alert_payment_day`) VALUES (64, '2026-05-10 11:25:00', 65, 1, NULL, 'cash', '', '', '', '', '', '', '17000.0000', NULL, 1, NULL, '', '17000.0000', '0.0000', '', NULL, NULL, NULL, 1, '17000.0000', '0.0000', '0.0000', NULL, NULL);
INSERT INTO `tec_payments` (`id`, `date`, `sale_id`, `customer_id`, `transaction_id`, `paid_by`, `cheque_no`, `cc_no`, `cc_holder`, `cc_month`, `cc_year`, `cc_type`, `amount`, `currency`, `created_by`, `attachment`, `note`, `pos_paid`, `pos_balance`, `gc_no`, `reference`, `updated_by`, `updated_at`, `store_id`, `pos_paid_main`, `pos_paid_exc`, `pos_paid_exc2`, `next_payment`, `alert_payment_day`) VALUES (65, '2026-05-10 11:42:04', 66, 1, NULL, 'cash', '', '', '', '', '', '', '6000.0000', NULL, 1, NULL, '', '6000.0000', '0.0000', '', NULL, NULL, NULL, 1, '6000.0000', '0.0000', '0.0000', NULL, NULL);
INSERT INTO `tec_payments` (`id`, `date`, `sale_id`, `customer_id`, `transaction_id`, `paid_by`, `cheque_no`, `cc_no`, `cc_holder`, `cc_month`, `cc_year`, `cc_type`, `amount`, `currency`, `created_by`, `attachment`, `note`, `pos_paid`, `pos_balance`, `gc_no`, `reference`, `updated_by`, `updated_at`, `store_id`, `pos_paid_main`, `pos_paid_exc`, `pos_paid_exc2`, `next_payment`, `alert_payment_day`) VALUES (66, '2026-05-10 14:44:36', 67, 1, NULL, 'cash', '', '', '', '', '', '', '18000.0000', NULL, 1, NULL, '', '18000.0000', '0.0000', '', NULL, NULL, NULL, 1, '18000.0000', '0.0000', '0.0000', NULL, NULL);
INSERT INTO `tec_payments` (`id`, `date`, `sale_id`, `customer_id`, `transaction_id`, `paid_by`, `cheque_no`, `cc_no`, `cc_holder`, `cc_month`, `cc_year`, `cc_type`, `amount`, `currency`, `created_by`, `attachment`, `note`, `pos_paid`, `pos_balance`, `gc_no`, `reference`, `updated_by`, `updated_at`, `store_id`, `pos_paid_main`, `pos_paid_exc`, `pos_paid_exc2`, `next_payment`, `alert_payment_day`) VALUES (67, '2026-05-10 15:50:12', 68, 1, NULL, 'cash', '', '', '', '', '', '', '6000.0000', NULL, 1, NULL, '', '6000.0000', '0.0000', '', NULL, NULL, NULL, 1, '6000.0000', '0.0000', '0.0000', NULL, NULL);


#
# TABLE STRUCTURE FOR: tec_printers
#

DROP TABLE IF EXISTS `tec_printers`;

CREATE TABLE `tec_printers` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `title` varchar(55) NOT NULL,
  `type` varchar(25) NOT NULL,
  `profile` varchar(25) NOT NULL,
  `char_per_line` tinyint(3) unsigned DEFAULT NULL,
  `path` varchar(255) DEFAULT NULL,
  `ip_address` varbinary(45) DEFAULT NULL,
  `port` varchar(10) DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;

#
# TABLE STRUCTURE FOR: tec_product_options
#

DROP TABLE IF EXISTS `tec_product_options`;

CREATE TABLE `tec_product_options` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `code` varchar(100) DEFAULT NULL,
  `name` varchar(255) DEFAULT NULL,
  `type` varchar(100) DEFAULT NULL,
  `additional_price` decimal(25,4) DEFAULT 0.0000,
  `additional_price_wholesale` decimal(25,4) DEFAULT 0.0000,
  `group_id` int(11) DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;

#
# TABLE STRUCTURE FOR: tec_product_options_group
#

DROP TABLE IF EXISTS `tec_product_options_group`;

CREATE TABLE `tec_product_options_group` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `code` varchar(255) DEFAULT NULL,
  `name` varchar(255) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;

#
# TABLE STRUCTURE FOR: tec_product_store_qty
#

DROP TABLE IF EXISTS `tec_product_store_qty`;

CREATE TABLE `tec_product_store_qty` (
  `id` int(11) NOT NULL,
  `product_id` int(11) NOT NULL,
  `store_id` int(11) NOT NULL,
  `quantity` decimal(15,2) NOT NULL DEFAULT 0.00,
  `price` decimal(25,4) DEFAULT NULL,
  `price_wholesale` decimal(25,4) DEFAULT 0.0000,
  `price_vip` decimal(25,4) DEFAULT 0.0000,
  `unit_id` int(11) DEFAULT NULL,
  `sold_qty` decimal(10,4) NOT NULL DEFAULT 0.0000
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;

INSERT INTO `tec_product_store_qty` (`id`, `product_id`, `store_id`, `quantity`, `price`, `price_wholesale`, `price_vip`, `unit_id`, `sold_qty`) VALUES (0, 1, 1, '-2.00', '5000.0000', '0.0000', '0.0000', NULL, '2.0000');
INSERT INTO `tec_product_store_qty` (`id`, `product_id`, `store_id`, `quantity`, `price`, `price_wholesale`, `price_vip`, `unit_id`, `sold_qty`) VALUES (0, 2, 1, '0.00', '5000.0000', '0.0000', '0.0000', NULL, '0.0000');
INSERT INTO `tec_product_store_qty` (`id`, `product_id`, `store_id`, `quantity`, `price`, `price_wholesale`, `price_vip`, `unit_id`, `sold_qty`) VALUES (0, 3, 1, '0.00', '5000.0000', '0.0000', '0.0000', NULL, '0.0000');
INSERT INTO `tec_product_store_qty` (`id`, `product_id`, `store_id`, `quantity`, `price`, `price_wholesale`, `price_vip`, `unit_id`, `sold_qty`) VALUES (0, 4, 1, '0.00', '5000.0000', '0.0000', '0.0000', NULL, '0.0000');
INSERT INTO `tec_product_store_qty` (`id`, `product_id`, `store_id`, `quantity`, `price`, `price_wholesale`, `price_vip`, `unit_id`, `sold_qty`) VALUES (0, 5, 1, '-2.00', '5000.0000', '0.0000', '0.0000', NULL, '2.0000');
INSERT INTO `tec_product_store_qty` (`id`, `product_id`, `store_id`, `quantity`, `price`, `price_wholesale`, `price_vip`, `unit_id`, `sold_qty`) VALUES (0, 6, 1, '0.00', '5000.0000', '0.0000', '0.0000', NULL, '0.0000');
INSERT INTO `tec_product_store_qty` (`id`, `product_id`, `store_id`, `quantity`, `price`, `price_wholesale`, `price_vip`, `unit_id`, `sold_qty`) VALUES (0, 7, 1, '-7.00', '5000.0000', '0.0000', '0.0000', NULL, '7.0000');
INSERT INTO `tec_product_store_qty` (`id`, `product_id`, `store_id`, `quantity`, `price`, `price_wholesale`, `price_vip`, `unit_id`, `sold_qty`) VALUES (0, 8, 1, '0.00', '5000.0000', '0.0000', '0.0000', NULL, '0.0000');
INSERT INTO `tec_product_store_qty` (`id`, `product_id`, `store_id`, `quantity`, `price`, `price_wholesale`, `price_vip`, `unit_id`, `sold_qty`) VALUES (0, 9, 1, '0.00', '5000.0000', '0.0000', '0.0000', NULL, '0.0000');
INSERT INTO `tec_product_store_qty` (`id`, `product_id`, `store_id`, `quantity`, `price`, `price_wholesale`, `price_vip`, `unit_id`, `sold_qty`) VALUES (0, 10, 1, '-14.00', '6000.0000', '0.0000', '0.0000', NULL, '14.0000');
INSERT INTO `tec_product_store_qty` (`id`, `product_id`, `store_id`, `quantity`, `price`, `price_wholesale`, `price_vip`, `unit_id`, `sold_qty`) VALUES (0, 11, 1, '-11.00', '6000.0000', '0.0000', '0.0000', NULL, '11.0000');
INSERT INTO `tec_product_store_qty` (`id`, `product_id`, `store_id`, `quantity`, `price`, `price_wholesale`, `price_vip`, `unit_id`, `sold_qty`) VALUES (0, 12, 1, '0.00', '6000.0000', '0.0000', '0.0000', NULL, '0.0000');
INSERT INTO `tec_product_store_qty` (`id`, `product_id`, `store_id`, `quantity`, `price`, `price_wholesale`, `price_vip`, `unit_id`, `sold_qty`) VALUES (0, 13, 1, '-6.00', '6000.0000', '0.0000', '0.0000', NULL, '6.0000');
INSERT INTO `tec_product_store_qty` (`id`, `product_id`, `store_id`, `quantity`, `price`, `price_wholesale`, `price_vip`, `unit_id`, `sold_qty`) VALUES (0, 14, 1, '-29.00', '6000.0000', '0.0000', '0.0000', NULL, '29.0000');
INSERT INTO `tec_product_store_qty` (`id`, `product_id`, `store_id`, `quantity`, `price`, `price_wholesale`, `price_vip`, `unit_id`, `sold_qty`) VALUES (0, 15, 1, '-7.00', '6000.0000', '0.0000', '0.0000', NULL, '7.0000');
INSERT INTO `tec_product_store_qty` (`id`, `product_id`, `store_id`, `quantity`, `price`, `price_wholesale`, `price_vip`, `unit_id`, `sold_qty`) VALUES (0, 16, 1, '0.00', '6000.0000', '0.0000', '0.0000', NULL, '0.0000');
INSERT INTO `tec_product_store_qty` (`id`, `product_id`, `store_id`, `quantity`, `price`, `price_wholesale`, `price_vip`, `unit_id`, `sold_qty`) VALUES (0, 17, 1, '-1.00', '6000.0000', '0.0000', '0.0000', NULL, '1.0000');
INSERT INTO `tec_product_store_qty` (`id`, `product_id`, `store_id`, `quantity`, `price`, `price_wholesale`, `price_vip`, `unit_id`, `sold_qty`) VALUES (0, 18, 1, '0.00', '6000.0000', '0.0000', '0.0000', NULL, '0.0000');
INSERT INTO `tec_product_store_qty` (`id`, `product_id`, `store_id`, `quantity`, `price`, `price_wholesale`, `price_vip`, `unit_id`, `sold_qty`) VALUES (0, 19, 1, '0.00', '6500.0000', '0.0000', '0.0000', NULL, '0.0000');
INSERT INTO `tec_product_store_qty` (`id`, `product_id`, `store_id`, `quantity`, `price`, `price_wholesale`, `price_vip`, `unit_id`, `sold_qty`) VALUES (0, 20, 1, '0.00', '6500.0000', '0.0000', '0.0000', NULL, '0.0000');
INSERT INTO `tec_product_store_qty` (`id`, `product_id`, `store_id`, `quantity`, `price`, `price_wholesale`, `price_vip`, `unit_id`, `sold_qty`) VALUES (0, 21, 1, '0.00', '6500.0000', '0.0000', '0.0000', NULL, '0.0000');
INSERT INTO `tec_product_store_qty` (`id`, `product_id`, `store_id`, `quantity`, `price`, `price_wholesale`, `price_vip`, `unit_id`, `sold_qty`) VALUES (0, 22, 1, '-2.00', '6500.0000', '0.0000', '0.0000', NULL, '2.0000');
INSERT INTO `tec_product_store_qty` (`id`, `product_id`, `store_id`, `quantity`, `price`, `price_wholesale`, `price_vip`, `unit_id`, `sold_qty`) VALUES (0, 23, 1, '0.00', '6500.0000', '0.0000', '0.0000', NULL, '0.0000');
INSERT INTO `tec_product_store_qty` (`id`, `product_id`, `store_id`, `quantity`, `price`, `price_wholesale`, `price_vip`, `unit_id`, `sold_qty`) VALUES (0, 24, 1, '-1.00', '6500.0000', '0.0000', '0.0000', NULL, '1.0000');
INSERT INTO `tec_product_store_qty` (`id`, `product_id`, `store_id`, `quantity`, `price`, `price_wholesale`, `price_vip`, `unit_id`, `sold_qty`) VALUES (0, 25, 1, '0.00', '6500.0000', '0.0000', '0.0000', NULL, '0.0000');
INSERT INTO `tec_product_store_qty` (`id`, `product_id`, `store_id`, `quantity`, `price`, `price_wholesale`, `price_vip`, `unit_id`, `sold_qty`) VALUES (0, 26, 1, '-1.00', '6500.0000', '0.0000', '0.0000', NULL, '1.0000');
INSERT INTO `tec_product_store_qty` (`id`, `product_id`, `store_id`, `quantity`, `price`, `price_wholesale`, `price_vip`, `unit_id`, `sold_qty`) VALUES (0, 27, 1, '0.00', '6500.0000', '0.0000', '0.0000', NULL, '0.0000');
INSERT INTO `tec_product_store_qty` (`id`, `product_id`, `store_id`, `quantity`, `price`, `price_wholesale`, `price_vip`, `unit_id`, `sold_qty`) VALUES (0, 28, 1, '-3.00', '6500.0000', '0.0000', '0.0000', NULL, '3.0000');
INSERT INTO `tec_product_store_qty` (`id`, `product_id`, `store_id`, `quantity`, `price`, `price_wholesale`, `price_vip`, `unit_id`, `sold_qty`) VALUES (0, 29, 1, '0.00', '5000.0000', '0.0000', '0.0000', NULL, '0.0000');
INSERT INTO `tec_product_store_qty` (`id`, `product_id`, `store_id`, `quantity`, `price`, `price_wholesale`, `price_vip`, `unit_id`, `sold_qty`) VALUES (0, 30, 1, '0.00', '5000.0000', '0.0000', '0.0000', NULL, '0.0000');
INSERT INTO `tec_product_store_qty` (`id`, `product_id`, `store_id`, `quantity`, `price`, `price_wholesale`, `price_vip`, `unit_id`, `sold_qty`) VALUES (0, 31, 1, '-1.00', '5000.0000', '0.0000', '0.0000', NULL, '1.0000');
INSERT INTO `tec_product_store_qty` (`id`, `product_id`, `store_id`, `quantity`, `price`, `price_wholesale`, `price_vip`, `unit_id`, `sold_qty`) VALUES (0, 32, 1, '-11.00', '4000.0000', '0.0000', '0.0000', NULL, '11.0000');
INSERT INTO `tec_product_store_qty` (`id`, `product_id`, `store_id`, `quantity`, `price`, `price_wholesale`, `price_vip`, `unit_id`, `sold_qty`) VALUES (0, 33, 1, '0.00', '6000.0000', '0.0000', '0.0000', NULL, '0.0000');
INSERT INTO `tec_product_store_qty` (`id`, `product_id`, `store_id`, `quantity`, `price`, `price_wholesale`, `price_vip`, `unit_id`, `sold_qty`) VALUES (0, 34, 1, '-2.00', '4000.0000', '0.0000', '0.0000', NULL, '2.0000');
INSERT INTO `tec_product_store_qty` (`id`, `product_id`, `store_id`, `quantity`, `price`, `price_wholesale`, `price_vip`, `unit_id`, `sold_qty`) VALUES (0, 35, 1, '0.00', '6000.0000', '0.0000', '0.0000', NULL, '0.0000');
INSERT INTO `tec_product_store_qty` (`id`, `product_id`, `store_id`, `quantity`, `price`, `price_wholesale`, `price_vip`, `unit_id`, `sold_qty`) VALUES (0, 36, 1, '0.00', '6000.0000', '0.0000', '0.0000', NULL, '0.0000');
INSERT INTO `tec_product_store_qty` (`id`, `product_id`, `store_id`, `quantity`, `price`, `price_wholesale`, `price_vip`, `unit_id`, `sold_qty`) VALUES (0, 37, 1, '0.00', '6000.0000', '0.0000', '0.0000', NULL, '0.0000');
INSERT INTO `tec_product_store_qty` (`id`, `product_id`, `store_id`, `quantity`, `price`, `price_wholesale`, `price_vip`, `unit_id`, `sold_qty`) VALUES (0, 38, 1, '0.00', '6000.0000', '0.0000', '0.0000', NULL, '0.0000');
INSERT INTO `tec_product_store_qty` (`id`, `product_id`, `store_id`, `quantity`, `price`, `price_wholesale`, `price_vip`, `unit_id`, `sold_qty`) VALUES (0, 39, 1, '0.00', '6000.0000', '0.0000', '0.0000', NULL, '0.0000');
INSERT INTO `tec_product_store_qty` (`id`, `product_id`, `store_id`, `quantity`, `price`, `price_wholesale`, `price_vip`, `unit_id`, `sold_qty`) VALUES (0, 40, 1, '0.00', '6000.0000', '0.0000', '0.0000', NULL, '0.0000');
INSERT INTO `tec_product_store_qty` (`id`, `product_id`, `store_id`, `quantity`, `price`, `price_wholesale`, `price_vip`, `unit_id`, `sold_qty`) VALUES (0, 41, 1, '0.00', '6500.0000', '0.0000', '0.0000', NULL, '0.0000');
INSERT INTO `tec_product_store_qty` (`id`, `product_id`, `store_id`, `quantity`, `price`, `price_wholesale`, `price_vip`, `unit_id`, `sold_qty`) VALUES (0, 42, 1, '0.00', '5000.0000', '0.0000', '0.0000', NULL, '0.0000');
INSERT INTO `tec_product_store_qty` (`id`, `product_id`, `store_id`, `quantity`, `price`, `price_wholesale`, `price_vip`, `unit_id`, `sold_qty`) VALUES (0, 43, 1, '-2.00', '6000.0000', '0.0000', '0.0000', NULL, '2.0000');
INSERT INTO `tec_product_store_qty` (`id`, `product_id`, `store_id`, `quantity`, `price`, `price_wholesale`, `price_vip`, `unit_id`, `sold_qty`) VALUES (0, 44, 1, '-2.00', '6000.0000', '0.0000', '0.0000', NULL, '2.0000');
INSERT INTO `tec_product_store_qty` (`id`, `product_id`, `store_id`, `quantity`, `price`, `price_wholesale`, `price_vip`, `unit_id`, `sold_qty`) VALUES (0, 45, 1, '-2.00', '6000.0000', '0.0000', '0.0000', NULL, '2.0000');
INSERT INTO `tec_product_store_qty` (`id`, `product_id`, `store_id`, `quantity`, `price`, `price_wholesale`, `price_vip`, `unit_id`, `sold_qty`) VALUES (0, 46, 1, '-1.00', '6000.0000', '0.0000', '0.0000', NULL, '1.0000');
INSERT INTO `tec_product_store_qty` (`id`, `product_id`, `store_id`, `quantity`, `price`, `price_wholesale`, `price_vip`, `unit_id`, `sold_qty`) VALUES (0, 47, 1, '-8.00', '5000.0000', '0.0000', '0.0000', NULL, '8.0000');
INSERT INTO `tec_product_store_qty` (`id`, `product_id`, `store_id`, `quantity`, `price`, `price_wholesale`, `price_vip`, `unit_id`, `sold_qty`) VALUES (0, 48, 1, '-8.00', '5000.0000', '0.0000', '0.0000', NULL, '8.0000');
INSERT INTO `tec_product_store_qty` (`id`, `product_id`, `store_id`, `quantity`, `price`, `price_wholesale`, `price_vip`, `unit_id`, `sold_qty`) VALUES (0, 49, 1, '-3.00', '6500.0000', '0.0000', '0.0000', NULL, '3.0000');


#
# TABLE STRUCTURE FOR: tec_products
#

DROP TABLE IF EXISTS `tec_products`;

CREATE TABLE `tec_products` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `code` varchar(150) NOT NULL,
  `name` char(255) NOT NULL,
  `second_name` varchar(255) DEFAULT NULL,
  `category_id` int(11) NOT NULL DEFAULT 1,
  `price` decimal(25,4) NOT NULL,
  `price_wholesale` decimal(25,4) DEFAULT 0.0000,
  `price_vip` decimal(25,4) DEFAULT 0.0000,
  `image` varchar(255) DEFAULT 'no_image.png',
  `tax` varchar(20) DEFAULT NULL,
  `cost` decimal(25,4) DEFAULT NULL,
  `tax_method` tinyint(1) DEFAULT 1,
  `quantity` decimal(15,2) DEFAULT 0.00,
  `barcode_symbology` varchar(20) NOT NULL DEFAULT 'code128',
  `type` varchar(20) NOT NULL DEFAULT 'standard',
  `details` text DEFAULT NULL,
  `alert_quantity` decimal(25,4) DEFAULT 0.0000,
  `unit_id` int(11) DEFAULT NULL,
  `alert_expiry` decimal(25,4) DEFAULT 0.0000,
  `expiry_date` date DEFAULT NULL,
  `beverage` tinyint(1) DEFAULT 0,
  `ingredient` tinyint(1) DEFAULT 0,
  `service_month` int(11) DEFAULT 0,
  `alert_service` int(11) DEFAULT 0,
  `promotion` tinyint(4) DEFAULT 0,
  `promo_price` decimal(25,4) DEFAULT NULL,
  `start_date` date DEFAULT NULL,
  `end_date` date DEFAULT NULL,
  `divided1` int(11) DEFAULT NULL,
  `divided2` int(11) DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `code` (`code`)
) ENGINE=InnoDB AUTO_INCREMENT=50 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;

INSERT INTO `tec_products` (`id`, `code`, `name`, `second_name`, `category_id`, `price`, `price_wholesale`, `price_vip`, `image`, `tax`, `cost`, `tax_method`, `quantity`, `barcode_symbology`, `type`, `details`, `alert_quantity`, `unit_id`, `alert_expiry`, `expiry_date`, `beverage`, `ingredient`, `service_month`, `alert_service`, `promotion`, `promo_price`, `start_date`, `end_date`, `divided1`, `divided2`) VALUES (1, '000001', 'អេចប្រសសូ (Espresso)', '', 1, '5000.0000', '0.0000', '0.0000', 'no_image.png', '0', '0.0000', 0, '0.00', 'code128', 'standard', '', '0.0000', NULL, NULL, NULL, 0, 0, NULL, NULL, 0, '0.0000', '0000-00-00', '0000-00-00', NULL, NULL);
INSERT INTO `tec_products` (`id`, `code`, `name`, `second_name`, `category_id`, `price`, `price_wholesale`, `price_vip`, `image`, `tax`, `cost`, `tax_method`, `quantity`, `barcode_symbology`, `type`, `details`, `alert_quantity`, `unit_id`, `alert_expiry`, `expiry_date`, `beverage`, `ingredient`, `service_month`, `alert_service`, `promotion`, `promo_price`, `start_date`, `end_date`, `divided1`, `divided2`) VALUES (2, '000002', 'អាមេរិចកាណូ (Americano)', '', 1, '5000.0000', '0.0000', '0.0000', 'no_image.png', '0', '0.0000', 0, '0.00', 'code128', 'standard', '', '0.0000', NULL, NULL, NULL, 0, 0, NULL, NULL, 0, '0.0000', '0000-00-00', '0000-00-00', NULL, NULL);
INSERT INTO `tec_products` (`id`, `code`, `name`, `second_name`, `category_id`, `price`, `price_wholesale`, `price_vip`, `image`, `tax`, `cost`, `tax_method`, `quantity`, `barcode_symbology`, `type`, `details`, `alert_quantity`, `unit_id`, `alert_expiry`, `expiry_date`, `beverage`, `ingredient`, `service_month`, `alert_service`, `promotion`, `promo_price`, `start_date`, `end_date`, `divided1`, `divided2`) VALUES (3, '000003', 'កាហ្វេសូកូឡាក្ដៅ (Hot Mocha)', '', 1, '5000.0000', '0.0000', '0.0000', 'no_image.png', '0', '0.0000', 0, '0.00', 'code128', 'standard', '', '0.0000', NULL, NULL, NULL, 0, 0, NULL, NULL, 0, '0.0000', '0000-00-00', '0000-00-00', NULL, NULL);
INSERT INTO `tec_products` (`id`, `code`, `name`, `second_name`, `category_id`, `price`, `price_wholesale`, `price_vip`, `image`, `tax`, `cost`, `tax_method`, `quantity`, `barcode_symbology`, `type`, `details`, `alert_quantity`, `unit_id`, `alert_expiry`, `expiry_date`, `beverage`, `ingredient`, `service_month`, `alert_service`, `promotion`, `promo_price`, `start_date`, `end_date`, `divided1`, `divided2`) VALUES (4, '000004', 'ឡាតេតែបៃតងក្ដៅ (Green Tea Latte)', '', 1, '5000.0000', '0.0000', '0.0000', 'no_image.png', '0', '0.0000', 0, '0.00', 'code128', 'standard', '', '0.0000', NULL, NULL, NULL, 0, 0, NULL, NULL, 0, '0.0000', '0000-00-00', '0000-00-00', NULL, NULL);
INSERT INTO `tec_products` (`id`, `code`, `name`, `second_name`, `category_id`, `price`, `price_wholesale`, `price_vip`, `image`, `tax`, `cost`, `tax_method`, `quantity`, `barcode_symbology`, `type`, `details`, `alert_quantity`, `unit_id`, `alert_expiry`, `expiry_date`, `beverage`, `ingredient`, `service_month`, `alert_service`, `promotion`, `promo_price`, `start_date`, `end_date`, `divided1`, `divided2`) VALUES (5, '000005', 'កាហ្វេទឹកដោះគោខាប់ (Condensed Milk Coffee)', '', 1, '5000.0000', '0.0000', '0.0000', 'no_image.png', '0', '0.0000', 0, '0.00', 'code128', 'standard', '', '0.0000', NULL, NULL, NULL, 0, 0, NULL, NULL, 0, '0.0000', '0000-00-00', '0000-00-00', NULL, NULL);
INSERT INTO `tec_products` (`id`, `code`, `name`, `second_name`, `category_id`, `price`, `price_wholesale`, `price_vip`, `image`, `tax`, `cost`, `tax_method`, `quantity`, `barcode_symbology`, `type`, `details`, `alert_quantity`, `unit_id`, `alert_expiry`, `expiry_date`, `beverage`, `ingredient`, `service_month`, `alert_service`, `promotion`, `promo_price`, `start_date`, `end_date`, `divided1`, `divided2`) VALUES (6, '000006', 'កាហ្វេខារ៉ាមែលឡាតេ (Caramel Latte)', '', 1, '5000.0000', '0.0000', '0.0000', 'no_image.png', '0', '0.0000', 0, '0.00', 'code128', 'standard', '', '0.0000', NULL, NULL, NULL, 0, 0, NULL, NULL, 0, '0.0000', '0000-00-00', '0000-00-00', NULL, NULL);
INSERT INTO `tec_products` (`id`, `code`, `name`, `second_name`, `category_id`, `price`, `price_wholesale`, `price_vip`, `image`, `tax`, `cost`, `tax_method`, `quantity`, `barcode_symbology`, `type`, `details`, `alert_quantity`, `unit_id`, `alert_expiry`, `expiry_date`, `beverage`, `ingredient`, `service_month`, `alert_service`, `promotion`, `promo_price`, `start_date`, `end_date`, `divided1`, `divided2`) VALUES (7, '000007', 'កាហ្វេឡាតេ (Hot Latte)', '', 1, '5000.0000', '0.0000', '0.0000', 'no_image.png', '0', '0.0000', 0, '0.00', 'code128', 'standard', '', '0.0000', NULL, NULL, NULL, 0, 0, NULL, NULL, 0, '0.0000', '0000-00-00', '0000-00-00', NULL, NULL);
INSERT INTO `tec_products` (`id`, `code`, `name`, `second_name`, `category_id`, `price`, `price_wholesale`, `price_vip`, `image`, `tax`, `cost`, `tax_method`, `quantity`, `barcode_symbology`, `type`, `details`, `alert_quantity`, `unit_id`, `alert_expiry`, `expiry_date`, `beverage`, `ingredient`, `service_month`, `alert_service`, `promotion`, `promo_price`, `start_date`, `end_date`, `divided1`, `divided2`) VALUES (8, '000008', 'កាហ្វេទឹកដោះគោក្ដៅ (Hot Cappucino)', '', 1, '5000.0000', '0.0000', '0.0000', 'no_image.png', '0', '0.0000', 0, '0.00', 'code128', 'standard', '', '0.0000', NULL, NULL, NULL, 0, 0, NULL, NULL, 0, '0.0000', '0000-00-00', '0000-00-00', NULL, NULL);
INSERT INTO `tec_products` (`id`, `code`, `name`, `second_name`, `category_id`, `price`, `price_wholesale`, `price_vip`, `image`, `tax`, `cost`, `tax_method`, `quantity`, `barcode_symbology`, `type`, `details`, `alert_quantity`, `unit_id`, `alert_expiry`, `expiry_date`, `beverage`, `ingredient`, `service_month`, `alert_service`, `promotion`, `promo_price`, `start_date`, `end_date`, `divided1`, `divided2`) VALUES (9, '000009', 'សូកូឡាទឺកដោះគោក្ដៅ (Hot Chocolate)', '', 1, '5000.0000', '0.0000', '0.0000', 'no_image.png', '0', '0.0000', 0, '0.00', 'code128', 'standard', '', '0.0000', NULL, NULL, NULL, 0, 0, NULL, NULL, 0, '0.0000', '0000-00-00', '0000-00-00', NULL, NULL);
INSERT INTO `tec_products` (`id`, `code`, `name`, `second_name`, `category_id`, `price`, `price_wholesale`, `price_vip`, `image`, `tax`, `cost`, `tax_method`, `quantity`, `barcode_symbology`, `type`, `details`, `alert_quantity`, `unit_id`, `alert_expiry`, `expiry_date`, `beverage`, `ingredient`, `service_month`, `alert_service`, `promotion`, `promo_price`, `start_date`, `end_date`, `divided1`, `divided2`) VALUES (10, '000010', 'កាហ្វេខ្មៅទឹកកក (Iced Americano)', '', 2, '6000.0000', '0.0000', '0.0000', 'no_image.png', '0', '0.0000', 0, '0.00', 'code128', 'standard', '', '0.0000', NULL, NULL, NULL, 0, 0, NULL, NULL, 0, '0.0000', '0000-00-00', '0000-00-00', NULL, NULL);
INSERT INTO `tec_products` (`id`, `code`, `name`, `second_name`, `category_id`, `price`, `price_wholesale`, `price_vip`, `image`, `tax`, `cost`, `tax_method`, `quantity`, `barcode_symbology`, `type`, `details`, `alert_quantity`, `unit_id`, `alert_expiry`, `expiry_date`, `beverage`, `ingredient`, `service_month`, `alert_service`, `promotion`, `promo_price`, `start_date`, `end_date`, `divided1`, `divided2`) VALUES (11, '000011', 'កាហ្វេទឹកដោះគោទឺកកក (Iced Latte)', '', 2, '6000.0000', '0.0000', '0.0000', 'no_image.png', '0', '0.0000', 0, '0.00', 'code128', 'standard', '', '0.0000', NULL, NULL, NULL, 0, 0, NULL, NULL, 0, '0.0000', '0000-00-00', '0000-00-00', NULL, NULL);
INSERT INTO `tec_products` (`id`, `code`, `name`, `second_name`, `category_id`, `price`, `price_wholesale`, `price_vip`, `image`, `tax`, `cost`, `tax_method`, `quantity`, `barcode_symbology`, `type`, `details`, `alert_quantity`, `unit_id`, `alert_expiry`, `expiry_date`, `beverage`, `ingredient`, `service_month`, `alert_service`, `promotion`, `promo_price`, `start_date`, `end_date`, `divided1`, `divided2`) VALUES (12, '000012', 'ម៉ូកាទឹកកក (Iced Mocha)', '', 2, '6000.0000', '0.0000', '0.0000', 'no_image.png', '0', '0.0000', 0, '0.00', 'code128', 'standard', '', '0.0000', NULL, NULL, NULL, 0, 0, NULL, NULL, 0, '0.0000', '0000-00-00', '0000-00-00', NULL, NULL);
INSERT INTO `tec_products` (`id`, `code`, `name`, `second_name`, `category_id`, `price`, `price_wholesale`, `price_vip`, `image`, `tax`, `cost`, `tax_method`, `quantity`, `barcode_symbology`, `type`, `details`, `alert_quantity`, `unit_id`, `alert_expiry`, `expiry_date`, `beverage`, `ingredient`, `service_month`, `alert_service`, `promotion`, `promo_price`, `start_date`, `end_date`, `divided1`, `divided2`) VALUES (13, '000013', 'សូកូឡាទឹកកក (Iced Chocolate)', '', 2, '6000.0000', '0.0000', '0.0000', 'no_image.png', '0', '0.0000', 0, '0.00', 'code128', 'standard', '', '0.0000', NULL, NULL, NULL, 0, 0, NULL, NULL, 0, '0.0000', '0000-00-00', '0000-00-00', NULL, NULL);
INSERT INTO `tec_products` (`id`, `code`, `name`, `second_name`, `category_id`, `price`, `price_wholesale`, `price_vip`, `image`, `tax`, `cost`, `tax_method`, `quantity`, `barcode_symbology`, `type`, `details`, `alert_quantity`, `unit_id`, `alert_expiry`, `expiry_date`, `beverage`, `ingredient`, `service_month`, `alert_service`, `promotion`, `promo_price`, `start_date`, `end_date`, `divided1`, `divided2`) VALUES (14, '000014', 'កាហ្វេទឺកដោះគោខាប់ (Iced Condensed Milk Coffee)', '', 2, '6000.0000', '0.0000', '0.0000', 'no_image.png', '0', '0.0000', 0, '0.00', 'code128', 'standard', '', '0.0000', NULL, NULL, NULL, 0, 0, NULL, NULL, 0, '0.0000', '0000-00-00', '0000-00-00', NULL, NULL);
INSERT INTO `tec_products` (`id`, `code`, `name`, `second_name`, `category_id`, `price`, `price_wholesale`, `price_vip`, `image`, `tax`, `cost`, `tax_method`, `quantity`, `barcode_symbology`, `type`, `details`, `alert_quantity`, `unit_id`, `alert_expiry`, `expiry_date`, `beverage`, `ingredient`, `service_month`, `alert_service`, `promotion`, `promo_price`, `start_date`, `end_date`, `divided1`, `divided2`) VALUES (15, '000015', 'តែបៃតងឡាតេទឹកកក (Iced Green Tea Latte)', '', 2, '6000.0000', '0.0000', '0.0000', 'no_image.png', '0', '0.0000', 0, '0.00', 'code128', 'standard', '', '0.0000', NULL, NULL, NULL, 0, 0, NULL, NULL, 0, '0.0000', '0000-00-00', '0000-00-00', NULL, NULL);
INSERT INTO `tec_products` (`id`, `code`, `name`, `second_name`, `category_id`, `price`, `price_wholesale`, `price_vip`, `image`, `tax`, `cost`, `tax_method`, `quantity`, `barcode_symbology`, `type`, `details`, `alert_quantity`, `unit_id`, `alert_expiry`, `expiry_date`, `beverage`, `ingredient`, `service_month`, `alert_service`, `promotion`, `promo_price`, `start_date`, `end_date`, `divided1`, `divided2`) VALUES (16, '000016', 'ខារ៉ាមែលទឺកកក (Iced Caramel)', '', 2, '6000.0000', '0.0000', '0.0000', 'no_image.png', '0', '0.0000', 0, '0.00', 'code128', 'standard', '', '0.0000', NULL, NULL, NULL, 0, 0, NULL, NULL, 0, '0.0000', '0000-00-00', '0000-00-00', NULL, NULL);
INSERT INTO `tec_products` (`id`, `code`, `name`, `second_name`, `category_id`, `price`, `price_wholesale`, `price_vip`, `image`, `tax`, `cost`, `tax_method`, `quantity`, `barcode_symbology`, `type`, `details`, `alert_quantity`, `unit_id`, `alert_expiry`, `expiry_date`, `beverage`, `ingredient`, `service_month`, `alert_service`, `promotion`, `promo_price`, `start_date`, `end_date`, `divided1`, `divided2`) VALUES (17, '000017', 'ឡាតេវ៉ានីឡាទឹកកក (Iced Vanilla)', '', 2, '6000.0000', '0.0000', '0.0000', 'no_image.png', '0', '0.0000', 0, '0.00', 'code128', 'standard', '', '0.0000', NULL, NULL, NULL, 0, 0, NULL, NULL, 0, '0.0000', '0000-00-00', '0000-00-00', NULL, NULL);
INSERT INTO `tec_products` (`id`, `code`, `name`, `second_name`, `category_id`, `price`, `price_wholesale`, `price_vip`, `image`, `tax`, `cost`, `tax_method`, `quantity`, `barcode_symbology`, `type`, `details`, `alert_quantity`, `unit_id`, `alert_expiry`, `expiry_date`, `beverage`, `ingredient`, `service_month`, `alert_service`, `promotion`, `promo_price`, `start_date`, `end_date`, `divided1`, `divided2`) VALUES (18, '000018', 'ឡាតេខារ៉ាមែលទឺកកក (Iced Caramel Latte)', '', 2, '6000.0000', '0.0000', '0.0000', 'no_image.png', '0', '0.0000', 0, '0.00', 'code128', 'standard', '', '0.0000', NULL, NULL, NULL, 0, 0, NULL, NULL, 0, '0.0000', '0000-00-00', '0000-00-00', NULL, NULL);
INSERT INTO `tec_products` (`id`, `code`, `name`, `second_name`, `category_id`, `price`, `price_wholesale`, `price_vip`, `image`, `tax`, `cost`, `tax_method`, `quantity`, `barcode_symbology`, `type`, `details`, `alert_quantity`, `unit_id`, `alert_expiry`, `expiry_date`, `beverage`, `ingredient`, `service_month`, `alert_service`, `promotion`, `promo_price`, `start_date`, `end_date`, `divided1`, `divided2`) VALUES (19, '000019', 'កាហ្វេក្រឡុក (Latte Frappe)', '', 3, '6500.0000', '0.0000', '0.0000', 'no_image.png', '0', '0.0000', 0, '0.00', 'code128', 'standard', '', '0.0000', NULL, NULL, NULL, 0, 0, NULL, NULL, 0, '0.0000', '0000-00-00', '0000-00-00', NULL, NULL);
INSERT INTO `tec_products` (`id`, `code`, `name`, `second_name`, `category_id`, `price`, `price_wholesale`, `price_vip`, `image`, `tax`, `cost`, `tax_method`, `quantity`, `barcode_symbology`, `type`, `details`, `alert_quantity`, `unit_id`, `alert_expiry`, `expiry_date`, `beverage`, `ingredient`, `service_month`, `alert_service`, `promotion`, `promo_price`, `start_date`, `end_date`, `divided1`, `divided2`) VALUES (20, '000020', 'តែបៃតងក្រឡុក (Green Tea Frappe)', '', 3, '6500.0000', '0.0000', '0.0000', 'no_image.png', '0', '0.0000', 0, '0.00', 'code128', 'standard', '', '0.0000', NULL, NULL, NULL, 0, 0, NULL, NULL, 0, '0.0000', '0000-00-00', '0000-00-00', NULL, NULL);
INSERT INTO `tec_products` (`id`, `code`, `name`, `second_name`, `category_id`, `price`, `price_wholesale`, `price_vip`, `image`, `tax`, `cost`, `tax_method`, `quantity`, `barcode_symbology`, `type`, `details`, `alert_quantity`, `unit_id`, `alert_expiry`, `expiry_date`, `beverage`, `ingredient`, `service_month`, `alert_service`, `promotion`, `promo_price`, `start_date`, `end_date`, `divided1`, `divided2`) VALUES (21, '000021', 'ខារ៉ាមែលក្រឡុក (Caramel Frappe)', '', 3, '6500.0000', '0.0000', '0.0000', 'no_image.png', '0', '0.0000', 0, '0.00', 'code128', 'standard', '', '0.0000', NULL, NULL, NULL, 0, 0, NULL, NULL, 0, '0.0000', '0000-00-00', '0000-00-00', NULL, NULL);
INSERT INTO `tec_products` (`id`, `code`, `name`, `second_name`, `category_id`, `price`, `price_wholesale`, `price_vip`, `image`, `tax`, `cost`, `tax_method`, `quantity`, `barcode_symbology`, `type`, `details`, `alert_quantity`, `unit_id`, `alert_expiry`, `expiry_date`, `beverage`, `ingredient`, `service_month`, `alert_service`, `promotion`, `promo_price`, `start_date`, `end_date`, `divided1`, `divided2`) VALUES (22, '000022', 'សូកូឡាក្រឡុក (Chocolate Frappe)', '', 3, '6500.0000', '0.0000', '0.0000', 'no_image.png', '0', '0.0000', 0, '0.00', 'code128', 'standard', '', '0.0000', NULL, NULL, NULL, 0, 0, NULL, NULL, 0, '0.0000', '0000-00-00', '0000-00-00', NULL, NULL);
INSERT INTO `tec_products` (`id`, `code`, `name`, `second_name`, `category_id`, `price`, `price_wholesale`, `price_vip`, `image`, `tax`, `cost`, `tax_method`, `quantity`, `barcode_symbology`, `type`, `details`, `alert_quantity`, `unit_id`, `alert_expiry`, `expiry_date`, `beverage`, `ingredient`, `service_month`, `alert_service`, `promotion`, `promo_price`, `start_date`, `end_date`, `divided1`, `divided2`) VALUES (23, '000023', 'ម៉ូកាក្រឡុក (Mocha Frappe)', '', 3, '6500.0000', '0.0000', '0.0000', 'no_image.png', '0', '0.0000', 0, '0.00', 'code128', 'standard', '', '0.0000', NULL, NULL, NULL, 0, 0, NULL, NULL, 0, '0.0000', '0000-00-00', '0000-00-00', NULL, NULL);
INSERT INTO `tec_products` (`id`, `code`, `name`, `second_name`, `category_id`, `price`, `price_wholesale`, `price_vip`, `image`, `tax`, `cost`, `tax_method`, `quantity`, `barcode_symbology`, `type`, `details`, `alert_quantity`, `unit_id`, `alert_expiry`, `expiry_date`, `beverage`, `ingredient`, `service_month`, `alert_service`, `promotion`, `promo_price`, `start_date`, `end_date`, `divided1`, `divided2`) VALUES (24, '000024', 'ប្លូប៊ែរីក្រឡុក (Blueberry Frappe)', '', 3, '6500.0000', '0.0000', '0.0000', 'no_image.png', '0', '0.0000', 0, '0.00', 'code128', 'standard', '', '0.0000', NULL, NULL, NULL, 0, 0, NULL, NULL, 0, '0.0000', '0000-00-00', '0000-00-00', NULL, NULL);
INSERT INTO `tec_products` (`id`, `code`, `name`, `second_name`, `category_id`, `price`, `price_wholesale`, `price_vip`, `image`, `tax`, `cost`, `tax_method`, `quantity`, `barcode_symbology`, `type`, `details`, `alert_quantity`, `unit_id`, `alert_expiry`, `expiry_date`, `beverage`, `ingredient`, `service_month`, `alert_service`, `promotion`, `promo_price`, `start_date`, `end_date`, `divided1`, `divided2`) VALUES (25, '000025', 'ផ្លែស្វាយក្រឡុក (Mango Frappe)', '', 3, '6500.0000', '0.0000', '0.0000', 'no_image.png', '0', '0.0000', 0, '0.00', 'code128', 'standard', '', '0.0000', NULL, NULL, NULL, 0, 0, NULL, NULL, 0, '0.0000', '0000-00-00', '0000-00-00', NULL, NULL);
INSERT INTO `tec_products` (`id`, `code`, `name`, `second_name`, `category_id`, `price`, `price_wholesale`, `price_vip`, `image`, `tax`, `cost`, `tax_method`, `quantity`, `barcode_symbology`, `type`, `details`, `alert_quantity`, `unit_id`, `alert_expiry`, `expiry_date`, `beverage`, `ingredient`, `service_month`, `alert_service`, `promotion`, `promo_price`, `start_date`, `end_date`, `divided1`, `divided2`) VALUES (26, '000026', 'ស្រប៊ឺរីក្រឡុក (Strawberry Frappe)', '', 3, '6500.0000', '0.0000', '0.0000', 'no_image.png', '0', '0.0000', 0, '0.00', 'code128', 'standard', '', '0.0000', NULL, NULL, NULL, 0, 0, NULL, NULL, 0, '0.0000', '0000-00-00', '0000-00-00', NULL, NULL);
INSERT INTO `tec_products` (`id`, `code`, `name`, `second_name`, `category_id`, `price`, `price_wholesale`, `price_vip`, `image`, `tax`, `cost`, `tax_method`, `quantity`, `barcode_symbology`, `type`, `details`, `alert_quantity`, `unit_id`, `alert_expiry`, `expiry_date`, `beverage`, `ingredient`, `service_month`, `alert_service`, `promotion`, `promo_price`, `start_date`, `end_date`, `divided1`, `divided2`) VALUES (27, '000027', 'ផាសិនក្រឡុក (Passion Frappe)', '', 3, '6500.0000', '0.0000', '0.0000', 'no_image.png', '0', '0.0000', 0, '0.00', 'code128', 'standard', '', '0.0000', NULL, NULL, NULL, 0, 0, NULL, NULL, 0, '0.0000', '0000-00-00', '0000-00-00', NULL, NULL);
INSERT INTO `tec_products` (`id`, `code`, `name`, `second_name`, `category_id`, `price`, `price_wholesale`, `price_vip`, `image`, `tax`, `cost`, `tax_method`, `quantity`, `barcode_symbology`, `type`, `details`, `alert_quantity`, `unit_id`, `alert_expiry`, `expiry_date`, `beverage`, `ingredient`, `service_month`, `alert_service`, `promotion`, `promo_price`, `start_date`, `end_date`, `divided1`, `divided2`) VALUES (28, '000028', 'វ៉ាន់នីឡាក្រឡុក (Vanilla Frappe)', '', 3, '6500.0000', '0.0000', '0.0000', 'no_image.png', '0', '0.0000', 0, '0.00', 'code128', 'standard', '', '0.0000', NULL, NULL, NULL, 0, 0, NULL, NULL, 0, '0.0000', '0000-00-00', '0000-00-00', NULL, NULL);
INSERT INTO `tec_products` (`id`, `code`, `name`, `second_name`, `category_id`, `price`, `price_wholesale`, `price_vip`, `image`, `tax`, `cost`, `tax_method`, `quantity`, `barcode_symbology`, `type`, `details`, `alert_quantity`, `unit_id`, `alert_expiry`, `expiry_date`, `beverage`, `ingredient`, `service_month`, `alert_service`, `promotion`, `promo_price`, `start_date`, `end_date`, `divided1`, `divided2`) VALUES (29, '000029', 'ស្រប៊ឺរីស្មូធី (Strawberry Smoothie)', '', 4, '5000.0000', '0.0000', '0.0000', 'no_image.png', '0', '0.0000', 0, '0.00', 'code128', 'standard', '', '0.0000', NULL, NULL, NULL, 0, 0, NULL, NULL, 0, '0.0000', '0000-00-00', '0000-00-00', NULL, NULL);
INSERT INTO `tec_products` (`id`, `code`, `name`, `second_name`, `category_id`, `price`, `price_wholesale`, `price_vip`, `image`, `tax`, `cost`, `tax_method`, `quantity`, `barcode_symbology`, `type`, `details`, `alert_quantity`, `unit_id`, `alert_expiry`, `expiry_date`, `beverage`, `ingredient`, `service_month`, `alert_service`, `promotion`, `promo_price`, `start_date`, `end_date`, `divided1`, `divided2`) VALUES (30, '000030', 'ប្លូប៊ែរីស្មូធី (Blueberry Smoothie)', '', 4, '5000.0000', '0.0000', '0.0000', 'no_image.png', '0', '0.0000', 0, '0.00', 'code128', 'standard', '', '0.0000', NULL, NULL, NULL, 0, 0, NULL, NULL, 0, '0.0000', '0000-00-00', '0000-00-00', NULL, NULL);
INSERT INTO `tec_products` (`id`, `code`, `name`, `second_name`, `category_id`, `price`, `price_wholesale`, `price_vip`, `image`, `tax`, `cost`, `tax_method`, `quantity`, `barcode_symbology`, `type`, `details`, `alert_quantity`, `unit_id`, `alert_expiry`, `expiry_date`, `beverage`, `ingredient`, `service_month`, `alert_service`, `promotion`, `promo_price`, `start_date`, `end_date`, `divided1`, `divided2`) VALUES (31, '000031', 'ផាសិនស្មូតធី (Passion Smoothie)', '', 4, '5000.0000', '0.0000', '0.0000', 'no_image.png', '0', '0.0000', 0, '0.00', 'code128', 'standard', '', '0.0000', NULL, NULL, NULL, 0, 0, NULL, NULL, 0, '0.0000', '0000-00-00', '0000-00-00', NULL, NULL);
INSERT INTO `tec_products` (`id`, `code`, `name`, `second_name`, `category_id`, `price`, `price_wholesale`, `price_vip`, `image`, `tax`, `cost`, `tax_method`, `quantity`, `barcode_symbology`, `type`, `details`, `alert_quantity`, `unit_id`, `alert_expiry`, `expiry_date`, `beverage`, `ingredient`, `service_month`, `alert_service`, `promotion`, `promo_price`, `start_date`, `end_date`, `divided1`, `divided2`) VALUES (32, '000032', 'តែក្រហមក្រូចឆ្មាទឹកកក (Iced Red Tea Lemonade)', '', 5, '4000.0000', '0.0000', '0.0000', 'no_image.png', '0', '0.0000', 0, '0.00', 'code128', 'standard', '', '0.0000', NULL, NULL, NULL, 0, 0, NULL, NULL, 0, '0.0000', '0000-00-00', '0000-00-00', NULL, NULL);
INSERT INTO `tec_products` (`id`, `code`, `name`, `second_name`, `category_id`, `price`, `price_wholesale`, `price_vip`, `image`, `tax`, `cost`, `tax_method`, `quantity`, `barcode_symbology`, `type`, `details`, `alert_quantity`, `unit_id`, `alert_expiry`, `expiry_date`, `beverage`, `ingredient`, `service_month`, `alert_service`, `promotion`, `promo_price`, `start_date`, `end_date`, `divided1`, `divided2`) VALUES (33, '000033', 'តែបៃតងក្រូចឆ្មាផាសិនទឹកកក (Iced Lemonade Passion)', '', 5, '6000.0000', '0.0000', '0.0000', 'no_image.png', '0', '0.0000', 0, '0.00', 'code128', 'standard', '', '0.0000', NULL, NULL, NULL, 0, 0, NULL, NULL, 0, '0.0000', '0000-00-00', '0000-00-00', NULL, NULL);
INSERT INTO `tec_products` (`id`, `code`, `name`, `second_name`, `category_id`, `price`, `price_wholesale`, `price_vip`, `image`, `tax`, `cost`, `tax_method`, `quantity`, `barcode_symbology`, `type`, `details`, `alert_quantity`, `unit_id`, `alert_expiry`, `expiry_date`, `beverage`, `ingredient`, `service_month`, `alert_service`, `promotion`, `promo_price`, `start_date`, `end_date`, `divided1`, `divided2`) VALUES (34, '000034', 'តែបៃតងក្រូចឆ្មាទឹកកក (Iced Passion Lemonade)', '', 5, '4000.0000', '0.0000', '0.0000', 'no_image.png', '0', '0.0000', 0, '0.00', 'code128', 'standard', '', '0.0000', NULL, NULL, NULL, 0, 0, NULL, NULL, 0, '0.0000', '0000-00-00', '0000-00-00', NULL, NULL);
INSERT INTO `tec_products` (`id`, `code`, `name`, `second_name`, `category_id`, `price`, `price_wholesale`, `price_vip`, `image`, `tax`, `cost`, `tax_method`, `quantity`, `barcode_symbology`, `type`, `details`, `alert_quantity`, `unit_id`, `alert_expiry`, `expiry_date`, `beverage`, `ingredient`, `service_month`, `alert_service`, `promotion`, `promo_price`, `start_date`, `end_date`, `divided1`, `divided2`) VALUES (35, '000035', 'កាហ្វេទឹកដោះគោដូងក្រអូប (Coconut Latte)', '', 6, '6000.0000', '0.0000', '0.0000', 'no_image.png', '0', '0.0000', 0, '0.00', 'code128', 'standard', '', '0.0000', NULL, NULL, NULL, 0, 0, NULL, NULL, 0, '0.0000', '0000-00-00', '0000-00-00', NULL, NULL);
INSERT INTO `tec_products` (`id`, `code`, `name`, `second_name`, `category_id`, `price`, `price_wholesale`, `price_vip`, `image`, `tax`, `cost`, `tax_method`, `quantity`, `barcode_symbology`, `type`, `details`, `alert_quantity`, `unit_id`, `alert_expiry`, `expiry_date`, `beverage`, `ingredient`, `service_month`, `alert_service`, `promotion`, `promo_price`, `start_date`, `end_date`, `divided1`, `divided2`) VALUES (36, '000036', 'សូកូឡាទឺកដោះគោដូងក្រអូប (Chocolate With Coconut)', '', 6, '6000.0000', '0.0000', '0.0000', 'no_image.png', '0', '0.0000', 0, '0.00', 'code128', 'standard', '', '0.0000', NULL, NULL, NULL, 0, 0, NULL, NULL, 0, '0.0000', '0000-00-00', '0000-00-00', NULL, NULL);
INSERT INTO `tec_products` (`id`, `code`, `name`, `second_name`, `category_id`, `price`, `price_wholesale`, `price_vip`, `image`, `tax`, `cost`, `tax_method`, `quantity`, `barcode_symbology`, `type`, `details`, `alert_quantity`, `unit_id`, `alert_expiry`, `expiry_date`, `beverage`, `ingredient`, `service_month`, `alert_service`, `promotion`, `promo_price`, `start_date`, `end_date`, `divided1`, `divided2`) VALUES (37, '000037', 'តែក្រហមទឹកដោះគោដូងក្រអូប (Red Tea Latte with Coconut)', '', 6, '6000.0000', '0.0000', '0.0000', 'no_image.png', '0', '0.0000', 0, '0.00', 'code128', 'standard', '', '0.0000', NULL, NULL, NULL, 0, 0, NULL, NULL, 0, '0.0000', '0000-00-00', '0000-00-00', NULL, NULL);
INSERT INTO `tec_products` (`id`, `code`, `name`, `second_name`, `category_id`, `price`, `price_wholesale`, `price_vip`, `image`, `tax`, `cost`, `tax_method`, `quantity`, `barcode_symbology`, `type`, `details`, `alert_quantity`, `unit_id`, `alert_expiry`, `expiry_date`, `beverage`, `ingredient`, `service_month`, `alert_service`, `promotion`, `promo_price`, `start_date`, `end_date`, `divided1`, `divided2`) VALUES (38, '000038', 'កាហ្វេទឹកដោះគោតែបៃតងដូងក្រអូប (Coffee Green Tea Latte with Coconut)', '', 6, '6000.0000', '0.0000', '0.0000', 'no_image.png', '0', '0.0000', 0, '0.00', 'code128', 'standard', '', '0.0000', NULL, NULL, NULL, 0, 0, NULL, NULL, 0, '0.0000', '0000-00-00', '0000-00-00', NULL, NULL);
INSERT INTO `tec_products` (`id`, `code`, `name`, `second_name`, `category_id`, `price`, `price_wholesale`, `price_vip`, `image`, `tax`, `cost`, `tax_method`, `quantity`, `barcode_symbology`, `type`, `details`, `alert_quantity`, `unit_id`, `alert_expiry`, `expiry_date`, `beverage`, `ingredient`, `service_month`, `alert_service`, `promotion`, `promo_price`, `start_date`, `end_date`, `divided1`, `divided2`) VALUES (39, '000039', 'តែមេអំបៅទឹកដោះគោតែបៃតងដូងក្រអូប (Butterfly Pea Green Tea with Coconut)', '', 6, '6000.0000', '0.0000', '0.0000', 'no_image.png', '0', '0.0000', 0, '0.00', 'code128', 'standard', '', '0.0000', NULL, NULL, NULL, 0, 0, NULL, NULL, 0, '0.0000', '0000-00-00', '0000-00-00', NULL, NULL);
INSERT INTO `tec_products` (`id`, `code`, `name`, `second_name`, `category_id`, `price`, `price_wholesale`, `price_vip`, `image`, `tax`, `cost`, `tax_method`, `quantity`, `barcode_symbology`, `type`, `details`, `alert_quantity`, `unit_id`, `alert_expiry`, `expiry_date`, `beverage`, `ingredient`, `service_month`, `alert_service`, `promotion`, `promo_price`, `start_date`, `end_date`, `divided1`, `divided2`) VALUES (40, '000040', 'តែមេអំបៅទឹកដោះគោដូងក្រអូប (Butterfly Pea Latte with Coconut)', '', 6, '6000.0000', '0.0000', '0.0000', 'no_image.png', '0', '0.0000', 0, '0.00', 'code128', 'standard', '', '0.0000', NULL, NULL, NULL, 0, 0, NULL, NULL, 0, '0.0000', '0000-00-00', '0000-00-00', NULL, NULL);
INSERT INTO `tec_products` (`id`, `code`, `name`, `second_name`, `category_id`, `price`, `price_wholesale`, `price_vip`, `image`, `tax`, `cost`, `tax_method`, `quantity`, `barcode_symbology`, `type`, `details`, `alert_quantity`, `unit_id`, `alert_expiry`, `expiry_date`, `beverage`, `ingredient`, `service_month`, `alert_service`, `promotion`, `promo_price`, `start_date`, `end_date`, `divided1`, `divided2`) VALUES (41, '000041', 'សូកូឡាតែបៃតងទឹកដោះគោដូងក្រអូប (Chocolate Green Tea Latte with Coconut)', '', 6, '6500.0000', '0.0000', '0.0000', 'no_image.png', '0', '0.0000', 0, '0.00', 'code128', 'standard', '', '0.0000', NULL, NULL, NULL, 0, 0, NULL, NULL, 0, '0.0000', '0000-00-00', '0000-00-00', NULL, NULL);
INSERT INTO `tec_products` (`id`, `code`, `name`, `second_name`, `category_id`, `price`, `price_wholesale`, `price_vip`, `image`, `tax`, `cost`, `tax_method`, `quantity`, `barcode_symbology`, `type`, `details`, `alert_quantity`, `unit_id`, `alert_expiry`, `expiry_date`, `beverage`, `ingredient`, `service_month`, `alert_service`, `promotion`, `promo_price`, `start_date`, `end_date`, `divided1`, `divided2`) VALUES (42, '000042', 'តែមេអំបៅក្រូចឆ្មា (Butterfly Pea Lemonade Tea)', '', 6, '5000.0000', '0.0000', '0.0000', 'no_image.png', '0', '0.0000', 0, '0.00', 'code128', 'standard', '', '0.0000', NULL, NULL, NULL, 0, 0, NULL, NULL, 0, '0.0000', '0000-00-00', '0000-00-00', NULL, NULL);
INSERT INTO `tec_products` (`id`, `code`, `name`, `second_name`, `category_id`, `price`, `price_wholesale`, `price_vip`, `image`, `tax`, `cost`, `tax_method`, `quantity`, `barcode_symbology`, `type`, `details`, `alert_quantity`, `unit_id`, `alert_expiry`, `expiry_date`, `beverage`, `ingredient`, `service_month`, `alert_service`, `promotion`, `promo_price`, `start_date`, `end_date`, `divided1`, `divided2`) VALUES (43, '000043', 'ស្រប៊ឺរីសូដា (Strawberry Soda)', '', 6, '6000.0000', '0.0000', '0.0000', 'no_image.png', '0', '0.0000', 0, '0.00', 'code128', 'standard', '', '0.0000', NULL, NULL, NULL, 0, 0, NULL, NULL, 0, '0.0000', '0000-00-00', '0000-00-00', NULL, NULL);
INSERT INTO `tec_products` (`id`, `code`, `name`, `second_name`, `category_id`, `price`, `price_wholesale`, `price_vip`, `image`, `tax`, `cost`, `tax_method`, `quantity`, `barcode_symbology`, `type`, `details`, `alert_quantity`, `unit_id`, `alert_expiry`, `expiry_date`, `beverage`, `ingredient`, `service_month`, `alert_service`, `promotion`, `promo_price`, `start_date`, `end_date`, `divided1`, `divided2`) VALUES (44, '000044', 'ផាសិនសូដា (Passion Soda)', '', 6, '6000.0000', '0.0000', '0.0000', 'no_image.png', '0', '0.0000', 0, '0.00', 'code128', 'standard', '', '0.0000', NULL, NULL, NULL, 0, 0, NULL, NULL, 0, '0.0000', '0000-00-00', '0000-00-00', NULL, NULL);
INSERT INTO `tec_products` (`id`, `code`, `name`, `second_name`, `category_id`, `price`, `price_wholesale`, `price_vip`, `image`, `tax`, `cost`, `tax_method`, `quantity`, `barcode_symbology`, `type`, `details`, `alert_quantity`, `unit_id`, `alert_expiry`, `expiry_date`, `beverage`, `ingredient`, `service_month`, `alert_service`, `promotion`, `promo_price`, `start_date`, `end_date`, `divided1`, `divided2`) VALUES (45, '000045', 'តែដំឡូងស្វាយទឹកដោះគោ (Sweet Purple Potato Latte)', '', 6, '6000.0000', '0.0000', '0.0000', 'no_image.png', '0', '0.0000', 0, '0.00', 'code128', 'standard', '', '0.0000', NULL, NULL, NULL, 0, 0, NULL, NULL, 0, '0.0000', '0000-00-00', '0000-00-00', NULL, NULL);
INSERT INTO `tec_products` (`id`, `code`, `name`, `second_name`, `category_id`, `price`, `price_wholesale`, `price_vip`, `image`, `tax`, `cost`, `tax_method`, `quantity`, `barcode_symbology`, `type`, `details`, `alert_quantity`, `unit_id`, `alert_expiry`, `expiry_date`, `beverage`, `ingredient`, `service_month`, `alert_service`, `promotion`, `promo_price`, `start_date`, `end_date`, `divided1`, `divided2`) VALUES (46, '000046', 'តែមេអំបៅដំឡូងស្វាយទឹកដោះគោដូងក្រអូប (Butterfly Pea Sweet Potato Latte with Coconut)', '', 6, '6000.0000', '0.0000', '0.0000', 'no_image.png', '0', '0.0000', 0, '0.00', 'code128', 'standard', '', '0.0000', NULL, NULL, NULL, 0, 0, NULL, NULL, 0, '0.0000', '0000-00-00', '0000-00-00', NULL, NULL);
INSERT INTO `tec_products` (`id`, `code`, `name`, `second_name`, `category_id`, `price`, `price_wholesale`, `price_vip`, `image`, `tax`, `cost`, `tax_method`, `quantity`, `barcode_symbology`, `type`, `details`, `alert_quantity`, `unit_id`, `alert_expiry`, `expiry_date`, `beverage`, `ingredient`, `service_month`, `alert_service`, `promotion`, `promo_price`, `start_date`, `end_date`, `divided1`, `divided2`) VALUES (47, '000047', 'តែទីកឃ្មុំ', '', 5, '5000.0000', '0.0000', '0.0000', 'no_image.png', '0', '5000.0000', 0, '0.00', 'code128', 'standard', '', '0.0000', NULL, NULL, NULL, 0, 0, NULL, NULL, 0, '0.0000', '0000-00-00', '0000-00-00', NULL, NULL);
INSERT INTO `tec_products` (`id`, `code`, `name`, `second_name`, `category_id`, `price`, `price_wholesale`, `price_vip`, `image`, `tax`, `cost`, `tax_method`, `quantity`, `barcode_symbology`, `type`, `details`, `alert_quantity`, `unit_id`, `alert_expiry`, `expiry_date`, `beverage`, `ingredient`, `service_month`, `alert_service`, `promotion`, `promo_price`, `start_date`, `end_date`, `divided1`, `divided2`) VALUES (48, '000048', 'Espresso Original', '', 1, '5000.0000', '0.0000', '0.0000', 'no_image.png', '0', '5000.0000', 0, '0.00', 'code128', 'standard', '', '0.0000', NULL, NULL, NULL, 0, 0, NULL, NULL, 0, '0.0000', '0000-00-00', '0000-00-00', NULL, NULL);
INSERT INTO `tec_products` (`id`, `code`, `name`, `second_name`, `category_id`, `price`, `price_wholesale`, `price_vip`, `image`, `tax`, `cost`, `tax_method`, `quantity`, `barcode_symbology`, `type`, `details`, `alert_quantity`, `unit_id`, `alert_expiry`, `expiry_date`, `beverage`, `ingredient`, `service_month`, `alert_service`, `promotion`, `promo_price`, `start_date`, `end_date`, `divided1`, `divided2`) VALUES (49, '000049', 'ផាសិនcream (Passion cream)', '', 2, '6500.0000', '0.0000', '0.0000', 'no_image.png', '0', '5000.0000', 0, '0.00', 'code128', 'standard', '', '0.0000', NULL, NULL, NULL, 0, 0, NULL, NULL, 0, '0.0000', '0000-00-00', '0000-00-00', NULL, NULL);


#
# TABLE STRUCTURE FOR: tec_purchase_items
#

DROP TABLE IF EXISTS `tec_purchase_items`;

CREATE TABLE `tec_purchase_items` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `purchase_id` int(11) NOT NULL,
  `product_id` int(11) NOT NULL,
  `quantity` decimal(15,2) NOT NULL,
  `cost` decimal(25,4) NOT NULL,
  `subtotal` decimal(25,4) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;

#
# TABLE STRUCTURE FOR: tec_purchases
#

DROP TABLE IF EXISTS `tec_purchases`;

CREATE TABLE `tec_purchases` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `reference` varchar(55) NOT NULL,
  `date` timestamp NOT NULL DEFAULT current_timestamp(),
  `note` varchar(1000) NOT NULL,
  `total` decimal(25,4) NOT NULL,
  `attachment` varchar(255) DEFAULT NULL,
  `supplier_id` int(11) DEFAULT NULL,
  `received` tinyint(1) DEFAULT NULL,
  `created_by` int(11) NOT NULL,
  `store_id` int(11) NOT NULL DEFAULT 1,
  `discount` decimal(25,4) DEFAULT 0.0000,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;

#
# TABLE STRUCTURE FOR: tec_registers
#

DROP TABLE IF EXISTS `tec_registers`;

CREATE TABLE `tec_registers` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `date` timestamp NOT NULL DEFAULT current_timestamp(),
  `user_id` int(11) NOT NULL,
  `cash_in_hand` decimal(25,4) NOT NULL,
  `status` varchar(10) NOT NULL,
  `total_cash` decimal(25,4) DEFAULT NULL,
  `total_cheques` int(11) DEFAULT NULL,
  `total_cc_slips` int(11) DEFAULT NULL,
  `total_cash_submitted` decimal(25,4) DEFAULT NULL,
  `total_cheques_submitted` int(11) DEFAULT NULL,
  `total_cc_slips_submitted` int(11) DEFAULT NULL,
  `note` text DEFAULT NULL,
  `closed_at` timestamp NULL DEFAULT NULL,
  `transfer_opened_bills` varchar(50) DEFAULT NULL,
  `closed_by` int(11) DEFAULT NULL,
  `store_id` int(11) NOT NULL DEFAULT 1,
  `cash_sales` decimal(25,4) DEFAULT 0.0000,
  `ch_sales` decimal(25,4) DEFAULT 0.0000,
  `cc_sales` decimal(25,4) DEFAULT 0.0000,
  `gc_sales` decimal(25,4) DEFAULT 0.0000,
  `other_sales` decimal(25,4) DEFAULT 0.0000,
  `total_sales` decimal(25,4) DEFAULT 0.0000,
  `nbr_sales` decimal(25,4) NOT NULL DEFAULT 0.0000,
  `total_cash_1` decimal(25,4) DEFAULT NULL,
  `total_cash_2` decimal(25,4) DEFAULT NULL,
  `total_cash_3` decimal(25,4) DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=7 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;

INSERT INTO `tec_registers` (`id`, `date`, `user_id`, `cash_in_hand`, `status`, `total_cash`, `total_cheques`, `total_cc_slips`, `total_cash_submitted`, `total_cheques_submitted`, `total_cc_slips_submitted`, `note`, `closed_at`, `transfer_opened_bills`, `closed_by`, `store_id`, `cash_sales`, `ch_sales`, `cc_sales`, `gc_sales`, `other_sales`, `total_sales`, `nbr_sales`, `total_cash_1`, `total_cash_2`, `total_cash_3`) VALUES (1, '2026-04-21 10:36:16', 1, '50.0000', 'close', '50.0000', 0, 0, '50.0000', 0, 0, '', '2026-04-21 11:13:45', NULL, 1, 1, '0.0000', '0.0000', '0.0000', '0.0000', '0.0000', '0.0000', '0.0000', NULL, NULL, NULL);
INSERT INTO `tec_registers` (`id`, `date`, `user_id`, `cash_in_hand`, `status`, `total_cash`, `total_cheques`, `total_cc_slips`, `total_cash_submitted`, `total_cheques_submitted`, `total_cc_slips_submitted`, `note`, `closed_at`, `transfer_opened_bills`, `closed_by`, `store_id`, `cash_sales`, `ch_sales`, `cc_sales`, `gc_sales`, `other_sales`, `total_sales`, `nbr_sales`, `total_cash_1`, `total_cash_2`, `total_cash_3`) VALUES (2, '2026-04-21 11:15:05', 1, '151500.0000', 'close', '234500.0000', 0, 0, '234500.0000', 0, 0, '', '2026-05-07 08:16:56', NULL, 1, 1, '83000.0000', '0.0000', '0.0000', '0.0000', '0.0000', '83000.0000', '6.0000', NULL, NULL, NULL);
INSERT INTO `tec_registers` (`id`, `date`, `user_id`, `cash_in_hand`, `status`, `total_cash`, `total_cheques`, `total_cc_slips`, `total_cash_submitted`, `total_cheques_submitted`, `total_cc_slips_submitted`, `note`, `closed_at`, `transfer_opened_bills`, `closed_by`, `store_id`, `cash_sales`, `ch_sales`, `cc_sales`, `gc_sales`, `other_sales`, `total_sales`, `nbr_sales`, `total_cash_1`, `total_cash_2`, `total_cash_3`) VALUES (3, '2026-05-07 08:40:27', 1, '73000.0000', 'close', '205000.0000', 3, 0, '205000.0000', 3, 0, '', '2026-05-08 08:38:19', NULL, 1, 1, '132000.0000', '15000.0000', '0.0000', '0.0000', '0.0000', '147000.0000', '14.0000', NULL, NULL, NULL);
INSERT INTO `tec_registers` (`id`, `date`, `user_id`, `cash_in_hand`, `status`, `total_cash`, `total_cheques`, `total_cc_slips`, `total_cash_submitted`, `total_cheques_submitted`, `total_cc_slips_submitted`, `note`, `closed_at`, `transfer_opened_bills`, `closed_by`, `store_id`, `cash_sales`, `ch_sales`, `cc_sales`, `gc_sales`, `other_sales`, `total_sales`, `nbr_sales`, `total_cash_1`, `total_cash_2`, `total_cash_3`) VALUES (4, '2026-05-08 08:39:53', 1, '30000.0000', 'close', '185000.0000', 0, 0, '185000.0000', 0, 0, '', '2026-05-08 20:14:07', NULL, 1, 1, '155000.0000', '0.0000', '0.0000', '0.0000', '0.0000', '155000.0000', '14.0000', NULL, NULL, NULL);
INSERT INTO `tec_registers` (`id`, `date`, `user_id`, `cash_in_hand`, `status`, `total_cash`, `total_cheques`, `total_cc_slips`, `total_cash_submitted`, `total_cheques_submitted`, `total_cc_slips_submitted`, `note`, `closed_at`, `transfer_opened_bills`, `closed_by`, `store_id`, `cash_sales`, `ch_sales`, `cc_sales`, `gc_sales`, `other_sales`, `total_sales`, `nbr_sales`, `total_cash_1`, `total_cash_2`, `total_cash_3`) VALUES (5, '2026-05-09 08:01:29', 1, '30000.0000', 'close', '228500.0000', 2, 1, '228500.0000', 2, 1, '', '2026-05-09 20:33:13', NULL, 1, 1, '198500.0000', '21500.0000', '5000.0000', '0.0000', '0.0000', '225000.0000', '23.0000', NULL, NULL, NULL);
INSERT INTO `tec_registers` (`id`, `date`, `user_id`, `cash_in_hand`, `status`, `total_cash`, `total_cheques`, `total_cc_slips`, `total_cash_submitted`, `total_cheques_submitted`, `total_cc_slips_submitted`, `note`, `closed_at`, `transfer_opened_bills`, `closed_by`, `store_id`, `cash_sales`, `ch_sales`, `cc_sales`, `gc_sales`, `other_sales`, `total_sales`, `nbr_sales`, `total_cash_1`, `total_cash_2`, `total_cash_3`) VALUES (6, '2026-05-10 07:49:07', 1, '30000.0000', 'close', '106000.0000', 0, 0, '106000.0000', 0, 0, '', '2026-05-10 20:39:57', NULL, 1, 1, '76000.0000', '0.0000', '0.0000', '0.0000', '0.0000', '76000.0000', '9.0000', NULL, NULL, NULL);


#
# TABLE STRUCTURE FOR: tec_sale_items
#

DROP TABLE IF EXISTS `tec_sale_items`;

CREATE TABLE `tec_sale_items` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `sale_id` int(11) NOT NULL,
  `product_id` int(11) NOT NULL,
  `quantity` decimal(15,2) NOT NULL,
  `unit_price` decimal(25,4) NOT NULL,
  `net_unit_price` decimal(25,4) NOT NULL,
  `discount` varchar(20) DEFAULT NULL,
  `item_discount` decimal(25,4) DEFAULT NULL,
  `tax` int(20) DEFAULT NULL,
  `item_tax` decimal(25,4) DEFAULT NULL,
  `subtotal` decimal(25,4) NOT NULL,
  `real_unit_price` decimal(25,4) DEFAULT NULL,
  `cost` decimal(25,4) DEFAULT 0.0000,
  `product_code` varchar(150) DEFAULT NULL,
  `product_name` varchar(150) DEFAULT NULL,
  `comment` varchar(255) DEFAULT NULL,
  `next_service_date` date DEFAULT NULL,
  `length` decimal(15,2) DEFAULT NULL,
  `image` text DEFAULT NULL,
  `second_name` varchar(255) DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=109 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;

INSERT INTO `tec_sale_items` (`id`, `sale_id`, `product_id`, `quantity`, `unit_price`, `net_unit_price`, `discount`, `item_discount`, `tax`, `item_tax`, `subtotal`, `real_unit_price`, `cost`, `product_code`, `product_name`, `comment`, `next_service_date`, `length`, `image`, `second_name`) VALUES (2, 2, 11, '3.00', '6000.0000', '6000.0000', '0', '0.0000', 0, '0.0000', '18000.0000', '6000.0000', '0.0000', '000011', 'កាហ្វេទឹកដោះគោទឺកកក (Iced Latte)', '', NULL, NULL, 'no_image.png', '');
INSERT INTO `tec_sale_items` (`id`, `sale_id`, `product_id`, `quantity`, `unit_price`, `net_unit_price`, `discount`, `item_discount`, `tax`, `item_tax`, `subtotal`, `real_unit_price`, `cost`, `product_code`, `product_name`, `comment`, `next_service_date`, `length`, `image`, `second_name`) VALUES (3, 3, 10, '1.00', '6000.0000', '6000.0000', '0', '0.0000', 0, '0.0000', '6000.0000', '6000.0000', '0.0000', '000010', 'កាហ្វេខ្មៅទឹកកក (Iced Americano)', '', NULL, NULL, 'no_image.png', '');
INSERT INTO `tec_sale_items` (`id`, `sale_id`, `product_id`, `quantity`, `unit_price`, `net_unit_price`, `discount`, `item_discount`, `tax`, `item_tax`, `subtotal`, `real_unit_price`, `cost`, `product_code`, `product_name`, `comment`, `next_service_date`, `length`, `image`, `second_name`) VALUES (4, 3, 7, '1.00', '5000.0000', '5000.0000', '0', '0.0000', 0, '0.0000', '5000.0000', '5000.0000', '0.0000', '000007', 'កាហ្វេឡាតេ (Hot Latte)', '', NULL, NULL, 'no_image.png', '');
INSERT INTO `tec_sale_items` (`id`, `sale_id`, `product_id`, `quantity`, `unit_price`, `net_unit_price`, `discount`, `item_discount`, `tax`, `item_tax`, `subtotal`, `real_unit_price`, `cost`, `product_code`, `product_name`, `comment`, `next_service_date`, `length`, `image`, `second_name`) VALUES (5, 3, 1, '1.00', '5000.0000', '5000.0000', '0', '0.0000', 0, '0.0000', '5000.0000', '5000.0000', '0.0000', '000001', 'អេចប្រសសូ (Espresso)', '', NULL, NULL, 'no_image.png', '');
INSERT INTO `tec_sale_items` (`id`, `sale_id`, `product_id`, `quantity`, `unit_price`, `net_unit_price`, `discount`, `item_discount`, `tax`, `item_tax`, `subtotal`, `real_unit_price`, `cost`, `product_code`, `product_name`, `comment`, `next_service_date`, `length`, `image`, `second_name`) VALUES (6, 4, 10, '1.00', '6000.0000', '6000.0000', '0', '0.0000', 0, '0.0000', '6000.0000', '6000.0000', '0.0000', '000010', 'កាហ្វេខ្មៅទឹកកក (Iced Americano)', '', NULL, NULL, 'no_image.png', '');
INSERT INTO `tec_sale_items` (`id`, `sale_id`, `product_id`, `quantity`, `unit_price`, `net_unit_price`, `discount`, `item_discount`, `tax`, `item_tax`, `subtotal`, `real_unit_price`, `cost`, `product_code`, `product_name`, `comment`, `next_service_date`, `length`, `image`, `second_name`) VALUES (7, 4, 7, '1.00', '5000.0000', '5000.0000', '0', '0.0000', 0, '0.0000', '5000.0000', '5000.0000', '0.0000', '000007', 'កាហ្វេឡាតេ (Hot Latte)', '', NULL, NULL, 'no_image.png', '');
INSERT INTO `tec_sale_items` (`id`, `sale_id`, `product_id`, `quantity`, `unit_price`, `net_unit_price`, `discount`, `item_discount`, `tax`, `item_tax`, `subtotal`, `real_unit_price`, `cost`, `product_code`, `product_name`, `comment`, `next_service_date`, `length`, `image`, `second_name`) VALUES (8, 4, 1, '1.00', '5000.0000', '5000.0000', '0', '0.0000', 0, '0.0000', '5000.0000', '5000.0000', '0.0000', '000001', 'អេចប្រសសូ (Espresso)', '', NULL, NULL, 'no_image.png', '');
INSERT INTO `tec_sale_items` (`id`, `sale_id`, `product_id`, `quantity`, `unit_price`, `net_unit_price`, `discount`, `item_discount`, `tax`, `item_tax`, `subtotal`, `real_unit_price`, `cost`, `product_code`, `product_name`, `comment`, `next_service_date`, `length`, `image`, `second_name`) VALUES (9, 5, 11, '1.00', '6000.0000', '6000.0000', '0', '0.0000', 0, '0.0000', '6000.0000', '6000.0000', '0.0000', '000011', 'កាហ្វេទឹកដោះគោទឺកកក (Iced Latte)', '', NULL, NULL, 'no_image.png', '');
INSERT INTO `tec_sale_items` (`id`, `sale_id`, `product_id`, `quantity`, `unit_price`, `net_unit_price`, `discount`, `item_discount`, `tax`, `item_tax`, `subtotal`, `real_unit_price`, `cost`, `product_code`, `product_name`, `comment`, `next_service_date`, `length`, `image`, `second_name`) VALUES (10, 5, 10, '1.00', '6000.0000', '6000.0000', '0', '0.0000', 0, '0.0000', '6000.0000', '6000.0000', '0.0000', '000010', 'កាហ្វេខ្មៅទឹកកក (Iced Americano)', '', NULL, NULL, 'no_image.png', '');
INSERT INTO `tec_sale_items` (`id`, `sale_id`, `product_id`, `quantity`, `unit_price`, `net_unit_price`, `discount`, `item_discount`, `tax`, `item_tax`, `subtotal`, `real_unit_price`, `cost`, `product_code`, `product_name`, `comment`, `next_service_date`, `length`, `image`, `second_name`) VALUES (11, 5, 7, '1.00', '5000.0000', '5000.0000', '0', '0.0000', 0, '0.0000', '5000.0000', '5000.0000', '0.0000', '000007', 'កាហ្វេឡាតេ (Hot Latte)', '', NULL, NULL, 'no_image.png', '');
INSERT INTO `tec_sale_items` (`id`, `sale_id`, `product_id`, `quantity`, `unit_price`, `net_unit_price`, `discount`, `item_discount`, `tax`, `item_tax`, `subtotal`, `real_unit_price`, `cost`, `product_code`, `product_name`, `comment`, `next_service_date`, `length`, `image`, `second_name`) VALUES (12, 6, 15, '1.00', '6000.0000', '6000.0000', '0', '0.0000', 0, '0.0000', '6000.0000', '6000.0000', '0.0000', '000015', 'តែបៃតងឡាតេទឹកកក (Iced Green Tea Latte)', '', NULL, NULL, 'no_image.png', '');
INSERT INTO `tec_sale_items` (`id`, `sale_id`, `product_id`, `quantity`, `unit_price`, `net_unit_price`, `discount`, `item_discount`, `tax`, `item_tax`, `subtotal`, `real_unit_price`, `cost`, `product_code`, `product_name`, `comment`, `next_service_date`, `length`, `image`, `second_name`) VALUES (13, 6, 13, '1.00', '6000.0000', '6000.0000', '0', '0.0000', 0, '0.0000', '6000.0000', '6000.0000', '0.0000', '000013', 'សូកូឡាទឹកកក (Iced Chocolate)', '', NULL, NULL, 'no_image.png', '');
INSERT INTO `tec_sale_items` (`id`, `sale_id`, `product_id`, `quantity`, `unit_price`, `net_unit_price`, `discount`, `item_discount`, `tax`, `item_tax`, `subtotal`, `real_unit_price`, `cost`, `product_code`, `product_name`, `comment`, `next_service_date`, `length`, `image`, `second_name`) VALUES (14, 7, 14, '1.00', '6000.0000', '6000.0000', '0', '0.0000', 0, '0.0000', '6000.0000', '6000.0000', '0.0000', '000014', 'កាហ្វេទឺកដោះគោខាប់ (Iced Condensed Milk Coffee)', '', NULL, NULL, 'no_image.png', '');
INSERT INTO `tec_sale_items` (`id`, `sale_id`, `product_id`, `quantity`, `unit_price`, `net_unit_price`, `discount`, `item_discount`, `tax`, `item_tax`, `subtotal`, `real_unit_price`, `cost`, `product_code`, `product_name`, `comment`, `next_service_date`, `length`, `image`, `second_name`) VALUES (15, 8, 34, '1.00', '4000.0000', '4000.0000', '0', '0.0000', 0, '0.0000', '4000.0000', '4000.0000', '0.0000', '000034', 'តែបៃតងក្រូចឆ្មាទឹកកក (Iced Passion Lemonade)', '', NULL, NULL, 'no_image.png', '');
INSERT INTO `tec_sale_items` (`id`, `sale_id`, `product_id`, `quantity`, `unit_price`, `net_unit_price`, `discount`, `item_discount`, `tax`, `item_tax`, `subtotal`, `real_unit_price`, `cost`, `product_code`, `product_name`, `comment`, `next_service_date`, `length`, `image`, `second_name`) VALUES (16, 9, 14, '2.00', '6000.0000', '6000.0000', '0', '0.0000', 0, '0.0000', '12000.0000', '6000.0000', '0.0000', '000014', 'កាហ្វេទឺកដោះគោខាប់ (Iced Condensed Milk Coffee)', '', NULL, NULL, 'no_image.png', '');
INSERT INTO `tec_sale_items` (`id`, `sale_id`, `product_id`, `quantity`, `unit_price`, `net_unit_price`, `discount`, `item_discount`, `tax`, `item_tax`, `subtotal`, `real_unit_price`, `cost`, `product_code`, `product_name`, `comment`, `next_service_date`, `length`, `image`, `second_name`) VALUES (17, 10, 10, '1.00', '6000.0000', '6000.0000', '0', '0.0000', 0, '0.0000', '6000.0000', '6000.0000', '0.0000', '000010', 'កាហ្វេខ្មៅទឹកកក (Iced Americano)', '', NULL, NULL, 'no_image.png', '');
INSERT INTO `tec_sale_items` (`id`, `sale_id`, `product_id`, `quantity`, `unit_price`, `net_unit_price`, `discount`, `item_discount`, `tax`, `item_tax`, `subtotal`, `real_unit_price`, `cost`, `product_code`, `product_name`, `comment`, `next_service_date`, `length`, `image`, `second_name`) VALUES (18, 11, 11, '1.00', '6000.0000', '6000.0000', '0', '0.0000', 0, '0.0000', '6000.0000', '6000.0000', '0.0000', '000011', 'កាហ្វេទឹកដោះគោទឺកកក (Iced Latte)', '', NULL, NULL, 'no_image.png', '');
INSERT INTO `tec_sale_items` (`id`, `sale_id`, `product_id`, `quantity`, `unit_price`, `net_unit_price`, `discount`, `item_discount`, `tax`, `item_tax`, `subtotal`, `real_unit_price`, `cost`, `product_code`, `product_name`, `comment`, `next_service_date`, `length`, `image`, `second_name`) VALUES (19, 12, 11, '1.00', '6000.0000', '6000.0000', '0', '0.0000', 0, '0.0000', '6000.0000', '6000.0000', '0.0000', '000011', 'កាហ្វេទឹកដោះគោទឺកកក (Iced Latte)', '', NULL, NULL, 'no_image.png', '');
INSERT INTO `tec_sale_items` (`id`, `sale_id`, `product_id`, `quantity`, `unit_price`, `net_unit_price`, `discount`, `item_discount`, `tax`, `item_tax`, `subtotal`, `real_unit_price`, `cost`, `product_code`, `product_name`, `comment`, `next_service_date`, `length`, `image`, `second_name`) VALUES (20, 13, 48, '1.00', '5000.0000', '5000.0000', '0', '0.0000', 0, '0.0000', '5000.0000', '5000.0000', '5000.0000', '000048', 'Espresso Original', '', NULL, NULL, 'no_image.png', '');
INSERT INTO `tec_sale_items` (`id`, `sale_id`, `product_id`, `quantity`, `unit_price`, `net_unit_price`, `discount`, `item_discount`, `tax`, `item_tax`, `subtotal`, `real_unit_price`, `cost`, `product_code`, `product_name`, `comment`, `next_service_date`, `length`, `image`, `second_name`) VALUES (21, 13, 32, '1.00', '4000.0000', '4000.0000', '0', '0.0000', 0, '0.0000', '4000.0000', '4000.0000', '0.0000', '000032', 'តែក្រហមក្រូចឆ្មាទឹកកក (Iced Red Tea Lemonade)', '', NULL, NULL, 'no_image.png', '');
INSERT INTO `tec_sale_items` (`id`, `sale_id`, `product_id`, `quantity`, `unit_price`, `net_unit_price`, `discount`, `item_discount`, `tax`, `item_tax`, `subtotal`, `real_unit_price`, `cost`, `product_code`, `product_name`, `comment`, `next_service_date`, `length`, `image`, `second_name`) VALUES (26, 15, 47, '1.00', '5000.0000', '5000.0000', '0', '0.0000', 0, '0.0000', '5000.0000', '5000.0000', '5000.0000', '000047', 'តែទីកឃ្មុំ', '', NULL, NULL, 'no_image.png', '');
INSERT INTO `tec_sale_items` (`id`, `sale_id`, `product_id`, `quantity`, `unit_price`, `net_unit_price`, `discount`, `item_discount`, `tax`, `item_tax`, `subtotal`, `real_unit_price`, `cost`, `product_code`, `product_name`, `comment`, `next_service_date`, `length`, `image`, `second_name`) VALUES (27, 16, 47, '1.00', '5000.0000', '5000.0000', '0', '0.0000', 0, '0.0000', '5000.0000', '5000.0000', '5000.0000', '000047', 'តែទីកឃ្មុំ', '', NULL, NULL, 'no_image.png', '');
INSERT INTO `tec_sale_items` (`id`, `sale_id`, `product_id`, `quantity`, `unit_price`, `net_unit_price`, `discount`, `item_discount`, `tax`, `item_tax`, `subtotal`, `real_unit_price`, `cost`, `product_code`, `product_name`, `comment`, `next_service_date`, `length`, `image`, `second_name`) VALUES (32, 14, 31, '1.00', '5000.0000', '5000.0000', '0', '0.0000', 0, '0.0000', '5000.0000', '5000.0000', '0.0000', '000031', 'ផាសិនស្មូតធី (Passion Smoothie)', '', NULL, NULL, 'no_image.png', '');
INSERT INTO `tec_sale_items` (`id`, `sale_id`, `product_id`, `quantity`, `unit_price`, `net_unit_price`, `discount`, `item_discount`, `tax`, `item_tax`, `subtotal`, `real_unit_price`, `cost`, `product_code`, `product_name`, `comment`, `next_service_date`, `length`, `image`, `second_name`) VALUES (33, 14, 28, '2.00', '6500.0000', '6500.0000', '0', '0.0000', 0, '0.0000', '13000.0000', '6500.0000', '0.0000', '000028', 'វ៉ាន់នីឡាក្រឡុក (Vanilla Frappe)', '', NULL, NULL, 'no_image.png', '');
INSERT INTO `tec_sale_items` (`id`, `sale_id`, `product_id`, `quantity`, `unit_price`, `net_unit_price`, `discount`, `item_discount`, `tax`, `item_tax`, `subtotal`, `real_unit_price`, `cost`, `product_code`, `product_name`, `comment`, `next_service_date`, `length`, `image`, `second_name`) VALUES (34, 14, 22, '1.00', '6500.0000', '6500.0000', '0', '0.0000', 0, '0.0000', '6500.0000', '6500.0000', '0.0000', '000022', 'សូកូឡាក្រឡុក (Chocolate Frappe)', '', NULL, NULL, 'no_image.png', '');
INSERT INTO `tec_sale_items` (`id`, `sale_id`, `product_id`, `quantity`, `unit_price`, `net_unit_price`, `discount`, `item_discount`, `tax`, `item_tax`, `subtotal`, `real_unit_price`, `cost`, `product_code`, `product_name`, `comment`, `next_service_date`, `length`, `image`, `second_name`) VALUES (35, 14, 13, '1.00', '6000.0000', '6000.0000', '0', '0.0000', 0, '0.0000', '6000.0000', '6000.0000', '0.0000', '000013', 'សូកូឡាទឹកកក (Iced Chocolate)', '', NULL, NULL, 'no_image.png', '');
INSERT INTO `tec_sale_items` (`id`, `sale_id`, `product_id`, `quantity`, `unit_price`, `net_unit_price`, `discount`, `item_discount`, `tax`, `item_tax`, `subtotal`, `real_unit_price`, `cost`, `product_code`, `product_name`, `comment`, `next_service_date`, `length`, `image`, `second_name`) VALUES (36, 17, 48, '2.00', '5000.0000', '5000.0000', '0', '0.0000', 0, '0.0000', '10000.0000', '5000.0000', '5000.0000', '000048', 'Espresso Original', '', NULL, NULL, 'no_image.png', '');
INSERT INTO `tec_sale_items` (`id`, `sale_id`, `product_id`, `quantity`, `unit_price`, `net_unit_price`, `discount`, `item_discount`, `tax`, `item_tax`, `subtotal`, `real_unit_price`, `cost`, `product_code`, `product_name`, `comment`, `next_service_date`, `length`, `image`, `second_name`) VALUES (37, 17, 10, '1.00', '6000.0000', '6000.0000', '0', '0.0000', 0, '0.0000', '6000.0000', '6000.0000', '0.0000', '000010', 'កាហ្វេខ្មៅទឹកកក (Iced Americano)', '', NULL, NULL, 'no_image.png', '');
INSERT INTO `tec_sale_items` (`id`, `sale_id`, `product_id`, `quantity`, `unit_price`, `net_unit_price`, `discount`, `item_discount`, `tax`, `item_tax`, `subtotal`, `real_unit_price`, `cost`, `product_code`, `product_name`, `comment`, `next_service_date`, `length`, `image`, `second_name`) VALUES (38, 18, 49, '1.00', '6500.0000', '6500.0000', '0', '0.0000', 0, '0.0000', '6500.0000', '6500.0000', '5000.0000', '000049', 'ផាសិនcream (Passion cream)', '', NULL, NULL, 'no_image.png', '');
INSERT INTO `tec_sale_items` (`id`, `sale_id`, `product_id`, `quantity`, `unit_price`, `net_unit_price`, `discount`, `item_discount`, `tax`, `item_tax`, `subtotal`, `real_unit_price`, `cost`, `product_code`, `product_name`, `comment`, `next_service_date`, `length`, `image`, `second_name`) VALUES (39, 19, 32, '1.00', '4000.0000', '4000.0000', '0', '0.0000', 0, '0.0000', '4000.0000', '4000.0000', '0.0000', '000032', 'តែក្រហមក្រូចឆ្មាទឹកកក (Iced Red Tea Lemonade)', '', NULL, NULL, 'no_image.png', '');
INSERT INTO `tec_sale_items` (`id`, `sale_id`, `product_id`, `quantity`, `unit_price`, `net_unit_price`, `discount`, `item_discount`, `tax`, `item_tax`, `subtotal`, `real_unit_price`, `cost`, `product_code`, `product_name`, `comment`, `next_service_date`, `length`, `image`, `second_name`) VALUES (40, 20, 45, '2.00', '6000.0000', '6000.0000', '0', '0.0000', 0, '0.0000', '12000.0000', '6000.0000', '0.0000', '000045', 'តែដំឡូងស្វាយទឹកដោះគោ (Sweet Purple Potato Latte)', '', NULL, NULL, 'no_image.png', '');
INSERT INTO `tec_sale_items` (`id`, `sale_id`, `product_id`, `quantity`, `unit_price`, `net_unit_price`, `discount`, `item_discount`, `tax`, `item_tax`, `subtotal`, `real_unit_price`, `cost`, `product_code`, `product_name`, `comment`, `next_service_date`, `length`, `image`, `second_name`) VALUES (41, 20, 24, '1.00', '6500.0000', '6500.0000', '0', '0.0000', 0, '0.0000', '6500.0000', '6500.0000', '0.0000', '000024', 'ប្លូប៊ែរីក្រឡុក (Blueberry Frappe)', '', NULL, NULL, 'no_image.png', '');
INSERT INTO `tec_sale_items` (`id`, `sale_id`, `product_id`, `quantity`, `unit_price`, `net_unit_price`, `discount`, `item_discount`, `tax`, `item_tax`, `subtotal`, `real_unit_price`, `cost`, `product_code`, `product_name`, `comment`, `next_service_date`, `length`, `image`, `second_name`) VALUES (42, 21, 28, '1.00', '6500.0000', '6500.0000', '0', '0.0000', 0, '0.0000', '6500.0000', '6500.0000', '0.0000', '000028', 'វ៉ាន់នីឡាក្រឡុក (Vanilla Frappe)', '', NULL, NULL, 'no_image.png', '');
INSERT INTO `tec_sale_items` (`id`, `sale_id`, `product_id`, `quantity`, `unit_price`, `net_unit_price`, `discount`, `item_discount`, `tax`, `item_tax`, `subtotal`, `real_unit_price`, `cost`, `product_code`, `product_name`, `comment`, `next_service_date`, `length`, `image`, `second_name`) VALUES (43, 21, 22, '1.00', '6500.0000', '6500.0000', '0', '0.0000', 0, '0.0000', '6500.0000', '6500.0000', '0.0000', '000022', 'សូកូឡាក្រឡុក (Chocolate Frappe)', '', NULL, NULL, 'no_image.png', '');
INSERT INTO `tec_sale_items` (`id`, `sale_id`, `product_id`, `quantity`, `unit_price`, `net_unit_price`, `discount`, `item_discount`, `tax`, `item_tax`, `subtotal`, `real_unit_price`, `cost`, `product_code`, `product_name`, `comment`, `next_service_date`, `length`, `image`, `second_name`) VALUES (44, 21, 14, '1.00', '6000.0000', '6000.0000', '0', '0.0000', 0, '0.0000', '6000.0000', '6000.0000', '0.0000', '000014', 'កាហ្វេទឺកដោះគោខាប់ (Iced Condensed Milk Coffee)', '', NULL, NULL, 'no_image.png', '');
INSERT INTO `tec_sale_items` (`id`, `sale_id`, `product_id`, `quantity`, `unit_price`, `net_unit_price`, `discount`, `item_discount`, `tax`, `item_tax`, `subtotal`, `real_unit_price`, `cost`, `product_code`, `product_name`, `comment`, `next_service_date`, `length`, `image`, `second_name`) VALUES (45, 22, 49, '1.00', '6500.0000', '6500.0000', '0', '0.0000', 0, '0.0000', '6500.0000', '6500.0000', '5000.0000', '000049', 'ផាសិនcream (Passion cream)', '', NULL, NULL, 'no_image.png', '');
INSERT INTO `tec_sale_items` (`id`, `sale_id`, `product_id`, `quantity`, `unit_price`, `net_unit_price`, `discount`, `item_discount`, `tax`, `item_tax`, `subtotal`, `real_unit_price`, `cost`, `product_code`, `product_name`, `comment`, `next_service_date`, `length`, `image`, `second_name`) VALUES (46, 22, 10, '1.00', '6000.0000', '6000.0000', '0', '0.0000', 0, '0.0000', '6000.0000', '6000.0000', '0.0000', '000010', 'កាហ្វេខ្មៅទឹកកក (Iced Americano)', '', NULL, NULL, 'no_image.png', '');
INSERT INTO `tec_sale_items` (`id`, `sale_id`, `product_id`, `quantity`, `unit_price`, `net_unit_price`, `discount`, `item_discount`, `tax`, `item_tax`, `subtotal`, `real_unit_price`, `cost`, `product_code`, `product_name`, `comment`, `next_service_date`, `length`, `image`, `second_name`) VALUES (47, 23, 7, '1.00', '5000.0000', '5000.0000', '0', '0.0000', 0, '0.0000', '5000.0000', '5000.0000', '0.0000', '000007', 'កាហ្វេឡាតេ (Hot Latte)', '', NULL, NULL, 'no_image.png', '');
INSERT INTO `tec_sale_items` (`id`, `sale_id`, `product_id`, `quantity`, `unit_price`, `net_unit_price`, `discount`, `item_discount`, `tax`, `item_tax`, `subtotal`, `real_unit_price`, `cost`, `product_code`, `product_name`, `comment`, `next_service_date`, `length`, `image`, `second_name`) VALUES (48, 24, 34, '1.00', '4000.0000', '4000.0000', '0', '0.0000', 0, '0.0000', '4000.0000', '4000.0000', '0.0000', '000034', 'តែបៃតងក្រូចឆ្មាទឹកកក (Iced Passion Lemonade)', '', NULL, NULL, 'no_image.png', '');
INSERT INTO `tec_sale_items` (`id`, `sale_id`, `product_id`, `quantity`, `unit_price`, `net_unit_price`, `discount`, `item_discount`, `tax`, `item_tax`, `subtotal`, `real_unit_price`, `cost`, `product_code`, `product_name`, `comment`, `next_service_date`, `length`, `image`, `second_name`) VALUES (49, 25, 11, '1.00', '6000.0000', '6000.0000', '0', '0.0000', 0, '0.0000', '6000.0000', '6000.0000', '0.0000', '000011', 'កាហ្វេទឹកដោះគោទឺកកក (Iced Latte)', '', NULL, NULL, 'no_image.png', '');
INSERT INTO `tec_sale_items` (`id`, `sale_id`, `product_id`, `quantity`, `unit_price`, `net_unit_price`, `discount`, `item_discount`, `tax`, `item_tax`, `subtotal`, `real_unit_price`, `cost`, `product_code`, `product_name`, `comment`, `next_service_date`, `length`, `image`, `second_name`) VALUES (50, 26, 11, '1.00', '6000.0000', '6000.0000', '0', '0.0000', 0, '0.0000', '6000.0000', '6000.0000', '0.0000', '000011', 'កាហ្វេទឹកដោះគោទឺកកក (Iced Latte)', '', NULL, NULL, 'no_image.png', '');
INSERT INTO `tec_sale_items` (`id`, `sale_id`, `product_id`, `quantity`, `unit_price`, `net_unit_price`, `discount`, `item_discount`, `tax`, `item_tax`, `subtotal`, `real_unit_price`, `cost`, `product_code`, `product_name`, `comment`, `next_service_date`, `length`, `image`, `second_name`) VALUES (51, 27, 32, '1.00', '4000.0000', '4000.0000', '0', '0.0000', 0, '0.0000', '4000.0000', '4000.0000', '0.0000', '000032', 'តែក្រហមក្រូចឆ្មាទឹកកក (Iced Red Tea Lemonade)', '', NULL, NULL, 'no_image.png', '');
INSERT INTO `tec_sale_items` (`id`, `sale_id`, `product_id`, `quantity`, `unit_price`, `net_unit_price`, `discount`, `item_discount`, `tax`, `item_tax`, `subtotal`, `real_unit_price`, `cost`, `product_code`, `product_name`, `comment`, `next_service_date`, `length`, `image`, `second_name`) VALUES (52, 28, 48, '1.00', '5000.0000', '5000.0000', '0', '0.0000', 0, '0.0000', '5000.0000', '5000.0000', '5000.0000', '000048', 'Espresso Original', '', NULL, NULL, 'no_image.png', '');
INSERT INTO `tec_sale_items` (`id`, `sale_id`, `product_id`, `quantity`, `unit_price`, `net_unit_price`, `discount`, `item_discount`, `tax`, `item_tax`, `subtotal`, `real_unit_price`, `cost`, `product_code`, `product_name`, `comment`, `next_service_date`, `length`, `image`, `second_name`) VALUES (53, 29, 32, '1.00', '4000.0000', '4000.0000', '0', '0.0000', 0, '0.0000', '4000.0000', '4000.0000', '0.0000', '000032', 'តែក្រហមក្រូចឆ្មាទឹកកក (Iced Red Tea Lemonade)', '', NULL, NULL, 'no_image.png', '');
INSERT INTO `tec_sale_items` (`id`, `sale_id`, `product_id`, `quantity`, `unit_price`, `net_unit_price`, `discount`, `item_discount`, `tax`, `item_tax`, `subtotal`, `real_unit_price`, `cost`, `product_code`, `product_name`, `comment`, `next_service_date`, `length`, `image`, `second_name`) VALUES (54, 30, 46, '1.00', '6000.0000', '6000.0000', '0', '0.0000', 0, '0.0000', '6000.0000', '6000.0000', '0.0000', '000046', 'តែមេអំបៅដំឡូងស្វាយទឹកដោះគោដូងក្រអូប (Butterfly Pea Sweet Potato Latte with Coconut)', '', NULL, NULL, 'no_image.png', '');
INSERT INTO `tec_sale_items` (`id`, `sale_id`, `product_id`, `quantity`, `unit_price`, `net_unit_price`, `discount`, `item_discount`, `tax`, `item_tax`, `subtotal`, `real_unit_price`, `cost`, `product_code`, `product_name`, `comment`, `next_service_date`, `length`, `image`, `second_name`) VALUES (55, 30, 11, '3.00', '6000.0000', '6000.0000', '0', '0.0000', 0, '0.0000', '18000.0000', '6000.0000', '0.0000', '000011', 'កាហ្វេទឹកដោះគោទឺកកក (Iced Latte)', '', NULL, NULL, 'no_image.png', '');
INSERT INTO `tec_sale_items` (`id`, `sale_id`, `product_id`, `quantity`, `unit_price`, `net_unit_price`, `discount`, `item_discount`, `tax`, `item_tax`, `subtotal`, `real_unit_price`, `cost`, `product_code`, `product_name`, `comment`, `next_service_date`, `length`, `image`, `second_name`) VALUES (56, 31, 10, '2.00', '6000.0000', '6000.0000', '0', '0.0000', 0, '0.0000', '12000.0000', '6000.0000', '0.0000', '000010', 'កាហ្វេខ្មៅទឹកកក (Iced Americano)', '', NULL, NULL, 'no_image.png', '');
INSERT INTO `tec_sale_items` (`id`, `sale_id`, `product_id`, `quantity`, `unit_price`, `net_unit_price`, `discount`, `item_discount`, `tax`, `item_tax`, `subtotal`, `real_unit_price`, `cost`, `product_code`, `product_name`, `comment`, `next_service_date`, `length`, `image`, `second_name`) VALUES (57, 32, 47, '1.00', '5000.0000', '5000.0000', '0', '0.0000', 0, '0.0000', '5000.0000', '5000.0000', '5000.0000', '000047', 'តែទីកឃ្មុំ', '', NULL, NULL, 'no_image.png', '');
INSERT INTO `tec_sale_items` (`id`, `sale_id`, `product_id`, `quantity`, `unit_price`, `net_unit_price`, `discount`, `item_discount`, `tax`, `item_tax`, `subtotal`, `real_unit_price`, `cost`, `product_code`, `product_name`, `comment`, `next_service_date`, `length`, `image`, `second_name`) VALUES (58, 32, 14, '1.00', '6000.0000', '6000.0000', '0', '0.0000', 0, '0.0000', '6000.0000', '6000.0000', '0.0000', '000014', 'កាហ្វេទឺកដោះគោខាប់ (Iced Condensed Milk Coffee)', '', NULL, NULL, 'no_image.png', '');
INSERT INTO `tec_sale_items` (`id`, `sale_id`, `product_id`, `quantity`, `unit_price`, `net_unit_price`, `discount`, `item_discount`, `tax`, `item_tax`, `subtotal`, `real_unit_price`, `cost`, `product_code`, `product_name`, `comment`, `next_service_date`, `length`, `image`, `second_name`) VALUES (59, 33, 15, '1.00', '6000.0000', '6000.0000', '0', '0.0000', 0, '0.0000', '6000.0000', '6000.0000', '0.0000', '000015', 'តែបៃតងឡាតេទឹកកក (Iced Green Tea Latte)', '', NULL, NULL, 'no_image.png', '');
INSERT INTO `tec_sale_items` (`id`, `sale_id`, `product_id`, `quantity`, `unit_price`, `net_unit_price`, `discount`, `item_discount`, `tax`, `item_tax`, `subtotal`, `real_unit_price`, `cost`, `product_code`, `product_name`, `comment`, `next_service_date`, `length`, `image`, `second_name`) VALUES (60, 34, 32, '1.00', '4000.0000', '4000.0000', '0', '0.0000', 0, '0.0000', '4000.0000', '4000.0000', '0.0000', '000032', 'តែក្រហមក្រូចឆ្មាទឹកកក (Iced Red Tea Lemonade)', '', NULL, NULL, 'no_image.png', '');
INSERT INTO `tec_sale_items` (`id`, `sale_id`, `product_id`, `quantity`, `unit_price`, `net_unit_price`, `discount`, `item_discount`, `tax`, `item_tax`, `subtotal`, `real_unit_price`, `cost`, `product_code`, `product_name`, `comment`, `next_service_date`, `length`, `image`, `second_name`) VALUES (61, 35, 14, '9.00', '6000.0000', '6000.0000', '0', '0.0000', 0, '0.0000', '54000.0000', '6000.0000', '0.0000', '000014', 'កាហ្វេទឺកដោះគោខាប់ (Iced Condensed Milk Coffee)', '', NULL, NULL, 'no_image.png', '');
INSERT INTO `tec_sale_items` (`id`, `sale_id`, `product_id`, `quantity`, `unit_price`, `net_unit_price`, `discount`, `item_discount`, `tax`, `item_tax`, `subtotal`, `real_unit_price`, `cost`, `product_code`, `product_name`, `comment`, `next_service_date`, `length`, `image`, `second_name`) VALUES (62, 36, 48, '1.00', '5000.0000', '5000.0000', '0', '0.0000', 0, '0.0000', '5000.0000', '5000.0000', '5000.0000', '000048', 'Espresso Original', '', NULL, NULL, 'no_image.png', '');
INSERT INTO `tec_sale_items` (`id`, `sale_id`, `product_id`, `quantity`, `unit_price`, `net_unit_price`, `discount`, `item_discount`, `tax`, `item_tax`, `subtotal`, `real_unit_price`, `cost`, `product_code`, `product_name`, `comment`, `next_service_date`, `length`, `image`, `second_name`) VALUES (63, 36, 7, '1.00', '5000.0000', '5000.0000', '0', '0.0000', 0, '0.0000', '5000.0000', '5000.0000', '0.0000', '000007', 'កាហ្វេឡាតេ (Hot Latte)', '', NULL, NULL, 'no_image.png', '');
INSERT INTO `tec_sale_items` (`id`, `sale_id`, `product_id`, `quantity`, `unit_price`, `net_unit_price`, `discount`, `item_discount`, `tax`, `item_tax`, `subtotal`, `real_unit_price`, `cost`, `product_code`, `product_name`, `comment`, `next_service_date`, `length`, `image`, `second_name`) VALUES (64, 37, 10, '1.00', '6000.0000', '6000.0000', '0', '0.0000', 0, '0.0000', '6000.0000', '6000.0000', '0.0000', '000010', 'កាហ្វេខ្មៅទឹកកក (Iced Americano)', '', NULL, NULL, 'no_image.png', '');
INSERT INTO `tec_sale_items` (`id`, `sale_id`, `product_id`, `quantity`, `unit_price`, `net_unit_price`, `discount`, `item_discount`, `tax`, `item_tax`, `subtotal`, `real_unit_price`, `cost`, `product_code`, `product_name`, `comment`, `next_service_date`, `length`, `image`, `second_name`) VALUES (65, 38, 10, '1.00', '6000.0000', '6000.0000', '0', '0.0000', 0, '0.0000', '6000.0000', '6000.0000', '0.0000', '000010', 'កាហ្វេខ្មៅទឹកកក (Iced Americano)', '', NULL, NULL, 'no_image.png', '');
INSERT INTO `tec_sale_items` (`id`, `sale_id`, `product_id`, `quantity`, `unit_price`, `net_unit_price`, `discount`, `item_discount`, `tax`, `item_tax`, `subtotal`, `real_unit_price`, `cost`, `product_code`, `product_name`, `comment`, `next_service_date`, `length`, `image`, `second_name`) VALUES (66, 39, 14, '2.00', '6000.0000', '6000.0000', '0', '0.0000', 0, '0.0000', '12000.0000', '6000.0000', '0.0000', '000014', 'កាហ្វេទឺកដោះគោខាប់ (Iced Condensed Milk Coffee)', '', NULL, NULL, 'no_image.png', '');
INSERT INTO `tec_sale_items` (`id`, `sale_id`, `product_id`, `quantity`, `unit_price`, `net_unit_price`, `discount`, `item_discount`, `tax`, `item_tax`, `subtotal`, `real_unit_price`, `cost`, `product_code`, `product_name`, `comment`, `next_service_date`, `length`, `image`, `second_name`) VALUES (67, 40, 47, '1.00', '5000.0000', '5000.0000', '0', '0.0000', 0, '0.0000', '5000.0000', '5000.0000', '5000.0000', '000047', 'តែទីកឃ្មុំ', '', NULL, NULL, 'no_image.png', '');
INSERT INTO `tec_sale_items` (`id`, `sale_id`, `product_id`, `quantity`, `unit_price`, `net_unit_price`, `discount`, `item_discount`, `tax`, `item_tax`, `subtotal`, `real_unit_price`, `cost`, `product_code`, `product_name`, `comment`, `next_service_date`, `length`, `image`, `second_name`) VALUES (68, 40, 32, '1.00', '4000.0000', '4000.0000', '0', '0.0000', 0, '0.0000', '4000.0000', '4000.0000', '0.0000', '000032', 'តែក្រហមក្រូចឆ្មាទឹកកក (Iced Red Tea Lemonade)', '', NULL, NULL, 'no_image.png', '');
INSERT INTO `tec_sale_items` (`id`, `sale_id`, `product_id`, `quantity`, `unit_price`, `net_unit_price`, `discount`, `item_discount`, `tax`, `item_tax`, `subtotal`, `real_unit_price`, `cost`, `product_code`, `product_name`, `comment`, `next_service_date`, `length`, `image`, `second_name`) VALUES (69, 41, 5, '1.00', '5000.0000', '5000.0000', '0', '0.0000', 0, '0.0000', '5000.0000', '5000.0000', '0.0000', '000005', 'កាហ្វេទឹកដោះគោខាប់ (Condensed Milk Coffee)', '', NULL, NULL, 'no_image.png', '');
INSERT INTO `tec_sale_items` (`id`, `sale_id`, `product_id`, `quantity`, `unit_price`, `net_unit_price`, `discount`, `item_discount`, `tax`, `item_tax`, `subtotal`, `real_unit_price`, `cost`, `product_code`, `product_name`, `comment`, `next_service_date`, `length`, `image`, `second_name`) VALUES (70, 42, 32, '1.00', '4000.0000', '4000.0000', '0', '0.0000', 0, '0.0000', '4000.0000', '4000.0000', '0.0000', '000032', 'តែក្រហមក្រូចឆ្មាទឹកកក (Iced Red Tea Lemonade)', '', NULL, NULL, 'no_image.png', '');
INSERT INTO `tec_sale_items` (`id`, `sale_id`, `product_id`, `quantity`, `unit_price`, `net_unit_price`, `discount`, `item_discount`, `tax`, `item_tax`, `subtotal`, `real_unit_price`, `cost`, `product_code`, `product_name`, `comment`, `next_service_date`, `length`, `image`, `second_name`) VALUES (71, 42, 15, '1.00', '6000.0000', '6000.0000', '0', '0.0000', 0, '0.0000', '6000.0000', '6000.0000', '0.0000', '000015', 'តែបៃតងឡាតេទឹកកក (Iced Green Tea Latte)', '', NULL, NULL, 'no_image.png', '');
INSERT INTO `tec_sale_items` (`id`, `sale_id`, `product_id`, `quantity`, `unit_price`, `net_unit_price`, `discount`, `item_discount`, `tax`, `item_tax`, `subtotal`, `real_unit_price`, `cost`, `product_code`, `product_name`, `comment`, `next_service_date`, `length`, `image`, `second_name`) VALUES (72, 43, 14, '1.00', '6000.0000', '6000.0000', '0', '0.0000', 0, '0.0000', '6000.0000', '6000.0000', '0.0000', '000014', 'កាហ្វេទឺកដោះគោខាប់ (Iced Condensed Milk Coffee)', '', NULL, NULL, 'no_image.png', '');
INSERT INTO `tec_sale_items` (`id`, `sale_id`, `product_id`, `quantity`, `unit_price`, `net_unit_price`, `discount`, `item_discount`, `tax`, `item_tax`, `subtotal`, `real_unit_price`, `cost`, `product_code`, `product_name`, `comment`, `next_service_date`, `length`, `image`, `second_name`) VALUES (73, 44, 14, '2.00', '6000.0000', '6000.0000', '0', '0.0000', 0, '0.0000', '12000.0000', '6000.0000', '0.0000', '000014', 'កាហ្វេទឺកដោះគោខាប់ (Iced Condensed Milk Coffee)', '', NULL, NULL, 'no_image.png', '');
INSERT INTO `tec_sale_items` (`id`, `sale_id`, `product_id`, `quantity`, `unit_price`, `net_unit_price`, `discount`, `item_discount`, `tax`, `item_tax`, `subtotal`, `real_unit_price`, `cost`, `product_code`, `product_name`, `comment`, `next_service_date`, `length`, `image`, `second_name`) VALUES (74, 44, 13, '3.00', '6000.0000', '6000.0000', '0', '0.0000', 0, '0.0000', '18000.0000', '6000.0000', '0.0000', '000013', 'សូកូឡាទឹកកក (Iced Chocolate)', '', NULL, NULL, 'no_image.png', '');
INSERT INTO `tec_sale_items` (`id`, `sale_id`, `product_id`, `quantity`, `unit_price`, `net_unit_price`, `discount`, `item_discount`, `tax`, `item_tax`, `subtotal`, `real_unit_price`, `cost`, `product_code`, `product_name`, `comment`, `next_service_date`, `length`, `image`, `second_name`) VALUES (75, 45, 48, '1.00', '5000.0000', '5000.0000', '0', '0.0000', 0, '0.0000', '5000.0000', '5000.0000', '5000.0000', '000048', 'Espresso Original', '', NULL, NULL, 'no_image.png', '');
INSERT INTO `tec_sale_items` (`id`, `sale_id`, `product_id`, `quantity`, `unit_price`, `net_unit_price`, `discount`, `item_discount`, `tax`, `item_tax`, `subtotal`, `real_unit_price`, `cost`, `product_code`, `product_name`, `comment`, `next_service_date`, `length`, `image`, `second_name`) VALUES (76, 45, 10, '2.00', '6000.0000', '6000.0000', '0', '0.0000', 0, '0.0000', '12000.0000', '6000.0000', '0.0000', '000010', 'កាហ្វេខ្មៅទឹកកក (Iced Americano)', '', NULL, NULL, 'no_image.png', '');
INSERT INTO `tec_sale_items` (`id`, `sale_id`, `product_id`, `quantity`, `unit_price`, `net_unit_price`, `discount`, `item_discount`, `tax`, `item_tax`, `subtotal`, `real_unit_price`, `cost`, `product_code`, `product_name`, `comment`, `next_service_date`, `length`, `image`, `second_name`) VALUES (77, 46, 14, '1.00', '6000.0000', '6000.0000', '0', '0.0000', 0, '0.0000', '6000.0000', '6000.0000', '0.0000', '000014', 'កាហ្វេទឺកដោះគោខាប់ (Iced Condensed Milk Coffee)', '', NULL, NULL, 'no_image.png', '');
INSERT INTO `tec_sale_items` (`id`, `sale_id`, `product_id`, `quantity`, `unit_price`, `net_unit_price`, `discount`, `item_discount`, `tax`, `item_tax`, `subtotal`, `real_unit_price`, `cost`, `product_code`, `product_name`, `comment`, `next_service_date`, `length`, `image`, `second_name`) VALUES (78, 47, 48, '2.00', '5000.0000', '5000.0000', '0', '0.0000', 0, '0.0000', '10000.0000', '5000.0000', '5000.0000', '000048', 'Espresso Original', '', NULL, NULL, 'no_image.png', '');
INSERT INTO `tec_sale_items` (`id`, `sale_id`, `product_id`, `quantity`, `unit_price`, `net_unit_price`, `discount`, `item_discount`, `tax`, `item_tax`, `subtotal`, `real_unit_price`, `cost`, `product_code`, `product_name`, `comment`, `next_service_date`, `length`, `image`, `second_name`) VALUES (79, 47, 7, '1.00', '5000.0000', '5000.0000', '0', '0.0000', 0, '0.0000', '5000.0000', '5000.0000', '0.0000', '000007', 'កាហ្វេឡាតេ (Hot Latte)', '', NULL, NULL, 'no_image.png', '');
INSERT INTO `tec_sale_items` (`id`, `sale_id`, `product_id`, `quantity`, `unit_price`, `net_unit_price`, `discount`, `item_discount`, `tax`, `item_tax`, `subtotal`, `real_unit_price`, `cost`, `product_code`, `product_name`, `comment`, `next_service_date`, `length`, `image`, `second_name`) VALUES (80, 48, 44, '1.00', '6000.0000', '6000.0000', '0', '0.0000', 0, '0.0000', '6000.0000', '6000.0000', '0.0000', '000044', 'ផាសិនសូដា (Passion Soda)', '', NULL, NULL, 'no_image.png', '');
INSERT INTO `tec_sale_items` (`id`, `sale_id`, `product_id`, `quantity`, `unit_price`, `net_unit_price`, `discount`, `item_discount`, `tax`, `item_tax`, `subtotal`, `real_unit_price`, `cost`, `product_code`, `product_name`, `comment`, `next_service_date`, `length`, `image`, `second_name`) VALUES (81, 49, 44, '1.00', '6000.0000', '6000.0000', '0', '0.0000', 0, '0.0000', '6000.0000', '6000.0000', '0.0000', '000044', 'ផាសិនសូដា (Passion Soda)', '', NULL, NULL, 'no_image.png', '');
INSERT INTO `tec_sale_items` (`id`, `sale_id`, `product_id`, `quantity`, `unit_price`, `net_unit_price`, `discount`, `item_discount`, `tax`, `item_tax`, `subtotal`, `real_unit_price`, `cost`, `product_code`, `product_name`, `comment`, `next_service_date`, `length`, `image`, `second_name`) VALUES (82, 50, 47, '1.00', '5000.0000', '5000.0000', '0', '0.0000', 0, '0.0000', '5000.0000', '5000.0000', '5000.0000', '000047', 'តែទីកឃ្មុំ', '', NULL, NULL, 'no_image.png', '');
INSERT INTO `tec_sale_items` (`id`, `sale_id`, `product_id`, `quantity`, `unit_price`, `net_unit_price`, `discount`, `item_discount`, `tax`, `item_tax`, `subtotal`, `real_unit_price`, `cost`, `product_code`, `product_name`, `comment`, `next_service_date`, `length`, `image`, `second_name`) VALUES (83, 51, 15, '3.00', '6000.0000', '6000.0000', '0', '0.0000', 0, '0.0000', '18000.0000', '6000.0000', '0.0000', '000015', 'តែបៃតងឡាតេទឹកកក (Iced Green Tea Latte)', '', NULL, NULL, 'no_image.png', '');
INSERT INTO `tec_sale_items` (`id`, `sale_id`, `product_id`, `quantity`, `unit_price`, `net_unit_price`, `discount`, `item_discount`, `tax`, `item_tax`, `subtotal`, `real_unit_price`, `cost`, `product_code`, `product_name`, `comment`, `next_service_date`, `length`, `image`, `second_name`) VALUES (84, 51, 14, '1.00', '6000.0000', '6000.0000', '0', '0.0000', 0, '0.0000', '6000.0000', '6000.0000', '0.0000', '000014', 'កាហ្វេទឺកដោះគោខាប់ (Iced Condensed Milk Coffee)', '', NULL, NULL, 'no_image.png', '');
INSERT INTO `tec_sale_items` (`id`, `sale_id`, `product_id`, `quantity`, `unit_price`, `net_unit_price`, `discount`, `item_discount`, `tax`, `item_tax`, `subtotal`, `real_unit_price`, `cost`, `product_code`, `product_name`, `comment`, `next_service_date`, `length`, `image`, `second_name`) VALUES (85, 52, 26, '1.00', '6500.0000', '6500.0000', '0', '0.0000', 0, '0.0000', '6500.0000', '6500.0000', '0.0000', '000026', 'ស្រប៊ឺរីក្រឡុក (Strawberry Frappe)', '', NULL, NULL, 'no_image.png', '');
INSERT INTO `tec_sale_items` (`id`, `sale_id`, `product_id`, `quantity`, `unit_price`, `net_unit_price`, `discount`, `item_discount`, `tax`, `item_tax`, `subtotal`, `real_unit_price`, `cost`, `product_code`, `product_name`, `comment`, `next_service_date`, `length`, `image`, `second_name`) VALUES (86, 52, 14, '1.00', '6000.0000', '6000.0000', '0', '0.0000', 0, '0.0000', '6000.0000', '6000.0000', '0.0000', '000014', 'កាហ្វេទឺកដោះគោខាប់ (Iced Condensed Milk Coffee)', '', NULL, NULL, 'no_image.png', '');
INSERT INTO `tec_sale_items` (`id`, `sale_id`, `product_id`, `quantity`, `unit_price`, `net_unit_price`, `discount`, `item_discount`, `tax`, `item_tax`, `subtotal`, `real_unit_price`, `cost`, `product_code`, `product_name`, `comment`, `next_service_date`, `length`, `image`, `second_name`) VALUES (87, 53, 32, '1.00', '4000.0000', '4000.0000', '0', '0.0000', 0, '0.0000', '4000.0000', '4000.0000', '0.0000', '000032', 'តែក្រហមក្រូចឆ្មាទឹកកក (Iced Red Tea Lemonade)', '', NULL, NULL, 'no_image.png', '');
INSERT INTO `tec_sale_items` (`id`, `sale_id`, `product_id`, `quantity`, `unit_price`, `net_unit_price`, `discount`, `item_discount`, `tax`, `item_tax`, `subtotal`, `real_unit_price`, `cost`, `product_code`, `product_name`, `comment`, `next_service_date`, `length`, `image`, `second_name`) VALUES (88, 53, 13, '1.00', '6000.0000', '6000.0000', '0', '0.0000', 0, '0.0000', '6000.0000', '6000.0000', '0.0000', '000013', 'សូកូឡាទឹកកក (Iced Chocolate)', '', NULL, NULL, 'no_image.png', '');
INSERT INTO `tec_sale_items` (`id`, `sale_id`, `product_id`, `quantity`, `unit_price`, `net_unit_price`, `discount`, `item_discount`, `tax`, `item_tax`, `subtotal`, `real_unit_price`, `cost`, `product_code`, `product_name`, `comment`, `next_service_date`, `length`, `image`, `second_name`) VALUES (89, 54, 49, '1.00', '6500.0000', '6500.0000', '0', '0.0000', 0, '0.0000', '6500.0000', '6500.0000', '5000.0000', '000049', 'ផាសិនcream (Passion cream)', '', NULL, NULL, 'no_image.png', '');
INSERT INTO `tec_sale_items` (`id`, `sale_id`, `product_id`, `quantity`, `unit_price`, `net_unit_price`, `discount`, `item_discount`, `tax`, `item_tax`, `subtotal`, `real_unit_price`, `cost`, `product_code`, `product_name`, `comment`, `next_service_date`, `length`, `image`, `second_name`) VALUES (90, 54, 43, '1.00', '6000.0000', '6000.0000', '0', '0.0000', 0, '0.0000', '6000.0000', '6000.0000', '0.0000', '000043', 'ស្រប៊ឺរីសូដា (Strawberry Soda)', '', NULL, NULL, 'no_image.png', '');
INSERT INTO `tec_sale_items` (`id`, `sale_id`, `product_id`, `quantity`, `unit_price`, `net_unit_price`, `discount`, `item_discount`, `tax`, `item_tax`, `subtotal`, `real_unit_price`, `cost`, `product_code`, `product_name`, `comment`, `next_service_date`, `length`, `image`, `second_name`) VALUES (91, 54, 10, '1.00', '6000.0000', '6000.0000', '0', '0.0000', 0, '0.0000', '6000.0000', '6000.0000', '0.0000', '000010', 'កាហ្វេខ្មៅទឹកកក (Iced Americano)', '', NULL, NULL, 'no_image.png', '');
INSERT INTO `tec_sale_items` (`id`, `sale_id`, `product_id`, `quantity`, `unit_price`, `net_unit_price`, `discount`, `item_discount`, `tax`, `item_tax`, `subtotal`, `real_unit_price`, `cost`, `product_code`, `product_name`, `comment`, `next_service_date`, `length`, `image`, `second_name`) VALUES (92, 55, 14, '1.00', '6000.0000', '6000.0000', '0', '0.0000', 0, '0.0000', '6000.0000', '6000.0000', '0.0000', '000014', 'កាហ្វេទឺកដោះគោខាប់ (Iced Condensed Milk Coffee)', '', NULL, NULL, 'no_image.png', '');
INSERT INTO `tec_sale_items` (`id`, `sale_id`, `product_id`, `quantity`, `unit_price`, `net_unit_price`, `discount`, `item_discount`, `tax`, `item_tax`, `subtotal`, `real_unit_price`, `cost`, `product_code`, `product_name`, `comment`, `next_service_date`, `length`, `image`, `second_name`) VALUES (93, 56, 47, '1.00', '5000.0000', '5000.0000', '0', '0.0000', 0, '0.0000', '5000.0000', '5000.0000', '5000.0000', '000047', 'តែទីកឃ្មុំ', '', NULL, NULL, 'no_image.png', '');
INSERT INTO `tec_sale_items` (`id`, `sale_id`, `product_id`, `quantity`, `unit_price`, `net_unit_price`, `discount`, `item_discount`, `tax`, `item_tax`, `subtotal`, `real_unit_price`, `cost`, `product_code`, `product_name`, `comment`, `next_service_date`, `length`, `image`, `second_name`) VALUES (94, 57, 47, '1.00', '5000.0000', '5000.0000', '0', '0.0000', 0, '0.0000', '5000.0000', '5000.0000', '5000.0000', '000047', 'តែទីកឃ្មុំ', '', NULL, NULL, 'no_image.png', '');
INSERT INTO `tec_sale_items` (`id`, `sale_id`, `product_id`, `quantity`, `unit_price`, `net_unit_price`, `discount`, `item_discount`, `tax`, `item_tax`, `subtotal`, `real_unit_price`, `cost`, `product_code`, `product_name`, `comment`, `next_service_date`, `length`, `image`, `second_name`) VALUES (95, 58, 10, '1.00', '6000.0000', '6000.0000', '0', '0.0000', 0, '0.0000', '6000.0000', '6000.0000', '0.0000', '000010', 'កាហ្វេខ្មៅទឹកកក (Iced Americano)', '', NULL, NULL, 'no_image.png', '');
INSERT INTO `tec_sale_items` (`id`, `sale_id`, `product_id`, `quantity`, `unit_price`, `net_unit_price`, `discount`, `item_discount`, `tax`, `item_tax`, `subtotal`, `real_unit_price`, `cost`, `product_code`, `product_name`, `comment`, `next_service_date`, `length`, `image`, `second_name`) VALUES (96, 59, 7, '1.00', '5000.0000', '5000.0000', '0', '0.0000', 0, '0.0000', '5000.0000', '5000.0000', '0.0000', '000007', 'កាហ្វេឡាតេ (Hot Latte)', '', NULL, NULL, 'no_image.png', '');
INSERT INTO `tec_sale_items` (`id`, `sale_id`, `product_id`, `quantity`, `unit_price`, `net_unit_price`, `discount`, `item_discount`, `tax`, `item_tax`, `subtotal`, `real_unit_price`, `cost`, `product_code`, `product_name`, `comment`, `next_service_date`, `length`, `image`, `second_name`) VALUES (97, 60, 5, '1.00', '5000.0000', '5000.0000', '0', '0.0000', 0, '0.0000', '5000.0000', '5000.0000', '0.0000', '000005', 'កាហ្វេទឹកដោះគោខាប់ (Condensed Milk Coffee)', '', NULL, NULL, 'no_image.png', '');
INSERT INTO `tec_sale_items` (`id`, `sale_id`, `product_id`, `quantity`, `unit_price`, `net_unit_price`, `discount`, `item_discount`, `tax`, `item_tax`, `subtotal`, `real_unit_price`, `cost`, `product_code`, `product_name`, `comment`, `next_service_date`, `length`, `image`, `second_name`) VALUES (98, 61, 14, '1.00', '6000.0000', '6000.0000', '0', '0.0000', 0, '0.0000', '6000.0000', '6000.0000', '0.0000', '000014', 'កាហ្វេទឺកដោះគោខាប់ (Iced Condensed Milk Coffee)', '', NULL, NULL, 'no_image.png', '');
INSERT INTO `tec_sale_items` (`id`, `sale_id`, `product_id`, `quantity`, `unit_price`, `net_unit_price`, `discount`, `item_discount`, `tax`, `item_tax`, `subtotal`, `real_unit_price`, `cost`, `product_code`, `product_name`, `comment`, `next_service_date`, `length`, `image`, `second_name`) VALUES (99, 62, 32, '2.00', '4000.0000', '4000.0000', '0', '0.0000', 0, '0.0000', '8000.0000', '4000.0000', '0.0000', '000032', 'តែក្រហមក្រូចឆ្មាទឹកកក (Iced Red Tea Lemonade)', '', NULL, NULL, 'no_image.png', '');
INSERT INTO `tec_sale_items` (`id`, `sale_id`, `product_id`, `quantity`, `unit_price`, `net_unit_price`, `discount`, `item_discount`, `tax`, `item_tax`, `subtotal`, `real_unit_price`, `cost`, `product_code`, `product_name`, `comment`, `next_service_date`, `length`, `image`, `second_name`) VALUES (100, 63, 14, '1.00', '6000.0000', '6000.0000', '0', '0.0000', 0, '0.0000', '6000.0000', '6000.0000', '0.0000', '000014', 'កាហ្វេទឺកដោះគោខាប់ (Iced Condensed Milk Coffee)', '', NULL, NULL, 'no_image.png', '');
INSERT INTO `tec_sale_items` (`id`, `sale_id`, `product_id`, `quantity`, `unit_price`, `net_unit_price`, `discount`, `item_discount`, `tax`, `item_tax`, `subtotal`, `real_unit_price`, `cost`, `product_code`, `product_name`, `comment`, `next_service_date`, `length`, `image`, `second_name`) VALUES (101, 64, 32, '1.00', '4000.0000', '4000.0000', '0', '0.0000', 0, '0.0000', '4000.0000', '4000.0000', '0.0000', '000032', 'តែក្រហមក្រូចឆ្មាទឹកកក (Iced Red Tea Lemonade)', '', NULL, NULL, 'no_image.png', '');
INSERT INTO `tec_sale_items` (`id`, `sale_id`, `product_id`, `quantity`, `unit_price`, `net_unit_price`, `discount`, `item_discount`, `tax`, `item_tax`, `subtotal`, `real_unit_price`, `cost`, `product_code`, `product_name`, `comment`, `next_service_date`, `length`, `image`, `second_name`) VALUES (102, 65, 47, '1.00', '5000.0000', '5000.0000', '0', '0.0000', 0, '0.0000', '5000.0000', '5000.0000', '5000.0000', '000047', 'តែទីកឃ្មុំ', '', NULL, NULL, 'no_image.png', '');
INSERT INTO `tec_sale_items` (`id`, `sale_id`, `product_id`, `quantity`, `unit_price`, `net_unit_price`, `discount`, `item_discount`, `tax`, `item_tax`, `subtotal`, `real_unit_price`, `cost`, `product_code`, `product_name`, `comment`, `next_service_date`, `length`, `image`, `second_name`) VALUES (103, 65, 15, '1.00', '6000.0000', '6000.0000', '0', '0.0000', 0, '0.0000', '6000.0000', '6000.0000', '0.0000', '000015', 'តែបៃតងឡាតេទឹកកក (Iced Green Tea Latte)', '', NULL, NULL, 'no_image.png', '');
INSERT INTO `tec_sale_items` (`id`, `sale_id`, `product_id`, `quantity`, `unit_price`, `net_unit_price`, `discount`, `item_discount`, `tax`, `item_tax`, `subtotal`, `real_unit_price`, `cost`, `product_code`, `product_name`, `comment`, `next_service_date`, `length`, `image`, `second_name`) VALUES (104, 65, 14, '1.00', '6000.0000', '6000.0000', '0', '0.0000', 0, '0.0000', '6000.0000', '6000.0000', '0.0000', '000014', 'កាហ្វេទឺកដោះគោខាប់ (Iced Condensed Milk Coffee)', '', NULL, NULL, 'no_image.png', '');
INSERT INTO `tec_sale_items` (`id`, `sale_id`, `product_id`, `quantity`, `unit_price`, `net_unit_price`, `discount`, `item_discount`, `tax`, `item_tax`, `subtotal`, `real_unit_price`, `cost`, `product_code`, `product_name`, `comment`, `next_service_date`, `length`, `image`, `second_name`) VALUES (105, 66, 14, '1.00', '6000.0000', '6000.0000', '0', '0.0000', 0, '0.0000', '6000.0000', '6000.0000', '0.0000', '000014', 'កាហ្វេទឺកដោះគោខាប់ (Iced Condensed Milk Coffee)', '', NULL, NULL, 'no_image.png', '');
INSERT INTO `tec_sale_items` (`id`, `sale_id`, `product_id`, `quantity`, `unit_price`, `net_unit_price`, `discount`, `item_discount`, `tax`, `item_tax`, `subtotal`, `real_unit_price`, `cost`, `product_code`, `product_name`, `comment`, `next_service_date`, `length`, `image`, `second_name`) VALUES (106, 67, 43, '1.00', '6000.0000', '6000.0000', '0', '0.0000', 0, '0.0000', '6000.0000', '6000.0000', '0.0000', '000043', 'ស្រប៊ឺរីសូដា (Strawberry Soda)', '', NULL, NULL, 'no_image.png', '');
INSERT INTO `tec_sale_items` (`id`, `sale_id`, `product_id`, `quantity`, `unit_price`, `net_unit_price`, `discount`, `item_discount`, `tax`, `item_tax`, `subtotal`, `real_unit_price`, `cost`, `product_code`, `product_name`, `comment`, `next_service_date`, `length`, `image`, `second_name`) VALUES (107, 67, 14, '2.00', '6000.0000', '6000.0000', '0', '0.0000', 0, '0.0000', '12000.0000', '6000.0000', '0.0000', '000014', 'កាហ្វេទឺកដោះគោខាប់ (Iced Condensed Milk Coffee)', '', NULL, NULL, 'no_image.png', '');
INSERT INTO `tec_sale_items` (`id`, `sale_id`, `product_id`, `quantity`, `unit_price`, `net_unit_price`, `discount`, `item_discount`, `tax`, `item_tax`, `subtotal`, `real_unit_price`, `cost`, `product_code`, `product_name`, `comment`, `next_service_date`, `length`, `image`, `second_name`) VALUES (108, 68, 17, '1.00', '6000.0000', '6000.0000', '0', '0.0000', 0, '0.0000', '6000.0000', '6000.0000', '0.0000', '000017', 'ឡាតេវ៉ានីឡាទឹកកក (Iced Vanilla)', '', NULL, NULL, 'no_image.png', '');


#
# TABLE STRUCTURE FOR: tec_sales
#

DROP TABLE IF EXISTS `tec_sales`;

CREATE TABLE `tec_sales` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `date` datetime NOT NULL,
  `customer_id` int(11) NOT NULL,
  `customer_name` varchar(55) NOT NULL,
  `total` decimal(25,4) NOT NULL,
  `product_discount` decimal(25,4) DEFAULT NULL,
  `order_discount_id` varchar(20) DEFAULT NULL,
  `order_discount` decimal(25,4) DEFAULT NULL,
  `total_discount` decimal(25,4) DEFAULT NULL,
  `product_tax` decimal(25,4) DEFAULT NULL,
  `order_tax_id` varchar(20) DEFAULT NULL,
  `order_tax` decimal(25,4) DEFAULT NULL,
  `total_tax` decimal(25,4) DEFAULT NULL,
  `grand_total` decimal(25,4) NOT NULL,
  `total_items` int(11) DEFAULT NULL,
  `total_quantity` decimal(15,2) DEFAULT NULL,
  `paid` decimal(25,4) DEFAULT NULL,
  `created_by` int(11) DEFAULT NULL,
  `updated_by` int(11) DEFAULT NULL,
  `updated_at` datetime DEFAULT NULL,
  `note` varchar(1000) DEFAULT NULL,
  `status` varchar(20) DEFAULT NULL,
  `rounding` decimal(25,4) DEFAULT NULL,
  `store_id` int(11) NOT NULL DEFAULT 1,
  `hold_ref` varchar(255) DEFAULT NULL,
  `date_in` datetime DEFAULT NULL,
  `date_out` datetime DEFAULT NULL,
  `waiting_number` int(11) NOT NULL,
  `total_cost` decimal(25,4) DEFAULT NULL,
  `delivery_by` varchar(255) DEFAULT NULL,
  `delivery_status` varchar(100) DEFAULT NULL,
  `delivery_note` varchar(255) DEFAULT NULL,
  `delivery_staff` varchar(255) DEFAULT NULL,
  `delivery_date` date DEFAULT NULL,
  `delivery_attachment` varchar(255) DEFAULT NULL,
  `next_payment` date DEFAULT NULL,
  `alert_payment_day` int(11) DEFAULT NULL,
  `inv_number` int(11) DEFAULT NULL,
  `sale_customer_group` int(11) DEFAULT NULL,
  `customer_group_name` varchar(200) DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=69 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;

INSERT INTO `tec_sales` (`id`, `date`, `customer_id`, `customer_name`, `total`, `product_discount`, `order_discount_id`, `order_discount`, `total_discount`, `product_tax`, `order_tax_id`, `order_tax`, `total_tax`, `grand_total`, `total_items`, `total_quantity`, `paid`, `created_by`, `updated_by`, `updated_at`, `note`, `status`, `rounding`, `store_id`, `hold_ref`, `date_in`, `date_out`, `waiting_number`, `total_cost`, `delivery_by`, `delivery_status`, `delivery_note`, `delivery_staff`, `delivery_date`, `delivery_attachment`, `next_payment`, `alert_payment_day`, `inv_number`, `sale_customer_group`, `customer_group_name`) VALUES (2, '2026-05-06 09:12:15', 1, 'ទូទៅ', '18000.0000', '0.0000', NULL, '0.0000', '0.0000', '0.0000', NULL, '0.0000', '0.0000', '18000.0000', 1, '3.00', '18000.0000', 1, NULL, NULL, '', 'paid', '0.0000', 1, 'ទូទៅ', NULL, '2026-05-06 09:12:15', 47, '0.0000', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 2, 0, NULL);
INSERT INTO `tec_sales` (`id`, `date`, `customer_id`, `customer_name`, `total`, `product_discount`, `order_discount_id`, `order_discount`, `total_discount`, `product_tax`, `order_tax_id`, `order_tax`, `total_tax`, `grand_total`, `total_items`, `total_quantity`, `paid`, `created_by`, `updated_by`, `updated_at`, `note`, `status`, `rounding`, `store_id`, `hold_ref`, `date_in`, `date_out`, `waiting_number`, `total_cost`, `delivery_by`, `delivery_status`, `delivery_note`, `delivery_staff`, `delivery_date`, `delivery_attachment`, `next_payment`, `alert_payment_day`, `inv_number`, `sale_customer_group`, `customer_group_name`) VALUES (3, '2026-05-06 09:16:04', 1, 'ទូទៅ', '16000.0000', '0.0000', NULL, '0.0000', '0.0000', '0.0000', NULL, '0.0000', '0.0000', '16000.0000', 3, '3.00', '16000.0000', 1, NULL, NULL, '', 'paid', '0.0000', 1, 'ទូទៅ', NULL, '2026-05-06 09:16:04', 48, '0.0000', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 3, 0, NULL);
INSERT INTO `tec_sales` (`id`, `date`, `customer_id`, `customer_name`, `total`, `product_discount`, `order_discount_id`, `order_discount`, `total_discount`, `product_tax`, `order_tax_id`, `order_tax`, `total_tax`, `grand_total`, `total_items`, `total_quantity`, `paid`, `created_by`, `updated_by`, `updated_at`, `note`, `status`, `rounding`, `store_id`, `hold_ref`, `date_in`, `date_out`, `waiting_number`, `total_cost`, `delivery_by`, `delivery_status`, `delivery_note`, `delivery_staff`, `delivery_date`, `delivery_attachment`, `next_payment`, `alert_payment_day`, `inv_number`, `sale_customer_group`, `customer_group_name`) VALUES (4, '2026-05-06 09:21:34', 1, 'ទូទៅ', '16000.0000', '0.0000', '100%', '16000.0000', '16000.0000', '0.0000', '16000', '16000.0000', '16000.0000', '16000.0000', 3, '3.00', '16000.0000', 1, NULL, NULL, '', 'paid', '0.0000', 1, 'ទូទៅ', NULL, '2026-05-06 09:21:34', 49, '0.0000', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 4, 0, NULL);
INSERT INTO `tec_sales` (`id`, `date`, `customer_id`, `customer_name`, `total`, `product_discount`, `order_discount_id`, `order_discount`, `total_discount`, `product_tax`, `order_tax_id`, `order_tax`, `total_tax`, `grand_total`, `total_items`, `total_quantity`, `paid`, `created_by`, `updated_by`, `updated_at`, `note`, `status`, `rounding`, `store_id`, `hold_ref`, `date_in`, `date_out`, `waiting_number`, `total_cost`, `delivery_by`, `delivery_status`, `delivery_note`, `delivery_staff`, `delivery_date`, `delivery_attachment`, `next_payment`, `alert_payment_day`, `inv_number`, `sale_customer_group`, `customer_group_name`) VALUES (5, '2026-05-06 13:31:56', 1, 'ទូទៅ', '17000.0000', '0.0000', NULL, '0.0000', '0.0000', '0.0000', NULL, '0.0000', '0.0000', '17000.0000', 3, '3.00', '17000.0000', 1, NULL, NULL, '', 'paid', '0.0000', 1, 'ទូទៅ', NULL, '2026-05-06 13:31:56', 50, '0.0000', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 5, 0, NULL);
INSERT INTO `tec_sales` (`id`, `date`, `customer_id`, `customer_name`, `total`, `product_discount`, `order_discount_id`, `order_discount`, `total_discount`, `product_tax`, `order_tax_id`, `order_tax`, `total_tax`, `grand_total`, `total_items`, `total_quantity`, `paid`, `created_by`, `updated_by`, `updated_at`, `note`, `status`, `rounding`, `store_id`, `hold_ref`, `date_in`, `date_out`, `waiting_number`, `total_cost`, `delivery_by`, `delivery_status`, `delivery_note`, `delivery_staff`, `delivery_date`, `delivery_attachment`, `next_payment`, `alert_payment_day`, `inv_number`, `sale_customer_group`, `customer_group_name`) VALUES (6, '2026-05-06 13:50:41', 1, 'ទូទៅ', '12000.0000', '0.0000', '2000', '2000.0000', '2000.0000', '0.0000', NULL, '0.0000', '0.0000', '10000.0000', 2, '2.00', '10000.0000', 1, NULL, NULL, '', 'paid', '0.0000', 1, 'ទូទៅ', NULL, '2026-05-06 13:50:41', 51, '0.0000', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 6, 0, NULL);
INSERT INTO `tec_sales` (`id`, `date`, `customer_id`, `customer_name`, `total`, `product_discount`, `order_discount_id`, `order_discount`, `total_discount`, `product_tax`, `order_tax_id`, `order_tax`, `total_tax`, `grand_total`, `total_items`, `total_quantity`, `paid`, `created_by`, `updated_by`, `updated_at`, `note`, `status`, `rounding`, `store_id`, `hold_ref`, `date_in`, `date_out`, `waiting_number`, `total_cost`, `delivery_by`, `delivery_status`, `delivery_note`, `delivery_staff`, `delivery_date`, `delivery_attachment`, `next_payment`, `alert_payment_day`, `inv_number`, `sale_customer_group`, `customer_group_name`) VALUES (7, '2026-05-07 08:15:20', 1, 'ទូទៅ', '6000.0000', '0.0000', NULL, '0.0000', '0.0000', '0.0000', NULL, '0.0000', '0.0000', '6000.0000', 1, '1.00', '6000.0000', 1, NULL, NULL, '', 'paid', '0.0000', 1, 'ទូទៅ', NULL, '2026-05-07 08:15:20', 52, '0.0000', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 7, 0, NULL);
INSERT INTO `tec_sales` (`id`, `date`, `customer_id`, `customer_name`, `total`, `product_discount`, `order_discount_id`, `order_discount`, `total_discount`, `product_tax`, `order_tax_id`, `order_tax`, `total_tax`, `grand_total`, `total_items`, `total_quantity`, `paid`, `created_by`, `updated_by`, `updated_at`, `note`, `status`, `rounding`, `store_id`, `hold_ref`, `date_in`, `date_out`, `waiting_number`, `total_cost`, `delivery_by`, `delivery_status`, `delivery_note`, `delivery_staff`, `delivery_date`, `delivery_attachment`, `next_payment`, `alert_payment_day`, `inv_number`, `sale_customer_group`, `customer_group_name`) VALUES (8, '2026-05-07 08:48:36', 1, 'ទូទៅ', '4000.0000', '0.0000', NULL, '0.0000', '0.0000', '0.0000', NULL, '0.0000', '0.0000', '4000.0000', 1, '1.00', '4000.0000', 1, NULL, NULL, '', 'paid', '0.0000', 1, 'ទូទៅ', NULL, '2026-05-07 08:48:36', 53, '0.0000', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 8, 0, NULL);
INSERT INTO `tec_sales` (`id`, `date`, `customer_id`, `customer_name`, `total`, `product_discount`, `order_discount_id`, `order_discount`, `total_discount`, `product_tax`, `order_tax_id`, `order_tax`, `total_tax`, `grand_total`, `total_items`, `total_quantity`, `paid`, `created_by`, `updated_by`, `updated_at`, `note`, `status`, `rounding`, `store_id`, `hold_ref`, `date_in`, `date_out`, `waiting_number`, `total_cost`, `delivery_by`, `delivery_status`, `delivery_note`, `delivery_staff`, `delivery_date`, `delivery_attachment`, `next_payment`, `alert_payment_day`, `inv_number`, `sale_customer_group`, `customer_group_name`) VALUES (9, '2026-05-07 09:18:00', 1, 'ទូទៅ', '12000.0000', '0.0000', '12000', '12000.0000', '12000.0000', '0.0000', NULL, '0.0000', '0.0000', '0.0000', 1, '2.00', '0.0000', 1, NULL, NULL, '', 'paid', '0.0000', 1, 'ទូទៅ', NULL, '2026-05-07 09:18:00', 54, '0.0000', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 9, 0, NULL);
INSERT INTO `tec_sales` (`id`, `date`, `customer_id`, `customer_name`, `total`, `product_discount`, `order_discount_id`, `order_discount`, `total_discount`, `product_tax`, `order_tax_id`, `order_tax`, `total_tax`, `grand_total`, `total_items`, `total_quantity`, `paid`, `created_by`, `updated_by`, `updated_at`, `note`, `status`, `rounding`, `store_id`, `hold_ref`, `date_in`, `date_out`, `waiting_number`, `total_cost`, `delivery_by`, `delivery_status`, `delivery_note`, `delivery_staff`, `delivery_date`, `delivery_attachment`, `next_payment`, `alert_payment_day`, `inv_number`, `sale_customer_group`, `customer_group_name`) VALUES (10, '2026-05-07 09:28:26', 1, 'ទូទៅ', '6000.0000', '0.0000', '1000', '1000.0000', '1000.0000', '0.0000', NULL, '0.0000', '0.0000', '5000.0000', 1, '1.00', '5000.0000', 1, NULL, NULL, '', 'paid', '0.0000', 1, 'ទូទៅ', NULL, '2026-05-07 09:28:26', 55, '0.0000', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 10, 0, NULL);
INSERT INTO `tec_sales` (`id`, `date`, `customer_id`, `customer_name`, `total`, `product_discount`, `order_discount_id`, `order_discount`, `total_discount`, `product_tax`, `order_tax_id`, `order_tax`, `total_tax`, `grand_total`, `total_items`, `total_quantity`, `paid`, `created_by`, `updated_by`, `updated_at`, `note`, `status`, `rounding`, `store_id`, `hold_ref`, `date_in`, `date_out`, `waiting_number`, `total_cost`, `delivery_by`, `delivery_status`, `delivery_note`, `delivery_staff`, `delivery_date`, `delivery_attachment`, `next_payment`, `alert_payment_day`, `inv_number`, `sale_customer_group`, `customer_group_name`) VALUES (11, '2026-05-07 09:45:13', 1, 'ទូទៅ', '6000.0000', '0.0000', NULL, '0.0000', '0.0000', '0.0000', NULL, '0.0000', '0.0000', '6000.0000', 1, '1.00', '6000.0000', 1, NULL, NULL, '', 'paid', '0.0000', 1, 'ទូទៅ', NULL, '2026-05-07 09:45:13', 56, '0.0000', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 11, 0, NULL);
INSERT INTO `tec_sales` (`id`, `date`, `customer_id`, `customer_name`, `total`, `product_discount`, `order_discount_id`, `order_discount`, `total_discount`, `product_tax`, `order_tax_id`, `order_tax`, `total_tax`, `grand_total`, `total_items`, `total_quantity`, `paid`, `created_by`, `updated_by`, `updated_at`, `note`, `status`, `rounding`, `store_id`, `hold_ref`, `date_in`, `date_out`, `waiting_number`, `total_cost`, `delivery_by`, `delivery_status`, `delivery_note`, `delivery_staff`, `delivery_date`, `delivery_attachment`, `next_payment`, `alert_payment_day`, `inv_number`, `sale_customer_group`, `customer_group_name`) VALUES (12, '2026-05-07 10:22:45', 1, 'ទូទៅ', '6000.0000', '0.0000', NULL, '0.0000', '0.0000', '0.0000', NULL, '0.0000', '0.0000', '6000.0000', 1, '1.00', '6000.0000', 1, NULL, NULL, '', 'paid', '0.0000', 1, 'ទូទៅ', NULL, '2026-05-07 10:22:45', 57, '0.0000', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 12, 0, NULL);
INSERT INTO `tec_sales` (`id`, `date`, `customer_id`, `customer_name`, `total`, `product_discount`, `order_discount_id`, `order_discount`, `total_discount`, `product_tax`, `order_tax_id`, `order_tax`, `total_tax`, `grand_total`, `total_items`, `total_quantity`, `paid`, `created_by`, `updated_by`, `updated_at`, `note`, `status`, `rounding`, `store_id`, `hold_ref`, `date_in`, `date_out`, `waiting_number`, `total_cost`, `delivery_by`, `delivery_status`, `delivery_note`, `delivery_staff`, `delivery_date`, `delivery_attachment`, `next_payment`, `alert_payment_day`, `inv_number`, `sale_customer_group`, `customer_group_name`) VALUES (13, '2026-05-07 11:05:36', 1, 'ទូទៅ', '9000.0000', '0.0000', NULL, '0.0000', '0.0000', '0.0000', NULL, '0.0000', '0.0000', '9000.0000', 2, '2.00', '9000.0000', 1, NULL, NULL, '', 'paid', '0.0000', 1, 'ទូទៅ', NULL, '2026-05-07 11:05:36', 58, '5000.0000', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 13, 0, NULL);
INSERT INTO `tec_sales` (`id`, `date`, `customer_id`, `customer_name`, `total`, `product_discount`, `order_discount_id`, `order_discount`, `total_discount`, `product_tax`, `order_tax_id`, `order_tax`, `total_tax`, `grand_total`, `total_items`, `total_quantity`, `paid`, `created_by`, `updated_by`, `updated_at`, `note`, `status`, `rounding`, `store_id`, `hold_ref`, `date_in`, `date_out`, `waiting_number`, `total_cost`, `delivery_by`, `delivery_status`, `delivery_note`, `delivery_staff`, `delivery_date`, `delivery_attachment`, `next_payment`, `alert_payment_day`, `inv_number`, `sale_customer_group`, `customer_group_name`) VALUES (14, '2026-05-07 12:00:55', 1, 'ទូទៅ', '30500.0000', '0.0000', NULL, '0.0000', '0.0000', '0.0000', NULL, '0.0000', '0.0000', '30500.0000', 4, '5.00', '30500.0000', 1, 1, '2026-05-07 13:00:27', '', 'paid', '0.0000', 1, 'ទូទៅ', NULL, '2026-05-07 12:00:55', 59, '0.0000', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 14, 0, NULL);
INSERT INTO `tec_sales` (`id`, `date`, `customer_id`, `customer_name`, `total`, `product_discount`, `order_discount_id`, `order_discount`, `total_discount`, `product_tax`, `order_tax_id`, `order_tax`, `total_tax`, `grand_total`, `total_items`, `total_quantity`, `paid`, `created_by`, `updated_by`, `updated_at`, `note`, `status`, `rounding`, `store_id`, `hold_ref`, `date_in`, `date_out`, `waiting_number`, `total_cost`, `delivery_by`, `delivery_status`, `delivery_note`, `delivery_staff`, `delivery_date`, `delivery_attachment`, `next_payment`, `alert_payment_day`, `inv_number`, `sale_customer_group`, `customer_group_name`) VALUES (15, '2026-05-07 12:08:57', 1, 'ទូទៅ', '5000.0000', '0.0000', NULL, '0.0000', '0.0000', '0.0000', NULL, '0.0000', '0.0000', '5000.0000', 1, '1.00', '5000.0000', 1, NULL, NULL, '', 'paid', '0.0000', 1, 'ទូទៅ', NULL, '2026-05-07 12:08:57', 60, '5000.0000', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 15, 0, NULL);
INSERT INTO `tec_sales` (`id`, `date`, `customer_id`, `customer_name`, `total`, `product_discount`, `order_discount_id`, `order_discount`, `total_discount`, `product_tax`, `order_tax_id`, `order_tax`, `total_tax`, `grand_total`, `total_items`, `total_quantity`, `paid`, `created_by`, `updated_by`, `updated_at`, `note`, `status`, `rounding`, `store_id`, `hold_ref`, `date_in`, `date_out`, `waiting_number`, `total_cost`, `delivery_by`, `delivery_status`, `delivery_note`, `delivery_staff`, `delivery_date`, `delivery_attachment`, `next_payment`, `alert_payment_day`, `inv_number`, `sale_customer_group`, `customer_group_name`) VALUES (16, '2026-05-07 12:40:55', 1, 'ទូទៅ', '5000.0000', '0.0000', NULL, '0.0000', '0.0000', '0.0000', NULL, '0.0000', '0.0000', '5000.0000', 1, '1.00', '5000.0000', 1, NULL, NULL, '', 'paid', '0.0000', 1, 'ទូទៅ', NULL, '2026-05-07 12:40:55', 61, '5000.0000', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 16, 0, NULL);
INSERT INTO `tec_sales` (`id`, `date`, `customer_id`, `customer_name`, `total`, `product_discount`, `order_discount_id`, `order_discount`, `total_discount`, `product_tax`, `order_tax_id`, `order_tax`, `total_tax`, `grand_total`, `total_items`, `total_quantity`, `paid`, `created_by`, `updated_by`, `updated_at`, `note`, `status`, `rounding`, `store_id`, `hold_ref`, `date_in`, `date_out`, `waiting_number`, `total_cost`, `delivery_by`, `delivery_status`, `delivery_note`, `delivery_staff`, `delivery_date`, `delivery_attachment`, `next_payment`, `alert_payment_day`, `inv_number`, `sale_customer_group`, `customer_group_name`) VALUES (17, '2026-05-07 13:01:34', 1, 'ទូទៅ', '16000.0000', '0.0000', NULL, '0.0000', '0.0000', '0.0000', NULL, '0.0000', '0.0000', '16000.0000', 2, '3.00', '16000.0000', 1, NULL, NULL, '', 'paid', '0.0000', 1, 'ទូទៅ', NULL, '2026-05-07 13:01:34', 62, '10000.0000', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 17, 0, NULL);
INSERT INTO `tec_sales` (`id`, `date`, `customer_id`, `customer_name`, `total`, `product_discount`, `order_discount_id`, `order_discount`, `total_discount`, `product_tax`, `order_tax_id`, `order_tax`, `total_tax`, `grand_total`, `total_items`, `total_quantity`, `paid`, `created_by`, `updated_by`, `updated_at`, `note`, `status`, `rounding`, `store_id`, `hold_ref`, `date_in`, `date_out`, `waiting_number`, `total_cost`, `delivery_by`, `delivery_status`, `delivery_note`, `delivery_staff`, `delivery_date`, `delivery_attachment`, `next_payment`, `alert_payment_day`, `inv_number`, `sale_customer_group`, `customer_group_name`) VALUES (18, '2026-05-07 13:24:13', 1, 'ទូទៅ', '6500.0000', '0.0000', NULL, '0.0000', '0.0000', '0.0000', NULL, '0.0000', '0.0000', '6500.0000', 1, '1.00', '6500.0000', 1, NULL, NULL, '', 'paid', '0.0000', 1, 'ទូទៅ', NULL, '2026-05-07 13:24:13', 63, '5000.0000', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 18, 0, NULL);
INSERT INTO `tec_sales` (`id`, `date`, `customer_id`, `customer_name`, `total`, `product_discount`, `order_discount_id`, `order_discount`, `total_discount`, `product_tax`, `order_tax_id`, `order_tax`, `total_tax`, `grand_total`, `total_items`, `total_quantity`, `paid`, `created_by`, `updated_by`, `updated_at`, `note`, `status`, `rounding`, `store_id`, `hold_ref`, `date_in`, `date_out`, `waiting_number`, `total_cost`, `delivery_by`, `delivery_status`, `delivery_note`, `delivery_staff`, `delivery_date`, `delivery_attachment`, `next_payment`, `alert_payment_day`, `inv_number`, `sale_customer_group`, `customer_group_name`) VALUES (19, '2026-05-07 14:59:50', 1, 'ទូទៅ', '4000.0000', '0.0000', NULL, '0.0000', '0.0000', '0.0000', NULL, '0.0000', '0.0000', '4000.0000', 1, '1.00', '4000.0000', 1, NULL, NULL, '', 'paid', '0.0000', 1, 'ទូទៅ', NULL, '2026-05-07 14:59:50', 64, '0.0000', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 19, 0, NULL);
INSERT INTO `tec_sales` (`id`, `date`, `customer_id`, `customer_name`, `total`, `product_discount`, `order_discount_id`, `order_discount`, `total_discount`, `product_tax`, `order_tax_id`, `order_tax`, `total_tax`, `grand_total`, `total_items`, `total_quantity`, `paid`, `created_by`, `updated_by`, `updated_at`, `note`, `status`, `rounding`, `store_id`, `hold_ref`, `date_in`, `date_out`, `waiting_number`, `total_cost`, `delivery_by`, `delivery_status`, `delivery_note`, `delivery_staff`, `delivery_date`, `delivery_attachment`, `next_payment`, `alert_payment_day`, `inv_number`, `sale_customer_group`, `customer_group_name`) VALUES (20, '2026-05-07 15:24:55', 1, 'ទូទៅ', '18500.0000', '0.0000', NULL, '0.0000', '0.0000', '0.0000', NULL, '0.0000', '0.0000', '18500.0000', 2, '3.00', '18500.0000', 1, NULL, NULL, '', 'paid', '0.0000', 1, 'ទូទៅ', NULL, '2026-05-07 15:24:55', 65, '0.0000', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 20, 0, NULL);
INSERT INTO `tec_sales` (`id`, `date`, `customer_id`, `customer_name`, `total`, `product_discount`, `order_discount_id`, `order_discount`, `total_discount`, `product_tax`, `order_tax_id`, `order_tax`, `total_tax`, `grand_total`, `total_items`, `total_quantity`, `paid`, `created_by`, `updated_by`, `updated_at`, `note`, `status`, `rounding`, `store_id`, `hold_ref`, `date_in`, `date_out`, `waiting_number`, `total_cost`, `delivery_by`, `delivery_status`, `delivery_note`, `delivery_staff`, `delivery_date`, `delivery_attachment`, `next_payment`, `alert_payment_day`, `inv_number`, `sale_customer_group`, `customer_group_name`) VALUES (21, '2026-05-07 15:46:10', 1, 'ទូទៅ', '19000.0000', '0.0000', NULL, '0.0000', '0.0000', '0.0000', NULL, '0.0000', '0.0000', '19000.0000', 3, '3.00', '19000.0000', 1, NULL, NULL, '', 'paid', '0.0000', 1, 'ទូទៅ', NULL, '2026-05-07 15:46:10', 66, '0.0000', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 21, 0, NULL);
INSERT INTO `tec_sales` (`id`, `date`, `customer_id`, `customer_name`, `total`, `product_discount`, `order_discount_id`, `order_discount`, `total_discount`, `product_tax`, `order_tax_id`, `order_tax`, `total_tax`, `grand_total`, `total_items`, `total_quantity`, `paid`, `created_by`, `updated_by`, `updated_at`, `note`, `status`, `rounding`, `store_id`, `hold_ref`, `date_in`, `date_out`, `waiting_number`, `total_cost`, `delivery_by`, `delivery_status`, `delivery_note`, `delivery_staff`, `delivery_date`, `delivery_attachment`, `next_payment`, `alert_payment_day`, `inv_number`, `sale_customer_group`, `customer_group_name`) VALUES (22, '2026-05-07 16:13:37', 1, 'ទូទៅ', '12500.0000', '0.0000', NULL, '0.0000', '0.0000', '0.0000', NULL, '0.0000', '0.0000', '12500.0000', 2, '2.00', '12500.0000', 1, NULL, NULL, '', 'paid', '0.0000', 1, 'ទូទៅ', NULL, '2026-05-07 16:13:37', 67, '5000.0000', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 22, 0, NULL);
INSERT INTO `tec_sales` (`id`, `date`, `customer_id`, `customer_name`, `total`, `product_discount`, `order_discount_id`, `order_discount`, `total_discount`, `product_tax`, `order_tax_id`, `order_tax`, `total_tax`, `grand_total`, `total_items`, `total_quantity`, `paid`, `created_by`, `updated_by`, `updated_at`, `note`, `status`, `rounding`, `store_id`, `hold_ref`, `date_in`, `date_out`, `waiting_number`, `total_cost`, `delivery_by`, `delivery_status`, `delivery_note`, `delivery_staff`, `delivery_date`, `delivery_attachment`, `next_payment`, `alert_payment_day`, `inv_number`, `sale_customer_group`, `customer_group_name`) VALUES (23, '2026-05-08 08:43:34', 1, 'ទូទៅ', '5000.0000', '0.0000', NULL, '0.0000', '0.0000', '0.0000', NULL, '0.0000', '0.0000', '5000.0000', 1, '1.00', '5000.0000', 1, NULL, NULL, '', 'paid', '0.0000', 1, 'ទូទៅ', NULL, '2026-05-08 08:43:34', 68, '0.0000', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 23, 0, NULL);
INSERT INTO `tec_sales` (`id`, `date`, `customer_id`, `customer_name`, `total`, `product_discount`, `order_discount_id`, `order_discount`, `total_discount`, `product_tax`, `order_tax_id`, `order_tax`, `total_tax`, `grand_total`, `total_items`, `total_quantity`, `paid`, `created_by`, `updated_by`, `updated_at`, `note`, `status`, `rounding`, `store_id`, `hold_ref`, `date_in`, `date_out`, `waiting_number`, `total_cost`, `delivery_by`, `delivery_status`, `delivery_note`, `delivery_staff`, `delivery_date`, `delivery_attachment`, `next_payment`, `alert_payment_day`, `inv_number`, `sale_customer_group`, `customer_group_name`) VALUES (24, '2026-05-08 08:44:23', 1, 'ទូទៅ', '4000.0000', '0.0000', NULL, '0.0000', '0.0000', '0.0000', NULL, '0.0000', '0.0000', '4000.0000', 1, '1.00', '4000.0000', 1, NULL, NULL, '', 'paid', '0.0000', 1, 'ទូទៅ', NULL, '2026-05-08 08:44:23', 69, '0.0000', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 24, 0, NULL);
INSERT INTO `tec_sales` (`id`, `date`, `customer_id`, `customer_name`, `total`, `product_discount`, `order_discount_id`, `order_discount`, `total_discount`, `product_tax`, `order_tax_id`, `order_tax`, `total_tax`, `grand_total`, `total_items`, `total_quantity`, `paid`, `created_by`, `updated_by`, `updated_at`, `note`, `status`, `rounding`, `store_id`, `hold_ref`, `date_in`, `date_out`, `waiting_number`, `total_cost`, `delivery_by`, `delivery_status`, `delivery_note`, `delivery_staff`, `delivery_date`, `delivery_attachment`, `next_payment`, `alert_payment_day`, `inv_number`, `sale_customer_group`, `customer_group_name`) VALUES (25, '2026-05-08 08:44:54', 1, 'ទូទៅ', '6000.0000', '0.0000', NULL, '0.0000', '0.0000', '0.0000', NULL, '0.0000', '0.0000', '6000.0000', 1, '1.00', '6000.0000', 1, NULL, NULL, '', 'paid', '0.0000', 1, 'ទូទៅ', NULL, '2026-05-08 08:44:54', 70, '0.0000', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 25, 0, NULL);
INSERT INTO `tec_sales` (`id`, `date`, `customer_id`, `customer_name`, `total`, `product_discount`, `order_discount_id`, `order_discount`, `total_discount`, `product_tax`, `order_tax_id`, `order_tax`, `total_tax`, `grand_total`, `total_items`, `total_quantity`, `paid`, `created_by`, `updated_by`, `updated_at`, `note`, `status`, `rounding`, `store_id`, `hold_ref`, `date_in`, `date_out`, `waiting_number`, `total_cost`, `delivery_by`, `delivery_status`, `delivery_note`, `delivery_staff`, `delivery_date`, `delivery_attachment`, `next_payment`, `alert_payment_day`, `inv_number`, `sale_customer_group`, `customer_group_name`) VALUES (26, '2026-05-08 08:51:56', 1, 'ទូទៅ', '6000.0000', '0.0000', NULL, '0.0000', '0.0000', '0.0000', NULL, '0.0000', '0.0000', '6000.0000', 1, '1.00', '6000.0000', 1, NULL, NULL, '', 'paid', '0.0000', 1, 'ទូទៅ', NULL, '2026-05-08 08:51:56', 71, '0.0000', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 26, 0, NULL);
INSERT INTO `tec_sales` (`id`, `date`, `customer_id`, `customer_name`, `total`, `product_discount`, `order_discount_id`, `order_discount`, `total_discount`, `product_tax`, `order_tax_id`, `order_tax`, `total_tax`, `grand_total`, `total_items`, `total_quantity`, `paid`, `created_by`, `updated_by`, `updated_at`, `note`, `status`, `rounding`, `store_id`, `hold_ref`, `date_in`, `date_out`, `waiting_number`, `total_cost`, `delivery_by`, `delivery_status`, `delivery_note`, `delivery_staff`, `delivery_date`, `delivery_attachment`, `next_payment`, `alert_payment_day`, `inv_number`, `sale_customer_group`, `customer_group_name`) VALUES (27, '2026-05-08 09:20:35', 1, 'ទូទៅ', '4000.0000', '0.0000', NULL, '0.0000', '0.0000', '0.0000', NULL, '0.0000', '0.0000', '4000.0000', 1, '1.00', '4000.0000', 1, NULL, NULL, '', 'paid', '0.0000', 1, 'ទូទៅ', NULL, '2026-05-08 09:20:35', 72, '0.0000', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 27, 0, NULL);
INSERT INTO `tec_sales` (`id`, `date`, `customer_id`, `customer_name`, `total`, `product_discount`, `order_discount_id`, `order_discount`, `total_discount`, `product_tax`, `order_tax_id`, `order_tax`, `total_tax`, `grand_total`, `total_items`, `total_quantity`, `paid`, `created_by`, `updated_by`, `updated_at`, `note`, `status`, `rounding`, `store_id`, `hold_ref`, `date_in`, `date_out`, `waiting_number`, `total_cost`, `delivery_by`, `delivery_status`, `delivery_note`, `delivery_staff`, `delivery_date`, `delivery_attachment`, `next_payment`, `alert_payment_day`, `inv_number`, `sale_customer_group`, `customer_group_name`) VALUES (28, '2026-05-08 09:21:28', 1, 'ទូទៅ', '5000.0000', '0.0000', NULL, '0.0000', '0.0000', '0.0000', NULL, '0.0000', '0.0000', '5000.0000', 1, '1.00', '5000.0000', 1, NULL, NULL, '', 'paid', '0.0000', 1, 'ទូទៅ', NULL, '2026-05-08 09:21:28', 73, '5000.0000', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 28, 0, NULL);
INSERT INTO `tec_sales` (`id`, `date`, `customer_id`, `customer_name`, `total`, `product_discount`, `order_discount_id`, `order_discount`, `total_discount`, `product_tax`, `order_tax_id`, `order_tax`, `total_tax`, `grand_total`, `total_items`, `total_quantity`, `paid`, `created_by`, `updated_by`, `updated_at`, `note`, `status`, `rounding`, `store_id`, `hold_ref`, `date_in`, `date_out`, `waiting_number`, `total_cost`, `delivery_by`, `delivery_status`, `delivery_note`, `delivery_staff`, `delivery_date`, `delivery_attachment`, `next_payment`, `alert_payment_day`, `inv_number`, `sale_customer_group`, `customer_group_name`) VALUES (29, '2026-05-08 09:28:55', 1, 'ទូទៅ', '4000.0000', '0.0000', NULL, '0.0000', '0.0000', '0.0000', NULL, '0.0000', '0.0000', '4000.0000', 1, '1.00', '4000.0000', 1, NULL, NULL, '', 'paid', '0.0000', 1, 'ទូទៅ', NULL, '2026-05-08 09:28:55', 74, '0.0000', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 29, 0, NULL);
INSERT INTO `tec_sales` (`id`, `date`, `customer_id`, `customer_name`, `total`, `product_discount`, `order_discount_id`, `order_discount`, `total_discount`, `product_tax`, `order_tax_id`, `order_tax`, `total_tax`, `grand_total`, `total_items`, `total_quantity`, `paid`, `created_by`, `updated_by`, `updated_at`, `note`, `status`, `rounding`, `store_id`, `hold_ref`, `date_in`, `date_out`, `waiting_number`, `total_cost`, `delivery_by`, `delivery_status`, `delivery_note`, `delivery_staff`, `delivery_date`, `delivery_attachment`, `next_payment`, `alert_payment_day`, `inv_number`, `sale_customer_group`, `customer_group_name`) VALUES (30, '2026-05-08 10:24:00', 1, 'ទូទៅ', '24000.0000', '0.0000', NULL, '0.0000', '0.0000', '0.0000', NULL, '0.0000', '0.0000', '24000.0000', 2, '4.00', '24000.0000', 1, NULL, NULL, '', 'paid', '0.0000', 1, 'ទូទៅ', NULL, '2026-05-08 10:24:00', 75, '0.0000', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 30, 0, NULL);
INSERT INTO `tec_sales` (`id`, `date`, `customer_id`, `customer_name`, `total`, `product_discount`, `order_discount_id`, `order_discount`, `total_discount`, `product_tax`, `order_tax_id`, `order_tax`, `total_tax`, `grand_total`, `total_items`, `total_quantity`, `paid`, `created_by`, `updated_by`, `updated_at`, `note`, `status`, `rounding`, `store_id`, `hold_ref`, `date_in`, `date_out`, `waiting_number`, `total_cost`, `delivery_by`, `delivery_status`, `delivery_note`, `delivery_staff`, `delivery_date`, `delivery_attachment`, `next_payment`, `alert_payment_day`, `inv_number`, `sale_customer_group`, `customer_group_name`) VALUES (31, '2026-05-08 10:26:27', 1, 'ទូទៅ', '12000.0000', '0.0000', NULL, '0.0000', '0.0000', '0.0000', NULL, '0.0000', '0.0000', '12000.0000', 1, '2.00', '12000.0000', 1, NULL, NULL, '', 'paid', '0.0000', 1, 'ទូទៅ', NULL, '2026-05-08 10:26:27', 76, '0.0000', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 31, 0, NULL);
INSERT INTO `tec_sales` (`id`, `date`, `customer_id`, `customer_name`, `total`, `product_discount`, `order_discount_id`, `order_discount`, `total_discount`, `product_tax`, `order_tax_id`, `order_tax`, `total_tax`, `grand_total`, `total_items`, `total_quantity`, `paid`, `created_by`, `updated_by`, `updated_at`, `note`, `status`, `rounding`, `store_id`, `hold_ref`, `date_in`, `date_out`, `waiting_number`, `total_cost`, `delivery_by`, `delivery_status`, `delivery_note`, `delivery_staff`, `delivery_date`, `delivery_attachment`, `next_payment`, `alert_payment_day`, `inv_number`, `sale_customer_group`, `customer_group_name`) VALUES (32, '2026-05-08 11:36:16', 1, 'ទូទៅ', '11000.0000', '0.0000', NULL, '0.0000', '0.0000', '0.0000', NULL, '0.0000', '0.0000', '11000.0000', 2, '2.00', '11000.0000', 1, NULL, NULL, '', 'paid', '0.0000', 1, 'ទូទៅ', NULL, '2026-05-08 11:36:16', 77, '5000.0000', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 32, 0, NULL);
INSERT INTO `tec_sales` (`id`, `date`, `customer_id`, `customer_name`, `total`, `product_discount`, `order_discount_id`, `order_discount`, `total_discount`, `product_tax`, `order_tax_id`, `order_tax`, `total_tax`, `grand_total`, `total_items`, `total_quantity`, `paid`, `created_by`, `updated_by`, `updated_at`, `note`, `status`, `rounding`, `store_id`, `hold_ref`, `date_in`, `date_out`, `waiting_number`, `total_cost`, `delivery_by`, `delivery_status`, `delivery_note`, `delivery_staff`, `delivery_date`, `delivery_attachment`, `next_payment`, `alert_payment_day`, `inv_number`, `sale_customer_group`, `customer_group_name`) VALUES (33, '2026-05-08 11:43:40', 1, 'ទូទៅ', '6000.0000', '0.0000', NULL, '0.0000', '0.0000', '0.0000', NULL, '0.0000', '0.0000', '6000.0000', 1, '1.00', '6000.0000', 1, NULL, NULL, '', 'paid', '0.0000', 1, 'ទូទៅ', NULL, '2026-05-08 11:43:40', 78, '0.0000', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 33, 0, NULL);
INSERT INTO `tec_sales` (`id`, `date`, `customer_id`, `customer_name`, `total`, `product_discount`, `order_discount_id`, `order_discount`, `total_discount`, `product_tax`, `order_tax_id`, `order_tax`, `total_tax`, `grand_total`, `total_items`, `total_quantity`, `paid`, `created_by`, `updated_by`, `updated_at`, `note`, `status`, `rounding`, `store_id`, `hold_ref`, `date_in`, `date_out`, `waiting_number`, `total_cost`, `delivery_by`, `delivery_status`, `delivery_note`, `delivery_staff`, `delivery_date`, `delivery_attachment`, `next_payment`, `alert_payment_day`, `inv_number`, `sale_customer_group`, `customer_group_name`) VALUES (34, '2026-05-08 11:45:51', 1, 'ទូទៅ', '4000.0000', '0.0000', NULL, '0.0000', '0.0000', '0.0000', NULL, '0.0000', '0.0000', '4000.0000', 1, '1.00', '4000.0000', 1, NULL, NULL, '', 'paid', '0.0000', 1, 'ទូទៅ', NULL, '2026-05-08 11:45:51', 79, '0.0000', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 34, 0, NULL);
INSERT INTO `tec_sales` (`id`, `date`, `customer_id`, `customer_name`, `total`, `product_discount`, `order_discount_id`, `order_discount`, `total_discount`, `product_tax`, `order_tax_id`, `order_tax`, `total_tax`, `grand_total`, `total_items`, `total_quantity`, `paid`, `created_by`, `updated_by`, `updated_at`, `note`, `status`, `rounding`, `store_id`, `hold_ref`, `date_in`, `date_out`, `waiting_number`, `total_cost`, `delivery_by`, `delivery_status`, `delivery_note`, `delivery_staff`, `delivery_date`, `delivery_attachment`, `next_payment`, `alert_payment_day`, `inv_number`, `sale_customer_group`, `customer_group_name`) VALUES (35, '2026-05-08 14:16:18', 1, 'ទូទៅ', '54000.0000', '0.0000', NULL, '0.0000', '0.0000', '0.0000', NULL, '0.0000', '0.0000', '54000.0000', 1, '9.00', '54000.0000', 1, NULL, NULL, '', 'paid', '0.0000', 1, 'ទូទៅ', NULL, '2026-05-08 14:16:18', 80, '0.0000', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 35, 0, NULL);
INSERT INTO `tec_sales` (`id`, `date`, `customer_id`, `customer_name`, `total`, `product_discount`, `order_discount_id`, `order_discount`, `total_discount`, `product_tax`, `order_tax_id`, `order_tax`, `total_tax`, `grand_total`, `total_items`, `total_quantity`, `paid`, `created_by`, `updated_by`, `updated_at`, `note`, `status`, `rounding`, `store_id`, `hold_ref`, `date_in`, `date_out`, `waiting_number`, `total_cost`, `delivery_by`, `delivery_status`, `delivery_note`, `delivery_staff`, `delivery_date`, `delivery_attachment`, `next_payment`, `alert_payment_day`, `inv_number`, `sale_customer_group`, `customer_group_name`) VALUES (36, '2026-05-08 14:24:17', 1, 'ទូទៅ', '10000.0000', '0.0000', NULL, '0.0000', '0.0000', '0.0000', NULL, '0.0000', '0.0000', '10000.0000', 2, '2.00', '10000.0000', 1, NULL, NULL, '', 'paid', '0.0000', 1, 'ទូទៅ', NULL, '2026-05-08 14:24:17', 81, '5000.0000', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 36, 0, NULL);
INSERT INTO `tec_sales` (`id`, `date`, `customer_id`, `customer_name`, `total`, `product_discount`, `order_discount_id`, `order_discount`, `total_discount`, `product_tax`, `order_tax_id`, `order_tax`, `total_tax`, `grand_total`, `total_items`, `total_quantity`, `paid`, `created_by`, `updated_by`, `updated_at`, `note`, `status`, `rounding`, `store_id`, `hold_ref`, `date_in`, `date_out`, `waiting_number`, `total_cost`, `delivery_by`, `delivery_status`, `delivery_note`, `delivery_staff`, `delivery_date`, `delivery_attachment`, `next_payment`, `alert_payment_day`, `inv_number`, `sale_customer_group`, `customer_group_name`) VALUES (37, '2026-05-09 08:01:38', 1, 'ទូទៅ', '6000.0000', '0.0000', NULL, '0.0000', '0.0000', '0.0000', NULL, '0.0000', '0.0000', '6000.0000', 1, '1.00', '6000.0000', 1, NULL, NULL, '', 'paid', '0.0000', 1, 'ទូទៅ', NULL, '2026-05-09 08:01:38', 82, '0.0000', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 37, 0, NULL);
INSERT INTO `tec_sales` (`id`, `date`, `customer_id`, `customer_name`, `total`, `product_discount`, `order_discount_id`, `order_discount`, `total_discount`, `product_tax`, `order_tax_id`, `order_tax`, `total_tax`, `grand_total`, `total_items`, `total_quantity`, `paid`, `created_by`, `updated_by`, `updated_at`, `note`, `status`, `rounding`, `store_id`, `hold_ref`, `date_in`, `date_out`, `waiting_number`, `total_cost`, `delivery_by`, `delivery_status`, `delivery_note`, `delivery_staff`, `delivery_date`, `delivery_attachment`, `next_payment`, `alert_payment_day`, `inv_number`, `sale_customer_group`, `customer_group_name`) VALUES (38, '2026-05-09 08:02:17', 1, 'ទូទៅ', '6000.0000', '0.0000', NULL, '0.0000', '0.0000', '0.0000', NULL, '0.0000', '0.0000', '6000.0000', 1, '1.00', '6000.0000', 1, NULL, NULL, '', 'paid', '0.0000', 1, 'ទូទៅ', NULL, '2026-05-09 08:02:17', 83, '0.0000', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 38, 0, NULL);
INSERT INTO `tec_sales` (`id`, `date`, `customer_id`, `customer_name`, `total`, `product_discount`, `order_discount_id`, `order_discount`, `total_discount`, `product_tax`, `order_tax_id`, `order_tax`, `total_tax`, `grand_total`, `total_items`, `total_quantity`, `paid`, `created_by`, `updated_by`, `updated_at`, `note`, `status`, `rounding`, `store_id`, `hold_ref`, `date_in`, `date_out`, `waiting_number`, `total_cost`, `delivery_by`, `delivery_status`, `delivery_note`, `delivery_staff`, `delivery_date`, `delivery_attachment`, `next_payment`, `alert_payment_day`, `inv_number`, `sale_customer_group`, `customer_group_name`) VALUES (39, '2026-05-09 08:13:12', 1, 'ទូទៅ', '12000.0000', '0.0000', NULL, '0.0000', '0.0000', '0.0000', NULL, '0.0000', '0.0000', '12000.0000', 1, '2.00', '12000.0000', 1, NULL, NULL, '', 'paid', '0.0000', 1, 'ទូទៅ', NULL, '2026-05-09 08:13:12', 84, '0.0000', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 39, 0, NULL);
INSERT INTO `tec_sales` (`id`, `date`, `customer_id`, `customer_name`, `total`, `product_discount`, `order_discount_id`, `order_discount`, `total_discount`, `product_tax`, `order_tax_id`, `order_tax`, `total_tax`, `grand_total`, `total_items`, `total_quantity`, `paid`, `created_by`, `updated_by`, `updated_at`, `note`, `status`, `rounding`, `store_id`, `hold_ref`, `date_in`, `date_out`, `waiting_number`, `total_cost`, `delivery_by`, `delivery_status`, `delivery_note`, `delivery_staff`, `delivery_date`, `delivery_attachment`, `next_payment`, `alert_payment_day`, `inv_number`, `sale_customer_group`, `customer_group_name`) VALUES (40, '2026-05-09 08:34:54', 1, 'ទូទៅ', '9000.0000', '0.0000', NULL, '0.0000', '0.0000', '0.0000', NULL, '0.0000', '0.0000', '9000.0000', 2, '2.00', '9000.0000', 1, NULL, NULL, '', 'paid', '0.0000', 1, 'ទូទៅ', NULL, '2026-05-09 08:34:54', 85, '5000.0000', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 40, 0, NULL);
INSERT INTO `tec_sales` (`id`, `date`, `customer_id`, `customer_name`, `total`, `product_discount`, `order_discount_id`, `order_discount`, `total_discount`, `product_tax`, `order_tax_id`, `order_tax`, `total_tax`, `grand_total`, `total_items`, `total_quantity`, `paid`, `created_by`, `updated_by`, `updated_at`, `note`, `status`, `rounding`, `store_id`, `hold_ref`, `date_in`, `date_out`, `waiting_number`, `total_cost`, `delivery_by`, `delivery_status`, `delivery_note`, `delivery_staff`, `delivery_date`, `delivery_attachment`, `next_payment`, `alert_payment_day`, `inv_number`, `sale_customer_group`, `customer_group_name`) VALUES (41, '2026-05-09 08:35:21', 1, 'ទូទៅ', '5000.0000', '0.0000', NULL, '0.0000', '0.0000', '0.0000', NULL, '0.0000', '0.0000', '5000.0000', 1, '1.00', '5000.0000', 1, NULL, NULL, '', 'paid', '0.0000', 1, 'ទូទៅ', NULL, '2026-05-09 08:35:21', 86, '0.0000', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 41, 0, NULL);
INSERT INTO `tec_sales` (`id`, `date`, `customer_id`, `customer_name`, `total`, `product_discount`, `order_discount_id`, `order_discount`, `total_discount`, `product_tax`, `order_tax_id`, `order_tax`, `total_tax`, `grand_total`, `total_items`, `total_quantity`, `paid`, `created_by`, `updated_by`, `updated_at`, `note`, `status`, `rounding`, `store_id`, `hold_ref`, `date_in`, `date_out`, `waiting_number`, `total_cost`, `delivery_by`, `delivery_status`, `delivery_note`, `delivery_staff`, `delivery_date`, `delivery_attachment`, `next_payment`, `alert_payment_day`, `inv_number`, `sale_customer_group`, `customer_group_name`) VALUES (42, '2026-05-09 08:39:32', 1, 'ទូទៅ', '10000.0000', '0.0000', '1000', '1000.0000', '1000.0000', '0.0000', NULL, '0.0000', '0.0000', '9000.0000', 2, '2.00', '9000.0000', 1, NULL, NULL, '', 'paid', '0.0000', 1, 'ទូទៅ', NULL, '2026-05-09 08:39:32', 87, '0.0000', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 42, 0, NULL);
INSERT INTO `tec_sales` (`id`, `date`, `customer_id`, `customer_name`, `total`, `product_discount`, `order_discount_id`, `order_discount`, `total_discount`, `product_tax`, `order_tax_id`, `order_tax`, `total_tax`, `grand_total`, `total_items`, `total_quantity`, `paid`, `created_by`, `updated_by`, `updated_at`, `note`, `status`, `rounding`, `store_id`, `hold_ref`, `date_in`, `date_out`, `waiting_number`, `total_cost`, `delivery_by`, `delivery_status`, `delivery_note`, `delivery_staff`, `delivery_date`, `delivery_attachment`, `next_payment`, `alert_payment_day`, `inv_number`, `sale_customer_group`, `customer_group_name`) VALUES (43, '2026-05-09 08:53:01', 1, 'ទូទៅ', '6000.0000', '0.0000', NULL, '0.0000', '0.0000', '0.0000', NULL, '0.0000', '0.0000', '6000.0000', 1, '1.00', '6000.0000', 1, NULL, NULL, '', 'paid', '0.0000', 1, 'ទូទៅ', NULL, '2026-05-09 08:53:01', 88, '0.0000', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 43, 0, NULL);
INSERT INTO `tec_sales` (`id`, `date`, `customer_id`, `customer_name`, `total`, `product_discount`, `order_discount_id`, `order_discount`, `total_discount`, `product_tax`, `order_tax_id`, `order_tax`, `total_tax`, `grand_total`, `total_items`, `total_quantity`, `paid`, `created_by`, `updated_by`, `updated_at`, `note`, `status`, `rounding`, `store_id`, `hold_ref`, `date_in`, `date_out`, `waiting_number`, `total_cost`, `delivery_by`, `delivery_status`, `delivery_note`, `delivery_staff`, `delivery_date`, `delivery_attachment`, `next_payment`, `alert_payment_day`, `inv_number`, `sale_customer_group`, `customer_group_name`) VALUES (44, '2026-05-09 09:46:51', 1, 'ទូទៅ', '30000.0000', '0.0000', NULL, '0.0000', '0.0000', '0.0000', NULL, '0.0000', '0.0000', '30000.0000', 2, '5.00', '30000.0000', 1, NULL, NULL, '', 'paid', '0.0000', 1, 'ទូទៅ', NULL, '2026-05-09 09:46:51', 89, '0.0000', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 44, 0, NULL);
INSERT INTO `tec_sales` (`id`, `date`, `customer_id`, `customer_name`, `total`, `product_discount`, `order_discount_id`, `order_discount`, `total_discount`, `product_tax`, `order_tax_id`, `order_tax`, `total_tax`, `grand_total`, `total_items`, `total_quantity`, `paid`, `created_by`, `updated_by`, `updated_at`, `note`, `status`, `rounding`, `store_id`, `hold_ref`, `date_in`, `date_out`, `waiting_number`, `total_cost`, `delivery_by`, `delivery_status`, `delivery_note`, `delivery_staff`, `delivery_date`, `delivery_attachment`, `next_payment`, `alert_payment_day`, `inv_number`, `sale_customer_group`, `customer_group_name`) VALUES (45, '2026-05-09 09:55:01', 1, 'ទូទៅ', '17000.0000', '0.0000', '2000', '2000.0000', '2000.0000', '0.0000', NULL, '0.0000', '0.0000', '15000.0000', 2, '3.00', '15000.0000', 1, NULL, NULL, '', 'paid', '0.0000', 1, 'ទូទៅ', NULL, '2026-05-09 09:55:01', 90, '5000.0000', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 45, 0, NULL);
INSERT INTO `tec_sales` (`id`, `date`, `customer_id`, `customer_name`, `total`, `product_discount`, `order_discount_id`, `order_discount`, `total_discount`, `product_tax`, `order_tax_id`, `order_tax`, `total_tax`, `grand_total`, `total_items`, `total_quantity`, `paid`, `created_by`, `updated_by`, `updated_at`, `note`, `status`, `rounding`, `store_id`, `hold_ref`, `date_in`, `date_out`, `waiting_number`, `total_cost`, `delivery_by`, `delivery_status`, `delivery_note`, `delivery_staff`, `delivery_date`, `delivery_attachment`, `next_payment`, `alert_payment_day`, `inv_number`, `sale_customer_group`, `customer_group_name`) VALUES (46, '2026-05-09 10:34:48', 1, 'ទូទៅ', '6000.0000', '0.0000', NULL, '0.0000', '0.0000', '0.0000', NULL, '0.0000', '0.0000', '6000.0000', 1, '1.00', '6000.0000', 1, NULL, NULL, '', 'paid', '0.0000', 1, 'ទូទៅ', NULL, '2026-05-09 10:34:48', 91, '0.0000', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 46, 0, NULL);
INSERT INTO `tec_sales` (`id`, `date`, `customer_id`, `customer_name`, `total`, `product_discount`, `order_discount_id`, `order_discount`, `total_discount`, `product_tax`, `order_tax_id`, `order_tax`, `total_tax`, `grand_total`, `total_items`, `total_quantity`, `paid`, `created_by`, `updated_by`, `updated_at`, `note`, `status`, `rounding`, `store_id`, `hold_ref`, `date_in`, `date_out`, `waiting_number`, `total_cost`, `delivery_by`, `delivery_status`, `delivery_note`, `delivery_staff`, `delivery_date`, `delivery_attachment`, `next_payment`, `alert_payment_day`, `inv_number`, `sale_customer_group`, `customer_group_name`) VALUES (47, '2026-05-09 10:54:48', 1, 'ទូទៅ', '15000.0000', '0.0000', NULL, '0.0000', '0.0000', '0.0000', NULL, '0.0000', '0.0000', '15000.0000', 2, '3.00', '15000.0000', 1, NULL, NULL, 'ពូ ខ្វះ ថ្ងៃ 8-9 ', 'paid', '0.0000', 1, 'ទូទៅ', NULL, '2026-05-09 10:54:48', 92, '10000.0000', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 47, 0, NULL);
INSERT INTO `tec_sales` (`id`, `date`, `customer_id`, `customer_name`, `total`, `product_discount`, `order_discount_id`, `order_discount`, `total_discount`, `product_tax`, `order_tax_id`, `order_tax`, `total_tax`, `grand_total`, `total_items`, `total_quantity`, `paid`, `created_by`, `updated_by`, `updated_at`, `note`, `status`, `rounding`, `store_id`, `hold_ref`, `date_in`, `date_out`, `waiting_number`, `total_cost`, `delivery_by`, `delivery_status`, `delivery_note`, `delivery_staff`, `delivery_date`, `delivery_attachment`, `next_payment`, `alert_payment_day`, `inv_number`, `sale_customer_group`, `customer_group_name`) VALUES (48, '2026-05-09 11:00:04', 1, 'ទូទៅ', '6000.0000', '0.0000', '1000', '1000.0000', '1000.0000', '0.0000', NULL, '0.0000', '0.0000', '5000.0000', 1, '1.00', '5000.0000', 1, NULL, NULL, '', 'paid', '0.0000', 1, 'ទូទៅ', NULL, '2026-05-09 11:00:04', 93, '0.0000', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 48, 0, NULL);
INSERT INTO `tec_sales` (`id`, `date`, `customer_id`, `customer_name`, `total`, `product_discount`, `order_discount_id`, `order_discount`, `total_discount`, `product_tax`, `order_tax_id`, `order_tax`, `total_tax`, `grand_total`, `total_items`, `total_quantity`, `paid`, `created_by`, `updated_by`, `updated_at`, `note`, `status`, `rounding`, `store_id`, `hold_ref`, `date_in`, `date_out`, `waiting_number`, `total_cost`, `delivery_by`, `delivery_status`, `delivery_note`, `delivery_staff`, `delivery_date`, `delivery_attachment`, `next_payment`, `alert_payment_day`, `inv_number`, `sale_customer_group`, `customer_group_name`) VALUES (49, '2026-05-09 11:00:29', 1, 'ទូទៅ', '6000.0000', '0.0000', '1000', '1000.0000', '1000.0000', '0.0000', NULL, '0.0000', '0.0000', '5000.0000', 1, '1.00', '5000.0000', 1, NULL, NULL, '', 'paid', '0.0000', 1, 'ទូទៅ', NULL, '2026-05-09 11:00:29', 94, '0.0000', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 49, 0, NULL);
INSERT INTO `tec_sales` (`id`, `date`, `customer_id`, `customer_name`, `total`, `product_discount`, `order_discount_id`, `order_discount`, `total_discount`, `product_tax`, `order_tax_id`, `order_tax`, `total_tax`, `grand_total`, `total_items`, `total_quantity`, `paid`, `created_by`, `updated_by`, `updated_at`, `note`, `status`, `rounding`, `store_id`, `hold_ref`, `date_in`, `date_out`, `waiting_number`, `total_cost`, `delivery_by`, `delivery_status`, `delivery_note`, `delivery_staff`, `delivery_date`, `delivery_attachment`, `next_payment`, `alert_payment_day`, `inv_number`, `sale_customer_group`, `customer_group_name`) VALUES (50, '2026-05-09 12:04:44', 1, 'ទូទៅ', '5000.0000', '0.0000', NULL, '0.0000', '0.0000', '0.0000', NULL, '0.0000', '0.0000', '5000.0000', 1, '1.00', '5000.0000', 1, NULL, NULL, '', 'paid', '0.0000', 1, 'ទូទៅ', NULL, '2026-05-09 12:04:44', 95, '5000.0000', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 50, 0, NULL);
INSERT INTO `tec_sales` (`id`, `date`, `customer_id`, `customer_name`, `total`, `product_discount`, `order_discount_id`, `order_discount`, `total_discount`, `product_tax`, `order_tax_id`, `order_tax`, `total_tax`, `grand_total`, `total_items`, `total_quantity`, `paid`, `created_by`, `updated_by`, `updated_at`, `note`, `status`, `rounding`, `store_id`, `hold_ref`, `date_in`, `date_out`, `waiting_number`, `total_cost`, `delivery_by`, `delivery_status`, `delivery_note`, `delivery_staff`, `delivery_date`, `delivery_attachment`, `next_payment`, `alert_payment_day`, `inv_number`, `sale_customer_group`, `customer_group_name`) VALUES (51, '2026-05-09 12:14:57', 1, 'ទូទៅ', '24000.0000', '0.0000', NULL, '0.0000', '0.0000', '0.0000', NULL, '0.0000', '0.0000', '24000.0000', 2, '4.00', '24000.0000', 1, NULL, NULL, '', 'paid', '0.0000', 1, 'ទូទៅ', NULL, '2026-05-09 12:14:57', 96, '0.0000', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 51, 0, NULL);
INSERT INTO `tec_sales` (`id`, `date`, `customer_id`, `customer_name`, `total`, `product_discount`, `order_discount_id`, `order_discount`, `total_discount`, `product_tax`, `order_tax_id`, `order_tax`, `total_tax`, `grand_total`, `total_items`, `total_quantity`, `paid`, `created_by`, `updated_by`, `updated_at`, `note`, `status`, `rounding`, `store_id`, `hold_ref`, `date_in`, `date_out`, `waiting_number`, `total_cost`, `delivery_by`, `delivery_status`, `delivery_note`, `delivery_staff`, `delivery_date`, `delivery_attachment`, `next_payment`, `alert_payment_day`, `inv_number`, `sale_customer_group`, `customer_group_name`) VALUES (52, '2026-05-09 12:22:02', 1, 'ទូទៅ', '12500.0000', '0.0000', NULL, '0.0000', '0.0000', '0.0000', NULL, '0.0000', '0.0000', '12500.0000', 2, '2.00', '12500.0000', 1, NULL, NULL, '', 'paid', '0.0000', 1, 'ទូទៅ', NULL, '2026-05-09 12:22:02', 97, '0.0000', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 52, 0, NULL);
INSERT INTO `tec_sales` (`id`, `date`, `customer_id`, `customer_name`, `total`, `product_discount`, `order_discount_id`, `order_discount`, `total_discount`, `product_tax`, `order_tax_id`, `order_tax`, `total_tax`, `grand_total`, `total_items`, `total_quantity`, `paid`, `created_by`, `updated_by`, `updated_at`, `note`, `status`, `rounding`, `store_id`, `hold_ref`, `date_in`, `date_out`, `waiting_number`, `total_cost`, `delivery_by`, `delivery_status`, `delivery_note`, `delivery_staff`, `delivery_date`, `delivery_attachment`, `next_payment`, `alert_payment_day`, `inv_number`, `sale_customer_group`, `customer_group_name`) VALUES (53, '2026-05-09 15:29:59', 1, 'ទូទៅ', '10000.0000', '0.0000', NULL, '0.0000', '0.0000', '0.0000', NULL, '0.0000', '0.0000', '10000.0000', 2, '2.00', '10000.0000', 1, NULL, NULL, '', 'paid', '0.0000', 1, 'ទូទៅ', NULL, '2026-05-09 15:29:59', 98, '0.0000', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 53, 0, NULL);
INSERT INTO `tec_sales` (`id`, `date`, `customer_id`, `customer_name`, `total`, `product_discount`, `order_discount_id`, `order_discount`, `total_discount`, `product_tax`, `order_tax_id`, `order_tax`, `total_tax`, `grand_total`, `total_items`, `total_quantity`, `paid`, `created_by`, `updated_by`, `updated_at`, `note`, `status`, `rounding`, `store_id`, `hold_ref`, `date_in`, `date_out`, `waiting_number`, `total_cost`, `delivery_by`, `delivery_status`, `delivery_note`, `delivery_staff`, `delivery_date`, `delivery_attachment`, `next_payment`, `alert_payment_day`, `inv_number`, `sale_customer_group`, `customer_group_name`) VALUES (54, '2026-05-09 16:43:38', 1, 'ទូទៅ', '18500.0000', '0.0000', NULL, '0.0000', '0.0000', '0.0000', NULL, '0.0000', '0.0000', '18500.0000', 3, '3.00', '18500.0000', 1, NULL, NULL, '', 'paid', '0.0000', 1, 'ទូទៅ', NULL, '2026-05-09 16:43:38', 99, '5000.0000', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 54, 0, NULL);
INSERT INTO `tec_sales` (`id`, `date`, `customer_id`, `customer_name`, `total`, `product_discount`, `order_discount_id`, `order_discount`, `total_discount`, `product_tax`, `order_tax_id`, `order_tax`, `total_tax`, `grand_total`, `total_items`, `total_quantity`, `paid`, `created_by`, `updated_by`, `updated_at`, `note`, `status`, `rounding`, `store_id`, `hold_ref`, `date_in`, `date_out`, `waiting_number`, `total_cost`, `delivery_by`, `delivery_status`, `delivery_note`, `delivery_staff`, `delivery_date`, `delivery_attachment`, `next_payment`, `alert_payment_day`, `inv_number`, `sale_customer_group`, `customer_group_name`) VALUES (55, '2026-05-09 17:45:06', 1, 'ទូទៅ', '6000.0000', '0.0000', NULL, '0.0000', '0.0000', '0.0000', NULL, '0.0000', '0.0000', '6000.0000', 1, '1.00', '6000.0000', 1, NULL, NULL, '', 'paid', '0.0000', 1, 'ទូទៅ', NULL, '2026-05-09 17:45:06', 1, '0.0000', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 55, 0, NULL);
INSERT INTO `tec_sales` (`id`, `date`, `customer_id`, `customer_name`, `total`, `product_discount`, `order_discount_id`, `order_discount`, `total_discount`, `product_tax`, `order_tax_id`, `order_tax`, `total_tax`, `grand_total`, `total_items`, `total_quantity`, `paid`, `created_by`, `updated_by`, `updated_at`, `note`, `status`, `rounding`, `store_id`, `hold_ref`, `date_in`, `date_out`, `waiting_number`, `total_cost`, `delivery_by`, `delivery_status`, `delivery_note`, `delivery_staff`, `delivery_date`, `delivery_attachment`, `next_payment`, `alert_payment_day`, `inv_number`, `sale_customer_group`, `customer_group_name`) VALUES (56, '2026-05-09 18:05:43', 1, 'ទូទៅ', '5000.0000', '0.0000', NULL, '0.0000', '0.0000', '0.0000', NULL, '0.0000', '0.0000', '5000.0000', 1, '1.00', '5000.0000', 1, NULL, NULL, '', 'paid', '0.0000', 1, 'ទូទៅ', NULL, '2026-05-09 18:05:43', 2, '5000.0000', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 56, 0, NULL);
INSERT INTO `tec_sales` (`id`, `date`, `customer_id`, `customer_name`, `total`, `product_discount`, `order_discount_id`, `order_discount`, `total_discount`, `product_tax`, `order_tax_id`, `order_tax`, `total_tax`, `grand_total`, `total_items`, `total_quantity`, `paid`, `created_by`, `updated_by`, `updated_at`, `note`, `status`, `rounding`, `store_id`, `hold_ref`, `date_in`, `date_out`, `waiting_number`, `total_cost`, `delivery_by`, `delivery_status`, `delivery_note`, `delivery_staff`, `delivery_date`, `delivery_attachment`, `next_payment`, `alert_payment_day`, `inv_number`, `sale_customer_group`, `customer_group_name`) VALUES (57, '2026-05-09 18:06:01', 1, 'ទូទៅ', '5000.0000', '0.0000', NULL, '0.0000', '0.0000', '0.0000', NULL, '0.0000', '0.0000', '5000.0000', 1, '1.00', '5000.0000', 1, NULL, NULL, '', 'paid', '0.0000', 1, 'ទូទៅ', NULL, '2026-05-09 18:06:01', 3, '5000.0000', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 57, 0, NULL);
INSERT INTO `tec_sales` (`id`, `date`, `customer_id`, `customer_name`, `total`, `product_discount`, `order_discount_id`, `order_discount`, `total_discount`, `product_tax`, `order_tax_id`, `order_tax`, `total_tax`, `grand_total`, `total_items`, `total_quantity`, `paid`, `created_by`, `updated_by`, `updated_at`, `note`, `status`, `rounding`, `store_id`, `hold_ref`, `date_in`, `date_out`, `waiting_number`, `total_cost`, `delivery_by`, `delivery_status`, `delivery_note`, `delivery_staff`, `delivery_date`, `delivery_attachment`, `next_payment`, `alert_payment_day`, `inv_number`, `sale_customer_group`, `customer_group_name`) VALUES (58, '2026-05-09 19:14:41', 1, 'ទូទៅ', '6000.0000', '0.0000', '1000', '1000.0000', '1000.0000', '0.0000', NULL, '0.0000', '0.0000', '5000.0000', 1, '1.00', '5000.0000', 1, NULL, NULL, '', 'paid', '0.0000', 1, 'ទូទៅ', NULL, '2026-05-09 19:14:41', 4, '0.0000', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 58, 0, NULL);
INSERT INTO `tec_sales` (`id`, `date`, `customer_id`, `customer_name`, `total`, `product_discount`, `order_discount_id`, `order_discount`, `total_discount`, `product_tax`, `order_tax_id`, `order_tax`, `total_tax`, `grand_total`, `total_items`, `total_quantity`, `paid`, `created_by`, `updated_by`, `updated_at`, `note`, `status`, `rounding`, `store_id`, `hold_ref`, `date_in`, `date_out`, `waiting_number`, `total_cost`, `delivery_by`, `delivery_status`, `delivery_note`, `delivery_staff`, `delivery_date`, `delivery_attachment`, `next_payment`, `alert_payment_day`, `inv_number`, `sale_customer_group`, `customer_group_name`) VALUES (59, '2026-05-09 19:27:18', 1, 'ទូទៅ', '5000.0000', '0.0000', NULL, '0.0000', '0.0000', '0.0000', NULL, '0.0000', '0.0000', '5000.0000', 1, '1.00', '5000.0000', 1, NULL, NULL, '', 'paid', '0.0000', 1, 'ទូទៅ', NULL, '2026-05-09 19:27:18', 5, '0.0000', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 59, 0, NULL);
INSERT INTO `tec_sales` (`id`, `date`, `customer_id`, `customer_name`, `total`, `product_discount`, `order_discount_id`, `order_discount`, `total_discount`, `product_tax`, `order_tax_id`, `order_tax`, `total_tax`, `grand_total`, `total_items`, `total_quantity`, `paid`, `created_by`, `updated_by`, `updated_at`, `note`, `status`, `rounding`, `store_id`, `hold_ref`, `date_in`, `date_out`, `waiting_number`, `total_cost`, `delivery_by`, `delivery_status`, `delivery_note`, `delivery_staff`, `delivery_date`, `delivery_attachment`, `next_payment`, `alert_payment_day`, `inv_number`, `sale_customer_group`, `customer_group_name`) VALUES (60, '2026-05-10 07:49:33', 1, 'ទូទៅ', '5000.0000', '0.0000', NULL, '0.0000', '0.0000', '0.0000', NULL, '0.0000', '0.0000', '5000.0000', 1, '1.00', '5000.0000', 1, NULL, NULL, '', 'paid', '0.0000', 1, 'ទូទៅ', NULL, '2026-05-10 07:49:33', 6, '0.0000', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 60, 0, NULL);
INSERT INTO `tec_sales` (`id`, `date`, `customer_id`, `customer_name`, `total`, `product_discount`, `order_discount_id`, `order_discount`, `total_discount`, `product_tax`, `order_tax_id`, `order_tax`, `total_tax`, `grand_total`, `total_items`, `total_quantity`, `paid`, `created_by`, `updated_by`, `updated_at`, `note`, `status`, `rounding`, `store_id`, `hold_ref`, `date_in`, `date_out`, `waiting_number`, `total_cost`, `delivery_by`, `delivery_status`, `delivery_note`, `delivery_staff`, `delivery_date`, `delivery_attachment`, `next_payment`, `alert_payment_day`, `inv_number`, `sale_customer_group`, `customer_group_name`) VALUES (61, '2026-05-10 08:39:48', 1, 'ទូទៅ', '6000.0000', '0.0000', NULL, '0.0000', '0.0000', '0.0000', NULL, '0.0000', '0.0000', '6000.0000', 1, '1.00', '6000.0000', 1, NULL, NULL, '', 'paid', '0.0000', 1, 'ទូទៅ', NULL, '2026-05-10 08:39:48', 7, '0.0000', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 61, 0, NULL);
INSERT INTO `tec_sales` (`id`, `date`, `customer_id`, `customer_name`, `total`, `product_discount`, `order_discount_id`, `order_discount`, `total_discount`, `product_tax`, `order_tax_id`, `order_tax`, `total_tax`, `grand_total`, `total_items`, `total_quantity`, `paid`, `created_by`, `updated_by`, `updated_at`, `note`, `status`, `rounding`, `store_id`, `hold_ref`, `date_in`, `date_out`, `waiting_number`, `total_cost`, `delivery_by`, `delivery_status`, `delivery_note`, `delivery_staff`, `delivery_date`, `delivery_attachment`, `next_payment`, `alert_payment_day`, `inv_number`, `sale_customer_group`, `customer_group_name`) VALUES (62, '2026-05-10 08:50:00', 1, 'ទូទៅ', '8000.0000', '0.0000', NULL, '0.0000', '0.0000', '0.0000', NULL, '0.0000', '0.0000', '8000.0000', 1, '2.00', '8000.0000', 1, NULL, NULL, '', 'paid', '0.0000', 1, 'ទូទៅ', NULL, '2026-05-10 08:50:00', 8, '0.0000', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 62, 0, NULL);
INSERT INTO `tec_sales` (`id`, `date`, `customer_id`, `customer_name`, `total`, `product_discount`, `order_discount_id`, `order_discount`, `total_discount`, `product_tax`, `order_tax_id`, `order_tax`, `total_tax`, `grand_total`, `total_items`, `total_quantity`, `paid`, `created_by`, `updated_by`, `updated_at`, `note`, `status`, `rounding`, `store_id`, `hold_ref`, `date_in`, `date_out`, `waiting_number`, `total_cost`, `delivery_by`, `delivery_status`, `delivery_note`, `delivery_staff`, `delivery_date`, `delivery_attachment`, `next_payment`, `alert_payment_day`, `inv_number`, `sale_customer_group`, `customer_group_name`) VALUES (63, '2026-05-10 10:00:02', 1, 'ទូទៅ', '6000.0000', '0.0000', NULL, '0.0000', '0.0000', '0.0000', NULL, '0.0000', '0.0000', '6000.0000', 1, '1.00', '6000.0000', 1, NULL, NULL, '', 'paid', '0.0000', 1, 'ទូទៅ', NULL, '2026-05-10 10:00:02', 9, '0.0000', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 63, 0, NULL);
INSERT INTO `tec_sales` (`id`, `date`, `customer_id`, `customer_name`, `total`, `product_discount`, `order_discount_id`, `order_discount`, `total_discount`, `product_tax`, `order_tax_id`, `order_tax`, `total_tax`, `grand_total`, `total_items`, `total_quantity`, `paid`, `created_by`, `updated_by`, `updated_at`, `note`, `status`, `rounding`, `store_id`, `hold_ref`, `date_in`, `date_out`, `waiting_number`, `total_cost`, `delivery_by`, `delivery_status`, `delivery_note`, `delivery_staff`, `delivery_date`, `delivery_attachment`, `next_payment`, `alert_payment_day`, `inv_number`, `sale_customer_group`, `customer_group_name`) VALUES (64, '2026-05-10 10:00:25', 1, 'ទូទៅ', '4000.0000', '0.0000', NULL, '0.0000', '0.0000', '0.0000', NULL, '0.0000', '0.0000', '4000.0000', 1, '1.00', '4000.0000', 1, NULL, NULL, '', 'paid', '0.0000', 1, 'ទូទៅ', NULL, '2026-05-10 10:00:25', 10, '0.0000', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 64, 0, NULL);
INSERT INTO `tec_sales` (`id`, `date`, `customer_id`, `customer_name`, `total`, `product_discount`, `order_discount_id`, `order_discount`, `total_discount`, `product_tax`, `order_tax_id`, `order_tax`, `total_tax`, `grand_total`, `total_items`, `total_quantity`, `paid`, `created_by`, `updated_by`, `updated_at`, `note`, `status`, `rounding`, `store_id`, `hold_ref`, `date_in`, `date_out`, `waiting_number`, `total_cost`, `delivery_by`, `delivery_status`, `delivery_note`, `delivery_staff`, `delivery_date`, `delivery_attachment`, `next_payment`, `alert_payment_day`, `inv_number`, `sale_customer_group`, `customer_group_name`) VALUES (65, '2026-05-10 11:25:00', 1, 'ទូទៅ', '17000.0000', '0.0000', NULL, '0.0000', '0.0000', '0.0000', NULL, '0.0000', '0.0000', '17000.0000', 3, '3.00', '17000.0000', 1, NULL, NULL, '', 'paid', '0.0000', 1, 'ទូទៅ', NULL, '2026-05-10 11:25:00', 11, '5000.0000', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 65, 0, NULL);
INSERT INTO `tec_sales` (`id`, `date`, `customer_id`, `customer_name`, `total`, `product_discount`, `order_discount_id`, `order_discount`, `total_discount`, `product_tax`, `order_tax_id`, `order_tax`, `total_tax`, `grand_total`, `total_items`, `total_quantity`, `paid`, `created_by`, `updated_by`, `updated_at`, `note`, `status`, `rounding`, `store_id`, `hold_ref`, `date_in`, `date_out`, `waiting_number`, `total_cost`, `delivery_by`, `delivery_status`, `delivery_note`, `delivery_staff`, `delivery_date`, `delivery_attachment`, `next_payment`, `alert_payment_day`, `inv_number`, `sale_customer_group`, `customer_group_name`) VALUES (66, '2026-05-10 11:42:04', 1, 'ទូទៅ', '6000.0000', '0.0000', NULL, '0.0000', '0.0000', '0.0000', NULL, '0.0000', '0.0000', '6000.0000', 1, '1.00', '6000.0000', 1, NULL, NULL, '', 'paid', '0.0000', 1, 'ទូទៅ', NULL, '2026-05-10 11:42:04', 12, '0.0000', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 66, 0, NULL);
INSERT INTO `tec_sales` (`id`, `date`, `customer_id`, `customer_name`, `total`, `product_discount`, `order_discount_id`, `order_discount`, `total_discount`, `product_tax`, `order_tax_id`, `order_tax`, `total_tax`, `grand_total`, `total_items`, `total_quantity`, `paid`, `created_by`, `updated_by`, `updated_at`, `note`, `status`, `rounding`, `store_id`, `hold_ref`, `date_in`, `date_out`, `waiting_number`, `total_cost`, `delivery_by`, `delivery_status`, `delivery_note`, `delivery_staff`, `delivery_date`, `delivery_attachment`, `next_payment`, `alert_payment_day`, `inv_number`, `sale_customer_group`, `customer_group_name`) VALUES (67, '2026-05-10 14:44:36', 1, 'ទូទៅ', '18000.0000', '0.0000', NULL, '0.0000', '0.0000', '0.0000', NULL, '0.0000', '0.0000', '18000.0000', 2, '3.00', '18000.0000', 1, NULL, NULL, '', 'paid', '0.0000', 1, 'ទូទៅ', NULL, '2026-05-10 14:44:36', 13, '0.0000', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 67, 0, NULL);
INSERT INTO `tec_sales` (`id`, `date`, `customer_id`, `customer_name`, `total`, `product_discount`, `order_discount_id`, `order_discount`, `total_discount`, `product_tax`, `order_tax_id`, `order_tax`, `total_tax`, `grand_total`, `total_items`, `total_quantity`, `paid`, `created_by`, `updated_by`, `updated_at`, `note`, `status`, `rounding`, `store_id`, `hold_ref`, `date_in`, `date_out`, `waiting_number`, `total_cost`, `delivery_by`, `delivery_status`, `delivery_note`, `delivery_staff`, `delivery_date`, `delivery_attachment`, `next_payment`, `alert_payment_day`, `inv_number`, `sale_customer_group`, `customer_group_name`) VALUES (68, '2026-05-10 15:50:12', 1, 'ទូទៅ', '6000.0000', '0.0000', NULL, '0.0000', '0.0000', '0.0000', NULL, '0.0000', '0.0000', '6000.0000', 1, '1.00', '6000.0000', 1, NULL, NULL, '', 'paid', '0.0000', 1, 'ទូទៅ', NULL, '2026-05-10 15:50:12', 14, '0.0000', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 68, 0, NULL);


#
# TABLE STRUCTURE FOR: tec_sessions
#

DROP TABLE IF EXISTS `tec_sessions`;

CREATE TABLE `tec_sessions` (
  `id` varchar(40) NOT NULL,
  `ip_address` varchar(45) NOT NULL,
  `timestamp` int(10) unsigned NOT NULL DEFAULT 0,
  `data` blob NOT NULL,
  PRIMARY KEY (`id`),
  KEY `ci_sessions_timestamp` (`timestamp`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;

INSERT INTO `tec_sessions` (`id`, `ip_address`, `timestamp`, `data`) VALUES ('0b754f1e297843be746b024aa736fe89b4212f72', '203.147.140.70', 1778420229, '__ci_last_regenerate|i:1778420229;identity|s:5:\"admin\";username|s:5:\"admin\";email|s:5:\"admin\";user_id|s:1:\"1\";first_name|s:5:\"Super\";last_name|s:5:\"Admin\";created_on|s:24:\"Thu 25 Jun 2015 10:59 AM\";old_last_login|s:10:\"1778399042\";last_ip|s:14:\"203.147.140.70\";avatar|N;gender|s:4:\"male\";group_id|s:1:\"1\";store_id|s:1:\"1\";terminal_id|s:1:\"1\";has_store_id|N;register_id|s:1:\"6\";cash_in_hand|s:10:\"30000.0000\";register_open_time|s:19:\"2026-05-10 07:49:07\";');
INSERT INTO `tec_sessions` (`id`, `ip_address`, `timestamp`, `data`) VALUES ('160af11dfa9bf941f8e540cf3545395f43c1359c', '203.147.140.70', 1778388124, '__ci_last_regenerate|i:1778388124;identity|s:5:\"admin\";username|s:5:\"admin\";email|s:5:\"admin\";user_id|s:1:\"1\";first_name|s:5:\"Super\";last_name|s:5:\"Admin\";created_on|s:24:\"Thu 25 Jun 2015 10:59 AM\";old_last_login|s:10:\"1778333578\";last_ip|s:14:\"203.147.140.70\";avatar|N;gender|s:4:\"male\";group_id|s:1:\"1\";store_id|i:1;terminal_id|s:1:\"1\";has_store_id|N;register_id|s:1:\"6\";cash_in_hand|s:10:\"30000.0000\";register_open_time|s:19:\"2026-05-10 07:49:07\";rmspos|i:1;message|s:87:\"ការលក់ត្រូវបានបញ្ចូលដោយជោគជ័យ\";__ci_vars|a:1:{s:7:\"message\";s:3:\"old\";}');
INSERT INTO `tec_sessions` (`id`, `ip_address`, `timestamp`, `data`) VALUES ('16eb3492db65b628fb2c6441fa2f61012b39ca50', '35.252.199.68', 1778370572, '__ci_last_regenerate|i:1778370570;');
INSERT INTO `tec_sessions` (`id`, `ip_address`, `timestamp`, `data`) VALUES ('1f6095320dffeceb0d4bb6a935398dbdf41c4221', '203.147.140.70', 1778381993, '__ci_last_regenerate|i:1778381993;identity|s:5:\"admin\";username|s:5:\"admin\";email|s:5:\"admin\";user_id|s:1:\"1\";first_name|s:5:\"Super\";last_name|s:5:\"Admin\";created_on|s:24:\"Thu 25 Jun 2015 10:59 AM\";old_last_login|s:10:\"1778333578\";last_ip|s:14:\"203.147.140.70\";avatar|N;gender|s:4:\"male\";group_id|s:1:\"1\";store_id|i:1;terminal_id|s:1:\"1\";has_store_id|N;register_id|s:1:\"6\";cash_in_hand|s:10:\"30000.0000\";register_open_time|s:19:\"2026-05-10 07:49:07\";rmspos|i:1;message|s:87:\"ការលក់ត្រូវបានបញ្ចូលដោយជោគជ័យ\";__ci_vars|a:1:{s:7:\"message\";s:3:\"old\";}');
INSERT INTO `tec_sessions` (`id`, `ip_address`, `timestamp`, `data`) VALUES ('31f8f170a5502dbbbdf0631c370460f003b6a5c4', '159.89.116.249', 1778332402, '__ci_last_regenerate|i:1778332395;');
INSERT INTO `tec_sessions` (`id`, `ip_address`, `timestamp`, `data`) VALUES ('43c4ee31c53e2c7c5905fabf813eb77e9fba28fc', '203.147.140.70', 1778333577, '__ci_last_regenerate|i:1778333577;identity|s:5:\"admin\";username|s:5:\"admin\";email|s:5:\"admin\";user_id|s:1:\"1\";first_name|s:5:\"Super\";last_name|s:5:\"Admin\";created_on|s:24:\"Thu 25 Jun 2015 10:59 AM\";old_last_login|s:10:\"1778246039\";last_ip|s:14:\"203.147.140.70\";avatar|N;gender|s:4:\"male\";group_id|s:1:\"1\";store_id|i:1;terminal_id|s:1:\"1\";has_store_id|N;register_id|s:1:\"5\";cash_in_hand|s:10:\"30000.0000\";register_open_time|s:19:\"2026-05-09 08:01:29\";');
INSERT INTO `tec_sessions` (`id`, `ip_address`, `timestamp`, `data`) VALUES ('4bebd79ccbba8fcc8ff729efd2122c6884d696c7', '203.147.140.70', 1778403012, '__ci_last_regenerate|i:1778403012;identity|s:5:\"admin\";username|s:5:\"admin\";email|s:5:\"admin\";user_id|s:1:\"1\";first_name|s:5:\"Super\";last_name|s:5:\"Admin\";created_on|s:24:\"Thu 25 Jun 2015 10:59 AM\";old_last_login|s:10:\"1778374124\";last_ip|s:14:\"203.147.140.70\";avatar|N;gender|s:4:\"male\";group_id|s:1:\"1\";store_id|i:1;terminal_id|s:1:\"1\";has_store_id|N;register_id|s:1:\"6\";cash_in_hand|s:10:\"30000.0000\";register_open_time|s:19:\"2026-05-10 07:49:07\";rmspos|i:1;message|s:87:\"ការលក់ត្រូវបានបញ្ចូលដោយជោគជ័យ\";__ci_vars|a:1:{s:7:\"message\";s:3:\"old\";}');
INSERT INTO `tec_sessions` (`id`, `ip_address`, `timestamp`, `data`) VALUES ('505603ac683aaa38addc3fc75b5ab47ad17dc163', '203.147.140.70', 1778387451, '__ci_last_regenerate|i:1778387451;identity|s:5:\"admin\";username|s:5:\"admin\";email|s:5:\"admin\";user_id|s:1:\"1\";first_name|s:5:\"Super\";last_name|s:5:\"Admin\";created_on|s:24:\"Thu 25 Jun 2015 10:59 AM\";old_last_login|s:10:\"1778333578\";last_ip|s:14:\"203.147.140.70\";avatar|N;gender|s:4:\"male\";group_id|s:1:\"1\";store_id|i:1;terminal_id|s:1:\"1\";has_store_id|N;register_id|s:1:\"6\";cash_in_hand|s:10:\"30000.0000\";register_open_time|s:19:\"2026-05-10 07:49:07\";rmspos|i:1;message|s:87:\"ការលក់ត្រូវបានបញ្ចូលដោយជោគជ័យ\";__ci_vars|a:1:{s:7:\"message\";s:3:\"old\";}');
INSERT INTO `tec_sessions` (`id`, `ip_address`, `timestamp`, `data`) VALUES ('5632aa93f3ddce4dbdc535a582ba4224a5417fd8', '203.147.140.70', 1778387074, '__ci_last_regenerate|i:1778387074;identity|s:5:\"admin\";username|s:5:\"admin\";email|s:5:\"admin\";user_id|s:1:\"1\";first_name|s:5:\"Super\";last_name|s:5:\"Admin\";created_on|s:24:\"Thu 25 Jun 2015 10:59 AM\";old_last_login|s:10:\"1778333578\";last_ip|s:14:\"203.147.140.70\";avatar|N;gender|s:4:\"male\";group_id|s:1:\"1\";store_id|i:1;terminal_id|s:1:\"1\";has_store_id|N;register_id|s:1:\"6\";cash_in_hand|s:10:\"30000.0000\";register_open_time|s:19:\"2026-05-10 07:49:07\";');
INSERT INTO `tec_sessions` (`id`, `ip_address`, `timestamp`, `data`) VALUES ('5bd5c7fc5228ebf1e71d82d2051d0c56c7ac3fc7', '203.147.140.70', 1778332609, '__ci_last_regenerate|i:1778332609;identity|s:5:\"admin\";username|s:5:\"admin\";email|s:5:\"admin\";user_id|s:1:\"1\";first_name|s:5:\"Super\";last_name|s:5:\"Admin\";created_on|s:24:\"Thu 25 Jun 2015 10:59 AM\";old_last_login|s:10:\"1778246039\";last_ip|s:14:\"203.147.140.70\";avatar|N;gender|s:4:\"male\";group_id|s:1:\"1\";store_id|i:1;terminal_id|s:1:\"1\";has_store_id|N;register_id|s:1:\"5\";cash_in_hand|s:10:\"30000.0000\";register_open_time|s:19:\"2026-05-09 08:01:29\";');
INSERT INTO `tec_sessions` (`id`, `ip_address`, `timestamp`, `data`) VALUES ('5e524a9afed5b16866baf4bf206ca6314accf01a', '203.147.140.70', 1778420408, '__ci_last_regenerate|i:1778420229;identity|s:5:\"admin\";username|s:5:\"admin\";email|s:5:\"admin\";user_id|s:1:\"1\";first_name|s:5:\"Super\";last_name|s:5:\"Admin\";created_on|s:24:\"Thu 25 Jun 2015 10:59 AM\";old_last_login|s:10:\"1778399042\";last_ip|s:14:\"203.147.140.70\";avatar|N;gender|s:4:\"male\";group_id|s:1:\"1\";store_id|i:1;terminal_id|s:1:\"1\";has_store_id|N;');
INSERT INTO `tec_sessions` (`id`, `ip_address`, `timestamp`, `data`) VALUES ('6c6b43a94c861063509216e95a8d5d35dc3c01e4', '203.147.140.70', 1778388124, '__ci_last_regenerate|i:1778388124;identity|s:5:\"admin\";username|s:5:\"admin\";email|s:5:\"admin\";user_id|s:1:\"1\";first_name|s:5:\"Super\";last_name|s:5:\"Admin\";created_on|s:24:\"Thu 25 Jun 2015 10:59 AM\";old_last_login|s:10:\"1778333578\";last_ip|s:14:\"203.147.140.70\";avatar|N;gender|s:4:\"male\";group_id|s:1:\"1\";store_id|i:1;terminal_id|s:1:\"1\";has_store_id|N;register_id|s:1:\"6\";cash_in_hand|s:10:\"30000.0000\";register_open_time|s:19:\"2026-05-10 07:49:07\";');
INSERT INTO `tec_sessions` (`id`, `ip_address`, `timestamp`, `data`) VALUES ('8052904971826318cc58c1476b7466831d5bea05', '159.89.116.249', 1778332394, '__ci_last_regenerate|i:1778332393;');
INSERT INTO `tec_sessions` (`id`, `ip_address`, `timestamp`, `data`) VALUES ('8dd5b47ab73ead89a4cc16b64c108e2e70410978', '203.147.140.70', 1778333605, '__ci_last_regenerate|i:1778333577;identity|s:5:\"admin\";username|s:5:\"admin\";email|s:5:\"admin\";user_id|s:1:\"1\";first_name|s:5:\"Super\";last_name|s:5:\"Admin\";created_on|s:24:\"Thu 25 Jun 2015 10:59 AM\";old_last_login|s:10:\"1778286118\";last_ip|s:14:\"203.147.140.70\";avatar|N;gender|s:4:\"male\";group_id|s:1:\"1\";store_id|i:1;terminal_id|s:1:\"1\";has_store_id|N;');
INSERT INTO `tec_sessions` (`id`, `ip_address`, `timestamp`, `data`) VALUES ('b856bf016828f5b767d76ce2f0b5c044d25816dd', '203.147.140.70', 1778377179, '__ci_last_regenerate|i:1778377179;identity|s:5:\"admin\";username|s:5:\"admin\";email|s:5:\"admin\";user_id|s:1:\"1\";first_name|s:5:\"Super\";last_name|s:5:\"Admin\";created_on|s:24:\"Thu 25 Jun 2015 10:59 AM\";old_last_login|s:10:\"1778333578\";last_ip|s:14:\"203.147.140.70\";avatar|N;gender|s:4:\"male\";group_id|s:1:\"1\";store_id|i:1;terminal_id|s:1:\"1\";has_store_id|N;register_id|s:1:\"6\";cash_in_hand|s:10:\"30000.0000\";register_open_time|s:19:\"2026-05-10 07:49:07\";rmspos|i:1;message|s:87:\"ការលក់ត្រូវបានបញ្ចូលដោយជោគជ័យ\";__ci_vars|a:1:{s:7:\"message\";s:3:\"old\";}');
INSERT INTO `tec_sessions` (`id`, `ip_address`, `timestamp`, `data`) VALUES ('ca2b6c5a5dd8100a3f182265dfb0b924c6c0f412', '45.55.50.66', 1778397641, '__ci_last_regenerate|i:1778397634;');
INSERT INTO `tec_sessions` (`id`, `ip_address`, `timestamp`, `data`) VALUES ('cb0467d25897991610be51dc90ecfd4a7fe723c4', '45.55.50.66', 1778397632, '__ci_last_regenerate|i:1778397632;');
INSERT INTO `tec_sessions` (`id`, `ip_address`, `timestamp`, `data`) VALUES ('d22ddef93479de859225805e3d67669277791d92', '203.147.140.70', 1778329638, '__ci_last_regenerate|i:1778329638;identity|s:5:\"admin\";username|s:5:\"admin\";email|s:5:\"admin\";user_id|s:1:\"1\";first_name|s:5:\"Super\";last_name|s:5:\"Admin\";created_on|s:24:\"Thu 25 Jun 2015 10:59 AM\";old_last_login|s:10:\"1778246039\";last_ip|s:14:\"203.147.140.70\";avatar|N;gender|s:4:\"male\";group_id|s:1:\"1\";store_id|i:1;terminal_id|s:1:\"1\";has_store_id|N;register_id|s:1:\"5\";cash_in_hand|s:10:\"30000.0000\";register_open_time|s:19:\"2026-05-09 08:01:29\";');
INSERT INTO `tec_sessions` (`id`, `ip_address`, `timestamp`, `data`) VALUES ('d624d4c26cdcb94dbfd705cfe05d5cc7eac8c012', '203.147.140.70', 1778403012, '__ci_last_regenerate|i:1778403012;identity|s:5:\"admin\";username|s:5:\"admin\";email|s:5:\"admin\";user_id|s:1:\"1\";first_name|s:5:\"Super\";last_name|s:5:\"Admin\";created_on|s:24:\"Thu 25 Jun 2015 10:59 AM\";old_last_login|s:10:\"1778374124\";last_ip|s:14:\"203.147.140.70\";avatar|N;gender|s:4:\"male\";group_id|s:1:\"1\";store_id|i:1;terminal_id|s:1:\"1\";has_store_id|N;register_id|s:1:\"6\";cash_in_hand|s:10:\"30000.0000\";register_open_time|s:19:\"2026-05-10 07:49:07\";');
INSERT INTO `tec_sessions` (`id`, `ip_address`, `timestamp`, `data`) VALUES ('f8e634c1f96ace0086a1de264f09154ebeace4c9', '203.147.140.70', 1778328881, '__ci_last_regenerate|i:1778328881;identity|s:5:\"admin\";username|s:5:\"admin\";email|s:5:\"admin\";user_id|s:1:\"1\";first_name|s:5:\"Super\";last_name|s:5:\"Admin\";created_on|s:24:\"Thu 25 Jun 2015 10:59 AM\";old_last_login|s:10:\"1778246039\";last_ip|s:14:\"203.147.140.70\";avatar|N;gender|s:4:\"male\";group_id|s:1:\"1\";store_id|i:1;terminal_id|s:1:\"1\";has_store_id|N;register_id|s:1:\"5\";cash_in_hand|s:10:\"30000.0000\";register_open_time|s:19:\"2026-05-09 08:01:29\";');
INSERT INTO `tec_sessions` (`id`, `ip_address`, `timestamp`, `data`) VALUES ('fad7e3a10f8ce40d1e80ed6fba4fe68b2a86a970', '35.252.199.68', 1778370582, '__ci_last_regenerate|i:1778370581;');
INSERT INTO `tec_sessions` (`id`, `ip_address`, `timestamp`, `data`) VALUES ('fbdca1ba6d3c16aa5c4fb8f9d124d302bdd2dd1c', '203.147.140.70', 1778377787, '__ci_last_regenerate|i:1778377787;identity|s:5:\"admin\";username|s:5:\"admin\";email|s:5:\"admin\";user_id|s:1:\"1\";first_name|s:5:\"Super\";last_name|s:5:\"Admin\";created_on|s:24:\"Thu 25 Jun 2015 10:59 AM\";old_last_login|s:10:\"1778333578\";last_ip|s:14:\"203.147.140.70\";avatar|N;gender|s:4:\"male\";group_id|s:1:\"1\";store_id|i:1;terminal_id|s:1:\"1\";has_store_id|N;register_id|s:1:\"6\";cash_in_hand|s:10:\"30000.0000\";register_open_time|s:19:\"2026-05-10 07:49:07\";rmspos|i:1;message|s:87:\"ការលក់ត្រូវបានបញ្ចូលដោយជោគជ័យ\";__ci_vars|a:1:{s:7:\"message\";s:3:\"old\";}');


#
# TABLE STRUCTURE FOR: tec_settings
#

DROP TABLE IF EXISTS `tec_settings`;

CREATE TABLE `tec_settings` (
  `setting_id` int(1) NOT NULL,
  `logo` varchar(255) NOT NULL,
  `site_name` varchar(55) NOT NULL,
  `tel` varchar(20) NOT NULL,
  `dateformat` varchar(25) DEFAULT NULL,
  `timeformat` varchar(20) DEFAULT NULL,
  `default_email` varchar(100) NOT NULL,
  `language` varchar(20) NOT NULL,
  `version` varchar(10) NOT NULL DEFAULT '1.0',
  `theme` varchar(20) NOT NULL,
  `timezone` varchar(255) NOT NULL DEFAULT '0',
  `protocol` varchar(20) NOT NULL DEFAULT 'mail',
  `smtp_host` varchar(255) DEFAULT NULL,
  `smtp_user` varchar(100) DEFAULT NULL,
  `smtp_pass` varchar(255) DEFAULT NULL,
  `smtp_port` varchar(10) DEFAULT '25',
  `smtp_crypto` varchar(5) DEFAULT NULL,
  `mmode` tinyint(1) NOT NULL,
  `captcha` tinyint(1) NOT NULL DEFAULT 1,
  `mailpath` varchar(55) DEFAULT NULL,
  `currency_prefix` varchar(3) NOT NULL,
  `default_customer` int(11) NOT NULL,
  `default_tax_rate` varchar(20) NOT NULL,
  `rows_per_page` int(2) NOT NULL,
  `total_rows` int(2) NOT NULL,
  `header` varchar(1000) DEFAULT NULL,
  `footer` varchar(1000) DEFAULT NULL,
  `bsty` tinyint(4) NOT NULL,
  `display_kb` tinyint(4) NOT NULL,
  `default_category` int(11) NOT NULL,
  `default_discount` varchar(20) NOT NULL,
  `item_addition` tinyint(1) NOT NULL,
  `barcode_symbology` varchar(55) DEFAULT NULL,
  `pro_limit` tinyint(4) NOT NULL,
  `decimals` tinyint(1) NOT NULL DEFAULT 2,
  `thousands_sep` varchar(2) NOT NULL DEFAULT ',',
  `decimals_sep` varchar(2) NOT NULL DEFAULT '.',
  `focus_add_item` varchar(55) DEFAULT NULL,
  `add_customer` varchar(55) DEFAULT NULL,
  `toggle_category_slider` varchar(55) DEFAULT NULL,
  `cancel_sale` varchar(55) DEFAULT NULL,
  `suspend_sale` varchar(55) DEFAULT NULL,
  `print_order` varchar(55) DEFAULT NULL,
  `print_bill` varchar(55) DEFAULT NULL,
  `finalize_sale` varchar(55) DEFAULT NULL,
  `today_sale` varchar(55) DEFAULT NULL,
  `open_hold_bills` varchar(55) DEFAULT NULL,
  `close_register` varchar(55) DEFAULT NULL,
  `java_applet` tinyint(1) NOT NULL,
  `receipt_printer` varchar(55) DEFAULT NULL,
  `pos_printers` varchar(255) DEFAULT NULL,
  `cash_drawer_codes` varchar(55) DEFAULT NULL,
  `char_per_line` tinyint(4) DEFAULT 42,
  `rounding` tinyint(1) DEFAULT 0,
  `pin_code` varchar(20) DEFAULT NULL,
  `stripe` tinyint(1) DEFAULT NULL,
  `stripe_secret_key` varchar(100) DEFAULT NULL,
  `stripe_publishable_key` varchar(100) DEFAULT NULL,
  `purchase_code` varchar(100) DEFAULT NULL,
  `envato_username` varchar(50) DEFAULT NULL,
  `theme_style` varchar(25) DEFAULT 'green',
  `after_sale_page` tinyint(1) DEFAULT NULL,
  `overselling` tinyint(1) DEFAULT 1,
  `multi_store` tinyint(1) DEFAULT NULL,
  `qty_decimals` tinyint(1) DEFAULT 2,
  `symbol` varchar(55) DEFAULT NULL,
  `sac` tinyint(1) DEFAULT 0,
  `display_symbol` tinyint(1) DEFAULT NULL,
  `remote_printing` tinyint(1) DEFAULT 1,
  `printer` int(11) DEFAULT NULL,
  `order_printers` varchar(55) DEFAULT NULL,
  `auto_print` tinyint(1) DEFAULT 0,
  `local_printers` tinyint(1) DEFAULT NULL,
  `rtl` tinyint(1) DEFAULT NULL,
  `print_img` tinyint(1) DEFAULT NULL,
  `exchange_rate` decimal(10,2) NOT NULL,
  `exchange_rate2` decimal(10,2) NOT NULL,
  `exchange_rate_symbol` varchar(10) DEFAULT NULL,
  `exchange_rate_multiply` varchar(1) DEFAULT NULL,
  `exchange_rate2_symbol` varchar(10) DEFAULT NULL,
  `exchange_rate2_multiply` varchar(1) DEFAULT NULL,
  `show_wholesale` tinyint(1) NOT NULL,
  `hold_customer` tinyint(1) NOT NULL,
  `label_fontsize` tinyint(1) NOT NULL,
  `label_width` tinyint(1) NOT NULL,
  `label_height` tinyint(1) NOT NULL,
  `show_itemdiscount` tinyint(1) NOT NULL,
  `show_exc_paid` tinyint(1) NOT NULL DEFAULT 1,
  `show_refbarcode` tinyint(1) NOT NULL,
  `show_date_inout` tinyint(1) NOT NULL,
  `waiting_number` int(11) NOT NULL,
  `show_waiting_number` tinyint(1) NOT NULL,
  `multistore_quantity` tinyint(1) NOT NULL,
  `customer_as_holdref` tinyint(1) NOT NULL,
  `show_changedecimal` tinyint(1) NOT NULL,
  `show_inclusive_tax` tinyint(1) NOT NULL,
  `multistore_product` tinyint(1) NOT NULL,
  `show_icesugar` tinyint(1) NOT NULL,
  `auto_print_order` tinyint(1) NOT NULL,
  `print_order_label` tinyint(1) NOT NULL,
  `receipt_font_size` tinyint(1) NOT NULL,
  `print_customer_label` tinyint(1) NOT NULL,
  `show_unit` tinyint(1) NOT NULL,
  `show_expiry` tinyint(1) NOT NULL,
  `staff_change_pos_price` tinyint(1) NOT NULL,
  `staff_change_pos_discount` tinyint(1) NOT NULL,
  `show_product_service` tinyint(1) NOT NULL,
  `show_drink_ingredient` tinyint(1) NOT NULL DEFAULT 1,
  `pos_prodtype_filter` tinyint(4) NOT NULL DEFAULT 0,
  `show_delivery` tinyint(4) NOT NULL DEFAULT 0,
  `show_alert_payment` tinyint(4) NOT NULL DEFAULT 0,
  `show_orderbill` tinyint(4) DEFAULT 1,
  `telegram_notification` tinyint(4) DEFAULT 0,
  `receipt_format` tinyint(4) DEFAULT 0,
  `show_product_options` tinyint(4) NOT NULL DEFAULT 0,
  `product_second_name` tinyint(4) NOT NULL DEFAULT 0,
  `each_spent` decimal(25,4) DEFAULT NULL,
  `ca_point` decimal(25,4) DEFAULT NULL,
  `each_sale` decimal(25,4) DEFAULT NULL,
  `sa_point` decimal(25,4) DEFAULT NULL,
  `show_item_length` tinyint(1) NOT NULL DEFAULT 0,
  `ws_barcode_type` varchar(40) DEFAULT 'weight',
  `ws_barcode_chars` int(11) DEFAULT NULL,
  `flag_chars` int(11) DEFAULT NULL,
  `item_code_start` int(11) DEFAULT NULL,
  `item_code_chars` int(11) DEFAULT NULL,
  `price_start` int(11) DEFAULT NULL,
  `price_chars` int(11) DEFAULT NULL,
  `price_divide_by` int(11) DEFAULT NULL,
  `weight_start` int(11) DEFAULT NULL,
  `weight_chars` int(11) DEFAULT NULL,
  `weight_divide_by` int(11) DEFAULT NULL,
  `show_previous_due` tinyint(4) NOT NULL DEFAULT 0,
  `pos_printer_margin` tinyint(4) NOT NULL DEFAULT 0,
  `show_customer_group` tinyint(4) DEFAULT 0,
  `telegram_chat_id` varchar(250) DEFAULT NULL,
  `continue_inv_number` tinyint(4) DEFAULT 0,
  `update_cost` tinyint(4) DEFAULT 0,
  `divided` tinyint(4) NOT NULL DEFAULT 0,
  `show_imagea4` tinyint(1) NOT NULL,
  `show_labelprice` tinyint(1) NOT NULL,
  PRIMARY KEY (`setting_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;

INSERT INTO `tec_settings` (`setting_id`, `logo`, `site_name`, `tel`, `dateformat`, `timeformat`, `default_email`, `language`, `version`, `theme`, `timezone`, `protocol`, `smtp_host`, `smtp_user`, `smtp_pass`, `smtp_port`, `smtp_crypto`, `mmode`, `captcha`, `mailpath`, `currency_prefix`, `default_customer`, `default_tax_rate`, `rows_per_page`, `total_rows`, `header`, `footer`, `bsty`, `display_kb`, `default_category`, `default_discount`, `item_addition`, `barcode_symbology`, `pro_limit`, `decimals`, `thousands_sep`, `decimals_sep`, `focus_add_item`, `add_customer`, `toggle_category_slider`, `cancel_sale`, `suspend_sale`, `print_order`, `print_bill`, `finalize_sale`, `today_sale`, `open_hold_bills`, `close_register`, `java_applet`, `receipt_printer`, `pos_printers`, `cash_drawer_codes`, `char_per_line`, `rounding`, `pin_code`, `stripe`, `stripe_secret_key`, `stripe_publishable_key`, `purchase_code`, `envato_username`, `theme_style`, `after_sale_page`, `overselling`, `multi_store`, `qty_decimals`, `symbol`, `sac`, `display_symbol`, `remote_printing`, `printer`, `order_printers`, `auto_print`, `local_printers`, `rtl`, `print_img`, `exchange_rate`, `exchange_rate2`, `exchange_rate_symbol`, `exchange_rate_multiply`, `exchange_rate2_symbol`, `exchange_rate2_multiply`, `show_wholesale`, `hold_customer`, `label_fontsize`, `label_width`, `label_height`, `show_itemdiscount`, `show_exc_paid`, `show_refbarcode`, `show_date_inout`, `waiting_number`, `show_waiting_number`, `multistore_quantity`, `customer_as_holdref`, `show_changedecimal`, `show_inclusive_tax`, `multistore_product`, `show_icesugar`, `auto_print_order`, `print_order_label`, `receipt_font_size`, `print_customer_label`, `show_unit`, `show_expiry`, `staff_change_pos_price`, `staff_change_pos_discount`, `show_product_service`, `show_drink_ingredient`, `pos_prodtype_filter`, `show_delivery`, `show_alert_payment`, `show_orderbill`, `telegram_notification`, `receipt_format`, `show_product_options`, `product_second_name`, `each_spent`, `ca_point`, `each_sale`, `sa_point`, `show_item_length`, `ws_barcode_type`, `ws_barcode_chars`, `flag_chars`, `item_code_start`, `item_code_chars`, `price_start`, `price_chars`, `price_divide_by`, `weight_start`, `weight_chars`, `weight_divide_by`, `show_previous_due`, `pos_printer_margin`, `show_customer_group`, `telegram_chat_id`, `continue_inv_number`, `update_cost`, `divided`, `show_imagea4`, `show_labelprice`) VALUES (1, 'Logo-Photoroom.png', 'Coffee 36', '093 889 567', 'D j M Y', 'h:i A', 'simplepos@gmail.com', 'english', '5.2.13', 'default', 'Asia/Kuala_Lumpur', 'mail', 'smtp.gmail.com', '', '', '587', '', 0, 0, NULL, 'USD', 1, '0', 25, 30, NULL, NULL, 3, 0, 0, '0', 1, NULL, 21, 0, ',', '.', 'ALT+F1', 'ALT+F2', 'ALT+F10', 'ALT+F5', 'ALT+F6', 'ALT+F11', 'ALT+F12', 'ALT+F8', 'Ctrl+F1', 'Ctrl+F2', 'ALT+F7', 0, '', '', '', 42, 0, NULL, 0, '123', '123', '65806230-5697-4f94-89f4-49275c3c19d8', 'sgr1875', 'blue', 0, 1, 0, 0, '៛', 0, 1, 1, NULL, 'null', 1, 0, 0, 0, '4000.00', '0.00', '$', '/', 'B', '*', 0, 0, 8, 40, 25, 0, 1, 0, 0, 14, 0, 0, 1, 0, 0, 0, 0, 0, 0, 10, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, '0.0000', '0.0000', '0.0000', '0.0000', 0, 'weight', 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, 0, 1);


#
# TABLE STRUCTURE FOR: tec_stores
#

DROP TABLE IF EXISTS `tec_stores`;

CREATE TABLE `tec_stores` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `name` varchar(250) NOT NULL,
  `code` varchar(20) NOT NULL,
  `logo` varchar(250) DEFAULT NULL,
  `email` varchar(250) DEFAULT NULL,
  `phone` varchar(250) NOT NULL,
  `address1` varchar(250) DEFAULT NULL,
  `address2` varchar(250) DEFAULT NULL,
  `city` varchar(250) DEFAULT NULL,
  `state` varchar(250) DEFAULT NULL,
  `postal_code` varchar(250) DEFAULT NULL,
  `country` varchar(250) DEFAULT NULL,
  `currency_code` varchar(3) DEFAULT NULL,
  `receipt_header` text DEFAULT NULL,
  `receipt_footer` text DEFAULT NULL,
  `promotion_photo` varchar(250) DEFAULT NULL,
  `inv_number` int(11) NOT NULL DEFAULT 0,
  `aba_qrstring` varchar(250) DEFAULT NULL,
  `acleda_qrstring` varchar(250) DEFAULT NULL,
  `telegram_chat_id` varchar(250) DEFAULT NULL,
  `show_header` tinyint(1) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;

INSERT INTO `tec_stores` (`id`, `name`, `code`, `logo`, `email`, `phone`, `address1`, `address2`, `city`, `state`, `postal_code`, `country`, `currency_code`, `receipt_header`, `receipt_footer`, `promotion_photo`, `inv_number`, `aba_qrstring`, `acleda_qrstring`, `telegram_chat_id`, `show_header`) VALUES (1, 'COFFEE 36', 'POS', '', 'store@gmail.com', '088 61 666 86 / 076 61 666 86', 'ភូមិអូឈើក្រំ ឃុំស្ទឹងកាច់ ស្រុកសាលាក្រៅ', 'ខេត្តប៉ៃលិន', '', '', '', '', 'USD', '', 'Thank you! have a nice day.', '', 68, '', '', NULL, 0);


#
# TABLE STRUCTURE FOR: tec_suppliers
#

DROP TABLE IF EXISTS `tec_suppliers`;

CREATE TABLE `tec_suppliers` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `name` varchar(55) NOT NULL,
  `cf1` varchar(255) NOT NULL,
  `cf2` varchar(255) NOT NULL,
  `phone` varchar(20) NOT NULL,
  `email` varchar(100) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;

#
# TABLE STRUCTURE FOR: tec_suspended_items
#

DROP TABLE IF EXISTS `tec_suspended_items`;

CREATE TABLE `tec_suspended_items` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `suspend_id` int(11) NOT NULL,
  `product_id` int(11) NOT NULL,
  `quantity` decimal(15,2) NOT NULL,
  `unit_price` decimal(25,4) NOT NULL,
  `net_unit_price` decimal(25,4) NOT NULL,
  `discount` varchar(20) DEFAULT NULL,
  `item_discount` decimal(25,4) DEFAULT NULL,
  `tax` int(20) DEFAULT NULL,
  `item_tax` decimal(25,4) DEFAULT NULL,
  `subtotal` decimal(25,4) NOT NULL,
  `real_unit_price` decimal(25,4) DEFAULT NULL,
  `product_code` varchar(150) DEFAULT NULL,
  `product_name` varchar(250) DEFAULT NULL,
  `comment` varchar(255) DEFAULT NULL,
  `next_service_date` date DEFAULT NULL,
  `length` decimal(15,2) DEFAULT NULL,
  `image` text DEFAULT NULL,
  `second_name` varchar(255) DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;

#
# TABLE STRUCTURE FOR: tec_suspended_sales
#

DROP TABLE IF EXISTS `tec_suspended_sales`;

CREATE TABLE `tec_suspended_sales` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `date` datetime NOT NULL,
  `customer_id` int(11) NOT NULL,
  `customer_name` varchar(55) NOT NULL,
  `total` decimal(25,4) NOT NULL,
  `product_discount` decimal(25,4) DEFAULT NULL,
  `order_discount_id` varchar(20) DEFAULT NULL,
  `order_discount` decimal(25,4) DEFAULT NULL,
  `total_discount` decimal(25,4) DEFAULT NULL,
  `product_tax` decimal(25,4) DEFAULT NULL,
  `order_tax_id` varchar(20) DEFAULT NULL,
  `order_tax` decimal(25,4) DEFAULT NULL,
  `total_tax` decimal(25,4) DEFAULT NULL,
  `grand_total` decimal(25,4) NOT NULL,
  `total_items` int(11) DEFAULT NULL,
  `total_quantity` decimal(15,2) DEFAULT NULL,
  `paid` decimal(25,4) DEFAULT NULL,
  `created_by` int(11) DEFAULT NULL,
  `updated_by` int(11) DEFAULT NULL,
  `updated_at` datetime DEFAULT NULL,
  `note` varchar(1000) DEFAULT NULL,
  `hold_ref` varchar(255) DEFAULT NULL,
  `store_id` int(11) NOT NULL DEFAULT 1,
  `date_in` datetime DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;

#
# TABLE STRUCTURE FOR: tec_unit
#

DROP TABLE IF EXISTS `tec_unit`;

CREATE TABLE `tec_unit` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `code` varchar(20) NOT NULL,
  `name` varchar(100) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;

#
# TABLE STRUCTURE FOR: tec_user_logins
#

DROP TABLE IF EXISTS `tec_user_logins`;

CREATE TABLE `tec_user_logins` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `user_id` int(11) NOT NULL,
  `company_id` int(11) DEFAULT NULL,
  `ip_address` varbinary(16) NOT NULL,
  `login` varchar(100) NOT NULL,
  `time` timestamp NULL DEFAULT current_timestamp(),
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=18 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;

INSERT INTO `tec_user_logins` (`id`, `user_id`, `company_id`, `ip_address`, `login`, `time`) VALUES (1, 1, NULL, '119.13.157.135', 'Admin', '2026-03-18 08:14:31');
INSERT INTO `tec_user_logins` (`id`, `user_id`, `company_id`, `ip_address`, `login`, `time`) VALUES (2, 1, NULL, '119.13.157.135', 'admin', '2026-03-20 08:36:03');
INSERT INTO `tec_user_logins` (`id`, `user_id`, `company_id`, `ip_address`, `login`, `time`) VALUES (3, 1, NULL, '119.13.156.53', 'Admin', '2026-04-21 09:13:31');
INSERT INTO `tec_user_logins` (`id`, `user_id`, `company_id`, `ip_address`, `login`, `time`) VALUES (4, 1, NULL, '203.147.139.70', 'admin', '2026-04-21 10:35:35');
INSERT INTO `tec_user_logins` (`id`, `user_id`, `company_id`, `ip_address`, `login`, `time`) VALUES (5, 1, NULL, '203.147.134.102', 'admin', '2026-05-05 10:59:49');
INSERT INTO `tec_user_logins` (`id`, `user_id`, `company_id`, `ip_address`, `login`, `time`) VALUES (6, 1, NULL, '203.147.134.102', 'admin', '2026-05-05 10:59:49');
INSERT INTO `tec_user_logins` (`id`, `user_id`, `company_id`, `ip_address`, `login`, `time`) VALUES (7, 1, NULL, '203.147.139.70', 'admin', '2026-05-06 09:08:56');
INSERT INTO `tec_user_logins` (`id`, `user_id`, `company_id`, `ip_address`, `login`, `time`) VALUES (8, 1, NULL, '203.147.139.70', 'admin', '2026-05-07 08:14:27');
INSERT INTO `tec_user_logins` (`id`, `user_id`, `company_id`, `ip_address`, `login`, `time`) VALUES (9, 1, NULL, '203.147.139.70', 'admin', '2026-05-07 11:58:21');
INSERT INTO `tec_user_logins` (`id`, `user_id`, `company_id`, `ip_address`, `login`, `time`) VALUES (10, 1, NULL, '203.147.139.70', 'admin', '2026-05-07 14:07:35');
INSERT INTO `tec_user_logins` (`id`, `user_id`, `company_id`, `ip_address`, `login`, `time`) VALUES (11, 1, NULL, '203.147.139.70', 'admin', '2026-05-07 16:20:43');
INSERT INTO `tec_user_logins` (`id`, `user_id`, `company_id`, `ip_address`, `login`, `time`) VALUES (12, 1, NULL, '203.147.139.70', 'admin', '2026-05-07 16:25:06');
INSERT INTO `tec_user_logins` (`id`, `user_id`, `company_id`, `ip_address`, `login`, `time`) VALUES (13, 1, NULL, '203.147.139.70', 'admin', '2026-05-08 07:25:29');
INSERT INTO `tec_user_logins` (`id`, `user_id`, `company_id`, `ip_address`, `login`, `time`) VALUES (14, 1, NULL, '203.147.139.70', 'admin', '2026-05-08 10:20:59');
INSERT INTO `tec_user_logins` (`id`, `user_id`, `company_id`, `ip_address`, `login`, `time`) VALUES (15, 1, NULL, '203.147.140.70', 'admin', '2026-05-09 07:21:58');
INSERT INTO `tec_user_logins` (`id`, `user_id`, `company_id`, `ip_address`, `login`, `time`) VALUES (16, 1, NULL, '203.147.140.70', 'admin', '2026-05-09 20:32:58');
INSERT INTO `tec_user_logins` (`id`, `user_id`, `company_id`, `ip_address`, `login`, `time`) VALUES (17, 1, NULL, '203.147.140.70', 'admin', '2026-05-10 14:44:02');


#
# TABLE STRUCTURE FOR: tec_users
#

DROP TABLE IF EXISTS `tec_users`;

CREATE TABLE `tec_users` (
  `id` int(11) unsigned NOT NULL AUTO_INCREMENT,
  `last_ip_address` varbinary(45) DEFAULT NULL,
  `ip_address` varbinary(45) DEFAULT NULL,
  `username` varchar(100) NOT NULL,
  `password` varchar(40) NOT NULL,
  `salt` varchar(40) DEFAULT NULL,
  `email` varchar(100) NOT NULL,
  `activation_code` varchar(40) DEFAULT NULL,
  `forgotten_password_code` varchar(40) DEFAULT NULL,
  `forgotten_password_time` int(11) unsigned DEFAULT NULL,
  `remember_code` varchar(40) DEFAULT NULL,
  `created_on` int(11) unsigned NOT NULL,
  `last_login` int(11) unsigned DEFAULT NULL,
  `active` tinyint(1) unsigned DEFAULT NULL,
  `first_name` varchar(50) DEFAULT NULL,
  `last_name` varchar(50) DEFAULT NULL,
  `company` varchar(100) DEFAULT NULL,
  `phone` varchar(20) DEFAULT NULL,
  `avatar` varchar(55) DEFAULT NULL,
  `gender` varchar(20) DEFAULT NULL,
  `group_id` int(11) unsigned NOT NULL DEFAULT 2,
  `store_id` int(11) DEFAULT NULL,
  `terminal_id` int(11) NOT NULL DEFAULT 1,
  `award_points` decimal(25,4) DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `group_id` (`group_id`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;

INSERT INTO `tec_users` (`id`, `last_ip_address`, `ip_address`, `username`, `password`, `salt`, `email`, `activation_code`, `forgotten_password_code`, `forgotten_password_time`, `remember_code`, `created_on`, `last_login`, `active`, `first_name`, `last_name`, `company`, `phone`, `avatar`, `gender`, `group_id`, `store_id`, `terminal_id`, `award_points`) VALUES (1, '203.147.140.70', '127.0.0.1', 'admin', 'fe941d48eb1fbce34b4588ae500861570fb0e398', NULL, 'admin', NULL, NULL, NULL, 'b2d2c8fd5d9a5f19901279ac74cec92dc15ac970', 1435204774, 1778414946, 1, 'Super', 'Admin', 'Tecdiary', '012345678', NULL, 'male', 1, NULL, 1, '0.0000');
INSERT INTO `tec_users` (`id`, `last_ip_address`, `ip_address`, `username`, `password`, `salt`, `email`, `activation_code`, `forgotten_password_code`, `forgotten_password_time`, `remember_code`, `created_on`, `last_login`, `active`, `first_name`, `last_name`, `company`, `phone`, `avatar`, `gender`, `group_id`, `store_id`, `terminal_id`, `award_points`) VALUES (2, '::1', '::1', 'sale1', '587684c629970094a433b1996ac7f796e08edc7f', NULL, '', NULL, NULL, NULL, 'ef248ac704a9cb7fc06f8e63033e7579e7843e3e', 1680852851, 1682563745, 1, 'Sale', 'Mr.', NULL, '', NULL, 'male', 2, 1, 1, '0.0000');


