-- Table structure for table `faq`
--

CREATE TABLE `faq` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `pregunta` longtext COLLATE utf8mb4_unicode_ci NOT NULL,
  `respuesta` longtext COLLATE utf8mb4_unicode_ci NOT NULL,
  `habilitado` tinyint(1) NOT NULL DEFAULT '1',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `faq`
--


--
-- Table structure for table `file_upload_details`
--

CREATE TABLE `file_upload_details` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `file_upload_id` int(10) unsigned NOT NULL,
  `detail` longtext COLLATE utf8mb4_unicode_ci NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `file_upload_details_file_upload_id_foreign` (`file_upload_id`),
  CONSTRAINT `file_upload_details_file_upload_id_foreign` FOREIGN KEY (`file_upload_id`) REFERENCES `file_uploads` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `file_upload_details`
--


--
-- Table structure for table `file_uploads`
--

CREATE TABLE `file_uploads` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `data_type_id` int(10) unsigned NOT NULL,
  `user_id` int(10) unsigned NOT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `period_id` int(10) unsigned DEFAULT NULL,
  `path` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `status` int(10) unsigned NOT NULL DEFAULT '1',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `file_uploads_data_type_id_foreign` (`data_type_id`),
  KEY `file_uploads_user_id_foreign` (`user_id`),
  KEY `file_uploads_person_id_foreign` (`person_id`),
  KEY `file_uploads_period_id_foreign` (`period_id`),
  CONSTRAINT `file_uploads_data_type_id_foreign` FOREIGN KEY (`data_type_id`) REFERENCES `data_types` (`id`),
  CONSTRAINT `file_uploads_period_id_foreign` FOREIGN KEY (`period_id`) REFERENCES `periods` (`id`),
  CONSTRAINT `file_uploads_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`),
  CONSTRAINT `file_uploads_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `tusers` (`idUser`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `file_uploads`
--


--
-- Table structure for table `forma_de_entrega`
--

CREATE TABLE `forma_de_entrega` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `descripcion` text COLLATE utf8mb4_unicode_ci NOT NULL,
  `detalle` longtext COLLATE utf8mb4_unicode_ci,
  `habilitado` tinyint(1) NOT NULL DEFAULT '1',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `forma_de_entrega_person_id_foreign` (`person_id`),
  CONSTRAINT `forma_de_entrega_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `forma_de_entrega`
--


--
-- Table structure for table `ganan_art_90`
--

CREATE TABLE `ganan_art_90` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `anio` int(10) unsigned NOT NULL,
  `desde` decimal(16,2) NOT NULL DEFAULT '0.00',
  `hasta` decimal(16,2) NOT NULL DEFAULT '0.00',
  `impuesto` decimal(16,2) NOT NULL DEFAULT '0.00',
  `mas_porcentaje` decimal(16,2) NOT NULL DEFAULT '0.00',
  `excedente` decimal(16,2) NOT NULL DEFAULT '0.00',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=91 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `ganan_art_90`
--

INSERT INTO `ganan_art_90` VALUES (1,2017,0.00,20000.00,0.00,0.05,0.00,'2019-11-15 13:24:27','2019-11-15 13:24:27',NULL),(2,2017,20000.00,40000.00,1000.00,0.09,20000.00,'2019-11-15 13:24:27','2019-11-15 13:24:27',NULL),(3,2017,40000.00,60000.00,2800.00,0.12,40000.00,'2019-11-15 13:24:27','2019-11-15 13:24:27',NULL),(4,2017,60000.00,80000.00,5200.00,0.15,60000.00,'2019-11-15 13:24:27','2019-11-15 13:24:27',NULL),(5,2017,80000.00,120000.00,8200.00,0.19,80000.00,'2019-11-15 13:24:27','2019-11-15 13:24:27',NULL),(6,2017,120000.00,160000.00,15800.00,0.23,120000.00,'2019-11-15 13:24:27','2019-11-15 13:24:27',NULL),(7,2017,160000.00,240000.00,25000.00,0.27,160000.00,'2019-11-15 13:24:27','2019-11-15 13:24:27',NULL),(8,2017,240000.00,320000.00,46600.00,0.31,240000.00,'2019-11-15 13:24:27','2019-11-15 13:24:27',NULL),(9,2017,320000.00,999999999.99,71400.00,0.35,320000.00,'2019-11-15 13:24:27','2019-11-15 13:24:27',NULL),(10,2018,0.00,25754.00,0.00,0.05,0.00,'2019-11-15 13:24:27','2019-11-15 13:24:27',NULL),(11,2018,25754.00,51508.00,1287.70,0.09,25754.00,'2019-11-15 13:24:27','2019-11-15 13:24:27',NULL),(12,2018,51508.00,77262.00,3605.56,0.12,51508.00,'2019-11-15 13:24:27','2019-11-15 13:24:27',NULL),(13,2018,77262.00,103016.00,6696.04,0.15,77262.00,'2019-11-15 13:24:27','2019-11-15 13:24:27',NULL),(14,2018,103016.00,154524.00,10559.14,0.19,103016.00,'2019-11-15 13:24:27','2019-11-15 13:24:27',NULL),(15,2018,154524.00,206032.00,20345.66,0.23,154524.00,'2019-11-15 13:24:27','2019-11-15 13:24:27',NULL),(16,2018,206032.00,309048.00,32192.50,0.27,206032.00,'2019-11-15 13:24:27','2019-11-15 13:24:27',NULL),(17,2018,309048.00,412064.00,60006.82,0.31,309048.00,'2019-11-15 13:24:27','2019-11-15 13:24:27',NULL),(18,2018,412064.00,999999999.99,91941.78,0.35,412064.00,'2019-11-15 13:24:27','2019-11-15 13:24:27',NULL),(19,2019,0.00,33039.81,0.00,0.05,0.00,'2019-11-15 13:24:27','2019-11-15 13:24:27',NULL),(20,2019,33039.81,66079.61,1651.99,0.09,33039.81,'2019-11-15 13:24:27','2019-11-15 13:24:27',NULL),(21,2019,66079.61,99119.42,4625.57,0.12,66079.61,'2019-11-15 13:24:27','2019-11-15 13:24:27',NULL),(22,2019,99119.42,132159.23,8590.35,0.15,99119.42,'2019-11-15 13:24:27','2019-11-15 13:24:27',NULL),(23,2019,132159.23,198238.84,13546.32,0.19,132159.23,'2019-11-15 13:24:27','2019-11-15 13:24:27',NULL),(24,2019,198238.84,264318.45,26101.45,0.23,198238.84,'2019-11-15 13:24:27','2019-11-15 13:24:27',NULL),(25,2019,264318.45,396477.68,41299.76,0.27,264318.45,'2019-11-15 13:24:27','2019-11-15 13:24:27',NULL),(26,2019,396477.68,528636.91,76982.75,0.31,396477.68,'2019-11-15 13:24:27','2019-11-15 13:24:27',NULL),(27,2019,528636.91,999999999.99,117952.11,0.35,528636.91,'2019-11-15 13:24:27','2019-11-15 13:24:27',NULL),(28,2016,0.00,10000.00,0.00,0.09,0.00,'2020-01-28 13:48:34','2020-02-27 02:59:44',NULL),(29,2016,10000.00,20000.00,900.00,0.14,10000.00,'2020-01-28 13:48:34','2020-02-27 02:59:44',NULL),(30,2016,20000.00,30000.00,2300.00,0.19,20000.00,'2020-01-28 13:48:34','2020-02-27 02:59:44',NULL),(31,2016,30000.00,60000.00,4200.00,0.23,30000.00,'2020-01-28 13:48:34','2020-02-27 02:59:44',NULL),(32,2016,60000.00,90000.00,11100.00,0.27,60000.00,'2020-01-28 13:48:34','2020-02-27 02:59:44',NULL),(33,2016,90000.00,120000.00,19200.00,0.31,90000.00,'2020-01-28 13:48:34','2020-02-27 02:59:44',NULL),(34,2016,120000.00,999999999.00,28500.00,0.35,120000.00,'2020-01-28 13:48:34','2020-02-27 02:59:44',NULL),(37,2020,0.00,47669.16,0.00,0.05,0.00,'2020-01-28 14:17:39','2020-01-28 14:17:39',NULL),(38,2020,47669.16,95338.32,2383.46,0.09,47669.16,'2020-01-28 14:17:39','2020-01-28 14:17:39',NULL),(39,2020,95338.32,143007.48,6673.68,0.12,95338.32,'2020-01-28 14:17:39','2020-01-28 14:17:39',NULL),(40,2020,143007.48,190676.65,12393.98,0.15,143007.48,'2020-01-28 14:17:39','2020-01-28 14:17:39',NULL),(41,2020,190676.65,286014.96,19544.36,0.19,190676.65,'2020-01-28 14:17:39','2023-02-16 08:52:54',NULL),(42,2020,286014.96,381353.28,37658.64,0.23,286014.96,'2020-01-28 14:17:39','2020-01-28 14:17:39',NULL);
INSERT INTO `ganan_art_90` VALUES (43,2020,381353.28,572029.92,59586.45,0.27,381353.28,'2020-01-28 14:17:39','2020-01-28 14:17:39',NULL),(44,2020,572029.92,762706.57,111069.14,0.31,572029.92,'2020-01-28 14:17:39','2020-01-28 14:17:39',NULL),(45,2020,762706.57,999999999.99,170178.90,0.35,762706.57,'2020-01-28 14:17:39','2020-01-28 14:17:39',NULL),(46,2021,0.00,64532.64,0.00,0.05,0.00,'2023-02-16 08:52:55','2023-02-16 08:52:55',NULL),(47,2021,64532.64,129065.29,3226.63,0.09,64532.64,'2023-02-16 08:52:55','2023-02-16 08:52:55',NULL),(48,2021,129065.29,193597.93,9034.57,0.12,129065.29,'2023-02-16 08:52:55','2023-02-16 08:52:55',NULL),(49,2021,193597.93,258130.58,16778.49,0.15,193597.93,'2023-02-16 08:52:55','2023-02-16 08:52:55',NULL),(50,2021,258130.58,387195.86,26458.39,0.19,258130.58,'2023-02-16 08:52:55','2023-02-16 08:52:55',NULL),(51,2021,387195.86,516261.14,50980.79,0.23,387195.86,'2023-02-16 08:52:55','2023-02-16 08:53:02',NULL),(52,2021,516261.14,774391.71,80665.80,0.27,516261.14,'2023-02-16 08:52:55','2023-02-16 08:52:55',NULL),(53,2021,774391.71,1032522.30,150361.06,0.31,774391.71,'2023-02-16 08:52:55','2023-02-16 08:52:55',NULL),(54,2021,1032522.30,999999999.99,230381.54,0.35,1032522.30,'2023-02-16 08:52:55','2023-02-16 08:52:55',NULL),(55,2022,0.00,97201.99,0.00,0.05,0.00,'2023-02-16 08:52:58','2023-02-16 08:52:59',NULL),(56,2022,97201.99,194404.01,4860.10,0.09,97201.99,'2023-02-16 08:52:58','2023-02-16 08:52:58',NULL),(57,2022,194404.01,291606.01,13608.29,0.12,194404.01,'2023-02-16 08:52:58','2023-02-16 08:52:58',NULL),(58,2022,291606.01,388808.02,25272.52,0.15,291606.01,'2023-02-16 08:52:58','2023-02-16 08:52:58',NULL),(59,2022,388808.02,583212.02,39852.82,0.19,388808.02,'2023-02-16 08:52:58','2023-02-16 08:52:58',NULL),(60,2022,583212.02,777616.02,76789.59,0.23,583212.02,'2023-02-16 08:52:58','2023-02-16 08:52:58',NULL),(61,2022,777616.02,1166424.03,121502.49,0.27,777616.02,'2023-02-16 08:52:58','2023-02-16 08:52:58',NULL),(62,2022,1166424.03,1555232.07,226480.67,0.31,1166424.03,'2023-02-16 08:52:58','2023-02-16 08:52:58',NULL),(63,2022,1555232.07,999999999.99,347011.15,0.35,1555232.07,'2023-02-16 08:52:58','2023-08-01 14:41:56',NULL),(64,2023,0.00,1400000.00,0.00,0.00,0.00,'2023-02-16 08:53:04','2023-09-25 22:07:06',NULL),(65,2023,1400000.00,1526000.00,0.00,0.09,1400000.00,'2023-02-16 08:53:04','2023-09-25 22:07:06',NULL),(66,2023,1526000.00,1648080.00,11340.00,0.12,1526000.00,'2023-02-16 08:53:04','2023-09-25 22:07:06',NULL),(67,2023,1648080.00,1763445.60,25989.60,0.15,1648080.00,'2023-02-16 08:53:04','2023-09-25 22:07:06',NULL),(68,2023,1763445.60,1869252.34,43294.44,0.19,1763445.60,'2023-02-16 08:53:04','2023-09-25 22:07:06',NULL),(69,2023,1869252.34,1962714.95,63397.72,0.23,1869252.34,'2023-02-16 08:53:04','2023-09-25 22:07:06',NULL),(70,2023,1962714.95,2041223.55,84894.12,0.27,1962714.95,'2023-02-16 08:53:04','2023-09-25 22:07:06',NULL),(71,2023,2041223.55,2102460.26,106091.44,0.31,2041223.55,'2023-02-16 08:53:04','2023-09-25 22:07:06',NULL),(72,2023,2102460.26,999999999.00,125074.82,0.35,2102460.26,'2023-02-16 08:53:04','2023-09-25 22:07:06',NULL),(73,2024,0.00,1360200.00,0.00,0.05,0.00,NULL,NULL,NULL),(74,2024,1360200.00,2720400.00,68010.00,0.09,1360200.00,NULL,NULL,NULL),(75,2024,2720400.00,4080600.00,190428.00,0.12,2720400.00,NULL,NULL,NULL),(76,2024,4080600.00,6120900.00,353652.00,0.15,4080600.00,NULL,NULL,NULL),(77,2024,6120900.00,12241800.00,659697.00,0.19,6120900.00,NULL,NULL,NULL),(78,2024,12241800.00,18362700.00,1822668.00,0.23,12241800.00,NULL,NULL,NULL),(79,2024,18362700.00,27544050.00,3230475.00,0.27,18362700.00,NULL,NULL,NULL),(80,2024,27544050.00,41316075.00,5709439.50,0.31,27544050.00,NULL,NULL,NULL),(81,2024,41316075.00,9999999999.00,9978767.25,0.35,41316075.00,NULL,NULL,NULL),(82,2025,0.00,1520371.67,0.00,0.05,0.00,NULL,NULL,NULL),(83,2025,1520371.67,3040743.34,76018.58,0.09,1520371.67,NULL,NULL,NULL),(84,2025,3040743.34,4561115.01,212852.03,0.12,3040743.34,NULL,NULL,NULL);
INSERT INTO `ganan_art_90` VALUES (85,2025,4561115.01,6841672.52,395296.63,0.15,4561115.01,NULL,NULL,NULL),(86,2025,6841672.52,13683345.04,737380.26,0.19,6841672.52,NULL,NULL,NULL),(87,2025,13683345.04,20525017.56,2037298.04,0.23,13683345.04,NULL,NULL,NULL),(88,2025,20525017.56,30787526.34,3610882.72,0.27,20525017.56,NULL,NULL,NULL),(89,2025,30787526.34,46181289.52,6381760.09,0.31,30787526.34,NULL,NULL,NULL),(90,2025,46181289.52,999999999999.00,11153826.67,0.35,46181289.52,NULL,NULL,NULL);

--
-- Table structure for table `ganan_categorias`
--

CREATE TABLE `ganan_categorias` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `nombre` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `status` tinyint(1) NOT NULL DEFAULT '1',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `ganan_categorias`
--

INSERT INTO `ganan_categorias` VALUES (1,'Primera',1,'2019-11-15 13:24:28','2019-11-15 13:24:28',NULL),(2,'Segunda',1,'2019-11-15 13:24:28','2019-11-15 13:24:28',NULL),(3,'Tercera',1,'2019-11-15 13:24:28','2019-11-15 13:24:28',NULL),(4,'Cuarta',1,'2019-11-15 13:24:28','2019-11-15 13:24:28',NULL);

--
-- Table structure for table `ganan_conceptos_anticipos`
--

CREATE TABLE `ganan_conceptos_anticipos` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `nombre` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `status` tinyint(1) NOT NULL DEFAULT '1',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `ganan_conceptos_anticipos_nombre_unique` (`nombre`)
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `ganan_conceptos_anticipos`
--

INSERT INTO `ganan_conceptos_anticipos` VALUES (1,NULL,'Anticipos',1,'2019-11-15 13:24:27','2019-11-15 13:24:27',NULL),(2,NULL,'Retenciones y Percepciones',1,'2019-11-15 13:24:27','2019-11-15 13:24:27',NULL),(3,NULL,'Saldo a Favor Anterior',1,'2019-11-15 13:24:27','2019-11-15 13:24:27',NULL);

--
-- Table structure for table `ganan_ddjj_detail_anticipos`
--

CREATE TABLE `ganan_ddjj_detail_anticipos` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `ganan_ddjj_id` int(10) unsigned NOT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `ganan_concepto_anticipo_id` int(10) unsigned NOT NULL,
  `importe` decimal(16,2) NOT NULL DEFAULT '0.00',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `ganan_ddjj_detail_anticipos_ganan_ddjj_id_foreign` (`ganan_ddjj_id`),
  KEY `ganan_ddjj_detail_anticipos_person_id_foreign` (`person_id`),
  KEY `ganan_ddjj_detail_anticipos_ganan_concepto_anticipo_id_foreign` (`ganan_concepto_anticipo_id`),
  CONSTRAINT `ganan_ddjj_detail_anticipos_ganan_concepto_anticipo_id_foreign` FOREIGN KEY (`ganan_concepto_anticipo_id`) REFERENCES `ganan_conceptos_anticipos` (`id`),
  CONSTRAINT `ganan_ddjj_detail_anticipos_ganan_ddjj_id_foreign` FOREIGN KEY (`ganan_ddjj_id`) REFERENCES `ganan_ddjjs` (`id`),
  CONSTRAINT `ganan_ddjj_detail_anticipos_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=19 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `ganan_ddjj_detail_anticipos`
--

INSERT INTO `ganan_ddjj_detail_anticipos` VALUES (1,8522,1,40718,1,0.00,'2023-03-01 22:21:44','2023-03-01 22:21:44',NULL),(2,8522,1,40718,2,0.00,'2023-03-01 22:21:44','2023-03-01 22:21:44',NULL),(3,8522,1,40718,3,0.00,'2023-03-01 22:21:44','2023-03-01 22:21:44',NULL),(4,9435,2,40816,1,0.00,'2023-08-04 00:23:43','2023-08-04 00:23:43',NULL),(5,9435,2,40816,2,0.00,'2023-08-04 00:23:43','2023-08-04 00:23:43',NULL),(6,9435,2,40816,3,0.00,'2023-08-04 00:23:43','2023-08-04 00:23:43',NULL),(7,9435,3,40820,1,0.00,'2023-08-09 01:35:44','2023-08-09 01:35:44',NULL),(8,9435,3,40820,2,0.00,'2023-08-09 01:35:44','2023-08-09 01:35:44',NULL),(9,9435,3,40820,3,0.00,'2023-08-09 01:35:44','2023-08-09 01:35:44',NULL),(10,9435,4,41176,1,0.00,'2023-10-31 10:39:26','2023-10-31 10:39:26',NULL),(11,9435,4,41176,2,0.00,'2023-10-31 10:39:26','2023-10-31 10:39:26',NULL),(12,9435,4,41176,3,0.00,'2023-10-31 10:39:26','2023-10-31 10:39:26',NULL),(13,9435,5,40827,1,0.00,'2023-11-02 19:10:36','2023-11-02 19:10:36',NULL),(14,9435,5,40827,2,0.00,'2023-11-02 19:10:36','2023-11-02 19:10:36',NULL),(15,9435,5,40827,3,0.00,'2023-11-02 19:10:36','2023-11-02 19:10:36',NULL),(16,9435,6,40816,1,0.00,'2024-09-23 19:48:40','2024-09-23 19:48:40',NULL),(17,9435,6,40816,2,0.00,'2024-09-23 19:48:40','2024-09-23 19:48:40',NULL),(18,9435,6,40816,3,0.00,'2024-09-23 19:48:40','2024-09-23 19:48:40',NULL);

--
-- Table structure for table `ganan_ddjj_detail_deducciones`
--

CREATE TABLE `ganan_ddjj_detail_deducciones` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `ganan_ddjj_id` int(10) unsigned NOT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `ganan_deduccion_id` int(10) unsigned NOT NULL,
  `importe` decimal(16,2) NOT NULL DEFAULT '0.00',
  `comentario` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `ganan_ddjj_detail_deducciones_ganan_ddjj_id_foreign` (`ganan_ddjj_id`),
  KEY `ganan_ddjj_detail_deducciones_person_id_foreign` (`person_id`),
  KEY `ganan_ddjj_detail_deducciones_ganan_deduccion_id_foreign` (`ganan_deduccion_id`),
  CONSTRAINT `ganan_ddjj_detail_deducciones_ganan_ddjj_id_foreign` FOREIGN KEY (`ganan_ddjj_id`) REFERENCES `ganan_ddjjs` (`id`),
  CONSTRAINT `ganan_ddjj_detail_deducciones_ganan_deduccion_id_foreign` FOREIGN KEY (`ganan_deduccion_id`) REFERENCES `ganan_deducciones` (`id`),
  CONSTRAINT `ganan_ddjj_detail_deducciones_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=124 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `ganan_ddjj_detail_deducciones`
--

INSERT INTO `ganan_ddjj_detail_deducciones` VALUES (1,8522,1,40718,110,323232.32,NULL,'2023-03-01 22:21:44','2023-03-01 22:21:44',NULL),(2,8522,1,40718,111,0.00,NULL,'2023-03-01 22:21:44','2023-03-01 22:21:44',NULL),(3,8522,1,40718,112,0.00,NULL,'2023-03-01 22:21:44','2023-03-01 22:21:44',NULL),(4,8522,1,40718,113,0.00,NULL,'2023-03-01 22:21:44','2023-03-01 22:21:44',NULL),(5,8522,1,40718,114,0.00,NULL,'2023-03-01 22:21:44','2023-03-01 22:21:44',NULL),(6,8522,1,40718,115,0.00,NULL,'2023-03-01 22:21:44','2023-03-01 22:21:44',NULL),(7,8522,1,40718,116,0.00,NULL,'2023-03-01 22:21:44','2023-03-01 22:21:44',NULL),(8,8522,1,40718,117,0.00,NULL,'2023-03-01 22:21:44','2023-03-01 22:21:44',NULL),(9,8522,1,40718,118,0.00,NULL,'2023-03-01 22:21:44','2023-03-01 22:21:44',NULL),(10,8522,1,40718,119,0.00,NULL,'2023-03-01 22:21:44','2023-03-01 22:21:44',NULL),(11,8522,1,40718,120,0.00,NULL,'2023-03-01 22:21:44','2023-03-01 22:21:44',NULL),(12,8522,1,40718,121,0.00,NULL,'2023-03-01 22:21:44','2023-03-01 22:21:44',NULL),(13,8522,1,40718,122,0.00,NULL,'2023-03-01 22:21:44','2023-03-01 22:21:44',NULL),(14,8522,1,40718,123,0.00,NULL,'2023-03-01 22:21:44','2023-03-01 22:21:44',NULL),(15,8522,1,40718,124,0.00,NULL,'2023-03-01 22:21:44','2023-03-01 22:21:44',NULL),(16,8522,1,40718,125,0.00,NULL,'2023-03-01 22:21:44','2023-03-01 22:21:44',NULL),(17,8522,1,40718,126,0.00,NULL,'2023-03-01 22:21:44','2023-03-01 22:21:44',NULL),(18,8522,1,40718,127,0.00,NULL,'2023-03-01 22:21:44','2023-03-01 22:21:44',NULL),(19,8522,1,40718,150,0.00,NULL,'2023-03-01 22:21:44','2023-03-01 22:21:44',NULL),(20,9435,2,40816,128,0.00,NULL,'2023-08-04 00:23:43','2023-08-04 00:23:43',NULL),(21,9435,2,40816,129,0.00,NULL,'2023-08-04 00:23:43','2023-08-04 00:23:43',NULL),(22,9435,2,40816,130,0.00,NULL,'2023-08-04 00:23:43','2023-08-04 00:23:43',NULL),(23,9435,2,40816,131,0.00,NULL,'2023-08-04 00:23:43','2023-08-04 00:23:43',NULL),(24,9435,2,40816,132,0.00,NULL,'2023-08-04 00:23:43','2023-08-04 00:23:43',NULL),(25,9435,2,40816,133,0.00,NULL,'2023-08-04 00:23:43','2023-08-04 00:23:43',NULL),(26,9435,2,40816,134,0.00,NULL,'2023-08-04 00:23:43','2023-08-04 00:23:43',NULL),(27,9435,2,40816,135,0.00,NULL,'2023-08-04 00:23:43','2023-08-04 00:23:43',NULL),(28,9435,2,40816,136,0.00,NULL,'2023-08-04 00:23:43','2023-08-04 00:23:43',NULL),(29,9435,2,40816,137,0.00,NULL,'2023-08-04 00:23:43','2023-08-04 00:23:43',NULL),(30,9435,2,40816,138,0.00,NULL,'2023-08-04 00:23:43','2023-08-04 00:23:43',NULL),(31,9435,2,40816,139,0.00,NULL,'2023-08-04 00:23:43','2023-08-04 00:23:43',NULL),(32,9435,2,40816,140,0.00,NULL,'2023-08-04 00:23:43','2023-08-04 00:23:43',NULL),(33,9435,2,40816,141,0.00,NULL,'2023-08-04 00:23:43','2023-08-04 00:23:43',NULL),(34,9435,2,40816,142,0.00,NULL,'2023-08-04 00:23:43','2023-08-04 00:23:43',NULL),(35,9435,2,40816,143,0.00,NULL,'2023-08-04 00:23:43','2023-08-04 00:23:43',NULL),(36,9435,2,40816,144,0.00,NULL,'2023-08-04 00:23:43','2023-08-04 00:23:43',NULL),(37,9435,2,40816,145,0.00,NULL,'2023-08-04 00:23:43','2023-08-04 00:23:43',NULL),(38,9435,2,40816,146,0.00,NULL,'2023-08-04 00:23:43','2023-08-04 00:23:43',NULL),(39,9435,2,40816,147,0.00,NULL,'2023-08-04 00:23:43','2023-08-04 00:23:43',NULL),(40,9435,2,40816,148,0.00,NULL,'2023-08-04 00:23:43','2023-08-04 00:23:43',NULL),(41,9435,2,40816,149,0.00,NULL,'2023-08-04 00:23:43','2023-08-04 00:23:43',NULL),(42,9435,3,40820,110,0.00,NULL,'2023-08-09 01:35:44','2023-08-09 01:35:44',NULL),(43,9435,3,40820,111,0.00,NULL,'2023-08-09 01:35:44','2023-08-09 01:35:44',NULL),(44,9435,3,40820,112,0.00,NULL,'2023-08-09 01:35:44','2023-08-09 01:35:44',NULL),(45,9435,3,40820,113,0.00,NULL,'2023-08-09 01:35:44','2023-08-09 01:35:44',NULL),(46,9435,3,40820,114,0.00,NULL,'2023-08-09 01:35:44','2023-08-09 01:35:44',NULL),(47,9435,3,40820,115,0.00,NULL,'2023-08-09 01:35:44','2023-08-09 01:35:44',NULL),(48,9435,3,40820,116,0.00,NULL,'2023-08-09 01:35:44','2023-08-09 01:35:44',NULL),(49,9435,3,40820,117,0.00,NULL,'2023-08-09 01:35:44','2023-08-09 01:35:44',NULL);
INSERT INTO `ganan_ddjj_detail_deducciones` VALUES (50,9435,3,40820,118,0.00,NULL,'2023-08-09 01:35:44','2023-08-09 01:35:44',NULL),(51,9435,3,40820,119,0.00,NULL,'2023-08-09 01:35:44','2023-08-09 01:35:44',NULL),(52,9435,3,40820,120,0.00,NULL,'2023-08-09 01:35:44','2023-08-09 01:35:44',NULL),(53,9435,3,40820,121,0.00,NULL,'2023-08-09 01:35:44','2023-08-09 01:35:44',NULL),(54,9435,3,40820,122,0.00,NULL,'2023-08-09 01:35:44','2023-08-09 01:35:44',NULL),(55,9435,3,40820,123,0.00,NULL,'2023-08-09 01:35:44','2023-08-09 01:35:44',NULL),(56,9435,3,40820,124,0.00,NULL,'2023-08-09 01:35:44','2023-08-09 01:35:44',NULL),(57,9435,3,40820,125,78833.08,NULL,'2023-08-09 01:35:44','2023-08-09 01:35:44',NULL),(58,9435,3,40820,126,167678.40,NULL,'2023-08-09 01:35:44','2023-08-09 01:35:44',NULL),(59,9435,3,40820,127,0.00,NULL,'2023-08-09 01:35:44','2023-08-09 01:35:44',NULL),(60,9435,3,40820,150,0.00,NULL,'2023-08-09 01:35:44','2023-08-09 01:35:44',NULL),(61,9435,4,41176,151,0.00,'','2023-10-31 10:39:26','2023-10-31 10:39:26',NULL),(62,9435,4,41176,152,0.00,'','2023-10-31 10:39:26','2023-10-31 10:39:26',NULL),(63,9435,4,41176,153,0.00,'','2023-10-31 10:39:26','2023-10-31 10:39:26',NULL),(64,9435,4,41176,154,0.00,'','2023-10-31 10:39:26','2023-10-31 10:39:26',NULL),(65,9435,4,41176,155,0.00,'','2023-10-31 10:39:26','2023-10-31 10:39:26',NULL),(66,9435,4,41176,156,0.00,'','2023-10-31 10:39:26','2023-10-31 10:39:26',NULL),(67,9435,4,41176,157,0.00,'','2023-10-31 10:39:26','2023-10-31 10:39:26',NULL),(68,9435,4,41176,158,0.00,'','2023-10-31 10:39:26','2023-10-31 10:39:26',NULL),(69,9435,4,41176,159,0.00,'','2023-10-31 10:39:26','2023-10-31 10:39:26',NULL),(70,9435,4,41176,160,0.00,'','2023-10-31 10:39:26','2023-10-31 10:39:26',NULL),(71,9435,4,41176,161,0.00,'','2023-10-31 10:39:26','2023-10-31 10:39:26',NULL),(72,9435,4,41176,162,0.00,'','2023-10-31 10:39:26','2023-10-31 10:39:26',NULL),(73,9435,4,41176,163,0.00,'','2023-10-31 10:39:26','2023-10-31 10:39:26',NULL),(74,9435,4,41176,164,0.00,'','2023-10-31 10:39:26','2023-10-31 10:39:26',NULL),(75,9435,4,41176,165,0.00,'','2023-10-31 10:39:26','2023-10-31 10:39:26',NULL),(76,9435,4,41176,166,0.00,'','2023-10-31 10:39:26','2023-10-31 10:39:26',NULL),(77,9435,4,41176,167,0.00,'','2023-10-31 10:39:26','2023-10-31 10:39:26',NULL),(78,9435,4,41176,168,0.00,'','2023-10-31 10:39:26','2023-10-31 10:39:26',NULL),(79,9435,4,41176,169,0.00,'','2023-10-31 10:39:26','2023-10-31 10:39:26',NULL),(80,9435,4,41176,170,0.00,'','2023-10-31 10:39:26','2023-10-31 10:39:26',NULL),(81,9435,4,41176,171,0.00,'','2023-10-31 10:39:26','2023-10-31 10:39:26',NULL),(82,9435,4,41176,172,0.00,'','2023-10-31 10:39:26','2023-10-31 10:39:26',NULL),(83,9435,5,40827,151,0.00,'','2023-11-02 19:10:36','2023-11-02 19:10:36',NULL),(84,9435,5,40827,152,0.00,'','2023-11-02 19:10:36','2023-11-02 19:10:36',NULL),(85,9435,5,40827,153,0.00,'','2023-11-02 19:10:36','2023-11-02 19:10:36',NULL),(86,9435,5,40827,154,0.00,'','2023-11-02 19:10:36','2023-11-02 19:10:36',NULL),(87,9435,5,40827,155,0.00,'','2023-11-02 19:10:36','2023-11-02 19:10:36',NULL),(88,9435,5,40827,156,0.00,'','2023-11-02 19:10:36','2023-11-02 19:10:36',NULL),(89,9435,5,40827,157,0.00,'','2023-11-02 19:10:36','2023-11-02 19:10:36',NULL),(90,9435,5,40827,158,0.00,'','2023-11-02 19:10:36','2023-11-02 19:10:36',NULL),(91,9435,5,40827,159,0.00,'','2023-11-02 19:10:36','2023-11-02 19:10:36',NULL),(92,9435,5,40827,160,0.00,'','2023-11-02 19:10:36','2023-11-02 19:10:36',NULL),(93,9435,5,40827,161,0.00,'','2023-11-02 19:10:36','2023-11-02 19:10:36',NULL),(94,9435,5,40827,162,0.00,'','2023-11-02 19:10:36','2023-11-02 19:10:36',NULL),(95,9435,5,40827,163,0.00,'','2023-11-02 19:10:36','2023-11-02 19:10:36',NULL),(96,9435,5,40827,164,0.00,'','2023-11-02 19:10:36','2023-11-02 19:10:36',NULL),(97,9435,5,40827,165,0.00,'','2023-11-02 19:10:36','2023-11-02 19:10:36',NULL),(98,9435,5,40827,166,0.00,'','2023-11-02 19:10:36','2023-11-02 19:10:36',NULL),(99,9435,5,40827,167,0.00,'','2023-11-02 19:10:36','2023-11-02 19:10:36',NULL);
INSERT INTO `ganan_ddjj_detail_deducciones` VALUES (100,9435,5,40827,168,0.00,'','2023-11-02 19:10:36','2023-11-02 19:10:36',NULL),(101,9435,5,40827,169,0.00,'','2023-11-02 19:10:36','2023-11-02 19:10:36',NULL),(102,9435,5,40827,170,0.00,'','2023-11-02 19:10:36','2023-11-02 19:10:36',NULL),(103,9435,5,40827,171,0.00,'','2023-11-02 19:10:36','2023-11-02 19:10:36',NULL),(104,9435,5,40827,172,0.00,'','2023-11-02 19:10:36','2023-11-02 19:10:36',NULL),(105,9435,6,40816,110,0.00,'','2024-09-23 19:48:40','2024-09-23 19:48:40',NULL),(106,9435,6,40816,111,0.00,'','2024-09-23 19:48:40','2024-09-23 19:48:40',NULL),(107,9435,6,40816,112,0.00,'','2024-09-23 19:48:40','2024-09-23 19:48:40',NULL),(108,9435,6,40816,113,0.00,'','2024-09-23 19:48:40','2024-09-23 19:48:40',NULL),(109,9435,6,40816,114,0.00,'','2024-09-23 19:48:40','2024-09-23 19:48:40',NULL),(110,9435,6,40816,115,0.00,'','2024-09-23 19:48:40','2024-09-23 19:48:40',NULL),(111,9435,6,40816,116,0.00,'','2024-09-23 19:48:40','2024-09-23 19:48:40',NULL),(112,9435,6,40816,117,0.00,'','2024-09-23 19:48:40','2024-09-23 19:48:40',NULL),(113,9435,6,40816,118,0.00,'','2024-09-23 19:48:40','2024-09-23 19:48:40',NULL),(114,9435,6,40816,119,0.00,'','2024-09-23 19:48:40','2024-09-23 19:48:40',NULL),(115,9435,6,40816,120,0.00,'','2024-09-23 19:48:40','2024-09-23 19:48:40',NULL),(116,9435,6,40816,121,0.00,'','2024-09-23 19:48:40','2024-09-23 19:48:40',NULL),(117,9435,6,40816,122,0.00,'','2024-09-23 19:48:40','2024-09-23 19:48:40',NULL),(118,9435,6,40816,123,0.00,'','2024-09-23 19:48:40','2024-09-23 19:48:40',NULL),(119,9435,6,40816,124,0.00,'','2024-09-23 19:48:40','2024-09-23 19:48:40',NULL),(120,9435,6,40816,125,0.00,'','2024-09-23 19:48:40','2024-09-23 19:48:40',NULL),(121,9435,6,40816,126,0.00,'','2024-09-23 19:48:40','2024-09-23 19:48:40',NULL),(122,9435,6,40816,127,0.00,'','2024-09-23 19:48:40','2024-09-23 19:48:40',NULL),(123,9435,6,40816,150,0.00,'','2024-09-23 19:48:40','2024-09-23 19:48:40',NULL);

--
-- Table structure for table `ganan_ddjj_detail_ing_egr`
--

CREATE TABLE `ganan_ddjj_detail_ing_egr` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `ganan_ddjj_id` int(10) unsigned NOT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `conta_tipo_asiento_id` int(10) unsigned NOT NULL,
  `ganan_categoria_id` int(10) unsigned NOT NULL,
  `ganan_tipo_op_id` int(10) unsigned NOT NULL,
  `importe` decimal(16,2) NOT NULL DEFAULT '0.00',
  `comentario` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `ganan_ddjj_detail_ing_egr_ganan_ddjj_id_foreign` (`ganan_ddjj_id`),
  KEY `ganan_ddjj_detail_ing_egr_person_id_foreign` (`person_id`),
  KEY `ganan_ddjj_detail_ing_egr_conta_tipo_asiento_id_foreign` (`conta_tipo_asiento_id`),
  KEY `ganan_ddjj_detail_ing_egr_ganan_categoria_id_foreign` (`ganan_categoria_id`),
  KEY `ganan_ddjj_detail_ing_egr_ganan_tipo_op_id_foreign` (`ganan_tipo_op_id`),
  CONSTRAINT `ganan_ddjj_detail_ing_egr_conta_tipo_asiento_id_foreign` FOREIGN KEY (`conta_tipo_asiento_id`) REFERENCES `conta_tipo_asientos` (`id`),
  CONSTRAINT `ganan_ddjj_detail_ing_egr_ganan_categoria_id_foreign` FOREIGN KEY (`ganan_categoria_id`) REFERENCES `ganan_categorias` (`id`),
  CONSTRAINT `ganan_ddjj_detail_ing_egr_ganan_ddjj_id_foreign` FOREIGN KEY (`ganan_ddjj_id`) REFERENCES `ganan_ddjjs` (`id`),
  CONSTRAINT `ganan_ddjj_detail_ing_egr_ganan_tipo_op_id_foreign` FOREIGN KEY (`ganan_tipo_op_id`) REFERENCES `ganan_tipos_op` (`id`),
  CONSTRAINT `ganan_ddjj_detail_ing_egr_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=97 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `ganan_ddjj_detail_ing_egr`
--

INSERT INTO `ganan_ddjj_detail_ing_egr` VALUES (1,8522,1,40718,2,1,1,11111111.11,NULL,'2023-03-01 22:21:44','2023-03-01 22:21:44',NULL),(2,8522,1,40718,2,2,1,0.00,NULL,'2023-03-01 22:21:44','2023-03-01 22:21:44',NULL),(3,8522,1,40718,2,3,1,0.00,NULL,'2023-03-01 22:21:44','2023-03-01 22:21:44',NULL),(4,8522,1,40718,2,4,1,0.00,NULL,'2023-03-01 22:21:44','2023-03-01 22:21:44',NULL),(5,8522,1,40718,2,1,2,0.00,NULL,'2023-03-01 22:21:44','2023-03-01 22:21:44',NULL),(6,8522,1,40718,2,2,2,0.00,NULL,'2023-03-01 22:21:44','2023-03-01 22:21:44',NULL),(7,8522,1,40718,2,3,2,0.00,NULL,'2023-03-01 22:21:44','2023-03-01 22:21:44',NULL),(8,8522,1,40718,2,4,2,0.00,NULL,'2023-03-01 22:21:44','2023-03-01 22:21:44',NULL),(9,8522,1,40718,3,1,1,0.00,NULL,'2023-03-01 22:21:44','2023-03-01 22:21:44',NULL),(10,8522,1,40718,3,2,1,0.00,NULL,'2023-03-01 22:21:44','2023-03-01 22:21:44',NULL),(11,8522,1,40718,3,3,1,0.00,NULL,'2023-03-01 22:21:44','2023-03-01 22:21:44',NULL),(12,8522,1,40718,3,4,1,0.00,NULL,'2023-03-01 22:21:44','2023-03-01 22:21:44',NULL),(13,8522,1,40718,3,1,2,0.00,NULL,'2023-03-01 22:21:44','2023-03-01 22:21:44',NULL),(14,8522,1,40718,3,2,2,0.00,NULL,'2023-03-01 22:21:44','2023-03-01 22:21:44',NULL),(15,8522,1,40718,3,3,2,0.00,NULL,'2023-03-01 22:21:44','2023-03-01 22:21:44',NULL),(16,8522,1,40718,3,4,2,0.00,NULL,'2023-03-01 22:21:44','2023-03-01 22:21:44',NULL),(17,9435,2,40816,2,1,1,0.00,NULL,'2023-08-04 00:23:43','2023-08-04 00:23:43',NULL),(18,9435,2,40816,2,2,1,0.00,NULL,'2023-08-04 00:23:43','2023-08-04 00:23:43',NULL),(19,9435,2,40816,2,3,1,5094103.44,NULL,'2023-08-04 00:23:43','2023-08-04 00:23:43',NULL),(20,9435,2,40816,2,4,1,0.00,NULL,'2023-08-04 00:23:43','2023-08-04 00:23:43',NULL),(21,9435,2,40816,2,1,2,0.00,NULL,'2023-08-04 00:23:43','2023-08-04 00:23:43',NULL),(22,9435,2,40816,2,2,2,0.00,NULL,'2023-08-04 00:23:43','2023-08-04 00:23:43',NULL),(23,9435,2,40816,2,3,2,793589.50,NULL,'2023-08-04 00:23:43','2023-08-04 00:23:43',NULL),(24,9435,2,40816,2,4,2,0.00,NULL,'2023-08-04 00:23:43','2023-08-04 00:23:43',NULL),(25,9435,2,40816,3,1,1,0.00,NULL,'2023-08-04 00:23:43','2023-08-04 00:23:43',NULL),(26,9435,2,40816,3,2,1,0.00,NULL,'2023-08-04 00:23:43','2023-08-04 00:23:43',NULL),(27,9435,2,40816,3,3,1,6333520.11,NULL,'2023-08-04 00:23:43','2023-08-04 00:23:43',NULL),(28,9435,2,40816,3,4,1,0.00,NULL,'2023-08-04 00:23:43','2023-08-04 00:23:43',NULL),(29,9435,2,40816,3,1,2,0.00,NULL,'2023-08-04 00:23:43','2023-08-04 00:23:43',NULL),(30,9435,2,40816,3,2,2,0.00,NULL,'2023-08-04 00:23:43','2023-08-04 00:23:43',NULL),(31,9435,2,40816,3,3,2,0.00,NULL,'2023-08-04 00:23:43','2023-08-04 00:23:43',NULL),(32,9435,2,40816,3,4,2,0.00,NULL,'2023-08-04 00:23:43','2023-08-04 00:23:43',NULL),(33,9435,3,40820,2,1,1,0.00,NULL,'2023-08-09 01:35:44','2023-08-09 01:35:44',NULL),(34,9435,3,40820,2,2,1,0.00,NULL,'2023-08-09 01:35:44','2023-08-09 01:35:44',NULL),(35,9435,3,40820,2,3,1,4483714.73,NULL,'2023-08-09 01:35:44','2023-08-09 01:35:44',NULL),(36,9435,3,40820,2,4,1,0.00,NULL,'2023-08-09 01:35:44','2023-08-09 01:35:44',NULL),(37,9435,3,40820,2,1,2,0.00,NULL,'2023-08-09 01:35:44','2023-08-09 01:35:44',NULL),(38,9435,3,40820,2,2,2,0.00,NULL,'2023-08-09 01:35:44','2023-08-09 01:35:44',NULL),(39,9435,3,40820,2,3,2,5522124.37,NULL,'2023-08-09 01:35:44','2023-08-09 01:35:44',NULL),(40,9435,3,40820,2,4,2,0.00,NULL,'2023-08-09 01:35:44','2023-08-09 01:35:44',NULL),(41,9435,3,40820,3,1,1,0.00,NULL,'2023-08-09 01:35:44','2023-08-09 01:35:44',NULL),(42,9435,3,40820,3,2,1,0.00,NULL,'2023-08-09 01:35:44','2023-08-09 01:35:44',NULL),(43,9435,3,40820,3,3,1,4703118.85,NULL,'2023-08-09 01:35:44','2023-08-09 01:35:44',NULL),(44,9435,3,40820,3,4,1,0.00,NULL,'2023-08-09 01:35:44','2023-08-09 01:35:44',NULL),(45,9435,3,40820,3,1,2,0.00,NULL,'2023-08-09 01:35:44','2023-08-09 01:35:44',NULL),(46,9435,3,40820,3,2,2,0.00,NULL,'2023-08-09 01:35:44','2023-08-09 01:35:44',NULL),(47,9435,3,40820,3,3,2,0.00,NULL,'2023-08-09 01:35:44','2023-08-09 01:35:44',NULL);
INSERT INTO `ganan_ddjj_detail_ing_egr` VALUES (48,9435,3,40820,3,4,2,0.00,NULL,'2023-08-09 01:35:44','2023-08-09 01:35:44',NULL),(49,9435,4,41176,2,1,1,0.00,'','2023-10-31 10:39:26','2023-10-31 10:39:26',NULL),(50,9435,4,41176,2,2,1,0.00,'','2023-10-31 10:39:26','2023-10-31 10:39:26',NULL),(51,9435,4,41176,2,3,1,0.00,'','2023-10-31 10:39:26','2023-10-31 10:39:26',NULL),(52,9435,4,41176,2,4,1,0.00,'','2023-10-31 10:39:26','2023-10-31 10:39:26',NULL),(53,9435,4,41176,2,1,2,0.00,'','2023-10-31 10:39:26','2023-10-31 10:39:26',NULL),(54,9435,4,41176,2,2,2,0.00,'','2023-10-31 10:39:26','2023-10-31 10:39:26',NULL),(55,9435,4,41176,2,3,2,0.00,'','2023-10-31 10:39:26','2023-10-31 10:39:26',NULL),(56,9435,4,41176,2,4,2,0.00,'','2023-10-31 10:39:26','2023-10-31 10:39:26',NULL),(57,9435,4,41176,3,1,1,0.00,'','2023-10-31 10:39:26','2023-10-31 10:39:26',NULL),(58,9435,4,41176,3,2,1,0.00,'','2023-10-31 10:39:26','2023-10-31 10:39:26',NULL),(59,9435,4,41176,3,3,1,0.00,'','2023-10-31 10:39:26','2023-10-31 10:39:26',NULL),(60,9435,4,41176,3,4,1,0.00,'','2023-10-31 10:39:26','2023-10-31 10:39:26',NULL),(61,9435,4,41176,3,1,2,0.00,'','2023-10-31 10:39:26','2023-10-31 10:39:26',NULL),(62,9435,4,41176,3,2,2,0.00,'','2023-10-31 10:39:26','2023-10-31 10:39:26',NULL),(63,9435,4,41176,3,3,2,0.00,'','2023-10-31 10:39:26','2023-10-31 10:39:26',NULL),(64,9435,4,41176,3,4,2,0.00,'','2023-10-31 10:39:26','2023-10-31 10:39:26',NULL),(65,9435,5,40827,2,1,1,0.00,'','2023-11-02 19:10:35','2023-11-02 19:10:35',NULL),(66,9435,5,40827,2,2,1,0.00,'','2023-11-02 19:10:35','2023-11-02 19:10:35',NULL),(67,9435,5,40827,2,3,1,0.00,'','2023-11-02 19:10:35','2023-11-02 19:10:35',NULL),(68,9435,5,40827,2,4,1,0.00,'','2023-11-02 19:10:35','2023-11-02 19:10:35',NULL),(69,9435,5,40827,2,1,2,0.00,'','2023-11-02 19:10:35','2023-11-02 19:10:35',NULL),(70,9435,5,40827,2,2,2,0.00,'','2023-11-02 19:10:35','2023-11-02 19:10:35',NULL),(71,9435,5,40827,2,3,2,0.00,'','2023-11-02 19:10:35','2023-11-02 19:10:35',NULL),(72,9435,5,40827,2,4,2,0.00,'','2023-11-02 19:10:35','2023-11-02 19:10:35',NULL),(73,9435,5,40827,3,1,1,0.00,'','2023-11-02 19:10:35','2023-11-02 19:10:35',NULL),(74,9435,5,40827,3,2,1,0.00,'','2023-11-02 19:10:35','2023-11-02 19:10:35',NULL),(75,9435,5,40827,3,3,1,0.00,'','2023-11-02 19:10:35','2023-11-02 19:10:35',NULL),(76,9435,5,40827,3,4,1,0.00,'','2023-11-02 19:10:35','2023-11-02 19:10:35',NULL),(77,9435,5,40827,3,1,2,0.00,'','2023-11-02 19:10:35','2023-11-02 19:10:35',NULL),(78,9435,5,40827,3,2,2,0.00,'','2023-11-02 19:10:35','2023-11-02 19:10:35',NULL),(79,9435,5,40827,3,3,2,0.00,'','2023-11-02 19:10:35','2023-11-02 19:10:35',NULL),(80,9435,5,40827,3,4,2,0.00,'','2023-11-02 19:10:35','2023-11-02 19:10:35',NULL),(81,9435,6,40816,2,1,1,0.00,'','2024-09-23 19:48:40','2024-09-23 19:48:40',NULL),(82,9435,6,40816,2,2,1,0.00,'','2024-09-23 19:48:40','2024-09-23 19:48:40',NULL),(83,9435,6,40816,2,3,1,0.00,'','2024-09-23 19:48:40','2024-09-23 19:48:40',NULL),(84,9435,6,40816,2,4,1,0.00,'','2024-09-23 19:48:40','2024-09-23 19:48:40',NULL),(85,9435,6,40816,2,1,2,0.00,'','2024-09-23 19:48:40','2024-09-23 19:48:40',NULL),(86,9435,6,40816,2,2,2,0.00,'','2024-09-23 19:48:40','2024-09-23 19:48:40',NULL),(87,9435,6,40816,2,3,2,0.00,'','2024-09-23 19:48:40','2024-09-23 19:48:40',NULL),(88,9435,6,40816,2,4,2,0.00,'','2024-09-23 19:48:40','2024-09-23 19:48:40',NULL),(89,9435,6,40816,3,1,1,0.00,'','2024-09-23 19:48:40','2024-09-23 19:48:40',NULL),(90,9435,6,40816,3,2,1,0.00,'','2024-09-23 19:48:40','2024-09-23 19:48:40',NULL),(91,9435,6,40816,3,3,1,0.00,'','2024-09-23 19:48:40','2024-09-23 19:48:40',NULL),(92,9435,6,40816,3,4,1,0.00,'','2024-09-23 19:48:40','2024-09-23 19:48:40',NULL),(93,9435,6,40816,3,1,2,0.00,'','2024-09-23 19:48:40','2024-09-23 19:48:40',NULL),(94,9435,6,40816,3,2,2,0.00,'','2024-09-23 19:48:40','2024-09-23 19:48:40',NULL),(95,9435,6,40816,3,3,2,0.00,'','2024-09-23 19:48:40','2024-09-23 19:48:40',NULL),(96,9435,6,40816,3,4,2,0.00,'','2024-09-23 19:48:40','2024-09-23 19:48:40',NULL);

--
-- Table structure for table `ganan_ddjjs`
--

CREATE TABLE `ganan_ddjjs` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `anio` int(10) unsigned NOT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `ingresos_gravados` decimal(16,2) NOT NULL DEFAULT '0.00',
  `ingresos_exentos` decimal(16,2) NOT NULL DEFAULT '0.00',
  `egresos_gravados` decimal(16,2) NOT NULL DEFAULT '0.00',
  `egresos_exentos` decimal(16,2) NOT NULL DEFAULT '0.00',
  `deducciones_total` decimal(16,2) NOT NULL DEFAULT '0.00',
  `base_imponible` decimal(16,2) NOT NULL DEFAULT '0.00',
  `impuesto_determinado` decimal(16,2) NOT NULL DEFAULT '0.00',
  `saldo_a_pagar` decimal(16,2) NOT NULL DEFAULT '0.00',
  `saldo_a_favor` decimal(16,2) NOT NULL DEFAULT '0.00',
  `comentario` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `ganan_ddjjs_person_id_foreign` (`person_id`),
  CONSTRAINT `ganan_ddjjs_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=7 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `ganan_ddjjs`
--

INSERT INTO `ganan_ddjjs` VALUES (1,8522,2021,40718,11111111.11,0.00,0.00,0.00,323232.32,10787878.79,3644756.31,3644756.31,0.00,NULL,'2023-03-01 22:21:44','2023-03-01 22:21:44',NULL),(2,9435,2022,40816,5094103.44,793589.50,6333520.11,0.00,0.00,0.00,0.00,0.00,0.00,NULL,'2023-08-04 00:23:43','2023-08-04 00:23:43',NULL),(3,9435,2021,40820,4483714.73,5522124.37,4703118.85,0.00,246511.48,0.00,0.00,0.00,0.00,NULL,'2023-08-09 01:35:44','2023-08-09 01:35:44',NULL),(4,9435,2023,41176,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,NULL,'2023-10-31 10:39:26','2023-10-31 10:39:26',NULL),(5,9435,2023,40827,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,NULL,'2023-11-02 19:10:35','2023-11-02 19:10:35',NULL),(6,9435,2021,40816,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,NULL,'2024-09-23 19:48:40','2024-09-23 19:48:40',NULL);

--
-- Table structure for table `ganan_deducciones`
--

CREATE TABLE `ganan_deducciones` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `anio` int(10) unsigned NOT NULL,
  `generales` tinyint(1) NOT NULL DEFAULT '0',
  `particulares` tinyint(1) NOT NULL DEFAULT '0',
  `nombre` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `importe` decimal(16,2) NOT NULL DEFAULT '0.00',
  `status` tinyint(1) NOT NULL DEFAULT '1',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=225 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `ganan_deducciones`
--

INSERT INTO `ganan_deducciones` VALUES (1,NULL,2017,1,0,'Primas de seguro para el caso de muerte',999.00,1,'2019-11-15 13:24:27','2019-11-15 13:24:27',NULL),(2,NULL,2017,1,0,'Gastos de Sepelio',999.00,1,'2019-11-15 13:24:27','2019-11-15 13:24:27',NULL),(3,NULL,2017,1,0,'Aportes a Obras Sociales',0.00,1,'2019-11-15 13:24:27','2019-11-15 13:24:27',NULL),(4,NULL,2017,1,0,'Aportes obligatorios a Fondos de jubilaciones, retiros, pensiones o subsidios a cajas nacionales, provinciales o municipales- incluidas las Cajas de Previsión para Profesionales.',0.00,1,'2019-11-15 13:24:27','2019-11-15 13:24:27',NULL),(5,NULL,2017,1,0,'Otras deducciones del Anexo III de la RG 2437: Aportes para fondos de Jubilación, Retiros, Pensiones o Subsidios destinados al ANSES',0.00,1,'2019-11-15 13:24:27','2019-11-15 13:24:27',NULL),(6,NULL,2017,1,0,'Aportes a Cajas Provinciales o Municipales o de Previsión para Profesionales',0.00,1,'2019-11-15 13:24:27','2019-11-15 13:24:27',NULL),(7,NULL,2017,1,0,'Pagos Régimen Nacional de Trabajadores Autónomos',0.00,1,'2019-11-15 13:24:27','2019-11-15 13:24:27',NULL),(8,NULL,2017,1,0,'Aportes a Cajas Complementarias de Previsión',0.00,1,'2019-11-15 13:24:27','2019-11-15 13:24:27',NULL),(9,NULL,2017,1,0,'Aportes a Fondos Compensadores de Previsión',0.00,1,'2019-11-15 13:24:27','2019-11-15 13:24:27',NULL),(10,NULL,2017,1,0,'Intereses Crédito Hipotecario',20000.00,1,'2019-11-15 13:24:27','2019-11-15 13:24:27',NULL),(11,NULL,2017,1,0,'Servicio Doméstico',51967.00,1,'2019-11-15 13:24:27','2019-11-15 13:24:27',NULL),(12,NULL,2017,1,0,'Donaciones',0.00,1,'2019-11-15 13:24:27','2019-11-15 13:24:27',NULL),(13,NULL,2017,1,0,'Cuota médico asistencial abonado por usted y por sus familiares a cargo',0.00,1,'2019-11-15 13:24:27','2019-11-15 13:24:27',NULL),(14,NULL,2017,1,0,'Honorarios Correspondientes a los Servicios de asistencia Sanitaria, Médica y Paramédica',0.00,1,'2019-11-15 13:24:28','2019-11-15 13:24:28',NULL),(15,NULL,2017,0,1,'Conyuge',48447.00,1,'2019-11-15 13:24:28','2019-11-15 13:24:28',NULL),(16,NULL,2017,0,1,'Hijo Incapacitado',24432.00,1,'2019-11-15 13:24:28','2019-11-15 13:24:28',NULL),(17,NULL,2017,0,1,'Hijo Menor 18 años',24432.00,1,'2019-11-15 13:24:28','2019-11-15 13:24:28',NULL),(18,NULL,2017,0,1,'Hijastro Incapacitado',24432.00,1,'2019-11-15 13:24:28','2019-11-15 13:24:28',NULL),(19,NULL,2017,0,1,'Hijastro Menor 18 Años',24432.00,1,'2019-11-15 13:24:28','2019-11-15 13:24:28',NULL),(20,NULL,2017,0,1,'Ganancia No Imponible',51967.00,1,'2019-11-15 13:24:28','2019-11-15 13:24:28',NULL),(21,NULL,2017,0,1,'Deduccion Especial',51967.00,1,'2019-11-15 13:24:28','2019-11-15 13:24:28',NULL),(22,NULL,2018,1,0,'Primas de seguro para el caso de muerte',12000.00,1,'2019-11-15 13:24:28','2019-11-15 13:24:28',NULL),(23,NULL,2018,1,0,'Gastos de Sepelio',999.00,1,'2019-11-15 13:24:28','2019-11-15 13:24:28',NULL),(24,NULL,2018,1,0,'Aportes a Obras Sociales',0.00,1,'2019-11-15 13:24:28','2019-11-15 13:24:28',NULL),(25,NULL,2018,1,0,'Aportes obligatorios a Fondos de jubilaciones, retiros, pensiones o subsidios a cajas nacionales, provinciales o municipales- incluidas las Cajas de Previsión para Profesionales.',0.00,1,'2019-11-15 13:24:28','2019-11-15 13:24:28',NULL),(26,NULL,2018,1,0,'Otras deducciones del Anexo III de la RG 2437: Aportes para fondos de Jubilación, Retiros, Pensiones o Subsidios destinados al ANSES',0.00,1,'2019-11-15 13:24:28','2019-11-15 13:24:28',NULL),(27,NULL,2018,1,0,'Aportes a Cajas Provinciales o Municipales o de Previsión para Profesionales',0.00,1,'2019-11-15 13:24:28','2019-11-15 13:24:28',NULL),(28,NULL,2018,1,0,'Pagos Régimen Nacional de Trabajadores Autónomos',0.00,1,'2019-11-15 13:24:28','2019-11-15 13:24:28',NULL),(29,NULL,2018,1,0,'Aportes a Cajas Complementarias de Previsión',0.00,1,'2019-11-15 13:24:28','2019-11-15 13:24:28',NULL),(30,NULL,2018,1,0,'Aportes a Fondos Compensadores de Previsión',0.00,1,'2019-11-15 13:24:28','2019-11-15 13:24:28',NULL);
INSERT INTO `ganan_deducciones` VALUES (31,NULL,2018,1,0,'Intereses Crédito Hipotecario',20000.00,1,'2019-11-15 13:24:28','2019-11-15 13:24:28',NULL),(32,NULL,2018,1,0,'Servicio Doméstico',66917.91,1,'2019-11-15 13:24:28','2019-11-15 13:24:28',NULL),(33,NULL,2018,1,0,'Donaciones',0.00,1,'2019-11-15 13:24:28','2019-11-15 13:24:28',NULL),(34,NULL,2018,1,0,'Cuota médico asistencial abonado por usted y por sus familiares a cargo',0.00,1,'2019-11-15 13:24:28','2019-11-15 13:24:28',NULL),(35,NULL,2018,1,0,'Honorarios Correspondientes a los Servicios de asistencia Sanitaria, Médica y Paramédica',0.00,1,'2019-11-15 13:24:28','2019-11-15 13:24:28',NULL),(36,NULL,2018,0,1,'Conyuge',66917.91,1,'2019-11-15 13:24:28','2019-11-15 13:24:28',NULL),(37,NULL,2018,0,1,'Hijo Incapacitado',31461.09,1,'2019-11-15 13:24:28','2019-11-15 13:24:28',NULL),(38,NULL,2018,0,1,'Hijo Menor 18 años',31461.09,1,'2019-11-15 13:24:28','2019-11-15 13:24:28',NULL),(39,NULL,2018,0,1,'Hijastro Incapacitado',31461.09,1,'2019-11-15 13:24:28','2019-11-15 13:24:28',NULL),(40,NULL,2018,0,1,'Hijastro Menor 18 Años',31461.09,1,'2019-11-15 13:24:28','2019-11-15 13:24:28',NULL),(41,NULL,2018,0,1,'Ganancia No Imponible',66917.91,1,'2019-11-15 13:24:28','2019-11-15 13:24:28',NULL),(42,NULL,2018,0,1,'Deduccion Especial',66917.91,1,'2019-11-15 13:24:28','2019-11-15 13:24:28',NULL),(43,NULL,2019,1,0,'Primas de seguro para el caso de muerte',18000.00,1,'2019-11-15 13:24:28','2019-11-15 13:24:28',NULL),(44,NULL,2019,1,0,'Gastos de Sepelio',999.00,1,'2019-11-15 13:24:28','2019-11-15 13:24:28',NULL),(45,NULL,2019,1,0,'Aportes a Obras Sociales',0.00,1,'2019-11-15 13:24:28','2019-11-15 13:24:28',NULL),(46,NULL,2019,1,0,'Aportes obligatorios a Fondos de jubilaciones, retiros, pensiones o subsidios a cajas nacionales, provinciales o municipales- incluidas las Cajas de Previsión para Profesionales.',0.00,1,'2019-11-15 13:24:28','2019-11-15 13:24:28',NULL),(47,NULL,2019,1,0,'Otras deducciones del Anexo III de la RG 2437: Aportes para fondos de Jubilación, Retiros, Pensiones o Subsidios destinados al ANSES',0.00,1,'2019-11-15 13:24:28','2019-11-15 13:24:28',NULL),(48,NULL,2019,1,0,'Aportes a Cajas Provinciales o Municipales o de Previsión para Profesionales',0.00,1,'2019-11-15 13:24:28','2019-11-15 13:24:28',NULL),(49,NULL,2019,1,0,'Pagos Régimen Nacional de Trabajadores Autónomos',0.00,1,'2019-11-15 13:24:28','2019-11-15 13:24:28',NULL),(50,NULL,2019,1,0,'Aportes a Cajas Complementarias de Previsión',0.00,1,'2019-11-15 13:24:28','2019-11-15 13:24:28',NULL),(51,NULL,2019,1,0,'Aportes a Fondos Compensadores de Previsión',0.00,1,'2019-11-15 13:24:28','2019-11-15 13:24:28',NULL),(52,NULL,2019,1,0,'Intereses Crédito Hipotecario',20000.00,1,'2019-11-15 13:24:28','2019-11-15 13:24:28',NULL),(53,NULL,2019,1,0,'Servicio Doméstico',103018.79,1,'2019-11-15 13:24:28','2019-11-15 13:24:28',NULL),(54,NULL,2019,1,0,'Donaciones',0.00,1,'2019-11-15 13:24:28','2019-11-15 13:24:28',NULL),(55,NULL,2019,1,0,'Cuota médico asistencial abonado por usted y por sus familiares a cargo',0.00,1,'2019-11-15 13:24:28','2019-11-15 13:24:28',NULL),(56,NULL,2019,1,0,'Honorarios Correspondientes a los Servicios de asistencia Sanitaria, Médica y Paramédica',0.00,1,'2019-11-15 13:24:28','2019-11-15 13:24:28',NULL),(57,NULL,2019,0,1,'Conyuge',80033.97,1,'2019-11-15 13:24:28','2019-11-15 13:24:28',NULL),(58,NULL,2019,0,1,'Hijo Incapacitado',40361.43,1,'2019-11-15 13:24:28','2019-11-15 13:24:28',NULL),(59,NULL,2019,0,1,'Hijo Menor 18 años',206037.56,1,'2019-11-15 13:24:28','2019-11-15 13:24:28',NULL),(60,NULL,2019,0,1,'Hijastro Incapacitado',206037.56,1,'2019-11-15 13:24:28','2019-11-15 13:24:28',NULL),(61,NULL,2019,0,1,'Hijastro Menor 18 Años',0.00,1,'2019-11-15 13:24:28','2019-11-15 13:24:28',NULL),(62,NULL,2019,0,1,'Ganancia No Imponible',103018.79,1,'2019-11-15 13:24:28','2019-11-15 13:24:28',NULL),(63,NULL,2019,0,1,'Deduccion Especial',103018.79,1,'2019-11-15 13:24:28','2019-11-15 13:24:28',NULL);
INSERT INTO `ganan_deducciones` VALUES (64,NULL,2016,1,0,'Primas de seguro para el caso de muerte',999.00,1,'2020-01-28 13:48:34','2020-01-28 13:48:34',NULL),(65,NULL,2016,1,0,'Gastos de Sepelio',999.00,1,'2020-01-28 13:48:34','2020-01-28 13:48:34',NULL),(66,NULL,2016,1,0,'Aportes a Obras Sociales',0.00,1,'2020-01-28 13:48:34','2020-01-28 13:48:34',NULL),(67,NULL,2016,1,0,'Aportes obligatorios a Fondos de jubilaciones, retiros, pensiones o subsidios a cajas nacionales, provinciales o municipales- incluidas las Cajas de Previsión para Profesionales.',0.00,1,'2020-01-28 13:48:34','2020-01-28 13:48:34',NULL),(68,NULL,2016,1,0,'Otras deducciones del Anexo III de la RG 2437: Aportes para fondos de Jubilación, Retiros, Pensiones o Subsidios destinados al ANSES',0.00,1,'2020-01-28 13:48:34','2020-01-28 13:48:34',NULL),(69,NULL,2016,1,0,'Aportes a Cajas Provinciales o Municipales o de Previsión para Profesionales',0.00,1,'2020-01-28 13:48:34','2020-01-28 13:48:34',NULL),(70,NULL,2016,1,0,'Pagos Régimen Nacional de Trabajadores Autónomos',0.00,1,'2020-01-28 13:48:34','2020-01-28 13:48:34',NULL),(71,NULL,2016,1,0,'Aportes a Cajas Complementarias de Previsión',0.00,1,'2020-01-28 13:48:34','2020-01-28 13:48:34',NULL),(72,NULL,2016,1,0,'Aportes a Fondos Compensadores de Previsión',0.00,1,'2020-01-28 13:48:34','2020-01-28 13:48:34',NULL),(73,NULL,2016,1,0,'Intereses Crédito Hipotecario',20000.00,1,'2020-01-28 13:48:34','2020-01-28 13:48:34',NULL),(74,NULL,2016,1,0,'Servicio Doméstico',42318.00,1,'2020-01-28 13:48:34','2020-01-28 13:48:34',NULL),(75,NULL,2016,1,0,'Donaciones',0.00,1,'2020-01-28 13:48:34','2020-01-28 13:48:34',NULL),(76,NULL,2016,1,0,'Cuota médico asistencial abonado por usted y por sus familiares a cargo',0.00,1,'2020-01-28 13:48:34','2020-01-28 13:48:34',NULL),(77,NULL,2016,1,0,'Honorarios Correspondientes a los Servicios de asistencia Sanitaria, Médica y \n            Paramédica',0.00,1,'2020-01-28 13:48:34','2020-01-28 13:48:34',NULL),(78,NULL,2016,0,1,'Conyuge',39778.00,1,'2020-01-28 13:48:34','2020-01-28 13:48:34',NULL),(79,NULL,2016,0,1,'Hijo Incapacitado',19889.00,1,'2020-01-28 13:48:34','2020-01-28 13:48:34',NULL),(80,NULL,2016,0,1,'Hijo Menor 18 años',19889.00,1,'2020-01-28 13:48:34','2020-01-28 13:48:34',NULL),(81,NULL,2016,0,1,'Hijastro Incapacitado',19889.00,1,'2020-01-28 13:48:34','2020-01-28 13:48:34',NULL),(82,NULL,2016,0,1,'Hijastro Menor 18 Años',19889.00,1,'2020-01-28 13:48:34','2020-01-28 13:48:34',NULL),(83,NULL,2016,0,1,'Ganancia No Imponible',42318.00,1,'2020-01-28 13:48:34','2020-01-28 13:48:34',NULL),(84,NULL,2016,0,1,'Deduccion Especial',42318.00,1,'2020-01-28 13:48:34','2020-01-28 13:48:34',NULL),(85,NULL,2019,1,0,'Alquileres',103018.97,1,'2020-01-28 14:17:39','2020-01-28 14:17:39',NULL),(86,NULL,2020,1,0,'Alquileres',123861.17,1,'2020-01-28 14:17:39','2020-01-28 14:17:39',NULL),(87,NULL,2020,1,0,'Primas de seguro para el caso de muerte',18000.00,1,'2020-01-28 14:17:39','2020-01-28 14:17:39',NULL),(88,NULL,2020,1,0,'Gastos de Sepelio',999.00,1,'2020-01-28 14:17:39','2020-01-28 14:17:39',NULL),(89,NULL,2020,1,0,'Aportes a Obras Sociales',0.00,1,'2020-01-28 14:17:39','2020-01-28 14:17:39',NULL),(90,NULL,2020,1,0,'Aportes obligatorios a Fondos de jubilaciones, retiros, pensiones o subsidios a cajas nacionales, provinciales o municipales- incluidas las Cajas de Previsión para Profesionales.',0.00,1,'2020-01-28 14:17:39','2020-01-28 14:17:39',NULL),(91,NULL,2020,1,0,'Otras deducciones del Anexo III de la RG 2437: Aportes para fondos de Jubilación, Retiros, Pensiones o Subsidios destinados al ANSES',0.00,1,'2020-01-28 14:17:39','2020-01-28 14:17:39',NULL),(92,NULL,2020,1,0,'Aportes a Cajas Provinciales o Municipales o de Previsión para Profesionales',0.00,1,'2020-01-28 14:17:39','2020-01-28 14:17:39',NULL),(93,NULL,2020,1,0,'Pagos Régimen Nacional de Trabajadores Autónomos',0.00,1,'2020-01-28 14:17:39','2020-01-28 14:17:39',NULL);
INSERT INTO `ganan_deducciones` VALUES (94,NULL,2020,1,0,'Aportes a Cajas Complementarias de Previsión',0.00,1,'2020-01-28 14:17:39','2020-01-28 14:17:39',NULL),(95,NULL,2020,1,0,'Aportes a Fondos Compensadores de Previsión',0.00,1,'2020-01-28 14:17:39','2020-01-28 14:17:39',NULL),(96,NULL,2020,1,0,'Intereses Crédito Hipotecario',20000.00,1,'2020-01-28 14:17:39','2020-01-28 14:17:39',NULL),(97,NULL,2020,1,0,'Servicio Doméstico',123861.17,1,'2020-01-28 14:17:39','2020-01-28 14:17:39',NULL),(98,NULL,2020,1,0,'Donaciones',0.00,1,'2020-01-28 14:17:39','2020-01-28 14:17:39',NULL),(99,NULL,2020,1,0,'Cuota médico asistencial abonado por usted y por sus familiares a cargo',0.00,1,'2020-01-28 14:17:39','2020-01-28 14:17:39',NULL),(100,NULL,2020,1,0,'Honorarios Correspondientes a los Servicios de asistencia Sanitaria, Médica y Paramédica',0.00,1,'2020-01-28 14:17:39','2020-01-28 14:17:39',NULL),(101,NULL,2020,0,1,'Conyuge',115471.38,1,'2020-01-28 14:17:39','2020-01-28 14:17:39',NULL),(102,NULL,2020,0,1,'Hijo Incapacitado',58232.65,1,'2020-01-28 14:17:39','2020-01-28 14:17:39',NULL),(103,NULL,2020,0,1,'Hijo Menor 18 años',58232.65,1,'2020-01-28 14:17:39','2020-01-28 14:17:39',NULL),(104,NULL,2020,0,1,'Hijastro Incapacitado',58232.65,1,'2020-01-28 14:17:39','2020-01-28 14:17:39',NULL),(105,NULL,2020,0,1,'Hijastro Menor 18 Años',0.00,1,'2020-01-28 14:17:39','2020-01-28 14:17:39',NULL),(106,NULL,2020,0,1,'Ganancia No Imponible',123861.17,1,'2020-01-28 14:17:39','2020-01-28 14:17:39',NULL),(107,NULL,2020,0,1,'Deduccion Especial Art 30 Apartado 1',103018.79,1,'2020-01-28 14:17:39','2020-01-28 14:17:39',NULL),(108,NULL,2020,0,1,'Deduccion Especial Art 30 Apartado 1 \"Nuevos Profesionales / Emprendedores',309652.93,1,'2020-01-28 14:17:39','2020-01-28 14:17:39',NULL),(109,NULL,2020,0,1,'Deduccion Especial Art 30 Apartado 2',594533.62,1,'2020-01-28 14:17:39','2020-01-28 14:17:39',NULL),(110,NULL,2021,1,0,'Primas de seguro para el caso de muerte',24000.00,1,'2023-02-16 08:52:55','2023-02-16 08:52:55',NULL),(111,NULL,2021,1,0,'Gastos de Sepelio',996.23,1,'2023-02-16 08:52:55','2023-02-16 08:52:55',NULL),(112,NULL,2021,1,0,'Aportes a Obras Sociales',0.00,1,'2023-02-16 08:52:55','2023-02-16 08:52:55',NULL),(113,NULL,2021,1,0,'Aportes obligatorios a Fondos de jubilaciones, retiros, pensiones o subsidios a cajas nacionales, provinciales o municipales- incluidas las Cajas de Previsión para Profesionales.',0.00,1,'2023-02-16 08:52:55','2023-02-16 08:52:55',NULL),(114,NULL,2021,1,0,'Otras deducciones del Anexo III de la RG 2437: Aportes para fondos de Jubilación, Retiros, Pensiones o Subsidios destinados al ANSES',0.00,1,'2023-02-16 08:52:55','2023-02-16 08:52:55',NULL),(115,NULL,2021,1,0,'Aportes a Cajas Provinciales o Municipales o de Previsión para Profesionales',0.00,1,'2023-02-16 08:52:55','2023-02-16 08:52:55',NULL),(116,NULL,2021,1,0,'Pagos Régimen Nacional de Trabajadores Autónomos',0.00,1,'2023-02-16 08:52:55','2023-02-16 08:52:55',NULL),(117,NULL,2021,1,0,'Aportes a Cajas Complementarias de Previsión',0.00,1,'2023-02-16 08:52:55','2023-02-16 08:52:55',NULL),(118,NULL,2021,1,0,'Aportes a Fondos Compensadores de Previsión',0.00,1,'2023-02-16 08:52:55','2023-02-16 08:52:55',NULL),(119,NULL,2021,1,0,'Intereses Crédito Hipotecario',20000.00,1,'2023-02-16 08:52:55','2023-02-16 08:52:55',NULL),(120,NULL,2021,1,0,'Servicio Doméstico',167678.40,1,'2023-02-16 08:52:55','2023-02-16 08:52:55',NULL),(121,NULL,2021,1,0,'Donaciones',0.00,1,'2023-02-16 08:52:55','2023-02-16 08:52:55',NULL),(122,NULL,2021,1,0,'Cuota médico asistencial abonado por usted y por sus familiares a cargo',0.00,1,'2023-02-16 08:52:55','2023-02-16 08:52:55',NULL),(123,NULL,2021,1,0,'Honorarios Correspondientes a los Servicios de asistencia Sanitaria, Médica y Paramédica',0.00,1,'2023-02-16 08:52:55','2023-02-16 08:52:55',NULL),(124,NULL,2021,0,1,'Conyuge',156320.63,1,'2023-02-16 08:52:55','2023-02-16 08:52:55',NULL),(125,NULL,2021,0,1,'Hijo Menor 18 años',78833.08,1,'2023-02-16 08:52:55','2023-02-16 08:52:55',NULL);
INSERT INTO `ganan_deducciones` VALUES (126,NULL,2021,0,1,'Ganancia No Imponible',167678.40,1,'2023-02-16 08:52:55','2023-02-16 08:52:55',NULL),(127,NULL,2021,0,1,'Deduccion Especial',804856.34,1,'2023-02-16 08:52:55','2023-02-16 08:52:55',NULL),(128,NULL,2022,1,0,'Primas de seguro para el caso de muerte',24000.00,1,'2023-02-16 08:52:58','2023-02-16 08:52:58',NULL),(129,NULL,2022,1,0,'Gastos de Sepelio',996.23,1,'2023-02-16 08:52:58','2023-02-16 08:52:58',NULL),(130,NULL,2022,1,0,'Aportes a Obras Sociales',0.00,1,'2023-02-16 08:52:58','2023-02-16 08:52:58',NULL),(131,NULL,2022,1,0,'Aportes obligatorios a Fondos de jubilaciones, retiros, pensiones o subsidios a cajas nacionales, provinciales o municipales- incluidas las Cajas de Previsión para Profesionales.',0.00,1,'2023-02-16 08:52:58','2023-02-16 08:52:58',NULL),(132,NULL,2022,1,0,'Otras deducciones del Anexo III de la RG 2437: Aportes para fondos de Jubilación, Retiros, Pensiones o Subsidios destinados al ANSES',0.00,1,'2023-02-16 08:52:58','2023-02-16 08:52:58',NULL),(133,NULL,2022,1,0,'Aportes a Cajas Provinciales o Municipales o de Previsión para Profesionales',0.00,1,'2023-02-16 08:52:58','2023-02-16 08:52:58',NULL),(134,NULL,2022,1,0,'Pagos Régimen Nacional de Trabajadores Autónomos',0.00,1,'2023-02-16 08:52:58','2023-02-16 08:52:58',NULL),(135,NULL,2022,1,0,'Aportes a Cajas Complementarias de Previsión',0.00,1,'2023-02-16 08:52:58','2023-02-16 08:52:58',NULL),(136,NULL,2022,1,0,'Aportes a Fondos Compensadores de Previsión',0.00,1,'2023-02-16 08:52:58','2023-02-16 08:52:58',NULL),(137,NULL,2022,1,0,'Intereses Crédito Hipotecario',20000.00,1,'2023-02-16 08:52:58','2023-02-16 08:52:58',NULL),(138,NULL,2022,1,0,'Servicio Doméstico',252564.84,1,'2023-02-16 08:52:58','2023-02-16 08:52:58',NULL),(139,NULL,2022,1,0,'Donaciones',0.00,1,'2023-02-16 08:52:58','2023-02-16 08:52:58',NULL),(140,NULL,2022,1,0,'Cuota médico asistencial abonado por usted y por sus familiares a cargo',0.00,1,'2023-02-16 08:52:58','2023-02-16 08:52:58',NULL),(141,NULL,2022,1,0,'Honorarios Correspondientes a los Servicios de asistencia Sanitaria, Médica y Paramédica',0.00,1,'2023-02-16 08:52:58','2023-02-16 08:52:58',NULL),(142,NULL,2022,1,0,'Alquileres',252564.84,1,'2023-02-16 08:52:58','2023-02-16 08:52:58',NULL),(143,NULL,2022,0,1,'Conyuge',235457.25,1,'2023-02-16 08:52:58','2023-02-16 08:52:58',NULL),(144,NULL,2022,0,1,'Hijo Menor 18 años',118741.97,1,'2023-02-16 08:52:58','2023-02-16 08:52:58',NULL),(145,NULL,2022,0,1,'Ganancia No Imponible',252564.84,1,'2023-02-16 08:52:58','2023-02-16 08:52:58',NULL),(146,NULL,2022,0,1,'Deducción Especial [Artículo 30, inciso c), Apartado 2]',1212311.24,1,'2023-02-16 08:52:58','2023-02-16 08:52:58',NULL),(147,NULL,2022,0,1,'Deducción Especial [Artículo 30, inciso c), Apartado 1]',505129.68,1,'2023-02-16 08:52:58','2023-02-16 08:52:58',NULL),(148,NULL,2022,0,1,'Deducción Especial [Artículo 30, inciso c), Apartado 1 “nuevos profesionales/emprendedores”]',631412.10,1,'2023-02-16 08:52:58','2023-02-16 08:52:58',NULL),(149,NULL,2022,0,1,'Hijo Incapacitado',237483.94,1,'2023-02-16 08:52:58','2023-02-16 08:52:58',NULL),(150,NULL,2021,1,0,'Alquileres',167678.40,1,NULL,NULL,NULL),(151,NULL,2023,1,0,'Primas de seguro para el caso de muerte',24000.00,1,'2023-02-16 08:53:04','2023-02-16 08:53:04',NULL),(152,NULL,2023,1,0,'Aportes a Obras Sociales',0.00,1,'2023-02-16 08:53:04','2023-02-16 08:53:04',NULL),(153,NULL,2023,1,0,'Aportes obligatorios a Fondos de jubilaciones, retiros, pensiones o subsidios a cajas nacionales, provinciales o municipales- incluidas las Cajas de Previsión para Profesionales.',0.00,1,'2023-02-16 08:53:04','2023-02-16 08:53:04',NULL),(154,NULL,2023,1,0,'Gastos de Sepelio',996.23,1,'2023-02-16 08:53:04','2023-02-16 08:53:04',NULL),(155,NULL,2023,1,0,'Otras deducciones del Anexo III de la RG 2437: Aportes para fondos de Jubilación, Retiros, Pensiones o Subsidios destinados al ANSES',0.00,1,'2023-02-16 08:53:04','2023-02-16 08:53:04',NULL);
INSERT INTO `ganan_deducciones` VALUES (156,NULL,2023,1,0,'Aportes a Cajas Provinciales o Municipales o de Previsión para Profesionales',0.00,1,'2023-02-16 08:53:04','2023-02-16 08:53:04',NULL),(157,NULL,2023,1,0,'Pagos Régimen Nacional de Trabajadores Autónomos',0.00,1,'2023-02-16 08:53:04','2023-02-16 08:53:04',NULL),(158,NULL,2023,1,0,'Aportes a Cajas Complementarias de Previsión',0.00,1,'2023-02-16 08:53:04','2023-02-16 08:53:04',NULL),(159,NULL,2023,1,0,'Aportes a Fondos Compensadores de Previsión',0.00,1,'2023-02-16 08:53:04','2023-02-16 08:53:04',NULL),(160,NULL,2023,1,0,'Intereses Crédito Hipotecario',20000.00,1,'2023-02-16 08:53:04','2023-02-16 08:53:04',NULL),(161,NULL,2023,1,0,'Servicio Doméstico',451686.96,1,'2023-02-16 08:53:04','2023-02-16 08:53:04',NULL),(162,NULL,2023,1,0,'Donaciones',0.00,1,'2023-02-16 08:53:04','2023-02-16 08:53:04',NULL),(163,NULL,2023,1,0,'Cuota médico asistencial abonado por usted y por sus familiares a cargo',0.00,1,'2023-02-16 08:53:04','2023-02-16 08:53:04',NULL),(164,NULL,2023,1,0,'Honorarios Correspondientes a los Servicios de asistencia Sanitaria, Médica y Paramédica',0.00,1,'2023-02-16 08:53:04','2023-02-16 08:53:04',NULL),(165,NULL,2023,1,0,'Alquileres',451686.96,1,'2023-02-16 08:53:04','2023-02-16 08:53:04',NULL),(166,NULL,2023,0,1,'Ganancia No Imponible',451686.96,1,'2023-02-16 08:53:04','2023-02-16 08:53:04',NULL),(167,NULL,2023,0,1,'Conyuge',421091.75,1,'2023-02-16 08:53:04','2023-02-16 08:53:04',NULL),(168,NULL,2023,0,1,'Hijo Menor 18 años',212358.14,1,'2023-02-16 08:53:04','2023-02-16 08:53:04',NULL),(169,NULL,2023,0,1,'Hijo Incapacitado',424716.28,1,'2023-02-16 08:53:04','2023-02-16 08:53:04',NULL),(170,NULL,2023,0,1,'Deducción Especial [Artículo 30, inciso c), Apartado 1]',1580904.36,1,'2023-02-16 08:53:04','2023-02-16 08:53:04',NULL),(171,NULL,2023,0,1,'Deducción Especial [Artículo 30, inciso c), Apartado 1 “nuevos profesionales/emprendedores”]',1806747.84,1,'2023-02-16 08:53:04','2023-02-16 08:53:04',NULL),(172,NULL,2023,0,1,'Deducción Especial [Artículo 30, inciso c), Apartado 2]',2168097.42,1,'2023-02-16 08:53:04','2023-02-16 08:53:04',NULL),(173,NULL,2024,1,0,'Primas de seguro para el caso de muerte',195845.39,1,NULL,NULL,NULL),(174,NULL,2024,1,0,'Aportes a Obras Sociales',0.00,1,NULL,NULL,NULL),(175,NULL,2024,1,0,'Aportes obligatorios a Fondos de jubilaciones, retiros, pensiones o subsidios a cajas nacionales, provinciales o municipales- incluidas las Cajas de Previsión para Profesionales.',0.00,1,NULL,NULL,NULL),(176,NULL,2024,1,0,'Gastos de Sepelio',996.23,1,NULL,NULL,NULL),(177,NULL,2024,1,0,'Otras deducciones del Anexo III de la RG 2437: Aportes para fondos de Jubilación, Retiros, Pensiones o Subsidios destinados al ANSES',0.00,1,NULL,NULL,NULL),(178,NULL,2024,1,0,'Aportes a Cajas Provinciales o Municipales o de Previsión para Profesionales',0.00,1,NULL,NULL,NULL),(179,NULL,2024,1,0,'Pagos Régimen Nacional de Trabajadores Autónomos',0.00,1,NULL,NULL,NULL),(180,NULL,2024,1,0,'Aportes a Cajas Complementarias de Previsión',0.00,1,NULL,NULL,NULL),(181,NULL,2024,1,0,'Aportes a Fondos Compensadores de Previsión',0.00,1,NULL,NULL,NULL),(182,NULL,2024,1,0,'Intereses Crédito Hipotecario',20000.00,1,NULL,NULL,NULL),(183,NULL,2024,1,0,'Servicio Doméstico',3503688.17,1,NULL,NULL,NULL),(184,NULL,2024,1,0,'Donaciones',0.00,1,NULL,NULL,NULL),(185,NULL,2024,1,0,'Cuota médico asistencial abonado por usted y por sus familiares a cargo',0.00,1,NULL,NULL,NULL),(186,NULL,2024,1,0,'Honorarios Correspondientes a los Servicios de asistencia Sanitaria, Médica y Paramédica',0.00,1,NULL,NULL,NULL),(187,NULL,2024,1,0,'Alquileres',3503688.17,1,NULL,NULL,NULL),(188,NULL,2024,1,0,'Servicios o Herramientas con Fines Educativos',1401475.27,1,NULL,NULL,NULL),(189,NULL,2024,1,0,'Primas Riesgo de Muertes y Ahorros',195845.39,1,NULL,NULL,NULL),(190,NULL,2024,1,0,'Aportes Planes Seguro Retiro Privado',195845.39,1,NULL,NULL,NULL),(191,NULL,2024,1,0,'Aportes a Sociedades de Garantias Reciprocas',0.00,1,NULL,NULL,NULL);
INSERT INTO `ganan_deducciones` VALUES (192,NULL,2024,0,1,'Ganancia No Imponible',3503688.17,1,NULL,NULL,NULL),(193,NULL,2024,0,1,'Conyuge',3299771.52,1,NULL,NULL,NULL),(194,NULL,2024,0,1,'Hijo Menor 18 años',1664086.82,1,NULL,NULL,NULL),(195,NULL,2024,0,1,'Hijo Incapacitado',3328173.63,1,NULL,NULL,NULL),(196,NULL,2024,0,1,'Deducción Especial [Artículo 30, inciso c), Apartado 1]',12262908.60,1,NULL,NULL,NULL),(197,NULL,2024,0,1,'Deducción Especial [Artículo 30, inciso c), Apartado 1 “nuevos profesionales/emprendedores”]',14014752.69,1,NULL,NULL,NULL),(198,NULL,2024,0,1,'Deducción Especial [Artículo 30, inciso c), Apartado 2]',16817703.23,1,NULL,NULL,NULL),(199,NULL,2025,1,0,'Primas de seguro para el caso de muerte',195845.39,1,NULL,NULL,NULL),(200,NULL,2025,1,0,'Aportes a Obras Sociales',0.00,1,NULL,NULL,NULL),(201,NULL,2025,1,0,'Aportes obligatorios a Fondos de jubilaciones, retiros, pensiones o subsidios a cajas nacionales, provinciales o municipales- incluidas las Cajas de Previsión para Profesionales.',0.00,1,NULL,NULL,NULL),(202,NULL,2025,1,0,'Gastos de Sepelio',996.23,1,NULL,NULL,NULL),(203,NULL,2025,1,0,'Otras deducciones del Anexo III de la RG 2437: Aportes para fondos de Jubilación, Retiros, Pensiones o Subsidios destinados al ANSES',0.00,1,NULL,NULL,NULL),(204,NULL,2025,1,0,'Aportes a Cajas Provinciales o Municipales o de Previsión para Profesionales',0.00,1,NULL,NULL,NULL),(205,NULL,2025,1,0,'Pagos Régimen Nacional de Trabajadores Autónomos',0.00,1,NULL,NULL,NULL),(206,NULL,2025,1,0,'Aportes a Cajas Complementarias de Previsión',0.00,1,NULL,NULL,NULL),(207,NULL,2025,1,0,'Aportes a Fondos Compensadores de Previsión',0.00,1,NULL,NULL,NULL),(208,NULL,2025,1,0,'Intereses Crédito Hipotecario',20000.00,1,NULL,NULL,NULL),(209,NULL,2025,1,0,'Servicio Doméstico',3916268.37,1,NULL,NULL,NULL),(210,NULL,2025,1,0,'Donaciones',0.00,1,NULL,NULL,NULL),(211,NULL,2025,1,0,'Cuota médico asistencial abonado por usted y por sus familiares a cargo',0.00,1,NULL,NULL,NULL),(212,NULL,2025,1,0,'Honorarios Correspondientes a los Servicios de asistencia Sanitaria, Médica y Paramédica',0.00,1,NULL,NULL,NULL),(213,NULL,2025,1,0,'Alquileres',3916268.37,1,NULL,NULL,NULL),(214,NULL,2025,1,0,'Servicios o Herramientas con Fines Educativos',1566507.35,1,NULL,NULL,NULL),(215,NULL,2025,1,0,'Primas Riesgo de Muertes y Ahorros',195845.39,1,NULL,NULL,NULL),(216,NULL,2025,1,0,'Aportes Planes Seguro Retiro Privado',195845.39,1,NULL,NULL,NULL),(217,NULL,2025,1,0,'Aportes a Sociedades de Garantias Reciprocas',0.00,1,NULL,NULL,NULL),(218,NULL,2025,0,1,'Ganancia No Imponible',3916268.37,1,NULL,NULL,NULL),(219,NULL,2025,0,1,'Conyuge',3688339.32,1,NULL,NULL,NULL),(220,NULL,2025,0,1,'Hijo Menor 18 años',1860042.98,1,NULL,NULL,NULL),(221,NULL,2025,0,1,'Hijo Incapacitado',3720085.95,1,NULL,NULL,NULL),(222,NULL,2025,0,1,'Deducción Especial [Artículo 30, inciso c), Apartado 1]',13706939.31,1,NULL,NULL,NULL),(223,NULL,2025,0,1,'Deducción Especial [Artículo 30, inciso c), Apartado 1 “nuevos profesionales/emprendedores”]',15665073.50,1,NULL,NULL,NULL),(224,NULL,2025,0,1,'Deducción Especial [Artículo 30, inciso c), Apartado 2]',18798088.20,1,NULL,NULL,NULL);

--
-- Table structure for table `ganan_tipos_op`
--

CREATE TABLE `ganan_tipos_op` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `nombre` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `status` tinyint(1) NOT NULL DEFAULT '1',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `ganan_tipos_op`
--

INSERT INTO `ganan_tipos_op` VALUES (1,NULL,'Gravado',1,'2019-11-15 13:24:28','2019-11-15 13:24:28',NULL),(2,NULL,'Exento',1,'2019-11-15 13:24:28','2019-11-15 13:24:28',NULL);

--
-- Table structure for table `horas_calculadas`
--

CREATE TABLE `horas_calculadas` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `syj_empleado_id` int(10) unsigned NOT NULL,
  `fecha` date NOT NULL,
  `horas_fichaje` decimal(8,2) NOT NULL DEFAULT '0.00',
  `horas_normales` decimal(8,2) NOT NULL DEFAULT '0.00',
  `horas_50` decimal(8,2) NOT NULL DEFAULT '0.00',
  `horas_100` decimal(8,2) NOT NULL DEFAULT '0.00',
  `horas_prod` decimal(8,2) NOT NULL DEFAULT '0.00',
  `horas_improd` decimal(8,2) NOT NULL DEFAULT '0.00',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `horas_calculadas_syj_empleado_id_foreign` (`syj_empleado_id`),
  CONSTRAINT `horas_calculadas_syj_empleado_id_foreign` FOREIGN KEY (`syj_empleado_id`) REFERENCES `syj_empleados` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `horas_calculadas`
--


--
-- Table structure for table `horas_calculadas_details`
--

CREATE TABLE `horas_calculadas_details` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `horas_calculada_id` bigint(20) unsigned NOT NULL,
  `inv_orden_trabajo_hora_id` bigint(20) unsigned DEFAULT NULL,
  `horas_productiva_id` bigint(20) unsigned NOT NULL,
  `horas_prod` decimal(16,2) NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `horas_calculadas_details_horas_calculada_id_foreign` (`horas_calculada_id`),
  KEY `horas_calculadas_details_horas_productiva_id_foreign` (`horas_productiva_id`),
  KEY `horas_calculadas_details_inv_orden_trabajo_hora_id_foreign` (`inv_orden_trabajo_hora_id`),
  CONSTRAINT `horas_calculadas_details_horas_calculada_id_foreign` FOREIGN KEY (`horas_calculada_id`) REFERENCES `horas_calculadas` (`id`),
  CONSTRAINT `horas_calculadas_details_horas_productiva_id_foreign` FOREIGN KEY (`horas_productiva_id`) REFERENCES `horas_productivas` (`id`),
  CONSTRAINT `horas_calculadas_details_inv_orden_trabajo_hora_id_foreign` FOREIGN KEY (`inv_orden_trabajo_hora_id`) REFERENCES `inv_orden_trabajo_horas` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `horas_calculadas_details`
--


--
-- Table structure for table `horas_definicion`
--

CREATE TABLE `horas_definicion` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `fecha` date NOT NULL,
  `horas_normales_inicio` time DEFAULT NULL,
  `horas_normales_fin` time DEFAULT NULL,
  `horas_50_inicio` time DEFAULT NULL,
  `horas_50_fin` time DEFAULT NULL,
  `horas_100_inicio` time DEFAULT NULL,
  `horas_100_fin` time DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `horas_definicion_person_id_foreign` (`person_id`),
  CONSTRAINT `horas_definicion_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `horas_definicion`
--


--
-- Table structure for table `horas_fichajes`
--

CREATE TABLE `horas_fichajes` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `syj_empleado_id` int(10) unsigned NOT NULL,
  `fecha` date NOT NULL,
  `fecha_y_hora` datetime DEFAULT NULL,
  `terminal` varchar(50) COLLATE utf8mb4_unicode_ci NOT NULL,
  `codigo` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `estado` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `jornada` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `retraso` time DEFAULT NULL,
  `hs_50` time DEFAULT NULL,
  `hs_100` time DEFAULT NULL,
  `feriados` time DEFAULT NULL,
  `comentario` text COLLATE utf8mb4_unicode_ci,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `horas_fichajes_person_id_foreign` (`person_id`),
  KEY `horas_fichajes_syj_empleado_id_foreign` (`syj_empleado_id`),
  CONSTRAINT `horas_fichajes_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`),
  CONSTRAINT `horas_fichajes_syj_empleado_id_foreign` FOREIGN KEY (`syj_empleado_id`) REFERENCES `syj_empleados` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `horas_fichajes`
--


--
-- Table structure for table `horas_productivas`
--

CREATE TABLE `horas_productivas` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `ot_id` bigint(20) unsigned NOT NULL,
  `syj_empleado_id` int(10) unsigned NOT NULL,
  `fecha_y_hora` datetime NOT NULL,
  `fecha_hora_start` datetime NOT NULL,
  `fecha_hora_end` datetime DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `horas_productivas_syj_empleado_id_foreign` (`syj_empleado_id`),
  KEY `horas_productivas_ot_id_foreign` (`ot_id`),
  CONSTRAINT `horas_productivas_ot_id_foreign` FOREIGN KEY (`ot_id`) REFERENCES `inv_orden_trabajos` (`id`),
  CONSTRAINT `horas_productivas_syj_empleado_id_foreign` FOREIGN KEY (`syj_empleado_id`) REFERENCES `syj_empleados` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `horas_productivas`
--


--
-- Table structure for table `iibb_perceptions`
--

CREATE TABLE `iibb_perceptions` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `code` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=10 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `iibb_perceptions`
--

INSERT INTO `iibb_perceptions` VALUES (1,NULL,NULL,NULL,'IIBB CABA','IIBBCABA'),(2,NULL,NULL,NULL,'IIBB Bs. As.','IIBBBSAS'),(3,NULL,NULL,NULL,'Percepcion IIBB Tucuman','IIBBTucuman'),(4,NULL,NULL,NULL,'Perc IIBB Misiones','IIBBMisiones'),(5,NULL,NULL,NULL,'Perc IIBB Cordoba','IIBBCba'),(6,NULL,NULL,NULL,'Pec IIBB La Pampa','IIBB La Pampa'),(7,NULL,NULL,NULL,'Perc IIBB Rio Negro','IIBB Rio Negro'),(8,NULL,NULL,NULL,'Perc IIBB Corrientes','IIIBB Corrientes'),(9,NULL,NULL,NULL,'Perc IIBB Santiago del Estero','IIBBSantiago');

--
-- Table structure for table `inv_combos`
--

CREATE TABLE `inv_combos` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `inv_product_combo_id` bigint(20) unsigned NOT NULL,
  `inv_product_id` bigint(20) unsigned NOT NULL,
  `cantidades` int(11) NOT NULL,
  `codigo_interno` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `descripcion` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `inv_combos_inv_product_combo_id_foreign` (`inv_product_combo_id`),
  KEY `inv_combos_inv_product_id_foreign` (`inv_product_id`),
  CONSTRAINT `inv_combos_inv_product_combo_id_foreign` FOREIGN KEY (`inv_product_combo_id`) REFERENCES `inv_productos` (`id`),
  CONSTRAINT `inv_combos_inv_product_id_foreign` FOREIGN KEY (`inv_product_id`) REFERENCES `inv_productos` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `inv_combos`
--

INSERT INTO `inv_combos` VALUES (1,122,93,1,'25','Producto #1',NULL,NULL,NULL),(2,122,78,1,'101','Producto #2',NULL,NULL,NULL);

--
-- Table structure for table `inv_control_stock`
--

CREATE TABLE `inv_control_stock` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(11) DEFAULT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `inv_control_stock_person_id_foreign` (`person_id`),
  CONSTRAINT `inv_control_stock_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=50 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `inv_control_stock`
--

INSERT INTO `inv_control_stock` VALUES (1,8522,40718,'2023-03-01 11:49:38','2023-03-01 11:49:38',NULL),(2,9435,41176,'2024-04-01 12:19:50','2024-04-01 12:19:50',NULL),(3,9435,41176,'2024-04-01 12:24:19','2024-04-01 12:24:19',NULL),(4,9435,41176,'2024-04-01 16:23:30','2024-04-01 16:23:30',NULL),(5,9435,41176,'2024-04-01 16:35:38','2024-04-01 16:35:38',NULL),(6,9435,41176,'2024-04-01 16:45:58','2024-04-01 16:45:58',NULL),(7,9435,41176,'2024-04-01 16:50:07','2024-04-01 16:50:07',NULL),(8,9435,41176,'2024-04-01 16:52:46','2024-04-01 16:52:46',NULL),(9,9435,41176,'2024-04-01 16:56:18','2024-04-01 16:56:18',NULL),(10,9435,41176,'2024-04-01 16:58:15','2024-04-01 16:58:15',NULL),(11,9435,41176,'2024-04-01 17:02:25','2024-04-01 17:02:25',NULL),(12,9435,41176,'2024-04-01 17:06:46','2024-04-01 17:06:46',NULL),(13,9435,41176,'2024-04-01 17:13:26','2024-04-01 17:13:26',NULL),(14,9435,41176,'2024-04-01 17:24:12','2024-04-01 17:24:12',NULL),(15,9435,41176,'2024-04-01 17:34:31','2024-04-01 17:34:31',NULL),(16,9435,41176,'2024-04-01 18:34:26','2024-04-01 18:34:26',NULL),(17,9435,41176,'2024-04-01 20:39:39','2024-04-01 20:39:39',NULL),(18,9435,41176,'2024-04-01 20:42:32','2024-04-01 20:42:32',NULL),(19,9435,41176,'2024-04-01 20:44:43','2024-04-01 20:44:43',NULL),(20,9435,41176,'2024-04-01 21:22:49','2024-04-01 21:22:49',NULL),(21,9435,41176,'2024-04-01 21:26:18','2024-04-01 21:26:18',NULL),(22,9435,41176,'2024-04-01 21:30:09','2024-04-01 21:30:09',NULL),(23,9435,41176,'2024-04-01 21:34:11','2024-04-01 21:34:11',NULL),(24,9435,41176,'2024-04-01 21:38:39','2024-04-01 21:38:39',NULL),(25,9435,41176,'2024-04-01 21:43:50','2024-04-01 21:43:50',NULL),(26,9435,41176,'2024-04-01 21:51:32','2024-04-01 21:51:32',NULL),(27,9435,41176,'2024-04-01 21:54:27','2024-04-01 21:54:27',NULL),(28,9435,41176,'2024-04-01 21:56:28','2024-04-01 21:56:28',NULL),(29,9435,41176,'2024-04-01 21:58:51','2024-04-01 21:58:51',NULL),(30,9435,41176,'2024-04-02 09:55:10','2024-04-02 09:55:10',NULL),(31,9435,41176,'2024-04-02 09:58:52','2024-04-02 09:58:52',NULL),(32,9435,41176,'2024-04-02 10:01:23','2024-04-02 10:01:23',NULL),(33,9435,41176,'2024-04-02 10:04:00','2024-04-02 10:04:00',NULL),(34,9435,41176,'2024-04-02 10:12:18','2024-04-02 10:12:18',NULL),(35,9435,41176,'2024-04-02 10:17:16','2024-04-02 10:17:16',NULL),(36,9435,41176,'2024-04-02 10:22:34','2024-04-02 10:22:34',NULL),(37,9435,41176,'2024-04-02 11:18:38','2024-04-02 11:18:38',NULL),(38,9435,41176,'2024-04-02 11:21:01','2024-04-02 11:21:01',NULL),(39,9435,41176,'2024-04-02 11:21:30','2024-04-02 11:21:30',NULL),(40,9435,41176,'2024-04-02 12:27:44','2024-04-02 12:27:44',NULL),(41,9435,41176,'2024-04-02 12:29:50','2024-04-02 12:29:50',NULL),(42,9435,41176,'2024-04-02 12:42:39','2024-04-02 12:42:39',NULL),(43,9435,41176,'2024-04-02 15:09:04','2024-04-02 15:09:04',NULL),(44,9435,41176,'2024-04-02 15:10:58','2024-04-02 15:10:58',NULL),(45,9435,41176,'2024-04-02 15:23:56','2024-04-02 15:23:56',NULL),(46,9435,41176,'2024-04-02 20:02:30','2024-04-02 20:02:30',NULL),(47,9435,41176,'2024-04-02 20:13:55','2024-04-02 20:13:55',NULL),(48,9435,41176,'2024-04-04 19:20:39','2024-04-04 19:20:39',NULL),(49,9435,40815,'2024-05-08 20:04:48','2024-05-08 20:04:48',NULL);

--
-- Table structure for table `inv_control_stock_detail`
--

CREATE TABLE `inv_control_stock_detail` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(11) DEFAULT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `inv_control_stock_id` bigint(20) unsigned NOT NULL,
  `inv_product_id` bigint(20) unsigned NOT NULL,
  `inv_deposito_id` bigint(20) unsigned DEFAULT NULL,
  `stock_actual` decimal(16,2) NOT NULL DEFAULT '0.00',
  `stock_real` decimal(16,2) NOT NULL DEFAULT '0.00',
  `stock_diferencia` decimal(16,2) NOT NULL DEFAULT '0.00',
  `precio_costo` decimal(16,2) NOT NULL DEFAULT '0.00',
  `precio_diferencia` decimal(16,2) NOT NULL DEFAULT '0.00',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `inv_control_stock_detail_person_id_foreign` (`person_id`),
  KEY `inv_control_stock_detail_inv_control_stock_id_foreign` (`inv_control_stock_id`),
  KEY `inv_control_stock_detail_inv_product_id_foreign` (`inv_product_id`),
  KEY `inv_control_stock_detail_inv_deposito_id_foreign` (`inv_deposito_id`),
  CONSTRAINT `inv_control_stock_detail_inv_control_stock_id_foreign` FOREIGN KEY (`inv_control_stock_id`) REFERENCES `inv_control_stock` (`id`),
  CONSTRAINT `inv_control_stock_detail_inv_deposito_id_foreign` FOREIGN KEY (`inv_deposito_id`) REFERENCES `inv_depositos` (`id`),
  CONSTRAINT `inv_control_stock_detail_inv_product_id_foreign` FOREIGN KEY (`inv_product_id`) REFERENCES `inv_productos` (`id`),
  CONSTRAINT `inv_control_stock_detail_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=69 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `inv_control_stock_detail`
--

INSERT INTO `inv_control_stock_detail` VALUES (1,8522,40718,1,78,1,325.00,295.00,-30.00,5000.00,-150000.00,'2023-03-01 11:49:38','2023-03-01 11:49:38',NULL),(2,9435,41176,2,87,2,0.00,7.00,7.00,72978.96,510852.72,'2024-04-01 12:19:50','2024-04-01 12:19:50',NULL),(3,9435,41176,3,98,2,0.00,24.00,24.00,11570.25,277686.00,'2024-04-01 12:24:19','2024-04-01 12:24:19',NULL),(4,9435,41176,4,76,2,12.00,30.00,18.00,1100.55,19809.90,'2024-04-01 16:23:30','2024-04-01 16:23:30',NULL),(5,9435,41176,5,120,2,0.00,13.00,13.00,1300.00,16900.00,'2024-04-01 16:35:38','2024-04-01 16:35:38',NULL),(6,9435,41176,6,132,2,0.00,2.00,2.00,1500.00,3000.00,'2024-04-01 16:45:58','2024-04-01 16:45:58',NULL),(7,9435,41176,7,109,2,0.00,50.00,50.00,920.00,46000.00,'2024-04-01 16:50:07','2024-04-01 16:50:07',NULL),(8,9435,41176,8,142,2,0.00,12.00,12.00,880.00,10560.00,'2024-04-01 16:52:46','2024-04-01 16:52:46',NULL),(9,9435,41176,8,143,2,0.00,26.00,26.00,944.00,24544.00,'2024-04-01 16:52:46','2024-04-01 16:52:46',NULL),(10,9435,41176,9,144,2,0.00,15.00,15.00,1300.00,19500.00,'2024-04-01 16:56:18','2024-04-01 16:56:18',NULL),(11,9435,41176,10,77,2,0.00,67.00,67.00,1300.00,87100.00,'2024-04-01 16:58:15','2024-04-01 16:58:15',NULL),(12,9435,41176,11,79,2,0.00,112.00,112.00,690.00,77280.00,'2024-04-01 17:02:25','2024-04-01 17:02:25',NULL),(13,9435,41176,12,80,2,0.00,77.00,77.00,620.00,47740.00,'2024-04-01 17:06:46','2024-04-01 17:06:46',NULL),(14,9435,41176,13,81,2,0.00,176.00,176.00,550.00,96800.00,'2024-04-01 17:13:26','2024-04-01 17:13:26',NULL),(15,9435,41176,14,82,2,0.00,19.00,19.00,620.00,11780.00,'2024-04-01 17:24:12','2024-04-01 17:24:12',NULL),(16,9435,41176,15,83,2,0.00,6.00,6.00,1316.00,7896.00,'2024-04-01 17:34:31','2024-04-01 17:34:31',NULL),(17,9435,41176,16,84,2,0.00,22.00,22.00,400.00,8800.00,'2024-04-01 18:34:26','2024-04-01 18:34:26',NULL),(18,9435,41176,16,85,2,0.00,24.00,24.00,520.00,12480.00,'2024-04-01 18:34:26','2024-04-01 18:34:26',NULL),(19,9435,41176,16,86,2,0.00,242.00,242.00,340.00,82280.00,'2024-04-01 18:34:26','2024-04-01 18:34:26',NULL),(20,9435,41176,16,88,2,0.00,19.00,19.00,1590.00,30210.00,'2024-04-01 18:34:26','2024-04-01 18:34:26',NULL),(21,9435,41176,16,89,2,0.00,42.00,42.00,1999.00,83958.00,'2024-04-01 18:34:26','2024-04-01 18:34:26',NULL),(22,9435,41176,17,90,2,0.00,28.00,28.00,1880.00,52640.00,'2024-04-01 20:39:39','2024-04-01 20:39:39',NULL),(23,9435,41176,18,91,2,0.00,19.00,19.00,1680.00,31920.00,'2024-04-01 20:42:32','2024-04-01 20:42:32',NULL),(24,9435,41176,19,92,2,0.00,18.00,18.00,500.00,9000.00,'2024-04-01 20:44:43','2024-04-01 20:44:43',NULL),(25,9435,41176,20,93,2,0.00,6.00,6.00,650.00,3900.00,'2024-04-01 21:22:49','2024-04-01 21:22:49',NULL),(26,9435,41176,21,93,2,6.00,0.00,-6.00,650.00,-3900.00,'2024-04-01 21:26:18','2024-04-01 21:26:18',NULL),(27,9435,41176,21,94,2,0.00,3.00,3.00,3600.00,10800.00,'2024-04-01 21:26:19','2024-04-01 21:26:19',NULL),(28,9435,41176,22,95,2,0.00,11.00,11.00,1945.00,21395.00,'2024-04-01 21:30:09','2024-04-01 21:30:09',NULL),(29,9435,41176,23,93,2,0.00,6.00,6.00,650.00,3900.00,'2024-04-01 21:34:11','2024-04-01 21:34:11',NULL),(30,9435,41176,24,96,2,0.00,9.00,9.00,870.00,7830.00,'2024-04-01 21:38:39','2024-04-01 21:38:39',NULL),(31,9435,41176,25,97,2,0.00,3.00,3.00,620.00,1860.00,'2024-04-01 21:43:50','2024-04-01 21:43:50',NULL),(32,9435,41176,26,99,2,0.00,14.00,14.00,620.00,8680.00,'2024-04-01 21:51:32','2024-04-01 21:51:32',NULL),(33,9435,41176,27,100,2,0.00,16.00,16.00,680.00,10880.00,'2024-04-01 21:54:27','2024-04-01 21:54:27',NULL),(34,9435,41176,28,101,2,0.00,44.00,44.00,750.00,33000.00,'2024-04-01 21:56:28','2024-04-01 21:56:28',NULL),(35,9435,41176,29,102,2,0.00,20.00,20.00,1200.00,24000.00,'2024-04-01 21:58:51','2024-04-01 21:58:51',NULL),(36,9435,41176,30,103,2,0.00,4.00,4.00,1200.00,4800.00,'2024-04-02 09:55:10','2024-04-02 09:55:10',NULL),(37,9435,41176,31,104,2,0.00,4.00,4.00,980.00,3920.00,'2024-04-02 09:58:52','2024-04-02 09:58:52',NULL);
INSERT INTO `inv_control_stock_detail` VALUES (38,9435,41176,31,105,2,0.00,16.00,16.00,980.00,15680.00,'2024-04-02 09:58:52','2024-04-02 09:58:52',NULL),(39,9435,41176,32,106,2,0.00,3.00,3.00,980.00,2940.00,'2024-04-02 10:01:23','2024-04-02 10:01:23',NULL),(40,9435,41176,33,107,2,0.00,12.00,12.00,1800.00,21600.00,'2024-04-02 10:04:00','2024-04-02 10:04:00',NULL),(41,9435,41176,34,108,2,0.00,12.00,12.00,1080.00,12960.00,'2024-04-02 10:12:18','2024-04-02 10:12:18',NULL),(42,9435,41176,35,110,2,0.00,5.00,5.00,850.00,4250.00,'2024-04-02 10:17:16','2024-04-02 10:17:16',NULL),(43,9435,41176,36,111,2,0.00,13.00,13.00,740.00,9620.00,'2024-04-02 10:22:34','2024-04-02 10:22:34',NULL),(44,9435,41176,37,112,2,0.00,17.00,17.00,840.00,14280.00,'2024-04-02 11:18:38','2024-04-02 11:18:38',NULL),(45,9435,41176,38,117,2,0.00,4.00,4.00,750.00,3000.00,'2024-04-02 11:21:01','2024-04-02 11:21:01',NULL),(46,9435,41176,39,117,2,4.00,5.00,1.00,750.00,750.00,'2024-04-02 11:21:30','2024-04-02 11:21:30',NULL),(47,9435,41176,40,119,2,0.00,2.00,2.00,687.00,1374.00,'2024-04-02 12:27:44','2024-04-02 12:27:44',NULL),(48,9435,41176,41,121,2,0.00,1.00,1.00,850.00,850.00,'2024-04-02 12:29:50','2024-04-02 12:29:50',NULL),(49,9435,41176,42,118,2,0.00,9.00,9.00,1109.00,9981.00,'2024-04-02 12:42:39','2024-04-02 12:42:39',NULL),(50,9435,41176,43,123,2,0.00,1.00,1.00,1890.00,1890.00,'2024-04-02 15:09:04','2024-04-02 15:09:04',NULL),(51,9435,41176,44,124,2,0.00,1.00,1.00,1685.00,1685.00,'2024-04-02 15:10:58','2024-04-02 15:10:58',NULL),(52,9435,41176,45,123,2,0.00,1.00,1.00,1890.00,1890.00,'2024-04-02 15:23:56','2024-04-02 15:23:56',NULL),(53,9435,41176,45,124,2,0.00,1.00,1.00,1685.00,1685.00,'2024-04-02 15:23:56','2024-04-02 15:23:56',NULL),(54,9435,41176,46,118,2,8.00,9.00,1.00,1109.00,1109.00,'2024-04-02 20:02:30','2024-04-02 20:02:30',NULL),(55,9435,41176,47,119,2,1.00,2.00,1.00,687.00,687.00,'2024-04-02 20:13:55','2024-04-02 20:13:55',NULL),(56,9435,41176,47,121,2,0.00,1.00,1.00,850.00,850.00,'2024-04-02 20:13:55','2024-04-02 20:13:55',NULL),(57,9435,41176,47,123,2,0.00,1.00,1.00,1890.00,1890.00,'2024-04-02 20:13:55','2024-04-02 20:13:55',NULL),(58,9435,41176,47,124,2,0.00,1.00,1.00,1685.00,1685.00,'2024-04-02 20:13:55','2024-04-02 20:13:55',NULL),(59,9435,41176,47,125,2,0.00,1.00,1.00,1200.00,1200.00,'2024-04-02 20:13:55','2024-04-02 20:13:55',NULL),(60,9435,41176,47,126,2,0.00,1.00,1.00,700.00,700.00,'2024-04-02 20:13:55','2024-04-02 20:13:55',NULL),(61,9435,41176,47,127,2,0.00,1.00,1.00,200.00,200.00,'2024-04-02 20:13:55','2024-04-02 20:13:55',NULL),(62,9435,41176,48,126,2,0.00,1.00,1.00,700.00,700.00,'2024-04-04 19:20:39','2024-04-04 19:20:39',NULL),(63,9435,41176,48,127,2,-1.00,1.00,2.00,200.00,400.00,'2024-04-04 19:20:40','2024-04-04 19:20:40',NULL),(64,9435,41176,48,128,2,0.00,1.00,1.00,387.00,387.00,'2024-04-04 19:20:40','2024-04-04 19:20:40',NULL),(65,9435,41176,48,129,2,0.00,1.00,1.00,1080.00,1080.00,'2024-04-04 19:20:40','2024-04-04 19:20:40',NULL),(66,9435,41176,48,130,2,0.00,1.00,1.00,816.00,816.00,'2024-04-04 19:20:40','2024-04-04 19:20:40',NULL),(67,9435,41176,48,131,2,0.00,1.00,1.00,1200.00,1200.00,'2024-04-04 19:20:40','2024-04-04 19:20:40',NULL),(68,9435,40815,49,87,4,0.00,2.00,2.00,6250.00,12500.00,'2024-05-08 20:04:48','2024-05-08 20:04:48',NULL);

--
-- Table structure for table `inv_depositos`
--

CREATE TABLE `inv_depositos` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `descripcion` text COLLATE utf8mb4_unicode_ci NOT NULL,
  `habilitado` tinyint(1) NOT NULL DEFAULT '1',
  `deleted_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `inv_depositos_person_id_foreign` (`person_id`),
  CONSTRAINT `inv_depositos_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `inv_depositos`
--

INSERT INTO `inv_depositos` VALUES (1,NULL,40718,'Deposito 1',1,NULL,NULL,NULL),(2,9435,41176,'DEPOSITO',1,NULL,'2024-03-05 14:20:04','2024-03-05 14:20:31'),(3,9435,41176,'GONDOLAS',1,NULL,'2024-04-01 11:32:54','2024-04-01 11:32:54'),(4,9435,40815,'DEPOSITO',1,NULL,'2024-05-08 19:51:45','2024-05-08 19:51:45');

--
-- Table structure for table `inv_descarga_details`
--

CREATE TABLE `inv_descarga_details` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `inv_descarga_id` bigint(20) unsigned DEFAULT NULL,
  `inv_producto_id` bigint(20) unsigned DEFAULT NULL,
  `inv_deposito_id` bigint(20) unsigned DEFAULT NULL,
  `cantidades` decimal(16,2) NOT NULL DEFAULT '0.00',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `inv_descarga_details_person_id_foreign` (`person_id`),
  KEY `inv_descarga_details_inv_producto_id_foreign` (`inv_producto_id`),
  KEY `inv_descarga_details_inv_descarga_id_foreign` (`inv_descarga_id`),
  KEY `inv_descarga_details_inv_deposito_id_foreign` (`inv_deposito_id`),
  CONSTRAINT `inv_descarga_details_inv_deposito_id_foreign` FOREIGN KEY (`inv_deposito_id`) REFERENCES `inv_depositos` (`id`),
  CONSTRAINT `inv_descarga_details_inv_descarga_id_foreign` FOREIGN KEY (`inv_descarga_id`) REFERENCES `inv_descargas` (`id`),
  CONSTRAINT `inv_descarga_details_inv_producto_id_foreign` FOREIGN KEY (`inv_producto_id`) REFERENCES `inv_productos` (`id`),
  CONSTRAINT `inv_descarga_details_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `inv_descarga_details`
--


--
-- Table structure for table `inv_descargas`
--

CREATE TABLE `inv_descargas` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `inv_orden_trabajo_gastos_tipo_id` bigint(20) unsigned DEFAULT NULL,
  `syj_empleado_id` int(10) unsigned DEFAULT NULL,
  `comentario` text COLLATE utf8mb4_unicode_ci,
  `fecha` datetime NOT NULL DEFAULT '2023-08-01 14:41:47',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `inv_descargas_person_id_foreign` (`person_id`),
  KEY `inv_descargas_inv_orden_trabajo_gastos_tipo_id_foreign` (`inv_orden_trabajo_gastos_tipo_id`),
  KEY `inv_descargas_syj_empleado_id_foreign` (`syj_empleado_id`),
  CONSTRAINT `inv_descargas_inv_orden_trabajo_gastos_tipo_id_foreign` FOREIGN KEY (`inv_orden_trabajo_gastos_tipo_id`) REFERENCES `inv_orden_trabajo_gastos_tipos` (`id`),
  CONSTRAINT `inv_descargas_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`),
  CONSTRAINT `inv_descargas_syj_empleado_id_foreign` FOREIGN KEY (`syj_empleado_id`) REFERENCES `syj_empleados` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `inv_descargas`
--


--
-- Table structure for table `inv_indicadores`
--

CREATE TABLE `inv_indicadores` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `descripcion` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `metodo` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `tipo` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `orden` int(10) unsigned NOT NULL,
  `habilitado` tinyint(1) NOT NULL DEFAULT '1',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=11 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `inv_indicadores`
--

INSERT INTO `inv_indicadores` VALUES (1,NULL,'Datos Grales','datos_grales','card_info',5,1,NULL,'2023-02-16 08:53:02',NULL),(2,NULL,'Impuestos Asociados','impuestos_asociados','card_info',6,1,NULL,'2023-02-16 08:53:02',NULL),(3,NULL,'Informacion de Liquidacion','informacion_de_liquidacion','card_info',7,1,NULL,'2023-02-16 08:53:02',NULL),(4,NULL,'Cantidad Ventas del Mes','cantidad_ventas_del_mes','card',1,1,NULL,'2023-02-16 08:53:02',NULL),(5,NULL,'Total Facturado En El Mes','total_facturado_en_el_mes','card',2,1,NULL,'2023-02-16 08:53:02',NULL),(6,NULL,'Total Facturado En El Dia','total_facturado_en_el_dia','card',3,1,NULL,'2023-02-16 08:53:02',NULL),(7,NULL,'Total Facturado En El Año','total_facturado_en_el_anio','card',4,1,NULL,'2023-02-16 08:53:02',NULL),(8,NULL,'Facturacion Mensual','facturacion_mensual','grafico',8,1,NULL,'2023-02-16 08:53:02',NULL),(9,NULL,'Proyeccion de Ganancias','proyeccion_de_ganancias','tabla',9,1,NULL,'2023-02-16 08:53:02',NULL),(10,NULL,'Posicion IVA','posicion_de_iva','tabla',10,1,NULL,'2023-02-16 08:53:02',NULL);

--
-- Table structure for table `inv_indicadores_persons`
--

CREATE TABLE `inv_indicadores_persons` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `inv_indicador_id` bigint(20) unsigned NOT NULL,
  `objetivo` decimal(16,2) NOT NULL DEFAULT '0.00',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `inv_indicadores_persons_person_id_foreign` (`person_id`),
  KEY `inv_indicadores_persons_inv_indicador_id_foreign` (`inv_indicador_id`),
  CONSTRAINT `inv_indicadores_persons_inv_indicador_id_foreign` FOREIGN KEY (`inv_indicador_id`) REFERENCES `inv_indicadores` (`id`),
  CONSTRAINT `inv_indicadores_persons_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=13 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `inv_indicadores_persons`
--

INSERT INTO `inv_indicadores_persons` VALUES (1,NULL,40719,1,0.00,NULL,NULL,NULL),(2,NULL,40718,1,0.00,NULL,'2023-03-01 16:20:46','2023-03-01 16:20:46'),(3,NULL,40718,1,0.00,NULL,'2023-03-01 16:20:49','2023-03-01 16:20:49'),(4,NULL,40718,2,0.00,NULL,'2023-03-01 16:20:49','2023-03-01 16:20:49'),(5,NULL,40718,1,0.00,NULL,NULL,NULL),(6,NULL,40718,2,0.00,NULL,NULL,NULL),(7,NULL,40718,3,0.00,NULL,NULL,NULL),(8,NULL,40815,10,0.00,NULL,'2023-12-12 10:51:56','2023-12-12 10:51:56'),(9,NULL,40815,4,0.00,NULL,NULL,NULL),(10,NULL,41208,4,0.00,NULL,'2024-01-04 13:33:13','2024-01-04 13:33:13'),(11,NULL,41211,4,0.00,NULL,NULL,NULL),(12,NULL,41805,5,0.00,NULL,NULL,NULL);

--
-- Table structure for table `inv_ing_egr_stock`
--

CREATE TABLE `inv_ing_egr_stock` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(11) DEFAULT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `inv_ing_egr_stock_person_id_foreign` (`person_id`),
  CONSTRAINT `inv_ing_egr_stock_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=11 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `inv_ing_egr_stock`
--

INSERT INTO `inv_ing_egr_stock` VALUES (1,9435,41176,'2024-04-01 12:15:21','2024-04-01 12:15:21',NULL),(2,9435,40815,'2024-05-08 20:02:25','2024-05-08 20:02:25',NULL),(3,9435,40815,'2024-05-08 20:11:25','2024-05-08 20:11:25',NULL),(4,9435,40815,'2024-05-08 20:11:43','2024-05-08 20:11:43',NULL),(5,9435,40815,'2024-05-08 20:11:57','2024-05-08 20:11:57',NULL),(6,NULL,41176,'2024-08-29 00:39:07','2024-08-29 00:39:07',NULL),(7,NULL,41176,'2024-08-29 00:39:07','2024-08-29 00:39:07',NULL),(8,NULL,41176,'2024-08-29 00:39:07','2024-08-29 00:39:07',NULL),(9,NULL,41176,'2024-08-29 00:39:07','2024-08-29 00:39:07',NULL),(10,NULL,41176,'2024-08-29 00:39:07','2024-08-29 00:39:07',NULL);

--
-- Table structure for table `inv_ing_egr_stock_detail`
--

CREATE TABLE `inv_ing_egr_stock_detail` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(11) DEFAULT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `inv_ing_egr_stock_id` bigint(20) unsigned NOT NULL,
  `inv_product_id` bigint(20) unsigned NOT NULL,
  `prod_variant_id` bigint(20) unsigned DEFAULT NULL,
  `inv_deposito_id` bigint(20) unsigned DEFAULT NULL,
  `sumar1_restar0` tinyint(1) NOT NULL DEFAULT '1',
  `cantidades` decimal(16,2) NOT NULL DEFAULT '0.00',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `inv_ing_egr_stock_detail_person_id_foreign` (`person_id`),
  KEY `inv_ing_egr_stock_detail_inv_ing_egr_stock_id_foreign` (`inv_ing_egr_stock_id`),
  KEY `inv_ing_egr_stock_detail_inv_product_id_foreign` (`inv_product_id`),
  KEY `inv_ing_egr_stock_detail_inv_deposito_id_foreign` (`inv_deposito_id`),
  KEY `inv_ing_egr_stock_detail_prod_variant_id_foreign` (`prod_variant_id`),
  CONSTRAINT `inv_ing_egr_stock_detail_inv_deposito_id_foreign` FOREIGN KEY (`inv_deposito_id`) REFERENCES `inv_depositos` (`id`),
  CONSTRAINT `inv_ing_egr_stock_detail_inv_ing_egr_stock_id_foreign` FOREIGN KEY (`inv_ing_egr_stock_id`) REFERENCES `inv_ing_egr_stock` (`id`),
  CONSTRAINT `inv_ing_egr_stock_detail_inv_product_id_foreign` FOREIGN KEY (`inv_product_id`) REFERENCES `inv_productos` (`id`),
  CONSTRAINT `inv_ing_egr_stock_detail_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`),
  CONSTRAINT `inv_ing_egr_stock_detail_prod_variant_id_foreign` FOREIGN KEY (`prod_variant_id`) REFERENCES `prod_variants` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=11 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `inv_ing_egr_stock_detail`
--

INSERT INTO `inv_ing_egr_stock_detail` VALUES (1,9435,41176,1,76,NULL,2,1,12.00,'2024-04-01 12:15:21','2024-04-01 12:15:21',NULL),(2,9435,40815,2,76,NULL,4,1,2.00,'2024-05-08 20:02:25','2024-05-08 20:02:25',NULL),(3,9435,40815,3,98,NULL,4,1,2.00,'2024-05-08 20:11:25','2024-05-08 20:11:25',NULL),(4,9435,40815,4,109,NULL,4,1,2.00,'2024-05-08 20:11:43','2024-05-08 20:11:43',NULL),(5,9435,40815,5,120,NULL,4,1,2.00,'2024-05-08 20:11:57','2024-05-08 20:11:57',NULL),(6,NULL,41176,6,118,NULL,NULL,1,1.00,'2024-08-29 00:39:07','2024-08-29 00:39:07',NULL),(7,NULL,41176,7,119,NULL,NULL,1,1.00,'2024-08-29 00:39:07','2024-08-29 00:39:07',NULL),(8,NULL,41176,8,121,NULL,NULL,1,1.00,'2024-08-29 00:39:07','2024-08-29 00:39:07',NULL),(9,NULL,41176,9,126,NULL,NULL,1,1.00,'2024-08-29 00:39:07','2024-08-29 00:39:07',NULL),(10,NULL,41176,10,127,NULL,NULL,1,2.00,'2024-08-29 00:39:07','2024-08-29 00:39:07',NULL);

--
-- Table structure for table `inv_lista_de_precios`
--

CREATE TABLE `inv_lista_de_precios` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(11) DEFAULT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `descripcion` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `cliente_id` int(10) unsigned DEFAULT NULL COMMENT 'Cliente específico al que aplica la lista (opcional)',
  `descuento_general` decimal(10,2) DEFAULT NULL COMMENT 'Porcentaje de descuento general para todos los productos',
  `incremento_general` decimal(10,2) DEFAULT NULL COMMENT 'Porcentaje de incremento general para todos los productos',
  `aplicar_redondeo` tinyint(1) NOT NULL DEFAULT '0' COMMENT 'Si se debe aplicar redondeo al precio calculado',
  `redondeo_a` decimal(10,2) DEFAULT NULL COMMENT 'Múltiplo al cual redondear el precio (ej: 10, 50, 100)',
  `fecha_desde` date DEFAULT NULL COMMENT 'Fecha de inicio de vigencia',
  `fecha_hasta` date DEFAULT NULL COMMENT 'Fecha de fin de vigencia',
  `habilitado` tinyint(1) NOT NULL DEFAULT '1',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `inv_lista_de_precios_person_id_foreign` (`person_id`),
  KEY `inv_lista_de_precios_cliente_id_index` (`cliente_id`),
  KEY `inv_lista_de_precios_fecha_desde_index` (`fecha_desde`),
  KEY `inv_lista_de_precios_fecha_hasta_index` (`fecha_hasta`),
  CONSTRAINT `inv_lista_de_precios_cliente_id_foreign` FOREIGN KEY (`cliente_id`) REFERENCES `persons` (`id`) ON DELETE CASCADE,
  CONSTRAINT `inv_lista_de_precios_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `inv_lista_de_precios`
--

INSERT INTO `inv_lista_de_precios` VALUES (1,8522,40718,'Lista General',NULL,NULL,NULL,0,NULL,NULL,NULL,1,'2023-03-01 11:43:01','2023-03-01 11:43:01',NULL),(2,9435,41176,'LISTA DE PRECIOS GRAL',NULL,NULL,NULL,0,NULL,NULL,NULL,1,'2024-04-01 11:32:19','2024-04-01 11:32:19',NULL),(3,9435,40815,'LISTA DE PRECIOS GRAL',NULL,NULL,NULL,0,NULL,NULL,NULL,1,'2024-05-08 19:54:46','2024-05-08 19:54:46',NULL);

--
-- Table structure for table `inv_lista_de_precios_productos`
--

CREATE TABLE `inv_lista_de_precios_productos` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `inv_lista_de_precio_id` bigint(20) unsigned NOT NULL,
  `inv_producto_id` bigint(20) unsigned NOT NULL,
  `precio_sin_iva` decimal(15,2) DEFAULT NULL COMMENT 'Override del precio sin IVA (si es null, se calcula desde precio base)',
  `precio_final` decimal(15,2) DEFAULT NULL COMMENT 'Override del precio final (si es null, se calcula desde precio base)',
  `descuento_porcentaje` decimal(10,2) DEFAULT NULL COMMENT 'Porcentaje de descuento sobre precio base del producto',
  `incremento_porcentaje` decimal(10,2) DEFAULT NULL COMMENT 'Porcentaje de incremento sobre precio base del producto',
  `margen` decimal(10,2) DEFAULT NULL COMMENT 'Override del margen para recalcular precio',
  `habilitado` tinyint(1) NOT NULL DEFAULT '1',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `unique_lista_producto` (`inv_lista_de_precio_id`,`inv_producto_id`),
  KEY `inv_lista_de_precios_productos_habilitado_index` (`habilitado`),
  KEY `inv_lista_de_precios_productos_inv_producto_id_habilitado_index` (`inv_producto_id`,`habilitado`),
  CONSTRAINT `inv_lista_de_precios_productos_inv_lista_de_precio_id_foreign` FOREIGN KEY (`inv_lista_de_precio_id`) REFERENCES `inv_lista_de_precios` (`id`) ON DELETE CASCADE,
  CONSTRAINT `inv_lista_de_precios_productos_inv_producto_id_foreign` FOREIGN KEY (`inv_producto_id`) REFERENCES `inv_productos` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `inv_lista_de_precios_productos`
--


--
-- Table structure for table `inv_orden_trabajo_clasificacion`
--

CREATE TABLE `inv_orden_trabajo_clasificacion` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `descripcion` text COLLATE utf8mb4_unicode_ci NOT NULL,
  `habilitado` tinyint(1) NOT NULL DEFAULT '1',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `inv_orden_trabajo_clasificacion_person_id_foreign` (`person_id`),
  CONSTRAINT `inv_orden_trabajo_clasificacion_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `inv_orden_trabajo_clasificacion`
--


--
-- Table structure for table `inv_orden_trabajo_config_cc`
--

CREATE TABLE `inv_orden_trabajo_config_cc` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `horas_conta_plan_cuenta_id` int(10) unsigned NOT NULL,
  `horas_contra_conta_plan_cuenta_id` int(10) unsigned NOT NULL,
  `gastos_conta_plan_cuenta_id` int(10) unsigned NOT NULL,
  `gastos_contra_conta_plan_cuenta_id` int(10) unsigned NOT NULL,
  `productos_conta_plan_cuenta_id` int(10) unsigned NOT NULL,
  `productos_contra_conta_plan_cuenta_id` int(10) unsigned NOT NULL,
  `asiento_horas_cpc_id` int(10) unsigned NOT NULL DEFAULT '217',
  `asiento_contra_horas_cpc_id` int(10) unsigned NOT NULL DEFAULT '217',
  `asiento_gastos_cpc_id` int(10) unsigned NOT NULL DEFAULT '217',
  `asiento_contra_gastos_cpc_id` int(10) unsigned NOT NULL DEFAULT '217',
  `asiento_productos_cpc_id` int(10) unsigned NOT NULL DEFAULT '217',
  `asiento_contra_productos_cpc_id` int(10) unsigned NOT NULL DEFAULT '217',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `inv_orden_trabajo_config_cc_person_id_foreign` (`person_id`),
  KEY `hcc_id_foreign` (`horas_conta_plan_cuenta_id`),
  KEY `gcc_id_foreign` (`gastos_conta_plan_cuenta_id`),
  KEY `pcc_id_foreign` (`productos_conta_plan_cuenta_id`),
  KEY `h_contra_cc_id_foreign` (`horas_contra_conta_plan_cuenta_id`),
  KEY `g_contra_cc_id_foreign` (`gastos_contra_conta_plan_cuenta_id`),
  KEY `p_contra_cc_id_foreign` (`productos_contra_conta_plan_cuenta_id`),
  KEY `ahcc_id_foreign` (`asiento_horas_cpc_id`),
  KEY `agcc_id_foreign` (`asiento_gastos_cpc_id`),
  KEY `apcc_id_foreign` (`asiento_productos_cpc_id`),
  KEY `ah_contra_cc_id_foreign` (`asiento_contra_horas_cpc_id`),
  KEY `ag_contra_cc_id_foreign` (`asiento_contra_gastos_cpc_id`),
  KEY `ap_contra_cc_id_foreign` (`asiento_contra_productos_cpc_id`),
  CONSTRAINT `ag_contra_cc_id_foreign` FOREIGN KEY (`asiento_contra_gastos_cpc_id`) REFERENCES `conta_plan_cuenta` (`id`),
  CONSTRAINT `agcc_id_foreign` FOREIGN KEY (`asiento_gastos_cpc_id`) REFERENCES `conta_plan_cuenta` (`id`),
  CONSTRAINT `ah_contra_cc_id_foreign` FOREIGN KEY (`asiento_contra_horas_cpc_id`) REFERENCES `conta_plan_cuenta` (`id`),
  CONSTRAINT `ahcc_id_foreign` FOREIGN KEY (`asiento_horas_cpc_id`) REFERENCES `conta_plan_cuenta` (`id`),
  CONSTRAINT `ap_contra_cc_id_foreign` FOREIGN KEY (`asiento_contra_productos_cpc_id`) REFERENCES `conta_plan_cuenta` (`id`),
  CONSTRAINT `apcc_id_foreign` FOREIGN KEY (`asiento_productos_cpc_id`) REFERENCES `conta_plan_cuenta` (`id`),
  CONSTRAINT `g_contra_cc_id_foreign` FOREIGN KEY (`gastos_contra_conta_plan_cuenta_id`) REFERENCES `conta_plan_cuenta` (`id`),
  CONSTRAINT `gcc_id_foreign` FOREIGN KEY (`gastos_conta_plan_cuenta_id`) REFERENCES `conta_plan_cuenta` (`id`),
  CONSTRAINT `h_contra_cc_id_foreign` FOREIGN KEY (`horas_contra_conta_plan_cuenta_id`) REFERENCES `conta_plan_cuenta` (`id`),
  CONSTRAINT `hcc_id_foreign` FOREIGN KEY (`horas_conta_plan_cuenta_id`) REFERENCES `conta_plan_cuenta` (`id`),
  CONSTRAINT `inv_orden_trabajo_config_cc_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`),
  CONSTRAINT `p_contra_cc_id_foreign` FOREIGN KEY (`productos_contra_conta_plan_cuenta_id`) REFERENCES `conta_plan_cuenta` (`id`),
  CONSTRAINT `pcc_id_foreign` FOREIGN KEY (`productos_conta_plan_cuenta_id`) REFERENCES `conta_plan_cuenta` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `inv_orden_trabajo_config_cc`
--


--
-- Table structure for table `inv_orden_trabajo_files`
--

CREATE TABLE `inv_orden_trabajo_files` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `inv_orden_trabajo_id` bigint(20) unsigned DEFAULT NULL,
  `path` text COLLATE utf8mb4_unicode_ci NOT NULL,
  `original_name` text COLLATE utf8mb4_unicode_ci NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `inv_orden_trabajo_files_inv_orden_trabajo_id_foreign` (`inv_orden_trabajo_id`),
  CONSTRAINT `inv_orden_trabajo_files_inv_orden_trabajo_id_foreign` FOREIGN KEY (`inv_orden_trabajo_id`) REFERENCES `inv_orden_trabajos` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `inv_orden_trabajo_files`
--


--
-- Table structure for table `inv_orden_trabajo_gastos`
--

CREATE TABLE `inv_orden_trabajo_gastos` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `inv_orden_trabajo_id` bigint(20) unsigned DEFAULT NULL,
  `inv_orden_trabajo_gastos_tipo_id` bigint(20) unsigned DEFAULT NULL,
  `person_id_relationed` int(10) unsigned DEFAULT NULL,
  `receipt_id` int(10) unsigned DEFAULT NULL,
  `fecha` datetime NOT NULL DEFAULT '2023-02-16 08:52:59',
  `importe` decimal(16,2) NOT NULL DEFAULT '0.00',
  `total` decimal(16,2) NOT NULL DEFAULT '0.00',
  `comentario` text COLLATE utf8mb4_unicode_ci,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `inv_orden_trabajo_gastos_person_id_foreign` (`person_id`),
  KEY `inv_orden_trabajo_gastos_person_id_relationed_foreign` (`person_id_relationed`),
  KEY `inv_orden_trabajo_gastos_receipt_id_foreign` (`receipt_id`),
  KEY `i_o_t_g_t_id_foreign` (`inv_orden_trabajo_gastos_tipo_id`),
  KEY `inv_orden_trabajo_gastos_inv_orden_trabajo_id_foreign` (`inv_orden_trabajo_id`),
  CONSTRAINT `i_o_t_g_t_id_foreign` FOREIGN KEY (`inv_orden_trabajo_gastos_tipo_id`) REFERENCES `inv_orden_trabajo_gastos_tipos` (`id`),
  CONSTRAINT `inv_orden_trabajo_gastos_inv_orden_trabajo_id_foreign` FOREIGN KEY (`inv_orden_trabajo_id`) REFERENCES `inv_orden_trabajos` (`id`),
  CONSTRAINT `inv_orden_trabajo_gastos_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`),
  CONSTRAINT `inv_orden_trabajo_gastos_person_id_relationed_foreign` FOREIGN KEY (`person_id_relationed`) REFERENCES `persons` (`id`),
  CONSTRAINT `inv_orden_trabajo_gastos_receipt_id_foreign` FOREIGN KEY (`receipt_id`) REFERENCES `receipts` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `inv_orden_trabajo_gastos`
--


--
-- Table structure for table `inv_orden_trabajo_gastos_tipos`
--

CREATE TABLE `inv_orden_trabajo_gastos_tipos` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `descripcion` text COLLATE utf8mb4_unicode_ci NOT NULL,
  `habilitado` tinyint(1) NOT NULL DEFAULT '1',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `inv_orden_trabajo_gastos_tipos_person_id_foreign` (`person_id`),
  CONSTRAINT `inv_orden_trabajo_gastos_tipos_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `inv_orden_trabajo_gastos_tipos`
--


--
-- Table structure for table `inv_orden_trabajo_horas`
--

CREATE TABLE `inv_orden_trabajo_horas` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `fecha` datetime NOT NULL DEFAULT '2023-08-15 23:41:50',
  `person_id` int(10) unsigned NOT NULL,
  `inv_orden_trabajo_id` bigint(20) unsigned DEFAULT NULL,
  `inv_orden_trabajo_horas_tipo_id` bigint(20) unsigned DEFAULT NULL,
  `inv_ot_hora_disponible_id` bigint(20) unsigned NOT NULL,
  `cantidad` decimal(16,2) NOT NULL DEFAULT '0.00',
  `importe` decimal(16,2) NOT NULL DEFAULT '0.00',
  `total` decimal(16,2) NOT NULL DEFAULT '0.00',
  `comentario` text COLLATE utf8mb4_unicode_ci,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `inv_orden_trabajo_horas_person_id_foreign` (`person_id`),
  KEY `inv_orden_trabajo_horas_inv_orden_trabajo_horas_tipo_id_foreign` (`inv_orden_trabajo_horas_tipo_id`),
  KEY `inv_orden_trabajo_horas_inv_orden_trabajo_id_foreign` (`inv_orden_trabajo_id`),
  KEY `inv_orden_trabajo_horas_inv_ot_hora_disponible_id_foreign` (`inv_ot_hora_disponible_id`),
  CONSTRAINT `inv_orden_trabajo_horas_inv_orden_trabajo_horas_tipo_id_foreign` FOREIGN KEY (`inv_orden_trabajo_horas_tipo_id`) REFERENCES `inv_orden_trabajo_horas_tipos` (`id`),
  CONSTRAINT `inv_orden_trabajo_horas_inv_orden_trabajo_id_foreign` FOREIGN KEY (`inv_orden_trabajo_id`) REFERENCES `inv_orden_trabajos` (`id`),
  CONSTRAINT `inv_orden_trabajo_horas_inv_ot_hora_disponible_id_foreign` FOREIGN KEY (`inv_ot_hora_disponible_id`) REFERENCES `inv_orden_trabajo_horas_disponibles` (`id`),
  CONSTRAINT `inv_orden_trabajo_horas_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `inv_orden_trabajo_horas`
--


--
-- Table structure for table `inv_orden_trabajo_horas_dispo`
--

CREATE TABLE `inv_orden_trabajo_horas_dispo` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `cargar_asignar` int(10) unsigned NOT NULL DEFAULT '1',
  `person_id` int(10) unsigned NOT NULL,
  `fecha` datetime NOT NULL DEFAULT '2023-08-22 21:52:23',
  `dc_estado_id` bigint(20) unsigned NOT NULL,
  `dc_firma_id` bigint(20) unsigned NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `inv_orden_trabajo_horas_dispo_person_id_foreign` (`person_id`),
  KEY `inv_orden_trabajo_horas_dispo_dc_estado_id_foreign` (`dc_estado_id`),
  KEY `inv_orden_trabajo_horas_dispo_dc_firma_id_foreign` (`dc_firma_id`),
  CONSTRAINT `inv_orden_trabajo_horas_dispo_dc_estado_id_foreign` FOREIGN KEY (`dc_estado_id`) REFERENCES `dc_estados` (`id`),
  CONSTRAINT `inv_orden_trabajo_horas_dispo_dc_firma_id_foreign` FOREIGN KEY (`dc_firma_id`) REFERENCES `dc_firmas` (`id`),
  CONSTRAINT `inv_orden_trabajo_horas_dispo_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `inv_orden_trabajo_horas_dispo`
--


--
-- Table structure for table `inv_orden_trabajo_horas_disponibles`
--

CREATE TABLE `inv_orden_trabajo_horas_disponibles` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `inv_orden_trabajo_horas_dispo_id` bigint(20) unsigned NOT NULL,
  `inv_orden_trabajo_id` bigint(20) unsigned DEFAULT NULL,
  `fecha` datetime NOT NULL DEFAULT '2023-08-15 23:41:50',
  `inv_orden_trabajo_horas_tipo_id` bigint(20) unsigned DEFAULT NULL,
  `cantidad` decimal(16,2) NOT NULL DEFAULT '0.00',
  `comentario` text COLLATE utf8mb4_unicode_ci,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `inv_orden_trabajo_horas_disponibles_person_id_foreign` (`person_id`),
  KEY `inv_orden_trabajo_horas_disponibles_inv_orden_trabajo_id_foreign` (`inv_orden_trabajo_id`),
  KEY `inv_ot_hs_tipo_dis` (`inv_orden_trabajo_horas_tipo_id`),
  KEY `inv_ot_horas_dispo_id` (`inv_orden_trabajo_horas_dispo_id`),
  CONSTRAINT `inv_orden_trabajo_horas_disponibles_inv_orden_trabajo_id_foreign` FOREIGN KEY (`inv_orden_trabajo_id`) REFERENCES `inv_orden_trabajos` (`id`),
  CONSTRAINT `inv_orden_trabajo_horas_disponibles_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`),
  CONSTRAINT `inv_ot_horas_dispo_id` FOREIGN KEY (`inv_orden_trabajo_horas_dispo_id`) REFERENCES `inv_orden_trabajo_horas_dispo` (`id`),
  CONSTRAINT `inv_ot_hs_tipo_dis` FOREIGN KEY (`inv_orden_trabajo_horas_tipo_id`) REFERENCES `inv_orden_trabajo_horas_tipos` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `inv_orden_trabajo_horas_disponibles`
--


--
-- Table structure for table `inv_orden_trabajo_horas_tipos`
--

CREATE TABLE `inv_orden_trabajo_horas_tipos` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `syj_centros_costo_id` int(10) unsigned NOT NULL,
  `valor` decimal(16,2) NOT NULL DEFAULT '1.00',
  `cantidad_disponible` decimal(16,2) NOT NULL DEFAULT '0.00',
  `importe_disponible` decimal(16,2) NOT NULL DEFAULT '0.00',
  `show_para_produccion` tinyint(1) NOT NULL DEFAULT '1',
  `show_para_horas` tinyint(1) NOT NULL DEFAULT '1',
  `habilitado` tinyint(1) NOT NULL DEFAULT '1',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `inv_orden_trabajo_horas_tipos_person_id_foreign` (`person_id`),
  KEY `inv_orden_trabajo_horas_tipos_syj_centros_costo_id_foreign` (`syj_centros_costo_id`),
  CONSTRAINT `inv_orden_trabajo_horas_tipos_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`),
  CONSTRAINT `inv_orden_trabajo_horas_tipos_syj_centros_costo_id_foreign` FOREIGN KEY (`syj_centros_costo_id`) REFERENCES `syj_centros_costos` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `inv_orden_trabajo_horas_tipos`
--


--
-- Table structure for table `inv_orden_trabajo_productos`
--

CREATE TABLE `inv_orden_trabajo_productos` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `inv_orden_trabajo_id` bigint(20) unsigned DEFAULT NULL,
  `inv_producto_id` bigint(20) unsigned DEFAULT NULL,
  `moneda_id` int(10) unsigned NOT NULL DEFAULT '1',
  `cotizacion` decimal(16,2) NOT NULL DEFAULT '0.00',
  `dc_orden_id` bigint(20) unsigned DEFAULT NULL,
  `fecha` datetime NOT NULL DEFAULT '2023-02-16 08:53:00',
  `cantidades` decimal(16,2) NOT NULL DEFAULT '0.00',
  `importe` decimal(16,2) NOT NULL DEFAULT '1.00',
  `total` decimal(16,2) NOT NULL DEFAULT '1.00',
  `comentario` text COLLATE utf8mb4_unicode_ci,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `inv_orden_trabajo_productos_person_id_foreign` (`person_id`),
  KEY `inv_orden_trabajo_productos_inv_orden_trabajo_id_foreign` (`inv_orden_trabajo_id`),
  KEY `inv_orden_trabajo_productos_inv_producto_id_foreign` (`inv_producto_id`),
  KEY `inv_orden_trabajo_productos_dc_orden_id_foreign` (`dc_orden_id`),
  KEY `inv_orden_trabajo_productos_moneda_id_foreign` (`moneda_id`),
  CONSTRAINT `inv_orden_trabajo_productos_dc_orden_id_foreign` FOREIGN KEY (`dc_orden_id`) REFERENCES `dc_ordenes` (`id`),
  CONSTRAINT `inv_orden_trabajo_productos_inv_orden_trabajo_id_foreign` FOREIGN KEY (`inv_orden_trabajo_id`) REFERENCES `inv_orden_trabajos` (`id`),
  CONSTRAINT `inv_orden_trabajo_productos_inv_producto_id_foreign` FOREIGN KEY (`inv_producto_id`) REFERENCES `inv_productos` (`id`),
  CONSTRAINT `inv_orden_trabajo_productos_moneda_id_foreign` FOREIGN KEY (`moneda_id`) REFERENCES `monedas` (`id`),
  CONSTRAINT `inv_orden_trabajo_productos_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `inv_orden_trabajo_productos`
--


--
-- Table structure for table `inv_orden_trabajo_servicios`
--

CREATE TABLE `inv_orden_trabajo_servicios` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `inv_orden_trabajo_id` bigint(20) unsigned DEFAULT NULL,
  `dc_orden_id` bigint(20) unsigned NOT NULL,
  `dc_orden_detail_id` bigint(20) unsigned NOT NULL,
  `fecha` datetime NOT NULL DEFAULT '2023-08-14 22:32:22',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `inv_orden_trabajo_servicios_person_id_foreign` (`person_id`),
  KEY `inv_orden_trabajo_servicios_inv_orden_trabajo_id_foreign` (`inv_orden_trabajo_id`),
  KEY `inv_orden_trabajo_servicios_dc_orden_id_foreign` (`dc_orden_id`),
  KEY `inv_orden_trabajo_servicios_dc_orden_detail_id_foreign` (`dc_orden_detail_id`),
  CONSTRAINT `inv_orden_trabajo_servicios_dc_orden_detail_id_foreign` FOREIGN KEY (`dc_orden_detail_id`) REFERENCES `dc_ordenes_details` (`id`),
  CONSTRAINT `inv_orden_trabajo_servicios_dc_orden_id_foreign` FOREIGN KEY (`dc_orden_id`) REFERENCES `dc_ordenes` (`id`),
  CONSTRAINT `inv_orden_trabajo_servicios_inv_orden_trabajo_id_foreign` FOREIGN KEY (`inv_orden_trabajo_id`) REFERENCES `inv_orden_trabajos` (`id`),
  CONSTRAINT `inv_orden_trabajo_servicios_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `inv_orden_trabajo_servicios`
--


--
-- Table structure for table `inv_orden_trabajo_tareas`
--

CREATE TABLE `inv_orden_trabajo_tareas` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `fecha` datetime NOT NULL DEFAULT '2023-09-14 21:56:42',
  `person_id` int(10) unsigned NOT NULL,
  `inv_orden_trabajo_id` bigint(20) unsigned NOT NULL,
  `syj_centro_costo_id` int(10) unsigned NOT NULL,
  `syj_empleado_id` int(10) unsigned NOT NULL,
  `descripcion` longtext COLLATE utf8mb4_unicode_ci,
  `horas_estimadas` decimal(16,2) DEFAULT NULL,
  `is_terminada` tinyint(1) NOT NULL DEFAULT '0',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `inv_orden_trabajo_tareas_person_id_foreign` (`person_id`),
  KEY `inv_orden_trabajo_tareas_inv_orden_trabajo_id_foreign` (`inv_orden_trabajo_id`),
  KEY `inv_orden_trabajo_tareas_syj_centro_costo_id_foreign` (`syj_centro_costo_id`),
  KEY `inv_orden_trabajo_tareas_syj_empleado_id_foreign` (`syj_empleado_id`),
  CONSTRAINT `inv_orden_trabajo_tareas_inv_orden_trabajo_id_foreign` FOREIGN KEY (`inv_orden_trabajo_id`) REFERENCES `inv_orden_trabajos` (`id`),
  CONSTRAINT `inv_orden_trabajo_tareas_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`),
  CONSTRAINT `inv_orden_trabajo_tareas_syj_centro_costo_id_foreign` FOREIGN KEY (`syj_centro_costo_id`) REFERENCES `syj_centros_costos` (`id`),
  CONSTRAINT `inv_orden_trabajo_tareas_syj_empleado_id_foreign` FOREIGN KEY (`syj_empleado_id`) REFERENCES `syj_empleados` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `inv_orden_trabajo_tareas`
--


--
-- Table structure for table `inv_orden_trabajos`
--

CREATE TABLE `inv_orden_trabajos` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `person_id_relationed` int(10) unsigned DEFAULT NULL,
  `inv_ot_clasificacion_id` int(10) unsigned DEFAULT NULL,
  `direccion` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `latitud` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `longitud` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `patente` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `rodado_id` bigint(20) unsigned DEFAULT NULL,
  `fecha` datetime NOT NULL DEFAULT '2023-02-16 08:52:59',
  `fecha_estimada` datetime DEFAULT NULL,
  `fecha_cierre` datetime DEFAULT NULL,
  `numero` int(10) unsigned NOT NULL,
  `responsable` text COLLATE utf8mb4_unicode_ci,
  `syj_empleado_id` int(10) unsigned DEFAULT NULL,
  `responsable_emp_id` int(10) unsigned DEFAULT NULL,
  `importe` decimal(16,2) NOT NULL DEFAULT '0.00',
  `titulo` text COLLATE utf8mb4_unicode_ci,
  `descripcion` longtext COLLATE utf8mb4_unicode_ci,
  `cerrada` tinyint(1) NOT NULL DEFAULT '0',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `inv_orden_trabajos_person_id_foreign` (`person_id`),
  KEY `inv_orden_trabajos_person_id_relationed_foreign` (`person_id_relationed`),
  KEY `inv_orden_trabajos_inv_ot_clasificacion_id_foreign` (`inv_ot_clasificacion_id`),
  KEY `inv_orden_trabajos_rodado_id_foreign` (`rodado_id`),
  KEY `inv_orden_trabajos_syj_empleado_id_foreign` (`syj_empleado_id`),
  KEY `inv_orden_trabajos_responsable_emp_id_foreign` (`responsable_emp_id`),
  CONSTRAINT `inv_orden_trabajos_inv_ot_clasificacion_id_foreign` FOREIGN KEY (`inv_ot_clasificacion_id`) REFERENCES `inv_orden_trabajo_clasificacion` (`id`),
  CONSTRAINT `inv_orden_trabajos_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`),
  CONSTRAINT `inv_orden_trabajos_person_id_relationed_foreign` FOREIGN KEY (`person_id_relationed`) REFERENCES `persons` (`id`),
  CONSTRAINT `inv_orden_trabajos_responsable_emp_id_foreign` FOREIGN KEY (`responsable_emp_id`) REFERENCES `syj_empleados` (`id`),
  CONSTRAINT `inv_orden_trabajos_rodado_id_foreign` FOREIGN KEY (`rodado_id`) REFERENCES `rodados` (`id`),
  CONSTRAINT `inv_orden_trabajos_syj_empleado_id_foreign` FOREIGN KEY (`syj_empleado_id`) REFERENCES `syj_empleados` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `inv_orden_trabajos`
--


--
-- Table structure for table `inv_ot_devoluciones`
--

CREATE TABLE `inv_ot_devoluciones` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `inv_ot_id` bigint(20) unsigned NOT NULL,
  `fecha` datetime NOT NULL DEFAULT '2025-03-17 01:10:12',
  `descripcion` longtext COLLATE utf8mb4_unicode_ci,
  `estado` tinyint(1) NOT NULL DEFAULT '0',
  `firma` text COLLATE utf8mb4_unicode_ci,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `inv_ot_devoluciones_person_id_foreign` (`person_id`),
  KEY `inv_ot_devoluciones_inv_ot_id_foreign` (`inv_ot_id`),
  CONSTRAINT `inv_ot_devoluciones_inv_ot_id_foreign` FOREIGN KEY (`inv_ot_id`) REFERENCES `inv_orden_trabajos` (`id`),
  CONSTRAINT `inv_ot_devoluciones_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `inv_ot_devoluciones`
--


--
-- Table structure for table `inv_ot_horas_importe_dispo`
--

CREATE TABLE `inv_ot_horas_importe_dispo` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `fecha` datetime NOT NULL DEFAULT '2023-09-12 22:27:08',
  `dc_estado_id` bigint(20) unsigned NOT NULL,
  `dc_firma_id` bigint(20) unsigned NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `inv_ot_horas_importe_dispo_person_id_foreign` (`person_id`),
  KEY `inv_ot_horas_importe_dispo_dc_estado_id_foreign` (`dc_estado_id`),
  KEY `inv_ot_horas_importe_dispo_dc_firma_id_foreign` (`dc_firma_id`),
  CONSTRAINT `inv_ot_horas_importe_dispo_dc_estado_id_foreign` FOREIGN KEY (`dc_estado_id`) REFERENCES `dc_estados` (`id`),
  CONSTRAINT `inv_ot_horas_importe_dispo_dc_firma_id_foreign` FOREIGN KEY (`dc_firma_id`) REFERENCES `dc_firmas` (`id`),
  CONSTRAINT `inv_ot_horas_importe_dispo_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `inv_ot_horas_importe_dispo`
--


--
-- Table structure for table `inv_ot_horas_importe_disponible`
--

CREATE TABLE `inv_ot_horas_importe_disponible` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `inv_ot_horas_importe_dispo_id` bigint(20) unsigned NOT NULL,
  `inv_orden_trabajo_horas_tipo_id` bigint(20) unsigned NOT NULL,
  `transactionable_type` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `transactionable_id` int(10) unsigned DEFAULT NULL,
  `importe` decimal(16,2) NOT NULL DEFAULT '0.00',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `inv_ot_h_imp_dispo_id` (`inv_ot_horas_importe_dispo_id`),
  KEY `inv_ot_h_tipo_id` (`inv_orden_trabajo_horas_tipo_id`),
  CONSTRAINT `inv_ot_h_imp_dispo_id` FOREIGN KEY (`inv_ot_horas_importe_dispo_id`) REFERENCES `inv_ot_horas_importe_dispo` (`id`),
  CONSTRAINT `inv_ot_h_tipo_id` FOREIGN KEY (`inv_orden_trabajo_horas_tipo_id`) REFERENCES `inv_orden_trabajo_horas_tipos` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `inv_ot_horas_importe_disponible`
--


--
-- Table structure for table `inv_ot_link`
--

CREATE TABLE `inv_ot_link` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `comentario` text COLLATE utf8mb4_unicode_ci,
  `fecha` datetime DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `inv_ot_link_person_id_foreign` (`person_id`),
  CONSTRAINT `inv_ot_link_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `inv_ot_link`
--


--
-- Table structure for table `inv_ot_link_facts`
--

CREATE TABLE `inv_ot_link_facts` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `inv_ot_link_id` bigint(20) unsigned NOT NULL,
  `fact_elec_receipt_id` int(10) unsigned NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `inv_ot_link_facts_inv_ot_link_id_foreign` (`inv_ot_link_id`),
  KEY `inv_ot_link_facts_fact_elec_receipt_id_foreign` (`fact_elec_receipt_id`),
  CONSTRAINT `inv_ot_link_facts_fact_elec_receipt_id_foreign` FOREIGN KEY (`fact_elec_receipt_id`) REFERENCES `fact_elec_receipts` (`id`),
  CONSTRAINT `inv_ot_link_facts_inv_ot_link_id_foreign` FOREIGN KEY (`inv_ot_link_id`) REFERENCES `inv_ot_link` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `inv_ot_link_facts`
--


--
-- Table structure for table `inv_ot_link_ots`
--

CREATE TABLE `inv_ot_link_ots` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `inv_ot_link_id` bigint(20) unsigned NOT NULL,
  `inv_ot_id` bigint(20) unsigned NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `inv_ot_link_ots_inv_ot_link_id_foreign` (`inv_ot_link_id`),
  KEY `inv_ot_link_ots_inv_ot_id_foreign` (`inv_ot_id`),
  CONSTRAINT `inv_ot_link_ots_inv_ot_id_foreign` FOREIGN KEY (`inv_ot_id`) REFERENCES `inv_orden_trabajos` (`id`),
  CONSTRAINT `inv_ot_link_ots_inv_ot_link_id_foreign` FOREIGN KEY (`inv_ot_link_id`) REFERENCES `inv_ot_link` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `inv_ot_link_ots`
--


--
-- Table structure for table `inv_ots_facturadas`
--

CREATE TABLE `inv_ots_facturadas` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `inv_ot_id` bigint(20) unsigned NOT NULL,
  `fact_elec_receipt_id` int(11) DEFAULT NULL,
  `receipt_id` int(10) unsigned DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `inv_ots_facturadas_inv_ot_id_foreign` (`inv_ot_id`),
  KEY `inv_ots_facturadas_fact_elec_receipt_id_foreign` (`fact_elec_receipt_id`),
  KEY `inv_ots_facturadas_receipt_id_foreign` (`receipt_id`),
  CONSTRAINT `inv_ots_facturadas_inv_ot_id_foreign` FOREIGN KEY (`inv_ot_id`) REFERENCES `inv_orden_trabajos` (`id`),
  CONSTRAINT `inv_ots_facturadas_receipt_id_foreign` FOREIGN KEY (`receipt_id`) REFERENCES `receipts` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `inv_ots_facturadas`
--


--
-- Table structure for table `inv_ots_presupuestos`
--

CREATE TABLE `inv_ots_presupuestos` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `inv_ot_id` bigint(20) unsigned NOT NULL,
  `dc_orden_id` bigint(20) unsigned NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `inv_ots_presupuestos_inv_ot_id_foreign` (`inv_ot_id`),
  KEY `inv_ots_presupuestos_dc_orden_id_foreign` (`dc_orden_id`),
  CONSTRAINT `inv_ots_presupuestos_dc_orden_id_foreign` FOREIGN KEY (`dc_orden_id`) REFERENCES `dc_ordenes` (`id`),
  CONSTRAINT `inv_ots_presupuestos_inv_ot_id_foreign` FOREIGN KEY (`inv_ot_id`) REFERENCES `inv_orden_trabajos` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `inv_ots_presupuestos`
--


--
-- Table structure for table `inv_product_receipt`
--

CREATE TABLE `inv_product_receipt` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(11) DEFAULT NULL,
  `type_id` int(10) unsigned NOT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `inv_product_id` bigint(20) unsigned NOT NULL,
  `prod_variant_id` bigint(20) unsigned DEFAULT NULL,
  `inv_deposito_id` bigint(20) unsigned DEFAULT NULL,
  `receiptable_type` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `receiptable_id` int(10) unsigned NOT NULL,
  `cantidades` decimal(16,2) NOT NULL,
  `costo` decimal(16,2) NOT NULL DEFAULT '0.00',
  `precio_sin_iva` decimal(16,2) NOT NULL DEFAULT '0.00',
  `descuento` decimal(16,2) NOT NULL DEFAULT '0.00',
  `descuento_por1_imp0` tinyint(1) NOT NULL DEFAULT '1',
  `descuento_porcentaje` decimal(16,2) NOT NULL DEFAULT '0.00',
  `precio_con_descuento` decimal(16,2) NOT NULL DEFAULT '0.00',
  `precio_final` decimal(16,2) NOT NULL DEFAULT '0.00',
  `iva` decimal(16,2) NOT NULL DEFAULT '0.00',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `inv_product_receipt_type_id_foreign` (`type_id`),
  KEY `inv_product_receipt_person_id_foreign` (`person_id`),
  KEY `inv_product_receipt_inv_product_id_foreign` (`inv_product_id`),
  KEY `inv_product_receipt_inv_deposito_id_foreign` (`inv_deposito_id`),
  KEY `inv_product_receipt_prod_variant_id_foreign` (`prod_variant_id`),
  CONSTRAINT `inv_product_receipt_inv_deposito_id_foreign` FOREIGN KEY (`inv_deposito_id`) REFERENCES `inv_depositos` (`id`),
  CONSTRAINT `inv_product_receipt_inv_product_id_foreign` FOREIGN KEY (`inv_product_id`) REFERENCES `inv_productos` (`id`),
  CONSTRAINT `inv_product_receipt_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`),
  CONSTRAINT `inv_product_receipt_prod_variant_id_foreign` FOREIGN KEY (`prod_variant_id`) REFERENCES `prod_variants` (`id`) ON DELETE CASCADE,
  CONSTRAINT `inv_product_receipt_type_id_foreign` FOREIGN KEY (`type_id`) REFERENCES `types` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=89 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `inv_product_receipt`
--

INSERT INTO `inv_product_receipt` VALUES (1,NULL,1,41176,133,NULL,2,'App\\Models\\Receipt',7379,40.00,4297.00,4828.93,0.00,0,0.00,193157.20,233720.21,40563.01,NULL,'2024-04-08 12:50:55','2024-04-08 12:50:55'),(2,NULL,1,41176,134,NULL,2,'App\\Models\\Receipt',7379,50.00,1210.00,1528.93,0.00,0,0.00,76446.50,92500.26,16053.76,NULL,'2024-04-08 12:50:55','2024-04-08 12:50:55'),(3,NULL,1,41176,135,NULL,2,'App\\Models\\Receipt',7379,50.00,1024.00,1238.84,0.00,0,0.00,61942.00,74949.82,13007.82,NULL,'2024-04-08 12:50:55','2024-04-08 12:50:55'),(4,NULL,1,41176,136,NULL,2,'App\\Models\\Receipt',7379,50.00,1700.00,2066.12,0.00,0,0.00,103306.00,125000.26,21694.26,NULL,'2024-04-08 12:50:55','2024-04-08 12:50:55'),(5,NULL,1,41176,137,NULL,2,'App\\Models\\Receipt',7379,85.00,1390.00,1596.69,0.00,0,0.00,135718.65,164219.57,28500.92,NULL,'2024-04-08 12:50:55','2024-04-08 12:50:55'),(6,NULL,1,41176,138,NULL,2,'App\\Models\\Receipt',7379,50.00,844.00,844.00,0.00,0,0.00,42200.00,51062.00,8862.00,NULL,'2024-04-08 12:50:55','2024-04-08 12:50:55'),(7,NULL,1,41176,139,NULL,2,'App\\Models\\Receipt',7379,50.00,144.00,165.29,0.00,0,0.00,8264.50,10000.05,1735.55,NULL,'2024-04-08 12:50:55','2024-04-08 12:50:55'),(8,NULL,1,41176,140,NULL,2,'App\\Models\\Receipt',7379,103.00,982.00,1238.84,701.49,0,0.00,126899.03,153547.83,26648.80,NULL,'2024-04-08 12:50:55','2024-04-08 12:50:55'),(9,NULL,1,41176,133,NULL,2,'App\\Models\\Receipt',7380,40.00,4297.00,4828.93,0.00,0,0.00,193157.20,233720.21,40563.01,NULL,'2024-04-08 12:53:37','2024-04-08 12:53:37'),(10,NULL,1,41176,134,NULL,2,'App\\Models\\Receipt',7380,50.00,1210.00,1528.93,0.00,0,0.00,76446.50,92500.26,16053.76,NULL,'2024-04-08 12:53:37','2024-04-08 12:53:37'),(11,NULL,1,41176,135,NULL,2,'App\\Models\\Receipt',7380,50.00,1024.00,1238.84,0.00,0,0.00,61942.00,74949.82,13007.82,NULL,'2024-04-08 12:53:37','2024-04-08 12:53:37'),(12,NULL,1,41176,136,NULL,2,'App\\Models\\Receipt',7380,50.00,1700.00,2066.12,0.00,0,0.00,103306.00,125000.26,21694.26,NULL,'2024-04-08 12:53:37','2024-04-08 12:53:37'),(13,NULL,1,41176,137,NULL,2,'App\\Models\\Receipt',7380,85.00,1390.00,1596.69,0.00,0,0.00,135718.65,164219.57,28500.92,NULL,'2024-04-08 12:53:37','2024-04-08 12:53:37'),(14,NULL,1,41176,138,NULL,2,'App\\Models\\Receipt',7380,50.00,844.00,844.00,0.00,0,0.00,42200.00,51062.00,8862.00,NULL,'2024-04-08 12:53:37','2024-04-08 12:53:37'),(15,NULL,1,41176,139,NULL,2,'App\\Models\\Receipt',7380,50.00,144.00,165.29,0.00,0,0.00,8264.50,10000.05,1735.55,NULL,'2024-04-08 12:53:37','2024-04-08 12:53:37'),(16,NULL,1,41176,140,NULL,2,'App\\Models\\Receipt',7380,103.00,982.00,1238.84,701.49,0,0.00,126899.03,153547.83,26648.80,NULL,'2024-04-08 12:53:37','2024-04-08 12:53:37'),(17,NULL,1,41176,133,NULL,2,'App\\Models\\Receipt',7381,40.00,4297.00,4828.93,0.00,0,0.00,193157.20,233720.21,40563.01,NULL,'2024-04-08 12:54:03','2024-04-08 12:54:03'),(18,NULL,1,41176,134,NULL,2,'App\\Models\\Receipt',7381,50.00,1210.00,1528.93,0.00,0,0.00,76446.50,92500.26,16053.76,NULL,'2024-04-08 12:54:03','2024-04-08 12:54:03'),(19,NULL,1,41176,135,NULL,2,'App\\Models\\Receipt',7381,50.00,1024.00,1238.84,0.00,0,0.00,61942.00,74949.82,13007.82,NULL,'2024-04-08 12:54:03','2024-04-08 12:54:03'),(20,NULL,1,41176,136,NULL,2,'App\\Models\\Receipt',7381,50.00,1700.00,2066.12,0.00,0,0.00,103306.00,125000.26,21694.26,NULL,'2024-04-08 12:54:03','2024-04-08 12:54:03'),(21,NULL,1,41176,137,NULL,2,'App\\Models\\Receipt',7381,85.00,1390.00,1596.69,0.00,0,0.00,135718.65,164219.57,28500.92,NULL,'2024-04-08 12:54:03','2024-04-08 12:54:03'),(22,NULL,1,41176,138,NULL,2,'App\\Models\\Receipt',7381,50.00,844.00,844.00,0.00,0,0.00,42200.00,51062.00,8862.00,NULL,'2024-04-08 12:54:03','2024-04-08 12:54:03'),(23,NULL,1,41176,139,NULL,2,'App\\Models\\Receipt',7381,50.00,144.00,165.29,0.00,0,0.00,8264.50,10000.05,1735.55,NULL,'2024-04-08 12:54:03','2024-04-08 12:54:03'),(24,NULL,1,41176,140,NULL,2,'App\\Models\\Receipt',7381,103.00,982.00,1238.84,701.49,0,0.00,126899.03,153547.83,26648.80,NULL,'2024-04-08 12:54:03','2024-04-08 12:54:03');
INSERT INTO `inv_product_receipt` VALUES (25,NULL,1,41176,133,NULL,2,'App\\Models\\Receipt',7382,40.00,4297.00,4828.93,0.00,0,0.00,193157.20,233720.21,40563.01,NULL,'2024-04-08 12:54:16','2024-04-08 12:54:16'),(26,NULL,1,41176,134,NULL,2,'App\\Models\\Receipt',7382,50.00,1210.00,1528.93,0.00,0,0.00,76446.50,92500.26,16053.76,NULL,'2024-04-08 12:54:16','2024-04-08 12:54:16'),(27,NULL,1,41176,135,NULL,2,'App\\Models\\Receipt',7382,50.00,1024.00,1238.84,0.00,0,0.00,61942.00,74949.82,13007.82,NULL,'2024-04-08 12:54:16','2024-04-08 12:54:16'),(28,NULL,1,41176,136,NULL,2,'App\\Models\\Receipt',7382,50.00,1700.00,2066.12,0.00,0,0.00,103306.00,125000.26,21694.26,NULL,'2024-04-08 12:54:16','2024-04-08 12:54:16'),(29,NULL,1,41176,137,NULL,2,'App\\Models\\Receipt',7382,85.00,1390.00,1596.69,0.00,0,0.00,135718.65,164219.57,28500.92,NULL,'2024-04-08 12:54:16','2024-04-08 12:54:16'),(30,NULL,1,41176,138,NULL,2,'App\\Models\\Receipt',7382,50.00,844.00,844.00,0.00,0,0.00,42200.00,51062.00,8862.00,NULL,'2024-04-08 12:54:16','2024-04-08 12:54:16'),(31,NULL,1,41176,139,NULL,2,'App\\Models\\Receipt',7382,50.00,144.00,165.29,0.00,0,0.00,8264.50,10000.05,1735.55,NULL,'2024-04-08 12:54:16','2024-04-08 12:54:16'),(32,NULL,1,41176,140,NULL,2,'App\\Models\\Receipt',7382,103.00,982.00,1238.84,701.49,0,0.00,126899.03,153547.83,26648.80,NULL,'2024-04-08 12:54:16','2024-04-08 12:54:16'),(33,NULL,1,41176,133,NULL,2,'App\\Models\\Receipt',7383,40.00,4297.00,4828.93,0.00,0,0.00,193157.20,233720.21,40563.01,NULL,'2024-04-08 12:55:19','2024-04-08 12:55:19'),(34,NULL,1,41176,134,NULL,2,'App\\Models\\Receipt',7383,50.00,1210.00,1528.93,0.00,0,0.00,76446.50,92500.26,16053.76,NULL,'2024-04-08 12:55:19','2024-04-08 12:55:19'),(35,NULL,1,41176,135,NULL,2,'App\\Models\\Receipt',7383,50.00,1024.00,1238.84,0.00,0,0.00,61942.00,74949.82,13007.82,NULL,'2024-04-08 12:55:19','2024-04-08 12:55:19'),(36,NULL,1,41176,136,NULL,2,'App\\Models\\Receipt',7383,50.00,1700.00,2066.12,0.00,0,0.00,103306.00,125000.26,21694.26,NULL,'2024-04-08 12:55:19','2024-04-08 12:55:19'),(37,NULL,1,41176,137,NULL,2,'App\\Models\\Receipt',7383,85.00,1390.00,1596.69,0.00,0,0.00,135718.65,164219.57,28500.92,NULL,'2024-04-08 12:55:19','2024-04-08 12:55:19'),(38,NULL,1,41176,138,NULL,2,'App\\Models\\Receipt',7383,50.00,844.00,844.00,0.00,0,0.00,42200.00,51062.00,8862.00,NULL,'2024-04-08 12:55:19','2024-04-08 12:55:19'),(39,NULL,1,41176,139,NULL,2,'App\\Models\\Receipt',7383,50.00,144.00,165.29,0.00,0,0.00,8264.50,10000.05,1735.55,NULL,'2024-04-08 12:55:19','2024-04-08 12:55:19'),(40,NULL,1,41176,140,NULL,2,'App\\Models\\Receipt',7383,103.00,982.00,1238.84,701.49,0,0.00,126899.03,153547.83,26648.80,NULL,'2024-04-08 12:55:19','2024-04-08 12:55:19'),(41,NULL,1,41176,133,NULL,2,'App\\Models\\Receipt',7384,40.00,4297.00,4828.93,0.00,0,0.00,193157.20,233720.21,40563.01,NULL,'2024-04-08 13:00:39','2024-04-08 13:00:39'),(42,NULL,1,41176,134,NULL,2,'App\\Models\\Receipt',7384,50.00,1210.00,1528.93,0.00,0,0.00,76446.50,92500.26,16053.76,NULL,'2024-04-08 13:00:39','2024-04-08 13:00:39'),(43,NULL,1,41176,135,NULL,2,'App\\Models\\Receipt',7384,50.00,1024.00,1238.84,0.00,0,0.00,61942.00,74949.82,13007.82,NULL,'2024-04-08 13:00:39','2024-04-08 13:00:39'),(44,NULL,1,41176,136,NULL,2,'App\\Models\\Receipt',7384,50.00,1700.00,2066.12,0.00,0,0.00,103306.00,125000.26,21694.26,NULL,'2024-04-08 13:00:39','2024-04-08 13:00:39'),(45,NULL,1,41176,137,NULL,2,'App\\Models\\Receipt',7384,85.00,1390.00,1596.69,0.00,0,0.00,135718.65,164219.57,28500.92,NULL,'2024-04-08 13:00:39','2024-04-08 13:00:39'),(46,NULL,1,41176,138,NULL,2,'App\\Models\\Receipt',7384,50.00,844.00,844.00,0.00,0,0.00,42200.00,51062.00,8862.00,NULL,'2024-04-08 13:00:39','2024-04-08 13:00:39'),(47,NULL,1,41176,139,NULL,2,'App\\Models\\Receipt',7384,50.00,144.00,165.29,0.00,0,0.00,8264.50,10000.05,1735.55,NULL,'2024-04-08 13:00:39','2024-04-08 13:00:39'),(48,NULL,1,41176,140,NULL,2,'App\\Models\\Receipt',7384,103.00,982.00,1238.84,701.49,0,0.00,126899.03,153547.83,26648.80,NULL,'2024-04-08 13:00:39','2024-04-08 13:00:39');
INSERT INTO `inv_product_receipt` VALUES (49,NULL,1,41176,133,NULL,2,'App\\Models\\Receipt',7385,40.00,4297.00,4828.93,0.00,0,0.00,193157.20,233720.21,40563.01,NULL,'2024-04-08 13:01:28','2024-04-08 13:01:28'),(50,NULL,1,41176,134,NULL,2,'App\\Models\\Receipt',7385,50.00,1210.00,1528.93,0.00,0,0.00,76446.50,92500.26,16053.76,NULL,'2024-04-08 13:01:28','2024-04-08 13:01:28'),(51,NULL,1,41176,135,NULL,2,'App\\Models\\Receipt',7385,50.00,1024.00,1238.84,0.00,0,0.00,61942.00,74949.82,13007.82,NULL,'2024-04-08 13:01:28','2024-04-08 13:01:28'),(52,NULL,1,41176,136,NULL,2,'App\\Models\\Receipt',7385,50.00,1700.00,2066.12,0.00,0,0.00,103306.00,125000.26,21694.26,NULL,'2024-04-08 13:01:28','2024-04-08 13:01:28'),(53,NULL,1,41176,137,NULL,2,'App\\Models\\Receipt',7385,85.00,1390.00,1596.69,0.00,0,0.00,135718.65,164219.57,28500.92,NULL,'2024-04-08 13:01:28','2024-04-08 13:01:28'),(54,NULL,1,41176,138,NULL,2,'App\\Models\\Receipt',7385,50.00,844.00,844.00,0.00,0,0.00,42200.00,51062.00,8862.00,NULL,'2024-04-08 13:01:28','2024-04-08 13:01:28'),(55,NULL,1,41176,139,NULL,2,'App\\Models\\Receipt',7385,50.00,144.00,165.29,0.00,0,0.00,8264.50,10000.05,1735.55,NULL,'2024-04-08 13:01:28','2024-04-08 13:01:28'),(56,NULL,1,41176,140,NULL,2,'App\\Models\\Receipt',7385,103.00,982.00,1238.84,701.49,0,0.00,126899.03,153547.83,26648.80,NULL,'2024-04-08 13:01:28','2024-04-08 13:01:28'),(57,NULL,1,41176,133,NULL,2,'App\\Models\\Receipt',7386,40.00,4297.00,4828.93,0.00,0,0.00,193157.20,233720.21,40563.01,NULL,'2024-04-08 13:02:11','2024-04-08 13:02:11'),(58,NULL,1,41176,134,NULL,2,'App\\Models\\Receipt',7386,50.00,1210.00,1528.93,0.00,0,0.00,76446.50,92500.26,16053.76,NULL,'2024-04-08 13:02:11','2024-04-08 13:02:11'),(59,NULL,1,41176,135,NULL,2,'App\\Models\\Receipt',7386,50.00,1024.00,1238.84,0.00,0,0.00,61942.00,74949.82,13007.82,NULL,'2024-04-08 13:02:11','2024-04-08 13:02:11'),(60,NULL,1,41176,136,NULL,2,'App\\Models\\Receipt',7386,50.00,1700.00,2066.12,0.00,0,0.00,103306.00,125000.26,21694.26,NULL,'2024-04-08 13:02:11','2024-04-08 13:02:11'),(61,NULL,1,41176,137,NULL,2,'App\\Models\\Receipt',7386,85.00,1390.00,1596.69,0.00,0,0.00,135718.65,164219.57,28500.92,NULL,'2024-04-08 13:02:11','2024-04-08 13:02:11'),(62,NULL,1,41176,138,NULL,2,'App\\Models\\Receipt',7386,50.00,844.00,844.00,0.00,0,0.00,42200.00,51062.00,8862.00,NULL,'2024-04-08 13:02:11','2024-04-08 13:02:11'),(63,NULL,1,41176,139,NULL,2,'App\\Models\\Receipt',7386,50.00,144.00,165.29,0.00,0,0.00,8264.50,10000.05,1735.55,NULL,'2024-04-08 13:02:11','2024-04-08 13:02:11'),(64,NULL,1,41176,140,NULL,2,'App\\Models\\Receipt',7386,103.00,982.00,1238.84,701.49,0,0.00,126899.03,153547.83,26648.80,NULL,'2024-04-08 13:02:11','2024-04-08 13:02:11'),(65,NULL,1,41176,133,NULL,2,'App\\Models\\Receipt',7387,40.00,4297.00,4828.93,0.00,0,0.00,193157.20,233720.21,40563.01,NULL,'2024-04-08 13:10:04','2024-04-08 13:10:04'),(66,NULL,1,41176,134,NULL,2,'App\\Models\\Receipt',7387,50.00,1210.00,1528.93,0.00,0,0.00,76446.50,92500.26,16053.76,NULL,'2024-04-08 13:10:04','2024-04-08 13:10:04'),(67,NULL,1,41176,135,NULL,2,'App\\Models\\Receipt',7387,50.00,1024.00,1238.84,0.00,0,0.00,61942.00,74949.82,13007.82,NULL,'2024-04-08 13:10:04','2024-04-08 13:10:04'),(68,NULL,1,41176,136,NULL,2,'App\\Models\\Receipt',7387,50.00,1700.00,2066.12,0.00,0,0.00,103306.00,125000.26,21694.26,NULL,'2024-04-08 13:10:04','2024-04-08 13:10:04'),(69,NULL,1,41176,137,NULL,2,'App\\Models\\Receipt',7387,85.00,1390.00,1596.69,0.00,0,0.00,135718.65,164219.57,28500.92,NULL,'2024-04-08 13:10:04','2024-04-08 13:10:04'),(70,NULL,1,41176,138,NULL,2,'App\\Models\\Receipt',7387,50.00,844.00,844.00,0.00,0,0.00,42200.00,51062.00,8862.00,NULL,'2024-04-08 13:10:04','2024-04-08 13:10:04'),(71,NULL,1,41176,139,NULL,2,'App\\Models\\Receipt',7387,50.00,144.00,165.29,0.00,0,0.00,8264.50,10000.05,1735.55,NULL,'2024-04-08 13:10:04','2024-04-08 13:10:04'),(72,NULL,1,41176,140,NULL,2,'App\\Models\\Receipt',7387,103.00,982.00,1238.84,701.49,0,0.00,126899.03,153547.83,26648.80,NULL,'2024-04-08 13:10:04','2024-04-08 13:10:04');
INSERT INTO `inv_product_receipt` VALUES (73,NULL,1,41176,133,NULL,2,'App\\Models\\Receipt',7388,40.00,4297.00,4828.93,0.00,0,0.00,193157.20,233720.21,40563.01,NULL,'2024-04-08 13:10:53','2024-04-08 13:10:53'),(74,NULL,1,41176,134,NULL,2,'App\\Models\\Receipt',7388,50.00,1210.00,1528.93,0.00,0,0.00,76446.50,92500.26,16053.76,NULL,'2024-04-08 13:10:53','2024-04-08 13:10:53'),(75,NULL,1,41176,135,NULL,2,'App\\Models\\Receipt',7388,50.00,1024.00,1238.84,0.00,0,0.00,61942.00,74949.82,13007.82,NULL,'2024-04-08 13:10:53','2024-04-08 13:10:53'),(76,NULL,1,41176,136,NULL,2,'App\\Models\\Receipt',7388,50.00,1700.00,2066.12,0.00,0,0.00,103306.00,125000.26,21694.26,NULL,'2024-04-08 13:10:53','2024-04-08 13:10:53'),(77,NULL,1,41176,137,NULL,2,'App\\Models\\Receipt',7388,85.00,1390.00,1596.69,0.00,0,0.00,135718.65,164219.57,28500.92,NULL,'2024-04-08 13:10:53','2024-04-08 13:10:53'),(78,NULL,1,41176,138,NULL,2,'App\\Models\\Receipt',7388,50.00,844.00,844.00,0.00,0,0.00,42200.00,51062.00,8862.00,NULL,'2024-04-08 13:10:53','2024-04-08 13:10:53'),(79,NULL,1,41176,139,NULL,2,'App\\Models\\Receipt',7388,50.00,144.00,165.29,0.00,0,0.00,8264.50,10000.05,1735.55,NULL,'2024-04-08 13:10:53','2024-04-08 13:10:53'),(80,NULL,1,41176,140,NULL,2,'App\\Models\\Receipt',7388,103.00,982.00,1238.84,701.49,0,0.00,126899.03,153547.83,26648.80,NULL,'2024-04-08 13:10:53','2024-04-08 13:10:53'),(81,NULL,1,41176,133,NULL,2,'App\\Models\\Receipt',7389,40.00,4297.00,4828.93,0.00,0,0.00,193157.20,233720.21,40563.01,NULL,NULL,NULL),(82,NULL,1,41176,134,NULL,2,'App\\Models\\Receipt',7389,50.00,1210.00,1528.93,0.00,0,0.00,76446.50,92500.26,16053.76,NULL,NULL,NULL),(83,NULL,1,41176,135,NULL,2,'App\\Models\\Receipt',7389,50.00,1024.00,1238.84,0.00,0,0.00,61942.00,74949.82,13007.82,NULL,NULL,NULL),(84,NULL,1,41176,136,NULL,2,'App\\Models\\Receipt',7389,50.00,1700.00,2066.12,0.00,0,0.00,103306.00,125000.26,21694.26,NULL,NULL,NULL),(85,NULL,1,41176,137,NULL,2,'App\\Models\\Receipt',7389,85.00,1390.00,1596.69,0.00,0,0.00,135718.65,164219.57,28500.92,NULL,NULL,NULL),(86,NULL,1,41176,138,NULL,2,'App\\Models\\Receipt',7389,50.00,844.00,844.00,0.00,0,0.00,42200.00,51062.00,8862.00,NULL,NULL,NULL),(87,NULL,1,41176,139,NULL,2,'App\\Models\\Receipt',7389,50.00,144.00,165.29,0.00,0,0.00,8264.50,10000.05,1735.55,NULL,NULL,NULL),(88,NULL,1,41176,140,NULL,2,'App\\Models\\Receipt',7389,103.00,982.00,1238.84,701.49,0,0.00,126899.03,153547.83,26648.80,NULL,NULL,NULL);

--
-- Table structure for table `inv_producto_fotos`
--

CREATE TABLE `inv_producto_fotos` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `inv_producto_id` bigint(20) unsigned NOT NULL,
  `foto` text COLLATE utf8mb4_unicode_ci NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `inv_producto_fotos_inv_producto_id_foreign` (`inv_producto_id`),
  CONSTRAINT `inv_producto_fotos_inv_producto_id_foreign` FOREIGN KEY (`inv_producto_id`) REFERENCES `inv_productos` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `inv_producto_fotos`
--


--
-- Table structure for table `inv_producto_prioridad`
--

CREATE TABLE `inv_producto_prioridad` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `descripcion` text COLLATE utf8mb4_unicode_ci NOT NULL,
  `habilitado` tinyint(1) NOT NULL DEFAULT '1',
  `deleted_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `inv_producto_prioridad`
--

INSERT INTO `inv_producto_prioridad` VALUES (1,'Alta',1,NULL,NULL,NULL),(2,'Media',1,NULL,NULL,NULL),(3,'Baja',1,NULL,NULL,NULL);

--
-- Table structure for table `inv_productos`
--

CREATE TABLE `inv_productos` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(11) DEFAULT NULL,
  `is_old` tinyint(1) NOT NULL DEFAULT '0',
  `inv_producto_tipo_id` bigint(20) unsigned NOT NULL DEFAULT '1',
  `person_id` int(10) unsigned NOT NULL,
  `person_prov_id` int(10) unsigned DEFAULT NULL,
  `descripcion` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `codigo_externo` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `codigo_interno` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `fac_ele_unidad_medida_id` int(10) unsigned NOT NULL DEFAULT '8',
  `inv_rubro_sub_id` bigint(20) unsigned NOT NULL,
  `moneda_id` int(10) unsigned NOT NULL DEFAULT '1',
  `costo` decimal(16,2) NOT NULL DEFAULT '0.00',
  `margen` decimal(16,2) NOT NULL DEFAULT '0.00',
  `precio_sin_iva` decimal(16,2) NOT NULL DEFAULT '0.00',
  `system_tax_id` int(10) unsigned DEFAULT NULL,
  `iva` decimal(16,2) NOT NULL DEFAULT '0.00',
  `precio_final` decimal(16,2) NOT NULL DEFAULT '0.00',
  `inv_lista_de_precio_id` bigint(20) unsigned DEFAULT NULL,
  `inv_prioridad_id` bigint(20) unsigned NOT NULL DEFAULT '3',
  `foto` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `stock` decimal(16,2) NOT NULL DEFAULT '0.00',
  `stock_minimo` decimal(16,2) NOT NULL DEFAULT '0.00',
  `fecha_vto` datetime DEFAULT NULL,
  `sku` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `texto_corto` text COLLATE utf8mb4_unicode_ci,
  `texto_largo` text COLLATE utf8mb4_unicode_ci,
  `show_in_catalogo` tinyint(1) NOT NULL DEFAULT '0',
  `habilitado` tinyint(1) NOT NULL DEFAULT '1',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `inv_productos_person_id_foreign` (`person_id`),
  KEY `inv_productos_person_prov_id_foreign` (`person_prov_id`),
  KEY `inv_productos_fac_ele_unidad_medida_id_foreign` (`fac_ele_unidad_medida_id`),
  KEY `inv_productos_inv_rubro_sub_id_foreign` (`inv_rubro_sub_id`),
  KEY `inv_productos_system_tax_id_foreign` (`system_tax_id`),
  KEY `inv_productos_inv_lista_de_precio_id_foreign` (`inv_lista_de_precio_id`),
  KEY `inv_productos_inv_producto_tipo_id_foreign` (`inv_producto_tipo_id`),
  KEY `inv_productos_moneda_id_foreign` (`moneda_id`),
  KEY `inv_productos_inv_prioridad_id_foreign` (`inv_prioridad_id`),
  CONSTRAINT `inv_productos_fac_ele_unidad_medida_id_foreign` FOREIGN KEY (`fac_ele_unidad_medida_id`) REFERENCES `fac_elec_unidad_medidas` (`id`),
  CONSTRAINT `inv_productos_inv_lista_de_precio_id_foreign` FOREIGN KEY (`inv_lista_de_precio_id`) REFERENCES `inv_lista_de_precios` (`id`),
  CONSTRAINT `inv_productos_inv_prioridad_id_foreign` FOREIGN KEY (`inv_prioridad_id`) REFERENCES `inv_producto_prioridad` (`id`),
  CONSTRAINT `inv_productos_inv_producto_tipo_id_foreign` FOREIGN KEY (`inv_producto_tipo_id`) REFERENCES `inv_productos_tipos` (`id`),
  CONSTRAINT `inv_productos_inv_rubro_sub_id_foreign` FOREIGN KEY (`inv_rubro_sub_id`) REFERENCES `inv_rubros_sub` (`id`),
  CONSTRAINT `inv_productos_moneda_id_foreign` FOREIGN KEY (`moneda_id`) REFERENCES `monedas` (`id`),
  CONSTRAINT `inv_productos_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`),
  CONSTRAINT `inv_productos_person_prov_id_foreign` FOREIGN KEY (`person_prov_id`) REFERENCES `persons` (`id`),
  CONSTRAINT `inv_productos_system_tax_id_foreign` FOREIGN KEY (`system_tax_id`) REFERENCES `system_taxes` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=145 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `inv_productos`
--

INSERT INTO `inv_productos` VALUES (1,8522,1,1,40718,40814,'Producto #1',NULL,'25',8,1,1,1500.00,10.50,1657.50,2,348.08,2005.58,1,3,NULL,1000.00,250.00,NULL,NULL,NULL,NULL,0,1,'2023-03-01 11:44:58','2024-08-29 00:39:06','2024-08-29 00:39:06'),(2,8522,1,1,40718,40814,'Producto #2',NULL,'101',8,1,1,5000.00,5.00,5250.00,2,1102.50,6352.50,1,3,NULL,295.00,85.00,NULL,NULL,NULL,NULL,0,1,'2023-03-01 11:46:39','2024-08-29 00:39:06','2024-08-29 00:39:06'),(3,8522,1,2,40718,40814,'Combo Producto',NULL,'500',8,1,1,6000.00,5.00,6300.00,2,1323.00,7623.00,1,3,NULL,100.00,0.00,NULL,NULL,NULL,NULL,0,1,'2023-03-01 11:48:51','2024-08-29 00:39:06','2024-08-29 00:39:06'),(4,9435,1,1,41176,41740,'TORO TETRA BRICK 12X 1 LTS',NULL,'1',8,5,1,1100.55,50.20,1653.03,2,347.14,2000.16,2,2,NULL,30.00,0.00,'2024-04-01 00:00:00',NULL,NULL,NULL,0,1,'2024-04-01 12:14:17','2024-08-29 00:39:06','2024-08-29 00:39:06'),(5,9435,1,1,41176,41740,'HARINA LOURDES 4/0 X 25',NULL,'2',2,2,1,10425.57,30.00,13553.24,2,2846.18,16399.42,2,2,NULL,7.00,0.00,'2024-04-01 00:00:00',NULL,NULL,NULL,0,1,'2024-04-01 12:18:58','2024-08-29 00:39:06','2024-08-29 00:39:06'),(6,9435,1,1,41176,41740,'NATIVO TINTO TETRA',NULL,'3',8,5,1,964.18,50.00,1446.28,2,263.22,1750.00,2,2,NULL,24.00,0.00,'2024-04-01 00:00:00',NULL,NULL,NULL,0,1,'2024-04-01 12:23:42','2024-08-29 00:39:06','2024-08-29 00:39:06'),(7,9435,1,1,41176,41740,'FOCOS CANDELA 9W',NULL,'4',8,6,1,920.00,34.75,1239.67,2,193.20,1500.00,2,2,NULL,50.00,0.00,'2024-04-01 00:00:00',NULL,NULL,NULL,0,1,'2024-04-01 16:33:13','2024-08-29 00:39:06','2024-08-29 00:39:06'),(8,9435,1,1,41176,41740,'VIÑA PARRALES TINTO',NULL,'5',8,5,1,1300.00,13.16,1471.07,2,273.00,1780.00,2,2,NULL,13.00,0.00,'2024-04-01 00:00:00',NULL,NULL,NULL,0,1,'2024-04-01 16:35:07','2024-08-29 00:39:06','2024-08-29 00:39:06'),(9,9435,1,1,41176,41740,'DES KEVIN X 250 ML',NULL,'6',8,7,1,1500.00,37.74,2066.12,2,315.00,2500.00,2,2,NULL,2.00,0.00,'2024-04-01 00:00:00',NULL,NULL,NULL,0,1,'2024-04-01 16:45:24','2024-08-29 00:39:06','2024-08-29 00:39:06'),(10,9435,1,1,41176,41740,'BUDWEISER 473',NULL,'7',8,5,1,880.00,12.70,991.74,2,184.80,1200.00,2,2,NULL,12.00,0.00,'2024-04-01 00:00:00',NULL,NULL,NULL,0,1,'2024-04-01 16:48:51','2024-08-29 00:39:06','2024-08-29 00:39:06'),(11,9435,1,1,41176,41740,'LECHE COTAPA DESCREM',NULL,'8',8,2,1,944.00,5.06,991.74,2,198.24,1200.00,2,2,NULL,26.00,0.00,'2024-04-01 00:00:00',NULL,NULL,NULL,0,1,'2024-04-01 16:52:00','2024-08-29 00:39:06','2024-08-29 00:39:06'),(12,9435,1,1,41176,41740,'ADES MANZANA',NULL,'9',8,5,1,1300.00,14.43,1487.60,2,273.00,1800.00,2,2,NULL,15.00,0.00,'2024-04-01 00:00:00',NULL,NULL,NULL,0,1,'2024-04-01 16:55:43','2024-08-29 00:39:06','2024-08-29 00:39:06'),(13,9435,1,1,41176,41740,'ADES MULTIFRUTA',NULL,'10',8,5,1,1300.00,14.43,1487.60,2,273.00,1800.00,2,2,NULL,67.00,0.00,'2024-04-01 00:00:00',NULL,NULL,NULL,0,1,'2024-04-01 16:57:45','2024-08-29 00:39:06','2024-08-29 00:39:06'),(14,9435,1,1,41176,41740,'PURE LH 530G',NULL,'12',8,2,1,690.00,11.39,768.60,2,144.90,930.00,2,2,NULL,112.00,0.00,'2024-04-01 00:00:00',NULL,NULL,NULL,0,1,'2024-04-01 17:02:01','2024-08-29 00:39:06','2024-08-29 00:39:06'),(15,9435,1,1,41176,41740,'SALSA TOMATE OTITO',NULL,'13',8,2,1,620.00,13.30,702.48,2,130.20,850.00,2,2,NULL,77.00,0.00,'2024-04-01 00:00:00',NULL,NULL,NULL,0,1,'2024-04-01 17:06:17','2024-08-29 00:39:06','2024-08-29 00:39:06'),(16,9435,1,1,41176,41740,'PURE TOMATE OTITO',NULL,'14',8,2,1,550.00,-2.33,537.19,2,115.50,650.00,2,1,NULL,176.00,0.00,'2024-04-01 00:00:00',NULL,NULL,NULL,0,1,'2024-04-01 17:11:46','2024-08-29 00:39:06','2024-08-29 00:39:06'),(17,9435,1,1,41176,41740,'TOMATES PERITAS.',NULL,'15',8,2,1,620.00,26.63,785.12,2,130.20,950.00,2,2,NULL,19.00,0.00,'2024-04-01 00:00:00',NULL,NULL,NULL,0,1,'2024-04-01 17:23:17','2024-08-29 00:39:06','2024-08-29 00:39:06'),(18,9435,1,1,41176,41740,'TOMATE TRITURADO',NULL,'16',8,2,1,1316.00,16.18,1528.93,2,276.36,1850.00,2,2,NULL,6.00,0.00,'2024-04-01 00:00:00',NULL,NULL,NULL,0,1,'2024-04-01 17:34:04','2024-08-29 00:39:06','2024-08-29 00:39:06');
INSERT INTO `inv_productos` VALUES (19,9435,1,1,41176,41740,'PICADILLO CHANGUITO',NULL,'17',8,2,1,400.00,23.97,495.87,2,84.00,600.00,2,2,NULL,22.00,0.00,'2024-04-01 00:00:00',NULL,NULL,NULL,0,1,'2024-04-01 18:23:20','2024-08-29 00:39:06','2024-08-29 00:39:06'),(20,9435,1,1,41176,41740,'MAYONESA NATURA 250G',NULL,'18',8,2,1,520.00,19.20,619.83,2,157.50,750.00,2,2,NULL,24.00,0.00,'2024-04-01 00:00:00',NULL,NULL,NULL,0,1,'2024-04-01 18:25:05','2024-08-29 00:39:06','2024-08-29 00:39:06'),(21,9435,1,1,41176,41740,'MAYONESA NATURA 125G',NULL,'19',8,2,1,340.00,21.54,413.22,2,71.40,500.00,2,1,NULL,242.00,0.00,'2024-05-31 00:00:00',NULL,NULL,NULL,0,1,'2024-04-01 18:28:54','2024-08-29 00:39:06','2024-08-29 00:39:06'),(22,9435,1,1,41176,41740,'SARDINA MARVELLA',NULL,'20',8,2,1,1590.00,16.95,1859.50,2,333.90,2250.00,2,2,NULL,19.00,0.00,'2024-04-01 00:00:00',NULL,NULL,NULL,0,1,'2024-04-01 18:30:07','2024-08-29 00:39:06','2024-08-29 00:39:06'),(23,9435,1,1,41176,41740,'ATUN MARVELLA',NULL,'21',8,2,1,1999.00,23.99,2478.51,2,419.79,2999.00,2,2,NULL,42.00,0.00,'2024-04-01 00:00:00',NULL,NULL,NULL,0,1,'2024-04-01 18:31:34','2024-08-29 00:39:06','2024-08-29 00:39:06'),(24,9435,1,1,41176,41740,'CABALLA EN ACEITE MARVELLA',NULL,'22',8,2,1,1880.00,27.48,2396.69,2,394.80,2900.00,2,2,NULL,28.00,0.00,'2024-04-01 00:00:00',NULL,NULL,NULL,0,1,'2024-04-01 20:39:07','2024-08-29 00:39:06','2024-08-29 00:39:06'),(25,9435,1,1,41176,41740,'CABALLA AL NATURAL MARECHIARE',NULL,'23',8,2,1,1680.00,17.08,1966.94,2,352.80,2380.00,2,2,NULL,19.00,0.00,'2024-04-01 00:00:00',NULL,NULL,NULL,0,1,'2024-04-01 20:41:59','2024-08-29 00:39:06','2024-08-29 00:39:06'),(26,9435,1,1,41176,41740,'ARVEJA INALPA',NULL,'24',8,2,1,500.00,47.11,735.54,2,105.00,890.00,2,2,NULL,18.00,0.00,'2024-04-01 00:00:00',NULL,NULL,NULL,0,1,'2024-04-01 20:44:21','2024-08-29 00:39:06','2024-08-29 00:39:06'),(27,9435,1,1,41176,41740,'PALMITOS',NULL,'25',8,2,1,650.00,14.43,743.80,2,136.50,900.00,2,2,NULL,6.00,0.00,'2024-04-01 00:00:00',NULL,NULL,NULL,0,1,'2024-04-01 20:54:39','2024-08-29 00:39:06','2024-08-29 00:39:06'),(28,9435,1,1,41176,41740,'FRUTILLAS EN LATA',NULL,'26',8,2,1,3600.00,14.55,4123.97,2,756.00,4990.00,2,2,NULL,3.00,0.00,'2024-04-01 00:00:00',NULL,NULL,NULL,0,1,'2024-04-01 21:25:28','2024-08-29 00:39:06','2024-08-29 00:39:06'),(29,9435,1,1,41176,41740,'COCTEL LIGTH',NULL,'27',8,2,1,1945.00,14.73,2231.40,2,408.45,2700.00,2,2,NULL,11.00,0.00,'2024-04-01 00:00:00',NULL,NULL,NULL,0,1,'2024-04-01 21:28:31','2024-08-29 00:39:06','2024-08-29 00:39:06'),(30,9435,1,1,41176,41740,'DURAZNO MOLINO ROJO',NULL,'28',8,2,1,870.00,22.54,1066.12,2,270.90,1290.00,2,2,NULL,9.00,0.00,'2024-04-01 00:00:00',NULL,NULL,NULL,0,1,'2024-04-01 21:38:00','2024-08-29 00:39:06','2024-08-29 00:39:06'),(31,9435,1,1,41176,41740,'CHOCLO AMARILLO CREMOSO',NULL,'29',8,2,1,620.00,18.64,735.54,2,130.20,890.00,2,2,NULL,3.00,0.00,'2024-04-01 00:00:00',NULL,NULL,NULL,0,1,'2024-04-01 21:43:05','2024-08-29 00:39:06','2024-08-29 00:39:06'),(32,9435,1,1,41176,41740,'POROTO INALPA',NULL,'30',8,2,1,620.00,18.64,735.54,2,130.20,890.00,2,2,NULL,14.00,0.00,'2024-04-01 00:00:00',NULL,NULL,NULL,0,1,'2024-04-01 21:50:34','2024-08-29 00:39:06','2024-08-29 00:39:06'),(33,9435,1,1,41176,41740,'CHOCLO CREM. BCO',NULL,'31',8,2,1,680.00,19.11,809.92,2,142.80,980.00,2,2,NULL,16.00,0.00,'2024-04-01 00:00:00',NULL,NULL,NULL,0,1,'2024-04-01 21:53:59','2024-08-29 00:39:06','2024-08-29 00:39:06'),(34,9435,1,1,41176,41740,'MAIZENA 220G',NULL,'32',8,2,1,750.00,32.23,991.74,2,157.50,1200.00,2,2,NULL,44.00,0.00,'2024-04-01 00:00:00',NULL,NULL,NULL,0,1,'2024-04-01 21:55:59','2024-08-29 00:39:06','2024-08-29 00:39:06'),(35,9435,1,1,41176,41740,'MAIZENA 500G',NULL,'33',8,2,1,1200.00,23.97,1487.60,2,252.00,1800.00,2,2,NULL,20.00,0.00,'2024-04-01 00:00:00',NULL,NULL,NULL,0,1,'2024-04-01 21:58:16','2024-08-29 00:39:06','2024-08-29 00:39:06');
INSERT INTO `inv_productos` VALUES (36,9435,1,1,41176,41740,'MERMELADA FRITILLA FCO',NULL,'34',8,2,1,1200.00,20.52,1446.28,2,252.00,1750.00,2,2,NULL,4.00,0.00,'2024-04-02 00:00:00',NULL,NULL,NULL,0,1,'2024-04-02 09:54:48','2024-08-29 00:39:06','2024-08-29 00:39:06'),(37,9435,1,1,41176,41740,'MERM. NARANJA ',NULL,'35',8,2,1,980.00,18.06,1157.02,2,205.80,1400.00,2,2,NULL,4.00,0.00,'2024-04-02 00:00:00',NULL,NULL,NULL,0,1,'2024-04-02 09:56:43','2024-08-29 00:39:06','2024-08-29 00:39:06'),(38,9435,1,1,41176,41740,'MERMELADA DURAZNO',NULL,'36',8,2,1,980.00,18.06,1157.02,2,205.80,1400.00,2,2,NULL,16.00,0.00,'2024-04-02 00:00:00',NULL,NULL,NULL,0,1,'2024-04-02 09:57:51','2024-08-29 00:39:06','2024-08-29 00:39:06'),(39,9435,1,1,41176,41740,'MERMELADA MIX',NULL,'37',8,2,1,980.00,18.06,1157.02,2,205.80,1400.00,2,2,NULL,3.00,0.00,'2024-04-02 00:00:00',NULL,NULL,NULL,0,1,'2024-04-02 10:00:40','2024-08-29 00:39:06','2024-08-29 00:39:06'),(40,9435,1,1,41176,41740,'HARINA RANCHITO',NULL,'38',8,2,1,1800.00,14.78,2066.12,2,378.00,2500.00,2,2,NULL,12.00,0.00,'2024-04-02 00:00:00',NULL,NULL,NULL,0,1,'2024-04-02 10:03:29','2024-08-29 00:39:06','2024-08-29 00:39:06'),(41,9435,1,1,41176,41740,'BLANCA FLOR LEUD',NULL,'39',8,2,1,1080.00,7.13,1157.02,2,226.80,1400.00,2,2,NULL,12.00,0.00,'2024-04-02 00:00:00',NULL,NULL,NULL,0,1,'2024-04-02 10:11:41','2024-08-29 00:39:06','2024-08-29 00:39:06'),(42,9435,1,1,41176,41740,'HARINA PIZZA',NULL,'40',8,2,1,850.00,15.70,983.47,2,178.50,1190.00,2,2,NULL,5.00,0.00,'2024-04-02 00:00:00',NULL,NULL,NULL,0,1,'2024-04-02 10:14:49','2024-08-29 00:39:06','2024-08-29 00:39:06'),(43,9435,1,1,41176,41740,'HARINA RAMÍREZ 0000 1KG',NULL,'41',8,2,1,740.00,22.74,908.26,2,230.79,1099.00,2,2,NULL,13.00,0.00,'2024-04-02 00:00:00',NULL,NULL,NULL,0,1,'2024-04-02 10:21:57','2024-08-29 00:39:06','2024-08-29 00:39:06'),(44,9435,1,1,41176,41740,'HARINA RAMIREZ 4/0',NULL,'42',8,2,1,840.00,18.06,991.74,2,176.40,1200.00,2,2,NULL,17.00,0.00,'2024-04-02 00:00:00',NULL,NULL,NULL,0,1,'2024-04-02 10:24:50','2024-08-29 00:39:06','2024-08-29 00:39:06'),(45,9435,1,1,41176,41740,'ZAPALLO KG',NULL,'43',2,3,1,600.00,-6.34,561.98,2,126.00,680.00,2,2,NULL,-1.15,0.00,'2024-04-02 00:00:00',NULL,NULL,NULL,0,1,'2024-04-02 10:55:56','2024-08-29 00:39:06','2024-08-29 00:39:06'),(46,9435,1,1,41176,41740,'MORRON ROJO',NULL,'44',2,3,1,3500.00,15.70,4049.59,2,735.00,4900.00,2,1,NULL,-0.11,0.00,'2024-04-02 00:00:00',NULL,NULL,NULL,0,1,'2024-04-02 11:14:56','2024-08-29 00:39:06','2024-08-29 00:39:06'),(47,9435,1,1,41176,41740,'MORRON VERDE',NULL,'45',2,3,1,1750.00,22.79,2148.76,2,367.50,2600.00,2,1,NULL,-0.11,0.00,'2024-04-02 00:00:00',NULL,NULL,NULL,0,1,'2024-04-02 11:16:00','2024-08-29 00:39:06','2024-08-29 00:39:06'),(48,9435,1,1,41176,41740,'VERDULERIA',NULL,'46',2,3,1,600.00,10.19,661.16,2,119.01,800.00,2,1,NULL,-2.00,0.00,'2024-04-02 00:00:00',NULL,NULL,NULL,0,1,'2024-04-02 11:17:59','2024-08-29 00:39:06','2024-08-29 00:39:06'),(49,9435,1,1,41176,41740,'MANTECA TONADITA X 100G.',NULL,'47',8,8,1,750.00,14.77,860.74,2,157.50,1041.50,2,1,NULL,4.00,0.00,'2024-04-02 00:00:00',NULL,NULL,NULL,0,1,'2024-04-02 11:20:43','2024-08-29 00:39:06','2024-08-29 00:39:06'),(50,9435,1,1,41176,41740,'JUGO BAGGIO PRONTO MULTIFRUTA 1 L',NULL,'48',8,2,1,1109.00,14.76,1272.73,2,270.64,1540.00,2,2,NULL,8.00,0.00,'2024-04-02 00:00:00',NULL,NULL,NULL,0,1,'2024-04-02 12:11:54','2024-08-29 00:39:06','2024-08-29 00:39:06'),(51,9435,1,1,41176,41740,'TIO NICO TIRABUZON',NULL,'49',8,2,1,687.00,17.89,809.92,2,144.27,980.00,2,2,NULL,1.00,0.00,'2024-04-02 00:00:00',NULL,NULL,NULL,0,1,'2024-04-02 12:27:20','2024-08-29 00:39:06','2024-08-29 00:39:06'),(52,9435,1,1,41176,41740,'QUESO RALLADO LA QUESERA X 40G',NULL,'50',8,2,1,850.00,6.95,909.09,2,178.50,1100.00,2,2,NULL,0.00,0.00,'2024-04-02 00:00:00',NULL,NULL,NULL,0,1,'2024-04-02 12:29:31','2024-08-29 00:39:06','2024-08-29 00:39:06');
INSERT INTO `inv_productos` VALUES (53,9435,1,1,41176,41740,'EDULCORANTE EQUALSWEET EN SOBRES 100 UN ',NULL,'51',8,2,1,1890.00,26.81,2396.69,2,396.90,2900.00,2,2,NULL,-1.00,0.00,'2024-04-02 00:00:00',NULL,NULL,NULL,0,1,'2024-04-02 15:08:24','2024-08-29 00:39:06','2024-08-29 00:39:06'),(54,9435,1,1,41176,41740,'GOLDEN CHEF ACEITE ',NULL,'52',8,2,1,1685.00,22.62,2066.12,2,353.85,2500.00,2,2,NULL,-1.00,0.00,'2024-04-02 00:00:00',NULL,NULL,NULL,0,1,'2024-04-02 15:10:37','2024-08-29 00:39:06','2024-08-29 00:39:06'),(55,9435,1,1,41176,41740,'PAPA',NULL,'53',2,3,1,400.00,21.90,487.60,2,69.42,590.00,2,2,NULL,0.26,0.00,'2024-04-02 00:00:00',NULL,NULL,NULL,0,1,'2024-04-02 20:04:21','2024-08-29 00:39:06','2024-08-29 00:39:06'),(56,9435,1,1,41176,41740,'DOCENA Y/O PLANTAS',NULL,'54',2,3,1,700.00,15.70,809.92,2,147.00,980.00,2,2,NULL,1.00,0.00,'2024-04-02 00:00:00',NULL,NULL,NULL,0,1,'2024-04-02 20:06:26','2024-08-29 00:39:06','2024-08-29 00:39:06'),(57,9435,1,1,41176,41740,'VARIOS',NULL,'55',8,2,1,200.00,65.29,330.58,2,42.00,400.00,2,2,NULL,1.00,0.00,'2024-04-02 00:00:00',NULL,NULL,NULL,0,1,'2024-04-02 20:13:01','2024-08-29 00:39:06','2024-08-29 00:39:06'),(58,9435,1,1,41176,41740,'ZANAHORIA',NULL,'56',2,3,1,387.00,50.68,583.14,2,81.27,705.60,2,2,NULL,1.00,0.00,'2024-04-02 00:00:00',NULL,NULL,NULL,0,1,'2024-04-02 22:40:18','2024-08-29 00:39:06','2024-08-29 00:39:06'),(59,9435,1,1,41176,41740,'HARINA BLANCAFLOR LEUD. 1 KG ',NULL,'57',2,2,1,1080.00,7.13,1157.02,2,226.80,1400.00,2,2,NULL,1.00,0.00,'2024-04-02 00:00:00',NULL,NULL,NULL,0,1,'2024-04-02 22:42:52','2024-08-29 00:39:06','2024-08-29 00:39:06'),(60,9435,1,1,41176,41740,'LA BICHY NARANJA ',NULL,'58',8,5,1,816.00,11.41,909.09,2,171.36,1100.00,2,2,NULL,1.00,0.00,'2024-04-02 00:00:00',NULL,NULL,NULL,0,1,'2024-04-02 22:44:07','2024-08-29 00:39:06','2024-08-29 00:39:06'),(61,9435,1,1,41176,41740,'MANAOS LIMA X3L  ',NULL,'59',8,5,1,1200.00,5.79,1269.42,2,252.00,1536.00,2,2,NULL,1.00,0.00,'2024-04-02 00:00:00',NULL,NULL,NULL,0,1,'2024-04-02 22:47:01','2024-08-29 00:39:06','2024-08-29 00:39:06'),(62,9435,1,1,41176,41740,'POETT LIQ DESIN LAVAN 4L',NULL,'60',8,4,1,4297.00,12.38,4828.93,2,902.37,5843.00,2,2,NULL,-40.00,2.00,'2024-04-08 00:00:00',NULL,NULL,NULL,0,1,'2024-04-08 11:16:04','2024-08-29 00:39:06','2024-08-29 00:39:06'),(63,9435,1,1,41176,41740,'CIF CREMA C/LAV.',NULL,'61',8,4,1,1210.00,26.36,1528.93,2,254.10,1850.00,2,2,NULL,-50.00,2.00,'2024-04-08 00:00:00',NULL,NULL,NULL,0,1,'2024-04-08 11:17:18','2024-08-29 00:39:06','2024-08-29 00:39:06'),(64,9435,1,1,41176,41740,'POET FRESCURA DE LAVANDA',NULL,'62',8,4,1,1024.00,20.98,1238.84,2,215.04,1499.00,2,2,NULL,-50.00,2.00,'2024-04-08 00:00:00',NULL,NULL,NULL,0,1,'2024-04-08 11:18:39','2024-08-29 00:39:06','2024-08-29 00:39:06'),(65,9435,1,1,41176,41740,'LISOFORM LAVANDA',NULL,'63',8,4,1,1700.00,21.54,2066.12,2,357.00,2500.00,2,2,NULL,-50.00,2.00,'2024-04-08 00:00:00',NULL,NULL,NULL,0,1,'2024-04-08 12:01:13','2024-08-29 00:39:06','2024-08-29 00:39:06'),(66,9435,1,1,41176,41427,'AGUA LAVANDINA X.5 2LT',NULL,'64',8,4,1,1390.00,14.87,1596.69,2,291.90,1932.00,2,2,NULL,-85.00,2.00,'2024-04-08 00:00:00',NULL,NULL,NULL,0,1,'2024-04-08 12:03:14','2024-08-29 00:39:06','2024-08-29 00:39:06'),(67,9435,1,1,41176,41427,'AGUA LAVANDINA X.5 1LT',NULL,'65',8,4,1,844.00,0.00,844.00,2,177.24,1021.24,2,2,NULL,-50.00,2.00,'2024-04-08 00:00:00',NULL,NULL,NULL,0,1,'2024-04-08 12:05:56','2024-08-29 00:39:06','2024-08-29 00:39:06'),(68,9435,1,1,41176,41427,'BATUQUE FIBRA ESPONJA 1 UN.',NULL,'66',8,4,1,144.00,14.78,165.29,2,30.24,200.00,2,2,NULL,-50.00,0.00,'2024-04-08 00:00:00',NULL,NULL,NULL,0,1,'2024-04-08 12:11:56','2024-08-29 00:39:06','2024-08-29 00:39:06'),(69,9435,1,1,41176,41427,'EXTRA LIMPIO TRAP PISO',NULL,'67',8,4,1,982.00,26.16,1238.84,2,206.22,1499.00,2,2,NULL,-103.00,0.00,'2024-04-08 00:00:00',NULL,NULL,NULL,0,1,'2024-04-08 12:13:45','2024-08-29 00:39:06','2024-08-29 00:39:06');
INSERT INTO `inv_productos` VALUES (70,9435,1,1,41176,41740,'ARTICULOS DE LIMP. VARIOS',NULL,'68',8,4,1,1000.00,23.97,1239.67,2,210.00,1500.00,2,2,NULL,0.00,0.00,'2024-04-08 00:00:00',NULL,NULL,NULL,0,1,'2024-04-08 12:30:50','2024-08-29 00:39:06','2024-08-29 00:39:06'),(71,9435,1,1,40815,41427,'PAÑAL DUFFY XXG 26 U',NULL,'1',8,12,1,6250.00,20.00,7500.00,6,0.00,7500.00,3,2,NULL,2.00,2.00,'2024-05-08 00:00:00',NULL,NULL,NULL,0,1,'2024-05-08 19:59:51','2024-08-29 00:39:06','2024-08-29 00:39:06'),(72,9435,1,1,40815,41427,'PAÑAL DUFFY XG 28 U',NULL,'2',8,12,1,6250.00,20.00,7500.00,6,0.00,7500.00,3,2,NULL,2.00,0.02,'2024-05-08 00:00:00',NULL,NULL,NULL,0,1,'2024-05-08 20:04:14','2024-08-29 00:39:06','2024-08-29 00:39:06'),(73,9435,1,1,40815,41427,'PAÑAL DUFFY G 32 U',NULL,'3',8,12,1,6250.00,20.00,7500.00,6,0.00,7500.00,3,2,NULL,2.00,2.00,'2024-05-08 00:00:00',NULL,NULL,NULL,0,1,'2024-05-08 20:08:01','2024-08-29 00:39:06','2024-08-29 00:39:06'),(74,9435,1,1,40815,41427,'PAÑAL DUFFY M 36 U',NULL,'4',8,12,1,6250.00,20.00,7500.00,6,0.00,7500.00,3,2,NULL,2.00,2.00,'2024-05-08 00:00:00',NULL,NULL,NULL,0,1,'2024-05-08 20:09:35','2024-08-29 00:39:06','2024-08-29 00:39:06'),(75,9435,1,1,40815,41427,'PAÑAL DUFFY P',NULL,'5',8,12,1,6250.00,20.00,7500.00,6,0.00,7500.00,3,2,NULL,2.00,2.00,'2024-05-08 00:00:00',NULL,NULL,NULL,0,1,'2024-05-08 20:10:46','2024-08-29 00:39:06','2024-08-29 00:39:06'),(76,NULL,0,1,41176,41740,'TORO TETRA BRICK 12X 1 LTS',NULL,'1',8,5,1,1100.55,50.20,1653.03,2,347.14,2000.16,2,2,NULL,0.00,0.00,'2024-04-01 00:00:00',NULL,NULL,NULL,0,1,'2024-08-29 00:39:02','2024-08-29 00:39:02',NULL),(77,NULL,0,1,41176,41740,'ADES MULTIFRUTA',NULL,'10',8,5,1,1300.00,14.43,1487.60,2,273.00,1800.00,2,2,NULL,0.00,0.00,'2024-04-01 00:00:00',NULL,NULL,NULL,0,1,'2024-08-29 00:39:02','2024-08-29 00:39:02',NULL),(78,NULL,0,1,40718,40814,'Producto #2',NULL,'101',8,1,1,5000.00,5.00,5250.00,2,1102.50,6352.50,1,3,NULL,0.00,85.00,NULL,NULL,NULL,NULL,0,1,'2024-08-29 00:39:02','2024-08-29 00:39:02',NULL),(79,NULL,0,1,41176,41740,'PURE LH 530G',NULL,'12',8,2,1,690.00,11.39,768.60,2,144.90,930.00,2,2,NULL,0.00,0.00,'2024-04-01 00:00:00',NULL,NULL,NULL,0,1,'2024-08-29 00:39:02','2024-08-29 00:39:02',NULL),(80,NULL,0,1,41176,41740,'SALSA TOMATE OTITO',NULL,'13',8,2,1,620.00,13.30,702.48,2,130.20,850.00,2,2,NULL,0.00,0.00,'2024-04-01 00:00:00',NULL,NULL,NULL,0,1,'2024-08-29 00:39:03','2024-08-29 00:39:03',NULL),(81,NULL,0,1,41176,41740,'PURE TOMATE OTITO',NULL,'14',8,2,1,550.00,-2.33,537.19,2,115.50,650.00,2,1,NULL,0.00,0.00,'2024-04-01 00:00:00',NULL,NULL,NULL,0,1,'2024-08-29 00:39:03','2024-08-29 00:39:03',NULL),(82,NULL,0,1,41176,41740,'TOMATES PERITAS.',NULL,'15',8,2,1,620.00,26.63,785.12,2,130.20,950.00,2,2,NULL,0.00,0.00,'2024-04-01 00:00:00',NULL,NULL,NULL,0,1,'2024-08-29 00:39:03','2024-08-29 00:39:03',NULL),(83,NULL,0,1,41176,41740,'TOMATE TRITURADO',NULL,'16',8,2,1,1316.00,16.18,1528.93,2,276.36,1850.00,2,2,NULL,0.00,0.00,'2024-04-01 00:00:00',NULL,NULL,NULL,0,1,'2024-08-29 00:39:03','2024-08-29 00:39:03',NULL),(84,NULL,0,1,41176,41740,'PICADILLO CHANGUITO',NULL,'17',8,2,1,400.00,23.97,495.87,2,84.00,600.00,2,2,NULL,0.00,0.00,'2024-04-01 00:00:00',NULL,NULL,NULL,0,1,'2024-08-29 00:39:03','2024-08-29 00:39:03',NULL),(85,NULL,0,1,41176,41740,'MAYONESA NATURA 250G',NULL,'18',8,2,1,520.00,19.20,619.83,2,157.50,750.00,2,2,NULL,0.00,0.00,'2024-04-01 00:00:00',NULL,NULL,NULL,0,1,'2024-08-29 00:39:03','2024-08-29 00:39:03',NULL),(86,NULL,0,1,41176,41740,'MAYONESA NATURA 125G',NULL,'19',8,2,1,340.00,21.54,413.22,2,71.40,500.00,2,1,NULL,0.00,0.00,'2024-05-31 00:00:00',NULL,NULL,NULL,0,1,'2024-08-29 00:39:03','2024-08-29 00:39:03',NULL),(87,NULL,0,1,41176,41740,'HARINA LOURDES 4/0 X 25',NULL,'2',2,2,1,10425.57,30.00,13553.24,2,2846.18,16399.42,2,2,NULL,0.00,0.00,'2024-04-01 00:00:00',NULL,NULL,NULL,0,1,'2024-08-29 00:39:03','2024-08-29 00:39:03',NULL);
INSERT INTO `inv_productos` VALUES (88,NULL,0,1,41176,41740,'SARDINA MARVELLA',NULL,'20',8,2,1,1590.00,16.95,1859.50,2,333.90,2250.00,2,2,NULL,0.00,0.00,'2024-04-01 00:00:00',NULL,NULL,NULL,0,1,'2024-08-29 00:39:03','2024-08-29 00:39:03',NULL),(89,NULL,0,1,41176,41740,'ATUN MARVELLA',NULL,'21',8,2,1,1999.00,23.99,2478.51,2,419.79,2999.00,2,2,NULL,0.00,0.00,'2024-04-01 00:00:00',NULL,NULL,NULL,0,1,'2024-08-29 00:39:03','2024-08-29 00:39:03',NULL),(90,NULL,0,1,41176,41740,'CABALLA EN ACEITE MARVELLA',NULL,'22',8,2,1,1880.00,27.48,2396.69,2,394.80,2900.00,2,2,NULL,0.00,0.00,'2024-04-01 00:00:00',NULL,NULL,NULL,0,1,'2024-08-29 00:39:03','2024-08-29 00:39:03',NULL),(91,NULL,0,1,41176,41740,'CABALLA AL NATURAL MARECHIARE',NULL,'23',8,2,1,1680.00,17.08,1966.94,2,352.80,2380.00,2,2,NULL,0.00,0.00,'2024-04-01 00:00:00',NULL,NULL,NULL,0,1,'2024-08-29 00:39:03','2024-08-29 00:39:03',NULL),(92,NULL,0,1,41176,41740,'ARVEJA INALPA',NULL,'24',8,2,1,500.00,47.11,735.54,2,105.00,890.00,2,2,NULL,0.00,0.00,'2024-04-01 00:00:00',NULL,NULL,NULL,0,1,'2024-08-29 00:39:03','2024-08-29 00:39:03',NULL),(93,NULL,0,1,40718,40814,'Producto #1',NULL,'25',8,1,1,1500.00,10.50,1657.50,2,348.08,2005.58,1,3,NULL,0.00,250.00,NULL,NULL,NULL,NULL,0,1,'2024-08-29 00:39:03','2024-08-29 00:39:03',NULL),(94,NULL,0,1,41176,41740,'FRUTILLAS EN LATA',NULL,'26',8,2,1,3600.00,14.55,4123.97,2,756.00,4990.00,2,2,NULL,0.00,0.00,'2024-04-01 00:00:00',NULL,NULL,NULL,0,1,'2024-08-29 00:39:03','2024-08-29 00:39:03',NULL),(95,NULL,0,1,41176,41740,'COCTEL LIGTH',NULL,'27',8,2,1,1945.00,14.73,2231.40,2,408.45,2700.00,2,2,NULL,0.00,0.00,'2024-04-01 00:00:00',NULL,NULL,NULL,0,1,'2024-08-29 00:39:03','2024-08-29 00:39:03',NULL),(96,NULL,0,1,41176,41740,'DURAZNO MOLINO ROJO',NULL,'28',8,2,1,870.00,22.54,1066.12,2,270.90,1290.00,2,2,NULL,0.00,0.00,'2024-04-01 00:00:00',NULL,NULL,NULL,0,1,'2024-08-29 00:39:04','2024-08-29 00:39:04',NULL),(97,NULL,0,1,41176,41740,'CHOCLO AMARILLO CREMOSO',NULL,'29',8,2,1,620.00,18.64,735.54,2,130.20,890.00,2,2,NULL,0.00,0.00,'2024-04-01 00:00:00',NULL,NULL,NULL,0,1,'2024-08-29 00:39:04','2024-08-29 00:39:04',NULL),(98,NULL,0,1,41176,41740,'NATIVO TINTO TETRA',NULL,'3',8,5,1,964.18,50.00,1446.28,2,263.22,1750.00,2,2,NULL,0.00,0.00,'2024-04-01 00:00:00',NULL,NULL,NULL,0,1,'2024-08-29 00:39:04','2024-08-29 00:39:04',NULL),(99,NULL,0,1,41176,41740,'POROTO INALPA',NULL,'30',8,2,1,620.00,18.64,735.54,2,130.20,890.00,2,2,NULL,0.00,0.00,'2024-04-01 00:00:00',NULL,NULL,NULL,0,1,'2024-08-29 00:39:04','2024-08-29 00:39:04',NULL),(100,NULL,0,1,41176,41740,'CHOCLO CREM. BCO',NULL,'31',8,2,1,680.00,19.11,809.92,2,142.80,980.00,2,2,NULL,0.00,0.00,'2024-04-01 00:00:00',NULL,NULL,NULL,0,1,'2024-08-29 00:39:04','2024-08-29 00:39:04',NULL),(101,NULL,0,1,41176,41740,'MAIZENA 220G',NULL,'32',8,2,1,750.00,32.23,991.74,2,157.50,1200.00,2,2,NULL,0.00,0.00,'2024-04-01 00:00:00',NULL,NULL,NULL,0,1,'2024-08-29 00:39:04','2024-08-29 00:39:04',NULL),(102,NULL,0,1,41176,41740,'MAIZENA 500G',NULL,'33',8,2,1,1200.00,23.97,1487.60,2,252.00,1800.00,2,2,NULL,0.00,0.00,'2024-04-01 00:00:00',NULL,NULL,NULL,0,1,'2024-08-29 00:39:04','2024-08-29 00:39:04',NULL),(103,NULL,0,1,41176,41740,'MERMELADA FRITILLA FCO',NULL,'34',8,2,1,1200.00,20.52,1446.28,2,252.00,1750.00,2,2,NULL,0.00,0.00,'2024-04-02 00:00:00',NULL,NULL,NULL,0,1,'2024-08-29 00:39:04','2024-08-29 00:39:04',NULL),(104,NULL,0,1,41176,41740,'MERM. NARANJA ',NULL,'35',8,2,1,980.00,18.06,1157.02,2,205.80,1400.00,2,2,NULL,0.00,0.00,'2024-04-02 00:00:00',NULL,NULL,NULL,0,1,'2024-08-29 00:39:04','2024-08-29 00:39:04',NULL),(105,NULL,0,1,41176,41740,'MERMELADA DURAZNO',NULL,'36',8,2,1,980.00,18.06,1157.02,2,205.80,1400.00,2,2,NULL,0.00,0.00,'2024-04-02 00:00:00',NULL,NULL,NULL,0,1,'2024-08-29 00:39:04','2024-08-29 00:39:04',NULL),(106,NULL,0,1,41176,41740,'MERMELADA MIX',NULL,'37',8,2,1,980.00,18.06,1157.02,2,205.80,1400.00,2,2,NULL,0.00,0.00,'2024-04-02 00:00:00',NULL,NULL,NULL,0,1,'2024-08-29 00:39:04','2024-08-29 00:39:04',NULL);
INSERT INTO `inv_productos` VALUES (107,NULL,0,1,41176,41740,'HARINA RANCHITO',NULL,'38',8,2,1,1800.00,14.78,2066.12,2,378.00,2500.00,2,2,NULL,0.00,0.00,'2024-04-02 00:00:00',NULL,NULL,NULL,0,1,'2024-08-29 00:39:04','2024-08-29 00:39:04',NULL),(108,NULL,0,1,41176,41740,'BLANCA FLOR LEUD',NULL,'39',8,2,1,1080.00,7.13,1157.02,2,226.80,1400.00,2,2,NULL,0.00,0.00,'2024-04-02 00:00:00',NULL,NULL,NULL,0,1,'2024-08-29 00:39:04','2024-08-29 00:39:04',NULL),(109,NULL,0,1,41176,41740,'FOCOS CANDELA 9W',NULL,'4',8,6,1,920.00,34.75,1239.67,2,193.20,1500.00,2,2,NULL,0.00,0.00,'2024-04-01 00:00:00',NULL,NULL,NULL,0,1,'2024-08-29 00:39:04','2024-08-29 00:39:04',NULL),(110,NULL,0,1,41176,41740,'HARINA PIZZA',NULL,'40',8,2,1,850.00,15.70,983.47,2,178.50,1190.00,2,2,NULL,0.00,0.00,'2024-04-02 00:00:00',NULL,NULL,NULL,0,1,'2024-08-29 00:39:04','2024-08-29 00:39:04',NULL),(111,NULL,0,1,41176,41740,'HARINA RAMÍREZ 0000 1KG',NULL,'41',8,2,1,740.00,22.74,908.26,2,230.79,1099.00,2,2,NULL,0.00,0.00,'2024-04-02 00:00:00',NULL,NULL,NULL,0,1,'2024-08-29 00:39:04','2024-08-29 00:39:04',NULL),(112,NULL,0,1,41176,41740,'HARINA RAMIREZ 4/0',NULL,'42',8,2,1,840.00,18.06,991.74,2,176.40,1200.00,2,2,NULL,0.00,0.00,'2024-04-02 00:00:00',NULL,NULL,NULL,0,1,'2024-08-29 00:39:04','2024-08-29 00:39:04',NULL),(113,NULL,0,1,41176,41740,'ZAPALLO KG',NULL,'43',2,3,1,600.00,-6.34,561.98,2,126.00,680.00,2,2,NULL,0.00,0.00,'2024-04-02 00:00:00',NULL,NULL,NULL,0,1,'2024-08-29 00:39:04','2024-08-29 00:39:04',NULL),(114,NULL,0,1,41176,41740,'MORRON ROJO',NULL,'44',2,3,1,3500.00,15.70,4049.59,2,735.00,4900.00,2,1,NULL,0.00,0.00,'2024-04-02 00:00:00',NULL,NULL,NULL,0,1,'2024-08-29 00:39:05','2024-08-29 00:39:05',NULL),(115,NULL,0,1,41176,41740,'MORRON VERDE',NULL,'45',2,3,1,1750.00,22.79,2148.76,2,367.50,2600.00,2,1,NULL,0.00,0.00,'2024-04-02 00:00:00',NULL,NULL,NULL,0,1,'2024-08-29 00:39:05','2024-08-29 00:39:05',NULL),(116,NULL,0,1,41176,41740,'VERDULERIA',NULL,'46',2,3,1,600.00,10.19,661.16,2,119.01,800.00,2,1,NULL,0.00,0.00,'2024-04-02 00:00:00',NULL,NULL,NULL,0,1,'2024-08-29 00:39:05','2024-08-29 00:39:05',NULL),(117,NULL,0,1,41176,41740,'MANTECA TONADITA X 100G.',NULL,'47',8,8,1,750.00,14.77,860.74,2,157.50,1041.50,2,1,NULL,0.00,0.00,'2024-04-02 00:00:00',NULL,NULL,NULL,0,1,'2024-08-29 00:39:05','2024-08-29 00:39:05',NULL),(118,NULL,0,1,41176,41740,'JUGO BAGGIO PRONTO MULTIFRUTA 1 L',NULL,'48',8,2,1,1109.00,14.76,1272.73,2,270.64,1540.00,2,2,NULL,0.00,0.00,'2024-04-02 00:00:00',NULL,NULL,NULL,0,1,'2024-08-29 00:39:05','2024-08-29 00:39:05',NULL),(119,NULL,0,1,41176,41740,'TIO NICO TIRABUZON',NULL,'49',8,2,1,687.00,17.89,809.92,2,144.27,980.00,2,2,NULL,0.00,0.00,'2024-04-02 00:00:00',NULL,NULL,NULL,0,1,'2024-08-29 00:39:05','2024-08-29 00:39:05',NULL),(120,NULL,0,1,41176,41740,'VIÑA PARRALES TINTO',NULL,'5',8,5,1,1300.00,13.16,1471.07,2,273.00,1780.00,2,2,NULL,0.00,0.00,'2024-04-01 00:00:00',NULL,NULL,NULL,0,1,'2024-08-29 00:39:05','2024-08-29 00:39:05',NULL),(121,NULL,0,1,41176,41740,'QUESO RALLADO LA QUESERA X 40G',NULL,'50',8,2,1,850.00,6.95,909.09,2,178.50,1100.00,2,2,NULL,0.00,0.00,'2024-04-02 00:00:00',NULL,NULL,NULL,0,1,'2024-08-29 00:39:05','2024-08-29 00:39:05',NULL),(122,NULL,0,2,40718,40814,'Combo Producto',NULL,'500',8,1,1,6000.00,5.00,6300.00,2,1323.00,7623.00,1,3,NULL,0.00,0.00,NULL,NULL,NULL,NULL,0,1,'2024-08-29 00:39:05','2024-08-29 00:39:05',NULL),(123,NULL,0,1,41176,41740,'EDULCORANTE EQUALSWEET EN SOBRES 100 UN ',NULL,'51',8,2,1,1890.00,26.81,2396.69,2,396.90,2900.00,2,2,NULL,0.00,0.00,'2024-04-02 00:00:00',NULL,NULL,NULL,0,1,'2024-08-29 00:39:05','2024-08-29 00:39:05',NULL),(124,NULL,0,1,41176,41740,'GOLDEN CHEF ACEITE ',NULL,'52',8,2,1,1685.00,22.62,2066.12,2,353.85,2500.00,2,2,NULL,0.00,0.00,'2024-04-02 00:00:00',NULL,NULL,NULL,0,1,'2024-08-29 00:39:05','2024-08-29 00:39:05',NULL),(125,NULL,0,1,41176,41740,'PAPA',NULL,'53',2,3,1,400.00,21.90,487.60,2,69.42,590.00,2,2,NULL,0.00,0.00,'2024-04-02 00:00:00',NULL,NULL,NULL,0,1,'2024-08-29 00:39:05','2024-08-29 00:39:05',NULL);
INSERT INTO `inv_productos` VALUES (126,NULL,0,1,41176,41740,'DOCENA Y/O PLANTAS',NULL,'54',2,3,1,700.00,15.70,809.92,2,147.00,980.00,2,2,NULL,0.00,0.00,'2024-04-02 00:00:00',NULL,NULL,NULL,0,1,'2024-08-29 00:39:05','2024-08-29 00:39:05',NULL),(127,NULL,0,1,41176,41740,'VARIOS',NULL,'55',8,2,1,200.00,65.29,330.58,2,42.00,400.00,2,2,NULL,0.00,0.00,'2024-04-02 00:00:00',NULL,NULL,NULL,0,1,'2024-08-29 00:39:05','2024-08-29 00:39:05',NULL),(128,NULL,0,1,41176,41740,'ZANAHORIA',NULL,'56',2,3,1,387.00,50.68,583.14,2,81.27,705.60,2,2,NULL,0.00,0.00,'2024-04-02 00:00:00',NULL,NULL,NULL,0,1,'2024-08-29 00:39:05','2024-08-29 00:39:05',NULL),(129,NULL,0,1,41176,41740,'HARINA BLANCAFLOR LEUD. 1 KG ',NULL,'57',2,2,1,1080.00,7.13,1157.02,2,226.80,1400.00,2,2,NULL,0.00,0.00,'2024-04-02 00:00:00',NULL,NULL,NULL,0,1,'2024-08-29 00:39:05','2024-08-29 00:39:05',NULL),(130,NULL,0,1,41176,41740,'LA BICHY NARANJA ',NULL,'58',8,5,1,816.00,11.41,909.09,2,171.36,1100.00,2,2,NULL,0.00,0.00,'2024-04-02 00:00:00',NULL,NULL,NULL,0,1,'2024-08-29 00:39:05','2024-08-29 00:39:05',NULL),(131,NULL,0,1,41176,41740,'MANAOS LIMA X3L  ',NULL,'59',8,5,1,1200.00,5.79,1269.42,2,252.00,1536.00,2,2,NULL,0.00,0.00,'2024-04-02 00:00:00',NULL,NULL,NULL,0,1,'2024-08-29 00:39:05','2024-08-29 00:39:05',NULL),(132,NULL,0,1,41176,41740,'DES KEVIN X 250 ML',NULL,'6',8,7,1,1500.00,37.74,2066.12,2,315.00,2500.00,2,2,NULL,0.00,0.00,'2024-04-01 00:00:00',NULL,NULL,NULL,0,1,'2024-08-29 00:39:05','2024-08-29 00:39:05',NULL),(133,NULL,0,1,41176,41740,'POETT LIQ DESIN LAVAN 4L',NULL,'60',8,4,1,4297.00,12.38,4828.93,2,902.37,5843.00,2,2,NULL,0.00,2.00,'2024-04-08 00:00:00',NULL,NULL,NULL,0,1,'2024-08-29 00:39:05','2024-08-29 00:39:05',NULL),(134,NULL,0,1,41176,41740,'CIF CREMA C/LAV.',NULL,'61',8,4,1,1210.00,26.36,1528.93,2,254.10,1850.00,2,2,NULL,0.00,2.00,'2024-04-08 00:00:00',NULL,NULL,NULL,0,1,'2024-08-29 00:39:06','2024-08-29 00:39:06',NULL),(135,NULL,0,1,41176,41740,'POET FRESCURA DE LAVANDA',NULL,'62',8,4,1,1024.00,20.98,1238.84,2,215.04,1499.00,2,2,NULL,0.00,2.00,'2024-04-08 00:00:00',NULL,NULL,NULL,0,1,'2024-08-29 00:39:06','2024-08-29 00:39:06',NULL),(136,NULL,0,1,41176,41740,'LISOFORM LAVANDA',NULL,'63',8,4,1,1700.00,21.54,2066.12,2,357.00,2500.00,2,2,NULL,0.00,2.00,'2024-04-08 00:00:00',NULL,NULL,NULL,0,1,'2024-08-29 00:39:06','2024-08-29 00:39:06',NULL),(137,NULL,0,1,41176,41427,'AGUA LAVANDINA X.5 2LT',NULL,'64',8,4,1,1390.00,14.87,1596.69,2,291.90,1932.00,2,2,NULL,0.00,2.00,'2024-04-08 00:00:00',NULL,NULL,NULL,0,1,'2024-08-29 00:39:06','2024-08-29 00:39:06',NULL),(138,NULL,0,1,41176,41427,'AGUA LAVANDINA X.5 1LT',NULL,'65',8,4,1,844.00,0.00,844.00,2,177.24,1021.24,2,2,NULL,0.00,2.00,'2024-04-08 00:00:00',NULL,NULL,NULL,0,1,'2024-08-29 00:39:06','2024-08-29 00:39:06',NULL),(139,NULL,0,1,41176,41427,'BATUQUE FIBRA ESPONJA 1 UN.',NULL,'66',8,4,1,144.00,14.78,165.29,2,30.24,200.00,2,2,NULL,0.00,0.00,'2024-04-08 00:00:00',NULL,NULL,NULL,0,1,'2024-08-29 00:39:06','2024-08-29 00:39:06',NULL),(140,NULL,0,1,41176,41427,'EXTRA LIMPIO TRAP PISO',NULL,'67',8,4,1,982.00,26.16,1238.84,2,206.22,1499.00,2,2,NULL,0.00,0.00,'2024-04-08 00:00:00',NULL,NULL,NULL,0,1,'2024-08-29 00:39:06','2024-08-29 00:39:06',NULL),(141,NULL,0,1,41176,41740,'ARTICULOS DE LIMP. VARIOS',NULL,'68',8,4,1,1000.00,23.97,1239.67,2,210.00,1500.00,2,2,NULL,0.00,0.00,'2024-04-08 00:00:00',NULL,NULL,NULL,0,1,'2024-08-29 00:39:06','2024-08-29 00:39:06',NULL),(142,NULL,0,1,41176,41740,'BUDWEISER 473',NULL,'7',8,5,1,880.00,12.70,991.74,2,184.80,1200.00,2,2,NULL,0.00,0.00,'2024-04-01 00:00:00',NULL,NULL,NULL,0,1,'2024-08-29 00:39:06','2024-08-29 00:39:06',NULL),(143,NULL,0,1,41176,41740,'LECHE COTAPA DESCREM',NULL,'8',8,2,1,944.00,5.06,991.74,2,198.24,1200.00,2,2,NULL,0.00,0.00,'2024-04-01 00:00:00',NULL,NULL,NULL,0,1,'2024-08-29 00:39:06','2024-08-29 00:39:06',NULL),(144,NULL,0,1,41176,41740,'ADES MANZANA',NULL,'9',8,5,1,1300.00,14.43,1487.60,2,273.00,1800.00,2,2,NULL,0.00,0.00,'2024-04-01 00:00:00',NULL,NULL,NULL,0,1,'2024-08-29 00:39:06','2024-08-29 00:39:06',NULL);

--
-- Table structure for table `inv_productos_tipos`
--

CREATE TABLE `inv_productos_tipos` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `descripcion` text COLLATE utf8mb4_unicode_ci NOT NULL,
  `habilitado` tinyint(1) NOT NULL DEFAULT '1',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `inv_productos_tipos`
--

INSERT INTO `inv_productos_tipos` VALUES (1,NULL,'Unitario',1,NULL,NULL,NULL),(2,NULL,'Combo',1,NULL,NULL,NULL);

--
-- Table structure for table `inv_productos_ubicaciones`
--

CREATE TABLE `inv_productos_ubicaciones` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `person_id` int(10) unsigned DEFAULT NULL,
  `inv_product_id` bigint(20) unsigned NOT NULL,
  `inv_ubicacion_id` bigint(20) unsigned NOT NULL,
  `comentario` longtext COLLATE utf8mb4_unicode_ci,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `inv_productos_ubicaciones_inv_product_id_foreign` (`inv_product_id`),
  KEY `inv_productos_ubicaciones_inv_ubicacion_id_foreign` (`inv_ubicacion_id`),
  KEY `inv_productos_ubicaciones_person_id_foreign` (`person_id`),
  CONSTRAINT `inv_productos_ubicaciones_inv_product_id_foreign` FOREIGN KEY (`inv_product_id`) REFERENCES `inv_productos` (`id`),
  CONSTRAINT `inv_productos_ubicaciones_inv_ubicacion_id_foreign` FOREIGN KEY (`inv_ubicacion_id`) REFERENCES `inv_ubicaciones` (`id`),
  CONSTRAINT `inv_productos_ubicaciones_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=76 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `inv_productos_ubicaciones`
--

INSERT INTO `inv_productos_ubicaciones` VALUES (1,NULL,41176,76,2,'Ubicación Inicial','2024-08-29 00:39:02','2024-08-29 00:39:02',NULL),(2,NULL,41176,76,7,'Ubicación Inicial','2024-08-29 00:39:02','2024-08-29 00:39:02',NULL),(3,NULL,41176,77,2,'Ubicación Inicial','2024-08-29 00:39:02','2024-08-29 00:39:02',NULL),(4,NULL,40718,78,1,'Ubicación Inicial','2024-08-29 00:39:02','2024-08-29 00:39:02',NULL),(5,NULL,41176,79,2,'Ubicación Inicial','2024-08-29 00:39:02','2024-08-29 00:39:02',NULL),(6,NULL,41176,80,2,'Ubicación Inicial','2024-08-29 00:39:03','2024-08-29 00:39:03',NULL),(7,NULL,41176,81,2,'Ubicación Inicial','2024-08-29 00:39:03','2024-08-29 00:39:03',NULL),(8,NULL,41176,82,2,'Ubicación Inicial','2024-08-29 00:39:03','2024-08-29 00:39:03',NULL),(9,NULL,41176,83,2,'Ubicación Inicial','2024-08-29 00:39:03','2024-08-29 00:39:03',NULL),(10,NULL,41176,84,2,'Ubicación Inicial','2024-08-29 00:39:03','2024-08-29 00:39:03',NULL),(11,NULL,41176,85,2,'Ubicación Inicial','2024-08-29 00:39:03','2024-08-29 00:39:03',NULL),(12,NULL,41176,86,2,'Ubicación Inicial','2024-08-29 00:39:03','2024-08-29 00:39:03',NULL),(13,NULL,41176,87,2,'Ubicación Inicial','2024-08-29 00:39:03','2024-08-29 00:39:03',NULL),(14,NULL,41176,87,7,'Ubicación Inicial','2024-08-29 00:39:03','2024-08-29 00:39:03',NULL),(15,NULL,41176,88,2,'Ubicación Inicial','2024-08-29 00:39:03','2024-08-29 00:39:03',NULL),(16,NULL,41176,89,2,'Ubicación Inicial','2024-08-29 00:39:03','2024-08-29 00:39:03',NULL),(17,NULL,41176,90,2,'Ubicación Inicial','2024-08-29 00:39:03','2024-08-29 00:39:03',NULL),(18,NULL,41176,91,2,'Ubicación Inicial','2024-08-29 00:39:03','2024-08-29 00:39:03',NULL),(19,NULL,41176,92,2,'Ubicación Inicial','2024-08-29 00:39:03','2024-08-29 00:39:03',NULL),(20,NULL,40718,93,1,'Ubicación Inicial','2024-08-29 00:39:03','2024-08-29 00:39:03',NULL),(21,NULL,40718,93,2,'Ubicación Inicial','2024-08-29 00:39:03','2024-08-29 00:39:03',NULL),(22,NULL,41176,94,2,'Ubicación Inicial','2024-08-29 00:39:03','2024-08-29 00:39:03',NULL),(23,NULL,41176,95,2,'Ubicación Inicial','2024-08-29 00:39:03','2024-08-29 00:39:03',NULL),(24,NULL,41176,96,2,'Ubicación Inicial','2024-08-29 00:39:04','2024-08-29 00:39:04',NULL),(25,NULL,41176,97,2,'Ubicación Inicial','2024-08-29 00:39:04','2024-08-29 00:39:04',NULL),(26,NULL,41176,98,2,'Ubicación Inicial','2024-08-29 00:39:04','2024-08-29 00:39:04',NULL),(27,NULL,41176,98,7,'Ubicación Inicial','2024-08-29 00:39:04','2024-08-29 00:39:04',NULL),(28,NULL,41176,99,2,'Ubicación Inicial','2024-08-29 00:39:04','2024-08-29 00:39:04',NULL),(29,NULL,41176,100,2,'Ubicación Inicial','2024-08-29 00:39:04','2024-08-29 00:39:04',NULL),(30,NULL,41176,101,2,'Ubicación Inicial','2024-08-29 00:39:04','2024-08-29 00:39:04',NULL),(31,NULL,41176,102,2,'Ubicación Inicial','2024-08-29 00:39:04','2024-08-29 00:39:04',NULL),(32,NULL,41176,103,2,'Ubicación Inicial','2024-08-29 00:39:04','2024-08-29 00:39:04',NULL),(33,NULL,41176,104,2,'Ubicación Inicial','2024-08-29 00:39:04','2024-08-29 00:39:04',NULL),(34,NULL,41176,105,2,'Ubicación Inicial','2024-08-29 00:39:04','2024-08-29 00:39:04',NULL),(35,NULL,41176,106,2,'Ubicación Inicial','2024-08-29 00:39:04','2024-08-29 00:39:04',NULL),(36,NULL,41176,107,2,'Ubicación Inicial','2024-08-29 00:39:04','2024-08-29 00:39:04',NULL),(37,NULL,41176,108,2,'Ubicación Inicial','2024-08-29 00:39:04','2024-08-29 00:39:04',NULL),(38,NULL,41176,109,2,'Ubicación Inicial','2024-08-29 00:39:04','2024-08-29 00:39:04',NULL),(39,NULL,41176,109,7,'Ubicación Inicial','2024-08-29 00:39:04','2024-08-29 00:39:04',NULL),(40,NULL,41176,110,2,'Ubicación Inicial','2024-08-29 00:39:04','2024-08-29 00:39:04',NULL),(41,NULL,41176,111,2,'Ubicación Inicial','2024-08-29 00:39:04','2024-08-29 00:39:04',NULL),(42,NULL,41176,112,2,'Ubicación Inicial','2024-08-29 00:39:04','2024-08-29 00:39:04',NULL),(43,NULL,41176,113,2,'Ubicación Inicial','2024-08-29 00:39:04','2024-08-29 00:39:04',NULL);
INSERT INTO `inv_productos_ubicaciones` VALUES (44,NULL,41176,114,2,'Ubicación Inicial','2024-08-29 00:39:05','2024-08-29 00:39:05',NULL),(45,NULL,41176,115,2,'Ubicación Inicial','2024-08-29 00:39:05','2024-08-29 00:39:05',NULL),(46,NULL,41176,116,2,'Ubicación Inicial','2024-08-29 00:39:05','2024-08-29 00:39:05',NULL),(47,NULL,41176,117,2,'Ubicación Inicial','2024-08-29 00:39:05','2024-08-29 00:39:05',NULL),(48,NULL,41176,118,2,'Ubicación Inicial','2024-08-29 00:39:05','2024-08-29 00:39:05',NULL),(49,NULL,41176,119,2,'Ubicación Inicial','2024-08-29 00:39:05','2024-08-29 00:39:05',NULL),(50,NULL,41176,120,2,'Ubicación Inicial','2024-08-29 00:39:05','2024-08-29 00:39:05',NULL),(51,NULL,41176,120,7,'Ubicación Inicial','2024-08-29 00:39:05','2024-08-29 00:39:05',NULL),(52,NULL,41176,121,2,'Ubicación Inicial','2024-08-29 00:39:05','2024-08-29 00:39:05',NULL),(53,NULL,40718,122,1,'Ubicación Inicial','2024-08-29 00:39:05','2024-08-29 00:39:05',NULL),(54,NULL,41176,123,2,'Ubicación Inicial','2024-08-29 00:39:05','2024-08-29 00:39:05',NULL),(55,NULL,41176,124,2,'Ubicación Inicial','2024-08-29 00:39:05','2024-08-29 00:39:05',NULL),(56,NULL,41176,125,2,'Ubicación Inicial','2024-08-29 00:39:05','2024-08-29 00:39:05',NULL),(57,NULL,41176,126,2,'Ubicación Inicial','2024-08-29 00:39:05','2024-08-29 00:39:05',NULL),(58,NULL,41176,127,2,'Ubicación Inicial','2024-08-29 00:39:05','2024-08-29 00:39:05',NULL),(59,NULL,41176,128,2,'Ubicación Inicial','2024-08-29 00:39:05','2024-08-29 00:39:05',NULL),(60,NULL,41176,129,2,'Ubicación Inicial','2024-08-29 00:39:05','2024-08-29 00:39:05',NULL),(61,NULL,41176,130,2,'Ubicación Inicial','2024-08-29 00:39:05','2024-08-29 00:39:05',NULL),(62,NULL,41176,131,2,'Ubicación Inicial','2024-08-29 00:39:05','2024-08-29 00:39:05',NULL),(63,NULL,41176,132,2,'Ubicación Inicial','2024-08-29 00:39:05','2024-08-29 00:39:05',NULL),(64,NULL,41176,133,2,'Ubicación Inicial','2024-08-29 00:39:05','2024-08-29 00:39:05',NULL),(65,NULL,41176,134,2,'Ubicación Inicial','2024-08-29 00:39:06','2024-08-29 00:39:06',NULL),(66,NULL,41176,135,2,'Ubicación Inicial','2024-08-29 00:39:06','2024-08-29 00:39:06',NULL),(67,NULL,41176,136,2,'Ubicación Inicial','2024-08-29 00:39:06','2024-08-29 00:39:06',NULL),(68,NULL,41176,137,2,'Ubicación Inicial','2024-08-29 00:39:06','2024-08-29 00:39:06',NULL),(69,NULL,41176,138,2,'Ubicación Inicial','2024-08-29 00:39:06','2024-08-29 00:39:06',NULL),(70,NULL,41176,139,2,'Ubicación Inicial','2024-08-29 00:39:06','2024-08-29 00:39:06',NULL),(71,NULL,41176,140,2,'Ubicación Inicial','2024-08-29 00:39:06','2024-08-29 00:39:06',NULL),(72,NULL,41176,141,2,'Ubicación Inicial','2024-08-29 00:39:06','2024-08-29 00:39:06',NULL),(73,NULL,41176,142,2,'Ubicación Inicial','2024-08-29 00:39:06','2024-08-29 00:39:06',NULL),(74,NULL,41176,143,2,'Ubicación Inicial','2024-08-29 00:39:06','2024-08-29 00:39:06',NULL),(75,NULL,41176,144,2,'Ubicación Inicial','2024-08-29 00:39:06','2024-08-29 00:39:06',NULL);

--
-- Table structure for table `inv_rubros`
--

CREATE TABLE `inv_rubros` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(11) DEFAULT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `descripcion` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `habilitado` tinyint(1) NOT NULL DEFAULT '1',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `inv_rubros_person_id_foreign` (`person_id`),
  CONSTRAINT `inv_rubros_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=10 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `inv_rubros`
--

INSERT INTO `inv_rubros` VALUES (1,8522,40718,'General',1,'2023-03-01 11:43:29','2023-03-01 11:43:29',NULL),(2,9435,41176,'ALMACEN',1,'2024-03-05 14:10:36','2024-03-05 14:10:36',NULL),(3,9435,41176,'VERDULERIA',1,'2024-04-01 11:33:51','2024-04-01 11:33:51',NULL),(4,9435,41176,'LIMPIEZA',1,'2024-04-01 11:34:00','2024-04-01 11:34:00',NULL),(5,9435,41176,'GASEOSAS Y BEBIDAS',1,'2024-04-01 12:06:09','2024-04-01 12:06:09',NULL),(6,9435,41176,'ELECTRICIDAD',1,'2024-04-01 16:30:40','2024-04-01 16:30:40',NULL),(7,9435,41176,'FARMACIA Y PERFUMERIA',1,'2024-04-01 16:43:24','2024-04-01 16:43:24',NULL),(8,9435,41176,'LACTEOS',1,'2024-04-02 11:19:14','2024-04-02 11:19:14',NULL),(9,9435,40815,'PAÑALERIA',1,'2024-05-08 19:52:33','2024-05-08 19:52:33',NULL);

--
-- Table structure for table `inv_rubros_sub`
--

CREATE TABLE `inv_rubros_sub` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(11) DEFAULT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `inv_rubro_id` bigint(20) unsigned NOT NULL,
  `descripcion` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `habilitado` tinyint(1) NOT NULL DEFAULT '1',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `inv_rubros_sub_person_id_foreign` (`person_id`),
  KEY `inv_rubros_sub_inv_rubro_id_foreign` (`inv_rubro_id`),
  CONSTRAINT `inv_rubros_sub_inv_rubro_id_foreign` FOREIGN KEY (`inv_rubro_id`) REFERENCES `inv_rubros` (`id`),
  CONSTRAINT `inv_rubros_sub_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=13 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `inv_rubros_sub`
--

INSERT INTO `inv_rubros_sub` VALUES (1,8522,40718,1,'#1',1,'2023-03-01 11:43:40','2023-03-01 11:43:40',NULL),(2,9435,41176,2,'ALMACEN',1,'2024-03-05 14:35:30','2024-03-05 14:35:30',NULL),(3,9435,41176,3,'VERDULERIA',1,'2024-04-01 11:35:53','2024-04-01 11:35:53',NULL),(4,9435,41176,4,'LIMPIEZA',1,'2024-04-01 11:36:01','2024-04-01 11:36:01',NULL),(5,9435,41176,5,'GASEOSAS Y BEBIDAS',1,'2024-04-01 12:06:34','2024-04-01 12:06:34',NULL),(6,9435,41176,6,'ELECTRICIDAD',1,'2024-04-01 16:30:57','2024-04-01 16:30:57',NULL),(7,9435,41176,7,'FARMACIA Y PERFUMERIA',1,'2024-04-01 16:43:36','2024-04-01 16:43:36',NULL),(8,9435,41176,8,'LACTEOS',1,'2024-04-02 11:19:23','2024-04-02 11:19:23',NULL),(12,9435,40815,9,'DUFFY',1,'2024-05-08 19:52:58','2024-05-08 19:52:58',NULL);

--
-- Table structure for table `inv_stock_movimientos`
--

CREATE TABLE `inv_stock_movimientos` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(11) DEFAULT NULL,
  `fecha` date DEFAULT '2025-03-18',
  `person_id` int(10) unsigned NOT NULL,
  `inv_product_id` bigint(20) unsigned NOT NULL,
  `prod_variant_id` bigint(20) unsigned DEFAULT NULL,
  `moneda_id` int(10) unsigned NOT NULL DEFAULT '1',
  `inv_deposito_id` bigint(20) unsigned DEFAULT NULL,
  `movimiento` decimal(16,2) NOT NULL DEFAULT '0.00',
  `stock` decimal(16,2) NOT NULL DEFAULT '0.00',
  `costo` decimal(16,2) NOT NULL DEFAULT '0.00',
  `precio_sin_iva` decimal(16,2) NOT NULL DEFAULT '0.00',
  `precio_final` decimal(16,2) NOT NULL DEFAULT '0.00',
  `transactionable_type` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `transactionable_id` bigint(20) unsigned NOT NULL,
  `detalle` text COLLATE utf8mb4_unicode_ci,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `account_transactions_morph` (`transactionable_type`,`transactionable_id`),
  KEY `inv_stock_movimientos_person_id_foreign` (`person_id`),
  KEY `inv_stock_movimientos_inv_product_id_foreign` (`inv_product_id`),
  KEY `inv_stock_movimientos_inv_deposito_id_foreign` (`inv_deposito_id`),
  KEY `inv_stock_movimientos_moneda_id_foreign` (`moneda_id`),
  KEY `inv_stock_movimientos_prod_variant_id_foreign` (`prod_variant_id`),
  CONSTRAINT `inv_stock_movimientos_inv_deposito_id_foreign` FOREIGN KEY (`inv_deposito_id`) REFERENCES `inv_depositos` (`id`),
  CONSTRAINT `inv_stock_movimientos_inv_product_id_foreign` FOREIGN KEY (`inv_product_id`) REFERENCES `inv_productos` (`id`),
  CONSTRAINT `inv_stock_movimientos_moneda_id_foreign` FOREIGN KEY (`moneda_id`) REFERENCES `monedas` (`id`),
  CONSTRAINT `inv_stock_movimientos_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`),
  CONSTRAINT `inv_stock_movimientos_prod_variant_id_foreign` FOREIGN KEY (`prod_variant_id`) REFERENCES `prod_variants` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=258 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `inv_stock_movimientos`
--

INSERT INTO `inv_stock_movimientos` VALUES (1,NULL,'2023-03-01',40718,93,NULL,1,1,1000.00,1000.00,1500.00,1657.50,2005.58,'App\\Models\\Inventario\\InvProducto',1,NULL,'2023-03-01 11:44:58','2024-08-29 00:39:06',NULL),(2,NULL,'2023-03-01',40718,78,NULL,1,1,325.00,325.00,5000.00,5250.00,6352.50,'App\\Models\\Inventario\\InvProducto',2,NULL,'2023-03-01 11:46:39','2024-08-29 00:39:06',NULL),(3,NULL,'2023-03-01',40718,122,NULL,1,1,100.00,100.00,6000.00,6300.00,7623.00,'App\\Models\\Inventario\\InvProducto',3,NULL,'2023-03-01 11:48:51','2024-08-29 00:39:07',NULL),(4,NULL,'2023-03-01',40718,78,NULL,1,1,-30.00,295.00,5000.00,5250.00,6352.50,'App\\Models\\Inventario\\InvControlStockDetail',1,NULL,'2023-03-01 11:49:38','2024-08-29 00:39:06',NULL),(5,9435,'2024-04-01',41176,76,NULL,1,2,0.00,0.00,13206.61,17168.59,20774.00,'App\\Models\\Inventario\\InvProducto',4,'4','2024-04-01 12:14:17','2024-04-01 12:14:17',NULL),(6,NULL,'2024-04-01',41176,76,NULL,1,2,12.00,12.00,13206.61,17168.59,20774.00,'App\\Models\\Inventario\\InvIngresoEgresoStockDetail',1,NULL,'2024-04-01 12:15:21','2024-08-29 00:39:06',NULL),(7,9435,'2024-04-01',41176,87,NULL,1,2,0.00,0.00,72978.96,94872.65,114795.90,'App\\Models\\Inventario\\InvProducto',5,'5','2024-04-01 12:18:58','2024-04-01 12:18:58',NULL),(8,NULL,'2024-04-01',41176,87,NULL,1,2,7.00,7.00,72978.96,94872.65,114795.90,'App\\Models\\Inventario\\InvControlStockDetail',2,NULL,'2024-04-01 12:19:50','2024-08-29 00:39:06',NULL),(9,9435,'2024-04-01',41176,98,NULL,1,2,0.00,0.00,11570.25,15041.33,15041.33,'App\\Models\\Inventario\\InvProducto',6,'6','2024-04-01 12:23:43','2024-04-01 12:23:43',NULL),(10,NULL,'2024-04-01',41176,98,NULL,1,2,24.00,24.00,11570.25,15041.33,15041.33,'App\\Models\\Inventario\\InvControlStockDetail',3,NULL,'2024-04-01 12:24:19','2024-08-29 00:39:06',NULL),(11,9435,'2024-04-01',41176,98,NULL,1,2,0.00,24.00,11570.25,15041.33,18200.00,'App\\Models\\Inventario\\InvProducto',6,'6','2024-04-01 12:35:37','2024-04-01 12:35:37',NULL),(12,9435,'2024-04-01',41176,76,NULL,1,2,0.00,12.00,964.18,1253.43,1516.66,'App\\Models\\Inventario\\InvProducto',4,'4','2024-04-01 12:45:30','2024-04-01 12:45:30',NULL),(13,9435,'2024-04-01',41176,98,NULL,1,2,0.00,24.00,964.18,1253.43,1516.66,'App\\Models\\Inventario\\InvProducto',6,'6','2024-04-01 12:46:13','2024-04-01 12:46:13',NULL),(14,9435,'2024-04-01',41176,76,NULL,1,2,0.00,12.00,1100.55,1430.72,1731.17,'App\\Models\\Inventario\\InvProducto',4,'4','2024-04-01 12:47:11','2024-04-01 12:47:11',NULL),(15,9435,'2024-04-01',41176,87,NULL,1,2,0.00,7.00,10425.57,13553.24,16399.42,'App\\Models\\Inventario\\InvProducto',5,'5','2024-04-01 12:48:34','2024-04-01 12:48:34',NULL),(16,NULL,'2024-04-01',41176,76,NULL,1,2,18.00,30.00,1100.55,1430.72,1731.17,'App\\Models\\Inventario\\InvControlStockDetail',4,NULL,'2024-04-01 16:23:30','2024-08-29 00:39:06',NULL),(17,9435,'2024-04-01',41176,76,NULL,1,2,0.00,30.00,1100.55,1653.03,2000.16,'App\\Models\\Inventario\\InvProducto',4,'4','2024-04-01 16:29:14','2024-04-01 16:29:14',NULL),(18,9435,'2024-04-01',41176,98,NULL,1,2,0.00,24.00,964.18,1446.28,1750.00,'App\\Models\\Inventario\\InvProducto',6,'6','2024-04-01 16:29:49','2024-04-01 16:29:49',NULL),(19,9435,'2024-04-01',41176,109,NULL,1,2,0.00,0.00,920.00,1239.67,1500.00,'App\\Models\\Inventario\\InvProducto',7,'7','2024-04-01 16:33:13','2024-04-01 16:33:13',NULL),(20,9435,'2024-04-01',41176,120,NULL,1,2,0.00,0.00,1300.00,1471.07,1780.00,'App\\Models\\Inventario\\InvProducto',8,'8','2024-04-01 16:35:07','2024-04-01 16:35:07',NULL),(21,NULL,'2024-04-01',41176,120,NULL,1,2,13.00,13.00,1300.00,1471.07,1780.00,'App\\Models\\Inventario\\InvControlStockDetail',5,NULL,'2024-04-01 16:35:38','2024-08-29 00:39:07',NULL),(22,9435,'2024-04-01',41176,132,NULL,1,2,0.00,0.00,1500.00,2066.12,2500.00,'App\\Models\\Inventario\\InvProducto',9,'9','2024-04-01 16:45:24','2024-04-01 16:45:24',NULL),(23,9435,'2024-04-01',41176,132,NULL,1,2,0.00,0.00,1500.00,2066.12,2500.00,'App\\Models\\Inventario\\InvProducto',9,'9','2024-04-01 16:45:41','2024-04-01 16:45:41',NULL);
INSERT INTO `inv_stock_movimientos` VALUES (24,NULL,'2024-04-01',41176,132,NULL,1,2,2.00,2.00,1500.00,2066.12,2500.00,'App\\Models\\Inventario\\InvControlStockDetail',6,NULL,'2024-04-01 16:45:58','2024-08-29 00:39:07',NULL),(25,9435,'2024-04-01',41176,142,NULL,1,2,0.00,0.00,880.00,991.74,1200.00,'App\\Models\\Inventario\\InvProducto',10,'10','2024-04-01 16:48:51','2024-04-01 16:48:51',NULL),(26,NULL,'2024-04-01',41176,109,NULL,1,2,50.00,50.00,920.00,1239.67,1500.00,'App\\Models\\Inventario\\InvControlStockDetail',7,NULL,'2024-04-01 16:50:07','2024-08-29 00:39:06',NULL),(27,9435,'2024-04-01',41176,143,NULL,1,2,0.00,0.00,944.00,991.74,1200.00,'App\\Models\\Inventario\\InvProducto',11,'11','2024-04-01 16:52:00','2024-04-01 16:52:00',NULL),(28,NULL,'2024-04-01',41176,142,NULL,1,2,12.00,12.00,880.00,991.74,1200.00,'App\\Models\\Inventario\\InvControlStockDetail',8,NULL,'2024-04-01 16:52:46','2024-08-29 00:39:07',NULL),(29,NULL,'2024-04-01',41176,143,NULL,1,2,26.00,26.00,944.00,991.74,1200.00,'App\\Models\\Inventario\\InvControlStockDetail',9,NULL,'2024-04-01 16:52:46','2024-08-29 00:39:07',NULL),(30,9435,'2024-04-01',41176,144,NULL,1,2,0.00,0.00,1300.00,1487.60,1800.00,'App\\Models\\Inventario\\InvProducto',12,'12','2024-04-01 16:55:43','2024-04-01 16:55:43',NULL),(31,NULL,'2024-04-01',41176,144,NULL,1,2,15.00,15.00,1300.00,1487.60,1800.00,'App\\Models\\Inventario\\InvControlStockDetail',10,NULL,'2024-04-01 16:56:18','2024-08-29 00:39:07',NULL),(32,9435,'2024-04-01',41176,77,NULL,1,2,0.00,0.00,1300.00,1487.60,1800.00,'App\\Models\\Inventario\\InvProducto',13,'13','2024-04-01 16:57:45','2024-04-01 16:57:45',NULL),(33,NULL,'2024-04-01',41176,77,NULL,1,2,67.00,67.00,1300.00,1487.60,1800.00,'App\\Models\\Inventario\\InvControlStockDetail',11,NULL,'2024-04-01 16:58:15','2024-08-29 00:39:06',NULL),(34,9435,'2024-04-01',41176,79,NULL,1,2,0.00,0.00,690.00,768.60,930.00,'App\\Models\\Inventario\\InvProducto',14,'14','2024-04-01 17:02:01','2024-04-01 17:02:01',NULL),(35,NULL,'2024-04-01',41176,79,NULL,1,2,112.00,112.00,690.00,768.60,930.00,'App\\Models\\Inventario\\InvControlStockDetail',12,NULL,'2024-04-01 17:02:25','2024-08-29 00:39:06',NULL),(36,9435,'2024-04-01',41176,80,NULL,1,2,0.00,0.00,620.00,702.48,850.00,'App\\Models\\Inventario\\InvProducto',15,'15','2024-04-01 17:06:17','2024-04-01 17:06:17',NULL),(37,NULL,'2024-04-01',41176,80,NULL,1,2,77.00,77.00,620.00,702.48,850.00,'App\\Models\\Inventario\\InvControlStockDetail',13,NULL,'2024-04-01 17:06:46','2024-08-29 00:39:06',NULL),(38,9435,'2024-04-01',41176,81,NULL,1,2,0.00,0.00,550.00,702.48,850.00,'App\\Models\\Inventario\\InvProducto',16,'16','2024-04-01 17:11:46','2024-04-01 17:11:46',NULL),(39,NULL,'2024-04-01',41176,81,NULL,1,2,176.00,176.00,550.00,702.48,850.00,'App\\Models\\Inventario\\InvControlStockDetail',14,NULL,'2024-04-01 17:13:26','2024-08-29 00:39:06',NULL),(40,9435,'2024-04-01',41176,81,NULL,1,2,0.00,176.00,550.00,537.19,650.00,'App\\Models\\Inventario\\InvProducto',16,'16','2024-04-01 17:14:46','2024-04-01 17:14:46',NULL),(41,9435,'2024-04-01',41176,82,NULL,1,2,0.00,0.00,620.00,785.12,950.00,'App\\Models\\Inventario\\InvProducto',17,'17','2024-04-01 17:23:17','2024-04-01 17:23:17',NULL),(42,NULL,'2024-04-01',41176,82,NULL,1,2,19.00,19.00,620.00,785.12,950.00,'App\\Models\\Inventario\\InvControlStockDetail',15,NULL,'2024-04-01 17:24:12','2024-08-29 00:39:06',NULL),(43,9435,'2024-04-01',41176,83,NULL,1,2,0.00,0.00,1316.00,1528.93,1850.00,'App\\Models\\Inventario\\InvProducto',18,'18','2024-04-01 17:34:04','2024-04-01 17:34:04',NULL),(44,NULL,'2024-04-01',41176,83,NULL,1,2,6.00,6.00,1316.00,1528.93,1850.00,'App\\Models\\Inventario\\InvControlStockDetail',16,NULL,'2024-04-01 17:34:31','2024-08-29 00:39:06',NULL),(45,9435,'2024-04-01',41176,84,NULL,1,2,0.00,0.00,400.00,495.87,600.00,'App\\Models\\Inventario\\InvProducto',19,'19','2024-04-01 18:23:20','2024-04-01 18:23:20',NULL);
INSERT INTO `inv_stock_movimientos` VALUES (46,9435,'2024-04-01',41176,85,NULL,1,2,0.00,0.00,520.00,619.83,750.00,'App\\Models\\Inventario\\InvProducto',20,'20','2024-04-01 18:25:05','2024-04-01 18:25:05',NULL),(47,9435,'2024-04-01',41176,86,NULL,1,2,0.00,0.00,340.00,413.22,500.00,'App\\Models\\Inventario\\InvProducto',21,'21','2024-04-01 18:28:54','2024-04-01 18:28:54',NULL),(48,9435,'2024-04-01',41176,88,NULL,1,2,0.00,0.00,1590.00,1859.50,2250.00,'App\\Models\\Inventario\\InvProducto',22,'22','2024-04-01 18:30:08','2024-04-01 18:30:08',NULL),(49,9435,'2024-04-01',41176,89,NULL,1,2,0.00,0.00,1999.00,2478.51,2999.00,'App\\Models\\Inventario\\InvProducto',23,'23','2024-04-01 18:31:34','2024-04-01 18:31:34',NULL),(50,NULL,'2024-04-01',41176,84,NULL,1,2,22.00,22.00,400.00,495.87,600.00,'App\\Models\\Inventario\\InvControlStockDetail',17,NULL,'2024-04-01 18:34:26','2024-08-29 00:39:06',NULL),(51,NULL,'2024-04-01',41176,85,NULL,1,2,24.00,24.00,520.00,619.83,750.00,'App\\Models\\Inventario\\InvControlStockDetail',18,NULL,'2024-04-01 18:34:26','2024-08-29 00:39:06',NULL),(52,NULL,'2024-04-01',41176,86,NULL,1,2,242.00,242.00,340.00,413.22,500.00,'App\\Models\\Inventario\\InvControlStockDetail',19,NULL,'2024-04-01 18:34:26','2024-08-29 00:39:06',NULL),(53,NULL,'2024-04-01',41176,88,NULL,1,2,19.00,19.00,1590.00,1859.50,2250.00,'App\\Models\\Inventario\\InvControlStockDetail',20,NULL,'2024-04-01 18:34:26','2024-08-29 00:39:06',NULL),(54,NULL,'2024-04-01',41176,89,NULL,1,2,42.00,42.00,1999.00,2478.51,2999.00,'App\\Models\\Inventario\\InvControlStockDetail',21,NULL,'2024-04-01 18:34:26','2024-08-29 00:39:06',NULL),(55,9435,'2024-04-01',41176,86,NULL,1,2,0.00,242.00,340.00,413.22,500.00,'App\\Models\\Inventario\\InvProducto',21,'21','2024-04-01 18:35:20','2024-04-01 18:35:20',NULL),(56,9435,'2024-04-01',41176,86,NULL,1,2,0.00,242.00,340.00,413.22,500.00,'App\\Models\\Inventario\\InvProducto',21,'21','2024-04-01 18:35:54','2024-04-01 18:35:54',NULL),(57,9435,'2024-04-01',41176,90,NULL,1,2,0.00,0.00,1880.00,2396.69,2900.00,'App\\Models\\Inventario\\InvProducto',24,'24','2024-04-01 20:39:07','2024-04-01 20:39:07',NULL),(58,NULL,'2024-04-01',41176,90,NULL,1,2,28.00,28.00,1880.00,2396.69,2900.00,'App\\Models\\Inventario\\InvControlStockDetail',22,NULL,'2024-04-01 20:39:39','2024-08-29 00:39:06',NULL),(59,9435,'2024-04-01',41176,91,NULL,1,2,0.00,0.00,1680.00,1966.94,2380.00,'App\\Models\\Inventario\\InvProducto',25,'25','2024-04-01 20:41:59','2024-04-01 20:41:59',NULL),(60,NULL,'2024-04-01',41176,91,NULL,1,2,19.00,19.00,1680.00,1966.94,2380.00,'App\\Models\\Inventario\\InvControlStockDetail',23,NULL,'2024-04-01 20:42:32','2024-08-29 00:39:06',NULL),(61,9435,'2024-04-01',41176,92,NULL,1,2,0.00,0.00,500.00,735.54,890.00,'App\\Models\\Inventario\\InvProducto',26,'26','2024-04-01 20:44:21','2024-04-01 20:44:21',NULL),(62,NULL,'2024-04-01',41176,92,NULL,1,2,18.00,18.00,500.00,735.54,890.00,'App\\Models\\Inventario\\InvControlStockDetail',24,NULL,'2024-04-01 20:44:43','2024-08-29 00:39:06',NULL),(63,9435,'2024-04-01',41176,93,NULL,1,2,0.00,0.00,650.00,743.80,900.00,'App\\Models\\Inventario\\InvProducto',27,'27','2024-04-01 20:54:39','2024-04-01 20:54:39',NULL),(64,NULL,'2024-04-01',41176,93,NULL,1,2,6.00,6.00,650.00,743.80,900.00,'App\\Models\\Inventario\\InvControlStockDetail',25,NULL,'2024-04-01 21:22:49','2024-08-29 00:39:06',NULL),(65,9435,'2024-04-01',41176,94,NULL,1,2,0.00,0.00,3600.00,4123.97,4990.00,'App\\Models\\Inventario\\InvProducto',28,'28','2024-04-01 21:25:28','2024-04-01 21:25:28',NULL),(66,NULL,'2024-04-01',41176,93,NULL,1,2,-6.00,0.00,650.00,743.80,900.00,'App\\Models\\Inventario\\InvControlStockDetail',26,NULL,'2024-04-01 21:26:18','2024-08-29 00:39:06',NULL),(67,NULL,'2024-04-01',41176,94,NULL,1,2,3.00,3.00,3600.00,4123.97,4990.00,'App\\Models\\Inventario\\InvControlStockDetail',27,NULL,'2024-04-01 21:26:19','2024-08-29 00:39:06',NULL);
INSERT INTO `inv_stock_movimientos` VALUES (68,9435,'2024-04-01',41176,95,NULL,1,2,0.00,0.00,1945.00,2231.40,2700.00,'App\\Models\\Inventario\\InvProducto',29,'29','2024-04-01 21:28:31','2024-04-01 21:28:31',NULL),(69,NULL,'2024-04-01',41176,95,NULL,1,2,11.00,11.00,1945.00,2231.40,2700.00,'App\\Models\\Inventario\\InvControlStockDetail',28,NULL,'2024-04-01 21:30:09','2024-08-29 00:39:06',NULL),(70,NULL,'2024-04-01',41176,93,NULL,1,2,6.00,6.00,650.00,743.80,900.00,'App\\Models\\Inventario\\InvControlStockDetail',29,NULL,'2024-04-01 21:34:11','2024-08-29 00:39:06',NULL),(71,9435,'2024-04-01',41176,96,NULL,1,2,0.00,0.00,870.00,1066.12,1290.00,'App\\Models\\Inventario\\InvProducto',30,'30','2024-04-01 21:38:00','2024-04-01 21:38:00',NULL),(72,NULL,'2024-04-01',41176,96,NULL,1,2,9.00,9.00,870.00,1066.12,1290.00,'App\\Models\\Inventario\\InvControlStockDetail',30,NULL,'2024-04-01 21:38:39','2024-08-29 00:39:06',NULL),(73,9435,'2024-04-01',41176,97,NULL,1,2,0.00,0.00,620.00,735.54,890.00,'App\\Models\\Inventario\\InvProducto',31,'31','2024-04-01 21:43:05','2024-04-01 21:43:05',NULL),(74,NULL,'2024-04-01',41176,97,NULL,1,2,3.00,3.00,620.00,735.54,890.00,'App\\Models\\Inventario\\InvControlStockDetail',31,NULL,'2024-04-01 21:43:50','2024-08-29 00:39:06',NULL),(75,9435,'2024-04-01',41176,99,NULL,1,2,0.00,0.00,620.00,735.54,890.00,'App\\Models\\Inventario\\InvProducto',32,'32','2024-04-01 21:50:34','2024-04-01 21:50:34',NULL),(76,NULL,'2024-04-01',41176,99,NULL,1,2,14.00,14.00,620.00,735.54,890.00,'App\\Models\\Inventario\\InvControlStockDetail',32,NULL,'2024-04-01 21:51:32','2024-08-29 00:39:06',NULL),(77,9435,'2024-04-01',41176,100,NULL,1,2,0.00,0.00,680.00,809.92,980.00,'App\\Models\\Inventario\\InvProducto',33,'33','2024-04-01 21:53:59','2024-04-01 21:53:59',NULL),(78,NULL,'2024-04-01',41176,100,NULL,1,2,16.00,16.00,680.00,809.92,980.00,'App\\Models\\Inventario\\InvControlStockDetail',33,NULL,'2024-04-01 21:54:27','2024-08-29 00:39:06',NULL),(79,9435,'2024-04-01',41176,101,NULL,1,2,0.00,0.00,750.00,991.74,1200.00,'App\\Models\\Inventario\\InvProducto',34,'34','2024-04-01 21:55:59','2024-04-01 21:55:59',NULL),(80,NULL,'2024-04-01',41176,101,NULL,1,2,44.00,44.00,750.00,991.74,1200.00,'App\\Models\\Inventario\\InvControlStockDetail',34,NULL,'2024-04-01 21:56:28','2024-08-29 00:39:06',NULL),(81,9435,'2024-04-01',41176,102,NULL,1,2,0.00,0.00,1200.00,1487.60,1800.00,'App\\Models\\Inventario\\InvProducto',35,'35','2024-04-01 21:58:16','2024-04-01 21:58:16',NULL),(82,NULL,'2024-04-01',41176,102,NULL,1,2,20.00,20.00,1200.00,1487.60,1800.00,'App\\Models\\Inventario\\InvControlStockDetail',35,NULL,'2024-04-01 21:58:51','2024-08-29 00:39:06',NULL),(83,9435,'2024-04-02',41176,103,NULL,1,2,0.00,0.00,1200.00,1446.28,1750.00,'App\\Models\\Inventario\\InvProducto',36,'36','2024-04-02 09:54:48','2024-04-02 09:54:48',NULL),(84,NULL,'2024-04-02',41176,103,NULL,1,2,4.00,4.00,1200.00,1446.28,1750.00,'App\\Models\\Inventario\\InvControlStockDetail',36,NULL,'2024-04-02 09:55:10','2024-08-29 00:39:06',NULL),(85,9435,'2024-04-02',41176,104,NULL,1,2,0.00,0.00,980.00,1157.02,1400.00,'App\\Models\\Inventario\\InvProducto',37,'37','2024-04-02 09:56:43','2024-04-02 09:56:43',NULL),(86,9435,'2024-04-02',41176,105,NULL,1,2,0.00,0.00,980.00,1157.02,1400.00,'App\\Models\\Inventario\\InvProducto',38,'38','2024-04-02 09:57:51','2024-04-02 09:57:51',NULL),(87,NULL,'2024-04-02',41176,104,NULL,1,2,4.00,4.00,980.00,1157.02,1400.00,'App\\Models\\Inventario\\InvControlStockDetail',37,NULL,'2024-04-02 09:58:52','2024-08-29 00:39:06',NULL),(88,NULL,'2024-04-02',41176,105,NULL,1,2,16.00,16.00,980.00,1157.02,1400.00,'App\\Models\\Inventario\\InvControlStockDetail',38,NULL,'2024-04-02 09:58:52','2024-08-29 00:39:06',NULL),(89,9435,'2024-04-02',41176,106,NULL,1,2,0.00,0.00,980.00,1157.02,1400.00,'App\\Models\\Inventario\\InvProducto',39,'39','2024-04-02 10:00:40','2024-04-02 10:00:40',NULL);
INSERT INTO `inv_stock_movimientos` VALUES (90,NULL,'2024-04-02',41176,106,NULL,1,2,3.00,3.00,980.00,1157.02,1400.00,'App\\Models\\Inventario\\InvControlStockDetail',39,NULL,'2024-04-02 10:01:23','2024-08-29 00:39:06',NULL),(91,9435,'2024-04-02',41176,107,NULL,1,2,0.00,0.00,1800.00,2066.12,2500.00,'App\\Models\\Inventario\\InvProducto',40,'40','2024-04-02 10:03:29','2024-04-02 10:03:29',NULL),(92,NULL,'2024-04-02',41176,107,NULL,1,2,12.00,12.00,1800.00,2066.12,2500.00,'App\\Models\\Inventario\\InvControlStockDetail',40,NULL,'2024-04-02 10:04:00','2024-08-29 00:39:06',NULL),(93,9435,'2024-04-02',41176,108,NULL,1,2,0.00,0.00,1080.00,1157.02,1400.00,'App\\Models\\Inventario\\InvProducto',41,'41','2024-04-02 10:11:41','2024-04-02 10:11:41',NULL),(94,NULL,'2024-04-02',41176,108,NULL,1,2,12.00,12.00,1080.00,1157.02,1400.00,'App\\Models\\Inventario\\InvControlStockDetail',41,NULL,'2024-04-02 10:12:18','2024-08-29 00:39:06',NULL),(95,9435,'2024-04-02',41176,110,NULL,1,2,0.00,0.00,850.00,983.47,1190.00,'App\\Models\\Inventario\\InvProducto',42,'42','2024-04-02 10:14:49','2024-04-02 10:14:49',NULL),(96,NULL,'2024-04-02',41176,110,NULL,1,2,5.00,5.00,850.00,983.47,1190.00,'App\\Models\\Inventario\\InvControlStockDetail',42,NULL,'2024-04-02 10:17:16','2024-08-29 00:39:06',NULL),(97,9435,'2024-04-02',41176,111,NULL,1,2,0.00,0.00,740.00,908.26,1099.00,'App\\Models\\Inventario\\InvProducto',43,'43','2024-04-02 10:21:57','2024-04-02 10:21:57',NULL),(98,NULL,'2024-04-02',41176,111,NULL,1,2,13.00,13.00,740.00,908.26,1099.00,'App\\Models\\Inventario\\InvControlStockDetail',43,NULL,'2024-04-02 10:22:34','2024-08-29 00:39:07',NULL),(99,9435,'2024-04-02',41176,112,NULL,1,2,0.00,0.00,840.00,991.74,1200.00,'App\\Models\\Inventario\\InvProducto',44,'44','2024-04-02 10:24:50','2024-04-02 10:24:50',NULL),(100,9435,'2024-04-02',41176,113,NULL,1,2,0.00,0.00,600.00,561.98,680.00,'App\\Models\\Inventario\\InvProducto',45,'45','2024-04-02 10:55:56','2024-04-02 10:55:56',NULL),(101,9435,'2024-04-02',41176,114,NULL,1,2,0.00,0.00,3500.00,4049.59,4900.00,'App\\Models\\Inventario\\InvProducto',46,'46','2024-04-02 11:14:56','2024-04-02 11:14:56',NULL),(102,9435,'2024-04-02',41176,115,NULL,1,2,0.00,0.00,1750.00,2148.76,2600.00,'App\\Models\\Inventario\\InvProducto',47,'47','2024-04-02 11:16:00','2024-04-02 11:16:00',NULL),(103,9435,'2024-04-02',41176,116,NULL,1,2,0.00,0.00,600.00,661.16,800.00,'App\\Models\\Inventario\\InvProducto',48,'48','2024-04-02 11:17:59','2024-04-02 11:17:59',NULL),(104,NULL,'2024-04-02',41176,112,NULL,1,2,17.00,17.00,840.00,991.74,1200.00,'App\\Models\\Inventario\\InvControlStockDetail',44,NULL,'2024-04-02 11:18:38','2024-08-29 00:39:07',NULL),(105,9435,'2024-04-02',41176,117,NULL,1,2,0.00,0.00,750.00,860.74,1041.50,'App\\Models\\Inventario\\InvProducto',49,'49','2024-04-02 11:20:43','2024-04-02 11:20:43',NULL),(106,NULL,'2024-04-02',41176,117,NULL,1,2,4.00,4.00,750.00,860.74,1041.50,'App\\Models\\Inventario\\InvControlStockDetail',45,NULL,'2024-04-02 11:21:01','2024-08-29 00:39:07',NULL),(107,NULL,'2024-04-02',41176,117,NULL,1,2,1.00,5.00,750.00,860.74,1041.50,'App\\Models\\Inventario\\InvControlStockDetail',46,NULL,'2024-04-02 11:21:30','2024-08-29 00:39:07',NULL),(108,9435,'2024-04-02',41176,118,NULL,1,2,0.00,0.00,1209.00,1404.96,1700.00,'App\\Models\\Inventario\\InvProducto',50,'50','2024-04-02 12:11:54','2024-04-02 12:11:54',NULL),(109,9435,'2024-04-02',41176,119,NULL,1,2,0.00,0.00,687.00,809.92,980.00,'App\\Models\\Inventario\\InvProducto',51,'51','2024-04-02 12:27:20','2024-04-02 12:27:20',NULL),(110,NULL,'2024-04-02',41176,119,NULL,1,2,2.00,2.00,687.00,809.92,980.00,'App\\Models\\Inventario\\InvControlStockDetail',47,NULL,'2024-04-02 12:27:44','2024-08-29 00:39:07',NULL),(111,9435,'2024-04-02',41176,121,NULL,1,2,0.00,0.00,850.00,909.09,1100.00,'App\\Models\\Inventario\\InvProducto',52,'52','2024-04-02 12:29:31','2024-04-02 12:29:31',NULL);
INSERT INTO `inv_stock_movimientos` VALUES (112,NULL,'2024-04-02',41176,121,NULL,1,2,1.00,1.00,850.00,909.09,1100.00,'App\\Models\\Inventario\\InvControlStockDetail',48,NULL,'2024-04-02 12:29:50','2024-08-29 00:39:07',NULL),(113,9435,'2024-04-02',41176,118,NULL,1,2,0.00,0.00,1109.00,1272.73,1540.00,'App\\Models\\Inventario\\InvProducto',50,'50','2024-04-02 12:42:12','2024-04-02 12:42:12',NULL),(114,NULL,'2024-04-02',41176,118,NULL,1,2,9.00,9.00,1109.00,1272.73,1540.00,'App\\Models\\Inventario\\InvControlStockDetail',49,NULL,'2024-04-02 12:42:39','2024-08-29 00:39:07',NULL),(115,9435,'2024-04-02',41176,123,NULL,1,2,0.00,0.00,1890.00,2396.69,2900.00,'App\\Models\\Inventario\\InvProducto',53,'53','2024-04-02 15:08:24','2024-04-02 15:08:24',NULL),(116,NULL,'2024-04-02',41176,123,NULL,1,2,1.00,1.00,1890.00,2396.69,2900.00,'App\\Models\\Inventario\\InvControlStockDetail',50,NULL,'2024-04-02 15:09:04','2024-08-29 00:39:07',NULL),(117,9435,'2024-04-02',41176,124,NULL,1,2,0.00,0.00,1685.00,2066.12,2500.00,'App\\Models\\Inventario\\InvProducto',54,'54','2024-04-02 15:10:37','2024-04-02 15:10:37',NULL),(118,NULL,'2024-04-02',41176,124,NULL,1,2,1.00,1.00,1685.00,2066.12,2500.00,'App\\Models\\Inventario\\InvControlStockDetail',51,NULL,'2024-04-02 15:10:58','2024-08-29 00:39:07',NULL),(119,NULL,'2024-04-02',41176,123,NULL,1,2,-1.00,1.00,1890.00,2396.69,2900.00,'App\\Models\\Inventario\\InvControlStockDetail',52,NULL,'2024-04-02 15:23:56','2024-08-29 00:39:07',NULL),(120,NULL,'2024-04-02',41176,124,NULL,1,2,-1.00,1.00,1685.00,2066.12,2500.00,'App\\Models\\Inventario\\InvControlStockDetail',53,NULL,'2024-04-02 15:23:56','2024-08-29 00:39:07',NULL),(121,NULL,'2024-04-02',41176,118,NULL,1,2,-1.00,9.00,1109.00,1272.73,1540.00,'App\\Models\\Inventario\\InvControlStockDetail',54,NULL,'2024-04-02 20:02:30','2024-08-29 00:39:07',NULL),(122,9435,'2024-04-02',41176,125,NULL,1,2,0.00,0.00,1200.00,1272.73,1540.00,'App\\Models\\Inventario\\InvProducto',55,'55','2024-04-02 20:04:21','2024-04-02 20:04:21',NULL),(123,9435,'2024-04-02',41176,126,NULL,1,2,0.00,0.00,700.00,809.92,980.00,'App\\Models\\Inventario\\InvProducto',56,'56','2024-04-02 20:06:26','2024-04-02 20:06:26',NULL),(124,9435,'2024-04-02',41176,127,NULL,1,2,0.00,0.00,200.00,330.58,400.00,'App\\Models\\Inventario\\InvProducto',57,'57','2024-04-02 20:13:01','2024-04-02 20:13:01',NULL),(125,NULL,'2024-04-02',41176,119,NULL,1,2,-1.00,2.00,687.00,809.92,980.00,'App\\Models\\Inventario\\InvControlStockDetail',55,NULL,'2024-04-02 20:13:55','2024-08-29 00:39:07',NULL),(126,NULL,'2024-04-02',41176,121,NULL,1,2,-1.00,1.00,850.00,909.09,1100.00,'App\\Models\\Inventario\\InvControlStockDetail',56,NULL,'2024-04-02 20:13:55','2024-08-29 00:39:07',NULL),(127,NULL,'2024-04-02',41176,123,NULL,1,2,1.00,1.00,1890.00,2396.69,2900.00,'App\\Models\\Inventario\\InvControlStockDetail',57,NULL,'2024-04-02 20:13:55','2024-08-29 00:39:07',NULL),(128,NULL,'2024-04-02',41176,124,NULL,1,2,1.00,1.00,1685.00,2066.12,2500.00,'App\\Models\\Inventario\\InvControlStockDetail',58,NULL,'2024-04-02 20:13:55','2024-08-29 00:39:07',NULL),(129,NULL,'2024-04-02',41176,125,NULL,1,2,1.00,1.00,1200.00,1272.73,1540.00,'App\\Models\\Inventario\\InvControlStockDetail',59,NULL,'2024-04-02 20:13:55','2024-08-29 00:39:07',NULL),(130,NULL,'2024-04-02',41176,126,NULL,1,2,1.00,1.00,700.00,809.92,980.00,'App\\Models\\Inventario\\InvControlStockDetail',60,NULL,'2024-04-02 20:13:55','2024-08-29 00:39:07',NULL),(131,NULL,'2024-04-02',41176,127,NULL,1,2,1.00,1.00,200.00,330.58,400.00,'App\\Models\\Inventario\\InvControlStockDetail',61,NULL,'2024-04-02 20:13:55','2024-08-29 00:39:07',NULL),(132,9435,'2024-04-02',41176,125,NULL,1,2,0.00,1.00,400.00,487.60,590.00,'App\\Models\\Inventario\\InvProducto',55,'55','2024-04-02 20:19:48','2024-04-02 20:19:48',NULL),(133,9435,'2024-04-02',41176,128,NULL,1,2,0.00,0.00,387.00,583.14,705.60,'App\\Models\\Inventario\\InvProducto',58,'58','2024-04-02 22:40:18','2024-04-02 22:40:18',NULL);
INSERT INTO `inv_stock_movimientos` VALUES (134,9435,'2024-04-02',41176,129,NULL,1,2,0.00,0.00,1080.00,1157.02,1400.00,'App\\Models\\Inventario\\InvProducto',59,'59','2024-04-02 22:42:52','2024-04-02 22:42:52',NULL),(135,9435,'2024-04-02',41176,130,NULL,1,2,0.00,0.00,816.00,909.09,1100.00,'App\\Models\\Inventario\\InvProducto',60,'60','2024-04-02 22:44:07','2024-04-02 22:44:07',NULL),(136,9435,'2024-04-02',41176,131,NULL,1,2,0.00,0.00,1200.00,1269.42,1536.00,'App\\Models\\Inventario\\InvProducto',61,'61','2024-04-02 22:47:01','2024-04-02 22:47:01',NULL),(137,NULL,'2024-04-04',41176,126,NULL,1,2,-1.00,1.00,700.00,809.92,980.00,'App\\Models\\Inventario\\InvControlStockDetail',62,NULL,'2024-04-04 19:20:39','2024-08-29 00:39:07',NULL),(138,NULL,'2024-04-04',41176,127,NULL,1,2,-2.00,1.00,200.00,330.58,400.00,'App\\Models\\Inventario\\InvControlStockDetail',63,NULL,'2024-04-04 19:20:40','2024-08-29 00:39:07',NULL),(139,NULL,'2024-04-04',41176,128,NULL,1,2,1.00,1.00,387.00,583.14,705.60,'App\\Models\\Inventario\\InvControlStockDetail',64,NULL,'2024-04-04 19:20:40','2024-08-29 00:39:07',NULL),(140,NULL,'2024-04-04',41176,129,NULL,1,2,1.00,1.00,1080.00,1157.02,1400.00,'App\\Models\\Inventario\\InvControlStockDetail',65,NULL,'2024-04-04 19:20:40','2024-08-29 00:39:07',NULL),(141,NULL,'2024-04-04',41176,130,NULL,1,2,1.00,1.00,816.00,909.09,1100.00,'App\\Models\\Inventario\\InvControlStockDetail',66,NULL,'2024-04-04 19:20:40','2024-08-29 00:39:07',NULL),(142,NULL,'2024-04-04',41176,131,NULL,1,2,1.00,1.00,1200.00,1269.42,1536.00,'App\\Models\\Inventario\\InvControlStockDetail',67,NULL,'2024-04-04 19:20:40','2024-08-29 00:39:07',NULL),(143,9435,'2024-04-08',41176,133,NULL,1,2,0.00,0.00,4297.00,4828.93,5843.00,'App\\Models\\Inventario\\InvProducto',62,'62','2024-04-08 11:16:04','2024-04-08 11:16:04',NULL),(144,9435,'2024-04-08',41176,134,NULL,1,2,0.00,0.00,1210.00,1528.93,1850.00,'App\\Models\\Inventario\\InvProducto',63,'63','2024-04-08 11:17:18','2024-04-08 11:17:18',NULL),(145,9435,'2024-04-08',41176,135,NULL,1,2,0.00,0.00,1024.00,1238.84,1499.00,'App\\Models\\Inventario\\InvProducto',64,'64','2024-04-08 11:18:39','2024-04-08 11:18:39',NULL),(146,9435,'2024-04-08',41176,136,NULL,1,2,0.00,0.00,1700.00,2066.12,2500.00,'App\\Models\\Inventario\\InvProducto',65,'65','2024-04-08 12:01:13','2024-04-08 12:01:13',NULL),(147,9435,'2024-04-08',41176,137,NULL,1,2,0.00,0.00,1390.00,1596.69,1932.00,'App\\Models\\Inventario\\InvProducto',66,'66','2024-04-08 12:03:14','2024-04-08 12:03:14',NULL),(148,9435,'2024-04-08',41176,138,NULL,1,2,0.00,0.00,844.00,844.00,1021.24,'App\\Models\\Inventario\\InvProducto',67,'67','2024-04-08 12:05:56','2024-04-08 12:05:56',NULL),(149,9435,'2024-04-08',41176,139,NULL,1,2,0.00,0.00,144.00,165.29,200.00,'App\\Models\\Inventario\\InvProducto',68,'68','2024-04-08 12:11:56','2024-04-08 12:11:56',NULL),(150,9435,'2024-04-08',41176,140,NULL,1,2,0.00,0.00,982.00,1238.84,1499.00,'App\\Models\\Inventario\\InvProducto',69,'69','2024-04-08 12:13:45','2024-04-08 12:13:45',NULL),(151,9435,'2024-04-08',41176,141,NULL,1,2,0.00,0.00,1000.00,1239.67,1500.00,'App\\Models\\Inventario\\InvProducto',70,'70','2024-04-08 12:30:50','2024-04-08 12:30:50',NULL),(152,NULL,'2024-04-08',41176,133,NULL,1,2,-40.00,-40.00,4297.00,193157.20,233720.21,'App\\Models\\Receipt',7379,NULL,'2024-04-08 12:49:53','2024-08-29 00:39:07',NULL),(153,NULL,'2024-04-08',41176,134,NULL,1,2,-50.00,-50.00,1210.00,76446.50,92500.26,'App\\Models\\Receipt',7379,NULL,'2024-04-08 12:49:53','2024-08-29 00:39:07',NULL),(154,NULL,'2024-04-08',41176,135,NULL,1,2,-50.00,-50.00,1024.00,61942.00,74949.82,'App\\Models\\Receipt',7379,NULL,'2024-04-08 12:49:53','2024-08-29 00:39:07',NULL),(155,NULL,'2024-04-08',41176,136,NULL,1,2,-50.00,-50.00,1700.00,103306.00,125000.26,'App\\Models\\Receipt',7379,NULL,'2024-04-08 12:49:53','2024-08-29 00:39:07',NULL),(156,NULL,'2024-04-08',41176,137,NULL,1,2,-85.00,-85.00,1390.00,135718.65,164219.57,'App\\Models\\Receipt',7379,NULL,'2024-04-08 12:49:53','2024-08-29 00:39:07',NULL);
INSERT INTO `inv_stock_movimientos` VALUES (157,NULL,'2024-04-08',41176,138,NULL,1,2,-50.00,-50.00,844.00,42200.00,51062.00,'App\\Models\\Receipt',7379,NULL,'2024-04-08 12:49:53','2024-08-29 00:39:07',NULL),(158,NULL,'2024-04-08',41176,139,NULL,1,2,-50.00,-50.00,144.00,8264.50,10000.05,'App\\Models\\Receipt',7379,NULL,'2024-04-08 12:49:53','2024-08-29 00:39:07',NULL),(159,NULL,'2024-04-08',41176,140,NULL,1,2,-103.00,-103.00,982.00,126899.03,153547.83,'App\\Models\\Receipt',7379,NULL,'2024-04-08 12:49:53','2024-08-29 00:39:07',NULL),(160,NULL,'2024-04-08',41176,133,NULL,1,2,-40.00,-40.00,4297.00,193157.20,233720.21,'App\\Models\\Receipt',7380,NULL,'2024-04-08 12:52:37','2024-08-29 00:39:07',NULL),(161,NULL,'2024-04-08',41176,134,NULL,1,2,-50.00,-50.00,1210.00,76446.50,92500.26,'App\\Models\\Receipt',7380,NULL,'2024-04-08 12:52:37','2024-08-29 00:39:07',NULL),(162,NULL,'2024-04-08',41176,135,NULL,1,2,-50.00,-50.00,1024.00,61942.00,74949.82,'App\\Models\\Receipt',7380,NULL,'2024-04-08 12:52:37','2024-08-29 00:39:07',NULL),(163,NULL,'2024-04-08',41176,136,NULL,1,2,-50.00,-50.00,1700.00,103306.00,125000.26,'App\\Models\\Receipt',7380,NULL,'2024-04-08 12:52:37','2024-08-29 00:39:07',NULL),(164,NULL,'2024-04-08',41176,137,NULL,1,2,-85.00,-85.00,1390.00,135718.65,164219.57,'App\\Models\\Receipt',7380,NULL,'2024-04-08 12:52:37','2024-08-29 00:39:07',NULL),(165,NULL,'2024-04-08',41176,138,NULL,1,2,-50.00,-50.00,844.00,42200.00,51062.00,'App\\Models\\Receipt',7380,NULL,'2024-04-08 12:52:37','2024-08-29 00:39:07',NULL),(166,NULL,'2024-04-08',41176,139,NULL,1,2,-50.00,-50.00,144.00,8264.50,10000.05,'App\\Models\\Receipt',7380,NULL,'2024-04-08 12:52:37','2024-08-29 00:39:07',NULL),(167,NULL,'2024-04-08',41176,140,NULL,1,2,-103.00,-103.00,982.00,126899.03,153547.83,'App\\Models\\Receipt',7380,NULL,'2024-04-08 12:52:37','2024-08-29 00:39:07',NULL),(168,NULL,'2024-04-08',41176,133,NULL,1,2,40.00,-40.00,4297.00,193157.20,233720.21,'App\\Models\\Receipt',7381,NULL,'2024-04-08 12:54:02','2024-08-29 00:39:07',NULL),(169,NULL,'2024-04-08',41176,134,NULL,1,2,50.00,-50.00,1210.00,76446.50,92500.26,'App\\Models\\Receipt',7381,NULL,'2024-04-08 12:54:02','2024-08-29 00:39:07',NULL),(170,NULL,'2024-04-08',41176,135,NULL,1,2,50.00,-50.00,1024.00,61942.00,74949.82,'App\\Models\\Receipt',7381,NULL,'2024-04-08 12:54:02','2024-08-29 00:39:07',NULL),(171,NULL,'2024-04-08',41176,136,NULL,1,2,50.00,-50.00,1700.00,103306.00,125000.26,'App\\Models\\Receipt',7381,NULL,'2024-04-08 12:54:02','2024-08-29 00:39:07',NULL),(172,NULL,'2024-04-08',41176,137,NULL,1,2,85.00,-85.00,1390.00,135718.65,164219.57,'App\\Models\\Receipt',7381,NULL,'2024-04-08 12:54:02','2024-08-29 00:39:07',NULL),(173,NULL,'2024-04-08',41176,138,NULL,1,2,50.00,-50.00,844.00,42200.00,51062.00,'App\\Models\\Receipt',7381,NULL,'2024-04-08 12:54:02','2024-08-29 00:39:07',NULL),(174,NULL,'2024-04-08',41176,139,NULL,1,2,50.00,-50.00,144.00,8264.50,10000.05,'App\\Models\\Receipt',7381,NULL,'2024-04-08 12:54:02','2024-08-29 00:39:07',NULL),(175,NULL,'2024-04-08',41176,140,NULL,1,2,103.00,-103.00,982.00,126899.03,153547.83,'App\\Models\\Receipt',7381,NULL,'2024-04-08 12:54:02','2024-08-29 00:39:07',NULL),(176,NULL,'2024-04-08',41176,133,NULL,1,2,-40.00,-40.00,4297.00,193157.20,233720.21,'App\\Models\\Receipt',7382,NULL,'2024-04-08 12:54:14','2024-08-29 00:39:07',NULL),(177,NULL,'2024-04-08',41176,134,NULL,1,2,-50.00,-50.00,1210.00,76446.50,92500.26,'App\\Models\\Receipt',7382,NULL,'2024-04-08 12:54:14','2024-08-29 00:39:07',NULL),(178,NULL,'2024-04-08',41176,135,NULL,1,2,-50.00,-50.00,1024.00,61942.00,74949.82,'App\\Models\\Receipt',7382,NULL,'2024-04-08 12:54:14','2024-08-29 00:39:07',NULL),(179,NULL,'2024-04-08',41176,136,NULL,1,2,-50.00,-50.00,1700.00,103306.00,125000.26,'App\\Models\\Receipt',7382,NULL,'2024-04-08 12:54:14','2024-08-29 00:39:07',NULL),(180,NULL,'2024-04-08',41176,137,NULL,1,2,-85.00,-85.00,1390.00,135718.65,164219.57,'App\\Models\\Receipt',7382,NULL,'2024-04-08 12:54:14','2024-08-29 00:39:07',NULL);
INSERT INTO `inv_stock_movimientos` VALUES (181,NULL,'2024-04-08',41176,138,NULL,1,2,-50.00,-50.00,844.00,42200.00,51062.00,'App\\Models\\Receipt',7382,NULL,'2024-04-08 12:54:14','2024-08-29 00:39:07',NULL),(182,NULL,'2024-04-08',41176,139,NULL,1,2,-50.00,-50.00,144.00,8264.50,10000.05,'App\\Models\\Receipt',7382,NULL,'2024-04-08 12:54:15','2024-08-29 00:39:07',NULL),(183,NULL,'2024-04-08',41176,140,NULL,1,2,-103.00,-103.00,982.00,126899.03,153547.83,'App\\Models\\Receipt',7382,NULL,'2024-04-08 12:54:15','2024-08-29 00:39:07',NULL),(184,NULL,'2024-04-08',41176,133,NULL,1,2,40.00,-40.00,4297.00,193157.20,233720.21,'App\\Models\\Receipt',7383,NULL,'2024-04-08 12:55:18','2024-08-29 00:39:07',NULL),(185,NULL,'2024-04-08',41176,134,NULL,1,2,50.00,-50.00,1210.00,76446.50,92500.26,'App\\Models\\Receipt',7383,NULL,'2024-04-08 12:55:18','2024-08-29 00:39:07',NULL),(186,NULL,'2024-04-08',41176,135,NULL,1,2,50.00,-50.00,1024.00,61942.00,74949.82,'App\\Models\\Receipt',7383,NULL,'2024-04-08 12:55:18','2024-08-29 00:39:07',NULL),(187,NULL,'2024-04-08',41176,136,NULL,1,2,50.00,-50.00,1700.00,103306.00,125000.26,'App\\Models\\Receipt',7383,NULL,'2024-04-08 12:55:18','2024-08-29 00:39:07',NULL),(188,NULL,'2024-04-08',41176,137,NULL,1,2,85.00,-85.00,1390.00,135718.65,164219.57,'App\\Models\\Receipt',7383,NULL,'2024-04-08 12:55:18','2024-08-29 00:39:07',NULL),(189,NULL,'2024-04-08',41176,138,NULL,1,2,50.00,-50.00,844.00,42200.00,51062.00,'App\\Models\\Receipt',7383,NULL,'2024-04-08 12:55:18','2024-08-29 00:39:07',NULL),(190,NULL,'2024-04-08',41176,139,NULL,1,2,50.00,-50.00,144.00,8264.50,10000.05,'App\\Models\\Receipt',7383,NULL,'2024-04-08 12:55:18','2024-08-29 00:39:07',NULL),(191,NULL,'2024-04-08',41176,140,NULL,1,2,103.00,-103.00,982.00,126899.03,153547.83,'App\\Models\\Receipt',7383,NULL,'2024-04-08 12:55:18','2024-08-29 00:39:07',NULL),(192,NULL,'2024-04-08',41176,133,NULL,1,2,-40.00,-40.00,4297.00,193157.20,233720.21,'App\\Models\\Receipt',7384,NULL,'2024-04-08 13:00:37','2024-08-29 00:39:07',NULL),(193,NULL,'2024-04-08',41176,134,NULL,1,2,-50.00,-50.00,1210.00,76446.50,92500.26,'App\\Models\\Receipt',7384,NULL,'2024-04-08 13:00:37','2024-08-29 00:39:07',NULL),(194,NULL,'2024-04-08',41176,135,NULL,1,2,-50.00,-50.00,1024.00,61942.00,74949.82,'App\\Models\\Receipt',7384,NULL,'2024-04-08 13:00:37','2024-08-29 00:39:07',NULL),(195,NULL,'2024-04-08',41176,136,NULL,1,2,-50.00,-50.00,1700.00,103306.00,125000.26,'App\\Models\\Receipt',7384,NULL,'2024-04-08 13:00:37','2024-08-29 00:39:07',NULL),(196,NULL,'2024-04-08',41176,137,NULL,1,2,-85.00,-85.00,1390.00,135718.65,164219.57,'App\\Models\\Receipt',7384,NULL,'2024-04-08 13:00:37','2024-08-29 00:39:07',NULL),(197,NULL,'2024-04-08',41176,138,NULL,1,2,-50.00,-50.00,844.00,42200.00,51062.00,'App\\Models\\Receipt',7384,NULL,'2024-04-08 13:00:37','2024-08-29 00:39:07',NULL),(198,NULL,'2024-04-08',41176,139,NULL,1,2,-50.00,-50.00,144.00,8264.50,10000.05,'App\\Models\\Receipt',7384,NULL,'2024-04-08 13:00:37','2024-08-29 00:39:07',NULL),(199,NULL,'2024-04-08',41176,140,NULL,1,2,-103.00,-103.00,982.00,126899.03,153547.83,'App\\Models\\Receipt',7384,NULL,'2024-04-08 13:00:37','2024-08-29 00:39:07',NULL),(200,NULL,'2024-04-08',41176,133,NULL,1,2,40.00,-40.00,4297.00,193157.20,233720.21,'App\\Models\\Receipt',7385,NULL,'2024-04-08 13:01:26','2024-08-29 00:39:07',NULL),(201,NULL,'2024-04-08',41176,134,NULL,1,2,50.00,-50.00,1210.00,76446.50,92500.26,'App\\Models\\Receipt',7385,NULL,'2024-04-08 13:01:26','2024-08-29 00:39:07',NULL),(202,NULL,'2024-04-08',41176,135,NULL,1,2,50.00,-50.00,1024.00,61942.00,74949.82,'App\\Models\\Receipt',7385,NULL,'2024-04-08 13:01:26','2024-08-29 00:39:07',NULL),(203,NULL,'2024-04-08',41176,136,NULL,1,2,50.00,-50.00,1700.00,103306.00,125000.26,'App\\Models\\Receipt',7385,NULL,'2024-04-08 13:01:26','2024-08-29 00:39:07',NULL),(204,NULL,'2024-04-08',41176,137,NULL,1,2,85.00,-85.00,1390.00,135718.65,164219.57,'App\\Models\\Receipt',7385,NULL,'2024-04-08 13:01:26','2024-08-29 00:39:07',NULL);
INSERT INTO `inv_stock_movimientos` VALUES (205,NULL,'2024-04-08',41176,138,NULL,1,2,50.00,-50.00,844.00,42200.00,51062.00,'App\\Models\\Receipt',7385,NULL,'2024-04-08 13:01:26','2024-08-29 00:39:07',NULL),(206,NULL,'2024-04-08',41176,139,NULL,1,2,50.00,-50.00,144.00,8264.50,10000.05,'App\\Models\\Receipt',7385,NULL,'2024-04-08 13:01:26','2024-08-29 00:39:07',NULL),(207,NULL,'2024-04-08',41176,140,NULL,1,2,103.00,-103.00,982.00,126899.03,153547.83,'App\\Models\\Receipt',7385,NULL,'2024-04-08 13:01:26','2024-08-29 00:39:07',NULL),(208,NULL,'2024-04-08',41176,133,NULL,1,2,-40.00,-40.00,4297.00,193157.20,233720.21,'App\\Models\\Receipt',7386,NULL,'2024-04-08 13:02:10','2024-08-29 00:39:07',NULL),(209,NULL,'2024-04-08',41176,134,NULL,1,2,-50.00,-50.00,1210.00,76446.50,92500.26,'App\\Models\\Receipt',7386,NULL,'2024-04-08 13:02:10','2024-08-29 00:39:07',NULL),(210,NULL,'2024-04-08',41176,135,NULL,1,2,-50.00,-50.00,1024.00,61942.00,74949.82,'App\\Models\\Receipt',7386,NULL,'2024-04-08 13:02:10','2024-08-29 00:39:07',NULL),(211,NULL,'2024-04-08',41176,136,NULL,1,2,-50.00,-50.00,1700.00,103306.00,125000.26,'App\\Models\\Receipt',7386,NULL,'2024-04-08 13:02:10','2024-08-29 00:39:07',NULL),(212,NULL,'2024-04-08',41176,137,NULL,1,2,-85.00,-85.00,1390.00,135718.65,164219.57,'App\\Models\\Receipt',7386,NULL,'2024-04-08 13:02:10','2024-08-29 00:39:07',NULL),(213,NULL,'2024-04-08',41176,138,NULL,1,2,-50.00,-50.00,844.00,42200.00,51062.00,'App\\Models\\Receipt',7386,NULL,'2024-04-08 13:02:10','2024-08-29 00:39:07',NULL),(214,NULL,'2024-04-08',41176,139,NULL,1,2,-50.00,-50.00,144.00,8264.50,10000.05,'App\\Models\\Receipt',7386,NULL,'2024-04-08 13:02:10','2024-08-29 00:39:07',NULL),(215,NULL,'2024-04-08',41176,140,NULL,1,2,-103.00,-103.00,982.00,126899.03,153547.83,'App\\Models\\Receipt',7386,NULL,'2024-04-08 13:02:10','2024-08-29 00:39:07',NULL),(216,NULL,'2024-04-08',41176,133,NULL,1,2,40.00,-40.00,4297.00,193157.20,233720.21,'App\\Models\\Receipt',7387,NULL,'2024-04-08 13:10:02','2024-08-29 00:39:07',NULL),(217,NULL,'2024-04-08',41176,134,NULL,1,2,50.00,-50.00,1210.00,76446.50,92500.26,'App\\Models\\Receipt',7387,NULL,'2024-04-08 13:10:02','2024-08-29 00:39:07',NULL),(218,NULL,'2024-04-08',41176,135,NULL,1,2,50.00,-50.00,1024.00,61942.00,74949.82,'App\\Models\\Receipt',7387,NULL,'2024-04-08 13:10:02','2024-08-29 00:39:07',NULL),(219,NULL,'2024-04-08',41176,136,NULL,1,2,50.00,-50.00,1700.00,103306.00,125000.26,'App\\Models\\Receipt',7387,NULL,'2024-04-08 13:10:02','2024-08-29 00:39:07',NULL),(220,NULL,'2024-04-08',41176,137,NULL,1,2,85.00,-85.00,1390.00,135718.65,164219.57,'App\\Models\\Receipt',7387,NULL,'2024-04-08 13:10:02','2024-08-29 00:39:07',NULL),(221,NULL,'2024-04-08',41176,138,NULL,1,2,50.00,-50.00,844.00,42200.00,51062.00,'App\\Models\\Receipt',7387,NULL,'2024-04-08 13:10:02','2024-08-29 00:39:07',NULL),(222,NULL,'2024-04-08',41176,139,NULL,1,2,50.00,-50.00,144.00,8264.50,10000.05,'App\\Models\\Receipt',7387,NULL,'2024-04-08 13:10:02','2024-08-29 00:39:07',NULL),(223,NULL,'2024-04-08',41176,140,NULL,1,2,103.00,-103.00,982.00,126899.03,153547.83,'App\\Models\\Receipt',7387,NULL,'2024-04-08 13:10:02','2024-08-29 00:39:07',NULL),(224,NULL,'2024-04-08',41176,133,NULL,1,2,-40.00,-40.00,4297.00,193157.20,233720.21,'App\\Models\\Receipt',7388,NULL,'2024-04-08 13:10:51','2024-08-29 00:39:07',NULL),(225,NULL,'2024-04-08',41176,134,NULL,1,2,-50.00,-50.00,1210.00,76446.50,92500.26,'App\\Models\\Receipt',7388,NULL,'2024-04-08 13:10:51','2024-08-29 00:39:07',NULL),(226,NULL,'2024-04-08',41176,135,NULL,1,2,-50.00,-50.00,1024.00,61942.00,74949.82,'App\\Models\\Receipt',7388,NULL,'2024-04-08 13:10:51','2024-08-29 00:39:07',NULL),(227,NULL,'2024-04-08',41176,136,NULL,1,2,-50.00,-50.00,1700.00,103306.00,125000.26,'App\\Models\\Receipt',7388,NULL,'2024-04-08 13:10:51','2024-08-29 00:39:07',NULL),(228,NULL,'2024-04-08',41176,137,NULL,1,2,-85.00,-85.00,1390.00,135718.65,164219.57,'App\\Models\\Receipt',7388,NULL,'2024-04-08 13:10:51','2024-08-29 00:39:07',NULL);
INSERT INTO `inv_stock_movimientos` VALUES (229,NULL,'2024-04-08',41176,138,NULL,1,2,-50.00,-50.00,844.00,42200.00,51062.00,'App\\Models\\Receipt',7388,NULL,'2024-04-08 13:10:51','2024-08-29 00:39:07',NULL),(230,NULL,'2024-04-08',41176,139,NULL,1,2,-50.00,-50.00,144.00,8264.50,10000.05,'App\\Models\\Receipt',7388,NULL,'2024-04-08 13:10:51','2024-08-29 00:39:07',NULL),(231,NULL,'2024-04-08',41176,140,NULL,1,2,-103.00,-103.00,982.00,126899.03,153547.83,'App\\Models\\Receipt',7388,NULL,'2024-04-08 13:10:51','2024-08-29 00:39:07',NULL),(232,NULL,'2024-04-08',41176,133,NULL,1,2,40.00,-40.00,4297.00,193157.20,233720.21,'App\\Models\\Receipt',7389,NULL,'2024-04-08 21:02:04','2024-08-29 00:39:07',NULL),(233,NULL,'2024-04-08',41176,134,NULL,1,2,50.00,-50.00,1210.00,76446.50,92500.26,'App\\Models\\Receipt',7389,NULL,'2024-04-08 21:02:04','2024-08-29 00:39:07',NULL),(234,NULL,'2024-04-08',41176,135,NULL,1,2,50.00,-50.00,1024.00,61942.00,74949.82,'App\\Models\\Receipt',7389,NULL,'2024-04-08 21:02:04','2024-08-29 00:39:07',NULL),(235,NULL,'2024-04-08',41176,136,NULL,1,2,50.00,-50.00,1700.00,103306.00,125000.26,'App\\Models\\Receipt',7389,NULL,'2024-04-08 21:02:04','2024-08-29 00:39:07',NULL),(236,NULL,'2024-04-08',41176,137,NULL,1,2,85.00,-85.00,1390.00,135718.65,164219.57,'App\\Models\\Receipt',7389,NULL,'2024-04-08 21:02:04','2024-08-29 00:39:07',NULL),(237,NULL,'2024-04-08',41176,138,NULL,1,2,50.00,-50.00,844.00,42200.00,51062.00,'App\\Models\\Receipt',7389,NULL,'2024-04-08 21:02:04','2024-08-29 00:39:07',NULL),(238,NULL,'2024-04-08',41176,139,NULL,1,2,50.00,-50.00,144.00,8264.50,10000.05,'App\\Models\\Receipt',7389,NULL,'2024-04-08 21:02:04','2024-08-29 00:39:07',NULL),(239,NULL,'2024-04-08',41176,140,NULL,1,2,103.00,-103.00,982.00,126899.03,153547.83,'App\\Models\\Receipt',7389,NULL,'2024-04-08 21:02:04','2024-08-29 00:39:07',NULL),(240,9435,'2024-05-08',40815,76,NULL,1,4,0.00,0.00,6250.00,7500.00,7500.00,'App\\Models\\Inventario\\InvProducto',71,'71','2024-05-08 19:59:51','2024-05-08 19:59:51',NULL),(241,9435,'2024-05-08',40815,76,NULL,1,4,0.00,0.00,6250.00,7500.00,7500.00,'App\\Models\\Inventario\\InvProducto',71,'71','2024-05-08 20:01:24','2024-05-08 20:01:24',NULL),(242,NULL,'2024-05-08',40815,76,NULL,1,4,2.00,2.00,6250.00,7500.00,7500.00,'App\\Models\\Inventario\\InvIngresoEgresoStockDetail',2,NULL,'2024-05-08 20:02:25','2024-08-29 00:39:06',NULL),(243,9435,'2024-05-08',40815,87,NULL,1,4,0.00,0.00,6250.00,7500.00,7500.00,'App\\Models\\Inventario\\InvProducto',72,'72','2024-05-08 20:04:14','2024-05-08 20:04:14',NULL),(244,NULL,'2024-05-08',40815,87,NULL,1,4,2.00,2.00,6250.00,7500.00,7500.00,'App\\Models\\Inventario\\InvControlStockDetail',68,NULL,'2024-05-08 20:04:48','2024-08-29 00:39:06',NULL),(245,9435,'2024-05-08',40815,76,NULL,1,4,0.00,2.00,6250.00,7500.00,7500.00,'App\\Models\\Inventario\\InvProducto',71,'71','2024-05-08 20:05:35','2024-05-08 20:05:35',NULL),(246,9435,'2024-05-08',40815,87,NULL,1,4,0.00,2.00,6250.00,7500.00,7500.00,'App\\Models\\Inventario\\InvProducto',72,'72','2024-05-08 20:06:09','2024-05-08 20:06:09',NULL),(247,9435,'2024-05-08',40815,98,NULL,1,4,0.00,0.00,6250.00,7500.00,7500.00,'App\\Models\\Inventario\\InvProducto',73,'73','2024-05-08 20:08:01','2024-05-08 20:08:01',NULL),(248,9435,'2024-05-08',40815,109,NULL,1,4,0.00,0.00,6250.00,7500.00,7500.00,'App\\Models\\Inventario\\InvProducto',74,'74','2024-05-08 20:09:35','2024-05-08 20:09:35',NULL),(249,9435,'2024-05-08',40815,120,NULL,1,4,0.00,0.00,6250.00,7500.00,7500.00,'App\\Models\\Inventario\\InvProducto',75,'75','2024-05-08 20:10:46','2024-05-08 20:10:46',NULL),(250,NULL,'2024-05-08',40815,98,NULL,1,4,2.00,2.00,6250.00,7500.00,7500.00,'App\\Models\\Inventario\\InvIngresoEgresoStockDetail',3,NULL,'2024-05-08 20:11:25','2024-08-29 00:39:06',NULL),(251,NULL,'2024-05-08',40815,109,NULL,1,4,2.00,2.00,6250.00,7500.00,7500.00,'App\\Models\\Inventario\\InvIngresoEgresoStockDetail',4,NULL,'2024-05-08 20:11:43','2024-08-29 00:39:06',NULL);
INSERT INTO `inv_stock_movimientos` VALUES (252,NULL,'2024-05-08',40815,120,NULL,1,4,2.00,2.00,6250.00,7500.00,7500.00,'App\\Models\\Inventario\\InvIngresoEgresoStockDetail',5,NULL,'2024-05-08 20:11:57','2024-08-29 00:39:07',NULL),(253,NULL,'2024-08-29',41176,118,NULL,1,2,1.00,0.00,1109.00,1272.73,1540.00,'App\\Models\\Inventario\\InvIngresoEgresoStockDetail',6,'Ajuste Inicial Sistemico','2024-08-29 00:39:07','2024-08-29 00:39:07',NULL),(254,NULL,'2024-08-29',41176,119,NULL,1,2,1.00,0.00,687.00,809.92,980.00,'App\\Models\\Inventario\\InvIngresoEgresoStockDetail',7,'Ajuste Inicial Sistemico','2024-08-29 00:39:07','2024-08-29 00:39:07',NULL),(255,NULL,'2024-08-29',41176,121,NULL,1,2,1.00,0.00,850.00,909.09,1100.00,'App\\Models\\Inventario\\InvIngresoEgresoStockDetail',8,'Ajuste Inicial Sistemico','2024-08-29 00:39:07','2024-08-29 00:39:07',NULL),(256,NULL,'2024-08-29',41176,126,NULL,1,2,1.00,0.00,700.00,809.92,980.00,'App\\Models\\Inventario\\InvIngresoEgresoStockDetail',9,'Ajuste Inicial Sistemico','2024-08-29 00:39:07','2024-08-29 00:39:07',NULL),(257,NULL,'2024-08-29',41176,127,NULL,1,2,2.00,0.00,200.00,330.58,400.00,'App\\Models\\Inventario\\InvIngresoEgresoStockDetail',10,'Ajuste Inicial Sistemico','2024-08-29 00:39:07','2024-08-29 00:39:07',NULL);

--
