function setResetPersonaAsociada($fecha, $observaciones = "", $empresa = "") { $empresa = $empresa == "" ? FALLBACK_CLAVE_EMPRESA : $empresa; $xLng = new cLang(); $txt = $xLng->get("saldo") . " : " . $this->getSaldoActual() . "; " . $xLng->get("empresa") . ":" . $this->getClaveDeEmpresa() . "/{$empresa} . {$observaciones}"; //Agregar Memo a socio $xSoc = new cSocio($this->getClaveDePersona()); $this->mMessages .= $xSoc->setNewMemo(MEMOS_TIPO_DESVINCULACION, $txt, $this->getNumeroDeCredito(), $fecha); $this->setUpdate(array("persona_asociada" => $empresa)); }