Patch level : 12.0 760

Files correlati     : tfutility.cpp
Commento            : Tolto san marino tra i soggetti a fatturazione elett.
This commit is contained in:
Simone Palacino 2019-04-08 10:07:11 +02:00
parent e23afac001
commit c405155de4

View File

@ -185,7 +185,7 @@ bool check_record(TISAM_recordset* rec, const bool mod_esterometro,
}
else if(paf_sog_fat || paf_esteri)
{
const bool is_fatturabile = ana_cli.stato_partita_IVA() == "IT" || ana_cli.stato_partita_IVA() == "SM";
const bool is_fatturabile = ana_cli.stato_partita_IVA() == "IT";
if ((is_fatturabile && paf_sog_fat) || (!is_fatturabile && paf_esteri))
return true;
}
@ -220,7 +220,7 @@ bool check_record(TISAM_recordset* rec, const bool mod_esterometro,
}
else if (paa_sog_fat || paa_esteri)
{
const bool is_fatturabile = ana_cli.stato_partita_IVA() == "IT" || ana_cli.stato_partita_IVA() == "SM";
const bool is_fatturabile = ana_cli.stato_partita_IVA() == "IT";
if ((is_fatturabile && paa_sog_fat) || (!is_fatturabile && paa_esteri))
return true;
}