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:
parent
8d0e649cc2
commit
2325c5c13a
@ -199,9 +199,9 @@ void TDocumentoEsteso::scadenze_recalc()
|
|||||||
TString16 data(head().get("DATAINSC"));
|
TString16 data(head().get("DATAINSC"));
|
||||||
if (data.empty()) data = head().get("DATADOC");
|
if (data.empty()) data = head().get("DATADOC");
|
||||||
TPagamento pag( codpag, data);
|
TPagamento pag( codpag, data);
|
||||||
real totspese = tot_spese();
|
real totspese = spese();//tot_spese();
|
||||||
real totimposte = tot_imposte();
|
real totimposte = imposta();//tot_imposte();
|
||||||
real totimponibili = tot_documento() - totimposte - totspese;
|
real totimponibili = totale_doc() - totimposte - totspese;//tot_documento() - totimposte - totspese;
|
||||||
const bool valuta = in_valuta();
|
const bool valuta = in_valuta();
|
||||||
if (valuta)
|
if (valuta)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user