Corretto andler del numero documento

git-svn-id: svn://10.65.10.50/trunk@2483 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
guy 1996-01-22 11:45:51 +00:00
parent 1c0919a4ba
commit 39a6c40587

View File

@ -1663,7 +1663,11 @@ bool TPrimanota_application::numdoc_handler(TMask_field& f, KEY key)
if (!app().npart_is_prot()) // Copiare numero documento nel numero partita?
{
if (m.get(F_NUMRIF).empty())
m.set(F_NUMRIF, f.get(), TRUE);
{
const TString16 n = f.get();
if (n.not_empty())
m.set(F_NUMRIF, f.get(), TRUE);
}
}
}
return TRUE;