Patch level : 10.0 patch 540

Files correlati     : lv3
Ricompilazione Demo : [ ]
Commento            :
Adesso l'evasione non lascia caricare un documento già evaso


git-svn-id: svn://10.65.10.50/trunk@19727 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
guy 2009-12-04 10:28:52 +00:00
parent 00432e3a28
commit 41c53c6125

View File

@ -219,6 +219,18 @@ void TEvasione_msk::carica_righe()
const TString4 stato = doc.get(DOC_STATO);
const TString4 steva = cache().get("%TIP", ini_get_string(CONFIG_DITTA, "lv", "TIPODOC_PRE", NULL, 0), "S2").mid(2,1);
if (stato == steva)
{
TString str;
str << "Il documento " << get_long(F_NDOC) << " è già stato evaso";
warning_box(str);
set(F_NDOC, 0L, 1);
return;
}
set(F_STATO, stato);
disable(F_STATO);