-- Table structure for table `lpg_granos`
--

CREATE TABLE `lpg_granos` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned NOT NULL,
  `descripcion` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `codigo_afip` int(10) unsigned NOT NULL,
  `habilitado` tinyint(1) NOT NULL DEFAULT '1',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=40 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `lpg_granos`
--

INSERT INTO `lpg_granos` VALUES (1,0,'Lino',1,1,NULL,NULL,NULL),(2,0,'Girasol',2,1,NULL,NULL,NULL),(3,0,'Maní en caja',3,1,NULL,NULL,NULL),(4,0,'Girasol Descascarado',4,1,NULL,NULL,NULL),(5,0,'Maní para industria de selección',5,1,NULL,NULL,NULL),(6,0,'Maní para industria aceitera',6,1,NULL,NULL,NULL),(7,0,'Maní tipo confitería',7,1,NULL,NULL,NULL),(8,0,'Colza',8,1,NULL,NULL,NULL),(9,0,'Colza “00”/Canola',9,1,NULL,NULL,NULL),(10,0,'Trigo forrajero',10,1,NULL,NULL,NULL),(11,0,'Cebada forrajera',11,1,NULL,NULL,NULL),(12,0,'Cebada apta para maltería',12,1,NULL,NULL,NULL),(13,0,'Trigo candeal',14,1,NULL,NULL,NULL),(14,0,'Trigo pan',15,1,NULL,NULL,NULL),(15,0,'Avena',16,1,NULL,NULL,NULL),(16,0,'Cebada cervecera',17,1,NULL,NULL,NULL),(17,0,'Centeno',18,1,NULL,NULL,NULL),(18,0,'Maíz',19,1,NULL,NULL,NULL),(19,0,'Mijo',20,1,NULL,NULL,NULL),(20,0,'Arroz cáscara',21,1,NULL,NULL,NULL),(21,0,'Sorgo granífero',22,1,NULL,NULL,NULL),(22,0,'Soja',23,1,NULL,NULL,NULL),(23,0,'Trigo blando',24,1,NULL,NULL,NULL),(24,0,'Trigo plata',25,1,NULL,NULL,NULL),(25,0,'Maíz flynt o plata',26,1,NULL,NULL,NULL),(26,0,'Maíz pisingallo',27,1,NULL,NULL,NULL),(27,0,'Triticale',28,1,NULL,NULL,NULL),(28,0,'Alpiste',30,1,NULL,NULL,NULL),(29,0,'Algodón',31,1,NULL,NULL,NULL),(30,0,'Cártamo',32,1,NULL,NULL,NULL),(31,0,'Poroto blanco natural oval y alubia',33,1,NULL,NULL,NULL),(32,0,'Poroto distinto del blanco oval y alubia',34,1,NULL,NULL,NULL),(33,0,'Arroz',35,1,NULL,NULL,NULL),(34,0,'Lenteja',46,1,NULL,NULL,NULL),(35,0,'Arveja',47,1,NULL,NULL,NULL),(36,0,'Poroto blanco seleccionado oval y alubia',48,1,NULL,NULL,NULL),(37,0,'Otras legumbres',49,1,NULL,NULL,NULL),(38,0,'Otros granos',50,1,NULL,NULL,NULL),(39,0,'Garbanzo',59,1,NULL,NULL,NULL);

--
-- Table structure for table `lpg_receipt_detail`
--

CREATE TABLE `lpg_receipt_detail` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned NOT NULL,
  `lpg_receipt_id` int(10) unsigned NOT NULL,
  `saldo_id` int(10) unsigned NOT NULL,
  `concepto` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `lpg_grano_id` int(10) unsigned NOT NULL,
  `cantidad` decimal(16,2) NOT NULL DEFAULT '0.00',
  `fac_elec_unidad_medida_id` int(10) unsigned NOT NULL,
  `precio` decimal(16,2) NOT NULL DEFAULT '0.00',
  `subtotal` 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 `lpg_receipt_detail_lpg_receipt_id_foreign` (`lpg_receipt_id`),
  KEY `lpg_receipt_detail_saldo_id_foreign` (`saldo_id`),
  KEY `lpg_receipt_detail_lpg_grano_id_foreign` (`lpg_grano_id`),
  KEY `lpg_receipt_detail_fac_elec_unidad_medida_id_foreign` (`fac_elec_unidad_medida_id`),
  CONSTRAINT `lpg_receipt_detail_fac_elec_unidad_medida_id_foreign` FOREIGN KEY (`fac_elec_unidad_medida_id`) REFERENCES `fac_elec_unidad_medidas` (`id`),
  CONSTRAINT `lpg_receipt_detail_lpg_grano_id_foreign` FOREIGN KEY (`lpg_grano_id`) REFERENCES `lpg_granos` (`id`),
  CONSTRAINT `lpg_receipt_detail_lpg_receipt_id_foreign` FOREIGN KEY (`lpg_receipt_id`) REFERENCES `lpg_receipts` (`id`),
  CONSTRAINT `lpg_receipt_detail_saldo_id_foreign` FOREIGN KEY (`saldo_id`) REFERENCES `conta_tipo_saldos` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `lpg_receipt_detail`
--


--
-- Table structure for table `lpg_receipts`
--

CREATE TABLE `lpg_receipts` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned NOT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `receipt_id` int(10) unsigned DEFAULT NULL,
  `fecha` date DEFAULT NULL,
  `num_comprobante` 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 `lpg_receipts_person_id_foreign` (`person_id`),
  KEY `lpg_receipts_receipt_id_foreign` (`receipt_id`),
  CONSTRAINT `lpg_receipts_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`),
  CONSTRAINT `lpg_receipts_receipt_id_foreign` FOREIGN KEY (`receipt_id`) REFERENCES `receipts` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `lpg_receipts`
--


--
-- Table structure for table `mails`
--

CREATE TABLE `mails` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `name` varchar(255) 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=12 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `mails`
--

INSERT INTO `mails` VALUES (1,NULL,'Principal',NULL,NULL,NULL),(2,NULL,'Segundo',NULL,NULL,NULL),(3,NULL,'Tercero',NULL,NULL,NULL),(4,NULL,'Cuarto',NULL,NULL,NULL),(5,NULL,'Quinto',NULL,NULL,NULL),(6,NULL,'Sexto',NULL,NULL,NULL),(7,NULL,'Septimo',NULL,NULL,NULL),(8,NULL,'Octavo',NULL,NULL,NULL),(9,NULL,'Noveno',NULL,NULL,NULL),(10,NULL,'Decimo',NULL,NULL,NULL),(11,NULL,'Otro',NULL,NULL,NULL);

--
-- Table structure for table `mails_details`
--

