-- Table structure for table `person_activities`
--

CREATE TABLE `person_activities` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `activity_id` int(10) unsigned NOT NULL,
  `is_principal` 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 `person_activities_person_id_foreign` (`person_id`),
  KEY `person_activities_activity_id_foreign` (`activity_id`),
  CONSTRAINT `person_activities_activity_id_foreign` FOREIGN KEY (`activity_id`) REFERENCES `activities` (`id`),
  CONSTRAINT `person_activities_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=554 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `person_activities`
--

INSERT INTO `person_activities` VALUES (271,8325,40719,1,1,'2023-01-13 15:17:27','2023-01-13 15:17:27',NULL),(311,8325,40768,422,1,'2023-01-13 16:36:39','2023-01-13 16:36:39',NULL),(351,8325,40757,401,1,'2023-01-31 12:29:54','2023-01-31 12:29:54',NULL),(352,8325,40757,660,0,'2023-01-31 12:29:54','2023-01-31 12:29:54',NULL),(353,8325,40757,823,0,'2023-01-31 12:29:54','2023-01-31 12:29:54',NULL),(358,8325,40769,919,1,'2023-04-28 14:39:25','2023-04-28 14:39:25',NULL),(359,8325,40769,911,0,'2023-04-28 14:39:25','2023-04-28 14:39:25',NULL),(360,8325,40769,945,0,'2023-04-28 14:39:25','2023-04-28 14:39:25',NULL),(361,8325,40769,569,0,'2023-04-28 14:39:25','2023-04-28 14:39:25',NULL),(410,8325,40786,438,0,'2023-05-28 11:52:35','2023-05-28 11:52:35',NULL),(411,8325,40786,594,0,'2023-05-28 11:52:35','2023-05-28 11:52:35',NULL),(412,8325,40786,430,1,'2023-05-28 11:52:35','2023-05-28 11:52:35',NULL),(419,8325,40787,430,1,'2023-05-31 09:25:06','2023-05-31 09:25:06',NULL),(420,8325,40787,594,0,'2023-05-31 09:25:06','2023-05-31 09:25:06',NULL),(421,8325,40787,438,0,'2023-05-31 09:25:06','2023-05-31 09:25:06',NULL),(422,8325,40788,713,1,'2023-05-31 10:50:09','2023-05-31 10:50:09',NULL),(423,8325,40788,640,0,'2023-05-31 10:50:09','2023-05-31 10:50:09',NULL),(424,8325,40788,847,0,'2023-05-31 10:50:09','2023-05-31 10:50:09',NULL),(425,8325,40788,946,0,'2023-05-31 10:50:09','2023-05-31 10:50:09',NULL),(426,8325,40788,823,0,'2023-05-31 10:50:09','2023-05-31 10:50:09',NULL),(482,8325,40817,645,1,'2023-05-31 14:09:24','2023-05-31 14:09:24',NULL),(529,8325,40844,651,1,'2023-05-31 14:59:42','2023-05-31 14:59:42',NULL),(530,8325,40844,823,0,'2023-05-31 14:59:42','2023-05-31 14:59:42',NULL),(531,8325,40845,789,1,'2023-06-16 13:26:55','2023-06-16 13:26:55',NULL),(532,8325,40846,57,1,'2023-06-27 10:34:45','2023-06-27 10:34:45',NULL),(534,8325,40848,596,1,'2023-06-29 11:44:17','2023-06-29 11:44:17',NULL),(535,8325,40849,799,1,'2023-06-29 11:46:31','2023-06-29 11:46:31',NULL),(536,8325,40850,923,1,'2023-06-29 11:50:27','2023-06-29 11:50:27',NULL),(543,8325,40847,801,1,'2023-06-29 19:03:14','2023-06-29 19:03:14',NULL),(544,8325,40851,805,1,'2023-06-30 14:16:12','2023-06-30 14:16:12',NULL),(548,8325,40852,400,1,'2023-06-30 15:15:28','2023-06-30 15:15:28',NULL),(549,8325,40816,894,1,'2023-07-06 19:13:19','2023-07-06 19:13:19',NULL),(553,8325,40853,198,1,'2023-08-02 16:12:10','2023-08-02 16:12:10',NULL);

--
-- Table structure for table `person_cobrador`
--

CREATE TABLE `person_cobrador` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `person_id` int(10) unsigned NOT NULL,
  `person_id_relationed` int(10) unsigned DEFAULT NULL,
  `cobrador_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 `person_cobrador_person_id_foreign` (`person_id`),
  KEY `person_cobrador_cobrador_id_foreign` (`cobrador_id`),
  KEY `person_cobrador_person_id_relationed_foreign` (`person_id_relationed`),
  CONSTRAINT `person_cobrador_cobrador_id_foreign` FOREIGN KEY (`cobrador_id`) REFERENCES `cobradores` (`id`),
  CONSTRAINT `person_cobrador_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`),
  CONSTRAINT `person_cobrador_person_id_relationed_foreign` FOREIGN KEY (`person_id_relationed`) REFERENCES `persons` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `person_cobrador`
--


--
-- Table structure for table `person_cobrador_history`
--

CREATE TABLE `person_cobrador_history` (
  `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 NOT NULL,
  `cobrador_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 `person_cobrador_history_person_id_foreign` (`person_id`),
  KEY `person_cobrador_history_person_id_relationed_foreign` (`person_id_relationed`),
  KEY `person_cobrador_history_cobrador_id_foreign` (`cobrador_id`),
  CONSTRAINT `person_cobrador_history_cobrador_id_foreign` FOREIGN KEY (`cobrador_id`) REFERENCES `cobradores` (`id`),
  CONSTRAINT `person_cobrador_history_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`),
  CONSTRAINT `person_cobrador_history_person_id_relationed_foreign` FOREIGN KEY (`person_id_relationed`) REFERENCES `persons` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `person_cobrador_history`
--


--
-- Table structure for table `person_configurations`
--

CREATE TABLE `person_configurations` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `period_id` int(10) unsigned DEFAULT NULL,
  `zone_id` int(10) unsigned DEFAULT NULL,
  `settle_calc_by_coef` int(11) NOT NULL DEFAULT '0',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `active` int(10) unsigned DEFAULT NULL,
  `enviarMail` int(11) DEFAULT '1',
  `honorario` decimal(16,2) DEFAULT '0.00',
  `cta_cte_tesoreria_cuenta_id` int(10) unsigned DEFAULT NULL,
  `month_close` int(10) unsigned DEFAULT NULL,
  `iva_condition_id` int(10) unsigned DEFAULT NULL,
  `obligation_sell` int(10) unsigned DEFAULT NULL,
  `obligation_buy` int(10) unsigned DEFAULT NULL,
  `obligation_iva` int(10) unsigned DEFAULT NULL,
  `obligation_electronic_receipt` int(10) unsigned DEFAULT NULL,
  `obligation_iibb` int(10) unsigned DEFAULT NULL,
  `obligation_other_taxes` int(10) unsigned DEFAULT NULL,
  `liquidation_start_period` varchar(7) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `obligation_salaries` int(10) unsigned DEFAULT NULL,
  `empleada_domestica` tinyint(1) NOT NULL DEFAULT '0',
  `prorratear_iva` tinyint(1) NOT NULL DEFAULT '0',
  `is_itc` tinyint(1) NOT NULL DEFAULT '0',
  `priority_order` int(10) unsigned DEFAULT NULL,
  `person_id_administrador` int(11) DEFAULT NULL,
  `person_id_titular` int(11) DEFAULT NULL,
  `logo_path` varchar(180) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `certificado_afip_path` varchar(180) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `llave_afip_path` varchar(180) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `access_electronic_receipt` int(10) unsigned DEFAULT '0',
  `ruta_logo_fa` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `inicio_actividades` date DEFAULT NULL,
  `fecha_de_mono_to_ri` date DEFAULT NULL,
  `iibb` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `fe_leyenda` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `atencion_iva` tinyint(1) NOT NULL DEFAULT '0',
  `atencion_iva_comentario` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `atencion_iibb` tinyint(1) NOT NULL DEFAULT '0',
  `atencion_iibb_comentario` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `usar_multimoneda` tinyint(1) NOT NULL DEFAULT '0',
  `is_ag_per_ret` tinyint(1) NOT NULL DEFAULT '0',
  `deleted_at` timestamp NULL DEFAULT NULL,
  `barcode_columns` tinyint(3) unsigned NOT NULL DEFAULT '3' COMMENT 'Cantidad de columnas en la hoja de etiquetas',
  `barcode_rows` tinyint(3) unsigned NOT NULL DEFAULT '10' COMMENT 'Cantidad de filas en la hoja de etiquetas',
  `barcode_width_cm` decimal(4,2) NOT NULL DEFAULT '6.50' COMMENT 'Ancho de cada etiqueta en cm',
  `barcode_height_cm` decimal(4,2) NOT NULL DEFAULT '2.50' COMMENT 'Alto de cada etiqueta en cm',
  `barcode_page_size` varchar(10) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'A4' COMMENT 'Tamaño de página (A4, Letter, etc)',
  PRIMARY KEY (`id`),
  KEY `person_configurations_person_id_foreign` (`person_id`),
  KEY `person_configurations_period_id_foreign` (`period_id`),
  KEY `person_configurations_zone_id_foreign` (`zone_id`),
  KEY `person_configurations_iva_condition_id_foreign` (`iva_condition_id`),
  KEY `person_configurations_cta_cte_tesoreria_cuenta_id_foreign` (`cta_cte_tesoreria_cuenta_id`),
  CONSTRAINT `person_configurations_cta_cte_tesoreria_cuenta_id_foreign` FOREIGN KEY (`cta_cte_tesoreria_cuenta_id`) REFERENCES `cta_cte_tesoreria_cuentas` (`id`),
  CONSTRAINT `person_configurations_iva_condition_id_foreign` FOREIGN KEY (`iva_condition_id`) REFERENCES `iva_conditions` (`id`),
  CONSTRAINT `person_configurations_period_id_foreign` FOREIGN KEY (`period_id`) REFERENCES `periods` (`id`),
  CONSTRAINT `person_configurations_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`),
  CONSTRAINT `person_configurations_zone_id_foreign` FOREIGN KEY (`zone_id`) REFERENCES `zones` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=174 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `person_configurations`
--

INSERT INTO `person_configurations` VALUES (2,8325,40719,NULL,NULL,0,'2023-01-13 09:54:02','2023-01-13 15:17:27',2,1,0.00,NULL,12,1,0,0,0,0,1,NULL,'2023-1',0,0,0,0,2,40719,40719,NULL,NULL,NULL,0,NULL,'2023-01-13',NULL,NULL,NULL,0,NULL,0,NULL,0,0,NULL,3,10,6.50,2.50,'A4'),(90,8325,40757,NULL,NULL,0,'2023-01-13 16:31:40','2023-01-31 12:29:54',2,1,0.00,NULL,12,2,1,1,1,1,4,NULL,'2012-12',1,0,0,0,1,40757,40757,NULL,NULL,NULL,0,NULL,'2013-01-01',NULL,NULL,NULL,0,NULL,0,NULL,0,0,NULL,3,10,6.50,2.50,'A4'),(91,8325,40768,NULL,NULL,0,'2023-01-13 16:36:39','2023-01-13 16:36:39',2,1,0.00,NULL,12,1,1,0,0,0,1,NULL,'2021-01',0,0,0,0,1,40768,40768,NULL,NULL,NULL,0,NULL,'0000-00-00',NULL,NULL,NULL,0,NULL,0,NULL,0,0,NULL,3,10,6.50,2.50,'A4'),(92,8325,40769,NULL,NULL,0,'2023-04-28 14:23:42','2023-04-28 14:39:25',2,1,0.00,NULL,12,3,0,0,0,0,3,NULL,'2023-05',1,0,0,0,1,40769,40769,NULL,NULL,NULL,0,NULL,'2023-04-28',NULL,NULL,NULL,0,NULL,0,NULL,0,0,NULL,3,10,6.50,2.50,'A4'),(109,8325,40786,NULL,NULL,0,'2023-05-28 11:52:35','2023-05-28 11:52:35',2,1,0.00,NULL,12,3,0,0,0,0,3,NULL,'2023-05',1,0,0,0,1,40786,40786,NULL,NULL,NULL,0,NULL,'0000-00-00','0000-00-00',NULL,NULL,0,NULL,0,NULL,0,0,NULL,3,10,6.50,2.50,'A4'),(110,8325,40787,NULL,NULL,0,'2023-05-28 18:21:59','2023-05-31 09:25:06',2,1,0.00,NULL,12,3,0,0,0,0,3,NULL,'2023-05',1,0,0,0,1,40787,40787,NULL,NULL,NULL,0,NULL,'2023-05-28','0000-00-00',NULL,NULL,0,NULL,0,NULL,0,0,NULL,3,10,6.50,2.50,'A4'),(111,8325,40788,NULL,NULL,0,'2023-05-31 10:50:09','2023-05-31 10:50:09',2,1,0.00,NULL,12,3,0,0,0,0,3,NULL,'2023-05',1,0,1,0,1,40788,40788,NULL,NULL,NULL,0,NULL,'0000-00-00','0000-00-00',NULL,NULL,0,NULL,0,NULL,0,0,NULL,3,10,6.50,2.50,'A4'),(139,8325,40816,NULL,NULL,0,'2023-05-31 13:23:16','2023-07-06 19:13:19',2,1,0.00,NULL,12,2,0,0,0,0,4,NULL,'2023-05',1,0,0,0,1,40816,40816,NULL,NULL,NULL,0,NULL,'2023-07-06','0000-00-00',NULL,NULL,0,NULL,0,NULL,0,0,NULL,3,10,6.50,2.50,'A4'),(140,8325,40817,NULL,NULL,0,'2023-05-31 14:09:24','2023-05-31 14:09:24',2,1,0.00,NULL,12,3,0,0,0,0,3,NULL,'2023-05',1,0,0,0,1,40817,40817,NULL,NULL,NULL,0,NULL,'0000-00-00','0000-00-00',NULL,NULL,0,NULL,0,NULL,0,0,NULL,3,10,6.50,2.50,'A4'),(164,8325,40844,NULL,NULL,0,'2023-05-31 14:59:42','2023-05-31 14:59:42',2,1,0.00,NULL,12,3,0,0,0,0,3,NULL,'2023-5',1,0,0,0,1,40844,40844,NULL,NULL,NULL,0,NULL,'0000-00-00','0000-00-00',NULL,NULL,0,NULL,0,NULL,0,0,NULL,3,10,6.50,2.50,'A4'),(165,8325,40845,NULL,NULL,0,'2023-06-16 13:26:55','2023-06-16 13:26:55',2,1,0.00,NULL,12,3,0,0,0,0,4,NULL,'2023-05',1,0,0,0,1,40845,40845,NULL,NULL,NULL,0,NULL,'0000-00-00','0000-00-00',NULL,NULL,0,NULL,0,NULL,0,0,NULL,3,10,6.50,2.50,'A4'),(166,8325,40846,NULL,NULL,0,'2023-06-27 10:34:45','2023-06-27 10:34:45',2,1,0.00,NULL,12,3,0,0,0,0,3,NULL,'2023-02',1,0,0,0,1,40846,40846,NULL,NULL,NULL,0,NULL,'0000-00-00','0000-00-00',NULL,NULL,0,NULL,0,NULL,0,0,NULL,3,10,6.50,2.50,'A4'),(167,8325,40847,NULL,NULL,0,'2023-06-29 11:22:06','2023-06-29 19:03:14',2,1,0.00,NULL,12,3,0,0,0,0,3,NULL,'2023-06',1,0,0,0,1,40847,40847,NULL,NULL,NULL,0,NULL,'2023-06-29','0000-00-00',NULL,NULL,0,NULL,0,NULL,0,0,NULL,3,10,6.50,2.50,'A4'),(168,8325,40848,NULL,NULL,0,'2023-06-29 11:44:17','2023-06-29 11:44:17',2,1,0.00,NULL,12,3,0,0,0,0,3,NULL,'2023-06',1,0,0,0,1,40848,40848,NULL,NULL,NULL,0,NULL,'0000-00-00','0000-00-00',NULL,NULL,0,NULL,0,NULL,0,0,NULL,3,10,6.50,2.50,'A4'),(169,8325,40849,NULL,NULL,0,'2023-06-29 11:46:31','2023-06-29 11:46:31',2,1,0.00,NULL,12,3,0,0,0,0,3,NULL,'2023-06',1,0,0,0,1,40849,40849,NULL,NULL,NULL,0,NULL,'0000-00-00','0000-00-00',NULL,NULL,0,NULL,0,NULL,0,0,NULL,3,10,6.50,2.50,'A4'),(170,8325,40850,NULL,NULL,0,'2023-06-29 11:50:27','2023-06-29 11:50:27',2,1,0.00,NULL,12,3,0,0,0,0,3,NULL,'2023-06',1,0,0,0,1,40850,40850,NULL,NULL,NULL,0,NULL,'0000-00-00','0000-00-00',NULL,NULL,0,NULL,0,NULL,0,0,NULL,3,10,6.50,2.50,'A4');
INSERT INTO `person_configurations` VALUES (171,8325,40851,NULL,NULL,0,'2023-06-29 11:56:30','2023-06-30 14:16:12',2,1,0.00,NULL,12,3,0,0,0,0,4,NULL,'2023-06',1,0,0,0,1,40851,40851,NULL,NULL,NULL,0,NULL,'2023-06-30','0000-00-00',NULL,NULL,0,NULL,0,NULL,0,0,NULL,3,10,6.50,2.50,'A4'),(172,8325,40852,NULL,NULL,0,'2023-06-29 12:00:01','2023-06-30 15:15:28',2,1,0.00,NULL,12,3,0,0,0,0,3,NULL,'2023-06',1,0,0,0,1,40852,40852,NULL,NULL,NULL,0,NULL,'2023-06-29','0000-00-00',NULL,NULL,0,NULL,0,NULL,0,0,NULL,3,10,6.50,2.50,'A4'),(173,8325,40853,NULL,NULL,0,'2023-06-29 12:14:48','2023-08-02 16:12:10',2,1,0.00,NULL,12,2,0,0,0,0,3,NULL,'2023-06',1,0,0,0,1,40853,40853,NULL,NULL,NULL,0,NULL,'2023-08-02','0000-00-00',NULL,NULL,0,NULL,0,NULL,0,0,NULL,3,10,6.50,2.50,'A4');

--
-- Table structure for table `person_liquidators`
--

CREATE TABLE `person_liquidators` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `liquidator_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 `person_liquidators_person_id_foreign` (`person_id`),
  KEY `person_liquidators_liquidator_id_foreign` (`liquidator_id`),
  CONSTRAINT `person_liquidators_liquidator_id_foreign` FOREIGN KEY (`liquidator_id`) REFERENCES `liquidators` (`id`),
  CONSTRAINT `person_liquidators_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `person_liquidators`
--


--
-- Table structure for table `person_pagos_lugares`
--

CREATE TABLE `person_pagos_lugares` (
  `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 NOT NULL,
  `descripcion` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `contacto` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `direccion` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `localidad_id` int(10) unsigned DEFAULT NULL,
  `telefono` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `mail` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `horario_de_llamada` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `horario_de_pago` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `cobradores_metodo_id` bigint(20) unsigned DEFAULT NULL,
  `comentario` 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 `person_pagos_lugares_person_id_foreign` (`person_id`),
  KEY `person_pagos_lugares_person_id_relationed_foreign` (`person_id_relationed`),
  KEY `person_pagos_lugares_localidad_id_foreign` (`localidad_id`),
  KEY `person_pagos_lugares_cobradores_metodo_id_foreign` (`cobradores_metodo_id`),
  CONSTRAINT `person_pagos_lugares_cobradores_metodo_id_foreign` FOREIGN KEY (`cobradores_metodo_id`) REFERENCES `cobradores_metodos` (`id`),
  CONSTRAINT `person_pagos_lugares_localidad_id_foreign` FOREIGN KEY (`localidad_id`) REFERENCES `localidad` (`id`),
  CONSTRAINT `person_pagos_lugares_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`),
  CONSTRAINT `person_pagos_lugares_person_id_relationed_foreign` FOREIGN KEY (`person_id_relationed`) REFERENCES `persons` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `person_pagos_lugares`
--


--
-- Table structure for table `person_pagos_promesas`
--

CREATE TABLE `person_pagos_promesas` (
  `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 NOT NULL,
  `person_pago_lugar_id` bigint(20) unsigned DEFAULT NULL,
  `fecha` datetime 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 `person_pagos_promesas_person_id_foreign` (`person_id`),
  KEY `person_pagos_promesas_person_id_relationed_foreign` (`person_id_relationed`),
  CONSTRAINT `person_pagos_promesas_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`),
  CONSTRAINT `person_pagos_promesas_person_id_relationed_foreign` FOREIGN KEY (`person_id_relationed`) REFERENCES `persons` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `person_pagos_promesas`
--


--
-- Table structure for table `person_pay_methods`
--

CREATE TABLE `person_pay_methods` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `pay_method_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 `person_pay_methods_person_id_foreign` (`person_id`),
  KEY `person_pay_methods_pay_method_id_foreign` (`pay_method_id`),
  CONSTRAINT `person_pay_methods_pay_method_id_foreign` FOREIGN KEY (`pay_method_id`) REFERENCES `pay_methods` (`id`),
  CONSTRAINT `person_pay_methods_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `person_pay_methods`
--


--
-- Table structure for table `person_relationeds`
--

CREATE TABLE `person_relationeds` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `client_id` int(10) unsigned NOT NULL,
  `cliente_relationed_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 `person_relationeds_person_id_foreign` (`person_id`),
  KEY `person_relationeds_client_id_foreign` (`client_id`),
  KEY `person_relationeds_cliente_relationed_id_foreign` (`cliente_relationed_id`),
  CONSTRAINT `person_relationeds_client_id_foreign` FOREIGN KEY (`client_id`) REFERENCES `persons` (`id`),
  CONSTRAINT `person_relationeds_cliente_relationed_id_foreign` FOREIGN KEY (`cliente_relationed_id`) REFERENCES `persons` (`id`),
  CONSTRAINT `person_relationeds_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `person_relationeds`
--


--
-- Table structure for table `person_types`
--

CREATE TABLE `person_types` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `description` varchar(180) 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`),
  UNIQUE KEY `person_types_description_unique` (`description`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `person_types`
--

INSERT INTO `person_types` VALUES (1,NULL,'Persona Humana',NULL,NULL,NULL),(2,NULL,'Persona Juridica',NULL,NULL,NULL);

--
-- Table structure for table `person_zone_actividad`
--

CREATE TABLE `person_zone_actividad` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `zone_id` int(10) unsigned NOT NULL,
  `actividad_id` int(10) unsigned NOT NULL,
  `calculo_iibb` int(11) NOT NULL,
  `coef` decimal(16,5) NOT NULL DEFAULT '0.00000',
  `alicuota` decimal(16,5) NOT NULL DEFAULT '0.00000',
  `cm_articulo_regimen_id` int(10) unsigned 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 `person_zone_actividad_person_id_foreign` (`person_id`),
  KEY `person_zone_actividad_zone_id_foreign` (`zone_id`),
  KEY `person_zone_actividad_actividad_id_foreign` (`actividad_id`),
  KEY `person_zone_actividad_cm_articulo_regimen_id_foreign` (`cm_articulo_regimen_id`),
  CONSTRAINT `person_zone_actividad_actividad_id_foreign` FOREIGN KEY (`actividad_id`) REFERENCES `activities` (`id`),
  CONSTRAINT `person_zone_actividad_cm_articulo_regimen_id_foreign` FOREIGN KEY (`cm_articulo_regimen_id`) REFERENCES `cm_articulos_regimenes` (`id`),
  CONSTRAINT `person_zone_actividad_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`),
  CONSTRAINT `person_zone_actividad_zone_id_foreign` FOREIGN KEY (`zone_id`) REFERENCES `zones` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=381 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `person_zone_actividad`
--

INSERT INTO `person_zone_actividad` VALUES (119,8325,40719,12,1,1,0.00000,0.00000,1,1,'2023-01-13 15:17:27','2023-01-13 15:17:27',NULL),(164,8325,40768,13,422,1,0.00000,0.00000,1,1,'2023-01-13 16:36:39','2023-01-13 16:36:39',NULL),(256,8325,40757,12,1,1,1.00000,3.50001,1,1,'2023-01-31 12:29:54','2023-01-31 12:29:54',NULL),(257,8325,40757,12,401,1,1.00000,3.50000,1,1,'2023-01-31 12:29:54','2023-01-31 12:29:54',NULL),(258,8325,40757,12,660,2,0.00000,3.50000,10,1,'2023-01-31 12:29:54','2023-01-31 12:29:54',NULL),(259,8325,40757,12,823,1,1.00000,3.50000,1,1,'2023-01-31 12:29:54','2023-01-31 12:29:54',NULL),(260,8325,40757,13,401,1,0.00000,5.00000,1,1,'2023-01-31 12:29:54','2023-01-31 12:29:54',NULL),(261,8325,40757,13,660,1,0.00000,5.00000,10,1,'2023-01-31 12:29:54','2023-01-31 12:29:54',NULL),(262,8325,40757,13,823,1,0.00000,5.00000,1,1,'2023-01-31 12:29:54','2023-01-31 12:29:54',NULL),(267,8325,40769,12,911,2,0.00000,3.50000,1,1,'2023-04-28 14:39:25','2023-04-28 14:39:25',NULL),(268,8325,40769,12,945,2,0.00000,5.00000,1,1,'2023-04-28 14:39:25','2023-04-28 14:39:25',NULL),(269,8325,40769,12,919,2,0.00000,3.50000,1,1,'2023-04-28 14:39:25','2023-04-28 14:39:25',NULL),(270,8325,40769,12,569,2,0.00000,5.00000,1,1,'2023-04-28 14:39:25','2023-04-28 14:39:25',NULL),(287,8325,40786,12,438,2,0.00000,5.00000,1,1,'2023-05-28 11:52:35','2023-05-28 11:52:35',NULL),(288,8325,40786,12,594,2,0.00000,5.00000,1,1,'2023-05-28 11:52:35','2023-05-28 11:52:35',NULL),(289,8325,40786,12,430,2,0.00000,3.50000,1,1,'2023-05-28 11:52:35','2023-05-28 11:52:35',NULL),(296,8325,40787,12,430,1,0.00000,2.45000,1,1,'2023-05-31 09:25:06','2023-05-31 09:25:06',NULL),(297,8325,40787,12,594,1,0.00000,3.50000,1,1,'2023-05-31 09:25:06','2023-05-31 09:25:06',NULL),(298,8325,40787,12,438,1,0.00000,3.50000,1,1,'2023-05-31 09:25:06','2023-05-31 09:25:06',NULL),(299,8325,40788,12,713,1,0.00000,5.00000,1,1,'2023-05-31 10:50:09','2023-05-31 10:50:09',NULL),(300,8325,40788,12,640,1,0.00000,5.00000,1,1,'2023-05-31 10:50:09','2023-05-31 10:50:09',NULL),(301,8325,40788,12,847,1,0.00000,5.00000,1,1,'2023-05-31 10:50:09','2023-05-31 10:50:09',NULL),(302,8325,40788,12,946,1,0.00000,5.00000,1,1,'2023-05-31 10:50:09','2023-05-31 10:50:09',NULL),(303,8325,40788,12,823,1,0.00000,0.00000,1,1,'2023-05-31 10:50:09','2023-05-31 10:50:09',NULL),(332,8325,40817,12,645,2,0.00000,2.00000,1,1,'2023-05-31 14:09:24','2023-05-31 14:09:24',NULL),(356,8325,40844,12,651,1,0.00000,3.00000,1,1,'2023-05-31 14:59:42','2023-05-31 14:59:42',NULL),(357,8325,40844,12,823,1,0.00000,4.00000,1,1,'2023-05-31 14:59:42','2023-05-31 14:59:42',NULL),(358,8325,40845,12,789,1,0.00000,5.00000,1,1,'2023-06-16 13:26:55','2023-06-16 13:26:55',NULL),(359,8325,40846,12,57,1,0.00000,0.75000,1,1,'2023-06-27 10:34:45','2023-06-27 10:34:45',NULL),(361,8325,40848,12,596,1,0.00000,5.00000,1,1,'2023-06-29 11:44:17','2023-06-29 11:44:17',NULL),(362,8325,40849,12,799,1,0.00000,4.00000,1,1,'2023-06-29 11:46:31','2023-06-29 11:46:31',NULL),(363,8325,40850,12,923,1,0.00000,9.00000,1,1,'2023-06-29 11:50:27','2023-06-29 11:50:27',NULL),(370,8325,40847,12,801,1,0.00000,2.50000,1,1,'2023-06-29 19:03:15','2023-06-29 19:03:15',NULL),(371,8325,40851,12,805,1,0.00000,4.50000,1,1,'2023-06-30 14:16:12','2023-06-30 14:16:12',NULL),(375,8325,40852,12,400,1,0.00000,2.50000,1,1,'2023-06-30 15:15:28','2023-06-30 15:15:28',NULL),(376,8325,40816,12,894,2,0.00000,3.50000,1,1,'2023-07-06 19:13:19','2023-07-06 19:13:19',NULL),(380,8325,40853,12,198,1,0.00000,0.00000,1,1,'2023-08-02 16:12:10','2023-08-02 16:12:10',NULL);

--
-- Table structure for table `person_zones`
--

CREATE TABLE `person_zones` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `sifere_coef` decimal(8,4) NOT NULL DEFAULT '0.0000',
  `iibb_aliquot` decimal(8,4) NOT NULL DEFAULT '0.0000',
  `zone_id` int(10) unsigned NOT NULL,
  `is_principal` tinyint(1) NOT NULL DEFAULT '0',
  `iibb_perception_id` int(10) unsigned DEFAULT NULL,
  `retention_id` int(10) unsigned DEFAULT NULL,
  `activity_id` int(10) unsigned DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `person_zones_zone_id_foreign` (`zone_id`),
  KEY `person_zones_person_id_foreign` (`person_id`),
  CONSTRAINT `person_zones_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`),
  CONSTRAINT `person_zones_zone_id_foreign` FOREIGN KEY (`zone_id`) REFERENCES `zones` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=281 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `person_zones`
--

INSERT INTO `person_zones` VALUES (120,8325,0.0000,0.0000,12,1,NULL,NULL,NULL,'2023-01-13 15:17:27','2023-01-13 15:17:27',40719,NULL),(153,8325,0.0000,0.0000,13,1,NULL,NULL,NULL,'2023-01-13 16:36:39','2023-01-13 16:36:39',40768,NULL),(180,8325,0.0000,0.0000,12,1,NULL,NULL,NULL,'2023-01-31 12:29:54','2023-01-31 12:29:54',40757,NULL),(181,8325,0.0000,0.0000,13,0,NULL,NULL,NULL,'2023-01-31 12:29:54','2023-01-31 12:29:54',40757,NULL),(183,8325,0.0000,0.0000,12,1,NULL,NULL,NULL,'2023-04-28 14:39:25','2023-04-28 14:39:25',40769,NULL),(200,8325,0.0000,0.0000,12,1,NULL,NULL,NULL,'2023-05-28 11:52:35','2023-05-28 11:52:35',40786,NULL),(203,8325,0.0000,0.0000,12,1,NULL,NULL,NULL,'2023-05-31 09:25:06','2023-05-31 09:25:06',40787,NULL),(204,8325,0.0000,0.0000,12,1,NULL,NULL,NULL,'2023-05-31 10:50:09','2023-05-31 10:50:09',40788,NULL),(233,8325,0.0000,0.0000,12,1,NULL,NULL,NULL,'2023-05-31 14:09:24','2023-05-31 14:09:24',40817,NULL),(257,8325,0.0000,0.0000,12,1,NULL,NULL,NULL,'2023-05-31 14:59:42','2023-05-31 14:59:42',40844,NULL),(258,8325,0.0000,0.0000,12,1,NULL,NULL,NULL,'2023-06-16 13:26:55','2023-06-16 13:26:55',40845,NULL),(259,8325,0.0000,0.0000,12,1,NULL,NULL,NULL,'2023-06-27 10:34:45','2023-06-27 10:34:45',40846,NULL),(261,8325,0.0000,0.0000,12,1,NULL,NULL,NULL,'2023-06-29 11:44:17','2023-06-29 11:44:17',40848,NULL),(262,8325,0.0000,0.0000,12,1,NULL,NULL,NULL,'2023-06-29 11:46:31','2023-06-29 11:46:31',40849,NULL),(263,8325,0.0000,0.0000,12,1,NULL,NULL,NULL,'2023-06-29 11:50:27','2023-06-29 11:50:27',40850,NULL),(270,8325,0.0000,0.0000,12,1,NULL,NULL,NULL,'2023-06-29 19:03:14','2023-06-29 19:03:14',40847,NULL),(271,8325,0.0000,0.0000,12,1,NULL,NULL,NULL,'2023-06-30 14:16:12','2023-06-30 14:16:12',40851,NULL),(275,8325,0.0000,0.0000,12,1,NULL,NULL,NULL,'2023-06-30 15:15:28','2023-06-30 15:15:28',40852,NULL),(276,8325,0.0000,0.0000,12,1,NULL,NULL,NULL,'2023-07-06 19:13:19','2023-07-06 19:13:19',40816,NULL),(280,8325,0.0000,0.0000,12,1,NULL,NULL,NULL,'2023-08-02 16:12:10','2023-08-02 16:12:10',40853,NULL);

--
-- Table structure for table `persons`
--

CREATE TABLE `persons` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `field_name1` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `fantasy_name` text COLLATE utf8mb4_unicode_ci,
  `codigo` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `field_name2` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `document_type` varchar(10) COLLATE utf8mb4_unicode_ci NOT NULL,
  `document` varchar(30) COLLATE utf8mb4_unicode_ci NOT NULL,
  `cond_frente_al_iva_id` int(10) unsigned DEFAULT NULL,
  `country_id` int(10) unsigned DEFAULT NULL,
  `state_id` int(10) unsigned DEFAULT NULL,
  `zone_id` int(10) unsigned DEFAULT NULL,
  `plan_cuenta_id` int(10) unsigned DEFAULT NULL,
  `iva_creditos_tipo_id` int(10) unsigned DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `activity_id` int(10) unsigned DEFAULT NULL,
  `address` varchar(500) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `latitud` decimal(10,7) DEFAULT NULL,
  `longitud` decimal(10,7) DEFAULT NULL,
  `localidad_id` int(10) unsigned DEFAULT NULL,
  `person_type_id` int(10) unsigned DEFAULT NULL,
  `fa_iva_condition_id` int(10) unsigned DEFAULT NULL,
  `fa_codigo_postal` varchar(180) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `comentario` longtext COLLATE utf8mb4_unicode_ci,
  `email` varchar(180) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `iva_per_regimen_id` bigint(20) unsigned DEFAULT NULL,
  `iva_ret_regimen_id` bigint(20) unsigned DEFAULT NULL,
  `obligation_iibb` bigint(20) unsigned DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `document_UNIQUE` (`document`),
  KEY `persons_zone_id_foreign` (`zone_id`),
  KEY `persons_person_type_id_foreign` (`person_type_id`),
  KEY `persons_plan_cuenta_id_foreign` (`plan_cuenta_id`),
  KEY `persons_iva_creditos_tipo_id_foreign` (`iva_creditos_tipo_id`),
  KEY `persons_cond_frente_al_iva_id_foreign` (`cond_frente_al_iva_id`),
  KEY `persons_localidad_id_foreign` (`localidad_id`),
  KEY `persons_iva_ret_regimen_id_foreign` (`iva_ret_regimen_id`),
  KEY `persons_iva_per_regimen_id_foreign` (`iva_per_regimen_id`),
  CONSTRAINT `persons_cond_frente_al_iva_id_foreign` FOREIGN KEY (`cond_frente_al_iva_id`) REFERENCES `condicion_frente_al_iva` (`id`),
  CONSTRAINT `persons_iva_creditos_tipo_id_foreign` FOREIGN KEY (`iva_creditos_tipo_id`) REFERENCES `iva_creditos_tipos` (`id`),
  CONSTRAINT `persons_iva_per_regimen_id_foreign` FOREIGN KEY (`iva_per_regimen_id`) REFERENCES `iva_per_regimenes` (`id`),
  CONSTRAINT `persons_iva_ret_regimen_id_foreign` FOREIGN KEY (`iva_ret_regimen_id`) REFERENCES `iva_ret_regimenes` (`id`),
  CONSTRAINT `persons_localidad_id_foreign` FOREIGN KEY (`localidad_id`) REFERENCES `localidad` (`id`),
  CONSTRAINT `persons_person_type_id_foreign` FOREIGN KEY (`person_type_id`) REFERENCES `person_types` (`id`),
  CONSTRAINT `persons_plan_cuenta_id_foreign` FOREIGN KEY (`plan_cuenta_id`) REFERENCES `conta_plan_cuenta` (`id`),
  CONSTRAINT `persons_zone_id_foreign` FOREIGN KEY (`zone_id`) REFERENCES `zones` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=40854 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `persons`
--

INSERT INTO `persons` VALUES (3,NULL,'Larzabal Hernan',NULL,'3',NULL,'cuit','20-28468190-9',NULL,NULL,22,22,NULL,NULL,'2018-05-12 20:55:07','2018-05-14 01:54:15',1,NULL,NULL,NULL,NULL,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40717,NULL,'Taxes Software',NULL,'40717',NULL,'cuit','30-71625124-8',NULL,NULL,22,22,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40718,NULL,'Consumidor Final',NULL,'40718',NULL,'cuit','20-11111111-2',NULL,NULL,22,22,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40719,NULL,'Dirr Roberto',NULL,'40719',NULL,'cuit','20-24765359-8',6,NULL,NULL,NULL,NULL,NULL,'2023-01-13 15:53:40','2025-07-04 14:57:11',NULL,NULL,NULL,NULL,NULL,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40757,8325,'NEUGROUP S.R.L.',NULL,'40757',NULL,'cuit','30-71420396-3',1,NULL,12,12,NULL,3,'2023-01-13 12:56:23','2023-01-13 16:31:39',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40768,NULL,'laura basaul',NULL,'40768',NULL,'cuit','27-27349132-0',6,NULL,NULL,NULL,NULL,NULL,'2023-01-13 16:36:39','2025-07-04 14:57:11',NULL,NULL,NULL,NULL,NULL,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40769,NULL,'Lopez Karina Alejandra',NULL,'40769',NULL,'cuit','27-25990120-6',1,NULL,NULL,NULL,NULL,NULL,'2023-04-28 14:23:42','2025-07-04 14:57:11',NULL,'Sarmiento 180',NULL,NULL,NULL,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40786,NULL,'Triunfar SRL',NULL,'40786',NULL,'cuit','30-71712618-8',1,NULL,NULL,NULL,NULL,NULL,'2023-05-28 11:52:35','2025-07-04 14:57:11',NULL,'Santa Cruz 246',NULL,NULL,NULL,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40787,NULL,'Molia Tatiana',NULL,'40787',NULL,'cuit','27-33576022-6',1,NULL,NULL,NULL,NULL,NULL,'2023-05-28 18:21:59','2025-07-04 14:57:11',NULL,'PRESIDENTE ARTURO ILIA 189',NULL,NULL,NULL,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40788,NULL,'MATHIEU FRANCISCO FEDERICO',NULL,'40788',NULL,'cuit','20-13445039-9',1,NULL,NULL,NULL,NULL,NULL,'2023-05-31 10:50:09','2025-07-04 14:57:11',NULL,'CAFAYATE Y CULTRUM 1133 Dpto:8 M:B',NULL,NULL,NULL,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40816,NULL,'TELL GERMAN',NULL,'40816',NULL,'cuit','20-23586483-6',1,NULL,NULL,NULL,NULL,NULL,'2023-05-31 13:23:16','2025-07-04 14:57:11',NULL,'Manuel Estada 279',NULL,NULL,NULL,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40817,NULL,'Transportes Matus',NULL,'40817',NULL,'cuit','30-71546555-4',1,NULL,NULL,NULL,NULL,NULL,'2023-05-31 14:09:23','2025-07-04 14:57:11',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40844,NULL,'Uripon SRL',NULL,'40844',NULL,'cuit','30-71192598-4',1,NULL,NULL,NULL,NULL,NULL,'2023-05-31 14:59:42','2025-07-04 14:57:11',NULL,'Ministro Gonzalez 27',NULL,NULL,NULL,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40845,NULL,'SANDOVAL PARRAGA ANGEL CRISTOBAL',NULL,'40845',NULL,'cuit','20-94275372-2',1,NULL,NULL,NULL,NULL,NULL,'2023-06-16 13:26:55','2025-07-04 14:57:11',NULL,'ALGARROBO - LOTE 13',NULL,NULL,NULL,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40846,NULL,'GRANJA NORTE S.R.L.',NULL,'40846',NULL,'cuit','33-71651978-9',1,NULL,NULL,NULL,NULL,NULL,'2023-06-27 10:34:45','2025-07-04 14:57:11',NULL,'RIO MOCORETA 665',NULL,NULL,NULL,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40847,NULL,'Edificios Comahue',NULL,'40847',NULL,'cuit','30-71330430-8',1,NULL,NULL,NULL,NULL,NULL,'2023-06-29 11:22:05','2025-07-04 14:57:11',NULL,'CORRIENTES 2138 - BARRIO : ZONA DE LA COSTA',NULL,NULL,NULL,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40848,NULL,'Gutierrez Felicidad',NULL,'40848',NULL,'cuit','27-18729720-1',1,NULL,NULL,NULL,NULL,NULL,'2023-06-29 11:44:17','2025-07-04 14:57:11',NULL,'ALMAFUERTE Y MENDOZA 1250',NULL,NULL,NULL,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40849,NULL,'Patrimonio Eficaz',NULL,'40849',NULL,'cuit','20-27805151-0',1,NULL,NULL,NULL,NULL,NULL,'2023-06-29 11:46:31','2025-07-04 14:57:11',NULL,'ALMIRANTE BROWN 328 Piso:10 Dpto:D',NULL,NULL,NULL,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
INSERT INTO `persons` VALUES (40850,NULL,'Triunfar Servicios',NULL,'40850',NULL,'cuit','20-31327676-8',1,NULL,NULL,NULL,NULL,NULL,'2023-06-29 11:50:26','2025-07-04 14:57:11',NULL,'MAIPU 1368',NULL,NULL,NULL,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40851,NULL,'HYDRO-TECH SRL',NULL,'40851',NULL,'cuit','30-71059123-3',1,NULL,NULL,NULL,NULL,NULL,'2023-06-29 11:56:30','2025-07-04 14:57:11',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40852,NULL,'Desarrolladores Nqn',NULL,'40852',NULL,'cuit','27-23979756-9',1,NULL,NULL,NULL,NULL,NULL,'2023-06-29 12:00:01','2025-07-04 14:57:11',NULL,'Rene Favaloro 925',NULL,NULL,NULL,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(40853,NULL,'Uniformes Nqn',NULL,'40853',NULL,'cuit','30-71578994-5',1,NULL,NULL,NULL,NULL,NULL,'2023-06-29 12:14:48','2025-07-04 14:57:11',NULL,'Río Negro 598 NEUQUEN',NULL,NULL,NULL,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);

--
-- Table structure for table `persons_custom_form`
--

CREATE TABLE `persons_custom_form` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `p_c_servicio_id` bigint(20) unsigned NOT NULL,
  `configuracion` json NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `persons_custom_form_person_id_foreign` (`person_id`),
  KEY `persons_custom_form_p_c_servicio_id_foreign` (`p_c_servicio_id`),
  CONSTRAINT `persons_custom_form_p_c_servicio_id_foreign` FOREIGN KEY (`p_c_servicio_id`) REFERENCES `persons_custom_servicios` (`id`),
  CONSTRAINT `persons_custom_form_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `persons_custom_form`
