Cambios Remoto
This commit is contained in:
@@ -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.
Binary file not shown.
+3
-3
@@ -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.
Reference in New Issue
Block a user