Migliorato controllo attivazione IC alla data
git-svn-id: svn://10.65.10.50/branches/R_10_00@22764 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
7cf1d7ea6b
commit
d896fd055b
@ -109,10 +109,12 @@ int analizza_IVA(const real& imptot, const real& ivatot, const real perc_ind,
|
||||
|
||||
bool gestione_IVAxCassa(const TDate& data, long firm)
|
||||
{
|
||||
bool yes = dongle().active(ICAUT) && dongle().active(SCAUT);
|
||||
int anno = data.year();
|
||||
if (anno <= 0)
|
||||
anno = TDate(TODAY).year();
|
||||
bool yes = anno >= 2012 && dongle().active(ICAUT) && dongle().active(SCAUT);
|
||||
if (yes)
|
||||
{
|
||||
const int anno = data.year();
|
||||
if (firm <= 0)
|
||||
firm = prefix().get_codditta();
|
||||
TString16 codtab;
|
||||
|
Loading…
x
Reference in New Issue
Block a user