CRM Check list
This commit is contained in:
@@ -1789,7 +1789,7 @@ public partial class CRM_EmpresaCRM : ClsPaginas
|
||||
#region "COTIZACIONES"
|
||||
protected void CargaCotizaciones()
|
||||
{
|
||||
ClsVentas ObjVentas = new ClsVentas();
|
||||
|
||||
IVentaService ventaService = new VentaService(System.Configuration.ConfigurationManager.ConnectionStrings["Conexion"].ConnectionString);
|
||||
RequestVentas requestVentas = new RequestVentas(UsuarioActual.CveEmpresa, TipoDocto: "Cot", CveEmpresaCRM: CveEmpresaCRM, CveUsuarioConsulta: UsuarioActual.CveUsuario);
|
||||
var objVentas = ventaService.GetVentas(requestVentas);
|
||||
@@ -1802,7 +1802,7 @@ public partial class CRM_EmpresaCRM : ClsPaginas
|
||||
//{
|
||||
// GvCotizacion.DataSource = ObjVentas.DtResultados;
|
||||
//}
|
||||
ObjVentas.Dispose();
|
||||
|
||||
GvCotizacion.DataBind();
|
||||
UpCotizacion.Update();
|
||||
}
|
||||
@@ -1815,6 +1815,11 @@ public partial class CRM_EmpresaCRM : ClsPaginas
|
||||
{
|
||||
e.Row.FCLabel("lblEstatus").Text = String.Format("<b>{0}</b>", e.Row.DataKey("EstatusFactura"));
|
||||
}
|
||||
|
||||
if(e.Row.DataKey("Total").ToDecimal() != 0)
|
||||
{
|
||||
e.Row.Cells[5].Text = e.Row.DataKey("Total").ToDecimal().ToString("###,###,###.00");
|
||||
}
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
|
||||
Reference in New Issue
Block a user