From 80ae3c69ecb21dff02b0ab96105c7e0a93f8276f Mon Sep 17 00:00:00 2001 From: bonazzi Date: Wed, 28 Feb 2018 15:26:12 +0000 Subject: [PATCH] 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 --- src/cg/cg4304.cpp | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) 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;