estadisticas del mes
This commit is contained in:
+4
-2
@@ -38,7 +38,7 @@ namespace compabetov2
|
||||
llenarLayout();
|
||||
llenarComBox();
|
||||
this.loginPrincipal = loginPrincipal;
|
||||
}
|
||||
}
|
||||
|
||||
private void llenarComBox()
|
||||
{
|
||||
@@ -422,7 +422,9 @@ namespace compabetov2
|
||||
List<DetalleVentaModel> detalleVentas = listaProductosVenta();
|
||||
if (detalleVentas.Count > 0)
|
||||
{
|
||||
VentaModel ventaModel = new VentaModel(total);
|
||||
VentaModel ventaModel = new VentaModel(total,-1,"",
|
||||
responsablecb.Text.Equals("") ? loginPrincipal.usuario : responsablecb.Text
|
||||
);
|
||||
|
||||
if (service.crearVentaDAO(ventaModel, detalleVentas))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user