CREATE TABLE `mails_details` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `mail` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `telefono` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `comentario` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `mail_id` int(10) unsigned NOT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `status` int(10) unsigned 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 `mails_details_mail_id_foreign` (`mail_id`),
  KEY `mails_details_person_id_foreign` (`person_id`),
  CONSTRAINT `mails_details_mail_id_foreign` FOREIGN KEY (`mail_id`) REFERENCES `mails` (`id`),
  CONSTRAINT `mails_details_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `mails_details`
--

DELIMITER ;;
/*!50003 CREATE*/ /*!50017 DEFINER=`forge`@`%`*/ /*!50003 TRIGGER `MailsDetail_BD` BEFORE DELETE ON `mails_details` FOR EACH ROW insert into back_up_mails_details (mail,telefono,comentario,mail_id,person_id,modificado)
values(old.mail,old.telefono,old.comentario,old.mail_id,old.person_id,now()) */;;
DELIMITER ;

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

CREATE TABLE `migrations` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `migration` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `batch` int(11) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=513 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

INSERT INTO `migrations` VALUES (1,'2014_10_12_000000_create_users_table',1),(2,'2014_10_12_100000_create_password_resets_table',1),(3,'2017_09_15_000000_CreateCountrysTable',1),(4,'2017_09_15_100000_CreateStatesTable',1),(5,'2017_09_15_221521_create_modules_table',1),(6,'2017_09_15_224048_create_usermodules_table',1),(7,'2017_12_04_172644_CreateTableActivitites',1),(8,'2017_12_04_181801_CreateTableReceiptTypes',1),(9,'2017_12_04_182416_CreateTableRetentionType',1),(10,'2017_12_04_190828_CreateTableTypes',1),(11,'2017_12_04_191413_CreateTableRetentions',1),(12,'2017_12_04_191537_CreateTableIIBBRetentions',1),(13,'2017_12_04_192126_CreateTableSystemTaxes',1),(14,'2017_12_04_202132_CreateTableZones',1),(15,'2017_12_04_210000_CreateTableOtherTaxes',1),(16,'2017_12_07_200000_CreateTableTaxAccounts',1),(17,'2017_12_07_202200_CreateTableStatus',1),(18,'2017_12_07_204438_CreateTablePersons',1),(19,'2017_12_07_204500_CreateTablePersonZones',1),(20,'2017_12_07_205029_CreateTablePeriods',1),(21,'2017_12_07_205700_CreateTableReceipts',1),(22,'2017_12_07_205819_CreateTableReceiptTaxes',1),(23,'2017_12_16_025744_CreateTableUserPersons',1),(24,'2018_02_01_205100_CreateTablePeriodLiquidation',1),(25,'2018_02_02_150420_ModPeriodLiq_CreateDetail',1),(26,'2018_02_06_162435_CreateTablePersonConfigurations',1),(27,'2018_03_07_162435_CreateTablesLiqIVA',1),(28,'2018_03_18_000010_IVAGroups',1),(29,'2018_03_20_000010_InsertsRT',1),(30,'2018_03_21_000010_UpdateRT',1),(31,'2018_03_26_232558_InsertsModules',1),(32,'2018_03_28_151014_CreateTablesBusinessModule',1),(33,'2018_04_11_124200_ModBusinessModule',1),(34,'2018_04_17_153900_ModBusinessModule2',1),(35,'2018_04_20_115000_TableBaseMonthsForPeriods',1),(36,'2018_04_24_155000_ModAddUsersBusiness',1),(37,'2018_04_27_162700_BusinessFieldsEmpresaMadre',1),(38,'2018_05_04_144100_BusinessViewValidateSave',1),(39,'2018_05_18_110400_FileUplodsBase_XLS',2),(40,'2018_05_30_183700_alter__system_taxes_to_system_taxese',3),(41,'2018_05_30_220512_alter__system_taxes__add__status',3),(42,'2018_05_31_221821_update_data_types',4),(43,'2018_06_03_1341_ProcedureAssingPeriodsTo',5),(44,'2018_06_04_001420_create_reportes_table',5),(45,'2018_06_04_2159_ProcedureReportesComprobantes',5),(46,'2018_06_05_104818_update_receipt_types__column__code',5),(47,'2018_06_05_171044_update__system__taxes__gravado0',5),(48,'2018_06_06_010459_create_procedure_creacion_empresa_usuario',5),(49,'2018_06_06_110700_UpdateReportesRutas',6),(50,'2018_06_07_011985_create_procedure_eliminasion_masiva_comprobantes',7),(51,'2018_06_09_141500_UpdateReportesRutasTableroAndModules',8),(52,'2018_06_10_203200_CreateViewReceiptsReports',9),(53,'2018_06_11_114580_UpdateTypesEliminacionMasiva',9),(54,'2018_06_19_110400_TableControlGeneral',10),(57,'2018_06_19_158985_InsertsModules_Control_General',11),(58,'2018_06_22_203200_CreateViewLiquidacionesIVA',12),(61,'2018_06_27_204440_alter_Table_Person_Configuration',13),(70,'2018_07_01_110401_InsertsModules_ClavesYMails',17),(71,'2018_07_01_110400_TableClavesYMails',18),(72,'2018_06_27_204436_CreateTableMails',19),(73,'2018_06_27_204437_CreateTableMailsDetails',19),(74,'2018_06_27_204438_CreateTableClaves',19),(75,'2018_06_27_204439_CreateTableClavesDetails',19),(76,'2018_07_07_011985_alter_procedure_eliminasion_masiva_comprobantes',20),(77,'2018_07_08_110400_UpdateTableClavesYMails',21),(78,'2018_07_11_011985_alter_procedure_eliminasion_masiva_comprobantes',22),(79,'2018_07_11_010459_alter_procedure_creacion_empresa_usuario',23),(80,'2018_07_15_110401_InsertsModules_Informacion',24),(81,'2018_07_17_110400_AddRegistroClavesYMails',25),(82,'2018_07_17_204439_CreateTableCharlasDetails',25),(83,'2018_07_11_011985_alter_procedure_eliminasion_masiva_comprobantes2',26),(90,'2018_07_18_110410_AddRegistroControlGeneral',26),(92,'2018_07_19_110404_SP_LiquidacionesHijas',26),(95,'2018_07_18_110400_TableVtoImpuestos',27),(96,'2018_07_18_110401_TableVtoFinCuit',27),(97,'2018_07_18_110402_TableImpuestoFinCuit',27);
INSERT INTO `migrations` VALUES (98,'2018_07_18_110403_TableVtoVencimiento',27),(99,'2018_07_18_110405_TableCategoriaImpuesto',27),(100,'2018_07_18_110409_TablePerson_Impuesto',27),(102,'2018_07_18_110412_CreateView_VencimientosAnuales',27),(103,'2018_07_18_110412_CreateView_liquidaciones_iibb',28),(104,'2018_07_18_110413_AddRegistroControlGeneral2',28),(105,'2018_07_18_110414_AddColumnTablePerson_Impuesto',28),(107,'2018_07_27_110400_InsertsModules_Impuestos',30),(115,'2018_07_29_110405_AddTypesAsientoSueldos',32),(116,'2018_07_29_110398_TableContaTipoCuentas',33),(117,'2018_07_29_110399_TableContaTipoSaldos',33),(118,'2018_07_29_110400_TableContaPlanCuenta',33),(119,'2018_07_29_110401_TableContaTipoDeAsientos',33),(126,'2018_08_06_110400_CreateTableEjerciciosAnteriores',36),(127,'2018_08_06_110400_AddTypesExportar',37),(128,'2018_08_12_110404_SP_LiquidacionesHijasActualizadas',38),(129,'2018_08_16_110400_AddReporteIVA',39),(130,'2018_08_16_110401_EditReporteLiquidacionesIIBB',39),(135,'2018_08_26_110400_InsertsModules_MonotributoIIBB',41),(136,'2018_08_66_110401_CreateTableCategoriasMonotributo',41),(139,'2018_08_22_093000_SP_LiquidacionesHijasFiltrosCorregidos',42),(140,'2018_08_30_110400_SP_DeleteLiquidationStatus1',43),(141,'2018_09_02_110400_SP_AsientoSueldo',44),(142,'2018_09_02_110401_SP_IIBBGasto',44),(143,'2018_09_02_110402_SP_ProyecGanancias',44),(144,'2018_09_02_110403_SP_RetencionesGanancias',44),(145,'2018_09_02_110404_SP_AnticiposGanancias',44),(146,'2018_09_03_110400_CreateViewLiquidacionesIVACorregida',45),(147,'2018_09_03_110401_CreateView_liquidaciones_iibbCorregida',45),(148,'2018_06_29_114600_CreateView_Proyeccion_Ganancias',46),(149,'2018_08_01_110401_CreateView_IIBB_Gasto',46),(150,'2018_08_05_110401_CreateView_AntGanan_SIRCREB_Compen',46),(151,'2018_08_01_110400_CreateView_Asientos',47),(152,'2018_08_05_110400_CreateView_RetencionesGanancias',47),(153,'2018_08_27_110400_CreateView_ProyecGananciasAll',48),(154,'2018_08_31_161300_TablesFacturaElectronica',49),(155,'2018_09_06_110400_InsertsModules_CtasCtes',50),(160,'2018_09_15_110400_AddColumnTablePersonConfiguration',50),(161,'2018_09_18_110400_InsertsModules_Bancos',50),(162,'2018_09_19_110400_SP_assingFromPeriodsPerson',51),(169,'2018_07_29_110402_TableContaAsientos',53),(170,'2018_07_29_110404_TableContaAsientosDetails',53),(171,'2018_09_10_110402_CreateView_CtaCteAsientos',53),(172,'2018_09_13_110400_AddColumnTableContaAsientos',53),(173,'2018_09_10_110400_CreateView_CtaCteSaldosCajas',54),(174,'2018_09_21_110400_AddColumnTableContaAsientosDebeHaber',54),(175,'2018_09_23_110400_InsertsModules_Gastos',54),(176,'2018_09_23_110401_TableCtaCteTiposDeGastos',54),(177,'2018_09_23_110402_TableCtaCteCuentaTipo',54),(178,'2018_09_23_110403_TableCtaCteCentrosCostos',54),(179,'2018_09_24_110400_TableCtaCteGastosMensuales',54),(180,'2018_09_27_110400_AddColumnTableContaAsientosPagado',54),(181,'2018_10_05_110400_InsertsModules_TableroControl',54),(183,'2018_10_09_110400_AddColumnTablePersonConfigurationBanco',56),(184,'2018_09_10_110401_CreateView_CtaCteClientes',57),(185,'2018_10_15_110400_TableCtaCteBancos',58),(186,'2018_10_15_110401_TableCtaCteCheques',58),(187,'2018_10_16_110400_CreateView_CtaCteCheques',58),(188,'2018_10_18_110400_CreateView_ConsultaComprobantes',59),(189,'2018_07_18_110411_CreateView_VencimientoImpuestos',60),(190,'2018_10_22_110400_TableCtaCteBancosDatos',61),(191,'2018_11_02_110400_AddColumnTableReceiptComprobanteAFIP',62),(192,'2018_11_04_110400_CreateTableClavesDetailsBackUp',62),(193,'2018_11_04_110401_CreateTableMailsDetailsBackUp',62),(194,'2018_11_04_110402_CreateTableCharlasDetailsBackUp',62),(195,'2018_11_04_110403_TriggerClaves',62),(196,'2018_11_04_110404_TriggerMails',62),(197,'2018_11_04_110405_TriggerCharla',62),(198,'2018_11_08_010400_modify_procedure_creacion_empresa_usuario',62),(199,'2018_11_10_110400_AddColumnTableChequesFoto',62),(200,'2018_11_19_110400_ModifyView_VencimientoImpuestos',62);
INSERT INTO `migrations` VALUES (201,'2018_11_23_110400_DeleteForeignKeyCtaCteCheques',62),(202,'2018_11_26_110400_AddColumnTableVto_categoria_imp',62),(203,'2018_11_26_110401_CreateSPMonotributistas',62),(204,'2018_11_28_110400_CreateTableCategoriasIIBB',62),(205,'2018_11_28_110401_UpdateTableVto_categoria_imp',62),(206,'2018_11_28_110402_CreateView_IIBBRegSimpl',62),(207,'2018_12_05_110400_CreateView_PDF_ConsultaComprobantes',62),(208,'2018_12_06_110400_Add_data_types_libros',62),(209,'2018_12_07_110400_ViewLiquidacionesIVALiquidador',62),(210,'2018_12_07_110401_View_liquidaciones_iibbLiquidador',62),(211,'2018_12_09_110400_AddColumnFileReceipts',62),(212,'2018_12_11_110400_InsertsModules_Contabilidad',62),(213,'2018_12_12_110400_TableBalanceLibro',62),(214,'2018_12_12_110401_TableBalanceLibroDetails',62),(215,'2018_12_12_110402_AddContaTipoDeAsientos',62),(216,'2018_12_13_110400_UpdateTableContaPlanCuenta',62),(217,'2018_12_26_110400_CreateSPAsientosContables',62),(218,'2019_01_01_110400_AddColumnContaPlanCuenta',62),(219,'2019_01_02_110400_InsertsModules_ContabilidadPlanCuenta',62),(220,'2019_01_02_110401_AddCuentasTableContaPlanCuenta',62),(221,'2019_01_02_110402_ModifyRubroContaPlanCuenta',62),(222,'2019_01_03_11040_ModifyVentasPlanCuenta',62),(223,'2019_01_03_11041_ModifyPlanCuentasNiveles',62),(224,'2019_01_04_110400_AddColumnContaPlanCuentaNoEditable',62),(225,'2019_01_04_110401_ModifyColumnBalanceLibro',62),(226,'2019_01_04_110402_ModifySPAsientosContables',62),(227,'2019_01_04_110403_ModifyPlanCuentasNiveles5',62),(228,'2019_01_04_110404_InsertsModules_ContabilidadReportes',62),(229,'2019_01_06_110400_ModifyTableCategoriasMonotributo',62),(230,'2019_01_06_110401_ModiyfyContaPlanCuentaNivel5',62),(231,'2019_01_06_110402_SPSumasYSaldos',62),(232,'2019_01_07_110400_ModifyView_CtaCteClientes',62),(233,'2019_01_08_110400_ModiyfyOtraVezContaPlanCuentaNivel5',62),(234,'2019_01_08_110401_ModifySPAsientosContablesV1',62),(235,'2019_01_08_110402_UpdateTableVtoVencimiento2019',62),(236,'2019_01_08_110403_UpdateTableCategoriasMonotributo',62),(237,'2019_01_08_1104043_UpdateTableCategoriasIIBB',62),(238,'2019_01_09_110400_AddColumnconta_tipo_asientosOrderBy',62),(239,'2019_01_09_110401_ModifySPAsientosContablesOrderBy',62),(240,'2019_01_09_110402_UpdateValores2019vto_categoria_imp',62),(241,'2019_01_09_135600_SPAsignacionPeriodosEntreFechas',62),(242,'2019_01_16_110400_ModifySPAsientosContablesV2',62),(243,'2019_01_17_110400_InsertsModules_ContabilidadLibros',62),(244,'2019_01_17_110401_Delete_data_types_libros',62),(245,'2019_01_18_110400_ModifySPAsientosContablesV3',62),(246,'2019_01_19_110400_ModifySPAsientosContablesMensuales',62),(247,'2019_01_20_110400_InsertsModules_Administracion',62),(248,'2019_01_21_110400_CreateTableDbAbuelas',62),(249,'2019_01_21_110400_SP_AsientoSueldoV1',62),(250,'2019_01_24_110400_ModifySPAsientosContablesMensualesV1',62),(251,'2019_01_24_110401_ModiyfyContaPlanCuentaNivelV1',62),(252,'2019_01_24_110402_Modify_CtaCteSaldosCajasV1',62),(253,'2019_02_08_110400_InsertsModules_Mails',62),(254,'2019_02_10_183012_create_jobs_table',62),(255,'2019_02_11_110400_AddColumnTdbAbuelasLocalidad',62),(256,'2019_02_11_110401_ModifyPlanCuentasNiveles6',62),(257,'2019_02_11_110401_SP_VtoImpuestosMail',62),(258,'2019_02_12_110400_UpdateValores2019vto_categoria_impV1',62),(259,'2019_02_12_110401_SP_VtoImpuestosMailV1',63),(260,'2019_02_12_110402_AddColumnTablePersonConfigurationEnviarMail',63),(261,'2019_02_15_011342_create_failed_jobs_table',63),(262,'2019_02_15_110400_AddHonorarioToTableVtoVencimiento',63),(263,'2019_02_17_110400_AddTypeUserOperador',63),(264,'2019_02_22_110400_CreateTableVto_person_impuestos_creados',63),(265,'2019_03_06_110400_UpdateTableCategoriasMonotributoV1',64),(266,'2018_09_17_115300_UpdateConDatosTablesFacturaElectronica',65),(267,'2018_09_21_110401_CreateView_CtaCteClientes',65),(268,'2018_09_27_154000_ModifyTablesFacturaElectronica',65),(269,'2019_01_12_090909_ModifyTablesFacturaElectronicaPuntoVenta',65);
INSERT INTO `migrations` VALUES (270,'2019_03_13_110400_CreateView_CtaCteClientesV2',66),(271,'2019_03_13_110401_AddColumnContaAsiento',67),(272,'2019_03_20_110400_UpdateValores2019vto_categoria_impAutonomosMarzo',68),(273,'2019_03_20_110400_UpdateValores2019vto_categoria_impAutonomosMarzoV1',69),(274,'2019_03_20_110401_CreateTablePruebaGratis',70),(275,'2019_03_27_110400_AddColumnTableBalanceLibro',71),(276,'2019_03_29_110400_SP_VtoImpuestosMailV2',72),(277,'2019_04_04_110400_ModifyPlanCuentasNiveles7',73),(278,'2019_04_09_110400_AddColumnPersonPlanCuentaId',74),(279,'2019_04_09_110401_AddColumnReceiptPlanCuentaId',74),(280,'2019_04_05_110400_AddColumnTableReceiptTypes',75),(281,'2019_04_14_110400_Insert_data_typesMisComprobantes',75),(282,'2019_04_28_110400_DeleteRegisterReportes',76),(283,'2019_04_30_110400_CorreccionTableVtoVencimiento2019',77),(284,'2019_04_22_110400_AddColumnAndUpdateCuenta_idInTablesImpuestos',78),(285,'2019_04_23_110400_AddRegisterTableSystemTaxes',78),(286,'2019_04_25_110400_AddColumnTableOtherTaxes',78),(287,'2019_05_02_110400_SPExportarComprobantes',78),(288,'2019_05_14_110400_AddRegisterReceiptTypes',79),(289,'2019_05_24_110400_UpdatePersons',80),(292,'2019_06_07_110400_AddColumnUser',81),(294,'2019_06_21_110400_TableActas',82),(295,'2019_06_27_110400_SPExportarComprobantes',83),(296,'2019_06_28_110400_AddRegisterTActas',84),(297,'2019_03_04_110400_UpdateSystemTaxesAfipAlicuota',85),(298,'2019_04_01_100000_ModificacionesFADetallesCondicionesVenta',85),(299,'2019_04_19_100000_TablasFacturaElectronicaMasiva',85),(300,'2019_06_27_110400_SPUpdateHonorario',86),(301,'2019_07_09_110400_AddColumnFacEleRecDetail',86),(302,'2019_07_10_110400_AddColumnPersonConfig',87),(303,'2019_07_11_110400_ModifySPproyecGanancias',87),(304,'2019_07_11_110401_ModifySPAsientoSueldo',87),(305,'2019_07_11_110402_ModifySPiibb_gasto',87),(306,'2019_07_11_110403_ModifySPRetenciones',87),(307,'2019_07_11_110404_ModifySPAnticipoGanancias',87),(308,'2019_07_11_110405_ModifySPIIBB_Gasto',88),(309,'2019_07_11_110406_SPLiquidacionesIVA',88),(310,'2019_07_11_110407_SPLiquidacionesIIBB',88),(311,'2019_07_11_110408_ModifySPMonotributistas',89),(312,'2019_07_11_110409_ModifySPIIBB_GastoV1',90),(313,'2019_07_11_110410_SPReceipts',91),(314,'2019_07_11_110411_SPReceiptsForExporTXT',92),(315,'2019_07_14_110400_TableFEUnidadMedida',93),(316,'2019_07_14_110401_TableCondicionFrenteIVA',93),(317,'2019_07_14_110402_AddColumnCondFrenteIVAFE',93),(318,'2019_07_15_110401_ModifySPMonotributistasV1',93),(319,'2019_07_215_110400_DeleteRegisterSystemTaxes',93),(320,'2019_07_18_110400_ModifySPIIBB_GastoV2',94),(321,'2019_07_18_110401_ModifySPLiquidacionesIIBB',94),(322,'2019_07_18_110403_ModifySPLiquidacionesIVA',94),(323,'2019_07_23_110400_AddColumnFEMasivaDetalle',95),(324,'2019_07_29_110400_AddColumnReceiptType_FE',96),(325,'2019_08_05_110400_DeleteForeingKeyTableReceiptFactElec',97),(327,'2019_08_07_110400_UpdateValores2019vto_categoria_impAutonomosJunio',98),(328,'2019_08_07_110401_InsertsModules_Configuracion',99),(329,'2019_08_11_110401_InsertsModules_CerrarPeriodosContabilidad',100),(330,'2019_08_20_110400_AddColumnFEPuntoVenta',101),(331,'2019_08_20_110401_AddModuleFEConfiguracion',101),(332,'2019_08_23_110400_DeleteCuentaPlanCuenta',102),(333,'2019_08_28_110400_ModifyActasModelos',103),(334,'2019_09_26_110400_ModifyView_IIBBRegSimpl',104),(335,'2019_10_01_110400_UpdateTableCategoriasIIBBV2',105),(336,'2019_10_01_110401_UpdateValores2019vto_categoria_impAutonomosSeptiembre',106),(337,'2019_09_17_110400_TableCtaCteClientes',107),(338,'2019_09_17_110401_AddModuleCtaCteCliente',107),(339,'2019_09_19_110400_SPCtaCteCliente',107),(340,'2019_09_22_110400_AddColumnBalanceLibroCtaCteCliente',107),(341,'2019_09_23_110400_ModifySPAsientosContablesV2',107),(342,'2019_09_24_110400_TableCtaCtePivotReceipt',107),(343,'2019_09_25_110400_ModifyCuentasContablesRetenciones',107),(344,'2019_09_2_110401_AddRegisterContaTipoAsientos',107);
INSERT INTO `migrations` VALUES (345,'2019_10_04_110398_AddColumnPlanCuenta',108),(346,'2019_10_04_110399_DeleteColumnBalanceLibro',108),(347,'2019_10_04_110400_TableCtaCteTesoreriaCuentas',108),(348,'2019_10_04_110401_TableCtaCteTesoreriaCtaCte',108),(349,'2019_10_04_110402_AddColumnBalanceLibroCtaCteTesoreria',108),(350,'2019_10_04_110404_ModifyTableCtaCteCheques',108),(351,'2019_10_05_110404_ModifyTableCtaCteCcliente',108),(352,'2019_10_06_110400_AddModuleTesoreria',108),(353,'2019_10_09_110400_SPCtaCteClienteUpdate',108),(354,'2019_10_16_11040_AddRegisterContaTipoAsientos22',108),(355,'2019_10_24_110400_AddModuleNoFiscal',109),(356,'2019_10_24_110401_TablesNoFiscal',109),(357,'2019_10_30_110400_ModifySPAsientosContablesV3',109),(358,'2019_29_10_110400_ModifyTablesNFRelashionship',109),(359,'2019_11_03_110400_AddFacturaElectronicaPyme',110),(360,'2019_11_08_110400_TablesGanancias',111),(361,'2019_11_08_110401_AddModuleGanancias',111),(362,'2019_11_18_110400_AddModuleBienesPersonales',112),(363,'2019_11_18_110400_TablesBienesPersonales',112),(364,'2019_11_20_110400_UpdateDataTypeLibroIvaDigital',113),(365,'2019_11_21_110400_AddColumnPersonConfFELeyenda',114),(366,'2019_11_24_110400_TablesAsientosModelos',115),(367,'2019_11_27_110400_TablesObligacionesAnuales',116),(368,'2019_11_27_110401_AddModuleObligacionesAnuales',116),(369,'2019_12_06_110400_UpdateDataTypeAFIP',117),(370,'2019_12_06_110401_AddModuleControlAfip',118),(371,'2019_12_06_110402_TableControlCuitsAfip',118),(372,'2019_12_08_110400_AddColumnJobs',118),(373,'2019_12_09_110401_TablesRecibos',119),(374,'2019_12_09_11040_AddModuleRecibo_Presupuesto',119),(375,'2019_12_14_110400_DeleteTableFE',120),(376,'2019_12_16_110400_TablesDeudasImpositivas',121),(377,'2019_12_16_110401_AddModuleDeudasImpositivas',121),(378,'2019_12_18_110400_AddUserFirma',121),(379,'2019_12_23_110400_TablesPresupuestos',122),(380,'2019_12_24_110400_UpdateTableBalanceAddUser',123),(381,'2020_01_07_110400_ModifyForeingConstrainBalanceLibro',124),(382,'2020_01_08_110400_AddIIBBCordoba',125),(383,'2020_01_09_110399_AddIIBBCordobaRegSimp',126),(384,'2020_01_09_110400_UpdateTableVtoVencimiento2020',126),(385,'2020_01_09_110401_UpdateTableCategoriasMonotributo2020',126),(386,'2020_01_09_110402_UpdateTableCategoriasIIBB2020',126),(387,'2020_01_09_110403_UpdateValores2020vto_categoria_imp',126),(388,'2020_01_09_110404_UpdateVencimientosPerson2020',126),(389,'2020_01_12_110400_ModifySPMonotributistasV2',127),(390,'2020_01_13_110400_AddSoftDeletePeriodLiquidations',128),(391,'2020_01_14_110400_SPExportarComprobantesV2',129),(392,'2020_01_14_110401_ModifySPRetencionesV1',129),(393,'2020_01_14_110402_ModifySPAnticipoGananciasV1',129),(394,'2020_01_16_110400_ModifySPMonotributistasV3',130),(395,'2020_01_16_110401_UpdateValores2020vto_categoria_impV1',131),(396,'2020_01_16_110402_UpdateVencimientosPerson2020V1',131),(397,'2020_01_15_110400_TableTUser_Persons',132),(398,'2020_01_15_110401_TablesNotificaciones',132),(399,'2020_01_27_110400_AddReceiptTypeCierreZ',133),(400,'2020_01_28_110400_TablesGananciasV1',134),(401,'2020_01_28_110401_TablesGanancias2020',135),(402,'2020_01_30_110400_DeleteRegisterNoFicalContabilidad',136),(403,'2020_01_30_110400_ModifySPAsientosContablesMensualesV2',137),(404,'2020_01_30_110401_ModifySPAsientosContablesV4',138),(405,'2020_01_30_110402_DeleteSPAsientosContablesMensuales',139),(406,'2020_01_31_110400_AddUserIdVariasTables',140),(407,'2020_01_29_110400_AddColumnCtasTesoreriaContaAsientos',141),(408,'2020_02_06_110400_View_CtaCteClientesV3',141),(409,'2020_02_06_110401_AddCuentasMiasTesoreria',141),(410,'2020_02_07_110400_AddColumnPersonConfigLiqEsp',142),(411,'2020_02_08_110400_AddColumnPersonConfigLiqEspV1',143),(412,'2020_02_08_110401_AddColumnCtaCteCuentasTesoreriaCtaCteGastos',144),(413,'2020_02_09_110400_DeleteColumnPlanCuenta',145),(414,'2020_02_10_110400_ModifySPAsientoSueldo2020',146),(415,'2020_02_11_110400_ModifyView_CtaCteChequesV1',147),(416,'2020_02_13_110400_SPSumasYSaldosV1',148);
INSERT INTO `migrations` VALUES (417,'2020_02_13_110401_AddSoftDeleteCtaCteCheques',149),(418,'2020_02_19_110400_AddReceiptTypeCompraBsUsados',150),(419,'2020_02_19_110401_AddColumnTusersTypesUsers',151),(420,'2020_02_19_110402_DeleteSPNoUsoMas',152),(421,'2020_02_20_110400_AddColumnReceiptToFacEleReceitp',153),(422,'2020_02_25_110400_DeleteSPNoUsoMasV2',154),(423,'2020_02_26_110400_AddMonotributoSocial',155),(424,'2020_02_26_110401_UpdateReceiptTypeLetra',155),(425,'2020_02_27_110400_UpdateGananciasArt90',156),(426,'2020_02_28_110400_TableAjPorInflacionIndices',157),(427,'2020_03_02_110400_AddColumnPersonConfigCtaCteTesCuenta',158),(428,'2020_03_08_110400_AddModuleVentanillaElect',159),(429,'2020_03_08_110400_TablesVentanillaElec',160),(430,'2020_03_20_110400_UpdateReceiptTiquetZ',161),(431,'2020_04_16_110400_UpdateSystemTaxes',162),(432,'2020_05_18_110400_View_PdfConsultaComprobantes',163),(433,'2020_05_24_110400_TablesRemitos',164),(434,'2020_05_27_110400_AddImpuestoSegHigiene',165),(435,'2019_08_12_110400_AddColumnsTModules',166),(436,'2019_08_13_110399_InsertsModulesSueldo',167),(437,'2019_08_13_110400_TableSueldosSyJTipoEmpleador',167),(438,'2019_08_13_110401_TableSueldosSyJAlicuotaAporteContribucion',167),(439,'2019_08_13_110402_TableSueldosSyJActividad',167),(440,'2019_08_13_110403_TableSueldosSyJObraSocial',167),(441,'2019_08_13_110404_TableSueldosSyJZonaGeografica',167),(442,'2019_08_13_110405_TableSueldosSyJTituloLey20744',167),(443,'2019_08_13_110406_TablePais',167),(444,'2019_08_13_110407_TableLocalidad',167),(445,'2019_08_13_110408_TableCalle',167),(446,'2019_08_13_110408_TableSueldosSyJEmpAfecta',167),(447,'2019_08_13_110409_TableSueldosSyJTipoLiquidacion',167),(448,'2019_08_13_110412_TableSueldosSyJEmpAlcance',167),(449,'2019_08_13_110413_TableSexo',167),(450,'2019_08_13_110414_TableNacionalidad',167),(451,'2019_08_13_110415_TableEstadoCivil',167),(452,'2019_08_13_110416_TableTipoDocumento',167),(453,'2019_08_13_110417_TableSyJEmpEstado',167),(454,'2019_08_13_110418_TableSyJObraSocPlanes',167),(455,'2019_08_13_110419_TableSyJFormaPago',167),(456,'2019_08_13_110421_TableSyJEmpSituacionRevista',167),(457,'2019_08_13_110422_TableSyJEmpCondicion',167),(458,'2019_08_13_110423_TableSyJEmpModalidadContratacion',167),(459,'2019_08_13_110424_TableSyJEmpCodSiniestro',167),(460,'2019_08_13_110425_TableSyJRegimen',167),(461,'2019_08_13_110426_TableSyJEmpParentesco',167),(462,'2019_08_13_110427_TableSyJConfig',167),(463,'2019_08_13_110428_TableSyJDomiclioExplotacion',167),(464,'2020_03_17_110399_TableSeccionesCargoCCosto',167),(465,'2020_03_17_110400_TableConvenios',167),(466,'2020_03_17_110401_TableReferencias',167),(467,'2020_03_17_110402_SYJFunciones',167),(468,'2020_03_17_110402_TableAntesConceptos',167),(469,'2020_03_17_110402_TableConceptos',167),(470,'2020_03_17_110402_TablePivotConceptoCategoria',167),(471,'2020_03_17_110402_TablePivotConceptoTipoLiquidaciones',167),(472,'2020_03_17_110410_TableEmpleados',167),(473,'2020_03_17_110411_TablePivotEmpleadoConcepto',167),(474,'2020_03_19_110400_SYJPeriods',167),(475,'2020_03_19_110401_SYJLiquidaciones',167),(476,'2020_03_29_110400_SYJLiquidacionEmpleado',167),(477,'2020_04_03_110400_TablePivotConceptoCantidadValor',167),(478,'2020_04_07_110400_TablePivotConceptoEscala',167),(479,'2020_04_19_110400_AddColumnConceptosFiltrosAsoc',167),(480,'2020_04_19_110401_TableSyJEmpleadoFamiliar',167),(481,'2020_04_19_110402_TableSyJEmpleadoVacaciones',167),(482,'2020_04_26_110400_TableSyJReportes',167),(483,'2020_04_26_110401_TableSyJTablasdelSistema',167),(484,'2020_04_27_110400_AddColumnEmpleados',167),(485,'2020_04_27_110401_AddColumnCodigosAfip',167),(486,'2020_04_28_110399_TableSICOSSFormatValor',167),(487,'2020_04_28_110400_TableSICOSS',167),(488,'2020_04_28_110401_TablePivotConvenioFormatoSicoss',167),(489,'2020_04_28_110402_AddColumnPivotFormatoSicossConv',167),(490,'2020_04_29_110400_AddColumnFormatoSicossDetalleV1',167),(491,'2020_04_29_110401_AddColumnFormatoSicossDetalle',167);
INSERT INTO `migrations` VALUES (492,'2020_04_30_110400_AddColumnDomicilios',167),(493,'2020_05_02_110400_AddColumnControlaTopes',167),(494,'2020_05_05_110400_TableSindicatos',167),(495,'2020_05_07_110400_SYJPeriodsAddColumn',167),(496,'2020_05_07_110401_AddColumnBalanceLibroSueldos',167),(497,'2020_05_10_110400_AddColumnTablasFunciones',167),(498,'2020_05_11_110400_AddColumnTablaMasterEmpDomestica',167),(499,'2020_05_19_110400_TablePivotEmpleadoExcluirConcepto',167),(500,'2020_05_22_110400_InsertsModulesBlog',167),(501,'2020_05_22_110400_SYJPeriodsEmpDomestica',167),(502,'2020_05_25_110399_AddImpuestoSegHigiene',167),(503,'2020_05_25_110400_AddColumnVtoImpuestos',167),(504,'2020_05_26_110400_AddColumnSyJLiquidaciones',167),(505,'2020_05_26_110402_AddColumnSyJFormatoSicossDetalle',167),(506,'2020_12_31_110400_CopyDatoFromDBTaxes',167),(507,'2020_05_31_110400_InsertsModulesConfigUser',168),(508,'2020_06_03_110400_UpdateVtoImpuestos',169),(509,'2020_01_04_110401_UpdateTableCategoriasIIBB2021',170),(510,'2020_06_07_110400_InsertsModulesConfigAltaAbuela',170),(511,'2020_06_09_110400_AlterTableSyJConfig',170),(512,'2020_06_09_110400_InsertTablaReferencia',170);

--
-- Table structure for table `ml`
--

CREATE TABLE `ml` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `taxes_servicio_id` int(10) unsigned NOT NULL DEFAULT '5',
  `person_id` int(10) unsigned NOT NULL,
  `person_id_relationed` int(10) unsigned NOT NULL,
  `ml_user_id` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `nick_name` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `access_token` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `code` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `refresh_token` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `comentario` 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 `ml_person_id_foreign` (`person_id`),
  KEY `ml_person_id_relationed_foreign` (`person_id_relationed`),
  CONSTRAINT `ml_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`),
  CONSTRAINT `ml_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 `ml`
