Patch level : 12.0 no-patch
Files correlati : Commento : Sistemato controllo regimi speciali iva git-svn-id: svn://10.65.10.50/branches/R_10_00@23872 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
a4369094c6
commit
059f0fa79c
@ -17,7 +17,7 @@
|
|||||||
|
|
||||||
bool regSpec(TString codcaus)
|
bool regSpec(TString codcaus)
|
||||||
{
|
{
|
||||||
return cache().get(LF_CAUSALI, codcaus, "REGSPIVA") != "X";
|
return cache().get(LF_CAUSALI, codcaus, "REGSPIVA") == "X";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -391,10 +391,10 @@ TISAM_recordset TEsportaIva_msk::createRecset() const
|
|||||||
}
|
}
|
||||||
|
|
||||||
if(get_real(F_DAIMPORTO) > ZERO)
|
if(get_real(F_DAIMPORTO) > ZERO)
|
||||||
recset.set_var("#DAIMPORTO", get_real(F_DAIMPORTO));
|
recset.set_var("#DATOTDOC", get_real(F_DAIMPORTO));
|
||||||
|
|
||||||
if(get_real(F_AIMPORTO) > ZERO)
|
if(get_real(F_AIMPORTO) > ZERO)
|
||||||
recset.set_var("#AIMPORTO", get_real(F_AIMPORTO));
|
recset.set_var("#ATOTDOC", get_real(F_AIMPORTO));
|
||||||
|
|
||||||
return recset;
|
return recset;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user