diff --git a/Ventas/vender.cs b/Ventas/vender.cs index 6ad7f10..490cab5 100644 --- a/Ventas/vender.cs +++ b/Ventas/vender.cs @@ -174,7 +174,7 @@ namespace compabetov2 { contador.Text = (numeroContador - 1).ToString(); total -= producto.precio; - label1.Text = $"Total: ${total} - Importe: $"; + label1.Text = $"Total: ${total}$"; // Obtener información del Label id y precio decimal precioProducto = producto.precio; @@ -215,7 +215,7 @@ namespace compabetov2 int numeroContador = int.Parse(contador.Text.ToString()); contador.Text = (numeroContador + 1).ToString(); total += producto.precio; - label1.Text = $"Total: ${total} - Importe:"; + label1.Text = $"Total: ${total}:"; // Obtener información del Label id y precio int idProducto = int.Parse(id.Text); @@ -854,7 +854,7 @@ namespace compabetov2 c.Dispose(); flowLayoutPanel1.Controls.Remove(c); } - label1.Text = "Total: 0 - Importe: 0"; + label1.Text = "Total: 0"; txtbusqueda.Text = ""; carrito.Clear();