--


--
-- Table structure for table `ml_item_producto`
--

CREATE TABLE `ml_item_producto` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `person_id` int(10) unsigned NOT NULL,
  `ml_item_id` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `inv_producto_id` bigint(20) unsigned DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `ml_item_producto_person_id_foreign` (`person_id`),
  KEY `ml_item_producto_inv_producto_id_foreign` (`inv_producto_id`),
  CONSTRAINT `ml_item_producto_inv_producto_id_foreign` FOREIGN KEY (`inv_producto_id`) REFERENCES `inv_productos` (`id`),
  CONSTRAINT `ml_item_producto_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `ml_item_producto`
--


--
-- Table structure for table `ml_orders_facturadas`
--

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

--
-- Dumping data for table `ml_orders_facturadas`
--


--
-- Table structure for table `ml_set_facturacion`
--

CREATE TABLE `ml_set_facturacion` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `cliente_id` int(10) unsigned DEFAULT NULL,
  `taxable_iibb` int(11) NOT NULL DEFAULT '2',
  `type_receipt_id` int(10) unsigned DEFAULT NULL,
  `cond_frente_iva` int(10) unsigned DEFAULT NULL,
  `cond_venta` int(10) unsigned DEFAULT NULL,
  `zone_id` int(10) unsigned DEFAULT NULL,
  `activity_id` int(10) unsigned DEFAULT NULL,
  `punto_venta_id` int(10) unsigned DEFAULT NULL,
  `concepto_id` int(10) unsigned DEFAULT NULL,
  `system_tax_id` int(10) unsigned 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 `ml_set_facturacion_person_id_foreign` (`person_id`),
  KEY `ml_set_facturacion_cliente_id_foreign` (`cliente_id`),
  KEY `ml_set_facturacion_type_receipt_id_foreign` (`type_receipt_id`),
  KEY `ml_set_facturacion_cond_frente_iva_foreign` (`cond_frente_iva`),
  KEY `ml_set_facturacion_cond_venta_foreign` (`cond_venta`),
  KEY `ml_set_facturacion_zone_id_foreign` (`zone_id`),
  KEY `ml_set_facturacion_activity_id_foreign` (`activity_id`),
  KEY `ml_set_facturacion_punto_venta_id_foreign` (`punto_venta_id`),
  KEY `ml_set_facturacion_concepto_id_foreign` (`concepto_id`),
  KEY `ml_set_facturacion_system_tax_id_foreign` (`system_tax_id`),
  CONSTRAINT `ml_set_facturacion_activity_id_foreign` FOREIGN KEY (`activity_id`) REFERENCES `activities` (`id`),
  CONSTRAINT `ml_set_facturacion_cliente_id_foreign` FOREIGN KEY (`cliente_id`) REFERENCES `persons` (`id`),
  CONSTRAINT `ml_set_facturacion_concepto_id_foreign` FOREIGN KEY (`concepto_id`) REFERENCES `fact_elec_conceptos_afip` (`id`),
  CONSTRAINT `ml_set_facturacion_cond_frente_iva_foreign` FOREIGN KEY (`cond_frente_iva`) REFERENCES `condicion_frente_al_iva` (`id`),
  CONSTRAINT `ml_set_facturacion_cond_venta_foreign` FOREIGN KEY (`cond_venta`) REFERENCES `condiciones_venta` (`id`),
  CONSTRAINT `ml_set_facturacion_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`),
  CONSTRAINT `ml_set_facturacion_punto_venta_id_foreign` FOREIGN KEY (`punto_venta_id`) REFERENCES `fact_elec_puntos_venta` (`id`),
  CONSTRAINT `ml_set_facturacion_system_tax_id_foreign` FOREIGN KEY (`system_tax_id`) REFERENCES `system_taxes` (`id`),
  CONSTRAINT `ml_set_facturacion_type_receipt_id_foreign` FOREIGN KEY (`type_receipt_id`) REFERENCES `receipt_types` (`id`),
  CONSTRAINT `ml_set_facturacion_zone_id_foreign` FOREIGN KEY (`zone_id`) REFERENCES `zones` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `ml_set_facturacion`
--


--
-- Table structure for table `monedas`
--

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

--
-- Dumping data for table `monedas`
--

INSERT INTO `monedas` VALUES (1,NULL,'$ Pesos','$',1,'2023-01-20 09:58:18','2023-01-20 09:58:18',NULL),(2,NULL,'U$S Oficial Venta','U$S',1,'2023-01-20 09:58:18','2023-01-20 09:58:18',NULL),(3,NULL,'U$S Blue Venta','U$S',1,'2023-01-20 09:58:18','2023-01-20 09:58:18',NULL),(4,NULL,'U$S Mayorista Venta','U$S',1,'2023-01-20 09:58:19','2023-01-20 09:58:19',NULL);

--
-- Table structure for table `months`
--

CREATE TABLE `months` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `month` int(11) DEFAULT NULL,
  `date_to` varchar(6) DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=13 DEFAULT CHARSET=latin1;

--
-- Dumping data for table `months`
--

INSERT INTO `months` VALUES (1,1,'-01-31'),(2,2,'-02-28'),(3,3,'-03-31'),(4,4,'-04-30'),(5,5,'-05-31'),(6,6,'-06-30'),(7,7,'-07-31'),(8,8,'-08-31'),(9,9,'-09-30'),(10,10,'-10-31'),(11,11,'-11-30'),(12,12,'-12-31');

--
-- Table structure for table `nacionalidad`
--

CREATE TABLE `nacionalidad` (
  `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 `nacionalidad_descripcion_unique` (`descripcion`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `nacionalidad`
--

INSERT INTO `nacionalidad` VALUES (1,NULL,'Argentina',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(2,NULL,'Extranjero',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL);

--
-- Table structure for table `nf_cta_cte`
--

CREATE TABLE `nf_cta_cte` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `nf_receipt_id` int(10) unsigned DEFAULT NULL,
  `tipo_asiento_id` int(10) unsigned NOT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `person_id_relationed` int(10) unsigned NOT NULL,
  `period_id` int(10) unsigned NOT NULL,
  `cta_cte_tesoreria_cuenta_id` int(10) unsigned NOT NULL,
  `saldo_id` int(10) unsigned NOT NULL,
  `fecha` date DEFAULT NULL,
  `total` decimal(16,2) NOT NULL,
  `comentario` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `file` 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 `nf_cta_cte_nf_receipt_id_foreign` (`nf_receipt_id`),
  KEY `nf_cta_cte_person_id_foreign` (`person_id`),
  KEY `nf_cta_cte_person_id_relationed_foreign` (`person_id_relationed`),
  KEY `nf_cta_cte_period_id_foreign` (`period_id`),
  KEY `nf_cta_cte_cta_cte_tesoreria_cuenta_id_foreign` (`cta_cte_tesoreria_cuenta_id`),
  KEY `nf_cta_cte_saldo_id_foreign` (`saldo_id`),
  KEY `nf_cta_cte_tipo_asiento_id_foreign` (`tipo_asiento_id`),
  CONSTRAINT `nf_cta_cte_cta_cte_tesoreria_cuenta_id_foreign` FOREIGN KEY (`cta_cte_tesoreria_cuenta_id`) REFERENCES `cta_cte_tesoreria_cuentas` (`id`),
  CONSTRAINT `nf_cta_cte_nf_receipt_id_foreign` FOREIGN KEY (`nf_receipt_id`) REFERENCES `nf_receipts` (`id`),
  CONSTRAINT `nf_cta_cte_period_id_foreign` FOREIGN KEY (`period_id`) REFERENCES `periods` (`id`),
  CONSTRAINT `nf_cta_cte_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`),
  CONSTRAINT `nf_cta_cte_person_id_relationed_foreign` FOREIGN KEY (`person_id_relationed`) REFERENCES `persons` (`id`),
  CONSTRAINT `nf_cta_cte_saldo_id_foreign` FOREIGN KEY (`saldo_id`) REFERENCES `conta_tipo_saldos` (`id`),
  CONSTRAINT `nf_cta_cte_tipo_asiento_id_foreign` FOREIGN KEY (`tipo_asiento_id`) REFERENCES `conta_tipo_asientos` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `nf_cta_cte`
--


--
-- Table structure for table `nf_cta_cte_details`
--

CREATE TABLE `nf_cta_cte_details` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `nf_cta_cte_id` int(10) unsigned NOT NULL,
  `person_id` int(10) unsigned DEFAULT NULL,
  `person_id_relationed` int(10) unsigned DEFAULT NULL,
  `period_id` int(10) unsigned DEFAULT NULL,
  `tipo_asiento_id` int(10) unsigned NOT NULL,
  `cta_cte_tesoreria_cuenta_id` int(10) unsigned NOT NULL,
  `saldo_id` int(10) unsigned NOT NULL,
  `monto` decimal(16,2) NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `nf_cta_cte_details_nf_cta_cte_id_foreign` (`nf_cta_cte_id`),
  KEY `nf_cta_cte_details_person_id_foreign` (`person_id`),
  KEY `nf_cta_cte_details_person_id_relationed_foreign` (`person_id_relationed`),
  KEY `nf_cta_cte_details_period_id_foreign` (`period_id`),
  KEY `nf_cta_cte_details_tipo_asiento_id_foreign` (`tipo_asiento_id`),
  KEY `nf_cta_cte_details_cta_cte_tesoreria_cuenta_id_foreign` (`cta_cte_tesoreria_cuenta_id`),
  KEY `nf_cta_cte_details_saldo_id_foreign` (`saldo_id`),
  CONSTRAINT `nf_cta_cte_details_cta_cte_tesoreria_cuenta_id_foreign` FOREIGN KEY (`cta_cte_tesoreria_cuenta_id`) REFERENCES `cta_cte_tesoreria_cuentas` (`id`),
  CONSTRAINT `nf_cta_cte_details_nf_cta_cte_id_foreign` FOREIGN KEY (`nf_cta_cte_id`) REFERENCES `nf_cta_cte` (`id`),
  CONSTRAINT `nf_cta_cte_details_period_id_foreign` FOREIGN KEY (`period_id`) REFERENCES `periods` (`id`),
  CONSTRAINT `nf_cta_cte_details_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`),
  CONSTRAINT `nf_cta_cte_details_person_id_relationed_foreign` FOREIGN KEY (`person_id_relationed`) REFERENCES `persons` (`id`),
  CONSTRAINT `nf_cta_cte_details_saldo_id_foreign` FOREIGN KEY (`saldo_id`) REFERENCES `conta_tipo_saldos` (`id`),
  CONSTRAINT `nf_cta_cte_details_tipo_asiento_id_foreign` FOREIGN KEY (`tipo_asiento_id`) REFERENCES `conta_tipo_asientos` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `nf_cta_cte_details`
