todo lo relacionado a cuentas funcionando

This commit is contained in:
carlos
2024-02-14 21:58:41 -06:00
parent c2008264f2
commit 736d8be03c
10 changed files with 23 additions and 56 deletions
+3 -3
View File
@@ -262,10 +262,10 @@ namespace compabetov2.database
while (reader.Read())
{
int idProducto = (int)reader.GetInt64(0);
int idVariaante = (int)reader.GetInt64(0);
DetalleCuentaModel detalleCuenta = new DetalleCuentaModel(
new Producto(idProducto, reader["nombre"].ToString()),
(int)reader.GetInt64(2)
new Variante(idVariaante, reader["nombre"].ToString(),0,(int)reader.GetInt64(2),"",(int)reader.GetInt64(3)),
(int)reader.GetInt64(4)
);
detallesCuentas.Add(detalleCuenta);
}