Patch level : 12.0 946

Files correlati     : cg4.exe
Commento            :

Esposto il credito derivante dal versamento dell'acconto in dicembre
This commit is contained in:
Alessandro Bonazzi 2020-02-14 18:55:37 +01:00
parent e67a73961f
commit f3cac572f7

View File

@ -2467,17 +2467,11 @@ void TLiquidazione_app::set_grand_2000(_DescrItem& d, int &rw)
}
else
{
if (_month = 12)
{
const real i = -iva;
set_row(rw++, FR("@23gIMPORTO A CREDITO@75g%r"), &i);
}
if (_isannual)
{
const real& credito = d._r20;
if (credito > ZERO)
set_row(rw++,FR("@11gCREDITO RIPORTATO NELL'ANNO SUCCESSIVO@58g%r"), &credito);
}
if (_month == 12)
print_importo(rw++, TR("IMPORTO A CREDITO"), iva);
else
if (_isannual && d._r20 > ZERO)
print_importo(rw++, TR("CREDITO RIPORTATO NELL'ANNO SUCCESSIVO"), -d._r20);
if (_is_visliq)
rw++;
}