--


--
-- Table structure for table `nf_invoices`
--

CREATE TABLE `nf_invoices` (
  `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,
  `punto_vta_id` int(10) unsigned NOT NULL,
  `period_id` int(10) unsigned NOT NULL,
  `numero` int(11) NOT NULL,
  `fecha` date NOT NULL,
  `total` decimal(16,2) NOT NULL,
  `comentario` longtext COLLATE utf8mb4_unicode_ci NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `nf_invoices_person_id_foreign` (`person_id`),
  KEY `nf_invoices_person_id_relationed_foreign` (`person_id_relationed`),
  KEY `nf_invoices_punto_vta_id_foreign` (`punto_vta_id`),
  KEY `nf_invoices_period_id_foreign` (`period_id`),
  CONSTRAINT `nf_invoices_period_id_foreign` FOREIGN KEY (`period_id`) REFERENCES `periods` (`id`),
  CONSTRAINT `nf_invoices_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`),
  CONSTRAINT `nf_invoices_person_id_relationed_foreign` FOREIGN KEY (`person_id_relationed`) REFERENCES `persons` (`id`),
  CONSTRAINT `nf_invoices_punto_vta_id_foreign` FOREIGN KEY (`punto_vta_id`) REFERENCES `fact_elec_puntos_venta` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `nf_invoices`
--


--
-- Table structure for table `nf_invoices_details`
--

CREATE TABLE `nf_invoices_details` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `nf_invoice_id` bigint(20) unsigned NOT NULL,
  `cantidades` decimal(16,2) NOT NULL,
  `inv_producto_id` bigint(20) unsigned DEFAULT NULL,
  `descripcion` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `neto` decimal(16,2) NOT NULL,
  `desc_porc` decimal(16,2) DEFAULT NULL,
  `descuento` decimal(16,2) DEFAULT NULL,
  `subtotal` decimal(16,2) NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `nf_invoices_details_nf_invoice_id_foreign` (`nf_invoice_id`),
  KEY `nf_invoices_details_inv_producto_id_foreign` (`inv_producto_id`),
  CONSTRAINT `nf_invoices_details_inv_producto_id_foreign` FOREIGN KEY (`inv_producto_id`) REFERENCES `inv_productos` (`id`),
  CONSTRAINT `nf_invoices_details_nf_invoice_id_foreign` FOREIGN KEY (`nf_invoice_id`) REFERENCES `nf_invoices` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `nf_invoices_details`
--


--
-- Table structure for table `nf_receipts`
--

CREATE TABLE `nf_receipts` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned NOT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `person_id_relationed` int(10) unsigned NOT NULL,
  `period_id` int(10) unsigned NOT NULL,
  `type_id` int(10) unsigned NOT NULL,
  `receipt_type_id` int(10) unsigned NOT NULL,
  `fecha` date DEFAULT NULL,
  `total` decimal(16,2) NOT NULL,
  `descripcion` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `comentario` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `file` 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 `nf_receipts_person_id_foreign` (`person_id`),
  KEY `nf_receipts_person_id_relationed_foreign` (`person_id_relationed`),
  KEY `nf_receipts_period_id_foreign` (`period_id`),
  KEY `nf_receipts_type_id_foreign` (`type_id`),
  KEY `nf_receipts_receipt_type_id_foreign` (`receipt_type_id`),
  CONSTRAINT `nf_receipts_period_id_foreign` FOREIGN KEY (`period_id`) REFERENCES `periods` (`id`),
  CONSTRAINT `nf_receipts_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`),
  CONSTRAINT `nf_receipts_person_id_relationed_foreign` FOREIGN KEY (`person_id_relationed`) REFERENCES `persons` (`id`),
  CONSTRAINT `nf_receipts_receipt_type_id_foreign` FOREIGN KEY (`receipt_type_id`) REFERENCES `receipt_types` (`id`),
  CONSTRAINT `nf_receipts_type_id_foreign` FOREIGN KEY (`type_id`) REFERENCES `types` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `nf_receipts`
--


--
-- Table structure for table `notif`
--

CREATE TABLE `notif` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `send_notif_user_person_id` int(10) unsigned NOT NULL,
  `recept_notif_user_person_id` int(10) unsigned NOT NULL,
  `fecha` datetime NOT NULL DEFAULT '2020-01-23 18:56:25',
  `fecha_vto` datetime DEFAULT NULL,
  `leido` tinyint(1) NOT NULL DEFAULT '0',
  `pendiente` tinyint(1) NOT NULL DEFAULT '0',
  `asunto` 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 `notif_send_notif_user_person_id_foreign` (`send_notif_user_person_id`),
  KEY `notif_recept_notif_user_person_id_foreign` (`recept_notif_user_person_id`),
  CONSTRAINT `notif_recept_notif_user_person_id_foreign` FOREIGN KEY (`recept_notif_user_person_id`) REFERENCES `notif_users_persons` (`id`),
  CONSTRAINT `notif_send_notif_user_person_id_foreign` FOREIGN KEY (`send_notif_user_person_id`) REFERENCES `notif_users_persons` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `notif`
--


--
-- Table structure for table `notif_detail`
--

CREATE TABLE `notif_detail` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `notificacion_id` int(10) unsigned NOT NULL,
  `notif_respuesta_id` int(10) unsigned DEFAULT NULL,
  `send_notif_user_person_id` int(10) unsigned NOT NULL,
  `recept_notif_user_person_id` int(10) unsigned NOT NULL,
  `fecha` datetime NOT NULL DEFAULT '2020-01-23 18:56:25',
  `body` text COLLATE utf8mb4_unicode_ci,
  `adjunto` text COLLATE utf8mb4_unicode_ci,
  `send_email` tinyint(1) NOT NULL DEFAULT '0',
  `is_respuesta` 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 `notif_detail_send_notif_user_person_id_foreign` (`send_notif_user_person_id`),
  KEY `notif_detail_recept_notif_user_person_id_foreign` (`recept_notif_user_person_id`),
  KEY `notif_detail_notificacion_id_foreign` (`notificacion_id`),
  KEY `notif_detail_notif_respuesta_id_foreign` (`notif_respuesta_id`),
  CONSTRAINT `notif_detail_notif_respuesta_id_foreign` FOREIGN KEY (`notif_respuesta_id`) REFERENCES `notif_respuestas` (`id`),
  CONSTRAINT `notif_detail_notificacion_id_foreign` FOREIGN KEY (`notificacion_id`) REFERENCES `notif` (`id`),
  CONSTRAINT `notif_detail_recept_notif_user_person_id_foreign` FOREIGN KEY (`recept_notif_user_person_id`) REFERENCES `notif_users_persons` (`id`),
  CONSTRAINT `notif_detail_send_notif_user_person_id_foreign` FOREIGN KEY (`send_notif_user_person_id`) REFERENCES `notif_users_persons` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `notif_detail`
--


--
-- Table structure for table `notif_respuestas`
--

CREATE TABLE `notif_respuestas` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `send_notif_user_person_id` int(10) unsigned NOT NULL,
  `recept_notif_user_person_id` int(10) unsigned NOT NULL,
  `notif_id` int(10) unsigned DEFAULT NULL,
  `fecha` datetime NOT NULL DEFAULT '2020-01-23 18:56:25',
  `fecha_vto` datetime DEFAULT NULL,
  `leido` tinyint(1) NOT NULL DEFAULT '0',
  `asunto` 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 `notif_respuestas_send_notif_user_person_id_foreign` (`send_notif_user_person_id`),
  KEY `notif_respuestas_recept_notif_user_person_id_foreign` (`recept_notif_user_person_id`),
  KEY `notif_respuestas_notif_id_foreign` (`notif_id`),
  CONSTRAINT `notif_respuestas_notif_id_foreign` FOREIGN KEY (`notif_id`) REFERENCES `notif` (`id`),
  CONSTRAINT `notif_respuestas_recept_notif_user_person_id_foreign` FOREIGN KEY (`recept_notif_user_person_id`) REFERENCES `notif_users_persons` (`id`),
  CONSTRAINT `notif_respuestas_send_notif_user_person_id_foreign` FOREIGN KEY (`send_notif_user_person_id`) REFERENCES `notif_users_persons` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `notif_respuestas`
--


--
-- Table structure for table `notif_users_persons`
--

CREATE TABLE `notif_users_persons` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned NOT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `parent_person_id` int(10) unsigned NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `notif_users_persons_user_id_foreign` (`user_id`),
  KEY `notif_users_persons_person_id_foreign` (`person_id`),
  KEY `notif_users_persons_parent_person_id_foreign` (`parent_person_id`),
  CONSTRAINT `notif_users_persons_parent_person_id_foreign` FOREIGN KEY (`parent_person_id`) REFERENCES `persons` (`id`),
  CONSTRAINT `notif_users_persons_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`),
  CONSTRAINT `notif_users_persons_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `tusers` (`idUser`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `notif_users_persons`
--


--
-- Table structure for table `obl_anual_conceptos`
--

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

--
-- Dumping data for table `obl_anual_conceptos`
--

INSERT INTO `obl_anual_conceptos` VALUES (1,NULL,'Balance','2019-11-29 18:37:49','2019-11-29 18:37:49',NULL),(2,NULL,'Ganancias','2019-11-29 18:37:49','2019-11-29 18:37:49',NULL),(3,NULL,'Acc y Part Soc','2019-11-29 18:37:49','2019-11-29 18:37:49',NULL),(4,NULL,'Part Soc Informativa','2019-11-29 18:37:49','2019-11-29 18:37:49',NULL),(5,NULL,'IGJ Balance','2019-11-29 18:37:49','2019-11-29 18:37:49',NULL),(6,NULL,'TASAS IGJ','2019-11-29 18:37:49','2019-11-29 18:37:49',NULL),(7,NULL,'Auditoria','2019-11-29 18:37:49','2019-11-29 18:37:49',NULL),(8,NULL,'Libros Societarios','2019-11-29 18:37:49','2019-11-29 18:37:49',NULL),(9,NULL,'CM 05','2019-11-29 18:37:49','2019-11-29 18:37:49',NULL);

--
-- Table structure for table `obl_anual_registros`
--

CREATE TABLE `obl_anual_registros` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `anio` int(10) unsigned NOT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `obl_anual_concepto_id` int(10) unsigned NOT NULL,
  `cumplido` 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 `obl_anual_registros_person_id_foreign` (`person_id`),
  KEY `obl_anual_registros_obl_anual_concepto_id_foreign` (`obl_anual_concepto_id`),
  CONSTRAINT `obl_anual_registros_obl_anual_concepto_id_foreign` FOREIGN KEY (`obl_anual_concepto_id`) REFERENCES `obl_anual_conceptos` (`id`) ON DELETE CASCADE,
  CONSTRAINT `obl_anual_registros_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `obl_anual_registros`
--


--
-- Table structure for table `other_taxes`
--

CREATE TABLE `other_taxes` (
  `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,
  `section` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `percent_tax` decimal(16,2) NOT NULL DEFAULT '0.00',
  `zone_id` int(10) unsigned DEFAULT NULL,
  `aliases` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `section_name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `plan_cuenta_id` int(10) unsigned NOT NULL DEFAULT '1',
  PRIMARY KEY (`id`),
  KEY `other_taxes_plan_cuenta_id_foreign` (`plan_cuenta_id`),
  CONSTRAINT `other_taxes_plan_cuenta_id_foreign` FOREIGN KEY (`plan_cuenta_id`) REFERENCES `conta_plan_cuenta` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=1031 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `other_taxes`
--

INSERT INTO `other_taxes` VALUES (1000,NULL,NULL,'Perc IVA -RG3337','iva',0.00,NULL,NULL,'IVA',220),(1001,NULL,NULL,'Imps. Internos','gas',0.00,NULL,NULL,'Imp. Combustibles',221),(1002,NULL,NULL,'Imp. Gasoil','gas',0.00,NULL,NULL,'Imp. Combustibles',222),(1003,NULL,NULL,'Imp. Hídricos','gas',0.00,NULL,NULL,'Imp. Combustibles',223),(1004,NULL,NULL,'ITC','gas',0.00,NULL,NULL,'Imp. Combustibles',224),(1005,NULL,NULL,'Perc IIBB  Buenos Aires','iibb',0.00,23,NULL,'IIBB',225),(1006,NULL,NULL,'Perc IIBB  Capital Federal','iibb',0.00,22,NULL,'IIBB',226),(1007,NULL,NULL,'Perc IIBB  Catamarca','iibb',0.00,24,NULL,'IIBB',227),(1008,NULL,NULL,'Perc IIBB  Chaco','iibb',0.00,3,NULL,'IIBB',228),(1009,NULL,NULL,'Perc IIBB  Chubut','iibb',0.00,4,NULL,'IIBB',229),(1010,NULL,NULL,'Perc IIBB  Córdoba','iibb',0.00,1,NULL,'IIBB',230),(1011,NULL,NULL,'Perc IIBB  Corrientes','iibb',0.00,2,NULL,'IIBB',231),(1012,NULL,NULL,'Perc IIBB  Entre Ríos','iibb',0.00,5,NULL,'IIBB',232),(1013,NULL,NULL,'Perc IIBB  Formosa','iibb',0.00,6,NULL,'IIBB',233),(1014,NULL,NULL,'Perc IIBB  Jujuy','iibb',0.00,7,NULL,'IIBB',234),(1015,NULL,NULL,'Perc IIBB  La Pampa','iibb',0.00,8,NULL,'IIBB',235),(1016,NULL,NULL,'Perc IIBB  La Rioja','iibb',0.00,9,NULL,'IIBB',236),(1017,NULL,NULL,'Perc IIBB  Mendoza','iibb',0.00,10,NULL,'IIBB',237),(1018,NULL,NULL,'Perc IIBB  Misiones','iibb',0.00,11,NULL,'IIBB',238),(1019,NULL,NULL,'Perc IIBB  Neuquén','iibb',0.00,12,NULL,'IIBB',239),(1020,NULL,NULL,'Perc IIBB  Pascua Lama','iibb',0.00,25,NULL,'IIBB',240),(1021,NULL,NULL,'Perc IIBB  Río Negro','iibb',0.00,13,NULL,'IIBB',241),(1022,NULL,NULL,'Perc IIBB  Salta','iibb',0.00,14,NULL,'IIBB',242),(1023,NULL,NULL,'Perc IIBB  San Juan','iibb',0.00,15,NULL,'IIBB',243),(1024,NULL,NULL,'Perc IIBB  San Luis','iibb',0.00,16,NULL,'IIBB',244),(1025,NULL,NULL,'Perc IIBB  Santa Cruz','iibb',0.00,17,NULL,'IIBB',245),(1026,NULL,NULL,'Perc IIBB  Santa Fe','iibb',0.00,18,NULL,'IIBB',246),(1027,NULL,NULL,'Perc IIBB  Santiago del Estero','iibb',0.00,19,NULL,'IIBB',247),(1028,NULL,NULL,'Perc IIBB  Tierra del Fuego','iibb',0.00,20,NULL,'IIBB',248),(1029,NULL,NULL,'Perc IIBB  Tucuman','iibb',0.00,21,NULL,'IIBB',249),(1030,'2019-05-03 03:33:05','2019-05-03 03:33:05','CO2 - Imp. Al Carbono','gas',0.00,NULL,NULL,'Imp. Combustibles',478);

--
-- Table structure for table `pais`
--

CREATE TABLE `pais` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `codigo` 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 `pais_descripcion_unique` (`descripcion`),
  UNIQUE KEY `pais_codigo_unique` (`codigo`)
) ENGINE=InnoDB AUTO_INCREMENT=249 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `pais`
--

INSERT INTO `pais` VALUES (1,NULL,NULL,'Argentina',1,'2020-05-28 20:55:22','2020-05-28 20:55:22',NULL),(2,NULL,NULL,'Afghanistan',1,'2020-05-28 20:55:22','2020-05-28 20:55:22',NULL),(3,NULL,NULL,'Albania',1,'2020-05-28 20:55:22','2020-05-28 20:55:22',NULL),(4,NULL,NULL,'Alemania',1,'2020-05-28 20:55:22','2020-05-28 20:55:22',NULL),(5,NULL,NULL,'Algeria',1,'2020-05-28 20:55:22','2020-05-28 20:55:22',NULL),(6,NULL,NULL,'Andorra',1,'2020-05-28 20:55:22','2020-05-28 20:55:22',NULL),(7,NULL,NULL,'Angola',1,'2020-05-28 20:55:22','2020-05-28 20:55:22',NULL),(8,NULL,NULL,'Anguila',1,'2020-05-28 20:55:22','2020-05-28 20:55:22',NULL),(9,NULL,NULL,'Antártida',1,'2020-05-28 20:55:22','2020-05-28 20:55:22',NULL),(10,NULL,NULL,'Antigua y Barbuda',1,'2020-05-28 20:55:22','2020-05-28 20:55:22',NULL),(11,NULL,NULL,'Arabia Saudita',1,'2020-05-28 20:55:22','2020-05-28 20:55:22',NULL),(12,NULL,NULL,'Armenia',1,'2020-05-28 20:55:22','2020-05-28 20:55:22',NULL),(13,NULL,NULL,'Aruba',1,'2020-05-28 20:55:22','2020-05-28 20:55:22',NULL),(14,NULL,NULL,'Australia',1,'2020-05-28 20:55:22','2020-05-28 20:55:22',NULL),(15,NULL,NULL,'Austria',1,'2020-05-28 20:55:22','2020-05-28 20:55:22',NULL),(16,NULL,NULL,'Azerbaiyán',1,'2020-05-28 20:55:22','2020-05-28 20:55:22',NULL),(17,NULL,NULL,'Bélgica',1,'2020-05-28 20:55:22','2020-05-28 20:55:22',NULL),(18,NULL,NULL,'Bahamas',1,'2020-05-28 20:55:22','2020-05-28 20:55:22',NULL),(19,NULL,NULL,'Bahrein',1,'2020-05-28 20:55:22','2020-05-28 20:55:22',NULL),(20,NULL,NULL,'Bangladesh',1,'2020-05-28 20:55:22','2020-05-28 20:55:22',NULL),(21,NULL,NULL,'Barbados',1,'2020-05-28 20:55:22','2020-05-28 20:55:22',NULL),(22,NULL,NULL,'Belice',1,'2020-05-28 20:55:22','2020-05-28 20:55:22',NULL),(23,NULL,NULL,'Benín',1,'2020-05-28 20:55:22','2020-05-28 20:55:22',NULL),(24,NULL,NULL,'Bhután',1,'2020-05-28 20:55:22','2020-05-28 20:55:22',NULL),(25,NULL,NULL,'Bielorrusia',1,'2020-05-28 20:55:22','2020-05-28 20:55:22',NULL),(26,NULL,NULL,'Birmania',1,'2020-05-28 20:55:22','2020-05-28 20:55:22',NULL),(27,NULL,NULL,'Bolivia',1,'2020-05-28 20:55:22','2020-05-28 20:55:22',NULL),(28,NULL,NULL,'Bosnia y Herzegovina',1,'2020-05-28 20:55:22','2020-05-28 20:55:22',NULL),(29,NULL,NULL,'Botsuana',1,'2020-05-28 20:55:22','2020-05-28 20:55:22',NULL),(30,NULL,NULL,'Brasil',1,'2020-05-28 20:55:22','2020-05-28 20:55:22',NULL),(31,NULL,NULL,'Brunéi',1,'2020-05-28 20:55:22','2020-05-28 20:55:22',NULL),(32,NULL,NULL,'Bulgaria',1,'2020-05-28 20:55:22','2020-05-28 20:55:22',NULL),(33,NULL,NULL,'Burkina Faso',1,'2020-05-28 20:55:22','2020-05-28 20:55:22',NULL),(34,NULL,NULL,'Burundi',1,'2020-05-28 20:55:22','2020-05-28 20:55:22',NULL),(35,NULL,NULL,'Cabo Verde',1,'2020-05-28 20:55:22','2020-05-28 20:55:22',NULL),(36,NULL,NULL,'Camboya',1,'2020-05-28 20:55:22','2020-05-28 20:55:22',NULL),(37,NULL,NULL,'Camerún',1,'2020-05-28 20:55:22','2020-05-28 20:55:22',NULL),(38,NULL,NULL,'Canadá',1,'2020-05-28 20:55:22','2020-05-28 20:55:22',NULL),(39,NULL,NULL,'Chad',1,'2020-05-28 20:55:22','2020-05-28 20:55:22',NULL),(40,NULL,NULL,'Chile',1,'2020-05-28 20:55:22','2020-05-28 20:55:22',NULL),(41,NULL,NULL,'China',1,'2020-05-28 20:55:22','2020-05-28 20:55:22',NULL),(42,NULL,NULL,'Chipre',1,'2020-05-28 20:55:22','2020-05-28 20:55:22',NULL),(43,NULL,NULL,'Ciudad del Vaticano',1,'2020-05-28 20:55:22','2020-05-28 20:55:22',NULL),(44,NULL,NULL,'Colombia',1,'2020-05-28 20:55:22','2020-05-28 20:55:22',NULL),(45,NULL,NULL,'Comoras',1,'2020-05-28 20:55:22','2020-05-28 20:55:22',NULL),(46,NULL,NULL,'República del Congo',1,'2020-05-28 20:55:22','2020-05-28 20:55:22',NULL),(47,NULL,NULL,'República Democrática del Congo',1,'2020-05-28 20:55:22','2020-05-28 20:55:22',NULL),(48,NULL,NULL,'Corea del Norte',1,'2020-05-28 20:55:22','2020-05-28 20:55:22',NULL),(49,NULL,NULL,'Corea del Sur',1,'2020-05-28 20:55:22','2020-05-28 20:55:22',NULL),(50,NULL,NULL,'Costa de Marfil',1,'2020-05-28 20:55:22','2020-05-28 20:55:22',NULL),(51,NULL,NULL,'Costa Rica',1,'2020-05-28 20:55:22','2020-05-28 20:55:22',NULL);
INSERT INTO `pais` VALUES (52,NULL,NULL,'Croacia',1,'2020-05-28 20:55:22','2020-05-28 20:55:22',NULL),(53,NULL,NULL,'Cuba',1,'2020-05-28 20:55:22','2020-05-28 20:55:22',NULL),(54,NULL,NULL,'Curazao',1,'2020-05-28 20:55:22','2020-05-28 20:55:22',NULL),(55,NULL,NULL,'Dinamarca',1,'2020-05-28 20:55:22','2020-05-28 20:55:22',NULL),(56,NULL,NULL,'Dominica',1,'2020-05-28 20:55:22','2020-05-28 20:55:22',NULL),(57,NULL,NULL,'Ecuador',1,'2020-05-28 20:55:22','2020-05-28 20:55:22',NULL),(58,NULL,NULL,'Egipto',1,'2020-05-28 20:55:22','2020-05-28 20:55:22',NULL),(59,NULL,NULL,'El Salvador',1,'2020-05-28 20:55:22','2020-05-28 20:55:22',NULL),(60,NULL,NULL,'Emiratos Árabes Unidos',1,'2020-05-28 20:55:22','2020-05-28 20:55:22',NULL),(61,NULL,NULL,'Eritrea',1,'2020-05-28 20:55:22','2020-05-28 20:55:22',NULL),(62,NULL,NULL,'Eslovaquia',1,'2020-05-28 20:55:22','2020-05-28 20:55:22',NULL),(63,NULL,NULL,'Eslovenia',1,'2020-05-28 20:55:22','2020-05-28 20:55:22',NULL),(64,NULL,NULL,'España',1,'2020-05-28 20:55:22','2020-05-28 20:55:22',NULL),(65,NULL,NULL,'Estados Unidos de América',1,'2020-05-28 20:55:22','2020-05-28 20:55:22',NULL),(66,NULL,NULL,'Estonia',1,'2020-05-28 20:55:22','2020-05-28 20:55:22',NULL),(67,NULL,NULL,'Etiopía',1,'2020-05-28 20:55:22','2020-05-28 20:55:22',NULL),(68,NULL,NULL,'Filipinas',1,'2020-05-28 20:55:22','2020-05-28 20:55:22',NULL),(69,NULL,NULL,'Finlandia',1,'2020-05-28 20:55:22','2020-05-28 20:55:22',NULL),(70,NULL,NULL,'Fiyi',1,'2020-05-28 20:55:22','2020-05-28 20:55:22',NULL),(71,NULL,NULL,'Francia',1,'2020-05-28 20:55:22','2020-05-28 20:55:22',NULL),(72,NULL,NULL,'Gabón',1,'2020-05-28 20:55:22','2020-05-28 20:55:22',NULL),(73,NULL,NULL,'Gambia',1,'2020-05-28 20:55:22','2020-05-28 20:55:22',NULL),(74,NULL,NULL,'Georgia',1,'2020-05-28 20:55:22','2020-05-28 20:55:22',NULL),(75,NULL,NULL,'Ghana',1,'2020-05-28 20:55:22','2020-05-28 20:55:22',NULL),(76,NULL,NULL,'Gibraltar',1,'2020-05-28 20:55:22','2020-05-28 20:55:22',NULL),(77,NULL,NULL,'Granada',1,'2020-05-28 20:55:22','2020-05-28 20:55:22',NULL),(78,NULL,NULL,'Grecia',1,'2020-05-28 20:55:22','2020-05-28 20:55:22',NULL),(79,NULL,NULL,'Groenlandia',1,'2020-05-28 20:55:22','2020-05-28 20:55:22',NULL),(80,NULL,NULL,'Guadalupe',1,'2020-05-28 20:55:22','2020-05-28 20:55:22',NULL),(81,NULL,NULL,'Guam',1,'2020-05-28 20:55:22','2020-05-28 20:55:22',NULL),(82,NULL,NULL,'Guatemala',1,'2020-05-28 20:55:22','2020-05-28 20:55:22',NULL),(83,NULL,NULL,'Guayana Francesa',1,'2020-05-28 20:55:22','2020-05-28 20:55:22',NULL),(84,NULL,NULL,'Guernsey',1,'2020-05-28 20:55:22','2020-05-28 20:55:22',NULL),(85,NULL,NULL,'Guinea',1,'2020-05-28 20:55:22','2020-05-28 20:55:22',NULL),(86,NULL,NULL,'Guinea Ecuatorial',1,'2020-05-28 20:55:22','2020-05-28 20:55:22',NULL),(87,NULL,NULL,'Guinea-Bissau',1,'2020-05-28 20:55:22','2020-05-28 20:55:22',NULL),(88,NULL,NULL,'Guyana',1,'2020-05-28 20:55:22','2020-05-28 20:55:22',NULL),(89,NULL,NULL,'Haití',1,'2020-05-28 20:55:22','2020-05-28 20:55:22',NULL),(90,NULL,NULL,'Honduras',1,'2020-05-28 20:55:22','2020-05-28 20:55:22',NULL),(91,NULL,NULL,'Hong kong',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(92,NULL,NULL,'Hungría',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(93,NULL,NULL,'India',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(94,NULL,NULL,'Indonesia',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(95,NULL,NULL,'Irán',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(96,NULL,NULL,'Irak',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(97,NULL,NULL,'Irlanda',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(98,NULL,NULL,'Isla Bouvet',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(99,NULL,NULL,'Isla de Man',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(100,NULL,NULL,'Isla de Navidad',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(101,NULL,NULL,'Isla Norfolk',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(102,NULL,NULL,'Islandia',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL);
INSERT INTO `pais` VALUES (103,NULL,NULL,'Islas Bermudas',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(104,NULL,NULL,'Islas Caimán',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(105,NULL,NULL,'Islas Cocos (Keeling)',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(106,NULL,NULL,'Islas Cook',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(107,NULL,NULL,'Islas de Åland',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(108,NULL,NULL,'Islas Feroe',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(109,NULL,NULL,'Islas Georgias del Sur y Sandwich del Sur',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(110,NULL,NULL,'Islas Heard y McDonald',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(111,NULL,NULL,'Islas Maldivas',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(112,NULL,NULL,'Islas Malvinas',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(113,NULL,NULL,'Islas Marianas del Norte',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(114,NULL,NULL,'Islas Marshall',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(115,NULL,NULL,'Islas Pitcairn',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(116,NULL,NULL,'Islas Salomón',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(117,NULL,NULL,'Islas Turcas y Caicos',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(118,NULL,NULL,'Islas Ultramarinas Menores de Estados Unidos',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(119,NULL,NULL,'Islas Vírgenes Británicas',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(120,NULL,NULL,'Islas Vírgenes de los Estados Unidos',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(121,NULL,NULL,'Israel',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(122,NULL,NULL,'Italia',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(123,NULL,NULL,'Jamaica',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(124,NULL,NULL,'Japón',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(125,NULL,NULL,'Jersey',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(126,NULL,NULL,'Jordania',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(127,NULL,NULL,'Kazajistán',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(128,NULL,NULL,'Kenia',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(129,NULL,NULL,'Kirguistán',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(130,NULL,NULL,'Kiribati',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(131,NULL,NULL,'Kuwait',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(132,NULL,NULL,'Líbano',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(133,NULL,NULL,'Laos',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(134,NULL,NULL,'Lesoto',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(135,NULL,NULL,'Letonia',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(136,NULL,NULL,'Liberia',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(137,NULL,NULL,'Libia',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(138,NULL,NULL,'Liechtenstein',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(139,NULL,NULL,'Lituania',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(140,NULL,NULL,'Luxemburgo',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(141,NULL,NULL,'México',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(142,NULL,NULL,'Mónaco',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(143,NULL,NULL,'Macao',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(144,NULL,NULL,'Macedônia',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(145,NULL,NULL,'Madagascar',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(146,NULL,NULL,'Malasia',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(147,NULL,NULL,'Malawi',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(148,NULL,NULL,'Mali',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(149,NULL,NULL,'Malta',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(150,NULL,NULL,'Marruecos',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL);
INSERT INTO `pais` VALUES (151,NULL,NULL,'Martinica',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(152,NULL,NULL,'Mauricio',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(153,NULL,NULL,'Mauritania',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(154,NULL,NULL,'Mayotte',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(155,NULL,NULL,'Micronesia',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(156,NULL,NULL,'Moldavia',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(157,NULL,NULL,'Mongolia',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(158,NULL,NULL,'Montenegro',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(159,NULL,NULL,'Montserrat',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(160,NULL,NULL,'Mozambique',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(161,NULL,NULL,'Namibia',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(162,NULL,NULL,'Nauru',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(163,NULL,NULL,'Nepal',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(164,NULL,NULL,'Nicaragua',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(165,NULL,NULL,'Niger',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(166,NULL,NULL,'Nigeria',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(167,NULL,NULL,'Niue',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(168,NULL,NULL,'Noruega',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(169,NULL,NULL,'Nueva Caledonia',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(170,NULL,NULL,'Nueva Zelanda',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(171,NULL,NULL,'Omán',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(172,NULL,NULL,'Países Bajos',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(173,NULL,NULL,'Pakistán',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(174,NULL,NULL,'Palau',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(175,NULL,NULL,'Palestina',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(176,NULL,NULL,'Panamá',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(177,NULL,NULL,'Papúa Nueva Guinea',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(178,NULL,NULL,'Paraguay',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(179,NULL,NULL,'Perú',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(180,NULL,NULL,'Polinesia Francesa',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(181,NULL,NULL,'Polonia',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(182,NULL,NULL,'Portugal',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(183,NULL,NULL,'Puerto Rico',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(184,NULL,NULL,'Qatar',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(185,NULL,NULL,'Reino Unido',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(186,NULL,NULL,'República Centroafricana',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(187,NULL,NULL,'República Checa',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(188,NULL,NULL,'República Dominicana',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(189,NULL,NULL,'República de Sudán del Sur',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(190,NULL,NULL,'Reunión',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(191,NULL,NULL,'Ruanda',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(192,NULL,NULL,'Rumanía',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(193,NULL,NULL,'Rusia',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(194,NULL,NULL,'Sahara Occidental',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(195,NULL,NULL,'Samoa',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(196,NULL,NULL,'Samoa Americana',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(197,NULL,NULL,'San Bartolomé',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(198,NULL,NULL,'San Cristóbal y Nieves',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(199,NULL,NULL,'San Marino',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL);
INSERT INTO `pais` VALUES (200,NULL,NULL,'San Martín (Francia)',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(201,NULL,NULL,'San Pedro y Miquelón',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(202,NULL,NULL,'San Vicente y las Granadinas',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(203,NULL,NULL,'Santa Elena',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(204,NULL,NULL,'Santa Lucía',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(205,NULL,NULL,'Santo Tomé y Príncipe',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(206,NULL,NULL,'Senegal',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(207,NULL,NULL,'Serbia',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(208,NULL,NULL,'Seychelles',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(209,NULL,NULL,'Sierra Leona',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(210,NULL,NULL,'Singapur',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(211,NULL,NULL,'Sint Maarten',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(212,NULL,NULL,'Siria',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(213,NULL,NULL,'Somalia',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(214,NULL,NULL,'Sri lanka',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(215,NULL,NULL,'Sudáfrica',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(216,NULL,NULL,'Sudán',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(217,NULL,NULL,'Suecia',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(218,NULL,NULL,'Suiza',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(219,NULL,NULL,'Surinám',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(220,NULL,NULL,'Svalbard y Jan Mayen',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(221,NULL,NULL,'Swazilandia',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(222,NULL,NULL,'Tayikistán',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(223,NULL,NULL,'Tailandia',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(224,NULL,NULL,'Taiwán',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(225,NULL,NULL,'Tanzania',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(226,NULL,NULL,'Territorio Británico del Océano Índico',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(227,NULL,NULL,'Territorios Australes y Antárticas Franceses',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(228,NULL,NULL,'Timor Oriental',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(229,NULL,NULL,'Togo',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(230,NULL,NULL,'Tokelau',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(231,NULL,NULL,'Tonga',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(232,NULL,NULL,'Trinidad y Tobago',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(233,NULL,NULL,'Tunez',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(234,NULL,NULL,'Turkmenistán',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(235,NULL,NULL,'Turquía',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(236,NULL,NULL,'Tuvalu',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(237,NULL,NULL,'Ucrania',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(238,NULL,NULL,'Uganda',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(239,NULL,NULL,'Uruguay',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(240,NULL,NULL,'Uzbekistán',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(241,NULL,NULL,'Vanuatu',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(242,NULL,NULL,'Venezuela',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(243,NULL,NULL,'Vietnam',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(244,NULL,NULL,'Wallis y Futuna',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(245,NULL,NULL,'Yemen',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(246,NULL,NULL,'Yibuti',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(247,NULL,NULL,'Zambia',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL),(248,NULL,NULL,'Zimbabue',1,'2020-05-28 20:55:23','2020-05-28 20:55:23',NULL);

--
-- Table structure for table `password_resets`
--

CREATE TABLE `password_resets` (
  `email` varchar(180) COLLATE utf8mb4_unicode_ci NOT NULL,
  `token` varchar(180) COLLATE utf8mb4_unicode_ci NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  UNIQUE KEY `password_resets_email_token_unique` (`email`,`token`),
  KEY `password_resets_email_index` (`email`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `password_resets`
--


--
-- Table structure for table `path_of_file`
--

CREATE TABLE `path_of_file` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `person_id` int(10) unsigned DEFAULT NULL,
  `person_id_relationed` int(10) unsigned DEFAULT NULL,
  `path_of_file_name_id` int(10) unsigned DEFAULT NULL,
  `path` longtext COLLATE utf8mb4_unicode_ci,
  `comentario` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `descripcion` 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 `path_of_file_person_id_foreign` (`person_id`),
  KEY `path_of_file_person_id_relationed_foreign` (`person_id_relationed`),
  KEY `path_of_file_path_of_file_name_id_foreign` (`path_of_file_name_id`),
  CONSTRAINT `path_of_file_path_of_file_name_id_foreign` FOREIGN KEY (`path_of_file_name_id`) REFERENCES `path_of_file_names` (`id`),
  CONSTRAINT `path_of_file_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`),
  CONSTRAINT `path_of_file_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 `path_of_file`
--


--
-- Table structure for table `path_of_file_names`
--

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

--
-- Dumping data for table `path_of_file_names`
--

INSERT INTO `path_of_file_names` VALUES (1,NULL,'Libro IVA Compras - Ventas',NULL,NULL,NULL),(2,NULL,'Libro Diario',NULL,NULL,NULL),(3,NULL,'Mayores',NULL,NULL,NULL),(4,NULL,'Sumas y Saldos',NULL,NULL,NULL),(5,NULL,'Comprobantes Todas las Empresas','2023-01-20 09:58:09','2023-01-20 09:58:09',NULL),(6,NULL,'Bot Mis Comprobantes','2023-01-20 09:58:10','2023-01-20 09:58:10',NULL),(7,NULL,'SICOSS','2023-01-20 09:58:19','2023-01-20 09:58:19',NULL),(13,NULL,'Bot Generar Vep','2023-01-20 09:58:19','2023-01-20 09:58:19',NULL);

--
-- Table structure for table `pay_methods`
--

CREATE TABLE `pay_methods` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `description` varchar(180) COLLATE utf8mb4_unicode_ci NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `pay_methods_description_unique` (`description`)
) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `pay_methods`
--

INSERT INTO `pay_methods` VALUES (1,'INTERBANKING',NULL,NULL),(2,'VEP PAGOMISCUENTAS',NULL,NULL),(3,'VEP REDLINK',NULL,NULL),(4,'FORMULARIO',NULL,NULL);

--
-- Table structure for table `period_liquidation_details`
--

CREATE TABLE `period_liquidation_details` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `period_liquidation_id` int(10) unsigned NOT NULL,
  `period_id` int(10) unsigned NOT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `zone_id` int(10) unsigned NOT NULL,
  `coef` decimal(16,2) NOT NULL DEFAULT '0.00',
  `aliquot` decimal(16,2) NOT NULL DEFAULT '0.00',
  `base_amount` decimal(16,2) NOT NULL DEFAULT '0.00',
  `tax_amount` decimal(16,2) NOT NULL DEFAULT '0.00',
  `previous_period_balance` decimal(16,2) NOT NULL DEFAULT '0.00',
  `sircreb_amount` decimal(16,2) NOT NULL DEFAULT '0.00',
  `perception_amount` decimal(16,2) NOT NULL DEFAULT '0.00',
  `retention_amount` decimal(16,2) NOT NULL DEFAULT '0.00',
  `positive_amount` decimal(16,2) NOT NULL DEFAULT '0.00',
  `negative_amount` decimal(16,2) NOT NULL DEFAULT '0.00',
  `balance` 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 `period_liquidation_details_period_liquidation_id_foreign` (`period_liquidation_id`),
  KEY `period_liquidation_details_period_id_foreign` (`period_id`),
  KEY `period_liquidation_details_person_id_foreign` (`person_id`),
  KEY `period_liquidation_details_zone_id_foreign` (`zone_id`),
  CONSTRAINT `period_liquidation_details_period_id_foreign` FOREIGN KEY (`period_id`) REFERENCES `periods` (`id`),
  CONSTRAINT `period_liquidation_details_period_liquidation_id_foreign` FOREIGN KEY (`period_liquidation_id`) REFERENCES `period_liquidations` (`id`),
  CONSTRAINT `period_liquidation_details_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`),
  CONSTRAINT `period_liquidation_details_zone_id_foreign` FOREIGN KEY (`zone_id`) REFERENCES `zones` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `period_liquidation_details`