--


--
-- Table structure for table `persons_custom_servicios`
--

CREATE TABLE `persons_custom_servicios` (
  `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,
  `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=4 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `persons_custom_servicios`
--

INSERT INTO `persons_custom_servicios` VALUES (1,NULL,'Ordenes de Trabajo',0,NULL,NULL,NULL),(2,NULL,'Formularios Ordenes',0,'2025-07-06 23:40:29','2025-07-06 23:40:29',NULL),(3,NULL,'Formulario Receipts',0,'2025-07-09 15:11:16','2025-07-09 15:11:16',NULL);

--
-- Table structure for table `persons_datos`
--

CREATE TABLE `persons_datos` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `dato_1` longtext COLLATE utf8mb4_unicode_ci,
  `dato_2` longtext COLLATE utf8mb4_unicode_ci,
  `dato_3` longtext COLLATE utf8mb4_unicode_ci,
  `dato_4` longtext COLLATE utf8mb4_unicode_ci,
  `dato_5` 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 `persons_datos_person_id_foreign` (`person_id`),
  CONSTRAINT `persons_datos_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `persons_datos`
--


--
-- Table structure for table `persons_files`
--

CREATE TABLE `persons_files` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `descripcion` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `path` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `name_original` 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 `persons_files_person_id_foreign` (`person_id`),
  CONSTRAINT `persons_files_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `persons_files`
--


--
-- Table structure for table `persons_sicore`
--

CREATE TABLE `persons_sicore` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `person_id` int(10) unsigned NOT NULL,
  `is_inscripto` tinyint(1) NOT NULL,
  `sicore_regimen_id` bigint(20) unsigned NOT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `persons_sicore_person_id_foreign` (`person_id`),
  KEY `persons_sicore_sicore_regimen_id_foreign` (`sicore_regimen_id`),
  CONSTRAINT `persons_sicore_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`),
  CONSTRAINT `persons_sicore_sicore_regimen_id_foreign` FOREIGN KEY (`sicore_regimen_id`) REFERENCES `sicore_regimenes` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `persons_sicore`
--


--
-- Table structure for table `plazo_de_pago`
--

CREATE TABLE `plazo_de_pago` (
  `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=7 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `plazo_de_pago`
--

INSERT INTO `plazo_de_pago` VALUES (1,NULL,'0 dias FF',1,NULL,NULL,NULL),(2,NULL,'7 dias FF',1,NULL,NULL,NULL),(3,NULL,'15 dias FF',1,NULL,NULL,NULL),(4,NULL,'30 dias FF',1,NULL,NULL,NULL),(5,NULL,'45 dias FF',1,NULL,NULL,NULL),(6,NULL,'60 dias FF',1,NULL,NULL,NULL);

--
-- Table structure for table `ppc_comunicaciones`
--

CREATE TABLE `ppc_comunicaciones` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `ppc_comunicaciones_type_id` bigint(20) unsigned NOT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `is_propio` tinyint(1) NOT NULL DEFAULT '0',
  `person_id_relationed` int(10) unsigned DEFAULT NULL,
  `ppc_type_id` bigint(20) unsigned NOT NULL,
  `ppc_user_id` bigint(20) unsigned DEFAULT NULL,
  `fecha` datetime NOT NULL,
  `titulo` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `descripcion` 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 `ppc_comunicaciones_ppc_comunicaciones_type_id_foreign` (`ppc_comunicaciones_type_id`),
  KEY `ppc_comunicaciones_person_id_foreign` (`person_id`),
  KEY `ppc_comunicaciones_person_id_relationed_foreign` (`person_id_relationed`),
  KEY `ppc_comunicaciones_ppc_type_id_foreign` (`ppc_type_id`),
  KEY `ppc_comunicaciones_ppc_user_id_foreign` (`ppc_user_id`),
  CONSTRAINT `ppc_comunicaciones_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`),
  CONSTRAINT `ppc_comunicaciones_person_id_relationed_foreign` FOREIGN KEY (`person_id_relationed`) REFERENCES `persons` (`id`),
  CONSTRAINT `ppc_comunicaciones_ppc_comunicaciones_type_id_foreign` FOREIGN KEY (`ppc_comunicaciones_type_id`) REFERENCES `ppc_comunicaciones_types` (`id`),
  CONSTRAINT `ppc_comunicaciones_ppc_type_id_foreign` FOREIGN KEY (`ppc_type_id`) REFERENCES `ppc_types` (`id`),
  CONSTRAINT `ppc_comunicaciones_ppc_user_id_foreign` FOREIGN KEY (`ppc_user_id`) REFERENCES `ppc_users` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `ppc_comunicaciones`
--


--
-- Table structure for table `ppc_comunicaciones_files`
--

CREATE TABLE `ppc_comunicaciones_files` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `ppc_comunicacion_id` bigint(20) unsigned NOT NULL,
  `descripcion` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `path` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `name_original` 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 `ppc_comunicaciones_files_ppc_comunicacion_id_foreign` (`ppc_comunicacion_id`),
  CONSTRAINT `ppc_comunicaciones_files_ppc_comunicacion_id_foreign` FOREIGN KEY (`ppc_comunicacion_id`) REFERENCES `ppc_comunicaciones` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `ppc_comunicaciones_files`
--


--
-- Table structure for table `ppc_comunicaciones_types`
--

CREATE TABLE `ppc_comunicaciones_types` (
  `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 `ppc_comunicaciones_types`
--

INSERT INTO `ppc_comunicaciones_types` VALUES (1,NULL,'Legajos',1,NULL,NULL,NULL),(2,NULL,'Notificaciones',1,NULL,NULL,NULL);

--
-- Table structure for table `ppc_receipts`
--

CREATE TABLE `ppc_receipts` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `type_id` int(10) unsigned DEFAULT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `person_id_relationed` int(10) unsigned NOT NULL,
  `ppc_user_id` bigint(20) unsigned NOT NULL,
  `ppc_type_id` bigint(20) unsigned NOT NULL,
  `was_leida` tinyint(1) NOT NULL DEFAULT '0',
  `fecha` datetime NOT NULL,
  `titulo` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `descripcion` longtext COLLATE utf8mb4_unicode_ci,
  `file` text COLLATE utf8mb4_unicode_ci,
  `type_receipt_id` int(10) unsigned DEFAULT NULL,
  `sucursal` int(11) DEFAULT NULL,
  `numero` int(11) DEFAULT NULL,
  `fecha_emision` date NOT NULL,
  `fecha_vto` date DEFAULT NULL,
  `moneda_id` int(10) unsigned NOT NULL DEFAULT '1',
  `cotizacion` decimal(16,2) NOT NULL DEFAULT '0.00',
  `subtotal` decimal(16,2) NOT NULL DEFAULT '0.00',
  `impuestos` decimal(16,2) NOT NULL DEFAULT '0.00',
  `total` decimal(16,2) NOT NULL DEFAULT '0.00',
  `forma_de_entrega_id` bigint(20) unsigned DEFAULT NULL,
  `dc_orden_id` bigint(20) unsigned DEFAULT NULL,
  `documento_asoc` text COLLATE utf8mb4_unicode_ci,
  `ppc_receipt_estado_id` bigint(20) unsigned NOT NULL DEFAULT '1',
  `comentario_recepcion` 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 `ppc_receipts_type_id_foreign` (`type_id`),
  KEY `ppc_receipts_person_id_foreign` (`person_id`),
  KEY `ppc_receipts_person_id_relationed_foreign` (`person_id_relationed`),
  KEY `ppc_receipts_ppc_type_id_foreign` (`ppc_type_id`),
  KEY `ppc_receipts_ppc_user_id_foreign` (`ppc_user_id`),
  KEY `ppc_receipts_type_receipt_id_foreign` (`type_receipt_id`),
  KEY `ppc_receipts_moneda_id_foreign` (`moneda_id`),
  KEY `ppc_receipts_forma_de_entrega_id_foreign` (`forma_de_entrega_id`),
  KEY `ppc_receipts_dc_orden_id_foreign` (`dc_orden_id`),
  KEY `ppc_receipts_ppc_receipt_estado_id_foreign` (`ppc_receipt_estado_id`),
  CONSTRAINT `ppc_receipts_dc_orden_id_foreign` FOREIGN KEY (`dc_orden_id`) REFERENCES `dc_ordenes` (`id`),
  CONSTRAINT `ppc_receipts_forma_de_entrega_id_foreign` FOREIGN KEY (`forma_de_entrega_id`) REFERENCES `forma_de_entrega` (`id`),
  CONSTRAINT `ppc_receipts_moneda_id_foreign` FOREIGN KEY (`moneda_id`) REFERENCES `monedas` (`id`),
  CONSTRAINT `ppc_receipts_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`),
  CONSTRAINT `ppc_receipts_person_id_relationed_foreign` FOREIGN KEY (`person_id_relationed`) REFERENCES `persons` (`id`),
  CONSTRAINT `ppc_receipts_ppc_receipt_estado_id_foreign` FOREIGN KEY (`ppc_receipt_estado_id`) REFERENCES `ppc_receipts_estados` (`id`),
  CONSTRAINT `ppc_receipts_ppc_type_id_foreign` FOREIGN KEY (`ppc_type_id`) REFERENCES `ppc_types` (`id`),
  CONSTRAINT `ppc_receipts_ppc_user_id_foreign` FOREIGN KEY (`ppc_user_id`) REFERENCES `ppc_users` (`id`),
  CONSTRAINT `ppc_receipts_type_id_foreign` FOREIGN KEY (`type_id`) REFERENCES `types` (`id`),
  CONSTRAINT `ppc_receipts_type_receipt_id_foreign` FOREIGN KEY (`type_receipt_id`) REFERENCES `receipt_types` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `ppc_receipts`
--


--
-- Table structure for table `ppc_receipts_estados`
--

CREATE TABLE `ppc_receipts_estados` (
  `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=4 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `ppc_receipts_estados`
--

INSERT INTO `ppc_receipts_estados` VALUES (1,NULL,'Pendiente',1,NULL,NULL,NULL),(2,NULL,'Rechazado',1,NULL,NULL,NULL),(3,NULL,'Aprobado',1,NULL,NULL,NULL);

--
-- Table structure for table `ppc_receipts_files`
--

CREATE TABLE `ppc_receipts_files` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `ppc_receipt_id` bigint(20) unsigned NOT NULL,
  `descripcion` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `path` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `name_original` 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 `ppc_receipts_files_ppc_receipt_id_foreign` (`ppc_receipt_id`),
  CONSTRAINT `ppc_receipts_files_ppc_receipt_id_foreign` FOREIGN KEY (`ppc_receipt_id`) REFERENCES `ppc_receipts` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `ppc_receipts_files`
--


--
-- Table structure for table `ppc_types`
--

CREATE TABLE `ppc_types` (
  `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=4 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `ppc_types`
--

INSERT INTO `ppc_types` VALUES (1,NULL,'Proveedor',1,NULL,NULL,NULL),(2,NULL,'Cliente',1,NULL,NULL,NULL),(3,NULL,'Ambos',1,NULL,NULL,NULL);

--
-- Table structure for table `ppc_users`
--

CREATE TABLE `ppc_users` (
  `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 NOT NULL,
  `person_id_ppc_user` int(10) unsigned NOT NULL,
  `ppc_type_id` bigint(20) unsigned NOT NULL,
  `login_user` text COLLATE utf8mb4_unicode_ci NOT NULL,
  `password` text COLLATE utf8mb4_unicode_ci NOT NULL,
  `is_principal` 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 `ppc_users_person_id_foreign` (`person_id`),
  KEY `ppc_users_person_id_relationed_foreign` (`person_id_relationed`),
  KEY `ppc_users_person_id_ppc_user_foreign` (`person_id_ppc_user`),
  KEY `ppc_users_ppc_type_id_foreign` (`ppc_type_id`),
  CONSTRAINT `ppc_users_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`),
  CONSTRAINT `ppc_users_person_id_ppc_user_foreign` FOREIGN KEY (`person_id_ppc_user`) REFERENCES `persons` (`id`),
  CONSTRAINT `ppc_users_person_id_relationed_foreign` FOREIGN KEY (`person_id_relationed`) REFERENCES `persons` (`id`),
  CONSTRAINT `ppc_users_ppc_type_id_foreign` FOREIGN KEY (`ppc_type_id`) REFERENCES `ppc_types` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `ppc_users`
--


--
-- Table structure for table `pre_facturas`
--

CREATE TABLE `pre_facturas` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `fact_elec_receipt_id` int(10) unsigned DEFAULT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `person_id_relationed` int(10) unsigned NOT NULL,
  `fecha` date NOT NULL,
  `fecha_facturado` date DEFAULT NULL,
  `neto` decimal(16,2) NOT NULL DEFAULT '0.00',
  `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 `pre_facturas_person_id_foreign` (`person_id`),
  KEY `pre_facturas_person_id_relationed_foreign` (`person_id_relationed`),
  KEY `pre_facturas_fact_elec_receipt_id_foreign` (`fact_elec_receipt_id`),
  CONSTRAINT `pre_facturas_fact_elec_receipt_id_foreign` FOREIGN KEY (`fact_elec_receipt_id`) REFERENCES `fact_elec_receipts` (`id`),
  CONSTRAINT `pre_facturas_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`),
  CONSTRAINT `pre_facturas_person_id_relationed_foreign` FOREIGN KEY (`person_id_relationed`) REFERENCES `persons` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `pre_facturas`
--


--
-- Table structure for table `pre_facturas_files`
--

CREATE TABLE `pre_facturas_files` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `pre_factura_id` bigint(20) unsigned NOT NULL,
  `descripcion` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `path` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `name_original` 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 `pre_facturas_files_pre_factura_id_foreign` (`pre_factura_id`),
  CONSTRAINT `pre_facturas_files_pre_factura_id_foreign` FOREIGN KEY (`pre_factura_id`) REFERENCES `pre_facturas` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `pre_facturas_files`
--


--
-- Table structure for table `pre_facturas_ots`
--

CREATE TABLE `pre_facturas_ots` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `pre_factura_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 `pre_facturas_ots_pre_factura_id_foreign` (`pre_factura_id`),
  KEY `pre_facturas_ots_inv_ot_id_foreign` (`inv_ot_id`),
  CONSTRAINT `pre_facturas_ots_inv_ot_id_foreign` FOREIGN KEY (`inv_ot_id`) REFERENCES `inv_orden_trabajos` (`id`),
  CONSTRAINT `pre_facturas_ots_pre_factura_id_foreign` FOREIGN KEY (`pre_factura_id`) REFERENCES `pre_facturas` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `pre_facturas_ots`
--


--
-- Table structure for table `presupuesto_config`
--

CREATE TABLE `presupuesto_config` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `num_inicial` int(10) unsigned 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 `presupuesto_config_person_id_foreign` (`person_id`),
  CONSTRAINT `presupuesto_config_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `presupuesto_config`
--


--
-- Table structure for table `presupuestos`
--

CREATE TABLE `presupuestos` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned NOT NULL,
  `fecha` date NOT NULL DEFAULT '2019-12-23',
  `punto_venta_id` int(10) unsigned NOT NULL,
  `system_tax_id` int(10) unsigned NOT NULL DEFAULT '7',
  `numero` int(10) unsigned NOT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `person_id_receptor` int(10) unsigned NOT NULL DEFAULT '3',
  `texto` longtext COLLATE utf8mb4_unicode_ci,
  `iva_si_no` tinyint(1) NOT NULL DEFAULT '0',
  `neto` decimal(16,2) NOT NULL DEFAULT '0.00',
  `iva` decimal(16,2) NOT NULL DEFAULT '0.00',
  `total` 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 `presupuestos_punto_venta_id_foreign` (`punto_venta_id`),
  KEY `presupuestos_person_id_foreign` (`person_id`),
  KEY `presupuestos_person_id_receptor_foreign` (`person_id_receptor`),
  KEY `presupuestos_system_tax_id_foreign` (`system_tax_id`),
  CONSTRAINT `presupuestos_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`),
  CONSTRAINT `presupuestos_person_id_receptor_foreign` FOREIGN KEY (`person_id_receptor`) REFERENCES `persons` (`id`),
  CONSTRAINT `presupuestos_punto_venta_id_foreign` FOREIGN KEY (`punto_venta_id`) REFERENCES `fact_elec_puntos_venta` (`id`),
  CONSTRAINT `presupuestos_system_tax_id_foreign` FOREIGN KEY (`system_tax_id`) REFERENCES `system_taxes` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `presupuestos`
--


--
-- Table structure for table `prod_variant_types`
--

CREATE TABLE `prod_variant_types` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `descripcion` varchar(191) 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 `prod_variant_types_person_id_foreign` (`person_id`),
  CONSTRAINT `prod_variant_types_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `prod_variant_types`
--


--
-- Table structure for table `prod_variant_values`
--

CREATE TABLE `prod_variant_values` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `prod_variant_type_id` bigint(20) unsigned NOT NULL,
  `descripcion` varchar(191) 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 `prod_variant_values_person_id_foreign` (`person_id`),
  KEY `prod_variant_values_prod_variant_type_id_foreign` (`prod_variant_type_id`),
  CONSTRAINT `prod_variant_values_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`),
  CONSTRAINT `prod_variant_values_prod_variant_type_id_foreign` FOREIGN KEY (`prod_variant_type_id`) REFERENCES `prod_variant_types` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `prod_variant_values`
--


--
-- Table structure for table `prod_variants`
--

CREATE TABLE `prod_variants` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `inv_product_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 `prod_variants_person_id_foreign` (`person_id`),
  KEY `prod_variants_inv_product_id_foreign` (`inv_product_id`),
  CONSTRAINT `prod_variants_inv_product_id_foreign` FOREIGN KEY (`inv_product_id`) REFERENCES `inv_productos` (`id`),
  CONSTRAINT `prod_variants_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `prod_variants`
--


--
-- Table structure for table `prod_variants_detail`
--

CREATE TABLE `prod_variants_detail` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `prod_variant_id` bigint(20) unsigned NOT NULL,
  `prod_variant_value_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 `prod_variants_detail_prod_variant_id_foreign` (`prod_variant_id`),
  KEY `prod_variants_detail_prod_variant_value_id_foreign` (`prod_variant_value_id`),
  CONSTRAINT `prod_variants_detail_prod_variant_id_foreign` FOREIGN KEY (`prod_variant_id`) REFERENCES `prod_variants` (`id`),
  CONSTRAINT `prod_variants_detail_prod_variant_value_id_foreign` FOREIGN KEY (`prod_variant_value_id`) REFERENCES `prod_variant_values` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `prod_variants_detail`
--


--
-- Table structure for table `querys`
--

CREATE TABLE `querys` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT 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`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `querys`
--

INSERT INTO `querys` VALUES (1,NULL,'Factura Electronica Masiva Productos',1,'2023-01-13 09:53:56','2023-01-13 09:53:56',NULL);

--
-- Table structure for table `querys_details`
--

CREATE TABLE `querys_details` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `person_id` int(10) unsigned DEFAULT NULL,
  `query_id` bigint(20) unsigned NOT NULL,
  `descripcion` 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 `querys_details_query_id_foreign` (`query_id`),
  KEY `querys_details_person_id_foreign` (`person_id`),
  CONSTRAINT `querys_details_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`),
  CONSTRAINT `querys_details_query_id_foreign` FOREIGN KEY (`query_id`) REFERENCES `querys` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `querys_details`
--


--
-- Table structure for table `queue_proceso_resultado`
--

CREATE TABLE `queue_proceso_resultado` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `queue_proceso_id` int(10) unsigned DEFAULT NULL,
  `resultado` 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 `queue_proceso_resultado_queue_proceso_id_foreign` (`queue_proceso_id`),
  CONSTRAINT `queue_proceso_resultado_queue_proceso_id_foreign` FOREIGN KEY (`queue_proceso_id`) REFERENCES `queue_procesos` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `queue_proceso_resultado`
--


--
-- Table structure for table `queue_procesos`
--

CREATE TABLE `queue_procesos` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `descripcion` 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`)
) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `queue_procesos`
--

INSERT INTO `queue_procesos` VALUES (1,NULL,'Importar - Excel',NULL,NULL,NULL),(2,NULL,'Importar - Mis Comprobantes',NULL,NULL,NULL),(3,NULL,'Importar - Portal IVA','2023-01-13 09:53:57','2023-01-13 09:53:57',NULL),(4,NULL,'Importar - Archivos PEM F8011','2023-01-13 09:54:00','2023-01-13 09:54:00',NULL);

--
-- Table structure for table `receipt_dc_ordenes`
--

CREATE TABLE `receipt_dc_ordenes` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `receipt_id` int(10) unsigned NOT NULL,
  `dc_orden_id` bigint(20) unsigned NOT NULL,
  `dc_orden_id_oc` bigint(20) 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 `receipt_dc_ordenes_receipt_id_foreign` (`receipt_id`),
  KEY `receipt_dc_ordenes_dc_orden_id_foreign` (`dc_orden_id`),
  KEY `receipt_dc_ordenes_dc_orden_id_oc_foreign` (`dc_orden_id_oc`),
  CONSTRAINT `receipt_dc_ordenes_dc_orden_id_foreign` FOREIGN KEY (`dc_orden_id`) REFERENCES `dc_ordenes` (`id`),
  CONSTRAINT `receipt_dc_ordenes_dc_orden_id_oc_foreign` FOREIGN KEY (`dc_orden_id_oc`) REFERENCES `dc_ordenes` (`id`),
  CONSTRAINT `receipt_dc_ordenes_receipt_id_foreign` FOREIGN KEY (`receipt_id`) REFERENCES `receipts` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `receipt_dc_ordenes`
--


--
-- Table structure for table `receipt_taxes`
--

CREATE TABLE `receipt_taxes` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `receipt_id` int(10) unsigned NOT NULL,
  `tax_id` int(10) unsigned DEFAULT NULL,
  `amount` decimal(16,2) NOT NULL,
  `tax_amount` decimal(16,2) NOT NULL DEFAULT '0.00',
  `taxable_iibb` int(11) NOT NULL DEFAULT '0',
  `iva_iibb` int(11) 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 `receipt_taxes_receipt_id_foreign` (`receipt_id`),
  CONSTRAINT `receipt_taxes_receipt_id_foreign` FOREIGN KEY (`receipt_id`) REFERENCES `receipts` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `receipt_taxes`
--


--
-- Table structure for table `receipt_types`
--

