function addPersonaComandos($clave_de_persona) { $xBtn = new cHButton(); if (getUsuarioActual(SYS_USER_NIVEL) != USUARIO_TIPO_OFICIAL_AML or OPERACION_LIBERAR_ACCIONES == true or MODO_DEBUG == true) { $this->addToolbar($xBtn->getBasic("TR.Agregar Referencias_Domiciliarias", "var xP= new PersGen();xP.setAgregarVivienda({$clave_de_persona})", "vivienda", "id-agregarvivienda", false)); $this->addToolbar($xBtn->getBasic($xBtn->lang("Agregar") . " " . ucfirst(PERSONAS_TITULO_PARTES), "var xP= new PersGen();xP.setAgregarRelaciones({$clave_de_persona})", "persona", "id-relaciones", false)); $this->addToolbar($xBtn->getBasic("TR.Agregar Actividad Economica", "var xP= new PersGen();xP.setAgregarActividadE({$clave_de_persona})", "empresa", "id-econ", false)); $this->addToolbar($xBtn->getBasic("TR.Agregar Relacion_Patrimonial", "var xP= new PersGen();xP.setAgregarPatrimonio({$clave_de_persona})", "balance", "idrelacionpat", false)); } if (getUsuarioActual(SYS_USER_NIVEL) == USUARIO_TIPO_OFICIAL_AML or MODO_DEBUG == true) { $this->addToolbar($xBtn->getBasic("TR.Reporte de Alertas", "var xML = new AmlGen(); xML.getReporteDeAlertas({$clave_de_persona})", "reporte", "idrptalertas", false)); $this->addToolbar($xBtn->getBasic("TR.Reporte de Perfil transaccional", "var xML = new AmlGen(); xML.getReporteDePerfilTransaccional({$clave_de_persona})", "reporte", "idrptperfil", false)); $this->addToolbar($xBtn->getBasic("TR.Listado de Transacciones", "var xML = new AmlGen(); xML.getReporteDeTransacciones({$clave_de_persona})", "riesgo", "idlistatransacciones", false)); $this->OButton("TR.Transacciones Por Nucleo", "var xML = new AmlGen(); xML.getReporteDeTransaccionesPorNucleo({$clave_de_persona})", $this->ic()->REGISTROS, "idlistatransaccionesnucleo"); } $this->addToolbar($xBtn->getBasic("TR.Agregar Documento", "var xP= new PersGen();xP.setAgregarDocumentos({$clave_de_persona})", "documento", "id-agregardocto", false)); $this->addToolbar($xBtn->getBasic("TR.perfil transaccional", "var xP= new PersGen();xP.setAgregarPerfilTransaccional({$clave_de_persona})", "perfil", "id-agregarperfil", false)); $this->addToolbar($xBtn->getBasic("TR.Imprimir Solicitud", "var xP= new PersGen();xP.getImprimirSolicitud({$clave_de_persona})", "imprimir", "id-solicitudingreso", false)); $this->addToolbar($xBtn->getBasic("TR.Expediente", "var xP= new PersGen();xP.getExpediente({$clave_de_persona})", "imprimir", "id-expediente", false)); }