This commit is contained in:
@@ -108,20 +108,13 @@ public partial class OI_MinutaDetalle : ClsPaginas
|
||||
Avance = drow["Avance"].ToString().ToDecimal();
|
||||
|
||||
TxtAsunto.Text = drow["Asunto"].ToString();
|
||||
TxtCorreoExterno.Text = drow["CorreoExterno"].ToString();
|
||||
TxtDescripcion.Text = drow["Descripcion"].ToString();
|
||||
TxtAcuerdos.Text = drow["Acuerdos"].ToString().Replace("<", "< ");
|
||||
//txtFechaI.Text = string.Format("{0:dd/MM/yyyy HH:mm}", drow["FechaInicio"]);
|
||||
//txtFechaF.Text = string.Format("{0:dd/MM/yyyy HH:mm}", drow["FechaFin"]);
|
||||
//DdlTema.SelectedValueExist(drow["CveRevision"].ToString());
|
||||
//DdlEventoEstatus.SelectedValueExist(drow["CveEventoEstatus"].ToString());
|
||||
//DDlEstatus.SelectedValueExist(drow["CveEventoEstatus"].ToString());
|
||||
HypArchivo.Text = string.Format("{0}<br /><i class=\"fa fa-download\"></i>", drow["Archivo"].ToString());
|
||||
HypArchivo.NavigateUrl = string.Format("~/OI/TareaDetalle.aspx?Archivo={0}&filename={1}", ModExtensiones.Encripta(string.Format("OIFiles\\{0}\\{1}", Folio, drow["Archivo"])), ModExtensiones.Encripta(drow["Archivo"].ToString()));
|
||||
TxtArchivo.Visible = (drow["Archivo"].ToString().Length == 0);
|
||||
portletArchivo.Visible = !TxtArchivo.Visible;
|
||||
//LnkUpFile.Text = (portletArchivo.Visible ? "<i class=\"fa fa-pencil\"></i> Actualizar archivo" : "<i class=\"fa fa-plus\"></i> Agregar archivo");
|
||||
//Literal3.Text = portletArchivo.Visible ? "Actualizar archivo" : "Agregar archivo";
|
||||
//BtnActualizarArchivo.Text = portletArchivo.Visible ? "Actualizar" : "Agregar";
|
||||
int CveUsuarioIng = drow["CveUsuarioIng"].ToString().ToEntero();
|
||||
CveUsuarioDe = drow["CveUsuarioDe"].ToString().ToEntero();
|
||||
CveUsuarioPara = drow["CveUsuarioPara"].ToString().ToEntero();
|
||||
@@ -137,13 +130,6 @@ public partial class OI_MinutaDetalle : ClsPaginas
|
||||
}
|
||||
hdnCveEventoEstatus.Value = CveEventoEstatus.ToString();
|
||||
hdnCveEvento.Value = RCveEvento.ToString();
|
||||
//TxtAvance.Text = string.Format("{0:##0}", drow["Avance"]);
|
||||
//TxtUsuarioreg.Text = string.Format("{0}", drow["NombreRegistro"]);
|
||||
//TxtFechaIng.Text = string.Format("{0:dd/MM/yyyy}", drow["FechaIng"]);
|
||||
//OIE.[CveEvento], OIE.[CveTipoEvento], OIE.[Folio], OIE.[Asunto], OIE.[Descripcion], OIE.[Prioridad], OIE.[CveUsuarioDe], OIE.[CveUsuarioPara],
|
||||
//OIE.[CveEventoEstatus], OIE.[FechaInicio], OIE.[FechaFin], OIE.[FechaRealTermino], OIE.[CveRevision], OIE.[Archivo], OIE.[FechaIng],
|
||||
//OIE.[CveUsuarioIng], OIE.[CveEmpresa], OIE.[CveUsuarioModifico], OIE.[Avance]
|
||||
|
||||
StringBuilder StrDeUser = new StringBuilder();
|
||||
StringBuilder StrCCPara = new StringBuilder();
|
||||
ltlTituloPage.Text = drow["Asunto"].ToString();
|
||||
@@ -380,7 +366,7 @@ public partial class OI_MinutaDetalle : ClsPaginas
|
||||
using (ClsOIEventos oieve = new ClsOIEventos())
|
||||
{
|
||||
oieve.IniciaTransacSQL();
|
||||
Continuar = oieve.AddEventoMinuta2(asunto, descripcion, acuerdos, cveusuarioDe, cveusuarioPara, DateTime.Now, archivoname, lMiembros, chkList, UsuarioActual.CveUsuario, UsuarioActual.CveEmpresa);
|
||||
Continuar = oieve.AddEventoMinuta2(asunto, descripcion, acuerdos, cveusuarioDe, cveusuarioPara, DateTime.Now, archivoname, lMiembros, chkList, UsuarioActual.CveUsuario, UsuarioActual.CveEmpresa, TxtCorreoExterno.Text);
|
||||
CveEvento = oieve.CveEvento;
|
||||
Folio = oieve.Folio;
|
||||
|
||||
@@ -828,7 +814,7 @@ public partial class OI_MinutaDetalle : ClsPaginas
|
||||
|
||||
|
||||
ClsSisMail Mail = new ClsSisMail();
|
||||
Mail.SendMail(EmpresaNotificaciones, get_GlobalDTUsuarios(UsuarioActual.CveUsuario).Rows[0]["correo"].ToString(), TxtAsunto.Text, Body.ToString(), CCP: ArrayCC);
|
||||
Mail.SendMail(EmpresaNotificaciones, get_GlobalDTUsuarios(UsuarioActual.CveUsuario).Rows[0]["correo"].ToString() + TxtCorreoExterno.Text, TxtAsunto.Text, Body.ToString(), CCP: ArrayCC);
|
||||
Alert("Se Envió por correo la Minuta", ModExtensiones.TipoMensaje.MsgInformacion);
|
||||
Retorno = true;
|
||||
}
|
||||
@@ -1214,7 +1200,7 @@ public partial class OI_MinutaDetalle : ClsPaginas
|
||||
fechaFin = txtFechaI.Text.ToDateTimeExcat().AddHours(2).ToString("yyyy/MM/dd HH:mm");
|
||||
}
|
||||
int cveRevision = -1;
|
||||
string archivoname = "";
|
||||
string archivoname = "";
|
||||
|
||||
|
||||
|
||||
@@ -1265,5 +1251,5 @@ public partial class OI_MinutaDetalle : ClsPaginas
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user