CREATE TABLE `receipt_types` (
  `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 DEFAULT NULL,
  `credit` int(11) DEFAULT '0',
  `agroup_iva_module` int(10) unsigned DEFAULT NULL,
  `sell_no_taxabled` int(11) DEFAULT '0',
  `buy_no_taxabled` int(11) DEFAULT '0',
  `iva_condition_id` int(11) DEFAULT NULL,
  `is_fce_pyme` tinyint(1) NOT NULL DEFAULT '0',
  `afip_comprobante_id` int(11) DEFAULT NULL,
  `tipo` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `letra` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `facta_electronica` int(10) unsigned NOT NULL DEFAULT '0',
  `is_stock_lpg` tinyint(1) NOT NULL DEFAULT '0',
  `show_from_total` tinyint(1) NOT NULL DEFAULT '0',
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=78 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `receipt_types`
--

INSERT INTO `receipt_types` VALUES (1,NULL,NULL,'2019-07-29 22:19:32','Factura A','1',0,1,0,0,2,0,1,'Factura','A',1,0,0,NULL),(2,NULL,NULL,'2019-07-29 22:19:32','Nota de débito A','2',0,1,0,0,2,0,2,'Nota de Débito','A',1,0,0,NULL),(3,NULL,NULL,'2019-07-29 22:19:32','Nota de crédito A','3',1,NULL,0,0,2,0,3,'Nota de Crédito','A',1,0,0,NULL),(4,NULL,NULL,'2025-05-08 09:31:14','Factura B','6',0,2,0,1,2,0,6,'Factura','B',1,0,1,NULL),(5,NULL,NULL,'2025-05-08 09:31:14','Nota de débito B','7',0,2,0,1,2,0,7,'Nota de Débito','B',1,0,1,NULL),(6,NULL,NULL,'2025-05-08 09:31:14','Nota de crédito B','8',1,NULL,0,1,2,0,8,'Nota de Crédito','B',1,0,1,NULL),(7,NULL,NULL,'2019-07-29 22:19:32','Factura C','11',0,0,1,1,1,0,11,'Factura','C',1,0,0,NULL),(8,NULL,NULL,'2019-07-29 22:19:32','Nota de débito C','12',0,0,1,1,1,0,12,'Nota de Débito','C',1,0,0,NULL),(9,NULL,NULL,'2019-07-29 22:19:32','Nota de crédito C','13',1,NULL,1,1,1,0,13,'Nota de Crédito','C',1,0,0,NULL),(10,NULL,NULL,NULL,'RECIBO A','4',0,1,0,0,2,0,4,'RECIBO','A',0,0,0,NULL),(11,NULL,NULL,'2025-05-08 09:31:14','RECIBO B','9',0,2,0,1,2,0,9,'RECIBO','B',0,0,1,NULL),(12,NULL,NULL,NULL,'RECIBO C','15',0,0,1,1,1,0,15,'RECIBO','C',0,0,0,NULL),(13,NULL,NULL,'2020-02-27 02:46:40','Factura E','19',0,0,1,0,2,0,19,'Factura','E',0,0,0,NULL),(14,NULL,NULL,'2020-02-27 02:46:40','Nota de débito E','20',0,0,1,0,2,0,20,'Nota de Débito','E',0,0,0,NULL),(15,NULL,NULL,'2020-02-27 02:46:40','Nota de Crédito E','21',1,NULL,1,0,2,0,21,'Nota de Crédito','E',0,0,0,NULL),(16,NULL,NULL,'2023-01-13 09:53:55','Factura M','51',0,1,0,0,2,0,51,'Factura','M',1,0,0,NULL),(17,NULL,NULL,'2020-02-27 02:46:40','Despacho de Importacion','66',0,NULL,0,0,0,0,66,NULL,NULL,0,0,0,NULL),(18,NULL,NULL,'2023-01-13 09:53:55','Nota de Credito M','53',1,NULL,0,0,2,0,53,'Nota de Crédito','M',1,0,0,NULL),(19,NULL,NULL,'2023-01-13 09:53:55','Nota de Debito M','52',1,1,0,0,2,0,52,'Nota de Débito','M',1,0,0,NULL),(20,NULL,NULL,NULL,'Recibo M','54',0,1,0,0,2,0,54,'RECIBO','M',0,0,0,NULL),(21,NULL,NULL,NULL,'Recibo E',NULL,1,0,1,0,2,0,NULL,'RECIBO','E',0,0,0,NULL),(22,NULL,'2019-05-14 21:22:16','2023-01-13 09:53:49','Liquidacion Primaria de Granos','33',0,1,0,0,2,0,33,'Liquidacion Primaria de Granos','A',0,1,0,NULL),(23,NULL,'2019-11-05 19:00:05','2019-11-05 19:00:05','FACTURA DE CRÉDITO ELECTRÓNICA MiPyMEs (FCE) A','201',0,1,0,0,2,1,201,'FACTURA DE CRÉDITO ELECTRÓNICA MiPyMEs (FCE)','A',1,0,0,NULL),(24,NULL,'2019-11-05 19:00:05','2019-11-05 19:00:05','NOTA DE DEBITO ELECTRÓNICA MiPyMEs (FCE) A','202',0,1,0,0,2,1,202,'NOTA DEBITO DE CRÉDITO ELECTRÓNICA MiPyMEs (FCE)','A',1,0,0,NULL),(25,NULL,'2019-11-05 19:00:05','2019-11-05 19:00:05','NOTA DE CREDITO ELECTRÓNICA MiPyMEs (FCE) A','203',1,NULL,0,0,2,1,203,'NOTA CREDITO DE CRÉDITO ELECTRÓNICA MiPyMEs (FCE)','A',1,0,0,NULL),(26,NULL,'2019-11-05 19:00:05','2025-05-08 09:31:14','FACTURA DE CRÉDITO ELECTRÓNICA MiPyMEs (FCE) B','206',0,2,0,1,2,1,206,'FACTURA DE CRÉDITO ELECTRÓNICA MiPyMEs (FCE)','B',1,0,1,NULL),(27,NULL,'2019-11-05 19:00:05','2025-05-08 09:31:14','NOTA DE DEBITO ELECTRÓNICA MiPyMEs (FCE) B','207',0,2,0,1,2,1,207,'NOTA DEBITO DE CRÉDITO ELECTRÓNICA MiPyMEs (FCE)','B',1,0,1,NULL),(28,NULL,'2019-11-05 19:00:05','2025-05-08 09:31:14','NOTA DE CREDITO ELECTRÓNICA MiPyMEs (FCE) B','208',1,NULL,0,1,2,1,208,'NOTA CREDITO DE CRÉDITO ELECTRÓNICA MiPyMEs (FCE)','B',1,0,1,NULL),(29,NULL,'2019-11-05 19:00:05','2019-11-05 19:00:05','FACTURA DE CRÉDITO ELECTRÓNICA MiPyMEs (FCE) C','211',0,0,1,1,1,1,211,'FACTURA DE CRÉDITO ELECTRÓNICA MiPyMEs (FCE)','C',1,0,0,NULL),(30,NULL,'2019-11-05 19:00:05','2019-11-05 19:00:05','NOTA DE DEBITO ELECTRÓNICA MiPyMEs (FCE) C','212',0,0,1,1,1,1,212,'NOTA DEBITO DE CRÉDITO ELECTRÓNICA MiPyMEs (FCE)','C',1,0,0,NULL),(31,NULL,'2019-11-05 19:00:05','2019-11-05 19:00:05','NOTA DE CRÉDITO ELECTRÓNICA MiPyMEs (FCE) C','213',1,NULL,1,1,1,1,213,'NOTA CREDITO DE CRÉDITO ELECTRÓNICA MiPyMEs (FCE)','C',1,0,0,NULL);
INSERT INTO `receipt_types` VALUES (32,NULL,'2020-01-28 01:59:55','2023-01-13 09:53:49','Tique (Informe Diario Z)','83',0,2,0,0,2,0,83,'Cierre Diario Informe Z','Z',0,0,1,NULL),(33,NULL,'2020-02-19 04:48:11','2020-02-19 04:48:11','Comprobantes de Compra de Bienes No Registrables a Consumidores Finales','49',0,1,0,0,2,0,49,'Comprobantes de Compra de Bienes No Registrables','a Consumidores Finales',0,0,0,NULL),(34,NULL,'2023-01-13 09:53:46','2023-01-13 09:54:01','Cuenta de Venta y Líquido Producto A','60',0,1,0,0,2,1,60,'Cuentas de Venta y Liquido Producto A','A',1,0,0,NULL),(35,NULL,'2023-01-13 09:53:46','2025-05-08 09:31:14','Cuenta de Venta y Líquido Producto B','61',0,2,0,1,2,1,61,'Cuentas de Venta y Liquido Producto B','B',1,0,1,NULL),(36,NULL,'2023-01-13 09:53:46','2023-01-13 09:53:49','Liquidaciones A','63',0,1,0,0,2,1,63,'Liquidaciones A','A',1,0,0,NULL),(37,NULL,'2023-01-13 09:53:46','2025-05-08 09:31:14','Liquidaciones B','64',0,2,0,1,2,1,64,'Liquidaciones B','B',1,0,1,NULL),(38,NULL,'2023-01-13 09:53:49','2023-01-13 09:53:51','Tique Factura A','81',0,1,0,0,2,1,81,'Tique Factura','A',0,0,0,NULL),(39,NULL,'2023-01-13 09:53:49','2025-05-08 09:31:14','Tique Factura B','82',0,2,0,1,2,1,82,'Tique Factura','B',0,0,1,NULL),(40,NULL,'2023-01-13 09:53:49','2023-01-13 09:53:53','OTROS COMPROBANTES QUE NO CUMPLEN O ESTÁN EXCEPTUADOS DE LA R.G. 1415 Y SUS MODIF','99',0,1,1,1,1,1,99,'OTROS COMPROBANTES QUE NO CUMPLEN O ESTÁN EXCEPTUADOS DE LA R.G. 1415 Y SUS MODIF ','OTROS',0,0,0,NULL),(41,NULL,'2023-01-13 09:53:49','2023-01-13 09:53:49','Liquidacion de Compra A - Sector Pecuario','183',0,1,0,0,2,0,183,'Liquidacion de Compra','A',0,0,0,NULL),(42,NULL,'2023-01-13 09:53:49','2025-05-08 09:31:14','Liquidacion de Compra B - Sector Pecuario','185',0,2,0,1,2,0,185,'Liquidacion de Compra','B',0,0,1,NULL),(43,NULL,'2023-01-13 09:53:50','2023-01-13 09:53:51','Liquidacion de Venta Directa A - Sector Pecuario','190',0,1,0,0,2,1,190,'Liquidacion de Venta Directa','A',0,0,0,NULL),(44,NULL,'2023-01-13 09:53:50','2025-05-08 09:31:14','Liquidacion de Venta Directa B - Sector Pecuario','191',0,2,0,1,2,1,191,'Liquidacion de Venta Directa','B',0,0,0,NULL),(45,NULL,'2023-01-13 09:53:51','2023-01-13 09:53:51','Liquidacion Secundaria de Granos','331',0,1,0,0,2,1,331,'Liquidacion Secundaria de Granos','LSG',0,0,0,NULL),(46,NULL,'2023-01-13 09:53:51','2023-01-13 09:53:51','Certificado de Deposito','332',0,1,0,0,2,1,332,'Certificado de Deposito','CD',0,0,0,NULL),(47,NULL,'2023-01-13 09:53:51','2023-01-13 09:53:51','Liquidacion de Servicios Publicos Clase A','17',0,1,0,0,2,1,17,'Liquidacion de Servicios Publicos Clase A','LSPCA',0,0,0,NULL),(48,NULL,'2023-01-13 09:53:53','2023-01-13 09:53:53','Liquidacion de Servicios Publicos Clase B','18',0,2,0,1,2,1,18,'Liquidacion de Servicios Publicos Clase B','LSPCA',1,0,0,NULL),(49,NULL,NULL,NULL,'Factura Clase T','195',0,1,0,0,2,0,195,'Factura Clase T','T',0,0,0,NULL),(50,NULL,NULL,NULL,'Nota de Debito Clase T','196',0,1,0,0,2,0,196,'Factura Clase T','T',0,0,0,NULL),(51,NULL,NULL,NULL,'Nota de Credito Clase T','197',1,NULL,0,0,2,0,197,'Factura Clase T','T',0,0,0,NULL),(52,NULL,NULL,'2023-01-13 09:54:01','Cuenta de Venta y Líquido Producto A - Sector Pecuario','180',0,1,0,0,2,0,180,'Cuenta de Venta y Líquido Producto A','A',0,0,0,NULL),(53,NULL,NULL,'2025-05-08 09:31:14','Cuenta de Venta y Líquido Producto B - Sector Pecuario','182',0,2,0,1,2,0,182,'Cuenta de Venta y Líquido Producto B','B',0,0,0,NULL),(54,NULL,NULL,NULL,'Liquidación de Compra A','183',0,1,0,0,2,0,183,'Liquidación de Compra A ','A',0,0,0,NULL),(55,NULL,NULL,'2025-05-08 09:31:14','Liquidación de Compra B','185',0,2,0,1,2,0,185,'Liquidación de Compra B ','B',0,0,0,NULL),(56,NULL,NULL,NULL,'Liquidación de Compra Directa A','186',0,1,0,0,2,0,186,'Liquidación de Compra Directa A','A',0,0,0,NULL),(57,NULL,NULL,'2025-05-08 09:31:14','Liquidación de Compra Directa B','188',0,2,0,1,2,0,188,'Liquidación de Compra Directa B ','B',0,0,0,NULL);
INSERT INTO `receipt_types` VALUES (58,NULL,NULL,NULL,'Liquidación de Compra Directa C','189',0,0,1,1,1,0,189,'Liquidación de Compra Directa C ','C',0,0,0,NULL),(59,NULL,NULL,NULL,'Liquidación de Venta Directa A','190',0,1,0,0,2,0,190,'Liquidación de Venta Directa A','A',0,0,0,NULL),(60,NULL,NULL,'2025-05-08 09:31:14','Liquidación de Venta Directa B','191',0,2,0,1,2,0,191,'Liquidación de Venta Directa B ','B',0,0,0,NULL),(61,NULL,NULL,NULL,'Tique Factura C','109',0,0,0,1,1,0,109,NULL,'C',1,0,0,NULL),(62,NULL,NULL,NULL,'Tique Nota de Débito A','115',0,1,0,0,2,0,115,'Tique Nota de Débito A','A',1,0,0,NULL),(63,NULL,NULL,NULL,'Tique Nota de Crédito C','114',1,0,1,1,1,0,114,'Tique Nota de Crédito C','C',1,0,0,NULL),(64,NULL,NULL,NULL,'Otro Comprobante A que cumple con la RG 1415','39',0,1,0,0,2,0,39,'Otro Comprobante A que cumple con la RG 1415','A',0,0,0,NULL),(65,NULL,NULL,NULL,'Tique Nota de Crédito A','112',1,0,0,0,2,0,112,'Tique Nota de Crédito A','A',0,0,0,NULL),(66,NULL,NULL,'2025-05-08 09:31:14','Tique Nota de Crédito B','113',1,NULL,0,1,2,0,113,'Tique Nota de Crédito B','B',0,0,0,NULL),(67,NULL,NULL,'2025-05-08 09:31:14','Tique Nota de Debito B','116',0,2,0,1,2,0,116,'Tique Nota de Debito B','B',0,0,0,NULL),(68,NULL,NULL,NULL,'Tique Nota de Debito C','117',0,0,1,1,1,0,117,'Tique Nota de Debito C','C',0,0,0,NULL),(69,NULL,NULL,NULL,'Tique Factura M','118',0,1,0,0,2,0,118,'Tique Factura M','M',0,0,0,NULL),(70,NULL,NULL,NULL,'Tique Nota de Credito M','119',1,NULL,0,0,2,0,119,'Tique Nota de Credito M','M',0,0,0,NULL),(71,NULL,NULL,NULL,'Tique Nota de Debito M','120',0,1,0,0,2,0,120,'Tique Nota de Debito M','M',0,0,0,NULL),(72,NULL,NULL,NULL,'Nota Credito Despacho Importacion','6',1,NULL,0,0,2,0,66,NULL,NULL,0,0,0,NULL),(73,NULL,NULL,NULL,'NOTAS DE VENTA AL CONTADO A','5',0,1,0,0,2,0,5,'NOTAS DE VENTA AL CONTADO A','A',0,0,0,NULL),(74,NULL,NULL,NULL,'NOTAS DE VENTA AL CONTADO B','10',0,2,0,0,2,0,10,'NOTAS DE VENTA AL CONTADO B','B',0,0,0,NULL),(75,NULL,NULL,NULL,'NOTAS DE VENTA AL CONTADO C','16',0,0,1,1,1,0,16,'NOTAS DE VENTA AL CONTADO C','C',0,0,0,NULL),(76,NULL,NULL,NULL,'NOTAS DE VENTA AL CONTADO M','55',0,1,0,0,2,0,55,'NOTAS DE VENTA AL CONTADO M','M',0,0,0,NULL),(77,NULL,NULL,NULL,'CUENTAS DE VENTA Y LIQUIDO PRODUCTO M','58',0,1,0,0,2,0,58,'CUENTAS DE VENTA Y LIQUIDO PRODUCTO M','M',0,0,0,NULL);

--
-- Table structure for table `receipts`
--

CREATE TABLE `receipts` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `is_no_fiscal` tinyint(1) DEFAULT '0',
  `type_id` int(10) unsigned NOT NULL,
  `type_receipt_id` int(10) unsigned DEFAULT NULL,
  `comprobanteAfip` int(11) DEFAULT NULL,
  `ppc_receipt_id` bigint(20) unsigned DEFAULT NULL,
  `fact_elec_receipt_id` int(10) unsigned DEFAULT NULL,
  `cta_cte_tesoreria_id` int(10) unsigned DEFAULT NULL,
  `period_id` int(10) unsigned NOT NULL,
  `zone_id` int(10) unsigned DEFAULT NULL,
  `plan_cuenta_id` int(10) unsigned DEFAULT NULL,
  `conta_centro_costo_id` bigint(20) unsigned DEFAULT NULL,
  `activity_id` int(10) unsigned DEFAULT NULL,
  `iva_creditos_tipo_id` int(10) unsigned NOT NULL DEFAULT '1',
  `retention_type_id` int(10) unsigned DEFAULT NULL,
  `person_id_owner` int(10) unsigned NOT NULL,
  `person_id_relationed` int(10) unsigned DEFAULT NULL,
  `number` int(8) unsigned zerofill DEFAULT NULL,
  `hasta` int(8) unsigned zerofill DEFAULT NULL,
  `reference` int(11) DEFAULT NULL,
  `receipt_date` date DEFAULT NULL,
  `expiration_date` date DEFAULT NULL,
  `code_ticket` int(4) unsigned zerofill DEFAULT NULL,
  `status_id` int(10) unsigned DEFAULT NULL,
  `tax_account_id` int(10) unsigned DEFAULT NULL,
  `amount` decimal(16,2) NOT NULL,
  `pendiente` decimal(16,2) NOT NULL DEFAULT '0.00',
  `moneda_id` int(10) unsigned NOT NULL DEFAULT '1',
  `cotizacion` decimal(9,2) NOT NULL DEFAULT '1.00',
  `dc_firma_id` bigint(20) unsigned NOT NULL DEFAULT '3',
  `condicion_venta_id` int(10) unsigned DEFAULT NULL,
  `is_pago_adelantado` tinyint(1) DEFAULT NULL,
  `is_garantia` tinyint(1) NOT NULL DEFAULT '0',
  `plazo_de_pago_id` int(10) unsigned DEFAULT NULL,
  `file` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT 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 `receipts_type_id_foreign` (`type_id`),
  KEY `receipts_type_receipt_id_foreign` (`type_receipt_id`),
  KEY `receipts_tax_account_id_foreign` (`tax_account_id`),
  KEY `receipts_zone_id_foreign` (`zone_id`),
  KEY `receipts_activity_id_foreign` (`activity_id`),
  KEY `receipts_retention_type_id_foreign` (`retention_type_id`),
  KEY `receipts_status_id_foreign` (`status_id`),
  KEY `receipts_person_id_owner_foreign` (`person_id_owner`),
  KEY `receipts_person_id_relationed_foreign` (`person_id_relationed`),
  KEY `receipts_period_id_foreign` (`period_id`),
  KEY `receipts_plan_cuenta_id_foreign` (`plan_cuenta_id`),
  KEY `receipts_fact_elec_receipt_id_foreign` (`fact_elec_receipt_id`),
  KEY `receipts_iva_creditos_tipo_id_foreign` (`iva_creditos_tipo_id`),
  KEY `receipts_conta_centro_costo_id_foreign` (`conta_centro_costo_id`),
  KEY `receipts_moneda_id_foreign` (`moneda_id`),
  KEY `receipts_dc_firma_id_foreign` (`dc_firma_id`),
  KEY `receipts_ppc_receipt_id_foreign` (`ppc_receipt_id`),
  KEY `receipts_cta_cte_tesoreria_id_foreign` (`cta_cte_tesoreria_id`),
  CONSTRAINT `receipts_activity_id_foreign` FOREIGN KEY (`activity_id`) REFERENCES `activities` (`id`),
  CONSTRAINT `receipts_conta_centro_costo_id_foreign` FOREIGN KEY (`conta_centro_costo_id`) REFERENCES `conta_centro_costos` (`id`),
  CONSTRAINT `receipts_cta_cte_tesoreria_id_foreign` FOREIGN KEY (`cta_cte_tesoreria_id`) REFERENCES `cta_cte_tesoreria` (`id`),
  CONSTRAINT `receipts_dc_firma_id_foreign` FOREIGN KEY (`dc_firma_id`) REFERENCES `dc_firmas` (`id`),
  CONSTRAINT `receipts_fact_elec_receipt_id_foreign` FOREIGN KEY (`fact_elec_receipt_id`) REFERENCES `fact_elec_receipts` (`id`),
  CONSTRAINT `receipts_iva_creditos_tipo_id_foreign` FOREIGN KEY (`iva_creditos_tipo_id`) REFERENCES `iva_creditos_tipos` (`id`),
  CONSTRAINT `receipts_moneda_id_foreign` FOREIGN KEY (`moneda_id`) REFERENCES `monedas` (`id`),
  CONSTRAINT `receipts_period_id_foreign` FOREIGN KEY (`period_id`) REFERENCES `periods` (`id`),
  CONSTRAINT `receipts_person_id_owner_foreign` FOREIGN KEY (`person_id_owner`) REFERENCES `persons` (`id`),
  CONSTRAINT `receipts_person_id_relationed_foreign` FOREIGN KEY (`person_id_relationed`) REFERENCES `persons` (`id`),
  CONSTRAINT `receipts_plan_cuenta_id_foreign` FOREIGN KEY (`plan_cuenta_id`) REFERENCES `conta_plan_cuenta` (`id`),
  CONSTRAINT `receipts_ppc_receipt_id_foreign` FOREIGN KEY (`ppc_receipt_id`) REFERENCES `ppc_receipts` (`id`),
  CONSTRAINT `receipts_retention_type_id_foreign` FOREIGN KEY (`retention_type_id`) REFERENCES `retention_types` (`id`),
  CONSTRAINT `receipts_status_id_foreign` FOREIGN KEY (`status_id`) REFERENCES `status` (`id`),
  CONSTRAINT `receipts_tax_account_id_foreign` FOREIGN KEY (`tax_account_id`) REFERENCES `tax_accounts` (`id`),
  CONSTRAINT `receipts_type_id_foreign` FOREIGN KEY (`type_id`) REFERENCES `types` (`id`),
  CONSTRAINT `receipts_type_receipt_id_foreign` FOREIGN KEY (`type_receipt_id`) REFERENCES `receipt_types` (`id`),
  CONSTRAINT `receipts_zone_id_foreign` FOREIGN KEY (`zone_id`) REFERENCES `zones` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `receipts`
--


--
-- Table structure for table `recibo_config`
--

CREATE TABLE `recibo_config` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `num_inicial` int(10) unsigned 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 `recibo_config_person_id_foreign` (`person_id`),
  CONSTRAINT `recibo_config_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `recibo_config`
--


--
-- Table structure for table `recibos`
--

CREATE TABLE `recibos` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned NOT NULL,
  `fecha` date NOT NULL DEFAULT '2019-12-13',
  `punto_venta_id` int(10) unsigned NOT NULL,
  `numero` int(10) unsigned NOT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `person_id_receptor` int(10) unsigned NOT NULL DEFAULT '3',
  `condicion_venta_id` int(10) unsigned NOT NULL DEFAULT '1',
  `cond_frente_iva_id` int(10) unsigned NOT NULL DEFAULT '1',
  `importe` decimal(16,2) NOT NULL DEFAULT '0.00',
  `en_concepto_de` longtext COLLATE utf8mb4_unicode_ci,
  `ret_ganancias` decimal(16,2) NOT NULL DEFAULT '0.00',
  `ret_iva` decimal(16,2) NOT NULL DEFAULT '0.00',
  `ret_iibb` decimal(16,2) NOT NULL DEFAULT '0.00',
  `imp_internos` decimal(16,2) NOT NULL DEFAULT '0.00',
  `imp_municipales` decimal(16,2) NOT NULL DEFAULT '0.00',
  `total_otros_tributos` decimal(16,2) NOT NULL DEFAULT '0.00',
  `total` 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 `recibos_punto_venta_id_foreign` (`punto_venta_id`),
  KEY `recibos_person_id_foreign` (`person_id`),
  KEY `recibos_person_id_receptor_foreign` (`person_id_receptor`),
  KEY `recibos_condicion_venta_id_foreign` (`condicion_venta_id`),
  KEY `recibos_cond_frente_iva_id_foreign` (`cond_frente_iva_id`),
  CONSTRAINT `recibos_cond_frente_iva_id_foreign` FOREIGN KEY (`cond_frente_iva_id`) REFERENCES `fac_elec_cond_frente_iva` (`id`),
  CONSTRAINT `recibos_condicion_venta_id_foreign` FOREIGN KEY (`condicion_venta_id`) REFERENCES `condiciones_venta` (`id`),
  CONSTRAINT `recibos_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`),
  CONSTRAINT `recibos_person_id_receptor_foreign` FOREIGN KEY (`person_id_receptor`) REFERENCES `persons` (`id`),
  CONSTRAINT `recibos_punto_venta_id_foreign` FOREIGN KEY (`punto_venta_id`) REFERENCES `fact_elec_puntos_venta` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `recibos`
--


--
-- Table structure for table `remito_config`
--

CREATE TABLE `remito_config` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned NOT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `num_inicial` int(10) unsigned 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 `remito_config_person_id_foreign` (`person_id`),
  CONSTRAINT `remito_config_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `remito_config`
--


--
-- Table structure for table `remitos`
--

CREATE TABLE `remitos` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned NOT NULL,
  `fecha` date NOT NULL DEFAULT '2020-05-25',
  `punto_venta_id` int(10) unsigned NOT NULL,
  `numero` int(10) unsigned NOT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `person_id_receptor` int(10) unsigned NOT NULL DEFAULT '3',
  `condicion_venta_id` int(10) unsigned NOT NULL DEFAULT '1',
  `cond_frente_iva_id` int(10) unsigned NOT NULL DEFAULT '1',
  `en_concepto_de` longtext COLLATE utf8mb4_unicode_ci,
  `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 `remitos_punto_venta_id_foreign` (`punto_venta_id`),
  KEY `remitos_person_id_foreign` (`person_id`),
  KEY `remitos_person_id_receptor_foreign` (`person_id_receptor`),
  KEY `remitos_condicion_venta_id_foreign` (`condicion_venta_id`),
  KEY `remitos_cond_frente_iva_id_foreign` (`cond_frente_iva_id`),
  CONSTRAINT `remitos_cond_frente_iva_id_foreign` FOREIGN KEY (`cond_frente_iva_id`) REFERENCES `fac_elec_cond_frente_iva` (`id`),
  CONSTRAINT `remitos_condicion_venta_id_foreign` FOREIGN KEY (`condicion_venta_id`) REFERENCES `condiciones_venta` (`id`),
  CONSTRAINT `remitos_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`),
  CONSTRAINT `remitos_person_id_receptor_foreign` FOREIGN KEY (`person_id_receptor`) REFERENCES `persons` (`id`),
  CONSTRAINT `remitos_punto_venta_id_foreign` FOREIGN KEY (`punto_venta_id`) REFERENCES `fact_elec_puntos_venta` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `remitos`
--


--
-- Table structure for table `reportes`
--

CREATE TABLE `reportes` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `description` varchar(180) COLLATE utf8mb4_unicode_ci NOT NULL,
  `class` int(10) unsigned NOT NULL,
  `class_description` varchar(180) COLLATE utf8mb4_unicode_ci NOT NULL,
  `data_type` varchar(100) COLLATE utf8mb4_unicode_ci NOT NULL,
  `path` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `reportes_description_unique` (`description`)
) ENGINE=InnoDB AUTO_INCREMENT=8 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `reportes`
--

INSERT INTO `reportes` VALUES (1,'Comprobantes',1,'informes','','reportes/informes/comprobantes/comprobantes',NULL,NULL),(3,'Liquidaciones IIBB',1,'informes','','reportes/informes/iibb/iibb',NULL,NULL),(4,'Tablero de Control',3,'tablero','','reportes/tableroControl/index',NULL,NULL),(5,'Liquidaciones IVA',1,'informes','','reportes/informes/iva/iva',NULL,NULL),(6,'Obligaciones Anuales',1,'informes','','reportes/informes/obligaciones_anuales/index','2019-11-29 18:37:49','2019-11-29 18:37:49'),(7,'Estado CUITs',1,'informes','','reportes/informes/control_cuits/index','2019-12-09 00:50:43','2019-12-09 00:50:43');

--
-- Table structure for table `retention_types`
--

CREATE TABLE `retention_types` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `apply_to` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'iibb',
  `code` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `zone_id` int(11) DEFAULT NULL,
  `plan_cuenta_id` int(10) unsigned NOT NULL DEFAULT '1',
  PRIMARY KEY (`id`),
  KEY `retention_types_plan_cuenta_id_foreign` (`plan_cuenta_id`),
  CONSTRAINT `retention_types_plan_cuenta_id_foreign` FOREIGN KEY (`plan_cuenta_id`) REFERENCES `conta_plan_cuenta` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=29 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `retention_types`
--

INSERT INTO `retention_types` VALUES (1,NULL,NULL,'Retenciones de Ganancias','ganancias','GAN',NULL,23),(2,NULL,NULL,'Retenciones de SUSS','sus','SUSS',NULL,162),(3,NULL,NULL,'Retenciones de IVA','iva','Ret IVA',NULL,25),(4,NULL,'2023-01-13 09:53:50','Retencion IIBB de Buenos Aires','iibb',NULL,23,251),(5,NULL,'2023-01-13 09:53:50','Retencion IIBB de Capital Federal','iibb',NULL,22,252),(6,NULL,'2023-01-13 09:53:50','Retencion IIBB de Catamarca','iibb',NULL,24,253),(7,NULL,'2023-01-13 09:53:50','Retencion IIBB de Chaco','iibb',NULL,3,254),(8,NULL,'2023-01-13 09:53:50','Retencion IIBB de Chubut','iibb',NULL,4,255),(9,NULL,'2023-01-13 09:53:50','Retencion IIBB de Córdoba','iibb',NULL,1,256),(10,NULL,'2023-01-13 09:53:50','Retencion IIBB de Corrientes','iibb',NULL,2,257),(11,NULL,'2023-01-13 09:53:50','Retencion IIBB de Entre Ríos','iibb',NULL,5,258),(12,NULL,'2023-01-13 09:53:50','Retencion IIBB de Formosa','iibb',NULL,6,259),(13,NULL,'2023-01-13 09:53:50','Retencion IIBB de Jujuy','iibb',NULL,7,260),(14,NULL,'2023-01-13 09:53:50','Retencion IIBB de La Pampa','iibb',NULL,8,261),(15,NULL,'2023-01-13 09:53:50','Retencion IIBB de La Rioja','iibb',NULL,9,262),(16,NULL,'2023-01-13 09:53:50','Retencion IIBB de Mendoza','iibb',NULL,10,263),(17,NULL,'2023-01-13 09:53:50','Retencion IIBB de Misiones','iibb',NULL,11,264),(18,NULL,'2023-01-13 09:53:50','Retencion IIBB de Neuquén','iibb',NULL,12,265),(19,NULL,'2023-01-13 09:53:50','Retencion IIBB de Pascua Lama','iibb',NULL,25,266),(20,NULL,'2023-01-13 09:53:50','Retencion IIBB de Río Negro','iibb',NULL,13,267),(21,NULL,'2023-01-13 09:53:50','Retencion IIBB de Salta','iibb',NULL,14,268),(22,NULL,'2023-01-13 09:53:50','Retencion IIBB de San Juan','iibb',NULL,15,269),(23,NULL,'2023-01-13 09:53:50','Retencion IIBB de San Luis','iibb',NULL,16,270),(24,NULL,'2023-01-13 09:53:50','Retencion IIBB de Santa Cruz','iibb',NULL,17,271),(25,NULL,'2023-01-13 09:53:50','Retencion IIBB de Santa Fe','iibb',NULL,18,272),(26,NULL,'2023-01-13 09:53:50','Retencion IIBB de Santiago del Estero','iibb',NULL,19,273),(27,NULL,'2023-01-13 09:53:50','Retencion IIBB de Tierra del Fuego','iibb',NULL,20,274),(28,NULL,'2023-01-13 09:53:50','Retencion IIBB de Tucuman','iibb',NULL,21,275);

--
-- Table structure for table `retentions`
--

CREATE TABLE `retentions` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `period_id` int(10) unsigned NOT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `cta_cte_cliente_id` int(10) unsigned DEFAULT NULL,
  `cta_cte_cliente_detail_id` int(10) unsigned DEFAULT NULL,
  `person_id_relationed` int(10) unsigned NOT NULL,
  `retention_type_id` int(10) unsigned NOT NULL,
  `sicore_regimen_id` bigint(20) unsigned DEFAULT NULL,
  `fecha` date NOT NULL DEFAULT '2023-05-30',
  `anio` int(10) unsigned NOT NULL,
  `numero` int(10) unsigned NOT NULL,
  `is_inscripto` tinyint(1) NOT NULL DEFAULT '1',
  `neto_gravado_total` decimal(16,2) NOT NULL DEFAULT '0.00',
  `ret_acum_mes` decimal(16,2) NOT NULL DEFAULT '0.00',
  `monto_no_sujeto_ret` decimal(16,2) NOT NULL DEFAULT '0.00',
  `tasa_aplicable` decimal(16,2) NOT NULL DEFAULT '0.00',
  `neto_sujeto_a_ret` decimal(16,2) NOT NULL DEFAULT '0.00',
  `retencion` 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 `retentions_person_id_foreign` (`person_id`),
  KEY `retentions_person_id_relationed_foreign` (`person_id_relationed`),
  KEY `retentions_period_id_foreign` (`period_id`),
  KEY `retentions_cta_cte_cliente_id_foreign` (`cta_cte_cliente_id`),
  KEY `retentions_retention_type_id_foreign` (`retention_type_id`),
  KEY `retentions_sicore_regimen_id_foreign` (`sicore_regimen_id`),
  KEY `retentions_cta_cte_cliente_detail_id_foreign` (`cta_cte_cliente_detail_id`),
  CONSTRAINT `retentions_cta_cte_cliente_detail_id_foreign` FOREIGN KEY (`cta_cte_cliente_detail_id`) REFERENCES `cta_cte_cliente_details` (`id`),
  CONSTRAINT `retentions_cta_cte_cliente_id_foreign` FOREIGN KEY (`cta_cte_cliente_id`) REFERENCES `cta_cte_cliente` (`id`),
  CONSTRAINT `retentions_period_id_foreign` FOREIGN KEY (`period_id`) REFERENCES `periods` (`id`),
  CONSTRAINT `retentions_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`),
  CONSTRAINT `retentions_person_id_relationed_foreign` FOREIGN KEY (`person_id_relationed`) REFERENCES `persons` (`id`),
  CONSTRAINT `retentions_retention_type_id_foreign` FOREIGN KEY (`retention_type_id`) REFERENCES `retention_types` (`id`),
  CONSTRAINT `retentions_sicore_regimen_id_foreign` FOREIGN KEY (`sicore_regimen_id`) REFERENCES `sicore_regimenes` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `retentions`
--


--
-- Table structure for table `retentions_details`
--

CREATE TABLE `retentions_details` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `retention_id` bigint(20) unsigned NOT NULL,
  `receipt_id` int(10) unsigned NOT NULL,
  `neto_sujeto_a_ret` 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 `retentions_details_retention_id_foreign` (`retention_id`),
  KEY `retentions_details_receipt_id_foreign` (`receipt_id`),
  CONSTRAINT `retentions_details_receipt_id_foreign` FOREIGN KEY (`receipt_id`) REFERENCES `receipts` (`id`),
  CONSTRAINT `retentions_details_retention_id_foreign` FOREIGN KEY (`retention_id`) REFERENCES `retentions` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `retentions_details`
--


--
-- Table structure for table `rodados`
--

CREATE TABLE `rodados` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `rodados_marcas_modelo_id` bigint(20) unsigned NOT NULL,
  `rodados_equipo_id` bigint(20) unsigned NOT NULL,
  `rodados_estado_id` bigint(20) unsigned NOT NULL,
  `interno` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `patente` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `chasis` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `motor` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `is_limitado` tinyint(1) NOT NULL DEFAULT '0',
  `fecha_limitado` date DEFAULT NULL,
  `fecha_vto_vtv` date DEFAULT NULL,
  `fecha_vto_ruta` date DEFAULT NULL,
  `fecha_vto_seguro` date DEFAULT NULL,
  `rodados_seguros_compania_id` bigint(20) unsigned DEFAULT NULL,
  `num_poliza` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `rodados_seguros_cobertura_id` bigint(20) unsigned DEFAULT NULL,
  `num_tag` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `is_lojack` tinyint(1) NOT NULL DEFAULT '0',
  `rodados_lojack_tecnologia_id` bigint(20) unsigned DEFAULT NULL,
  `is_ypf_gps_instalado` tinyint(1) NOT NULL DEFAULT '0',
  `rodados_ypf_gps_estado_id` bigint(20) unsigned DEFAULT NULL,
  `ypf_ruta_num_tarjeta` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `shell_tag` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `is_opds_habilitado` tinyint(1) NOT NULL DEFAULT '0',
  `is_ceamse_habilitado` tinyint(1) NOT NULL DEFAULT '0',
  `is_estado_unidad` tinyint(1) NOT NULL DEFAULT '0',
  `comentario` longtext COLLATE utf8mb4_unicode_ci,
  `is_parametrizado` tinyint(1) NOT NULL DEFAULT '0',
  `fecha_parametrizado` date DEFAULT NULL,
  `anio` int(11) DEFAULT NULL,
  `fecha_alta` date DEFAULT NULL,
  `fecha_baja` date 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 `rodados_person_id_foreign` (`person_id`),
  KEY `rodados_rodados_marcas_modelo_id_foreign` (`rodados_marcas_modelo_id`),
  KEY `rodados_rodados_equipo_id_foreign` (`rodados_equipo_id`),
  KEY `rodados_rodados_estado_id_foreign` (`rodados_estado_id`),
  KEY `rodados_rodados_seguros_compania_id_foreign` (`rodados_seguros_compania_id`),
  KEY `rodados_rodados_seguros_cobertura_id_foreign` (`rodados_seguros_cobertura_id`),
  KEY `rodados_rodados_lojack_tecnologia_id_foreign` (`rodados_lojack_tecnologia_id`),
  KEY `rodados_rodados_ypf_gps_estado_id_foreign` (`rodados_ypf_gps_estado_id`),
  CONSTRAINT `rodados_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`),
  CONSTRAINT `rodados_rodados_equipo_id_foreign` FOREIGN KEY (`rodados_equipo_id`) REFERENCES `rodados_equipos` (`id`),
  CONSTRAINT `rodados_rodados_estado_id_foreign` FOREIGN KEY (`rodados_estado_id`) REFERENCES `rodados_estados` (`id`),
  CONSTRAINT `rodados_rodados_lojack_tecnologia_id_foreign` FOREIGN KEY (`rodados_lojack_tecnologia_id`) REFERENCES `rodados_lojack_tecnologias` (`id`),
  CONSTRAINT `rodados_rodados_marcas_modelo_id_foreign` FOREIGN KEY (`rodados_marcas_modelo_id`) REFERENCES `rodados_marcas_modelos` (`id`),
  CONSTRAINT `rodados_rodados_seguros_cobertura_id_foreign` FOREIGN KEY (`rodados_seguros_cobertura_id`) REFERENCES `rodados_seguros_coberturas` (`id`),
  CONSTRAINT `rodados_rodados_seguros_compania_id_foreign` FOREIGN KEY (`rodados_seguros_compania_id`) REFERENCES `rodados_seguros_companias` (`id`),
  CONSTRAINT `rodados_rodados_ypf_gps_estado_id_foreign` FOREIGN KEY (`rodados_ypf_gps_estado_id`) REFERENCES `rodados_ypf_gps_estados` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `rodados`
--


--
-- Table structure for table `rodados_cargas`
--

CREATE TABLE `rodados_cargas` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `rodados_cargas_marca_id` bigint(20) unsigned NOT NULL,
  `rodado_id` bigint(20) unsigned NOT NULL,
  `fecha` datetime NOT NULL,
  `tarjeta` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `ubicacion` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `combustible` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `litros` decimal(16,4) NOT NULL DEFAULT '0.0000',
  `precio_x_litro` decimal(16,4) NOT NULL DEFAULT '0.0000',
  `neto` decimal(16,4) NOT NULL DEFAULT '0.0000',
  `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 `rodados_cargas_person_id_foreign` (`person_id`),
  KEY `rodados_cargas_rodado_id_foreign` (`rodado_id`),
  KEY `rodados_cargas_rodados_cargas_marca_id_foreign` (`rodados_cargas_marca_id`),
  CONSTRAINT `rodados_cargas_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`),
  CONSTRAINT `rodados_cargas_rodado_id_foreign` FOREIGN KEY (`rodado_id`) REFERENCES `rodados` (`id`),
  CONSTRAINT `rodados_cargas_rodados_cargas_marca_id_foreign` FOREIGN KEY (`rodados_cargas_marca_id`) REFERENCES `rodados_cargas_marcas` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `rodados_cargas`
--


--
-- Table structure for table `rodados_cargas_control`
--

CREATE TABLE `rodados_cargas_control` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `rodado_id` bigint(20) unsigned NOT NULL,
  `carga_control_tope_id` bigint(20) unsigned NOT NULL,
  `acumulado` int(11) NOT NULL DEFAULT '0',
  `ultima_carga` int(11) 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 `rodados_cargas_control_rodado_id_foreign` (`rodado_id`),
  KEY `rodados_cargas_control_carga_control_tope_id_foreign` (`carga_control_tope_id`),
  CONSTRAINT `rodados_cargas_control_carga_control_tope_id_foreign` FOREIGN KEY (`carga_control_tope_id`) REFERENCES `rodados_cargas_control_topes` (`id`),
  CONSTRAINT `rodados_cargas_control_rodado_id_foreign` FOREIGN KEY (`rodado_id`) REFERENCES `rodados` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `rodados_cargas_control`
--


--
-- Table structure for table `rodados_cargas_control_history`
--

CREATE TABLE `rodados_cargas_control_history` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `rodado_id` bigint(20) unsigned NOT NULL,
  `fecha` date NOT NULL,
  `control` int(11) NOT NULL,
  `acumulado` int(11) 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 `rodados_cargas_control_history_rodado_id_foreign` (`rodado_id`),
  CONSTRAINT `rodados_cargas_control_history_rodado_id_foreign` FOREIGN KEY (`rodado_id`) REFERENCES `rodados` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `rodados_cargas_control_history`
--


--
-- Table structure for table `rodados_cargas_control_topes`
--

CREATE TABLE `rodados_cargas_control_topes` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `control` int(11) 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 `rodados_cargas_control_topes_person_id_foreign` (`person_id`),
  CONSTRAINT `rodados_cargas_control_topes_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `rodados_cargas_control_topes`
--


--
-- Table structure for table `rodados_cargas_marcas`
--

CREATE TABLE `rodados_cargas_marcas` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `descripcion` varchar(255) 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 `rodados_cargas_marcas_person_id_foreign` (`person_id`),
  CONSTRAINT `rodados_cargas_marcas_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `rodados_cargas_marcas`
--


--
-- Table structure for table `rodados_equipos`
--

CREATE TABLE `rodados_equipos` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `descripcion` varchar(255) 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`),
  UNIQUE KEY `rodados_equipos_descripcion_unique` (`descripcion`),
  KEY `rodados_equipos_person_id_foreign` (`person_id`),
  CONSTRAINT `rodados_equipos_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `rodados_equipos`
--


--
-- Table structure for table `rodados_estados`
--

CREATE TABLE `rodados_estados` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `descripcion` varchar(255) 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`),
  UNIQUE KEY `rodados_estados_descripcion_unique` (`descripcion`),
  KEY `rodados_estados_person_id_foreign` (`person_id`),
  CONSTRAINT `rodados_estados_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `rodados_estados`
--


--
-- Table structure for table `rodados_files`
--

CREATE TABLE `rodados_files` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `rodado_id` bigint(20) unsigned NOT NULL,
  `descripcion` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `path` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `name_original` 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 `rodados_files_person_id_foreign` (`person_id`),
  KEY `rodados_files_rodado_id_foreign` (`rodado_id`),
  CONSTRAINT `rodados_files_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`),
  CONSTRAINT `rodados_files_rodado_id_foreign` FOREIGN KEY (`rodado_id`) REFERENCES `rodados` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `rodados_files`
--


--
-- Table structure for table `rodados_kms`
--

CREATE TABLE `rodados_kms` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `rodado_id` bigint(20) unsigned NOT NULL,
  `fecha_desde` date NOT NULL,
  `fecha_hasta` date NOT NULL,
  `imei` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `dispositivo` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `patente` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `tiempo` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `numero_viaje` int(11) DEFAULT NULL,
  `kms` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT 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 `rodados_kms_person_id_foreign` (`person_id`),
  KEY `rodados_kms_rodado_id_foreign` (`rodado_id`),
  CONSTRAINT `rodados_kms_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`),
  CONSTRAINT `rodados_kms_rodado_id_foreign` FOREIGN KEY (`rodado_id`) REFERENCES `rodados` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `rodados_kms`
--


--
-- Table structure for table `rodados_lojack_tecnologias`
--

CREATE TABLE `rodados_lojack_tecnologias` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `descripcion` varchar(255) 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`),
  UNIQUE KEY `rodados_lojack_tecnologias_descripcion_unique` (`descripcion`),
  KEY `rodados_lojack_tecnologias_person_id_foreign` (`person_id`),
  CONSTRAINT `rodados_lojack_tecnologias_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `rodados_lojack_tecnologias`
--


--
-- Table structure for table `rodados_marcas`
--

CREATE TABLE `rodados_marcas` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `descripcion` varchar(255) 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`),
  UNIQUE KEY `rodados_marcas_descripcion_unique` (`descripcion`),
  KEY `rodados_marcas_person_id_foreign` (`person_id`),
  CONSTRAINT `rodados_marcas_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `rodados_marcas`
--


--
-- Table structure for table `rodados_marcas_modelos`
--

CREATE TABLE `rodados_marcas_modelos` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `rodados_marca_id` bigint(20) unsigned NOT NULL,
  `descripcion` varchar(255) 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`),
  UNIQUE KEY `rodados_marcas_modelos_descripcion_unique` (`descripcion`),
  KEY `rodados_marcas_modelos_person_id_foreign` (`person_id`),
  KEY `rodados_marcas_modelos_rodados_marca_id_foreign` (`rodados_marca_id`),
  CONSTRAINT `rodados_marcas_modelos_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`),
  CONSTRAINT `rodados_marcas_modelos_rodados_marca_id_foreign` FOREIGN KEY (`rodados_marca_id`) REFERENCES `rodados_marcas` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `rodados_marcas_modelos`
--


--
-- Table structure for table `rodados_seguros_coberturas`
--

CREATE TABLE `rodados_seguros_coberturas` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `descripcion` varchar(255) 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`),
  UNIQUE KEY `rodados_seguros_coberturas_descripcion_unique` (`descripcion`),
  KEY `rodados_seguros_coberturas_person_id_foreign` (`person_id`),
  CONSTRAINT `rodados_seguros_coberturas_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `rodados_seguros_coberturas`
--


--
-- Table structure for table `rodados_seguros_companias`
--

CREATE TABLE `rodados_seguros_companias` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `descripcion` varchar(255) 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`),
  UNIQUE KEY `rodados_seguros_companias_descripcion_unique` (`descripcion`),
  KEY `rodados_seguros_companias_person_id_foreign` (`person_id`),
  CONSTRAINT `rodados_seguros_companias_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `rodados_seguros_companias`
--


--
-- Table structure for table `rodados_ypf_gps_estados`
--

CREATE TABLE `rodados_ypf_gps_estados` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `descripcion` varchar(255) 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`),
  UNIQUE KEY `rodados_ypf_gps_estados_descripcion_unique` (`descripcion`),
  KEY `rodados_ypf_gps_estados_person_id_foreign` (`person_id`),
  CONSTRAINT `rodados_ypf_gps_estados_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `rodados_ypf_gps_estados`
--


--
-- Table structure for table `sexo`
--

CREATE TABLE `sexo` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `descripcion` varchar(191) 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`),
  UNIQUE KEY `sexo_descripcion_unique` (`descripcion`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `sexo`
--

INSERT INTO `sexo` VALUES (1,NULL,'Masculino',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(2,NULL,'Femenino',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL);

--
-- Table structure for table `sicore_alicuotas`
--

CREATE TABLE `sicore_alicuotas` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `anio` int(11) DEFAULT NULL,
  `desde` int(10) unsigned NOT NULL,
  `hasta` int(10) unsigned NOT NULL,
  `impuesto` int(10) unsigned NOT NULL,
  `mas_porcentaje` decimal(8,2) unsigned NOT NULL,
  `excedente` int(11) DEFAULT NULL,
  `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=9 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `sicore_alicuotas`
