require_once "ActionReporte.php"; $o_ActionReporte = new ActionReporte(); $datos["iIdGrupoEtareo"] = $parametros["p2"]; $datos["ServComple"] = $parametros["p3"]; $resultado = utf8_encode($o_ActionReporte->AbuscarPersonasGrupoEtareo($datos)); break; case 'MostrarPersonasGrupoEtareo': require_once "ActionReporte.php"; $o_ActionReporte = new ActionReporte(); $datos["iIdGrupoEtareo"] = $parametros["p2"]; $resultado = utf8_encode($o_ActionReporte->AbuscarPersonasGrupoEtareo($datos)); break; case 'ventanaMostrarCPTfaltantes': require_once "ActionReporte.php"; $o_ActionReporte = new ActionReporte(); $resultado = utf8_encode($o_ActionReporte->ventanaMostrarCPTfaltantes()); break; case 'MostrarCPTfaltantes': require_once "ActionReporte.php"; $o_ActionReporte = new ActionReporte(); $datos['c_cod_per'] = $parametros["p2"]; $resultado = $o_ActionReporte->AmostrarCPTfaltantes($datos); break; case 'reportePerActElimInsert': header("Content-type: text/xml"); require_once "ActionRrhh.php"; $o_ActionRrhh = new ActionRrhh(); $datos["iAnio"] = $parametros["p2"]; $datos["iMes"] = $parametros["p3"]; $resultado = $o_ActionRrhh->AreportePerActElimInsert($datos); break;