From 3aa7260c7d616eab205eee58313f4efcc6836d85 Mon Sep 17 00:00:00 2001 From: guy Date: Tue, 26 Sep 1995 11:46:09 +0000 Subject: [PATCH] Correzione alla add_cgs_tot git-svn-id: svn://10.65.10.50/trunk@1895 c028cbd2-c16b-5b4b-a496-9718f37d4682 --- cg/cg2102.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/cg/cg2102.cpp b/cg/cg2102.cpp index bcde1a7a3..b16513aca 100755 --- a/cg/cg2102.cpp +++ b/cg/cg2102.cpp @@ -1143,9 +1143,6 @@ oldposiva = newposiva; if (r == 0) // Se cambio la prima riga ... app().add_cgs_tot(app().curr_mask()); // ... ricalcola conti - - app().calcola_imp(); // Ricalcola totale IVA - app().calcola_saldo(); // Ricalcola sbilanci TMask& m = app().curr_mask(); if (app().is_saldaconto() && m.page_enabled(2)) @@ -1633,7 +1630,8 @@ void TPrimanota_application::add_cgs_tot(TMask& m) // Creazione/Aggiornamento riga totale set_cgs_row(pos, real2imp(tot, 'T'), nuovo, m.get(F_DESCR), 'T'); - calcola_saldo(); + calcola_imp(); // Ricalcola totale IVA + calcola_saldo(); // Ricalcola sbilanci } // Handler of the F_CLIENTE & F_FORNITORE field on the modify mask