version de produccion, solucion de envios y cuentas. Agregado precio de compra en variantes y signos de pesos en registroVenta
This commit is contained in:
+7
-2
@@ -63,7 +63,7 @@ namespace compabetov2
|
||||
lbResponzable.Width = 700;
|
||||
|
||||
Label lbTotal = new Label();
|
||||
lbTotal.Text = $"Total: {venta.total}";
|
||||
lbTotal.Text = $"Total: ${venta.total}";
|
||||
lbTotal.Font = new Font(lbTotal.Font.FontFamily, 16);
|
||||
lbTotal.Width = 700;
|
||||
|
||||
@@ -91,7 +91,12 @@ namespace compabetov2
|
||||
{
|
||||
mensaje += $"{detalle.producto.nombre} - {detalle.cantidad}\n";
|
||||
}
|
||||
mensaje += $"Total: {venta.total}";
|
||||
decimal totalImporte = 0;
|
||||
foreach (DetalleImporte importe in ventaYDetalles["importes"]) {
|
||||
totalImporte += importe.cantidad * importe.precioImporte;
|
||||
}
|
||||
mensaje += $"Importe: ${totalImporte}\n";
|
||||
mensaje += $"Total: ${venta.total}";
|
||||
MessageBox.Show(mensaje);
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user