Aggiunta gestione della transazione RUN per l'eritreo.

git-svn-id: svn://10.65.10.50/trunk@4345 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
guy 1997-05-15 14:09:47 +00:00
parent 84831d5e74
commit 841cb52e97

View File

@ -1073,8 +1073,7 @@ bool TRelation_application::parse_command_line()
} }
} }
_lnflag = _ini.not_empty(); if (_ini.not_empty())
if (_lnflag)
{ {
TConfig cnf(_ini, "Transaction"); TConfig cnf(_ini, "Transaction");
_transaction = cnf.get("Action"); _transaction = cnf.get("Action");
@ -1088,7 +1087,13 @@ bool TRelation_application::parse_command_line()
if (!ok) if (!ok)
error_box("Ditta inesistente: %ld", firm); error_box("Ditta inesistente: %ld", firm);
} }
if (_transaction == "RUN")
_lnflag = 0; // Ho gia' finito qui: basta il cambio ditta
else
_lnflag = 1; // Attiva automagia
} }
return _lnflag; return _lnflag;
} }