Patch level :

Files correlati     :
Ricompilazione Demo : [ ]
Commento            : librerie avis: nel calcolo dello stato sanitario se il donatore è sospeso per un solo tipo di donazione non è automaticamente sospeso come stato


git-svn-id: svn://10.65.10.50/trunk@6630 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
cris 1998-05-11 09:50:53 +00:00
parent efe85b451a
commit a57bdd0235

View File

@ -238,11 +238,11 @@ void con_reord(TRectype& soggetto, TRecord_array* controlli, TRecord_array* idon
{
TString16 stato = soggetto.get(SOG_STATO);
char modstato = modstato_tcs(stato);
//if ((statosi == IDONEITA || statosi.empty()) && (statoaf == IDONEITA || statoaf.empty()))
if ((statosi == IDONEITA) || (statoaf == IDONEITA))
if ((modstato != 'I') || (modstato != 'F'))
stato = IDONEITA;
if ((statosi == SOSPENSIONE || statosi.empty()) && (statoaf == SOSPENSIONE || statoaf.empty()))
//if ((statosi == SOSPENSIONE || statosi.empty()) && (statoaf == SOSPENSIONE || statoaf.empty()))
if ((statosi == SOSPENSIONE) && (statoaf == SOSPENSIONE))
if (modstato != 'S')
stato = SOSPENSIONE;
char statocalcolato = modstato_tcs(stato);