Patch level : 1.7 at

Files correlati     : at0.exe
Ricompilazione Demo : [ ]
Commento            : Sblocco sospesi: sistemata selezione sul tipo sospensione


git-svn-id: svn://10.65.10.50/trunk@13135 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
cris 2005-05-20 10:15:20 +00:00
parent d4f6a7abc7
commit 0f4f2c3959

View File

@ -387,11 +387,13 @@ bool TSbloccoSospesi::filter_func_sbloccosospesi(const TRelation* rel)
const TString16 statopros = recsog.get(SOG_PROS_STATO);
const TString16 statosi = recsog.get(SOG_STATOSI);
const TString16 statoaf = recsog.get(SOG_STATOAF);
filtrato = ((statosi == SOSPENSIONE) || (statoaf == SOSPENSIONE));
if (app()._tiposo.not_empty())
filtrato = filtrato || ((stato == app()._tiposo) && (statopros == FINE_SOSPENSIONE));
else
{
filtrato = ((statosi == SOSPENSIONE) || (statoaf == SOSPENSIONE));
filtrato = filtrato || ((rel->lfile(-ALIAS_TCS).get("S6") == "S") && (statopros == FINE_SOSPENSIONE));
}
if (filtrato)
{
TDate datafine(NULLDATE);