Patch level : 12.0 424

Files correlati     : cg2.exe

Disabilitato il Flag di IVA per cassa se è un reverse charge.

git-svn-id: svn://10.65.10.50/branches/R_10_00@23955 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
bonazzi 2017-07-17 14:16:53 +00:00
parent 2a38f5b1ed
commit a61abf6c26

View File

@ -3377,9 +3377,19 @@ bool TPrimanota_application::ritsoc_handler(TMask_field& f, KEY key)
// Certified 100%
bool TPrimanota_application::revcharge_handler(TMask_field& f, KEY key)
{
if (key == K_TAB && f.focusdirty() && f.active())
app().add_cgs_ritenute('V');
return true;
if (f.active())
{
if (key == K_TAB && f.focusdirty())
app().add_cgs_ritenute('V');
if (f.to_check(key, true))
{
if (f.get().full())
f.mask().field(F_IVAXCASSA).clear();
else
f.mask().field(F_IVAXCASSA).enable();
}
}
return true;
}