{"version":3,"sources":["pages/mantenimiento/configuraciones_del_sistema/controlMatricula.js"],"names":["Auth","AuthService","border_dialog","globales","movil_pequeño","test","navigator","userAgent","timeToast","isVisibleRowSelected","colorRowSelected","colores","tabla","selection","alternateColorRow1","alternateColorRow2","getRowId","row","ID_CONTROL_MATRICULA","getRowIdCuotas","ID_CUOTA","getRowIdCuotasPi","ID_CUOTA_PI","getRowIdControlMatriculaPi","ID_CONTROL_MATRICULA_PI","currentfechaIniPeri","currentfechaFinPeri","currentcongelado","currentBorrado","currentinicioMatriculaAdmin","currentfinMatriculaAdmin","currentinicioMatriculaEstu","currentfinMatriculaEstu","currentinicioCambiosAdmin","currentfinCambiosAdmin","currentinicioCambiosEstu","currentfinCambiosEstu","currentinicioRetirosAdmin","currentfinRetirosAdmin","currentinicioRetirosEstu","currentfinRetirosEstu","currentinicioSuficiencia","currentfinSuficiencia","currentinicioExtraordinario","currentfinExtraordinario","currentinicioRecargo","currentfinRecargo","currentAnio","currentPeriodo","currentFechaIniListaEspera","currentFechaFinListaEspera","currentPiPeriodo","currentPiFechaIniPeriodo","currentPiFechaFinPeriodo","currentPiMatIniAdmin","currentPiMatFinAdmin","currentPiMatIniCli","currentPiMatFinCli","currentPiCambiosIniAdmin","currentPiCambiosFinAdmin","currentPiCambiosIniCli","currentPiCambiosFinCli","currentPiRetirosIniAdmin","currentPiRetirosFinAdmin","currentPiRetirosIniCli","currentPiRetirosFinCli","currentPiExamenIniExtra","currentPiExamenFinExtra","currentPiSuficienciaIni","currentPiSuficienciaFin","currentPiRecargoIni","currentPiRecargoFin","currentPiCongelado","currentPiBorrado","currentfechaCuota","currentSecuencia","currentDiaInicio","currentDiaFin","currentPorcentajeMora","currentPifechaCuota","currentPiSecuencia","currentPiDiaInicio","currentPiDiaFin","currentPiPorcentajeMora","BodyComponent","props","_jsx","Table","TableBody","styles","theme","Dialog","borderRadius","margin","padding","backdrop","zIndex","color","flexDirection","select","spacing","minWidth","selectModalidades","textField","width","columns","name","title","columnasCuotas","columnasCuotasPi","columnasPi","tableColumnExtensions","columnName","wordWrapEnabled","align","withStyles","React","Component","constructor","super","tablaRef","createRef","tablaCuotasRef","tablaCuotasPiRef","paperRef","anioRef","periodoRef","periodoPiRef","estadoRef","diaInicioRef","fechaCuotaRef","secuenciaRef","diaFinRef","porcentajeMoraRef","pidiaInicioRef","pifechaCuotaRef","pisecuenciaRef","pidiaFinRef","piporcentajeMoraRef","changeSelection","undefined","length","this","setState","state","changeSelectionCuotas","cuotaIud","selectionCuotas","changeSelectionCuotasPi","cuotaPiIud","selectionCuotasPi","changeSelectionPi","iudPi","selectionPi","funcCerrarModalConf","event","Limpiar","modalConfiguracion","funcCerrarModales","modalCuotas","modalCuotasPi","modalEliminarCuota","modalConfiguracionPi","modalEliminarPi","openModalidad","idCuota","idCuotaPi","preventDefault","funcCerrarModalidades","funcAceptarModalidades","modalidadSecundariaSelection","modalidadPrincipalSelection","funciones","showToast","funcCerrarModalPi","modalVerPi","funcCerrarModalEliminarCuota","funcCerrarModalEliminarCuotaPi","modalEliminarCuotaPi","funcCerrarModalEliminarPi","idControlMatricula","anio","periodo","cantidadSecciones","funcModalConfiguraFechas","idModal","iud","funcModalPeriodoIntensivo","idModalPI","idControlMatriculaPi","controlMatriculaPiIUD","funcModalCuotas","consultasControlMatricula","funcModalCuotasPi","funcModalVerPi","funcionCuotaIUD","idConsulta","_this","actualizarbarra","loggedIn","then","b","isLoggin","openBackDrop","Request","post","ip","set","authorization","getToken","send","ID_CONSULTA","FECHA","SECUENCIA","DIA_INICIO_MORA","DIA_FIN_MORA","PORCENTAJE_MORA","USUARIO","getProfile","user","retry","timeout","response","deadline","end","err","res","toString","substr","window","location","reload","tmp","JSON","parse","text","datos","current","value","txtSecuenciaShrink","txtDiaIniciaMoraShrink","txtDiaFinMoraShrink","txtPorcentajeShrink","ex","validado","funcionCuotaPiIUD","txtPiSecuenciaShrink","txtPiDiaIniciaMoraShrink","txtPiDiaFinMoraShrink","txtPiPorcentajeShrink","ChangeSelect_estado","selection_estado","target","cambiaSelectGradoAcademico","gradoAcademicoSelection","cambiaSelectModalidadPrincipal","cambiaSelectModalidadSecundaria","cambiaInicioPeri","cambiaFinPeri","confirmarfecha","document","getElementById","focus","cambiaInicioMatAdm","cambiaFinMatAdm","cambiaInicioMatEst","cambiaFinMatEst","cambiaInicioCambioAdm","cambiaFinCambioAdm","cambiaInicioCambioEst","cambiaFinCambioEst","cambiaInicioListaEspera","cambiaFinListaEspera","cambiaInicioRetirosAdm","cambiaFinRetirosAdm","cambiaInicioRetirosEstu","cambiaFinRetirosEstu","cambiaInicioSuficiencia","cambiaFinSuficiencia","cambiaInicioExtraordinario","cambiaFinExtraordinario","cambiaInicioRecargo","cambiaFinRecargo","ChangePiSelect_estado","selection_estado_pi","cambiaPiSelectGradoAcademico","gradoAcademicoPiSelection","cambiaPiInicioPeri","cambiaPiFinPeri","cambiaPiInicioMatAdm","cambiaPiFinMatAdm","cambiaPiInicioMatEst","cambiaPiFinMatEst","cambiaPiInicioCambioAdm","cambiaPiFinCambioAdm","cambiaPiInicioCambioEst","cambiaPiFinCambioEst","cambiaPiInicioRetirosAdm","cambiaPiFinRetirosAdm","cambiaPiInicioRetirosEstu","cambiaPiFinRetirosEstu","cambiaPiInicioSuficiencia","cambiaPiFinSuficiencia","cambiaPiInicioExtraordinario","cambiaPiFinExtraordinario","cambiaPiInicioRecargo","cambiaPiFinRecargo","cambiaAnio","cambiaPeriodo","cambiaPiPeriodo","cambiaFechaCuota","cambiaSecuencia","cambiaDiaInicio","cambiaDiaFin","cambiaPorcentajeMora","cambiaFechaCuotaPi","cambiaSecuenciaPi","cambiaDiaInicioPi","cambiaDiaFinPi","cambiaPorcentajeMoraPi","onEntering","open_modificar","validarPrevioIUD","controlMatriculaIUD","validarPrevioPiIUD","limipiarNuevaCuota","validarPrevioIUDCuota","limipiarNuevaCuotaPi","validarPrevioIUDCuotaPi","abrirModalModalidades","fecha","Date","l","e","i","actualizarcircular","heightTableMain","heightTableCuotas","heightTableCuotasPi","heightTablePi","rowsControlMatricula","rowsCuotas","rowsCuotasPi","rowsPi","rowsGradoAcademico","rowsModalidadesPrincipal","rowsModalidadesSecundarias","grouping","expandedGroups","filteringColumnExtensions","filters","expandedRowIds","enabledFilterRows","defaultHiddenColumnNames","cuotastHiddenColumnNames","cuotasPitHiddenColumnNames","pitHiddenColumnNames","datos_estados","MenuItem","dense","children","botones","icono","toolt","nombre","escritura","display","onclick","botonesCrear","botonesCrearPi","botones_agregar","botonesEditarPi","botones_eliminar","botonesEliminarCuotaPi","botonesEliminarPi","botonModalidad","botonesModalidades","trowControlMatricula","TableRow","_ref2","classes","highlighted","rowIndex","selectByRowClick","odd","r","tableRow","Row","onClick","clickselection","style","cursor","backgroundColor","trowCuotas","_ref3","clickSelectionCuota","trowCuotasPi","_ref4","clickSelectionCuotaPi","trowPi","_ref5","clickSelectionPi","columnHeader_rowComponent","_ref","encabezado","VirtualTable_cellComponent","column","Cell","height","_jsxs","ButtonGroup","size","Tooltip","Button","textTransform","VirtualTable_cellComponent_cuotaPi","componentDidMount","getHeightTableMain","heightTable","ID_SUCURSAL","sucursal","Datos","map","ID_GRADO_ACADEMICO","DESCRIPCION_GRADO","periodoI","ID_MODALIDAD_CURSO","DESCRIPCION_MODALIDAD_CURSO","ANIO","PERIODO","DESCRIPCION","ESTATUS","FECHA_INICIO_MAT","FECHA_FIN_MAT","FECHA_INICIO_MAT_WEB","FECHA_FIN_MAT_WEB","FECHA_INICIO_CAMBIO","FECHA_FIN_CAMBIO","FECHA_INICIO_CAMBIO_WEB","FECHA_FIN_CAMBIO_WEB","FECHA_INICIO_RETIRO","FECHA_FIN_RETIRO","FECHA_INICIO_PER","FECHA_FIN_PER","FECHA_INICIO_SUF","FECHA_FIN_SUFI","FECHA_INICIO_EXAMEN","FECHA_FIN_EXAMEN","FECHA_ACTUALIZAR_INICIO","FECHA_ACTUALIZAR_FIN","FECHA_INICIO_LISTA_ESPERA","FECHA_FIN_LISTA_ESPERA","FECHA_INICIO_PREMATRICULA","FECHA_FIN_PREMATRICULA","FECHA_INICIO_RETIRO_WEB","FECHA_FIN_RETIRO_WEB","ACTUALIZAR_DATOS","ID_MOODLE_CATEGORIA","ID_MODALIDAD_PRINCIPAL","ID_MODALIDAD_SECUNDARIA","FECHA_INICIO_RECARGO","FECHA_FIN_RECARGO","FECHA_INI_PERIODO","FECHA_FIN_PERIODO","MAT_INI_ADMIN","MAT_FIN_ADMIN","MAT_INI_CLI","MAT_FIN_CLI","CAMBIOS_INI_ADMIN","CAMBIOS_FIN_ADMIN","CAMBIOS_INI_CLI","CAMBIOS_FIN_CLI","RETIROS_INI_ADMIN","RETIROS_FIN_ADMIN","RETIROS_INI_CLI","RETIROS_FIN_CLI","EXAMEN_INI_EXTRA","EXAMEN_FIN_EXTRA","SUFICIENCIA_INI","SUFICIENCIA_FIN","RECARGO_INI","RECARGO_FIN","CONGELADO","BORRADO","render","botonesModalCuota","variant","disabled","naranja","botonesModalCuotaPi","botonesModalPi","Fragment","Paper","ref","heightPapeMain","Backdrop","className","open","CircularProgress","marginTop","onClose","disableEnforceFocus","disableAutoFocus","fullWidth","paper","fullScreen","DialogTitle","id","DialogContent","dividers","Grid","container","alignItems","item","xs","Typography","gutterBottom","textAlign","TextField","label","type","required","onChange","defaultValue","inputProps","max","min","onInput","Math","parseInt","slice","InputLabelProps","shrink","onBlur","Select","Label","Selected","Multiple","Style","ShowItemNone","LabelItemNone","ValueItemNone","AutoFocus","Outlined","labelWidth","SelectClass","BarraBotones","DialogActions","plataforma","background","marginLeft","marginleft_movil","marginleft","marginRight","marginright_movil","marginright","CustomTable","Columns","Rows","TableColumnExtensions","columnWidths","DefaultHiddenColumnNames","Selection","ChangeSelection","onFiltersChange","changeFilters","RowComponent","standarPlugin","TableRowsIndexer","showSelectionColumn","TransitionProps","maxWidth","Divider","marginBottom","logout"],"mappings":"qHAAA,+NA0BA,IAAIA,EAAO,IAAIC,IACf,IAAIC,EAAgBC,IAASD,cACzBE,EAAg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C,WAAW,EACXC,UAAU,EACVC,WAAY,IACZzC,WAAS,EACT0C,YAAa,CAACzI,OAAQpZ,EAAc,OAAO,IAC3Cme,SAA2C,IAAjCzV,KAAKE,MAAMuC,2BAK3BjG,cAAC6c,IAAa,CAAA3L,SACZlR,cAAC4c,IAAY,CAACzL,QAAS3N,KAAK0O,mBAAoB5C,EAAG9L,KAAK8L,EAAGC,EAAG/L,KAAK+L,EAAGC,EAAGhM,KAAKgM,WAMzF,EA7iCF,SAijC4B,IAAxBhM,KAAKE,MAAM0D,UACpB1M,EAAK8jB,cACLzV,OAAOC,SAASC,UAIX,IACT,G","file":"static/js/main~d4fddd01.2c102c06.chunk.js","sourcesContent":["import React from \"react\";\r\nimport {withStyles} from \"@material-ui/core/styles\";\r\nimport {colores,globales,funciones} from \"../../../global\";\r\nimport BarraBotones from \"../../../components/Barra_menu\";\r\nimport AuthService from \"../../../AuthService\";\r\nimport Request from \"superagent\";\r\nimport CustomTable from \"../../../components/CustomTable\";\r\nimport {Table} from \"@devexpress/dx-react-grid-material-ui\";\r\nimport Dialog from \"@material-ui/core/Dialog\";\r\nimport DialogContent from \"@material-ui/core/DialogContent\";\r\nimport DialogTitle from \"@material-ui/core/DialogTitle\";\r\nimport CircularProgress from \"@material-ui/core/CircularProgress\";\r\nimport Backdrop from \"@material-ui/core/Backdrop\";\r\nimport Paper from \"@material-ui/core/Paper\";\r\nimport {Divider} from \"@material-ui/core\";\r\nimport Grid from \"@material-ui/core/Grid\";\r\nimport Typography from \"@material-ui/core/Typography\";\r\nimport TextField from \"@material-ui/core/TextField\";\r\nimport Button from \"@material-ui/core/Button\";\r\nimport ButtonGroup from '@material-ui/core/ButtonGroup';\r\nimport Select from \"../../../components/Select\";\r\nimport MenuItem from \"@material-ui/core/MenuItem\";\r\nimport DialogActions from '@material-ui/core/DialogActions';\r\nimport Tooltip from '@material-ui/core/Tooltip';\r\nimport TableRowsIndexer from '../../../components/tableRowsIndexer'\r\n\r\nlet Auth = new AuthService();\r\nvar border_dialog = globales.border_dialog;\r\nvar movil_pequeño = /Android|webOS|iPhone|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent);\r\nlet timeToast = 18000;\r\n\r\nlet isVisibleRowSelected = false;\r\nconst colorRowSelected = \"rgb(\" + colores.tabla.selection + \")\";\r\nlet alternateColorRow1 = colores.tabla.alternateColorRow1;\r\nlet alternateColorRow2 = colores.tabla.alternateColorRow2;\r\nvar tokenInfo;\r\n\r\n/*\r\nclass TableRowsIndexer extends React.PureComponent {\r\n render() {\r\n return (\r\n \r\n \r\n \r\n );\r\n }\r\n}*/\r\n\r\nconst getRowId = (row) => row.ID_CONTROL_MATRICULA;\r\nconst getRowIdCuotas = (row) => row.ID_CUOTA;\r\nconst getRowIdCuotasPi = (row) => row.ID_CUOTA_PI;\r\nconst getRowIdControlMatriculaPi = (row) => row.ID_CONTROL_MATRICULA_PI;\r\n\r\n//Configuracion control matricula normal\r\nlet currentfechaIniPeri = null;\r\nlet currentfechaFinPeri = null;\r\nlet currentcongelado = null;\r\nlet currentBorrado = null;\r\nlet currentinicioMatriculaAdmin = null;\r\nlet currentfinMatriculaAdmin = null;\r\nlet currentinicioMatriculaEstu = null;\r\nlet currentfinMatriculaEstu = null;\r\nlet currentinicioCambiosAdmin = null;\r\nlet currentfinCambiosAdmin = null;\r\nlet currentinicioCambiosEstu = null;\r\nlet currentfinCambiosEstu = null;\r\nlet currentinicioRetirosAdmin = null;\r\nlet currentfinRetirosAdmin = null;\r\nlet currentinicioRetirosEstu = null;\r\nlet currentfinRetirosEstu = null;\r\nlet currentinicioSuficiencia = null;\r\nlet currentfinSuficiencia = null;\r\nlet currentinicioExtraordinario = null;\r\nlet currentfinExtraordinario = null;\r\nlet currentinicioRecargo = null;\r\nlet currentfinRecargo = null;\r\nlet currentAnio = null;\r\nlet currentPeriodo = null;\r\n\r\nlet currentFechaIniListaEspera = null;\r\nlet currentFechaFinListaEspera = null;\r\n\r\n//Variables del periodo intensivo\r\n//let currentPiIdConsulta = null;\r\n//let currentPiIdControlMatriculaPi = null;\r\n//let currentPiIdControlMatricula = null;\r\nlet currentPiPeriodo = null;\r\nlet currentPiFechaIniPeriodo = null;\r\nlet currentPiFechaFinPeriodo = null;\r\nlet currentPiMatIniAdmin = null;\r\nlet currentPiMatFinAdmin = null;\r\nlet currentPiMatIniCli = null;\r\nlet currentPiMatFinCli = null;\r\nlet currentPiCambiosIniAdmin = null;\r\nlet currentPiCambiosFinAdmin = null;\r\nlet currentPiCambiosIniCli = null;\r\nlet currentPiCambiosFinCli = null;\r\nlet currentPiRetirosIniAdmin = null;\r\nlet currentPiRetirosFinAdmin = null;\r\nlet currentPiRetirosIniCli = null;\r\nlet currentPiRetirosFinCli = null;\r\nlet currentPiExamenIniExtra = null;\r\nlet currentPiExamenFinExtra = null;\r\nlet currentPiSuficienciaIni = null;\r\nlet currentPiSuficienciaFin = null;\r\nlet currentPiRecargoIni = null;\r\nlet currentPiRecargoFin = null;\r\nlet currentPiCongelado = null;\r\nlet currentPiBorrado = null;\r\n//let currentPiEstatus = null;\r\n//let currentPiIdMoodleCategoria = null;\r\n//let currentPiIdGradoAcademico = null;\r\n//let currentPiUsuario = null;\r\n\r\nlet currentfechaCuota = null;\r\nlet currentSecuencia = null;\r\nlet currentDiaInicio = null;\r\nlet currentDiaFin = null;\r\nlet currentPorcentajeMora = null;\r\n\r\nlet currentPifechaCuota = null;\r\nlet currentPiSecuencia = null;\r\nlet currentPiDiaInicio = null;\r\nlet currentPiDiaFin = null;\r\nlet currentPiPorcentajeMora = null;\r\n\r\n\r\nconst BodyComponent = (props) => {\r\n return ;\r\n};\r\n\r\n/* CLASES DE ESTILO */\r\n\r\nvar styles = (theme) => ({\r\n Dialog: {\r\n borderRadius: border_dialog,\r\n margin: 0,\r\n padding: 0,\r\n },\r\n backdrop: {\r\n zIndex: 500000,\r\n color: \"#fff\",\r\n flexDirection: \"column\",\r\n },\r\n select: {\r\n //CONFIGURA EL SELECT\r\n margin: theme.spacing(movil_pequeño ? 2 : 1, 1, 0, 0),\r\n padding: 0,\r\n minWidth: movil_pequeño ? \"100%\" : \"50%\",\r\n },\r\n selectModalidades: {\r\n //CONFIGURA EL SELECT\r\n margin: theme.spacing(movil_pequeño ? 2 : 1, 1, 0, 0),\r\n padding: 0,\r\n minWidth: movil_pequeño ? \"100%\" : \"100%\",\r\n },\r\n textField: {\r\n margin: theme.spacing(movil_pequeño ? 2 : 1, 1, 0, 0),\r\n padding: 0,\r\n minWidth: movil_pequeño ? \"100%\" : \"20%\",\r\n width: \"100%\",\r\n },\r\n});\r\n\r\nconst columns = [{ name: \"ID_CONTROL_MATRICULA\", title: \"ID_CONTROL_MATRICULA\"}\r\n ,{name: \"DESCRIPCION\", title: \"Descripción\"}\r\n ,{name: \"ANIO\", title: \"Año\"}\r\n ,{name: \"PERIODO\", title: \"Período\"}\r\n ,{name: \"ESTATUS\", title: \"Estado\"}\r\n ,{name: \"DESCRIPCION_GRADO\", title: \"Grado\"}\r\n ,{name: \"BOTONES\", title: \"Botones\"}\r\n ];\r\n\r\nconst columnasCuotas = [{ name: \"ID_CUOTA\", title: \"ID_CUOTA\"}\r\n ,{name: \"FECHA\", title: \"Fecha\"}\r\n ,{name: \"SECUENCIA\", title: \"Secuencia\"}\r\n ,{name: \"DIA_INICIO_MORA\", title: \"Día Inicial de Mora\"}\r\n ,{name: \"DIA_FIN_MORA\", title: \"Día Final de Mora\"}\r\n ,{name: \"PORCENTAJE_MORA\", title: \"Porcentaje de Mora\"}\r\n ];\r\n\r\nconst columnasCuotasPi = [{ name: \"ID_CUOTA_PI\", title: \"ID_CUOTA_PI\"}\r\n ,{name: \"FECHA\", title: \"Fecha\"}\r\n ,{name: \"SECUENCIA\", title: \"Secuencia\"}\r\n ,{name: \"DIA_INICIO_MORA\", title: \"Día Inicial de Mora\"}\r\n ,{name: \"DIA_FIN_MORA\", title: \"Día Final de Mora\"}\r\n ,{name: \"PORCENTAJE_MORA\", title: \"Porcentaje de Mora\"}\r\n ];\r\n\r\nconst columnasPi = [{ name: \"ID_CONTROL_MATRICULA_PI\", title: \"ID_CONTROL_MATRICULA_PI\"}\r\n ,{name: \"PERIODO_PI\", title: \"Período Intensivo\"}\r\n ,{name: \"DESCRIPCION\", title: \"Descripción período principal\"}\r\n ,{name: \"ESTATUS_PI\", title: \"Estado\"}\r\n ,{name: \"BOTONES\", title: \"Botones\"}\r\n ];\r\n\r\nconst tableColumnExtensions = [\r\n { columnName: \"BOTONES\", wordWrapEnabled: false, align: \"center\",width: 150 },\r\n { columnName: \"ANIO\", wordWrapEnabled: false, align: \"center\",width: 100 },\r\n { columnName: \"PERIODO\", wordWrapEnabled: false, align: \"center\",width: 100 },\r\n { columnName: \"ESTATUS\", wordWrapEnabled: false, align: \"center\",width: 100 },\r\n { columnName: \"DESCRIPCION\", wordWrapEnabled: false, align: \"center\",width: 300 },\r\n { columnName: \"DESCRIPCION_GRADO\", wordWrapEnabled: false, align: \"center\",width: 250 },\r\n];\r\n\r\n/* EXPORT */\r\nexport default withStyles(styles)(\r\n class ControlMatricula extends React.Component {\r\n tablaRef = React.createRef();\r\n tablaCuotasRef = React.createRef();\r\n tablaCuotasPiRef = React.createRef();\r\n paperRef = React.createRef();\r\n \r\n anioRef = React.createRef();\r\n periodoRef = React.createRef();\r\n periodoPiRef = React.createRef();\r\n estadoRef = React.createRef();\r\n diaInicioRef = React.createRef();\r\n fechaCuotaRef = React.createRef();\r\n secuenciaRef = React.createRef();\r\n diaFinRef = React.createRef();\r\n porcentajeMoraRef = React.createRef();\r\n \r\n pidiaInicioRef = React.createRef();\r\n pifechaCuotaRef = React.createRef();\r\n pisecuenciaRef = React.createRef();\r\n pidiaFinRef = React.createRef();\r\n piporcentajeMoraRef = React.createRef();\r\n\r\n constructor(props) {\r\n super(props);\r\n this.Auth = new AuthService();\r\n this.l = props.l;\r\n this.e = props.e;\r\n this.i = props.i;\r\n this.isVisibleRowSelected = isVisibleRowSelected;\r\n this.actualizarbarra = props.actualizarbarra;\r\n this.actualizarcircular = props.actualizarcircular;\r\n\r\n this.state = {\r\n openBackDrop: false,\r\n isLoggin: undefined,\r\n heightTableMain: 0,\r\n heightTableCuotas: 0,\r\n heightTableCuotasPi: 0,\r\n heightTablePi: 0,\r\n rowsControlMatricula: [],\r\n rowsCuotas: [],\r\n rowsCuotasPi: [],\r\n rowsPi: [],\r\n rowsGradoAcademico: [],\r\n rowsModalidadesPrincipal:[],\r\n rowsModalidadesSecundarias:[],\r\n grouping: [],\r\n expandedGroups: [],\r\n filteringColumnExtensions: [],\r\n filters: [],\r\n expandedRowIds: [],\r\n enabledFilterRows: true,\r\n idControlMatricula:0,\r\n idCuota:0,\r\n idCuotaPi:0,\r\n defaultHiddenColumnNames: [\"ID_CONTROL_MATRICULA\"],\r\n cuotastHiddenColumnNames: [\"ID_CUOTA\"],\r\n cuotasPitHiddenColumnNames: [\"ID_CUOTA_PI\"],\r\n pitHiddenColumnNames: [\"ID_CONTROL_MATRICULA_PI\"],\r\n selection: [], \r\n selectionCuotas: [], \r\n selectionCuotasPi: [], \r\n selectionPi: [], \r\n anio:0,\r\n periodo:0,\r\n iud:0, //1:Insertar, 2:Actualizar, 3:Eliminar\r\n cuotaIud:0, //1:Insertar, 2:Actualizar, 3:Eliminar\r\n cuotaPiIud:0, //1:Insertar, 2:Actualizar, 3:Eliminar\r\n iudPi:0, //1:Insertar, 2:Actualizar, 3:Eliminar\r\n gradoAcademicoSelection:\"\",\r\n gradoAcademicoPiSelection:\"\",\r\n\r\n modalidadPrincipalSelection:\"\",\r\n modalidadSecundariaSelection:\"\",\r\n cantidadSecciones:0,\r\n\r\n //modales\r\n modalConfiguracion:false,\r\n modalCuotas:false,\r\n modalCuotasPi:false,\r\n modalEliminarCuota:false,\r\n modalEliminarCuotaPi:false,\r\n modalEliminarPi:false,\r\n modalConfiguracionPi:false,\r\n modalVerPi:false,\r\n openModalidad:false,\r\n\r\n //shrink\r\n txtSecuenciaShrink :false,\r\n txtDiaIniciaMoraShrink :false,\r\n txtDiaFinMoraShrink :false,\r\n txtPorcentajeShrink :false,\r\n \r\n txtPiSecuenciaShrink :false,\r\n txtPiDiaIniciaMoraShrink :false,\r\n txtPiDiaFinMoraShrink :false,\r\n txtPiPorcentajeShrink :false,\r\n \r\n //SELECT STATUS\r\n datos_estados: [\r\n \r\n {\"Activo\"}\r\n ,\r\n \r\n {\"Inactivo\"}\r\n ,\r\n ],\r\n selection_estado: \"\",\r\n selection_estado_pi: \"\",\r\n };\r\n\r\n \r\n\r\n const columnHeader_rowComponent = ({ style, ...props }) => {\r\n return (\r\n \r\n );\r\n };\r\n\r\n const VirtualTable_cellComponent = (props) => {\r\n const { column } = props;\r\n const { row } = props;\r\n\r\n if(row[\"ESTATUS\"]==='Activo' && column.name===\"ESTATUS\")\r\n {\r\n return ;\r\n }\r\n \r\n if(column.name===\"BOTONES\")\r\n {\r\n return(\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {/**/}\r\n \r\n \r\n );\r\n }\r\n \r\n \r\n return ;\r\n };\r\n\r\n const VirtualTable_cellComponent_cuotaPi = (props) => {\r\n const { column } = props;\r\n const { row } = props;\r\n \r\n if(column.name===\"BOTONES\")\r\n {\r\n return(\r\n \r\n \r\n \r\n \r\n \r\n {/**/}\r\n \r\n \r\n );\r\n }\r\n \r\n \r\n return ;\r\n };\r\n\r\n const trowControlMatricula = (TableRow) =>\r\n withStyles(styles, { name: \"Row\" })(({classes,highlighted,rowIndex,row,selectByRowClick,...props}) => {\r\n const odd = !!(rowIndex % 2);\r\n const r = props.tableRow;\r\n\r\n const clickselection = (ID_CONTROL_MATRICULA) => (event) => {\r\n if(ID_CONTROL_MATRICULA!==this.state.idControlMatricula)\r\n {\r\n this.setState(\r\n {\r\n selection:[ID_CONTROL_MATRICULA],\r\n idControlMatricula: ID_CONTROL_MATRICULA,\r\n },\r\n () => {\r\n /* AQUI VA EL LLAMADO PARA LLENAR LA INFO DEL CONTROL MATRICULA SELECCIONADA */\r\n this.consultasControlMatricula(2,this.state.idControlMatricula);\r\n this.consultasControlMatricula(11,this.state.idControlMatricula);\r\n this.setState({});\r\n }\r\n );\r\n }\r\n };\r\n\r\n if (\r\n this.state.selection[0] === undefined\r\n ? this.state.selection[0]\r\n : props.tableRow.row.ID_CONTROL_MATRICULA\r\n ) {\r\n isVisibleRowSelected = true;\r\n }\r\n return (\r\n \r\n );\r\n }\r\n );\r\n\r\n const trowCuotas = (TableRow) =>\r\n withStyles(styles, { name: \"Row\" })(\r\n ({\r\n classes,\r\n highlighted,\r\n rowIndex,\r\n row,\r\n selectByRowClick,\r\n ...props\r\n }) => {\r\n const odd = !!(rowIndex % 2);\r\n const r = props.tableRow;\r\n\r\n const clickSelectionCuota = (ID_CUOTA) => (event) => {\r\n if(ID_CUOTA!==this.state.idCuota)\r\n {\r\n this.setState({selectionCuotas:[ID_CUOTA],idCuota: ID_CUOTA,cuotaIud:2,},\r\n () => {\r\n /* AQUI VA EL LLAMADO PARA LLENAR LA INFO DEL CONTROL MATRICULA SELECCIONADA */\r\n this.consultasControlMatricula(5,this.state.idCuota);\r\n }\r\n );\r\n }\r\n };\r\n\r\n if (this.state.selectionCuotas[0] === undefined? this.state.selectionCuotas[0]: props.tableRow.row.ID_CUOTA) {\r\n isVisibleRowSelected = true;\r\n }\r\n return (\r\n \r\n );\r\n }\r\n );\r\n\r\n const trowCuotasPi = (TableRow) =>\r\n withStyles(styles, { name: \"Row\" })(\r\n ({\r\n classes,\r\n highlighted,\r\n rowIndex,\r\n row,\r\n selectByRowClick,\r\n ...props\r\n }) => {\r\n const odd = !!(rowIndex % 2);\r\n const r = props.tableRow;\r\n\r\n const clickSelectionCuotaPi = (ID_CUOTA_PI) => (event) => {\r\n if(ID_CUOTA_PI!==this.state.idCuotaPi)\r\n {\r\n this.setState(\r\n {\r\n selectionCuotasPi:[ID_CUOTA_PI],\r\n idCuotaPi: ID_CUOTA_PI,\r\n cuotaPiIud:2,\r\n },\r\n () => {\r\n /* AQUI VA EL LLAMADO PARA LLENAR LA INFO DEL CONTROL MATRICULA SELECCIONADA */\r\n this.consultasControlMatricula(9,this.state.idCuotaPi);\r\n //this.setState({});\r\n //this.llenarInfo(ID_ADMISION);\r\n }\r\n );\r\n }\r\n };\r\n\r\n if (\r\n this.state.selectionCuotasPi[0] === undefined\r\n ? this.state.selectionCuotasPi[0]\r\n : props.tableRow.row.ID_CUOTA_PI\r\n ) {\r\n isVisibleRowSelected = true;\r\n }\r\n return (\r\n \r\n );\r\n }\r\n );\r\n\r\n const trowPi = (TableRow) =>\r\n withStyles(styles, { name: \"Row\" })(\r\n ({\r\n classes,\r\n highlighted,\r\n rowIndex,\r\n row,\r\n selectByRowClick,\r\n ...props\r\n }) => {\r\n const odd = !!(rowIndex % 2);\r\n const r = props.tableRow;\r\n\r\n const clickSelectionPi= (ID_CONTROL_MATRICULA_PI) => (event) => {\r\n if(ID_CONTROL_MATRICULA_PI!==this.state.idControlMatriculaPi)\r\n {\r\n this.setState(\r\n {\r\n selectionPi:[ID_CONTROL_MATRICULA_PI],\r\n idControlMatriculaPi: ID_CONTROL_MATRICULA_PI,\r\n iudPi:2,\r\n },\r\n () => {\r\n /* AQUI VA EL LLAMADO PARA LLENAR LA INFO DEL PI SELECCIONADO */\r\n //this.consultasControlMatricula(6,this.state.idControlMatricula);\r\n this.consultasControlMatricula(7);\r\n //this.setState({});\r\n //this.llenarInfo(ID_ADMISION);\r\n }\r\n );\r\n }\r\n };\r\n\r\n if (\r\n this.state.selectionPi[0] === undefined\r\n ? this.state.selectionPi[0]\r\n : props.tableRow.row.ID_CONTROL_MATRICULA_PI\r\n ) {\r\n isVisibleRowSelected = true;\r\n }\r\n return (\r\n \r\n );\r\n }\r\n );\r\n\r\n\r\n ////////////////////////////////////////////////////////////////// BOTONES ///////////////////////////////////////////////////////////////////////\r\n\r\n const botones = [\r\n {icono:\"Add\",toolt: \"Crear un Nuevo Período\",nombre: \"Nuevo Período\",escritura: true,display: \"auto\",onclick: this.funcModalConfiguraFechas(1),},\r\n {icono:\"Edit\",toolt: \"Modificar las fechas del período\",nombre: \"Modificar\",escritura: true,display: \"auto\",onclick:this.funcModalConfiguraFechas(2),},\r\n ];\r\n /** BOTONES PARA CREAR */\r\n const botonesCrear = [\r\n {icono: \"Create\",toolt: \"Crear un Nuevo Período\",nombre: \"Crear Nuevo\",escritura: true,onclick: this.validarPrevioIUD(1),display: \"auto\",},\r\n {icono: \"Close\",toolt: \"Cerrar\",nombre: \"Cerrar\",onclick: this.funcCerrarModalConf(),display: \"auto\",color: \"red\",},\r\n ];\r\n \r\n /** BOTONES PARA CREAR UN PI */\r\n const botonesCrearPi = [\r\n {icono: \"Create\",toolt: \"Crear un Nuevo Período Intensivo\",nombre: \"Crear Nuevo P.I.\",escritura: true,onclick: this.validarPrevioPiIUD(1),display: \"auto\",},\r\n {icono: \"Close\",toolt: \"Cerrar\",nombre: \"Cerrar\",onclick: this.funcCerrarModales(),display: \"auto\",color: \"red\",},\r\n ];\r\n\r\n /** BOTONES DEL MODAL AGREGAR */\r\n const botones_agregar = [\r\n {icono: \"Save\",toolt: \"Guardar\",nombre: \"Guardar\",escritura: true,onclick: this.validarPrevioIUD(2),display: \"auto\",},\r\n {icono: \"Close\",toolt: \"Cerrar\",nombre: \"Cerrar\",onclick: this.funcCerrarModalConf(),display: \"auto\",color: \"red\",},\r\n ];\r\n\r\n /** BOTONES DEL MODAL EDITAR PI */\r\n const botonesEditarPi = [\r\n {icono: \"Save\",toolt: \"Guardar\",nombre: \"Guardar\",escritura: true,onclick: this.validarPrevioPiIUD(2),display: \"auto\",},\r\n {icono: \"Close\",toolt: \"Cerrar\",nombre: \"Cerrar\",onclick: this.funcCerrarModales(),display: \"auto\",color: \"red\",},\r\n ];\r\n\r\n \r\n /** BOTONES DEL MODAL ELIMINAR CUOTA */\r\n const botones_eliminar = [\r\n {icono: \"Delete\",toolt: \"Eliminar\",nombre: \"Eliminar\",onclick: this.validarPrevioIUDCuota(4),display: \"auto\",},\r\n {icono: \"Close\",toolt: \"Cancelar\",nombre: \"Cancelar\",onclick: this.funcCerrarModalEliminarCuota(),display: \"auto\",color: \"red\",},\r\n ];\r\n /** BOTONES DEL MODAL ELIMINAR CUOTA PI */\r\n const botonesEliminarCuotaPi = [\r\n {icono: \"Delete\",toolt: \"Eliminar\",nombre: \"Eliminar\",onclick: this.validarPrevioIUDCuotaPi(4),display: \"auto\",},\r\n {icono: \"Close\",toolt: \"Cancelar\",nombre: \"Cancelar\",onclick: this.funcCerrarModalEliminarCuotaPi(),display: \"auto\",color: \"red\",},\r\n ];\r\n /** BOTONES DEL MODAL ELIMINAR CUOTA */\r\n const botonesEliminarPi = [\r\n {icono: \"Delete\",toolt: \"Eliminar\",nombre: \"Eliminar\",onclick: this.funcModalPeriodoIntensivo(4),display: \"auto\",},\r\n {icono: \"Close\",toolt: \"Cancelar\",nombre: \"Cancelar\",onclick: this.funcCerrarModalEliminarPi(),display: \"auto\",color: \"red\",},\r\n ];\r\n\r\n //Boton Modalidad\r\n const botonModalidad = [\r\n {icono: \"PostAdd\",toolt: \"Configurar Modalidad para el Período\",nombre: \"Modalidad\",onclick: this.abrirModalModalidades(),display: \"auto\",color:'purple'},\r\n ];\r\n\r\n const botonesModalidades = [\r\n {icono: \"Check\",toolt: \"Aceptar\",nombre: \"Aceptar\",onclick: this.funcAceptarModalidades(),display: \"auto\",},\r\n {icono: \"Close\",toolt: \"Cancelar\",nombre: \"Cancelar\",onclick: this.funcCerrarModalidades(),display: \"auto\",color: \"red\",},\r\n ];\r\n\r\n //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////\r\n\r\n this.botones=botones\r\n this.botonesCrear=botonesCrear\r\n this.botonesCrearPi=botonesCrearPi\r\n this.botones_agregar=botones_agregar\r\n this.botonesEditarPi=botonesEditarPi\r\n this.botones_eliminar=botones_eliminar\r\n this.botonesEliminarCuotaPi=botonesEliminarCuotaPi\r\n this.botonesEliminarPi=botonesEliminarPi\r\n this.botonModalidad=botonModalidad\r\n this.botonesModalidades=botonesModalidades\r\n\r\n this.trowControlMatricula = trowControlMatricula(Table.Row);\r\n this.trowCuotas = trowCuotas(Table.Row);\r\n this.trowCuotasPi = trowCuotasPi(Table.Row);\r\n this.trowPi = trowPi(Table.Row);\r\n this.columnHeader_rowComponent = columnHeader_rowComponent;\r\n this.VirtualTable_cellComponent = VirtualTable_cellComponent;\r\n this.VirtualTable_cellComponent_cuotaPi = VirtualTable_cellComponent_cuotaPi;\r\n } //FIN CONSTRUCTORS\r\n\r\n /** CAMBIA EL SELECTION PARA QUE TOME EN CUENTA TODAS LAS COLUMNAS */\r\n\r\n changeSelection = (selection) => {\r\n if (selection[selection.length - 1] === undefined) {\r\n this.setState({ selection: this.state.selection });\r\n } else {\r\n this.setState({ selection: [selection[selection.length - 1]] }, () => {\r\n //this.setState({idControlMatricula:this.state.selection[0]})\r\n });\r\n }\r\n };\r\n changeSelectionCuotas = (selection) => {\r\n this.setState({cuotaIud:2});\r\n if (selection[selection.length - 1] === undefined) {\r\n this.setState({ selectionCuotas: this.state.selectionCuotas });\r\n } else {\r\n this.setState({ selectionCuotas: [selection[selection.length - 1]] }, () => {\r\n //this.setState({idControlMatricula:this.state.selection[0]})\r\n });\r\n }\r\n };\r\n changeSelectionCuotasPi = (selection) => {\r\n this.setState({cuotaPiIud:2});\r\n if (selection[selection.length - 1] === undefined) {\r\n this.setState({ selectionCuotasPi: this.state.selectionCuotasPi });\r\n } else {\r\n this.setState({ selectionCuotasPi: [selection[selection.length - 1]] }, () => {\r\n //this.setState({idControlMatricula:this.state.selection[0]})\r\n });\r\n }\r\n };\r\n changeSelectionPi = (selection) => {\r\n this.setState({iudPi:2});\r\n if (selection[selection.length - 1] === undefined) {\r\n this.setState({ selectionPi: this.state.selectionPi });\r\n } else {\r\n this.setState({ selectionPi: [selection[selection.length - 1]] }, () => {\r\n //this.setState({idControlMatricula:this.state.selection[0]})\r\n });\r\n }\r\n };\r\n\r\n funcCerrarModalConf = () => event =>{\r\n this.Limpiar();\r\n this.setState({modalConfiguracion: false});\r\n }\r\n \r\n /** CERRAR MODALES */\r\n funcCerrarModales = () => (event) => {\r\n this.setState({\r\n modalCuotas:false,\r\n modalCuotasPi:false,\r\n modalEliminarCuota:false,\r\n modalConfiguracionPi:false,\r\n modalEliminarPi:false,\r\n //modalVerPi:false,\r\n openModalidad:false,\r\n selectionCuotas: [],\r\n selectionCuotasPi:[],\r\n idCuota:0,\r\n idCuotaPi:0\r\n });\r\n currentSecuencia =null;\r\n currentDiaInicio=null;\r\n currentDiaFin=null;\r\n currentPorcentajeMora=null;\r\n currentfechaCuota=null;\r\n event.preventDefault();\r\n };\r\n funcCerrarModalidades = () => (event) => {\r\n this.setState({openModalidad:false,});\r\n event.preventDefault();\r\n };\r\n funcAceptarModalidades = () => (event) => {\r\n if(this.state.modalidadSecundariaSelection!==this.state.modalidadPrincipalSelection)\r\n this.setState({openModalidad:false,});\r\n else\r\n funciones.showToast(\"w\", \"La modalidad principal no puede ser igual a la modalidad secundaria\");\r\n event.preventDefault();\r\n };\r\n funcCerrarModalPi = () => (event) => {\r\n this.setState({modalVerPi:false,});\r\n event.preventDefault();\r\n };\r\n funcCerrarModalEliminarCuota = () => (event) => {\r\n this.setState({\r\n modalEliminarCuota:false,\r\n });\r\n event.preventDefault();\r\n };\r\n funcCerrarModalEliminarCuotaPi = () => (event) => {\r\n this.setState({\r\n modalEliminarCuotaPi:false,\r\n });\r\n event.preventDefault();\r\n };\r\n funcCerrarModalEliminarPi = () => (event) => {\r\n this.setState({\r\n modalEliminarPi:false,\r\n });\r\n event.preventDefault();\r\n };\r\n\r\n Limpiar=()=>{\r\n currentfechaIniPeri = null;\r\n currentfechaFinPeri = null;\r\n currentcongelado = null;\r\n currentBorrado = null;\r\n currentinicioMatriculaAdmin = null;\r\n currentfinMatriculaAdmin = null;\r\n currentinicioMatriculaEstu = null;\r\n currentfinMatriculaEstu = null;\r\n currentinicioCambiosAdmin = null;\r\n currentfinCambiosAdmin = null;\r\n currentinicioCambiosEstu = null;\r\n currentfinCambiosEstu = null;\r\n currentinicioRetirosAdmin = null;\r\n currentfinRetirosAdmin = null;\r\n currentinicioRetirosEstu = null;\r\n currentfinRetirosEstu = null;\r\n currentinicioSuficiencia = null;\r\n currentfinSuficiencia = null;\r\n currentinicioExtraordinario = null;\r\n currentfinExtraordinario = null;\r\n currentinicioRecargo = null;\r\n currentfinRecargo = null;\r\n currentAnio = null;\r\n currentPeriodo = null;\r\n currentFechaIniListaEspera = null;\r\n currentFechaFinListaEspera = null;\r\n\r\n this.setState({ idControlMatricula:0,selection: [],anio:null,periodo:null,modalidadPrincipalSelection:\"\",modalidadSecundariaSelection:\"\",cantidadSecciones:0});\r\n }\r\n\r\n /** MODALES */\r\n funcModalConfiguraFechas = (idModal) => (event) => {\r\n event.preventDefault();\r\n if(idModal === 1)\r\n { \r\n this.Limpiar();\r\n this.setState({ iud:1,modalConfiguracion: true});\r\n }\r\n else if(idModal === 2){\r\n if(this.state.idControlMatricula !== 0)\r\n { \r\n this.setState({iud:2,}, ()=>{this.setState({ modalConfiguracion: true });});\r\n } \r\n else{\r\n funciones.showToast(\"i\",\"Debe seleccionar un período\",timeToast);\r\n }\r\n } \r\n };\r\n\r\n //FUNCION PARA EL MODAL DE PERIODO INTENSIVO\r\n funcModalPeriodoIntensivo = (idModalPI) => (event) => {\r\n event.preventDefault();\r\n if(idModalPI === 1)//INSERT\r\n {\r\n if(this.state.idControlMatricula !== 0)\r\n {\r\n currentPiPeriodo = null;\r\n currentPiFechaIniPeriodo = null;\r\n currentPiFechaFinPeriodo = null;\r\n currentPiMatIniAdmin = null;\r\n currentPiMatFinAdmin = null;\r\n currentPiMatIniCli = null;\r\n currentPiMatFinCli = null;\r\n currentPiCambiosIniAdmin = null;\r\n currentPiCambiosFinAdmin = null;\r\n currentPiCambiosIniCli = null;\r\n currentPiCambiosFinCli = null;\r\n currentPiRetirosIniAdmin = null;\r\n currentPiRetirosFinAdmin = null;\r\n currentPiRetirosIniCli = null;\r\n currentPiRetirosFinCli = null;\r\n currentPiExamenIniExtra = null;\r\n currentPiExamenFinExtra = null;\r\n currentPiSuficienciaIni = null;\r\n currentPiSuficienciaFin = null;\r\n currentPiRecargoIni = null;\r\n currentPiRecargoFin = null;\r\n currentPiCongelado = null;\r\n currentPiBorrado = null;\r\n //currentPiEstatus = null;\r\n //currentPiIdMoodleCategoria = null;\r\n //currentPiIdGradoAcademico = null;\r\n //currentPiUsuario = null;\r\n\r\n this.setState({ idControlMatriculaPi:0,selectionPi: [],iudPi:1,\r\n }, () => {\r\n this.setState({ modalConfiguracionPi: true });\r\n });\r\n }\r\n else\r\n {\r\n funciones.showToast(\"i\",\"Debe seleccionar un período antes de continuar.\");\r\n }\r\n }\r\n else if(idModalPI === 2){//UPDATE\r\n if(this.state.idControlMatriculaPi !== 0)\r\n {\r\n \r\n this.setState({\r\n iudPi:2,\r\n }, ()=>{\r\n this.setState({ modalConfiguracionPi: true });\r\n });\r\n } \r\n else{\r\n funciones.showToast(\"i\",\"Debe seleccionar un período intensivo antes de continuar.\");\r\n }\r\n }\r\n else if(idModalPI === 3)//delete\r\n {\r\n if(this.state.idControlMatriculaPi !== 0\r\n ){\r\n this.setState({modalEliminarPi: true});\r\n }\r\n else\r\n {\r\n funciones.showToast(\"w\", \"Por favor, seleccione la cuota que desea eliminar\");\r\n }\r\n }\r\n else if(idModalPI === 4)\r\n {\r\n this.controlMatriculaPiIUD(3);\r\n }\r\n \r\n };\r\n\r\n funcModalCuotas = (idControlMatricula) => (event) => {\r\n this.consultasControlMatricula(4,idControlMatricula);\r\n this.setState({\r\n modalCuotas: true,\r\n });\r\n event.preventDefault();\r\n }\r\n\r\n funcModalCuotasPi = (idControlMatriculaPi) => (event) => {\r\n this.consultasControlMatricula(8,this.state.idControlMatricula);\r\n this.setState({\r\n modalCuotasPi: true,\r\n });\r\n event.preventDefault();\r\n }\r\n\r\n funcModalVerPi = (idControlMatricula) => (event) => {\r\n this.consultasControlMatricula(6,idControlMatricula);\r\n this.setState({modalVerPi: true,});\r\n event.preventDefault();\r\n }\r\n\r\n componentDidMount() {\r\n let _this = this;\r\n _this.actualizarbarra(false);\r\n\r\n Auth.loggedIn().then(function (b) {\r\n _this.setState({ isLoggin: b });\r\n if (b)\r\n _this.setState({ openBackDrop: true }, () => {\r\n try {\r\n new Request.post(`${globales.ip}/controlMatricula/consultasControlMatricula`)\r\n .set({ authorization: \"Bearer \" + Auth.getToken() })\r\n .set(\"Content-Type\", \"application/json\")\r\n .send({\r\n ID_CONSULTA: 1,\r\n ID_CONTROL_MATRICULA: null,\r\n USUARIO: _this.Auth.getProfile().user,\r\n })\r\n .retry(0)\r\n .timeout({ response: 15000, deadline: 60000 })\r\n .end((err, res) => {\r\n if (err) {\r\n if (err.toString().substr(0, 16) === \"Error: Forbidden\") {\r\n window.location.reload();\r\n return;\r\n } else if (\r\n err.toString() ===\r\n \"Error: Response timeout of 15000ms exceeded\"\r\n ) {\r\n funciones.showToast(\"e\",\"Error en la comunicacion con el servidor\");\r\n return;\r\n }\r\n _this.setState({ openBackDrop: false }, () => {funciones.showToast(\"e\", \"Error de conexión\");});\r\n }\r\n\r\n const tmp = JSON.parse(res.text);\r\n if (tmp.length > 0) {\r\n _this.setState({ openBackDrop: false }, () => {\r\n _this.setState({\r\n rowsControlMatricula: tmp,\r\n heightTableMain: funciones.getHeightTableMain(\r\n movil_pequeño,\r\n _this\r\n ).heightTable,\r\n }, () => {\r\n _this.consultasControlMatricula(3);\r\n _this.consultasControlMatricula(10);\r\n });\r\n });\r\n } else {\r\n _this.setState({ openBackDrop: false }, () => {\r\n _this.setState({\r\n rowsControlMatricula: [],\r\n heightTableMain: funciones.getHeightTableMain(\r\n movil_pequeño,\r\n _this\r\n ).heightTable,\r\n }, () => {\r\n _this.consultasControlMatricula(3);\r\n _this.consultasControlMatricula(10);\r\n });\r\n });\r\n }\r\n });\r\n } catch (ex) {\r\n funciones.showToast(\"e\", \"Error de conexión\");\r\n _this.setState({ validado: true });\r\n }\r\n });\r\n _this.actualizarbarra(true);\r\n //_this.actualizarcircular(true)\r\n });\r\n }\r\n\r\n consultasControlMatricula(idConsulta,idControlMatricula) {\r\n let _this = this;\r\n _this.actualizarbarra(false);\r\n\r\n Auth.loggedIn().then(function (b) {\r\n _this.setState({ isLoggin: b });\r\n if (b)\r\n _this.setState({ openBackDrop: true }, () => {\r\n try {\r\n new Request.post(`${globales.ip}/controlMatricula/consultasControlMatricula`)\r\n .set({ authorization: \"Bearer \" + Auth.getToken() })\r\n .set(\"Content-Type\", \"application/json\")\r\n .send({\r\n ID_CONSULTA: idConsulta,\r\n ID_CONTROL_MATRICULA: idControlMatricula,\r\n ID_SUCURSAL: idConsulta === 3 ? Auth.getProfile().sucursal : null,\r\n ID_CONTROL_MATRICULA_PI: idConsulta === 7 ? _this.state.idControlMatriculaPi : idConsulta === 8 ? _this.state.idControlMatriculaPi : null,\r\n USUARIO: _this.Auth.getProfile().user,\r\n })\r\n .retry(0)\r\n .timeout({ response: 15000, deadline: 60000 })\r\n .end((err, res) => {\r\n if (err) {\r\n if (err.toString().substr(0, 16) === \"Error: Forbidden\") {\r\n window.location.reload();\r\n return;\r\n } else if (\r\n err.toString() ===\"Error: Response timeout of 15000ms exceeded\"\r\n ) {\r\n funciones.showToast(\"e\",\"Error en la comunicacion con el servidor\");\r\n return;\r\n }\r\n _this.setState({ openBackDrop: false }, () => {\r\n funciones.showToast(\"e\", \"Error de conexión\");\r\n });\r\n }\r\n\r\n const tmp = JSON.parse(res.text);\r\n if (tmp.length > 0) {\r\n _this.setState({ openBackDrop: false }, () => {\r\n if(idConsulta===1){\r\n _this.setState({\r\n rowsControlMatricula: tmp,\r\n heightTableMain: funciones.getHeightTableMain(\r\n movil_pequeño,\r\n _this\r\n ).heightTable,\r\n }, () => {\r\n _this.consultasControlMatricula(3);\r\n });\r\n }\r\n else if(idConsulta === 2)\r\n {\r\n let datos = tmp[0];\r\n _this.setState({\r\n anio:datos[\"ANIO\"],\r\n periodo:datos[\"PERIODO\"],\r\n selection_estado: datos[\"ESTATUS\"] === false ? 0:1,\r\n gradoAcademicoSelection:datos[\"ID_GRADO_ACADEMICO\"],\r\n modalidadPrincipalSelection:datos[\"ID_MODALIDAD_PRINCIPAL\"],\r\n modalidadSecundariaSelection:datos[\"ID_MODALIDAD_SECUNDARIA\"],\r\n });\r\n currentAnio = datos[\"ANIO\"];\r\n currentPeriodo = datos[\"PERIODO\"];\r\n currentfechaIniPeri =datos[\"FECHA_INICIO_PER\"];\r\n currentfechaFinPeri =datos[\"FECHA_FIN_PER\"];\r\n currentinicioMatriculaAdmin = datos[\"FECHA_INICIO_MAT\"];\r\n currentfinMatriculaAdmin = datos[\"FECHA_FIN_MAT\"];\r\n currentinicioMatriculaEstu = datos[\"FECHA_INICIO_MAT_WEB\"];\r\n currentfinMatriculaEstu = datos[\"FECHA_FIN_MAT_WEB\"];\r\n currentinicioCambiosAdmin = datos[\"FECHA_INICIO_CAMBIO\"];\r\n currentfinCambiosAdmin = datos[\"FECHA_FIN_CAMBIO\"];\r\n currentinicioCambiosEstu = datos[\"FECHA_INICIO_CAMBIO_WEB\"];\r\n currentfinCambiosEstu = datos[\"FECHA_FIN_CAMBIO_WEB\"];\r\n currentinicioRetirosAdmin = datos[\"FECHA_INICIO_RETIRO\"];\r\n currentfinRetirosAdmin = datos[\"FECHA_FIN_RETIRO\"];\r\n currentinicioRetirosEstu = datos[\"FECHA_INICIO_RETIRO_WEB\"];\r\n currentfinRetirosEstu = datos[\"FECHA_FIN_RETIRO_WEB\"];\r\n currentinicioSuficiencia = datos[\"FECHA_INICIO_SUF\"];\r\n currentfinSuficiencia = datos[\"FECHA_FIN_SUFI\"];\r\n currentinicioExtraordinario = datos[\"FECHA_INICIO_EXAMEN\"];\r\n currentfinExtraordinario = datos[\"FECHA_FIN_EXAMEN\"];\r\n currentBorrado = datos[\"BORRADO\"];\r\n currentcongelado = datos[\"CONGELADO\"];\r\n currentFechaIniListaEspera = datos[\"FECHA_INICIO_LISTA_ESPERA\"];\r\n currentFechaFinListaEspera = datos[\"FECHA_FIN_LISTA_ESPERA\"];\r\n\r\n currentinicioRecargo = datos[\"FECHA_INICIO_RECARGO\"];\r\n currentfinRecargo = datos[\"FECHA_FIN_RECARGO\"];\r\n }\r\n else if(idConsulta===3){\r\n const Datos = tmp.map((datos, i) => (\r\n \r\n {datos.DESCRIPCION_GRADO}\r\n \r\n ));\r\n _this.setState({\r\n rowsGradoAcademico: Datos,\r\n });\r\n }\r\n else if(idConsulta===4){\r\n _this.setState({\r\n rowsCuotas: tmp,\r\n heightTableCuotas: funciones.getHeightTableMain(movil_pequeño,_this).heightTable-150,\r\n });\r\n }\r\n else if(idConsulta === 5)\r\n {\r\n let datos = tmp[0];\r\n /*_this.setState({\r\n anio:datos[\"ANIO\"],\r\n periodo:datos[\"PERIODO\"],\r\n selection_estado: datos[\"ESTATUS\"] === false ? 0:1,\r\n gradoAcademicoSelection:datos[\"ID_GRADO_ACADEMICO\"],\r\n });*/\r\n\r\n currentfechaCuota = datos[\"FECHA\"];\r\n currentSecuencia = datos[\"SECUENCIA\"];\r\n currentDiaInicio =datos[\"DIA_INICIO_MORA\"];\r\n currentDiaFin =datos[\"DIA_FIN_MORA\"];\r\n currentPorcentajeMora = datos[\"PORCENTAJE_MORA\"];\r\n _this.fechaCuotaRef.current.value = datos[\"FECHA\"];\r\n _this.secuenciaRef.current.value = datos[\"SECUENCIA\"];\r\n _this.diaInicioRef.current.value = datos[\"DIA_INICIO_MORA\"];\r\n _this.diaFinRef.current.value = datos[\"DIA_FIN_MORA\"];\r\n _this.porcentajeMoraRef.current.value = datos[\"PORCENTAJE_MORA\"];\r\n\r\n _this.setState({txtSecuenciaShrink: true,txtDiaIniciaMoraShrink: true,txtDiaFinMoraShrink: true,txtPorcentajeShrink: true});\r\n }\r\n else if(idConsulta===6){\r\n _this.setState({\r\n rowsPi: tmp,\r\n heightTablePi: funciones.getHeightTableMain(\r\n movil_pequeño,\r\n _this\r\n ).heightTable,\r\n }, () => {\r\n });\r\n }\r\n else if(idConsulta === 7)\r\n {\r\n let datos = tmp[0];\r\n _this.setState({\r\n periodoI:datos[\"PERIODO\"],\r\n selection_estado_pi: datos[\"ESTATUS\"] === false ? 0:1,\r\n gradoAcademicoPiSelection:datos[\"ID_GRADO_ACADEMICO\"],\r\n });\r\n currentPiBorrado = datos[\"BORRADO\"];\r\n currentPiCambiosFinAdmin =datos[\"CAMBIOS_FIN_ADMIN\"];\r\n currentPiCambiosFinCli =datos[\"CAMBIOS_FIN_CLI\"];\r\n currentPiCambiosIniAdmin = datos[\"CAMBIOS_INI_ADMIN\"];\r\n currentPiCambiosIniCli = datos[\"CAMBIOS_INI_CLI\"];\r\n currentPiCongelado = datos[\"CONGELADO\"];\r\n currentPiExamenFinExtra = datos[\"EXAMEN_FIN_EXTRA\"];\r\n currentPiExamenIniExtra = datos[\"EXAMEN_INI_EXTRA\"];\r\n currentPiFechaFinPeriodo = datos[\"FECHA_FIN_PERIODO\"];\r\n currentPiFechaIniPeriodo = datos[\"FECHA_INI_PERIODO\"];\r\n currentPiMatFinAdmin = datos[\"MAT_FIN_ADMIN\"];\r\n currentPiMatFinCli = datos[\"MAT_FIN_CLI\"];\r\n currentPiMatIniAdmin = datos[\"MAT_INI_ADMIN\"];\r\n currentPiMatIniCli = datos[\"MAT_INI_CLI\"];\r\n currentPiPeriodo = datos[\"PERIODO\"];\r\n currentPiRecargoFin = datos[\"RECARGO_FIN\"];\r\n currentPiRecargoIni = datos[\"RECARGO_INI\"];\r\n currentPiRetirosFinAdmin = datos[\"RETIROS_FIN_ADMIN\"];\r\n currentPiRetirosFinCli = datos[\"RETIROS_FIN_CLI\"];\r\n currentPiRetirosIniAdmin = datos[\"RETIROS_INI_ADMIN\"];\r\n currentPiRetirosIniCli = datos[\"RETIROS_INI_CLI\"];\r\n currentPiSuficienciaFin = datos[\"SUFICIENCIA_FIN\"];\r\n currentPiSuficienciaIni = datos[\"SUFICIENCIA_INI\"];\r\n }\r\n else if(idConsulta===8){\r\n _this.setState({\r\n rowsCuotasPi: tmp,\r\n heightTableCuotasPi: funciones.getHeightTableMain(\r\n movil_pequeño,\r\n _this\r\n ).heightTable-150,\r\n }, () => {\r\n //_this.consultasControlMatricula(3);\r\n });\r\n }\r\n else if(idConsulta === 9)\r\n {\r\n let datos = tmp[0];\r\n /*_this.setState({\r\n anio:datos[\"ANIO\"],\r\n periodo:datos[\"PERIODO\"],\r\n selection_estado: datos[\"ESTATUS\"] === false ? 0:1,\r\n gradoAcademicoSelection:datos[\"ID_GRADO_ACADEMICO\"],\r\n });*/\r\n\r\n currentPifechaCuota = datos[\"FECHA\"];\r\n currentPiSecuencia = datos[\"SECUENCIA\"];\r\n currentPiDiaInicio =datos[\"DIA_INICIO_MORA\"];\r\n currentPiDiaFin =datos[\"DIA_FIN_MORA\"];\r\n currentPiPorcentajeMora = datos[\"PORCENTAJE_MORA\"];\r\n _this.pifechaCuotaRef.current.value = datos[\"FECHA\"];\r\n _this.pisecuenciaRef.current.value = datos[\"SECUENCIA\"];\r\n _this.pidiaInicioRef.current.value = datos[\"DIA_INICIO_MORA\"];\r\n _this.pidiaFinRef.current.value = datos[\"DIA_FIN_MORA\"];\r\n _this.piporcentajeMoraRef.current.value = datos[\"PORCENTAJE_MORA\"];\r\n\r\n _this.setState({txtPiSecuenciaShrink: true\r\n ,txtPiDiaIniciaMoraShrink: true\r\n ,txtPiDiaFinMoraShrink: true\r\n ,txtPiPorcentajeShrink: true});\r\n \r\n //document.getElementById(\"txtSecuencia\").value = datos[\"SECUENCIA\"];\r\n }\r\n else if(idConsulta === 10){\r\n const Datos = tmp.map((datos, i) => (\r\n \r\n {datos.DESCRIPCION_MODALIDAD_CURSO}\r\n \r\n ));\r\n _this.setState({\r\n rowsModalidadesPrincipal: Datos,\r\n rowsModalidadesSecundarias: Datos,\r\n });\r\n }\r\n else if(idConsulta === 11)\r\n {\r\n let datos = tmp[0];\r\n _this.setState({cantidadSecciones: datos[\"CANTIDAD_SECCIONES\"]});\r\n \r\n }\r\n });\r\n } else {\r\n _this.setState({ openBackDrop: false }, () => {\r\n if(idConsulta===4){\r\n _this.setState({\r\n rowsCuotas: tmp,\r\n heightTableCuotas: funciones.getHeightTableMain(\r\n movil_pequeño,\r\n _this\r\n ).heightTable-150,\r\n });\r\n }\r\n else if(idConsulta===6){\r\n _this.setState({\r\n rowsPi: [],\r\n heightTablePi: funciones.getHeightTableMain(\r\n movil_pequeño,\r\n _this\r\n ).heightTable,\r\n });\r\n }\r\n else if(idConsulta===8){\r\n _this.setState({\r\n rowsCuotasPi: [],\r\n heightTableCuotasPi: funciones.getHeightTableMain(\r\n movil_pequeño,\r\n _this\r\n ).heightTable-150,\r\n }, () => {\r\n //_this.consultasControlMatricula(3);\r\n });\r\n }\r\n });\r\n }\r\n });\r\n } catch (ex) {\r\n funciones.showToast(\"e\", \"Error de conexión\");\r\n _this.setState({ validado: true });\r\n }\r\n });\r\n _this.actualizarbarra(true);\r\n //_this.actualizarcircular(true)\r\n });\r\n }\r\n\r\n controlMatriculaIUD(idConsulta) {\r\n let _this = this;\r\n _this.actualizarbarra(false);\r\n\r\n Auth.loggedIn().then(function (b) {\r\n _this.setState({ isLoggin: b });\r\n if (b)\r\n _this.setState({ openBackDrop: true }, () => {\r\n try {\r\n new Request.post(`${globales.ip}/controlMatricula/controlMatriculaIUD`)\r\n .set({ authorization: \"Bearer \" + Auth.getToken() })\r\n .set(\"Content-Type\", \"application/json\")\r\n .send({\r\n ID_CONSULTA:idConsulta //1:Insert, 2:Update\r\n ,ID_CONTROL_MATRICULA:_this.state.idControlMatricula\r\n ,ANIO:currentAnio\r\n ,PERIODO:currentPeriodo\r\n ,DESCRIPCION:null\r\n ,ESTATUS: idConsulta === 1 ? 0:_this.state.selection_estado\r\n ,ID_GRADO_ACADEMICO:_this.state.gradoAcademicoSelection\r\n ,FECHA_INICIO_MAT:currentinicioMatriculaAdmin\r\n ,FECHA_FIN_MAT:currentfinMatriculaAdmin\r\n ,FECHA_INICIO_MAT_WEB:currentinicioMatriculaEstu\r\n ,FECHA_FIN_MAT_WEB:currentfinMatriculaEstu\r\n ,FECHA_INICIO_CAMBIO:currentinicioCambiosAdmin\r\n ,FECHA_FIN_CAMBIO:currentfinCambiosAdmin\r\n ,FECHA_INICIO_CAMBIO_WEB:currentinicioCambiosEstu\r\n ,FECHA_FIN_CAMBIO_WEB:currentfinCambiosEstu\r\n ,FECHA_INICIO_RETIRO:currentinicioRetirosAdmin\r\n ,FECHA_FIN_RETIRO:currentfinRetirosAdmin\r\n ,FECHA_INICIO_PER:currentfechaIniPeri\r\n ,FECHA_FIN_PER:currentfechaFinPeri\r\n ,FECHA_INICIO_SUF:currentinicioSuficiencia\r\n ,FECHA_FIN_SUFI:currentfinSuficiencia\r\n ,FECHA_INICIO_EXAMEN:currentinicioExtraordinario\r\n ,FECHA_FIN_EXAMEN:currentfinExtraordinario\r\n ,FECHA_ACTUALIZAR_INICIO:null\r\n ,FECHA_ACTUALIZAR_FIN:null\r\n ,FECHA_INICIO_LISTA_ESPERA:currentFechaIniListaEspera\r\n ,FECHA_FIN_LISTA_ESPERA:currentFechaFinListaEspera\r\n ,FECHA_INICIO_PREMATRICULA:null\r\n ,FECHA_FIN_PREMATRICULA:null\r\n ,FECHA_INICIO_RETIRO_WEB:currentinicioRetirosEstu\r\n ,FECHA_FIN_RETIRO_WEB:currentfinRetirosEstu\r\n ,ACTUALIZAR_DATOS:null\r\n ,ID_MOODLE_CATEGORIA:null\r\n ,USUARIO:Auth.getProfile().user\r\n ,ID_MODALIDAD_PRINCIPAL:_this.state.modalidadPrincipalSelection\r\n ,ID_MODALIDAD_SECUNDARIA: _this.state.modalidadSecundariaSelection\r\n ,FECHA_INICIO_RECARGO:currentinicioRecargo\r\n ,FECHA_FIN_RECARGO:currentfinRecargo\r\n })\r\n .retry(0)\r\n .timeout({ response: 15000, deadline: 60000 })\r\n .end((err, res) => {\r\n if (err) {\r\n if (err.toString().substr(0, 16) === \"Error: Forbidden\") {\r\n window.location.reload();\r\n return;\r\n } else if (\r\n err.toString() ===\r\n \"Error: Response timeout of 15000ms exceeded\"\r\n ) {\r\n funciones.showToast(\"e\",\"Error en la comunicacion con el servidor\");\r\n return;\r\n }\r\n _this.setState({ openBackDrop: false }, () => {\r\n funciones.showToast(\"e\", \"Error de conexión\");\r\n });\r\n }\r\n\r\n const tmp = JSON.parse(res.text);\r\n if (tmp.length > 0) {\r\n _this.setState({ openBackDrop: false }, () => {\r\n let datos = tmp[0];\r\n \r\n if(datos[\"MENSAJE\"] === \"OK\")\r\n {\r\n if(idConsulta === 1)\r\n {\r\n funciones.showToast(\"s\", \"Se Creó el Período Exitosamente\");\r\n _this.setState({\r\n modalConfiguracion: false,\r\n },()=>{\r\n _this.consultasControlMatricula(1);\r\n });\r\n }\r\n else if(idConsulta === 2)\r\n {\r\n funciones.showToast(\"s\", \"Información almacenada correctamente.\");\r\n _this.consultasControlMatricula(1);\r\n }\r\n }\r\n else\r\n {\r\n funciones.showToast(\"e\", \"Error: \"+datos[\"MENSAJE\"]);\r\n }\r\n });\r\n \r\n } else {\r\n _this.setState({ openBackDrop: false }, () => {_this.setState({});});\r\n }\r\n });\r\n } catch (ex) {\r\n funciones.showToast(\"e\", \"Error de conexión\");\r\n _this.setState({ validado: true });\r\n }\r\n });\r\n _this.actualizarbarra(true);\r\n });\r\n }\r\n\r\n controlMatriculaPiIUD(idConsulta) {\r\n let _this = this;\r\n _this.actualizarbarra(false);\r\n\r\n Auth.loggedIn().then(function (b) {\r\n _this.setState({ isLoggin: b });\r\n if (b)\r\n _this.setState({ openBackDrop: true }, () => {\r\n try {\r\n new Request.post(`${globales.ip}/controlMatricula/periodoIntensivoIUD`)\r\n .set({ authorization: \"Bearer \" + Auth.getToken() })\r\n .set(\"Content-Type\", \"application/json\")\r\n .send({\r\n ID_CONSULTA:idConsulta //1:Insert, 2:Update, 3:Delete\r\n ,ID_CONTROL_MATRICULA_PI:_this.state.idControlMatriculaPi\r\n ,ID_CONTROL_MATRICULA:_this.state.idControlMatricula\r\n ,PERIODO:currentPiPeriodo\r\n ,FECHA_INI_PERIODO:currentPiFechaIniPeriodo\r\n ,FECHA_FIN_PERIODO: currentPiFechaFinPeriodo\r\n ,MAT_INI_ADMIN:currentPiMatIniAdmin\r\n ,MAT_FIN_ADMIN:currentPiMatFinAdmin\r\n ,MAT_INI_CLI:currentPiMatIniCli\r\n ,MAT_FIN_CLI:currentPiMatFinCli\r\n ,CAMBIOS_INI_ADMIN:currentPiCambiosIniAdmin\r\n ,CAMBIOS_FIN_ADMIN:currentPiCambiosFinAdmin\r\n ,CAMBIOS_INI_CLI:currentPiCambiosIniCli\r\n ,CAMBIOS_FIN_CLI:currentPiCambiosFinCli\r\n ,RETIROS_INI_ADMIN:currentPiRetirosIniAdmin\r\n ,RETIROS_FIN_ADMIN:currentPiRetirosFinAdmin\r\n ,RETIROS_INI_CLI:currentPiRetirosIniCli\r\n ,RETIROS_FIN_CLI:currentPiRetirosFinCli\r\n ,EXAMEN_INI_EXTRA:currentPiExamenIniExtra\r\n ,EXAMEN_FIN_EXTRA:currentPiExamenFinExtra\r\n ,SUFICIENCIA_INI:currentPiSuficienciaIni\r\n ,SUFICIENCIA_FIN:currentPiSuficienciaFin\r\n ,RECARGO_INI:currentPiRecargoIni\r\n ,RECARGO_FIN:currentPiRecargoFin\r\n ,CONGELADO:currentPiCongelado\r\n ,BORRADO:currentPiBorrado\r\n ,ESTATUS: idConsulta === 2 ? _this.state.selection_estado_pi:0\r\n ,ID_GRADO_ACADEMICO: idConsulta === 3 ? 0:_this.state.gradoAcademicoPiSelection\r\n ,USUARIO:Auth.getProfile().user\r\n })\r\n .retry(0)\r\n .timeout({ response: 15000, deadline: 60000 })\r\n .end((err, res) => {\r\n if (err) {\r\n if (err.toString().substr(0, 16) === \"Error: Forbidden\") {\r\n window.location.reload();\r\n return;\r\n } \r\n else if (err.toString() ===\"Error: Response timeout of 15000ms exceeded\") \r\n {\r\n funciones.showToast(\"e\",\"Error en la comunicacion con el servidor\");\r\n return;\r\n }\r\n _this.setState({ openBackDrop: false }, () => {\r\n funciones.showToast(\"e\", \"Error de conexión\");\r\n });\r\n }\r\n\r\n const tmp = JSON.parse(res.text);\r\n if (tmp.length > 0) {\r\n _this.setState({ openBackDrop: false }, () => {\r\n let datos = tmp[0]; \r\n if(datos[\"MENSAJE\"] === \"OK\")\r\n {\r\n if(idConsulta === 1)\r\n {\r\n funciones.showToast(\"s\", \"Se Creó el Período Intensivo Exitosamente\");\r\n _this.setState({\r\n modalConfiguracionPi: false,\r\n },()=>{\r\n _this.consultasControlMatricula(6,_this.state.idControlMatricula);\r\n });\r\n }\r\n else if(idConsulta === 2)\r\n {\r\n funciones.showToast(\"s\", \"Información almacenada correctamente.\");\r\n _this.consultasControlMatricula(6,_this.state.idControlMatricula);\r\n }\r\n else if(idConsulta === 3)\r\n {\r\n funciones.showToast(\"s\", \"Período Intensivo Eliminado\");\r\n\r\n _this.setState({modalEliminarPi:false,idControlMatriculaPi:0},()=>{\r\n _this.consultasControlMatricula(6,_this.state.idControlMatricula);\r\n });\r\n \r\n }\r\n }\r\n else\r\n {\r\n funciones.showToast(\"e\", \"Error: \"+datos[\"MENSAJE\"], timeToast);\r\n }\r\n });\r\n \r\n } else {\r\n _this.setState({ openBackDrop: false }, () => {\r\n _this.setState({});\r\n });\r\n }\r\n });\r\n } catch (ex) {\r\n funciones.showToast(\"e\", \"Error de conexión\");\r\n _this.setState({ validado: true });\r\n }\r\n });\r\n _this.actualizarbarra(true);\r\n });\r\n }\r\n\r\n //funcion para el IUD de Cuotas\r\n funcionCuotaIUD = (idConsulta) => {\r\n let _this = this;\r\n _this.actualizarbarra(false);\r\n\r\n Auth.loggedIn().then(function (b) {\r\n _this.setState({ isLoggin: b });\r\n if (b)\r\n _this.setState({ openBackDrop: true }, () => {\r\n try {\r\n new Request.post(`${globales.ip}/controlMatricula/cuotaIUD`)\r\n .set({ authorization: \"Bearer \" + Auth.getToken() })\r\n .set(\"Content-Type\", \"application/json\")\r\n .send({\r\n ID_CONSULTA:idConsulta //1:Insert, 2:Update\r\n ,ID_CUOTA: _this.state.idCuota\r\n ,ID_CONTROL_MATRICULA:_this.state.idControlMatricula\r\n ,FECHA:currentfechaCuota\r\n ,SECUENCIA:currentSecuencia\r\n ,DIA_INICIO_MORA: currentDiaInicio\r\n ,DIA_FIN_MORA:currentDiaFin\r\n ,PORCENTAJE_MORA:currentPorcentajeMora\r\n ,USUARIO:Auth.getProfile().user\r\n })\r\n .retry(0)\r\n .timeout({ response: 15000, deadline: 60000 })\r\n .end((err, res) => {\r\n if (err) {\r\n if (err.toString().substr(0, 16) === \"Error: Forbidden\") {\r\n window.location.reload();\r\n return;\r\n } else if (\r\n err.toString() ===\r\n \"Error: Response timeout of 15000ms exceeded\"\r\n ) {\r\n funciones.showToast(\"e\",\"Error en la comunicacion con el servidor\");\r\n return;\r\n }\r\n _this.setState({ openBackDrop: false }, () => {\r\n funciones.showToast(\"e\", \"Error de conexión\");\r\n });\r\n }\r\n\r\n const tmp = JSON.parse(res.text);\r\n if (tmp.length > 0) {\r\n _this.setState({ openBackDrop: false }, () => {\r\n let datos = tmp[0];\r\n \r\n if(datos[\"MENSAJE\"] === \"OK\")\r\n {\r\n if(idConsulta === 1)\r\n {\r\n funciones.showToast(\"s\", \"Se creó la cuota exitosamente\");\r\n currentSecuencia =null;\r\n currentDiaInicio=null;\r\n currentDiaFin=null;\r\n currentPorcentajeMora=null;\r\n currentfechaCuota=null;\r\n\r\n _this.fechaCuotaRef.current.value = null;\r\n _this.secuenciaRef.current.value = null;\r\n _this.diaInicioRef.current.value = null;\r\n _this.diaFinRef.current.value = null;\r\n _this.porcentajeMoraRef.current.value = null;\r\n\r\n _this.setState({txtSecuenciaShrink: false\r\n ,txtDiaIniciaMoraShrink: false\r\n ,txtDiaFinMoraShrink: false\r\n ,txtPorcentajeShrink: false\r\n ,idCuota:0\r\n });\r\n _this.consultasControlMatricula(4,_this.state.idControlMatricula);\r\n }\r\n else if(idConsulta === 2)\r\n {\r\n funciones.showToast(\"s\", \"Información almacenada correctamente.\");\r\n _this.consultasControlMatricula(4,_this.state.idControlMatricula);\r\n }\r\n else if(idConsulta === 3)\r\n {\r\n funciones.showToast(\"s\", \"Cuota Eliminada\");\r\n currentSecuencia =null;\r\n currentDiaInicio=null;\r\n currentDiaFin=null;\r\n currentPorcentajeMora=null;\r\n\r\n _this.fechaCuotaRef.current.value = null;\r\n _this.secuenciaRef.current.value = null;\r\n _this.diaInicioRef.current.value = null;\r\n _this.diaFinRef.current.value = null;\r\n _this.porcentajeMoraRef.current.value = null;\r\n\r\n _this.setState({modalEliminarCuota:false\r\n ,txtSecuenciaShrink: false\r\n ,txtDiaIniciaMoraShrink: false\r\n ,txtDiaFinMoraShrink: false\r\n ,txtPorcentajeShrink: false\r\n ,idCuota:0\r\n },()=>{\r\n _this.consultasControlMatricula(4,_this.state.idControlMatricula);\r\n });\r\n \r\n }\r\n }\r\n else\r\n {\r\n funciones.showToast(\"e\", \"Error: \"+datos[\"MENSAJE\"]);\r\n }\r\n });\r\n } else {\r\n _this.setState({ openBackDrop: false }, () => {\r\n _this.setState({});\r\n });\r\n }\r\n });\r\n } catch (ex) {\r\n funciones.showToast(\"e\", \"Error de conexión\", timeToast);\r\n //console.log(\"ERROR: \"+ex);\r\n _this.setState({ validado: true });\r\n }\r\n });\r\n _this.actualizarbarra(true);\r\n //_this.actualizarcircular(true)\r\n });\r\n }\r\n\r\n //funcion para el IUD de Cuotas\r\n funcionCuotaPiIUD = (idConsulta) => {\r\n let _this = this;\r\n _this.actualizarbarra(false);\r\n\r\n Auth.loggedIn().then(function (b) {\r\n _this.setState({ isLoggin: b });\r\n if (b)\r\n _this.setState({ openBackDrop: true }, () => {\r\n try {\r\n new Request.post(`${globales.ip}/controlMatricula/cuotaPiIUD`)\r\n .set({ authorization: \"Bearer \" + Auth.getToken() })\r\n .set(\"Content-Type\", \"application/json\")\r\n .send({\r\n ID_CONSULTA:idConsulta //1:Insert, 2:Update\r\n ,ID_CUOTA_PI: _this.state.idCuotaPi\r\n ,ID_CONTROL_MATRICULA:_this.state.idControlMatricula\r\n ,ID_CONTROL_MATRICULA_PI:_this.state.idControlMatriculaPi\r\n ,FECHA:currentPifechaCuota\r\n ,SECUENCIA:currentPiSecuencia\r\n ,DIA_INICIO_MORA: currentPiDiaInicio\r\n ,DIA_FIN_MORA:currentPiDiaFin\r\n ,PORCENTAJE_MORA:currentPiPorcentajeMora\r\n ,USUARIO:Auth.getProfile().user\r\n })\r\n .retry(0)\r\n .timeout({ response: 15000, deadline: 60000 })\r\n .end((err, res) => {\r\n if (err) {\r\n if (err.toString().substr(0, 16) === \"Error: Forbidden\") {\r\n window.location.reload();\r\n return;\r\n } else if (\r\n err.toString() ===\r\n \"Error: Response timeout of 15000ms exceeded\"\r\n ) {\r\n funciones.showToast(\"e\",\"Error en la comunicacion con el servidor\");\r\n return;\r\n }\r\n _this.setState({ openBackDrop: false }, () => {\r\n funciones.showToast(\"e\", \"Error de conexión\");\r\n });\r\n }\r\n\r\n const tmp = JSON.parse(res.text);\r\n if (tmp.length > 0) {\r\n _this.setState({ openBackDrop: false }, () => {\r\n let datos = tmp[0];\r\n \r\n if(datos[\"MENSAJE\"] === \"OK\")\r\n {\r\n if(idConsulta === 1)\r\n {\r\n funciones.showToast(\"s\", \"Se creó la cuota exitosamente\");\r\n currentPiSecuencia =null;\r\n currentPiDiaInicio=null;\r\n currentPiDiaFin=null;\r\n currentPiPorcentajeMora=null;\r\n\r\n _this.pifechaCuotaRef.current.value = null;\r\n _this.pisecuenciaRef.current.value = null;\r\n _this.pidiaInicioRef.current.value = null;\r\n _this.pidiaFinRef.current.value = null;\r\n _this.piporcentajeMoraRef.current.value = null;\r\n\r\n _this.setState({txtPiSecuenciaShrink: false\r\n ,txtPiDiaIniciaMoraShrink: false\r\n ,txtPiDiaFinMoraShrink: false\r\n ,txtPiPorcentajeShrink: false\r\n ,idCuotaPi:0\r\n });\r\n _this.consultasControlMatricula(8,_this.state.idControlMatricula);\r\n }\r\n else if(idConsulta === 2)\r\n {\r\n funciones.showToast(\"s\", \"Información almacenada correctamente.\");\r\n _this.consultasControlMatricula(8,_this.state.idControlMatricula);\r\n }\r\n else if(idConsulta === 3)\r\n {\r\n funciones.showToast(\"s\", \"Cuota Eliminada\");\r\n currentPiSecuencia =null;\r\n currentPiDiaInicio=null;\r\n currentPiDiaFin=null;\r\n currentPiPorcentajeMora=null;\r\n\r\n _this.pifechaCuotaRef.current.value = null;\r\n _this.pisecuenciaRef.current.value = null;\r\n _this.pidiaInicioRef.current.value = null;\r\n _this.pidiaFinRef.current.value = null;\r\n _this.piporcentajeMoraRef.current.value = null;\r\n\r\n _this.setState({modalEliminarCuotaPi:false,txtPiSecuenciaShrink: false,txtPiDiaIniciaMoraShrink: false,txtPiDiaFinMoraShrink: false,txtPiPorcentajeShrink: false,idCuotaPi:0\r\n },()=>{\r\n _this.consultasControlMatricula(8,_this.state.idControlMatricula);\r\n });\r\n \r\n }\r\n }\r\n else\r\n {\r\n funciones.showToast(\"e\", \"Error: \"+datos[\"MENSAJE\"]);\r\n }\r\n });\r\n } else {\r\n _this.setState({ openBackDrop: false }, () => {\r\n _this.setState({});\r\n });\r\n }\r\n });\r\n } catch (ex) {\r\n funciones.showToast(\"e\", \"Error de conexión\");\r\n //console.log(\"ERROR: \"+ex);\r\n _this.setState({ validado: true });\r\n }\r\n });\r\n _this.actualizarbarra(true);\r\n //_this.actualizarcircular(true)\r\n });\r\n }\r\n\r\n /*** EVENTO DEL SELECT*/\r\n ChangeSelect_estado = (event) => {\r\n if(this.state.selection_estado === 0 && event.target.value === 1)\r\n {\r\n funciones.showToast(\"i\", \"Se activara este período, mientras que los otros quedaran inactivos.\");\r\n }\r\n this.setState({ selection_estado: event.target.value });\r\n \r\n };\r\n\r\n cambiaSelectGradoAcademico = (event) => {\r\n this.setState(\r\n {\r\n gradoAcademicoSelection: event.target.value,\r\n });\r\n //alert(event.target.value);\r\n };\r\n\r\n cambiaSelectModalidadPrincipal = (event) => {\r\n /*if(this.state.modalidadSecundariaSelection === event.target.value)\r\n {\r\n this.showToast(\"e\", \"La modalidad principal no puede ser igual a la modalidad secundaria\", timeToast);\r\n }\r\n else\r\n {*/\r\n this.setState({modalidadPrincipalSelection: event.target.value,});\r\n // }\r\n //alert(event.target.value);\r\n };\r\n\r\n cambiaSelectModalidadSecundaria = (event) => {\r\n\r\n /* if(this.state.modalidadPrincipalSelection === event.target.value)\r\n {\r\n this.showToast(\"e\", \"El modalidad secundaria no puede ser igual a la modalidad principal\", timeToast);\r\n }\r\n else\r\n {*/\r\n this.setState({modalidadSecundariaSelection: event.target.value,});\r\n //}\r\n //alert(event.target.value);\r\n };\r\n \r\n cambiaInicioPeri = (event) => {\r\n if(event.target.value >= currentfechaFinPeri)\r\n {\r\n funciones.showToast(\"e\", \"La fecha de inicio, no puede ser mayor ni igual a la fecha final\");\r\n event.target.value=currentfechaIniPeri;\r\n }\r\n else{\r\n currentfechaIniPeri = event.target.value;\r\n }\r\n };\r\n\r\n cambiaFinPeri = (event) => {\r\n\r\n if(!this.confirmarfecha(event.target.value))\r\n {\r\n funciones.showToast(\"e\", \"Fecha Invalida.\");\r\n document.getElementById(\"txtFinPeriodo\").focus();\r\n return;\r\n }\r\n\r\n if(event.target.value <= currentfechaIniPeri)\r\n {\r\n funciones.showToast(\"e\", \"La fecha final del período, no puede ser menor o igual a la fecha inicial\");\r\n document.getElementById(\"txtFinPeriodo\").focus();\r\n event.target.value=currentfechaFinPeri;\r\n }\r\n else{\r\n currentfechaFinPeri = event.target.value;\r\n }\r\n };\r\n\r\n cambiaInicioMatAdm = (event) => {\r\n if(event.target.value >= currentfinMatriculaAdmin)\r\n {\r\n funciones.showToast(\"e\", \"La fecha de inicio, no puede ser mayor o igual a la fecha final\");\r\n event.target.value=currentinicioMatriculaAdmin;\r\n }\r\n else{\r\n currentinicioMatriculaAdmin = event.target.value;\r\n }\r\n };\r\n\r\n cambiaFinMatAdm = (event) => {\r\n \r\n if(!this.confirmarfecha(event.target.value))\r\n {\r\n funciones.showToast(\"e\", \"Fecha Invalida.\");\r\n document.getElementById(\"txtFinMatriculaAdmin\").focus();\r\n return;\r\n }\r\n\r\n if(event.target.value <= currentinicioMatriculaAdmin)\r\n {\r\n funciones.showToast(\"e\", \"La fecha final, no puede ser menor o igual a la fecha inicial\");\r\n document.getElementById(\"txtFinMatriculaAdmin\").focus();\r\n event.target.value=currentfinMatriculaAdmin;\r\n }\r\n else{\r\n currentfinMatriculaAdmin = event.target.value;\r\n }\r\n };\r\n\r\n cambiaInicioMatEst = (event) => {\r\n \r\n if(event.target.value >= currentfinMatriculaEstu)\r\n {\r\n funciones.showToast(\"e\", \"La fecha de inicio, no puede ser mayor o igual a la fecha final\");\r\n event.target.value=currentinicioMatriculaEstu;\r\n }\r\n else{\r\n currentinicioMatriculaEstu = event.target.value;\r\n }\r\n };\r\n\r\n cambiaFinMatEst = (event) => {\r\n \r\n if(!this.confirmarfecha(event.target.value))\r\n {\r\n funciones.showToast(\"e\", \"Fecha Invalida.\");\r\n document.getElementById(\"txtFinMatriculaEstu\").focus();\r\n return;\r\n }\r\n\r\n if(event.target.value <= currentinicioMatriculaEstu)\r\n {\r\n funciones.showToast(\"e\", \"La fecha final, no puede ser menor o igual a la fecha inicial\");\r\n document.getElementById(\"txtFinMatriculaEstu\").focus();\r\n event.target.value=currentfinMatriculaEstu;\r\n }\r\n else{\r\n currentfinMatriculaEstu = event.target.value;\r\n }\r\n };\r\n\r\n cambiaInicioCambioAdm = (event) => {\r\n \r\n if(event.target.value >= currentfinCambiosAdmin)\r\n {\r\n funciones.showToast(\"e\", \"La fecha de inicio, no puede ser mayor o igual a la fecha final\");\r\n event.target.value=currentinicioCambiosAdmin;\r\n }\r\n else{\r\n currentinicioCambiosAdmin = event.target.value;\r\n }\r\n };\r\n\r\n cambiaFinCambioAdm = (event) => {\r\n \r\n if(!this.confirmarfecha(event.target.value))\r\n {\r\n funciones.showToast(\"e\", \"Fecha Invalida.\");\r\n document.getElementById(\"txtFinCambiosAdmin\").focus();\r\n return;\r\n }\r\n\r\n if(event.target.value <= currentinicioCambiosAdmin)\r\n {\r\n funciones.showToast(\"e\", \"La fecha final, no puede ser menor o igual a la fecha inicial\");\r\n document.getElementById(\"txtFinCambiosAdmin\").focus();\r\n event.target.value=currentfinCambiosAdmin;\r\n }\r\n else{\r\n currentfinCambiosAdmin = event.target.value;\r\n }\r\n };\r\n\r\n cambiaInicioCambioEst = (event) => {\r\n \r\n if(event.target.value >= currentfinCambiosEstu)\r\n {\r\n funciones.showToast(\"e\", \"La fecha de inicio, no puede ser mayor o igual a la fecha final\");\r\n event.target.value=currentinicioCambiosEstu;\r\n }\r\n else{\r\n currentinicioCambiosEstu = event.target.value;\r\n }\r\n };\r\n\r\n cambiaFinCambioEst = (event) => {\r\n \r\n if(!this.confirmarfecha(event.target.value))\r\n {\r\n funciones.showToast(\"e\", \"Fecha Invalida.\");\r\n document.getElementById(\"txtFinCambiosEstu\").focus();\r\n return;\r\n }\r\n\r\n if(event.target.value <= currentinicioCambiosEstu)\r\n {\r\n funciones.showToast(\"e\", \"La fecha final, no puede ser menor o igual a la fecha inicial\");\r\n document.getElementById(\"txtFinCambiosEstu\").focus();\r\n event.target.value=currentfinCambiosEstu;\r\n }\r\n else{\r\n currentfinCambiosEstu = event.target.value;\r\n }\r\n };\r\n\r\n cambiaInicioListaEspera = (event) => {\r\n \r\n if(event.target.value >= currentFechaFinListaEspera)\r\n {\r\n funciones.showToast(\"e\", \"La fecha de inicio, no puede ser mayor o igual a la fecha final\");\r\n event.target.value=currentFechaIniListaEspera;\r\n }\r\n else{\r\n currentFechaIniListaEspera = event.target.value;\r\n }\r\n };\r\n\r\n cambiaFinListaEspera = (event) => {\r\n \r\n if(!this.confirmarfecha(event.target.value))\r\n {\r\n funciones.showToast(\"e\", \"Fecha Invalida.\");\r\n document.getElementById(\"txtFechaFinListaEspera\").focus();\r\n return;\r\n }\r\n\r\n if(event.target.value <= currentFechaIniListaEspera)\r\n {\r\n funciones.showToast(\"e\", \"La fecha final, no puede ser menor o igual a la fecha inicial\");\r\n document.getElementById(\"txtFechaFinListaEspera\").focus();\r\n event.target.value=currentFechaFinListaEspera;\r\n }\r\n else{\r\n currentFechaFinListaEspera = event.target.value;\r\n }\r\n };\r\n\r\n cambiaInicioRetirosAdm = (event) => {\r\n \r\n if(event.target.value >= currentfinRetirosAdmin)\r\n {\r\n funciones.showToast(\"e\", \"La fecha de inicio, no puede ser mayor o igual a la fecha final\");\r\n event.target.value=currentinicioRetirosAdmin;\r\n }\r\n else{\r\n currentinicioRetirosAdmin = event.target.value;\r\n }\r\n };\r\n\r\n cambiaFinRetirosAdm = (event) => {\r\n \r\n if(!this.confirmarfecha(event.target.value))\r\n {\r\n funciones.showToast(\"e\", \"Fecha Invalida.\");\r\n document.getElementById(\"txtFinRetirosAdmin\").focus();\r\n return;\r\n }\r\n\r\n if(event.target.value <= currentinicioRetirosAdmin)\r\n {\r\n funciones.showToast(\"e\", \"La fecha final, no puede ser menor o igual a la fecha inicial\");\r\n document.getElementById(\"txtFinRetirosAdmin\").focus();\r\n event.target.value=currentfinRetirosAdmin;\r\n }\r\n else{\r\n currentfinRetirosAdmin = event.target.value;\r\n }\r\n };\r\n\r\n cambiaInicioRetirosEstu = (event) => {\r\n \r\n if(event.target.value >= currentfinRetirosEstu)\r\n {\r\n funciones.showToast(\"e\", \"La fecha de inicio, no puede ser mayor o igual a la fecha final\");\r\n event.target.value=currentinicioRetirosEstu;\r\n }\r\n else{\r\n currentinicioRetirosEstu = event.target.value;\r\n }\r\n };\r\n\r\n cambiaFinRetirosEstu = (event) => {\r\n \r\n if(!this.confirmarfecha(event.target.value))\r\n {\r\n funciones.showToast(\"e\", \"Fecha Invalida.\");\r\n document.getElementById(\"txtFinRetirosEstu\").focus();\r\n return;\r\n }\r\n\r\n if(event.target.value <= currentinicioRetirosEstu)\r\n {\r\n funciones.showToast(\"e\", \"La fecha final, no puede ser menor o igual a la fecha inicial\");\r\n document.getElementById(\"txtFinRetirosEstu\").focus();\r\n event.target.value=currentfinRetirosEstu;\r\n }\r\n else{\r\n currentfinRetirosEstu = event.target.value;\r\n }\r\n };\r\n\r\n cambiaInicioSuficiencia = (event) => {\r\n \r\n if(event.target.value >= currentfinSuficiencia)\r\n {\r\n funciones.showToast(\"e\", \"La fecha de inicio, no puede ser mayor o igual a la fecha final\");\r\n event.target.value=currentinicioSuficiencia;\r\n }\r\n else{\r\n currentinicioSuficiencia = event.target.value;\r\n }\r\n };\r\n\r\n cambiaFinSuficiencia = (event) => {\r\n \r\n if(!this.confirmarfecha(event.target.value))\r\n {\r\n funciones.showToast(\"e\", \"Fecha Invalida.\");\r\n document.getElementById(\"txtFinSuficiencia\").focus();\r\n return;\r\n }\r\n\r\n if(event.target.value <= currentinicioSuficiencia)\r\n {\r\n funciones.showToast(\"e\", \"La fecha final, no puede ser menor o igual a la fecha inicial\");\r\n document.getElementById(\"txtFinSuficiencia\").focus();\r\n event.target.value=currentfinSuficiencia;\r\n }\r\n else{\r\n currentfinSuficiencia = event.target.value;\r\n }\r\n };\r\n\r\n cambiaInicioExtraordinario = (event) => {\r\n \r\n if(event.target.value >= currentfinExtraordinario)\r\n {\r\n funciones.showToast(\"e\", \"La fecha de inicio, no puede ser mayor o igual a la fecha final\");\r\n event.target.value=currentinicioExtraordinario;\r\n }\r\n else{\r\n currentinicioExtraordinario = event.target.value;\r\n }\r\n };\r\n\r\n cambiaFinExtraordinario = (event) => {\r\n \r\n if(!this.confirmarfecha(event.target.value))\r\n {\r\n funciones.showToast(\"e\", \"Fecha Invalida.\");\r\n document.getElementById(\"txtFinExtraordinario\").focus();\r\n return;\r\n }\r\n \r\n if(event.target.value <= currentinicioExtraordinario)\r\n {\r\n funciones.showToast(\"e\", \"La fecha final, no puede ser menor o igual a la fecha inicial\");\r\n document.getElementById(\"txtFinExtraordinario\").focus();\r\n event.target.value=currentfinExtraordinario;\r\n }\r\n else{\r\n currentfinExtraordinario = event.target.value;\r\n }\r\n };\r\n\r\n cambiaInicioRecargo = (event) => {\r\n \r\n if(event.target.value >= currentfinRecargo)\r\n {\r\n funciones.showToast(\"e\", \"La fecha de inicio, no puede ser mayor o igual a la fecha final\");\r\n event.target.value=currentinicioRecargo;\r\n }\r\n else{\r\n currentinicioRecargo = event.target.value;\r\n }\r\n };\r\n\r\n cambiaFinRecargo = (event) => {\r\n \r\n if(!this.confirmarfecha(event.target.value))\r\n {\r\n funciones.showToast(\"e\", \"Fecha Invalida.\");\r\n document.getElementById(\"txtFinRecargo\").focus();\r\n return;\r\n }\r\n\r\n if(event.target.value <= currentinicioRecargo)\r\n {\r\n funciones.showToast(\"e\", \"La fecha final, no puede ser menor o igual a la fecha inicial\");\r\n document.getElementById(\"txtFinRecargo\").focus();\r\n event.target.value=currentfinRecargo;\r\n }\r\n else{\r\n currentfinRecargo = event.target.value;\r\n }\r\n };\r\n\r\n\r\n /* EVENTO ON CHANGE DE PI */\r\n ChangePiSelect_estado = (event) => {\r\n if(this.state.selection_estado_pi === 0 && event.target.value === 1)\r\n {\r\n funciones.showToast(\"i\", \"Se activará este período intensivo, mientras que los otros quedarán inactivos.\");\r\n }\r\n this.setState({ selection_estado_pi: event.target.value });\r\n \r\n };\r\n\r\n cambiaPiSelectGradoAcademico = (event) => {\r\n this.setState(\r\n {\r\n gradoAcademicoPiSelection: event.target.value,\r\n });\r\n //alert(event.target.value);\r\n };\r\n \r\n cambiaPiInicioPeri = (event) => {\r\n \r\n if(event.target.value >= currentPiFechaFinPeriodo)\r\n {\r\n funciones.showToast(\"e\", \"La fecha de inicio, no puede ser mayor o igual a la fecha final\");\r\n event.target.value=currentPiFechaIniPeriodo;\r\n }\r\n else{\r\n currentPiFechaIniPeriodo = event.target.value;\r\n }\r\n };\r\n\r\n cambiaPiFinPeri = (event) => {\r\n \r\n if(!this.confirmarfecha(event.target.value))\r\n {\r\n funciones.showToast(\"e\", \"Fecha Invalida.\");\r\n document.getElementById(\"txtFinPeriodo\").focus();\r\n return;\r\n }\r\n\r\n if(event.target.value <= currentPiFechaIniPeriodo)\r\n {\r\n funciones.showToast(\"e\", \"La fecha final, no puede ser menor o igual a la fecha inicial\");\r\n document.getElementById(\"txtFinPeriodo\").focus();\r\n event.target.value=currentPiFechaFinPeriodo;\r\n }\r\n else{\r\n currentPiFechaFinPeriodo = event.target.value;\r\n }\r\n };\r\n\r\n cambiaPiInicioMatAdm = (event) => {\r\n \r\n if(event.target.value >= currentPiMatFinAdmin)\r\n {\r\n funciones.showToast(\"e\", \"La fecha de inicio, no puede ser mayor o igual a la fecha final\");\r\n event.target.value=currentPiMatIniAdmin;\r\n }\r\n else{\r\n currentPiMatIniAdmin = event.target.value;\r\n }\r\n };\r\n\r\n cambiaPiFinMatAdm = (event) => {\r\n \r\n if(!this.confirmarfecha(event.target.value))\r\n {\r\n funciones.showToast(\"e\", \"Fecha Invalida.\");\r\n document.getElementById(\"txtFinMatriculaAdmin\").focus();\r\n return;\r\n }\r\n\r\n if(event.target.value <= currentPiMatIniAdmin)\r\n {\r\n funciones.showToast(\"e\", \"La fecha final, no puede ser menor o igual a la fecha inicial\");\r\n document.getElementById(\"txtFinMatriculaAdmin\").focus();\r\n event.target.value=currentPiMatFinAdmin;\r\n }\r\n else{\r\n currentPiMatFinAdmin = event.target.value;\r\n }\r\n };\r\n\r\n cambiaPiInicioMatEst = (event) => {\r\n \r\n if(event.target.value >= currentPiMatFinCli)\r\n {\r\n funciones.showToast(\"e\", \"La fecha de inicio, no puede ser mayor o igual a la fecha final\");\r\n event.target.value=currentPiMatIniCli;\r\n }\r\n else{\r\n currentPiMatIniCli = event.target.value;\r\n }\r\n };\r\n\r\n cambiaPiFinMatEst = (event) => {\r\n \r\n if(!this.confirmarfecha(event.target.value))\r\n {\r\n funciones.showToast(\"e\", \"Fecha Invalida.\");\r\n document.getElementById(\"txtFinMatriculaEstu\").focus();\r\n return;\r\n }\r\n\r\n if(event.target.value <= currentPiMatIniCli)\r\n {\r\n funciones.showToast(\"e\", \"La fecha final, no puede ser menor o igual a la fecha inicial\");\r\n document.getElementById(\"txtFinMatriculaEstu\").focus();\r\n event.target.value=currentPiMatFinCli;\r\n }\r\n else{\r\n currentPiMatFinCli = event.target.value;\r\n }\r\n };\r\n\r\n cambiaPiInicioCambioAdm = (event) => {\r\n \r\n if(event.target.value >= currentPiCambiosFinAdmin)\r\n {\r\n funciones.showToast(\"e\", \"La fecha de inicio, no puede ser mayor o igual a la fecha final\");\r\n event.target.value=currentPiCambiosIniAdmin;\r\n }\r\n else{\r\n currentPiCambiosIniAdmin = event.target.value;\r\n }\r\n };\r\n\r\n cambiaPiFinCambioAdm = (event) => {\r\n \r\n if(!this.confirmarfecha(event.target.value))\r\n {\r\n funciones.showToast(\"e\", \"Fecha Invalida.\");\r\n document.getElementById(\"txtFinCambiosAdmin\").focus();\r\n return;\r\n }\r\n\r\n if(event.target.value <= currentPiCambiosIniAdmin)\r\n {\r\n funciones.showToast(\"e\", \"La fecha final, no puede ser menor o igual a la fecha inicial\");\r\n document.getElementById(\"txtFinCambiosAdmin\").focus();\r\n event.target.value=currentPiCambiosFinAdmin;\r\n }\r\n else{\r\n currentPiCambiosFinAdmin = event.target.value;\r\n }\r\n };\r\n\r\n cambiaPiInicioCambioEst = (event) => {\r\n \r\n if(event.target.value >= currentPiCambiosFinCli)\r\n {\r\n funciones.showToast(\"e\", \"La fecha de inicio, no puede ser mayor o igual a la fecha final\");\r\n event.target.value=currentPiCambiosIniCli;\r\n }\r\n else{\r\n currentPiCambiosIniCli = event.target.value;\r\n }\r\n };\r\n\r\n cambiaPiFinCambioEst = (event) => {\r\n \r\n if(!this.confirmarfecha(event.target.value))\r\n {\r\n funciones.showToast(\"e\", \"Fecha Invalida.\");\r\n document.getElementById(\"txtFinCambiosEstu\").focus();\r\n return;\r\n }\r\n\r\n if(event.target.value <= currentPiCambiosIniCli)\r\n {\r\n funciones.showToast(\"e\", \"La fecha final, no puede ser menor o igual a la fecha inicial\");\r\n document.getElementById(\"txtFinCambiosEstu\").focus();\r\n event.target.value=currentPiCambiosFinCli;\r\n }\r\n else{\r\n currentPiCambiosFinCli = event.target.value;\r\n }\r\n };\r\n\r\n cambiaPiInicioRetirosAdm = (event) => {\r\n \r\n if(event.target.value >= currentPiRetirosFinAdmin)\r\n {\r\n funciones.showToast(\"e\", \"La fecha de inicio, no puede ser mayor o igual a la fecha final\");\r\n event.target.value=currentPiRetirosIniAdmin;\r\n }\r\n else{\r\n currentPiRetirosIniAdmin = event.target.value;\r\n }\r\n };\r\n\r\n cambiaPiFinRetirosAdm = (event) => {\r\n \r\n if(!this.confirmarfecha(event.target.value))\r\n {\r\n funciones.showToast(\"e\", \"Fecha Invalida.\");\r\n document.getElementById(\"txtFinRetirosAdmin\").focus();\r\n return;\r\n }\r\n\r\n if(event.target.value <= currentPiRetirosIniAdmin)\r\n {\r\n funciones.showToast(\"e\", \"La fecha final, no puede ser menor o igual a la fecha inicial\");\r\n document.getElementById(\"txtFinRetirosAdmin\").focus();\r\n event.target.value=currentPiRetirosFinAdmin;\r\n }\r\n else{\r\n currentPiRetirosFinAdmin = event.target.value;\r\n }\r\n };\r\n\r\n cambiaPiInicioRetirosEstu = (event) => {\r\n \r\n if(event.target.value >= currentPiRetirosFinCli)\r\n {\r\n funciones.showToast(\"e\", \"La fecha de inicio, no puede ser mayor o igual a la fecha final\");\r\n event.target.value=currentPiRetirosIniCli;\r\n }\r\n else{\r\n currentPiRetirosIniCli = event.target.value;\r\n }\r\n };\r\n\r\n cambiaPiFinRetirosEstu = (event) => {\r\n \r\n if(!this.confirmarfecha(event.target.value))\r\n {\r\n funciones.showToast(\"e\", \"Fecha Invalida.\");\r\n document.getElementById(\"txtFinRetirosEstu\").focus();\r\n return;\r\n }\r\n\r\n if(event.target.value <= currentPiRetirosIniCli)\r\n {\r\n funciones.showToast(\"e\", \"La fecha final, no puede ser menor o igual a la fecha inicial\");\r\n document.getElementById(\"txtFinRetirosEstu\").focus();\r\n event.target.value=currentPiRetirosFinCli;\r\n }\r\n else{\r\n currentPiRetirosFinCli = event.target.value;\r\n }\r\n };\r\n\r\n cambiaPiInicioSuficiencia = (event) => {\r\n \r\n if(event.target.value >= currentPiSuficienciaFin)\r\n {\r\n funciones.showToast(\"e\", \"La fecha de inicio, no puede ser mayor ni igual a la fecha final\");\r\n event.target.value=currentPiSuficienciaIni;\r\n }\r\n else{\r\n currentPiSuficienciaIni = event.target.value;\r\n }\r\n };\r\n\r\n cambiaPiFinSuficiencia = (event) => {\r\n \r\n if(!this.confirmarfecha(event.target.value))\r\n {\r\n funciones.showToast(\"e\", \"Fecha Invalida.\");\r\n document.getElementById(\"txtFinSuficiencia\").focus();\r\n return;\r\n }\r\n\r\n if(event.target.value <= currentPiSuficienciaIni)\r\n {\r\n funciones.showToast(\"e\", \"La fecha final, no puede ser menor o igual a la fecha inicial\");\r\n document.getElementById(\"txtFinSuficiencia\").focus();\r\n event.target.value=currentPiSuficienciaFin;\r\n }\r\n else{\r\n currentPiSuficienciaFin = event.target.value;\r\n }\r\n };\r\n\r\n cambiaPiInicioExtraordinario = (event) => {\r\n if(event.target.value >= currentPiExamenFinExtra)\r\n {\r\n funciones.showToast(\"e\", \"La fecha de inicio, no puede ser mayor ni igual a la fecha final\");\r\n event.target.value=currentPiExamenIniExtra;\r\n }\r\n else{\r\n currentPiExamenIniExtra = event.target.value;\r\n }\r\n };\r\n\r\n cambiaPiFinExtraordinario = (event) => {\r\n\r\n if(!this.confirmarfecha(event.target.value))\r\n {\r\n funciones.showToast(\"e\", \"Fecha Invalida.\");\r\n document.getElementById(\"txtFinExtraordinario\").focus();\r\n return;\r\n }\r\n\r\n if(event.target.value <= currentPiExamenIniExtra)\r\n {\r\n funciones.showToast(\"e\", \"La fecha final, no puede ser menor o igual a la fecha inicial\");\r\n document.getElementById(\"txtFinExtraordinario\").focus();\r\n event.target.value=currentPiExamenFinExtra;\r\n }\r\n else{\r\n currentPiExamenFinExtra = event.target.value;\r\n }\r\n };\r\n\r\n cambiaPiInicioRecargo = (event) => {\r\n if(event.target.value >= currentPiRecargoFin)\r\n {\r\n funciones.showToast(\"e\", \"La fecha de inicio, no puede ser mayor ni igual a la fecha final\");\r\n event.target.value=currentPiRecargoIni;\r\n }\r\n else{\r\n currentPiRecargoIni = event.target.value;\r\n }\r\n };\r\n\r\n cambiaPiFinRecargo = (event) => {\r\n if(!this.confirmarfecha(event.target.value))\r\n {\r\n funciones.showToast(\"e\", \"Fecha Invalida.\");\r\n document.getElementById(\"txtFinRecargo\").focus();\r\n return;\r\n }\r\n\r\n if(event.target.value <= currentPiRecargoIni)\r\n {\r\n funciones.showToast(\"e\", \"La fecha final, no puede ser menor o igual a la fecha inicial\");\r\n document.getElementById(\"txtFinRecargo\").focus();\r\n event.target.value=currentPiRecargoFin;\r\n }\r\n else{\r\n currentPiRecargoFin = event.target.value;\r\n }\r\n };\r\n\r\n cambiaAnio = (event) => {\r\n currentAnio = event.target.value;\r\n };\r\n\r\n cambiaPeriodo = (event) => {\r\n currentPeriodo = event.target.value;\r\n };\r\n\r\n cambiaPiPeriodo = (event) => {\r\n currentPiPeriodo = event.target.value;\r\n };\r\n\r\n /** ONCHANGE DEL MODAL DE CUOTAS */\r\n cambiaFechaCuota = (event) => {\r\n currentfechaCuota = event.target.value;\r\n };\r\n cambiaSecuencia = (event) => {\r\n currentSecuencia = event.target.value;\r\n if(event.target.value !== \"\" && event.target.value !== null)\r\n this.setState({txtSecuenciaShrink: true});\r\n else\r\n this.setState({txtSecuenciaShrink: false});\r\n };\r\n cambiaDiaInicio = (event) => {\r\n currentDiaInicio = event.target.value;\r\n if(event.target.value !== \"\" && event.target.value !== null)\r\n this.setState({txtDiaIniciaMoraShrink: true});\r\n else\r\n this.setState({txtDiaIniciaMoraShrink: false});\r\n };\r\n cambiaDiaFin = (event) => {\r\n currentDiaFin = event.target.value;\r\n if(event.target.value !== \"\" && event.target.value !== null)\r\n this.setState({txtDiaFinMoraShrink: true});\r\n else\r\n this.setState({txtDiaFinMoraShrink: false});\r\n };\r\n cambiaPorcentajeMora = (event) => {\r\n currentPorcentajeMora = event.target.value;\r\n if(event.target.value !== \"\" && event.target.value !== null)\r\n this.setState({txtPorcentajeShrink: true});\r\n else\r\n this.setState({txtPorcentajeShrink: false});\r\n };\r\n\r\n /** ONCHANGE DEL MODAL DE CUOTAS PI */\r\n cambiaFechaCuotaPi = (event) => {\r\n currentPifechaCuota = event.target.value;\r\n };\r\n cambiaSecuenciaPi = (event) => {\r\n currentPiSecuencia = event.target.value;\r\n if(event.target.value !== \"\" && event.target.value !== null)\r\n this.setState({txtPiSecuenciaShrink: true});\r\n else\r\n this.setState({txtPiSecuenciaShrink: false});\r\n };\r\n cambiaDiaInicioPi = (event) => {\r\n currentPiDiaInicio = event.target.value;\r\n if(event.target.value !== \"\" && event.target.value !== null)\r\n this.setState({txtPiDiaIniciaMoraShrink: true});\r\n else\r\n this.setState({txtPiDiaIniciaMoraShrink: false});\r\n };\r\n cambiaDiaFinPi = (event) => {\r\n currentPiDiaFin = event.target.value;\r\n if(event.target.value !== \"\" && event.target.value !== null)\r\n this.setState({txtPiDiaFinMoraShrink: true});\r\n else\r\n this.setState({txtPiDiaFinMoraShrink: false});\r\n };\r\n cambiaPorcentajeMoraPi = (event) => {\r\n currentPiPorcentajeMora = event.target.value;\r\n if(event.target.value !== \"\" && event.target.value !== null)\r\n this.setState({txtPiPorcentajeShrink: true});\r\n else\r\n this.setState({txtPiPorcentajeShrink: false});\r\n };\r\n\r\n onEntering = () => {\r\n if (this.state.open_modificar) {\r\n this.setState({\r\n selection_estado: this.state.selection[2] ? 1 : 0,\r\n });\r\n } else {\r\n this.setState({ selection_estado: \"\" });\r\n }\r\n };\r\n\r\n validarPrevioIUD = (idConsulta) => (event) => {\r\n \r\n if(currentfechaIniPeri !== null &&\r\n currentfechaFinPeri !== null &&\r\n currentinicioMatriculaAdmin !== null &&\r\n currentfinMatriculaAdmin !== null &&\r\n currentinicioMatriculaEstu !== null &&\r\n currentfinMatriculaEstu !== null &&\r\n currentinicioCambiosAdmin !== null &&\r\n currentfinCambiosAdmin !== null &&\r\n currentinicioCambiosEstu !== null &&\r\n currentfinCambiosEstu !== null &&\r\n currentinicioRetirosAdmin !== null &&\r\n currentfinRetirosAdmin !== null &&\r\n currentinicioRetirosEstu !== null &&\r\n currentfinRetirosEstu !== null &&\r\n currentinicioSuficiencia !== null &&\r\n currentfinSuficiencia !== null &&\r\n currentinicioExtraordinario !== null &&\r\n currentfinExtraordinario !== null &&\r\n currentinicioRecargo !== null &&\r\n currentfinRecargo !== null &&\r\n currentAnio !== null &&\r\n currentPeriodo !== null &&\r\n currentFechaIniListaEspera !== null &&\r\n currentFechaFinListaEspera !== null &&\r\n this.state.gradoAcademicoSelection !== \"\"\r\n ){\r\n if(this.state.modalidadPrincipalSelection !== \"\" && this.state.modalidadSecundariaSelection !== \"\")\r\n {\r\n this.controlMatriculaIUD(idConsulta);\r\n }\r\n else\r\n {\r\n funciones.showToast(\"w\", \"Debe definir la modalidad para el período, de lo contrario no podrá guardar la información.\", timeToast);\r\n }\r\n }\r\n else\r\n {\r\n funciones.showToast(\"w\", \"Los Campos no deben estar vacios\");\r\n }\r\n event.preventDefault();\r\n }\r\n\r\n\r\n validarPrevioPiIUD = (idConsulta) => (event) => {\r\n \r\n if(\r\n currentPiPeriodo !== null &&\r\n currentPiFechaIniPeriodo !== null &&\r\n currentPiFechaFinPeriodo !== null &&\r\n currentPiMatIniAdmin !== null &&\r\n currentPiMatFinAdmin !== null &&\r\n currentPiMatIniCli !== null &&\r\n currentPiMatFinCli !== null &&\r\n currentPiCambiosIniAdmin !== null &&\r\n currentPiCambiosFinAdmin !== null &&\r\n currentPiCambiosIniCli !== null &&\r\n currentPiCambiosFinCli !== null &&\r\n currentPiRetirosIniAdmin !== null &&\r\n currentPiRetirosFinAdmin !== null &&\r\n currentPiRetirosIniCli !== null &&\r\n currentPiRetirosFinCli !== null &&\r\n currentPiSuficienciaIni !== null &&\r\n currentPiSuficienciaFin !== null &&\r\n currentPiExamenIniExtra !== null &&\r\n currentPiExamenFinExtra !== null &&\r\n currentPiRecargoIni !== null &&\r\n currentPiRecargoFin !== null &&\r\n this.state.gradoAcademicoPiSelection !== \"\"\r\n ){\r\n this.controlMatriculaPiIUD(idConsulta);\r\n }\r\n else\r\n {\r\n funciones.showToast(\"w\", \"Los Campos no deben estar vacios\");\r\n }\r\n event.preventDefault();\r\n }\r\n\r\n limipiarNuevaCuota = () => (event) => {\r\n this.setState({txtSecuenciaShrink: false,txtDiaIniciaMoraShrink: false,txtDiaFinMoraShrink: false,txtPorcentajeShrink: false,cuotaIud:1,selectionCuotas:[],idCuota:0,});\r\n\r\n currentfechaCuota = null\r\n currentSecuencia = null\r\n currentDiaInicio = null\r\n currentDiaFin = null\r\n currentPorcentajeMora = null\r\n \r\n this.fechaCuotaRef.current.value = null;\r\n this.secuenciaRef.current.value = null;\r\n this.diaInicioRef.current.value = null;\r\n this.diaFinRef.current.value = null;\r\n this.porcentajeMoraRef.current.value = null;\r\n\r\n //this.setState({cuotaIud:1,selectionCuotas:[],idCuota:0,});\r\n this.validarPrevioIUDCuota(1);\r\n }\r\n\r\n limipiarNuevaCuotaPi = () => (event) => {\r\n this.setState({txtPiSecuenciaShrink: false,txtPiDiaIniciaMoraShrink: false,txtPiDiaFinMoraShrink: false,txtPiPorcentajeShrink: false,cuotaPiIud:1,selectionCuotasPi:[],idCuotaPi:0,});\r\n\r\n currentPifechaCuota = null\r\n currentPiSecuencia = null\r\n currentPiDiaInicio = null\r\n currentPiDiaFin = null\r\n currentPiPorcentajeMora = null\r\n \r\n this.pifechaCuotaRef.current.value = null;\r\n this.pisecuenciaRef.current.value = null;\r\n this.pidiaInicioRef.current.value = null;\r\n this.pidiaFinRef.current.value = null;\r\n this.piporcentajeMoraRef.current.value = null;\r\n\r\n //this.setState({cuotaPiIud:1,selectionCuotasPi:[],idCuotaPi:0,});\r\n this.validarPrevioIUDCuotaPi(1);\r\n }\r\n\r\n validarPrevioIUDCuota = (idConsulta) => (event) => {\r\n let _this = this;\r\n \r\n if(idConsulta === 1)//insert\r\n {\r\n if(currentfechaCuota !== null &&\r\n currentSecuencia !== null &&\r\n currentDiaInicio !== null &&\r\n currentDiaFin !== null &&\r\n currentPorcentajeMora !== null &&\r\n currentfechaCuota !== \"\" &&\r\n currentSecuencia !== \"\" &&\r\n currentDiaInicio !== \"\" &&\r\n currentDiaFin !== \"\" &&\r\n currentPorcentajeMora !== \"\"\r\n ){\r\n _this.funcionCuotaIUD(1);\r\n }\r\n else\r\n {\r\n funciones.showToast(\"i\", \"Todos los campos son obligatorios\");\r\n }\r\n }\r\n else if(idConsulta === 2)//update\r\n {\r\n if(currentfechaCuota !== null &&\r\n currentSecuencia !== null &&\r\n currentDiaInicio !== null &&\r\n currentDiaFin !== null &&\r\n currentPorcentajeMora !== null &&\r\n _this.state.idCuota !== 0 &&\r\n\r\n currentfechaCuota !== \"\" &&\r\n currentSecuencia !== \"\" &&\r\n currentDiaInicio !== \"\" &&\r\n currentDiaFin !== \"\" &&\r\n currentPorcentajeMora !== \"\"\r\n ){\r\n _this.funcionCuotaIUD(2);\r\n }\r\n else\r\n {\r\n funciones.showToast(\"i\", \"Seleccione una cuota para modificar, y no deje campos vacios.\");\r\n }\r\n }\r\n else if(idConsulta === 3)//delete\r\n {\r\n if(_this.state.idCuota !== 0\r\n ){\r\n _this.setState({modalEliminarCuota: true});\r\n }\r\n else\r\n {\r\n funciones.showToast(\"w\", \"Por favor, seleccione la cuota que desea eliminar\");\r\n }\r\n }\r\n else if(idConsulta === 4)\r\n {\r\n _this.funcionCuotaIUD(3);\r\n }\r\n event.preventDefault();\r\n }\r\n\r\n validarPrevioIUDCuotaPi = (idConsulta) => (event) => {\r\n let _this = this;\r\n \r\n if(idConsulta === 1)//insert\r\n {\r\n if(currentPifechaCuota !== null &&\r\n currentPiSecuencia !== null &&\r\n currentPiDiaInicio !== null &&\r\n currentPiDiaFin !== null &&\r\n currentPiPorcentajeMora !== null &&\r\n currentPifechaCuota !== \"\" &&\r\n currentPiSecuencia !== \"\" &&\r\n currentPiDiaInicio !== \"\" &&\r\n currentPiDiaFin !== \"\" &&\r\n currentPiPorcentajeMora !== \"\"\r\n ){\r\n _this.funcionCuotaPiIUD(1);\r\n }\r\n else\r\n {\r\n funciones.showToast(\"i\", \"Todos los campos son obligatorios\");\r\n }\r\n }\r\n else if(idConsulta === 2)//update\r\n {\r\n if(currentPifechaCuota !== null &&\r\n currentPiSecuencia !== null &&\r\n currentPiDiaInicio !== null &&\r\n currentPiDiaFin !== null &&\r\n currentPiPorcentajeMora !== null &&\r\n _this.state.idCuotaPi !== 0 &&\r\n currentPifechaCuota !== \"\" &&\r\n currentPiSecuencia !== \"\" &&\r\n currentPiDiaInicio !== \"\" &&\r\n currentPiDiaFin !== \"\" &&\r\n currentPiPorcentajeMora !== \"\"\r\n ){\r\n _this.funcionCuotaPiIUD(2);\r\n }\r\n else\r\n {\r\n funciones.showToast(\"i\", \"Seleccione una cuota para modificar, y no deje campos vacios.\");\r\n }\r\n }\r\n else if(idConsulta === 3)//delete\r\n {\r\n if(_this.state.idCuotaPi !== 0\r\n ){\r\n _this.setState({modalEliminarCuotaPi: true});\r\n }\r\n else\r\n {\r\n funciones.showToast(\"w\", \"Por favor, seleccione la cuota que desea eliminar\");\r\n }\r\n }\r\n else if(idConsulta === 4)\r\n {\r\n _this.funcionCuotaPiIUD(3);\r\n }\r\n event.preventDefault();\r\n }\r\n\r\n abrirModalModalidades = () => (event) => {\r\n this.setState({openModalidad:true});\r\n }\r\n\r\n confirmarfecha=(fecha)=>{\r\n if(new Date(fecha)>new Date('2999-12-31'))\r\n {\r\n return false;\r\n }\r\n\r\n return true;\r\n }\r\n\r\n /* RENDER */\r\n render() {\r\n const { classes } = this.props;\r\n\r\n const botonesModalCuota = [\r\n {icono: \"Add\",toolt: \"Crear Cuota Nueva\",nombre: \"Nuevo\",escritura: true,onclick: this.limipiarNuevaCuota(),display: \"auto\",variant:\"outlined\",},\r\n {icono: \"Save\",toolt: \"Guardar Cambios\",nombre: \"Guardar\",escritura: true,onclick: this.validarPrevioIUDCuota(this.state.cuotaIud),display: \"auto\",disabled: this.state.cuotaIud===1? false:this.state.cuotaIud===2?false:true,},\r\n {icono: \"Delete\",toolt: \"Eliminar Cuota\",nombre: \"Eliminar\",escritura: true,onclick: this.validarPrevioIUDCuota(3),display: \"auto\",color: colores.naranja,disabled: this.state.cuotaIud===2? false:true,},\r\n {icono: \"Close\",toolt: \"Cerrar\",nombre: \"Cerrar\",onclick: this.funcCerrarModales(),display: \"auto\",color: \"red\",},\r\n ];\r\n\r\n /** CUOTA PI **/\r\n const botonesModalCuotaPi = [\r\n {icono: \"Add\",toolt: \"Crear Cuota Nueva\",nombre: \"Nuevo\",escritura: true,onclick: this.limipiarNuevaCuotaPi(),display: \"auto\",variant:\"outlined\",},\r\n {icono: \"Save\",toolt: \"Guardar Cambios\",nombre: \"Guardar\",escritura: true,onclick: this.validarPrevioIUDCuotaPi(this.state.cuotaPiIud),display: \"auto\",disabled: this.state.cuotaPiIud===1? false:this.state.cuotaPiIud===2?false:true,},\r\n {icono: \"Delete\",toolt: \"Eliminar Cuota\",nombre: \"Eliminar\",escritura: true,onclick: this.validarPrevioIUDCuotaPi(3),display: \"auto\",color: colores.naranja,disabled: this.state.cuotaPiIud===2? false:true,},\r\n {icono: \"Close\",toolt: \"Cerrar\",nombre: \"Cerrar\",onclick: this.funcCerrarModales(),display: \"auto\",color: \"red\",\r\n },\r\n ];\r\n // BOTONES PARA EL MODAL DE PI\r\n const botonesModalPi = [\r\n {icono: \"Add\",toolt: \"Crear un nuevo período intensivo\",nombre: \"Nuevo PI\",escritura: true,onclick: this.funcModalPeriodoIntensivo(1),display: \"auto\",variant:\"outlined\",},\r\n {icono: \"Edit\",toolt: \"Editar Período Intensivo\",nombre: \"Editar PI\",escritura: true,onclick: this.funcModalPeriodoIntensivo(this.state.iudPi),display: \"auto\",disabled: this.state.iudPi===2?false:true,},\r\n {icono: \"Delete\",toolt: \"Eliminar Cuota\",nombre: \"Eliminar\",escritura: true,onclick: this.funcModalPeriodoIntensivo(3),display: \"auto\",color: colores.naranja,disabled: this.state.iudPi===2? false:true,\r\n },\r\n {icono: \"Close\",toolt: \"Cerrar\",nombre: \"Cerrar\",onclick: this.funcCerrarModalPi(),display: \"auto\",color: \"red\",},\r\n ];\r\n\r\n if (this.state.isLoggin === true) {\r\n return (\r\n \r\n \r\n {/** backdrop */}\r\n \r\n \r\n \r\n Cargando...\r\n \r\n \r\n\r\n {/**MODAL DE AGREGAR */}\r\n \r\n \r\n {\r\n this.state.iud === 1? \"Creación de un Nuevo Período\" :\r\n this.state.iud === 2? \"Editar Fechas del Período \"+this.state.periodo+\" - \"+this.state.anio : \"\"\r\n }\r\n \r\n \r\n \r\n\r\n {(() => {\r\n\r\n if(this.state.iud === 1)\r\n {\r\n return (\r\n \r\n \r\n \r\n Primeros Datos\r\n \r\n \r\n \r\n {e.target.value = Math.max(0, parseInt(e.target.value) ).toString().slice(0,4)}}\r\n />\r\n \r\n \r\n {e.target.value = Math.max(0, parseInt(e.target.value) ).toString().slice(0,2)}}\r\n />\r\n \r\n \r\n );\r\n }\r\n })()}\r\n\r\n \r\n \r\n Período\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n Matrícula Administrativa\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n Matrícula Estudiantes\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n Cambios Administrativa\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n Cambios Estudiantes\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n Retiros Administrativa\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n Retiros Estudiantes\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n Suficiencia\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n Examen Extraordinario\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n Recargo\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n Lista de Espera\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n {(() => {\r\n\r\n if(this.state.iud !== 1)\r\n {\r\n return (\r\n \r\n \r\n \r\n Fechas Congelado/Borrado\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n Estado\r\n \r\n \r\n \r\n \r\n \r\n \r\n );\r\n }\r\n })()}\r\n \r\n \r\n Grado Académico\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n {(() => {\r\n tokenInfo = Auth.getProfile(); //Token decodificado\r\n\r\n if (tokenInfo.plataforma === 1) {\r\n //Si es Usuario Admin\r\n return (\r\n \r\n \r\n \r\n }\r\n showSelectionColumn={false}\r\n \r\n />\r\n \r\n\r\n {/**MODAL DE CUOTAS */}\r\n \r\n \r\n Configuración de Cuotas del Período\r\n \r\n \r\n\r\n \r\n \r\n \r\n { this.state.cuotaIud === 1 ? \"Ingrese los datos para la nueva cuota en el período \"+this.state.periodo+\", año \"+this.state.anio : this.state.cuotaIud === 2 ? \"Datos detallados de la cuota seleccionada, en el período \"+this.state.periodo+\", año \"+this.state.anio : \"Detalles de las cuotas en el período \"+this.state.periodo+\", año \"+this.state.anio}\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {\r\n e.target.value = Math.max(0, parseInt(e.target.value) ).toString().slice(0,3)\r\n }}\r\n />\r\n \r\n \r\n {\r\n e.target.value = Math.max(0, parseInt(e.target.value) ).toString().slice(0,3)\r\n }}\r\n />\r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n\r\n \r\n }\r\n showSelectionColumn={false}\r\n />\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n Eliminar Cuota\r\n \r\n \r\n \r\n ¿Seguro de eliminar la cuota Seleccionada?\r\n \r\n
\r\n \r\n
\r\n \r\n\r\n {/**MODAL DE CUOTAS PI */}\r\n \r\n \r\n Configuración de Cuotas del Período Intensivo\r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n { this.state.cuotaPiIud === 1 ? \"Ingrese los datos para la nueva cuota en el período intensivo \"+this.state.periodoI+\", del período principal \"+this.state.periodo+\", año \"+this.state.anio : this.state.cuotaPiIud === 2 ? \"Datos detallados de la cuota seleccionada, en el período intensivo \"+this.state.periodoI+\", del período principal \"+this.state.periodo+\", año \"+this.state.anio : \"Detalles de las cuotas en el período intensivo \"+this.state.periodo+\" del período principal \"+this.state.periodo+\", año \"+this.state.anio}\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {\r\n e.target.value = Math.max(0, parseInt(e.target.value) ).toString().slice(0,3)\r\n }}\r\n />\r\n \r\n \r\n {\r\n e.target.value = Math.max(0, parseInt(e.target.value) ).toString().slice(0,3)\r\n }}\r\n />\r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n\r\n \r\n }\r\n showSelectionColumn={false}\r\n />\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n {/** MODAL ELIMINAR CUOTA PI */}\r\n \r\n \r\n Eliminar Cuota\r\n \r\n \r\n \r\n ¿Está Seguro de eliminar la cuota Seleccionada?\r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n\r\n {/** MODAL ELIMINAR PERIODO INTENSIVO */}\r\n \r\n \r\n Eliminar Período Intensivo\r\n \r\n \r\n \r\n ¿Está Seguro de eliminar el período intensivo Seleccionado?\r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n\r\n {/* MODAL PARA INSERTAR/EDITAR PERIODO INTENSIVO */}\r\n \r\n \r\n {\r\n this.state.iudPi === 1? \"Creación de un Nuevo Período Intensivo en el Período principal \"+this.state.periodo+\" - \"+this.state.anio:\r\n this.state.iudPi === 2? \"Editar Fechas del Período Intensivo \"+this.state.periodoI+\" del Período \"+this.state.periodo+\" - \"+this.state.anio : \"\"\r\n }\r\n \r\n \r\n \r\n\r\n {(() => {\r\n\r\n if(this.state.iudPi === 1)\r\n {\r\n return (\r\n \r\n \r\n \r\n Primeros Datos\r\n \r\n \r\n \r\n {\r\n e.target.value = Math.max(0, parseInt(e.target.value) ).toString().slice(0,2)\r\n }}\r\n />\r\n \r\n \r\n );\r\n }\r\n })()}\r\n\r\n \r\n \r\n Fechas del Período\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n Matrícula Administrativa\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n Matrícula Estudiantes\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n Cambios Administrativa\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n Cambios Estudiantes\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n Retiros Administrativa\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n Retiros Estudiantes\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n Suficiencia\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n Examen Extraordinario\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n Recargo\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {(() => {\r\n\r\n if(this.state.iudPi !== 1)\r\n {\r\n return (\r\n \r\n \r\n \r\n Fechas Congelado/Borrado\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n Estado\r\n \r\n \r\n \r\n \r\n \r\n \r\n );\r\n }\r\n })()}\r\n \r\n \r\n Grado Académico\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n {/**MODAL DE VER PI */}\r\n \r\n \r\n Lista de períodos intensivos correspondientes al período principal seleccionado\r\n \r\n \r\n \r\n \r\n }\r\n showSelectionColumn={false}\r\n />\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n {/**MODAL DE MODALIDADES */}\r\n \r\n \r\n Modalidad para el período\r\n \r\n \r\n \r\n {this.state.cantidadSecciones === 0 ? \"\":\r\n \r\n \r\n No podra modificar la modalidad debido a que ya cuenta con secciones creadas\r\n \r\n \r\n }\r\n \r\n \r\n Modalidad Principal\r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n Modalidad Secundaria\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n );\r\n }\r\n })()}\r\n \r\n
\r\n ); /// finaliza return\r\n } else if (this.state.isLoggin === false) {\r\n Auth.logout();\r\n window.location.reload();\r\n return;\r\n }\r\n\r\n return null;\r\n } /// finaliza render\r\n } /// finaliza class\r\n); /// finaliza withStyles\r\n"],"sourceRoot":""}