--

INSERT INTO `sicore_alicuotas` VALUES (1,NULL,2022,0,8000,0,0.00,0,NULL,NULL,NULL),(2,NULL,2022,8000,16000,400,9.00,8000,NULL,NULL,NULL),(3,NULL,2022,16000,24000,1120,12.00,16000,NULL,NULL,NULL),(4,NULL,2022,24000,32000,2080,15.00,24000,NULL,NULL,NULL),(5,NULL,2022,32000,48000,3280,19.00,32000,NULL,NULL,NULL),(6,NULL,2022,48000,64000,6320,23.00,48000,NULL,NULL,NULL),(7,NULL,2022,64000,96000,10000,27.00,64000,NULL,NULL,NULL),(8,NULL,2022,96000,999999,18640,31.00,96000,NULL,NULL,NULL);

--
-- Table structure for table `sicore_comprobantes`
--

CREATE TABLE `sicore_comprobantes` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `codigo` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `descripcion` varchar(191) 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=97 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `sicore_comprobantes`
--

INSERT INTO `sicore_comprobantes` VALUES (1,'1','FACTURAS A',1,NULL,NULL,NULL),(2,'2','NOTAS DE DEBITO A',1,NULL,NULL,NULL),(3,'3','NOTAS DE CREDITO A',1,NULL,NULL,NULL),(4,'4','RECIBOS A',1,NULL,NULL,NULL),(5,'5','NOTAS DE VENTA AL CONTADO A',1,NULL,NULL,NULL),(6,'6','FACTURAS B',1,NULL,NULL,NULL),(7,'7','NOTAS DE DEBITO B',1,NULL,NULL,NULL),(8,'8','NOTAS DE CREDITO B',1,NULL,NULL,NULL),(9,'9','RECIBOS B',1,NULL,NULL,NULL),(10,'10','NOTAS DE VENTA AL CONTADO B',1,NULL,NULL,NULL),(11,'11','FACTURAS C',1,NULL,NULL,NULL),(12,'12','NOTAS DE DEBITO C',1,NULL,NULL,NULL),(13,'13','NOTAS DE CREDITO C',1,NULL,NULL,NULL),(14,'15','RECIBOS C',1,NULL,NULL,NULL),(15,'16','NOTAS DE VENTA AL CONTADO C',1,NULL,NULL,NULL),(16,'17','LIQUIDACION DE SERVICIOS PUBLICOS CLASE A',1,NULL,NULL,NULL),(17,'18','LIQUIDACION DE SERVICIOS PUBLICOS CLASE B',1,NULL,NULL,NULL),(18,'19','FACTURAS DE EXPORTACION',1,NULL,NULL,NULL),(19,'20','NOTAS DE DEBITO POR OPERACIONES CON EL EXTERIOR',1,NULL,NULL,NULL),(20,'21','NOTAS DE CREDITO POR OPERACIONES CON EL EXTERIOR',1,NULL,NULL,NULL),(21,'22','FACTURAS - PERMISO EXPORTACION SIMPLIFICADO - DTO. 855/97',1,NULL,NULL,NULL),(22,'23','COMPROBANTES “A” DE COMPRA PRIMARIA PARA EL SECTOR PESQUERO MARITIMO',1,NULL,NULL,NULL),(23,'24','COMPROBANTES “A” DE CONSIGNACION PRIMARIA PARA EL SECTOR PESQUERO MARITIMO',1,NULL,NULL,NULL),(24,'25','COMPROBANTES “B” DE COMPRA PRIMARIA PARA EL SECTOR PESQUERO MARITIMO',1,NULL,NULL,NULL),(25,'26','COMPROBANTES “B” DE CONSIGNACION PRIMARIA PARA EL SECTOR PESQUERO MARITIMO',1,NULL,NULL,NULL),(26,'27','LIQUIDACION UNICA COMERCIAL IMPOSITIVA CLASE A',1,NULL,NULL,NULL),(27,'28','LIQUIDACION UNICA COMERCIAL IMPOSITIVA CLASE B',1,NULL,NULL,NULL),(28,'29','LIQUIDACION UNICA COMERCIAL IMPOSITIVA CLASE C',1,NULL,NULL,NULL),(29,'30','COMPROBANTES DE COMPRA DE BIENES USADOS',1,NULL,NULL,NULL),(30,'31','MANDATO - CONSIGNACION',1,NULL,NULL,NULL),(31,'32','COMPROBANTES PARA RECICLAR MATERIALES',1,NULL,NULL,NULL),(32,'33','LIQUIDACION PRIMARIA DE GRANOS',1,NULL,NULL,NULL),(33,'34','COMPROBANTES A DEL APARTADO A  INCISO F)  R.G. N°  1415',1,NULL,NULL,NULL),(34,'35','COMPROBANTES B DEL ANEXO I, APARTADO A, INC. F), R.G. N° 1415',1,NULL,NULL,NULL),(35,'36','COMPROBANTES C DEL Anexo I, Apartado A, INC.F), R.G. N° 1415',1,NULL,NULL,NULL),(36,'37','NOTAS DE DEBITO O DOCUMENTO EQUIVALENTE QUE CUMPLAN CON LA R.G. N° 1415',1,NULL,NULL,NULL),(37,'38','NOTAS DE CREDITO O DOCUMENTO EQUIVALENTE QUE CUMPLAN CON LA R.G. N° 1415',1,NULL,NULL,NULL),(38,'39','OTROS COMPROBANTES A QUE CUMPLEN CON LA R G  1415',1,NULL,NULL,NULL),(39,'40','OTROS COMPROBANTES B QUE CUMPLAN CON LA R.G. N° 1415',1,NULL,NULL,NULL),(40,'41','OTROS COMPROBANTES C QUE CUMPLAN CON LA R.G. N° 1415',1,NULL,NULL,NULL),(41,'43','NOTA DE CREDITO LIQUIDACION UNICA COMERCIAL IMPOSITIVA CLASE B',1,NULL,NULL,NULL),(42,'44','NOTA DE CREDITO LIQUIDACION UNICA COMERCIAL IMPOSITIVA CLASE C',1,NULL,NULL,NULL),(43,'45','NOTA DE DEBITO LIQUIDACION UNICA COMERCIAL IMPOSITIVA CLASE A',1,NULL,NULL,NULL),(44,'46','NOTA DE DEBITO LIQUIDACION UNICA COMERCIAL IMPOSITIVA CLASE B',1,NULL,NULL,NULL),(45,'47','NOTA DE DEBITO LIQUIDACION UNICA COMERCIAL IMPOSITIVA CLASE C',1,NULL,NULL,NULL),(46,'48','NOTA DE CREDITO LIQUIDACION UNICA COMERCIAL IMPOSITIVA CLASE A',1,NULL,NULL,NULL),(47,'49','COMPROBANTES DE COMPRA DE BIENES NO REGISTRABLES A CONSUMIDORES FINALES',1,NULL,NULL,NULL),(48,'50','RECIBO FACTURA A  REGIMEN DE FACTURA DE CREDITO ',1,NULL,NULL,NULL),(49,'51','FACTURAS M',1,NULL,NULL,NULL),(50,'52','NOTAS DE DEBITO M',1,NULL,NULL,NULL),(51,'53','NOTAS DE CREDITO M',1,NULL,NULL,NULL),(52,'54','RECIBOS M',1,NULL,NULL,NULL),(53,'55','NOTAS DE VENTA AL CONTADO M',1,NULL,NULL,NULL),(54,'56','COMPROBANTES M DEL ANEXO I  APARTADO A  INC F) R.G. N° 1415',1,NULL,NULL,NULL),(55,'57','OTROS COMPROBANTES M QUE CUMPLAN CON LA R.G. N° 1415',1,NULL,NULL,NULL),(56,'58','CUENTAS DE VENTA Y LIQUIDO PRODUCTO M',1,NULL,NULL,NULL),(57,'59','LIQUIDACIONES M',1,NULL,NULL,NULL);
INSERT INTO `sicore_comprobantes` VALUES (58,'60','CUENTAS DE VENTA Y LIQUIDO PRODUCTO A',1,NULL,NULL,NULL),(59,'61','CUENTAS DE VENTA Y LIQUIDO PRODUCTO B',1,NULL,NULL,NULL),(60,'63','LIQUIDACIONES A',1,NULL,NULL,NULL),(61,'64','LIQUIDACIONES B',1,NULL,NULL,NULL),(62,'66','DESPACHO DE IMPORTACION',1,NULL,NULL,NULL),(63,'68','LIQUIDACION C',1,NULL,NULL,NULL),(64,'70','RECIBOS FACTURA DE CREDITO',1,NULL,NULL,NULL),(65,'80','INFORME DIARIO DE CIERRE (ZETA) - CONTROLADORES FISCALES',1,NULL,NULL,NULL),(66,'81','TIQUE FACTURA A   ',1,NULL,NULL,NULL),(67,'82','TIQUE FACTURA B',1,NULL,NULL,NULL),(68,'83','TIQUE',1,NULL,NULL,NULL),(69,'88','REMITO ELECTRONICO',1,NULL,NULL,NULL),(70,'89','RESUMEN DE DATOS',1,NULL,NULL,NULL),(71,'90','OTROS COMPROBANTES - DOCUMENTOS EXCEPTUADOS - NOTAS DE CREDITO',1,NULL,NULL,NULL),(72,'91','REMITOS R',1,NULL,NULL,NULL),(73,'99','OTROS COMPROBANTES QUE NO CUMPLEN O ESTÁN EXCEPTUADOS DE LA R.G. 1415 Y SUS MODIF',1,NULL,NULL,NULL),(74,'110','TIQUE NOTA DE CREDITO ',1,NULL,NULL,NULL),(75,'111','TIQUE FACTURA C',1,NULL,NULL,NULL),(76,'112','TIQUE NOTA DE CREDITO A',1,NULL,NULL,NULL),(77,'113','TIQUE NOTA DE CREDITO B',1,NULL,NULL,NULL),(78,'114','TIQUE NOTA DE CREDITO C',1,NULL,NULL,NULL),(79,'115','TIQUE NOTA DE DEBITO A',1,NULL,NULL,NULL),(80,'116','TIQUE NOTA DE DEBITO B',1,NULL,NULL,NULL),(81,'117','TIQUE NOTA DE DEBITO C',1,NULL,NULL,NULL),(82,'118','TIQUE FACTURA M',1,NULL,NULL,NULL),(83,'119','TIQUE NOTA DE CREDITO M',1,NULL,NULL,NULL),(84,'120','TIQUE NOTA DE DEBITO M',1,NULL,NULL,NULL),(85,'201','FACTURA DE CRÉDITO ELECTRÓNICA MiPyMEs (FCE) A',1,NULL,NULL,NULL),(86,'202','NOTA DE DEBITO ELECTRÓNICA MiPyMEs (FCE) A',1,NULL,NULL,NULL),(87,'203','NOTA DE CREDITO ELECTRÓNICA MiPyMEs (FCE) A',1,NULL,NULL,NULL),(88,'206','FACTURA DE CRÉDITO ELECTRÓNICA MiPyMEs (FCE) B',1,NULL,NULL,NULL),(89,'207','NOTA DE DEBITO ELECTRÓNICA MiPyMEs (FCE) B',1,NULL,NULL,NULL),(90,'208','NOTA DE CREDITO ELECTRÓNICA MiPyMEs (FCE) B',1,NULL,NULL,NULL),(91,'211','FACTURA DE CRÉDITO ELECTRÓNICA MiPyMEs (FCE) C',1,NULL,NULL,NULL),(92,'212','NOTA DE DEBITO ELECTRÓNICA MiPyMEs (FCE) C',1,NULL,NULL,NULL),(93,'213','NOTA DE CREDITO ELECTRÓNICA MiPyMEs (FCE) C',1,NULL,NULL,NULL),(94,'331','LIQUIDACION SECUNDARIA DE GRANOS',1,NULL,NULL,NULL),(95,'332','CERTIFICACION ELECTRONICA (GRANOS)',1,NULL,NULL,NULL),(96,'995','REMITO ELECTRÓNICO CÁRNICO ',1,NULL,NULL,NULL);

--
-- Table structure for table `sicore_details`
--

CREATE TABLE `sicore_details` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `period_id` int(10) unsigned NOT NULL,
  `fecha` date NOT NULL DEFAULT '2023-01-13',
  `cta_cte_cliente_id` int(10) unsigned DEFAULT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `person_id_relationed` int(10) unsigned NOT NULL,
  `is_inscripto` tinyint(1) NOT NULL DEFAULT '1',
  `sicore_regimen_id` bigint(20) unsigned NOT NULL,
  `sicore_comprobantes` longtext COLLATE utf8mb4_unicode_ci NOT NULL,
  `sicore_comprobante_id` bigint(20) unsigned NOT NULL,
  `comprobante_numero` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `neto_gravado_total` decimal(16,2) NOT NULL DEFAULT '0.00',
  `ret_acum_mes` decimal(16,2) NOT NULL DEFAULT '0.00',
  `monto_no_sujeto_ret` decimal(16,2) NOT NULL DEFAULT '0.00',
  `tasa_aplicable` decimal(16,2) NOT NULL DEFAULT '0.00',
  `neto_sujeto_a_ret` decimal(16,2) NOT NULL DEFAULT '0.00',
  `retencion` 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 `sicore_details_person_id_foreign` (`person_id`),
  KEY `sicore_details_person_id_relationed_foreign` (`person_id_relationed`),
  KEY `sicore_details_period_id_foreign` (`period_id`),
  KEY `sicore_details_sicore_regimen_id_foreign` (`sicore_regimen_id`),
  KEY `sicore_details_sicore_comprobante_id_foreign` (`sicore_comprobante_id`),
  CONSTRAINT `sicore_details_period_id_foreign` FOREIGN KEY (`period_id`) REFERENCES `periods` (`id`),
  CONSTRAINT `sicore_details_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`),
  CONSTRAINT `sicore_details_person_id_relationed_foreign` FOREIGN KEY (`person_id_relationed`) REFERENCES `persons` (`id`),
  CONSTRAINT `sicore_details_sicore_comprobante_id_foreign` FOREIGN KEY (`sicore_comprobante_id`) REFERENCES `sicore_comprobantes` (`id`),
  CONSTRAINT `sicore_details_sicore_regimen_id_foreign` FOREIGN KEY (`sicore_regimen_id`) REFERENCES `sicore_regimenes` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `sicore_details`
--


--
-- Table structure for table `sicore_regimenes`
--

CREATE TABLE `sicore_regimenes` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `cod_regimen` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `is_escala` tinyint(1) NOT NULL DEFAULT '0',
  `anexo` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `descripcion` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `ret_min_ins` int(11) NOT NULL,
  `porcent_ins` decimal(8,2) NOT NULL,
  `porcent_no_ins` decimal(8,2) NOT NULL,
  `monto_no_sujeto_ret` int(11) 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=26 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `sicore_regimenes`
--

INSERT INTO `sicore_regimenes` VALUES (1,NULL,'19',0,'Anexo II,  inc. a) pto. 1)','Intereses  por operaciones realizadas en entidades financieras. Ley N° 21.526 y sus modificaciones o agentes de bolsa o mercado abierto.',0,3.00,10.00,0,1,NULL,NULL,NULL),(2,NULL,'21',0,'Anexo II , inc. a) pto. 2)','Intereses originados en operaciones no comprendidas en el punto 1.',0,6.00,28.00,7870,1,NULL,NULL,NULL),(3,NULL,'30',0,'Anexo II, inc. b) pto. 1)','Alquileres o arrendamientos de bienes muebles.',0,6.00,28.00,11200,1,NULL,NULL,NULL),(4,NULL,'31',0,'Anexo II, inc. b) pto. 2)','Bienes Inmuebles Urbanos, incluidos los efectuados bajo la modalidad de leasing –incluye suburbanos.',0,6.00,28.00,11200,1,NULL,NULL,NULL),(5,NULL,'32',0,'Anexo II, inc. b) pto. 3)','Bienes Inmuebles Rurales, incluidos los efectuados bajo la modalidad de leasing –incluye subrurales-.',0,6.00,28.00,11200,1,NULL,NULL,NULL),(6,NULL,'35',0,'Anexo II, inc. c)','Regalías.',0,6.00,28.00,7870,1,NULL,NULL,NULL),(7,NULL,'43',0,'Anexo II, inc. d)','Interés accionario,  excedentes y retornos distribuidos entre asociados, cooperativas -excepto consumo-.',0,6.00,28.00,7870,1,NULL,NULL,NULL),(8,NULL,'51',0,'Anexo II, inc. e)','Obligaciones de no hacer, o por abandono o no ejercicio de una actividad.',0,6.00,28.00,7870,1,NULL,NULL,NULL),(9,NULL,'78',0,'Anexo II, inc. f)','Enajenación de bienes muebles y bienes de cambio.',0,2.00,10.00,224000,1,NULL,NULL,NULL),(10,NULL,'86',0,'Anexo II, inc. g)','Transferencia  temporaria o definitiva de derechos de llave, marcas, patentes de invención, regalías, concesiones y similares.',0,2.00,10.00,224000,1,NULL,NULL,NULL),(11,NULL,'94',0,'Anexo II, inc. i)','Locaciones de obra y/o servicios no ejecutados en relación de dependencia no mencionados expresamente en otros incisos.',0,2.00,28.00,67170,1,NULL,NULL,NULL),(12,NULL,'95',0,'Anexo ll, inc. l)','Operaciones de transporte de carga  nacional e internacional.',0,0.25,28.00,67170,1,NULL,NULL,NULL),(13,NULL,'53',0,'Anexo ll, inc. m)','Operaciones realizadas  por intermedio  de mercados de  cereales a término que se resuelvan en el  curso del término (arbitrajes) y de mercados de futuros y opciones.',0,0.50,2.00,0,1,NULL,NULL,NULL),(14,NULL,'55',0,'Anexo ll, inc. n)','Distribución de películas. Transmisión de programación. Televisión vía satelital.',0,0.50,2.00,0,1,NULL,NULL,NULL),(15,NULL,'111',0,'Anexo ll, inc. ñ)','Cualquier  otra cesión  o locación de derechos, excepto las que correspondan a operaciones realizadas por intermedio de  mercados  de cereales  a término que se resuelvan en el curso del térm',0,0.50,2.00,0,1,NULL,NULL,NULL),(16,NULL,'112',0,'Anexo ll, inc. o)','Beneficios provenientes del cumplimiento de los requisitos de los planes de seguro de retiro privados administrados por entidades sujetas al control de la Superintendencia de Seguros de la Na',0,3.00,3.00,16830,1,NULL,NULL,NULL),(17,NULL,'113',0,'Anexo ll, inc. p)','Rescates -totales o parciales- por desistimiento de los planes de seguro de retiro a que se refiere el inciso o), excepto que sea de aplicación lo normado en el artículo 101 de la Ley de Impu',0,3.00,3.00,16830,1,NULL,NULL,NULL),(18,NULL,'779',0,'Anexo ll, inc. q)','Subsidios abonados por los Estados Nacional, provinciales, municipales o el Gobierno de la Ciudad Autónoma de Buenos Ares, en concepto de enajenación de bienes muebles y bienes de cambio, en ',0,2.00,10.00,76140,1,NULL,NULL,NULL),(19,NULL,'780',0,'Anexo ll, inc. r)','Subsidios abonados por los Estados Nacional, provinciales, municipales o el Gobierno de la Ciudad Autónoma de Buenos Aires, en concepto de locaciones de obra y/o servicios, no ejecutados en r',0,2.00,28.00,31460,1,NULL,NULL,NULL),(20,NULL,'110',1,'Anexo II, inc. h)','Explotación de derechos de autor (Ley N° 11.723).',0,0.00,28.00,10000,0,NULL,'2024-08-01 11:53:21',NULL);
INSERT INTO `sicore_regimenes` VALUES (21,NULL,'25',1,'Anexo II, inc. j)','Comisiones u otras retribuciones derivadas de la actividad de comisionista, rematador, consignatario y demás auxiliares de comercio a que se refiere el inciso c) del artículo 49 de la Ley de ',0,0.00,28.00,16830,0,NULL,'2024-08-01 11:53:21',NULL),(22,NULL,'116',1,'Anexo ll, inc. k)','Honorarios de director de sociedades anónimas, síndico, fiduciario, consejero de sociedades cooperativas, integrante de consejos de vigilancia y socios administradores de las sociedades de re',0,0.00,28.00,67170,0,NULL,'2024-08-01 11:53:21',NULL),(23,NULL,'119',1,'Anexo ll, inc. k)','Profesionales liberales, oficios, albacea, mandatario, gestor de negocio.',0,0.00,28.00,16830,0,NULL,'2024-08-01 11:53:21',NULL),(24,NULL,'124',1,'Anexo ll, inc. k)','Corredor, viajante de comercio y despachante de aduana.',0,0.00,28.00,16830,0,NULL,'2024-08-01 11:53:21',NULL),(25,NULL,'53',0,'Anexo ll, inc. m)','Operaciones Realizadas a Través del mercado de Cereales a Término',0,0.50,2.00,0,1,NULL,NULL,NULL);

--
-- Table structure for table `sicore_rg830_escalas`
--

CREATE TABLE `sicore_rg830_escalas` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `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=9 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `sicore_rg830_escalas`
--

INSERT INTO `sicore_rg830_escalas` VALUES (1,0.00,8000.00,0.00,5.00,0.00,NULL,NULL,NULL),(2,8000.00,16000.00,400.00,9.00,8000.00,NULL,NULL,NULL),(3,16000.00,24000.00,1120.00,12.00,16000.00,NULL,NULL,NULL),(4,24000.00,32000.00,2080.00,15.00,24000.00,NULL,NULL,NULL),(5,32000.00,48000.00,3280.00,19.00,32000.00,NULL,NULL,NULL),(6,48000.00,64000.00,6320.00,23.00,48000.00,NULL,NULL,NULL),(7,64000.00,96000.00,10000.00,27.00,64000.00,NULL,NULL,NULL),(8,96000.00,999999999.00,18640.00,31.00,96000.00,NULL,NULL,NULL);

--
-- Table structure for table `sicore_rg830_reg_119`
--

CREATE TABLE `sicore_rg830_reg_119` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `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=9 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `sicore_rg830_reg_119`
--

INSERT INTO `sicore_rg830_reg_119` VALUES (1,0.00,8000.00,0.00,5.00,0.00,NULL,NULL,NULL),(2,71000.00,142000.00,3550.00,9.00,71000.00,NULL,NULL,NULL),(3,142000.00,213000.00,9940.00,12.00,142000.00,NULL,NULL,NULL),(4,213000.00,284000.00,18460.00,15.00,213000.00,NULL,NULL,NULL),(5,284000.00,426000.00,29110.00,19.00,284000.00,NULL,NULL,NULL),(6,426000.00,568000.00,56090.00,23.00,426000.00,NULL,NULL,NULL),(7,568000.00,852000.00,88750.00,27.00,568000.00,NULL,NULL,NULL),(8,852000.00,999999999.00,165430.00,31.00,852000.00,NULL,NULL,NULL);

--
-- Table structure for table `sim_gcias_remuneraciones`
--

CREATE TABLE `sim_gcias_remuneraciones` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `syj_liq_empleado_id` int(10) unsigned DEFAULT NULL,
  `empleado_id` int(10) unsigned NOT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `period_id` int(10) unsigned NOT NULL,
  `fecha_liquidacion` datetime DEFAULT NULL,
  `fecha_pago` datetime DEFAULT NULL,
  `remunerativos` decimal(13,2) NOT NULL DEFAULT '0.00',
  `no_remunerativos` decimal(13,2) NOT NULL DEFAULT '0.00',
  `jubilacion` decimal(13,2) NOT NULL DEFAULT '0.00',
  `inssjp` decimal(13,2) NOT NULL DEFAULT '0.00',
  `obra_social` decimal(13,2) NOT NULL DEFAULT '0.00',
  `sindicatos` decimal(13,2) NOT NULL DEFAULT '0.00',
  `otros_descuentos` decimal(13,2) NOT NULL DEFAULT '0.00',
  `retencion_ganancias` decimal(13,2) NOT NULL DEFAULT '0.00',
  `neto` decimal(13,2) NOT NULL DEFAULT '0.00',
  `is_liquidado` 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 `sim_gcias_remuneraciones_empleado_id_foreign` (`empleado_id`),
  KEY `sim_gcias_remuneraciones_person_id_foreign` (`person_id`),
  KEY `sim_gcias_remuneraciones_period_id_foreign` (`period_id`),
  KEY `sim_gcias_remuneraciones_syj_liq_empleado_id_foreign` (`syj_liq_empleado_id`),
  CONSTRAINT `sim_gcias_remuneraciones_empleado_id_foreign` FOREIGN KEY (`empleado_id`) REFERENCES `syj_empleados` (`id`),
  CONSTRAINT `sim_gcias_remuneraciones_period_id_foreign` FOREIGN KEY (`period_id`) REFERENCES `periods` (`id`),
  CONSTRAINT `sim_gcias_remuneraciones_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`),
  CONSTRAINT `sim_gcias_remuneraciones_syj_liq_empleado_id_foreign` FOREIGN KEY (`syj_liq_empleado_id`) REFERENCES `syj_liq_empleado` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `sim_gcias_remuneraciones`
--


--
-- Table structure for table `solicitantes_certificado`
--

CREATE TABLE `solicitantes_certificado` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `curso_id` int(10) unsigned NOT NULL,
  `nombre` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `mail` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `cuit` 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 `solicitantes_certificado_curso_id_foreign` (`curso_id`),
  CONSTRAINT `solicitantes_certificado_curso_id_foreign` FOREIGN KEY (`curso_id`) REFERENCES `cursos` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `solicitantes_certificado`
--


--
-- Table structure for table `status`
--

CREATE TABLE `status` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `receipt_type_id` int(10) unsigned DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `status_receipt_type_id_foreign` (`receipt_type_id`),
  CONSTRAINT `status_receipt_type_id_foreign` FOREIGN KEY (`receipt_type_id`) REFERENCES `receipt_types` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `status`
--

INSERT INTO `status` VALUES (1,'Activo',NULL,NULL,NULL),(2,'Anulado',NULL,NULL,NULL),(3,'Liquidado',NULL,NULL,NULL);

--
-- Table structure for table `suscrip_modulos`
--

CREATE TABLE `suscrip_modulos` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_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`)
) ENGINE=InnoDB AUTO_INCREMENT=8 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `suscrip_modulos`
--

INSERT INTO `suscrip_modulos` VALUES (1,0,'Administración',1,NULL,NULL,NULL),(2,0,'Sueldos',1,NULL,NULL,NULL),(3,0,'Impuestos',1,NULL,NULL,NULL),(4,0,'Contabilidad',1,NULL,NULL,NULL),(5,0,'Factura Electrónica',1,NULL,NULL,NULL),(6,0,'Tesorería',1,NULL,NULL,NULL),(7,0,'Del Contador',1,NULL,NULL,NULL);

--
-- Table structure for table `suscrip_planes`
--

CREATE TABLE `suscrip_planes` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned NOT NULL,
  `descripcion` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `importe` decimal(16,2) 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`)
) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `suscrip_planes`
--

INSERT INTO `suscrip_planes` VALUES (1,0,'GRATIS',0.00,1,NULL,NULL,NULL),(2,0,'BASICO',1000.00,1,NULL,NULL,NULL),(3,0,'MEDIO',2500.00,1,NULL,NULL,NULL),(4,0,'FULL',4000.00,1,NULL,NULL,NULL);

--
-- Table structure for table `suscrip_planes_detail`
--

CREATE TABLE `suscrip_planes_detail` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned NOT NULL,
  `suscrip_plan_id` int(10) unsigned NOT NULL,
  `suscrip_modulo_id` int(10) unsigned NOT NULL,
  `permitido` tinyint(1) NOT NULL DEFAULT '1',
  `descripcion` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `icono` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `numero` 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 `suscrip_planes_detail_suscrip_plan_id_foreign` (`suscrip_plan_id`),
  KEY `suscrip_planes_detail_suscrip_modulo_id_foreign` (`suscrip_modulo_id`),
  CONSTRAINT `suscrip_planes_detail_suscrip_modulo_id_foreign` FOREIGN KEY (`suscrip_modulo_id`) REFERENCES `suscrip_modulos` (`id`),
  CONSTRAINT `suscrip_planes_detail_suscrip_plan_id_foreign` FOREIGN KEY (`suscrip_plan_id`) REFERENCES `suscrip_planes` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=85 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `suscrip_planes_detail`
--

INSERT INTO `suscrip_planes_detail` VALUES (1,0,1,1,1,'CUITs para operar','','1',1,NULL,NULL,NULL),(2,0,1,1,0,'Usuarios para tus clientes','fa fa-times-circle','',1,NULL,NULL,NULL),(3,0,1,1,1,'Reporte de Control Total de las liquidaciones','fa fa-check-circle','',1,NULL,NULL,NULL),(4,0,1,1,0,'Enviar estado de deudas impositivas','fa fa-times-circle','',1,NULL,NULL,NULL),(5,0,1,1,0,'Enviar vencimientos y honorarios de tus clientes','fa fa-times-circle','',1,NULL,NULL,NULL),(6,0,2,1,1,'CUITs para operar','','30',1,NULL,NULL,NULL),(7,0,2,1,1,'Usuarios para tus clientes','fa fa-check-circle','5',1,NULL,NULL,NULL),(8,0,2,1,1,'Reporte de Control Total de las liquidaciones','fa fa-check-circle','',1,NULL,NULL,NULL),(9,0,2,1,0,'Enviar estado de deudas impositivas','fa fa-times-circle','',1,NULL,NULL,NULL),(10,0,2,1,0,'Enviar vencimientos y honorarios de tus clientes','fa fa-times-circle','',1,NULL,NULL,NULL),(11,0,3,1,1,'CUITs para operar','','100',1,NULL,NULL,NULL),(12,0,3,1,1,'Usuarios para tus clientes','fa fa-check-circle','15',1,NULL,NULL,NULL),(13,0,3,1,1,'Reporte de Control Total de las liquidaciones','fa fa-check-circle','',1,NULL,NULL,NULL),(14,0,3,1,1,'Enviar estado de deudas impositivas','fa fa-check-circle','',1,NULL,NULL,NULL),(15,0,3,1,1,'Enviar vencimientos y honorarios de tus clientes','fa fa-check-circle','',1,NULL,NULL,NULL),(16,0,4,1,1,'CUITs para operar','','200',1,NULL,NULL,NULL),(17,0,4,1,1,'Usuarios para tus clientes','fa fa-check-circle','30',1,NULL,NULL,NULL),(18,0,4,1,1,'Reporte de Control Total de las liquidaciones','fa fa-check-circle','',1,NULL,NULL,NULL),(19,0,4,1,1,'Enviar estado de deudas impositivas','fa fa-check-circle','',1,NULL,NULL,NULL),(20,0,4,1,1,'Enviar vencimientos y honorarios de tus clientes','fa fa-check-circle','',1,NULL,NULL,NULL),(21,0,1,2,1,'Total de Legajos','','10',1,NULL,NULL,NULL),(22,0,1,2,0,'Creacion de convenios colectivos de trabajo','fa fa-times-circle','',1,NULL,NULL,NULL),(23,0,1,2,1,'TXT para SICOSS','fa fa-check-circle','',1,NULL,NULL,NULL),(24,0,1,2,1,'Reportes de sueldos','fa fa-check-circle','',1,NULL,NULL,NULL),(25,0,2,2,1,'Total de Legajos','','50',1,NULL,NULL,NULL),(26,0,2,2,1,'Creacion de convenios colectivos de trabajo','fa fa-check-circle','',1,NULL,NULL,NULL),(27,0,2,2,1,'TXT para SICOSS','fa fa-check-circle','',1,NULL,NULL,NULL),(28,0,2,2,1,'Reportes de sueldos','fa fa-check-circle','',1,NULL,NULL,NULL),(29,0,3,2,1,'Total de Legajos','','200',1,NULL,NULL,NULL),(30,0,3,2,1,'Creacion de convenios colectivos de trabajo','fa fa-check-circle','',1,NULL,NULL,NULL),(31,0,3,2,1,'TXT para SICOSS','fa fa-check-circle','',1,NULL,NULL,NULL),(32,0,3,2,1,'Reportes de sueldos','fa fa-check-circle','',1,NULL,NULL,NULL),(33,0,4,2,1,'Total de Legajos','','200',1,NULL,NULL,NULL),(34,0,4,2,1,'Creacion de convenios colectivos de trabajo','fa fa-check-circle','',1,NULL,NULL,NULL),(35,0,4,2,1,'TXT para SICOSS','fa fa-check-circle','',1,NULL,NULL,NULL),(36,0,4,2,1,'Reportes de sueldos','fa fa-check-circle','',1,NULL,NULL,NULL),(37,0,1,3,1,'Cant. Comprobantes','','100',1,NULL,NULL,NULL),(38,0,1,3,1,'TXT Citi Ventas - Libro IVA Digital','fa fa-check-circle','',1,NULL,NULL,NULL),(39,0,1,3,1,'Importacion de Ventas y Compras desde AFIP','fa fa-check-circle','',1,NULL,NULL,NULL),(40,0,1,3,0,'Ventanilla Electronica','fa fa-times-circle','',1,NULL,NULL,NULL),(41,0,2,3,1,'Cant. Comprobantes','','Ilimitado',1,NULL,NULL,NULL),(42,0,2,3,1,'TXT Citi Ventas - Libro IVA Digital','fa fa-check-circle','',1,NULL,NULL,NULL),(43,0,2,3,1,'Importacion de Ventas y Compras desde AFIP','fa fa-check-circle','',1,NULL,NULL,NULL),(44,0,2,3,1,'Ventanilla Electronica','fa fa-check-circle','',1,NULL,NULL,NULL),(45,0,3,3,1,'Cant. Comprobantes','','Ilimitado',1,NULL,NULL,NULL),(46,0,3,3,1,'TXT Citi Ventas - Libro IVA Digital','fa fa-check-circle','',1,NULL,NULL,NULL),(47,0,3,3,1,'Importacion de Ventas y Compras desde AFIP','fa fa-check-circle','',1,NULL,NULL,NULL),(48,0,3,3,1,'Ventanilla Electronica','fa fa-check-circle','',1,NULL,NULL,NULL);
INSERT INTO `suscrip_planes_detail` VALUES (49,0,4,3,1,'Cant. Comprobantes','','Ilimitado',1,NULL,NULL,NULL),(50,0,4,3,1,'TXT Citi Ventas - Libro IVA Digital','fa fa-check-circle','',1,NULL,NULL,NULL),(51,0,4,3,1,'Importacion de Ventas y Compras desde AFIP','fa fa-check-circle','',1,NULL,NULL,NULL),(52,0,4,3,1,'Ventanilla Electronica','fa fa-check-circle','',1,NULL,NULL,NULL),(53,0,1,4,1,'Ajuste por Inflacion','fa fa-check-circle','',1,NULL,NULL,NULL),(54,0,1,4,1,'Registracion de Actas Societarias','fa fa-check-circle','',1,NULL,NULL,NULL),(55,0,1,4,1,'Libros Contables','fa fa-check-circle','',1,NULL,NULL,NULL),(56,0,1,4,1,'Reportes','fa fa-check-circle','',1,NULL,NULL,NULL),(57,0,2,4,1,'Ajuste por Inflacion','fa fa-check-circle','',1,NULL,NULL,NULL),(58,0,2,4,1,'Registracion de Actas Societarias','fa fa-check-circle','',1,NULL,NULL,NULL),(59,0,2,4,1,'Libros Contables','fa fa-check-circle','',1,NULL,NULL,NULL),(60,0,2,4,1,'Reportes','fa fa-check-circle','',1,NULL,NULL,NULL),(61,0,3,4,1,'Ajuste por Inflacion','fa fa-check-circle','',1,NULL,NULL,NULL),(62,0,3,4,1,'Registracion de Actas Societarias','fa fa-check-circle','',1,NULL,NULL,NULL),(63,0,3,4,1,'Libros Contables','fa fa-check-circle','',1,NULL,NULL,NULL),(64,0,3,4,1,'Reportes','fa fa-check-circle','',1,NULL,NULL,NULL),(65,0,4,4,1,'Ajuste por Inflacion','fa fa-check-circle','',1,NULL,NULL,NULL),(66,0,4,4,1,'Registracion de Actas Societarias','fa fa-check-circle','',1,NULL,NULL,NULL),(67,0,4,4,1,'Libros Contables','fa fa-check-circle','',1,NULL,NULL,NULL),(68,0,4,4,1,'Reportes','fa fa-check-circle','',1,NULL,NULL,NULL),(69,0,1,5,0,'Facturacion Electronica','fa fa-times-circle','',1,NULL,NULL,NULL),(70,0,1,5,1,'Facturacion Masiva y envio de facturas via email','fa fa-check-circle','',1,NULL,NULL,NULL),(71,0,1,5,1,'Remitos-Recibos-Presupuestos','fa fa-check-circle','',1,NULL,NULL,NULL),(72,0,1,5,1,'Reportes','fa fa-check-circle','',1,NULL,NULL,NULL),(73,0,2,5,1,'Facturacion Electronica','fa fa-check-circle','',1,NULL,NULL,NULL),(74,0,2,5,1,'Facturacion Masiva y envio de facturas via email','fa fa-check-circle','',1,NULL,NULL,NULL),(75,0,2,5,1,'Remitos-Recibos-Presupuestos','fa fa-check-circle','',1,NULL,NULL,NULL),(76,0,2,5,1,'Reportes','fa fa-check-circle','',1,NULL,NULL,NULL),(77,0,3,5,1,'Facturacion Electronica','fa fa-check-circle','',1,NULL,NULL,NULL),(78,0,3,5,1,'Facturacion Masiva y envio de facturas via email','fa fa-check-circle','',1,NULL,NULL,NULL),(79,0,3,5,1,'Remitos-Recibos-Presupuestos','fa fa-check-circle','',1,NULL,NULL,NULL),(80,0,3,5,1,'Reportes','fa fa-check-circle','',1,NULL,NULL,NULL),(81,0,4,5,1,'Facturacion Electronica','fa fa-check-circle','',1,NULL,NULL,NULL),(82,0,4,5,1,'Facturacion Masiva y envio de facturas via email','fa fa-check-circle','',1,NULL,NULL,NULL),(83,0,4,5,1,'Remitos-Recibos-Presupuestos','fa fa-check-circle','',1,NULL,NULL,NULL),(84,0,4,5,1,'Reportes','fa fa-check-circle','',1,NULL,NULL,NULL);

--
-- Table structure for table `syj_actividad`
--

