diff --git a/src/cg/cg4304.cpp b/src/cg/cg4304.cpp index d92e96199..17bf1b8ee 100755 --- a/src/cg/cg4304.cpp +++ b/src/cg/cg4304.cpp @@ -1439,7 +1439,7 @@ void TLiquidazione_app::set_firm(_DescrItem& d) if (d._s2 == "T") tim_title << format(FR(" del %d° Trimestre %s"), d._f1/3, (const char*) _year); 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(); @@ -1497,11 +1497,11 @@ void TLiquidazione_app::set_att(_DescrItem& d) } else { - if (d._s4 == "T") - tim_title << format(FR(" del %d° Trimestre %s"), d._f1/3, (const char*)_year); - else - tim_title << format(FR(" del mese di %s %s"), itom(d._f1), (const char*)_year); - } + if (d._s4 == "T") + tim_title << format(FR(" del %d° Trimestre %s"), d._f1 / 3, (const char*)_year); + else + tim_title << format(FR(" del mese di %s %s"), itom(d._f1), (const char*)_year); + } const char* tipatt = ""; 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) { 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); } cred_prec -= rimborso;