CRM Check list

This commit is contained in:
Oscar Irigoyen
2022-11-08 08:05:21 -07:00
parent 47d91a8fd9
commit b45d854964
9 changed files with 243 additions and 12 deletions

View File

@@ -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