CREATE TABLE `syj_actividad` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `codigo_afip` int(10) unsigned NOT NULL,
  `descripcion` varchar(191) 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`),
  UNIQUE KEY `syj_actividad_codigo_afip_unique` (`codigo_afip`),
  UNIQUE KEY `syj_actividad_descripcion_unique` (`descripcion`)
) ENGINE=InnoDB AUTO_INCREMENT=145 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `syj_actividad`
--

INSERT INTO `syj_actividad` VALUES (1,NULL,0,'Zona de Desastre. Decreto 1386/01',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(2,NULL,1,'Produccion Primaria excepto actividad agropec',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(3,NULL,2,'Produccion de bienes sin comercializacion',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(4,NULL,3,'Construccion de inmuebles',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(5,NULL,4,'Turismo',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(6,NULL,5,'Investigacion Cientifica y Tecnologica',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(7,NULL,6,'Administracion Publica CON OBRA SOCIAL 23660',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(8,NULL,7,'Enseñanza Privada L.13047 no comp.en D 137/05',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(9,NULL,8,'Servicio Domestico',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(10,NULL,9,'Servicios energeticos Res.MTESS 268 y 824/09',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(11,NULL,10,'UNIVERSIDADES PRIVADAS.Personal No Doc. D112',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(12,NULL,11,'Personal Permanente Disc.Emp.de Ss.Eventuales',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(13,NULL,12,'PIT-Programas Intensivos de Trabajo',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(14,NULL,13,'Personal embarcado',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(15,NULL,14,'Personal embarcado Dec 1255 S/ res SSS 18/99',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(16,NULL,15,'LRT- Direct. SA,municipios,org cent y desc,Em',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(17,NULL,16,'No oblig con el SIJP(colegios,reciproc prev y',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(18,NULL,17,'Oblig.al SIJP-sin Obra Social Nac(Adm Pub y',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(19,NULL,18,'Prov incorp al SIJP sin obra social con ART',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(20,NULL,19,'Provincia incorp al SIJP sin obra social sin',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(21,NULL,20,'Ley Nº 24.331 Zona Franca',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(22,NULL,21,'D Nº1024/93 Empr del Est,Org y Entes Pub c/OS',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(23,NULL,22,'D Nº1024/93 Empr del Est,Org y Entes Pub s/OS',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(24,NULL,23,'ILT para actividad 21',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(25,NULL,24,'ILPPP o ILPPD para actividad 21',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(26,NULL,25,'ILPTP para actividad 21',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(27,NULL,26,'ILT para actividad 22',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(28,NULL,27,'Servicio exterior Ley Nº22731',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(29,NULL,28,'ILPTP para actividad 22',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(30,NULL,29,'Pers embarc Dec 1255 S/res SSS 18/99 c/OS',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(31,NULL,30,'AFA Dec Nº1212/03 Aportante Autonomo',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(32,NULL,31,'Trabajador Rural de la Armada Argentina Ley 2',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(33,NULL,32,'CSJN Corte Supr de Justicia, Magist Prov, Rev',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(34,NULL,33,'Representante Gremial en uso de licencia',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(35,NULL,34,'Docentes est nacionales CON OBRA SOCIAL 23660',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(36,NULL,35,'Docentes est nacionales SIN OBRA SOCIAL 23660',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(37,NULL,36,'Inv cientif tecnolog docente univ est nac c/O',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(38,NULL,37,'Inv cientif tecnolog docente univ est nac s/O',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL);
INSERT INTO `syj_actividad` VALUES (39,NULL,38,'Docentes privados Res 71/99 SSS Dec 137/05',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(40,NULL,39,'No Docentes Privados Res 71/99 SSS',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(41,NULL,40,'Industria del software Ley Nº 25922',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(42,NULL,41,'Trabajador de la Const Ley 25345 art 36',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(43,NULL,42,'Asignaciones Familiares y FNE con OS Nacional',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(44,NULL,43,'Asignaciones Familiares y FNE sin OS Nacional',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(45,NULL,44,'Ley Nº 24061 Dto 249/92',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(46,NULL,45,'Prov incorp al SIJP c/OS Nac con ART',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(47,NULL,46,'Prov incorp al SIJP con OS Nacional sin ART',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(48,NULL,47,'Ley Nº 15223 con Obra Social',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(49,NULL,48,'Regimen nacional sin Obra Social nacional',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(50,NULL,49,'Actividades no clasificadas',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(51,NULL,50,'POLICIA DE LA RIOJA',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(52,NULL,51,'POLICIA DE JUJUY',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(53,NULL,52,'POLICIA DE TUCUMAN',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(54,NULL,53,'POLICIA DE CATAMARCA',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(55,NULL,54,'POLICIA DE RIO NEGRO',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(56,NULL,55,'POLICIA DE MENDOZA',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(57,NULL,56,'POLICIA DE SANTIAGO DEL ESTERO',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(58,NULL,57,'POLICIA DE SALTA',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(59,NULL,58,'POLICIA DE SAN JUAN',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(60,NULL,59,'POLICIA DE SAN LUIS',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(61,NULL,60,'SERVICIO PENITENCIARIO DE SAN LUIS',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(62,NULL,61,'POLICIA METROPOLITANA DEL GOB DE LA CABA',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(63,NULL,62,'Personal sin estado policial POLICIA METROP',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(64,NULL,63,'SERVICIO PENITENCIARIO DE LA RIOJA',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(65,NULL,64,'SERVICIO PENITENCIARIO DE JUJUY',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(66,NULL,65,'SERVICIO PENITENCIARIO DE TUCUMAN',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(67,NULL,66,'SERVICIO PENITENCIARIO DE CATAMARCA',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(68,NULL,67,'SERVICIO PENITENCIARIO DE RIO NEGRO',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(69,NULL,68,'SERVICO PENITENCIARIO DE MENDOZA',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(70,NULL,69,'Legisladores Nacionales(diputados y senadores',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(71,NULL,70,'SERVICIO PENITENCIARIO DE SANTIAGO DEL ESTERO',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(72,NULL,71,'SERVICIO PENITENCIARIO DE SALTA',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(73,NULL,72,'SERVICIO PENITENCIARIO DE SAN JUAN',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(74,NULL,73,'ILT p/actividad 91',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(75,NULL,74,'ILPPP o ILPPD p/actividad 91',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(76,NULL,75,'Docente de Prov incorp SIJP s/OS Nac c/ART',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(77,NULL,76,'Docente de Prov incorp SIJP s/OS Nac s/ART',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(78,NULL,77,'Docente de Prov incorp SIJP c/OS Nac c/ART',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL);
INSERT INTO `syj_actividad` VALUES (79,NULL,78,'Invest cient tecnolog docente univ Prov inc S',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(80,NULL,79,'Invest cientif tecnolog Prov incorp al SIJP c',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(81,NULL,80,'ILPTP p/activ 01 02 03 04 05 11 13 49 91',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(82,NULL,81,'Funcionarios del PJ y otros Ley Nº24018',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(83,NULL,82,'Funcionarios del PE y otros Ley Nº 24018',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(84,NULL,83,'Presidente de la Nacion y Vicep de la Nacion',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(85,NULL,84,'Docentes Privados Res 71/99 SSS D 137/05 s/OS',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(86,NULL,85,'Magistrados Prov,Revisores de Cta-docentes',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(87,NULL,86,'Decreto 1474/2007 actividad minera',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(88,NULL,87,'Ley 26508 docentes univ c/OS Nacional',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(89,NULL,88,'Ley 26508 docentes univ s/OS Nacional',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(90,NULL,89,'ILPTP p/actividad 97',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(91,NULL,90,'ILT o ILPPP o ILPTP p/actividad 15',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(92,NULL,91,'Regimen previsional propio. OS L.23660 y 2471',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(93,NULL,92,'Res 71/99 SSS y otros',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(94,NULL,93,'UNIV PRIVADAS Personal Docente D 1123/99',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(95,NULL,94,'Decreto 953/99',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(96,NULL,95,'Ley Nº 15223 sin Obra Social',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(97,NULL,96,'Pers Perm Disc Serv Event Alcanz p/Dto96/99',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(98,NULL,97,'Trabajador Agrario Ley 25191',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(99,NULL,98,'Zona de Desastre Dec Nº1386/01 Act Agropecuar',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(100,NULL,99,'Trabajador Agrario (excluido Ley 26727)',1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(101,NULL,100,'CSJN Corte Supr de Justicia, Magistrados provinciales, Revisores de Cta sin ART',1,NULL,NULL,NULL),(102,NULL,101,'Magistrados provinciales, Revisores de Cta -docentes sin ART',1,NULL,NULL,NULL),(103,NULL,102,'Zona de Desastre Decreto N° 1386/01. Actividad Agropecuaria Ley N° 25191',1,NULL,NULL,NULL),(104,NULL,103,'Trabajador Agrario Ley 23808 y otros regímenes',1,NULL,NULL,NULL),(105,NULL,104,'Zona de Desastre Decreto N° 1386/01. Actividad Agropecuaria Ley N° 23808 y otros regímenes',1,NULL,NULL,NULL),(106,NULL,105,'Dto. 637/13. Personal civil de las Fuerzas Armadas y de Seguridad excepto personal civil docente perteneciente a otra OS',1,NULL,NULL,NULL),(107,NULL,106,'Administración Pública CON OBRA SOCIAL 23660 (con PAMI) Tipo de empleador especial',1,NULL,NULL,NULL),(108,NULL,107,'Serv. energéticos Res. MTESS 268 y 824/09 Empr del Estado, Org. y Entes Públicos (Dto. 1024/93) s/OS, c/FNE s/ As. Fs.',1,NULL,NULL,NULL),(109,NULL,108,'Serv. energéticos Res. MTESS 268 y 824/09 Emp. del estado y Org. y Entes públicos ( Dto. 1024/93) con OS y FNE sin As. Fs.',1,NULL,NULL,NULL),(110,NULL,109,'Servicios energéticos Res.MTESS 268 y 824/09 - Provincias (sin PAMI y sin OS)',1,NULL,NULL,NULL),(111,NULL,110,'Servicios energéticos Res.MTESS 268 y 824/09 - Provincias con OS',1,NULL,NULL,NULL),(112,NULL,111,'Servicios energéticos Res.MTESS 268 y 824/09 - Provincias (sin PAMI y sin OS) sin ART',1,NULL,NULL,NULL),(113,NULL,112,'Servicios energéticos Res.MTESS 268 y 824/09 - Provincias con OS sin ART',1,NULL,NULL,NULL),(114,NULL,113,'Policía Federal del Gobierno de la Ciudad de Buenos Aires',1,NULL,NULL,NULL);
INSERT INTO `syj_actividad` VALUES (115,NULL,117,'Obligados al SIJP -sin Obra Social Nacional (Adm Pub y otros) y SIN PAMI - Tipo de empleador especial',1,NULL,NULL,NULL),(116,NULL,119,'Detracción especial - Ley Nº 27430 - Textiles',1,NULL,NULL,NULL),(117,NULL,120,'Detracción Ampliada - Dcto. 128/2019',1,NULL,NULL,NULL),(118,NULL,122,'Trabajador Agrario. Ley 26727 - Detracción Ampliada Dcto. 128/2019',1,NULL,NULL,NULL),(119,NULL,123,'Trabajador Agrario Ley 25191 - Detracción Ampliada Dcto. 128/2019',1,NULL,NULL,NULL),(120,NULL,124,'Trabajador Agrario Ley 23808 y otros regímenes - Detracción Ampliada Dcto. 128/2019',1,NULL,NULL,NULL),(121,NULL,125,'Actividades no clasificadas-Detracción Ampliada - Dcto. 688/2019 - Dcto. 34/2021 - Dcto 242/2021',1,NULL,NULL,NULL),(122,NULL,126,'Ley Nº 15223 con obra social-Detracción Ampliada - Dcto. 688/2019  -  Dcto. 34/2021 -  Dcto 242/2021',1,NULL,NULL,NULL),(123,NULL,127,'Actividades no clasificadas - Sector Salud Dcto. 34/2021  -  Dcto 242/2021',1,NULL,NULL,NULL),(124,NULL,128,'Ley Nº 15223 con obra social - Sector Salud Dcto. 34/2021  -  Dcto 242/2021',1,NULL,NULL,NULL),(125,NULL,129,'Actividades no clasificadas-Detracción Ampliada - Dcto. 688/2019',1,NULL,NULL,NULL),(126,NULL,130,'Ley Nº 15223 con obra social-Detracción Ampliada - Dcto. 688/2019.',1,NULL,NULL,NULL),(127,NULL,131,'Regimen previsional propio.  Obra Social L.23660 Y FNE',1,NULL,NULL,NULL),(128,NULL,132,'Economía del conocimiento - Ley 27.506. Art. 8',1,NULL,NULL,NULL),(129,NULL,133,'Economía del conocimiento - Ley 27.506. Art. 9',1,NULL,NULL,NULL),(130,NULL,901,'Poder judicial (sin ART)',1,NULL,NULL,NULL),(131,NULL,902,'Poder judicial (con ART)',1,NULL,NULL,NULL),(132,NULL,903,'Poder Legislativo (sin ART)',1,NULL,NULL,NULL),(133,NULL,904,'Poder Legislativo (con ART)',1,NULL,NULL,NULL),(134,NULL,905,'Empleo público en Gral. (sin ART)',1,NULL,NULL,NULL),(135,NULL,906,'Empleo público en Gral. (con ART)',1,NULL,NULL,NULL),(136,NULL,907,'Docente (sin ART)',1,NULL,NULL,NULL),(137,NULL,908,'Docente (con ART)',1,NULL,NULL,NULL),(138,NULL,909,'Fuerza de seguridad (sin ART)',1,NULL,NULL,NULL),(139,NULL,910,'Fuerza de seguridad (con ART)',1,NULL,NULL,NULL),(140,NULL,911,'No clasificados (sin ART)',1,NULL,NULL,NULL),(141,NULL,912,'No clasificados (con ART)',1,NULL,NULL,NULL),(142,NULL,913,'Prestadores de servicios (monotributo y/o autónomos)',1,NULL,NULL,NULL),(143,NULL,920,'No obligados al SIPA - informativo (sin ART)',1,NULL,NULL,NULL),(144,NULL,921,'No obligados al SIPA - informativo (con ART)',1,NULL,NULL,NULL);

--
-- Table structure for table `syj_alicuota_aporte_contribucion`
--

CREATE TABLE `syj_alicuota_aporte_contribucion` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `codigo_afip` int(10) unsigned NOT NULL,
  `descripcion` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `apsijp` decimal(20,6) NOT NULL DEFAULT '0.000000',
  `apinssjp` decimal(20,6) NOT NULL DEFAULT '0.000000',
  `aposoc` decimal(20,6) NOT NULL DEFAULT '0.000000',
  `apadosoc` decimal(20,6) NOT NULL DEFAULT '0.000000',
  `alicvales` decimal(20,6) NOT NULL DEFAULT '0.000000',
  `cosijp` decimal(20,6) NOT NULL DEFAULT '0.000000',
  `coasigfam` decimal(20,6) NOT NULL DEFAULT '0.000000',
  `cofne` decimal(20,6) NOT NULL DEFAULT '0.000000',
  `coinssjp` decimal(20,6) NOT NULL DEFAULT '0.000000',
  `coosoc` decimal(20,6) NOT NULL DEFAULT '0.000000',
  `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`),
  UNIQUE KEY `syj_alicuota_aporte_contribucion_codigo_afip_unique` (`codigo_afip`),
  UNIQUE KEY `syj_alicuota_aporte_contribucion_descripcion_unique` (`descripcion`)
) ENGINE=InnoDB AUTO_INCREMENT=9 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `syj_alicuota_aporte_contribucion`
--

INSERT INTO `syj_alicuota_aporte_contribucion` VALUES (1,NULL,0,'Administracion Publica',11.000000,3.000000,3.000000,1.500000,0.000000,16.000000,7.500000,1.500000,2.000000,6.000000,1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(2,NULL,1,'Decreto 814/01, art 2, inc. B',11.000000,3.000000,3.000000,1.500000,0.000000,10.170000,4.440000,0.890000,1.500000,6.000000,1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(3,NULL,2,'Servicios Eventuales art. 2, inc. B',11.000000,3.000000,3.000000,1.500000,0.000000,10.170000,4.440000,0.890000,1.500000,6.000000,1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(4,NULL,3,'Provincias u otros',11.000000,3.000000,3.000000,1.500000,0.000000,16.000000,7.500000,1.500000,2.000000,6.000000,1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(5,NULL,4,'Decreto 814/01 art 2, inc. A',11.000000,3.000000,3.000000,1.500000,0.000000,12.710000,5.560000,1.110000,1.620000,6.000000,1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(6,NULL,5,'Servicios Eventuales art 2, inc. A',11.000000,3.000000,3.000000,1.500000,0.000000,12.710000,5.560000,1.110000,1.620000,6.000000,1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(7,NULL,7,'Enseñanza Privada',11.000000,3.000000,3.000000,1.500000,0.000000,16.000000,7.500000,1.500000,0.000000,6.000000,1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL),(8,NULL,8,'Decreto Nº 1212/03 AFA CLUBES',11.000000,3.000000,3.000000,1.500000,0.000000,10.170000,4.440000,0.890000,1.500000,6.000000,1,'2020-05-28 20:55:21','2020-05-28 20:55:21',NULL);

--
-- Table structure for table `syj_cargos`
--

CREATE TABLE `syj_cargos` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned 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 `syj_cargos_person_id_foreign` (`person_id`),
  CONSTRAINT `syj_cargos_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=28 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `syj_cargos`
--

INSERT INTO `syj_cargos` VALUES (1,8325,40757,'gerente',1,'2023-01-18 16:06:19','2023-01-18 16:06:51','2023-01-18 16:06:51'),(2,8325,40757,'empleado',1,'2023-01-18 16:07:22','2023-01-18 16:07:22',NULL),(3,8325,40769,'VENDEDOR Cat. B',1,'2023-05-02 09:56:10','2023-05-02 09:56:10',NULL),(4,8325,40769,'AUXILIAR Cat. C',1,'2023-05-02 11:43:47','2023-05-02 11:43:47',NULL),(5,8325,40786,'Oficial',1,'2023-05-28 18:04:51','2023-05-28 18:04:51',NULL),(6,8325,40787,'Vendedor Cat. B',1,'2023-05-28 18:27:17','2023-05-28 18:27:17',NULL),(7,8325,40787,'Oficial',1,'2023-05-28 18:27:27','2023-05-28 18:27:27',NULL),(8,8325,40788,'Vigilador General',1,'2023-05-31 10:58:33','2023-05-31 10:58:33',NULL),(9,8325,40816,'Administrativa tercera',1,'2023-05-31 13:28:53','2023-05-31 13:28:53',NULL),(10,8325,40817,'Chofer',1,'2023-05-31 14:13:16','2023-05-31 14:13:16',NULL),(11,8325,40817,'Administrativa',1,'2023-05-31 14:37:42','2023-05-31 14:37:42',NULL),(12,8325,40844,'Conductor',1,'2023-05-31 15:02:25','2023-05-31 15:02:25',NULL),(13,8325,40844,'Auxiliar de primera',1,'2023-05-31 15:03:10','2023-05-31 15:03:10',NULL),(14,8325,40845,'Ayudante',1,'2023-06-16 13:53:51','2023-06-16 13:53:51',NULL),(15,8325,40846,'Peón',1,'2023-06-27 10:40:42','2023-06-27 10:40:42',NULL),(16,8325,40853,'VENDEDOR Cat. A',1,'2023-06-29 12:18:14','2023-06-29 12:18:14',NULL),(17,8325,40853,'VENDEDOR Cat. B',1,'2023-06-29 12:19:10','2023-06-29 12:19:10',NULL),(18,8325,40848,'Vendedor Cat. B',1,'2023-06-29 13:31:29','2023-06-29 13:31:29',NULL),(19,8325,40848,'Vendedor Cat. A',1,'2023-06-29 13:31:47','2023-06-29 13:31:47',NULL),(20,8325,40848,'Vendedor y promotor',1,'2023-06-29 13:31:56','2023-06-29 13:31:56',NULL),(21,8325,40848,'Maestranza y servicios Cat. A',1,'2023-06-29 13:32:08','2023-06-29 13:32:08',NULL),(22,8325,40849,'Ayudante',1,'2023-06-29 14:07:36','2023-06-29 14:07:36',NULL),(23,8325,40850,'Oficial',1,'2023-06-29 14:14:51','2023-06-29 14:14:51',NULL),(24,8325,40851,'Operador',1,'2023-06-29 14:23:10','2023-06-29 14:23:10',NULL),(25,8325,40847,'Ayudante',1,'2023-06-29 18:09:46','2023-06-29 18:09:46',NULL),(26,8325,40847,'Oficial',1,'2023-06-29 18:09:52','2023-06-29 18:09:52',NULL),(27,8325,40847,'Personal de Maestranza',1,'2023-06-29 18:10:25','2023-06-29 18:10:25',NULL);

--
-- Table structure for table `syj_centros_costos`
--

CREATE TABLE `syj_centros_costos` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned 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 `syj_centros_costos_person_id_foreign` (`person_id`),
  CONSTRAINT `syj_centros_costos_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=27 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `syj_centros_costos`
--

INSERT INTO `syj_centros_costos` VALUES (1,8325,40757,'sueldo',1,'2023-01-18 16:06:33','2023-01-18 16:06:33',NULL),(2,8325,40769,'VENDEDOR Cat. B',1,'2023-05-02 09:55:48','2023-05-02 09:55:48',NULL),(3,8325,40769,'AUXILIAR Cat. C',1,'2023-05-02 11:43:27','2023-05-02 11:43:27',NULL),(4,8325,40786,'Oficial',1,'2023-05-28 18:01:47','2023-05-28 18:01:47',NULL),(5,8325,40787,'VENDEDOR Cat. B',1,'2023-05-28 18:26:54','2023-05-28 18:26:54',NULL),(6,8325,40787,'Oficial',1,'2023-05-28 18:27:05','2023-05-28 18:27:05',NULL),(7,8325,40788,'Vigilador General',1,'2023-05-31 10:58:20','2023-05-31 10:58:20',NULL),(8,8325,40816,'Cuarta categoria',1,'2023-05-31 13:28:38','2023-05-31 13:28:38',NULL),(9,8325,40817,'Chofer',1,'2023-05-31 14:13:06','2023-05-31 14:13:06',NULL),(10,8325,40817,'Administrativa',1,'2023-05-31 14:37:31','2023-05-31 14:37:31',NULL),(11,8325,40844,'Conductor',1,'2023-05-31 15:02:24','2023-05-31 15:02:24',NULL),(12,8325,40844,'Auxiliar de primera',1,'2023-05-31 15:03:00','2023-05-31 15:03:00',NULL),(13,8325,40845,'Ayudante',1,'2023-06-16 13:53:42','2023-06-16 13:53:42',NULL),(14,8325,40846,'Peón',1,'2023-06-27 10:40:49','2023-06-27 10:40:49',NULL),(15,8325,40853,'VENDEDOR Cat. A',1,'2023-06-29 12:18:02','2023-06-29 12:18:02',NULL),(16,8325,40853,'VENDEDOR Cat. B',1,'2023-06-29 12:18:56','2023-06-29 12:18:56',NULL),(17,8325,40848,'Vendedor Cat. A',1,'2023-06-29 13:30:27','2023-06-29 13:30:27',NULL),(18,8325,40848,'Vendedor Cat. B',1,'2023-06-29 13:30:37','2023-06-29 13:30:37',NULL),(19,8325,40848,'Vendedor y promotor',1,'2023-06-29 13:30:49','2023-06-29 13:30:49',NULL),(20,8325,40848,'Maestranza y servicios Cat. A',1,'2023-06-29 13:31:12','2023-06-29 13:31:12',NULL),(21,8325,40849,'Ayudante',1,'2023-06-29 14:07:30','2023-06-29 14:07:30',NULL),(22,8325,40850,'Oficial',1,'2023-06-29 14:14:44','2023-06-29 14:14:44',NULL),(23,8325,40851,'Operador',1,'2023-06-29 14:23:01','2023-06-29 14:23:01',NULL),(24,8325,40847,'Ayudante',1,'2023-06-29 18:09:07','2023-06-29 18:09:07',NULL),(25,8325,40847,'Oficial',1,'2023-06-29 18:09:18','2023-06-29 18:09:18',NULL),(26,8325,40847,'Personal de Maestranza',1,'2023-06-29 18:09:27','2023-06-29 18:09:27',NULL);

--
-- Table structure for table `syj_clase_tipo_liquidacion`
--

CREATE TABLE `syj_clase_tipo_liquidacion` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT 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`)
) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `syj_clase_tipo_liquidacion`
--

INSERT INTO `syj_clase_tipo_liquidacion` VALUES (1,NULL,'Mensual',1,NULL,NULL,NULL),(2,NULL,'Quincenal',1,NULL,NULL,NULL),(3,NULL,'Vacaciones',1,NULL,NULL,NULL),(4,NULL,'Aguinaldo',1,NULL,NULL,NULL),(5,NULL,'Final',1,NULL,NULL,NULL);

--
-- Table structure for table `syj_concepto_alcance`
--

