Cambios Remoto

This commit is contained in:
Michael Robles
2024-06-05 16:49:48 -07:00
parent d28b51be4e
commit 47f434c8ee
12 changed files with 8 additions and 5 deletions
+4 -1
View File
@@ -1,6 +1,9 @@
{
"ExpandedNodes": [
""
"",
"\\Cuentas",
"\\database",
"\\Principal"
],
"SelectedNode": "\\Solution.sln",
"PreviewInSolutionExplorer": false
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
View File
Binary file not shown.
+3 -3
View File
@@ -1293,7 +1293,7 @@ namespace compabetov2.database
conexion.Open();
string sql = "SELECT * FROM envios ORDER BY idEnvios DESC";
string sql = "SELECT * FROM envios ORDER BY idEnvios DESC limit 30";
SQLiteCommand command = new SQLiteCommand(sql, conexion);
reader = command.ExecuteReader();
@@ -1397,7 +1397,7 @@ namespace compabetov2.database
command.Parameters.AddWithValue("@estado", "CANCELADO");
command.ExecuteNonQuery();
foreach (DetalleEnvioModel detalleEnvio in detalles)
/* foreach (DetalleEnvioModel detalleEnvio in detalles)
{
//actualizar stock
SQLiteCommand commandStock = new SQLiteCommand(sqlStock, conexion);
@@ -1410,7 +1410,7 @@ namespace compabetov2.database
commandActualizarStock.Parameters.AddWithValue("@stock", stock - (detalleEnvio.cantidad * detalleEnvio.producto.cantidad));
commandActualizarStock.Parameters.AddWithValue("@idProducto", detalleEnvio.producto.fkProducto);
commandActualizarStock.ExecuteNonQuery();
}
}*/
transaccion.Commit();
return true;
Binary file not shown.
Binary file not shown.
@@ -1 +1 @@
63a64a54bc73e8651fb89f1a0901353ab83d35804c69edd565e24f2be4325b47
e9fe970c95e178692c332067dd30d0ac1c7f5a7190013fcb65c40593ddd0ee2d
Binary file not shown.
Binary file not shown.
Binary file not shown.