Patch level :
Files correlati : Ricompilazione Demo : [ ] Commento : Stampa idonei: corretto errore per cui stampava sempre anche chi era idoneo senza tipi di donazione git-svn-id: svn://10.65.10.50/trunk@6718 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
8fa1d6e63d
commit
e37d423b62
@ -145,7 +145,7 @@ bool TStampaIdonei::filter_func_idonei(const TRelation * rel)
|
||||
}
|
||||
// filtro per idoneità
|
||||
if (filtrato)
|
||||
{
|
||||
{
|
||||
TAssoc_array idoneita;
|
||||
TString16 idonsog = sog.get(SOG_IDON1);
|
||||
if (idonsog.not_empty() && idonsog.ok())
|
||||
@ -170,6 +170,9 @@ bool TStampaIdonei::filter_func_idonei(const TRelation * rel)
|
||||
if (app()._idon4.not_empty() && app()._idon4.ok())
|
||||
filtrato = filtrato && idoneita.is_key((const char*) app()._idon4);
|
||||
}
|
||||
else
|
||||
if (!(app()._idon1.empty() && app()._idon2.empty() && app()._idon3.empty() && app()._idon4.empty()))
|
||||
filtrato = FALSE;
|
||||
}
|
||||
return filtrato;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user