CREATE TABLE `syj_concepto_alcance` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT 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`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `syj_concepto_alcance`
--

INSERT INTO `syj_concepto_alcance` VALUES (1,NULL,'General',1,'2020-05-28 20:55:25','2020-05-28 20:55:25',NULL),(2,NULL,'Por empleado',1,'2020-05-28 20:55:25','2020-05-28 20:55:25',NULL);

--
-- Table structure for table `syj_concepto_asoc_cant`
--

CREATE TABLE `syj_concepto_asoc_cant` (
  `user_id` int(10) unsigned DEFAULT NULL,
  `syj_concepto_id` int(10) unsigned DEFAULT NULL,
  `syj_concepto_asociado_id` int(10) unsigned DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  KEY `syj_concepto_asoc_cant_syj_concepto_id_foreign` (`syj_concepto_id`),
  KEY `syj_concepto_asoc_cant_syj_concepto_asociado_id_foreign` (`syj_concepto_asociado_id`),
  CONSTRAINT `syj_concepto_asoc_cant_syj_concepto_asociado_id_foreign` FOREIGN KEY (`syj_concepto_asociado_id`) REFERENCES `syj_conceptos` (`id`),
  CONSTRAINT `syj_concepto_asoc_cant_syj_concepto_id_foreign` FOREIGN KEY (`syj_concepto_id`) REFERENCES `syj_conceptos` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `syj_concepto_asoc_cant`
--

INSERT INTO `syj_concepto_asoc_cant` VALUES (1,316,315,'2020-05-06 12:12:32','2020-05-06 12:12:32'),(1,325,350,'2020-05-06 12:32:28','2020-05-06 12:32:28'),(1,325,351,'2020-05-06 12:32:28','2020-05-06 12:32:28'),(1,325,352,'2020-05-06 12:32:28','2020-05-06 12:32:28'),(1,325,289,'2020-05-06 12:32:28','2020-05-06 12:32:28'),(1,325,301,'2020-05-06 12:32:28','2020-05-06 12:32:28'),(1,325,354,'2020-05-06 12:32:28','2020-05-06 12:32:28'),(1,325,305,'2020-05-06 12:32:28','2020-05-06 12:32:28'),(1,329,321,'2020-05-06 12:35:45','2020-05-06 12:35:45'),(1,329,320,'2020-05-06 12:35:45','2020-05-06 12:35:45'),(1,329,323,'2020-05-06 12:35:45','2020-05-06 12:35:45'),(88,326,1468,'2020-05-08 10:15:05','2020-05-08 10:15:05'),(88,327,1468,'2020-05-08 10:15:45','2020-05-08 10:15:45'),(1,1646,315,'2020-05-06 12:12:32','2020-05-06 12:12:32'),(1,1652,350,'2020-05-06 12:32:28','2020-05-06 12:32:28'),(1,1652,351,'2020-05-06 12:32:28','2020-05-06 12:32:28'),(1,1652,352,'2020-05-06 12:32:28','2020-05-06 12:32:28'),(1,1652,289,'2020-05-06 12:32:28','2020-05-06 12:32:28'),(1,1652,301,'2020-05-06 12:32:28','2020-05-06 12:32:28'),(1,1652,354,'2020-05-06 12:32:28','2020-05-06 12:32:28'),(1,1652,305,'2020-05-06 12:32:28','2020-05-06 12:32:28'),(1,1653,1468,'2020-05-08 10:15:05','2020-05-08 10:15:05'),(1,1654,1468,'2020-05-08 10:15:45','2020-05-08 10:15:45'),(1,1655,301,'2020-05-06 12:51:31','2020-05-06 12:51:31'),(1,1656,321,'2020-05-06 12:35:45','2020-05-06 12:35:45'),(1,1656,320,'2020-05-06 12:35:45','2020-05-06 12:35:45'),(1,1656,323,'2020-05-06 12:35:45','2020-05-06 12:35:45'),(1,1720,315,'2020-05-06 12:12:32','2020-05-06 12:12:32'),(1,1726,350,'2020-05-06 12:32:28','2020-05-06 12:32:28'),(1,1726,351,'2020-05-06 12:32:28','2020-05-06 12:32:28'),(1,1726,352,'2020-05-06 12:32:28','2020-05-06 12:32:28'),(1,1726,289,'2020-05-06 12:32:28','2020-05-06 12:32:28'),(1,1726,301,'2020-05-06 12:32:28','2020-05-06 12:32:28'),(1,1726,354,'2020-05-06 12:32:28','2020-05-06 12:32:28'),(1,1726,305,'2020-05-06 12:32:28','2020-05-06 12:32:28'),(1,1727,1468,'2020-05-08 10:15:05','2020-05-08 10:15:05'),(1,1728,1468,'2020-05-08 10:15:45','2020-05-08 10:15:45'),(1,1729,301,'2020-05-06 12:51:31','2020-05-06 12:51:31'),(1,1730,321,'2020-05-06 12:35:45','2020-05-06 12:35:45'),(1,1730,320,'2020-05-06 12:35:45','2020-05-06 12:35:45'),(1,1730,323,'2020-05-06 12:35:45','2020-05-06 12:35:45'),(88,1874,315,'2020-05-06 12:12:32','2020-05-06 12:12:32'),(88,1880,350,'2020-05-06 12:32:28','2020-05-06 12:32:28'),(88,1880,351,'2020-05-06 12:32:28','2020-05-06 12:32:28'),(88,1880,352,'2020-05-06 12:32:28','2020-05-06 12:32:28'),(88,1880,289,'2020-05-06 12:32:28','2020-05-06 12:32:28'),(88,1880,301,'2020-05-06 12:32:28','2020-05-06 12:32:28'),(88,1880,354,'2020-05-06 12:32:28','2020-05-06 12:32:28'),(88,1880,305,'2020-05-06 12:32:28','2020-05-06 12:32:28'),(88,1881,1468,'2020-05-08 10:15:05','2020-05-08 10:15:05'),(88,1882,1468,'2020-05-08 10:15:45','2020-05-08 10:15:45'),(88,1883,301,'2020-05-06 12:51:31','2020-05-06 12:51:31'),(88,1884,321,'2020-05-06 12:35:45','2020-05-06 12:35:45'),(88,1884,320,'2020-05-06 12:35:45','2020-05-06 12:35:45'),(88,1884,323,'2020-05-06 12:35:45','2020-05-06 12:35:45'),(88,1955,315,'2020-05-06 12:12:32','2020-05-06 12:12:32'),(88,1961,350,'2020-05-06 12:32:28','2020-05-06 12:32:28'),(88,1961,351,'2020-05-06 12:32:28','2020-05-06 12:32:28'),(88,1961,352,'2020-05-06 12:32:28','2020-05-06 12:32:28'),(88,1961,289,'2020-05-06 12:32:28','2020-05-06 12:32:28'),(88,1961,301,'2020-05-06 12:32:28','2020-05-06 12:32:28'),(88,1961,354,'2020-05-06 12:32:28','2020-05-06 12:32:28'),(88,1961,305,'2020-05-06 12:32:28','2020-05-06 12:32:28'),(88,1962,1468,'2020-05-08 10:15:05','2020-05-08 10:15:05'),(88,1963,1468,'2020-05-08 10:15:45','2020-05-08 10:15:45'),(88,1964,301,'2020-05-06 12:51:31','2020-05-06 12:51:31'),(88,1965,321,'2020-05-06 12:35:45','2020-05-06 12:35:45'),(88,1965,320,'2020-05-06 12:35:45','2020-05-06 12:35:45'),(88,1965,323,'2020-05-06 12:35:45','2020-05-06 12:35:45');
INSERT INTO `syj_concepto_asoc_cant` VALUES (88,2031,315,'2020-05-06 12:12:32','2020-05-06 12:12:32'),(88,2037,350,'2020-05-06 12:32:28','2020-05-06 12:32:28'),(88,2037,351,'2020-05-06 12:32:28','2020-05-06 12:32:28'),(88,2037,352,'2020-05-06 12:32:28','2020-05-06 12:32:28'),(88,2037,289,'2020-05-06 12:32:28','2020-05-06 12:32:28'),(88,2037,301,'2020-05-06 12:32:28','2020-05-06 12:32:28'),(88,2037,354,'2020-05-06 12:32:28','2020-05-06 12:32:28'),(88,2037,305,'2020-05-06 12:32:28','2020-05-06 12:32:28'),(88,2038,1468,'2020-05-08 10:15:05','2020-05-08 10:15:05'),(88,2039,1468,'2020-05-08 10:15:45','2020-05-08 10:15:45'),(88,2040,301,'2020-05-06 12:51:31','2020-05-06 12:51:31'),(88,2041,321,'2020-05-06 12:35:45','2020-05-06 12:35:45'),(88,2041,320,'2020-05-06 12:35:45','2020-05-06 12:35:45'),(88,2041,323,'2020-05-06 12:35:45','2020-05-06 12:35:45'),(88,2108,315,'2020-05-06 12:12:32','2020-05-06 12:12:32'),(88,2114,350,'2020-05-06 12:32:28','2020-05-06 12:32:28'),(88,2114,351,'2020-05-06 12:32:28','2020-05-06 12:32:28'),(88,2114,352,'2020-05-06 12:32:28','2020-05-06 12:32:28'),(88,2114,289,'2020-05-06 12:32:28','2020-05-06 12:32:28'),(88,2114,301,'2020-05-06 12:32:28','2020-05-06 12:32:28'),(88,2114,354,'2020-05-06 12:32:28','2020-05-06 12:32:28'),(88,2114,305,'2020-05-06 12:32:28','2020-05-06 12:32:28'),(88,2115,1468,'2020-05-08 10:15:05','2020-05-08 10:15:05'),(88,2116,1468,'2020-05-08 10:15:45','2020-05-08 10:15:45'),(88,2117,301,'2020-05-06 12:51:31','2020-05-06 12:51:31'),(88,2118,321,'2020-05-06 12:35:45','2020-05-06 12:35:45'),(88,2118,320,'2020-05-06 12:35:45','2020-05-06 12:35:45'),(88,2118,323,'2020-05-06 12:35:45','2020-05-06 12:35:45'),(88,2189,315,'2020-05-06 12:12:32','2020-05-06 12:12:32'),(88,2195,350,'2020-05-06 12:32:28','2020-05-06 12:32:28'),(88,2195,351,'2020-05-06 12:32:28','2020-05-06 12:32:28'),(88,2195,352,'2020-05-06 12:32:28','2020-05-06 12:32:28'),(88,2195,289,'2020-05-06 12:32:28','2020-05-06 12:32:28'),(88,2195,301,'2020-05-06 12:32:28','2020-05-06 12:32:28'),(88,2195,354,'2020-05-06 12:32:28','2020-05-06 12:32:28'),(88,2195,305,'2020-05-06 12:32:28','2020-05-06 12:32:28'),(88,2196,1468,'2020-05-08 10:15:05','2020-05-08 10:15:05'),(88,2197,1468,'2020-05-08 10:15:45','2020-05-08 10:15:45'),(88,2198,301,'2020-05-06 12:51:31','2020-05-06 12:51:31'),(88,2199,321,'2020-05-06 12:35:45','2020-05-06 12:35:45'),(88,2199,320,'2020-05-06 12:35:45','2020-05-06 12:35:45'),(88,2199,323,'2020-05-06 12:35:45','2020-05-06 12:35:45'),(88,2264,315,'2020-05-06 12:12:32','2020-05-06 12:12:32'),(88,2270,350,'2020-05-06 12:32:28','2020-05-06 12:32:28'),(88,2270,351,'2020-05-06 12:32:28','2020-05-06 12:32:28'),(88,2270,352,'2020-05-06 12:32:28','2020-05-06 12:32:28'),(88,2270,289,'2020-05-06 12:32:28','2020-05-06 12:32:28'),(88,2270,301,'2020-05-06 12:32:28','2020-05-06 12:32:28'),(88,2270,354,'2020-05-06 12:32:28','2020-05-06 12:32:28'),(88,2270,305,'2020-05-06 12:32:28','2020-05-06 12:32:28'),(88,2271,1468,'2020-05-08 10:15:05','2020-05-08 10:15:05'),(88,2272,1468,'2020-05-08 10:15:45','2020-05-08 10:15:45'),(88,2273,301,'2020-05-06 12:51:31','2020-05-06 12:51:31'),(88,2274,321,'2020-05-06 12:35:45','2020-05-06 12:35:45'),(88,2274,320,'2020-05-06 12:35:45','2020-05-06 12:35:45'),(88,2274,323,'2020-05-06 12:35:45','2020-05-06 12:35:45'),(88,2345,315,'2020-05-06 12:12:32','2020-05-06 12:12:32'),(88,2351,350,'2020-05-06 12:32:28','2020-05-06 12:32:28'),(88,2351,351,'2020-05-06 12:32:28','2020-05-06 12:32:28'),(88,2351,352,'2020-05-06 12:32:28','2020-05-06 12:32:28'),(88,2351,289,'2020-05-06 12:32:28','2020-05-06 12:32:28'),(88,2351,301,'2020-05-06 12:32:28','2020-05-06 12:32:28'),(88,2351,354,'2020-05-06 12:32:28','2020-05-06 12:32:28'),(88,2351,305,'2020-05-06 12:32:28','2020-05-06 12:32:28'),(88,2352,1468,'2020-05-08 10:15:05','2020-05-08 10:15:05'),(88,2353,1468,'2020-05-08 10:15:45','2020-05-08 10:15:45'),(88,2354,301,'2020-05-06 12:51:31','2020-05-06 12:51:31'),(88,2355,321,'2020-05-06 12:35:45','2020-05-06 12:35:45');
INSERT INTO `syj_concepto_asoc_cant` VALUES (88,2355,320,'2020-05-06 12:35:45','2020-05-06 12:35:45'),(88,2355,323,'2020-05-06 12:35:45','2020-05-06 12:35:45'),(88,2429,315,'2020-05-06 12:12:32','2020-05-06 12:12:32'),(88,2435,350,'2020-05-06 12:32:28','2020-05-06 12:32:28'),(88,2435,351,'2020-05-06 12:32:28','2020-05-06 12:32:28'),(88,2435,352,'2020-05-06 12:32:28','2020-05-06 12:32:28'),(88,2435,289,'2020-05-06 12:32:28','2020-05-06 12:32:28'),(88,2435,301,'2020-05-06 12:32:28','2020-05-06 12:32:28'),(88,2435,354,'2020-05-06 12:32:28','2020-05-06 12:32:28'),(88,2435,305,'2020-05-06 12:32:28','2020-05-06 12:32:28'),(88,2436,1468,'2020-05-08 10:15:05','2020-05-08 10:15:05'),(88,2437,1468,'2020-05-08 10:15:45','2020-05-08 10:15:45'),(88,2438,301,'2020-05-06 12:51:31','2020-05-06 12:51:31'),(88,2439,321,'2020-05-06 12:35:45','2020-05-06 12:35:45'),(88,2439,320,'2020-05-06 12:35:45','2020-05-06 12:35:45'),(88,2439,323,'2020-05-06 12:35:45','2020-05-06 12:35:45'),(88,2508,315,'2020-05-06 12:12:32','2020-05-06 12:12:32'),(88,2514,350,'2020-05-06 12:32:28','2020-05-06 12:32:28'),(88,2514,351,'2020-05-06 12:32:28','2020-05-06 12:32:28'),(88,2514,352,'2020-05-06 12:32:28','2020-05-06 12:32:28'),(88,2514,289,'2020-05-06 12:32:28','2020-05-06 12:32:28'),(88,2514,301,'2020-05-06 12:32:28','2020-05-06 12:32:28'),(88,2514,354,'2020-05-06 12:32:28','2020-05-06 12:32:28'),(88,2514,305,'2020-05-06 12:32:28','2020-05-06 12:32:28'),(88,2515,1468,'2020-05-08 10:15:05','2020-05-08 10:15:05'),(88,2516,1468,'2020-05-08 10:15:45','2020-05-08 10:15:45'),(88,2517,301,'2020-05-06 12:51:31','2020-05-06 12:51:31'),(88,2518,321,'2020-05-06 12:35:45','2020-05-06 12:35:45'),(88,2518,320,'2020-05-06 12:35:45','2020-05-06 12:35:45'),(88,2518,323,'2020-05-06 12:35:45','2020-05-06 12:35:45'),(88,2583,315,'2020-05-06 12:12:32','2020-05-06 12:12:32'),(88,2589,350,'2020-05-06 12:32:28','2020-05-06 12:32:28'),(88,2589,351,'2020-05-06 12:32:28','2020-05-06 12:32:28'),(88,2589,352,'2020-05-06 12:32:28','2020-05-06 12:32:28'),(88,2589,289,'2020-05-06 12:32:28','2020-05-06 12:32:28'),(88,2589,301,'2020-05-06 12:32:28','2020-05-06 12:32:28'),(88,2589,354,'2020-05-06 12:32:28','2020-05-06 12:32:28'),(88,2589,305,'2020-05-06 12:32:28','2020-05-06 12:32:28'),(88,2590,1468,'2020-05-08 10:15:05','2020-05-08 10:15:05'),(88,2591,1468,'2020-05-08 10:15:45','2020-05-08 10:15:45'),(88,2592,301,'2020-05-06 12:51:31','2020-05-06 12:51:31'),(88,2593,321,'2020-05-06 12:35:45','2020-05-06 12:35:45'),(88,2593,320,'2020-05-06 12:35:45','2020-05-06 12:35:45'),(88,2593,323,'2020-05-06 12:35:45','2020-05-06 12:35:45'),(88,2738,315,'2020-05-06 12:12:32','2020-05-06 12:12:32'),(88,2744,350,'2020-05-06 12:32:28','2020-05-06 12:32:28'),(88,2744,351,'2020-05-06 12:32:28','2020-05-06 12:32:28'),(88,2744,352,'2020-05-06 12:32:28','2020-05-06 12:32:28'),(88,2744,289,'2020-05-06 12:32:28','2020-05-06 12:32:28'),(88,2744,301,'2020-05-06 12:32:28','2020-05-06 12:32:28'),(88,2744,354,'2020-05-06 12:32:28','2020-05-06 12:32:28'),(88,2744,305,'2020-05-06 12:32:28','2020-05-06 12:32:28'),(88,2745,1468,'2020-05-08 10:15:05','2020-05-08 10:15:05'),(88,2746,1468,'2020-05-08 10:15:45','2020-05-08 10:15:45'),(88,2747,301,'2020-05-06 12:51:31','2020-05-06 12:51:31'),(88,2748,321,'2020-05-06 12:35:45','2020-05-06 12:35:45'),(88,2748,320,'2020-05-06 12:35:45','2020-05-06 12:35:45'),(88,2748,323,'2020-05-06 12:35:45','2020-05-06 12:35:45'),(1,3374,315,'2020-05-06 12:12:32','2020-05-06 12:12:32'),(1,3380,350,'2020-05-06 12:32:28','2020-05-06 12:32:28'),(1,3380,351,'2020-05-06 12:32:28','2020-05-06 12:32:28'),(1,3380,352,'2020-05-06 12:32:28','2020-05-06 12:32:28'),(1,3380,289,'2020-05-06 12:32:28','2020-05-06 12:32:28'),(1,3380,301,'2020-05-06 12:32:28','2020-05-06 12:32:28'),(1,3380,354,'2020-05-06 12:32:28','2020-05-06 12:32:28'),(1,3380,305,'2020-05-06 12:32:28','2020-05-06 12:32:28'),(1,3381,1468,'2020-05-08 10:15:05','2020-05-08 10:15:05'),(1,3382,1468,'2020-05-08 10:15:45','2020-05-08 10:15:45');
INSERT INTO `syj_concepto_asoc_cant` VALUES (1,3383,301,'2020-05-06 12:51:31','2020-05-06 12:51:31'),(1,3384,321,'2020-05-06 12:35:45','2020-05-06 12:35:45'),(1,3384,320,'2020-05-06 12:35:45','2020-05-06 12:35:45'),(1,3384,323,'2020-05-06 12:35:45','2020-05-06 12:35:45'),(8325,3544,3530,'2023-05-28 12:26:59','2023-05-28 12:26:59'),(8325,3550,3572,'2023-05-28 12:26:59','2023-05-28 12:26:59'),(8325,3550,3573,'2023-05-28 12:26:59','2023-05-28 12:26:59'),(8325,3550,3574,'2023-05-28 12:26:59','2023-05-28 12:26:59'),(8325,3550,3524,'2023-05-28 12:26:59','2023-05-28 12:26:59'),(8325,3550,3531,'2023-05-28 12:26:59','2023-05-28 12:26:59'),(8325,3550,3576,'2023-05-28 12:26:59','2023-05-28 12:26:59'),(8325,3550,3535,'2023-05-28 12:26:59','2023-05-28 12:26:59'),(8325,3551,3587,'2023-05-28 12:26:59','2023-05-28 12:26:59'),(8325,3552,3587,'2023-05-28 12:26:59','2023-05-28 12:26:59'),(8325,3553,3531,'2023-05-28 12:26:59','2023-05-28 12:26:59'),(8325,3554,3546,'2023-05-28 12:26:59','2023-05-28 12:26:59'),(8325,3554,3545,'2023-05-28 12:26:59','2023-05-28 12:26:59'),(8325,3554,3548,'2023-05-28 12:26:59','2023-05-28 12:26:59'),(8325,3623,3609,'2023-05-31 14:28:15','2023-05-31 14:28:15'),(8325,3629,3651,'2023-05-31 14:28:15','2023-05-31 14:28:15'),(8325,3629,3652,'2023-05-31 14:28:15','2023-05-31 14:28:15'),(8325,3629,3653,'2023-05-31 14:28:15','2023-05-31 14:28:15'),(8325,3629,3603,'2023-05-31 14:28:15','2023-05-31 14:28:15'),(8325,3629,3610,'2023-05-31 14:28:15','2023-05-31 14:28:15'),(8325,3629,3655,'2023-05-31 14:28:15','2023-05-31 14:28:15'),(8325,3629,3614,'2023-05-31 14:28:15','2023-05-31 14:28:15'),(8325,3630,3666,'2023-05-31 14:28:15','2023-05-31 14:28:15'),(8325,3631,3666,'2023-05-31 14:28:15','2023-05-31 14:28:15'),(8325,3632,3610,'2023-05-31 14:28:15','2023-05-31 14:28:15'),(8325,3633,3625,'2023-05-31 14:28:15','2023-05-31 14:28:15'),(8325,3633,3624,'2023-05-31 14:28:15','2023-05-31 14:28:15'),(8325,3633,3627,'2023-05-31 14:28:15','2023-05-31 14:28:15'),(8325,3701,3687,'2023-05-31 14:28:49','2023-05-31 14:28:49'),(8325,3707,3729,'2023-05-31 14:28:49','2023-05-31 14:28:49'),(8325,3707,3730,'2023-05-31 14:28:49','2023-05-31 14:28:49'),(8325,3707,3731,'2023-05-31 14:28:49','2023-05-31 14:28:49'),(8325,3707,3681,'2023-05-31 14:28:49','2023-05-31 14:28:49'),(8325,3707,3688,'2023-05-31 14:28:49','2023-05-31 14:28:49'),(8325,3707,3733,'2023-05-31 14:28:49','2023-05-31 14:28:49'),(8325,3707,3692,'2023-05-31 14:28:49','2023-05-31 14:28:49'),(8325,3708,3743,'2023-05-31 14:28:49','2023-05-31 14:28:49'),(8325,3709,3743,'2023-05-31 14:28:49','2023-05-31 14:28:49'),(8325,3710,3688,'2023-05-31 14:28:49','2023-05-31 14:28:49'),(8325,3711,3703,'2023-05-31 14:28:49','2023-05-31 14:28:49'),(8325,3711,3702,'2023-05-31 14:28:49','2023-05-31 14:28:49'),(8325,3711,3705,'2023-05-31 14:28:49','2023-05-31 14:28:49'),(8325,3781,3767,'2023-05-31 15:04:56','2023-05-31 15:04:56'),(8325,3787,3809,'2023-05-31 15:04:56','2023-05-31 15:04:56'),(8325,3787,3810,'2023-05-31 15:04:56','2023-05-31 15:04:56'),(8325,3787,3811,'2023-05-31 15:04:56','2023-05-31 15:04:56'),(8325,3787,3761,'2023-05-31 15:04:56','2023-05-31 15:04:56'),(8325,3787,3768,'2023-05-31 15:04:56','2023-05-31 15:04:56'),(8325,3787,3813,'2023-05-31 15:04:56','2023-05-31 15:04:56'),(8325,3787,3772,'2023-05-31 15:04:56','2023-05-31 15:04:56'),(8325,3788,3824,'2023-05-31 15:04:56','2023-05-31 15:04:56'),(8325,3789,3824,'2023-05-31 15:04:56','2023-05-31 15:04:56'),(8325,3790,3768,'2023-05-31 15:04:56','2023-05-31 15:04:56'),(8325,3791,3783,'2023-05-31 15:04:56','2023-05-31 15:04:56'),(8325,3791,3782,'2023-05-31 15:04:56','2023-05-31 15:04:56'),(8325,3791,3785,'2023-05-31 15:04:56','2023-05-31 15:04:56'),(8325,328,301,'2023-06-27 12:30:13','2023-06-27 12:30:13'),(8325,4011,4010,'2023-06-29 14:24:21','2023-06-29 14:24:21'),(8325,4017,4039,'2023-06-29 14:24:21','2023-06-29 14:24:21'),(8325,4017,4040,'2023-06-29 14:24:21','2023-06-29 14:24:21'),(8325,4017,4041,'2023-06-29 14:24:21','2023-06-29 14:24:21');
INSERT INTO `syj_concepto_asoc_cant` VALUES (8325,4017,3992,'2023-06-29 14:24:21','2023-06-29 14:24:21'),(8325,4017,3999,'2023-06-29 14:24:21','2023-06-29 14:24:21'),(8325,4017,4043,'2023-06-29 14:24:21','2023-06-29 14:24:21'),(8325,4017,4002,'2023-06-29 14:24:21','2023-06-29 14:24:21'),(8325,4018,4053,'2023-06-29 14:24:21','2023-06-29 14:24:21'),(8325,4019,4053,'2023-06-29 14:24:21','2023-06-29 14:24:21'),(8325,4020,3999,'2023-06-29 14:24:21','2023-06-29 14:24:21'),(8325,4021,4013,'2023-06-29 14:24:21','2023-06-29 14:24:21'),(8325,4021,4012,'2023-06-29 14:24:21','2023-06-29 14:24:21'),(8325,4021,4015,'2023-06-29 14:24:21','2023-06-29 14:24:21'),(8325,2122,2158,'2024-05-02 18:05:00','2024-05-02 18:05:00'),(8325,2123,2158,'2024-05-02 18:05:34','2024-05-02 18:05:34');

--
-- Table structure for table `syj_concepto_asoc_columna`
--

CREATE TABLE `syj_concepto_asoc_columna` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `descripcion` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `columna` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `syj_concepto_asoc_columna`
--

INSERT INTO `syj_concepto_asoc_columna` VALUES (1,NULL,'Ninguna',NULL,'2020-05-28 20:55:25','2020-05-28 20:55:25'),(2,NULL,'Cantidad','cantidad','2020-05-28 20:55:25','2020-05-28 20:55:25'),(3,NULL,'Valor Unitario','valor','2020-05-28 20:55:25','2020-05-28 20:55:25'),(4,NULL,'Importe','importe','2020-05-28 20:55:25','2020-05-28 20:55:25');

--
-- Table structure for table `syj_concepto_asoc_condicional`
--

CREATE TABLE `syj_concepto_asoc_condicional` (
  `user_id` int(10) unsigned DEFAULT NULL,
  `syj_concepto_id` int(10) unsigned DEFAULT NULL,
  `syj_concepto_asociado_id` int(10) unsigned DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  KEY `syj_concepto_asoc_condicional_syj_concepto_id_foreign` (`syj_concepto_id`),
  KEY `syj_concepto_asoc_condicional_syj_concepto_asociado_id_foreign` (`syj_concepto_asociado_id`),
  CONSTRAINT `syj_concepto_asoc_condicional_syj_concepto_asociado_id_foreign` FOREIGN KEY (`syj_concepto_asociado_id`) REFERENCES `syj_conceptos` (`id`),
  CONSTRAINT `syj_concepto_asoc_condicional_syj_concepto_id_foreign` FOREIGN KEY (`syj_concepto_id`) REFERENCES `syj_conceptos` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `syj_concepto_asoc_condicional`
--

INSERT INTO `syj_concepto_asoc_condicional` VALUES (1,1469,301,'2020-05-06 17:03:13','2020-05-06 17:03:13'),(88,324,328,'2020-05-08 10:21:31','2020-05-08 10:21:31'),(1,1651,328,'2020-05-08 10:21:31','2020-05-08 10:21:31'),(1,1690,301,'2020-05-06 17:03:13','2020-05-06 17:03:13'),(1,1725,328,'2020-05-08 10:21:31','2020-05-08 10:21:31'),(1,1764,301,'2020-05-06 17:03:13','2020-05-06 17:03:13'),(88,1708,301,'2020-05-13 09:12:53','2020-05-13 09:12:53'),(88,1862,301,'2020-05-11 14:35:21','2020-05-11 14:35:21'),(88,1879,328,'2020-05-08 10:21:31','2020-05-08 10:21:31'),(88,1918,301,'2020-05-06 17:03:13','2020-05-06 17:03:13'),(88,1960,328,'2020-05-08 10:21:31','2020-05-08 10:21:31'),(88,1999,301,'2020-05-06 17:03:13','2020-05-06 17:03:13'),(88,1943,301,'2020-05-13 14:59:10','2020-05-13 14:59:10'),(88,2019,301,'2020-05-13 14:59:10','2020-05-13 14:59:10'),(88,2036,328,'2020-05-08 10:21:31','2020-05-08 10:21:31'),(88,2073,301,'2020-05-06 17:03:13','2020-05-06 17:03:13'),(88,2096,301,'2020-05-11 14:35:21','2020-05-11 14:35:21'),(88,2113,328,'2020-05-08 10:21:31','2020-05-08 10:21:31'),(88,2152,301,'2020-05-06 17:03:13','2020-05-06 17:03:13'),(88,2194,328,'2020-05-08 10:21:31','2020-05-08 10:21:31'),(88,2233,301,'2020-05-06 17:03:13','2020-05-06 17:03:13'),(88,2177,301,'2020-05-19 11:28:03','2020-05-19 11:28:03'),(88,2252,301,'2020-05-11 14:35:21','2020-05-11 14:35:21'),(88,2269,328,'2020-05-08 10:21:31','2020-05-08 10:21:31'),(88,2308,301,'2020-05-06 17:03:13','2020-05-06 17:03:13'),(88,2333,301,'2020-05-11 14:35:21','2020-05-11 14:35:21'),(88,2350,328,'2020-05-08 10:21:31','2020-05-08 10:21:31'),(88,2389,301,'2020-05-06 17:03:13','2020-05-06 17:03:13'),(88,2434,328,'2020-05-08 10:21:31','2020-05-08 10:21:31'),(88,2473,301,'2020-05-06 17:03:13','2020-05-06 17:03:13'),(88,2481,301,'2020-05-20 10:32:47','2020-05-20 10:32:47'),(88,2417,301,'2020-05-20 10:33:23','2020-05-20 10:33:23'),(88,2480,301,'2020-05-20 10:33:57','2020-05-20 10:33:57'),(88,2482,301,'2020-05-20 10:34:23','2020-05-20 10:34:23'),(88,2513,328,'2020-05-08 10:21:31','2020-05-08 10:21:31'),(88,2552,301,'2020-05-06 17:03:13','2020-05-06 17:03:13'),(88,2588,328,'2020-05-08 10:21:31','2020-05-08 10:21:31'),(88,2627,301,'2020-05-06 17:03:13','2020-05-06 17:03:13'),(88,2496,301,'2020-05-21 15:23:32','2020-05-21 15:23:32'),(88,2743,328,'2020-05-08 10:21:31','2020-05-08 10:21:31'),(88,2782,301,'2020-05-06 17:03:13','2020-05-06 17:03:13'),(88,2726,301,'2020-05-22 10:35:23','2020-05-22 10:35:23'),(88,2787,301,'2020-05-22 10:39:40','2020-05-22 10:39:40'),(88,2790,301,'2020-05-22 11:04:35','2020-05-22 11:04:35'),(1,3379,328,'2020-05-08 10:21:31','2020-05-08 10:21:31'),(1,3417,301,'2020-05-06 17:03:13','2020-05-06 17:03:13'),(88,3423,301,'2020-05-22 13:52:01','2020-05-22 13:52:01'),(88,3424,301,'2020-05-22 13:55:01','2020-05-22 13:55:01'),(8325,3549,3553,'2023-05-28 12:26:59','2023-05-28 12:26:59'),(8325,3588,3531,'2023-05-28 12:26:59','2023-05-28 12:26:59'),(8325,3628,3632,'2023-05-31 14:28:15','2023-05-31 14:28:15'),(8325,3667,3610,'2023-05-31 14:28:15','2023-05-31 14:28:15'),(8325,3706,3710,'2023-05-31 14:28:49','2023-05-31 14:28:49'),(8325,3744,3688,'2023-05-31 14:28:49','2023-05-31 14:28:49'),(8325,3769,3768,'2023-05-31 15:04:57','2023-05-31 15:04:57'),(8325,3786,3790,'2023-05-31 15:04:57','2023-05-31 15:04:57'),(8325,3825,3768,'2023-05-31 15:04:57','2023-05-31 15:04:57'),(8325,3611,3610,'2023-06-01 11:56:25','2023-06-01 11:56:25'),(8325,4016,4020,'2023-06-29 14:24:21','2023-06-29 14:24:21'),(8325,4054,3999,'2023-06-29 14:24:21','2023-06-29 14:24:21'),(8325,3532,3531,'2023-06-30 13:43:56','2023-06-30 13:43:56'),(8325,1634,301,'2023-07-03 20:49:01','2023-07-03 20:49:01');

--
-- Table structure for table `syj_concepto_asoc_filtros`
--

CREATE TABLE `syj_concepto_asoc_filtros` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `descripcion` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `syj_concepto_asoc_filtros`
--

INSERT INTO `syj_concepto_asoc_filtros` VALUES (1,NULL,'Ninguno','2020-05-28 20:55:25','2020-05-28 20:55:25'),(2,NULL,'Conceptos que integran el SAC','2020-05-28 20:55:25','2020-05-28 20:55:25'),(3,NULL,'Conceptos definidos como Remuneración Variables','2020-05-28 20:55:25','2020-05-28 20:55:25'),(4,NULL,'Conceptos Gravados en el Impuesto a las Ganancias','2020-05-28 20:55:25','2020-05-28 20:55:25');

--
-- Table structure for table `syj_concepto_asoc_operacion`
--

CREATE TABLE `syj_concepto_asoc_operacion` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `descripcion` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=7 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `syj_concepto_asoc_operacion`
--

INSERT INTO `syj_concepto_asoc_operacion` VALUES (1,NULL,'Ninguna','2020-05-28 20:55:25','2020-05-28 20:55:25'),(2,NULL,'Suma','2020-05-28 20:55:25','2020-05-28 20:55:25'),(3,NULL,'Maximo','2020-05-28 20:55:25','2020-05-28 20:55:25'),(4,NULL,'Minimo','2020-05-28 20:55:25','2020-05-28 20:55:25'),(5,NULL,'Promedio','2020-05-28 20:55:25','2020-05-28 20:55:25'),(6,NULL,'Contar','2020-05-28 20:55:25','2020-05-28 20:55:25');

--
-- Table structure for table `syj_concepto_asoc_origen`
--

CREATE TABLE `syj_concepto_asoc_origen` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `descripcion` varchar(191) COLLATE utf8mb4_unicode_ci 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 `syj_concepto_asoc_origen`
--

INSERT INTO `syj_concepto_asoc_origen` VALUES (1,NULL,'Ninguno','2020-05-28 20:55:25','2020-05-28 20:55:25'),(2,NULL,'Rango de Tipos de Conceptos','2020-05-28 20:55:25','2020-05-28 20:55:25'),(3,NULL,'Seleccionando Conceptos','2020-05-28 20:55:25','2020-05-28 20:55:25');

--
-- Table structure for table `syj_concepto_asoc_valor`
--

CREATE TABLE `syj_concepto_asoc_valor` (
  `user_id` int(10) unsigned DEFAULT NULL,
  `syj_concepto_id` int(10) unsigned DEFAULT NULL,
  `syj_concepto_asociado_id` int(10) unsigned DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  KEY `syj_concepto_asoc_valor_syj_concepto_id_foreign` (`syj_concepto_id`),
  KEY `syj_concepto_asoc_valor_syj_concepto_asociado_id_foreign` (`syj_concepto_asociado_id`),
  CONSTRAINT `syj_concepto_asoc_valor_syj_concepto_asociado_id_foreign` FOREIGN KEY (`syj_concepto_asociado_id`) REFERENCES `syj_conceptos` (`id`),
  CONSTRAINT `syj_concepto_asoc_valor_syj_concepto_id_foreign` FOREIGN KEY (`syj_concepto_id`) REFERENCES `syj_conceptos` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `syj_concepto_asoc_valor`
--

INSERT INTO `syj_concepto_asoc_valor` VALUES (1,1460,1459,'2020-04-23 12:52:08','2020-04-23 12:52:08'),(88,309,1462,'2020-04-24 14:28:21','2020-04-24 14:28:21'),(88,309,1468,'2020-04-24 14:28:21','2020-04-24 14:28:21'),(88,1462,1459,'2020-04-24 16:39:03','2020-04-24 16:39:03'),(88,1462,1460,'2020-04-24 16:39:03','2020-04-24 16:39:03'),(88,1462,1463,'2020-04-24 16:39:03','2020-04-24 16:39:03'),(88,1463,1459,'2020-04-24 16:39:39','2020-04-24 16:39:39'),(88,1463,1460,'2020-04-24 16:39:39','2020-04-24 16:39:39'),(88,303,1462,'2020-04-24 16:56:05','2020-04-24 16:56:05'),(88,294,312,'2020-04-24 17:16:58','2020-04-24 17:16:58'),(1,301,1459,'2020-04-25 09:25:53','2020-04-25 09:25:53'),(1,301,1460,'2020-04-25 09:25:53','2020-04-25 09:25:53'),(88,1471,1468,'2020-04-30 09:52:11','2020-04-30 09:52:11'),(1,307,1462,'2020-05-06 11:56:02','2020-05-06 11:56:02'),(1,308,307,'2020-05-06 11:58:40','2020-05-06 11:58:40'),(1,325,320,'2020-05-06 12:32:28','2020-05-06 12:32:28'),(1,325,321,'2020-05-06 12:32:28','2020-05-06 12:32:28'),(1,325,323,'2020-05-06 12:32:28','2020-05-06 12:32:28'),(1,329,320,'2020-05-06 12:35:45','2020-05-06 12:35:45'),(1,329,321,'2020-05-06 12:35:45','2020-05-06 12:35:45'),(1,329,1472,'2020-05-06 12:35:45','2020-05-06 12:35:45'),(1,330,1468,'2020-05-06 12:38:23','2020-05-06 12:38:23'),(1,1468,1620,'2020-05-06 17:02:12','2020-05-06 17:02:12'),(1,1469,1468,'2020-05-06 17:03:13','2020-05-06 17:03:13'),(1,1473,1469,'2020-05-06 17:04:04','2020-05-06 17:04:04'),(1,1473,1468,'2020-05-06 17:04:04','2020-05-06 17:04:04'),(88,323,1468,'2020-05-08 10:11:41','2020-05-08 10:11:41'),(88,326,1468,'2020-05-08 10:15:05','2020-05-08 10:15:05'),(88,327,1468,'2020-05-08 10:15:45','2020-05-08 10:15:45'),(88,324,320,'2020-05-08 10:21:31','2020-05-08 10:21:31'),(88,324,321,'2020-05-08 10:21:31','2020-05-08 10:21:31'),(88,324,315,'2020-05-08 10:21:31','2020-05-08 10:21:31'),(88,324,323,'2020-05-08 10:21:31','2020-05-08 10:21:31'),(88,324,328,'2020-05-08 10:21:31','2020-05-08 10:21:31'),(88,324,1473,'2020-05-08 10:21:31','2020-05-08 10:21:31'),(88,1464,352,'2020-05-08 10:36:53','2020-05-08 10:36:53'),(88,1464,305,'2020-05-08 10:36:53','2020-05-08 10:36:53'),(88,1464,289,'2020-05-08 10:36:53','2020-05-08 10:36:53'),(1,1630,312,'2020-04-24 17:16:58','2020-04-24 17:16:58'),(1,1633,1459,'2020-04-25 09:25:53','2020-04-25 09:25:53'),(1,1633,1460,'2020-04-25 09:25:53','2020-04-25 09:25:53'),(1,1635,1462,'2020-04-24 16:56:05','2020-04-24 16:56:05'),(1,1639,1462,'2020-05-06 11:56:02','2020-05-06 11:56:02'),(1,1640,307,'2020-05-06 11:58:40','2020-05-06 11:58:40'),(1,1641,1462,'2020-04-24 14:28:21','2020-04-24 14:28:21'),(1,1641,1468,'2020-04-24 14:28:21','2020-04-24 14:28:21'),(1,1645,1462,'2020-04-25 09:34:22','2020-04-25 09:34:22'),(1,1645,1468,'2020-04-25 09:34:22','2020-04-25 09:34:22'),(1,1649,315,'2020-04-25 17:24:19','2020-04-25 17:24:19'),(1,1650,1468,'2020-05-08 10:11:41','2020-05-08 10:11:41'),(1,1651,320,'2020-05-08 10:21:31','2020-05-08 10:21:31'),(1,1651,321,'2020-05-08 10:21:31','2020-05-08 10:21:31'),(1,1651,315,'2020-05-08 10:21:31','2020-05-08 10:21:31'),(1,1651,323,'2020-05-08 10:21:31','2020-05-08 10:21:31'),(1,1651,328,'2020-05-08 10:21:31','2020-05-08 10:21:31'),(1,1651,1473,'2020-05-08 10:21:31','2020-05-08 10:21:31'),(1,1652,320,'2020-05-06 12:32:28','2020-05-06 12:32:28'),(1,1652,321,'2020-05-06 12:32:28','2020-05-06 12:32:28'),(1,1652,323,'2020-05-06 12:32:28','2020-05-06 12:32:28'),(1,1653,1468,'2020-05-08 10:15:05','2020-05-08 10:15:05'),(1,1654,1468,'2020-05-08 10:15:45','2020-05-08 10:15:45'),(1,1655,1469,'2020-05-06 12:51:31','2020-05-06 12:51:31'),(1,1655,1473,'2020-05-06 12:51:31','2020-05-06 12:51:31'),(1,1656,320,'2020-05-06 12:35:45','2020-05-06 12:35:45'),(1,1656,321,'2020-05-06 12:35:45','2020-05-06 12:35:45'),(1,1656,1472,'2020-05-06 12:35:45','2020-05-06 12:35:45'),(1,1657,1468,'2020-05-06 12:38:23','2020-05-06 12:38:23'),(1,1684,1459,'2020-04-24 16:39:03','2020-04-24 16:39:03'),(1,1684,1460,'2020-04-24 16:39:03','2020-04-24 16:39:03');
INSERT INTO `syj_concepto_asoc_valor` VALUES (1,1684,1463,'2020-04-24 16:39:03','2020-04-24 16:39:03'),(1,1689,1620,'2020-05-06 17:02:12','2020-05-06 17:02:12'),(1,1690,1468,'2020-05-06 17:03:13','2020-05-06 17:03:13'),(1,1691,1468,'2020-04-30 09:52:11','2020-04-30 09:52:11'),(1,1693,1469,'2020-05-06 17:04:04','2020-05-06 17:04:04'),(1,1693,1468,'2020-05-06 17:04:04','2020-05-06 17:04:04'),(1,1704,312,'2020-04-24 17:16:58','2020-04-24 17:16:58'),(1,1707,1459,'2020-04-25 09:25:53','2020-04-25 09:25:53'),(1,1707,1460,'2020-04-25 09:25:53','2020-04-25 09:25:53'),(1,1709,1462,'2020-04-24 16:56:05','2020-04-24 16:56:05'),(1,1713,1462,'2020-05-06 11:56:02','2020-05-06 11:56:02'),(1,1714,307,'2020-05-06 11:58:40','2020-05-06 11:58:40'),(1,1715,1462,'2020-04-24 14:28:21','2020-04-24 14:28:21'),(1,1715,1468,'2020-04-24 14:28:21','2020-04-24 14:28:21'),(1,1719,1462,'2020-04-25 09:34:22','2020-04-25 09:34:22'),(1,1719,1468,'2020-04-25 09:34:22','2020-04-25 09:34:22'),(1,1723,315,'2020-04-25 17:24:19','2020-04-25 17:24:19'),(1,1724,1468,'2020-05-08 10:11:41','2020-05-08 10:11:41'),(1,1725,320,'2020-05-08 10:21:31','2020-05-08 10:21:31'),(1,1725,321,'2020-05-08 10:21:31','2020-05-08 10:21:31'),(1,1725,315,'2020-05-08 10:21:31','2020-05-08 10:21:31'),(1,1725,323,'2020-05-08 10:21:31','2020-05-08 10:21:31'),(1,1725,328,'2020-05-08 10:21:31','2020-05-08 10:21:31'),(1,1725,1473,'2020-05-08 10:21:31','2020-05-08 10:21:31'),(1,1726,320,'2020-05-06 12:32:28','2020-05-06 12:32:28'),(1,1726,321,'2020-05-06 12:32:28','2020-05-06 12:32:28'),(1,1726,323,'2020-05-06 12:32:28','2020-05-06 12:32:28'),(1,1727,1468,'2020-05-08 10:15:05','2020-05-08 10:15:05'),(1,1728,1468,'2020-05-08 10:15:45','2020-05-08 10:15:45'),(1,1729,1469,'2020-05-06 12:51:31','2020-05-06 12:51:31'),(1,1729,1473,'2020-05-06 12:51:31','2020-05-06 12:51:31'),(1,1730,320,'2020-05-06 12:35:45','2020-05-06 12:35:45'),(1,1730,321,'2020-05-06 12:35:45','2020-05-06 12:35:45'),(1,1730,1472,'2020-05-06 12:35:45','2020-05-06 12:35:45'),(1,1731,1468,'2020-05-06 12:38:23','2020-05-06 12:38:23'),(1,1756,1459,'2020-04-23 12:52:08','2020-04-23 12:52:08'),(1,1758,1459,'2020-04-24 16:39:03','2020-04-24 16:39:03'),(1,1758,1460,'2020-04-24 16:39:03','2020-04-24 16:39:03'),(1,1758,1463,'2020-04-24 16:39:03','2020-04-24 16:39:03'),(1,1759,1459,'2020-04-24 16:39:39','2020-04-24 16:39:39'),(1,1759,1460,'2020-04-24 16:39:39','2020-04-24 16:39:39'),(1,1763,1620,'2020-05-06 17:02:12','2020-05-06 17:02:12'),(1,1764,1468,'2020-05-06 17:03:13','2020-05-06 17:03:13'),(1,1765,1468,'2020-04-30 09:52:11','2020-04-30 09:52:11'),(1,1767,1469,'2020-05-06 17:04:04','2020-05-06 17:04:04'),(1,1767,1468,'2020-05-06 17:04:04','2020-05-06 17:04:04'),(88,1760,352,'2020-05-13 09:12:17','2020-05-13 09:12:17'),(88,1760,305,'2020-05-13 09:12:17','2020-05-13 09:12:17'),(88,1760,289,'2020-05-13 09:12:17','2020-05-13 09:12:17'),(88,1708,350,'2020-05-13 09:12:53','2020-05-13 09:12:53'),(88,1708,352,'2020-05-13 09:12:53','2020-05-13 09:12:53'),(88,1708,289,'2020-05-13 09:12:53','2020-05-13 09:12:53'),(88,1708,1460,'2020-05-13 09:12:53','2020-05-13 09:12:53'),(88,1708,301,'2020-05-13 09:12:53','2020-05-13 09:12:53'),(88,1708,353,'2020-05-13 09:12:53','2020-05-13 09:12:53'),(88,1708,354,'2020-05-13 09:12:53','2020-05-13 09:12:53'),(88,1858,312,'2020-04-24 17:16:58','2020-04-24 17:16:58'),(88,1861,1459,'2020-04-25 09:25:53','2020-04-25 09:25:53'),(88,1861,1460,'2020-04-25 09:25:53','2020-04-25 09:25:53'),(88,1862,350,'2020-05-11 14:35:21','2020-05-11 14:35:21'),(88,1862,352,'2020-05-11 14:35:21','2020-05-11 14:35:21'),(88,1862,289,'2020-05-11 14:35:21','2020-05-11 14:35:21'),(88,1862,1460,'2020-05-11 14:35:21','2020-05-11 14:35:21'),(88,1862,301,'2020-05-11 14:35:21','2020-05-11 14:35:21'),(88,1862,353,'2020-05-11 14:35:21','2020-05-11 14:35:21'),(88,1862,354,'2020-05-11 14:35:21','2020-05-11 14:35:21'),(88,1863,1462,'2020-04-24 16:56:05','2020-04-24 16:56:05'),(88,1867,1462,'2020-05-06 11:56:02','2020-05-06 11:56:02');
INSERT INTO `syj_concepto_asoc_valor` VALUES (88,1868,307,'2020-05-06 11:58:40','2020-05-06 11:58:40'),(88,1869,1462,'2020-04-24 14:28:21','2020-04-24 14:28:21'),(88,1869,1468,'2020-04-24 14:28:21','2020-04-24 14:28:21'),(88,1873,1462,'2020-04-25 09:34:22','2020-04-25 09:34:22'),(88,1873,1468,'2020-04-25 09:34:22','2020-04-25 09:34:22'),(88,1877,315,'2020-04-25 17:24:19','2020-04-25 17:24:19'),(88,1878,1468,'2020-05-08 10:11:41','2020-05-08 10:11:41'),(88,1879,320,'2020-05-08 10:21:31','2020-05-08 10:21:31'),(88,1879,321,'2020-05-08 10:21:31','2020-05-08 10:21:31'),(88,1879,315,'2020-05-08 10:21:31','2020-05-08 10:21:31'),(88,1879,323,'2020-05-08 10:21:31','2020-05-08 10:21:31'),(88,1879,328,'2020-05-08 10:21:31','2020-05-08 10:21:31'),(88,1879,1473,'2020-05-08 10:21:31','2020-05-08 10:21:31'),(88,1880,320,'2020-05-06 12:32:28','2020-05-06 12:32:28'),(88,1880,321,'2020-05-06 12:32:28','2020-05-06 12:32:28'),(88,1880,323,'2020-05-06 12:32:28','2020-05-06 12:32:28'),(88,1881,1468,'2020-05-08 10:15:05','2020-05-08 10:15:05'),(88,1882,1468,'2020-05-08 10:15:45','2020-05-08 10:15:45'),(88,1883,1469,'2020-05-06 12:51:31','2020-05-06 12:51:31'),(88,1883,1473,'2020-05-06 12:51:31','2020-05-06 12:51:31'),(88,1884,320,'2020-05-06 12:35:45','2020-05-06 12:35:45'),(88,1884,321,'2020-05-06 12:35:45','2020-05-06 12:35:45'),(88,1884,1472,'2020-05-06 12:35:45','2020-05-06 12:35:45'),(88,1885,1468,'2020-05-06 12:38:23','2020-05-06 12:38:23'),(88,1910,1459,'2020-04-23 12:52:08','2020-04-23 12:52:08'),(88,1912,1459,'2020-04-24 16:39:03','2020-04-24 16:39:03'),(88,1912,1460,'2020-04-24 16:39:03','2020-04-24 16:39:03'),(88,1912,1463,'2020-04-24 16:39:03','2020-04-24 16:39:03'),(88,1913,1459,'2020-04-24 16:39:39','2020-04-24 16:39:39'),(88,1913,1460,'2020-04-24 16:39:39','2020-04-24 16:39:39'),(88,1914,352,'2020-05-08 10:36:53','2020-05-08 10:36:53'),(88,1914,305,'2020-05-08 10:36:53','2020-05-08 10:36:53'),(88,1914,289,'2020-05-08 10:36:53','2020-05-08 10:36:53'),(88,1917,1620,'2020-05-06 17:02:12','2020-05-06 17:02:12'),(88,1918,1468,'2020-05-06 17:03:13','2020-05-06 17:03:13'),(88,1919,1468,'2020-04-30 09:52:11','2020-04-30 09:52:11'),(88,1921,1469,'2020-05-06 17:04:04','2020-05-06 17:04:04'),(88,1921,1468,'2020-05-06 17:04:04','2020-05-06 17:04:04'),(88,1939,312,'2020-04-24 17:16:58','2020-04-24 17:16:58'),(88,1942,1459,'2020-04-25 09:25:53','2020-04-25 09:25:53'),(88,1942,1460,'2020-04-25 09:25:53','2020-04-25 09:25:53'),(88,1944,1462,'2020-04-24 16:56:05','2020-04-24 16:56:05'),(88,1948,1462,'2020-05-06 11:56:02','2020-05-06 11:56:02'),(88,1949,307,'2020-05-06 11:58:40','2020-05-06 11:58:40'),(88,1950,1462,'2020-04-24 14:28:21','2020-04-24 14:28:21'),(88,1950,1468,'2020-04-24 14:28:21','2020-04-24 14:28:21'),(88,1954,1462,'2020-04-25 09:34:22','2020-04-25 09:34:22'),(88,1954,1468,'2020-04-25 09:34:22','2020-04-25 09:34:22'),(88,1958,315,'2020-04-25 17:24:19','2020-04-25 17:24:19'),(88,1959,1468,'2020-05-08 10:11:41','2020-05-08 10:11:41'),(88,1960,320,'2020-05-08 10:21:31','2020-05-08 10:21:31'),(88,1960,321,'2020-05-08 10:21:31','2020-05-08 10:21:31'),(88,1960,315,'2020-05-08 10:21:31','2020-05-08 10:21:31'),(88,1960,323,'2020-05-08 10:21:31','2020-05-08 10:21:31'),(88,1960,328,'2020-05-08 10:21:31','2020-05-08 10:21:31'),(88,1960,1473,'2020-05-08 10:21:31','2020-05-08 10:21:31'),(88,1961,320,'2020-05-06 12:32:28','2020-05-06 12:32:28'),(88,1961,321,'2020-05-06 12:32:28','2020-05-06 12:32:28'),(88,1961,323,'2020-05-06 12:32:28','2020-05-06 12:32:28'),(88,1962,1468,'2020-05-08 10:15:05','2020-05-08 10:15:05'),(88,1963,1468,'2020-05-08 10:15:45','2020-05-08 10:15:45'),(88,1964,1469,'2020-05-06 12:51:31','2020-05-06 12:51:31'),(88,1964,1473,'2020-05-06 12:51:31','2020-05-06 12:51:31'),(88,1965,320,'2020-05-06 12:35:45','2020-05-06 12:35:45'),(88,1965,321,'2020-05-06 12:35:45','2020-05-06 12:35:45'),(88,1965,1472,'2020-05-06 12:35:45','2020-05-06 12:35:45'),(88,1966,1468,'2020-05-06 12:38:23','2020-05-06 12:38:23');
INSERT INTO `syj_concepto_asoc_valor` VALUES (88,1993,1459,'2020-04-24 16:39:03','2020-04-24 16:39:03'),(88,1993,1460,'2020-04-24 16:39:03','2020-04-24 16:39:03'),(88,1993,1463,'2020-04-24 16:39:03','2020-04-24 16:39:03'),(88,1994,1459,'2020-04-24 16:39:39','2020-04-24 16:39:39'),(88,1994,1460,'2020-04-24 16:39:39','2020-04-24 16:39:39'),(88,1998,1620,'2020-05-06 17:02:12','2020-05-06 17:02:12'),(88,1999,1468,'2020-05-06 17:03:13','2020-05-06 17:03:13'),(88,2000,1468,'2020-04-30 09:52:11','2020-04-30 09:52:11'),(88,2002,1469,'2020-05-06 17:04:04','2020-05-06 17:04:04'),(88,2002,1468,'2020-05-06 17:04:04','2020-05-06 17:04:04'),(88,1943,350,'2020-05-13 14:59:10','2020-05-13 14:59:10'),(88,1943,352,'2020-05-13 14:59:10','2020-05-13 14:59:10'),(88,1943,289,'2020-05-13 14:59:10','2020-05-13 14:59:10'),(88,1943,1460,'2020-05-13 14:59:10','2020-05-13 14:59:10'),(88,1943,301,'2020-05-13 14:59:10','2020-05-13 14:59:10'),(88,1943,353,'2020-05-13 14:59:10','2020-05-13 14:59:10'),(88,1943,354,'2020-05-13 14:59:10','2020-05-13 14:59:10'),(88,1991,1459,'2020-05-13 15:03:26','2020-05-13 15:03:26'),(88,2015,312,'2020-04-24 17:16:58','2020-04-24 17:16:58'),(88,2019,350,'2020-05-13 14:59:10','2020-05-13 14:59:10'),(88,2019,352,'2020-05-13 14:59:10','2020-05-13 14:59:10'),(88,2019,289,'2020-05-13 14:59:10','2020-05-13 14:59:10'),(88,2019,1460,'2020-05-13 14:59:10','2020-05-13 14:59:10'),(88,2019,301,'2020-05-13 14:59:10','2020-05-13 14:59:10'),(88,2019,353,'2020-05-13 14:59:10','2020-05-13 14:59:10'),(88,2019,354,'2020-05-13 14:59:10','2020-05-13 14:59:10'),(88,2020,1462,'2020-04-24 16:56:05','2020-04-24 16:56:05'),(88,2024,1462,'2020-05-06 11:56:02','2020-05-06 11:56:02'),(88,2025,307,'2020-05-06 11:58:40','2020-05-06 11:58:40'),(88,2026,1462,'2020-04-24 14:28:21','2020-04-24 14:28:21'),(88,2026,1468,'2020-04-24 14:28:21','2020-04-24 14:28:21'),(88,2030,1462,'2020-04-25 09:34:22','2020-04-25 09:34:22'),(88,2030,1468,'2020-04-25 09:34:22','2020-04-25 09:34:22'),(88,2034,315,'2020-04-25 17:24:19','2020-04-25 17:24:19'),(88,2035,1468,'2020-05-08 10:11:41','2020-05-08 10:11:41'),(88,2036,320,'2020-05-08 10:21:31','2020-05-08 10:21:31'),(88,2036,321,'2020-05-08 10:21:31','2020-05-08 10:21:31'),(88,2036,315,'2020-05-08 10:21:31','2020-05-08 10:21:31'),(88,2036,323,'2020-05-08 10:21:31','2020-05-08 10:21:31'),(88,2036,328,'2020-05-08 10:21:31','2020-05-08 10:21:31'),(88,2036,1473,'2020-05-08 10:21:31','2020-05-08 10:21:31'),(88,2037,320,'2020-05-06 12:32:28','2020-05-06 12:32:28'),(88,2037,321,'2020-05-06 12:32:28','2020-05-06 12:32:28'),(88,2037,323,'2020-05-06 12:32:28','2020-05-06 12:32:28'),(88,2038,1468,'2020-05-08 10:15:05','2020-05-08 10:15:05'),(88,2039,1468,'2020-05-08 10:15:45','2020-05-08 10:15:45'),(88,2040,1469,'2020-05-06 12:51:31','2020-05-06 12:51:31'),(88,2040,1473,'2020-05-06 12:51:31','2020-05-06 12:51:31'),(88,2041,320,'2020-05-06 12:35:45','2020-05-06 12:35:45'),(88,2041,321,'2020-05-06 12:35:45','2020-05-06 12:35:45'),(88,2041,1472,'2020-05-06 12:35:45','2020-05-06 12:35:45'),(88,2042,1468,'2020-05-06 12:38:23','2020-05-06 12:38:23'),(88,2066,1459,'2020-05-13 15:03:26','2020-05-13 15:03:26'),(88,2068,1459,'2020-04-24 16:39:03','2020-04-24 16:39:03'),(88,2068,1460,'2020-04-24 16:39:03','2020-04-24 16:39:03'),(88,2068,1463,'2020-04-24 16:39:03','2020-04-24 16:39:03'),(88,2069,1459,'2020-04-24 16:39:39','2020-04-24 16:39:39'),(88,2069,1460,'2020-04-24 16:39:39','2020-04-24 16:39:39'),(88,2070,352,'2020-05-13 15:07:45','2020-05-13 15:07:45'),(88,2070,305,'2020-05-13 15:07:45','2020-05-13 15:07:45'),(88,2070,289,'2020-05-13 15:07:45','2020-05-13 15:07:45'),(88,2072,1620,'2020-05-06 17:02:12','2020-05-06 17:02:12'),(88,2073,1468,'2020-05-06 17:03:13','2020-05-06 17:03:13'),(88,2074,1468,'2020-04-30 09:52:11','2020-04-30 09:52:11'),(88,2076,1469,'2020-05-06 17:04:04','2020-05-06 17:04:04'),(88,2076,1468,'2020-05-06 17:04:04','2020-05-06 17:04:04'),(88,2082,1459,'2020-05-19 09:45:48','2020-05-19 09:45:48');
INSERT INTO `syj_concepto_asoc_valor` VALUES (88,2082,1460,'2020-05-19 09:45:48','2020-05-19 09:45:48'),(88,2018,1459,'2020-05-19 09:47:11','2020-05-19 09:47:11'),(88,2018,1460,'2020-05-19 09:47:11','2020-05-19 09:47:11'),(88,2092,312,'2020-04-24 17:16:58','2020-04-24 17:16:58'),(88,2095,1459,'2020-04-25 09:25:53','2020-04-25 09:25:53'),(88,2095,1460,'2020-04-25 09:25:53','2020-04-25 09:25:53'),(88,2096,350,'2020-05-11 14:35:21','2020-05-11 14:35:21'),(88,2096,352,'2020-05-11 14:35:21','2020-05-11 14:35:21'),(88,2096,289,'2020-05-11 14:35:21','2020-05-11 14:35:21'),(88,2096,1460,'2020-05-11 14:35:21','2020-05-11 14:35:21'),(88,2096,301,'2020-05-11 14:35:21','2020-05-11 14:35:21'),(88,2096,353,'2020-05-11 14:35:21','2020-05-11 14:35:21'),(88,2096,354,'2020-05-11 14:35:21','2020-05-11 14:35:21'),(88,2097,1462,'2020-04-24 16:56:05','2020-04-24 16:56:05'),(88,2101,1462,'2020-05-06 11:56:02','2020-05-06 11:56:02'),(88,2102,307,'2020-05-06 11:58:40','2020-05-06 11:58:40'),(88,2103,1462,'2020-04-24 14:28:21','2020-04-24 14:28:21'),(88,2103,1468,'2020-04-24 14:28:21','2020-04-24 14:28:21'),(88,2107,1462,'2020-04-25 09:34:22','2020-04-25 09:34:22'),(88,2107,1468,'2020-04-25 09:34:22','2020-04-25 09:34:22'),(88,2111,315,'2020-04-25 17:24:19','2020-04-25 17:24:19'),(88,2112,1468,'2020-05-08 10:11:41','2020-05-08 10:11:41'),(88,2113,320,'2020-05-08 10:21:31','2020-05-08 10:21:31'),(88,2113,321,'2020-05-08 10:21:31','2020-05-08 10:21:31'),(88,2113,315,'2020-05-08 10:21:31','2020-05-08 10:21:31'),(88,2113,323,'2020-05-08 10:21:31','2020-05-08 10:21:31'),(88,2113,328,'2020-05-08 10:21:31','2020-05-08 10:21:31'),(88,2113,1473,'2020-05-08 10:21:31','2020-05-08 10:21:31'),(88,2114,320,'2020-05-06 12:32:28','2020-05-06 12:32:28'),(88,2114,321,'2020-05-06 12:32:28','2020-05-06 12:32:28'),(88,2114,323,'2020-05-06 12:32:28','2020-05-06 12:32:28'),(88,2115,1468,'2020-05-08 10:15:05','2020-05-08 10:15:05'),(88,2116,1468,'2020-05-08 10:15:45','2020-05-08 10:15:45'),(88,2117,1469,'2020-05-06 12:51:31','2020-05-06 12:51:31'),(88,2117,1473,'2020-05-06 12:51:31','2020-05-06 12:51:31'),(88,2118,320,'2020-05-06 12:35:45','2020-05-06 12:35:45'),(88,2118,321,'2020-05-06 12:35:45','2020-05-06 12:35:45'),(88,2118,1472,'2020-05-06 12:35:45','2020-05-06 12:35:45'),(88,2119,1468,'2020-05-06 12:38:23','2020-05-06 12:38:23'),(88,2144,1459,'2020-04-23 12:52:08','2020-04-23 12:52:08'),(88,2146,1459,'2020-04-24 16:39:03','2020-04-24 16:39:03'),(88,2146,1460,'2020-04-24 16:39:03','2020-04-24 16:39:03'),(88,2146,1463,'2020-04-24 16:39:03','2020-04-24 16:39:03'),(88,2147,1459,'2020-04-24 16:39:39','2020-04-24 16:39:39'),(88,2147,1460,'2020-04-24 16:39:39','2020-04-24 16:39:39'),(88,2148,352,'2020-05-08 10:36:53','2020-05-08 10:36:53'),(88,2148,305,'2020-05-08 10:36:53','2020-05-08 10:36:53'),(88,2148,289,'2020-05-08 10:36:53','2020-05-08 10:36:53'),(88,2151,1620,'2020-05-06 17:02:12','2020-05-06 17:02:12'),(88,2152,1468,'2020-05-06 17:03:13','2020-05-06 17:03:13'),(88,2153,1468,'2020-04-30 09:52:11','2020-04-30 09:52:11'),(88,2155,1469,'2020-05-06 17:04:04','2020-05-06 17:04:04'),(88,2155,1468,'2020-05-06 17:04:04','2020-05-06 17:04:04'),(88,2173,312,'2020-04-24 17:16:58','2020-04-24 17:16:58'),(88,2176,1459,'2020-04-25 09:25:53','2020-04-25 09:25:53'),(88,2176,1460,'2020-04-25 09:25:53','2020-04-25 09:25:53'),(88,2178,1462,'2020-04-24 16:56:05','2020-04-24 16:56:05'),(88,2182,1462,'2020-05-06 11:56:02','2020-05-06 11:56:02'),(88,2183,307,'2020-05-06 11:58:40','2020-05-06 11:58:40'),(88,2184,1462,'2020-04-24 14:28:21','2020-04-24 14:28:21'),(88,2184,1468,'2020-04-24 14:28:21','2020-04-24 14:28:21'),(88,2188,1462,'2020-04-25 09:34:22','2020-04-25 09:34:22'),(88,2188,1468,'2020-04-25 09:34:22','2020-04-25 09:34:22'),(88,2192,315,'2020-04-25 17:24:19','2020-04-25 17:24:19'),(88,2193,1468,'2020-05-08 10:11:41','2020-05-08 10:11:41'),(88,2194,320,'2020-05-08 10:21:31','2020-05-08 10:21:31'),(88,2194,321,'2020-05-08 10:21:31','2020-05-08 10:21:31');
INSERT INTO `syj_concepto_asoc_valor` VALUES (88,2194,315,'2020-05-08 10:21:31','2020-05-08 10:21:31'),(88,2194,323,'2020-05-08 10:21:31','2020-05-08 10:21:31'),(88,2194,328,'2020-05-08 10:21:31','2020-05-08 10:21:31'),(88,2194,1473,'2020-05-08 10:21:31','2020-05-08 10:21:31'),(88,2195,320,'2020-05-06 12:32:28','2020-05-06 12:32:28'),(88,2195,321,'2020-05-06 12:32:28','2020-05-06 12:32:28'),(88,2195,323,'2020-05-06 12:32:28','2020-05-06 12:32:28'),(88,2196,1468,'2020-05-08 10:15:05','2020-05-08 10:15:05'),(88,2197,1468,'2020-05-08 10:15:45','2020-05-08 10:15:45'),(88,2198,1469,'2020-05-06 12:51:31','2020-05-06 12:51:31'),(88,2198,1473,'2020-05-06 12:51:31','2020-05-06 12:51:31'),(88,2199,320,'2020-05-06 12:35:45','2020-05-06 12:35:45'),(88,2199,321,'2020-05-06 12:35:45','2020-05-06 12:35:45'),(88,2199,1472,'2020-05-06 12:35:45','2020-05-06 12:35:45'),(88,2200,1468,'2020-05-06 12:38:23','2020-05-06 12:38:23'),(88,2225,1459,'2020-04-23 12:52:08','2020-04-23 12:52:08'),(88,2227,1459,'2020-04-24 16:39:03','2020-04-24 16:39:03'),(88,2227,1460,'2020-04-24 16:39:03','2020-04-24 16:39:03'),(88,2227,1463,'2020-04-24 16:39:03','2020-04-24 16:39:03'),(88,2228,1459,'2020-04-24 16:39:39','2020-04-24 16:39:39'),(88,2228,1460,'2020-04-24 16:39:39','2020-04-24 16:39:39'),(88,2229,352,'2020-05-08 10:36:53','2020-05-08 10:36:53'),(88,2229,305,'2020-05-08 10:36:53','2020-05-08 10:36:53'),(88,2229,289,'2020-05-08 10:36:53','2020-05-08 10:36:53'),(88,2232,1620,'2020-05-06 17:02:12','2020-05-06 17:02:12'),(88,2233,1468,'2020-05-06 17:03:13','2020-05-06 17:03:13'),(88,2234,1468,'2020-04-30 09:52:11','2020-04-30 09:52:11'),(88,2236,1469,'2020-05-06 17:04:04','2020-05-06 17:04:04'),(88,2236,1468,'2020-05-06 17:04:04','2020-05-06 17:04:04'),(88,2177,350,'2020-05-19 11:28:03','2020-05-19 11:28:03'),(88,2177,352,'2020-05-19 11:28:03','2020-05-19 11:28:03'),(88,2177,289,'2020-05-19 11:28:03','2020-05-19 11:28:03'),(88,2177,1460,'2020-05-19 11:28:03','2020-05-19 11:28:03'),(88,2177,301,'2020-05-19 11:28:03','2020-05-19 11:28:03'),(88,2177,353,'2020-05-19 11:28:03','2020-05-19 11:28:03'),(88,2177,354,'2020-05-19 11:28:03','2020-05-19 11:28:03'),(88,2248,312,'2020-04-24 17:16:58','2020-04-24 17:16:58'),(88,2251,1459,'2020-04-25 09:25:53','2020-04-25 09:25:53'),(88,2251,1460,'2020-04-25 09:25:53','2020-04-25 09:25:53'),(88,2252,350,'2020-05-11 14:35:21','2020-05-11 14:35:21'),(88,2252,352,'2020-05-11 14:35:21','2020-05-11 14:35:21'),(88,2252,289,'2020-05-11 14:35:21','2020-05-11 14:35:21'),(88,2252,1460,'2020-05-11 14:35:21','2020-05-11 14:35:21'),(88,2252,301,'2020-05-11 14:35:21','2020-05-11 14:35:21'),(88,2252,353,'2020-05-11 14:35:21','2020-05-11 14:35:21'),(88,2252,354,'2020-05-11 14:35:21','2020-05-11 14:35:21'),(88,2253,1462,'2020-04-24 16:56:05','2020-04-24 16:56:05'),(88,2257,1462,'2020-05-06 11:56:02','2020-05-06 11:56:02'),(88,2258,307,'2020-05-06 11:58:40','2020-05-06 11:58:40'),(88,2259,1462,'2020-04-24 14:28:21','2020-04-24 14:28:21'),(88,2259,1468,'2020-04-24 14:28:21','2020-04-24 14:28:21'),(88,2263,1462,'2020-04-25 09:34:22','2020-04-25 09:34:22'),(88,2263,1468,'2020-04-25 09:34:22','2020-04-25 09:34:22'),(88,2267,315,'2020-04-25 17:24:19','2020-04-25 17:24:19'),(88,2268,1468,'2020-05-08 10:11:41','2020-05-08 10:11:41'),(88,2269,320,'2020-05-08 10:21:31','2020-05-08 10:21:31'),(88,2269,321,'2020-05-08 10:21:31','2020-05-08 10:21:31'),(88,2269,315,'2020-05-08 10:21:31','2020-05-08 10:21:31'),(88,2269,323,'2020-05-08 10:21:31','2020-05-08 10:21:31'),(88,2269,328,'2020-05-08 10:21:31','2020-05-08 10:21:31'),(88,2269,1473,'2020-05-08 10:21:31','2020-05-08 10:21:31'),(88,2270,320,'2020-05-06 12:32:28','2020-05-06 12:32:28'),(88,2270,321,'2020-05-06 12:32:28','2020-05-06 12:32:28'),(88,2270,323,'2020-05-06 12:32:28','2020-05-06 12:32:28'),(88,2271,1468,'2020-05-08 10:15:05','2020-05-08 10:15:05'),(88,2272,1468,'2020-05-08 10:15:45','2020-05-08 10:15:45'),(88,2273,1469,'2020-05-06 12:51:31','2020-05-06 12:51:31'),(88,2273,1473,'2020-05-06 12:51:31','2020-05-06 12:51:31');
INSERT INTO `syj_concepto_asoc_valor` VALUES (88,2274,320,'2020-05-06 12:35:45','2020-05-06 12:35:45'),(88,2274,321,'2020-05-06 12:35:45','2020-05-06 12:35:45'),(88,2274,1472,'2020-05-06 12:35:45','2020-05-06 12:35:45'),(88,2275,1468,'2020-05-06 12:38:23','2020-05-06 12:38:23'),(88,2300,1459,'2020-04-23 12:52:08','2020-04-23 12:52:08'),(88,2302,1459,'2020-04-24 16:39:03','2020-04-24 16:39:03'),(88,2302,1460,'2020-04-24 16:39:03','2020-04-24 16:39:03'),(88,2302,1463,'2020-04-24 16:39:03','2020-04-24 16:39:03'),(88,2303,1459,'2020-04-24 16:39:39','2020-04-24 16:39:39'),(88,2303,1460,'2020-04-24 16:39:39','2020-04-24 16:39:39'),(88,2307,1620,'2020-05-06 17:02:12','2020-05-06 17:02:12'),(88,2308,1468,'2020-05-06 17:03:13','2020-05-06 17:03:13'),(88,2309,1468,'2020-04-30 09:52:11','2020-04-30 09:52:11'),(88,2311,1469,'2020-05-06 17:04:04','2020-05-06 17:04:04'),(88,2311,1468,'2020-05-06 17:04:04','2020-05-06 17:04:04'),(88,2304,352,'2020-05-19 15:08:39','2020-05-19 15:08:39'),(88,2304,305,'2020-05-19 15:08:39','2020-05-19 15:08:39'),(88,2304,289,'2020-05-19 15:08:39','2020-05-19 15:08:39'),(88,2304,2314,'2020-05-19 15:08:39','2020-05-19 15:08:39'),(88,2329,312,'2020-04-24 17:16:58','2020-04-24 17:16:58'),(88,2333,350,'2020-05-11 14:35:21','2020-05-11 14:35:21'),(88,2333,352,'2020-05-11 14:35:21','2020-05-11 14:35:21'),(88,2333,289,'2020-05-11 14:35:21','2020-05-11 14:35:21'),(88,2333,1460,'2020-05-11 14:35:21','2020-05-11 14:35:21'),(88,2333,301,'2020-05-11 14:35:21','2020-05-11 14:35:21'),(88,2333,353,'2020-05-11 14:35:21','2020-05-11 14:35:21'),(88,2333,354,'2020-05-11 14:35:21','2020-05-11 14:35:21'),(88,2334,1462,'2020-04-24 16:56:05','2020-04-24 16:56:05'),(88,2338,1462,'2020-05-06 11:56:02','2020-05-06 11:56:02'),(88,2339,307,'2020-05-06 11:58:40','2020-05-06 11:58:40'),(88,2340,1462,'2020-04-24 14:28:21','2020-04-24 14:28:21'),(88,2340,1468,'2020-04-24 14:28:21','2020-04-24 14:28:21'),(88,2344,1462,'2020-04-25 09:34:22','2020-04-25 09:34:22'),(88,2344,1468,'2020-04-25 09:34:22','2020-04-25 09:34:22'),(88,2348,315,'2020-04-25 17:24:19','2020-04-25 17:24:19'),(88,2349,1468,'2020-05-08 10:11:41','2020-05-08 10:11:41'),(88,2350,320,'2020-05-08 10:21:31','2020-05-08 10:21:31'),(88,2350,321,'2020-05-08 10:21:31','2020-05-08 10:21:31'),(88,2350,315,'2020-05-08 10:21:31','2020-05-08 10:21:31'),(88,2350,323,'2020-05-08 10:21:31','2020-05-08 10:21:31'),(88,2350,328,'2020-05-08 10:21:31','2020-05-08 10:21:31'),(88,2350,1473,'2020-05-08 10:21:31','2020-05-08 10:21:31'),(88,2351,320,'2020-05-06 12:32:28','2020-05-06 12:32:28'),(88,2351,321,'2020-05-06 12:32:28','2020-05-06 12:32:28'),(88,2351,323,'2020-05-06 12:32:28','2020-05-06 12:32:28'),(88,2352,1468,'2020-05-08 10:15:05','2020-05-08 10:15:05'),(88,2353,1468,'2020-05-08 10:15:45','2020-05-08 10:15:45'),(88,2354,1469,'2020-05-06 12:51:31','2020-05-06 12:51:31'),(88,2354,1473,'2020-05-06 12:51:31','2020-05-06 12:51:31'),(88,2355,320,'2020-05-06 12:35:45','2020-05-06 12:35:45'),(88,2355,321,'2020-05-06 12:35:45','2020-05-06 12:35:45'),(88,2355,1472,'2020-05-06 12:35:45','2020-05-06 12:35:45'),(88,2356,1468,'2020-05-06 12:38:23','2020-05-06 12:38:23'),(88,2381,1459,'2020-04-23 12:52:08','2020-04-23 12:52:08'),(88,2383,1459,'2020-04-24 16:39:03','2020-04-24 16:39:03'),(88,2383,1460,'2020-04-24 16:39:03','2020-04-24 16:39:03'),(88,2383,1463,'2020-04-24 16:39:03','2020-04-24 16:39:03'),(88,2384,1459,'2020-04-24 16:39:39','2020-04-24 16:39:39'),(88,2384,1460,'2020-04-24 16:39:39','2020-04-24 16:39:39'),(88,2385,352,'2020-05-08 10:36:53','2020-05-08 10:36:53'),(88,2385,305,'2020-05-08 10:36:53','2020-05-08 10:36:53'),(88,2385,289,'2020-05-08 10:36:53','2020-05-08 10:36:53'),(88,2388,1620,'2020-05-06 17:02:12','2020-05-06 17:02:12'),(88,2389,1468,'2020-05-06 17:03:13','2020-05-06 17:03:13'),(88,2390,1468,'2020-04-30 09:52:11','2020-04-30 09:52:11'),(88,2392,1469,'2020-05-06 17:04:04','2020-05-06 17:04:04'),(88,2392,1468,'2020-05-06 17:04:04','2020-05-06 17:04:04');
INSERT INTO `syj_concepto_asoc_valor` VALUES (88,2332,1459,'2020-05-19 15:56:56','2020-05-19 15:56:56'),(88,2332,1460,'2020-05-19 15:56:56','2020-05-19 15:56:56'),(88,2332,2395,'2020-05-19 15:56:56','2020-05-19 15:56:56'),(88,2401,1459,'2020-05-19 15:59:52','2020-05-19 15:59:52'),(88,2401,1460,'2020-05-19 15:59:52','2020-05-19 15:59:52'),(88,2401,2395,'2020-05-19 15:59:52','2020-05-19 15:59:52'),(88,2402,1459,'2020-05-19 15:59:52','2020-05-19 15:59:52'),(88,2402,1460,'2020-05-19 15:59:52','2020-05-19 15:59:52'),(88,2402,2395,'2020-05-19 15:59:52','2020-05-19 15:59:52'),(88,2403,352,'2020-05-19 16:19:45','2020-05-19 16:19:45'),(88,2403,305,'2020-05-19 16:19:45','2020-05-19 16:19:45'),(88,2403,289,'2020-05-19 16:19:45','2020-05-19 16:19:45'),(88,2403,2395,'2020-05-19 16:19:45','2020-05-19 16:19:45'),(88,2413,312,'2020-04-24 17:16:58','2020-04-24 17:16:58'),(88,2416,1459,'2020-04-25 09:25:53','2020-04-25 09:25:53'),(88,2416,1460,'2020-04-25 09:25:53','2020-04-25 09:25:53'),(88,2418,1462,'2020-04-24 16:56:05','2020-04-24 16:56:05'),(88,2422,1462,'2020-05-06 11:56:02','2020-05-06 11:56:02'),(88,2423,307,'2020-05-06 11:58:40','2020-05-06 11:58:40'),(88,2424,1462,'2020-04-24 14:28:21','2020-04-24 14:28:21'),(88,2424,1468,'2020-04-24 14:28:21','2020-04-24 14:28:21'),(88,2428,1462,'2020-04-25 09:34:22','2020-04-25 09:34:22'),(88,2428,1468,'2020-04-25 09:34:22','2020-04-25 09:34:22'),(88,2432,315,'2020-04-25 17:24:19','2020-04-25 17:24:19'),(88,2433,1468,'2020-05-08 10:11:41','2020-05-08 10:11:41'),(88,2434,320,'2020-05-08 10:21:31','2020-05-08 10:21:31'),(88,2434,321,'2020-05-08 10:21:31','2020-05-08 10:21:31'),(88,2434,315,'2020-05-08 10:21:31','2020-05-08 10:21:31'),(88,2434,323,'2020-05-08 10:21:31','2020-05-08 10:21:31'),(88,2434,328,'2020-05-08 10:21:31','2020-05-08 10:21:31'),(88,2434,1473,'2020-05-08 10:21:31','2020-05-08 10:21:31'),(88,2435,320,'2020-05-06 12:32:28','2020-05-06 12:32:28'),(88,2435,321,'2020-05-06 12:32:28','2020-05-06 12:32:28'),(88,2435,323,'2020-05-06 12:32:28','2020-05-06 12:32:28'),(88,2436,1468,'2020-05-08 10:15:05','2020-05-08 10:15:05'),(88,2437,1468,'2020-05-08 10:15:45','2020-05-08 10:15:45'),(88,2438,1469,'2020-05-06 12:51:31','2020-05-06 12:51:31'),(88,2438,1473,'2020-05-06 12:51:31','2020-05-06 12:51:31'),(88,2439,320,'2020-05-06 12:35:45','2020-05-06 12:35:45'),(88,2439,321,'2020-05-06 12:35:45','2020-05-06 12:35:45'),(88,2439,1472,'2020-05-06 12:35:45','2020-05-06 12:35:45'),(88,2440,1468,'2020-05-06 12:38:23','2020-05-06 12:38:23'),(88,2465,1459,'2020-04-23 12:52:08','2020-04-23 12:52:08'),(88,2467,1459,'2020-04-24 16:39:03','2020-04-24 16:39:03'),(88,2467,1460,'2020-04-24 16:39:03','2020-04-24 16:39:03'),(88,2467,1463,'2020-04-24 16:39:03','2020-04-24 16:39:03'),(88,2468,1459,'2020-04-24 16:39:39','2020-04-24 16:39:39'),(88,2468,1460,'2020-04-24 16:39:39','2020-04-24 16:39:39'),(88,2472,1620,'2020-05-06 17:02:12','2020-05-06 17:02:12'),(88,2473,1468,'2020-05-06 17:03:13','2020-05-06 17:03:13'),(88,2474,1468,'2020-04-30 09:52:11','2020-04-30 09:52:11'),(88,2476,1469,'2020-05-06 17:04:04','2020-05-06 17:04:04'),(88,2476,1468,'2020-05-06 17:04:04','2020-05-06 17:04:04'),(88,2479,352,'2020-05-20 09:42:54','2020-05-20 09:42:54'),(88,2479,305,'2020-05-20 09:42:54','2020-05-20 09:42:54'),(88,2479,289,'2020-05-20 09:42:54','2020-05-20 09:42:54'),(88,2481,352,'2020-05-20 10:32:47','2020-05-20 10:32:47'),(88,2417,352,'2020-05-20 10:33:23','2020-05-20 10:33:23'),(88,2480,352,'2020-05-20 10:33:57','2020-05-20 10:33:57'),(88,2482,352,'2020-05-20 10:34:23','2020-05-20 10:34:23'),(88,2492,312,'2020-04-24 17:16:58','2020-04-24 17:16:58'),(88,2495,1459,'2020-04-25 09:25:53','2020-04-25 09:25:53'),(88,2495,1460,'2020-04-25 09:25:53','2020-04-25 09:25:53'),(88,2497,1462,'2020-04-24 16:56:05','2020-04-24 16:56:05'),(88,2501,1462,'2020-05-06 11:56:02','2020-05-06 11:56:02'),(88,2502,307,'2020-05-06 11:58:40','2020-05-06 11:58:40'),(88,2503,1462,'2020-04-24 14:28:21','2020-04-24 14:28:21');
INSERT INTO `syj_concepto_asoc_valor` VALUES (88,2503,1468,'2020-04-24 14:28:21','2020-04-24 14:28:21'),(88,2507,1462,'2020-04-25 09:34:22','2020-04-25 09:34:22'),(88,2507,1468,'2020-04-25 09:34:22','2020-04-25 09:34:22'),(88,2511,315,'2020-04-25 17:24:19','2020-04-25 17:24:19'),(88,2512,1468,'2020-05-08 10:11:41','2020-05-08 10:11:41'),(88,2513,320,'2020-05-08 10:21:31','2020-05-08 10:21:31'),(88,2513,321,'2020-05-08 10:21:31','2020-05-08 10:21:31'),(88,2513,315,'2020-05-08 10:21:31','2020-05-08 10:21:31'),(88,2513,323,'2020-05-08 10:21:31','2020-05-08 10:21:31'),(88,2513,328,'2020-05-08 10:21:31','2020-05-08 10:21:31'),(88,2513,1473,'2020-05-08 10:21:31','2020-05-08 10:21:31'),(88,2514,320,'2020-05-06 12:32:28','2020-05-06 12:32:28'),(88,2514,321,'2020-05-06 12:32:28','2020-05-06 12:32:28'),(88,2514,323,'2020-05-06 12:32:28','2020-05-06 12:32:28'),(88,2515,1468,'2020-05-08 10:15:05','2020-05-08 10:15:05'),(88,2516,1468,'2020-05-08 10:15:45','2020-05-08 10:15:45'),(88,2517,1469,'2020-05-06 12:51:31','2020-05-06 12:51:31'),(88,2517,1473,'2020-05-06 12:51:31','2020-05-06 12:51:31'),(88,2518,320,'2020-05-06 12:35:45','2020-05-06 12:35:45'),(88,2518,321,'2020-05-06 12:35:45','2020-05-06 12:35:45'),(88,2518,1472,'2020-05-06 12:35:45','2020-05-06 12:35:45'),(88,2519,1468,'2020-05-06 12:38:23','2020-05-06 12:38:23'),(88,2546,1459,'2020-04-24 16:39:03','2020-04-24 16:39:03'),(88,2546,1460,'2020-04-24 16:39:03','2020-04-24 16:39:03'),(88,2546,1463,'2020-04-24 16:39:03','2020-04-24 16:39:03'),(88,2547,1459,'2020-04-24 16:39:39','2020-04-24 16:39:39'),(88,2547,1460,'2020-04-24 16:39:39','2020-04-24 16:39:39'),(88,2551,1620,'2020-05-06 17:02:12','2020-05-06 17:02:12'),(88,2552,1468,'2020-05-06 17:03:13','2020-05-06 17:03:13'),(88,2553,1468,'2020-04-30 09:52:11','2020-04-30 09:52:11'),(88,2555,1469,'2020-05-06 17:04:04','2020-05-06 17:04:04'),(88,2555,1468,'2020-05-06 17:04:04','2020-05-06 17:04:04'),(88,2567,312,'2020-04-24 17:16:58','2020-04-24 17:16:58'),(88,2570,1459,'2020-04-25 09:25:53','2020-04-25 09:25:53'),(88,2570,1460,'2020-04-25 09:25:53','2020-04-25 09:25:53'),(88,2572,1462,'2020-04-24 16:56:05','2020-04-24 16:56:05'),(88,2576,1462,'2020-05-06 11:56:02','2020-05-06 11:56:02'),(88,2577,307,'2020-05-06 11:58:40','2020-05-06 11:58:40'),(88,2578,1462,'2020-04-24 14:28:21','2020-04-24 14:28:21'),(88,2578,1468,'2020-04-24 14:28:21','2020-04-24 14:28:21'),(88,2582,1462,'2020-04-25 09:34:22','2020-04-25 09:34:22'),(88,2582,1468,'2020-04-25 09:34:22','2020-04-25 09:34:22'),(88,2586,315,'2020-04-25 17:24:19','2020-04-25 17:24:19'),(88,2587,1468,'2020-05-08 10:11:41','2020-05-08 10:11:41'),(88,2588,320,'2020-05-08 10:21:31','2020-05-08 10:21:31'),(88,2588,321,'2020-05-08 10:21:31','2020-05-08 10:21:31'),(88,2588,315,'2020-05-08 10:21:31','2020-05-08 10:21:31'),(88,2588,323,'2020-05-08 10:21:31','2020-05-08 10:21:31'),(88,2588,328,'2020-05-08 10:21:31','2020-05-08 10:21:31'),(88,2588,1473,'2020-05-08 10:21:31','2020-05-08 10:21:31'),(88,2589,320,'2020-05-06 12:32:28','2020-05-06 12:32:28'),(88,2589,321,'2020-05-06 12:32:28','2020-05-06 12:32:28'),(88,2589,323,'2020-05-06 12:32:28','2020-05-06 12:32:28'),(88,2590,1468,'2020-05-08 10:15:05','2020-05-08 10:15:05'),(88,2591,1468,'2020-05-08 10:15:45','2020-05-08 10:15:45'),(88,2592,1469,'2020-05-06 12:51:31','2020-05-06 12:51:31'),(88,2592,1473,'2020-05-06 12:51:31','2020-05-06 12:51:31'),(88,2593,320,'2020-05-06 12:35:45','2020-05-06 12:35:45'),(88,2593,321,'2020-05-06 12:35:45','2020-05-06 12:35:45'),(88,2593,1472,'2020-05-06 12:35:45','2020-05-06 12:35:45'),(88,2594,1468,'2020-05-06 12:38:23','2020-05-06 12:38:23'),(88,2619,1459,'2020-04-23 12:52:08','2020-04-23 12:52:08'),(88,2621,1459,'2020-04-24 16:39:03','2020-04-24 16:39:03'),(88,2621,1460,'2020-04-24 16:39:03','2020-04-24 16:39:03'),(88,2621,1463,'2020-04-24 16:39:03','2020-04-24 16:39:03'),(88,2622,1459,'2020-04-24 16:39:39','2020-04-24 16:39:39'),(88,2622,1460,'2020-04-24 16:39:39','2020-04-24 16:39:39');
INSERT INTO `syj_concepto_asoc_valor` VALUES (88,2626,1620,'2020-05-06 17:02:12','2020-05-06 17:02:12'),(88,2627,1468,'2020-05-06 17:03:13','2020-05-06 17:03:13'),(88,2628,1468,'2020-04-30 09:52:11','2020-04-30 09:52:11'),(88,2630,1469,'2020-05-06 17:04:04','2020-05-06 17:04:04'),(88,2630,1468,'2020-05-06 17:04:04','2020-05-06 17:04:04'),(88,2571,350,'2020-05-20 13:37:51','2020-05-20 13:37:51'),(88,2571,352,'2020-05-20 13:37:51','2020-05-20 13:37:51'),(88,2571,289,'2020-05-20 13:37:51','2020-05-20 13:37:51'),(88,2571,1460,'2020-05-20 13:37:51','2020-05-20 13:37:51'),(88,2571,301,'2020-05-20 13:37:51','2020-05-20 13:37:51'),(88,2571,353,'2020-05-20 13:37:51','2020-05-20 13:37:51'),(88,2571,354,'2020-05-20 13:37:51','2020-05-20 13:37:51'),(88,2632,2613,'2020-05-20 13:57:43','2020-05-20 13:57:43'),(88,2633,2613,'2020-05-20 14:01:44','2020-05-20 14:01:44'),(88,2562,2613,'2020-05-20 14:39:43','2020-05-20 14:39:43'),(88,2635,2631,'2020-05-20 16:30:00','2020-05-20 16:30:00'),(88,2635,2634,'2020-05-20 16:30:00','2020-05-20 16:30:00'),(88,2623,352,'2020-05-21 14:59:43','2020-05-21 14:59:43'),(88,2623,305,'2020-05-21 14:59:43','2020-05-21 14:59:43'),(88,2623,289,'2020-05-21 14:59:43','2020-05-21 14:59:43'),(88,2623,2611,'2020-05-21 14:59:43','2020-05-21 14:59:43'),(88,2623,2615,'2020-05-21 14:59:43','2020-05-21 14:59:43'),(88,2623,2574,'2020-05-21 14:59:43','2020-05-21 14:59:43'),(88,2623,2571,'2020-05-21 14:59:43','2020-05-21 14:59:43'),(88,2623,2625,'2020-05-21 14:59:43','2020-05-21 14:59:43'),(88,2623,2572,'2020-05-21 14:59:43','2020-05-21 14:59:43'),(88,2623,2632,'2020-05-21 14:59:43','2020-05-21 14:59:43'),(88,2623,2633,'2020-05-21 14:59:43','2020-05-21 14:59:43'),(88,2623,2562,'2020-05-21 14:59:43','2020-05-21 14:59:43'),(88,2496,350,'2020-05-21 15:23:32','2020-05-21 15:23:32'),(88,2496,352,'2020-05-21 15:23:32','2020-05-21 15:23:32'),(88,2496,289,'2020-05-21 15:23:32','2020-05-21 15:23:32'),(88,2496,1460,'2020-05-21 15:23:32','2020-05-21 15:23:32'),(88,2496,301,'2020-05-21 15:23:32','2020-05-21 15:23:32'),(88,2496,353,'2020-05-21 15:23:32','2020-05-21 15:23:32'),(88,2496,354,'2020-05-21 15:23:32','2020-05-21 15:23:32'),(88,2544,1459,'2020-05-21 15:33:21','2020-05-21 15:33:21'),(88,2722,312,'2020-04-24 17:16:58','2020-04-24 17:16:58'),(88,2725,1459,'2020-04-25 09:25:53','2020-04-25 09:25:53'),(88,2725,1460,'2020-04-25 09:25:53','2020-04-25 09:25:53'),(88,2727,1462,'2020-04-24 16:56:05','2020-04-24 16:56:05'),(88,2731,1462,'2020-05-06 11:56:02','2020-05-06 11:56:02'),(88,2732,307,'2020-05-06 11:58:40','2020-05-06 11:58:40'),(88,2733,1462,'2020-04-24 14:28:21','2020-04-24 14:28:21'),(88,2733,1468,'2020-04-24 14:28:21','2020-04-24 14:28:21'),(88,2737,1462,'2020-04-25 09:34:22','2020-04-25 09:34:22'),(88,2737,1468,'2020-04-25 09:34:22','2020-04-25 09:34:22'),(88,2741,315,'2020-04-25 17:24:19','2020-04-25 17:24:19'),(88,2742,1468,'2020-05-08 10:11:41','2020-05-08 10:11:41'),(88,2743,320,'2020-05-08 10:21:31','2020-05-08 10:21:31'),(88,2743,321,'2020-05-08 10:21:31','2020-05-08 10:21:31'),(88,2743,315,'2020-05-08 10:21:31','2020-05-08 10:21:31'),(88,2743,323,'2020-05-08 10:21:31','2020-05-08 10:21:31'),(88,2743,328,'2020-05-08 10:21:31','2020-05-08 10:21:31'),(88,2743,1473,'2020-05-08 10:21:31','2020-05-08 10:21:31'),(88,2744,320,'2020-05-06 12:32:28','2020-05-06 12:32:28'),(88,2744,321,'2020-05-06 12:32:28','2020-05-06 12:32:28'),(88,2744,323,'2020-05-06 12:32:28','2020-05-06 12:32:28'),(88,2745,1468,'2020-05-08 10:15:05','2020-05-08 10:15:05'),(88,2746,1468,'2020-05-08 10:15:45','2020-05-08 10:15:45'),(88,2747,1469,'2020-05-06 12:51:31','2020-05-06 12:51:31'),(88,2747,1473,'2020-05-06 12:51:31','2020-05-06 12:51:31'),(88,2748,320,'2020-05-06 12:35:45','2020-05-06 12:35:45'),(88,2748,321,'2020-05-06 12:35:45','2020-05-06 12:35:45'),(88,2748,1472,'2020-05-06 12:35:45','2020-05-06 12:35:45'),(88,2749,1468,'2020-05-06 12:38:23','2020-05-06 12:38:23'),(88,2776,1459,'2020-04-24 16:39:03','2020-04-24 16:39:03');
INSERT INTO `syj_concepto_asoc_valor` VALUES (88,2776,1460,'2020-04-24 16:39:03','2020-04-24 16:39:03'),(88,2776,1463,'2020-04-24 16:39:03','2020-04-24 16:39:03'),(88,2777,1459,'2020-04-24 16:39:39','2020-04-24 16:39:39'),(88,2777,1460,'2020-04-24 16:39:39','2020-04-24 16:39:39'),(88,2781,1620,'2020-05-06 17:02:12','2020-05-06 17:02:12'),(88,2782,1468,'2020-05-06 17:03:13','2020-05-06 17:03:13'),(88,2783,1468,'2020-04-30 09:52:11','2020-04-30 09:52:11'),(88,2785,1469,'2020-05-06 17:04:04','2020-05-06 17:04:04'),(88,2785,1468,'2020-05-06 17:04:04','2020-05-06 17:04:04'),(88,2548,352,'2020-05-22 09:02:15','2020-05-22 09:02:15'),(88,2548,305,'2020-05-22 09:02:15','2020-05-22 09:02:15'),(88,2548,289,'2020-05-22 09:02:15','2020-05-22 09:02:15'),(88,2726,352,'2020-05-22 10:35:23','2020-05-22 10:35:23'),(88,2787,352,'2020-05-22 10:39:40','2020-05-22 10:39:40'),(88,2774,1459,'2020-05-22 10:55:52','2020-05-22 10:55:52'),(88,2778,352,'2020-05-22 11:03:16','2020-05-22 11:03:16'),(88,2790,352,'2020-05-22 11:04:35','2020-05-22 11:04:35'),(1,3358,312,'2020-04-24 17:16:58','2020-04-24 17:16:58'),(1,3361,1459,'2020-04-25 09:25:53','2020-04-25 09:25:53'),(1,3361,1460,'2020-04-25 09:25:53','2020-04-25 09:25:53'),(1,3363,1462,'2020-04-24 16:56:05','2020-04-24 16:56:05'),(1,3367,1462,'2020-05-06 11:56:02','2020-05-06 11:56:02'),(1,3368,307,'2020-05-06 11:58:40','2020-05-06 11:58:40'),(1,3369,1462,'2020-04-24 14:28:21','2020-04-24 14:28:21'),(1,3369,1468,'2020-04-24 14:28:21','2020-04-24 14:28:21'),(1,3373,1462,'2020-04-25 09:34:22','2020-04-25 09:34:22'),(1,3373,1468,'2020-04-25 09:34:22','2020-04-25 09:34:22'),(1,3377,315,'2020-04-25 17:24:19','2020-04-25 17:24:19'),(1,3378,1468,'2020-05-08 10:11:41','2020-05-08 10:11:41'),(1,3379,320,'2020-05-08 10:21:31','2020-05-08 10:21:31'),(1,3379,321,'2020-05-08 10:21:31','2020-05-08 10:21:31'),(1,3379,315,'2020-05-08 10:21:31','2020-05-08 10:21:31'),(1,3379,323,'2020-05-08 10:21:31','2020-05-08 10:21:31'),(1,3379,328,'2020-05-08 10:21:31','2020-05-08 10:21:31'),(1,3379,1473,'2020-05-08 10:21:31','2020-05-08 10:21:31'),(1,3380,320,'2020-05-06 12:32:28','2020-05-06 12:32:28'),(1,3380,321,'2020-05-06 12:32:28','2020-05-06 12:32:28'),(1,3380,323,'2020-05-06 12:32:28','2020-05-06 12:32:28'),(1,3381,1468,'2020-05-08 10:15:05','2020-05-08 10:15:05'),(1,3382,1468,'2020-05-08 10:15:45','2020-05-08 10:15:45'),(1,3383,1469,'2020-05-06 12:51:31','2020-05-06 12:51:31'),(1,3383,1473,'2020-05-06 12:51:31','2020-05-06 12:51:31'),(1,3384,320,'2020-05-06 12:35:45','2020-05-06 12:35:45'),(1,3384,321,'2020-05-06 12:35:45','2020-05-06 12:35:45'),(1,3384,1472,'2020-05-06 12:35:45','2020-05-06 12:35:45'),(1,3385,1468,'2020-05-06 12:38:23','2020-05-06 12:38:23'),(1,3410,1459,'2020-05-21 15:33:21','2020-05-21 15:33:21'),(1,3413,1459,'2020-04-24 16:39:39','2020-04-24 16:39:39'),(1,3413,1460,'2020-04-24 16:39:39','2020-04-24 16:39:39'),(1,3416,1620,'2020-05-06 17:02:12','2020-05-06 17:02:12'),(1,3417,1468,'2020-05-06 17:03:13','2020-05-06 17:03:13'),(1,3418,1468,'2020-04-30 09:52:11','2020-04-30 09:52:11'),(1,3420,1469,'2020-05-06 17:04:04','2020-05-06 17:04:04'),(1,3420,1468,'2020-05-06 17:04:04','2020-05-06 17:04:04'),(88,3423,350,'2020-05-22 13:52:01','2020-05-22 13:52:01'),(88,3423,352,'2020-05-22 13:52:01','2020-05-22 13:52:01'),(88,3423,289,'2020-05-22 13:52:01','2020-05-22 13:52:01'),(88,3423,1460,'2020-05-22 13:52:01','2020-05-22 13:52:01'),(88,3423,301,'2020-05-22 13:52:01','2020-05-22 13:52:01'),(88,3423,353,'2020-05-22 13:52:01','2020-05-22 13:52:01'),(88,3423,354,'2020-05-22 13:52:01','2020-05-22 13:52:01'),(88,3424,350,'2020-05-22 13:55:00','2020-05-22 13:55:00'),(88,3424,352,'2020-05-22 13:55:00','2020-05-22 13:55:00'),(88,3424,289,'2020-05-22 13:55:00','2020-05-22 13:55:00'),(88,3424,1460,'2020-05-22 13:55:00','2020-05-22 13:55:00'),(88,3424,301,'2020-05-22 13:55:00','2020-05-22 13:55:00'),(88,3424,353,'2020-05-22 13:55:00','2020-05-22 13:55:00'),(88,3424,354,'2020-05-22 13:55:00','2020-05-22 13:55:00');
INSERT INTO `syj_concepto_asoc_valor` VALUES (8325,3528,3541,'2023-05-28 12:26:59','2023-05-28 12:26:59'),(8325,3531,3579,'2023-05-28 12:26:59','2023-05-28 12:26:59'),(8325,3531,3580,'2023-05-28 12:26:59','2023-05-28 12:26:59'),(8325,3533,3582,'2023-05-28 12:26:59','2023-05-28 12:26:59'),(8325,3537,3582,'2023-05-28 12:26:59','2023-05-28 12:26:59'),(8325,3538,3537,'2023-05-28 12:26:59','2023-05-28 12:26:59'),(8325,3539,3582,'2023-05-28 12:26:59','2023-05-28 12:26:59'),(8325,3539,3587,'2023-05-28 12:26:59','2023-05-28 12:26:59'),(8325,3543,3582,'2023-05-28 12:26:59','2023-05-28 12:26:59'),(8325,3543,3587,'2023-05-28 12:26:59','2023-05-28 12:26:59'),(8325,3547,3530,'2023-05-28 12:26:59','2023-05-28 12:26:59'),(8325,3548,3587,'2023-05-28 12:26:59','2023-05-28 12:26:59'),(8325,3549,3545,'2023-05-28 12:26:59','2023-05-28 12:26:59'),(8325,3549,3546,'2023-05-28 12:26:59','2023-05-28 12:26:59'),(8325,3549,3530,'2023-05-28 12:26:59','2023-05-28 12:26:59'),(8325,3549,3548,'2023-05-28 12:26:59','2023-05-28 12:26:59'),(8325,3549,3553,'2023-05-28 12:26:59','2023-05-28 12:26:59'),(8325,3549,3591,'2023-05-28 12:26:59','2023-05-28 12:26:59'),(8325,3550,3545,'2023-05-28 12:26:59','2023-05-28 12:26:59'),(8325,3550,3546,'2023-05-28 12:26:59','2023-05-28 12:26:59'),(8325,3550,3548,'2023-05-28 12:26:59','2023-05-28 12:26:59'),(8325,3551,3587,'2023-05-28 12:26:59','2023-05-28 12:26:59'),(8325,3552,3587,'2023-05-28 12:26:59','2023-05-28 12:26:59'),(8325,3553,3588,'2023-05-28 12:26:59','2023-05-28 12:26:59'),(8325,3553,3591,'2023-05-28 12:26:59','2023-05-28 12:26:59'),(8325,3554,3545,'2023-05-28 12:26:59','2023-05-28 12:26:59'),(8325,3554,3546,'2023-05-28 12:26:59','2023-05-28 12:26:59'),(8325,3554,3590,'2023-05-28 12:26:59','2023-05-28 12:26:59'),(8325,3555,3587,'2023-05-28 12:26:59','2023-05-28 12:26:59'),(8325,3580,3579,'2023-05-28 12:26:59','2023-05-28 12:26:59'),(8325,3582,3579,'2023-05-28 12:26:59','2023-05-28 12:26:59'),(8325,3582,3580,'2023-05-28 12:26:59','2023-05-28 12:26:59'),(8325,3582,3583,'2023-05-28 12:26:59','2023-05-28 12:26:59'),(8325,3583,3579,'2023-05-28 12:26:59','2023-05-28 12:26:59'),(8325,3583,3580,'2023-05-28 12:26:59','2023-05-28 12:26:59'),(8325,3587,3592,'2023-05-28 12:26:59','2023-05-28 12:26:59'),(8325,3588,3587,'2023-05-28 12:26:59','2023-05-28 12:26:59'),(8325,3589,3587,'2023-05-28 12:26:59','2023-05-28 12:26:59'),(8325,3591,3588,'2023-05-28 12:26:59','2023-05-28 12:26:59'),(8325,3591,3587,'2023-05-28 12:26:59','2023-05-28 12:26:59'),(8325,3607,3620,'2023-05-31 14:28:15','2023-05-31 14:28:15'),(8325,3610,3658,'2023-05-31 14:28:15','2023-05-31 14:28:15'),(8325,3610,3659,'2023-05-31 14:28:15','2023-05-31 14:28:15'),(8325,3612,3661,'2023-05-31 14:28:15','2023-05-31 14:28:15'),(8325,3616,3661,'2023-05-31 14:28:15','2023-05-31 14:28:15'),(8325,3617,3616,'2023-05-31 14:28:15','2023-05-31 14:28:15'),(8325,3618,3661,'2023-05-31 14:28:15','2023-05-31 14:28:15'),(8325,3618,3666,'2023-05-31 14:28:15','2023-05-31 14:28:15'),(8325,3622,3661,'2023-05-31 14:28:15','2023-05-31 14:28:15'),(8325,3622,3666,'2023-05-31 14:28:15','2023-05-31 14:28:15'),(8325,3626,3609,'2023-05-31 14:28:15','2023-05-31 14:28:15'),(8325,3627,3666,'2023-05-31 14:28:15','2023-05-31 14:28:15'),(8325,3628,3624,'2023-05-31 14:28:15','2023-05-31 14:28:15'),(8325,3628,3625,'2023-05-31 14:28:15','2023-05-31 14:28:15'),(8325,3628,3609,'2023-05-31 14:28:15','2023-05-31 14:28:15'),(8325,3628,3627,'2023-05-31 14:28:15','2023-05-31 14:28:15'),(8325,3628,3632,'2023-05-31 14:28:15','2023-05-31 14:28:15'),(8325,3628,3670,'2023-05-31 14:28:15','2023-05-31 14:28:15'),(8325,3629,3624,'2023-05-31 14:28:15','2023-05-31 14:28:15'),(8325,3629,3625,'2023-05-31 14:28:15','2023-05-31 14:28:15'),(8325,3629,3627,'2023-05-31 14:28:15','2023-05-31 14:28:15'),(8325,3630,3666,'2023-05-31 14:28:15','2023-05-31 14:28:15'),(8325,3631,3666,'2023-05-31 14:28:15','2023-05-31 14:28:15'),(8325,3632,3667,'2023-05-31 14:28:15','2023-05-31 14:28:15'),(8325,3632,3670,'2023-05-31 14:28:15','2023-05-31 14:28:15');
INSERT INTO `syj_concepto_asoc_valor` VALUES (8325,3633,3624,'2023-05-31 14:28:15','2023-05-31 14:28:15'),(8325,3633,3625,'2023-05-31 14:28:15','2023-05-31 14:28:15'),(8325,3633,3669,'2023-05-31 14:28:15','2023-05-31 14:28:15'),(8325,3634,3666,'2023-05-31 14:28:15','2023-05-31 14:28:15'),(8325,3661,3658,'2023-05-31 14:28:15','2023-05-31 14:28:15'),(8325,3661,3659,'2023-05-31 14:28:15','2023-05-31 14:28:15'),(8325,3661,3662,'2023-05-31 14:28:15','2023-05-31 14:28:15'),(8325,3662,3658,'2023-05-31 14:28:15','2023-05-31 14:28:15'),(8325,3662,3659,'2023-05-31 14:28:15','2023-05-31 14:28:15'),(8325,3666,3671,'2023-05-31 14:28:15','2023-05-31 14:28:15'),(8325,3667,3666,'2023-05-31 14:28:15','2023-05-31 14:28:15'),(8325,3668,3666,'2023-05-31 14:28:15','2023-05-31 14:28:15'),(8325,3670,3667,'2023-05-31 14:28:15','2023-05-31 14:28:15'),(8325,3670,3666,'2023-05-31 14:28:15','2023-05-31 14:28:15'),(8325,3685,3698,'2023-05-31 14:28:49','2023-05-31 14:28:49'),(8325,3688,3736,'2023-05-31 14:28:49','2023-05-31 14:28:49'),(8325,3688,3737,'2023-05-31 14:28:49','2023-05-31 14:28:49'),(8325,3689,3729,'2023-05-31 14:28:49','2023-05-31 14:28:49'),(8325,3689,3731,'2023-05-31 14:28:49','2023-05-31 14:28:49'),(8325,3689,3681,'2023-05-31 14:28:49','2023-05-31 14:28:49'),(8325,3689,3737,'2023-05-31 14:28:49','2023-05-31 14:28:49'),(8325,3689,3688,'2023-05-31 14:28:49','2023-05-31 14:28:49'),(8325,3689,3732,'2023-05-31 14:28:49','2023-05-31 14:28:49'),(8325,3689,3733,'2023-05-31 14:28:49','2023-05-31 14:28:49'),(8325,3690,3739,'2023-05-31 14:28:49','2023-05-31 14:28:49'),(8325,3694,3739,'2023-05-31 14:28:49','2023-05-31 14:28:49'),(8325,3695,3694,'2023-05-31 14:28:49','2023-05-31 14:28:49'),(8325,3696,3739,'2023-05-31 14:28:49','2023-05-31 14:28:49'),(8325,3696,3743,'2023-05-31 14:28:49','2023-05-31 14:28:49'),(8325,3700,3739,'2023-05-31 14:28:49','2023-05-31 14:28:49'),(8325,3700,3743,'2023-05-31 14:28:49','2023-05-31 14:28:49'),(8325,3704,3687,'2023-05-31 14:28:49','2023-05-31 14:28:49'),(8325,3705,3743,'2023-05-31 14:28:49','2023-05-31 14:28:49'),(8325,3706,3702,'2023-05-31 14:28:49','2023-05-31 14:28:49'),(8325,3706,3703,'2023-05-31 14:28:49','2023-05-31 14:28:49'),(8325,3706,3687,'2023-05-31 14:28:49','2023-05-31 14:28:49'),(8325,3706,3705,'2023-05-31 14:28:49','2023-05-31 14:28:49'),(8325,3706,3710,'2023-05-31 14:28:49','2023-05-31 14:28:49'),(8325,3706,3747,'2023-05-31 14:28:49','2023-05-31 14:28:49'),(8325,3707,3702,'2023-05-31 14:28:49','2023-05-31 14:28:49'),(8325,3707,3703,'2023-05-31 14:28:49','2023-05-31 14:28:49'),(8325,3707,3705,'2023-05-31 14:28:49','2023-05-31 14:28:49'),(8325,3708,3743,'2023-05-31 14:28:49','2023-05-31 14:28:49'),(8325,3709,3743,'2023-05-31 14:28:49','2023-05-31 14:28:49'),(8325,3710,3744,'2023-05-31 14:28:49','2023-05-31 14:28:49'),(8325,3710,3747,'2023-05-31 14:28:49','2023-05-31 14:28:49'),(8325,3711,3702,'2023-05-31 14:28:49','2023-05-31 14:28:49'),(8325,3711,3703,'2023-05-31 14:28:49','2023-05-31 14:28:49'),(8325,3711,3746,'2023-05-31 14:28:49','2023-05-31 14:28:49'),(8325,3712,3743,'2023-05-31 14:28:49','2023-05-31 14:28:49'),(8325,3739,3736,'2023-05-31 14:28:49','2023-05-31 14:28:49'),(8325,3739,3737,'2023-05-31 14:28:49','2023-05-31 14:28:49'),(8325,3739,3740,'2023-05-31 14:28:49','2023-05-31 14:28:49'),(8325,3743,3748,'2023-05-31 14:28:49','2023-05-31 14:28:49'),(8325,3744,3743,'2023-05-31 14:28:49','2023-05-31 14:28:49'),(8325,3745,3743,'2023-05-31 14:28:49','2023-05-31 14:28:49'),(8325,3747,3744,'2023-05-31 14:28:49','2023-05-31 14:28:49'),(8325,3747,3743,'2023-05-31 14:28:49','2023-05-31 14:28:49'),(8325,3750,3731,'2023-05-31 14:28:49','2023-05-31 14:28:49'),(8325,3752,3748,'2023-05-31 14:28:49','2023-05-31 14:28:49'),(8325,3752,3687,'2023-05-31 14:28:49','2023-05-31 14:28:49'),(8325,3765,3778,'2023-05-31 15:04:56','2023-05-31 15:04:56'),(8325,3768,3816,'2023-05-31 15:04:56','2023-05-31 15:04:56'),(8325,3768,3817,'2023-05-31 15:04:56','2023-05-31 15:04:56'),(8325,3769,3809,'2023-05-31 15:04:56','2023-05-31 15:04:56');
INSERT INTO `syj_concepto_asoc_valor` VALUES (8325,3769,3811,'2023-05-31 15:04:56','2023-05-31 15:04:56'),(8325,3769,3761,'2023-05-31 15:04:56','2023-05-31 15:04:56'),(8325,3769,3817,'2023-05-31 15:04:56','2023-05-31 15:04:56'),(8325,3769,3768,'2023-05-31 15:04:56','2023-05-31 15:04:56'),(8325,3769,3812,'2023-05-31 15:04:56','2023-05-31 15:04:56'),(8325,3769,3813,'2023-05-31 15:04:56','2023-05-31 15:04:56'),(8325,3770,3819,'2023-05-31 15:04:56','2023-05-31 15:04:56'),(8325,3774,3819,'2023-05-31 15:04:56','2023-05-31 15:04:56'),(8325,3775,3774,'2023-05-31 15:04:56','2023-05-31 15:04:56'),(8325,3776,3819,'2023-05-31 15:04:56','2023-05-31 15:04:56'),(8325,3776,3824,'2023-05-31 15:04:56','2023-05-31 15:04:56'),(8325,3780,3819,'2023-05-31 15:04:56','2023-05-31 15:04:56'),(8325,3780,3824,'2023-05-31 15:04:56','2023-05-31 15:04:56'),(8325,3784,3767,'2023-05-31 15:04:56','2023-05-31 15:04:56'),(8325,3785,3824,'2023-05-31 15:04:56','2023-05-31 15:04:56'),(8325,3786,3782,'2023-05-31 15:04:56','2023-05-31 15:04:56'),(8325,3786,3783,'2023-05-31 15:04:56','2023-05-31 15:04:56'),(8325,3786,3767,'2023-05-31 15:04:56','2023-05-31 15:04:56'),(8325,3786,3785,'2023-05-31 15:04:56','2023-05-31 15:04:56'),(8325,3786,3790,'2023-05-31 15:04:56','2023-05-31 15:04:56'),(8325,3786,3828,'2023-05-31 15:04:56','2023-05-31 15:04:56'),(8325,3787,3782,'2023-05-31 15:04:56','2023-05-31 15:04:56'),(8325,3787,3783,'2023-05-31 15:04:56','2023-05-31 15:04:56'),(8325,3787,3785,'2023-05-31 15:04:56','2023-05-31 15:04:56'),(8325,3788,3824,'2023-05-31 15:04:56','2023-05-31 15:04:56'),(8325,3789,3824,'2023-05-31 15:04:56','2023-05-31 15:04:56'),(8325,3790,3825,'2023-05-31 15:04:56','2023-05-31 15:04:56'),(8325,3790,3828,'2023-05-31 15:04:56','2023-05-31 15:04:56'),(8325,3791,3782,'2023-05-31 15:04:56','2023-05-31 15:04:56'),(8325,3791,3783,'2023-05-31 15:04:57','2023-05-31 15:04:57'),(8325,3791,3827,'2023-05-31 15:04:57','2023-05-31 15:04:57'),(8325,3792,3824,'2023-05-31 15:04:57','2023-05-31 15:04:57'),(8325,3817,3816,'2023-05-31 15:04:57','2023-05-31 15:04:57'),(8325,3819,3816,'2023-05-31 15:04:57','2023-05-31 15:04:57'),(8325,3819,3817,'2023-05-31 15:04:57','2023-05-31 15:04:57'),(8325,3819,3820,'2023-05-31 15:04:57','2023-05-31 15:04:57'),(8325,3820,3816,'2023-05-31 15:04:57','2023-05-31 15:04:57'),(8325,3820,3817,'2023-05-31 15:04:57','2023-05-31 15:04:57'),(8325,3821,3811,'2023-05-31 15:04:57','2023-05-31 15:04:57'),(8325,3821,3772,'2023-05-31 15:04:57','2023-05-31 15:04:57'),(8325,3821,3761,'2023-05-31 15:04:57','2023-05-31 15:04:57'),(8325,3824,3829,'2023-05-31 15:04:57','2023-05-31 15:04:57'),(8325,3825,3824,'2023-05-31 15:04:57','2023-05-31 15:04:57'),(8325,3826,3824,'2023-05-31 15:04:57','2023-05-31 15:04:57'),(8325,3828,3825,'2023-05-31 15:04:57','2023-05-31 15:04:57'),(8325,3828,3824,'2023-05-31 15:04:57','2023-05-31 15:04:57'),(8325,1682,1459,'2023-06-01 09:46:16','2023-06-01 09:46:16'),(8325,1995,352,'2023-06-01 11:11:27','2023-06-01 11:11:27'),(8325,1995,305,'2023-06-01 11:11:27','2023-06-01 11:11:27'),(8325,1995,289,'2023-06-01 11:11:27','2023-06-01 11:11:27'),(8325,3611,3651,'2023-06-01 11:56:25','2023-06-01 11:56:25'),(8325,3611,3653,'2023-06-01 11:56:25','2023-06-01 11:56:25'),(8325,3611,3603,'2023-06-01 11:56:25','2023-06-01 11:56:25'),(8325,3611,3659,'2023-06-01 11:56:25','2023-06-01 11:56:25'),(8325,3611,3610,'2023-06-01 11:56:25','2023-06-01 11:56:25'),(8325,3611,3654,'2023-06-01 11:56:25','2023-06-01 11:56:25'),(8325,3611,3655,'2023-06-01 11:56:25','2023-06-01 11:56:25'),(8325,3663,3653,'2023-06-01 12:05:40','2023-06-01 12:05:40'),(8325,3663,3614,'2023-06-01 12:05:40','2023-06-01 12:05:40'),(8325,3663,3603,'2023-06-01 12:05:40','2023-06-01 12:05:40'),(8325,3659,3658,'2023-06-01 12:06:09','2023-06-01 12:06:09'),(8325,3737,3736,'2023-06-01 12:20:10','2023-06-01 12:20:10'),(8325,315,1462,'2023-06-27 12:09:33','2023-06-27 12:09:33'),(8325,315,1468,'2023-06-27 12:09:33','2023-06-27 12:09:33'),(8325,322,315,'2023-06-27 12:10:25','2023-06-27 12:10:25');
INSERT INTO `syj_concepto_asoc_valor` VALUES (8325,328,1469,'2023-06-27 12:30:13','2023-06-27 12:30:13'),(8325,328,1473,'2023-06-27 12:30:13','2023-06-27 12:30:13'),(8325,3996,4008,'2023-06-29 14:24:21','2023-06-29 14:24:21'),(8325,3999,4046,'2023-06-29 14:24:21','2023-06-29 14:24:21'),(8325,3999,4047,'2023-06-29 14:24:21','2023-06-29 14:24:21'),(8325,4000,4049,'2023-06-29 14:24:21','2023-06-29 14:24:21'),(8325,4004,4049,'2023-06-29 14:24:21','2023-06-29 14:24:21'),(8325,4005,4004,'2023-06-29 14:24:21','2023-06-29 14:24:21'),(8325,4006,4049,'2023-06-29 14:24:21','2023-06-29 14:24:21'),(8325,4006,4053,'2023-06-29 14:24:21','2023-06-29 14:24:21'),(8325,4010,4049,'2023-06-29 14:24:21','2023-06-29 14:24:21'),(8325,4010,4053,'2023-06-29 14:24:21','2023-06-29 14:24:21'),(8325,4014,4010,'2023-06-29 14:24:21','2023-06-29 14:24:21'),(8325,4015,4053,'2023-06-29 14:24:21','2023-06-29 14:24:21'),(8325,4016,4012,'2023-06-29 14:24:21','2023-06-29 14:24:21'),(8325,4016,4013,'2023-06-29 14:24:21','2023-06-29 14:24:21'),(8325,4016,4010,'2023-06-29 14:24:21','2023-06-29 14:24:21'),(8325,4016,4015,'2023-06-29 14:24:21','2023-06-29 14:24:21'),(8325,4016,4020,'2023-06-29 14:24:21','2023-06-29 14:24:21'),(8325,4016,4057,'2023-06-29 14:24:21','2023-06-29 14:24:21'),(8325,4017,4012,'2023-06-29 14:24:21','2023-06-29 14:24:21'),(8325,4017,4013,'2023-06-29 14:24:21','2023-06-29 14:24:21'),(8325,4017,4015,'2023-06-29 14:24:21','2023-06-29 14:24:21'),(8325,4018,4053,'2023-06-29 14:24:21','2023-06-29 14:24:21'),(8325,4019,4053,'2023-06-29 14:24:21','2023-06-29 14:24:21'),(8325,4020,4054,'2023-06-29 14:24:21','2023-06-29 14:24:21'),(8325,4020,4057,'2023-06-29 14:24:21','2023-06-29 14:24:21'),(8325,4021,4012,'2023-06-29 14:24:21','2023-06-29 14:24:21'),(8325,4021,4013,'2023-06-29 14:24:21','2023-06-29 14:24:21'),(8325,4021,4056,'2023-06-29 14:24:21','2023-06-29 14:24:21'),(8325,4022,4053,'2023-06-29 14:24:21','2023-06-29 14:24:21'),(8325,4047,4046,'2023-06-29 14:24:21','2023-06-29 14:24:21'),(8325,4049,4046,'2023-06-29 14:24:21','2023-06-29 14:24:21'),(8325,4049,4047,'2023-06-29 14:24:21','2023-06-29 14:24:21'),(8325,4049,4050,'2023-06-29 14:24:21','2023-06-29 14:24:21'),(8325,4053,4058,'2023-06-29 14:24:21','2023-06-29 14:24:21'),(8325,4054,4053,'2023-06-29 14:24:21','2023-06-29 14:24:21'),(8325,4055,4053,'2023-06-29 14:24:21','2023-06-29 14:24:21'),(8325,4057,4054,'2023-06-29 14:24:21','2023-06-29 14:24:21'),(8325,4057,4053,'2023-06-29 14:24:21','2023-06-29 14:24:21'),(8325,3414,352,'2023-06-30 11:36:14','2023-06-30 11:36:14'),(8325,3741,3731,'2023-06-30 12:11:23','2023-06-30 12:11:23'),(8325,3741,3692,'2023-06-30 12:11:23','2023-06-30 12:11:23'),(8325,3741,3681,'2023-06-30 12:11:23','2023-06-30 12:11:23'),(8325,3741,3729,'2023-06-30 12:11:23','2023-06-30 12:11:23'),(8325,3741,3733,'2023-06-30 12:11:23','2023-06-30 12:11:23'),(8325,3741,3692,'2023-06-30 12:11:23','2023-06-30 12:11:23'),(8325,3741,3689,'2023-06-30 12:11:23','2023-06-30 12:11:23'),(8325,3741,3742,'2023-06-30 12:11:23','2023-06-30 12:11:23'),(8325,3741,3690,'2023-06-30 12:11:23','2023-06-30 12:11:23'),(8325,3584,3574,'2023-06-30 13:43:39','2023-06-30 13:43:39'),(8325,3584,3535,'2023-06-30 13:43:39','2023-06-30 13:43:39'),(8325,3584,3524,'2023-06-30 13:43:39','2023-06-30 13:43:39'),(8325,3532,3572,'2023-06-30 13:43:56','2023-06-30 13:43:56'),(8325,3532,3574,'2023-06-30 13:43:56','2023-06-30 13:43:56'),(8325,3532,3524,'2023-06-30 13:43:56','2023-06-30 13:43:56'),(8325,3532,3580,'2023-06-30 13:43:56','2023-06-30 13:43:56'),(8325,3532,3531,'2023-06-30 13:43:56','2023-06-30 13:43:56'),(8325,3532,3575,'2023-06-30 13:43:56','2023-06-30 13:43:56'),(8325,3532,3576,'2023-06-30 13:43:56','2023-06-30 13:43:56'),(8325,4051,4041,'2023-06-30 13:58:12','2023-06-30 13:58:12'),(8325,4051,4002,'2023-06-30 13:58:12','2023-06-30 13:58:12'),(8325,4051,3992,'2023-06-30 13:58:12','2023-06-30 13:58:12'),(8325,3740,3736,'2023-07-03 12:06:08','2023-07-03 12:06:08'),(8325,3740,3737,'2023-07-03 12:06:08','2023-07-03 12:06:08');
INSERT INTO `syj_concepto_asoc_valor` VALUES (8325,4050,4046,'2023-07-03 14:31:58','2023-07-03 14:31:58'),(8325,4050,4047,'2023-07-03 14:31:58','2023-07-03 14:31:58'),(8325,1686,352,'2023-07-03 20:43:58','2023-07-03 20:43:58'),(8325,1686,305,'2023-07-03 20:43:58','2023-07-03 20:43:58'),(8325,1686,289,'2023-07-03 20:43:58','2023-07-03 20:43:58'),(8325,1634,350,'2023-07-03 20:49:01','2023-07-03 20:49:01'),(8325,1634,352,'2023-07-03 20:49:01','2023-07-03 20:49:01'),(8325,1634,289,'2023-07-03 20:49:01','2023-07-03 20:49:01'),(8325,1634,1460,'2023-07-03 20:49:01','2023-07-03 20:49:01'),(8325,1634,301,'2023-07-03 20:49:01','2023-07-03 20:49:01'),(8325,1634,353,'2023-07-03 20:49:01','2023-07-03 20:49:01'),(8325,1634,354,'2023-07-03 20:49:01','2023-07-03 20:49:01'),(8325,1685,1459,'2023-07-03 20:49:23','2023-07-03 20:49:23'),(8325,1685,1460,'2023-07-03 20:49:23','2023-07-03 20:49:23'),(8325,3412,1459,'2024-05-02 14:03:17','2024-05-02 14:03:17'),(8325,3412,1460,'2024-05-02 14:03:17','2024-05-02 14:03:17'),(8325,3412,1463,'2024-05-02 14:03:17','2024-05-02 14:03:17'),(8325,331,1459,'2024-05-02 17:10:36','2024-05-02 17:10:36'),(8325,331,1467,'2024-05-02 17:10:36','2024-05-02 17:10:36'),(8325,2129,2158,'2024-05-02 17:23:14','2024-05-02 17:23:14'),(8325,2120,2158,'2024-05-02 17:32:53','2024-05-02 17:32:53'),(8325,2121,2158,'2024-05-02 18:01:28','2024-05-02 18:01:28'),(8325,2122,2158,'2024-05-02 18:05:00','2024-05-02 18:05:00'),(8325,2123,2158,'2024-05-02 18:05:34','2024-05-02 18:05:34');

--
