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

START TRANSACTION;



--
-- Database: `smautomo_2627`
--

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

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

CREATE TABLE `customers` (
  `id` int(10) UNSIGNED NOT NULL,
  `customer_code` varchar(40) NOT NULL,
  `name` varchar(120) NOT NULL,
  `gtin` varchar(20) DEFAULT NULL,
  `gstin` varchar(20) DEFAULT NULL,
  `state_name` varchar(60) DEFAULT NULL,
  `phone` varchar(30) DEFAULT NULL,
  `email` varchar(120) DEFAULT NULL,
  `opening_balance` decimal(12,2) NOT NULL DEFAULT 0.00,
  `address` text DEFAULT NULL,
  `is_deleted` tinyint(1) NOT NULL DEFAULT 0,
  `deleted_at` datetime DEFAULT NULL,
  `created_at` timestamp NOT NULL DEFAULT current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

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

INSERT INTO `customers` (`id`, `customer_code`, `name`, `gtin`, `gstin`, `state_name`, `phone`, `email`, `opening_balance`, `address`, `is_deleted`, `deleted_at`, `created_at`) VALUES
(1, 'CUS-0001', 'Feenix bala', '33FBTHH54645', NULL, 'Tamil Nadu', '9786876323', '', 0.00, 'Coimbatore', 1, '2026-03-31 07:58:39', '2026-03-30 17:42:16'),
(2, 'CUS-0002', 'BALA FEENIX', '33GGSG558R5G', NULL, 'Tamil Nadu', '9786876323', '', 0.00, 'T. PUDUR', 1, '2026-04-02 16:49:39', '2026-03-31 06:36:02'),
(3, 'CUS-0003', 'panneerselvam', '.', NULL, 'Tamil Nadu', '9003544362', 'pannerselvam@gmail.com', 0.00, 'veppanpoondi', 0, NULL, '2026-04-02 11:24:11'),
(4, 'CUS-0004', 'gopi', '.', NULL, 'Tamil Nadu', '9944333716', 'gopi@gmail.com', 0.00, 'salem', 0, NULL, '2026-04-02 11:27:58'),
(5, 'CUS-0005', 'Periyasamy k', '.', NULL, 'Tamil Nadu', '8825999328', 'periyasamy@gmail.com', 0.00, 'NADUMEDU', 0, NULL, '2026-04-02 11:54:20'),
(6, 'CUS-0006', 'karthik R', '.', NULL, 'Tamil Nadu', '9790268528', 'Karthikrk272@gmail.com', 0.00, 'siruvachur', 0, NULL, '2026-04-02 12:47:20'),
(7, 'CUS-0007', 'ponnuvel', '.', NULL, 'Tamil Nadu', '9791366019', 'ponnuvel@gmail.com', 0.00, 'nainarpalayam', 0, NULL, '2026-04-02 15:25:35'),
(8, 'CUS-0008', 'GOBI JCB', '.', NULL, 'Tamil Nadu', '8124377112', 'GOPI@GMAIL.COM', 0.00, 'MUMMUDI', 0, NULL, '2026-04-02 16:51:14'),
(9, 'CUS-0009', 'RASU', '.', NULL, 'Tamil Nadu', '9443518324', 'RASU@GMAIL.COM', 0.00, 'MUMMUDI', 0, NULL, '2026-04-02 16:52:42'),
(10, 'CUS-0010', 'selvaraj k', '.', NULL, 'Tamil Nadu', '9150180248', 'selvaraj@gmail.com', 0.00, 'sathapati', 0, NULL, '2026-04-03 05:26:58'),
(11, 'CUS-0011', 'MORTHI R', '.', NULL, 'Tamil Nadu', '9442334001', 'MORTHI@GMAIL.COM', 0.00, 'THALAIVASAL', 0, NULL, '2026-04-03 05:54:29'),
(12, 'CUS-0012', 'sakthivel m', '.', NULL, 'Tamil Nadu', '9791903005', 'sakthivel9791903005@gmail.com', 0.00, 'thalaivasal', 0, NULL, '2026-04-03 07:15:53'),
(13, 'CUS-0013', 'AIYANGALI', '.', NULL, 'Tamil Nadu', '9489251611', 'thamaraiselvam3377@gmail.com', 0.00, 'puthur', 0, NULL, '2026-04-03 09:03:30'),
(14, 'CUS-0014', 'vinoth n', '.', NULL, 'Tamil Nadu', '8870400502', 'thamaraiselvam3377@gmail.com', 3500.00, 'thalaivasal mummdai', 0, NULL, '2026-04-03 10:44:41'),
(15, 'CUS-0015', 'Jayaprakash', '.', NULL, 'Tamil Nadu', '9790400093', 'jpvasanthamsks@gmail.com', 0.00, 'Salem', 0, NULL, '2026-04-03 11:51:26'),
(16, 'CUS-0016', 'Nateshan', '.', NULL, 'Tamil Nadu', '8925103315', 'aswinimunusamy96@gmail.com', 0.00, 'Thalaivasal', 0, NULL, '2026-04-04 05:24:07'),
(17, 'CUS-0017', 'Thilahar', '.', NULL, 'Tamil Nadu', '6385600803', 'thilahar@gmail.com', 0.00, 'navalur', 0, NULL, '2026-04-06 03:02:35'),
(18, 'CUS-0018', 'sanjivkumar r', '.', NULL, 'Tamil Nadu', '91761011282', 'thamaraiselvam3377@gmail.com', 0.00, 'puliyankurichi', 0, NULL, '2026-04-06 06:20:58'),
(19, 'CUS-0019', 'A R CONSTRCUTION', '.', NULL, 'Tamil Nadu', '9994222357', 'thamaraiselvam3377@gmail.com', 0.00, 'GANGAVALLI', 0, NULL, '2026-04-06 06:35:53'),
(20, 'CUS-0020', 'arumugam', '.', NULL, 'Tamil Nadu', '9442894602', 'thamaraiselvam3377@gmail.com', 0.00, 'salaiyamman nagar', 0, NULL, '2026-04-06 07:40:14'),
(21, 'CUS-0021', 'sirman', '.', NULL, 'Tamil Nadu', '8220111923', 'thamaraiselvam3377@gmail.com', 0.00, 'thalaivasal -636112', 0, NULL, '2026-04-06 08:25:05'),
(22, 'CUS-0022', 'SUTHAKAR', '.', NULL, 'Tamil Nadu', '9159421379', '', 0.00, 'VEPPAMPOONDI-636112', 0, NULL, '2026-04-06 09:36:52'),
(23, 'CUS-0023', 'chinna', '.', NULL, 'Tamil Nadu', '9025775470', 'thamaraiselvam3377@gmail.com', 0.00, 'navakkurichi', 0, NULL, '2026-04-06 11:45:44'),
(24, 'CUS-0024', 'ramu jayaraman', '.', NULL, 'Tamil Nadu', '9786782853', 'thamaraiselvam3377@gmail.com', 0.00, 'aragalur', 0, NULL, '2026-04-06 11:51:01'),
(25, 'CUS-0025', 'kumaresan', '.', NULL, 'Tamil Nadu', '9025328913', '', 0.00, 'navai', 0, NULL, '2026-04-06 12:08:02'),
(26, 'CUS-0026', 'rajavel', '.', NULL, 'Tamil Nadu', '9443009579', '', 0.00, 'latthuvday', 0, NULL, '2026-04-07 04:03:40'),
(27, 'CUS-0027', 'ravi chandran', '.', NULL, 'Tamil Nadu', '9943908795', '', 0.00, 'nadumadu', 0, NULL, '2026-04-07 06:20:52'),
(28, 'CUS-0028', 'VIGNESH V', '.', NULL, 'Tamil Nadu', '9360341002', '', 0.00, 'THIYAGANUR -636112', 0, NULL, '2026-04-07 06:58:26'),
(29, 'CUS-0029', 'raj kamal', '.', NULL, 'Tamil Nadu', '8056589651', '', 0.00, 'perambalur', 0, NULL, '2026-04-07 09:19:02'),
(30, 'CUS-0030', 'satiyan v', '.', NULL, 'Tamil Nadu', '9944351877', '', 0.00, 'periyeri', 0, NULL, '2026-04-07 13:37:05'),
(31, 'CUS-0031', 'periyasamy m', '.', NULL, 'Tamil Nadu', '9942072944', '', 0.00, 'sivasangarapuram', 0, NULL, '2026-04-07 16:13:35'),
(32, 'CUS-0032', 'SELVAKUMAR', '.', NULL, 'Tamil Nadu', '9578561561', '', 0.00, 'CHINNA SALEM', 0, NULL, '2026-04-07 16:18:21'),
(33, 'CUS-0033', 'sathrapathi', '.', NULL, 'Tamil Nadu', '9486872944', '', 0.00, 't .puthur', 0, NULL, '2026-04-08 05:26:37'),
(34, 'CUS-0034', 'DINESH', '.', NULL, 'Tamil Nadu', '8015568308', '', 0.00, 'VARAGUR', 0, NULL, '2026-04-08 05:30:22'),
(35, 'CUS-0035', 'CHINNA BATTERY', '.', NULL, 'Tamil Nadu', '9043431429', '', 0.00, 'UNATHUR', 0, NULL, '2026-04-08 05:36:52'),
(36, 'CUS-0036', 'MANI P', '.', NULL, 'Tamil Nadu', '9789109607', '', 0.00, 'SITHERI', 0, NULL, '2026-04-08 05:52:53'),
(37, 'CUS-0037', 'selvadurai m', '.', NULL, 'Tamil Nadu', '8050500395', '', 0.00, 'kamakkapalayam', 0, NULL, '2026-04-08 09:07:59'),
(38, 'CUS-0038', 'M S MANI', '.', NULL, 'Tamil Nadu', '9443236121', '', 0.00, 'MS', 0, NULL, '2026-04-09 13:28:06'),
(39, 'CUS-0039', 'LAKASHMANAN', '.', NULL, 'Tamil Nadu', '9087127918', '', 0.00, 'THALAIVASAL', 0, NULL, '2026-04-09 13:32:12'),
(40, 'CUS-0040', 'mohan', '.', NULL, 'Tamil Nadu', '9445934466', '', 0.00, 'thalaivasal', 0, NULL, '2026-04-10 05:16:07'),
(41, 'CUS-0041', 'PRABU P', '.', NULL, 'Tamil Nadu', '8124854471', '', 0.00, 'THALAIVASAL', 0, NULL, '2026-04-10 05:33:04'),
(42, 'CUS-0042', 'UTHAYA', '.', NULL, 'Tamil Nadu', '7397060939', '', 0.00, 'SIRUVACHUR', 0, NULL, '2026-04-10 06:54:50'),
(43, 'CUS-0043', 'muthusamy m', '.', NULL, 'Tamil Nadu', '9865538718', '', 0.00, 'navalur', 0, NULL, '2026-04-10 09:24:04'),
(44, 'CUS-0044', 'krishnakumar', '.', NULL, 'Tamil Nadu', '9787730385', '', 0.00, 'thalaivasal', 0, NULL, '2026-04-11 11:44:03'),
(45, 'CUS-0045', 'Vignesh power on', '.', NULL, 'Tamil Nadu', '9092467488', '', 0.00, 'thalaivasal', 0, NULL, '2026-04-11 11:56:22'),
(46, 'CUS-0046', 'suresh nateshan', '.', NULL, 'Tamil Nadu', '8925103315', '', 0.00, 'thalaivasal', 0, NULL, '2026-04-11 11:58:08'),
(47, 'CUS-0047', 'kurinji srini', '.', NULL, 'Tamil Nadu', '9047030418', '', 0.00, 'thalaivasal', 0, NULL, '2026-04-12 04:23:16'),
(48, 'CUS-0048', 'SAKTHIVEL', '.', NULL, 'Tamil Nadu', '9345812881', '', 0.00, 'SIRUVACHUR', 0, NULL, '2026-04-12 04:27:33'),
(49, 'CUS-0049', 'VISAL', '.', NULL, 'Tamil Nadu', '7904155658', '', 0.00, 'NAVAKKURICHI', 0, NULL, '2026-04-12 04:53:18'),
(50, 'CUS-0050', 'mani bike', '.', NULL, 'Tamil Nadu', '7502104217', '', 950.00, 'thalaivasal', 0, NULL, '2026-04-12 06:26:09'),
(51, 'CUS-0051', 'mano', '.', NULL, 'Tamil Nadu', '9344847626', '', 0.00, 'thalaivasal', 0, NULL, '2026-04-12 13:14:49'),
(52, 'CUS-0052', 'ravi', '.', NULL, 'Tamil Nadu', '8838721027', '', 0.00, 'thalaivasal', 0, NULL, '2026-04-13 10:57:26'),
(53, 'CUS-0053', 'raja', '.', NULL, 'Tamil Nadu', '9443751493', '', 0.00, 'thalaivasal', 0, NULL, '2026-04-13 12:14:45'),
(54, 'CUS-0054', 'sathiesh', '.', NULL, 'Tamil Nadu', '9150517355', '', 0.00, 'veppampoondi', 0, NULL, '2026-04-13 12:26:38'),
(55, 'CUS-0055', 'PRAKASH N', '.', NULL, 'Tamil Nadu', '9095927644', '', 0.00, 'THENKUMARI', 0, NULL, '2026-04-13 12:37:31'),
(56, 'CUS-0056', 'MOOKKAIYAN', '.', NULL, 'Tamil Nadu', '8778161142', '', 0.00, 'THALAIVASAL', 0, NULL, '2026-04-13 13:24:48'),
(57, 'CUS-0057', 'sathiyamorthi', '.', NULL, 'Tamil Nadu', '9976467285', '', 0.00, 'thalaivasal-636112', 0, NULL, '2026-04-14 03:50:12'),
(58, 'CUS-0058', 'varatharajan v', '.', NULL, 'Tamil Nadu', '9003663432', '', 0.00, 'veeraganur', 0, NULL, '2026-04-14 08:25:20'),
(59, 'CUS-0059', 'annaimotors', '.', NULL, 'Tamil Nadu', '8778787599', '', 0.00, 'thalaivasal', 0, NULL, '2026-04-14 13:37:47'),
(60, 'CUS-0060', 'VIDYASAGAR', '.', NULL, 'Tamil Nadu', '9790871321', '', 0.00, 'Chinna salem', 0, NULL, '2026-04-14 13:53:53'),
(61, 'CUS-0061', 'KANNAN LNT', '.', NULL, 'Tamil Nadu', '98435507020', '', 0.00, 'NAVALUR', 0, NULL, '2026-04-14 14:15:00'),
(62, 'CUS-0062', 'vishwa', '.', NULL, 'Tamil Nadu', '8438766085', '', 0.00, 'thalaivasal', 0, NULL, '2026-04-14 14:53:00'),
(63, 'CUS-0063', 'ganapathi', '.', NULL, 'Tamil Nadu', '9344353891', '', 0.00, 'argalur', 0, NULL, '2026-04-15 07:51:19'),
(64, 'CUS-0064', 'ARUL', '.', NULL, 'Tamil Nadu', '8667043761', '', 0.00, 'THALAIVASAL', 0, NULL, '2026-04-15 08:07:25'),
(65, 'CUS-0065', 'manivannan', '.', NULL, 'Tamil Nadu', '9786732143', '', 0.00, 'unathur', 0, NULL, '2026-04-15 11:26:34'),
(66, 'CUS-0066', 'dhinesh', '.', NULL, 'Tamil Nadu', '7825090104', '', 0.00, 'mummdai thalaivasal', 0, NULL, '2026-04-15 14:14:39'),
(67, 'CUS-0067', 'daruman', '.', NULL, 'Tamil Nadu', '9787837705', '', 0.00, 'mummdai thalaivasal', 0, NULL, '2026-04-15 14:34:50'),
(68, 'CUS-0068', 'chandru', '.', NULL, 'Tamil Nadu', '9786134005', '', 0.00, 'aragalur', 0, NULL, '2026-04-16 07:27:02'),
(69, 'CUS-0069', 'ANBU CAR', '.', NULL, 'Tamil Nadu', '9626176867', '', 0.00, 'MUMMDAI', 0, NULL, '2026-04-16 15:46:01'),
(70, 'CUS-0070', 'ramesh A', '.', NULL, 'Tamil Nadu', '9994944080', '', 0.00, 'SITHERI', 0, NULL, '2026-04-17 06:24:31'),
(71, 'CUS-0071', 'sathiesh kumar', '.', NULL, 'Tamil Nadu', '9524352519', '', 0.00, 'suruvachur', 0, NULL, '2026-04-17 09:37:35'),
(72, 'CUS-0072', 'Samidurai', '.', NULL, 'Tamil Nadu', '9994149597', '', 0.00, 'Pagadapadi', 0, NULL, '2026-04-18 14:29:39'),
(73, 'CUS-0073', 'goutham', '.', NULL, 'Tamil Nadu', '9751495816', '', 0.00, 'siruvachur anbu nager', 0, NULL, '2026-04-20 02:10:50'),
(74, 'CUS-0074', 'Ganesan', '.', NULL, 'Tamil Nadu', '6374575865', '', 0.00, 'ponnoli nagar', 0, NULL, '2026-04-20 02:15:33'),
(75, 'CUS-0075', 'vinodh', '.', NULL, 'Tamil Nadu', '9941244355', '', 0.00, 'thalaivasal -636112', 0, NULL, '2026-04-20 02:48:15'),
(76, 'CUS-0076', 'periyannan', '.', NULL, 'Tamil Nadu', '9363253630', '', 0.00, 'eluppatham', 0, NULL, '2026-04-20 08:31:58'),
(77, 'CUS-0077', 'hari periyasamy', '.', NULL, 'Tamil Nadu', '8610271789', '', 0.00, 'navakkurichi', 0, NULL, '2026-04-20 08:38:56'),
(78, 'CUS-0078', 'sridhar selvaraj', '.', NULL, 'Tamil Nadu', '8220704929', '', 0.00, 'mummdai thalaivasal', 0, NULL, '2026-04-20 11:30:58'),
(79, 'CUS-0079', 'Maruthi super market 2', '.', NULL, 'Tamil Nadu', '9443557115', '', 0.00, 'thalaivasal', 0, NULL, '2026-04-20 11:34:26'),
(80, 'CUS-0080', 'velmurugan', '.', NULL, 'Tamil Nadu', '9443827022', '', 0.00, 'valapady', 0, NULL, '2026-04-20 12:46:00'),
(81, 'CUS-0081', 'thangadurai', '.', NULL, 'Tamil Nadu', '9360246585', '', 0.00, 'ayyanaar palayam', 0, NULL, '2026-04-21 04:34:04'),
(82, 'CUS-0082', 'CRC CEMENT AND STEEL', '.', NULL, 'Tamil Nadu', '9994978791', '', 0.00, 'MUMMDAI THALAIVASAL -636112', 0, NULL, '2026-04-21 05:10:42'),
(83, 'CUS-0083', 'VP MURUGSAN', '.', NULL, 'Tamil Nadu', '9655146917', '', 0.00, 'SIRVAUCHUR', 0, NULL, '2026-04-21 14:51:18'),
(84, 'CUS-0084', 'periya samy', '.', NULL, 'Tamil Nadu', '8939836458', '', 0.00, 'thalaivasal-636112', 0, NULL, '2026-04-21 15:57:46'),
(85, 'CUS-0085', 'ARUL BIKE', '.', NULL, 'Tamil Nadu', '9489853067', '', 0.00, 'THALAIVASAL', 0, NULL, '2026-04-21 16:07:07'),
(86, 'CUS-0086', 'ARUL CAR', '.', NULL, 'Tamil Nadu', '9952139133', '', 0.00, 'THALAIVASAL-636112', 0, NULL, '2026-04-21 16:12:33'),
(87, 'CUS-0087', 'vinoth', '.', NULL, 'Tamil Nadu', '7200939041', '', 0.00, 'East rajapalayam\r\nthalaivasal-636112', 0, NULL, '2026-04-21 16:18:40'),
(88, 'CUS-0088', 'ramasamy N', '.', NULL, 'Tamil Nadu', '9976112719', '', 0.00, 'TN30AU4748', 0, NULL, '2026-04-22 05:31:20'),
(89, 'CUS-0089', 'prakash b', '.', NULL, 'Tamil Nadu', '9677356569', '', 0.00, 'thalaivasal-636112', 0, NULL, '2026-04-22 11:46:12'),
(90, 'CUS-0090', 'suraesh m', '.', NULL, 'Tamil Nadu', '6374591585', '', 0.00, 'M V KALANI', 0, NULL, '2026-04-24 03:30:07'),
(91, 'CUS-0091', 'sivaprakash', '.', NULL, 'Tamil Nadu', '9677045511', '', 0.00, 'puliyankurichi', 0, NULL, '2026-04-24 06:13:29'),
(92, 'CUS-0092', 'marimuthu s', '.', NULL, 'Tamil Nadu', '6369012890', '', 0.00, 'pattuthurai', 0, NULL, '2026-04-24 07:08:27'),
(93, 'CUS-0093', 'MANI KANDAN BIKE', '.', NULL, 'Tamil Nadu', '9715303678', '', 0.00, 'MUMMDAI', 0, NULL, '2026-04-24 07:50:29'),
(94, 'CUS-0094', 'VENKATESH KONGU', '.', NULL, 'Tamil Nadu', '9500108080', '', 0.00, 'V.KOOT ROAD', 0, NULL, '2026-04-24 14:56:27'),
(95, 'CUS-0095', 'vellikannan c', '.', NULL, 'Tamil Nadu', '9566548912', '', 0.00, 'pukkiravari', 0, NULL, '2026-04-25 04:29:47'),
(96, 'CUS-0096', 'gunasekaran p', '.', NULL, 'Tamil Nadu', '6383027123', '', 0.00, 't pothur', 0, NULL, '2026-04-25 06:10:06'),
(97, 'CUS-0097', 'MUTHUSAMY', '.', NULL, 'Tamil Nadu', '9047132264', '', 0.00, 'VEPPAMPOONDI', 0, NULL, '2026-04-25 06:53:25'),
(98, 'CUS-0098', 'manogar', '.', NULL, 'Tamil Nadu', '9042939474', '', 0.00, 'kamakkapalayam', 0, NULL, '2026-04-25 07:53:07'),
(99, 'CUS-0099', 'peiyasamy', '.', NULL, 'Tamil Nadu', '9865522046', '', 0.00, 'pattuthurai', 0, NULL, '2026-04-25 11:17:29'),
(100, 'CUS-0100', 'rathakrishan', '.', NULL, 'Tamil Nadu', '9443713441', '', 0.00, 'veppampoondi', 0, NULL, '2026-04-25 14:42:07'),
(101, 'CUS-0101', 'mani', '.', NULL, 'Tamil Nadu', '9443089035', '', 0.00, 'kamakkapalayam', 0, NULL, '2026-04-25 14:55:18'),
(102, 'CUS-0102', 'SMR COIR INDUSTRIES', '33IJSPS5980J1Z5', NULL, 'Tamil Nadu', '9942661215', '', 0.00, 'SF NO 199/3 ANBUNAGAR,SIRUVACHUR THALAIVASAL-636112', 0, NULL, '2026-04-25 15:05:05'),
(103, 'CUS-0103', 'SATHISH', '.', NULL, 'Tamil Nadu', '9578890205', '', 0.00, 'TN20AD7214', 0, NULL, '2026-04-25 15:12:40'),
(104, 'CUS-0104', 'ravi k', '.', NULL, 'Tamil Nadu', '9443331544', '', 0.00, 'thalaivasal', 0, NULL, '2026-04-26 05:17:33'),
(105, 'CUS-0105', 'AZHUMALAI', '.', NULL, 'Tamil Nadu', '9750204289', '', 0.00, 'PULIYANKURICHI', 0, NULL, '2026-04-26 05:21:30'),
(106, 'CUS-0106', 'RR TRAVELS', '.', NULL, 'Tamil Nadu', '9047597851', '', 0.00, 'VEPPUR', 0, NULL, '2026-04-26 07:03:27'),
(107, 'CUS-0107', 'sri ram', '.', NULL, 'Tamil Nadu', '8220307907', '', 0.00, 'koogaiyur', 0, NULL, '2026-04-26 07:19:15'),
(108, 'CUS-0108', 'DEVA RAJ', '.', NULL, 'Tamil Nadu', '8667326247', '', 0.00, 'KAMAKKAPALAYAM', 0, NULL, '2026-04-26 07:22:19'),
(109, 'CUS-0109', 'arun m', '.', NULL, 'Tamil Nadu', '9025453117', '', 0.00, 'kamakkapalayam', 0, NULL, '2026-04-27 05:12:48'),
(110, 'CUS-0110', 'velmurugan s', '.', NULL, 'Tamil Nadu', '6379823258', '', 0.00, 'kodamathi', 0, NULL, '2026-04-27 06:55:42'),
(111, 'CUS-0111', 'kumaravel', '.', NULL, 'Tamil Nadu', '9442337143', '', 0.00, 'thalaivasal', 0, NULL, '2026-04-27 07:01:17'),
(112, 'CUS-0112', 'arivazhagan', '.', NULL, 'Tamil Nadu', '7502116575', '', 0.00, 'puliyankuchi', 0, NULL, '2026-04-27 07:32:05'),
(113, 'CUS-0113', 'ANANTHAN', '.', NULL, 'Tamil Nadu', '9943511403', '', 0.00, 'veppampoondi', 0, NULL, '2026-04-27 10:24:09'),
(114, 'CUS-0114', 'raja p', '.', NULL, 'Tamil Nadu', '9659914731', '', 0.00, 'mummudai thalaivasal', 0, NULL, '2026-04-27 12:50:26'),
(115, 'CUS-0115', 'TAMIL', '.', NULL, 'Tamil Nadu', '9715154980', '', 0.00, 'SIRUVACHUR', 0, NULL, '2026-04-28 07:37:13'),
(116, 'CUS-0116', 'ganthimaniyan k', '.', NULL, 'Tamil Nadu', '9600376836', '', 0.00, 'navakkurichi', 0, NULL, '2026-04-28 12:44:53'),
(117, 'CUS-0117', 'kalaiselvan r', '.', NULL, 'Tamil Nadu', '9443681335', '', 0.00, 'thalaivasal sitheri', 0, NULL, '2026-04-30 13:30:21'),
(118, 'CUS-0118', 'SINGARAVEL P', '.', NULL, 'Tamil Nadu', '9443384163', '', 0.00, 'THALAIVASAL', 0, NULL, '2026-04-30 13:41:31'),
(119, 'CUS-0119', 'RAKUL BIKE', '.', NULL, 'Tamil Nadu', '9789607719', '', 0.00, 'MUMMDAI THALAIVASAL', 0, NULL, '2026-04-30 13:47:47'),
(120, 'CUS-0120', 'KALAI SELVAN BIKE', '.', NULL, 'Tamil Nadu', '8220868019', '', 0.00, 'THALAIVASAL', 0, NULL, '2026-04-30 14:04:58'),
(121, 'CUS-0121', 'AJITH', '.', NULL, 'Tamil Nadu', '8838320868', '', 0.00, 'KOOGAIYUR', 0, NULL, '2026-04-30 14:07:33'),
(122, 'CUS-0122', 'AJITH KUMAR', '.', NULL, 'Tamil Nadu', '8925073057', '', 0.00, 'THALAIVASAL-636112', 0, NULL, '2026-05-01 05:14:07'),
(123, 'CUS-0123', 'abishek', '.', NULL, 'Tamil Nadu', '9791514872', '', 0.00, 'sarvoy puthur', 0, NULL, '2026-05-01 06:17:27'),
(124, 'CUS-0124', 'jayachandharan', '.', NULL, 'Tamil Nadu', '9500980747', '', 0.00, 'puliyankurichi', 0, NULL, '2026-05-01 09:38:18'),
(125, 'CUS-0125', 'PRIYASAMY A', '.', NULL, 'Tamil Nadu', '9944508793', '', 0.00, 'PUNALVASAL', 0, NULL, '2026-05-01 09:53:22'),
(126, 'CUS-0126', 'prasanth agr', '.', NULL, 'Tamil Nadu', '9952688687', '', 0.00, 'thalaivasal-636112', 0, NULL, '2026-05-01 15:55:13'),
(127, 'CUS-0127', 'RAJAN', '.', NULL, 'Tamil Nadu', '9894144661', '', 0.00, 'SIRUVACHUR', 0, NULL, '2026-05-01 15:58:22'),
(128, 'CUS-0128', 'varatharaj', '.', NULL, 'Tamil Nadu', '8760314644', '', 0.00, 'anna nagar', 0, NULL, '2026-05-02 13:21:57'),
(129, 'CUS-0129', 'MANI APR', '.', NULL, 'Tamil Nadu', '9597841047', '', 0.00, 'V KOOTUROAD', 0, NULL, '2026-05-02 14:54:02'),
(130, 'CUS-0130', 'k veeran', '.', NULL, 'Tamil Nadu', '9944594351', '', 0.00, 'thalaivasal mummdai-636112', 0, NULL, '2026-05-04 03:28:33'),
(131, 'CUS-0131', 'V RAJENDRAN', '33AEXPR1269R1ZE', NULL, 'Tamil Nadu', '9486264206', '', 0.00, '3/117,PUTHUR POST, THALAIVASAL TK ,SALEM Dt-636112', 0, NULL, '2026-05-04 08:58:23'),
(132, 'CUS-0132', 'SATHISH KUMAR A', '.', NULL, 'Tamil Nadu', '7708350837', '', 0.00, 'PERIYERI', 0, NULL, '2026-05-04 09:21:40'),
(133, 'CUS-0133', 'silampuarsan', '.', NULL, 'Tamil Nadu', '9965202173', '', 0.00, 'deviyakurichi', 0, NULL, '2026-05-05 07:34:38'),
(134, 'CUS-0134', 'V MURUGAN', '.', NULL, 'Tamil Nadu', '9791597876', '', 0.00, 'THALAIVASAL-636112', 0, NULL, '2026-05-05 08:04:26'),
(135, 'CUS-0135', 'RAJARAM J', '.', NULL, 'Tamil Nadu', '9842655702', '', 0.00, 'THALAIVASAL', 0, NULL, '2026-05-05 08:12:20'),
(136, 'CUS-0136', 'PRIYASAMY', '.', NULL, 'Tamil Nadu', '6381826225', '', 0.00, 'THALAIVASAL-636112', 0, NULL, '2026-05-05 08:33:40'),
(137, 'CUS-0137', 'Tha secretery', '.', NULL, 'Tamil Nadu', '0', '', 0.00, 'Tagore callege of engineering of technaloge deviyakurichi thalaivasal-636112', 0, NULL, '2026-05-05 09:26:59'),
(138, 'CUS-0138', 'prabhakaran s', '.', NULL, 'Tamil Nadu', '8695136695', '', 0.00, 'nathakarai thalaivasal', 0, NULL, '2026-05-05 12:46:33'),
(139, 'CUS-0139', 'ramesh r', '.', NULL, 'Tamil Nadu', '8760320360', '', 0.00, 'sarvai', 0, NULL, '2026-05-05 15:06:35'),
(140, 'CUS-0140', 'r sekar', '.', NULL, 'Tamil Nadu', '9047388689', '', 0.00, 'thalaivasal', 0, NULL, '2026-05-06 02:10:54'),
(141, 'CUS-0141', 'karthikeyan m', '.', NULL, 'Tamil Nadu', '9994282183', '', 0.00, 'v koot road', 0, NULL, '2026-05-06 03:56:47'),
(142, 'CUS-0142', 'abishek m', '.', NULL, 'Tamil Nadu', '7639061200', '', 0.00, 'thiyaganur', 0, NULL, '2026-05-06 08:28:17'),
(143, 'CUS-0143', 'poovarasan a', '.', NULL, 'Tamil Nadu', '9342533852', '', 0.00, 'veppanatham', 0, NULL, '2026-05-07 06:26:16'),
(144, 'CUS-0144', 'koothan m', '.', NULL, 'Tamil Nadu', '9952410762', '', 0.00, 'navalur', 0, NULL, '2026-05-07 12:56:25'),
(145, 'CUS-0145', 'SIVAKUMAR', '.', NULL, 'Tamil Nadu', '8760659878', '', 0.00, 'THALAIVASAL -636112', 0, NULL, '2026-05-07 13:26:48'),
(146, 'CUS-0146', 'ramasamy s', '.', NULL, 'Tamil Nadu', '9994038331', '', 0.00, 'm v kalani', 0, NULL, '2026-05-08 04:32:15'),
(147, 'CUS-0147', 'Thanapal r', '.', NULL, 'Tamil Nadu', '9487514650', '', 0.00, 'thiyaganur pudur', 0, NULL, '2026-05-08 04:46:50'),
(148, 'CUS-0148', 'rajendren', '.', NULL, 'Tamil Nadu', '9442484886', '', 0.00, 'thalaivasal', 0, NULL, '2026-05-08 06:05:56');

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

--
-- Table structure for table `customer_pricing`
--

CREATE TABLE `customer_pricing` (
  `id` int(10) UNSIGNED NOT NULL,
  `customer_id` int(10) UNSIGNED NOT NULL,
  `product_id` int(10) UNSIGNED NOT NULL,
  `unit` varchar(20) NOT NULL,
  `price` decimal(12,2) NOT NULL DEFAULT 0.00,
  `created_at` timestamp NOT NULL DEFAULT current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

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

--
-- Table structure for table `employees`
--

CREATE TABLE `employees` (
  `id` int(10) UNSIGNED NOT NULL,
  `employee_code` varchar(40) NOT NULL,
  `name` varchar(120) NOT NULL,
  `phone` varchar(30) DEFAULT NULL,
  `email` varchar(120) DEFAULT NULL,
  `designation` varchar(80) DEFAULT NULL,
  `status` varchar(20) NOT NULL DEFAULT 'active',
  `joining_date` date DEFAULT NULL,
  `is_deleted` tinyint(1) NOT NULL DEFAULT 0,
  `deleted_at` datetime DEFAULT NULL,
  `created_at` timestamp NOT NULL DEFAULT current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

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

--
-- Table structure for table `employee_advances`
--

CREATE TABLE `employee_advances` (
  `id` int(10) UNSIGNED NOT NULL,
  `employee_id` int(10) UNSIGNED NOT NULL,
  `advance_date` date NOT NULL,
  `amount` decimal(12,2) NOT NULL DEFAULT 0.00,
  `note` varchar(255) DEFAULT NULL,
  `created_by` int(10) UNSIGNED DEFAULT NULL,
  `created_at` timestamp NOT NULL DEFAULT current_timestamp(),
  `is_deleted` tinyint(1) NOT NULL DEFAULT 0,
  `deleted_at` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

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

--
-- Table structure for table `employee_advance_collections`
--

CREATE TABLE `employee_advance_collections` (
  `id` int(10) UNSIGNED NOT NULL,
  `advance_id` int(10) UNSIGNED NOT NULL,
  `payroll_id` int(10) UNSIGNED DEFAULT NULL,
  `collection_date` date NOT NULL,
  `amount` decimal(12,2) NOT NULL DEFAULT 0.00,
  `payment_mode` varchar(40) DEFAULT NULL,
  `reference_no` varchar(80) DEFAULT NULL,
  `note` varchar(255) DEFAULT NULL,
  `created_by` int(10) UNSIGNED DEFAULT NULL,
  `created_at` timestamp NOT NULL DEFAULT current_timestamp(),
  `is_deleted` tinyint(1) NOT NULL DEFAULT 0,
  `deleted_at` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

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

--
-- Table structure for table `employee_attendance`
--

CREATE TABLE `employee_attendance` (
  `id` int(10) UNSIGNED NOT NULL,
  `employee_id` int(10) UNSIGNED NOT NULL,
  `attendance_date` date NOT NULL,
  `attendance_status` varchar(20) NOT NULL DEFAULT 'present',
  `overtime_hours` decimal(6,2) NOT NULL DEFAULT 0.00,
  `remark` varchar(255) DEFAULT NULL,
  `created_by` int(10) UNSIGNED DEFAULT NULL,
  `created_at` timestamp NOT NULL DEFAULT current_timestamp(),
  `updated_at` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `is_deleted` tinyint(1) NOT NULL DEFAULT 0,
  `deleted_at` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

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

--
-- Table structure for table `employee_salary_structures`
--

CREATE TABLE `employee_salary_structures` (
  `id` int(10) UNSIGNED NOT NULL,
  `employee_id` int(10) UNSIGNED NOT NULL,
  `effective_from` date NOT NULL,
  `basic` decimal(12,2) NOT NULL DEFAULT 0.00,
  `hra` decimal(12,2) NOT NULL DEFAULT 0.00,
  `da_amount` decimal(12,2) NOT NULL DEFAULT 0.00,
  `conveyance` decimal(12,2) NOT NULL DEFAULT 0.00,
  `medical_allowance` decimal(12,2) NOT NULL DEFAULT 0.00,
  `other_allowance` decimal(12,2) NOT NULL DEFAULT 0.00,
  `cl_limit` decimal(6,2) NOT NULL DEFAULT 0.00,
  `ml_limit` decimal(6,2) NOT NULL DEFAULT 0.00,
  `pf_rate` decimal(5,2) NOT NULL DEFAULT 12.00,
  `esi_rate` decimal(5,2) NOT NULL DEFAULT 0.75,
  `professional_tax` decimal(12,2) NOT NULL DEFAULT 0.00,
  `tds_amount` decimal(12,2) NOT NULL DEFAULT 0.00,
  `other_deduction` decimal(12,2) NOT NULL DEFAULT 0.00,
  `created_at` timestamp NOT NULL DEFAULT current_timestamp(),
  `updated_at` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `is_deleted` tinyint(1) NOT NULL DEFAULT 0,
  `deleted_at` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

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

--
-- Table structure for table `expense_categories`
--

CREATE TABLE `expense_categories` (
  `id` int(10) UNSIGNED NOT NULL,
  `category_name` varchar(100) NOT NULL,
  `description` varchar(255) DEFAULT NULL,
  `created_by` int(10) UNSIGNED DEFAULT NULL,
  `is_deleted` tinyint(1) NOT NULL DEFAULT 0,
  `deleted_at` datetime DEFAULT NULL,
  `created_at` timestamp NOT NULL DEFAULT current_timestamp(),
  `updated_at` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Dumping data for table `expense_categories`
--

INSERT INTO `expense_categories` (`id`, `category_name`, `description`, `created_by`, `is_deleted`, `deleted_at`, `created_at`, `updated_at`) VALUES
(1, 'Food', 'Office food and refreshment', NULL, 0, NULL, '2026-03-31 19:22:09', '2026-03-31 19:22:09'),
(2, 'EB', 'Electricity and utility expense', NULL, 0, NULL, '2026-03-31 19:22:09', '2026-03-31 19:22:09'),
(3, 'Stationary', 'Stationery and office material', NULL, 0, NULL, '2026-03-31 19:22:09', '2026-03-31 19:22:09');

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

--
-- Table structure for table `office_expenses`
--

CREATE TABLE `office_expenses` (
  `id` int(10) UNSIGNED NOT NULL,
  `expense_date` date NOT NULL,
  `entry_date` date DEFAULT NULL,
  `entry_time` time DEFAULT NULL,
  `category_id` int(10) UNSIGNED NOT NULL,
  `amount` decimal(12,2) NOT NULL DEFAULT 0.00,
  `payment_mode` varchar(40) DEFAULT NULL,
  `reference_no` varchar(80) DEFAULT NULL,
  `paid_to` varchar(120) DEFAULT NULL,
  `note` varchar(255) DEFAULT NULL,
  `created_by` int(10) UNSIGNED DEFAULT NULL,
  `created_at` timestamp NOT NULL DEFAULT current_timestamp(),
  `updated_at` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `is_deleted` tinyint(1) NOT NULL DEFAULT 0,
  `deleted_at` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

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

--
-- Table structure for table `payroll_entries`
--

CREATE TABLE `payroll_entries` (
  `id` int(10) UNSIGNED NOT NULL,
  `employee_id` int(10) UNSIGNED NOT NULL,
  `payroll_month` char(7) NOT NULL,
  `working_days` int(11) NOT NULL DEFAULT 30,
  `paid_days` decimal(6,2) NOT NULL DEFAULT 30.00,
  `cl_days` decimal(6,2) NOT NULL DEFAULT 0.00,
  `ml_days` decimal(6,2) NOT NULL DEFAULT 0.00,
  `lop_days` decimal(6,2) NOT NULL DEFAULT 0.00,
  `overtime_hours` decimal(6,2) NOT NULL DEFAULT 0.00,
  `overtime_rate` decimal(10,2) NOT NULL DEFAULT 0.00,
  `overtime_amount` decimal(12,2) NOT NULL DEFAULT 0.00,
  `basic` decimal(12,2) NOT NULL DEFAULT 0.00,
  `hra` decimal(12,2) NOT NULL DEFAULT 0.00,
  `da_amount` decimal(12,2) NOT NULL DEFAULT 0.00,
  `conveyance` decimal(12,2) NOT NULL DEFAULT 0.00,
  `medical_allowance` decimal(12,2) NOT NULL DEFAULT 0.00,
  `other_allowance` decimal(12,2) NOT NULL DEFAULT 0.00,
  `gross_earnings` decimal(12,2) NOT NULL DEFAULT 0.00,
  `pf_amount` decimal(12,2) NOT NULL DEFAULT 0.00,
  `esi_amount` decimal(12,2) NOT NULL DEFAULT 0.00,
  `professional_tax` decimal(12,2) NOT NULL DEFAULT 0.00,
  `lwf_amount` decimal(12,2) NOT NULL DEFAULT 0.00,
  `advance_deduction` decimal(12,2) NOT NULL DEFAULT 0.00,
  `tds_amount` decimal(12,2) NOT NULL DEFAULT 0.00,
  `other_deduction` decimal(12,2) NOT NULL DEFAULT 0.00,
  `total_deductions` decimal(12,2) NOT NULL DEFAULT 0.00,
  `net_salary` decimal(12,2) NOT NULL DEFAULT 0.00,
  `status` varchar(20) NOT NULL DEFAULT 'unpaid',
  `paid_date` date DEFAULT NULL,
  `payment_mode` varchar(40) DEFAULT NULL,
  `reference_no` varchar(80) DEFAULT NULL,
  `remark` varchar(255) DEFAULT NULL,
  `created_by` int(10) UNSIGNED DEFAULT NULL,
  `created_at` timestamp NOT NULL DEFAULT current_timestamp(),
  `updated_at` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `is_deleted` tinyint(1) NOT NULL DEFAULT 0,
  `deleted_at` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

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

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

CREATE TABLE `products` (
  `id` int(10) UNSIGNED NOT NULL,
  `sku` varchar(60) NOT NULL,
  `name` varchar(150) NOT NULL,
  `hsn_code` varchar(20) DEFAULT NULL,
  `gst_rate` decimal(5,2) NOT NULL DEFAULT 0.00,
  `category` varchar(80) DEFAULT NULL,
  `unit` varchar(30) NOT NULL DEFAULT 'pcs',
  `opening_stock` int(11) NOT NULL DEFAULT 0,
  `purchase_price` decimal(10,2) NOT NULL DEFAULT 0.00,
  `price` decimal(10,2) NOT NULL DEFAULT 0.00,
  `reorder_level` int(11) NOT NULL DEFAULT 5,
  `is_deleted` tinyint(1) NOT NULL DEFAULT 0,
  `deleted_at` datetime DEFAULT NULL,
  `created_at` timestamp NOT NULL DEFAULT current_timestamp(),
  `updated_at` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Dumping data for table `products`
--

INSERT INTO `products` (`id`, `sku`, `name`, `hsn_code`, `gst_rate`, `category`, `unit`, `opening_stock`, `purchase_price`, `price`, `reorder_level`, `is_deleted`, `deleted_at`, `created_at`, `updated_at`) VALUES
(1, 'PRD-0001', 'Amaron 1Ams battery', '862327', 18.00, 'Amaron', 'pcs', 0, 850.00, 850.00, 5, 1, '2026-03-31 12:16:18', '2026-03-30 17:41:26', '2026-03-31 19:21:52'),
(2, 'PRD-0002', '2.5 amaron 2wheeler battery', '85071000', 18.00, 'Amaron', 'pcs', 3, 850.00, 850.00, 5, 1, '2026-04-02 17:14:37', '2026-03-31 06:13:29', '2026-04-02 11:44:37'),
(3, 'PRD-0003', 'Z4 AMARON 2WHEELER BATTERY', '85071000', 18.00, 'Amaron', 'pcs', 40, 790.00, 1100.00, 5, 1, '2026-04-02 17:14:47', '2026-03-31 06:51:35', '2026-04-02 11:44:47'),
(4, 'PRD-0004', 'Z5 AMARON 2WHEELER BATTERY', '85071000', 18.00, 'Amaron', 'pcs', 12, 950.00, 1300.00, 5, 1, '2026-04-02 17:15:03', '2026-03-31 06:52:59', '2026-04-02 11:45:03'),
(5, 'PRD-0005', '5L AMARON 2 WHEELER BATTERY', '85071000', 18.00, 'Amaron', 'pcs', 20, 1017.00, 1350.00, 5, 1, '2026-04-02 17:15:14', '2026-03-31 06:54:25', '2026-04-02 11:45:14'),
(6, 'PRD-0006', 'Z6 AMARON 2 WHEELER BATTERY', '85071000', 18.00, 'Amaron', 'pcs', 8, 1040.00, 1350.00, 5, 1, '2026-04-02 16:47:56', '2026-03-31 06:56:32', '2026-04-02 11:17:56'),
(7, 'PRD-0007', '7R  AMAROM 2 WHEELER BATTERY (24+24)', '85071000', 18.00, 'Amaron', 'pcs', 3, 1057.00, 1600.00, 5, 0, NULL, '2026-03-31 06:57:45', '2026-04-02 16:44:12'),
(8, 'PRD-0008', '9L AMARON 2 WHEELER BATTERY', '85071000', 18.00, 'Amaron', 'pcs', 2, 1529.00, 2000.00, 5, 0, NULL, '2026-03-31 06:58:39', '2026-04-02 16:14:18'),
(9, 'PRD-0009', 'Z9 AMARON 2 WHEELER BATTERY', '85071000', 18.00, 'Amaron', 'pcs', 2, 1478.00, 2000.00, 5, 0, NULL, '2026-03-31 06:59:36', '2026-04-02 16:13:48'),
(10, 'PRD-0010', 'Z7 AMARON 2 WHEELER BATTERY', '85071000', 18.00, 'Amaron', 'pcs', 0, 1221.00, 1800.00, 5, 0, NULL, '2026-03-31 07:00:36', '2026-04-02 16:43:17'),
(11, 'PRD-0011', '38B20L AMARON BATTERY', '85071000', 18.00, 'Amaron', 'pcs', 2, 3800.00, 3800.00, 5, 1, '2026-04-01 12:01:04', '2026-03-31 07:09:58', '2026-04-01 06:31:04'),
(12, 'PRD-0012', '38B20R AMARON BATTERY', '85071000', 18.00, 'Amaron', 'pcs', 5, 3800.00, 3800.00, 5, 1, '2026-04-01 12:00:58', '2026-03-31 07:11:00', '2026-04-01 06:30:58'),
(13, 'PRD-0013', '40B20L AMARON BATTERY', '85071000', 18.00, 'Amaron', 'PCS', 2, 4400.00, 4400.00, 5, 1, '2026-04-01 12:00:53', '2026-03-31 07:12:27', '2026-04-01 06:30:53'),
(14, 'PRD-0014', '40 BLACK AMARON BATTERY', '85071000', 18.00, 'Amaron', 'pcs', 2, 2961.00, 3800.00, 5, 1, '2026-04-01 12:00:47', '2026-03-31 07:19:40', '2026-04-01 06:30:47'),
(15, 'PRD-0015', 'Jeg', '4', 5.00, 'Amaron', 'pcs', 20, 100.00, 200.00, 5, 1, '2026-04-01 00:46:16', '2026-03-31 18:18:17', '2026-03-31 19:16:16'),
(16, 'PRD-0016', '55B24LS AMARON BATTERY', '85071000', 18.00, 'Amaron', 'pcs', 1, 6652.00, 7300.00, 5, 0, NULL, '2026-04-01 06:57:57', '2026-04-02 16:12:15'),
(17, 'PRD-0017', '40B20L AMARON BATTERY (36+36)', '85071000', 18.00, 'Amaron', 'pcs', 2, 3833.00, 4500.00, 5, 0, NULL, '2026-04-01 07:00:41', '2026-04-02 16:11:33'),
(18, 'PRD-0018', '40B20R AMARON BATTERY (36+36)', '85071000', 18.00, 'Amaron', 'pcs', 0, 3833.00, 4500.00, 5, 0, NULL, '2026-04-01 07:04:01', '2026-04-02 16:11:03'),
(19, 'PRD-0019', '42B20L AMARON BATTERY(36+36)', '85071000', 18.00, 'Amaron', 'pcs', 0, 4082.00, 4600.00, 5, 0, NULL, '2026-04-01 07:05:34', '2026-04-02 16:10:11'),
(20, 'PRD-0020', '42B20R AMARON BATTERY (36+36)', '85071000', 18.00, 'Amaron', 'pcs', 0, 4082.00, 4600.00, 5, 0, NULL, '2026-04-01 07:06:56', '2026-04-02 16:09:46'),
(21, 'PRD-0021', 'BH40B20L AMARON BATTERY (36+36)', '85071000', 18.00, 'Amaron', 'pcs', 1, 4271.00, 4800.00, 5, 0, NULL, '2026-04-01 07:08:11', '2026-04-02 16:08:39'),
(22, 'PRD-0022', 'BH45D20L AMARON BATTERY (30+30)', '85071000', 18.00, 'Amaron', 'pcs', 0, 5553.00, 6100.00, 5, 1, '2026-04-02 21:38:07', '2026-04-01 07:17:54', '2026-04-02 16:08:07'),
(23, 'PRD-0023', 'BH90D23L AMARON BATTERY (30+30)', '85071000', 18.00, 'Amaron', 'pcs', 1, 6178.00, 6800.00, 5, 0, NULL, '2026-04-01 07:19:12', '2026-04-02 16:07:07'),
(24, 'PRD-0024', 'DIN45 AMARON CAR BATTERY (30+30)', '85071000', 18.00, 'Amaron', 'pcs', 1, 5221.00, 5800.00, 5, 0, NULL, '2026-04-01 07:20:52', '2026-04-02 16:06:11'),
(25, 'PRD-0025', 'DIN50L AMARON CAR BATTERY (30+30)', '85071000', 18.00, 'Amaron', 'pcs', 1, 5610.00, 6200.00, 5, 0, NULL, '2026-04-01 07:22:48', '2026-04-01 07:22:48'),
(26, 'PRD-0026', 'DIN50R AMARON CAR BATTERY (30+30)', '85071000', 18.00, 'Amaron', 'pcs', 0, 5610.00, 6200.00, 5, 0, NULL, '2026-04-01 07:24:03', '2026-04-01 07:24:03'),
(27, 'PRD-0027', 'DIN55L AMARON CAR BATTERY (30+30)', '85071000', 18.00, 'Amaron', 'pcs', 0, 6420.00, 7000.00, 5, 0, NULL, '2026-04-01 07:25:51', '2026-04-01 07:25:51'),
(28, 'PRD-0028', 'DIN55R AMARON CAR BATTERY(30+30)', '85071000', 18.00, 'Amaron', 'pcs', 0, 6420.00, 7000.00, 5, 0, NULL, '2026-04-01 07:26:58', '2026-04-01 07:26:58'),
(29, 'PRD-0029', 'DIN65 AMARON CAR BATTERY (30+30)', '85071000', 18.00, 'Amaron', 'pcs', 2, 6771.00, 7400.00, 5, 0, NULL, '2026-04-01 07:28:12', '2026-04-02 16:04:54'),
(30, 'PRD-0030', 'DIN66 AMARN CAR BATTERY (30+30)', '85071000', 18.00, 'Amaron', 'pcs', 1, 6758.00, 7400.00, 5, 0, NULL, '2026-04-01 07:29:28', '2026-04-02 16:03:48'),
(31, 'PRD-0031', '80D23L AMARON CAR BATTERY (30+30)', '85071000', 18.00, 'Amaron', 'pcs', 1, 5872.00, 6400.00, 5, 0, NULL, '2026-04-01 07:31:20', '2026-04-02 16:02:41'),
(32, 'PRD-0032', '38B20L AMARON CAR BATTERY (30+30)', '85071000', 18.00, 'Amaron', 'pcs', 3, 3307.00, 3900.00, 5, 0, NULL, '2026-04-01 07:33:31', '2026-04-02 16:01:36'),
(33, 'PRD-0033', '38B20R AMARON BATTERY (30+30)', '85071000', 18.00, 'Amaron', 'pcs', 5, 3307.00, 3900.00, 5, 0, NULL, '2026-04-01 07:34:39', '2026-04-02 16:01:15'),
(34, 'PRD-0034', '34B20L  AMARON CAR BATTERY (24+24)', '85071000', 18.00, 'Amaron', 'pcs', 0, 3477.00, 4000.00, 5, 1, '2026-04-02 21:29:39', '2026-04-01 07:45:19', '2026-04-02 15:59:39'),
(35, 'PRD-0035', '34B20R AMARON CAR BATTERY (24+24)', '85071000', 18.00, 'Amaron', 'pcs', 0, 3477.00, 4000.00, 5, 1, '2026-04-02 21:29:24', '2026-04-01 07:46:30', '2026-04-02 15:59:24'),
(36, 'PRD-0036', '95D26L AMARON BATTERY(24+24)', '85071000', 18.00, 'Amaron', 'pcs', 1, 6466.00, 7000.00, 5, 0, NULL, '2026-04-01 15:04:17', '2026-04-02 15:58:25'),
(37, 'PRD-0037', '95D26R AMARON BATTERY (24+24)', '85071000', 18.00, 'Amaron', 'pcs', 1, 6466.00, 7000.00, 5, 0, NULL, '2026-04-01 15:05:26', '2026-04-02 15:57:57'),
(38, 'PRD-0038', '85D23R AMARON CAR BATTERY (24+24)', '85071000', 18.00, 'Amaron', 'pcs', 2, 6128.00, 6700.00, 5, 0, NULL, '2026-04-01 15:06:56', '2026-04-02 15:56:50'),
(39, 'PRD-0039', '105D31L AMARON CAR BATTERY (24+24)', '85071000', 18.00, 'Amaron', 'pcs', 1, 6965.00, 7500.00, 5, 0, NULL, '2026-04-01 15:08:47', '2026-04-02 15:56:07'),
(40, 'PRD-0040', '105D31R AMARON BATTERY (24+24)', '85071000', 18.00, 'Amaron', 'pcs', 1, 6965.00, 7500.00, 5, 0, NULL, '2026-04-01 15:10:04', '2026-04-02 15:55:38'),
(41, 'PRD-0041', '90LB  AMARON HARVEST BATTERY (18+18)', '85071000', 18.00, 'Amaron', 'pcs', 4, 6389.00, 6900.00, 5, 0, NULL, '2026-04-01 15:12:56', '2026-04-02 15:54:24'),
(42, 'PRD-0042', '90RB AMARON HARVEST BATTERY (18+18)', '85071000', 18.00, 'Amaron', 'pcs', 1, 6389.00, 6900.00, 5, 0, NULL, '2026-04-01 15:14:09', '2026-04-02 15:53:37'),
(43, 'PRD-0043', '90L  AMARON HARVEST BATTERY (24+18)', '85071000', 18.00, 'Amaron', 'pcs', 1, 6981.00, 7500.00, 5, 0, NULL, '2026-04-01 15:15:59', '2026-04-02 15:51:27'),
(44, 'PRD-0044', '90R  AMARON HERVAST BATTERY (24+18)', '85071000', 18.00, 'Amaron', 'pcs', 1, 6981.00, 7500.00, 5, 0, NULL, '2026-04-01 15:17:02', '2026-04-02 15:50:48'),
(45, 'PRD-0045', '620D31R AMARON HI_WAY BATTERY (24+18)', '85071000', 18.00, 'Amaron', 'pcs', 1, 6542.00, 7100.00, 5, 0, NULL, '2026-04-01 15:18:44', '2026-04-02 14:50:03'),
(46, 'PRD-0046', 'Z6 AMARON BIKE BATTERY (24+24)', '85071000', 18.00, 'Amaron', 'pcs', 8, 1071.00, 1350.00, 5, 0, NULL, '2026-04-02 11:19:06', '2026-04-02 14:48:35'),
(47, 'PRD-0047', '130 amaron black battery (18+18)', '85071000', 18.00, 'Amaron', 'pcs', 2, 9416.00, 10000.00, 5, 0, NULL, '2026-04-02 11:29:48', '2026-04-02 14:43:16'),
(48, 'PRD-0048', '2.5 AMARON BIKE BATTERY (24+24)', '85071000', 18.00, 'Amaron', 'pcs', 1, 719.00, 900.00, 5, 0, NULL, '2026-04-02 11:47:14', '2026-04-11 12:25:45'),
(49, 'PRD-0049', '5LB AMARON BIKE BATTERY (24+24)', '85071000', 18.00, 'Amaron', 'pcs', 10, 1047.00, 1300.00, 5, 0, NULL, '2026-04-02 11:49:05', '2026-04-02 14:26:39'),
(50, 'PRD-0050', 'Z4 AMARON BIKE BATTERY (24+24)', '85071000', 18.00, 'Amaron', 'pcs', 19, 814.00, 1100.00, 5, 0, NULL, '2026-04-02 11:50:07', '2026-04-02 16:42:16'),
(51, 'PRD-0051', 'Z5 AMARON BIKE BATTERY (24+24)', '85071000', 18.00, 'Amaron', 'pcs', 6, 1023.00, 1250.00, 5, 0, NULL, '2026-04-02 11:51:15', '2026-04-02 14:24:40'),
(52, 'PRD-0052', '100AMS AMARON BATTERY HI-WAY (24+18)', '85071000', 18.00, 'Amaron', 'pcs', 0, 8233.00, 8800.00, 5, 0, NULL, '2026-04-02 13:35:11', '2026-04-02 14:23:17'),
(53, 'PRD-0053', '130 HI -WAY AMARON BATTERY (24+18)', '85071000', 18.00, 'Amaron', 'pcs', 0, 10291.00, 10800.00, 5, 0, NULL, '2026-04-02 13:36:28', '2026-04-02 14:22:14'),
(54, 'PRD-0054', '150 AMARON BATTERY HI_WAY (24+18)', '85071000', 18.00, 'Amaron', 'pcs', 0, 12905.00, 14500.00, 5, 0, NULL, '2026-04-02 13:38:17', '2026-04-02 13:38:17'),
(55, 'PRD-0055', '180 AMARON BATTERY  HI-WAY(24+18)', '85071000', 18.00, 'Amaron', 'pcs', 0, 15065.00, 16200.00, 5, 0, NULL, '2026-04-02 13:39:54', '2026-04-02 14:15:51'),
(56, 'PRD-0056', '200 AMARON BATTERY HI-WAY(24+18)', '85071000', 18.00, 'Amaron', 'pcs', 0, 15478.00, 16800.00, 5, 0, NULL, '2026-04-02 13:41:03', '2026-04-02 14:16:31'),
(57, 'PRD-0057', '130 AMARON SHORT TUBULAR (24+18)', '85072000', 18.00, 'Amaron', 'pcs', 0, 8431.00, 9500.00, 5, 0, NULL, '2026-04-02 13:48:32', '2026-04-02 13:48:32'),
(58, 'PRD-0058', '150 AMARON TUBULAR (36+24)', '85072000', 18.00, 'Amaron', 'pcs', 4, 11602.00, 14000.00, 5, 0, NULL, '2026-04-02 13:49:39', '2026-05-06 04:00:23'),
(59, 'PRD-0059', '200 AMARON TUBULAR (36+24)', '85072000', 18.00, 'Amaron', 'pcs', 1, 14086.00, 16000.00, 5, 0, NULL, '2026-04-02 13:51:07', '2026-05-06 04:01:08'),
(60, 'PRD-0060', '1200 AMARON UPS (36M)', '85044010', 18.00, 'Amaron', 'pcs', 1, 4841.00, 6000.00, 5, 0, NULL, '2026-04-02 13:53:07', '2026-04-02 13:53:07'),
(61, 'PRD-0061', '2500 AMARON UPS (36M)', '85044010', 18.00, 'Amaron', 'pcs', 0, 9837.00, 11500.00, 5, 0, NULL, '2026-04-02 13:54:11', '2026-04-02 13:54:11'),
(62, 'PRD-0062', '60L AMARON BLACK BATTERY (18+18)', '85071000', 18.00, 'Amaron', 'pcs', 1, 4671.00, 5400.00, 5, 0, NULL, '2026-04-02 13:57:47', '2026-04-02 13:59:23'),
(63, 'PRD-0063', '60R AMARON BLACK BATTERY (18+18)', '85071000', 18.00, 'Amaron', 'pcs', 2, 4671.00, 5400.00, 5, 0, NULL, '2026-04-02 13:59:03', '2026-04-02 13:59:03'),
(64, 'PRD-0064', '70 L AMARON BLACK BATTERY (18+18)', '85071000', 18.00, 'Amaron', 'pcs', 0, 5706.00, 6200.00, 5, 0, NULL, '2026-04-02 14:00:27', '2026-04-02 14:12:52'),
(65, 'PRD-0065', '70R AMARON BLACK BATTERY (18+18)', '85071000', 18.00, 'Amaron', 'pcs', 0, 5706.00, 6200.00, 5, 0, NULL, '2026-04-02 14:01:46', '2026-04-02 14:12:10'),
(66, 'PRD-0066', '80L AMARON BLACK BATTERY (18+18)', '85071000', 18.00, 'Amaron', 'pcs', 2, 5811.00, 6500.00, 5, 0, NULL, '2026-04-02 14:06:23', '2026-04-02 14:11:40'),
(67, 'PRD-0067', '80R AMARON BLACK BATTERY (18+18)', '85071000', 18.00, 'Amaron', 'pcs', 0, 5811.00, 6500.00, 5, 0, NULL, '2026-04-02 14:07:29', '2026-04-02 14:11:26'),
(68, 'PRD-0068', '100RB AMARON BLACK BATTERY (18+18)', '85071000', 18.00, 'Amaron', 'pcs', 6, 6877.00, 7500.00, 5, 0, NULL, '2026-04-02 16:19:02', '2026-04-02 16:31:55'),
(69, 'PRD-0069', 'N55-80B24L AMARON CAR BATTERY (24+24)', '85071000', 18.00, 'Amaron', 'pcs', 1, 5520.00, 6100.00, 5, 0, NULL, '2026-04-02 16:21:28', '2026-04-02 16:21:28'),
(70, 'PRD-0070', 'LN1-DIN47R AMARON CAR BATTERY (24+24)', '85071000', 18.00, 'Amaron', 'pcs', 1, 5502.00, 6100.00, 5, 0, NULL, '2026-04-02 16:23:22', '2026-04-02 16:23:22'),
(71, 'PRD-0071', '40R - AMARON BLACK HEAVY DUTY BATTERY (18+18)', '85071000', 18.00, 'Amaron', 'pcs', 1, 3049.00, 4000.00, 5, 0, NULL, '2026-04-02 16:25:09', '2026-04-02 16:25:09'),
(72, 'PRD-0072', '40L - AMARON BLACK HEAVY DUTY BATTERY (18+18)', '8507100', 18.00, 'Amaron', 'pcs', 1, 3049.00, 4000.00, 5, 0, NULL, '2026-04-02 16:26:52', '2026-04-02 16:26:52'),
(73, 'PRD-0073', '40 - ELTO AMARON BATTERY (24)', '85071000', 18.00, 'Amaron', 'pcs', 3, 2500.00, 3300.00, 5, 0, NULL, '2026-04-02 16:29:24', '2026-04-02 16:31:30'),
(74, 'PRD-0074', '40B - ELTO AMARON BATTERY (30+30)', '85071000', 18.00, 'Amaron', 'pcs', 2, 2885.00, 3500.00, 5, 0, NULL, '2026-04-02 16:31:03', '2026-04-02 16:31:03'),
(75, 'PRD-0075', 'Z14 R AMARON BIKE BATTERY', '85071000', 5.00, 'Amaron', 'pcs', 1, 2232.00, 2800.00, 5, 0, NULL, '2026-04-24 14:43:51', '2026-04-24 14:43:51'),
(76, 'PRD-0076', '50B24L', '85071000', 18.00, 'Amaron', 'pcs', 2, 4755.41, 6100.00, 5, 0, NULL, '2026-04-30 14:19:27', '2026-04-30 14:19:27'),
(77, 'PRD-0077', 'AMARON QUANTA 65AH SMF BATTERY 12AL065', '85071000', 18.00, 'Amaron', 'pcs', 0, 4965.10, 6700.00, 5, 0, NULL, '2026-05-05 09:33:56', '2026-05-05 12:48:43');

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

--
-- Table structure for table `product_categories`
--

CREATE TABLE `product_categories` (
  `id` int(10) UNSIGNED NOT NULL,
  `category_name` varchar(100) NOT NULL,
  `description` varchar(255) DEFAULT NULL,
  `created_by` int(10) UNSIGNED DEFAULT NULL,
  `is_deleted` tinyint(1) NOT NULL DEFAULT 0,
  `deleted_at` datetime DEFAULT NULL,
  `created_at` timestamp NOT NULL DEFAULT current_timestamp(),
  `updated_at` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Dumping data for table `product_categories`
--

INSERT INTO `product_categories` (`id`, `category_name`, `description`, `created_by`, `is_deleted`, `deleted_at`, `created_at`, `updated_at`) VALUES
(1, 'Amaron', '.', 1, 0, NULL, '2026-03-30 17:40:06', '2026-03-30 17:40:06');

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

--
-- Table structure for table `proforma_invoices`
--

CREATE TABLE `proforma_invoices` (
  `id` int(10) UNSIGNED NOT NULL,
  `proforma_no` varchar(40) NOT NULL,
  `customer_name` varchar(120) NOT NULL,
  `customer_code` varchar(40) DEFAULT NULL,
  `customer_phone` varchar(30) DEFAULT NULL,
  `customer_gstin` varchar(20) DEFAULT NULL,
  `mode_of_sale` varchar(40) DEFAULT NULL,
  `billing_address` text DEFAULT NULL,
  `delivery_address` text DEFAULT NULL,
  `proforma_date` date NOT NULL,
  `place_of_supply` varchar(60) DEFAULT NULL,
  `supply_type` varchar(10) NOT NULL DEFAULT 'intra',
  `gst_inclusive` tinyint(1) NOT NULL DEFAULT 0,
  `taxable_amount` decimal(12,2) NOT NULL DEFAULT 0.00,
  `cgst_amount` decimal(12,2) NOT NULL DEFAULT 0.00,
  `sgst_amount` decimal(12,2) NOT NULL DEFAULT 0.00,
  `igst_amount` decimal(12,2) NOT NULL DEFAULT 0.00,
  `total_amount` decimal(12,2) NOT NULL DEFAULT 0.00,
  `note` varchar(255) DEFAULT NULL,
  `is_deleted` tinyint(1) NOT NULL DEFAULT 0,
  `deleted_at` datetime DEFAULT NULL,
  `archive_seq` int(11) NOT NULL DEFAULT 0,
  `created_by` int(10) UNSIGNED DEFAULT NULL,
  `created_at` timestamp NOT NULL DEFAULT current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Dumping data for table `proforma_invoices`
--

INSERT INTO `proforma_invoices` (`id`, `proforma_no`, `customer_name`, `customer_code`, `customer_phone`, `customer_gstin`, `mode_of_sale`, `billing_address`, `delivery_address`, `proforma_date`, `place_of_supply`, `supply_type`, `gst_inclusive`, `taxable_amount`, `cgst_amount`, `sgst_amount`, `igst_amount`, `total_amount`, `note`, `is_deleted`, `deleted_at`, `archive_seq`, `created_by`, `created_at`) VALUES
(1, 'PFI/2627/0001', 'Tha secretery', 'CUS-0137', '0', '.', 'Bank Transfer', 'Tagore callege of engineering of technaloge deviyakurichi thalaivasal-636112', 'Tagore callege of engineering of technaloge deviyakurichi thalaivasal-636112', '2026-05-05', 'Tamil Nadu', 'intra', 1, 170338.98, 15330.51, 15330.51, 0.00, 201000.00, '', 1, '2026-05-05 15:07:35', 1, 1, '2026-05-05 09:35:09'),
(2, 'PFI/2627/0001', 'Tha secretery', 'CUS-0137', '0', '.', 'Bank Transfer', 'Tagore callege of engineering of technaloge deviyakurichi thalaivasal-636112', 'Tagore callege of engineering of technaloge deviyakurichi thalaivasal-636112', '2026-05-05', 'Tamil Nadu', 'intra', 1, 126228.56, 11360.57, 11360.57, 0.00, 148949.70, '', 1, '2026-05-05 15:09:10', 2, 1, '2026-05-05 09:37:35'),
(3, 'PFI/2627/0001', 'Tha secretery', 'CUS-0137', '0', '.', 'Bank Transfer', 'Tagore callege of engineering of technaloge deviyakurichi thalaivasal-636112', 'Tagore callege of engineering of technaloge deviyakurichi thalaivasal-636112', '2026-05-05', 'Tamil Nadu', 'intra', 1, 139677.97, 12571.02, 12571.02, 0.00, 164820.01, '', 1, '2026-05-05 15:14:06', 3, 1, '2026-05-05 09:39:10'),
(4, 'PFI/2627/0001', 'Tha secretery', 'CUS-0137', '0', '.', 'Bank Transfer', 'Tagore callege of engineering of technaloge deviyakurichi thalaivasal-636112', 'Tagore callege of engineering of technaloge deviyakurichi thalaivasal-636112', '2026-05-05', 'Tamil Nadu', 'intra', 1, 170338.98, 15330.51, 15330.51, 0.00, 201000.00, '', 0, NULL, 0, 1, '2026-05-05 09:44:06'),
(5, 'PFI/2627/0002', 'Tha secretery', 'CUS-0137', '0', '.', 'Bank Transfer', 'Tagore callege of engineering of technaloge deviyakurichi thalaivasal-636112', 'Tagore callege of engineering of technaloge deviyakurichi thalaivasal-636112', '2026-05-05', 'Tamil Nadu', 'intra', 1, 170338.98, 15330.51, 15330.51, 0.00, 201000.00, '', 0, NULL, 0, 1, '2026-05-05 09:48:17');

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

--
-- Table structure for table `proforma_items`
--

CREATE TABLE `proforma_items` (
  `id` int(10) UNSIGNED NOT NULL,
  `proforma_id` int(10) UNSIGNED NOT NULL,
  `product_id` int(10) UNSIGNED NOT NULL,
  `quantity` int(11) NOT NULL,
  `unit_price` decimal(10,2) NOT NULL,
  `gst_rate` decimal(5,2) NOT NULL DEFAULT 0.00,
  `cgst_rate` decimal(5,2) NOT NULL DEFAULT 0.00,
  `sgst_rate` decimal(5,2) NOT NULL DEFAULT 0.00,
  `igst_rate` decimal(5,2) NOT NULL DEFAULT 0.00,
  `cgst_amount` decimal(12,2) NOT NULL DEFAULT 0.00,
  `sgst_amount` decimal(12,2) NOT NULL DEFAULT 0.00,
  `igst_amount` decimal(12,2) NOT NULL DEFAULT 0.00,
  `line_total` decimal(12,2) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Dumping data for table `proforma_items`
--

INSERT INTO `proforma_items` (`id`, `proforma_id`, `product_id`, `quantity`, `unit_price`, `gst_rate`, `cgst_rate`, `sgst_rate`, `igst_rate`, `cgst_amount`, `sgst_amount`, `igst_amount`, `line_total`) VALUES
(1, 1, 77, 30, 6700.00, 18.00, 9.00, 9.00, 0.00, 15330.51, 15330.51, 0.00, 170338.98),
(2, 2, 77, 30, 4964.99, 18.00, 9.00, 9.00, 0.00, 11360.57, 11360.57, 0.00, 126228.56),
(3, 3, 77, 30, 5494.00, 18.00, 9.00, 9.00, 0.00, 12571.02, 12571.02, 0.00, 139677.97),
(4, 4, 77, 30, 6700.00, 18.00, 9.00, 9.00, 0.00, 15330.51, 15330.51, 0.00, 170338.98),
(5, 5, 77, 30, 6700.00, 18.00, 9.00, 9.00, 0.00, 15330.51, 15330.51, 0.00, 170338.98);

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

--
-- Table structure for table `purchase_invoices`
--

CREATE TABLE `purchase_invoices` (
  `id` int(10) UNSIGNED NOT NULL,
  `invoice_no` varchar(40) NOT NULL,
  `reference_code` varchar(40) DEFAULT NULL,
  `supplier_id` int(10) UNSIGNED NOT NULL,
  `invoice_date` date NOT NULL,
  `entry_date` date DEFAULT NULL,
  `entry_time` time DEFAULT NULL,
  `supplier_gstin` varchar(20) DEFAULT NULL,
  `financial_year` varchar(9) DEFAULT NULL,
  `place_of_supply` varchar(60) DEFAULT NULL,
  `supply_type` varchar(10) NOT NULL DEFAULT 'intra',
  `taxable_amount` decimal(12,2) NOT NULL DEFAULT 0.00,
  `cgst_amount` decimal(12,2) NOT NULL DEFAULT 0.00,
  `sgst_amount` decimal(12,2) NOT NULL DEFAULT 0.00,
  `igst_amount` decimal(12,2) NOT NULL DEFAULT 0.00,
  `total_amount` decimal(12,2) NOT NULL DEFAULT 0.00,
  `note` varchar(255) DEFAULT NULL,
  `is_deleted` tinyint(1) NOT NULL DEFAULT 0,
  `deleted_at` datetime DEFAULT NULL,
  `archive_seq` int(11) NOT NULL DEFAULT 0,
  `created_by` int(10) UNSIGNED DEFAULT NULL,
  `created_at` timestamp NOT NULL DEFAULT current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Dumping data for table `purchase_invoices`
--

INSERT INTO `purchase_invoices` (`id`, `invoice_no`, `reference_code`, `supplier_id`, `invoice_date`, `entry_date`, `entry_time`, `supplier_gstin`, `financial_year`, `place_of_supply`, `supply_type`, `taxable_amount`, `cgst_amount`, `sgst_amount`, `igst_amount`, `total_amount`, `note`, `is_deleted`, `deleted_at`, `archive_seq`, `created_by`, `created_at`) VALUES
(1, 'PUR/2627/0001', 'PUR-REF-0001', 2, '2026-04-06', '2026-04-06', '08:18:41', '33AAIPU1125C2Z5', '2026-27', 'Tamil Nadu', 'intra', 78110.00, 7029.90, 7029.90, 0.00, 92169.80, '', 0, NULL, 0, 1, '2026-04-06 08:18:41'),
(2, 'PUR/2627/0002', 'PUR-REF-0002', 2, '2026-04-06', '2026-04-06', '08:19:02', '33AAIPU1125C2Z5', '2026-27', 'Tamil Nadu', 'intra', 4841.00, 435.69, 435.69, 0.00, 5712.38, '', 0, NULL, 0, 1, '2026-04-06 08:19:02'),
(3, 'PUR/2627/0003', 'PUR-REF-0003', 2, '2026-04-07', '2026-04-07', '16:24:50', '33AAIPU1125C2Z5', '2026-27', 'Tamil Nadu', 'intra', 45498.00, 4094.82, 4094.82, 0.00, 53687.64, '', 1, '2026-04-07 22:00:12', 1, 1, '2026-04-07 16:24:50'),
(4, 'PUR/2627/0003', 'PUR-REF-0003', 2, '2026-04-07', '2026-04-07', '16:30:12', '33AAIPU1125C2Z5', '2026-27', 'Tamil Nadu', 'intra', 38555.93, 3470.04, 3470.04, 0.00, 45496.01, '', 0, NULL, 0, 1, '2026-04-07 16:30:12'),
(5, 'PUR/2627/0004', 'PUR-REF-0005', 2, '2026-04-11', '2026-04-11', '12:10:54', '33AAIPU1125C2Z5', '2026-27', 'Tamil Nadu', 'intra', 69257.00, 6233.13, 6233.13, 0.00, 81723.26, '', 1, '2026-04-11 17:43:31', 1, 1, '2026-04-11 12:10:54'),
(6, 'PUR/2627/0004', 'PUR-REF-0005', 2, '2026-04-11', '2026-04-11', '12:13:31', '33AAIPU1125C2Z5', '2026-27', 'Tamil Nadu', 'intra', 69257.00, 6233.13, 6233.13, 0.00, 81723.26, '', 0, NULL, 0, 1, '2026-04-11 12:13:31'),
(7, 'PUR/2627/0005', 'PUR-REF-0007', 2, '2026-04-11', '2026-04-11', '12:46:07', '33AAIPU1125C2Z5', '2026-27', 'Tamil Nadu', 'intra', 18638.00, 1677.42, 1677.42, 0.00, 21992.84, '', 0, NULL, 0, 1, '2026-04-11 12:46:07'),
(8, 'PUR/2627/0006', 'PUR-REF-0008', 2, '2026-04-14', '2026-04-14', '14:12:32', '33AAIPU1125C2Z5', '2026-27', 'Tamil Nadu', 'intra', 77378.00, 6964.02, 6964.02, 0.00, 91306.04, '', 0, NULL, 0, 1, '2026-04-14 14:12:32'),
(9, 'PUR/2627/0007', 'PUR-REF-0009', 2, '2026-04-20', '2026-04-20', '02:36:19', '33AAIPU1125C2Z5', '2026-27', 'Tamil Nadu', 'intra', 6351.72, 571.65, 571.65, 0.00, 7495.02, '', 0, NULL, 0, 1, '2026-04-20 02:36:19'),
(10, 'PUR/2627/0008', 'PUR-REF-0010', 2, '2026-04-20', '2026-04-20', '02:41:09', '33AAIPU1125C2Z5', '2026-27', 'Tamil Nadu', 'intra', 35402.00, 3186.17, 3186.17, 0.00, 41774.34, '', 0, NULL, 0, 1, '2026-04-20 02:41:09'),
(11, 'PUR/2627/0009', 'PUR-REF-0011', 2, '2026-04-20', '2026-04-20', '10:41:14', '33AAIPU1125C2Z5', '2026-27', 'Tamil Nadu', 'intra', 23289.62, 2096.07, 2096.07, 0.00, 27481.76, '', 0, NULL, 0, 1, '2026-04-20 10:41:14'),
(12, 'PUR/2627/0010', 'PUR-REF-0012', 2, '2026-04-20', '2026-04-20', '10:42:09', '33AAIPU1125C2Z5', '2026-27', 'Tamil Nadu', 'intra', 8204.78, 738.43, 738.43, 0.00, 9681.64, '', 0, NULL, 0, 1, '2026-04-20 10:42:09'),
(13, 'PUR/2627/0011', 'PUR-REF-0013', 2, '2026-04-20', '2026-04-20', '10:44:41', '33AAIPU1125C2Z5', '2026-27', 'Tamil Nadu', 'intra', 14316.96, 1288.53, 1288.53, 0.00, 16894.02, '', 0, NULL, 0, 1, '2026-04-20 10:44:41'),
(14, 'PUR/2627/0012', 'PUR-REF-0014', 2, '2026-04-24', '2026-04-24', '14:26:51', '33AAIPU1125C2Z5', '2026-27', 'Tamil Nadu', 'intra', 11644.81, 1048.03, 1048.03, 0.00, 13740.87, '', 0, NULL, 0, 1, '2026-04-24 14:26:51'),
(15, 'PUR/2627/0013', 'PUR-REF-0015', 2, '2026-04-24', '2026-04-24', '14:41:34', '33AAIPU1125C2Z5', '2026-27', 'Tamil Nadu', 'intra', 44875.85, 4038.82, 4038.82, 0.00, 52953.49, '', 0, NULL, 0, 1, '2026-04-24 14:41:34'),
(16, 'PUR/2627/0014', 'PUR-REF-0016', 2, '2026-04-25', '2026-04-25', '15:20:13', '33AAIPU1125C2Z5', '2026-27', 'Tamil Nadu', 'intra', 4000.00, 360.00, 360.00, 0.00, 4720.00, '', 0, NULL, 0, 1, '2026-04-25 15:20:13'),
(17, 'PUR/2627/0015', 'PUR-REF-0017', 2, '2026-04-30', '2026-04-30', '14:17:26', '33AAIPU1125C2Z5', '2026-27', 'Tamil Nadu', 'intra', 57549.52, 5179.47, 5179.47, 0.00, 67908.46, '', 0, NULL, 0, 1, '2026-04-30 14:17:26'),
(18, 'PUR/2627/0016', 'PUR-REF-0018', 2, '2026-04-30', '2026-04-30', '14:24:08', '33AAIPU1125C2Z5', '2026-27', 'Tamil Nadu', 'intra', 24276.92, 2184.92, 2184.92, 0.00, 28646.76, '', 0, NULL, 0, 1, '2026-04-30 14:24:08'),
(19, 'PUR/2627/0017', 'PUR-REF-0019', 2, '2026-05-05', '2026-05-05', '13:55:14', '33AAIPU1125C2Z5', '2026-27', 'Tamil Nadu', 'intra', 43055.90, 3875.03, 3875.03, 0.00, 50805.96, '', 0, NULL, 0, 1, '2026-05-05 13:55:14'),
(20, 'PUR/2627/0018', 'PUR-REF-0020', 2, '2026-05-05', '2026-05-05', '13:56:07', '33AAIPU1125C2Z5', '2026-27', 'Tamil Nadu', 'intra', 11734.77, 1056.13, 1056.13, 0.00, 13847.03, '', 0, NULL, 0, 1, '2026-05-05 13:56:07'),
(21, 'PUR/2627/0019', 'PUR-REF-0021', 2, '2026-05-05', '2026-05-05', '14:00:26', '33AAIPU1125C2Z5', '2026-27', 'Tamil Nadu', 'intra', 59166.14, 5324.95, 5324.95, 0.00, 69816.04, '', 0, NULL, 0, 1, '2026-05-05 14:00:26');

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

--
-- Table structure for table `purchase_invoices_non_gst`
--

CREATE TABLE `purchase_invoices_non_gst` (
  `id` int(10) UNSIGNED NOT NULL,
  `invoice_no` varchar(40) NOT NULL,
  `reference_code` varchar(40) DEFAULT NULL,
  `supplier_id` int(10) UNSIGNED NOT NULL,
  `invoice_date` date NOT NULL,
  `entry_date` date DEFAULT NULL,
  `entry_time` time DEFAULT NULL,
  `supplier_gstin` varchar(20) DEFAULT NULL,
  `place_of_supply` varchar(60) DEFAULT NULL,
  `supply_type` varchar(10) NOT NULL DEFAULT 'intra',
  `taxable_amount` decimal(12,2) NOT NULL DEFAULT 0.00,
  `cgst_amount` decimal(12,2) NOT NULL DEFAULT 0.00,
  `sgst_amount` decimal(12,2) NOT NULL DEFAULT 0.00,
  `igst_amount` decimal(12,2) NOT NULL DEFAULT 0.00,
  `total_amount` decimal(12,2) NOT NULL DEFAULT 0.00,
  `note` varchar(255) DEFAULT NULL,
  `is_deleted` tinyint(1) NOT NULL DEFAULT 0,
  `deleted_at` datetime DEFAULT NULL,
  `archive_seq` int(11) NOT NULL DEFAULT 0,
  `created_by` int(10) UNSIGNED DEFAULT NULL,
  `created_at` timestamp NOT NULL DEFAULT current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

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

--
-- Table structure for table `purchase_items`
--

CREATE TABLE `purchase_items` (
  `id` int(10) UNSIGNED NOT NULL,
  `purchase_id` int(10) UNSIGNED NOT NULL,
  `product_id` int(10) UNSIGNED NOT NULL,
  `quantity` int(11) NOT NULL,
  `unit_price` decimal(10,2) NOT NULL,
  `gst_rate` decimal(5,2) NOT NULL DEFAULT 0.00,
  `cgst_rate` decimal(5,2) NOT NULL DEFAULT 0.00,
  `sgst_rate` decimal(5,2) NOT NULL DEFAULT 0.00,
  `igst_rate` decimal(5,2) NOT NULL DEFAULT 0.00,
  `cgst_amount` decimal(12,2) NOT NULL DEFAULT 0.00,
  `sgst_amount` decimal(12,2) NOT NULL DEFAULT 0.00,
  `igst_amount` decimal(12,2) NOT NULL DEFAULT 0.00,
  `line_total` decimal(12,2) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Dumping data for table `purchase_items`
--

INSERT INTO `purchase_items` (`id`, `purchase_id`, `product_id`, `quantity`, `unit_price`, `gst_rate`, `cgst_rate`, `sgst_rate`, `igst_rate`, `cgst_amount`, `sgst_amount`, `igst_amount`, `line_total`) VALUES
(1, 1, 32, 4, 3307.00, 18.00, 9.00, 9.00, 0.00, 1190.52, 1190.52, 0.00, 13228.00),
(2, 1, 25, 2, 5610.00, 18.00, 9.00, 9.00, 0.00, 1009.80, 1009.80, 0.00, 11220.00),
(3, 1, 40, 1, 6965.00, 18.00, 9.00, 9.00, 0.00, 626.85, 626.85, 0.00, 6965.00),
(4, 1, 67, 2, 5811.00, 18.00, 9.00, 9.00, 0.00, 1045.98, 1045.98, 0.00, 11622.00),
(5, 1, 47, 1, 9416.00, 18.00, 9.00, 9.00, 0.00, 847.44, 847.44, 0.00, 9416.00),
(6, 1, 24, 2, 5221.00, 18.00, 9.00, 9.00, 0.00, 939.78, 939.78, 0.00, 10442.00),
(7, 1, 66, 2, 5811.00, 18.00, 9.00, 9.00, 0.00, 1045.98, 1045.98, 0.00, 11622.00),
(8, 1, 48, 5, 719.00, 18.00, 9.00, 9.00, 0.00, 323.55, 323.55, 0.00, 3595.00),
(9, 2, 60, 1, 4841.00, 18.00, 9.00, 9.00, 0.00, 435.69, 435.69, 0.00, 4841.00),
(10, 3, 32, 2, 3307.00, 18.00, 9.00, 9.00, 0.00, 595.26, 595.26, 0.00, 6614.00),
(11, 3, 17, 1, 3833.00, 18.00, 9.00, 9.00, 0.00, 344.97, 344.97, 0.00, 3833.00),
(12, 3, 63, 2, 4671.00, 18.00, 9.00, 9.00, 0.00, 840.78, 840.78, 0.00, 9342.00),
(13, 3, 47, 1, 9416.00, 18.00, 9.00, 9.00, 0.00, 847.44, 847.44, 0.00, 9416.00),
(14, 3, 66, 1, 5811.00, 18.00, 9.00, 9.00, 0.00, 522.99, 522.99, 0.00, 5811.00),
(15, 3, 67, 1, 5811.00, 18.00, 9.00, 9.00, 0.00, 522.99, 522.99, 0.00, 5811.00),
(16, 3, 62, 1, 4671.00, 18.00, 9.00, 9.00, 0.00, 420.39, 420.39, 0.00, 4671.00),
(17, 4, 32, 2, 2802.25, 18.00, 9.00, 9.00, 0.00, 504.41, 504.41, 0.00, 5604.50),
(18, 4, 17, 1, 3248.13, 18.00, 9.00, 9.00, 0.00, 292.33, 292.33, 0.00, 3248.13),
(19, 4, 63, 2, 3958.15, 18.00, 9.00, 9.00, 0.00, 712.47, 712.47, 0.00, 7916.30),
(20, 4, 47, 1, 7979.73, 18.00, 9.00, 9.00, 0.00, 718.18, 718.18, 0.00, 7979.73),
(21, 4, 66, 1, 4924.58, 18.00, 9.00, 9.00, 0.00, 443.21, 443.21, 0.00, 4924.58),
(22, 4, 67, 1, 4924.58, 18.00, 9.00, 9.00, 0.00, 443.21, 443.21, 0.00, 4924.58),
(23, 4, 62, 1, 3958.11, 18.00, 9.00, 9.00, 0.00, 356.23, 356.23, 0.00, 3958.11),
(24, 5, 68, 3, 6877.00, 18.00, 9.00, 9.00, 0.00, 1856.79, 1856.79, 0.00, 20631.00),
(25, 5, 21, 1, 4271.00, 18.00, 9.00, 9.00, 0.00, 384.39, 384.39, 0.00, 4271.00),
(26, 5, 40, 1, 6965.00, 18.00, 9.00, 9.00, 0.00, 626.85, 626.85, 0.00, 6965.00),
(27, 5, 62, 1, 4671.00, 18.00, 9.00, 9.00, 0.00, 420.39, 420.39, 0.00, 4671.00),
(28, 5, 36, 1, 6466.00, 18.00, 9.00, 9.00, 0.00, 581.94, 581.94, 0.00, 6466.00),
(29, 5, 63, 1, 4671.00, 18.00, 9.00, 9.00, 0.00, 420.39, 420.39, 0.00, 4671.00),
(30, 5, 46, 6, 1071.00, 18.00, 9.00, 9.00, 0.00, 578.34, 578.34, 0.00, 6426.00),
(31, 5, 9, 2, 1478.00, 18.00, 9.00, 9.00, 0.00, 266.04, 266.04, 0.00, 2956.00),
(32, 5, 67, 1, 5811.00, 18.00, 9.00, 9.00, 0.00, 522.99, 522.99, 0.00, 5811.00),
(33, 5, 41, 1, 6389.00, 18.00, 9.00, 9.00, 0.00, 575.01, 575.01, 0.00, 6389.00),
(34, 6, 21, 1, 4271.00, 18.00, 9.00, 9.00, 0.00, 384.39, 384.39, 0.00, 4271.00),
(35, 6, 40, 1, 6965.00, 18.00, 9.00, 9.00, 0.00, 626.85, 626.85, 0.00, 6965.00),
(36, 6, 62, 1, 4671.00, 18.00, 9.00, 9.00, 0.00, 420.39, 420.39, 0.00, 4671.00),
(37, 6, 36, 1, 6466.00, 18.00, 9.00, 9.00, 0.00, 581.94, 581.94, 0.00, 6466.00),
(38, 6, 63, 1, 4671.00, 18.00, 9.00, 9.00, 0.00, 420.39, 420.39, 0.00, 4671.00),
(39, 6, 46, 6, 1071.00, 18.00, 9.00, 9.00, 0.00, 578.34, 578.34, 0.00, 6426.00),
(40, 6, 9, 2, 1478.00, 18.00, 9.00, 9.00, 0.00, 266.04, 266.04, 0.00, 2956.00),
(41, 6, 67, 1, 5811.00, 18.00, 9.00, 9.00, 0.00, 522.99, 522.99, 0.00, 5811.00),
(42, 6, 41, 1, 6389.00, 18.00, 9.00, 9.00, 0.00, 575.01, 575.01, 0.00, 6389.00),
(43, 6, 68, 3, 6877.00, 18.00, 9.00, 9.00, 0.00, 1856.79, 1856.79, 0.00, 20631.00),
(44, 7, 17, 1, 3833.00, 18.00, 9.00, 9.00, 0.00, 344.97, 344.97, 0.00, 3833.00),
(45, 7, 48, 1, 719.00, 18.00, 9.00, 9.00, 0.00, 64.71, 64.71, 0.00, 719.00),
(46, 7, 59, 1, 14086.00, 18.00, 9.00, 9.00, 0.00, 1267.74, 1267.74, 0.00, 14086.00),
(47, 8, 58, 3, 11602.00, 18.00, 9.00, 9.00, 0.00, 3132.54, 3132.54, 0.00, 34806.00),
(48, 8, 60, 1, 4841.00, 18.00, 9.00, 9.00, 0.00, 435.69, 435.69, 0.00, 4841.00),
(49, 8, 59, 1, 14086.00, 18.00, 9.00, 9.00, 0.00, 1267.74, 1267.74, 0.00, 14086.00),
(50, 8, 41, 1, 6389.00, 18.00, 9.00, 9.00, 0.00, 575.01, 575.01, 0.00, 6389.00),
(51, 8, 47, 1, 9416.00, 18.00, 9.00, 9.00, 0.00, 847.44, 847.44, 0.00, 9416.00),
(52, 8, 9, 2, 1478.00, 18.00, 9.00, 9.00, 0.00, 266.04, 266.04, 0.00, 2956.00),
(53, 8, 50, 6, 814.00, 18.00, 9.00, 9.00, 0.00, 439.56, 439.56, 0.00, 4884.00),
(54, 9, 10, 1, 1013.82, 18.00, 9.00, 9.00, 0.00, 91.24, 91.24, 0.00, 1013.82),
(55, 9, 46, 6, 889.65, 18.00, 9.00, 9.00, 0.00, 480.41, 480.41, 0.00, 5337.90),
(56, 10, 68, 4, 5903.90, 18.00, 9.00, 9.00, 0.00, 2125.40, 2125.40, 0.00, 23615.60),
(57, 10, 62, 1, 3958.14, 18.00, 9.00, 9.00, 0.00, 356.23, 356.23, 0.00, 3958.14),
(58, 10, 9, 2, 1252.80, 18.00, 9.00, 9.00, 0.00, 225.50, 225.50, 0.00, 2505.60),
(59, 10, 49, 6, 887.11, 18.00, 9.00, 9.00, 0.00, 479.04, 479.04, 0.00, 5322.66),
(60, 11, 59, 2, 11644.81, 18.00, 9.00, 9.00, 0.00, 2096.07, 2096.07, 0.00, 23289.62),
(61, 12, 60, 2, 4102.39, 18.00, 9.00, 9.00, 0.00, 738.43, 738.43, 0.00, 8204.78),
(62, 13, 41, 2, 5414.78, 18.00, 9.00, 9.00, 0.00, 974.66, 974.66, 0.00, 10829.56),
(63, 13, 8, 2, 1296.00, 18.00, 9.00, 9.00, 0.00, 233.28, 233.28, 0.00, 2592.00),
(64, 13, 7, 1, 895.40, 18.00, 9.00, 9.00, 0.00, 80.59, 80.59, 0.00, 895.40),
(65, 14, 59, 1, 11644.81, 18.00, 9.00, 9.00, 0.00, 1048.03, 1048.03, 0.00, 11644.81),
(66, 15, 24, 2, 4335.80, 18.00, 9.00, 9.00, 0.00, 780.44, 780.44, 0.00, 8671.60),
(67, 15, 72, 1, 2532.61, 18.00, 9.00, 9.00, 0.00, 227.93, 227.93, 0.00, 2532.61),
(68, 15, 40, 1, 5784.77, 18.00, 9.00, 9.00, 0.00, 520.63, 520.63, 0.00, 5784.77),
(69, 15, 33, 2, 2746.20, 18.00, 9.00, 9.00, 0.00, 494.32, 494.32, 0.00, 5492.40),
(70, 15, 63, 2, 3878.50, 18.00, 9.00, 9.00, 0.00, 698.13, 698.13, 0.00, 7757.00),
(71, 15, 32, 2, 2746.19, 18.00, 9.00, 9.00, 0.00, 494.31, 494.31, 0.00, 5492.38),
(72, 15, 38, 1, 5089.69, 18.00, 9.00, 9.00, 0.00, 458.07, 458.07, 0.00, 5089.69),
(73, 15, 50, 6, 675.90, 18.00, 9.00, 9.00, 0.00, 364.99, 364.99, 0.00, 4055.40),
(74, 16, 60, 1, 4000.00, 18.00, 9.00, 9.00, 0.00, 360.00, 360.00, 0.00, 4000.00),
(75, 17, 32, 2, 2802.25, 18.00, 9.00, 9.00, 0.00, 504.41, 504.41, 0.00, 5604.50),
(76, 17, 25, 1, 4897.02, 18.00, 9.00, 9.00, 0.00, 440.73, 440.73, 0.00, 4897.02),
(77, 17, 24, 1, 4424.29, 18.00, 9.00, 9.00, 0.00, 398.19, 398.19, 0.00, 4424.29),
(78, 17, 63, 1, 3958.15, 18.00, 9.00, 9.00, 0.00, 356.23, 356.23, 0.00, 3958.15),
(79, 17, 68, 1, 5903.90, 18.00, 9.00, 9.00, 0.00, 531.35, 531.35, 0.00, 5903.90),
(80, 17, 50, 6, 689.70, 18.00, 9.00, 9.00, 0.00, 372.44, 372.44, 0.00, 4138.20),
(81, 17, 46, 6, 907.81, 18.00, 9.00, 9.00, 0.00, 490.22, 490.22, 0.00, 5446.86),
(82, 17, 58, 2, 9776.14, 18.00, 9.00, 9.00, 0.00, 1759.71, 1759.71, 0.00, 19552.28),
(83, 17, 60, 1, 3624.32, 18.00, 9.00, 9.00, 0.00, 326.19, 326.19, 0.00, 3624.32),
(84, 18, 49, 6, 858.54, 18.00, 9.00, 9.00, 0.00, 463.61, 463.61, 0.00, 5151.24),
(85, 18, 9, 2, 1211.96, 18.00, 9.00, 9.00, 0.00, 218.15, 218.15, 0.00, 2423.92),
(86, 18, 68, 2, 5639.14, 18.00, 9.00, 9.00, 0.00, 1015.05, 1015.05, 0.00, 11278.28),
(87, 18, 32, 2, 2711.74, 18.00, 9.00, 9.00, 0.00, 488.11, 488.11, 0.00, 5423.48),
(88, 19, 59, 2, 11702.59, 18.00, 9.00, 9.00, 0.00, 2106.47, 2106.47, 0.00, 23405.18),
(89, 19, 58, 2, 9825.36, 18.00, 9.00, 9.00, 0.00, 1768.56, 1768.56, 0.00, 19650.72),
(90, 20, 60, 3, 3911.59, 18.00, 9.00, 9.00, 0.00, 1056.13, 1056.13, 0.00, 11734.77),
(91, 21, 32, 4, 2802.25, 18.00, 9.00, 9.00, 0.00, 1008.81, 1008.81, 0.00, 11209.00),
(92, 21, 68, 2, 5903.90, 18.00, 9.00, 9.00, 0.00, 1062.70, 1062.70, 0.00, 11807.80),
(93, 21, 43, 2, 5916.39, 18.00, 9.00, 9.00, 0.00, 1064.95, 1064.95, 0.00, 11832.78),
(94, 21, 38, 1, 5193.59, 18.00, 9.00, 9.00, 0.00, 467.42, 467.42, 0.00, 5193.59),
(95, 21, 63, 2, 3958.15, 18.00, 9.00, 9.00, 0.00, 712.47, 712.47, 0.00, 7916.30),
(96, 21, 37, 1, 5479.67, 18.00, 9.00, 9.00, 0.00, 493.17, 493.17, 0.00, 5479.67),
(97, 21, 30, 1, 5727.00, 18.00, 9.00, 9.00, 0.00, 515.43, 515.43, 0.00, 5727.00);

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

--
-- Table structure for table `purchase_items_non_gst`
--

CREATE TABLE `purchase_items_non_gst` (
  `id` int(10) UNSIGNED NOT NULL,
  `purchase_id` int(10) UNSIGNED NOT NULL,
  `product_id` int(10) UNSIGNED NOT NULL,
  `quantity` int(11) NOT NULL,
  `unit_price` decimal(10,2) NOT NULL,
  `gst_rate` decimal(5,2) NOT NULL DEFAULT 0.00,
  `cgst_rate` decimal(5,2) NOT NULL DEFAULT 0.00,
  `sgst_rate` decimal(5,2) NOT NULL DEFAULT 0.00,
  `igst_rate` decimal(5,2) NOT NULL DEFAULT 0.00,
  `cgst_amount` decimal(12,2) NOT NULL DEFAULT 0.00,
  `sgst_amount` decimal(12,2) NOT NULL DEFAULT 0.00,
  `igst_amount` decimal(12,2) NOT NULL DEFAULT 0.00,
  `line_total` decimal(12,2) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

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

--
-- Table structure for table `purchase_orders`
--

CREATE TABLE `purchase_orders` (
  `id` int(10) UNSIGNED NOT NULL,
  `order_no` varchar(40) NOT NULL,
  `supplier_id` int(10) UNSIGNED NOT NULL,
  `order_date` date NOT NULL,
  `supplier_gstin` varchar(20) DEFAULT NULL,
  `place_of_supply` varchar(60) DEFAULT NULL,
  `supply_type` varchar(10) NOT NULL DEFAULT 'intra',
  `taxable_amount` decimal(12,2) NOT NULL DEFAULT 0.00,
  `cgst_amount` decimal(12,2) NOT NULL DEFAULT 0.00,
  `sgst_amount` decimal(12,2) NOT NULL DEFAULT 0.00,
  `igst_amount` decimal(12,2) NOT NULL DEFAULT 0.00,
  `total_amount` decimal(12,2) NOT NULL DEFAULT 0.00,
  `note` varchar(255) DEFAULT NULL,
  `is_deleted` tinyint(1) NOT NULL DEFAULT 0,
  `deleted_at` datetime DEFAULT NULL,
  `archive_seq` int(11) NOT NULL DEFAULT 0,
  `created_by` int(10) UNSIGNED DEFAULT NULL,
  `created_at` timestamp NOT NULL DEFAULT current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

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

--
-- Table structure for table `purchase_order_items`
--

CREATE TABLE `purchase_order_items` (
  `id` int(10) UNSIGNED NOT NULL,
  `purchase_order_id` int(10) UNSIGNED NOT NULL,
  `product_id` int(10) UNSIGNED NOT NULL,
  `quantity` int(11) NOT NULL,
  `unit_price` decimal(10,2) NOT NULL,
  `gst_rate` decimal(5,2) NOT NULL DEFAULT 0.00,
  `cgst_rate` decimal(5,2) NOT NULL DEFAULT 0.00,
  `sgst_rate` decimal(5,2) NOT NULL DEFAULT 0.00,
  `igst_rate` decimal(5,2) NOT NULL DEFAULT 0.00,
  `cgst_amount` decimal(12,2) NOT NULL DEFAULT 0.00,
  `sgst_amount` decimal(12,2) NOT NULL DEFAULT 0.00,
  `igst_amount` decimal(12,2) NOT NULL DEFAULT 0.00,
  `line_total` decimal(12,2) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

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

--
-- Table structure for table `purchase_payments`
--

CREATE TABLE `purchase_payments` (
  `id` int(10) UNSIGNED NOT NULL,
  `reference_code` varchar(40) DEFAULT NULL,
  `purchase_invoice_id` int(10) UNSIGNED NOT NULL,
  `payment_date` date NOT NULL,
  `entry_date` date DEFAULT NULL,
  `entry_time` time DEFAULT NULL,
  `amount` decimal(12,2) NOT NULL DEFAULT 0.00,
  `payment_mode` varchar(40) DEFAULT NULL,
  `reference_no` varchar(80) DEFAULT NULL,
  `note` varchar(255) DEFAULT NULL,
  `is_deleted` tinyint(1) NOT NULL DEFAULT 0,
  `deleted_at` datetime DEFAULT NULL,
  `archive_seq` int(11) NOT NULL DEFAULT 0,
  `created_by` int(10) UNSIGNED DEFAULT NULL,
  `created_at` timestamp NOT NULL DEFAULT current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

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

--
-- Table structure for table `purchase_payments_non_gst`
--

CREATE TABLE `purchase_payments_non_gst` (
  `id` int(10) UNSIGNED NOT NULL,
  `reference_code` varchar(40) DEFAULT NULL,
  `purchase_invoice_id` int(10) UNSIGNED NOT NULL,
  `payment_date` date NOT NULL,
  `entry_date` date DEFAULT NULL,
  `entry_time` time DEFAULT NULL,
  `amount` decimal(12,2) NOT NULL DEFAULT 0.00,
  `payment_mode` varchar(40) DEFAULT NULL,
  `reference_no` varchar(80) DEFAULT NULL,
  `note` varchar(255) DEFAULT NULL,
  `is_deleted` tinyint(1) NOT NULL DEFAULT 0,
  `deleted_at` datetime DEFAULT NULL,
  `archive_seq` int(11) NOT NULL DEFAULT 0,
  `created_by` int(10) UNSIGNED DEFAULT NULL,
  `created_at` timestamp NOT NULL DEFAULT current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

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

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

CREATE TABLE `quotations` (
  `id` int(10) UNSIGNED NOT NULL,
  `quotation_no` varchar(40) NOT NULL,
  `customer_name` varchar(120) NOT NULL,
  `customer_code` varchar(40) DEFAULT NULL,
  `customer_phone` varchar(30) DEFAULT NULL,
  `customer_gstin` varchar(20) DEFAULT NULL,
  `mode_of_sale` varchar(40) DEFAULT NULL,
  `billing_address` text DEFAULT NULL,
  `delivery_address` text DEFAULT NULL,
  `quotation_date` date NOT NULL,
  `validity_date` date DEFAULT NULL,
  `place_of_supply` varchar(60) DEFAULT NULL,
  `supply_type` varchar(10) NOT NULL DEFAULT 'intra',
  `gst_inclusive` tinyint(1) NOT NULL DEFAULT 0,
  `taxable_amount` decimal(12,2) NOT NULL DEFAULT 0.00,
  `cgst_amount` decimal(12,2) NOT NULL DEFAULT 0.00,
  `sgst_amount` decimal(12,2) NOT NULL DEFAULT 0.00,
  `igst_amount` decimal(12,2) NOT NULL DEFAULT 0.00,
  `total_amount` decimal(12,2) NOT NULL DEFAULT 0.00,
  `note` varchar(255) DEFAULT NULL,
  `is_deleted` tinyint(1) NOT NULL DEFAULT 0,
  `deleted_at` datetime DEFAULT NULL,
  `archive_seq` int(11) NOT NULL DEFAULT 0,
  `created_by` int(10) UNSIGNED DEFAULT NULL,
  `created_at` timestamp NOT NULL DEFAULT current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

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

--
-- Table structure for table `quotation_items`
--

CREATE TABLE `quotation_items` (
  `id` int(10) UNSIGNED NOT NULL,
  `quotation_id` int(10) UNSIGNED NOT NULL,
  `product_id` int(10) UNSIGNED NOT NULL,
  `quantity` int(11) NOT NULL,
  `unit_price` decimal(10,2) NOT NULL,
  `gst_rate` decimal(5,2) NOT NULL DEFAULT 0.00,
  `cgst_rate` decimal(5,2) NOT NULL DEFAULT 0.00,
  `sgst_rate` decimal(5,2) NOT NULL DEFAULT 0.00,
  `igst_rate` decimal(5,2) NOT NULL DEFAULT 0.00,
  `cgst_amount` decimal(12,2) NOT NULL DEFAULT 0.00,
  `sgst_amount` decimal(12,2) NOT NULL DEFAULT 0.00,
  `igst_amount` decimal(12,2) NOT NULL DEFAULT 0.00,
  `line_total` decimal(12,2) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

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

--
-- Table structure for table `sales_collections`
--

CREATE TABLE `sales_collections` (
  `id` int(10) UNSIGNED NOT NULL,
  `reference_code` varchar(40) DEFAULT NULL,
  `sale_invoice_id` int(10) UNSIGNED NOT NULL,
  `collection_date` date NOT NULL,
  `entry_date` date DEFAULT NULL,
  `entry_time` time DEFAULT NULL,
  `amount` decimal(12,2) NOT NULL DEFAULT 0.00,
  `payment_mode` varchar(40) DEFAULT NULL,
  `reference_no` varchar(80) DEFAULT NULL,
  `note` varchar(255) DEFAULT NULL,
  `is_deleted` tinyint(1) NOT NULL DEFAULT 0,
  `deleted_at` datetime DEFAULT NULL,
  `archive_seq` int(11) NOT NULL DEFAULT 0,
  `created_by` int(10) UNSIGNED DEFAULT NULL,
  `created_at` timestamp NOT NULL DEFAULT current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Dumping data for table `sales_collections`
--

INSERT INTO `sales_collections` (`id`, `reference_code`, `sale_invoice_id`, `collection_date`, `entry_date`, `entry_time`, `amount`, `payment_mode`, `reference_no`, `note`, `is_deleted`, `deleted_at`, `archive_seq`, `created_by`, `created_at`) VALUES
(1, 'COL-REF-0001', 3, '2026-04-02', '2026-04-02', '12:18:49', 1233.99, 'UPI', '', '', 0, NULL, 0, 1, '2026-04-02 12:18:49'),
(2, 'COL-REF-0002', 2, '2026-04-02', '2026-04-02', '12:19:12', 10000.00, 'UPI', '', '', 0, NULL, 0, 1, '2026-04-02 12:19:12'),
(3, 'COL-REF-0003', 3, '2026-04-02', '2026-04-02', '12:30:49', 66.00, 'UPI', '', '', 0, NULL, 0, 1, '2026-04-02 12:30:49'),
(4, 'COL-REF-0004', 5, '2026-04-02', '2026-04-02', '12:52:11', 1599.99, 'UPI', '', '', 0, NULL, 0, 1, '2026-04-02 12:52:11'),
(5, 'COL-REF-0005', 7, '2026-04-02', '2026-04-02', '15:37:48', 6200.00, 'Cash', '', '', 0, NULL, 0, 1, '2026-04-02 15:37:48'),
(6, 'COL-REF-0006', 9, '2026-04-02', '2026-04-02', '16:59:44', 12500.00, 'Cash', '', '', 0, NULL, 0, 1, '2026-04-02 16:59:44'),
(7, 'COL-REF-0007', 9, '2026-04-02', '2026-04-02', '17:00:23', 500.01, 'Cash', '', '', 0, NULL, 0, 1, '2026-04-02 17:00:23'),
(8, 'COL-REF-0008', 10, '2026-04-03', '2026-04-03', '05:30:34', 6499.99, 'Cash', '', '', 0, NULL, 0, 1, '2026-04-03 05:30:34'),
(9, 'COL-REF-0009', 12, '2026-04-03', '2026-04-03', '07:19:41', 1000.00, 'Cash', '', '', 0, NULL, 0, 1, '2026-04-03 07:19:41'),
(10, 'COL-REF-0010', 11, '2026-04-03', '2026-04-03', '07:20:08', 3699.99, 'Cash', '', '', 0, NULL, 0, 1, '2026-04-03 07:20:08'),
(11, 'COL-REF-0011', 13, '2026-04-03', '2026-04-03', '09:06:09', 6499.99, 'Cash', '', '', 0, NULL, 0, 1, '2026-04-03 09:06:09'),
(12, 'COL-REF-0012', 14, '2026-04-03', '2026-04-03', '10:35:14', 2800.00, 'Cash', '', '', 0, NULL, 0, 1, '2026-04-03 10:35:14'),
(13, 'COL-REF-0013', 8, '2026-04-03', '2026-04-03', '10:35:28', 1100.00, 'Cash', '', '', 0, NULL, 0, 1, '2026-04-03 10:35:28'),
(14, 'COL-REF-0014', 16, '2026-04-06', '2026-04-06', '08:31:28', 3500.00, 'Cash', '', '', 0, NULL, 0, 1, '2026-04-06 08:31:28'),
(15, 'COL-REF-0015', 20, '2026-04-06', '2026-04-06', '08:34:26', 6499.99, 'Cash', '', '', 0, NULL, 0, 1, '2026-04-06 08:34:26'),
(16, 'COL-REF-0016', 24, '2026-04-06', '2026-04-06', '11:53:06', 1200.00, 'Cash', '', '', 0, NULL, 0, 1, '2026-04-06 11:53:06'),
(17, 'COL-REF-0017', 24, '2026-04-06', '2026-04-06', '11:53:40', 0.01, 'Cash', '', '', 0, NULL, 0, 1, '2026-04-06 11:53:40'),
(18, 'COL-REF-0018', 25, '2026-04-06', '2026-04-06', '12:21:47', 2000.00, 'Cash', '', '', 0, NULL, 0, 1, '2026-04-06 12:21:47'),
(19, 'COL-REF-0019', 26, '2026-04-06', '2026-04-06', '12:31:15', 1000.00, 'Cash', '', '', 0, NULL, 0, 1, '2026-04-06 12:31:15'),
(20, 'COL-REF-0020', 28, '2026-04-06', '2026-04-06', '12:32:57', 1000.00, 'Cash', '', '', 0, NULL, 0, 1, '2026-04-06 12:32:57'),
(21, 'COL-REF-0021', 29, '2026-04-07', '2026-04-07', '06:24:31', 3900.00, 'UPI', '', '', 0, NULL, 0, 1, '2026-04-07 06:24:31'),
(22, 'COL-REF-0022', 18, '2026-04-07', '2026-04-07', '06:24:52', 5500.00, 'UPI', '', '', 0, NULL, 0, 1, '2026-04-07 06:24:52'),
(23, 'COL-REF-0023', 30, '2026-04-07', '2026-04-07', '06:27:05', 4800.00, 'Cash', '', '', 0, NULL, 0, 1, '2026-04-07 06:27:06'),
(24, 'COL-REF-0024', 31, '2026-04-07', '2026-04-07', '07:03:42', 4800.00, 'UPI', '', '', 0, NULL, 0, 1, '2026-04-07 07:03:42'),
(25, 'COL-REF-0025', 35, '2026-04-07', '2026-04-07', '07:53:30', 20500.00, 'UPI', '', '', 0, NULL, 0, 1, '2026-04-07 07:53:30'),
(26, 'COL-REF-0026', 36, '2026-04-07', '2026-04-07', '16:08:27', 6900.00, 'UPI', '', '', 0, NULL, 0, 1, '2026-04-07 16:08:27'),
(27, 'COL-REF-0027', 37, '2026-04-07', '2026-04-07', '16:08:45', 6799.99, 'UPI', '', '', 0, NULL, 0, 1, '2026-04-07 16:08:45'),
(28, 'COL-REF-0028', 38, '2026-04-07', '2026-04-07', '16:11:30', 800.01, 'UPI', '', '', 0, NULL, 0, 1, '2026-04-07 16:11:30'),
(29, 'COL-REF-0029', 39, '2026-04-07', '2026-04-07', '16:16:18', 12699.99, 'UPI', '', '', 0, NULL, 0, 1, '2026-04-07 16:16:18'),
(30, 'COL-REF-0030', 42, '2026-04-08', '2026-04-08', '05:32:04', 1599.99, 'UPI', '', '', 0, NULL, 0, 1, '2026-04-08 05:32:04'),
(31, 'COL-REF-0031', 41, '2026-04-08', '2026-04-08', '05:32:25', 1350.01, 'UPI', '', '', 0, NULL, 0, 1, '2026-04-08 05:32:25'),
(32, 'COL-REF-0032', 45, '2026-04-08', '2026-04-08', '09:13:10', 7499.99, 'UPI', '', '', 0, NULL, 0, 1, '2026-04-08 09:13:10'),
(33, 'COL-REF-0033', 46, '2026-04-09', '2026-04-09', '05:34:58', 1350.01, 'UPI', '', '', 0, NULL, 0, 1, '2026-04-09 05:34:58'),
(34, 'COL-REF-0034', 44, '2026-04-09', '2026-04-09', '05:35:14', 1299.99, 'UPI', '', '', 0, NULL, 0, 1, '2026-04-09 05:35:14'),
(35, 'COL-REF-0035', 49, '2026-04-09', '2026-04-09', '13:34:03', 950.00, 'UPI', '', '', 0, NULL, 0, 1, '2026-04-09 13:34:03'),
(36, 'COL-REF-0036', 50, '2026-04-10', '2026-04-10', '05:18:49', 1000.00, 'Cash', '', '', 0, NULL, 0, 1, '2026-04-10 05:18:49'),
(37, 'COL-REF-0037', 51, '2026-04-10', '2026-04-10', '05:38:55', 1250.00, 'UPI', '', '', 0, NULL, 0, 1, '2026-04-10 05:38:55'),
(38, 'COL-REF-0038', 53, '2026-04-10', '2026-04-10', '09:25:44', 1100.00, 'Cash', '', '', 0, NULL, 0, 1, '2026-04-10 09:25:44'),
(39, 'COL-REF-0039', 52, '2026-04-10', '2026-04-10', '09:26:01', 5399.99, 'UPI', '', '', 0, NULL, 0, 1, '2026-04-10 09:26:01'),
(40, 'COL-REF-0040', 54, '2026-04-11', '2026-04-11', '11:46:07', 2000.00, 'Cash', '', '', 0, NULL, 0, 1, '2026-04-11 11:46:07'),
(41, 'COL-REF-0041', 56, '2026-04-11', '2026-04-11', '12:43:32', 4200.00, 'Cash', '', '', 0, NULL, 0, 1, '2026-04-11 12:43:32'),
(42, 'COL-REF-0042', 40, '2026-04-11', '2026-04-11', '13:55:08', 7000.00, 'Cash', '', '', 1, '2026-04-11 19:26:25', 1, 1, '2026-04-11 13:55:08'),
(43, 'COL-REF-0042', 40, '2026-04-11', '2026-04-11', '13:56:25', 7000.00, 'Cash', '', '', 0, NULL, 0, 1, '2026-04-11 13:56:25'),
(44, 'COL-REF-0044', 58, '2026-04-12', '2026-04-12', '04:32:41', 350.00, 'Cash', '', '', 0, NULL, 0, 1, '2026-04-12 04:32:41'),
(45, 'COL-REF-0045', 60, '2026-04-12', '2026-04-12', '06:27:47', 1250.00, 'UPI', '', '', 0, NULL, 0, 1, '2026-04-12 06:27:47'),
(46, 'COL-REF-0046', 59, '2026-04-12', '2026-04-12', '06:28:25', 6499.99, 'Cash', '', '', 0, NULL, 0, 1, '2026-04-12 06:28:25'),
(47, 'COL-REF-0047', 43, '2026-04-12', '2026-04-12', '06:28:50', 10000.00, 'UPI', '', 'G PAY', 0, NULL, 0, 1, '2026-04-12 06:28:50'),
(48, 'COL-REF-0048', 55, '2026-04-12', '2026-04-12', '13:17:24', 1550.00, 'UPI', '', '', 0, NULL, 0, 1, '2026-04-12 13:17:24'),
(49, 'COL-REF-0049', 61, '2026-04-12', '2026-04-12', '13:23:11', 6899.99, 'Bank Transfer', '', '', 0, NULL, 0, 1, '2026-04-12 13:23:11'),
(50, 'COL-REF-0050', 62, '2026-04-13', '2026-04-13', '11:50:52', 7499.99, 'Cash', '', '', 0, NULL, 0, 1, '2026-04-13 11:50:52'),
(51, 'COL-REF-0051', 23, '2026-04-13', '2026-04-13', '11:51:27', 6499.99, 'UPI', '', '', 1, '2026-04-13 17:22:00', 1, 1, '2026-04-13 11:51:27'),
(52, 'COL-REF-0051', 23, '2026-04-13', '2026-04-13', '11:52:00', 0.99, 'UPI', '', '', 0, NULL, 0, 1, '2026-04-13 11:52:00'),
(53, 'COL-REF-0053', 43, '2026-04-13', '2026-04-13', '11:52:20', 4400.01, 'UPI', '', '', 0, NULL, 0, 1, '2026-04-13 11:52:20'),
(54, 'COL-REF-0054', 64, '2026-04-13', '2026-04-13', '12:30:30', 5500.00, 'Cash', '', '', 0, NULL, 0, 1, '2026-04-13 12:30:30'),
(55, 'COL-REF-0055', 63, '2026-04-13', '2026-04-13', '12:30:44', 1299.99, '', '', '', 0, NULL, 0, 1, '2026-04-13 12:30:44'),
(56, 'COL-REF-0056', 65, '2026-04-13', '2026-04-13', '12:39:46', 7499.99, 'Cash', '', '', 0, NULL, 0, 1, '2026-04-13 12:39:46'),
(57, 'COL-REF-0057', 69, '2026-04-14', '2026-04-14', '13:39:38', 800.01, 'Cash', '', '', 0, NULL, 0, 1, '2026-04-14 13:39:38'),
(58, 'COL-REF-0058', 68, '2026-04-14', '2026-04-14', '13:40:04', 7499.99, 'Cash', '', '', 0, NULL, 0, 1, '2026-04-14 13:40:04'),
(59, 'COL-REF-0059', 67, '2026-04-14', '2026-04-14', '13:40:30', 5799.99, 'UPI', '', '', 0, NULL, 0, 1, '2026-04-14 13:40:30'),
(60, 'COL-REF-0060', 66, '2026-04-14', '2026-04-14', '13:41:03', 1299.99, 'Cash', '', '', 0, NULL, 0, 1, '2026-04-14 13:41:03'),
(61, 'COL-REF-0061', 17, '2026-04-14', '2026-04-14', '13:41:23', 5500.00, 'UPI', '', '', 0, NULL, 0, 1, '2026-04-14 13:41:23'),
(62, 'COL-REF-0062', 70, '2026-04-14', '2026-04-14', '13:44:52', 1500.01, 'Cash', '', '', 0, NULL, 0, 1, '2026-04-14 13:44:52'),
(63, 'COL-REF-0063', 71, '2026-04-14', '2026-04-14', '13:56:24', 3800.00, 'UPI', '', '', 0, NULL, 0, 1, '2026-04-14 13:56:24'),
(64, 'COL-REF-0064', 4, '2026-04-14', '2026-04-14', '14:17:12', 7400.01, 'UPI', '', '', 0, NULL, 0, 1, '2026-04-14 14:17:12'),
(65, 'COL-REF-0065', 75, '2026-04-14', '2026-04-14', '14:54:24', 1299.99, 'Cash', '', '', 0, NULL, 0, 1, '2026-04-14 14:54:24'),
(66, 'COL-REF-0066', 77, '2026-04-15', '2026-04-15', '08:08:44', 1000.00, 'UPI', '', '', 0, NULL, 0, 1, '2026-04-15 08:08:44'),
(67, 'COL-REF-0067', 76, '2026-04-15', '2026-04-15', '08:08:59', 1299.98, 'Cash', '', '', 0, NULL, 0, 1, '2026-04-15 08:08:59'),
(68, 'COL-REF-0068', 76, '2026-04-15', '2026-04-15', '08:09:20', 0.01, 'Cash', '', '', 0, NULL, 0, 1, '2026-04-15 08:09:20'),
(69, 'COL-REF-0069', 79, '2026-04-15', '2026-04-15', '14:17:13', 950.00, 'UPI', '', '', 0, NULL, 0, 1, '2026-04-15 14:17:13'),
(70, 'COL-REF-0070', 78, '2026-04-15', '2026-04-15', '14:17:33', 5500.00, 'Cash', '', '', 0, NULL, 0, 1, '2026-04-15 14:17:33'),
(71, 'COL-REF-0071', 81, '2026-04-16', '2026-04-16', '07:29:45', 1299.99, 'Cash', '', '', 0, NULL, 0, 1, '2026-04-16 07:29:45'),
(72, 'COL-REF-0072', 80, '2026-04-16', '2026-04-16', '07:30:06', 1299.99, 'Cash', '', '', 0, NULL, 0, 1, '2026-04-16 07:30:06'),
(73, 'COL-REF-0073', 82, '2026-04-16', '2026-04-16', '15:48:53', 1199.97, 'UPI', '', '', 0, NULL, 0, 1, '2026-04-16 15:48:53'),
(74, 'COL-REF-0074', 85, '2026-04-17', '2026-04-17', '09:38:49', 950.00, 'UPI', '', '', 0, NULL, 0, 1, '2026-04-17 09:38:49'),
(75, 'COL-REF-0075', 84, '2026-04-17', '2026-04-17', '09:39:05', 3900.00, 'Cash', '', '', 0, NULL, 0, 1, '2026-04-17 09:39:05'),
(76, 'COL-REF-0076', 83, '2026-04-18', '2026-04-18', '14:25:43', 3650.00, 'UPI', '', '', 0, NULL, 0, 1, '2026-04-18 14:25:43'),
(77, 'COL-REF-0077', 87, '2026-04-20', '2026-04-20', '02:19:06', 7499.99, 'Cash', '', '', 0, NULL, 0, 1, '2026-04-20 02:19:06'),
(78, 'COL-REF-0078', 90, '2026-04-20', '2026-04-20', '02:23:12', 1198.96, 'UPI', '', '', 0, NULL, 0, 1, '2026-04-20 02:23:12'),
(79, 'COL-REF-0079', 90, '2026-04-20', '2026-04-20', '02:24:16', 1.02, 'Cash', '', '', 0, NULL, 0, 1, '2026-04-20 02:24:16'),
(80, 'COL-REF-0080', 92, '2026-04-20', '2026-04-20', '08:36:22', 1350.01, 'Cash', '', '', 0, NULL, 0, 1, '2026-04-20 08:36:22'),
(81, 'COL-REF-0081', 89, '2026-04-20', '2026-04-20', '08:51:46', 6999.99, 'Cash', '', '', 0, NULL, 0, 1, '2026-04-20 08:51:46'),
(82, 'COL-REF-0082', 88, '2026-04-20', '2026-04-20', '11:26:50', 6000.00, 'Cash', '', '', 0, NULL, 0, 1, '2026-04-20 11:26:50'),
(83, 'COL-REF-0083', 97, '2026-04-20', '2026-04-20', '11:36:56', 7299.99, 'Cash', '', '', 1, '2026-04-20 17:07:53', 1, 1, '2026-04-20 11:36:56'),
(84, 'COL-REF-0083', 97, '2026-04-20', '2026-04-20', '11:37:53', 7300.00, 'Cash', '', '', 0, NULL, 0, 1, '2026-04-20 11:37:53'),
(85, 'COL-REF-0085', 95, '2026-04-20', '2026-04-20', '11:38:18', 7499.99, 'Cash', '', '', 0, NULL, 0, 1, '2026-04-20 11:38:18'),
(86, 'COL-REF-0086', 48, '2026-04-20', '2026-04-20', '12:24:26', 6900.00, 'UPI', '', '', 0, NULL, 0, 1, '2026-04-20 12:24:26'),
(87, 'COL-REF-0087', 96, '2026-04-20', '2026-04-20', '12:24:41', 13000.00, 'UPI', '', '', 1, '2026-04-20 17:55:01', 1, 1, '2026-04-20 12:24:41'),
(88, 'COL-REF-0087', 96, '2026-04-20', '2026-04-20', '12:25:01', 13000.01, 'UPI', '', '', 0, NULL, 0, 1, '2026-04-20 12:25:01'),
(89, 'COL-REF-0089', 103, '2026-04-21', '2026-04-21', '16:00:00', 1299.99, 'Cash', '', '', 0, NULL, 0, 1, '2026-04-21 16:00:00'),
(90, 'COL-REF-0090', 102, '2026-04-21', '2026-04-21', '16:00:12', 1100.00, 'UPI', '', '', 0, NULL, 0, 1, '2026-04-21 16:00:12'),
(91, 'COL-REF-0091', 101, '2026-04-21', '2026-04-21', '16:00:26', 5500.00, 'Cash', '', '', 0, NULL, 0, 1, '2026-04-21 16:00:26'),
(92, 'COL-REF-0092', 100, '2026-04-21', '2026-04-21', '16:00:42', 4000.02, 'UPI', '', '', 0, NULL, 0, 1, '2026-04-21 16:00:42'),
(93, 'COL-REF-0093', 98, '2026-04-21', '2026-04-21', '16:00:59', 3800.00, 'UPI', '', '', 0, NULL, 0, 1, '2026-04-21 16:00:59'),
(94, 'COL-REF-0094', 72, '2026-04-21', '2026-04-21', '16:01:28', 9999.99, 'UPI', '', 'G PAY', 0, NULL, 0, 1, '2026-04-21 16:01:28'),
(95, 'COL-REF-0095', 107, '2026-04-21', '2026-04-21', '16:15:03', 5700.01, 'UPI', '', '', 0, NULL, 0, 1, '2026-04-21 16:15:03'),
(96, 'COL-REF-0096', 106, '2026-04-21', '2026-04-21', '16:15:16', 1250.00, 'UPI', '', '', 0, NULL, 0, 1, '2026-04-21 16:15:16'),
(97, 'COL-REF-0097', 105, '2026-04-21', '2026-04-21', '16:15:35', 3650.00, 'Cash', '', '', 0, NULL, 0, 1, '2026-04-21 16:15:35'),
(98, 'COL-REF-0098', 104, '2026-04-21', '2026-04-21', '16:15:59', 1200.01, 'Cash', '', '', 0, NULL, 0, 1, '2026-04-21 16:15:59'),
(99, 'COL-REF-0099', 109, '2026-04-22', '2026-04-22', '05:35:48', 3800.00, 'Cash', '', '', 0, NULL, 0, 1, '2026-04-22 05:35:48'),
(100, 'COL-REF-0100', 108, '2026-04-22', '2026-04-22', '05:36:06', 43000.00, 'UPI', '', '', 0, NULL, 0, 1, '2026-04-22 05:36:06'),
(101, 'COL-REF-0101', 110, '2026-04-22', '2026-04-22', '10:52:30', 950.00, 'Cash', '', '', 0, NULL, 0, 1, '2026-04-22 10:52:30'),
(102, 'COL-REF-0102', 111, '2026-04-22', '2026-04-22', '11:47:40', 1650.01, 'Cash', '', '', 0, NULL, 0, 1, '2026-04-22 11:47:40'),
(103, 'COL-REF-0103', 112, '2026-04-24', '2026-04-24', '06:16:26', 1299.99, 'Cash', '', '', 0, NULL, 0, 1, '2026-04-24 06:16:26'),
(104, 'COL-REF-0104', 113, '2026-04-24', '2026-04-24', '06:16:41', 3800.00, 'Cash', '', '', 0, NULL, 0, 1, '2026-04-24 06:16:41'),
(105, 'COL-REF-0105', 93, '2026-04-24', '2026-04-24', '06:17:00', 3500.00, 'UPI', '', '', 0, NULL, 0, 1, '2026-04-24 06:17:00'),
(106, 'COL-REF-0106', 114, '2026-04-24', '2026-04-24', '07:10:20', 6700.01, 'UPI', '', '', 0, NULL, 0, 1, '2026-04-24 07:10:20'),
(107, 'COL-REF-0107', 115, '2026-04-24', '2026-04-24', '07:14:03', 950.00, 'Cash', '', '', 0, NULL, 0, 1, '2026-04-24 07:14:03'),
(108, 'COL-REF-0108', 116, '2026-04-24', '2026-04-24', '07:52:03', 950.00, 'Cash', '', '', 0, NULL, 0, 1, '2026-04-24 07:52:03'),
(109, 'COL-REF-0109', 117, '2026-04-24', '2026-04-24', '10:58:29', 1900.00, 'UPI', '', '', 0, NULL, 0, 1, '2026-04-24 10:58:29'),
(110, 'COL-REF-0110', 72, '2026-04-24', '2026-04-24', '11:18:03', 4086.01, 'UPI', '', 'G PAY', 1, '2026-04-24 16:48:11', 1, 1, '2026-04-24 11:18:03'),
(111, 'COL-REF-0110', 72, '2026-04-24', '2026-04-24', '11:18:11', 4086.02, 'UPI', '', 'G PAY', 0, NULL, 0, 1, '2026-04-24 11:18:11'),
(112, 'COL-REF-0112', 122, '2026-04-24', '2026-04-24', '14:58:08', 1700.01, 'Cash', '', '', 0, NULL, 0, 1, '2026-04-24 14:58:08'),
(113, 'COL-REF-0113', 119, '2026-04-24', '2026-04-24', '14:58:34', 1299.99, 'UPI', '', '', 0, NULL, 0, 1, '2026-04-24 14:58:34'),
(114, 'COL-REF-0114', 119, '2026-04-24', '2026-04-24', '14:58:59', 2200.00, 'UPI', '', '', 0, NULL, 0, 1, '2026-04-24 14:58:59'),
(115, 'COL-REF-0115', 121, '2026-04-25', '2026-04-25', '04:36:00', 3699.99, 'UPI', '', '', 0, NULL, 0, 1, '2026-04-25 04:36:00'),
(116, 'COL-REF-0116', 123, '2026-04-25', '2026-04-25', '04:36:17', 1299.99, 'UPI', '', '', 0, NULL, 0, 1, '2026-04-25 04:36:17'),
(117, 'COL-REF-0117', 124, '2026-04-25', '2026-04-25', '06:12:06', 1350.01, 'UPI', '', '', 0, NULL, 0, 1, '2026-04-25 06:12:06'),
(118, 'COL-REF-0118', 125, '2026-04-25', '2026-04-25', '06:28:09', 1299.98, 'UPI', '', '', 0, NULL, 0, 1, '2026-04-25 06:28:09'),
(119, 'COL-REF-0119', 125, '2026-04-25', '2026-04-25', '06:28:43', 0.01, 'UPI', '', '', 0, NULL, 0, 1, '2026-04-25 06:28:43'),
(120, 'COL-REF-0120', 127, '2026-04-25', '2026-04-25', '06:55:16', 1299.99, 'UPI', '', '', 0, NULL, 0, 1, '2026-04-25 06:55:16'),
(121, 'COL-REF-0121', 129, '2026-04-25', '2026-04-25', '07:55:51', 1350.00, 'Card', '', '', 0, NULL, 0, 1, '2026-04-25 07:55:51'),
(122, 'COL-REF-0122', 130, '2026-04-25', '2026-04-25', '11:18:51', 1100.00, 'UPI', '', '', 0, NULL, 0, 1, '2026-04-25 11:18:51'),
(123, 'COL-REF-0123', 129, '2026-04-25', '2026-04-25', '11:19:05', 0.01, 'UPI', '', '', 0, NULL, 0, 1, '2026-04-25 11:19:05'),
(124, 'COL-REF-0124', 131, '2026-04-25', '2026-04-25', '14:43:58', 7499.99, 'UPI', '', '', 0, NULL, 0, 1, '2026-04-25 14:43:58'),
(125, 'COL-REF-0125', 132, '2026-04-25', '2026-04-25', '15:00:30', 19000.02, 'Cash', '', '', 0, NULL, 0, 1, '2026-04-25 15:00:30'),
(126, 'COL-REF-0126', 133, '2026-04-25', '2026-04-25', '15:10:25', 6700.01, 'UPI', '', '', 0, NULL, 0, 1, '2026-04-25 15:10:25'),
(127, 'COL-REF-0127', 135, '2026-04-25', '2026-04-25', '15:16:54', 5399.99, 'UPI', '', '', 0, NULL, 0, 1, '2026-04-25 15:16:54'),
(128, 'COL-REF-0128', 136, '2026-04-26', '2026-04-26', '05:18:38', 1299.99, 'UPI', '', '', 0, NULL, 0, 1, '2026-04-26 05:18:38'),
(129, 'COL-REF-0129', 137, '2026-04-26', '2026-04-26', '05:29:31', 7000.00, 'Cash', '', '', 0, NULL, 0, 1, '2026-04-26 05:29:31'),
(130, 'COL-REF-0130', 138, '2026-04-26', '2026-04-26', '07:06:15', 1000.00, 'Cash', '', '', 0, NULL, 0, 1, '2026-04-26 07:06:15'),
(131, 'COL-REF-0131', 139, '2026-04-26', '2026-04-26', '07:21:21', 5500.00, 'Cash', '', '', 0, NULL, 0, 1, '2026-04-26 07:21:21'),
(132, 'COL-REF-0132', 134, '2026-04-26', '2026-04-26', '07:32:43', 6000.01, 'Card', '', '', 0, NULL, 0, 1, '2026-04-26 07:32:43'),
(133, 'COL-REF-0133', 142, '2026-04-27', '2026-04-27', '06:57:51', 7300.00, 'UPI', '', '', 0, NULL, 0, 1, '2026-04-27 06:57:51'),
(134, 'COL-REF-0134', 141, '2026-04-27', '2026-04-27', '06:58:04', 1350.01, 'Card', '', '', 0, NULL, 0, 1, '2026-04-27 06:58:04'),
(135, 'COL-REF-0135', 140, '2026-04-27', '2026-04-27', '06:58:19', 7400.01, 'UPI', '', '', 0, NULL, 0, 1, '2026-04-27 06:58:19'),
(136, 'COL-REF-0136', 143, '2026-04-27', '2026-04-27', '07:04:01', 1100.00, 'UPI', '', '', 0, NULL, 0, 1, '2026-04-27 07:04:01'),
(137, 'COL-REF-0137', 144, '2026-04-27', '2026-04-27', '07:34:51', 1350.01, 'Cash', '', '', 0, NULL, 0, 1, '2026-04-27 07:34:51'),
(138, 'COL-REF-0138', 145, '2026-04-27', '2026-04-27', '10:26:03', 1299.99, 'Cash', '', '', 0, NULL, 0, 1, '2026-04-27 10:26:03'),
(139, 'COL-REF-0139', 147, '2026-04-27', '2026-04-27', '12:54:07', 1200.01, 'Card', '', '', 0, NULL, 0, 1, '2026-04-27 12:54:07'),
(140, 'COL-REF-0140', 148, '2026-04-27', '2026-04-27', '16:44:50', 3650.00, 'Cash', '', '', 0, NULL, 0, 1, '2026-04-27 16:44:50'),
(141, 'COL-REF-0141', 149, '2026-04-28', '2026-04-28', '07:39:48', 3200.00, 'Cash', '', '', 0, NULL, 0, 1, '2026-04-28 07:39:48'),
(142, 'COL-REF-0142', 160, '2026-05-01', '2026-05-01', '06:19:06', 2000.00, 'UPI', '', '', 0, NULL, 0, 1, '2026-05-01 06:19:06'),
(143, 'COL-REF-0143', 158, '2026-05-01', '2026-05-01', '06:19:20', 6400.01, 'UPI', '', '', 0, NULL, 0, 1, '2026-05-01 06:19:20'),
(144, 'COL-REF-0144', 157, '2026-05-01', '2026-05-01', '06:19:34', 7600.00, 'UPI', '', '', 0, NULL, 0, 1, '2026-05-01 06:19:34'),
(145, 'COL-REF-0145', 153, '2026-05-01', '2026-05-01', '06:19:47', 1250.00, 'UPI', '', '', 0, NULL, 0, 1, '2026-05-01 06:19:47'),
(146, 'COL-REF-0146', 150, '2026-05-01', '2026-05-01', '06:20:05', 2000.00, 'UPI', '', '', 0, NULL, 0, 1, '2026-05-01 06:20:05'),
(147, 'COL-REF-0147', 151, '2026-05-01', '2026-05-01', '06:20:41', 1350.01, 'Card', '', '', 0, NULL, 0, 1, '2026-05-01 06:20:41'),
(148, 'COL-REF-0148', 155, '2026-05-01', '2026-05-01', '06:20:56', 6000.01, '', '', '', 0, NULL, 0, 1, '2026-05-01 06:20:56'),
(149, 'COL-REF-0149', 156, '2026-05-01', '2026-05-01', '06:21:11', 1200.01, 'Card', '', '', 0, NULL, 0, 1, '2026-05-01 06:21:11'),
(150, 'COL-REF-0150', 152, '2026-05-01', '2026-05-01', '06:21:33', 7499.99, 'UPI', '', '', 0, NULL, 0, 1, '2026-05-01 06:21:33'),
(151, 'COL-REF-0151', 154, '2026-05-01', '2026-05-01', '06:22:15', 1240.01, 'UPI', '', '', 0, NULL, 0, 1, '2026-05-01 06:22:15'),
(152, 'COL-REF-0152', 161, '2026-05-01', '2026-05-01', '09:40:48', 3800.00, 'UPI', '', '', 0, NULL, 0, 1, '2026-05-01 09:40:48'),
(153, 'COL-REF-0153', 162, '2026-05-01', '2026-05-01', '09:55:01', 850.00, 'Cash', '', '', 0, NULL, 0, 1, '2026-05-01 09:55:01'),
(154, 'COL-REF-0154', 164, '2026-05-01', '2026-05-01', '16:00:55', 6099.99, 'UPI', '', '', 0, NULL, 0, 1, '2026-05-01 16:00:55'),
(155, 'COL-REF-0155', 165, '2026-05-02', '2026-05-02', '13:25:34', 13500.00, 'UPI', '', '', 0, NULL, 0, 1, '2026-05-02 13:25:34'),
(156, 'COL-REF-0156', 159, '2026-05-02', '2026-05-02', '13:25:53', 7100.01, 'UPI', '', 'G PAY', 0, NULL, 0, 1, '2026-05-02 13:25:53'),
(157, 'COL-REF-0157', 91, '2026-05-02', '2026-05-02', '13:26:20', 18500.01, 'UPI', '', '', 0, NULL, 0, 1, '2026-05-02 13:26:20'),
(158, 'COL-REF-0158', 166, '2026-05-02', '2026-05-02', '14:53:11', 1299.99, 'UPI', '', '', 0, NULL, 0, 1, '2026-05-02 14:53:11'),
(159, 'COL-REF-0159', 167, '2026-05-02', '2026-05-02', '14:58:17', 1500.00, 'UPI', '', '', 0, NULL, 0, 1, '2026-05-02 14:58:17'),
(160, 'COL-REF-0160', 169, '2026-05-04', '2026-05-04', '03:32:11', 1299.99, 'Cash', '', '', 0, NULL, 0, 1, '2026-05-04 03:32:11'),
(161, 'COL-REF-0161', 172, '2026-05-04', '2026-05-04', '09:23:35', 5399.99, 'Cash', '', '', 0, NULL, 0, 1, '2026-05-04 09:23:35'),
(162, 'COL-REF-0162', 171, '2026-05-04', '2026-05-04', '09:23:47', 1350.00, 'Cash', '', '', 0, NULL, 0, 1, '2026-05-04 09:23:47'),
(163, 'COL-REF-0163', 122, '2026-05-05', '2026-05-05', '06:36:32', 4000.00, 'Cash', '', '', 0, NULL, 0, 1, '2026-05-05 06:36:32'),
(164, 'COL-REF-0164', 170, '2026-05-05', '2026-05-05', '06:36:56', 19500.01, 'Cash', '', '', 0, NULL, 0, 1, '2026-05-05 06:36:56'),
(165, 'COL-REF-0165', 73, '2026-05-05', '2026-05-05', '06:37:11', 1800.00, 'Cash', '', '', 0, NULL, 0, 1, '2026-05-05 06:37:11'),
(166, 'COL-REF-0166', 171, '2026-05-05', '2026-05-05', '06:37:32', 0.01, 'Cash', '', '', 0, NULL, 0, 1, '2026-05-05 06:37:32'),
(167, 'COL-REF-0167', 173, '2026-05-05', '2026-05-05', '07:37:36', 1299.99, 'Cash', '', '', 0, NULL, 0, 1, '2026-05-05 07:37:36'),
(168, 'COL-REF-0168', 163, '2026-05-05', '2026-05-05', '07:38:02', 5300.01, 'UPI', '', '', 0, NULL, 0, 1, '2026-05-05 07:38:02'),
(169, 'COL-REF-0169', 174, '2026-05-05', '2026-05-05', '08:06:08', 1350.01, 'Cash', '', '', 0, NULL, 0, 1, '2026-05-05 08:06:08'),
(170, 'COL-REF-0170', 175, '2026-05-05', '2026-05-05', '08:13:43', 899.99, 'UPI', '', '', 0, NULL, 0, 1, '2026-05-05 08:13:43'),
(171, 'COL-REF-0171', 176, '2026-05-05', '2026-05-05', '08:37:57', 7499.99, 'UPI', '', '', 0, NULL, 0, 1, '2026-05-05 08:37:57'),
(172, 'COL-REF-0172', 88, '2026-05-05', '2026-05-05', '09:01:27', 1000.00, 'UPI', '', '', 0, NULL, 0, 1, '2026-05-05 09:01:27'),
(173, 'COL-REF-0173', 179, '2026-05-05', '2026-05-05', '12:51:39', 1700.00, 'Cash', '', '', 0, NULL, 0, 1, '2026-05-05 12:51:39'),
(174, 'COL-REF-0174', 178, '2026-05-05', '2026-05-05', '12:51:51', 1099.99, 'UPI', '', '', 1, '2026-05-05 18:22:03', 1, 1, '2026-05-05 12:51:51'),
(175, 'COL-REF-0174', 178, '2026-05-05', '2026-05-05', '12:52:03', 1100.00, 'UPI', '', '', 0, NULL, 0, 1, '2026-05-05 12:52:03'),
(176, 'COL-REF-0176', 180, '2026-05-05', '2026-05-05', '14:05:10', 10000.00, 'Cash', '', '', 0, NULL, 0, 1, '2026-05-05 14:05:10'),
(177, 'COL-REF-0177', 181, '2026-05-05', '2026-05-05', '15:09:55', 7499.99, 'UPI', '', '', 0, NULL, 0, 1, '2026-05-05 15:09:55'),
(178, 'COL-REF-0178', 182, '2026-05-06', '2026-05-06', '02:14:51', 6700.01, 'UPI', '', '', 0, NULL, 0, 1, '2026-05-06 02:14:51'),
(179, 'COL-REF-0179', 183, '2026-05-06', '2026-05-06', '03:58:22', 13500.00, 'UPI', '', '', 0, NULL, 0, 1, '2026-05-06 03:58:22'),
(180, 'COL-REF-0180', 184, '2026-05-06', '2026-05-06', '05:35:46', 1350.01, 'UPI', '', '', 0, NULL, 0, 1, '2026-05-06 05:35:46'),
(181, 'COL-REF-0181', 185, '2026-05-06', '2026-05-06', '08:30:06', 1100.00, 'Cash', '', '', 0, NULL, 0, 1, '2026-05-06 08:30:06'),
(182, 'COL-REF-0182', 188, '2026-05-07', '2026-05-07', '06:31:40', 5399.99, 'Cash', '', '', 0, NULL, 0, 1, '2026-05-07 06:31:40'),
(183, 'COL-REF-0183', 190, '2026-05-07', '2026-05-07', '12:58:38', 1250.00, 'UPI', '', '', 0, NULL, 0, 1, '2026-05-07 12:58:38'),
(184, 'COL-REF-0184', 189, '2026-05-07', '2026-05-07', '12:58:52', 3999.99, 'Cash', '', '', 0, NULL, 0, 1, '2026-05-07 12:58:52'),
(185, 'COL-REF-0185', 191, '2026-05-07', '2026-05-07', '13:28:58', 1350.01, 'UPI', '', '', 0, NULL, 0, 1, '2026-05-07 13:28:58'),
(186, 'COL-REF-0186', 192, '2026-05-08', '2026-05-08', '04:35:13', 1100.00, 'Cash', '', '', 0, NULL, 0, 1, '2026-05-08 04:35:13'),
(187, 'COL-REF-0187', 193, '2026-05-08', '2026-05-08', '06:06:52', 1299.99, 'UPI', '', '', 0, NULL, 0, 1, '2026-05-08 06:06:52'),
(188, 'COL-REF-0188', 194, '2026-05-08', '2026-05-08', '06:10:06', 3999.99, 'UPI', '', '', 0, NULL, 0, 1, '2026-05-08 06:10:06');

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

--
-- Table structure for table `sales_collections_non_gst`
--

CREATE TABLE `sales_collections_non_gst` (
  `id` int(10) UNSIGNED NOT NULL,
  `reference_code` varchar(40) DEFAULT NULL,
  `sale_invoice_id` int(10) UNSIGNED NOT NULL,
  `collection_date` date NOT NULL,
  `entry_date` date DEFAULT NULL,
  `entry_time` time DEFAULT NULL,
  `amount` decimal(12,2) NOT NULL DEFAULT 0.00,
  `payment_mode` varchar(40) DEFAULT NULL,
  `reference_no` varchar(80) DEFAULT NULL,
  `note` varchar(255) DEFAULT NULL,
  `is_deleted` tinyint(1) NOT NULL DEFAULT 0,
  `deleted_at` datetime DEFAULT NULL,
  `archive_seq` int(11) NOT NULL DEFAULT 0,
  `created_by` int(10) UNSIGNED DEFAULT NULL,
  `created_at` timestamp NOT NULL DEFAULT current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

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

--
-- Table structure for table `sales_invoices`
--

CREATE TABLE `sales_invoices` (
  `id` int(10) UNSIGNED NOT NULL,
  `invoice_no` varchar(40) NOT NULL,
  `po_number` varchar(60) DEFAULT NULL,
  `customer_name` varchar(120) NOT NULL,
  `customer_code` varchar(40) DEFAULT NULL,
  `customer_phone` varchar(30) DEFAULT NULL,
  `customer_gstin` varchar(20) DEFAULT NULL,
  `mode_of_sale` varchar(40) DEFAULT NULL,
  `billing_address` text DEFAULT NULL,
  `delivery_address` text DEFAULT NULL,
  `invoice_date` date NOT NULL,
  `entry_date` date DEFAULT NULL,
  `entry_time` time DEFAULT NULL,
  `financial_year` varchar(9) DEFAULT NULL,
  `place_of_supply` varchar(60) DEFAULT NULL,
  `supply_type` varchar(10) NOT NULL DEFAULT 'intra',
  `gst_inclusive` tinyint(1) NOT NULL DEFAULT 0,
  `taxable_amount` decimal(12,2) NOT NULL DEFAULT 0.00,
  `cgst_amount` decimal(12,2) NOT NULL DEFAULT 0.00,
  `sgst_amount` decimal(12,2) NOT NULL DEFAULT 0.00,
  `igst_amount` decimal(12,2) NOT NULL DEFAULT 0.00,
  `total_amount` decimal(12,2) NOT NULL DEFAULT 0.00,
  `note` varchar(255) DEFAULT NULL,
  `is_deleted` tinyint(1) NOT NULL DEFAULT 0,
  `deleted_at` datetime DEFAULT NULL,
  `archive_seq` int(11) NOT NULL DEFAULT 0,
  `created_by` int(10) UNSIGNED DEFAULT NULL,
  `created_at` timestamp NOT NULL DEFAULT current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Dumping data for table `sales_invoices`
--

INSERT INTO `sales_invoices` (`id`, `invoice_no`, `po_number`, `customer_name`, `customer_code`, `customer_phone`, `customer_gstin`, `mode_of_sale`, `billing_address`, `delivery_address`, `invoice_date`, `entry_date`, `entry_time`, `financial_year`, `place_of_supply`, `supply_type`, `gst_inclusive`, `taxable_amount`, `cgst_amount`, `sgst_amount`, `igst_amount`, `total_amount`, `note`, `is_deleted`, `deleted_at`, `archive_seq`, `created_by`, `created_at`) VALUES
(1, 'INV/2627/0001', '', 'panneerselvam', 'CUS-0003', '9003544362', '.', 'Cash', 'veppanpoondi', 'veppanpoondi', '2026-04-02', '2026-04-02', '11:24:52', '2026-27', 'Tamil Nadu', 'intra', 1, 1144.07, 102.97, 102.97, 0.00, 1350.01, '', 1, '2026-04-02 17:11:52', 1, 1, '2026-04-02 11:24:52'),
(2, 'INV/2627/0002', '', 'gopi', 'CUS-0004', '9944333716', '.', 'Cash', 'salem', 'salem', '2026-04-02', '2026-04-02', '11:32:06', '2026-27', 'Tamil Nadu', 'intra', 1, 8474.58, 762.71, 762.71, 0.00, 10000.00, '', 0, NULL, 0, 1, '2026-04-02 11:32:06'),
(3, 'INV/2627/0001', '', 'panneerselvam', 'CUS-0003', '9003544362', '.', 'Cash', 'veppanpoondi', 'veppanpoondi', '2026-04-02', '2026-04-02', '11:41:52', '2026-27', 'Tamil Nadu', 'intra', 1, 1101.69, 99.15, 99.15, 0.00, 1299.99, '', 0, NULL, 0, 1, '2026-04-02 11:41:52'),
(4, 'INV/2627/0003', '', 'Periyasamy k', 'CUS-0005', '8825999328', '.', 'Credit', 'NADUMEDU', 'NADUMEDU', '2026-04-02', '2026-04-02', '12:09:57', '2026-27', 'Tamil Nadu', 'intra', 1, 6271.19, 564.41, 564.41, 0.00, 7400.01, '', 0, NULL, 0, 1, '2026-04-02 12:09:57'),
(5, 'INV/2627/0004', '', 'karthik R', 'CUS-0006', '9790268528', '.', 'UPI', 'siruvachur', 'siruvachur', '2026-04-02', '2026-04-02', '12:48:25', '2026-27', 'Tamil Nadu', 'intra', 1, 1355.93, 122.03, 122.03, 0.00, 1599.99, '', 0, NULL, 0, 1, '2026-04-02 12:48:25'),
(6, 'INV/2627/0005', '', 'ponnuvel', 'CUS-0007', '9791366019', '.', 'UPI', 'nainarpalayam', 'nainarpalayam', '2026-04-02', '2026-04-02', '15:27:59', '2026-27', 'Tamil Nadu', 'intra', 1, 5338.98, 480.51, 480.51, 0.00, 6300.00, '', 1, '2026-04-02 21:03:52', 1, 1, '2026-04-02 15:27:59'),
(7, 'INV/2627/0005', '', 'ponnuvel', 'CUS-0007', '9791366019', '.', 'Cash', 'nainarpalayam', 'nainarpalayam', '2026-04-02', '2026-04-02', '15:33:52', '2026-27', 'Tamil Nadu', 'intra', 1, 5254.24, 472.88, 472.88, 0.00, 6200.00, '', 0, NULL, 0, 1, '2026-04-02 15:33:52'),
(8, 'INV/2627/0006', '', 'RASU', 'CUS-0009', '9443518324', '.', 'Credit', 'MUMMUDI', 'MUMMUDI', '2026-04-02', '2026-04-02', '16:54:10', '2026-27', 'Tamil Nadu', 'intra', 1, 932.20, 83.90, 83.90, 0.00, 1100.00, '', 0, NULL, 0, 1, '2026-04-02 16:54:10'),
(9, 'INV/2627/0007', '', 'GOBI JCB', 'CUS-0008', '8124377112', '.', 'Cash', 'MUMMUDI', 'MUMMUDI', '2026-04-02', '2026-04-02', '16:56:49', '2026-27', 'Tamil Nadu', 'intra', 1, 11016.95, 991.53, 991.53, 0.00, 13000.01, '', 0, NULL, 0, 1, '2026-04-02 16:56:49'),
(10, 'INV/2627/0008', '', 'selvaraj k', 'CUS-0010', '9150180248', '.', 'Cash', 'sathapati', 'sathapati', '2026-04-03', '2026-04-03', '05:28:42', '2026-27', 'Tamil Nadu', 'intra', 1, 5508.47, 495.76, 495.76, 0.00, 6499.99, '', 0, NULL, 0, 1, '2026-04-03 05:28:42'),
(11, 'INV/2627/0009', '', 'MORTHI R', 'CUS-0011', '9442334001', '.', 'UPI', 'THALAIVASAL', 'THALAIVASAL', '2026-04-03', '2026-04-03', '05:56:14', '2026-27', 'Tamil Nadu', 'intra', 1, 3135.59, 282.20, 282.20, 0.00, 3699.99, '', 0, NULL, 0, 1, '2026-04-03 05:56:14'),
(12, 'INV/2627/0010', '', 'sakthivel m', 'CUS-0012', '9791903005', '.', 'Cash', 'thalaivasal', 'thalaivasal', '2026-04-03', '2026-04-03', '07:17:12', '2026-27', 'Tamil Nadu', 'intra', 1, 847.46, 76.27, 76.27, 0.00, 1000.00, '', 0, NULL, 0, 1, '2026-04-03 07:17:12'),
(13, 'INV/2627/0011', '', 'AIYANGALI', 'CUS-0013', '9489251611', '.', 'Cash', 'puthur', 'puthur', '2026-04-03', '2026-04-03', '09:05:18', '2026-27', 'Tamil Nadu', 'intra', 1, 5508.47, 495.76, 495.76, 0.00, 6499.99, '', 0, NULL, 0, 1, '2026-04-03 09:05:18'),
(14, 'INV/2627/0012', '', 'RASU', 'CUS-0009', '9443518324', '.', 'Cash', 'MUMMUDI', 'MUMMUDI', '2026-04-03', '2026-04-03', '10:31:14', '2026-27', 'Tamil Nadu', 'intra', 1, 2372.88, 213.56, 213.56, 0.00, 2800.00, '', 0, NULL, 0, 1, '2026-04-03 10:31:14'),
(15, 'INV/2627/0013', '', 'vinoth n', 'CUS-0014', '8870400502', '.', 'Credit', 'thalaivasal mummdai', 'thalaivasal mummdai', '2026-04-03', '2026-04-03', '10:46:38', '2026-27', 'Tamil Nadu', 'intra', 1, 6016.95, 541.53, 541.53, 0.00, 7100.01, '', 0, NULL, 0, 1, '2026-04-03 10:46:38'),
(16, 'INV/2627/0014', '', 'Thilahar', 'CUS-0017', '6385600803', '.', 'Cash', 'navalur', 'navalur', '2026-04-06', '2026-04-06', '03:05:05', '2026-27', 'Tamil Nadu', 'intra', 1, 2966.10, 266.95, 266.95, 0.00, 3500.00, '', 0, NULL, 0, 1, '2026-04-06 03:05:05'),
(17, 'INV/2627/0015', '', 'A R CONSTRCUTION', 'CUS-0019', '9994222357', '.', 'Credit', 'GANGAVALLI', 'GANGAVALLI', '2026-04-06', '2026-04-06', '06:38:15', '2026-27', 'Tamil Nadu', 'intra', 1, 4661.02, 419.49, 419.49, 0.00, 5500.00, '', 0, NULL, 0, 1, '2026-04-06 06:38:15'),
(18, 'INV/2627/0016', '', 'sirman', 'CUS-0021', '8220111923', '.', 'Cash', 'thalaivasal -636112', 'thalaivasal -636112', '2026-04-06', '2026-04-06', '08:27:42', '2026-27', 'Tamil Nadu', 'intra', 1, 4661.02, 419.49, 419.49, 0.00, 5500.00, '', 0, NULL, 0, 1, '2026-04-06 08:27:42'),
(19, 'INV/2627/0017', '', 'arumugam', 'CUS-0020', '9442894602', '.', 'Credit', 'salaiyamman nagar', 'salaiyamman nagar', '2026-04-06', '2026-04-06', '08:30:28', '2026-27', 'Tamil Nadu', 'intra', 1, 1525.42, 137.29, 137.29, 0.00, 1800.00, '', 1, '2026-04-06 14:58:24', 1, 1, '2026-04-06 08:30:28'),
(20, 'INV/2627/0018', '', 'sanjivkumar r', 'CUS-0018', '91761011282', '.', 'Cash', 'puliyankurichi', 'puliyankurichi', '2026-04-06', '2026-04-06', '08:34:03', '2026-27', 'Tamil Nadu', 'intra', 1, 5508.47, 495.76, 495.76, 0.00, 6499.99, '', 0, NULL, 0, 1, '2026-04-06 08:34:03'),
(21, 'INV/2627/0017', '', 'arumugam', 'CUS-0020', '9442894602', '.', 'Credit', 'salaiyamman nagar', 'salaiyamman nagar', '2026-04-06', '2026-04-06', '09:28:24', '2026-27', 'Tamil Nadu', 'intra', 1, 1694.92, 152.54, 152.54, 0.00, 2000.00, '', 0, NULL, 0, 1, '2026-04-06 09:28:24'),
(22, 'INV/2627/0019', '', 'SUTHAKAR', 'CUS-0022', '9159421379', '.', 'Credit', 'VEPPAMPOONDI-636112', 'VEPPAMPOONDI-636112', '2026-04-06', '2026-04-06', '09:38:31', '2026-27', 'Tamil Nadu', 'intra', 1, 8474.58, 762.71, 762.71, 0.00, 10000.00, 'PALANI', 0, NULL, 0, 1, '2026-04-06 09:38:31'),
(23, 'INV/2627/0020', '', 'chinna', 'CUS-0023', '9025775470', '.', 'Credit', 'navakkurichi', 'navakkurichi', '2026-04-06', '2026-04-06', '11:47:33', '2026-27', 'Tamil Nadu', 'intra', 1, 5508.47, 495.76, 495.76, 0.00, 6499.99, '', 0, NULL, 0, 1, '2026-04-06 11:47:33'),
(24, 'INV/2627/0021', '', 'ramu jayaraman', 'CUS-0024', '9786782853', '.', 'Cash', 'aragalur', 'aragalur', '2026-04-06', '2026-04-06', '11:52:34', '2026-27', 'Tamil Nadu', 'intra', 1, 1016.95, 91.53, 91.53, 0.00, 1200.01, '', 1, '2026-04-06 18:00:53', 1, 1, '2026-04-06 11:52:34'),
(25, 'INV/2627/0022', '', 'kumaresan', 'CUS-0025', '9025328913', '.', 'Cash', 'navai', 'navai', '2026-04-06', '2026-04-06', '12:10:38', '2026-27', 'Tamil Nadu', 'intra', 1, 1694.92, 152.54, 152.54, 0.00, 2000.00, '', 0, NULL, 0, 1, '2026-04-06 12:10:38'),
(26, 'INV/2627/0021', '', 'ramu jayaraman', 'CUS-0024', '9786782853', '.', 'Cash', 'aragalur', 'aragalur', '2026-04-06', '2026-04-06', '12:30:53', '2026-27', 'Tamil Nadu', 'intra', 1, 847.46, 76.27, 76.27, 0.00, 1000.00, '', 1, '2026-04-06 18:02:01', 2, 1, '2026-04-06 12:30:53'),
(27, 'INV/2627/0021', '', 'ramu jayaraman', 'CUS-0024', '9786782853', '.', 'Cash', 'aragalur', 'aragalur', '2026-04-06', '2026-04-06', '12:32:01', '2026-27', 'Tamil Nadu', 'intra', 1, 932.20, 83.90, 83.90, 0.00, 1100.00, '', 1, '2026-04-06 18:02:39', 3, 1, '2026-04-06 12:32:01'),
(28, 'INV/2627/0021', '', 'ramu jayaraman', 'CUS-0024', '9786782853', '.', 'Cash', 'aragalur', 'aragalur', '2026-04-06', '2026-04-06', '12:32:39', '2026-27', 'Tamil Nadu', 'intra', 1, 847.46, 76.27, 76.27, 0.00, 1000.00, '', 0, NULL, 0, 1, '2026-04-06 12:32:39'),
(29, 'INV/2627/0023', '', 'rajavel', 'CUS-0026', '9443009579', '.', 'Cash', 'latthuvday', 'latthuvday', '2026-04-07', '2026-04-07', '04:07:19', '2026-27', 'Tamil Nadu', 'intra', 1, 3305.08, 297.46, 297.46, 0.00, 3900.00, '', 0, NULL, 0, 1, '2026-04-07 04:07:19'),
(30, 'INV/2627/0024', '', 'ravi chandran', 'CUS-0027', '9943908795', '.', 'Cash', 'nadumadu', 'nadumadu', '2026-04-07', '2026-04-07', '06:23:55', '2026-27', 'Tamil Nadu', 'intra', 1, 4067.80, 366.10, 366.10, 0.00, 4800.00, '', 1, '2026-04-07 12:00:22', 1, 1, '2026-04-07 06:23:55'),
(31, 'INV/2627/0024', '', 'ravi chandran', 'CUS-0027', '9943908795', '.', 'Cash', 'nadumadu', 'nadumadu', '2026-04-07', '2026-04-07', '06:30:22', '2026-27', 'Tamil Nadu', 'intra', 1, 4067.80, 366.10, 366.10, 0.00, 4800.00, '', 0, NULL, 0, 1, '2026-04-07 06:30:22'),
(32, 'INV/2627/0025', '', 'VIGNESH V', 'CUS-0028', '9360341002', '.', 'Credit', 'THIYAGANUR -636112', 'THIYAGANUR -636112', '2026-04-07', '2026-04-07', '07:01:20', '2026-27', 'Tamil Nadu', 'intra', 1, 5084.75, 457.63, 457.63, 0.00, 6000.01, '', 1, '2026-04-07 12:33:06', 1, 1, '2026-04-07 07:01:20'),
(33, 'INV/2627/0025', '', 'VIGNESH V', 'CUS-0028', '9360341002', '.', 'Credit', 'THIYAGANUR -636112', 'THIYAGANUR -636112', '2026-04-07', '2026-04-07', '07:03:06', '2026-27', 'Tamil Nadu', 'intra', 1, 17372.88, 1563.56, 1563.56, 0.00, 20500.00, '', 1, '2026-04-07 13:22:14', 2, 1, '2026-04-07 07:03:06'),
(34, 'INV/2627/0025', '', 'VIGNESH V', 'CUS-0028', '9360341002', '.', 'Credit', 'THIYAGANUR -636112', 'THIYAGANUR -636112', '2026-04-07', '2026-04-07', '07:52:14', '2026-27', 'Tamil Nadu', 'intra', 1, 17372.88, 1563.56, 1563.56, 0.00, 20500.00, '', 1, '2026-04-07 13:22:42', 3, 1, '2026-04-07 07:52:14'),
(35, 'INV/2627/0025', '', 'VIGNESH V', 'CUS-0028', '9360341002', '.', 'Credit', 'THIYAGANUR -636112', 'THIYAGANUR -636112', '2026-04-07', '2026-04-07', '07:52:42', '2026-27', 'Tamil Nadu', 'intra', 1, 17372.88, 1563.56, 1563.56, 0.00, 20500.00, '', 0, NULL, 0, 1, '2026-04-07 07:52:42'),
(36, 'INV/2627/0026', '', 'raj kamal', 'CUS-0029', '8056589651', '.', 'Cash', 'perambalur', 'perambalur', '2026-04-07', '2026-04-07', '09:21:59', '2026-27', 'Tamil Nadu', 'intra', 1, 5847.46, 526.27, 526.27, 0.00, 6900.00, '', 0, NULL, 0, 1, '2026-04-07 09:21:59'),
(37, 'INV/2627/0027', '', 'satiyan v', 'CUS-0030', '9944351877', '.', 'Cash', 'periyeri', 'periyeri', '2026-04-07', '2026-04-07', '13:42:12', '2026-27', 'Tamil Nadu', 'intra', 1, 5762.71, 518.64, 518.64, 0.00, 6799.99, '', 0, NULL, 0, 1, '2026-04-07 13:42:12'),
(38, 'INV/2627/0028', '', 'GOBI JCB', 'CUS-0008', '8124377112', '.', 'UPI', 'MUMMUDI', 'MUMMUDI', '2026-04-07', '2026-04-07', '16:11:05', '2026-27', 'Tamil Nadu', 'intra', 1, 677.97, 61.02, 61.02, 0.00, 800.01, '', 0, NULL, 0, 1, '2026-04-07 16:11:05'),
(39, 'INV/2627/0029', '', 'periyasamy m', 'CUS-0031', '9942072944', '.', 'UPI', 'sivasangarapuram', 'sivasangarapuram', '2026-04-07', '2026-04-07', '16:15:46', '2026-27', 'Tamil Nadu', 'intra', 1, 10762.71, 968.64, 968.64, 0.00, 12699.99, '', 0, NULL, 0, 1, '2026-04-07 16:15:46'),
(40, 'INV/2627/0030', '', 'SELVAKUMAR', 'CUS-0032', '9578561561', '.', 'Credit', 'CHINNA SALEM', 'CHINNA SALEM', '2026-04-07', '2026-04-07', '16:19:41', '2026-27', 'Tamil Nadu', 'intra', 1, 5932.20, 533.90, 533.90, 0.00, 7000.00, '', 0, NULL, 0, 1, '2026-04-07 16:19:41'),
(41, 'INV/2627/0031', '', 'sathrapathi', 'CUS-0033', '9486872944', '.', 'Cash', 't .puthur', 't .puthur', '2026-04-08', '2026-04-08', '05:27:34', '2026-27', 'Tamil Nadu', 'intra', 1, 1144.07, 102.97, 102.97, 0.00, 1350.01, '', 0, NULL, 0, 1, '2026-04-08 05:27:34'),
(42, 'INV/2627/0032', '', 'DINESH', 'CUS-0034', '8015568308', '.', 'UPI', 'VARAGUR', 'VARAGUR', '2026-04-08', '2026-04-08', '05:31:41', '2026-27', 'Tamil Nadu', 'intra', 1, 1355.93, 122.03, 122.03, 0.00, 1599.99, '', 0, NULL, 0, 1, '2026-04-08 05:31:41'),
(43, 'INV/2627/0033', '', 'CHINNA BATTERY', 'CUS-0035', '9043431429', '.', 'Credit', 'UNATHUR', 'UNATHUR', '2026-04-08', '2026-04-08', '05:41:56', '2026-27', 'Tamil Nadu', 'intra', 1, 12203.39, 1098.31, 1098.31, 0.00, 14400.01, '', 0, NULL, 0, 1, '2026-04-08 05:41:56'),
(44, 'INV/2627/0034', '', 'MANI P', 'CUS-0036', '9789109607', '.', 'Cash', 'SITHERI', 'SITHERI', '2026-04-08', '2026-04-08', '05:54:02', '2026-27', 'Tamil Nadu', 'intra', 1, 1101.69, 99.15, 99.15, 0.00, 1299.99, '', 0, NULL, 0, 1, '2026-04-08 05:54:02'),
(45, 'INV/2627/0035', '', 'selvadurai m', 'CUS-0037', '8050500395', '.', 'Cash', 'kamakkapalayam', 'kamakkapalayam', '2026-04-08', '2026-04-08', '09:10:31', '2026-27', 'Tamil Nadu', 'intra', 1, 6355.93, 572.03, 572.03, 0.00, 7499.99, '', 0, NULL, 0, 1, '2026-04-08 09:10:31'),
(46, 'INV/2627/0036', '', 'rajavel', 'CUS-0026', '9443009579', '.', 'UPI', 'latthuvday', 'latthuvday', '2026-04-09', '2026-04-09', '03:15:40', '2026-27', 'Tamil Nadu', 'intra', 1, 1144.07, 102.97, 102.97, 0.00, 1350.01, '', 0, NULL, 0, 1, '2026-04-09 03:15:40'),
(47, 'INV/2627/0037', '', 'M S MANI', 'CUS-0038', '9443236121', '.', 'Cash', 'MS', 'MS', '2026-04-09', '2026-04-09', '13:29:27', '2026-27', 'Tamil Nadu', 'intra', 1, 5932.20, 533.90, 533.90, 0.00, 7000.00, '', 1, '2026-04-09 19:01:30', 1, 1, '2026-04-09 13:29:27'),
(48, 'INV/2627/0037', '', 'M S MANI', 'CUS-0038', '9443236121', '.', 'Credit', 'MS', 'MS', '2026-04-09', '2026-04-09', '13:31:30', '2026-27', 'Tamil Nadu', 'intra', 1, 5847.46, 526.27, 526.27, 0.00, 6900.00, '', 0, NULL, 0, 1, '2026-04-09 13:31:30'),
(49, 'INV/2627/0038', '', 'LAKASHMANAN', 'CUS-0039', '9087127918', '.', 'Cash', 'THALAIVASAL', 'THALAIVASAL', '2026-04-09', '2026-04-09', '13:33:32', '2026-27', 'Tamil Nadu', 'intra', 1, 805.08, 72.46, 72.46, 0.00, 950.00, '', 0, NULL, 0, 1, '2026-04-09 13:33:32'),
(50, 'INV/2627/0039', '', 'mohan', 'CUS-0040', '9445934466', '.', 'Cash', 'thalaivasal', 'thalaivasal', '2026-04-10', '2026-04-10', '05:17:43', '2026-27', 'Tamil Nadu', 'intra', 1, 847.46, 76.27, 76.27, 0.00, 1000.00, '', 0, NULL, 0, 1, '2026-04-10 05:17:43'),
(51, 'INV/2627/0040', '', 'PRABU P', 'CUS-0041', '8124854471', '.', 'UPI', 'THALAIVASAL', 'THALAIVASAL', '2026-04-10', '2026-04-10', '05:34:22', '2026-27', 'Tamil Nadu', 'intra', 1, 1059.32, 95.34, 95.34, 0.00, 1250.00, '', 0, NULL, 0, 1, '2026-04-10 05:34:22'),
(52, 'INV/2627/0041', '', 'UTHAYA', 'CUS-0042', '7397060939', '.', 'UPI', 'SIRUVACHUR', 'SIRUVACHUR', '2026-04-10', '2026-04-10', '06:56:29', '2026-27', 'Tamil Nadu', 'intra', 1, 4576.27, 411.86, 411.86, 0.00, 5399.99, '', 0, NULL, 0, 1, '2026-04-10 06:56:29'),
(53, 'INV/2627/0042', '', 'muthusamy m', 'CUS-0043', '9865538718', '.', 'Cash', 'navalur', 'navalur', '2026-04-10', '2026-04-10', '09:25:00', '2026-27', 'Tamil Nadu', 'intra', 1, 932.20, 83.90, 83.90, 0.00, 1100.00, '', 0, NULL, 0, 1, '2026-04-10 09:25:00'),
(54, 'INV/2627/0043', '', 'krishnakumar', 'CUS-0044', '9787730385', '.', 'Cash', 'thalaivasal', 'thalaivasal', '2026-04-11', '2026-04-11', '11:44:59', '2026-27', 'Tamil Nadu', 'intra', 1, 1694.92, 152.54, 152.54, 0.00, 2000.00, '', 0, NULL, 0, 1, '2026-04-11 11:44:59'),
(55, 'INV/2627/0044', '', 'Vignesh power on', 'CUS-0045', '9092467488', '.', 'Credit', 'thalaivasal', 'thalaivasal', '2026-04-11', '2026-04-11', '12:41:18', '2026-27', 'Tamil Nadu', 'intra', 1, 1313.56, 118.22, 118.22, 0.00, 1550.00, '', 0, NULL, 0, 1, '2026-04-11 12:41:18'),
(56, 'INV/2627/0045', '', 'suresh nateshan', 'CUS-0046', '8925103315', '.', 'Cash', 'thalaivasal', 'thalaivasal', '2026-04-11', '2026-04-11', '12:43:11', '2026-27', 'Tamil Nadu', 'intra', 1, 3559.32, 320.34, 320.34, 0.00, 4200.00, '', 0, NULL, 0, 1, '2026-04-11 12:43:11'),
(57, 'INV/2627/0046', '', 'kurinji srini', 'CUS-0047', '9047030418', '.', 'Credit', 'thalaivasal', 'thalaivasal', '2026-04-12', '2026-04-12', '04:25:38', '2026-27', 'Tamil Nadu', 'intra', 1, 847.46, 76.27, 76.27, 0.00, 1000.00, '', 0, NULL, 0, 1, '2026-04-12 04:25:38'),
(58, 'INV/2627/0047', '', 'SAKTHIVEL', 'CUS-0048', '9345812881', '.', 'Credit', 'SIRUVACHUR', 'SIRUVACHUR', '2026-04-12', '2026-04-12', '04:32:07', '2026-27', 'Tamil Nadu', 'intra', 1, 932.20, 83.90, 83.90, 0.00, 1100.00, '', 0, NULL, 0, 1, '2026-04-12 04:32:07'),
(59, 'INV/2627/0048', '', 'VISAL', 'CUS-0049', '7904155658', '.', 'Cash', 'NAVAKKURICHI', 'NAVAKKURICHI', '2026-04-12', '2026-04-12', '04:54:45', '2026-27', 'Tamil Nadu', 'intra', 1, 5508.47, 495.76, 495.76, 0.00, 6499.99, '', 0, NULL, 0, 1, '2026-04-12 04:54:45'),
(60, 'INV/2627/0049', '', 'mani bike', 'CUS-0050', '7502104217', '.', 'Credit', 'thalaivasal', 'thalaivasal', '2026-04-12', '2026-04-12', '06:27:17', '2026-27', 'Tamil Nadu', 'intra', 1, 1059.32, 95.34, 95.34, 0.00, 1250.00, '', 0, NULL, 0, 1, '2026-04-12 06:27:17'),
(61, 'INV/2627/0050', '', 'mano', 'CUS-0051', '9344847626', '.', 'Cash', 'thalaivasal', 'thalaivasal', '2026-04-12', '2026-04-12', '13:22:52', '2026-27', 'Tamil Nadu', 'intra', 1, 5847.45, 526.27, 526.27, 0.00, 6899.99, '', 0, NULL, 0, 1, '2026-04-12 13:22:52'),
(62, 'INV/2627/0051', '', 'ravi', 'CUS-0052', '8838721027', '.', 'Cash', 'thalaivasal', 'thalaivasal', '2026-04-13', '2026-04-13', '10:59:28', '2026-27', 'Tamil Nadu', 'intra', 1, 6355.93, 572.03, 572.03, 0.00, 7499.99, '', 0, NULL, 0, 1, '2026-04-13 10:59:28'),
(63, 'INV/2627/0052', '', 'raja', 'CUS-0053', '9443751493', '.', 'Cash', 'thalaivasal', 'thalaivasal', '2026-04-13', '2026-04-13', '12:15:54', '2026-27', 'Tamil Nadu', 'intra', 1, 1101.69, 99.15, 99.15, 0.00, 1299.99, '', 0, NULL, 0, 1, '2026-04-13 12:15:54'),
(64, 'INV/2627/0053', '', 'sathiesh', 'CUS-0054', '9150517355', '.', 'UPI', 'veppampoondi', 'veppampoondi', '2026-04-13', '2026-04-13', '12:27:49', '2026-27', 'Tamil Nadu', 'intra', 1, 4661.02, 419.49, 419.49, 0.00, 5500.00, '', 0, NULL, 0, 1, '2026-04-13 12:27:49'),
(65, 'INV/2627/0054', '', 'PRAKASH N', 'CUS-0055', '9095927644', '.', 'Cash', 'THENKUMARI', 'THENKUMARI', '2026-04-13', '2026-04-13', '12:38:33', '2026-27', 'Tamil Nadu', 'intra', 1, 6355.93, 572.03, 572.03, 0.00, 7499.99, '', 0, NULL, 0, 1, '2026-04-13 12:38:33'),
(66, 'INV/2627/0055', '', 'MOOKKAIYAN', 'CUS-0056', '8778161142', '.', 'UPI', 'THALAIVASAL', 'THALAIVASAL', '2026-04-13', '2026-04-13', '13:25:47', '2026-27', 'Tamil Nadu', 'intra', 1, 1101.69, 99.15, 99.15, 0.00, 1299.99, '', 0, NULL, 0, 1, '2026-04-13 13:25:47'),
(67, 'INV/2627/0056', '', 'sathiyamorthi', 'CUS-0057', '9976467285', '.', 'Credit', 'thalaivasal-636112', 'thalaivasal-636112', '2026-04-14', '2026-04-14', '03:52:02', '2026-27', 'Tamil Nadu', 'intra', 1, 4915.25, 442.37, 442.37, 0.00, 5799.99, '', 0, NULL, 0, 1, '2026-04-14 03:52:02'),
(68, 'INV/2627/0057', '', 'varatharajan v', 'CUS-0058', '9003663432', '.', 'Cash', 'veeraganur', 'veeraganur', '2026-04-14', '2026-04-14', '08:26:23', '2026-27', 'Tamil Nadu', 'intra', 1, 6355.93, 572.03, 572.03, 0.00, 7499.99, '', 0, NULL, 0, 1, '2026-04-14 08:26:23'),
(69, 'INV/2627/0058', '', 'annaimotors', 'CUS-0059', '8778787599', '.', 'UPI', 'thalaivasal', 'thalaivasal', '2026-04-14', '2026-04-14', '13:38:46', '2026-27', 'Tamil Nadu', 'intra', 1, 677.97, 61.02, 61.02, 0.00, 800.01, '', 0, NULL, 0, 1, '2026-04-14 13:38:46'),
(70, 'INV/2627/0059', '', 'kurinji srini', 'CUS-0047', '9047030418', '.', 'Cash', 'thalaivasal', 'thalaivasal', '2026-04-14', '2026-04-14', '13:44:35', '2026-27', 'Tamil Nadu', 'intra', 1, 1271.19, 114.41, 114.41, 0.00, 1500.01, '', 0, NULL, 0, 1, '2026-04-14 13:44:35'),
(71, 'INV/2627/0060', '', 'VIDYASAGAR', 'CUS-0060', '9790871321', '.', 'UPI', 'Chinna salem', 'Chinna salem', '2026-04-14', '2026-04-14', '13:56:02', '2026-27', 'Tamil Nadu', 'intra', 1, 3220.34, 289.83, 289.83, 0.00, 3800.00, '', 0, NULL, 0, 1, '2026-04-14 13:56:02'),
(72, 'INV/2627/0061', '', 'SELVAKUMAR', 'CUS-0032', '9578561561', '.', 'Credit', 'CHINNA SALEM', 'CHINNA SALEM', '2026-04-14', '2026-04-14', '14:00:04', '2026-27', 'Tamil Nadu', 'intra', 1, 11937.29, 1074.36, 1074.36, 0.00, 14086.01, '', 0, NULL, 0, 1, '2026-04-14 14:00:04'),
(73, 'INV/2627/0062', '', 'KANNAN LNT', 'CUS-0061', '98435507020', '.', 'Credit', 'NAVALUR', 'NAVALUR', '2026-04-14', '2026-04-14', '14:16:46', '2026-27', 'Tamil Nadu', 'intra', 1, 1525.42, 137.29, 137.29, 0.00, 1800.00, '', 0, NULL, 0, 1, '2026-04-14 14:16:46'),
(74, 'INV/2627/0063', '', 'vishwa', 'CUS-0062', '8438766085', '.', 'Cash', 'thalaivasal', 'thalaivasal', '2026-04-14', '2026-04-14', '14:53:50', '2026-27', 'Tamil Nadu', 'intra', 1, 1144.07, 102.97, 102.97, 0.00, 1350.01, '', 1, '2026-04-14 20:24:04', 1, 1, '2026-04-14 14:53:50'),
(75, 'INV/2627/0063', '', 'vishwa', 'CUS-0062', '8438766085', '.', 'Cash', 'thalaivasal', 'thalaivasal', '2026-04-14', '2026-04-14', '14:54:04', '2026-27', 'Tamil Nadu', 'intra', 1, 1101.69, 99.15, 99.15, 0.00, 1299.99, '', 0, NULL, 0, 1, '2026-04-14 14:54:04'),
(76, 'INV/2627/0064', '', 'ganapathi', 'CUS-0063', '9344353891', '.', 'UPI', 'argalur', 'argalur', '2026-04-15', '2026-04-15', '07:53:08', '2026-27', 'Tamil Nadu', 'intra', 1, 1101.69, 99.15, 99.15, 0.00, 1299.99, '', 0, NULL, 0, 1, '2026-04-15 07:53:08'),
(77, 'INV/2627/0065', '', 'ARUL', 'CUS-0064', '8667043761', '.', 'UPI', 'THALAIVASAL', 'THALAIVASAL', '2026-04-15', '2026-04-15', '08:08:26', '2026-27', 'Tamil Nadu', 'intra', 1, 847.46, 76.27, 76.27, 0.00, 1000.00, '', 0, NULL, 0, 1, '2026-04-15 08:08:26'),
(78, 'INV/2627/0066', '', 'manivannan', 'CUS-0065', '9786732143', '.', 'UPI', 'unathur', 'unathur', '2026-04-15', '2026-04-15', '11:27:54', '2026-27', 'Tamil Nadu', 'intra', 1, 4661.02, 419.49, 419.49, 0.00, 5500.00, '', 0, NULL, 0, 1, '2026-04-15 11:27:54'),
(79, 'INV/2627/0067', '', 'dhinesh', 'CUS-0066', '7825090104', '.', 'UPI', 'mummdai thalaivasal', 'mummdai thalaivasal', '2026-04-15', '2026-04-15', '14:16:51', '2026-27', 'Tamil Nadu', 'intra', 1, 805.08, 72.46, 72.46, 0.00, 950.00, '', 0, NULL, 0, 1, '2026-04-15 14:16:51'),
(80, 'INV/2627/0068', '', 'daruman', 'CUS-0067', '9787837705', '.', 'Cash', 'mummdai thalaivasal', 'mummdai thalaivasal', '2026-04-15', '2026-04-15', '14:35:44', '2026-27', 'Tamil Nadu', 'intra', 1, 1101.69, 99.15, 99.15, 0.00, 1299.99, '', 0, NULL, 0, 1, '2026-04-15 14:35:44'),
(81, 'INV/2627/0069', '', 'chandru', 'CUS-0068', '9786134005', '.', 'UPI', 'aragalur', 'aragalur', '2026-04-16', '2026-04-16', '07:28:10', '2026-27', 'Tamil Nadu', 'intra', 1, 1101.69, 99.15, 99.15, 0.00, 1299.99, '', 0, NULL, 0, 1, '2026-04-16 07:28:10'),
(82, 'INV/2627/0070', '', 'GOBI JCB', 'CUS-0008', '8124377112', '.', 'UPI', 'MUMMUDI', 'MUMMUDI', '2026-04-16', '2026-04-16', '15:40:25', '2026-27', 'Tamil Nadu', 'intra', 1, 1016.93, 91.52, 91.52, 0.00, 1199.97, '', 0, NULL, 0, 1, '2026-04-16 15:40:25'),
(83, 'INV/2627/0071', '', 'ANBU CAR', 'CUS-0069', '9626176867', '.', 'Credit', 'MUMMDAI', 'MUMMDAI', '2026-04-16', '2026-04-16', '15:48:32', '2026-27', 'Tamil Nadu', 'intra', 1, 3093.22, 278.39, 278.39, 0.00, 3650.00, '', 0, NULL, 0, 1, '2026-04-16 15:48:32'),
(84, 'INV/2627/0072', '', 'ramesh A', 'CUS-0070', '9994944080', '.', 'UPI', 'SITHERI', 'SITHERI', '2026-04-17', '2026-04-17', '06:26:12', '2026-27', 'Tamil Nadu', 'intra', 1, 3305.08, 297.46, 297.46, 0.00, 3900.00, '', 0, NULL, 0, 1, '2026-04-17 06:26:12'),
(85, 'INV/2627/0073', '', 'sathiesh kumar', 'CUS-0071', '9524352519', '.', 'Cash', 'suruvachur', 'suruvachur', '2026-04-17', '2026-04-17', '09:38:34', '2026-27', 'Tamil Nadu', 'intra', 1, 805.08, 72.46, 72.46, 0.00, 950.00, '', 0, NULL, 0, 1, '2026-04-17 09:38:34'),
(86, 'INV/2627/0074', '', 'Samidurai', 'CUS-0072', '9994149597', '.', 'Cash', 'Pagadapadi', 'Pagadapadi', '2026-04-20', '2026-04-20', '02:08:01', '2026-27', 'Tamil Nadu', 'intra', 1, 6355.93, 572.03, 572.03, 0.00, 7499.99, '', 1, '2026-04-20 07:38:17', 1, 1, '2026-04-20 02:08:01'),
(87, 'INV/2627/0074', '', 'Samidurai', 'CUS-0072', '9994149597', '.', 'Cash', 'Pagadapadi', 'Pagadapadi', '2026-04-20', '2026-04-20', '02:08:17', '2026-27', 'Tamil Nadu', 'intra', 1, 6355.93, 572.03, 572.03, 0.00, 7499.99, '', 1, '2026-04-20 16:58:18', 2, 1, '2026-04-20 02:08:17'),
(88, 'INV/2627/0075', '', 'goutham', 'CUS-0073', '9751495816', '.', 'Credit', 'siruvachur anbu nager', 'siruvachur anbu nager', '2026-04-20', '2026-04-20', '02:13:28', '2026-27', 'Tamil Nadu', 'intra', 1, 5932.20, 533.90, 533.90, 0.00, 7000.00, '', 0, NULL, 0, 1, '2026-04-20 02:13:28'),
(89, 'INV/2627/0076', '', 'Ganesan', 'CUS-0074', '6374575865', '.', 'Credit', 'ponnoli nagar', 'ponnoli nagar', '2026-04-20', '2026-04-20', '02:17:55', '2026-27', 'Tamil Nadu', 'intra', 1, 5932.19, 533.90, 533.90, 0.00, 6999.99, '', 0, NULL, 0, 1, '2026-04-20 02:17:55'),
(90, 'INV/2627/0077', '', 'dhinesh', 'CUS-0066', '7825090104', '.', 'UPI', 'mummdai thalaivasal', 'mummdai thalaivasal', '2026-04-20', '2026-04-20', '02:22:45', '2026-27', 'Tamil Nadu', 'intra', 1, 1016.94, 91.52, 91.52, 0.00, 1199.98, '', 0, NULL, 0, 1, '2026-04-20 02:22:45'),
(91, 'INV/2627/0078', '', 'vinodh', 'CUS-0075', '9941244355', '.', 'Credit', 'thalaivasal -636112', 'thalaivasal -636112', '2026-04-20', '2026-04-20', '02:51:05', '2026-27', 'Tamil Nadu', 'intra', 1, 15677.97, 1411.02, 1411.02, 0.00, 18500.01, '', 0, NULL, 0, 1, '2026-04-20 02:51:05'),
(92, 'INV/2627/0079', '', 'periyannan', 'CUS-0076', '9363253630', '.', 'Cash', 'eluppatham', 'eluppatham', '2026-04-20', '2026-04-20', '08:33:31', '2026-27', 'Tamil Nadu', 'intra', 1, 1144.07, 102.97, 102.97, 0.00, 1350.01, '', 0, NULL, 0, 1, '2026-04-20 08:33:31'),
(93, 'INV/2627/0080', '', 'hari periyasamy', 'CUS-0077', '8610271789', '.', 'UPI', 'navakkurichi', 'navakkurichi', '2026-04-20', '2026-04-20', '08:41:34', '2026-27', 'Tamil Nadu', 'intra', 1, 2966.10, 266.95, 266.95, 0.00, 3500.00, '', 0, NULL, 0, 1, '2026-04-20 08:41:34'),
(94, 'INV/2627/0074', '', 'Samidurai', 'CUS-0072', '9994149597', '.', 'Cash', 'Pagadapadi', 'Pagadapadi', '2026-04-20', '2026-04-20', '11:28:18', '2026-27', 'Tamil Nadu', 'intra', 1, 6355.93, 572.03, 572.03, 0.00, 7499.99, '', 1, '2026-04-20 16:58:55', 3, 1, '2026-04-20 11:28:18'),
(95, 'INV/2627/0074', '', 'Samidurai', 'CUS-0072', '9994149597', '.', 'Cash', 'Pagadapadi', 'Pagadapadi', '2026-04-20', '2026-04-20', '11:28:55', '2026-27', 'Tamil Nadu', 'intra', 1, 6355.93, 572.03, 572.03, 0.00, 7499.99, '', 0, NULL, 0, 1, '2026-04-20 11:28:55'),
(96, 'INV/2627/0081', '', 'sridhar selvaraj', 'CUS-0078', '8220704929', '.', 'Cash', 'mummdai thalaivasal', 'mummdai thalaivasal', '2026-04-20', '2026-04-20', '11:32:59', '2026-27', 'Tamil Nadu', 'intra', 1, 11016.95, 991.53, 991.53, 0.00, 13000.01, '', 0, NULL, 0, 1, '2026-04-20 11:32:59'),
(97, 'INV/2627/0082', '', 'Maruthi super market 2', 'CUS-0079', '9443557115', '.', 'Cash', 'thalaivasal', 'thalaivasal', '2026-04-20', '2026-04-20', '11:36:39', '2026-27', 'Tamil Nadu', 'intra', 1, 6186.44, 556.78, 556.78, 0.00, 7300.00, '', 0, NULL, 0, 1, '2026-04-20 11:36:39'),
(98, 'INV/2627/0083', '', 'velmurugan', 'CUS-0080', '9443827022', '.', 'Cash', 'valapady', 'valapady', '2026-04-20', '2026-04-20', '12:47:38', '2026-27', 'Tamil Nadu', 'intra', 1, 3220.34, 289.83, 289.83, 0.00, 3800.00, '', 0, NULL, 0, 1, '2026-04-20 12:47:38'),
(99, 'INV/2627/0084', '', 'thangadurai', 'CUS-0081', '9360246585', '.', 'Cash', 'ayyanaar palayam', 'ayyanaar palayam', '2026-04-21', '2026-04-21', '04:35:17', '2026-27', 'Tamil Nadu', 'intra', 1, 3389.83, 305.08, 305.08, 0.00, 3999.99, '', 1, '2026-04-21 10:05:35', 1, 1, '2026-04-21 04:35:17'),
(100, 'INV/2627/0084', '', 'thangadurai', 'CUS-0081', '9360246585', '.', 'Cash', 'ayyanaar palayam', 'ayyanaar palayam', '2026-04-21', '2026-04-21', '04:35:35', '2026-27', 'Tamil Nadu', 'intra', 1, 3389.84, 305.09, 305.09, 0.00, 4000.02, '', 0, NULL, 0, 1, '2026-04-21 04:35:35'),
(101, 'INV/2627/0085', '', 'CRC CEMENT AND STEEL', 'CUS-0082', '9994978791', '.', 'UPI', 'MUMMDAI THALAIVASAL -636112', 'MUMMDAI THALAIVASAL -636112', '2026-04-21', '2026-04-21', '05:12:05', '2026-27', 'Tamil Nadu', 'intra', 1, 4661.02, 419.49, 419.49, 0.00, 5500.00, '', 0, NULL, 0, 1, '2026-04-21 05:12:05'),
(102, 'INV/2627/0086', '', 'VP MURUGSAN', 'CUS-0083', '9655146917', '.', 'Cash', 'SIRVAUCHUR', 'SIRVAUCHUR', '2026-04-21', '2026-04-21', '14:52:47', '2026-27', 'Tamil Nadu', 'intra', 1, 932.20, 83.90, 83.90, 0.00, 1100.00, '', 0, NULL, 0, 1, '2026-04-21 14:52:47'),
(103, 'INV/2627/0087', '', 'periya samy', 'CUS-0084', '8939836458', '.', 'Cash', 'thalaivasal-636112', 'thalaivasal-636112', '2026-04-21', '2026-04-21', '15:59:19', '2026-27', 'Tamil Nadu', 'intra', 1, 1101.69, 99.15, 99.15, 0.00, 1299.99, '', 0, NULL, 0, 1, '2026-04-21 15:59:19'),
(104, 'INV/2627/0088', '', 'ARUL BIKE', 'CUS-0085', '9489853067', '.', 'Cash', 'THALAIVASAL', 'THALAIVASAL', '2026-04-21', '2026-04-21', '16:08:26', '2026-27', 'Tamil Nadu', 'intra', 1, 1016.95, 91.53, 91.53, 0.00, 1200.01, '', 0, NULL, 0, 1, '2026-04-21 16:08:26'),
(105, 'INV/2627/0089', '', 'ANBU CAR', 'CUS-0069', '9626176867', '.', 'Cash', 'MUMMDAI', 'MUMMDAI', '2026-04-21', '2026-04-21', '16:10:05', '2026-27', 'Tamil Nadu', 'intra', 1, 3093.22, 278.39, 278.39, 0.00, 3650.00, '', 0, NULL, 0, 1, '2026-04-21 16:10:05'),
(106, 'INV/2627/0090', '', 'mani bike', 'CUS-0050', '7502104217', '.', 'Cash', 'thalaivasal', 'thalaivasal', '2026-04-21', '2026-04-21', '16:11:30', '2026-27', 'Tamil Nadu', 'intra', 1, 1059.32, 95.34, 95.34, 0.00, 1250.00, '', 0, NULL, 0, 1, '2026-04-21 16:11:30'),
(107, 'INV/2627/0091', '', 'ARUL CAR', 'CUS-0086', '9952139133', '.', 'UPI', 'THALAIVASAL-636112', 'THALAIVASAL-636112', '2026-04-21', '2026-04-21', '16:14:40', '2026-27', 'Tamil Nadu', 'intra', 1, 4830.51, 434.75, 434.75, 0.00, 5700.01, '', 0, NULL, 0, 1, '2026-04-21 16:14:40'),
(108, 'INV/2627/0092', '', 'vinoth', 'CUS-0087', '7200939041', '.', 'UPI', 'East rajapalayam\r\nthalaivasal-636112', 'East rajapalayam\r\nthalaivasal-636112', '2026-04-22', '2026-04-22', '01:53:45', '2026-27', 'Tamil Nadu', 'intra', 1, 36440.68, 3279.66, 3279.66, 0.00, 43000.00, '', 0, NULL, 0, 1, '2026-04-22 01:53:45'),
(109, 'INV/2627/0093', '', 'ramasamy N', 'CUS-0088', '9976112719', '.', 'Cash', 'TN30AU4748', 'TN30AU4748', '2026-04-22', '2026-04-22', '05:32:32', '2026-27', 'Tamil Nadu', 'intra', 1, 3220.34, 289.83, 289.83, 0.00, 3800.00, '', 0, NULL, 0, 1, '2026-04-22 05:32:32'),
(110, 'INV/2627/0094', '', 'mani bike', 'CUS-0050', '7502104217', '.', 'Cash', 'thalaivasal', 'thalaivasal', '2026-04-22', '2026-04-22', '10:52:15', '2026-27', 'Tamil Nadu', 'intra', 1, 805.08, 72.46, 72.46, 0.00, 950.00, '', 0, NULL, 0, 1, '2026-04-22 10:52:15'),
(111, 'INV/2627/0095', '', 'prakash b', 'CUS-0089', '9677356569', '.', 'Cash', 'thalaivasal-636112', 'thalaivasal-636112', '2026-04-22', '2026-04-22', '11:47:22', '2026-27', 'Tamil Nadu', 'intra', 1, 1398.31, 125.85, 125.85, 0.00, 1650.01, '', 0, NULL, 0, 1, '2026-04-22 11:47:22'),
(112, 'INV/2627/0096', '', 'suraesh m', 'CUS-0090', '6374591585', '.', 'UPI', 'M V KALANI', 'M V KALANI', '2026-04-24', '2026-04-24', '03:31:02', '2026-27', 'Tamil Nadu', 'intra', 1, 1101.69, 99.15, 99.15, 0.00, 1299.99, '', 0, NULL, 0, 1, '2026-04-24 03:31:02'),
(113, 'INV/2627/0097', '', 'sivaprakash', 'CUS-0091', '9677045511', '.', 'Cash', 'puliyankurichi', 'puliyankurichi', '2026-04-24', '2026-04-24', '06:14:54', '2026-27', 'Tamil Nadu', 'intra', 1, 3220.34, 289.83, 289.83, 0.00, 3800.00, '', 0, NULL, 0, 1, '2026-04-24 06:14:54'),
(114, 'INV/2627/0098', '', 'marimuthu s', 'CUS-0092', '6369012890', '.', 'UPI', 'pattuthurai', 'pattuthurai', '2026-04-24', '2026-04-24', '07:09:42', '2026-27', 'Tamil Nadu', 'intra', 1, 5677.97, 511.02, 511.02, 0.00, 6700.01, '', 0, NULL, 0, 1, '2026-04-24 07:09:42'),
(115, 'INV/2627/0099', '', 'sathiesh kumar', 'CUS-0071', '9524352519', '.', 'Cash', 'suruvachur', 'suruvachur', '2026-04-24', '2026-04-24', '07:13:41', '2026-27', 'Tamil Nadu', 'intra', 1, 805.08, 72.46, 72.46, 0.00, 950.00, '', 0, NULL, 0, 1, '2026-04-24 07:13:41'),
(116, 'INV/2627/0100', '', 'MANI KANDAN BIKE', 'CUS-0093', '9715303678', '.', 'Cash', 'MUMMDAI', 'MUMMDAI', '2026-04-24', '2026-04-24', '07:51:47', '2026-27', 'Tamil Nadu', 'intra', 1, 805.08, 72.46, 72.46, 0.00, 950.00, '', 0, NULL, 0, 1, '2026-04-24 07:51:47'),
(117, 'INV/2627/0101', '', 'annaimotors', 'CUS-0059', '8778787599', '.', 'UPI', 'thalaivasal', 'thalaivasal', '2026-04-24', '2026-04-24', '10:58:10', '2026-27', 'Tamil Nadu', 'intra', 1, 1610.16, 144.92, 144.92, 0.00, 1900.00, '', 1, '2026-04-24 20:22:22', 1, 1, '2026-04-24 10:58:10'),
(118, 'INV/2627/0101', '', 'annaimotors', 'CUS-0059', '8778787599', '.', 'UPI', 'thalaivasal', 'thalaivasal', '2026-04-24', '2026-04-24', '14:52:22', '2026-27', 'Tamil Nadu', 'intra', 1, 3008.47, 270.77, 270.77, 0.00, 3550.01, '', 1, '2026-04-24 20:22:39', 2, 1, '2026-04-24 14:52:22'),
(119, 'INV/2627/0101', '', 'annaimotors', 'CUS-0059', '8778787599', '.', 'UPI', 'thalaivasal', 'thalaivasal', '2026-04-24', '2026-04-24', '14:52:39', '2026-27', 'Tamil Nadu', 'intra', 1, 2966.09, 266.95, 266.95, 0.00, 3499.99, '', 0, NULL, 0, 1, '2026-04-24 14:52:39'),
(120, 'INV/2627/0102', '', 'ARUL CAR', 'CUS-0086', '9952139133', '.', 'Credit', 'THALAIVASAL-636112', 'THALAIVASAL-636112', '2026-04-24', '2026-04-24', '14:53:58', '2026-27', 'Tamil Nadu', 'intra', 1, 3305.08, 297.46, 297.46, 0.00, 3900.00, '', 1, '2026-04-24 20:24:11', 1, 1, '2026-04-24 14:53:58'),
(121, 'INV/2627/0102', '', 'ARUL CAR', 'CUS-0086', '9952139133', '.', 'Credit', 'THALAIVASAL-636112', 'THALAIVASAL-636112', '2026-04-24', '2026-04-24', '14:54:11', '2026-27', 'Tamil Nadu', 'intra', 1, 3135.59, 282.20, 282.20, 0.00, 3699.99, '', 0, NULL, 0, 1, '2026-04-24 14:54:11'),
(122, 'INV/2627/0103', '', 'VENKATESH KONGU', 'CUS-0094', '9500108080', '.', 'Credit', 'V.KOOT ROAD', 'V.KOOT ROAD', '2026-04-24', '2026-04-24', '14:57:41', '2026-27', 'Tamil Nadu', 'intra', 1, 4830.51, 434.75, 434.75, 0.00, 5700.01, '', 0, NULL, 0, 1, '2026-04-24 14:57:41'),
(123, 'INV/2627/0104', '', 'vellikannan c', 'CUS-0095', '9566548912', '.', 'Cash', 'pukkiravari', 'pukkiravari', '2026-04-25', '2026-04-25', '04:31:05', '2026-27', 'Tamil Nadu', 'intra', 1, 1101.69, 99.15, 99.15, 0.00, 1299.99, '', 0, NULL, 0, 1, '2026-04-25 04:31:05'),
(124, 'INV/2627/0105', '', 'gunasekaran p', 'CUS-0096', '6383027123', '.', 'Cash', 't pothur', 't pothur', '2026-04-25', '2026-04-25', '06:10:47', '2026-27', 'Tamil Nadu', 'intra', 1, 1144.07, 102.97, 102.97, 0.00, 1350.01, '', 0, NULL, 0, 1, '2026-04-25 06:10:47'),
(125, 'INV/2627/0106', '', 'ARUL BIKE', 'CUS-0085', '9489853067', '.', 'Cash', 'THALAIVASAL', 'THALAIVASAL', '2026-04-25', '2026-04-25', '06:27:54', '2026-27', 'Tamil Nadu', 'intra', 1, 1101.69, 99.15, 99.15, 0.00, 1299.99, '', 0, NULL, 0, 1, '2026-04-25 06:27:54'),
(126, 'INV/2627/0107', '', 'MUTHUSAMY', 'CUS-0097', '9047132264', '.', 'Cash', 'VEPPAMPOONDI', 'VEPPAMPOONDI', '2026-04-25', '2026-04-25', '06:54:34', '2026-27', 'Tamil Nadu', 'intra', 1, 1271.19, 114.41, 114.41, 0.00, 1500.01, '', 1, '2026-04-25 12:24:52', 1, 1, '2026-04-25 06:54:34'),
(127, 'INV/2627/0107', '', 'MUTHUSAMY', 'CUS-0097', '9047132264', '.', 'Cash', 'VEPPAMPOONDI', 'VEPPAMPOONDI', '2026-04-25', '2026-04-25', '06:54:52', '2026-27', 'Tamil Nadu', 'intra', 1, 1101.69, 99.15, 99.15, 0.00, 1299.99, '', 0, NULL, 0, 1, '2026-04-25 06:54:52'),
(128, 'INV/2627/0108', '', 'manogar', 'CUS-0098', '9042939474', '.', 'UPI', 'kamakkapalayam', 'kamakkapalayam', '2026-04-25', '2026-04-25', '07:53:46', '2026-27', 'Tamil Nadu', 'intra', 1, 1144.07, 102.97, 102.97, 0.00, 1350.01, '', 1, '2026-04-25 13:24:49', 1, 1, '2026-04-25 07:53:46'),
(129, 'INV/2627/0108', '', 'manogar', 'CUS-0098', '9042939474', '.', 'UPI', 'kamakkapalayam', 'kamakkapalayam', '2026-04-25', '2026-04-25', '07:54:49', '2026-27', 'Tamil Nadu', 'intra', 1, 1144.07, 102.97, 102.97, 0.00, 1350.01, '', 0, NULL, 0, 1, '2026-04-25 07:54:49'),
(130, 'INV/2627/0109', '', 'peiyasamy', 'CUS-0099', '9865522046', '.', 'Cash', 'pattuthurai', 'pattuthurai', '2026-04-25', '2026-04-25', '11:18:28', '2026-27', 'Tamil Nadu', 'intra', 1, 932.20, 83.90, 83.90, 0.00, 1100.00, '', 0, NULL, 0, 1, '2026-04-25 11:18:28'),
(131, 'INV/2627/0110', '', 'rathakrishan', 'CUS-0100', '9443713441', '.', 'UPI', 'veppampoondi', 'veppampoondi', '2026-04-25', '2026-04-25', '14:43:06', '2026-27', 'Tamil Nadu', 'intra', 1, 6355.93, 572.03, 572.03, 0.00, 7499.99, '', 0, NULL, 0, 1, '2026-04-25 14:43:06'),
(132, 'INV/2627/0111', '', 'mani', 'CUS-0101', '9443089035', '.', 'Cash', 'kamakkapalayam', 'kamakkapalayam', '2026-04-25', '2026-04-25', '14:59:44', '2026-27', 'Tamil Nadu', 'intra', 1, 16101.70, 1449.16, 1449.16, 0.00, 19000.02, '', 0, NULL, 0, 1, '2026-04-25 14:59:44'),
(133, 'INV/2627/0112', '', 'SMR COIR INDUSTRIES', 'CUS-0102', '9942661215', '33IJSPS5980J1Z5', 'UPI', 'SF NO 199/3 ANBUNAGAR,SIRUVACHUR THALAIVASAL-636112', 'SF NO 199/3 ANBUNAGAR,SIRUVACHUR THALAIVASAL-636112', '2026-04-25', '2026-04-25', '15:07:28', '2026-27', 'Tamil Nadu', 'intra', 1, 5677.97, 511.02, 511.02, 0.00, 6700.01, '', 0, NULL, 0, 1, '2026-04-25 15:07:28'),
(134, 'INV/2627/0113', '', 'ANBU CAR', 'CUS-0069', '9626176867', '.', 'Credit', 'MUMMDAI', 'MUMMDAI', '2026-04-25', '2026-04-25', '15:10:02', '2026-27', 'Tamil Nadu', 'intra', 1, 5084.75, 457.63, 457.63, 0.00, 6000.01, '', 0, NULL, 0, 1, '2026-04-25 15:10:02'),
(135, 'INV/2627/0114', '', 'SATHISH', 'CUS-0103', '9578890205', '.', 'UPI', 'TN20AD7214', 'TN20AD7214', '2026-04-25', '2026-04-25', '15:14:16', '2026-27', 'Tamil Nadu', 'intra', 1, 4576.27, 411.86, 411.86, 0.00, 5399.99, '', 0, NULL, 0, 1, '2026-04-25 15:14:16'),
(136, 'INV/2627/0115', '', 'ravi k', 'CUS-0104', '9443331544', '.', 'UPI', 'thalaivasal', 'thalaivasal', '2026-04-26', '2026-04-26', '05:18:17', '2026-27', 'Tamil Nadu', 'intra', 1, 1101.69, 99.15, 99.15, 0.00, 1299.99, '', 0, NULL, 0, 1, '2026-04-26 05:18:17'),
(137, 'INV/2627/0116', '', 'AZHUMALAI', 'CUS-0105', '9750204289', '.', 'Cash', 'PULIYANKURICHI', 'PULIYANKURICHI', '2026-04-26', '2026-04-26', '05:23:02', '2026-27', 'Tamil Nadu', 'intra', 1, 5932.20, 533.90, 533.90, 0.00, 7000.00, '', 0, NULL, 0, 1, '2026-04-26 05:23:02'),
(138, 'INV/2627/0117', '', 'RR TRAVELS', 'CUS-0106', '9047597851', '.', 'Cash', 'VEPPUR', 'VEPPUR', '2026-04-26', '2026-04-26', '07:05:20', '2026-27', 'Tamil Nadu', 'intra', 1, 847.46, 76.27, 76.27, 0.00, 1000.00, '', 0, NULL, 0, 1, '2026-04-26 07:05:20'),
(139, 'INV/2627/0118', '', 'sri ram', 'CUS-0107', '8220307907', '.', 'Cash', 'koogaiyur', 'koogaiyur', '2026-04-26', '2026-04-26', '07:20:12', '2026-27', 'Tamil Nadu', 'intra', 1, 4661.02, 419.49, 419.49, 0.00, 5500.00, '', 0, NULL, 0, 1, '2026-04-26 07:20:12'),
(140, 'INV/2627/0119', '', 'DEVA RAJ', 'CUS-0108', '8667326247', '.', 'UPI', 'KAMAKKAPALAYAM', 'KAMAKKAPALAYAM', '2026-04-26', '2026-04-26', '07:26:01', '2026-27', 'Tamil Nadu', 'intra', 1, 6271.19, 564.41, 564.41, 0.00, 7400.01, '', 0, NULL, 0, 1, '2026-04-26 07:26:01'),
(141, 'INV/2627/0120', '', 'arun m', 'CUS-0109', '9025453117', '.', 'UPI', 'kamakkapalayam', 'kamakkapalayam', '2026-04-27', '2026-04-27', '05:13:40', '2026-27', 'Tamil Nadu', 'intra', 1, 1144.07, 102.97, 102.97, 0.00, 1350.01, '', 0, NULL, 0, 1, '2026-04-27 05:13:40'),
(142, 'INV/2627/0121', '', 'velmurugan s', 'CUS-0110', '6379823258', '.', 'UPI', 'kodamathi', 'kodamathi', '2026-04-27', '2026-04-27', '06:57:32', '2026-27', 'Tamil Nadu', 'intra', 1, 6186.44, 556.78, 556.78, 0.00, 7300.00, '', 0, NULL, 0, 1, '2026-04-27 06:57:32'),
(143, 'INV/2627/0122', '', 'kumaravel', 'CUS-0111', '9442337143', '.', 'UPI', 'thalaivasal', 'thalaivasal', '2026-04-27', '2026-04-27', '07:02:13', '2026-27', 'Tamil Nadu', 'intra', 1, 932.20, 83.90, 83.90, 0.00, 1100.00, '', 0, NULL, 0, 1, '2026-04-27 07:02:13'),
(144, 'INV/2627/0123', '', 'arivazhagan', 'CUS-0112', '7502116575', '.', 'Cash', 'puliyankuchi', 'puliyankuchi', '2026-04-27', '2026-04-27', '07:32:48', '2026-27', 'Tamil Nadu', 'intra', 1, 1144.07, 102.97, 102.97, 0.00, 1350.01, '', 0, NULL, 0, 1, '2026-04-27 07:32:48'),
(145, 'INV/2627/0124', '', 'ANANTHAN', 'CUS-0113', '9943511403', '.', 'Cash', 'veppampoondi', 'veppampoondi', '2026-04-27', '2026-04-27', '10:25:13', '2026-27', 'Tamil Nadu', 'intra', 1, 1101.69, 99.15, 99.15, 0.00, 1299.99, '', 0, NULL, 0, 1, '2026-04-27 10:25:13'),
(146, 'INV/2627/0125', '', 'raja p', 'CUS-0114', '9659914731', '.', 'UPI', 'mummudai thalaivasal', 'mummudai thalaivasal', '2026-04-27', '2026-04-27', '12:51:26', '2026-27', 'Tamil Nadu', 'intra', 1, 1101.69, 99.15, 99.15, 0.00, 1299.99, '', 1, '2026-04-27 18:21:41', 1, 1, '2026-04-27 12:51:26'),
(147, 'INV/2627/0125', '', 'raja p', 'CUS-0114', '9659914731', '.', 'UPI', 'mummudai thalaivasal', 'mummudai thalaivasal', '2026-04-27', '2026-04-27', '12:51:41', '2026-27', 'Tamil Nadu', 'intra', 1, 1016.95, 91.53, 91.53, 0.00, 1200.01, '', 0, NULL, 0, 1, '2026-04-27 12:51:41'),
(148, 'INV/2627/0126', '', 'ANBU CAR', 'CUS-0069', '9626176867', '.', 'Cash', 'MUMMDAI', 'MUMMDAI', '2026-04-27', '2026-04-27', '16:44:28', '2026-27', 'Tamil Nadu', 'intra', 1, 3093.22, 278.39, 278.39, 0.00, 3650.00, '', 0, NULL, 0, 1, '2026-04-27 16:44:28'),
(149, 'INV/2627/0127', '', 'TAMIL', 'CUS-0115', '9715154980', '.', 'Cash', 'SIRUVACHUR', 'SIRUVACHUR', '2026-04-28', '2026-04-28', '07:39:31', '2026-27', 'Tamil Nadu', 'intra', 1, 2711.86, 244.07, 244.07, 0.00, 3200.00, '', 0, NULL, 0, 1, '2026-04-28 07:39:31'),
(150, 'INV/2627/0128', '', 'ganthimaniyan k', 'CUS-0116', '9600376836', '.', 'UPI', 'navakkurichi', 'navakkurichi', '2026-04-28', '2026-04-28', '12:45:50', '2026-27', 'Tamil Nadu', 'intra', 1, 1694.92, 152.54, 152.54, 0.00, 2000.00, '', 0, NULL, 0, 1, '2026-04-28 12:45:50'),
(151, 'INV/2627/0129', '', 'kalaiselvan r', 'CUS-0117', '9443681335', '.', 'UPI', 'thalaivasal sitheri', 'thalaivasal sitheri', '2026-04-30', '2026-04-30', '13:31:27', '2026-27', 'Tamil Nadu', 'intra', 1, 1144.07, 102.97, 102.97, 0.00, 1350.01, '', 0, NULL, 0, 1, '2026-04-30 13:31:27'),
(152, 'INV/2627/0130', '', 'SINGARAVEL P', 'CUS-0118', '9443384163', '.', 'UPI', 'THALAIVASAL', 'THALAIVASAL', '2026-04-30', '2026-04-30', '13:42:44', '2026-27', 'Tamil Nadu', 'intra', 1, 6355.93, 572.03, 572.03, 0.00, 7499.99, '', 0, NULL, 0, 1, '2026-04-30 13:42:44'),
(153, 'INV/2627/0131', '', 'RAKUL BIKE', 'CUS-0119', '9789607719', '.', 'UPI', 'MUMMDAI THALAIVASAL', 'MUMMDAI THALAIVASAL', '2026-04-30', '2026-04-30', '13:49:00', '2026-27', 'Tamil Nadu', 'intra', 1, 1059.32, 95.34, 95.34, 0.00, 1250.00, '', 0, NULL, 0, 1, '2026-04-30 13:49:00'),
(154, 'INV/2627/0132', '', 'KALAI SELVAN BIKE', 'CUS-0120', '8220868019', '.', 'Credit', 'THALAIVASAL', 'THALAIVASAL', '2026-04-30', '2026-04-30', '14:06:22', '2026-27', 'Tamil Nadu', 'intra', 1, 1050.85, 94.58, 94.58, 0.00, 1240.01, '', 0, NULL, 0, 1, '2026-04-30 14:06:22'),
(155, 'INV/2627/0133', '', 'AJITH', 'CUS-0121', '8838320868', '.', 'UPI', 'KOOGAIYUR', 'KOOGAIYUR', '2026-05-01', '2026-05-01', '05:11:26', '2026-27', 'Tamil Nadu', 'intra', 1, 5084.75, 457.63, 457.63, 0.00, 6000.01, '', 0, NULL, 0, 1, '2026-05-01 05:11:26'),
(156, 'INV/2627/0134', '', 'ARUL BIKE', 'CUS-0085', '9489853067', '.', 'UPI', 'THALAIVASAL', 'THALAIVASAL', '2026-05-01', '2026-05-01', '05:13:05', '2026-27', 'Tamil Nadu', 'intra', 1, 1016.95, 91.53, 91.53, 0.00, 1200.01, '', 0, NULL, 0, 1, '2026-05-01 05:13:05'),
(157, 'INV/2627/0135', '', 'AJITH KUMAR', 'CUS-0122', '8925073057', '.', 'UPI', 'THALAIVASAL-636112', 'THALAIVASAL-636112', '2026-05-01', '2026-05-01', '05:15:24', '2026-27', 'Tamil Nadu', 'intra', 1, 6440.68, 579.66, 579.66, 0.00, 7600.00, '', 0, NULL, 0, 1, '2026-05-01 05:15:24'),
(158, 'INV/2627/0136', '', 'ARUL CAR', 'CUS-0086', '9952139133', '.', 'Cash', 'THALAIVASAL-636112', 'THALAIVASAL-636112', '2026-05-01', '2026-05-01', '05:16:16', '2026-27', 'Tamil Nadu', 'intra', 1, 5423.73, 488.14, 488.14, 0.00, 6400.01, '', 0, NULL, 0, 1, '2026-05-01 05:16:16'),
(159, 'INV/2627/0137', '', 'ANBU CAR', 'CUS-0069', '9626176867', '.', 'Credit', 'MUMMDAI', 'MUMMDAI', '2026-05-01', '2026-05-01', '05:17:51', '2026-27', 'Tamil Nadu', 'intra', 1, 6016.95, 541.53, 541.53, 0.00, 7100.01, '', 0, NULL, 0, 1, '2026-05-01 05:17:51'),
(160, 'INV/2627/0138', '', 'abishek', 'CUS-0123', '9791514872', '.', 'UPI', 'sarvoy puthur', 'sarvoy puthur', '2026-05-01', '2026-05-01', '06:18:37', '2026-27', 'Tamil Nadu', 'intra', 1, 1694.92, 152.54, 152.54, 0.00, 2000.00, '', 0, NULL, 0, 1, '2026-05-01 06:18:37'),
(161, 'INV/2627/0139', '', 'jayachandharan', 'CUS-0124', '9500980747', '.', 'UPI', 'puliyankurichi', 'puliyankurichi', '2026-05-01', '2026-05-01', '09:39:35', '2026-27', 'Tamil Nadu', 'intra', 1, 3220.34, 289.83, 289.83, 0.00, 3800.00, '', 0, NULL, 0, 1, '2026-05-01 09:39:35'),
(162, 'INV/2627/0140', '', 'PRIYASAMY A', 'CUS-0125', '9944508793', '.', 'Cash', 'PUNALVASAL', 'PUNALVASAL', '2026-05-01', '2026-05-01', '09:54:30', '2026-27', 'Tamil Nadu', 'intra', 1, 720.34, 64.83, 64.83, 0.00, 850.00, '', 0, NULL, 0, 1, '2026-05-01 09:54:30'),
(163, 'INV/2627/0141', '', 'prasanth agr', 'CUS-0126', '9952688687', '.', 'Credit', 'thalaivasal-636112', 'thalaivasal-636112', '2026-05-01', '2026-05-01', '15:56:55', '2026-27', 'Tamil Nadu', 'intra', 1, 4491.53, 404.24, 404.24, 0.00, 5300.01, '', 0, NULL, 0, 1, '2026-05-01 15:56:55'),
(164, 'INV/2627/0142', '', 'RAJAN', 'CUS-0127', '9894144661', '.', 'UPI', 'SIRUVACHUR', 'SIRUVACHUR', '2026-05-01', '2026-05-01', '16:00:38', '2026-27', 'Tamil Nadu', 'intra', 1, 5169.49, 465.25, 465.25, 0.00, 6099.99, '', 0, NULL, 0, 1, '2026-05-01 16:00:38'),
(165, 'INV/2627/0143', '', 'varatharaj', 'CUS-0128', '8760314644', '.', 'UPI', 'anna nagar', 'anna nagar', '2026-05-02', '2026-05-02', '13:23:07', '2026-27', 'Tamil Nadu', 'intra', 1, 11440.68, 1029.66, 1029.66, 0.00, 13500.00, '', 0, NULL, 0, 1, '2026-05-02 13:23:07'),
(166, 'INV/2627/0144', '', 'ARUL BIKE', 'CUS-0085', '9489853067', '.', 'UPI', 'THALAIVASAL', 'THALAIVASAL', '2026-05-02', '2026-05-02', '14:52:50', '2026-27', 'Tamil Nadu', 'intra', 1, 1101.69, 99.15, 99.15, 0.00, 1299.99, '', 0, NULL, 0, 1, '2026-05-02 14:52:50'),
(167, 'INV/2627/0145', '', 'MANI APR', 'CUS-0129', '9597841047', '.', 'UPI', 'V KOOTUROAD', 'V KOOTUROAD', '2026-05-02', '2026-05-02', '14:55:15', '2026-27', 'Tamil Nadu', 'intra', 1, 1271.18, 114.41, 114.41, 0.00, 1500.00, '', 0, NULL, 0, 1, '2026-05-02 14:55:15'),
(168, 'INV/2627/0146', '', 'ARUL BIKE', 'CUS-0085', '9489853067', '.', 'Credit', 'THALAIVASAL', 'THALAIVASAL', '2026-05-02', '2026-05-02', '14:57:49', '2026-27', 'Tamil Nadu', 'intra', 1, 5084.75, 457.63, 457.63, 0.00, 6000.01, '', 1, '2026-05-04 09:04:21', 1, 1, '2026-05-02 14:57:49'),
(169, 'INV/2627/0147', '', 'k veeran', 'CUS-0130', '9944594351', '.', 'Cash', 'thalaivasal mummdai-636112', 'thalaivasal mummdai-636112', '2026-05-04', '2026-05-04', '03:29:34', '2026-27', 'Tamil Nadu', 'intra', 1, 1101.69, 99.15, 99.15, 0.00, 1299.99, '', 0, NULL, 0, 1, '2026-05-04 03:29:34'),
(170, 'INV/2627/0146', '', 'ARUL BIKE', 'CUS-0085', '9489853067', '.', 'Credit', 'THALAIVASAL', 'THALAIVASAL', '2026-05-02', '2026-05-04', '03:34:21', '2026-27', 'Tamil Nadu', 'intra', 1, 16525.43, 1487.29, 1487.29, 0.00, 19500.01, '', 0, NULL, 0, 1, '2026-05-04 03:34:21'),
(171, 'INV/2627/0148', '', 'V RAJENDRAN', 'CUS-0131', '9486264206', '33AEXPR1269R1ZE', 'Cash', '3/117,PUTHUR POST, THALAIVASAL TK ,SALEM Dt-636112', '3/117,PUTHUR POST, THALAIVASAL TK ,SALEM Dt-636112', '2026-05-04', '2026-05-04', '08:59:35', '2026-27', 'Tamil Nadu', 'intra', 1, 1144.07, 102.97, 102.97, 0.00, 1350.01, '', 0, NULL, 0, 1, '2026-05-04 08:59:35'),
(172, 'INV/2627/0149', '', 'SATHISH KUMAR A', 'CUS-0132', '7708350837', '.', 'UPI', 'PERIYERI', 'PERIYERI', '2026-05-04', '2026-05-04', '09:23:08', '2026-27', 'Tamil Nadu', 'intra', 1, 4576.27, 411.86, 411.86, 0.00, 5399.99, '', 0, NULL, 0, 1, '2026-05-04 09:23:08'),
(173, 'INV/2627/0150', '', 'silampuarsan', 'CUS-0133', '9965202173', '.', 'Cash', 'deviyakurichi', 'deviyakurichi', '2026-05-05', '2026-05-05', '07:35:34', '2026-27', 'Tamil Nadu', 'intra', 1, 1101.69, 99.15, 99.15, 0.00, 1299.99, '', 0, NULL, 0, 1, '2026-05-05 07:35:34'),
(174, 'INV/2627/0151', '', 'V MURUGAN', 'CUS-0134', '9791597876', '.', 'Cash', 'THALAIVASAL-636112', 'THALAIVASAL-636112', '2026-05-05', '2026-05-05', '08:05:19', '2026-27', 'Tamil Nadu', 'intra', 1, 1144.07, 102.97, 102.97, 0.00, 1350.01, '', 0, NULL, 0, 1, '2026-05-05 08:05:19'),
(175, 'INV/2627/0152', '', 'RAJARAM J', 'CUS-0135', '9842655702', '.', 'UPI', 'THALAIVASAL', 'THALAIVASAL', '2026-05-05', '2026-05-05', '08:13:14', '2026-27', 'Tamil Nadu', 'intra', 1, 762.71, 68.64, 68.64, 0.00, 899.99, '', 0, NULL, 0, 1, '2026-05-05 08:13:14'),
(176, 'INV/2627/0153', '', 'PRIYASAMY', 'CUS-0136', '6381826225', '.', 'UPI', 'THALAIVASAL-636112', 'THALAIVASAL-636112', '2026-05-05', '2026-05-05', '08:37:34', '2026-27', 'Tamil Nadu', 'intra', 1, 6355.93, 572.03, 572.03, 0.00, 7499.99, '', 0, NULL, 0, 1, '2026-05-05 08:37:34'),
(177, 'INV/2627/0154', '', 'Tha secretery', 'CUS-0137', '0', '.', 'Bank Transfer', 'Tagore callege of engineering of technaloge deviyakurichi thalaivasal-636112', 'Tagore callege of engineering of technaloge deviyakurichi thalaivasal-636112', '2026-05-05', '2026-05-05', '09:50:30', '2026-27', 'Tamil Nadu', 'intra', 1, 170338.98, 15330.51, 15330.51, 0.00, 201000.00, '', 1, '2026-05-05 18:17:54', 1, 1, '2026-05-05 09:50:30'),
(178, 'INV/2627/0154', '', 'prabhakaran s', 'CUS-0138', '8695136695', '.', 'Cash', 'nathakarai thalaivasal', 'nathakarai thalaivasal', '2026-05-05', '2026-05-05', '12:47:54', '2026-27', 'Tamil Nadu', 'intra', 1, 932.20, 83.90, 83.90, 0.00, 1100.00, '', 0, NULL, 0, 1, '2026-05-05 12:47:54'),
(179, 'INV/2627/0155', '', 'ARUL BIKE', 'CUS-0085', '9489853067', '.', 'Cash', 'THALAIVASAL', 'THALAIVASAL', '2026-05-05', '2026-05-05', '12:51:25', '2026-27', 'Tamil Nadu', 'intra', 1, 1440.68, 129.66, 129.66, 0.00, 1700.00, '', 0, NULL, 0, 1, '2026-05-05 12:51:25'),
(180, 'INV/2627/0156', '', 'Maruthi super market 2', 'CUS-0079', '9443557115', '.', 'Credit', 'thalaivasal', 'thalaivasal', '2026-05-05', '2026-05-05', '14:04:45', '2026-27', 'Tamil Nadu', 'intra', 1, 25423.73, 2288.14, 2288.14, 0.00, 30000.01, '', 0, NULL, 0, 1, '2026-05-05 14:04:45'),
(181, 'INV/2627/0157', '', 'ramesh r', 'CUS-0139', '8760320360', '.', 'UPI', 'sarvai', 'sarvai', '2026-05-05', '2026-05-05', '15:08:34', '2026-27', 'Tamil Nadu', 'intra', 1, 6355.93, 572.03, 572.03, 0.00, 7499.99, '', 0, NULL, 0, 1, '2026-05-05 15:08:34');
INSERT INTO `sales_invoices` (`id`, `invoice_no`, `po_number`, `customer_name`, `customer_code`, `customer_phone`, `customer_gstin`, `mode_of_sale`, `billing_address`, `delivery_address`, `invoice_date`, `entry_date`, `entry_time`, `financial_year`, `place_of_supply`, `supply_type`, `gst_inclusive`, `taxable_amount`, `cgst_amount`, `sgst_amount`, `igst_amount`, `total_amount`, `note`, `is_deleted`, `deleted_at`, `archive_seq`, `created_by`, `created_at`) VALUES
(182, 'INV/2627/0158', '', 'r sekar', 'CUS-0140', '9047388689', '.', 'UPI', 'thalaivasal', 'thalaivasal', '2026-05-06', '2026-05-06', '02:11:59', '2026-27', 'Tamil Nadu', 'intra', 1, 5677.97, 511.02, 511.02, 0.00, 6700.01, '', 0, NULL, 0, 1, '2026-05-06 02:11:59'),
(183, 'INV/2627/0159', '', 'karthikeyan m', 'CUS-0141', '9994282183', '.', 'UPI', 'v koot road', 'v koot road', '2026-05-06', '2026-05-06', '03:58:06', '2026-27', 'Tamil Nadu', 'intra', 1, 11440.68, 1029.66, 1029.66, 0.00, 13500.00, '', 0, NULL, 0, 1, '2026-05-06 03:58:06'),
(184, 'INV/2627/0160', '', 'arun m', 'CUS-0109', '9025453117', '.', 'UPI', 'kamakkapalayam', 'kamakkapalayam', '2026-05-06', '2026-05-06', '05:32:48', '2026-27', 'Tamil Nadu', 'intra', 1, 1144.07, 102.97, 102.97, 0.00, 1350.01, '', 0, NULL, 0, 1, '2026-05-06 05:32:48'),
(185, 'INV/2627/0161', '', 'abishek m', 'CUS-0142', '7639061200', '.', 'Cash', 'thiyaganur', 'thiyaganur', '2026-05-06', '2026-05-06', '08:29:35', '2026-27', 'Tamil Nadu', 'intra', 1, 932.20, 83.90, 83.90, 0.00, 1100.00, '', 0, NULL, 0, 1, '2026-05-06 08:29:35'),
(186, 'INV/2627/0162', '', 'SELVAKUMAR', 'CUS-0032', '9578561561', '.', 'Credit', 'CHINNA SALEM', 'CHINNA SALEM', '2026-05-06', '2026-05-06', '14:50:10', '2026-27', 'Tamil Nadu', 'intra', 1, 3474.58, 312.71, 312.71, 0.00, 4100.00, '', 0, NULL, 0, 1, '2026-05-06 14:50:10'),
(187, 'INV/2627/0163', '', 'KALAI SELVAN BIKE', 'CUS-0120', '8220868019', '.', 'Credit', 'THALAIVASAL', 'THALAIVASAL', '2026-05-06', '2026-05-06', '14:52:44', '2026-27', 'Tamil Nadu', 'intra', 1, 847.46, 76.27, 76.27, 0.00, 1000.00, '', 0, NULL, 0, 1, '2026-05-06 14:52:44'),
(188, 'INV/2627/0164', '', 'poovarasan a', 'CUS-0143', '9342533852', '.', 'UPI', 'veppanatham', 'veppanatham', '2026-05-07', '2026-05-07', '06:28:44', '2026-27', 'Tamil Nadu', 'intra', 1, 4576.27, 411.86, 411.86, 0.00, 5399.99, '', 0, NULL, 0, 1, '2026-05-07 06:28:44'),
(189, 'INV/2627/0165', '', 'koothan m', 'CUS-0144', '9952410762', '.', 'Cash', 'navalur', 'navalur', '2026-05-07', '2026-05-07', '12:57:24', '2026-27', 'Tamil Nadu', 'intra', 1, 3389.83, 305.08, 305.08, 0.00, 3999.99, '', 0, NULL, 0, 1, '2026-05-07 12:57:24'),
(190, 'INV/2627/0166', '', 'ARUL BIKE', 'CUS-0085', '9489853067', '.', 'Credit', 'THALAIVASAL', 'THALAIVASAL', '2026-05-07', '2026-05-07', '12:58:25', '2026-27', 'Tamil Nadu', 'intra', 1, 1059.32, 95.34, 95.34, 0.00, 1250.00, '', 0, NULL, 0, 1, '2026-05-07 12:58:25'),
(191, 'INV/2627/0167', '', 'SIVAKUMAR', 'CUS-0145', '8760659878', '.', 'UPI', 'THALAIVASAL -636112', 'THALAIVASAL -636112', '2026-05-07', '2026-05-07', '13:28:06', '2026-27', 'Tamil Nadu', 'intra', 1, 1144.07, 102.97, 102.97, 0.00, 1350.01, '', 0, NULL, 0, 1, '2026-05-07 13:28:06'),
(192, 'INV/2627/0168', '', 'ramasamy s', 'CUS-0146', '9994038331', '.', 'Cash', 'm v kalani', 'm v kalani', '2026-05-08', '2026-05-08', '04:33:24', '2026-27', 'Tamil Nadu', 'intra', 1, 932.20, 83.90, 83.90, 0.00, 1100.00, '', 0, NULL, 0, 1, '2026-05-08 04:33:24'),
(193, 'INV/2627/0169', '', 'Thanapal r', 'CUS-0147', '9487514650', '.', 'Cash', 'thiyaganur pudur', 'thiyaganur pudur', '2026-05-08', '2026-05-08', '04:48:05', '2026-27', 'Tamil Nadu', 'intra', 1, 1101.69, 99.15, 99.15, 0.00, 1299.99, '', 0, NULL, 0, 1, '2026-05-08 04:48:05'),
(194, 'INV/2627/0170', '', 'rajendren', 'CUS-0148', '9442484886', '.', 'UPI', 'thalaivasal', 'thalaivasal', '2026-05-08', '2026-05-08', '06:06:24', '2026-27', 'Tamil Nadu', 'intra', 1, 3389.83, 305.08, 305.08, 0.00, 3999.99, '', 0, NULL, 0, 1, '2026-05-08 06:06:24');

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

--
-- Table structure for table `sales_invoices_non_gst`
--

CREATE TABLE `sales_invoices_non_gst` (
  `id` int(10) UNSIGNED NOT NULL,
  `invoice_no` varchar(40) NOT NULL,
  `po_number` varchar(60) DEFAULT NULL,
  `customer_name` varchar(120) NOT NULL,
  `customer_phone` varchar(30) DEFAULT NULL,
  `customer_gstin` varchar(20) DEFAULT NULL,
  `mode_of_sale` varchar(40) DEFAULT NULL,
  `billing_address` text DEFAULT NULL,
  `delivery_address` text DEFAULT NULL,
  `invoice_date` date NOT NULL,
  `entry_date` date DEFAULT NULL,
  `entry_time` time DEFAULT NULL,
  `place_of_supply` varchar(60) DEFAULT NULL,
  `supply_type` varchar(10) NOT NULL DEFAULT 'intra',
  `taxable_amount` decimal(12,2) NOT NULL DEFAULT 0.00,
  `cgst_amount` decimal(12,2) NOT NULL DEFAULT 0.00,
  `sgst_amount` decimal(12,2) NOT NULL DEFAULT 0.00,
  `igst_amount` decimal(12,2) NOT NULL DEFAULT 0.00,
  `total_amount` decimal(12,2) NOT NULL DEFAULT 0.00,
  `note` varchar(255) DEFAULT NULL,
  `is_deleted` tinyint(1) NOT NULL DEFAULT 0,
  `deleted_at` datetime DEFAULT NULL,
  `archive_seq` int(11) NOT NULL DEFAULT 0,
  `created_by` int(10) UNSIGNED DEFAULT NULL,
  `created_at` timestamp NOT NULL DEFAULT current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

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

--
-- Table structure for table `sales_items`
--

CREATE TABLE `sales_items` (
  `id` int(10) UNSIGNED NOT NULL,
  `sale_id` int(10) UNSIGNED NOT NULL,
  `product_id` int(10) UNSIGNED NOT NULL,
  `quantity` int(11) NOT NULL,
  `expiry_date` date DEFAULT NULL,
  `serial_number` varchar(80) DEFAULT NULL,
  `unit_price` decimal(10,2) NOT NULL,
  `gst_rate` decimal(5,2) NOT NULL DEFAULT 0.00,
  `cgst_rate` decimal(5,2) NOT NULL DEFAULT 0.00,
  `sgst_rate` decimal(5,2) NOT NULL DEFAULT 0.00,
  `igst_rate` decimal(5,2) NOT NULL DEFAULT 0.00,
  `cgst_amount` decimal(12,2) NOT NULL DEFAULT 0.00,
  `sgst_amount` decimal(12,2) NOT NULL DEFAULT 0.00,
  `igst_amount` decimal(12,2) NOT NULL DEFAULT 0.00,
  `line_total` decimal(12,2) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Dumping data for table `sales_items`
--

INSERT INTO `sales_items` (`id`, `sale_id`, `product_id`, `quantity`, `expiry_date`, `serial_number`, `unit_price`, `gst_rate`, `cgst_rate`, `sgst_rate`, `igst_rate`, `cgst_amount`, `sgst_amount`, `igst_amount`, `line_total`) VALUES
(1, 1, 46, 1, NULL, NULL, 1350.00, 18.00, 9.00, 9.00, 0.00, 102.97, 102.97, 0.00, 1144.07),
(2, 2, 47, 1, NULL, 'ADC6806A116981', 10000.00, 18.00, 9.00, 9.00, 0.00, 762.71, 762.71, 0.00, 8474.58),
(3, 3, 46, 1, NULL, 'BBA0304A331156', 1300.00, 18.00, 9.00, 9.00, 0.00, 99.15, 99.15, 0.00, 1101.69),
(4, 4, 40, 1, '2028-04-02', 'FAF8101A203791', 7400.00, 18.00, 9.00, 9.00, 0.00, 564.41, 564.41, 0.00, 6271.19),
(5, 5, 7, 1, '2028-04-02', 'BAG0224Z534821', 1600.00, 18.00, 9.00, 9.00, 0.00, 122.03, 122.03, 0.00, 1355.93),
(6, 6, 25, 1, '2028-10-02', 'CBA0849Z108593', 6300.00, 18.00, 9.00, 9.00, 0.00, 480.51, 480.51, 0.00, 5338.98),
(7, 7, 25, 1, '2028-10-02', 'CBA0849Z108593', 6200.00, 18.00, 9.00, 9.00, 0.00, 472.88, 472.88, 0.00, 5254.24),
(8, 8, 50, 1, '2028-04-02', '9AU0250Z402540', 1100.00, 18.00, 9.00, 9.00, 0.00, 83.90, 83.90, 0.00, 932.20),
(9, 9, 58, 1, '2029-04-02', 'DFA2708A107995', 13000.00, 18.00, 9.00, 9.00, 0.00, 991.53, 991.53, 0.00, 11016.95),
(10, 10, 66, 1, '2027-12-03', 'FGH3905A202221', 6500.00, 18.00, 9.00, 9.00, 0.00, 495.76, 495.76, 0.00, 5508.47),
(11, 11, 32, 1, '2028-10-03', 'CBA0551Z243934', 3700.00, 18.00, 9.00, 9.00, 0.00, 282.20, 282.20, 0.00, 3135.59),
(12, 12, 50, 1, '2028-03-03', '9AU0250Z402516', 1000.00, 18.00, 9.00, 9.00, 0.00, 76.27, 76.27, 0.00, 847.46),
(13, 13, 66, 1, '2027-12-03', 'FGH3905A202219', 6500.00, 18.00, 9.00, 9.00, 0.00, 495.76, 495.76, 0.00, 5508.47),
(14, 14, 32, 1, '2028-10-03', 'CAB0551Z243896', 2800.00, 18.00, 9.00, 9.00, 0.00, 213.56, 213.56, 0.00, 2372.88),
(15, 15, 45, 1, '2028-04-03', 'FAF0952Z213354', 7100.00, 18.00, 9.00, 9.00, 0.00, 541.53, 541.53, 0.00, 6016.95),
(16, 16, 74, 1, '2028-10-06', 'FGC3745Z140097', 3500.00, 18.00, 9.00, 9.00, 0.00, 266.95, 266.95, 0.00, 2966.10),
(17, 17, 63, 1, '2027-10-06', 'FHD3204A213857', 5500.00, 18.00, 9.00, 9.00, 0.00, 419.49, 419.49, 0.00, 4661.02),
(18, 18, 63, 1, '2027-01-06', 'FHD3204A213863', 5500.00, 18.00, 9.00, 9.00, 0.00, 419.49, 419.49, 0.00, 4661.02),
(19, 19, 9, 1, '2028-04-06', 'BAH0202A300759', 1800.00, 18.00, 9.00, 9.00, 0.00, 137.29, 137.29, 0.00, 1525.42),
(20, 20, 66, 1, '2027-10-06', 'FGH3905A228205', 6500.00, 18.00, 9.00, 9.00, 0.00, 495.76, 495.76, 0.00, 5508.47),
(21, 21, 8, 1, '2028-04-06', 'BAC0253Z303796', 2000.00, 18.00, 9.00, 9.00, 0.00, 152.54, 152.54, 0.00, 1694.92),
(22, 22, 47, 1, '2027-10-06', 'ADC6811A125021', 10000.00, 18.00, 9.00, 9.00, 0.00, 762.71, 762.71, 0.00, 8474.58),
(23, 23, 67, 1, '2028-04-06', 'fci4752z206760', 6500.00, 18.00, 9.00, 9.00, 0.00, 495.76, 495.76, 0.00, 5508.47),
(24, 24, 49, 1, '2028-04-06', 'eab0252z656302', 1200.00, 18.00, 9.00, 9.00, 0.00, 91.53, 91.53, 0.00, 1016.95),
(25, 25, 8, 1, '2028-04-06', 'BAC0253Z303808', 2000.00, 18.00, 9.00, 9.00, 0.00, 152.54, 152.54, 0.00, 1694.92),
(26, 26, 50, 1, '2028-04-06', 'eab0252z656302', 1000.00, 18.00, 9.00, 9.00, 0.00, 76.27, 76.27, 0.00, 847.46),
(27, 27, 50, 1, '2028-04-06', '9AU0250Z402520', 1100.00, 18.00, 9.00, 9.00, 0.00, 83.90, 83.90, 0.00, 932.20),
(28, 28, 50, 1, '2028-04-06', '9AU0250Z402520', 1000.00, 18.00, 9.00, 9.00, 0.00, 76.27, 76.27, 0.00, 847.46),
(29, 29, 32, 1, '2028-10-07', 'CAB0551Z243915', 3900.00, 18.00, 9.00, 9.00, 0.00, 297.46, 297.46, 0.00, 3305.08),
(30, 30, 21, 1, '2028-10-07', 'AAB0303A217395', 4800.00, 18.00, 9.00, 9.00, 0.00, 366.10, 366.10, 0.00, 4067.80),
(31, 31, 21, 1, '2029-04-07', 'AAB0303A217395', 4800.00, 18.00, 9.00, 9.00, 0.00, 366.10, 366.10, 0.00, 4067.80),
(32, 32, 60, 1, '2028-04-07', 'T1A2247Z105853', 6000.00, 18.00, 9.00, 9.00, 0.00, 457.63, 457.63, 0.00, 5084.75),
(33, 33, 60, 1, '2028-04-07', 'T1A2247Z105853', 5500.00, 18.00, 9.00, 9.00, 0.00, 419.49, 419.49, 0.00, 4661.02),
(34, 33, 59, 1, '2028-04-07', 'DFA2907A102877', 15000.00, 18.00, 9.00, 9.00, 0.00, 1144.07, 1144.07, 0.00, 12711.86),
(35, 34, 60, 1, '2028-04-07', 'T1A2247Z105853', 5500.00, 18.00, 9.00, 9.00, 0.00, 419.49, 419.49, 0.00, 4661.02),
(36, 34, 59, 1, '2028-04-07', 'DFA2907A102877', 15000.00, 18.00, 9.00, 9.00, 0.00, 1144.07, 1144.07, 0.00, 12711.86),
(37, 35, 60, 1, '2028-04-07', 'T1A2247Z105853', 5500.00, 18.00, 9.00, 9.00, 0.00, 419.49, 419.49, 0.00, 4661.02),
(38, 35, 59, 1, '2028-04-07', 'DFA2907A102877', 15000.00, 18.00, 9.00, 9.00, 0.00, 1144.07, 1144.07, 0.00, 12711.86),
(39, 36, 41, 1, '2027-10-07', 'CGD3904A315031', 6900.00, 18.00, 9.00, 9.00, 0.00, 526.27, 526.27, 0.00, 5847.46),
(40, 37, 36, 1, '2028-04-07', 'FAE0502A215612', 6800.00, 18.00, 9.00, 9.00, 0.00, 518.64, 518.64, 0.00, 5762.71),
(41, 38, 48, 1, '2028-04-07', 'BBA0207A346998', 800.00, 18.00, 9.00, 9.00, 0.00, 61.02, 61.02, 0.00, 677.97),
(42, 39, 58, 1, '0000-00-00', 'DFA2708A107997', 12700.00, 18.00, 9.00, 9.00, 0.00, 968.64, 968.64, 0.00, 10762.71),
(43, 40, 40, 1, NULL, 'FAF8109A213352', 7000.00, 18.00, 9.00, 9.00, 0.00, 533.90, 533.90, 0.00, 5932.20),
(44, 41, 46, 1, '2028-04-08', 'BBA0304A331271', 1350.00, 18.00, 9.00, 9.00, 0.00, 102.97, 102.97, 0.00, 1144.07),
(45, 42, 9, 1, '2028-04-08', 'BAH0202A300764', 1600.00, 18.00, 9.00, 9.00, 0.00, 122.03, 122.03, 0.00, 1355.93),
(46, 43, 68, 2, NULL, NULL, 7200.00, 18.00, 9.00, 9.00, 0.00, 1098.31, 1098.31, 0.00, 12203.39),
(47, 44, 46, 1, '2028-04-08', 'BBA0304A331157', 1300.00, 18.00, 9.00, 9.00, 0.00, 99.15, 99.15, 0.00, 1101.69),
(48, 45, 68, 1, '2027-10-08', 'CGD4207A401549', 7500.00, 18.00, 9.00, 9.00, 0.00, 572.03, 572.03, 0.00, 6355.93),
(49, 46, 46, 1, '2028-04-09', 'BBA0304A331158', 1350.00, 18.00, 9.00, 9.00, 0.00, 102.97, 102.97, 0.00, 1144.07),
(50, 47, 41, 1, '2027-10-09', 'CGD3904A315029', 7000.00, 18.00, 9.00, 9.00, 0.00, 533.90, 533.90, 0.00, 5932.20),
(51, 48, 41, 1, '2027-10-09', 'CGD3904A315029', 6900.00, 18.00, 9.00, 9.00, 0.00, 526.27, 526.27, 0.00, 5847.46),
(52, 49, 50, 1, '2028-04-09', '9AU0250Z402517', 950.00, 18.00, 9.00, 9.00, 0.00, 72.46, 72.46, 0.00, 805.08),
(53, 50, 50, 1, '2028-04-10', '9AU0250Z402518', 1000.00, 18.00, 9.00, 9.00, 0.00, 76.27, 76.27, 0.00, 847.46),
(54, 51, 49, 1, '2028-04-10', 'EAB0252Z656302', 1250.00, 18.00, 9.00, 9.00, 0.00, 95.34, 95.34, 0.00, 1059.32),
(55, 52, 62, 1, '2027-10-10', 'FHD3105A121673', 5400.00, 18.00, 9.00, 9.00, 0.00, 411.86, 411.86, 0.00, 4576.27),
(56, 53, 50, 1, '2028-04-10', 'BAE0211A443041', 1100.00, 18.00, 9.00, 9.00, 0.00, 83.90, 83.90, 0.00, 932.20),
(57, 54, 9, 1, '2028-04-11', 'BAH0211A308593', 2000.00, 18.00, 9.00, 9.00, 0.00, 152.54, 152.54, 0.00, 1694.92),
(58, 55, 9, 1, '2028-04-11', 'BAH0202A300759', 1550.00, 18.00, 9.00, 9.00, 0.00, 118.22, 118.22, 0.00, 1313.56),
(59, 56, 17, 1, '2029-04-11', 'FEG9603A109786', 4200.00, 18.00, 9.00, 9.00, 0.00, 320.34, 320.34, 0.00, 3559.32),
(60, 57, 50, 1, '2028-04-12', 'BAE0211A442964', 1000.00, 18.00, 9.00, 9.00, 0.00, 76.27, 76.27, 0.00, 847.46),
(61, 58, 50, 1, '2028-04-12', '9AU0250Z402519', 1100.00, 18.00, 9.00, 9.00, 0.00, 83.90, 83.90, 0.00, 932.20),
(62, 59, 67, 1, '2027-04-12', 'FEL4752Z206754', 6500.00, 18.00, 9.00, 9.00, 0.00, 495.76, 495.76, 0.00, 5508.47),
(63, 60, 46, 1, '2028-04-12', 'BBA0304A331159', 1250.00, 18.00, 9.00, 9.00, 0.00, 95.34, 95.34, 0.00, 1059.32),
(64, 61, 24, 1, NULL, NULL, 5800.00, 18.00, 9.00, 9.00, 0.00, 442.37, 442.37, 0.00, 4915.25),
(65, 61, 50, 1, NULL, NULL, 1100.00, 18.00, 9.00, 9.00, 0.00, 83.90, 83.90, 0.00, 932.20),
(66, 62, 68, 1, '2027-10-13', 'CGD4207A401547', 7500.00, 18.00, 9.00, 9.00, 0.00, 572.03, 572.03, 0.00, 6355.93),
(67, 63, 49, 1, '2028-04-13', 'eab0252z656301', 1300.00, 18.00, 9.00, 9.00, 0.00, 99.15, 99.15, 0.00, 1101.69),
(68, 64, 63, 1, '2027-10-13', 'FHD3204A213862', 5500.00, 18.00, 9.00, 9.00, 0.00, 419.49, 419.49, 0.00, 4661.02),
(69, 65, 68, 1, '2027-10-13', 'CGD4213A320887', 7500.00, 18.00, 9.00, 9.00, 0.00, 572.03, 572.03, 0.00, 6355.93),
(70, 66, 49, 1, '2028-04-13', 'EAB0209A736947', 1300.00, 18.00, 9.00, 9.00, 0.00, 99.15, 99.15, 0.00, 1101.69),
(71, 67, 24, 1, '2028-10-14', 'CBF0809A309302', 5800.00, 18.00, 9.00, 9.00, 0.00, 442.37, 442.37, 0.00, 4915.25),
(72, 68, 68, 1, '2027-10-14', 'CGD4213A320883', 7500.00, 18.00, 9.00, 9.00, 0.00, 572.03, 572.03, 0.00, 6355.93),
(73, 69, 48, 1, '2028-04-14', 'baa0211a533662', 800.00, 18.00, 9.00, 9.00, 0.00, 61.02, 61.02, 0.00, 677.97),
(74, 70, 9, 1, '2028-04-14', 'BAH0213A101364', 1500.00, 18.00, 9.00, 9.00, 0.00, 114.41, 114.41, 0.00, 1271.19),
(75, 71, 33, 1, '2028-04-14', 'CAB0651Z100215', 3800.00, 18.00, 9.00, 9.00, 0.00, 289.83, 289.83, 0.00, 3220.34),
(76, 72, 59, 1, '2029-04-14', NULL, 14086.00, 18.00, 9.00, 9.00, 0.00, 1074.36, 1074.36, 0.00, 11937.29),
(77, 73, 9, 1, '2028-04-14', 'BAH0213A101351', 1800.00, 18.00, 9.00, 9.00, 0.00, 137.29, 137.29, 0.00, 1525.42),
(78, 74, 46, 1, '2028-04-14', 'BBA0304A331270', 1350.00, 18.00, 9.00, 9.00, 0.00, 102.97, 102.97, 0.00, 1144.07),
(79, 75, 46, 1, '2028-04-14', 'BBA0304A331270', 1300.00, 18.00, 9.00, 9.00, 0.00, 99.15, 99.15, 0.00, 1101.69),
(80, 76, 49, 1, '2028-04-15', 'EAB0209A736944', 1300.00, 18.00, 9.00, 9.00, 0.00, 99.15, 99.15, 0.00, 1101.69),
(81, 77, 50, 1, '2028-04-15', 'EAE0212A758093', 1000.00, 18.00, 9.00, 9.00, 0.00, 76.27, 76.27, 0.00, 847.46),
(82, 78, 63, 1, '2027-10-15', 'FHD3205A221951', 5500.00, 18.00, 9.00, 9.00, 0.00, 419.49, 419.49, 0.00, 4661.02),
(83, 79, 50, 1, '2028-04-05', 'EAE0212A758094', 949.99, 18.00, 9.00, 9.00, 0.00, 72.46, 72.46, 0.00, 805.08),
(84, 80, 49, 1, '2028-04-15', 'EAB0211A723682', 1300.00, 18.00, 9.00, 9.00, 0.00, 99.15, 99.15, 0.00, 1101.69),
(85, 81, 7, 1, '2028-04-16', 'EAI0109A624739', 1300.00, 18.00, 9.00, 9.00, 0.00, 99.15, 99.15, 0.00, 1101.69),
(86, 82, 46, 1, '2028-04-16', 'BBA0304A331160', 1199.98, 18.00, 9.00, 9.00, 0.00, 91.52, 91.52, 0.00, 1016.93),
(87, 83, 32, 1, '2028-10-16', 'CAB0550Z143509', 3650.00, 18.00, 9.00, 9.00, 0.00, 278.39, 278.39, 0.00, 3093.22),
(88, 84, 33, 1, '2028-10-17', 'CAB0651Z100252', 3900.00, 18.00, 9.00, 9.00, 0.00, 297.46, 297.46, 0.00, 3305.08),
(89, 85, 50, 1, '2028-04-17', 'EAE0212A758095', 950.00, 18.00, 9.00, 9.00, 0.00, 72.46, 72.46, 0.00, 805.08),
(90, 86, 68, 1, '2027-12-20', NULL, 7500.00, 18.00, 9.00, 9.00, 0.00, 572.03, 572.03, 0.00, 6355.93),
(91, 87, 68, 1, '2027-12-20', NULL, 7500.00, 18.00, 9.00, 9.00, 0.00, 572.03, 572.03, 0.00, 6355.93),
(92, 88, 41, 1, '2027-10-20', 'CGD3913A401556', 7000.00, 18.00, 9.00, 9.00, 0.00, 533.90, 533.90, 0.00, 5932.20),
(93, 89, 41, 1, '2027-10-20', 'CGD3913A401559', 6999.99, 18.00, 9.00, 9.00, 0.00, 533.90, 533.90, 0.00, 5932.19),
(94, 90, 51, 1, '2028-04-20', 'EAF0411A730397', 1199.99, 18.00, 9.00, 9.00, 0.00, 91.52, 91.52, 0.00, 1016.94),
(95, 91, 58, 1, '2028-04-20', NULL, 13000.00, 18.00, 9.00, 9.00, 0.00, 991.53, 991.53, 0.00, 11016.95),
(96, 91, 60, 1, '2028-04-20', NULL, 5500.00, 18.00, 9.00, 9.00, 0.00, 419.49, 419.49, 0.00, 4661.02),
(97, 92, 46, 1, '2028-04-20', 'BBA0304A331272', 1350.00, 18.00, 9.00, 9.00, 0.00, 102.97, 102.97, 0.00, 1144.07),
(98, 93, 73, 1, '2026-04-20', 'CGC3150Z209495', 3500.00, 18.00, 9.00, 9.00, 0.00, 266.95, 266.95, 0.00, 2966.10),
(99, 94, 68, 1, '2027-12-20', 'ADC6809A121099', 7500.00, 18.00, 9.00, 9.00, 0.00, 572.03, 572.03, 0.00, 6355.93),
(100, 95, 68, 1, '2027-10-20', 'ADC6809A121099', 7500.00, 18.00, 9.00, 9.00, 0.00, 572.03, 572.03, 0.00, 6355.93),
(101, 96, 58, 1, '2029-04-20', 'DFA2708A107999', 13000.00, 18.00, 9.00, 9.00, 0.00, 991.53, 991.53, 0.00, 11016.95),
(102, 97, 40, 1, '2028-04-20', 'FAF8109A213375', 7300.00, 18.00, 9.00, 9.00, 0.00, 556.78, 556.78, 0.00, 6186.44),
(103, 98, 33, 1, '2028-10-20', 'CAB0651Z100313', 3800.00, 18.00, 9.00, 9.00, 0.00, 289.83, 289.83, 0.00, 3220.34),
(104, 99, 72, 1, '2027-10-21', 'CHF3504A101930', 4000.00, 18.00, 9.00, 9.00, 0.00, 305.08, 305.08, 0.00, 3389.83),
(105, 100, 72, 1, '2027-10-21', 'CHF3504A101930', 4000.01, 18.00, 9.00, 9.00, 0.00, 305.09, 305.09, 0.00, 3389.84),
(106, 101, 63, 1, '2027-10-21', 'FHD3211A222554', 5500.00, 18.00, 9.00, 9.00, 0.00, 419.49, 419.49, 0.00, 4661.02),
(107, 102, 50, 1, '2028-04-21', 'EAE0212A758098', 1100.00, 18.00, 9.00, 9.00, 0.00, 83.90, 83.90, 0.00, 932.20),
(108, 103, 51, 1, '2028-04-21', 'EAF0411A730398', 1299.99, 18.00, 9.00, 9.00, 0.00, 99.15, 99.15, 0.00, 1101.69),
(109, 104, 51, 1, '2028-04-21', 'EAF0411A730400', 1200.00, 18.00, 9.00, 9.00, 0.00, 91.53, 91.53, 0.00, 1016.95),
(110, 105, 32, 1, '2028-10-21', 'CAB0651Z100219', 3650.00, 18.00, 9.00, 9.00, 0.00, 278.39, 278.39, 0.00, 3093.22),
(111, 106, 49, 1, '2028-04-21', 'EAB0211A723677', 1250.00, 18.00, 9.00, 9.00, 0.00, 95.34, 95.34, 0.00, 1059.32),
(112, 107, 24, 1, '2028-10-21', 'CBF0809A309320', 5700.00, 18.00, 9.00, 9.00, 0.00, 434.75, 434.75, 0.00, 4830.51),
(113, 108, 59, 1, '2029-04-22', 'DFA2907A212290', 15500.00, 18.00, 9.00, 9.00, 0.00, 1182.20, 1182.20, 0.00, 13135.59),
(114, 108, 59, 1, '2029-04-22', 'DFA2907A212286', 15500.00, 18.00, 9.00, 9.00, 0.00, 1182.20, 1182.20, 0.00, 13135.59),
(115, 108, 60, 1, '2029-04-22', 'T1A2204A105439', 6000.00, 18.00, 9.00, 9.00, 0.00, 457.63, 457.63, 0.00, 5084.75),
(116, 108, 60, 1, '2029-04-22', 'T1A2252Z101371', 6000.00, 18.00, 9.00, 9.00, 0.00, 457.63, 457.63, 0.00, 5084.75),
(117, 109, 32, 1, '2028-10-22', 'CAB0550Z143516', 3800.00, 18.00, 9.00, 9.00, 0.00, 289.83, 289.83, 0.00, 3220.34),
(118, 110, 50, 1, '2028-04-22', 'EAE0212A758096', 950.00, 18.00, 9.00, 9.00, 0.00, 72.46, 72.46, 0.00, 805.08),
(119, 111, 9, 1, '2028-04-22', 'bah0213a101385', 1650.00, 18.00, 9.00, 9.00, 0.00, 125.85, 125.85, 0.00, 1398.31),
(120, 112, 49, 1, '2028-04-24', 'EAE0211A723681', 1300.00, 18.00, 9.00, 9.00, 0.00, 99.15, 99.15, 0.00, 1101.69),
(121, 113, 32, 1, '2028-10-24', 'cab0550z143498', 3800.00, 18.00, 9.00, 9.00, 0.00, 289.83, 289.83, 0.00, 3220.34),
(122, 114, 38, 1, '2028-04-24', 'AEI3111A416969', 6700.00, 18.00, 9.00, 9.00, 0.00, 511.02, 511.02, 0.00, 5677.97),
(123, 115, 50, 1, '2028-04-24', 'BAE0211A442961', 950.00, 18.00, 9.00, 9.00, 0.00, 72.46, 72.46, 0.00, 805.08),
(124, 116, 50, 1, '2028-04-24', 'EAE0212A758097', 950.00, 18.00, 9.00, 9.00, 0.00, 72.46, 72.46, 0.00, 805.08),
(125, 117, 50, 1, '2028-04-24', 'BAE0211A442962', 950.00, 18.00, 9.00, 9.00, 0.00, 72.46, 72.46, 0.00, 805.08),
(126, 117, 50, 1, '2028-04-24', 'BAE0211A442966', 950.00, 18.00, 9.00, 9.00, 0.00, 72.46, 72.46, 0.00, 805.08),
(127, 118, 50, 1, '2028-04-24', 'BAE0211A442962', 1100.00, 18.00, 9.00, 9.00, 0.00, 83.90, 83.90, 0.00, 932.20),
(128, 118, 50, 1, '2028-04-24', 'BAE0211A442966', 1100.00, 18.00, 9.00, 9.00, 0.00, 83.90, 83.90, 0.00, 932.20),
(129, 118, 46, 1, '2028-04-23', 'BBA0313A758096', 1350.00, 18.00, 9.00, 9.00, 0.00, 102.97, 102.97, 0.00, 1144.07),
(130, 119, 50, 1, '2028-04-24', 'BAE0211A442962', 1100.00, 18.00, 9.00, 9.00, 0.00, 83.90, 83.90, 0.00, 932.20),
(131, 119, 50, 1, '2028-04-24', 'BAE0211A442966', 1100.00, 18.00, 9.00, 9.00, 0.00, 83.90, 83.90, 0.00, 932.20),
(132, 119, 46, 1, '2028-04-23', 'BBA0313A758096', 1300.00, 18.00, 9.00, 9.00, 0.00, 99.15, 99.15, 0.00, 1101.69),
(133, 120, 32, 1, '2028-10-23', 'CAB0550Z143499', 3900.00, 18.00, 9.00, 9.00, 0.00, 297.46, 297.46, 0.00, 3305.08),
(134, 121, 32, 1, '2028-10-23', 'CAB0550Z143499', 3700.00, 18.00, 9.00, 9.00, 0.00, 282.20, 282.20, 0.00, 3135.59),
(135, 122, 24, 1, '2028-10-23', 'CBF0812A324023', 5700.00, 18.00, 9.00, 9.00, 0.00, 434.75, 434.75, 0.00, 4830.51),
(136, 123, 49, 1, '2028-10-24', 'EAB0211A723680', 1300.00, 18.00, 9.00, 9.00, 0.00, 99.15, 99.15, 0.00, 1101.69),
(137, 124, 46, 1, '2028-04-24', NULL, 1350.00, 18.00, 9.00, 9.00, 0.00, 102.97, 102.97, 0.00, 1144.07),
(138, 125, 49, 1, '2028-04-24', 'EAB0211A723679', 1300.00, 18.00, 9.00, 9.00, 0.00, 99.15, 99.15, 0.00, 1101.69),
(139, 126, 49, 1, '2028-04-24', 'BBA0313A404402', 1500.00, 18.00, 9.00, 9.00, 0.00, 114.41, 114.41, 0.00, 1271.19),
(140, 127, 49, 1, '2028-04-24', 'BBA0313A404402', 1300.00, 18.00, 9.00, 9.00, 0.00, 99.15, 99.15, 0.00, 1101.69),
(141, 128, 46, 1, '2028-04-24', NULL, 1350.00, 18.00, 9.00, 9.00, 0.00, 102.97, 102.97, 0.00, 1144.07),
(142, 129, 46, 1, '2028-04-24', 'BBA0313A404400', 1350.00, 18.00, 9.00, 9.00, 0.00, 102.97, 102.97, 0.00, 1144.07),
(143, 130, 50, 1, '2028-04-24', 'BAE0211A442965', 1100.00, 18.00, 9.00, 9.00, 0.00, 83.90, 83.90, 0.00, 932.20),
(144, 131, 68, 1, '2028-04-24', 'cgd4104a329604', 7500.00, 18.00, 9.00, 9.00, 0.00, 572.03, 572.03, 0.00, 6355.93),
(145, 132, 58, 1, '2029-04-25', 'DKE0109A221581', 13000.00, 18.00, 9.00, 9.00, 0.00, 991.53, 991.53, 0.00, 11016.95),
(146, 132, 60, 1, '2029-04-25', 'T1A1441Z200896', 6000.00, 18.00, 9.00, 9.00, 0.00, 457.63, 457.63, 0.00, 5084.75),
(147, 133, 38, 1, '2028-04-25', NULL, 6700.00, 18.00, 9.00, 9.00, 0.00, 511.02, 511.02, 0.00, 5677.97),
(148, 134, 69, 1, '2028-04-24', 'CGB7445Z319333', 6000.00, 18.00, 9.00, 9.00, 0.00, 457.63, 457.63, 0.00, 5084.75),
(149, 135, 62, 1, '2028-04-24', 'FHD3105A122485', 5400.00, 18.00, 9.00, 9.00, 0.00, 411.86, 411.86, 0.00, 4576.27),
(150, 136, 46, 1, '2028-04-25', 'BBA0313A404403', 1300.00, 18.00, 9.00, 9.00, 0.00, 99.15, 99.15, 0.00, 1101.69),
(151, 137, 41, 1, '2027-10-25', 'CGD3913A401549', 7000.00, 18.00, 9.00, 9.00, 0.00, 533.90, 533.90, 0.00, 5932.20),
(152, 138, 50, 1, '2028-04-25', 'BAE0213A542377', 1000.00, 18.00, 9.00, 9.00, 0.00, 76.27, 76.27, 0.00, 847.46),
(153, 139, 63, 1, '2027-10-25', 'FHD3211A222539', 5500.00, 18.00, 9.00, 9.00, 0.00, 419.49, 419.49, 0.00, 4661.02),
(154, 140, 68, 1, '2027-10-25', 'CGD4214A333388', 7400.00, 18.00, 9.00, 9.00, 0.00, 564.41, 564.41, 0.00, 6271.19),
(155, 141, 46, 1, '0000-00-00', 'BBA0313A404399', 1350.00, 18.00, 9.00, 9.00, 0.00, 102.97, 102.97, 0.00, 1144.07),
(156, 142, 68, 1, '2028-04-26', 'cd1704a318288', 7300.00, 18.00, 9.00, 9.00, 0.00, 556.78, 556.78, 0.00, 6186.44),
(157, 143, 50, 1, '0000-00-00', 'BAE0213A542382', 1100.00, 18.00, 9.00, 9.00, 0.00, 83.90, 83.90, 0.00, 932.20),
(158, 144, 46, 1, '2028-04-26', 'BBA0314A445030', 1350.00, 18.00, 9.00, 9.00, 0.00, 102.97, 102.97, 0.00, 1144.07),
(159, 145, 49, 1, '2028-04-26', 'EAB0211A723678', 1300.00, 18.00, 9.00, 9.00, 0.00, 99.15, 99.15, 0.00, 1101.69),
(160, 146, 49, 1, '2028-04-26', 'EAB0214A207674', 1300.00, 18.00, 9.00, 9.00, 0.00, 99.15, 99.15, 0.00, 1101.69),
(161, 147, 49, 1, '2028-04-26', 'EAB0214A207674', 1200.00, 18.00, 9.00, 9.00, 0.00, 91.53, 91.53, 0.00, 1016.95),
(162, 148, 32, 1, '2028-10-26', NULL, 3650.00, 18.00, 9.00, 9.00, 0.00, 278.39, 278.39, 0.00, 3093.22),
(163, 149, 74, 1, '2028-10-27', 'FGC3746Z143241', 3200.00, 18.00, 9.00, 9.00, 0.00, 244.07, 244.07, 0.00, 2711.86),
(164, 150, 9, 1, '2028-04-27', 'BAH0213A101388', 2000.00, 18.00, 9.00, 9.00, 0.00, 152.54, 152.54, 0.00, 1694.92),
(165, 151, 46, 1, '2028-04-30', 'BBA0314A445125', 1350.00, 18.00, 9.00, 9.00, 0.00, 102.97, 102.97, 0.00, 1144.07),
(166, 152, 68, 1, '2027-10-30', 'CGD4104A329609', 7500.00, 18.00, 9.00, 9.00, 0.00, 572.03, 572.03, 0.00, 6355.93),
(167, 153, 46, 1, '2028-04-30', 'BBA03124A445121', 1250.00, 18.00, 9.00, 9.00, 0.00, 95.34, 95.34, 0.00, 1059.32),
(168, 154, 49, 1, '2028-04-30', 'EAB0214A207673', 1240.00, 18.00, 9.00, 9.00, 0.00, 94.58, 94.58, 0.00, 1050.85),
(169, 155, 76, 1, '2028-05-01', 'CEJ4412A205106', 6000.00, 18.00, 9.00, 9.00, 0.00, 457.63, 457.63, 0.00, 5084.75),
(170, 156, 51, 1, '2028-05-01', 'EAF0411A730399', 1200.00, 18.00, 9.00, 9.00, 0.00, 91.53, 91.53, 0.00, 1016.95),
(171, 157, 68, 1, '2027-11-01', 'CGD4104A329766', 7600.00, 18.00, 9.00, 9.00, 0.00, 579.66, 579.66, 0.00, 6440.68),
(172, 158, 67, 1, '2027-11-01', NULL, 6400.00, 18.00, 9.00, 9.00, 0.00, 488.14, 488.14, 0.00, 5423.73),
(173, 159, 30, 1, '2028-11-01', 'ABB1708A402595', 7100.00, 18.00, 9.00, 9.00, 0.00, 541.53, 541.53, 0.00, 6016.95),
(174, 160, 8, 1, '2028-05-01', 'BAC0214A543866', 2000.00, 18.00, 9.00, 9.00, 0.00, 152.54, 152.54, 0.00, 1694.92),
(175, 161, 33, 1, '2028-11-01', 'CAB0650Z252192', 3800.00, 18.00, 9.00, 9.00, 0.00, 289.83, 289.83, 0.00, 3220.34),
(176, 162, 48, 1, '2028-05-01', 'BAA0212A540179', 850.00, 18.00, 9.00, 9.00, 0.00, 64.83, 64.83, 0.00, 720.34),
(177, 163, 63, 1, '2027-11-01', 'FHD3211A222546', 5300.00, 18.00, 9.00, 9.00, 0.00, 404.24, 404.24, 0.00, 4491.53),
(178, 164, 46, 1, '2028-05-01', 'BBA0314A445123', 1300.00, 18.00, 9.00, 9.00, 0.00, 99.15, 99.15, 0.00, 1101.69),
(179, 164, 21, 1, '2029-05-01', 'AAB0311A212171', 4800.00, 18.00, 9.00, 9.00, 0.00, 366.10, 366.10, 0.00, 4067.80),
(180, 165, 58, 1, '2029-05-02', 'DKE0110A209609', 13500.00, 18.00, 9.00, 9.00, 0.00, 1029.66, 1029.66, 0.00, 11440.68),
(181, 166, 46, 1, '2028-05-02', 'BBA0314A445124', 1300.00, 18.00, 9.00, 9.00, 0.00, 99.15, 99.15, 0.00, 1101.69),
(182, 167, 7, 1, '2028-05-02', 'EAI0112A624857', 1499.99, 18.00, 9.00, 9.00, 0.00, 114.41, 114.41, 0.00, 1271.18),
(183, 168, 60, 1, '2029-05-02', 'T1A2145Z101165', 6000.00, 18.00, 9.00, 9.00, 0.00, 457.63, 457.63, 0.00, 5084.75),
(184, 169, 46, 1, '2028-05-04', 'BBA0314A445126', 1300.00, 18.00, 9.00, 9.00, 0.00, 99.15, 99.15, 0.00, 1101.69),
(185, 170, 60, 1, '2029-05-02', 'T1A2145Z101165', 6000.00, 18.00, 9.00, 9.00, 0.00, 457.63, 457.63, 0.00, 5084.75),
(186, 170, 58, 1, '2029-05-04', 'DKP0110A209612', 13500.00, 18.00, 9.00, 9.00, 0.00, 1029.66, 1029.66, 0.00, 11440.68),
(187, 171, 46, 1, '2028-05-04', 'BBA0314A445122', 1350.00, 18.00, 9.00, 9.00, 0.00, 102.97, 102.97, 0.00, 1144.07),
(188, 172, 63, 1, '2027-11-04', 'FHD3211A222523', 5400.00, 18.00, 9.00, 9.00, 0.00, 411.86, 411.86, 0.00, 4576.27),
(189, 173, 49, 1, '2028-05-05', 'EAB0213A215647', 1300.00, 18.00, 9.00, 9.00, 0.00, 99.15, 99.15, 0.00, 1101.69),
(190, 174, 46, 1, '2028-05-05', 'bba0314A445027', 1350.00, 18.00, 9.00, 9.00, 0.00, 102.97, 102.97, 0.00, 1144.07),
(191, 175, 48, 1, '2028-05-05', 'BAA0212A540180', 900.00, 18.00, 9.00, 9.00, 0.00, 68.64, 68.64, 0.00, 762.71),
(192, 176, 43, 1, '2028-05-05', 'CAG5402A406380', 7500.00, 18.00, 9.00, 9.00, 0.00, 572.03, 572.03, 0.00, 6355.93),
(193, 177, 77, 30, NULL, NULL, 6700.00, 18.00, 9.00, 9.00, 0.00, 15330.51, 15330.51, 0.00, 170338.98),
(194, 178, 50, 1, '2028-05-05', 'BAE0213A542380', 1100.00, 18.00, 9.00, 9.00, 0.00, 83.90, 83.90, 0.00, 932.20),
(195, 179, 8, 1, '2028-05-05', NULL, 1700.00, 18.00, 9.00, 9.00, 0.00, 129.66, 129.66, 0.00, 1440.68),
(196, 180, 59, 2, '2029-05-05', 'DFA2907A212302  DFA2907A212295', 15000.00, 18.00, 9.00, 9.00, 0.00, 2288.14, 2288.14, 0.00, 25423.73),
(197, 181, 68, 1, '2027-11-05', 'CGD4213A320894', 7500.00, 18.00, 9.00, 9.00, 0.00, 572.03, 572.03, 0.00, 6355.93),
(198, 182, 38, 1, '2028-05-06', 'AEI3113A418382', 6700.00, 18.00, 9.00, 9.00, 0.00, 511.02, 511.02, 0.00, 5677.97),
(199, 183, 58, 1, '2029-05-06', 'DKE0113A216994', 13500.00, 18.00, 9.00, 9.00, 0.00, 1029.66, 1029.66, 0.00, 11440.68),
(200, 184, 46, 1, '2028-05-06', 'bba0314a445025', 1350.00, 18.00, 9.00, 9.00, 0.00, 102.97, 102.97, 0.00, 1144.07),
(201, 185, 50, 1, '2028-05-06', 'bae0213a542275', 1100.00, 18.00, 9.00, 9.00, 0.00, 83.90, 83.90, 0.00, 932.20),
(202, 186, 50, 5, NULL, NULL, 820.00, 18.00, 9.00, 9.00, 0.00, 312.71, 312.71, 0.00, 3474.58),
(203, 187, 50, 1, '2028-05-06', 'BAE0213A542378', 1000.00, 18.00, 9.00, 9.00, 0.00, 76.27, 76.27, 0.00, 847.46),
(204, 188, 63, 1, '2027-11-07', 'FHD3214A201591', 5400.00, 18.00, 9.00, 9.00, 0.00, 411.86, 411.86, 0.00, 4576.27),
(205, 189, 71, 1, '2027-11-07', 'CHF3606A119594', 4000.00, 18.00, 9.00, 9.00, 0.00, 305.08, 305.08, 0.00, 3389.83),
(206, 190, 46, 1, '2028-05-07', 'BBA0314A446028', 1250.00, 18.00, 9.00, 9.00, 0.00, 95.34, 95.34, 0.00, 1059.32),
(207, 191, 46, 1, '2028-05-07', 'BBA0314A445026', 1350.00, 18.00, 9.00, 9.00, 0.00, 102.97, 102.97, 0.00, 1144.07),
(208, 192, 50, 1, '2028-05-08', 'BAE0213A542278', 1100.00, 18.00, 9.00, 9.00, 0.00, 83.90, 83.90, 0.00, 932.20),
(209, 193, 49, 1, '2028-05-08', 'EAB0213A215648', 1300.00, 18.00, 9.00, 9.00, 0.00, 99.15, 99.15, 0.00, 1101.69),
(210, 194, 72, 1, '2027-11-08', NULL, 4000.00, 18.00, 9.00, 9.00, 0.00, 305.08, 305.08, 0.00, 3389.83);

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

--
-- Table structure for table `sales_items_non_gst`
--

CREATE TABLE `sales_items_non_gst` (
  `id` int(10) UNSIGNED NOT NULL,
  `sale_id` int(10) UNSIGNED NOT NULL,
  `product_id` int(10) UNSIGNED NOT NULL,
  `quantity` int(11) NOT NULL,
  `expiry_date` date DEFAULT NULL,
  `serial_number` varchar(80) DEFAULT NULL,
  `unit_price` decimal(10,2) NOT NULL,
  `gst_rate` decimal(5,2) NOT NULL DEFAULT 0.00,
  `cgst_rate` decimal(5,2) NOT NULL DEFAULT 0.00,
  `sgst_rate` decimal(5,2) NOT NULL DEFAULT 0.00,
  `igst_rate` decimal(5,2) NOT NULL DEFAULT 0.00,
  `cgst_amount` decimal(12,2) NOT NULL DEFAULT 0.00,
  `sgst_amount` decimal(12,2) NOT NULL DEFAULT 0.00,
  `igst_amount` decimal(12,2) NOT NULL DEFAULT 0.00,
  `line_total` decimal(12,2) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

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

--
-- Table structure for table `stock_transactions`
--

CREATE TABLE `stock_transactions` (
  `id` int(10) UNSIGNED NOT NULL,
  `product_id` int(10) UNSIGNED NOT NULL,
  `supplier_id` int(10) UNSIGNED DEFAULT NULL,
  `txn_type` varchar(10) NOT NULL,
  `quantity` int(11) NOT NULL,
  `note` varchar(255) DEFAULT NULL,
  `created_by` int(10) UNSIGNED DEFAULT NULL,
  `created_at` timestamp NOT NULL DEFAULT current_timestamp(),
  `is_deleted` tinyint(1) NOT NULL DEFAULT 0,
  `deleted_at` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Dumping data for table `stock_transactions`
--

INSERT INTO `stock_transactions` (`id`, `product_id`, `supplier_id`, `txn_type`, `quantity`, `note`, `created_by`, `created_at`, `is_deleted`, `deleted_at`) VALUES
(1, 46, NULL, 'in', 8, 'Opening Stock', 1, '2026-04-02 11:19:06', 0, NULL),
(2, 46, NULL, 'out', 1, 'Sales Invoice: INV/2627/0001', 1, '2026-04-02 11:24:52', 0, NULL),
(3, 47, NULL, 'in', 2, 'Opening Stock', 1, '2026-04-02 11:29:48', 0, NULL),
(4, 47, NULL, 'out', 1, 'Sales Invoice: INV/2627/0002', 1, '2026-04-02 11:32:06', 0, NULL),
(5, 48, NULL, 'in', 1, 'Opening Stock', 1, '2026-04-02 11:47:14', 0, NULL),
(6, 49, NULL, 'in', 10, 'Opening Stock', 1, '2026-04-02 11:49:05', 0, NULL),
(7, 50, NULL, 'in', 20, 'Opening Stock', 1, '2026-04-02 11:50:07', 0, NULL),
(8, 51, NULL, 'in', 6, 'Opening Stock', 1, '2026-04-02 11:51:15', 0, NULL),
(9, 40, NULL, 'out', 1, 'Sales Invoice: INV/2627/0003', 1, '2026-04-02 12:09:57', 0, NULL),
(10, 7, NULL, 'out', 1, 'Sales Invoice: INV/2627/0004', 1, '2026-04-02 12:48:25', 0, NULL),
(11, 58, NULL, 'in', 4, 'Opening Stock', 1, '2026-04-02 13:49:39', 0, NULL),
(12, 59, NULL, 'in', 1, 'Opening Stock', 1, '2026-04-02 13:51:07', 0, NULL),
(13, 60, NULL, 'in', 1, 'Opening Stock', 1, '2026-04-02 13:53:07', 0, NULL),
(14, 62, NULL, 'in', 1, 'Opening Stock', 1, '2026-04-02 13:57:47', 0, NULL),
(15, 63, NULL, 'in', 2, 'Opening Stock', 1, '2026-04-02 13:59:03', 0, NULL),
(16, 66, NULL, 'in', 2, 'Opening Stock', 1, '2026-04-02 14:06:23', 0, NULL),
(17, 25, NULL, 'out', 1, 'Sales Invoice: INV/2627/0005', 1, '2026-04-02 15:27:59', 0, NULL),
(18, 44, NULL, 'in', 1, 'Opening Stock Adjustment', 1, '2026-04-02 15:49:55', 0, NULL),
(19, 43, NULL, 'in', 1, 'Opening Stock Adjustment', 1, '2026-04-02 15:51:27', 0, NULL),
(20, 41, NULL, 'in', 3, 'Opening Stock Adjustment', 1, '2026-04-02 15:54:24', 0, NULL),
(21, 37, NULL, 'in', 1, 'Opening Stock Adjustment', 1, '2026-04-02 15:57:57', 0, NULL),
(22, 68, NULL, 'in', 5, 'Opening Stock', 1, '2026-04-02 16:19:02', 0, NULL),
(23, 69, NULL, 'in', 1, 'Opening Stock', 1, '2026-04-02 16:21:28', 0, NULL),
(24, 70, NULL, 'in', 1, 'Opening Stock', 1, '2026-04-02 16:23:22', 0, NULL),
(25, 71, NULL, 'in', 1, 'Opening Stock', 1, '2026-04-02 16:25:09', 0, NULL),
(26, 72, NULL, 'in', 1, 'Opening Stock', 1, '2026-04-02 16:26:52', 0, NULL),
(27, 73, NULL, 'in', 3, 'Opening Stock', 1, '2026-04-02 16:29:24', 0, NULL),
(28, 74, NULL, 'in', 2, 'Opening Stock', 1, '2026-04-02 16:31:03', 0, NULL),
(29, 68, NULL, 'in', 1, 'Opening Stock Adjustment', 1, '2026-04-02 16:31:55', 0, NULL),
(30, 50, NULL, 'out', 1, 'Opening Stock Adjustment', 1, '2026-04-02 16:42:16', 0, NULL),
(31, 10, NULL, 'out', 1, 'Opening Stock Adjustment', 1, '2026-04-02 16:43:17', 0, NULL),
(32, 7, NULL, 'in', 1, 'Opening Stock Adjustment', 1, '2026-04-02 16:44:12', 0, NULL),
(33, 50, NULL, 'out', 1, 'Sales Invoice: INV/2627/0006', 1, '2026-04-02 16:54:10', 0, NULL),
(34, 58, NULL, 'out', 1, 'Sales Invoice: INV/2627/0007', 1, '2026-04-02 16:56:49', 0, NULL),
(35, 66, NULL, 'out', 1, 'Sales Invoice: INV/2627/0008', 1, '2026-04-03 05:28:42', 0, NULL),
(36, 32, NULL, 'out', 1, 'Sales Invoice: INV/2627/0009', 1, '2026-04-03 05:56:14', 0, NULL),
(37, 50, NULL, 'out', 1, 'Sales Invoice: INV/2627/0010', 1, '2026-04-03 07:17:13', 0, NULL),
(38, 66, NULL, 'out', 1, 'Sales Invoice: INV/2627/0011', 1, '2026-04-03 09:05:18', 0, NULL),
(39, 32, NULL, 'out', 1, 'Sales Invoice: INV/2627/0012', 1, '2026-04-03 10:31:14', 0, NULL),
(40, 45, NULL, 'out', 1, 'Sales Invoice: INV/2627/0013', 1, '2026-04-03 10:46:38', 0, NULL),
(41, 74, NULL, 'out', 1, 'Sales Invoice: INV/2627/0014', 1, '2026-04-06 03:05:05', 0, NULL),
(42, 63, NULL, 'out', 1, 'Sales Invoice: INV/2627/0015', 1, '2026-04-06 06:38:15', 0, NULL),
(43, 32, 2, 'in', 4, 'Purchase Invoice: PUR/2627/0001', 1, '2026-04-06 08:18:41', 0, NULL),
(44, 25, 2, 'in', 2, 'Purchase Invoice: PUR/2627/0001', 1, '2026-04-06 08:18:41', 0, NULL),
(45, 40, 2, 'in', 1, 'Purchase Invoice: PUR/2627/0001', 1, '2026-04-06 08:18:41', 0, NULL),
(46, 67, 2, 'in', 2, 'Purchase Invoice: PUR/2627/0001', 1, '2026-04-06 08:18:41', 0, NULL),
(47, 47, 2, 'in', 1, 'Purchase Invoice: PUR/2627/0001', 1, '2026-04-06 08:18:41', 0, NULL),
(48, 24, 2, 'in', 2, 'Purchase Invoice: PUR/2627/0001', 1, '2026-04-06 08:18:41', 0, NULL),
(49, 66, 2, 'in', 2, 'Purchase Invoice: PUR/2627/0001', 1, '2026-04-06 08:18:41', 0, NULL),
(50, 48, 2, 'in', 5, 'Purchase Invoice: PUR/2627/0001', 1, '2026-04-06 08:18:41', 0, NULL),
(51, 60, 2, 'in', 1, 'Purchase Invoice: PUR/2627/0002', 1, '2026-04-06 08:19:02', 0, NULL),
(52, 63, NULL, 'out', 1, 'Sales Invoice: INV/2627/0016', 1, '2026-04-06 08:27:42', 0, NULL),
(53, 9, NULL, 'out', 1, 'Sales Invoice: INV/2627/0017', 1, '2026-04-06 08:30:28', 0, NULL),
(54, 66, NULL, 'out', 1, 'Sales Invoice: INV/2627/0018', 1, '2026-04-06 08:34:03', 0, NULL),
(55, 9, NULL, 'in', 1, 'Sales Edit: INV/2627/0017', 1, '2026-04-06 09:28:24', 0, NULL),
(56, 8, NULL, 'out', 1, 'Sales Edit: INV/2627/0017', 1, '2026-04-06 09:28:24', 0, NULL),
(57, 47, NULL, 'out', 1, 'Sales Invoice: INV/2627/0019', 1, '2026-04-06 09:38:31', 0, NULL),
(58, 67, NULL, 'out', 1, 'Sales Invoice: INV/2627/0020', 1, '2026-04-06 11:47:33', 0, NULL),
(59, 49, NULL, 'out', 1, 'Sales Invoice: INV/2627/0021', 1, '2026-04-06 11:52:34', 0, NULL),
(60, 8, NULL, 'out', 1, 'Sales Invoice: INV/2627/0022', 1, '2026-04-06 12:10:38', 0, NULL),
(61, 49, NULL, 'in', 1, 'Sales Edit: INV/2627/0021', 1, '2026-04-06 12:30:53', 0, NULL),
(62, 50, NULL, 'out', 1, 'Sales Edit: INV/2627/0021', 1, '2026-04-06 12:30:53', 0, NULL),
(63, 32, NULL, 'out', 1, 'Sales Invoice: INV/2627/0023', 1, '2026-04-07 04:07:19', 0, NULL),
(64, 21, NULL, 'out', 1, 'Sales Invoice: INV/2627/0024', 1, '2026-04-07 06:23:55', 0, NULL),
(65, 60, NULL, 'out', 1, 'Sales Invoice: INV/2627/0025', 1, '2026-04-07 07:01:20', 0, NULL),
(66, 59, NULL, 'out', 1, 'Sales Edit: INV/2627/0025', 1, '2026-04-07 07:03:06', 0, NULL),
(67, 41, NULL, 'out', 1, 'Sales Invoice: INV/2627/0026', 1, '2026-04-07 09:22:00', 0, NULL),
(68, 36, NULL, 'out', 1, 'Sales Invoice: INV/2627/0027', 1, '2026-04-07 13:42:12', 0, NULL),
(69, 48, NULL, 'out', 1, 'Sales Invoice: INV/2627/0028', 1, '2026-04-07 16:11:05', 0, NULL),
(70, 58, NULL, 'out', 1, 'Sales Invoice: INV/2627/0029', 1, '2026-04-07 16:15:46', 0, NULL),
(71, 40, NULL, 'out', 1, 'Sales Invoice: INV/2627/0030', 1, '2026-04-07 16:19:41', 0, NULL),
(72, 32, 2, 'in', 2, 'Purchase Invoice: PUR/2627/0003', 1, '2026-04-07 16:24:50', 0, NULL),
(73, 17, 2, 'in', 1, 'Purchase Invoice: PUR/2627/0003', 1, '2026-04-07 16:24:50', 0, NULL),
(74, 63, 2, 'in', 2, 'Purchase Invoice: PUR/2627/0003', 1, '2026-04-07 16:24:50', 0, NULL),
(75, 47, 2, 'in', 1, 'Purchase Invoice: PUR/2627/0003', 1, '2026-04-07 16:24:50', 0, NULL),
(76, 66, 2, 'in', 1, 'Purchase Invoice: PUR/2627/0003', 1, '2026-04-07 16:24:50', 0, NULL),
(77, 67, 2, 'in', 1, 'Purchase Invoice: PUR/2627/0003', 1, '2026-04-07 16:24:50', 0, NULL),
(78, 62, 2, 'in', 1, 'Purchase Invoice: PUR/2627/0003', 1, '2026-04-07 16:24:50', 0, NULL),
(79, 46, NULL, 'out', 1, 'Sales Invoice: INV/2627/0031', 1, '2026-04-08 05:27:34', 0, NULL),
(80, 9, NULL, 'out', 1, 'Sales Invoice: INV/2627/0032', 1, '2026-04-08 05:31:41', 0, NULL),
(81, 68, NULL, 'out', 2, 'Sales Invoice: INV/2627/0033', 1, '2026-04-08 05:41:56', 0, NULL),
(82, 46, NULL, 'out', 1, 'Sales Invoice: INV/2627/0034', 1, '2026-04-08 05:54:02', 0, NULL),
(83, 68, NULL, 'out', 1, 'Sales Invoice: INV/2627/0035', 1, '2026-04-08 09:10:31', 0, NULL),
(84, 46, NULL, 'out', 1, 'Sales Invoice: INV/2627/0036', 1, '2026-04-09 03:15:40', 0, NULL),
(85, 41, NULL, 'out', 1, 'Sales Invoice: INV/2627/0037', 1, '2026-04-09 13:29:27', 0, NULL),
(86, 50, NULL, 'out', 1, 'Sales Invoice: INV/2627/0038', 1, '2026-04-09 13:33:32', 0, NULL),
(87, 50, NULL, 'out', 1, 'Sales Invoice: INV/2627/0039', 1, '2026-04-10 05:17:43', 0, NULL),
(88, 49, NULL, 'out', 1, 'Sales Invoice: INV/2627/0040', 1, '2026-04-10 05:34:22', 0, NULL),
(89, 62, NULL, 'out', 1, 'Sales Invoice: INV/2627/0041', 1, '2026-04-10 06:56:29', 0, NULL),
(90, 50, NULL, 'out', 1, 'Sales Invoice: INV/2627/0042', 1, '2026-04-10 09:25:00', 0, NULL),
(91, 9, NULL, 'out', 1, 'Sales Invoice: INV/2627/0043', 1, '2026-04-11 11:44:59', 0, NULL),
(92, 68, 2, 'in', 3, 'Purchase Invoice: PUR/2627/0004', 1, '2026-04-11 12:10:54', 0, NULL),
(93, 21, 2, 'in', 1, 'Purchase Invoice: PUR/2627/0004', 1, '2026-04-11 12:10:54', 0, NULL),
(94, 40, 2, 'in', 1, 'Purchase Invoice: PUR/2627/0004', 1, '2026-04-11 12:10:54', 0, NULL),
(95, 62, 2, 'in', 1, 'Purchase Invoice: PUR/2627/0004', 1, '2026-04-11 12:10:54', 0, NULL),
(96, 36, 2, 'in', 1, 'Purchase Invoice: PUR/2627/0004', 1, '2026-04-11 12:10:54', 0, NULL),
(97, 63, 2, 'in', 1, 'Purchase Invoice: PUR/2627/0004', 1, '2026-04-11 12:10:54', 0, NULL),
(98, 46, 2, 'in', 6, 'Purchase Invoice: PUR/2627/0004', 1, '2026-04-11 12:10:54', 0, NULL),
(99, 9, 2, 'in', 2, 'Purchase Invoice: PUR/2627/0004', 1, '2026-04-11 12:10:54', 0, NULL),
(100, 67, 2, 'in', 1, 'Purchase Invoice: PUR/2627/0004', 1, '2026-04-11 12:10:54', 0, NULL),
(101, 41, 2, 'in', 1, 'Purchase Invoice: PUR/2627/0004', 1, '2026-04-11 12:10:54', 0, NULL),
(102, 9, NULL, 'out', 1, 'Sales Invoice: INV/2627/0044', 1, '2026-04-11 12:41:18', 0, NULL),
(103, 17, NULL, 'out', 1, 'Sales Invoice: INV/2627/0045', 1, '2026-04-11 12:43:11', 0, NULL),
(104, 17, 2, 'in', 1, 'Purchase Invoice: PUR/2627/0005', 1, '2026-04-11 12:46:07', 0, NULL),
(105, 48, 2, 'in', 1, 'Purchase Invoice: PUR/2627/0005', 1, '2026-04-11 12:46:07', 0, NULL),
(106, 59, 2, 'in', 1, 'Purchase Invoice: PUR/2627/0005', 1, '2026-04-11 12:46:07', 0, NULL),
(107, 50, NULL, 'out', 1, 'Sales Invoice: INV/2627/0046', 1, '2026-04-12 04:25:38', 0, NULL),
(108, 50, NULL, 'out', 1, 'Sales Invoice: INV/2627/0047', 1, '2026-04-12 04:32:07', 0, NULL),
(109, 67, NULL, 'out', 1, 'Sales Invoice: INV/2627/0048', 1, '2026-04-12 04:54:45', 0, NULL),
(110, 46, NULL, 'out', 1, 'Sales Invoice: INV/2627/0049', 1, '2026-04-12 06:27:17', 0, NULL),
(111, 24, NULL, 'out', 1, 'Sales Invoice: INV/2627/0050', 1, '2026-04-12 13:22:52', 0, NULL),
(112, 50, NULL, 'out', 1, 'Sales Invoice: INV/2627/0050', 1, '2026-04-12 13:22:52', 0, NULL),
(113, 68, NULL, 'out', 1, 'Sales Invoice: INV/2627/0051', 1, '2026-04-13 10:59:28', 0, NULL),
(114, 49, NULL, 'out', 1, 'Sales Invoice: INV/2627/0052', 1, '2026-04-13 12:15:54', 0, NULL),
(115, 63, NULL, 'out', 1, 'Sales Invoice: INV/2627/0053', 1, '2026-04-13 12:27:49', 0, NULL),
(116, 68, NULL, 'out', 1, 'Sales Invoice: INV/2627/0054', 1, '2026-04-13 12:38:33', 0, NULL),
(117, 49, NULL, 'out', 1, 'Sales Invoice: INV/2627/0055', 1, '2026-04-13 13:25:47', 0, NULL),
(118, 24, NULL, 'out', 1, 'Sales Invoice: INV/2627/0056', 1, '2026-04-14 03:52:02', 0, NULL),
(119, 68, NULL, 'out', 1, 'Sales Invoice: INV/2627/0057', 1, '2026-04-14 08:26:23', 0, NULL),
(120, 48, NULL, 'out', 1, 'Sales Invoice: INV/2627/0058', 1, '2026-04-14 13:38:46', 0, NULL),
(121, 9, NULL, 'out', 1, 'Sales Invoice: INV/2627/0059', 1, '2026-04-14 13:44:35', 0, NULL),
(122, 33, NULL, 'out', 1, 'Sales Invoice: INV/2627/0060', 1, '2026-04-14 13:56:03', 0, NULL),
(123, 59, NULL, 'out', 1, 'Sales Invoice: INV/2627/0061', 1, '2026-04-14 14:00:04', 0, NULL),
(124, 58, 2, 'in', 3, 'Purchase Invoice: PUR/2627/0006', 1, '2026-04-14 14:12:32', 0, NULL),
(125, 60, 2, 'in', 1, 'Purchase Invoice: PUR/2627/0006', 1, '2026-04-14 14:12:32', 0, NULL),
(126, 59, 2, 'in', 1, 'Purchase Invoice: PUR/2627/0006', 1, '2026-04-14 14:12:32', 0, NULL),
(127, 41, 2, 'in', 1, 'Purchase Invoice: PUR/2627/0006', 1, '2026-04-14 14:12:32', 0, NULL),
(128, 47, 2, 'in', 1, 'Purchase Invoice: PUR/2627/0006', 1, '2026-04-14 14:12:32', 0, NULL),
(129, 9, 2, 'in', 2, 'Purchase Invoice: PUR/2627/0006', 1, '2026-04-14 14:12:32', 0, NULL),
(130, 50, 2, 'in', 6, 'Purchase Invoice: PUR/2627/0006', 1, '2026-04-14 14:12:32', 0, NULL),
(131, 9, NULL, 'out', 1, 'Sales Invoice: INV/2627/0062', 1, '2026-04-14 14:16:46', 0, NULL),
(132, 46, NULL, 'out', 1, 'Sales Invoice: INV/2627/0063', 1, '2026-04-14 14:53:50', 0, NULL),
(133, 49, NULL, 'out', 1, 'Sales Invoice: INV/2627/0064', 1, '2026-04-15 07:53:08', 0, NULL),
(134, 50, NULL, 'out', 1, 'Sales Invoice: INV/2627/0065', 1, '2026-04-15 08:08:26', 0, NULL),
(135, 63, NULL, 'out', 1, 'Sales Invoice: INV/2627/0066', 1, '2026-04-15 11:27:54', 0, NULL),
(136, 50, NULL, 'out', 1, 'Sales Invoice: INV/2627/0067', 1, '2026-04-15 14:16:51', 0, NULL),
(137, 49, NULL, 'out', 1, 'Sales Invoice: INV/2627/0068', 1, '2026-04-15 14:35:44', 0, NULL),
(138, 7, NULL, 'out', 1, 'Sales Invoice: INV/2627/0069', 1, '2026-04-16 07:28:10', 0, NULL),
(139, 46, NULL, 'out', 1, 'Sales Invoice: INV/2627/0070', 1, '2026-04-16 15:40:25', 0, NULL),
(140, 32, NULL, 'out', 1, 'Sales Invoice: INV/2627/0071', 1, '2026-04-16 15:48:32', 0, NULL),
(141, 33, NULL, 'out', 1, 'Sales Invoice: INV/2627/0072', 1, '2026-04-17 06:26:12', 0, NULL),
(142, 50, NULL, 'out', 1, 'Sales Invoice: INV/2627/0073', 1, '2026-04-17 09:38:34', 0, NULL),
(143, 68, NULL, 'out', 1, 'Sales Invoice: INV/2627/0074', 1, '2026-04-20 02:08:01', 0, NULL),
(144, 41, NULL, 'out', 1, 'Sales Invoice: INV/2627/0075', 1, '2026-04-20 02:13:28', 0, NULL),
(145, 41, NULL, 'out', 1, 'Sales Invoice: INV/2627/0076', 1, '2026-04-20 02:17:55', 0, NULL),
(146, 51, NULL, 'out', 1, 'Sales Invoice: INV/2627/0077', 1, '2026-04-20 02:22:45', 0, NULL),
(147, 10, 2, 'in', 1, 'Purchase Invoice: PUR/2627/0007', 1, '2026-04-20 02:36:19', 0, NULL),
(148, 46, 2, 'in', 6, 'Purchase Invoice: PUR/2627/0007', 1, '2026-04-20 02:36:19', 0, NULL),
(149, 68, 2, 'in', 4, 'Purchase Invoice: PUR/2627/0008', 1, '2026-04-20 02:41:09', 0, NULL),
(150, 62, 2, 'in', 1, 'Purchase Invoice: PUR/2627/0008', 1, '2026-04-20 02:41:09', 0, NULL),
(151, 9, 2, 'in', 2, 'Purchase Invoice: PUR/2627/0008', 1, '2026-04-20 02:41:09', 0, NULL),
(152, 49, 2, 'in', 6, 'Purchase Invoice: PUR/2627/0008', 1, '2026-04-20 02:41:09', 0, NULL),
(153, 58, NULL, 'out', 1, 'Sales Invoice: INV/2627/0078', 1, '2026-04-20 02:51:05', 0, NULL),
(154, 60, NULL, 'out', 1, 'Sales Invoice: INV/2627/0078', 1, '2026-04-20 02:51:05', 0, NULL),
(155, 46, NULL, 'out', 1, 'Sales Invoice: INV/2627/0079', 1, '2026-04-20 08:33:31', 0, NULL),
(156, 73, NULL, 'out', 1, 'Sales Invoice: INV/2627/0080', 1, '2026-04-20 08:41:34', 0, NULL),
(157, 59, 2, 'in', 2, 'Purchase Invoice: PUR/2627/0009', 1, '2026-04-20 10:41:14', 0, NULL),
(158, 60, 2, 'in', 2, 'Purchase Invoice: PUR/2627/0010', 1, '2026-04-20 10:42:09', 0, NULL),
(159, 41, 2, 'in', 2, 'Purchase Invoice: PUR/2627/0011', 1, '2026-04-20 10:44:41', 0, NULL),
(160, 8, 2, 'in', 2, 'Purchase Invoice: PUR/2627/0011', 1, '2026-04-20 10:44:41', 0, NULL),
(161, 7, 2, 'in', 1, 'Purchase Invoice: PUR/2627/0011', 1, '2026-04-20 10:44:41', 0, NULL),
(162, 58, NULL, 'out', 1, 'Sales Invoice: INV/2627/0081', 1, '2026-04-20 11:32:59', 0, NULL),
(163, 40, NULL, 'out', 1, 'Sales Invoice: INV/2627/0082', 1, '2026-04-20 11:36:39', 0, NULL),
(164, 33, NULL, 'out', 1, 'Sales Invoice: INV/2627/0083', 1, '2026-04-20 12:47:38', 0, NULL),
(165, 72, NULL, 'out', 1, 'Sales Invoice: INV/2627/0084', 1, '2026-04-21 04:35:17', 0, NULL),
(166, 63, NULL, 'out', 1, 'Sales Invoice: INV/2627/0085', 1, '2026-04-21 05:12:06', 0, NULL),
(167, 50, NULL, 'out', 1, 'Sales Invoice: INV/2627/0086', 1, '2026-04-21 14:52:47', 0, NULL),
(168, 51, NULL, 'out', 1, 'Sales Invoice: INV/2627/0087', 1, '2026-04-21 15:59:19', 0, NULL),
(169, 51, NULL, 'out', 1, 'Sales Invoice: INV/2627/0088', 1, '2026-04-21 16:08:26', 0, NULL),
(170, 32, NULL, 'out', 1, 'Sales Invoice: INV/2627/0089', 1, '2026-04-21 16:10:05', 0, NULL),
(171, 49, NULL, 'out', 1, 'Sales Invoice: INV/2627/0090', 1, '2026-04-21 16:11:30', 0, NULL),
(172, 24, NULL, 'out', 1, 'Sales Invoice: INV/2627/0091', 1, '2026-04-21 16:14:40', 0, NULL),
(173, 59, NULL, 'out', 2, 'Sales Invoice: INV/2627/0092', 1, '2026-04-22 01:53:45', 0, NULL),
(174, 60, NULL, 'out', 2, 'Sales Invoice: INV/2627/0092', 1, '2026-04-22 01:53:45', 0, NULL),
(175, 32, NULL, 'out', 1, 'Sales Invoice: INV/2627/0093', 1, '2026-04-22 05:32:32', 0, NULL),
(176, 50, NULL, 'out', 1, 'Sales Invoice: INV/2627/0094', 1, '2026-04-22 10:52:15', 0, NULL),
(177, 9, NULL, 'out', 1, 'Sales Invoice: INV/2627/0095', 1, '2026-04-22 11:47:22', 0, NULL),
(178, 49, NULL, 'out', 1, 'Sales Invoice: INV/2627/0096', 1, '2026-04-24 03:31:02', 0, NULL),
(179, 32, NULL, 'out', 1, 'Sales Invoice: INV/2627/0097', 1, '2026-04-24 06:14:54', 0, NULL),
(180, 38, NULL, 'out', 1, 'Sales Invoice: INV/2627/0098', 1, '2026-04-24 07:09:42', 0, NULL),
(181, 50, NULL, 'out', 1, 'Sales Invoice: INV/2627/0099', 1, '2026-04-24 07:13:41', 0, NULL),
(182, 50, NULL, 'out', 1, 'Sales Invoice: INV/2627/0100', 1, '2026-04-24 07:51:47', 0, NULL),
(183, 50, NULL, 'out', 2, 'Sales Invoice: INV/2627/0101', 1, '2026-04-24 10:58:10', 0, NULL),
(184, 59, 2, 'in', 1, 'Purchase Invoice: PUR/2627/0012', 1, '2026-04-24 14:26:51', 0, NULL),
(185, 24, 2, 'in', 2, 'Purchase Invoice: PUR/2627/0013', 1, '2026-04-24 14:41:34', 0, NULL),
(186, 72, 2, 'in', 1, 'Purchase Invoice: PUR/2627/0013', 1, '2026-04-24 14:41:34', 0, NULL),
(187, 40, 2, 'in', 1, 'Purchase Invoice: PUR/2627/0013', 1, '2026-04-24 14:41:34', 0, NULL),
(188, 33, 2, 'in', 2, 'Purchase Invoice: PUR/2627/0013', 1, '2026-04-24 14:41:34', 0, NULL),
(189, 63, 2, 'in', 2, 'Purchase Invoice: PUR/2627/0013', 1, '2026-04-24 14:41:34', 0, NULL),
(190, 32, 2, 'in', 2, 'Purchase Invoice: PUR/2627/0013', 1, '2026-04-24 14:41:34', 0, NULL),
(191, 38, 2, 'in', 1, 'Purchase Invoice: PUR/2627/0013', 1, '2026-04-24 14:41:34', 0, NULL),
(192, 50, 2, 'in', 6, 'Purchase Invoice: PUR/2627/0013', 1, '2026-04-24 14:41:34', 0, NULL),
(193, 75, NULL, 'in', 1, 'Opening Stock', 1, '2026-04-24 14:43:51', 0, NULL),
(194, 46, NULL, 'out', 1, 'Sales Edit: INV/2627/0101', 1, '2026-04-24 14:52:22', 0, NULL),
(195, 32, NULL, 'out', 1, 'Sales Invoice: INV/2627/0102', 1, '2026-04-24 14:53:58', 0, NULL),
(196, 24, NULL, 'out', 1, 'Sales Invoice: INV/2627/0103', 1, '2026-04-24 14:57:41', 0, NULL),
(197, 49, NULL, 'out', 1, 'Sales Invoice: INV/2627/0104', 1, '2026-04-25 04:31:05', 0, NULL),
(198, 46, NULL, 'out', 1, 'Sales Invoice: INV/2627/0105', 1, '2026-04-25 06:10:47', 0, NULL),
(199, 49, NULL, 'out', 1, 'Sales Invoice: INV/2627/0106', 1, '2026-04-25 06:27:54', 0, NULL),
(200, 49, NULL, 'out', 1, 'Sales Invoice: INV/2627/0107', 1, '2026-04-25 06:54:34', 0, NULL),
(201, 46, NULL, 'out', 1, 'Sales Invoice: INV/2627/0108', 1, '2026-04-25 07:53:46', 0, NULL),
(202, 50, NULL, 'out', 1, 'Sales Invoice: INV/2627/0109', 1, '2026-04-25 11:18:28', 0, NULL),
(203, 68, NULL, 'out', 1, 'Sales Invoice: INV/2627/0110', 1, '2026-04-25 14:43:06', 0, NULL),
(204, 58, NULL, 'out', 1, 'Sales Invoice: INV/2627/0111', 1, '2026-04-25 14:59:44', 0, NULL),
(205, 60, NULL, 'out', 1, 'Sales Invoice: INV/2627/0111', 1, '2026-04-25 14:59:44', 0, NULL),
(206, 38, NULL, 'out', 1, 'Sales Invoice: INV/2627/0112', 1, '2026-04-25 15:07:28', 0, NULL),
(207, 69, NULL, 'out', 1, 'Sales Invoice: INV/2627/0113', 1, '2026-04-25 15:10:02', 0, NULL),
(208, 62, NULL, 'out', 1, 'Sales Invoice: INV/2627/0114', 1, '2026-04-25 15:14:16', 0, NULL),
(209, 60, 2, 'in', 1, 'Purchase Invoice: PUR/2627/0014', 1, '2026-04-25 15:20:13', 0, NULL),
(210, 46, NULL, 'out', 1, 'Sales Invoice: INV/2627/0115', 1, '2026-04-26 05:18:18', 0, NULL),
(211, 41, NULL, 'out', 1, 'Sales Invoice: INV/2627/0116', 1, '2026-04-26 05:23:03', 0, NULL),
(212, 50, NULL, 'out', 1, 'Sales Invoice: INV/2627/0117', 1, '2026-04-26 07:05:20', 0, NULL),
(213, 63, NULL, 'out', 1, 'Sales Invoice: INV/2627/0118', 1, '2026-04-26 07:20:12', 0, NULL),
(214, 68, NULL, 'out', 1, 'Sales Invoice: INV/2627/0119', 1, '2026-04-26 07:26:01', 0, NULL),
(215, 46, NULL, 'out', 1, 'Sales Invoice: INV/2627/0120', 1, '2026-04-27 05:13:40', 0, NULL),
(216, 68, NULL, 'out', 1, 'Sales Invoice: INV/2627/0121', 1, '2026-04-27 06:57:32', 0, NULL),
(217, 50, NULL, 'out', 1, 'Sales Invoice: INV/2627/0122', 1, '2026-04-27 07:02:13', 0, NULL),
(218, 46, NULL, 'out', 1, 'Sales Invoice: INV/2627/0123', 1, '2026-04-27 07:32:48', 0, NULL),
(219, 49, NULL, 'out', 1, 'Sales Invoice: INV/2627/0124', 1, '2026-04-27 10:25:13', 0, NULL),
(220, 49, NULL, 'out', 1, 'Sales Invoice: INV/2627/0125', 1, '2026-04-27 12:51:26', 0, NULL),
(221, 32, NULL, 'out', 1, 'Sales Invoice: INV/2627/0126', 1, '2026-04-27 16:44:28', 0, NULL),
(222, 74, NULL, 'out', 1, 'Sales Invoice: INV/2627/0127', 1, '2026-04-28 07:39:31', 0, NULL),
(223, 9, NULL, 'out', 1, 'Sales Invoice: INV/2627/0128', 1, '2026-04-28 12:45:50', 0, NULL),
(224, 46, NULL, 'out', 1, 'Sales Invoice: INV/2627/0129', 1, '2026-04-30 13:31:27', 0, NULL),
(225, 68, NULL, 'out', 1, 'Sales Invoice: INV/2627/0130', 1, '2026-04-30 13:42:44', 0, NULL),
(226, 46, NULL, 'out', 1, 'Sales Invoice: INV/2627/0131', 1, '2026-04-30 13:49:00', 0, NULL),
(227, 49, NULL, 'out', 1, 'Sales Invoice: INV/2627/0132', 1, '2026-04-30 14:06:22', 0, NULL),
(228, 32, 2, 'in', 2, 'Purchase Invoice: PUR/2627/0015', 1, '2026-04-30 14:17:26', 0, NULL),
(229, 25, 2, 'in', 1, 'Purchase Invoice: PUR/2627/0015', 1, '2026-04-30 14:17:26', 0, NULL),
(230, 24, 2, 'in', 1, 'Purchase Invoice: PUR/2627/0015', 1, '2026-04-30 14:17:26', 0, NULL),
(231, 63, 2, 'in', 1, 'Purchase Invoice: PUR/2627/0015', 1, '2026-04-30 14:17:26', 0, NULL),
(232, 68, 2, 'in', 1, 'Purchase Invoice: PUR/2627/0015', 1, '2026-04-30 14:17:26', 0, NULL),
(233, 50, 2, 'in', 6, 'Purchase Invoice: PUR/2627/0015', 1, '2026-04-30 14:17:26', 0, NULL),
(234, 46, 2, 'in', 6, 'Purchase Invoice: PUR/2627/0015', 1, '2026-04-30 14:17:26', 0, NULL),
(235, 58, 2, 'in', 2, 'Purchase Invoice: PUR/2627/0015', 1, '2026-04-30 14:17:26', 0, NULL),
(236, 60, 2, 'in', 1, 'Purchase Invoice: PUR/2627/0015', 1, '2026-04-30 14:17:26', 0, NULL),
(237, 76, NULL, 'in', 2, 'Opening Stock', 1, '2026-04-30 14:19:27', 0, NULL),
(238, 49, 2, 'in', 6, 'Purchase Invoice: PUR/2627/0016', 1, '2026-04-30 14:24:08', 0, NULL),
(239, 9, 2, 'in', 2, 'Purchase Invoice: PUR/2627/0016', 1, '2026-04-30 14:24:08', 0, NULL),
(240, 68, 2, 'in', 2, 'Purchase Invoice: PUR/2627/0016', 1, '2026-04-30 14:24:08', 0, NULL),
(241, 32, 2, 'in', 2, 'Purchase Invoice: PUR/2627/0016', 1, '2026-04-30 14:24:08', 0, NULL),
(242, 76, NULL, 'out', 1, 'Sales Invoice: INV/2627/0133', 1, '2026-05-01 05:11:26', 0, NULL),
(243, 51, NULL, 'out', 1, 'Sales Invoice: INV/2627/0134', 1, '2026-05-01 05:13:05', 0, NULL),
(244, 68, NULL, 'out', 1, 'Sales Invoice: INV/2627/0135', 1, '2026-05-01 05:15:24', 0, NULL),
(245, 67, NULL, 'out', 1, 'Sales Invoice: INV/2627/0136', 1, '2026-05-01 05:16:16', 0, NULL),
(246, 30, NULL, 'out', 1, 'Sales Invoice: INV/2627/0137', 1, '2026-05-01 05:17:51', 0, NULL),
(247, 8, NULL, 'out', 1, 'Sales Invoice: INV/2627/0138', 1, '2026-05-01 06:18:37', 0, NULL),
(248, 33, NULL, 'out', 1, 'Sales Invoice: INV/2627/0139', 1, '2026-05-01 09:39:35', 0, NULL),
(249, 48, NULL, 'out', 1, 'Sales Invoice: INV/2627/0140', 1, '2026-05-01 09:54:30', 0, NULL),
(250, 63, NULL, 'out', 1, 'Sales Invoice: INV/2627/0141', 1, '2026-05-01 15:56:55', 0, NULL),
(251, 46, NULL, 'out', 1, 'Sales Invoice: INV/2627/0142', 1, '2026-05-01 16:00:38', 0, NULL),
(252, 21, NULL, 'out', 1, 'Sales Invoice: INV/2627/0142', 1, '2026-05-01 16:00:38', 0, NULL),
(253, 58, NULL, 'out', 1, 'Sales Invoice: INV/2627/0143', 1, '2026-05-02 13:23:07', 0, NULL),
(254, 46, NULL, 'out', 1, 'Sales Invoice: INV/2627/0144', 1, '2026-05-02 14:52:50', 0, NULL),
(255, 7, NULL, 'out', 1, 'Sales Invoice: INV/2627/0145', 1, '2026-05-02 14:55:15', 0, NULL),
(256, 60, NULL, 'out', 1, 'Sales Invoice: INV/2627/0146', 1, '2026-05-02 14:57:49', 0, NULL),
(257, 46, NULL, 'out', 1, 'Sales Invoice: INV/2627/0147', 1, '2026-05-04 03:29:34', 0, NULL),
(258, 58, NULL, 'out', 1, 'Sales Edit: INV/2627/0146', 1, '2026-05-04 03:34:21', 0, NULL),
(259, 46, NULL, 'out', 1, 'Sales Invoice: INV/2627/0148', 1, '2026-05-04 08:59:35', 0, NULL),
(260, 63, NULL, 'out', 1, 'Sales Invoice: INV/2627/0149', 1, '2026-05-04 09:23:08', 0, NULL),
(261, 49, NULL, 'out', 1, 'Sales Invoice: INV/2627/0150', 1, '2026-05-05 07:35:35', 0, NULL),
(262, 46, NULL, 'out', 1, 'Sales Invoice: INV/2627/0151', 1, '2026-05-05 08:05:19', 0, NULL),
(263, 48, NULL, 'out', 1, 'Sales Invoice: INV/2627/0152', 1, '2026-05-05 08:13:14', 0, NULL),
(264, 43, NULL, 'out', 1, 'Sales Invoice: INV/2627/0153', 1, '2026-05-05 08:37:34', 0, NULL),
(265, 77, NULL, 'in', 30, 'Opening Stock', 1, '2026-05-05 09:33:56', 0, NULL),
(266, 77, NULL, 'out', 30, 'Sales Invoice: INV/2627/0154', 1, '2026-05-05 09:50:30', 0, NULL),
(267, 77, NULL, 'in', 30, 'Sales Edit: INV/2627/0154', 1, '2026-05-05 12:47:54', 0, NULL),
(268, 50, NULL, 'out', 1, 'Sales Edit: INV/2627/0154', 1, '2026-05-05 12:47:54', 0, NULL),
(269, 77, NULL, 'out', 30, 'Opening Stock Adjustment', 1, '2026-05-05 12:48:43', 0, NULL),
(270, 8, NULL, 'out', 1, 'Sales Invoice: INV/2627/0155', 1, '2026-05-05 12:51:25', 0, NULL),
(271, 59, 2, 'in', 2, 'Purchase Invoice: PUR/2627/0017', 1, '2026-05-05 13:55:14', 0, NULL),
(272, 58, 2, 'in', 2, 'Purchase Invoice: PUR/2627/0017', 1, '2026-05-05 13:55:14', 0, NULL),
(273, 60, 2, 'in', 3, 'Purchase Invoice: PUR/2627/0018', 1, '2026-05-05 13:56:07', 0, NULL),
(274, 32, 2, 'in', 4, 'Purchase Invoice: PUR/2627/0019', 1, '2026-05-05 14:00:26', 0, NULL),
(275, 68, 2, 'in', 2, 'Purchase Invoice: PUR/2627/0019', 1, '2026-05-05 14:00:26', 0, NULL),
(276, 43, 2, 'in', 2, 'Purchase Invoice: PUR/2627/0019', 1, '2026-05-05 14:00:26', 0, NULL),
(277, 38, 2, 'in', 1, 'Purchase Invoice: PUR/2627/0019', 1, '2026-05-05 14:00:26', 0, NULL),
(278, 63, 2, 'in', 2, 'Purchase Invoice: PUR/2627/0019', 1, '2026-05-05 14:00:26', 0, NULL),
(279, 37, 2, 'in', 1, 'Purchase Invoice: PUR/2627/0019', 1, '2026-05-05 14:00:26', 0, NULL),
(280, 30, 2, 'in', 1, 'Purchase Invoice: PUR/2627/0019', 1, '2026-05-05 14:00:26', 0, NULL),
(281, 59, NULL, 'out', 2, 'Sales Invoice: INV/2627/0156', 1, '2026-05-05 14:04:45', 0, NULL),
(282, 68, NULL, 'out', 1, 'Sales Invoice: INV/2627/0157', 1, '2026-05-05 15:08:34', 0, NULL),
(283, 38, NULL, 'out', 1, 'Sales Invoice: INV/2627/0158', 1, '2026-05-06 02:11:59', 0, NULL),
(284, 58, NULL, 'out', 1, 'Sales Invoice: INV/2627/0159', 1, '2026-05-06 03:58:06', 0, NULL),
(285, 46, NULL, 'out', 1, 'Sales Invoice: INV/2627/0160', 1, '2026-05-06 05:32:48', 0, NULL),
(286, 50, NULL, 'out', 1, 'Sales Invoice: INV/2627/0161', 1, '2026-05-06 08:29:35', 0, NULL),
(287, 50, NULL, 'out', 5, 'Sales Invoice: INV/2627/0162', 1, '2026-05-06 14:50:10', 0, NULL),
(288, 50, NULL, 'out', 1, 'Sales Invoice: INV/2627/0163', 1, '2026-05-06 14:52:44', 0, NULL),
(289, 63, NULL, 'out', 1, 'Sales Invoice: INV/2627/0164', 1, '2026-05-07 06:28:44', 0, NULL),
(290, 71, NULL, 'out', 1, 'Sales Invoice: INV/2627/0165', 1, '2026-05-07 12:57:24', 0, NULL),
(291, 46, NULL, 'out', 1, 'Sales Invoice: INV/2627/0166', 1, '2026-05-07 12:58:25', 0, NULL),
(292, 46, NULL, 'out', 1, 'Sales Invoice: INV/2627/0167', 1, '2026-05-07 13:28:06', 0, NULL),
(293, 50, NULL, 'out', 1, 'Sales Invoice: INV/2627/0168', 1, '2026-05-08 04:33:24', 0, NULL),
(294, 49, NULL, 'out', 1, 'Sales Invoice: INV/2627/0169', 1, '2026-05-08 04:48:05', 0, NULL),
(295, 72, NULL, 'out', 1, 'Sales Invoice: INV/2627/0170', 1, '2026-05-08 06:06:24', 0, NULL);

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

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

CREATE TABLE `suppliers` (
  `id` int(10) UNSIGNED NOT NULL,
  `supplier_code` varchar(40) DEFAULT NULL,
  `name` varchar(120) NOT NULL,
  `gstin` varchar(20) NOT NULL DEFAULT '',
  `gtin` varchar(20) NOT NULL DEFAULT '',
  `state_name` varchar(60) DEFAULT NULL,
  `phone` varchar(30) DEFAULT NULL,
  `email` varchar(120) DEFAULT NULL,
  `opening_balance` decimal(12,2) NOT NULL DEFAULT 0.00,
  `address` text DEFAULT NULL,
  `is_deleted` tinyint(1) NOT NULL DEFAULT 0,
  `deleted_at` datetime DEFAULT NULL,
  `created_at` timestamp NOT NULL DEFAULT current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Dumping data for table `suppliers`
--

INSERT INTO `suppliers` (`id`, `supplier_code`, `name`, `gstin`, `gtin`, `state_name`, `phone`, `email`, `opening_balance`, `address`, `is_deleted`, `deleted_at`, `created_at`) VALUES
(1, 'SUP-0001', 'Rapitech', '33JEGNBG676', '33JEGNBG676', 'Tamil Nadu', '8124010173', '', 0.00, 'Coimbatore', 0, NULL, '2026-03-30 17:43:14'),
(2, 'SUP-0002', 'SRI SENTHUR VELAVAN BATTERIES', '33AAIPU1125C2Z5', '33AAIPU1125C2Z5', 'Tamil Nadu', '9994144488', '', 0.00, 'Thiruchengodu road namakkal-637001', 0, NULL, '2026-03-31 06:16:28');

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

--
-- Table structure for table `user_permissions`
--

CREATE TABLE `user_permissions` (
  `id` int(10) UNSIGNED NOT NULL,
  `user_id` int(10) UNSIGNED NOT NULL,
  `module_key` varchar(60) NOT NULL,
  `action_key` varchar(20) NOT NULL,
  `allowed` tinyint(1) NOT NULL DEFAULT 0,
  `updated_at` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Dumping data for table `user_permissions`
--

INSERT INTO `user_permissions` (`id`, `user_id`, `module_key`, `action_key`, `allowed`, `updated_at`) VALUES
(1, 2, 'dashboard', 'view', 0, '2026-03-30 10:46:09'),
(2, 2, 'dashboard', 'add', 0, '2026-03-30 10:46:09'),
(3, 2, 'dashboard', 'edit', 0, '2026-03-30 10:46:09'),
(4, 2, 'dashboard', 'delete', 0, '2026-03-30 10:46:09'),
(5, 2, 'dashboard', 'print', 0, '2026-03-30 10:46:09'),
(6, 2, 'dashboard', 'excel', 0, '2026-03-30 10:46:09'),
(7, 2, 'products', 'view', 0, '2026-03-30 10:46:09'),
(8, 2, 'products', 'add', 0, '2026-03-30 10:46:09'),
(9, 2, 'products', 'edit', 0, '2026-03-30 10:46:09'),
(10, 2, 'products', 'delete', 0, '2026-03-30 10:46:09'),
(11, 2, 'products', 'print', 0, '2026-03-30 10:46:09'),
(12, 2, 'products', 'excel', 0, '2026-03-30 10:46:09'),
(13, 2, 'product_categories', 'view', 0, '2026-03-30 10:46:09'),
(14, 2, 'product_categories', 'add', 0, '2026-03-30 10:46:09'),
(15, 2, 'product_categories', 'edit', 0, '2026-03-30 10:46:09'),
(16, 2, 'product_categories', 'delete', 0, '2026-03-30 10:46:09'),
(17, 2, 'product_categories', 'print', 0, '2026-03-30 10:46:09'),
(18, 2, 'product_categories', 'excel', 0, '2026-03-30 10:46:09'),
(19, 2, 'customers', 'view', 0, '2026-03-30 10:46:09'),
(20, 2, 'customers', 'add', 0, '2026-03-30 10:46:09'),
(21, 2, 'customers', 'edit', 0, '2026-03-30 10:46:09'),
(22, 2, 'customers', 'delete', 0, '2026-03-30 10:46:09'),
(23, 2, 'customers', 'print', 0, '2026-03-30 10:46:09'),
(24, 2, 'customers', 'excel', 0, '2026-03-30 10:46:09'),
(25, 2, 'suppliers', 'view', 0, '2026-03-30 10:46:09'),
(26, 2, 'suppliers', 'add', 0, '2026-03-30 10:46:09'),
(27, 2, 'suppliers', 'edit', 0, '2026-03-30 10:46:09'),
(28, 2, 'suppliers', 'delete', 0, '2026-03-30 10:46:09'),
(29, 2, 'suppliers', 'print', 0, '2026-03-30 10:46:09'),
(30, 2, 'suppliers', 'excel', 0, '2026-03-30 10:46:09'),
(31, 2, 'employees', 'view', 0, '2026-03-30 10:46:09'),
(32, 2, 'employees', 'add', 0, '2026-03-30 10:46:09'),
(33, 2, 'employees', 'edit', 0, '2026-03-30 10:46:09'),
(34, 2, 'employees', 'delete', 0, '2026-03-30 10:46:09'),
(35, 2, 'employees', 'print', 0, '2026-03-30 10:46:09'),
(36, 2, 'employees', 'excel', 0, '2026-03-30 10:46:09'),
(37, 2, 'expense_categories', 'view', 0, '2026-03-30 10:46:09'),
(38, 2, 'expense_categories', 'add', 0, '2026-03-30 10:46:09'),
(39, 2, 'expense_categories', 'edit', 0, '2026-03-30 10:46:09'),
(40, 2, 'expense_categories', 'delete', 0, '2026-03-30 10:46:09'),
(41, 2, 'expense_categories', 'print', 0, '2026-03-30 10:46:09'),
(42, 2, 'expense_categories', 'excel', 0, '2026-03-30 10:46:09'),
(43, 2, 'customer_pricing', 'view', 0, '2026-03-30 10:46:09'),
(44, 2, 'customer_pricing', 'add', 0, '2026-03-30 10:46:09'),
(45, 2, 'customer_pricing', 'edit', 0, '2026-03-30 10:46:09'),
(46, 2, 'customer_pricing', 'delete', 0, '2026-03-30 10:46:09'),
(47, 2, 'customer_pricing', 'print', 0, '2026-03-30 10:46:09'),
(48, 2, 'customer_pricing', 'excel', 0, '2026-03-30 10:46:09'),
(49, 2, 'purchases', 'view', 0, '2026-03-30 10:46:09'),
(50, 2, 'purchases', 'add', 0, '2026-03-30 10:46:09'),
(51, 2, 'purchases', 'edit', 0, '2026-03-30 10:46:09'),
(52, 2, 'purchases', 'delete', 0, '2026-03-30 10:46:09'),
(53, 2, 'purchases', 'print', 0, '2026-03-30 10:46:09'),
(54, 2, 'purchases', 'excel', 0, '2026-03-30 10:46:09'),
(55, 2, 'stock', 'view', 0, '2026-03-30 10:46:09'),
(56, 2, 'stock', 'add', 0, '2026-03-30 10:46:09'),
(57, 2, 'stock', 'edit', 0, '2026-03-30 10:46:09'),
(58, 2, 'stock', 'delete', 0, '2026-03-30 10:46:09'),
(59, 2, 'stock', 'print', 0, '2026-03-30 10:46:09'),
(60, 2, 'stock', 'excel', 0, '2026-03-30 10:46:09'),
(61, 2, 'quotations', 'view', 0, '2026-03-30 10:46:09'),
(62, 2, 'quotations', 'add', 0, '2026-03-30 10:46:09'),
(63, 2, 'quotations', 'edit', 0, '2026-03-30 10:46:09'),
(64, 2, 'quotations', 'delete', 0, '2026-03-30 10:46:09'),
(65, 2, 'quotations', 'print', 0, '2026-03-30 10:46:09'),
(66, 2, 'quotations', 'excel', 0, '2026-03-30 10:46:09'),
(67, 2, 'proforma_invoices', 'view', 0, '2026-03-30 10:46:09'),
(68, 2, 'proforma_invoices', 'add', 0, '2026-03-30 10:46:09'),
(69, 2, 'proforma_invoices', 'edit', 0, '2026-03-30 10:46:09'),
(70, 2, 'proforma_invoices', 'delete', 0, '2026-03-30 10:46:09'),
(71, 2, 'proforma_invoices', 'print', 0, '2026-03-30 10:46:09'),
(72, 2, 'proforma_invoices', 'excel', 0, '2026-03-30 10:46:09'),
(73, 2, 'sales', 'view', 0, '2026-03-30 10:46:09'),
(74, 2, 'sales', 'add', 0, '2026-03-30 10:46:09'),
(75, 2, 'sales', 'edit', 0, '2026-03-30 10:46:09'),
(76, 2, 'sales', 'delete', 0, '2026-03-30 10:46:09'),
(77, 2, 'sales', 'print', 0, '2026-03-30 10:46:09'),
(78, 2, 'sales', 'excel', 0, '2026-03-30 10:46:09'),
(79, 2, 'accounts', 'view', 0, '2026-03-30 10:46:09'),
(80, 2, 'accounts', 'add', 0, '2026-03-30 10:46:09'),
(81, 2, 'accounts', 'edit', 0, '2026-03-30 10:46:09'),
(82, 2, 'accounts', 'delete', 0, '2026-03-30 10:46:09'),
(83, 2, 'accounts', 'print', 0, '2026-03-30 10:46:09'),
(84, 2, 'accounts', 'excel', 0, '2026-03-30 10:46:09'),
(85, 2, 'sales_collections', 'view', 0, '2026-03-30 10:46:09'),
(86, 2, 'sales_collections', 'add', 0, '2026-03-30 10:46:09'),
(87, 2, 'sales_collections', 'edit', 0, '2026-03-30 10:46:09'),
(88, 2, 'sales_collections', 'delete', 0, '2026-03-30 10:46:09'),
(89, 2, 'sales_collections', 'print', 0, '2026-03-30 10:46:09'),
(90, 2, 'sales_collections', 'excel', 0, '2026-03-30 10:46:09'),
(91, 2, 'sales_collections_non_gst', 'view', 0, '2026-03-30 10:46:09'),
(92, 2, 'sales_collections_non_gst', 'add', 0, '2026-03-30 10:46:09'),
(93, 2, 'sales_collections_non_gst', 'edit', 0, '2026-03-30 10:46:09'),
(94, 2, 'sales_collections_non_gst', 'delete', 0, '2026-03-30 10:46:09'),
(95, 2, 'sales_collections_non_gst', 'print', 0, '2026-03-30 10:46:09'),
(96, 2, 'sales_collections_non_gst', 'excel', 0, '2026-03-30 10:46:09'),
(97, 2, 'purchase_payments', 'view', 0, '2026-03-30 10:46:09'),
(98, 2, 'purchase_payments', 'add', 0, '2026-03-30 10:46:09'),
(99, 2, 'purchase_payments', 'edit', 0, '2026-03-30 10:46:09'),
(100, 2, 'purchase_payments', 'delete', 0, '2026-03-30 10:46:09'),
(101, 2, 'purchase_payments', 'print', 0, '2026-03-30 10:46:09'),
(102, 2, 'purchase_payments', 'excel', 0, '2026-03-30 10:46:09'),
(103, 2, 'purchase_payments_non_gst', 'view', 0, '2026-03-30 10:46:09'),
(104, 2, 'purchase_payments_non_gst', 'add', 0, '2026-03-30 10:46:09'),
(105, 2, 'purchase_payments_non_gst', 'edit', 0, '2026-03-30 10:46:09'),
(106, 2, 'purchase_payments_non_gst', 'delete', 0, '2026-03-30 10:46:09'),
(107, 2, 'purchase_payments_non_gst', 'print', 0, '2026-03-30 10:46:09'),
(108, 2, 'purchase_payments_non_gst', 'excel', 0, '2026-03-30 10:46:09'),
(109, 2, 'employee_salary', 'view', 0, '2026-03-30 10:46:09'),
(110, 2, 'employee_salary', 'add', 0, '2026-03-30 10:46:09'),
(111, 2, 'employee_salary', 'edit', 0, '2026-03-30 10:46:09'),
(112, 2, 'employee_salary', 'delete', 0, '2026-03-30 10:46:09'),
(113, 2, 'employee_salary', 'print', 0, '2026-03-30 10:46:09'),
(114, 2, 'employee_salary', 'excel', 0, '2026-03-30 10:46:09'),
(115, 2, 'employee_advances', 'view', 0, '2026-03-30 10:46:09'),
(116, 2, 'employee_advances', 'add', 0, '2026-03-30 10:46:09'),
(117, 2, 'employee_advances', 'edit', 0, '2026-03-30 10:46:09'),
(118, 2, 'employee_advances', 'delete', 0, '2026-03-30 10:46:09'),
(119, 2, 'employee_advances', 'print', 0, '2026-03-30 10:46:09'),
(120, 2, 'employee_advances', 'excel', 0, '2026-03-30 10:46:09'),
(121, 2, 'employee_advance_collections', 'view', 0, '2026-03-30 10:46:09'),
(122, 2, 'employee_advance_collections', 'add', 0, '2026-03-30 10:46:09'),
(123, 2, 'employee_advance_collections', 'edit', 0, '2026-03-30 10:46:09'),
(124, 2, 'employee_advance_collections', 'delete', 0, '2026-03-30 10:46:09'),
(125, 2, 'employee_advance_collections', 'print', 0, '2026-03-30 10:46:09'),
(126, 2, 'employee_advance_collections', 'excel', 0, '2026-03-30 10:46:09'),
(127, 2, 'attendance', 'view', 0, '2026-03-30 10:46:09'),
(128, 2, 'attendance', 'add', 0, '2026-03-30 10:46:09'),
(129, 2, 'attendance', 'edit', 0, '2026-03-30 10:46:09'),
(130, 2, 'attendance', 'delete', 0, '2026-03-30 10:46:09'),
(131, 2, 'attendance', 'print', 0, '2026-03-30 10:46:09'),
(132, 2, 'attendance', 'excel', 0, '2026-03-30 10:46:09'),
(133, 2, 'payroll', 'view', 0, '2026-03-30 10:46:09'),
(134, 2, 'payroll', 'add', 0, '2026-03-30 10:46:09'),
(135, 2, 'payroll', 'edit', 0, '2026-03-30 10:46:09'),
(136, 2, 'payroll', 'delete', 0, '2026-03-30 10:46:09'),
(137, 2, 'payroll', 'print', 0, '2026-03-30 10:46:09'),
(138, 2, 'payroll', 'excel', 0, '2026-03-30 10:46:09'),
(139, 2, 'office_expenses', 'view', 0, '2026-03-30 10:46:09'),
(140, 2, 'office_expenses', 'add', 0, '2026-03-30 10:46:09'),
(141, 2, 'office_expenses', 'edit', 0, '2026-03-30 10:46:09'),
(142, 2, 'office_expenses', 'delete', 0, '2026-03-30 10:46:09'),
(143, 2, 'office_expenses', 'print', 0, '2026-03-30 10:46:09'),
(144, 2, 'office_expenses', 'excel', 0, '2026-03-30 10:46:09'),
(145, 2, 'reports', 'view', 0, '2026-03-30 10:46:09'),
(146, 2, 'reports', 'add', 0, '2026-03-30 10:46:09'),
(147, 2, 'reports', 'edit', 0, '2026-03-30 10:46:09'),
(148, 2, 'reports', 'delete', 0, '2026-03-30 10:46:09'),
(149, 2, 'reports', 'print', 0, '2026-03-30 10:46:09'),
(150, 2, 'reports', 'excel', 0, '2026-03-30 10:46:09'),
(151, 2, 'reports_non_gst', 'view', 0, '2026-03-30 10:46:09'),
(152, 2, 'reports_non_gst', 'add', 0, '2026-03-30 10:46:09'),
(153, 2, 'reports_non_gst', 'edit', 0, '2026-03-30 10:46:09'),
(154, 2, 'reports_non_gst', 'delete', 0, '2026-03-30 10:46:09'),
(155, 2, 'reports_non_gst', 'print', 0, '2026-03-30 10:46:09'),
(156, 2, 'reports_non_gst', 'excel', 0, '2026-03-30 10:46:09'),
(157, 2, 'sales_report', 'view', 0, '2026-03-30 10:46:09'),
(158, 2, 'sales_report', 'add', 0, '2026-03-30 10:46:09'),
(159, 2, 'sales_report', 'edit', 0, '2026-03-30 10:46:09'),
(160, 2, 'sales_report', 'delete', 0, '2026-03-30 10:46:09'),
(161, 2, 'sales_report', 'print', 0, '2026-03-30 10:46:09'),
(162, 2, 'sales_report', 'excel', 0, '2026-03-30 10:46:09'),
(163, 2, 'sales_tax_report', 'view', 0, '2026-03-30 10:46:09'),
(164, 2, 'sales_tax_report', 'add', 0, '2026-03-30 10:46:09'),
(165, 2, 'sales_tax_report', 'edit', 0, '2026-03-30 10:46:09'),
(166, 2, 'sales_tax_report', 'delete', 0, '2026-03-30 10:46:09'),
(167, 2, 'sales_tax_report', 'print', 0, '2026-03-30 10:46:09'),
(168, 2, 'sales_tax_report', 'excel', 0, '2026-03-30 10:46:09'),
(169, 2, 'purchase_report', 'view', 0, '2026-03-30 10:46:09'),
(170, 2, 'purchase_report', 'add', 0, '2026-03-30 10:46:09'),
(171, 2, 'purchase_report', 'edit', 0, '2026-03-30 10:46:09'),
(172, 2, 'purchase_report', 'delete', 0, '2026-03-30 10:46:09'),
(173, 2, 'purchase_report', 'print', 0, '2026-03-30 10:46:09'),
(174, 2, 'purchase_report', 'excel', 0, '2026-03-30 10:46:09'),
(175, 2, 'sales_collection_non_gst_report', 'view', 0, '2026-03-30 10:46:09'),
(176, 2, 'sales_collection_non_gst_report', 'add', 0, '2026-03-30 10:46:09'),
(177, 2, 'sales_collection_non_gst_report', 'edit', 0, '2026-03-30 10:46:09'),
(178, 2, 'sales_collection_non_gst_report', 'delete', 0, '2026-03-30 10:46:09'),
(179, 2, 'sales_collection_non_gst_report', 'print', 0, '2026-03-30 10:46:09'),
(180, 2, 'sales_collection_non_gst_report', 'excel', 0, '2026-03-30 10:46:09'),
(181, 2, 'supplier_payment_non_gst_report', 'view', 0, '2026-03-30 10:46:09'),
(182, 2, 'supplier_payment_non_gst_report', 'add', 0, '2026-03-30 10:46:09'),
(183, 2, 'supplier_payment_non_gst_report', 'edit', 0, '2026-03-30 10:46:09'),
(184, 2, 'supplier_payment_non_gst_report', 'delete', 0, '2026-03-30 10:46:09'),
(185, 2, 'supplier_payment_non_gst_report', 'print', 0, '2026-03-30 10:46:09'),
(186, 2, 'supplier_payment_non_gst_report', 'excel', 0, '2026-03-30 10:46:09'),
(187, 2, 'customer_statement_non_gst_report', 'view', 0, '2026-03-30 10:46:09'),
(188, 2, 'customer_statement_non_gst_report', 'add', 0, '2026-03-30 10:46:09'),
(189, 2, 'customer_statement_non_gst_report', 'edit', 0, '2026-03-30 10:46:09'),
(190, 2, 'customer_statement_non_gst_report', 'delete', 0, '2026-03-30 10:46:09'),
(191, 2, 'customer_statement_non_gst_report', 'print', 0, '2026-03-30 10:46:09'),
(192, 2, 'customer_statement_non_gst_report', 'excel', 0, '2026-03-30 10:46:09'),
(193, 2, 'supplier_statement_non_gst_report', 'view', 0, '2026-03-30 10:46:09'),
(194, 2, 'supplier_statement_non_gst_report', 'add', 0, '2026-03-30 10:46:09'),
(195, 2, 'supplier_statement_non_gst_report', 'edit', 0, '2026-03-30 10:46:09'),
(196, 2, 'supplier_statement_non_gst_report', 'delete', 0, '2026-03-30 10:46:09'),
(197, 2, 'supplier_statement_non_gst_report', 'print', 0, '2026-03-30 10:46:09'),
(198, 2, 'supplier_statement_non_gst_report', 'excel', 0, '2026-03-30 10:46:09'),
(199, 2, 'sales_collection_report', 'view', 0, '2026-03-30 10:46:09'),
(200, 2, 'sales_collection_report', 'add', 0, '2026-03-30 10:46:09'),
(201, 2, 'sales_collection_report', 'edit', 0, '2026-03-30 10:46:09'),
(202, 2, 'sales_collection_report', 'delete', 0, '2026-03-30 10:46:09'),
(203, 2, 'sales_collection_report', 'print', 0, '2026-03-30 10:46:09'),
(204, 2, 'sales_collection_report', 'excel', 0, '2026-03-30 10:46:09'),
(205, 2, 'supplier_payment_report', 'view', 0, '2026-03-30 10:46:09'),
(206, 2, 'supplier_payment_report', 'add', 0, '2026-03-30 10:46:09'),
(207, 2, 'supplier_payment_report', 'edit', 0, '2026-03-30 10:46:09'),
(208, 2, 'supplier_payment_report', 'delete', 0, '2026-03-30 10:46:09'),
(209, 2, 'supplier_payment_report', 'print', 0, '2026-03-30 10:46:09'),
(210, 2, 'supplier_payment_report', 'excel', 0, '2026-03-30 10:46:09'),
(211, 2, 'customer_statement_report', 'view', 0, '2026-03-30 10:46:09'),
(212, 2, 'customer_statement_report', 'add', 0, '2026-03-30 10:46:09'),
(213, 2, 'customer_statement_report', 'edit', 0, '2026-03-30 10:46:09'),
(214, 2, 'customer_statement_report', 'delete', 0, '2026-03-30 10:46:09'),
(215, 2, 'customer_statement_report', 'print', 0, '2026-03-30 10:46:09'),
(216, 2, 'customer_statement_report', 'excel', 0, '2026-03-30 10:46:09'),
(217, 2, 'supplier_statement_report', 'view', 0, '2026-03-30 10:46:09'),
(218, 2, 'supplier_statement_report', 'add', 0, '2026-03-30 10:46:09'),
(219, 2, 'supplier_statement_report', 'edit', 0, '2026-03-30 10:46:09'),
(220, 2, 'supplier_statement_report', 'delete', 0, '2026-03-30 10:46:09'),
(221, 2, 'supplier_statement_report', 'print', 0, '2026-03-30 10:46:09'),
(222, 2, 'supplier_statement_report', 'excel', 0, '2026-03-30 10:46:09'),
(223, 2, 'quotation_report', 'view', 0, '2026-03-30 10:46:09'),
(224, 2, 'quotation_report', 'add', 0, '2026-03-30 10:46:09'),
(225, 2, 'quotation_report', 'edit', 0, '2026-03-30 10:46:09'),
(226, 2, 'quotation_report', 'delete', 0, '2026-03-30 10:46:09'),
(227, 2, 'quotation_report', 'print', 0, '2026-03-30 10:46:09'),
(228, 2, 'quotation_report', 'excel', 0, '2026-03-30 10:46:09'),
(229, 2, 'proforma_invoice_report', 'view', 0, '2026-03-30 10:46:09'),
(230, 2, 'proforma_invoice_report', 'add', 0, '2026-03-30 10:46:09'),
(231, 2, 'proforma_invoice_report', 'edit', 0, '2026-03-30 10:46:09'),
(232, 2, 'proforma_invoice_report', 'delete', 0, '2026-03-30 10:46:09'),
(233, 2, 'proforma_invoice_report', 'print', 0, '2026-03-30 10:46:09'),
(234, 2, 'proforma_invoice_report', 'excel', 0, '2026-03-30 10:46:09'),
(235, 2, 'stock_report', 'view', 0, '2026-04-09 05:25:37'),
(236, 2, 'stock_report', 'add', 0, '2026-03-30 10:46:09'),
(237, 2, 'stock_report', 'edit', 0, '2026-03-30 10:46:09'),
(238, 2, 'stock_report', 'delete', 0, '2026-03-30 10:46:09'),
(239, 2, 'stock_report', 'print', 0, '2026-03-30 10:46:09'),
(240, 2, 'stock_report', 'excel', 0, '2026-03-30 10:46:09'),
(241, 2, 'payroll_report', 'view', 0, '2026-03-30 10:46:09'),
(242, 2, 'payroll_report', 'add', 0, '2026-03-30 10:46:09'),
(243, 2, 'payroll_report', 'edit', 0, '2026-03-30 10:46:09'),
(244, 2, 'payroll_report', 'delete', 0, '2026-03-30 10:46:09'),
(245, 2, 'payroll_report', 'print', 0, '2026-03-30 10:46:09'),
(246, 2, 'payroll_report', 'excel', 0, '2026-03-30 10:46:09'),
(247, 2, 'expense_report', 'view', 0, '2026-03-30 10:46:09'),
(248, 2, 'expense_report', 'add', 0, '2026-03-30 10:46:09'),
(249, 2, 'expense_report', 'edit', 0, '2026-03-30 10:46:09'),
(250, 2, 'expense_report', 'delete', 0, '2026-03-30 10:46:09'),
(251, 2, 'expense_report', 'print', 0, '2026-03-30 10:46:09'),
(252, 2, 'expense_report', 'excel', 0, '2026-03-30 10:46:09'),
(253, 2, 'employee_advance_report', 'view', 0, '2026-03-30 10:46:09'),
(254, 2, 'employee_advance_report', 'add', 0, '2026-03-30 10:46:09'),
(255, 2, 'employee_advance_report', 'edit', 0, '2026-03-30 10:46:09'),
(256, 2, 'employee_advance_report', 'delete', 0, '2026-03-30 10:46:09'),
(257, 2, 'employee_advance_report', 'print', 0, '2026-03-30 10:46:09'),
(258, 2, 'employee_advance_report', 'excel', 0, '2026-03-30 10:46:09'),
(259, 2, 'employee_advance_collection_report', 'view', 0, '2026-03-30 10:46:09'),
(260, 2, 'employee_advance_collection_report', 'add', 0, '2026-03-30 10:46:09'),
(261, 2, 'employee_advance_collection_report', 'edit', 0, '2026-03-30 10:46:09'),
(262, 2, 'employee_advance_collection_report', 'delete', 0, '2026-03-30 10:46:09'),
(263, 2, 'employee_advance_collection_report', 'print', 0, '2026-03-30 10:46:09'),
(264, 2, 'employee_advance_collection_report', 'excel', 0, '2026-03-30 10:46:09'),
(265, 2, 'profit_loss_report', 'view', 0, '2026-03-30 10:46:09'),
(266, 2, 'profit_loss_report', 'add', 0, '2026-03-30 10:46:09'),
(267, 2, 'profit_loss_report', 'edit', 0, '2026-03-30 10:46:09'),
(268, 2, 'profit_loss_report', 'delete', 0, '2026-03-30 10:46:09'),
(269, 2, 'profit_loss_report', 'print', 0, '2026-03-30 10:46:09'),
(270, 2, 'profit_loss_report', 'excel', 0, '2026-03-30 10:46:09'),
(271, 2, 'export_reports', 'view', 0, '2026-03-30 10:46:09'),
(272, 2, 'export_reports', 'add', 0, '2026-03-30 10:46:09'),
(273, 2, 'export_reports', 'edit', 0, '2026-03-30 10:46:09'),
(274, 2, 'export_reports', 'delete', 0, '2026-03-30 10:46:09'),
(275, 2, 'export_reports', 'print', 0, '2026-03-30 10:46:09'),
(276, 2, 'export_reports', 'excel', 0, '2026-03-30 10:46:09'),
(277, 2, 'customer_pending_report', 'view', 0, '2026-04-09 05:24:54'),
(278, 2, 'customer_pending_report', 'add', 0, '2026-04-09 05:24:54'),
(279, 2, 'customer_pending_report', 'edit', 0, '2026-04-09 05:24:54'),
(280, 2, 'customer_pending_report', 'delete', 0, '2026-04-09 05:24:54'),
(281, 2, 'customer_pending_report', 'print', 0, '2026-04-09 05:24:54'),
(282, 2, 'customer_pending_report', 'excel', 0, '2026-04-09 05:24:54'),
(283, 2, 'supplier_pending_report', 'view', 0, '2026-04-09 05:24:54'),
(284, 2, 'supplier_pending_report', 'add', 0, '2026-04-09 05:24:54'),
(285, 2, 'supplier_pending_report', 'edit', 0, '2026-04-09 05:24:54'),
(286, 2, 'supplier_pending_report', 'delete', 0, '2026-04-09 05:24:54'),
(287, 2, 'supplier_pending_report', 'print', 0, '2026-04-09 05:24:54'),
(288, 2, 'supplier_pending_report', 'excel', 0, '2026-04-09 05:24:54');

--
-- Indexes for dumped tables
--

--
-- Indexes for table `customers`
--
ALTER TABLE `customers`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `customer_code` (`customer_code`),
  ADD UNIQUE KEY `ux_customer_name` (`name`);

--
-- Indexes for table `customer_pricing`
--
ALTER TABLE `customer_pricing`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `ux_customer_product_unit` (`customer_id`,`product_id`,`unit`),
  ADD KEY `ix_customer_pricing_customer` (`customer_id`),
  ADD KEY `ix_customer_pricing_product` (`product_id`);

--
-- Indexes for table `employees`
--
ALTER TABLE `employees`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `employee_code` (`employee_code`),
  ADD UNIQUE KEY `ux_employee_name` (`name`);

--
-- Indexes for table `employee_advances`
--
ALTER TABLE `employee_advances`
  ADD PRIMARY KEY (`id`),
  ADD KEY `fk_emp_adv_employee` (`employee_id`),
  ADD KEY `fk_emp_adv_user` (`created_by`);

--
-- Indexes for table `employee_advance_collections`
--
ALTER TABLE `employee_advance_collections`
  ADD PRIMARY KEY (`id`),
  ADD KEY `fk_adv_coll_advance` (`advance_id`),
  ADD KEY `fk_adv_coll_payroll` (`payroll_id`),
  ADD KEY `fk_adv_coll_user` (`created_by`);

--
-- Indexes for table `employee_attendance`
--
ALTER TABLE `employee_attendance`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `ux_attendance_employee_date` (`employee_id`,`attendance_date`),
  ADD KEY `fk_attendance_user` (`created_by`);

--
-- Indexes for table `employee_salary_structures`
--
ALTER TABLE `employee_salary_structures`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `ux_salary_employee_active` (`employee_id`,`is_deleted`);

--
-- Indexes for table `expense_categories`
--
ALTER TABLE `expense_categories`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `ux_expense_category_name` (`category_name`),
  ADD KEY `fk_exp_cat_user` (`created_by`);

--
-- Indexes for table `office_expenses`
--
ALTER TABLE `office_expenses`
  ADD PRIMARY KEY (`id`),
  ADD KEY `fk_office_exp_category` (`category_id`),
  ADD KEY `fk_office_exp_user` (`created_by`);

--
-- Indexes for table `payroll_entries`
--
ALTER TABLE `payroll_entries`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `ux_payroll_employee_month` (`employee_id`,`payroll_month`),
  ADD KEY `fk_payroll_user` (`created_by`);

--
-- Indexes for table `products`
--
ALTER TABLE `products`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `sku` (`sku`);

--
-- Indexes for table `product_categories`
--
ALTER TABLE `product_categories`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `ux_product_category_name` (`category_name`),
  ADD KEY `fk_product_cat_user` (`created_by`);

--
-- Indexes for table `proforma_invoices`
--
ALTER TABLE `proforma_invoices`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `ux_proforma_active` (`proforma_no`,`is_deleted`,`archive_seq`),
  ADD KEY `fk_proforma_user` (`created_by`);

--
-- Indexes for table `proforma_items`
--
ALTER TABLE `proforma_items`
  ADD PRIMARY KEY (`id`),
  ADD KEY `fk_proforma_item_invoice` (`proforma_id`),
  ADD KEY `fk_proforma_item_product` (`product_id`);

--
-- Indexes for table `purchase_invoices`
--
ALTER TABLE `purchase_invoices`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `ux_purchase_invoice_active` (`invoice_no`,`is_deleted`,`archive_seq`),
  ADD UNIQUE KEY `ux_purchase_reference_active` (`reference_code`,`is_deleted`,`archive_seq`),
  ADD KEY `fk_purchase_supplier` (`supplier_id`),
  ADD KEY `fk_purchase_user` (`created_by`);

--
-- Indexes for table `purchase_invoices_non_gst`
--
ALTER TABLE `purchase_invoices_non_gst`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `ux_purchase_ng_invoice_active` (`invoice_no`,`is_deleted`,`archive_seq`),
  ADD UNIQUE KEY `ux_purchase_ng_reference_active` (`reference_code`,`is_deleted`,`archive_seq`),
  ADD KEY `fk_purchase_ng_supplier` (`supplier_id`),
  ADD KEY `fk_purchase_ng_user` (`created_by`);

--
-- Indexes for table `purchase_items`
--
ALTER TABLE `purchase_items`
  ADD PRIMARY KEY (`id`),
  ADD KEY `fk_purchase_item_invoice` (`purchase_id`),
  ADD KEY `fk_purchase_item_product` (`product_id`);

--
-- Indexes for table `purchase_items_non_gst`
--
ALTER TABLE `purchase_items_non_gst`
  ADD PRIMARY KEY (`id`),
  ADD KEY `fk_purchase_ng_item_invoice` (`purchase_id`),
  ADD KEY `fk_purchase_ng_item_product` (`product_id`);

--
-- Indexes for table `purchase_orders`
--
ALTER TABLE `purchase_orders`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `ux_purchase_order_active` (`order_no`,`is_deleted`,`archive_seq`),
  ADD KEY `fk_po_supplier` (`supplier_id`),
  ADD KEY `fk_po_user` (`created_by`);

--
-- Indexes for table `purchase_order_items`
--
ALTER TABLE `purchase_order_items`
  ADD PRIMARY KEY (`id`),
  ADD KEY `fk_po_item_order` (`purchase_order_id`),
  ADD KEY `fk_po_item_product` (`product_id`);

--
-- Indexes for table `purchase_payments`
--
ALTER TABLE `purchase_payments`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `ux_purchase_payment_reference_active` (`reference_code`,`is_deleted`,`archive_seq`),
  ADD KEY `fk_payment_purchase_invoice` (`purchase_invoice_id`),
  ADD KEY `fk_payment_user` (`created_by`);

--
-- Indexes for table `purchase_payments_non_gst`
--
ALTER TABLE `purchase_payments_non_gst`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `ux_purchase_payment_ng_reference_active` (`reference_code`,`is_deleted`,`archive_seq`),
  ADD KEY `fk_payment_ng_purchase_invoice` (`purchase_invoice_id`),
  ADD KEY `fk_payment_ng_user` (`created_by`);

--
-- Indexes for table `quotations`
--
ALTER TABLE `quotations`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `ux_quotation_active` (`quotation_no`,`is_deleted`,`archive_seq`),
  ADD KEY `fk_quotation_user` (`created_by`);

--
-- Indexes for table `quotation_items`
--
ALTER TABLE `quotation_items`
  ADD PRIMARY KEY (`id`),
  ADD KEY `fk_quotation_item_quote` (`quotation_id`),
  ADD KEY `fk_quotation_item_product` (`product_id`);

--
-- Indexes for table `sales_collections`
--
ALTER TABLE `sales_collections`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `ux_sales_collection_reference_active` (`reference_code`,`is_deleted`,`archive_seq`),
  ADD KEY `fk_collection_sale_invoice` (`sale_invoice_id`),
  ADD KEY `fk_collection_user` (`created_by`);

--
-- Indexes for table `sales_collections_non_gst`
--
ALTER TABLE `sales_collections_non_gst`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `ux_sales_collection_ng_reference_active` (`reference_code`,`is_deleted`,`archive_seq`),
  ADD KEY `fk_collection_ng_sale_invoice` (`sale_invoice_id`),
  ADD KEY `fk_collection_ng_user` (`created_by`);

--
-- Indexes for table `sales_invoices`
--
ALTER TABLE `sales_invoices`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `ux_sales_invoice_active` (`invoice_no`,`is_deleted`,`archive_seq`),
  ADD KEY `fk_sales_user` (`created_by`);

--
-- Indexes for table `sales_invoices_non_gst`
--
ALTER TABLE `sales_invoices_non_gst`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `ux_sales_ng_invoice_active` (`invoice_no`,`is_deleted`,`archive_seq`),
  ADD KEY `fk_sales_ng_user` (`created_by`);

--
-- Indexes for table `sales_items`
--
ALTER TABLE `sales_items`
  ADD PRIMARY KEY (`id`),
  ADD KEY `fk_sales_item_invoice` (`sale_id`),
  ADD KEY `fk_sales_item_product` (`product_id`);

--
-- Indexes for table `sales_items_non_gst`
--
ALTER TABLE `sales_items_non_gst`
  ADD PRIMARY KEY (`id`),
  ADD KEY `fk_sales_ng_item_invoice` (`sale_id`),
  ADD KEY `fk_sales_ng_item_product` (`product_id`);

--
-- Indexes for table `stock_transactions`
--
ALTER TABLE `stock_transactions`
  ADD PRIMARY KEY (`id`),
  ADD KEY `fk_stock_product` (`product_id`),
  ADD KEY `fk_stock_supplier` (`supplier_id`),
  ADD KEY `fk_stock_user` (`created_by`);

--
-- Indexes for table `suppliers`
--
ALTER TABLE `suppliers`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `ux_supplier_name` (`name`);

--
-- Indexes for table `user_permissions`
--
ALTER TABLE `user_permissions`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `ux_user_module_action` (`user_id`,`module_key`,`action_key`),
  ADD KEY `ix_user_allowed` (`user_id`,`allowed`);

--
-- AUTO_INCREMENT for dumped tables
--

--
-- AUTO_INCREMENT for table `customers`
--
ALTER TABLE `customers`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=149;

--
-- AUTO_INCREMENT for table `customer_pricing`
--
ALTER TABLE `customer_pricing`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `employees`
--
ALTER TABLE `employees`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `employee_advances`
--
ALTER TABLE `employee_advances`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `employee_advance_collections`
--
ALTER TABLE `employee_advance_collections`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `employee_attendance`
--
ALTER TABLE `employee_attendance`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `employee_salary_structures`
--
ALTER TABLE `employee_salary_structures`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `expense_categories`
--
ALTER TABLE `expense_categories`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4;

--
-- AUTO_INCREMENT for table `office_expenses`
--
ALTER TABLE `office_expenses`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `payroll_entries`
--
ALTER TABLE `payroll_entries`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `products`
--
ALTER TABLE `products`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=78;

--
-- AUTO_INCREMENT for table `product_categories`
--
ALTER TABLE `product_categories`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;

--
-- AUTO_INCREMENT for table `proforma_invoices`
--
ALTER TABLE `proforma_invoices`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=6;

--
-- AUTO_INCREMENT for table `proforma_items`
--
ALTER TABLE `proforma_items`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=6;

--
-- AUTO_INCREMENT for table `purchase_invoices`
--
ALTER TABLE `purchase_invoices`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=22;

--
-- AUTO_INCREMENT for table `purchase_invoices_non_gst`
--
ALTER TABLE `purchase_invoices_non_gst`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;

--
-- AUTO_INCREMENT for table `purchase_items`
--
ALTER TABLE `purchase_items`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=98;

--
-- AUTO_INCREMENT for table `purchase_items_non_gst`
--
ALTER TABLE `purchase_items_non_gst`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4;

--
-- AUTO_INCREMENT for table `purchase_orders`
--
ALTER TABLE `purchase_orders`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4;

--
-- AUTO_INCREMENT for table `purchase_order_items`
--
ALTER TABLE `purchase_order_items`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `purchase_payments`
--
ALTER TABLE `purchase_payments`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `purchase_payments_non_gst`
--
ALTER TABLE `purchase_payments_non_gst`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `quotations`
--
ALTER TABLE `quotations`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `quotation_items`
--
ALTER TABLE `quotation_items`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `sales_collections`
--
ALTER TABLE `sales_collections`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=189;

--
-- AUTO_INCREMENT for table `sales_collections_non_gst`
--
ALTER TABLE `sales_collections_non_gst`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `sales_invoices`
--
ALTER TABLE `sales_invoices`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=195;

--
-- AUTO_INCREMENT for table `sales_invoices_non_gst`
--
ALTER TABLE `sales_invoices_non_gst`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4;

--
-- AUTO_INCREMENT for table `sales_items`
--
ALTER TABLE `sales_items`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=211;

--
-- AUTO_INCREMENT for table `sales_items_non_gst`
--
ALTER TABLE `sales_items_non_gst`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `stock_transactions`
--
ALTER TABLE `stock_transactions`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=296;

--
-- AUTO_INCREMENT for table `suppliers`
--
ALTER TABLE `suppliers`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;

--
-- AUTO_INCREMENT for table `user_permissions`
--
ALTER TABLE `user_permissions`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=289;

--
-- Constraints for dumped tables
--

--
-- Constraints for table `customer_pricing`
--
ALTER TABLE `customer_pricing`
  ADD CONSTRAINT `fk_customer_pricing_customer` FOREIGN KEY (`customer_id`) REFERENCES `customers` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `fk_customer_pricing_product` FOREIGN KEY (`product_id`) REFERENCES `products` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `employee_advances`
--
ALTER TABLE `employee_advances`
  ADD CONSTRAINT `fk_emp_adv_employee` FOREIGN KEY (`employee_id`) REFERENCES `employees` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `fk_emp_adv_user` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE SET NULL;

--
-- Constraints for table `employee_advance_collections`
--
ALTER TABLE `employee_advance_collections`
  ADD CONSTRAINT `fk_adv_coll_advance` FOREIGN KEY (`advance_id`) REFERENCES `employee_advances` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `fk_adv_coll_payroll` FOREIGN KEY (`payroll_id`) REFERENCES `payroll_entries` (`id`) ON DELETE SET NULL,
  ADD CONSTRAINT `fk_adv_coll_user` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE SET NULL;

--
-- Constraints for table `employee_attendance`
--
ALTER TABLE `employee_attendance`
  ADD CONSTRAINT `fk_attendance_employee` FOREIGN KEY (`employee_id`) REFERENCES `employees` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `fk_attendance_user` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE SET NULL;

--
-- Constraints for table `employee_salary_structures`
--
ALTER TABLE `employee_salary_structures`
  ADD CONSTRAINT `fk_salary_employee` FOREIGN KEY (`employee_id`) REFERENCES `employees` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `expense_categories`
--
ALTER TABLE `expense_categories`
  ADD CONSTRAINT `fk_exp_cat_user` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE SET NULL;

--
-- Constraints for table `office_expenses`
--
ALTER TABLE `office_expenses`
  ADD CONSTRAINT `fk_office_exp_category` FOREIGN KEY (`category_id`) REFERENCES `expense_categories` (`id`),
  ADD CONSTRAINT `fk_office_exp_user` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE SET NULL;

--
-- Constraints for table `payroll_entries`
--
ALTER TABLE `payroll_entries`
  ADD CONSTRAINT `fk_payroll_employee` FOREIGN KEY (`employee_id`) REFERENCES `employees` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `fk_payroll_user` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE SET NULL;

--
-- Constraints for table `product_categories`
--
ALTER TABLE `product_categories`
  ADD CONSTRAINT `fk_product_cat_user` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE SET NULL;

--
-- Constraints for table `proforma_invoices`
--
ALTER TABLE `proforma_invoices`
  ADD CONSTRAINT `fk_proforma_user` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE SET NULL;

--
-- Constraints for table `proforma_items`
--
ALTER TABLE `proforma_items`
  ADD CONSTRAINT `fk_proforma_item_invoice` FOREIGN KEY (`proforma_id`) REFERENCES `proforma_invoices` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `fk_proforma_item_product` FOREIGN KEY (`product_id`) REFERENCES `products` (`id`);

--
-- Constraints for table `purchase_invoices`
--
ALTER TABLE `purchase_invoices`
  ADD CONSTRAINT `fk_purchase_supplier` FOREIGN KEY (`supplier_id`) REFERENCES `suppliers` (`id`),
  ADD CONSTRAINT `fk_purchase_user` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE SET NULL;

--
-- Constraints for table `purchase_invoices_non_gst`
--
ALTER TABLE `purchase_invoices_non_gst`
  ADD CONSTRAINT `fk_purchase_ng_supplier` FOREIGN KEY (`supplier_id`) REFERENCES `suppliers` (`id`),
  ADD CONSTRAINT `fk_purchase_ng_user` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE SET NULL;

--
-- Constraints for table `purchase_items`
--
ALTER TABLE `purchase_items`
  ADD CONSTRAINT `fk_purchase_item_invoice` FOREIGN KEY (`purchase_id`) REFERENCES `purchase_invoices` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `fk_purchase_item_product` FOREIGN KEY (`product_id`) REFERENCES `products` (`id`);

--
-- Constraints for table `purchase_items_non_gst`
--
ALTER TABLE `purchase_items_non_gst`
  ADD CONSTRAINT `fk_purchase_ng_item_invoice` FOREIGN KEY (`purchase_id`) REFERENCES `purchase_invoices_non_gst` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `fk_purchase_ng_item_product` FOREIGN KEY (`product_id`) REFERENCES `products` (`id`);

--
-- Constraints for table `purchase_orders`
--
ALTER TABLE `purchase_orders`
  ADD CONSTRAINT `fk_po_supplier` FOREIGN KEY (`supplier_id`) REFERENCES `suppliers` (`id`),
  ADD CONSTRAINT `fk_po_user` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE SET NULL;

--
-- Constraints for table `purchase_order_items`
--
ALTER TABLE `purchase_order_items`
  ADD CONSTRAINT `fk_po_item_order` FOREIGN KEY (`purchase_order_id`) REFERENCES `purchase_orders` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `fk_po_item_product` FOREIGN KEY (`product_id`) REFERENCES `products` (`id`);

--
-- Constraints for table `purchase_payments`
--
ALTER TABLE `purchase_payments`
  ADD CONSTRAINT `fk_payment_purchase_invoice` FOREIGN KEY (`purchase_invoice_id`) REFERENCES `purchase_invoices` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `fk_payment_user` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE SET NULL;

--
-- Constraints for table `purchase_payments_non_gst`
--
ALTER TABLE `purchase_payments_non_gst`
  ADD CONSTRAINT `fk_payment_ng_purchase_invoice` FOREIGN KEY (`purchase_invoice_id`) REFERENCES `purchase_invoices_non_gst` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `fk_payment_ng_user` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE SET NULL;

--
-- Constraints for table `quotations`
--
ALTER TABLE `quotations`
  ADD CONSTRAINT `fk_quotation_user` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE SET NULL;

--
-- Constraints for table `quotation_items`
--
ALTER TABLE `quotation_items`
  ADD CONSTRAINT `fk_quotation_item_product` FOREIGN KEY (`product_id`) REFERENCES `products` (`id`),
  ADD CONSTRAINT `fk_quotation_item_quote` FOREIGN KEY (`quotation_id`) REFERENCES `quotations` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `sales_collections`
--
ALTER TABLE `sales_collections`
  ADD CONSTRAINT `fk_collection_sale_invoice` FOREIGN KEY (`sale_invoice_id`) REFERENCES `sales_invoices` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `fk_collection_user` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE SET NULL;

--
-- Constraints for table `sales_collections_non_gst`
--
ALTER TABLE `sales_collections_non_gst`
  ADD CONSTRAINT `fk_collection_ng_sale_invoice` FOREIGN KEY (`sale_invoice_id`) REFERENCES `sales_invoices_non_gst` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `fk_collection_ng_user` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE SET NULL;

--
-- Constraints for table `sales_invoices`
--
ALTER TABLE `sales_invoices`
  ADD CONSTRAINT `fk_sales_user` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE SET NULL;

--
-- Constraints for table `sales_invoices_non_gst`
--
ALTER TABLE `sales_invoices_non_gst`
  ADD CONSTRAINT `fk_sales_ng_user` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE SET NULL;

--
-- Constraints for table `sales_items`
--
ALTER TABLE `sales_items`
  ADD CONSTRAINT `fk_sales_item_invoice` FOREIGN KEY (`sale_id`) REFERENCES `sales_invoices` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `fk_sales_item_product` FOREIGN KEY (`product_id`) REFERENCES `products` (`id`);

--
-- Constraints for table `sales_items_non_gst`
--
ALTER TABLE `sales_items_non_gst`
  ADD CONSTRAINT `fk_sales_ng_item_invoice` FOREIGN KEY (`sale_id`) REFERENCES `sales_invoices_non_gst` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `fk_sales_ng_item_product` FOREIGN KEY (`product_id`) REFERENCES `products` (`id`);

--
-- Constraints for table `stock_transactions`
--
ALTER TABLE `stock_transactions`
  ADD CONSTRAINT `fk_stock_product` FOREIGN KEY (`product_id`) REFERENCES `products` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `fk_stock_supplier` FOREIGN KEY (`supplier_id`) REFERENCES `suppliers` (`id`) ON DELETE SET NULL,
  ADD CONSTRAINT `fk_stock_user` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE SET NULL;

--
-- Constraints for table `user_permissions`
--
ALTER TABLE `user_permissions`
  ADD CONSTRAINT `fk_user_permissions_user_id` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE;
COMMIT;