--


--
-- Table structure for table `period_liquidation_iibb`
--

CREATE TABLE `period_liquidation_iibb` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `period_liquidation_id` int(10) unsigned NOT NULL,
  `period_id` int(10) unsigned NOT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `zone_id` int(10) unsigned NOT NULL,
  `base_amount` decimal(16,2) DEFAULT '0.00',
  `impuesto` decimal(16,2) DEFAULT '0.00',
  `saldo_a_favor_ant` decimal(16,2) DEFAULT '0.00',
  `sircreb` decimal(16,2) DEFAULT '0.00',
  `percepciones` decimal(16,2) DEFAULT '0.00',
  `retenciones` decimal(16,2) DEFAULT '0.00',
  `a_pagar` decimal(16,2) DEFAULT '0.00',
  `a_favor` decimal(16,2) 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 `period_liquidation_iibb_period_liquidation_id_foreign` (`period_liquidation_id`),
  KEY `period_liquidation_iibb_period_id_foreign` (`period_id`),
  KEY `period_liquidation_iibb_person_id_foreign` (`person_id`),
  KEY `period_liquidation_iibb_zone_id_foreign` (`zone_id`),
  CONSTRAINT `period_liquidation_iibb_period_id_foreign` FOREIGN KEY (`period_id`) REFERENCES `periods` (`id`),
  CONSTRAINT `period_liquidation_iibb_period_liquidation_id_foreign` FOREIGN KEY (`period_liquidation_id`) REFERENCES `period_liquidations` (`id`),
  CONSTRAINT `period_liquidation_iibb_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`),
  CONSTRAINT `period_liquidation_iibb_zone_id_foreign` FOREIGN KEY (`zone_id`) REFERENCES `zones` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `period_liquidation_iibb`
