elimar mensaje de la funcion de actualizarImporteTolal
This commit is contained in:
@@ -876,14 +876,11 @@ namespace compabetov2
|
||||
|
||||
public void actualizarImporteTotal()
|
||||
{
|
||||
string mensaje = "";
|
||||
decimal totalImporte = 0;
|
||||
foreach(DetalleImporte importe in importes)
|
||||
{
|
||||
totalImporte += importe.precioImporte * importe.catidad;
|
||||
mensaje += $"importe: {importe.fkImporte} - cantidad: {importe.catidad}\n";
|
||||
}
|
||||
MessageBox.Show(mensaje);
|
||||
total += totalImporte;
|
||||
label1.Text = $"Total: ${total}";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user