Patch level : 12.0 544

Files correlati     :   cg4.eze

Corretto il calcolo dell' iva dovuta o a credito per il periodo

git-svn-id: svn://10.65.10.50/branches/R_10_00@24406 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
bonazzi 2018-02-28 15:26:12 +00:00
parent 5f9b57c8ae
commit 80ae3c69ec

View File

@ -1439,7 +1439,7 @@ void TLiquidazione_app::set_firm(_DescrItem& d)
if (d._s2 == "T") if (d._s2 == "T")
tim_title << format(FR(" del %d° Trimestre %s"), d._f1/3, (const char*) _year); tim_title << format(FR(" del %d° Trimestre %s"), d._f1/3, (const char*) _year);
else else
tim_title << format(FR(" del mese di %s %s"), itom(d._f1), (const char*)_year); tim_title << format(FR(" del mese di %s %s"), itom(d._f1), (const char*)_year);
} }
reset_header(); reset_header();
@ -1497,11 +1497,11 @@ void TLiquidazione_app::set_att(_DescrItem& d)
} }
else else
{ {
if (d._s4 == "T") if (d._s4 == "T")
tim_title << format(FR(" del %d° Trimestre %s"), d._f1/3, (const char*)_year); tim_title << format(FR(" del %d° Trimestre %s"), d._f1 / 3, (const char*)_year);
else else
tim_title << format(FR(" del mese di %s %s"), itom(d._f1), (const char*)_year); tim_title << format(FR(" del mese di %s %s"), itom(d._f1), (const char*)_year);
} }
const char* tipatt = ""; const char* tipatt = "";
if (d._f0 > 0) if (d._f0 > 0)
@ -2631,6 +2631,7 @@ void TLiquidazione_app::set_grand_2000(_DescrItem& d, int &rw)
if (_month < 13 && credito_compensabile && credito_autorizzato_F24 > ZERO) if (_month < 13 && credito_compensabile && credito_autorizzato_F24 > ZERO)
{ {
cred_prec -= credito_autorizzato_F24; cred_prec -= credito_autorizzato_F24;
cre_deb_per += credito_autorizzato_F24;
set_row(rw++,FR("%s@11gCredito IVA autorizzato in F24%s@75g%r@100gil %s"), _is_visliq ? "$[r]" : "", _is_visliq ? "$[n]" : "", &credito_autorizzato_F24, (const char *) data_autorizzazione); set_row(rw++,FR("%s@11gCredito IVA autorizzato in F24%s@75g%r@100gil %s"), _is_visliq ? "$[r]" : "", _is_visliq ? "$[n]" : "", &credito_autorizzato_F24, (const char *) data_autorizzazione);
} }
cred_prec -= rimborso; cred_prec -= rimborso;