This commit is contained in:
JORGE LUIS CAUDILLO ESPARZA
2020-06-04 14:41:04 -07:00
parent 3ef6d80cc6
commit 4af7169839
17 changed files with 211 additions and 98 deletions

View File

@@ -441,7 +441,8 @@ public partial class OI_TareaDetalle : ClsPaginas
BtnActualizarArchivo.Text = portletArchivo.Visible ? "Actualizar" : "Agregar";
CveUsuarioDe = drow["CveUsuarioDe"].ToString().ToEntero();
CveUsuarioPara = drow["CveUsuarioPara"].ToString().ToEntero();
TxtAvance.Text = string.Format("{0:##0}", drow["Avance"]);
TxtAvance.Text = string.Format("{0:##0.##}", drow["Avance"]);
LblPorcentaje.Text = string.Format("{0:##0.##}", drow["Avance"]);
TxtUsuarioreg.Text = string.Format("{0}", drow["NombreRegistro"]);
TxtFechaIng.Text = string.Format("{0:dd/MM/yyyy HH}:{0:mm}", drow["FechaIng"]);
//OIE.[CveEvento], OIE.[CveTipoEvento], OIE.[Folio], OIE.[Asunto], OIE.[Descripcion], OIE.[Prioridad], OIE.[CveUsuarioDe], OIE.[CveUsuarioPara],
@@ -473,31 +474,31 @@ public partial class OI_TareaDetalle : ClsPaginas
if (CveCliente > 0)
{
titulo = "Cliente: ";
titulo = "Cliente ";
link = string.Format("<a href=\"/Ventas/Clientes.aspx?CveCliente={1}\" class=\"linkCorreo\">{0}</a>", drow["Cliente"], CveCliente);
}
else if (CveVenta > 0)
{
titulo = "Venta: ";
titulo = "Venta ";
link = string.Format("<a href=\"/Ventas/Ventas.aspx?CveVenta={1}\" class=\"linkCorreo\">{0} </a>", drow["Venta"], CveVenta);
}
else if (CveProveedor > 0)
{
titulo = "proveedor: ";
titulo = "Proveedor ";
link = string.Format("<a href=\"/Compras/Proveedores.aspx?CveProveedor={1}\" class=\"linkCorreo\">{0} </a>", drow["Proveedor"], CveProveedor);
}
else if (CveCompra > 0)
{
titulo = "Compra: ";
titulo = "Compra ";
link = string.Format("<a href=\"/Compras/Proveedores.aspx?CveProveedor={1}\" class=\"linkCorreo\">{0} </a>", drow["Compra"], CveCompra);
}
else if (CvePersonal > 0)
{
titulo = "Personal: ";
titulo = "Personal ";
link = string.Format("<a href=\"/RH/Personal.aspx?CvePersonal={1}\" class=\"linkCorreo\">{0} </a>", drow["NombreCompleto"], CvePersonal);
}
else if (CveActivoFijo > 0)
@@ -1269,7 +1270,8 @@ public partial class OI_TareaDetalle : ClsPaginas
{
if (objoi.DtResultados.Rows.Count > 0)
{
LtlTitulo.Text = objoi.DtResultados.Rows[0]["Titulo"].ToString();
//LtlTitulo.Text = objoi.DtResultados.Rows[0]["Titulo"].ToString();
LblPorcentaje.Text = string.Format("{0:##0.##}", TxtAvance.Text.ToDecimal());
}
cargaActividades(objoi);
@@ -1300,7 +1302,7 @@ public partial class OI_TareaDetalle : ClsPaginas
this.Alert("Avance Actualizadó", ModExtensiones.TipoMensaje.ToastInformacion);
}
UpTitulo.Update();
//UpTitulo.Update();
}
protected void LnkAddTtemaB_Click(object sender, EventArgs e)