Corretto cazzillo prematurato sul calcolo delle scadenze in stampa.

git-svn-id: svn://10.65.10.50/trunk@4055 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
angelo 1997-01-11 10:41:10 +00:00
parent 8d0e649cc2
commit 2325c5c13a

View File

@ -199,9 +199,9 @@ void TDocumentoEsteso::scadenze_recalc()
TString16 data(head().get("DATAINSC"));
if (data.empty()) data = head().get("DATADOC");
TPagamento pag( codpag, data);
real totspese = tot_spese();
real totimposte = tot_imposte();
real totimponibili = tot_documento() - totimposte - totspese;
real totspese = spese();//tot_spese();
real totimposte = imposta();//tot_imposte();
real totimponibili = totale_doc() - totimposte - totspese;//tot_documento() - totimposte - totspese;
const bool valuta = in_valuta();
if (valuta)
{