color: #006699; } --> </style> <script type="text/javascript" language="JavaScript1.2" src="js/stm31.js"></script> <script type="text/javascript" language="JavaScript1.2" src="js/funcion_nomina.js"></script> <link href="css/nomina.css" rel="stylesheet" type="text/css"> <link href="../shared/css/cabecera.css" rel="stylesheet" type="text/css"> <link href="../shared/css/general.css" rel="stylesheet" type="text/css"> <link href="../shared/css/tablas.css" rel="stylesheet" type="text/css"> <link href="../shared/css/ventanas.css" rel="stylesheet" type="text/css"> </head> <body> <?php require_once("sigesp_snorh_c_uni_ad.php"); $io_unidadadm = new sigesp_snorh_c_uni_ad(); uf_limpiarvariables(); $ld_ano=substr($_SESSION["la_empresa"]["periodo"],0,4); $ld_fechasnom=substr($_SESSION["la_nomina"]["fechasper"],0,4); if($ld_fechasnom!=$ld_ano) { print("<script language=JavaScript>"); print(" alert('Este proceso esta desactivo para Períodos de años Diferentes al Periodo de la Empresa.');"); print(" location.href='sigespwindow_blank_hnomina.php'"); print("</script>"); } switch ($ls_operacion) { case "GUARDAR": uf_load_variables(); $lb_valido=$io_unidadadm->uf_update_unidadadministrativa_historico($ls_codigo,$ls_denominacion,$ls_codpro,$ls_estcla,$la_seguridad);
} --> </style> <script type="text/javascript" language="JavaScript1.2" src="js/stm31.js"></script> <script type="text/javascript" language="JavaScript1.2" src="js/funcion_nomina.js"></script> <link href="css/nomina.css" rel="stylesheet" type="text/css"> <link href="../shared/css/cabecera.css" rel="stylesheet" type="text/css"> <link href="../shared/css/general.css" rel="stylesheet" type="text/css"> <link href="../shared/css/tablas.css" rel="stylesheet" type="text/css"> <link href="../shared/css/ventanas.css" rel="stylesheet" type="text/css"> </head> <body> <?php require_once("sigesp_snorh_c_uni_ad.php"); $io_unidadadm = new sigesp_snorh_c_uni_ad(); require_once("../shared/class_folder/class_mensajes.php"); $msg=new class_mensajes(); uf_limpiarvariables(); switch ($ls_operacion) { case "NUEVO": $ls_statusg=0; $ls_statusi=0; $lb_valido=$io_unidadadm->uf_validarcierre_gastos_ingreso($ls_statusg,$ls_statusi); if(($lb_valido)&&($ls_statusg=="1")&&($ls_statusi=="1")) { $msg->message("El cierre Presuepuestario de Gasto e Ingreso fue ejecutado con Anterioridad, No se puede crear Unidades Administrativas"); } break;