--


--
-- Table structure for table `period_liquidation_iva`
--

CREATE TABLE `period_liquidation_iva` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `period_liquidation_id` int(10) unsigned NOT NULL,
  `period_id` int(10) unsigned NOT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `total_debit` decimal(16,2) NOT NULL DEFAULT '0.00',
  `total_credit` decimal(16,2) NOT NULL DEFAULT '0.00',
  `previous_technical` decimal(16,2) NOT NULL DEFAULT '0.00',
  `technical_balance` decimal(16,2) NOT NULL DEFAULT '0.00',
  `previous_free_availability` decimal(16,2) NOT NULL DEFAULT '0.00',
  `retention_amount` decimal(16,2) NOT NULL DEFAULT '0.00',
  `perception_amount` decimal(16,2) NOT NULL DEFAULT '0.00',
  `compensation_amount` decimal(16,2) NOT NULL DEFAULT '0.00',
  `total_perceptions_retentions` decimal(16,2) NOT NULL DEFAULT '0.00',
  `free_availability_balance` decimal(16,2) NOT NULL DEFAULT '0.00',
  `negative_amount` decimal(16,2) NOT NULL DEFAULT '0.00',
  `positive_amount` decimal(16,2) NOT NULL DEFAULT '0.00',
  `total_free_availability` 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 `period_liquidation_iva_period_liquidation_id_foreign` (`period_liquidation_id`),
  KEY `period_liquidation_iva_period_id_foreign` (`period_id`),
  KEY `period_liquidation_iva_person_id_foreign` (`person_id`),
  CONSTRAINT `period_liquidation_iva_period_id_foreign` FOREIGN KEY (`period_id`) REFERENCES `periods` (`id`),
  CONSTRAINT `period_liquidation_iva_period_liquidation_id_foreign` FOREIGN KEY (`period_liquidation_id`) REFERENCES `period_liquidations` (`id`),
  CONSTRAINT `period_liquidation_iva_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `period_liquidation_iva`
--


--
-- Table structure for table `period_liquidation_iva_details`
--

CREATE TABLE `period_liquidation_iva_details` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `period_liquidation_id` int(10) unsigned NOT NULL,
  `period_liquidation_iva_id` int(10) unsigned NOT NULL,
  `period_id` int(10) unsigned NOT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `activity_id` int(10) unsigned DEFAULT NULL,
  `type` int(10) unsigned NOT NULL,
  `tax_id` int(10) unsigned NOT NULL DEFAULT '0',
  `taxabled_amount` decimal(16,2) NOT NULL DEFAULT '0.00',
  `iva_amount` decimal(16,2) NOT NULL DEFAULT '0.00',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `ordr` int(10) unsigned DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `period_liquidation_iva_details_period_liquidation_iva_id_foreign` (`period_liquidation_iva_id`),
  KEY `period_liquidation_iva_details_period_liquidation_id_foreign` (`period_liquidation_id`),
  KEY `period_liquidation_iva_details_period_id_foreign` (`period_id`),
  KEY `period_liquidation_iva_details_person_id_foreign` (`person_id`),
  KEY `period_liquidation_iva_details_activity_id_foreign` (`activity_id`),
  CONSTRAINT `period_liquidation_iva_details_activity_id_foreign` FOREIGN KEY (`activity_id`) REFERENCES `activities` (`id`),
  CONSTRAINT `period_liquidation_iva_details_period_id_foreign` FOREIGN KEY (`period_id`) REFERENCES `periods` (`id`),
  CONSTRAINT `period_liquidation_iva_details_period_liquidation_id_foreign` FOREIGN KEY (`period_liquidation_id`) REFERENCES `period_liquidations` (`id`),
  CONSTRAINT `period_liquidation_iva_details_period_liquidation_iva_id_foreign` FOREIGN KEY (`period_liquidation_iva_id`) REFERENCES `period_liquidation_iva` (`id`),
  CONSTRAINT `period_liquidation_iva_details_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `period_liquidation_iva_details`
--


--
-- Table structure for table `period_liquidations`
--

CREATE TABLE `period_liquidations` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `apply_to` varchar(100) COLLATE utf8mb4_unicode_ci NOT NULL,
  `period_id` int(10) unsigned NOT NULL,
  `person_id` int(10) unsigned DEFAULT NULL,
  `status` int(10) unsigned 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 `period_liquidations_period_id_foreign` (`period_id`),
  KEY `period_liquidations_person_id_foreign` (`person_id`),
  CONSTRAINT `period_liquidations_period_id_foreign` FOREIGN KEY (`period_id`) REFERENCES `periods` (`id`),
  CONSTRAINT `period_liquidations_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `period_liquidations`
--


--
-- Table structure for table `period_liquidations_files`
--

CREATE TABLE `period_liquidations_files` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(11) DEFAULT NULL,
  `apply_to` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `period_id` int(10) unsigned NOT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `descripcion` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `file` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `file_name_original` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `file_extension` 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 `period_liquidations_files_period_id_foreign` (`period_id`),
  KEY `period_liquidations_files_person_id_foreign` (`person_id`),
  CONSTRAINT `period_liquidations_files_period_id_foreign` FOREIGN KEY (`period_id`) REFERENCES `periods` (`id`),
  CONSTRAINT `period_liquidations_files_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `period_liquidations_files`
--


--
-- Table structure for table `periods`
--

CREATE TABLE `periods` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `code` varchar(20) COLLATE utf8mb4_unicode_ci NOT NULL,
  `year` int(10) unsigned NOT NULL,
  `period_number` int(10) unsigned NOT NULL,
  `date_from` date NOT NULL,
  `date_to` date NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `person_id` int(10) unsigned NOT NULL,
  `conta_status` int(10) unsigned NOT NULL DEFAULT '0',
  `deleted_at` timestamp NULL DEFAULT NULL,
  `syj_periods_status_id` int(10) unsigned NOT NULL DEFAULT '1',
  `syj_sin_asiento` tinyint(1) NOT NULL DEFAULT '0',
  `syj_asiento_modificado` tinyint(1) NOT NULL DEFAULT '0',
  `syj_periods_status_emp_dom_id` int(10) unsigned NOT NULL DEFAULT '1',
  PRIMARY KEY (`id`),
  KEY `periods_person_id_foreign` (`person_id`),
  KEY `idx_periods_year_month` (`year`,`period_number`) USING BTREE,
  KEY `idx_periods_code` (`code`) USING BTREE,
  KEY `periods_syj_periods_status_id_foreign` (`syj_periods_status_id`),
  KEY `periods_syj_periods_status_emp_dom_id_foreign` (`syj_periods_status_emp_dom_id`),
  CONSTRAINT `periods_person_id_foreign` FOREIGN KEY (`person_id`) REFERENCES `persons` (`id`),
  CONSTRAINT `periods_syj_periods_status_emp_dom_id_foreign` FOREIGN KEY (`syj_periods_status_emp_dom_id`) REFERENCES `syj_periods_status` (`id`),
  CONSTRAINT `periods_syj_periods_status_id_foreign` FOREIGN KEY (`syj_periods_status_id`) REFERENCES `syj_periods_status` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `periods`
--

INSERT INTO `periods` VALUES (2,1,'2018-01',2018,1,'2018-01-01','2018-01-31',NULL,NULL,3,0,NULL,1,0,0,1);

--
-- 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,
  `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 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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


--
-- 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',
  `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,
  `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,
  `deleted_at` timestamp NULL DEFAULT NULL,
  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 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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


--
-- 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_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 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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


--
-- 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,
  `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 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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


--
-- 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,
  `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,
  `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,
  `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,
  `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,
  `email` varchar(180) COLLATE utf8mb4_unicode_ci 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`),
  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=40719 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

INSERT INTO `persons` VALUES (3,NULL,'Larzabal Hernan',NULL,'cuit','20-28468190-9',NULL,22,22,NULL,'2018-05-12 20:55:07','2018-05-14 01:54:15',1,NULL,1,NULL,NULL,NULL,NULL),(40717,NULL,'Taxes Software',NULL,'cuit','30-71625124-8',NULL,22,22,NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,NULL,NULL),(40718,NULL,'Consumidor Final',NULL,'cuit','20-11111111-2',NULL,22,22,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,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 `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 `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-20 09:58:12','2023-01-20 09:58:12',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-20 09:58:13','2023-01-20 09:58:13',NULL),(4,NULL,'Importar - Archivos PEM F8011','2023-01-20 09:58:18','2023-01-20 09:58:18',NULL);

--
-- 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',
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=34 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,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,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,NULL),(4,NULL,NULL,'2019-07-29 22:19:32','Factura B','6',0,2,0,1,2,0,6,'Factura','B',1,NULL),(5,NULL,NULL,'2019-07-29 22:19:32','Nota de débito B','7',0,2,0,1,2,0,7,'Nota de Débito','B',1,NULL),(6,NULL,NULL,'2019-07-29 22:19:32','Nota de crédito B','8',1,NULL,0,1,2,0,8,'Nota de Crédito','B',1,NULL),(7,NULL,NULL,'2019-07-29 22:19:32','Factura C','11',0,0,1,1,1,0,11,'Factura','C',1,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,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,NULL),(10,NULL,NULL,NULL,'RECIBO A','4',0,1,0,0,2,0,4,'RECIBO','A',0,NULL),(11,NULL,NULL,NULL,'RECIBO B','9',0,2,0,1,2,0,9,'RECIBO','B',0,NULL),(12,NULL,NULL,NULL,'RECIBO C','15',0,0,1,1,1,0,15,'RECIBO','C',0,NULL),(13,NULL,NULL,'2020-02-27 02:46:40','Factura E','19',0,0,1,0,2,0,19,'Factura','E',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,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,NULL),(16,NULL,NULL,NULL,'Factura M','51',0,1,0,0,2,0,51,'Factura','M',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,NULL),(18,NULL,NULL,'2020-02-27 02:46:40','Nota de Credito M','53',1,NULL,0,0,2,0,53,'Nota de Crédito','M',0,NULL),(19,NULL,NULL,'2020-02-27 02:46:40','Nota de Debito M','52',1,1,0,0,2,0,52,'Nota de Débito','M',0,NULL),(20,NULL,NULL,NULL,'Recibo M','54',0,1,0,0,2,0,54,'RECIBO','M',0,NULL),(21,NULL,NULL,NULL,'Recibo E',NULL,1,0,1,0,2,0,NULL,'RECIBO','E',0,NULL),(22,NULL,'2019-05-14 21:22:16','2019-05-14 21:22:16','Liquidacion Primaria de Granos','33',0,1,0,0,2,0,33,'Liquidacion Primaria de Granos','A',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,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,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,NULL),(26,NULL,'2019-11-05 19:00:05','2019-11-05 19:00:05','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,NULL),(27,NULL,'2019-11-05 19:00:05','2019-11-05 19:00:05','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,NULL),(28,NULL,'2019-11-05 19:00:05','2019-11-05 19:00:05','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,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,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,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,NULL),(32,NULL,'2020-01-28 01:59:55','2020-03-20 16:10:53','Tique (Informe Diario Z)','83',0,2,0,0,2,0,83,'Cierre Diario Informe Z','Z',0,NULL);
INSERT INTO `receipt_types` VALUES (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,NULL);

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

CREATE TABLE `receipts` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `type_id` int(10) unsigned NOT NULL,
  `type_receipt_id` int(10) unsigned DEFAULT NULL,
  `comprobanteAfip` int(11) DEFAULT NULL,
  `fact_elec_receipt_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,
  `activity_id` int(10) unsigned DEFAULT NULL,
  `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,
  `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,
  `file` varchar(255) 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 `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`),
  CONSTRAINT `receipts_activity_id_foreign` FOREIGN KEY (`activity_id`) REFERENCES `activities` (`id`),
  CONSTRAINT `receipts_fact_elec_receipt_id_foreign` FOREIGN KEY (`fact_elec_receipt_id`) REFERENCES `fact_elec_receipts` (`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_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,NULL,'Retenciones de Buenos Aires','iibb',NULL,23,251),(5,NULL,NULL,'Retenciones de Capital Federal','iibb',NULL,22,252),(6,NULL,NULL,'Retenciones de Catamarca','iibb',NULL,24,253),(7,NULL,NULL,'Retenciones de Chaco','iibb',NULL,3,254),(8,NULL,NULL,'Retenciones de Chubut','iibb',NULL,4,255),(9,NULL,NULL,'Retenciones de Córdoba','iibb',NULL,1,256),(10,NULL,NULL,'Retenciones de Corrientes','iibb',NULL,2,257),(11,NULL,NULL,'Retenciones de Entre Ríos','iibb',NULL,5,258),(12,NULL,NULL,'Retenciones de Formosa','iibb',NULL,6,259),(13,NULL,NULL,'Retenciones de Jujuy','iibb',NULL,7,260),(14,NULL,NULL,'Retenciones de La Pampa','iibb',NULL,8,261),(15,NULL,NULL,'Retenciones de La Rioja','iibb',NULL,9,262),(16,NULL,NULL,'Retenciones de Mendoza','iibb',NULL,10,263),(17,NULL,NULL,'Retenciones de Misiones','iibb',NULL,11,264),(18,NULL,NULL,'Retenciones de Neuquén','iibb',NULL,12,265),(19,NULL,NULL,'Retenciones de Pascua Lama','iibb',NULL,25,266),(20,NULL,NULL,'Retenciones de Río Negro','iibb',NULL,13,267),(21,NULL,NULL,'Retenciones de Salta','iibb',NULL,14,268),(22,NULL,NULL,'Retenciones de San Juan','iibb',NULL,15,269),(23,NULL,NULL,'Retenciones de San Luis','iibb',NULL,16,270),(24,NULL,NULL,'Retenciones de Santa Cruz','iibb',NULL,17,271),(25,NULL,NULL,'Retenciones de Santa Fe','iibb',NULL,18,272),(26,NULL,NULL,'Retenciones de Santiago del Estero','iibb',NULL,19,273),(27,NULL,NULL,'Retenciones de Tierra del Fuego','iibb',NULL,20,274),(28,NULL,NULL,'Retenciones de Tucuman','iibb',NULL,21,275);

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

CREATE TABLE `retentions` (
  `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,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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


--
-- 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-20',
  `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_comprobante_id` bigint(20) unsigned NOT NULL,
  `comprobante_numero` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `neto_grav_acum_mens` 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,
  `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=25 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

INSERT INTO `sicore_regimenes` VALUES (1,NULL,'19','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','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','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','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','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','Anexo II, inc. c)','Regalías.',0,6.00,28.00,7870,1,NULL,NULL,NULL),(7,NULL,'43','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','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','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','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','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','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','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','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','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','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','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','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','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','Anexo II, inc. h)','Explotación de derechos de autor (Ley N° 11.723).',0,0.00,28.00,10000,1,NULL,NULL,NULL);
INSERT INTO `sicore_regimenes` VALUES (21,NULL,'25','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,1,NULL,NULL,NULL),(22,NULL,'116','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,1,NULL,NULL,NULL),(23,NULL,'116','Anexo ll, inc. k)','Profesionales liberales, oficios, albacea, mandatario, gestor de negocio.',0,0.00,28.00,16830,1,NULL,NULL,NULL),(24,NULL,'124','Anexo ll, inc. k)','Corredor, viajante de comercio y despachante de aduana.',0,0.00,28.00,16830,1,NULL,NULL,NULL);

--
-- 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=101 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);

--
-- 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 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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


--
-- 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 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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


--
-- 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'),(1,328,301,'2020-05-06 12:51:31','2020-05-06 12:51:31'),(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');
INSERT INTO `syj_concepto_asoc_cant` VALUES (88,1965,323,'2020-05-06 12:35:45','2020-05-06 12:35:45'),(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');
INSERT INTO `syj_concepto_asoc_cant` VALUES (88,2355,321,'2020-05-06 12:35:45','2020-05-06 12:35:45'),(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');
INSERT INTO `syj_concepto_asoc_cant` VALUES (1,3382,1468,'2020-05-08 10:15:45','2020-05-08 10:15:45'),(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');

--
-- 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,302,301,'2020-05-11 14:35:21','2020-05-11 14:35:21'),(1,1634,301,'2020-05-11 14:35:21','2020-05-11 14:35:21'),(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,3362,301,'2020-05-22 13:52:39','2020-05-22 13:52:39'),(88,3424,301,'2020-05-22 13:55:01','2020-05-22 13:55: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'),(1,315,1462,'2020-04-25 09:34:22','2020-04-25 09:34:22'),(1,315,1468,'2020-04-25 09:34:22','2020-04-25 09:34:22'),(1,322,315,'2020-04-25 17:24:19','2020-04-25 17:24:19'),(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,328,1469,'2020-05-06 12:51:31','2020-05-06 12:51:31'),(1,328,1473,'2020-05-06 12:51:31','2020-05-06 12:51:31'),(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,302,350,'2020-05-11 14:35:21','2020-05-11 14:35:21'),(1,302,352,'2020-05-11 14:35:21','2020-05-11 14:35:21'),(1,302,289,'2020-05-11 14:35:21','2020-05-11 14:35:21'),(1,302,1460,'2020-05-11 14:35:21','2020-05-11 14:35:21'),(1,302,301,'2020-05-11 14:35:21','2020-05-11 14:35:21'),(1,302,353,'2020-05-11 14:35:21','2020-05-11 14:35:21'),(1,302,354,'2020-05-11 14:35:21','2020-05-11 14:35:21'),(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,1634,350,'2020-05-11 14:35:21','2020-05-11 14:35:21'),(1,1634,352,'2020-05-11 14:35:21','2020-05-11 14:35:21'),(1,1634,289,'2020-05-11 14:35:21','2020-05-11 14:35:21'),(1,1634,1460,'2020-05-11 14:35:21','2020-05-11 14:35:21'),(1,1634,301,'2020-05-11 14:35:21','2020-05-11 14:35:21'),(1,1634,353,'2020-05-11 14:35:21','2020-05-11 14:35:21'),(1,1634,354,'2020-05-11 14:35:21','2020-05-11 14:35:21'),(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');
INSERT INTO `syj_concepto_asoc_valor` VALUES (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,1682,1459,'2020-04-23 12:52:08','2020-04-23 12:52:08'),(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'),(1,1684,1463,'2020-04-24 16:39:03','2020-04-24 16:39:03'),(1,1685,1459,'2020-04-24 16:39:39','2020-04-24 16:39:39'),(1,1685,1460,'2020-04-24 16:39:39','2020-04-24 16:39:39'),(1,1686,352,'2020-05-08 10:36:53','2020-05-08 10:36:53'),(1,1686,305,'2020-05-08 10:36:53','2020-05-08 10:36:53'),(1,1686,289,'2020-05-08 10:36:53','2020-05-08 10:36:53'),(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');
INSERT INTO `syj_concepto_asoc_valor` VALUES (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'),(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');
INSERT INTO `syj_concepto_asoc_valor` VALUES (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'),(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,1995,352,'2020-05-13 15:07:45','2020-05-13 15:07:45'),(88,1995,305,'2020-05-13 15:07:45','2020-05-13 15:07:45'),(88,1995,289,'2020-05-13 15:07:45','2020-05-13 15:07:45'),(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');
INSERT INTO `syj_concepto_asoc_valor` VALUES (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'),(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');
INSERT INTO `syj_concepto_asoc_valor` VALUES (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'),(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');
INSERT INTO `syj_concepto_asoc_valor` VALUES (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'),(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');
INSERT INTO `syj_concepto_asoc_valor` VALUES (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'),(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');
INSERT INTO `syj_concepto_asoc_valor` VALUES (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'),(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');
INSERT INTO `syj_concepto_asoc_valor` VALUES (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'),(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');
INSERT INTO `syj_concepto_asoc_valor` VALUES (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'),(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');
INSERT INTO `syj_concepto_asoc_valor` VALUES (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,3412,1459,'2020-04-24 16:39:03','2020-04-24 16:39:03'),(1,3412,1460,'2020-04-24 16:39:03','2020-04-24 16:39:03'),(1,3412,1463,'2020-04-24 16:39:03','2020-04-24 16:39:03'),(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,3414,352,'2020-05-22 13:46:38','2020-05-22 13:46:38'),(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,3362,350,'2020-05-22 13:52:39','2020-05-22 13:52:39'),(88,3362,352,'2020-05-22 13:52:39','2020-05-22 13:52:39'),(88,3362,289,'2020-05-22 13:52:39','2020-05-22 13:52:39'),(88,3362,1460,'2020-05-22 13:52:39','2020-05-22 13:52:39'),(88,3362,301,'2020-05-22 13:52:39','2020-05-22 13:52:39'),(88,3362,353,'2020-05-22 13:52:39','2020-05-22 13:52:39'),(88,3362,354,'2020-05-22 13:52:39','2020-05-22 13:52:39'),(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');

--
